Rate capability plots

Summary
Create a script to simulate rate capability experiments (how much capacity can be pulled out before we hit a given limit voltage at CC for different C-rates, see picture below).

Motivation
This is a standard experiment on batteries and it would be pretty easy to reproduce in PyBaMM with what is available so far.
Additional context
Add any other context or screenshots about the feature request here.

Also, just multiplying by the average voltage of the discharge cycle we can turn them into Ragone plots.

Given that this "experiment" requires multiple runs of an experiment (discharge at different C-rates until limiting voltage) I was thinking of implementing it as an example script. Does it sound reasonable or is there a better way of doing it?


[HUDI-3551] Add the Oracle Cloud Infrastructure (oci) Object Storage URI scheme.

What is the purpose of the pull request
This PR adds the "oci" scheme for using Hudi against Oracle Cloud Infrastructure using its HDFS Client.
I have documentation which I will put in another PR, apologies if I could have combined across branches I'm bad at git.
Brief change log
Changes:

Registered OCI scheme, indicating appends are not supported.
Added a test similar to existing tests for other schemes.

Verify this pull request
This pull request is pretty trivial. I validated it using the Hudi quickstart and results were the same as using a local path.
Committer checklist

[X] Has a corresponding JIRA in PR title & commit

[X] Commit message is descriptive of the change

[ ] CI is green - unknown. The build works locally.

[X] Necessary doc changes done or have another open PR

[X] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@cartershanklin : can you check the CI failures please.

@hudi-bot run azure

@nsivabalan this low-risk small change we should try to land it. @cartershanklin Can you please rebase master and link the other PR here please? Once CI passes, we can land.


Add a default case to Platform.select

You could then do this,
Platform.select({
  android: require('./AndroidSpecificImpl'),
  default: require('./GenericImpl'),
})

It'll be useful since we've more platforms now, e.g. - windows

IIRC there is also a Babel transform that statically rewrites Platform.select calls so they are inlined -- that plugin might need to be updated too. Not totally sure who knows about this plugin, maybe @davidaurelio?

Found it: https://github.com/facebook/react-native/blob/c5f6e864f928e7145a94f85224f0e8c43701db78/packager/react-packager/src/JSTransformer/worker/inline.js#L80
And yep it certainly seems owned by @davidaurelio

Thanks @ericvicenti. I don't understand the code yet, but if someone could point me in the right direction I can update it.

I think it inlines things so that the require statements of other platforms go away. I think it will convert this:
Platform.select({ ios: require('Foo'), android: require('Bar') });

To this on Android:
Platform.select({ ios: android, android: require('Bar') });

It is probably easiest to observe what it does and simply make sure it still behaves well after your change.

The transform removes the complete Platform.select call and replaces it with the value of that property.
The algo goes like this:

Bail out if the argument to Platform.select is not an object literal.
Replace the call with the property value for platform, if present.
Replace the call with undefined

You could add the functionality by changing the signature of findProperty to findProperty(objExpression, key, fallback), where fallback is a function, and call it here as findProperty(arg, opts.platform, () => findProperty(arg, 'default', () => t.identifier('undefined')))

tests live here, make sure to add some: https://github.com/facebook/react-native/blob/c5f6e864f928e7145a94f85224f0e8c43701db78/packager/react-packager/src/JSTransformer/worker/tests/inline-test.js

Thanks a lot for the explanation @davidaurelio . Will fix it as soon as I can.

I like the idea and ran into this too that I needed a default. Once the transform supports this too happy to merge it 👍

Sorry haven't gotten time to look at it. I'll take a look over the weekend.


Sticky header layouts

I prefer to have two types:

Simple layout with the first cell in the first section to be sticky
Customizable layout with a custom supplementary view with min/max height and custom attributes for applyAttributes method

done!

We still need to handle the second case.


Pre populating Dates in query parameters is not expected

What version of Elysia is running?
No response
What platform is your computer?
No response
What steps can reproduce the bug?
I have a schema with a query parameter accepting Dates. These are optional. When I do not provide them, they are defaulted to the current Date which is not expected.
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response
Have you try removing the node_modules and bun.lockb and try again yet?
No response

Unfortunately I cannot reproduce this example in a repl. I made a small attempt here: https://github.com/m1212e/elysia-bug-repl which itself raises a few bugs when trying to use dates with queries. Maybe you can take a look and help me out? Thanks!

These tests fail, elysia 1.1.25
import { treaty } from '@elysiajs/eden'
import { describe, expect, it } from 'bun:test'
import { Elysia, t } from 'elysia'

describe('Optional Dates', () => {
  const server = new Elysia()
    .get('/body', async ({ body: { date } }) => {
      console.log(date) // Should log undefined, but instead get the current date time
      return { date }
    }, {
      body: t.Object({
        date: t.Optional(t.Date()),
      }),
    })
    .get('/query', async ({ query: { date } }) => {
      console.log(date)
      return { date }
    }, {
      query: t.Object({
        date: t.Optional(t.Date()),
      }),
    })

  const api = treaty(server)

  it('body: should default optional dates to undefined if not provided', async () => {
    const res = await api.body.get({ /* date not defined */ })
    if (res.error) throw res.error
    expect(res.data.date).toBeUndefined()
  })

  it('query: should default optional dates to undefined if not provided', async () => {
    const res = await api.query.get({ query: { /* date not defined */ } })
    if (res.error) throw res.error
    expect(res.data.date).toBeUndefined()
  })
})


LA Std Run History fails with parameterized Managed connections

Describe the Bug with repro steps

Use managed connector, such as Teams, or SPO
Have the connection related to the managed connector parameterized in connections.json; for example the subscription id is a parameterized parameter that references an appSettings value

3. The logic app will run fine in Designer and Runtime. But will show errors in Run History.

4. Errors are related to REST API call that is not resolving the parameterized subscription id

What type of Logic App Is this happening in?
Standard (Portal)
Which operating system are you using?
Windows
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
No response
Screenshots or Videos
No response
Browser
All
Additional context
No response

Closing for https://github.com/Azure/LogicAppsUX/issues/5977


Fix dimension mismatch in Multinomial model

Description:
This pull request fixes a dimension mismatch bug in the Multinomial class. The bug occurs when fitting a sample dataset and trying to predict another dataset with different dimensions.  Instead of predicting the new dataset, the model throws an a ValueError.
Fixes #17
To fix the bug, I made the following changes:

Under the encode_features function, I have deactivated the caching part as it stores the fitting dataset and ignores the predicting one.

To validate the fix, I tested the modified model class on a a training dataset for fit and testing dataset for predict and confirmed that the model now works as expected.
Please let me know if there are any further changes I can make to improve the fix.

Good catch. The aim of the one-hot cache was to save computations during EM. It's not essential, however, and deactivating it is the way to go for now.


Use base platform matrix for CI tests

This PR updates the CI build definition to use the shared platform matrix config, along with using the dynamically generated matrix approach for ci tests. The CI and live tests are now driven off the same base test matrix.
The overall change is minimal, but looks larger since I deleted some relics and renamed+moved the ci test job out into its own file (since it gets included as a template multiple times by the generate job, which we don't want to do for build/analyze).

/azp; run js - cosmosdb

/azp run js - cosmosdb


Cube Out Not working on Android 7.0

I have implemented the cube out transformer it works fine in all my devices however, on android 7.0 its not working properly. The setRotationY seems to have an issue.
How can I solve this?

i have the same problem too. can anyone give an alternative way to have this transformer.

hi
i have opened a pull request to fix this problem. please check it out
https://github.com/ToxicBakery/ViewPagerTransforms/pull/75

This has been released
https://oss.sonatype.org/content/repositories/releases/com/ToxicBakery/viewpager/transforms/view-pager-transforms/1.3.7/


chore: mark cloud-profiler-nodejs as GA

This change also updates README.md to include a "Supported Node.js Versions" section.
The "Supported Node.js Versions" section and "Versioning" section were taken from @google-cloud/common.

So this is great, but I wanted to present another option.  If you'd like to get this content, as well as any other changes we make broadly, you could un-ignore README from synth.py.  To keep custom content you want for the repo, you could put it in a partials file like this:
https://github.com/googleapis/nodejs-storage/blob/master/.readme-partials.yaml
I am happy to give this a shot if you like :)

@JustinBeckwith
Your suggestion SGTM.
Let's wait to hear from @nolanmar511

I think this turned out really well actually:
https://github.com/googleapis/cloud-profiler-nodejs/pull/627


DRAFT: Add Graph store and Graph QA

An initial PR just to see that I'm building the right API.
Fixes #2383

Will have a look at this tomorrow! Apologies for the delay.

@jacoblee93 no worries, I really didn't do too much, just did a very early PR to get your feedback and make sure I'm going in the right direction before I put more time.

Hey @gkorland, had a chat with @baskaryan and I don't think we have a clear idea of the right common interface between graph stores at the moment - would you be up for implementing it like you did in Python or extending a very minimal base class?
I think adding some asRetriever() wrapper can make Falkor and other GraphDBs interact usefully with other LangChain constructs.

I pushed the other day a simple interface for GraphStore see: https://github.com/langchain-ai/langchain/pull/11012
https://github.com/langchain-ai/langchain/blob/f30a8465fb41788de109ea3a0a02cd855ec38d5f/libs/langchain/langchain/graphs/graph_store.py

@jacoblee93 I noticed the PRs https://github.com/langchain-ai/langchainjs/pull/2741 https://github.com/langchain-ai/langchainjs/pull/2749 were merged so I guess there is no need for this PR, I'll submit a new PR based on these PRs

@jacoblee93 see https://github.com/langchain-ai/langchainjs/pull/2774


Append modules to cradle cache if not already in module graph

This can happen whenever a cradle for a module resolves to something outside of the module graph, i.e. across components. We should still cache the cradle for the module since they will use it.
This fixes the cradle repeatedly being initialized.

Here is a test case for this problem. Beforehand editing Main.hs would always initialise the cradle
comperrortest.zip

@bubba do you intend actually adding the test?

@alanz I'm trying to think of how to test for caching. Presumably this can't be a functional test, we might need to expose some of the stuff inside ModuleCache.hs?

@bubba Perhaps we should consider emitting 'telemetry/event' notifications about it from hie, and add functionality to lsp-test to be able to make assertions about those?

@alanz that’s a good idea. And we can add a flag/initialisation option to enable them in testing  so they don’t pollute regular users

LGTM

Should there be a bump of the lsp-test dependency, or does it already handle telemetry messages?

I see the following in the logs:
modGraph:
    [ ModLocation
        { ml_hs_file = Just "Foo.hs"
        , ml_hi_file = "/home/baldr/.cache/hie-bios/f8a5d6e6f9184b34cc37124c0dfcd509f2e62335/Foo.hi"
        , ml_obj_file = "/home/baldr/Downloads/comperrortest/comperrortest/dist-newstyle/build/x86_64-linux/ghc-8.6.4/hieBiosComponentErrors-<IP_ADDRESS>/build/Foo.o"
        }
    , ModLocation
        { ml_hs_file = Just "/tmp/haskell-lsp10150/Main.hs-00002--5323200879228195963.hs"
        , ml_hi_file = "/home/baldr/.cache/hie-bios/f8a5d6e6f9184b34cc37124c0dfcd509f2e62335/Main.hi"
        , ml_obj_file = "/home/baldr/Downloads/comperrortest/comperrortest/dist-newstyle/build/x86_64-linux/ghc-8.6.4/hieBiosComponentErrors-<IP_ADDRESS>/build/Main.o"
        }
    , ModLocation
        { ml_hs_file = Just "/home/baldr/Downloads/comperrortest/comperrortest/./OtherMain.hs"
        , ml_hi_file = "/home/baldr/.cache/hie-bios/f8a5d6e6f9184b34cc37124c0dfcd509f2e62335/OtherMain.hi"
        , ml_obj_file = "/home/baldr/Downloads/comperrortest/comperrortest/dist-newstyle/build/x86_64-linux/ghc-8.6.4/hieBiosComponentErrors-<IP_ADDRESS>/build/OtherMain.o"
        }
    ]

This should actually give us all these files for the module graph.

@fendor yeah I agree, this is definitely a plaster across the symptom. Thanks for finding that in the logs, I’ll try to use that

@alanz there’s actually some really nefarious issue with how lsp-test parses messages that meant the message :: Session TelemtetryNotification actually parsed showmessage notifications too, hence the weird satisfy predicate. I’m kinda hoping @wz1000’s work on Haskell-lsp might fix this at some point? But for now the current lsp-test is working fine

@bubba I will help, but we won't fix that properly before the release and I feel hesitant to just put a plaster on the issue. Does this happen with all executable components?

@fendor Sure, I wasn't planning on getting this into the release anyway. it's a pretty niche problem.
After some digging anyway, here's what I found.
For the test case there are three modules:
Foo <- Main -> OtherMain

The issue was occurring when opening up Main.hs. I was wondering why in setTargetFilesWithMessage in Check.hs got the full module graph during typechecking, but initSessionWithMessage in Api.hs did not when called from initialiseCradle in ModuleCache.hs. Its module graph only contained the single module that was passed in.
I then realised that the main difference was that setTargetFilesWithMessage was setting the target to Main.hs, but initSessionWithMessage was only setting the target to Foo.hs. And thus the graph didn't include the whole story. I presume this is happening because the cradle is only going to be specifying the library as its component.

As an aside -- setting the target in initSessionWithMessage to whatever module ModuleCache passed in works, overriding whatever the cradleAction had set in its ComponentOptions. But this probably isn't the right solution. Should the cradle try to pull in dependencies from multiple components that depend on the specified component?

One possibility that I think might work quite well -- we could just let cabal decide what to load when getting the flags:
diff --git a/src/HIE/Bios/Cradle.hs b/src/HIE/Bios/Cradle.hs
index c2e2948..088b718 100644
--- a/src/HIE/Bios/Cradle.hs
+++ b/src/HIE/Bios/Cradle.hs
@@ -330,8 +330,8 @@ getCabalWrapperTool (ghcPath, ghcArgs) wdir = do
 cabalAction :: FilePath -> Maybe String -> LoggingFunction -> FilePath -> IO (CradleLoadResult ComponentOptions)
 cabalAction work_dir mc l _fp = do
   wrapper_fp <- getCabalWrapperTool ("ghc", []) work_dir
-  let cab_args = ["v2-repl", "--with-compiler", wrapper_fp]
-                  ++ [component_name | Just component_name <- [mc]]
+  let cab_args = ["v2-repl", "--with-compiler", wrapper_fp, _fp]
+                  -- ++ [component_name | Just component_name <- [mc]]
   (ex, output, stde, args) <-
     readProcessWithOutputFile l Nothing work_dir "cabal" cab_args
   deps <- cabalCradleDependencies work_dir

This causes the correct module/target to be loaded by just passing in the file path instead of whatever component hie.yaml specified, and letting cabal figure the rest out. It would make the component field in cabal redundant though.

@bubba Yes, but is this documented anywhere?

@mpickering From the docs:

(There is also syntax for specifying module and file targets, but it doesn’t currently do anything.)

The logic is definitely there though, and seems to work for targets everywhere inc. cabal build
Maybe they added it and forgot to update the docs?


vault rekey and rotate - is it supported?

Is your feature request related to a problem? Please describe.
vault rekey and rotate operations are part of vault operator commands. Though this can be done manually but it requires the human to actually fetch the keys from s3 and decrypt it using kms key and use it to rekey.
Describe the solution you'd like
I think the above exposes the keys to a human and ideally should be able to trigger this say via vault CR in an automated way.
Describe alternatives you've considered
none
Additional context
https://www.vaultproject.io/docs/internals/rotation.html

No this is not yet supported but could be a valuable addition, but it is not trivial to implement, so we need to think about it first how to do this correctly.

@bonifaido rotate is pretty straightforward as it doesn't require the shared keys. It will just rotate the backend key used for encryption. rekey requires all the shares to be present and might require some work. Can you share your concerns when you say it is not trivial so that we can take the discussion forward. I think it is a good addition as most organization might have a key rotation policy.

My concerns are basically time-related only, namely that we don't have time currently to implement this, but I still think this a valid and valuable feature.

thanks @bonifaido fair enough

Closing this as not relevant anymore. Please reopen if still needed.


Vue SSR v-html on dynamic-component hydration warning

Version
2.6.11
Reproduction link
The reproduction is updated to use Vue SSR without NUXT
https://github.com/privatenumber/vue-ssr-vhtml-dyncomp-bug
Steps to reproduce
Dynamic.vue
<template>
  <component is="div">
    content necessary
  </component>
</template>

App.vue
<template>
  <dynamic v-html="'
trigger hydration warning
'" />
</template>

What is expected?
The expected behavior is for there to be no hydration warning when the SSR and client markup are identical.
What is actually happening?
Although there isn't a discrepancy in rendered HTML between client and SSR, it gives warnings that there is.

Work around
I used a render function instead of a dynamic-component:
render(h) {
    return h(this.component, this.$slots.default);
}

Other info
Previous issue: https://github.com/vuejs/vue/issues/11532

nice bug report. very thorough

Having the same issue.
SSR node counting strategy does not work properly when injecting HTML via the v-html prop.

Same situation here...


Missing profile photo on tailwindcss.com

When changing a Twitter avatar the old image is removed. @davidhemphill has changed their avatar so their avatar URL is now producing a 404 on tailwindcss.com. I can't find a repository to commit a fix to (is the site opensource somewhere?) so I'm making this issue instead.
To avoid this issue you can either use https://twitter.com/username/profile_image?size=normal|bigger|mini|original or a service like avatars.io.
e.g: https://twitter.com/davidhemphill/profile_image?size=original
e.g: https://avatars.io/twitter/davidhemphill

Fixed it in tailwindcss/tailwindcss#343 🙂


How to allow for Horizontal Scalability

The application as it stands does not allow for HA, it is using some resources that are not shared like:

Sessions
Cache

If possible, could you briefly go over how you scale this application on your environment (repman.io)?
I did some experiments with the repository and I saw that it is not possible to configure cache adapters with env, because it is in a Compiler pass. So, I would have a couple of questions:

if anyone wanted to introduce different cache adapters, this person would have to keep a fork?
Is there any other way out of it?
Would you be inclined to add a new default adapter that is shared (redis, memcached, etc) or that is already too opinionated for the app?

Currently our public instance (app.repman.io) use single EC2 instance and for now it's enough (over 1k users). In addition, the resources are covered with CloudFront, which will reduce the required amount of resources.
If there is a need for more machines, we can create appropriate environmental variables that will make it possible to deploy to more than one machine. There are actually two things to do (as you wrote):

session
cache

I am happy to accept such a pull request (or help if further discussion is needed).

Currently our public instance (app.repman.io) use single EC2 instance and for now it's enough (over 1k users). In addition, the resources are covered with CloudFront, which will reduce the required amount of resources.
If there is a need for more machines, we can create appropriate environmental variables that will make it possible to deploy to more than one machine. There are actually two things to do (as you wrote):

session
cache

I am happy to accept such a pull request (or help if further discussion is needed).

Thanks for the insights, sadly I don't know a way to configure the caching lawyer using envvars because they are in a compiler pass, so they break once you try to configure them with dynamic values. I will research more about that and if I can come up with a solution I will send a PR.
For now, I have to maintain my fork anyway to customize the docker images for my needs, so I will keep the configuration on my side. Thanks for the openness and sharing your setup! I will check whether I can use some CDN or cache lawyer to ease the load on the application itself.

Thanks for the insights, sadly I don't know a way to configure the caching lawyer using envvars because they are in a compiler pass, so they break once you try to configure them with dynamic values. I will research more about that and if I can come up with a solution I will send a PR.
For now, I have to maintain my fork anyway to customize the docker images for my needs, so I will keep the configuration on my side. Thanks for the openness and sharing your setup! I will check whether I can use some CDN or cache lawyer to ease the load on the application itself.

If you have any resource issues at the moment, let us know (even a private message). I would like to know the limits of the Repman's capabilities in customer environments. Maybe something could be changed in the code itself or the functionality to improve the performance of the application.

If you have any resource issues at the moment, let us know (even a private message). I would like to know the limits of the Repman's capabilities in customer environments. Maybe something could be changed in the code itself or the functionality to improve the performance of the application.


Chore: use automatic instance manager

update to the latest SDK and use the automatic instance management

@bymattoa -- no rush on this.  It should not change any behavior, only shifts things to use a shared wrapper for instance management.  This at least removes one extra interface abstraction :man_shrugging:


When a server connects it calls OnPlayerConnected, it will now also c…

…all OnPlayerAccepted as the server is fully connected at this point

Is this still relevant/needed? Could this be moved to the FAQ or something similar instead?

I have merged a big cleanup branch and so you will probably need to merge current develop into your fork and resolve conflicts, sorry about this. The main breaking change in develop is the folder paths have updated their names to not have spaces. Please see this commit for more info on the changes


boards: arm: rcar h3ulcb: Add OpenOCD configuration

On R-Car the Cortex R7 is usually not the boot processor.
This configuration file make use of the Cortex A57 processor,
to initialize the Cortex R7.
It boils down to few steps:

Apply power to the Cortex R7
Set the boot address for the Cortex R7
loading a firmware
releasing the Cortex R7 reset

This configuration file also rely on A57 bootloaders,
to initialize device, memory, and security groups.
This file has been tested on openocd 0.10.0+dev-01508-gf79c90268-dirty,
shipped with zephyr sdk 0.12.4, and on openocd master
65c9653cc768f77a5e8cf2af73e0f40d614bdec2.
Thread awareness is possible thanks to this patch:
http://openocd.zylin.com/#/c/6369/
Signed-off-by: Julien Massot<EMAIL_ADDRESS>

Hi @carlescufi since you did talk about adding openocd integration in the first H3ULCB PR #31307, I'm adding yourself as a reviewer.


Add animation completion handler

Hi @m1entus, Thanks for your PR.
I think this will fix #4, so I will merge this  :+1:
But I want to know your idea, why did you separete theRMPZoomTransitionAnimating protocol and the RMPZoomTransitionDelegate protocol? I think it is not necessary to separate protocol.
@jfradj This PR will fix your issue #4?

The main reason is that it serves a completely different function, it is callback for some kind of functionality, not a interface(protocol) that must implement some kind functionality for viewController to be "Transitioning".  If future as a delegate handler could be different object that viewController which implements transitioning protocol. If you think that is not necessary feel fre to refactor it to one protocol.

@m1entus  I get it. Thank your for your help. :relieved:


HttpClient observations

Hi Michiel,
I'd like to share some observations regarding the way HttpClient is used in LocalHueApi, especially in regards to the possibility of passing in your own instance of HttpClient both for the constructor as well as when calling StartEventStream(), presumably in order to reuse an existing (shared) HttpClient instance (which to my knowledge is considered good practice anyway).
So I gave it a try - and ran into some findings that I wanted to share:
1) Passing a HttpClient instance in the constructor
By default, GetConfiguredHttpClient() creates a new HttpClient instance if none is passed as a parameter to the method, and then goes on to set some properties (Timeout and BaseAddress) as well as setting DefaultRequestHeaders, and then stores the object for further use.
But this fails if you pass in a HttpClient instance that has previously been used to send a request, because these properties can only be modified before sending the first request.
Example:
var handler = new HttpClientHandler()
{ ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator };
var client = new HttpClient(handler);

client.BaseAddress = new Uri("https://api.publicapis.org");
_= await client.GetAsync("/entries");

var localHueClient = new LocalHueApi(config["ip"], key: config["key"], client);
var result = await localHueClient.GetLightsAsync();

-> System.InvalidOperationException: This instance has already started one or more requests. Properties can only be modified before sending the first request.
Instead of setting the BaseAddress property and Headers on the instance, the complete Uri as well as the RequestHeaders should be passed using a HttpRequestMessage object and the request then sent using HttpClient.SendAsync(). As you are making extensive use of the HttpClientJsonExtensions, this would quite a rewrite though....
Side notes:
a) Setting the DefaultRequestHeader on a shared HttpClient instance would add that header to any other subsequent requests sent using that instance.
b) Server certificate validation is supressed by using a custom HttpClientHandler which can only be set in the HttpClient constructor. So any shared HttpCLient instance would have to have that handler set as well, which could be a potential risk.
2) Passing the same HttpClient instance in the constructor and to StartEventStream()
This results in a similar situation (InvalidOperationException) when GetConfiguredHttpClient() tries to set the timeout. For some reason, the expection is only thrown in Debug mode though.
3) StopEvenStream() throws unhandled TaskCanceledException (not related to HttpClient)
Last but not least - and not related to HttpClient() - I noticed that using StopEventStream() to cancel the EventStream throws an unhandled exception on var streamReader = new StreamReader(await infiniteHttpClient.GetStreamAsync(EventStreamUrl, cancelToken)), which bubbles up further down the line in my async calls. I would suggest wrapping the outer while-loop in a try-catch block to gracefully terminate the StreamReader.
Please consider my findings as improvement suggestions.
Assuming that the intent of adding HttpClient as parameters was to enable reuse of a shared instance, I do think they should be addressed though.
Kind regards
Alexander

Thanks, great feedback. I will need to create some testcases to investigate and then see if I can check if the HttpClient is already used and then maybe throw an exception.
I do think most people understand to use one HttpClient for their Hue calls and another for their other http calls. If they don't and mix them, they will soon encounter the things you mention and use a dedicated HttpClient for Hue anyway. But documentation/code comments can also be improved there.

I added a try/catch block for the TaskCanceledException, I think this should fix your third point.
As for the first two, I created test cases and see that they fail. However I won't be doing a rewrite to solve this, as using your own HttpClient is meant as a pro feature, so you should already know what you are doing and test your setup.

Hi Michiel,
thanks for addressing the TaskCanceledException issue!
Regarding the HttpClient issues, I understand your point. As said, these were just observations, albeit they are important in situatios where consumers want to reuse an existing HttpClient instance (which is recommended). But I can live with the situation :-)
Kind regards
Alexander

Hi Michiel,
I can confirm that version 0.10.0 resolves the unhandled TaskCanceledException when using StopEventStream().
The library now shuts down gracefully, so I'm closing this issue. Thanks!
P.S. I might take up the HttpClient refactoring on a separate fork.


Run tests with more GitHub Actions cases to save running time.

There are 2 commits.
Note I registered the cromwell-77.jar as as "large file" by git-lfs.
The file exceeds GitHub's file size limit of 100 MB, showing the error message
below. Git Large File Storage (LFS) helps to manage large files.
$ git push <remote repo> <branch>
...
remote: error: File vendor/cromwell/cromwell-77.jar is 220.13 MB; this exceeds GitHub's file size limit of 100.00 MB
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
...

[1] https://git-lfs.github.com/

Previously the total running time was 30 minutes 42 seconds. Now the total running time is 6 minutes 25 seconds. It was drastically improved.


cluster: add Watch support.

Fixes https://github.com/go-redis/redis/issues/203
Fixes https://github.com/go-redis/redis/pull/217

@vmihailenco that's great. But I found another problem that is I cannot run ClusterClient.FlushALL() to wipe all data on different nodes. It only can wipe one node. Is there a ClusterServer.MasterClients() []*ClusterClient like API? Or there is another way to flush cluster?

@siriuszhuang please file a separate issue so I don't forget about. But I think we need a special case in ClusterClient.process for FlushDb/FlushAll.


Pressing a TAB after python manage.py gives a series of errors

I entered the command python manage.py and pressed TAB button after this and a series of some errors come up.
For reference see the image below

Any idea why this is happening?
This error shows up even after running manage.py with python manage.py

I suspect a configuration issue -- do you get the same error if you just run ./manage.py shell.  Are you running this from outside the Vagrant environment?

@timabbott Same error for ./manage.py shell. Yes I am running this from outside vagrant.

Are you within a virtual environment? I get this error only when I run it without activating a virtual environment.

@sharmaeklavya2 Nopes !! The error comes only outside the vagrant.

When you create a virtual machine using vagrant, a virtual environment is already set up for you. It is located at /srv/zulip-venv. On logging into the vagrant virtual machine, you'll realize that the virtual environment is already activated. So on running python manage.py from inside vagrant, things run as expected.
Outside vagrant, you'll have to set up the virtual environment on your own. After setting up the virtual environment, activate it and then run python manage.py. It should then work.

@sharmaeklavya2 Oh ok. Then there isn't any issue with the errors right?

Yup. No issue according to me.

Yep.  One could imagine trying to make manage.py produce a clearer error message in the case that it can't find any of its dependencies, but I think that's hard to do in general, so I'll close this for now.  If other folks encounter this problem, though, please post here and we can consider adding such an error message.


putting proxy back

Codecov Report

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

@@            Coverage Diff            @@
##             master     #111   +/-   ##
=========================================
  Coverage          ?   68.71%
=========================================
  Files             ?        7
  Lines             ?      537
  Branches          ?        0
=========================================
  Hits              ?      369
  Misses            ?      151
  Partials          ?       17

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 63b1dd4...91acd1e. Read the comment docs.


Fix chat echo sample

The client.options.username reference is optional for online connections.  Referencing it here when it is null will not filter out the echo text, causing an infinite loop.

Please also correct examples/client/client.js

Thanks!


Document PgUp and PgDown keys

Hi @gitpitch
Thanks again for this wonderful tool!
I noticed completely by chance, that pressing PgUp and PgDown would navigate to the next slide, taking into account the 2 dimensions. It will correspond either to DownArrow key, or RightArrow, depending on the availability of a down slide.
The help screen does not mention it:

Would it be possible to add it?

Thanks for this suggestion @cbenz , it's a good idea. I'm just adding this note for myself that this change should be made in tandem with a fix for issue #36 which also needs to update the in-presentation help.

Quick update. GitPitch has just been updated to use reveal.js 3.5.0 (from 3.3.x) as the default dependency for presentation rendering. As part of this change I have updated the in-presentation Help (?) screen to include:

PgUp and PageDown keys for previous and next navigations
Shift key navigations to skip slide fragments
X key to select source within code blocks

If you are currently overriding the default revealjs version in your PITCHME.yaml for existing presentations and now want to avail of this latest update, please remove that override property for existing presentations. Naturally, all new presentations will use the new default by default :)
Now closing this issue as resolved.


Starting Hello Monkey Application

Hello everybody.
I hope somebody can help me to solve my issues. Ive added the twilio plugin to my cordova ios project. Worked well. Ive added the header und lib files. But from now on i dont know how to start the whole thing. Ive tried the "Hello Monkey" example from the Twilio docs but it does not work on my App.
Can somebody show me what i am doing wrong? For the token i uploaded the php files from twilio to my ftp and generated there my token with my account details. Then i put the token into my app and tried it, but it dont work on simulator and iphone device.
Its just the Test Call to see if everything works.
Here is my code, just the index.html

      type="text/css" rel="stylesheet" />

          <button class="call" onclick="call();">
              Call
          </button>

Loading pigeons...

      ```

Hi,
What's appearing in the log? Are you loading the tcPlugin.js from your index.html? If you want to post your whole index.html, I can look at it. You can also use the remote debugger in Safari to take a look at the error console for Cordova when you run the app in the Simulator.

Yeah, here is the complete index.html. I have to say that i "echo" the token from my php file and copy paste it into the code for testing reasons. Does this work? And thanks for your help.
´´´

Hello World

        Call

Loading pigeons...

Sorry for double posting, maybe you can help me out with an Version how you would do the "Hello Monkey" Example of Twilio. That would help to understand the whole thing.
https://www.twilio.com/docs/quickstart/php/client/hello-monkey
I  think this would help a lot of People to getting started.

Hi,
I just uploaded the example application I use for testing the plugin.
My version requests the token from a URL - if you have a URL endpoint that just returns a Twilio capability token, replace the URL at the bottom of phoneApp.js with that.
Let me know if that helps!

https://github.com/jefflinwood/TwilioClientPhoneGapExampleApp

Worked fine! Thank you very very much!

Thanks! I'm glad it helped! If you have any questions, create a new issue on this repo or that example app repo. I'll close out this issue.


fix(search): remove wrong usage of filter

Status
Ready
Related Issues
fixes: search issue
Description
Removing a wrong usage of filter. There is no point to filter on anchors.
__docusaurus anchors are not indexed anymore thanks to https://github.com/algolia/docsearch-scraper/pull/505

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

Thanks. We've fixed this in the following pr: https://github.com/demisto/content-docs/pull/144


RDM-10908: whitelisting divorce_frontend

Before creating a pull request make sure that:

[ ] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[ ] tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No

These changes have been applied already via this Flux PR: https://github.com/hmcts/cnp-flux-config/pull/7870/files
Will merge these changes into develop branch to keep the repo config in sync with Flux

These changes have been applied already via this Flux PR: https://github.com/hmcts/cnp-flux-config/pull/7870/files
Will merge these changes into develop branch to keep the repo config in sync with Flux

@mario-paniccia I'm afraid it's not enough. Flux is setting up only for demo and prod. It doesn't configure aac on aat.
Can you please reopen and merge this?
CC: @hemantt

@mario-paniccia I'm afraid it's not enough. Flux is setting up only for demo and prod. It doesn't configure aac on aat.
Can you please reopen and merge this?
CC: @hemantt


Test exponential vw numbers against approx function and sign off

Problem:
Test and verify exponential vesting numbers are accurate
DoD:

[x] Numbers have been generated from contract sim
[x] Sim numbers have been compared to the whitepaper/real numbers
[x] Sim numbers have been compared on a long trajectory and have been verified
[x] Sim emission tests have been signed off

This looked good to go. @trentmc can you sign off on this, or is there something else remaining on this step?

Yes, I reviewed. Happy to sign off. I can close it.


Start Up Alert & Multiple Windows

Using Mac version - Version <IP_ADDRESS>a-beta
When open the wallet I get this as a pop up alert

Uncaught Exception:
TypeError: Cannot read property 'pid' of undefined
at /Applications/Agama.app/Contents/Resources/app/routes/shepherd.js:1711:33
at /Applications/Agama.app/Contents/Resources/app/node_modules/pm2/lib/API.js:980:21
at /Applications/Agama.app/Contents/Resources/app/node_modules/pm2/lib/API.js:1051:19
at /Applications/Agama.app/Contents/Resources/app/node_modules/async/lib/async.js:52:16
at replenish (/Applications/Agama.app/Contents/Resources/app/node_modules/async/lib/async.js:314:29)
at /Applications/Agama.app/Contents/Resources/app/node_modules/async/lib/async.js:330:15
at Object.async.forEachLimit.async.eachLimit (/Applications/Agama.app/Contents/Resources/app/node_modules/async/lib/async.js:220:35)
at startApps (/Applications/Agama.app/Contents/Resources/app/node_modules/pm2/lib/API.js:996:11)
at /Applications/Agama.app/Contents/Resources/app/node_modules/pm2/lib/API.js:978:14
at /Applications/Agama.app/Contents/Resources/app/node_modules/async/lib/async.js:52:16
at replenish (/Applications/Agama.app/Contents/Resources/app/node_modules/async/lib/async.js:306:28)
at /Applications/Agama.app/Contents/Resources/app/node_modules/async/lib/async.js:326:29
at /Applications/Agama.app/Contents/Resources/app/node_modules/async/lib/async.js:44:16
at /Applications/Agama.app/Contents/Resources/app/node_modules/pm2/lib/API.js:969:18
at /Applications/Agama.app/Contents/Resources/app/node_modules/pm2/lib/API.js:1305:19
at /Applications/Agama.app/Contents/Resources/app/node_modules/async/lib/async.js:52:16

After I click ok I sometimes then get

Uncaught Exception:
TypeError: Cannot read property 'destroy' of undefined
at Timeout._onTimeout (/Applications/Agama.app/Contents/Resources/app/node_modules/pm2/lib/Client.js:370:29)
at ontimeout (timers.js:365:14)
at tryOnTimeout (timers.js:237:5)
at Timer.listOnTimeout (timers.js:207:5)

Then - 3 windows open up - all the same with the ACTIVATE COIN button.

Start

please use v<IP_ADDRESS>a


Arrow for next story gives random story

The arrow for going to the next story works like a random button, it moves from #0178 to #0117 to #0312 etc.

Hi Espen -- it's not quite random: as described in the "Help" text, the stories are presented in order of length, from shortest to longest.


Spark application CRD upgrades

I would like to know how are we planning to handle sparkApplication and scheduledSparkApplication CRD upgrades when spark applications are running.
Let us say we have installed sparkApplication CRD version v1beta1 in our cluster and few streaming spark jobs are running (using this sparkApplication)
Now if we want to upgrade sparkApplication CRD to v1beta2. Our understanding is that we have to delete the v1beta1 version and then install v1beta2. Is this correct understanding?
If so, we observe that the running spark jobs are stopped (because all the sparkApplications are deleted when CRD is deleted).
Do we have any view on this?

@liyinan926

What if you keep both versions of CRD, and upgrade your Spark operator pod to only submit a new version of CRDs.
Hopefully, the behavior will be the old version of sparkapplication that will still be able to run, and only the new version of CRDs will get created.
Spark operator may failed to manage(watch/update) the old sparkapplication.

@jinxingwang after CRD upgrade, we should only have new spark applications. So we try to delete old sparkapplication instance and try to create new one. But we have noticed that after spark operator doesn't create drivers for newly created CRD. Any solution/suggestion for this?

When you say after CRD upgrade. Can you check a few things?
What is the CRD version spark operator is trying to submit?
What is the CRD version that exists in the k8s object?
What does the describe sparkapplication say?


Add snap and add snap to users paths

sudo rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum update
sudo yum install snapd
sudo systemctl enable --now snapd.socket
sudo ln -s /var/lib/snapd/snap /snap
Needed to install #16 cmake

Since snap will be deprecated we will not add snap anymore. We'll use flatpak instead if we deem we need it.


Allow drag scroll on mobile when locking horizontal axis

What are you trying to do?
When on mobile device I try to scroll down by touching a draggable element, that can only by moved left or right, it will initiate dragging instead.
Reproduction
Here is a simple example. Open it on a mobile device.
Try to scroll to the bottom. You can do it freely when not touching a draggable element, but you are unable to do it when touching it. How not to trigger dragging when moving vertically?
https://stackblitz.com/edit/angular-6scebl-mk8i9o?file=app/cdk-drag-drop-axis-lock-example.html
Environment

Angular: 9.0.0-rc7
CDK/Material: 8.2.4
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): Android Oreo

I finally got it to work by using the cdkDragStartDelay attribute recommended by this documentation. A value of 100ms worked for me

@FMagarik can you close this issue?

Looks like the original issue was resolved. Closing.

The original? Can you link it?

Ah sorry, I thought that the last comment from @FMagarik was referring to the initial issue.


The .expect files for tests

These are .expect files for tests that worked before we began revamping the interpreter. These tests will serve as our baseline tests once we get the interpreter functioning again.

Might have made this pull request wrong but all that needs to be added to master are the .expect files. Everything else can be ignored (the other files are out of date)

Long term, the interpreter should start running the tests under tests/correctness to test for verilator equivalence.

Also, should this have a runt.toml file too and be automatically run from in the CI workflow?


Do not use "rolem" by default.

Not specifying user should not result in a random user. If you define the user in the global config, it is preferable that nothing is inserted compared to a random user.

Thank you for this pull request! Please check this document for how the Jenkins project handles pull requests.

Thanks for the spot! That's in there since ancient times. I replace this PR by #759 to removed the method eventually.

Yea, really caught me by surprise trying to go something like
p4 ('') {
if(vars?.user) user(vars.user)
}
and seeing rolem


Long reload time and huge number of network requests when modify the files of stories.

Background
When diving into the example project (https://github.com/eirslett/storybook-builder-vite/tree/main/packages/example-react), I found that the page will have a long loading time when I modify the stories.
Using the devtools power by Chrome, you can see that there will be more than 500 network requests if the iframe is reloaded, and the number of requests will increase a lot with the addition of addons, which affects the development experience.

Trace
After debug, it was found that the storybook addons were imported using the absolute path in the vite-app.js generated by this builder.
These absolute paths seem to confuse vite's auto dependency discovery (see https://github.com/vitejs/vite/pull/1571#issuecomment-769105752), resulting in the inability to bundle the storybook addons as external dependencies, which has a large number of internal package references.

The related code is located in codegen-iframe-script.js, the configEntries here contains the user configuration and configuration injected by addons. It would be better to treat those injected configs to be external dependencies.
Workaround
I still don't find a better way to solve this problem. But there is a workaround without modifying the builder's source code.
In the project's .storybook/main.js, manually writing a vite plugin to replace all the import path which are external dependencies in vite-app.js. At the same time, the builder's default configuration for optimizeDeps.include is replaced, because most of them will not be used.
Note: This vite plugin is still experimental, and many edge cases are not considered.
const path = require("path");

const forceBundleConfigDeps = () => {
    const virtualFileId =<EMAIL_ADDRESS>
    return {
        name: 'force-bundle-config-dep',
        enforce: 'pre',
        /**
         * @param {string} code
         */
        transform(code, id) {
            if (id !== virtualFileId) {
                return;
            }

            // match last node_modules
            // .../node_modules/.../node_modules/yy/zz -> yy/zz
            const transformedCode = code.replace(
                /import \* as (config_.*?) from '.*\/node_modules\/(.*?)'/g,
                (_substr, name, mpath) => {
                    return `import * as ${name} from '${mpath}'`;
                }
            );

            return {
                code: transformedCode,
                map: null,
            };
        },
    };
};

module.exports = {
  stories: [
    "../stories/**/*.stories.mdx",
    "../stories/**/*.stories.@(js|jsx|ts|tsx)",
  ],
  addons: [
    "@storybook/addon-a11y", // it works now, without optimizeDeps.include (see issue https://github.com/eirslett/storybook-builder-vite/issues/6)
    "@storybook/addon-links",
    "@storybook/addon-essentials",
  ],
  core: {
    builder: "storybook-builder-vite",
  },
  async viteFinal(config, options) {
    // customize the Vite config here
    return {
      ...config,
      plugins: [...config.plugins, forceBundleConfigDeps()],
      optimizeDeps: {
        include: [
          "@storybook/react",
          "@storybook/client-api",
          "@storybook/client-logger",
        ],
        entries: [
          `${path.relative(
            config.root,
            path.resolve(__dirname, "../stories")
          )}/**/*.stories.@(js|jsx|ts|tsx)`,
        ],
      },
    };
  },
};

After the optimization, only 90 network requests are required for one reload.

The external dependencies in vite-app.js are also bundled correctly.

Reproduction Repo
Slow loading repo (copied from example-react): https://github.com/ThinCats/storybook-builder-vite-reproduce-slow-reload/tree/main/packages/react-slow-reload
Workaround Modified repo: https://github.com/ThinCats/storybook-builder-vite-reproduce-slow-reload/tree/main/packages/react-slow-reload-workaround

Because of the vite's auto dependency discovery mechanism, we even don't need the option optimizeDeps.include. Now the addon @storybook/addon-a11y works like a charm.

This could maybe be improved if Storybook delivered npm packages for addons that were already run through Rollup or some sort of bundler that only generated one single file... but the general weakness for Vite vs Storybook is the number of requests that the browser has to make.
Vite should have added cache headers to all the files, to let the browser skip some of the heavy lifting. Usually, it should handle around 500 requests without a problem, but more than that, and things start to become sluggish.
Workflow-wise, I recommend making as few changes to the stories as possible, and doing most of the changes in the components - then you get hot reloading, which improves the developer experience a lot.

@ThinCats Your workaround is really good.
Here's mine
Before

After

What should we look out for with this workaround?

I have a very large project and noticed the same speed problems. That being said the problem of having a large module count is being exasperated by the storybook server itself. It's using the https module instead of something that can handle http2 requests like spdy (chosen because it works with express).
I did a little testing by modifying the server-init file in storybook/core-server and it's 2x faster to load 1600 modules when using spdy with storybook than it is with the current server implementation. I think it might be wise to see if we can get them to change.

I guess

Use http2 in the Storybook server
Storybook itself (the manager) should be pre-bundled
Lazy loading stories
would help. All of these things have to be implemented in Storybook core.

After converting our project and stories to vite I've noticed very long load times. It seems to be rebuilding vite cache for eveything. I can see node_modules\.vite gets wiped and then recreated. It's taking about 5-10mins to load. Sadly the same thing happens when you stop and start with the npm script start-storybook -p 6006

I'm building a series of wrapped components on https://github.com/ant-design/ant-design. I encountered a huge loading time preboundling consumption, the iframe Vite hosted keeps reloading times and times. Is there any progress on large-scale components developing experience improvement?

I've found that adding my stories glob as optimizeDeps.entries in viteFinal helps a lot.  And add anything else that is still found by vite when building to the optimizeDeps.include array, (while making sure to preserve what this package already provides).  Lastly, enabling features.storyStoreV7 on storybook 6.4.0 can save a lot of time in the browser's load time, because it lazy loads the stories instead of all at once.

jebus help us! it's sooo slow.

There is work ongoing right now to address https://github.com/storybookjs/builder-vite/issues/87#issuecomment-930029420.

https://github.com/storybookjs/storybook/issues/17971
Storybook 7.0 uses esbuild and tsup to pre-bundle the manager and addons.
We may be able to HMR stories in 7.0 because webpack is no longer running which was causing HMR conflicts with vite.

Hang in there, things will improve a lot in storybook 7!  We're working on getting the vite builder running with it, and we'll announce when there's an alpha version that you can try out.  It will probably be in the next few weeks or so.

The GIF above may suggest that a solution has been found but it has not.
This issue has been ongoing for some time now and I think it'll never work correctly as long as vite serves the files unbundled.
Has anyone found a workaround with HTTP2 in order to gain some performance ?
Here's what I tried :
Enabling automatic code-splitting : it works great for HMR but it doesn't affect the cold start time, alas !
I also tried to simplify all the imports and avoid circular references but to no end.
Changed between react plugins esbuild and swc, no visible gain.
I added some kind of pre-loading in post-install with the --smoke-test option in my package.json with no visible performance gain.
TL; DR subscribe to this issue and wait 🔔

@jjpxiii you're right that it can take some time for Vite to start up, and it is something I hope to spend more time investigating after 7.0 is released.  If you are already using the 7.0 beta and experiencing long load times, there are some things you can do to investigate:

Check your .storybook/preview.js to see if you are importing something that brings in your entire app.  The preview.js file is loaded for every story, so try to keep it as small as possible to improve first-story startup time.
Avoid the use of index.js "barrel files," which re-export from lots of other files.  They cause problems for tree-shaking and will cause lots of unneeded imports.
Look in your network tab while storybook is starting.  If you see components/files being loaded that shouldn't be, that's a good indication that you're doing one of the two things above.  Otherwise, investigate why they are being downloaded.
Docgen takes a significant amount of time during startup.  If you're not using args tables or docs, you may be able to disable docgen and get some performance improvement.  You can do this in .storybook/main.js with the setting: typescript: {reactDocgen: false}.

I hope some of these tips can help tide you over until we can spend more time to improve Vite startup performance in Storybook.

Well, thanks for this great answer Ian, I wish I had complained earlier because this led to some huge improvements !
Yesterday morning, with SB 6.5.13 and Vite 4, the cold start took something between 55s and 1 minute. Preview time was between 9 and 10 seconds.
By cold start, I mean :

removed files in node_modules/.vite-storybook/deps
empty browser cache

From your answer :

point 1 did very little as our number of imports in the preview file is quite small.

and 3. we had already did our little investigation with the network tab, and the number of JS components was huge, that's why we were considering rewriting the imports and getting rid of the barrel files.
Based on your advice, it took a handful of hours but we rewrote the imports and got everything working.
CS times went down to ~38s and the warm cache starts stayed the same.
The number of JS requests went from 1500 to 800, a great gain from rewriting the imports.
As a result the preview times were cut in half, from 10 seconds to under 5.

Deactivating react-docgen led to a massive gain, cold start takes now just north of 10 seconds, warm starts a little above 1 second, the preview time is under 1 second.
However, we are using it, so it's very good to know there is room for improvement, and also to know where to find it !

Thanks again Ian, you've been really helpful for us and I hope for everyone who'll stumble on this thread 🤩


Dev mode does not recognize new files

Dev mode will not render newly created files. You must restart stasis -d to see them.

Still failing for me in 0.1.14, which includes this commit.


Docker run Issue: eaddrnotavail

Having an issue on a fresh instance of Ubuntu 22.04.2.
Running the following command from the README produces an error:
docker run -e SECRET_KEY_BASE=JlU7vU9xt9uWbf82Z9HrUjAuNGtqwqG8h8AaUc3AOyH0a86wa5Q4DITNLorGmILv -e FLY_APP_NAME=helldivers-2 -e FLY_IMAGE_REF=0 -e FLY_PRIVATE_IP=<IP_ADDRESS> -p 4000:4000 helldivers2:latest

Protocol 'inet6_tcp': register/listen error: eaddrnotavail

I first attempted this on WSL but got the same error and assumed it may have been because of some weird Windows issue. However, I am still having this issue on a fresh VM.

it appears it is a Windows issue, the API internally runs with IPv6 support, however it appears that Docker Desktop doesn't support IPv6 (which I found out about here)
I can see if I can put the IPv6 behind a feature flag though, I'll have to investigate

@nadrojisk could you try running the container with the following command and let me know if it works for you?
docker run -e SECRET_KEY_BASE=JlU7vU9xt9uWbf82Z9HrUjAuNGtqwqG8h8AaUc3AOyH0a86wa5Q4DITNLorGmILv -e FLY_APP_NAME=helldivers-2 -e FLY_IMAGE_REF=0 -e FLY_PRIVATE_IP=<IP_ADDRESS> -e ENABLE_IPV6=false -p 4000:4000 helldivers2:latest

Hey so I ran into this exact same issue.
Version information:

Ubuntu 22.04.4 LTS
Docker Desktop V2.23.9

Your command sadly still outputs the same result @dealloc, please see my terminal output below:
jelle@Jelle:~/Documents/repo/helldivers2-api$ docker run -e SECRET_KEY_BASE=JlU7vU9xt9uWbf82Z9HrUjAuNGtqwqG8h8AaUc3AOyH0a86wa5Q4DITNLorGmILv -e FLY_APP_NAME=helldivers-2 -e FLY_IMAGE_REF=0 -e FLY_PRIVATE_IP=<IP_ADDRESS> -e ENABLE
_IPV6=false -p 4000:4000 helldivers2:latest

Protocol 'inet6_tcp': register/listen error: eaddrnotavail

However, I managed to get it running by changing a line inside of rel/env.sh.eex from:
export ERL_AFLAGS="-proto_dist inet6_tcp"

to:
 export ERL_AFLAGS="-proto_dist inet_tcp"

I have never worked with fly or elixir before, so not sure if this is a workaround or the intended way of solving this, but this should work for @nadrojisk aswell.

Semi unrelated, but I also added a really barebones docker-compose.yaml so I can use a .env file instead of having to give all the env vars in the command, if anyone is interested I'm willing to share it!

Good catch! The machine I'm running my containers on has IPv6 support so it's a little hard for me to test these as it would work regardless of IPv6 being on or off.
I'm pushing an update that should set ERL_AFLAGS conditionally on the ENABLE_IPV6 parameter

Issue
Hey so I tested this again after pulling and rebuilding the image locally, I run the command with ENABLE_IPV6=true
This returns an unexpected output:
jelle@Jelle:~/Documents/repo/helldivers2-api$ docker run -e SECRET_KEY_BASE=JlU7vU9xt9uWbf82Z9HrUjAuNGtqwqG8h8AaUc3AOyH0a86wa5Q4DITNLorGmILv -e FLY_APP_NAME=helldivers-2 -e FLY_IMAGE_REF=0 -e FLY_PRIVATE_IP=<IP_ADDRESS> -e ENABLE_IPV6=true -p 4000:4000 helldivers2:latest

./helldivers_2: 4: [: true: unexpected operator

16:02:08.147 [info] Launching war season 801
16:02:08.148 [info] Launching war season 805
16:02:08.150 [notice]     :alarm_handler: {:set, {:system_memory_high_watermark, []}}

##continues with loading text

This should've given me the Protocol 'inet6_tcp': register/listen error: eaddrnotavail message, as I don't have IPV6 support.
No matter the value or how I re-write the command, I either get the ./helldivers_2: 4: [: {value}}}: unexpected operator or no error but I always boot in IPV4.

Proposed solution
The issue lies in the env.sh.eex file, on the if statement on line 4: if [ "${ENABLE_IPV6}" == "true" ]
Changing this to if [ "${ENABLE_IPV6}" = "true" ] fixes it.
I can try to explain, but this stackoverflow answer will do a better job (also the information I based this message on):
After I changed the line, I built the image again and ran these commands, their output is listed below:

Results of proposed solution
Running with IPV6 enabled should give me a eaddrnotavail
jelle@Jelle:~/Documents/repo/helldivers2-api$ docker run -e SECRET_KEY_BASE=JlU7vU9xt9uWbf82Z9HrUjAuNGtqwqG8h8AaUc3AOyH0a86wa5Q4DITNLorGmILv -e FLY_APP_NAME=helldivers-2 -e FLY_IMAGE_REF=0 -e FLY_PRIVATE_IP=<IP_ADDRESS> -e ENABLE_IPV6=true -p 4000:4000 helldivers2:latest

Protocol 'inet6_tcp': register/listen error: eaddrnotavail

Running with an incorrect value should start the API
jelle@Jelle:~/Documents/repo/helldivers2-api$ docker run -e SECRET_KEY_BASE=JlU7vU9xt9uWbf82Z9HrUjAuNGtqwqG8h8AaUc3AOyH0a86wa5Q4DITNLorGmILv -e FLY_APP_NAME=helldivers-2 -e FLY_IMAGE_REF=0 -e FLY_PRIVATE_IP=<IP_ADDRESS> -e ENABLE_IPV6=wrong -p 4000:4000 helldivers2:latest

16:04:41.697 [info] Launching war season 801
16:04:41.699 [info] Launching war season 805
16:04:41.701 [notice]     :alarm_handler: {:set, {:system_memory_high_watermark, []}}

##continues with loading text

Running with no -e ENABLE_IPV6 should start the API
jelle@Jelle:~/Documents/repo/helldivers2-api$ docker run -e SECRET_KEY_BASE=JlU7vU9xt9uWbf82Z9HrUjAuNGtqwqG8h8AaUc3AOyH0a86wa5Q4DITNLorGmILv -e FLY_APP_NAME=helldivers-2 -e FLY_IMAGE_REF=0 -e FLY_PRIVATE_IP=<IP_ADDRESS> -p 4000:4000 helldivers2:latest

16:23:55.449 [info] Launching war season 801
16:23:55.449 [info] Launching war season 805
16:23:55.452 [notice]     :alarm_handler: {:set, {:system_memory_high_watermark, []}}

##continues with loading text

ah, when testing locally it seemed to work but SO confirms that == is indeed not POSIX compliant.
Fingers crossed that c5c7241 gets things working on your end!

Tested on my set-up, pulling changes and rebuilding the image
output with the IPV6 true flag
jelle@Jelle:~/Documents/repo/helldivers2-api$ docker run -e SECRET_KEY_BASE=JlU7vU9xt9uWbf82Z9HrUjAuNGtqwqG8h8AaUc3AOyH0a86wa5Q4DITNLorGmILv -e FLY_APP_NAME=helldivers-2 -e FLY_IMAGE_REF=0 -e FLY_PRIVATE_IP=<IP_ADDRESS> -e ENABLE_IPV6=true -p 4000:4000 helldivers2:latest

Protocol 'inet6_tcp': register/listen error: eaddrnotavail

Error as expected, since no IPV6 support

output without value
jelle@Jelle:~/Documents/repo/helldivers2-api$ docker run -e SECRET_KEY_BASE=JlU7vU9xt9uWbf82Z9HrUjAuNGtqwqG8h8AaUc3AOyH0a86wa5Q4DITNLorGmILv -e FLY_APP_NAME=helldivers-2 -e FLY_IMAGE_REF=0 -e FLY_PRIVATE_IP=<IP_ADDRESS> -p 4000:4000 helldivers2:latest

20:43:18.766 [info] Launching war season 801
20:43:18.767 [info] Launching war season 805
20:43:18.768 [notice]     :alarm_handler: {:set, {:system_memory_high_watermark, []}}

##continues with loading text

Starts with IPV4 as expected

output with incorrect value
jelle@Jelle:~/Documents/repo/helldivers2-api$ docker run -e SECRET_KEY_BASE=JlU7vU9xt9uWbf82Z9HrUjAuNGtqwqG8h8AaUc3AOyH0a86wa5Q4DITNLorGmILv -e FLY_APP_NAME=helldivers-2 -e FLY_IMAGE_REF=0 -e FLY_PRIVATE_IP=<IP_ADDRESS> -e ENABLE_IPV6=wrong -p 4000:4000 helldivers2:latest

20:46:34.791 [info] Launching war season 801
20:46:34.791 [info] Launching war season 805
20:46:34.793 [notice]     :alarm_handler: {:set, {:system_memory_high_watermark, []}}

##continues with loading text

Starts with IPV4 as expected

Works for me!

alright, just waiting on confirmation from @nadrojisk and we can close this!

Works beautifully, thanks for your help on this!


Mention MariaDB 10.6 support to be added in 9.12

For LTS Mendix versions, support will be mentioned in RN in corresponding releases. Still, MariaDB 10.6 is already supported in all LTS versions, so it should be fine to update system requirements for all versions once 9.12 is released.

LGTM!

Will merge with #4273 if 9.6.10 comes out before 9.12.

@dahfjkg closing this PR and transferring manually to #4291 due to conflicts after repo/stack update. Please fetch upstream to update your fork.


[VVMP] BM icons lost in the latest VVM plugin

see bagri-1.0.0-EA1 distro.

fixed: wrong icon path was specified


Update Pokemodle link in Projects

Update link from "Proyectos" section, which was pointing to a broken url "pokemodle.online"

Gracias! 😁


[1.x] Transforming ignored paths into valid paths

Today, I reused the PULSE_PATH variable in the ignore paths (see https://github.com/laravel/pulse/pull/229).
Several issues have arisen, which the Router typically handles for the path, so, in general, they do not occur (see https://github.com/laravel/pulse/pull/229#discussion_r1426590745). However, I used the same PULSE_PATH variable in the ignore. The problem here can be caused by various ways of representing the path:

It can start with or without a leading / (in both cases, we are referring to the same thing).

example.1 - developer/pulse
example.2 - developer/pulse/

It can end with or without a trailing / (if specifically referring to this URL, i.e., if the regex ends with $, then in both cases, we are talking about the same thing).

example.1 - developer/pulse
example.2 - /developer/pulse

It may contain accidental // duplications (which need to be replaced with a single /).

example.1 - '/'.env('PULSE_PATH'), where PULSE_PATH is developer/pulse, result: /developer/pulse
example.2 - '/'.env('PULSE_PATH'), where PULSE_PATH is /developer/pulse, result: //developer/pulse

We need to perform 2 transformations for this.

One is removing the duplications (// to /)

preg_replace('#/{2,}#', '/', $pattern)
and due to external ignore, retain the :// with (?<!:) condition --> preg_replace('#(?<!:)/{2,}#', '/', $pattern)

and if the regex ends with $#, then in that case, replace /$# with $#. (/$# to $#)

preg_replace('#/\$\##', '$#', $pattern)

In summary,
protected function shouldIgnore(string $value): bool
{
    // @phpstan-ignore argument.templateType, argument.templateType
    return collect($this->config->get('pulse.recorders.'.static::class.'.ignore'))
-        ->contains(fn (string $pattern) => preg_match($pattern, $value));
+        ->contains(fn (string $pattern) => preg_match(preg_replace(['#(?<!:)/{2,}#', '#/\$\##'], ['/', '$#'], $pattern) ?? $pattern, $value));
 }

@rozsazoltan we can't merge this one. The value this should ignore method receives is not always a URL path. It could be literally any string unrelated to URLs, such as an email address or a country name. We can't apply these rules globally to everything.


Update Android-SHIELD-Android-TV.xml

Pull request
Purpose
Shouldn't SubtitleFormat be SubtitleCodec?
Approach
Everywhere I see working profiles on the Plex forum everyone uses only SubtitleCodec, never SubtitleFormat
Open Questions and Pre-Merge TODOs
Check all boxes as they are completed

[X] Use github checklists. When solved, check the box and explain the answer.

Learning
If you're adding a new Custom Format make sure you follow the Radarr/Sonarr Custom Format (JSON) Guidelines.
Requirements
Check all boxes as they are completed

[X] These changes meet the standards for contributing.
[X] I have read the code of conduct.

these configs i got from several users that used it, or from different sites. also most of these are outdated. and only for like the very first generation

plexopedia Client Profiles

subtitleCodec : A comma-separated list of subtitle codecs that are supported by the client.

Plex Forum how to write a profile
And all the profiles from Plex itself, when you search for Profiles you can take a look at some of the profiles.

thnx, we will merge this


Program Persistence

Currently, the lifecycle of all bpf loaded by bpfd is equivalent to the lifetime of the process.
Once bpfd dies, all bpf programs are detached and unloaded from the kernel.
For systemctl restart bpfd, this behaviour isn't desirable.
We can either:
Pin all programs, links etc...
Pro:

eBPF code continues to run unhindered while the daemon restarts

Con:

We need to manage additional code to pin all objects... and to remove the reference from bpffs when we drop them to avoid leaking resources. Not only that, we also need to rebuild our runtime state using the BPF query APIs - some work may be necessary upstream in Aya to make this possible.

Persist state to /var/run/bpfd/$iface/$program.toml
Pro:

Less lifecycle code to maintain as all runtime state can successfully be rebuilt from /var/run

Cons:

eBPF programs will be unloaded/reloaded

I'm not really sure which option is best as of now.

If you pin, you can associate each program + pin with policy.
As a result on reload ebpfd can kill programs which do not fit the new policy.
If you persist state you IMHO do all of that work and then jump through a few hoops on reload.
Pinning along with metadata for the pin is IMHO the better solution.

Right, so we would also want to extend the load-api to include a restart-policy which seems like a very neat idea! Thanks


Call stack error when generating documentation for types with self-recursive type arguments

Search terms

Maximum call stack size exceeded, recursive type, recursive default type parameter
Expected Behavior

Typedoc generates output without error
Actual Behavior

Typedoc throws RangeError: Maximum call stack size exceeded
Stack trace (while most of this is in lodash, the loop seems to be occuring around Converter.convertTypes.
RangeError: Maximum call stack size exceeded
    at isArrayLike (PROJDIR/node_modules/lodash/lodash.js:11333:58)
    at isArrayLikeObject (PROJDIR/node_modules/lodash/lodash.js:11362:37)
    at PROJDIR/node_modules/lodash/lodash.js:8471:13
    at arrayFilter (PROJDIR/node_modules/lodash/lodash.js:582:11)
    at Function.unzip (PROJDIR/node_modules/lodash/lodash.js:8470:15)
    at apply (PROJDIR/node_modules/lodash/lodash.js:474:27)
    at Function.zip (PROJDIR/node_modules/lodash/lodash.js:6563:16)
    at Converter.convertTypes (PROJDIR/node_modules/typedoc/dist/lib/converter/converter.js:140:11)
    at ReferenceConverter.convertType (PROJDIR/node_modules/typedoc/dist/lib/converter/types/reference.js:48:47)
    at Converter.convertType (PROJDIR/node_modules/typedoc/dist/lib/converter/converter.js:133:38)

Steps to reproduce the bug

Minimal reproduction gist. To reproduce, install packages (I'm using yarn), and run typedoc with no arguments.
It looks like the root of this issue is the two-step recursive default for the Example default type argument (Example<ExampleParam> -> Example<Example>). Removing the type alias causes TS itself to error - leaving it in causes this loop in typedoc alone.
(The above is updated, original reproduction made use of @types/color, where I first encountered this issue. It, likewise, has the same construct shown in this reproduction.)
Environment

Typedoc version: 0.17.8
TypeScript version: 3.9.5
Node.js version: 12.18.0
OS: OSX 10.15.5

Recursive types are a pain. Fixed in 7fc721cd2333d70677837e97ca9ef4a3c134ab0e. I should be able to put a release together tomorrow.

Hi, this issue is marked as closed - but the code has never been released. I just started with TypeDoc and for whatever reason - it has this crash when I try to run it.
I was able to pull master and build lastest. But you really should release this fix - it is a bad sign for the health of this project.

"bad sign for the health of the project" - I work on TypeDoc when I have time on the weekends. Aside from occasional PRs from others, that's all it has... and is more than it had for quite a while. I think TypeDoc will be around for a while. If you need a project which is more enterprise grade, I recommend taking a look at api-extractor.
The fix is now released in 0.18.0.


[Event Request] Page 9249 "Analysis by Dimensions Matrix" - OnAfterSetDimFilters

Request a new event in function SetDimFilters in page 9249 "Analysis by Dimensions Matrix":
    local procedure SetDimFilters(var TheAnalysisViewEntry: Record "Analysis View Entry"; LineOrColumn: Option Line,Column)
    var
        DimCodeBuf: Record "Dimension Code Buffer";
        DimOption: Option "G/L Account",Period,"Business Unit","Dimension 1","Dimension 2","Dimension 3","Dimension 4","Cash Flow Account","Cash Flow Forecast";
    begin
        ...

        OnAfterSetDimFilters(TheAnalysisViewEntry, AnalysisView);    //NEW
    end;

    //NEW
    [IntegrationEvent(false, false)]
    local procedure OnAfterSetDimFilters(var TheAnalysisViewEntry: Record "Analysis View Entry"; AnalysisView: Record "Analysis View")
    begin
    end;

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. 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.


IvorySQL1.1 build failed under Windows11

Bug Report
Copying pg_config_os.h...
Generating configuration headers...
undefined symbol: PACKAGE_IVORYSQL_VERSION at src/include/pg_config.h line 795 at H:/VisualProject/vs2019/IvorySQL/IvorySQL-Ivory_REL_1_1/src/tools/msvc/Mkvcbuild.pm line 864.
IvorySQL Version
1.1
OS Version (uname -a)
Windows11
visual studio 2019
Configuration options  ( config.status --config )
H:\VisualProject\vs2019\IvorySQL\IvorySQL-Ivory_REL_1_1\src\tools\msvc>perl build.pl DEBUG
Current Behavior
Expected behavior/code
Step to reproduce
Additional context that can be helpful for identifying the problem

At present, no adaptation has been made on Windows. In the future, the community will arrange adaptation according to the actual situation
Thanks for your using!

Hi @BingAo-Office
Understand, thanks!


Feature/judge table date bug fix

Description
This issue takes care of rendering results for the date search in the Judges table.
Fixes # (issue)
Before the user was not able to render search results for the date.
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have removed unnecessary comments/console logs from my code
[ ] I have made corresponding changes to the documentation if necessary (optional)
[x] My changes generate no new warnings
[x] I have checked my code and corrected any misspellings
[x] No duplicate code left within changed files
[x] Size of pull request kept to a minimum
[x] Pull request description clearly describes changes made & motivations for said changes

test test


lima: 0.14.2 -> 0.15.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/lima-vm/lima/releases.
meta.description for lima is: Linux virtual machines (on macOS, in most cases)
meta.homepage for lima is: https://github.com/lima-vm/lima
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.15.0 with grep in /nix/store/0ycd956hc425r926ssvx3xy6n583dkcw-lima-0.15.0
found 0.15.0 in filename of file in /nix/store/0ycd956hc425r926ssvx3xy6n583dkcw-lima-0.15.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
colima
lima

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0ycd956hc425r926ssvx3xy6n583dkcw-lima-0.15.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A lima https://github.com/r-ryantm/nixpkgs/archive/40c00753e7943c2e157b4e14b2e82d312f003eae.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0ycd956hc425r926ssvx3xy6n583dkcw-lima-0.15.0
ls -la /nix/store/0ycd956hc425r926ssvx3xy6n583dkcw-lima-0.15.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

colima
lima

Maintainer pings
cc @voanhduy1512 for testing.

running install tests
FATA[0000] limactl is running under rosetta, please reinstall lima with native arch

WTF?


Add Southeast Asia Machine Learning School 2020

http://seamls.ai/
https://sites.google.com/view/seamls

Thanks for adding


Crouton froze and won't reopen.

name: Codebook
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/Codebook...
crouton: version 1-20181001133934~master:38012fdf
release: xenial
architecture: amd64
xmethod: xorg
targets: gnome
host: version 11021.56.0 (Official Build) stable-channel coral-unibuild (astronaut babymega babytiger blacktip blacktip360 blacktiplte blue bruce coral epaulette lava nasher nasher360 porbeagle rabbid robo robo360 santa whitetip)
kernel: Linux localhost 4.4.153-15155-g656ec00c3ce2 #1 SMP PREEMPT Mon Oct 22 23:46:19 PDT 2018 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Not unmounting /mnt/stateful_partition/crouton/chroots/Codebook as another instance is using it.

Please describe your issue:
I was working in my chroot, when suddenly it froze. After restarting my laptop and attempting to reopen the chroot, I am met with the following message:
chronos@localhost / $ sudo startgnome
Entering /mnt/stateful_partition/crouton/chroots/Codebook...

X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.0-128-generic x86_64 Ubuntu
Current Operating System: Linux localhost 4.4.153-15155-g656ec00c3ce2 #1 SMP PREEMPT Mon Oct 22 23:46:19 PDT 2018 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 3891200 verity payload=PARTUUID=2d261fc5-ff1f-2241-bd14-2ad6b38f3162/PARTNROFF=1 hashtree=PARTUUID=2d261fc5-ff1f-2241-bd14-2ad6b38f3162/PARTNROFF=1 hashstart=3891200 alg=sha1 root_hexdigest=58ff443dfece0622aa187ed7f08c1c7b173929ea salt=48c769d874fa0c01be0c2f6597b26e62438e3affc0147c46114af61d40511165" noinitrd vt.global_cursor_default=0 kern_guid=2d261fc5-ff1f-2241-bd14-2ad6b38f3162 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic disablevmx=off
Build Date: 10 August 2018  09:33:05AM
xorg-server 2:1.18.4-0ubuntu0.8 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.33.6
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.2.log", Time: Mon Nov 12 14:05:01 2018
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.LibCrosService was not provided by any .service files
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
Error executing command as another user: Not authorized

This incident has been reported.
crouton: version 1-20181001133934~master:38012fdf
release: xenial
architecture: amd64
xmethod: xorg
targets: gnome
host: version 11021.56.0 (Official Build) stable-channel coral-unibuild (astronaut babymega babytiger blacktip blacktip360 blacktiplte blue bruce coral epaulette lava nasher nasher360 porbeagle rabbid robo robo360 santa whitetip)
kernel: Linux localhost 4.4.153-15155-g656ec00c3ce2 #1 SMP PREEMPT Mon Oct 22 23:46:19 PDT 2018 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Another instance of croutontriggerd running, waiting...
xrandr: Output eDP1 is not disconnected but has no modes
xrandr: Output DP1 is not disconnected but has no modes
xrandr: Output DP2 is not disconnected but has no modes
Kicking xrandr again
xrandr: Output eDP1 is not disconnected but has no modes
xrandr: Output DP1 is not disconnected but has no modes
xrandr: Output DP2 is not disconnected but has no modes
Kicking xrandr again
(II) AIGLX: Suspending AIGLX clients for VT switch
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.LibCrosService was not provided by any .service files
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.LibCrosService was not provided by any .service files
(II) AIGLX: Suspending AIGLX clients for VT switch
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.LibCrosService was not provided by any .service files

The chroot boots into a black screen with a cursor, and nothing else. However, I can still use enter-chroot to communicate with the terminal. This is the second time this issue has occurred; the first time I just powerwashed the chromebook. However, I have a couple projects I am working on in my chroot, and have configured everything in a specific way, and I want to know if there is a way to fix this without resetting everything. I already updated the chroot and that didn't help anything.

@brycenaddison,
I've seen at least one other similar issue, it may just be happening with the latest Chrome OS update to M70 and the 'xorg' xmethod, not sure yet.
You could add the 'xiwi' xmethod and see if that helps, see this link for more details.
Hope this helps,
-DennisLfromGA

@brycenaddison,
I've seen at least one other similar issue, it may just be happening with the latest Chrome OS update to M70 and the 'xorg' xmethod, not sure yet.
You could add the 'xiwi' xmethod and see if that helps, see this link for more details.
Hope this helps,
-DennisLfromGA

Upon reading the issue you referenced, I have had the same issue with the distorted colors for a few months now (even before the first time my chroot broke), which I just got around by flipping the screen. I took your advice and installed xiwi using something along the lines of:
sudo sh ~/Downloads/crouton -t xiwi -u -n Codebook
This seemed to work correctly, and after a restart I ran:
sudo startgnome -X xiwi
Entering /mnt/stateful_partition/crouton/chroots/Codebook...

_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.0-128-generic x86_64 Ubuntu
Current Operating System: Linux localhost 4.4.153-15155-g656ec00c3ce2 #1 SMP PREEMPT Mon Oct 22 23:46:19 PDT 2018 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 3891200 verity payload=PARTUUID=2d261fc5-ff1f-2241-bd14-2ad6b38f3162/PARTNROFF=1 hashtree=PARTUUID=2d261fc5-ff1f-2241-bd14-2ad6b38f3162/PARTNROFF=1 hashstart=3891200 alg=sha1 root_hexdigest=58ff443dfece0622aa187ed7f08c1c7b173929ea salt=48c769d874fa0c01be0c2f6597b26e62438e3affc0147c46114af61d40511165" noinitrd vt.global_cursor_default=0 kern_guid=2d261fc5-ff1f-2241-bd14-2ad6b38f3162 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic disablevmx=off
Build Date: 10 August 2018  09:33:05AM
xorg-server 2:1.18.4-0ubuntu0.8 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.33.6
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Tue Nov 13 22:25:54 2018
(++) Using config file: "/etc/X11/xorg-dummy.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
/usr/bin/xinit: XFree86_VT property unexpectedly has 0 items instead of 1
crouton: version 1-20181001133934~master:38012fdf
release: xenial
architecture: amd64
xmethod: xiwi
targets: xiwi,gnome
host: version 11021.56.0 (Official Build) stable-channel coral-unibuild (astronaut babymega babytiger blacktip blacktip360 blacktiplte blue bruce coral epaulette lava nasher nasher360 porbeagle rabbid robo robo360 santa whitetip)
kernel: Linux localhost 4.4.153-15155-g656ec00c3ce2 #1 SMP PREEMPT Mon Oct 22 23:46:19 PDT 2018 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Timeout waiting for extension to connect.
Error: not connected.
Cannot connect to extension, retrying...
Unable to start display, make sure the crouton extension is installed
and enabled, and up to date. (download from https://goo.gl/OVQOEt)
Running exit commands...
/usr/bin/xinit: connection to X server lost

waiting for X server to shut down Hangup
Hangup
(II) Server terminated successfully (0). Closing log file.

Unmounting /mnt/stateful_partition/crouton/chroots/Codebook...
Sending SIGTERM to processes under /mnt/stateful_partition/crouton/chroots/Codebook...

I installed the crouton extension after this, then ran the code again:
chronos@localhost / $ sudo startgnome -t xiwi
Entering /mnt/stateful_partition/crouton/chroots/Codebook...

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.0-128-generic x86_64 Ubuntu
Current Operating System: Linux localhost 4.4.153-15155-g656ec00c3ce2 #1 SMP PREEMPT Mon Oct 22 23:46:19 PDT 2018 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 3891200 verity payload=PARTUUID=2d261fc5-ff1f-2241-bd14-2ad6b38f3162/PARTNROFF=1 hashtree=PARTUUID=2d261fc5-ff1f-2241-bd14-2ad6b38f3162/PARTNROFF=1 hashstart=3891200 alg=sha1 root_hexdigest=58ff443dfece0622aa187ed7f08c1c7b173929ea salt=48c769d874fa0c01be0c2f6597b26e62438e3affc0147c46114af61d40511165" noinitrd vt.global_cursor_default=0 kern_guid=2d261fc5-ff1f-2241-bd14-2ad6b38f3162 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic disablevmx=off
Build Date: 10 August 2018  09:33:05AM
xorg-server 2:1.18.4-0ubuntu0.8 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.33.6
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Tue Nov 13 22:36:53 2018
(++) Using config file: "/etc/X11/xorg-dummy.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
/usr/bin/xinit: XFree86_VT property unexpectedly has 0 items instead of 1
crouton: version 1-20181001133934~master:38012fdf
release: xenial
architecture: amd64
xmethod: xiwi
targets: xiwi,gnome
host: version 11021.56.0 (Official Build) stable-channel coral-unibuild (astronaut babymega babytiger blacktip blacktip360 blacktiplte blue bruce coral epaulette lava nasher nasher360 porbeagle rabbid robo robo360 santa whitetip)
kernel: Linux localhost 4.4.153-15155-g656ec00c3ce2 #1 SMP PREEMPT Mon Oct 22 23:46:19 PDT 2018 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Connected to extension, launched crouton in a window.

I am still getting the same issue with the black screen and cursor, albeit in its own window now. This didn't seem to fix the problem; is there anything else that you suggest might fix it?

I sometimes get a plain black screen, never noticed a cursor.
My workaround has been to hit the 'full screen' key to toggle it on/off and it magically appears.
I don't know if that's what you're experiencing but it might be worth a try.
Hope this helps,
-DennisLfromGA

I sometimes get a plain black screen, never noticed a cursor.
My workaround has been to hit the 'full screen' key to toggle it on/off and it magically appears.
I don't know if that's what you're experiencing but it might be worth a try.
Hope this helps,
-DennisLfromGA

Still don't get anything, I'm not really sure what the issue is either.


feat: Animation Mode in Preview

Partially Fixes: #152 (Animation is Checked in the Task List)
Changes:

countFrame, lastFrame now further divide the animation into two more steps.
So we look for not similar frames and update the lastFrame accordingly.
The Animation is now divided into further 3 parts:

First Phase countFrame < (badgeWidth / 2)
Second Phase countFrame < (badgeWidth / 2) & countFrame >  3*(badgeWidth / 2)
Third Phase countFrame > 3*(badgeWidth / 2)

Next we check the lines and the rows lying in that range and we get the desired animation

Screenshots for the change:

@yashk2000 @yatri1609 @anhanh11001 Please Review

@anhanh11001 I like the way you optimized the code, please take a look if you can cotribute

For naming, I normally avoid making variables' names that contain number like line1, line2. I would do something like firstLine, secondLine.
There is a part of condition looking like this:
when {
countFrame < (badgeWidth / 2) || countFrame > (3 * (badgeWidth / 2)) -> j == line1 || j == line2
else -> false
}

you can make it a boolean variable with a name like checkSomething, it would make the whole condition shorter and more readable in my opinion

@anhanh11001 Great, Let me make those changes

@iamareebjamal Please review

@iamareebjamal Please Have a look

@iamareebjamal Fixed


[DRAFT] LLAMA_CPP plugin - basic version with direct file loading

Will currently only work with OV from https://github.com/vshampor/openvino/tree/llama_cpp_mod
TBA: Github Actions CI, code style, README

Can we have a README file that explains how to build and setup the plugin, prepare the model and run inference?

@vshampor, can you please try two subsequent text generations (with two prompts). I faced problems on my end and the reason can be in the KV-cache reset.

@vshampor, can you please try two subsequent text generations (with two prompts). I faced problems on my end and the reason can be in the KV-cache reset.

I checked differently and it seems like it works but I am getting errors in another workflow (w/ llm_bench) but maybe it is my problem.

I've verified the plugin with the appropriate version of OpenVINO. It works well after applying major comments. Let's go and merge it.

We need to make CI green before merge


[INLONG-2376] add sdk-common module for supporting new protocol format based on Protobuffer protocol.

Title Name: [INLONG-2376][Inlong-sdk] add sdk-common module for supporting new protocol format based on Protobuffer protocol.
Fixes #2376
Motivation
Explain here the context, and why you're making that change. What is the problem you're trying to solve.
Modifications
Describe the modifications you've done.
Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

Codecov Report

Merging #2392 (492a170) into master (5f10eda) will increase coverage by 0.05%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #2392      +/-   ##
============================================
+ Coverage     12.49%   12.54%   +0.05%
- Complexity     1212     1218       +6
============================================
  Files           420      420
  Lines         36240    36240
  Branches       5670     5670
============================================
+ Hits           4527     4546      +19
+ Misses        30914    30886      -28
- Partials        799      808       +9

Impacted Files
Coverage Δ

.../producer/qltystats/DefaultBrokerRcvQltyStats.java
45.70% <0.00%> (+0.39%)
:arrow_up:

.../tubemq/corebase/policies/FlowCtrlRuleHandler.java
34.07% <0.00%> (+1.10%)
:arrow_up:

.../inlong/tubemq/corebase/policies/FlowCtrlItem.java
38.88% <0.00%> (+2.22%)
:arrow_up:

...ong/tubemq/manager/service/ClusterServiceImpl.java
52.94% <0.00%> (+2.94%)
:arrow_up:

...inlong/tubemq/manager/service/TaskServiceImpl.java
8.53% <0.00%> (+4.87%)
:arrow_up:

...nlong/tubemq/corebase/policies/FlowCtrlResult.java
60.00% <0.00%> (+60.00%)
:arrow_up:

Continue to review full report at Codecov.

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

lgtm


Incognito mode

You do not need to clear cookies, simply enter the site in incognito mode (added this notice below "Testing")

👍


🚀 Release  1.5.0

:robot: I have created a release beep boop
1.5.0 (2022-05-08)
✨ Features

add loading state to button component (#159) (78f373a)
create CODE_OF_CONDUCT.md (07ff282)
input validation message area (#161) (5367cdd)

👷 Maintenance

add features to homepage (215bee7)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/carlosdevpereira/mr-components/releases/tag/v1.5.0 :sunflower:


query param starts with $ tries string interpolation

// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint, unused_import

import 'package:freezed_annotation/freezed_annotation.dart';

import 'child.dart';

part 'adult.freezed.dart';
part 'adult.g.dart';

/// A representation of an adult
@Freezed()
class Adult with _$Adult {
  const factory Adult({
    /// Incorrect name has been replaced. Original name: `$_type`.
    @JsonKey(name: '$_type') // <<< Tries to find a variable _type
    String? object0,
    String? lastName,
    String? firstName,
    List<Child>? children,
  }) = _Adult;

  factory Adult.fromJson(Map<String, Object?> json) => _$AdultFromJson(json);
}

Fixed by #198


[BUG] Rule ESCU - Windows Vulnerable Driver Loaded - Rule fails to run

The rule ESCU - Windows Vulnerable Driver Loaded - Rule fails to run with the following error:

Already planning to be fixed as discussed with @ljstella.


Just got this email today from Blink (question)

Any idea if this will have an impact on the plugin?
Update: SMS Two-Step Verification
Your privacy and security is important to us. For added account security, we have released 2-Step Verification (2SV) support using text message or phone call issued verification codes with the latest Blink Home Monitor app versions (Android 6.2.6 and iOS 6.1.5). To take advantage of this feature, enter a valid phone number under Manage Account in your Blink Home Monitor app. In the coming weeks, Blink customers will be prompted to set up 2SV using a valid phone number.

Was just about to post about this, doesn’t seem like it should be an issue. But as with everything blink do, it will probably break something.

Just added the necessary fix for it. It's mostly transparent, but they did accompany this with a v5 api bump for auth.

Great, thanks @colinbendell for the necessary fix.
Highly appreciated!

Thank you very much for the updates Colin. Do you mind publishing it to npmjs as well so it is easies to update. thx!!

This is included in v3.7