Drop 'federation' from cluster admin concepts

Almost all links on the federation page are gone. Federation related
contents should be cleanly removed.

@tengqm, how do you feel about linking the drop to the v1.18 release?
It's just a thought but I quite like the idea that the “clean break” happens at the release time. It's a bit like the principle of least surprise. If someone has been relying on Federation v1 then seeing the pages disappear on release day lets them go back a version to find them.
This is a soft suggestion, I don't have strong feelings.
@kubernetes/sig-docs-en-owners, @VineethReddy02 : thoughts?
Also Cc: @iheanyi1

@sftim I was not closely monitoring the 1.18 release (roadmap, conflict, ...) due to bandwidth . I am okay with either way.

@tengqm, how do you feel about linking the drop to the v1.18 release?

For the most part, I think this is a good way to handle deprecating content (alongside a release). Since part of the Federation content has been removed, I think it makes sense to go ahead and finish the clean up now.

/approve


Add Security Concerns

Adding 3rd Party Javascript is always a bit of a security concern. You have to really trust that they are implementing best practices and being incredibly diligent in maintaining it.
I would be surprised if most widget companies are that committed to either privacy or security.
I suspect this isn't the only violation:
https://www.govtech.com/security/Cryptojackers-Hit-Government-Websites-A-New-Flavor-of-Hacking-Courtesy-of-Third-Party-Code.html
I bet there are examples where more than users CPU cycles were being taken.

@mgifford can you provide some suggested wording for this?

How about something like this:

Adding 3rd party JavaScript libraries to your page always adds additional security risks, reduces page performance and increases the CO2 produced to load the page. Any additional JavaScript files should be added to your page only after careful consideration.

I wondered off beyond just security, but think it drives the point home.


Azure Blob Storage URL is incomplete

Describe the bug
I don't thing the URL to the Azure Blob Storage site is complete, and I don't see it listed anywhere else on the site.

Hello @OKArc ,
the storage account URL https://dashboardversion.blob.core.windows.net/ does exist. You can navigate there using your browser. adding @amitmag-ms to see if there was a change in the Storage Account configuration, though.

Hello @OKArc,
I just updated the README file.
The blob storage authentication step is not needed, please skip it.

Closing this issue as a solution was provided.


Distort and Wobble material constructor problem

Hi,
I discovered a bug that should be a quick fix.  In the main MeshWobbleMaterial example (link: https://codesandbox.io/s/r3f-sky-g5373), with versions past 0.0.67 the following error occurs:
Class constructor WobbleMaterialImpl cannot be invoked without 'new'
This error can be easily reproduced in that codesandbox by switching drei to version 0.0.68
I believe this is probably caused by a change in the constructor when MeshDistortMaterial was added as that has the same error and I think was possibly added at that version.
Thanks and let me know if you need any more info.

I'm running into the same issue.
See https://codesandbox.io/s/bold-http-i0lmf?file=/src/App.js

@acolbourn
It seems to be an issue that only occurs when using these materials in combination with the <Text /> component.
https://codesandbox.io/s/r3f-drei-meshwobblematerial-forked-2r443?file=/src/App.js
This is running 1.2.0 and by removing the material from <Text />, we still have the wobble when clicking on the <Donut /> or <Image />.

Possibly related: https://github.com/react-spring/drei/pull/20

This appears to be a shortcoming of how troika-three-text extends the material; it assumes the base material's class was a classic JS constructor function, not a ES2015 class.
I've created https://github.com/protectwise/troika/issues/79 to see if I can fix this on my side.

This should be fixed by the dependency update in #150

this is fixed as of<EMAIL_ADDRESS>this issue can be closed

Awesome, thank you!


[Add a Play]: An E-commerce store for a furniture company

Thank You!
What's the Play about?
An E-commerce store for a furniture company
What ReactJS concept will be used to create this play?
React hooks and React router
Are you willing to take it up for implementation?
Yes

Can you update me on the progress of this particular issue?


Secure Cell support in WasmThemis

Provide Secure Cell interface in WasmThemis. It is similar to the interface of JsThemis.
I don't really like the amount of code duplication for data transfer back and forth from Emscripten, but I wasn't able to reduce it much by introducing utility functions to abstract out Secure Cell calls, helper classes like FFIBuffer to manage the data transfer, etc. If you have any ideas I'm all ears, but for now I guess let's keep it dumb and straightforward. Maybe some patterns will emerge when we've got all the API covered.

Correctly report error codes
Move 'coerceToBytes' into utility module
Secure Cell: Seal mode
Secure Cell: Context Imprint mode
Secure Cell: Token Protect mode

(More details in individual commit messages.)

Prerequisites have been merged, this PR is ready for review as well.

upd: this thing is on hold, until we continue it :)

Okay... It seems that we're resuming work on WasmThemis.
Are there any pending decisions on this PR?

I thought we wait when other components will be ported to wasm to merge it as complete themis port
now it's only secure cell part without message/comparator/session
@vixentael , what about to merge it to separate branch and merge into master when we will finish all parts? or we should carefully document it on docserver and warn that wasm-themis support only secure cell.

I have other cryptosystems more or less ready for review too, but that's a lot of boilerplate code for a single PR. I think it will be better to split them into multiple PRs.

I believe that zeroization of Emscripten memory should be added to other WasmThemis PRs as well. I'll add it in a separate PR across all the code.

There are quite a few special types that I'd like to test for type safety:

null
undefined
strings
various arrays that are not strictly byte arrays
futures/promises
arbitrary objects

So I guess I'll add these checks in a separate pull request once all cryptosystems are in place. This will make it easier to avoid merge conflicts and will allow usage of utility functions to avoid code duplication.


time_restriction support to team_routing_rule

what

Adds Time_Restriction to team_routing_rule

why

Follow the sun model requires this

references

Github Issue #282

/test all

/test all


cannot import name 'default_termination' from 'pymoo.optimize'

Hi,
I got this error while trying to import default_termination.
And I tried pymoo=0.3.0 and the 0.6.0.* , but all failed.
Updated: this issue is related to pysamoo==0.1.1 and pysamoo of this version will require pymoo-0.6.0 to be installed in my docker image (official image: jupyterhub:3) where python is of version 3.10.
Could you give me any suggestion?

Unfortunately, I have never found the time to update pysamoo to the newest pymoo version.
Can you please try with Python 3.9 and pymoo version (pip install pymoo==0.6.0.dev0) and see if that works for you?

thank you for the reply.
It seems OK without error for 'default_termination'. python==3.9.17 and pymoo==0.6.0.dev0
Previously the error came from this line:
from pysamoo.algorithms.gpsaf import GPSAF

and now I got another error, see this #470 .
I close this issue since this importing error is solved.


Annoucing Dear ImGui Bundle including imspinner and many others; with support for C++, Python and emscripten

I'm happy to announce the first public release of Dear ImGui Bundle. Dear ImGui Bundle is a bundle for Dear ImGui, including many powerful libraries from its ecosystem. It enables to easily create ImGui applications in C++ and Python, under Windows, macOS, Linux, emscripten. It is aimed at application developers, researchers, and beginner developers who want to quickly get started.
imspinner is a included in the widgets provided with it.

Dear ImGui Bundle repo
Fully interactive online manual
Specific annoucement for imspinner integration

@dalerank: sorry to hijack the issues list for this, and feel to close this issue; as this is just for your information.  I informed @ocornut yesterday, and I plan to communicate about it in the ImGui gallery in the next hours.

Fine knobs, took it for pet project


Update botocore definition versions

Some botocore services (e.g. ec2) have had their service definitions updated. We should update the build.rs to point to the latest versions.

I'd recommend we upgrade to the latest available botocore version available first.  Steps are documented in the codegen readme.
Warning: previous updates required code changes.  See https://github.com/rusoto/rusoto/pull/384 for an example.

Given that upgrades to the latest versions of botocore often require code changes to keep up with the changing service definitions, I don't think we should have build.rs automatically check out the latest version.
Perhaps part of doing a release should be updating the submodule to the latest version and ensuring that whatever needs to be done to compile it is done?


Missing a step to come to authentication method

Here a screenshot when you go to active directory and the is no option Authentication method, you have to select Security.

And now you can select Authentication Method.

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

Change hasn't rolled out to all directories but security is a non-clickable item in current format so this isn't a huge issue.

#sign-off


Incorrect response on SELECT commands with unknown AID

Once the applet is selected, it receives any subsequent commands, including further select commands.
For unknown / non-FIDO AIDs it should respond with 6a 82 File not found response code instead of 90 00(success).
Rationale, we scan cards for installed applets by pinging each known AID. If the FIDO app is not properly rejecting unknown AIDs, it appears to the reader as if a subsequently pinged app is installed, despite it not being installed.

Fixed. Thanks, as always.

Hi @BryanJacobs ,
Maybe I'm misunderstanding GlobalPlatform here, but was this change actually necessary/correct?
SELECT commands are always handled by the OPEN, not the currently active application (section <IP_ADDRESS> in GlobalPlatform v.2.3.1). Therefore, compliant cards should never send a subsequent selection command to this application, and the check should be redundant.
The problem is that, combined with the follow-up commit 8a7e18a79c2170b4259f4c4773187c1b38d6815d which hardcodes the expected AID, it now also breaks all scenarios where the AID does not exactly match the canonical FIDO2 one.
One use case for that is creating multiple instances on the same card, using that prefix and incrementing subsequent suffixes such as 001, 002 etc., which is a nice way of having multiple instances of the same (or a different) FIDO implementation on the same card, with all but one in the LOCKED state and the desired one selectively unlocked.
@StarGate01 are you aware of a GlobalPlatform/Java Card implementation that actually does forward subsequent SELECT commands to the active application, contrary to the GlobalPlatform spec? And even if there is one – wouldn't that mean that your logic

we scan cards for installed applets by pinging each known AID

would now be broken the other way around, since you're essentially replacing a false positive (via the FIDO application potentially falsely/incorrectly claiming to be another application via a 9000 response to a subsequent SELECT) with a false negative (i.e. the FIDO application claiming to not be any other application, which would make your reader think that the other application is not installed, while it might well be)?
As an example, consider this application being installed as A001, and another one as A002: If you issue a SELECT A001, and then a SELECT A002, under your theory (the currently selected application gets to process subsequent SELECT commands), the applet would now return "no such file", and you'd believe there is no A002 installed, while you would be able to correctly select A002 as long as you do so before selecting A001.
Under my theory, the order actually does not matter, and the card/OPEN always processes SELECT commands and responds to/routes them accordingly. I unfortunately currently don't have the resources to test this myself.
Thank you!

@lxgr

are you aware of a GlobalPlatform/Java Card implementation that actually does forward subsequent SELECT commands to the active application, contrary to the GlobalPlatform spec?

I cannot comment on the GP spec as I have not read it in its entirety, however the chips I work with (NXP P71D321 JCOP4) exhibit this behaviour, where subsequent SELECT commands are passed to the currently selected applet, but if and ONLY if the to-be-selected AID does not exists on the chip.

a false negative

This is prevented by this mechanism. The targeted AID is actually installed, it is selected by the OPEN, instead of erroring out in the FIDO applet.
I am not quite happy with the way the AID is hardcoded, I have voiced my thoughts in #33 . However right now I don't see a real-world impact of this issue.

Ah, I see, so it basically only happens when the "OPEN-side" SELECT fails. Thank you for confirming!
It seems like that's actually required by the specification:

If no full or partial match is found at all, the currently selected Application on the Basic Logical Channel
shall remain the selected Application and [...] If the SELECT [by name] command has the [first or only occurrence] parameter set, the SELECT command is dispatched to the Application.

Seems like a weird quirk of the spec, and I can see how this could get confusing when enumerating applications without resetting the card/logical channel in between.
I also do share your concerns in #33 and will comment there. Thanks again!

"Theory is fine in theory, but practice is better in practice".
I don't want to reopen a real-world bug to better match a theoretical specification.
But I don't feel super strongly about suffixing the AID. I've pushed v2.0.5, which allows suffixed AIDs. You have a use case for them; enjoy. I haven't bothered adding the ability to fully customize the AID, but that should still suffice for testing.

Thank you, appreciate it! Haven’t tested it yet but suffixes should do just fine.


THEY WANT STEAL UR ACCOUNT!!!
   I made a not pixel script just using query_id. i never ask for phone numbers and their otp🤣..
 I made a not pixel script just using query_id. i never ask for phone numbers and their otp🤣..


using only setTranslation

I didn't want to spam the other issue, but it's a continuation of this.
https://stackblitz.com/edit/angular-tuqsp2?file=src/translations/translations.module.ts
What I'm trying to do:

to have TranslationModule, to be imported in root module (AppModule), this module should
a. do transloco provider configuration
b. use translocoService.setTranslation() to set common translations, under common scope, doing:

  this._translocoService.setTranslation({
    common: {
      common: 'This is common'
    }
  }, 'en', { merge: true });

c. export TranslocoModule for transloco components used inside AppComponent template

to have TranslationModule, to be imported inside the lazy loaded <Feature>Module, this should
a. use translocoService.setTranslation() to merge <feature> translation object, doing

  this._translocoService.setTranslation({
    <feature>: {
      lazy: 'This is lazy loaded'
    }
  }, 'en', { merge: true });

c. export TranslocoModule for transloco components used inside Component template
Now first this that happens is that I do not want to use http to load translation files at all, but if I dont't provide TRANSLOCO_LOADER, I get

NullInjectorError: No provider for InjectionToken TRANSLOCO_LOADER!

so to satisfy it, I use
@Injectable({ providedIn: 'root' })
export class TempTranslationLoader implements TranslocoLoader {
  getTranslation(langPath: string) {
    return of({});
  }
}

what happens is this

🍻 Translation Load Success: en
Missing translation for 'common.ok' 🤔🕵🏻♀
Missing translation for 'foo' 🤔🕵🏻♀
Missing translation for 'common.confirm' 🤔🕵🏻♀
Missing translation for 'foo' 🤔🕵🏻♀

so the common translations (neither nested, nor in root) do not work, but the lazy loaded does
I tried putting the setTranslation on various places, didn't work, neither did using setTimeouts..
@NetanelBasal @shaharkazaz

Hi, @fxck I believe the reason it didn't work for you is that you use setTranslation before the language is loaded:
I added this to the constructor and it works well:
this._translocoService.events$.subscribe((e) => {
      if(e.type === 'translationLoadSuccess' && e.payload.lang === 'en') {
        this._translocoService.setTranslation({
          common: {
            ok: 'Ok',
            confirm: 'Confirm'
          }
        }, 'en', { merge: true });

      }
    })

Guess it boils down to making the loader optional then? Language could be loaded / registered by the first setTranslation with given language, maybe?

@fxck I believe you are correct, making the loader is something we can think about @NetanelBasal what do you think?
But I think for now you can implement a basic loader and use scopes as you need when #33 is merged.
Check out this #24 discussion and see if the PR will you with your issue.

Check out this #24 discussion and see if the PR will you with your issue.

I think of the way I described as of an alternative to letting the library asynchronously load translation files and do the scoping for me. So even after #33 is merged I'd rather do it this way..
The only main con (for my use case anyway) is that I'm bundling all languages with the module, instead of only loading the one needed, but the pro is not having to deal with another loading state,  having those translations inside the feature folder, rather than having them in assets and to be able to easily use backticks and comments, given that we do not support many languages and that the app is split quite vigorously into lazy loaded modules I don't think the file size will be much of a problem.
Also I think you get to do this https://dev.to/andreasbergqvist/typescript-get-types-from-data-using-typeof-4b9c and thus getting types for free (haven't yet tried, but it should work in theory)

@fxck Sounds legit to me. No worries, we'll add it this week.

@fxck I was wondering, how do you handle language changes in your project?
Based on your example the language seems static.

It's an app, url stays the same, so on the fly as soon as users saves his settings, without reloading.

That setTranslation in translation modules is repeated for each language.

What I'm thinking about doing is something like this

// base language
const en = { title: 'Title' };

// get types so no keys would be lost in other translations
export type Types = typeof en;

const cs: Types = { title: 'Titulek' };
const pl: Types = { title: 'Polish title' };

export class SomeTranslationModule {
  constructor (private _myTranslationService: MyTranslationService) {
    this._myTranslationService.setTranslations({ en, cs, pl });
  }
}

I guess Types could also be used for typesafe translation keys directly in the template with something like..
// if selectTranslate supported generic type
translations$ = this.service.selectTranslate<Types>('uniqueKey');

<ng-container *ngFor="let t of [translations$ | async]">
  {{ t?.title }}
</ng-container>

..instead of using the transloco structural directive (that *ngFor explained here). Not the most convenient but yeah.

@fxck So if I understand correctly, you are preloading every language to the bundle? did I understand correctly?

Yep. My reasoning behind it is described here https://github.com/ngneat/transloco/issues/38#issuecomment-524983909

Available in 1.5.0


 However, localgit status name works when the folder name is correct. Either remove the directory option or fix.

<dirs>  supported with flag -r.


Add .vgm useless write optimizer

Write a library that takes in Game Boy .vgm and optimizes .vgm so that duplicate/useless writes are removed.
Example: Arp macro with same tone for multiple frames (scheme: 12, 12, 12 12, 0)

Optimise these nuts


Published crates with binaries should contain Cargo.lock

As it's seen as a good and recommended practice to track Cargo.lock in git for binaries, it's a little awkward not to dist them during cargo publish.
Is that intentional or was it just forgotten?

I believe this is a duplicate of https://github.com/rust-lang/cargo/issues/2263, but thanks for the report!


.irom0.literal segment not linked properly

The IROM macro causes a data definition to be placed in the .irom0.literal segment, however there's nothing anywhere in the linker scripts to cause .irom0.literal (or any other .irom/.irom0 segment that's not part of the sdklibs) to actually be linked into the final binary.
This results in very bad/confusing things if you actually use the IROM macro anywhere in your code..

Sorry again about that one. Merged with comment in #36.


Feature Request: tail output of deis run

I see that when running on off command with deis-run that the output is not streamed. It would be great if it were.

related: #117
this is due to a limitation of WSGI; it cannot handle long-running responses so we just dump the output at the end of the run operation. With support for long-running requests by hooking into something like gevent, we should be able to support tailing the output of the ssh tunnel in the response.
Another idea is to attach the run to deis-logger and expose a session in the response, similar to heroku's logplex tail API: https://github.com/heroku/logplex/blob/master/doc/logplex-tail.png. From there, the client can read the URL and connect to the session.

Is this a limitation of Python? Have you looked at Go for components related to keeping a long running open socket? IMHO This is something that Go thrives at.

Is this a limitation of Python?

Lack of support for long-running requests is a limitation of WSGI, not necessarily a limitation of Python itself. :)

Have you looked at Go for components related to keeping a long running open socket?

Disclaimer: all thoughts laid out here are my own opinion
That's why the logger's built in Go! Go's great for low-level systems programming such as a log server, but it sucks for handling API requests, authn/authz integrations, serialization/de-serialization of web requests, crafting responses, database interactions, etc. Django excels at all those points. It's a kickass web framework for crafting APIs. There's just no equivalent of Django in Go that meets our needs, and rightfully so, because Go was never meant to solve that problem domain. :)
There are evented solutions like python-twisted, gunicorn or raw gevent which can address this specific issue in the controller, but the more maintainable and extendable solution would be to roll out logging to a component which is built to host and serve logs, and just let the controller hand off the work to that component. This is the micro-services architecture in play. This way we can knock off more features by recycling the same endpoints while keeping the scope of the controller focused and the line count low. For example, deis logs -f has been a long-running feature request which can take advantage of a sessions API from the logger!
The thought of pivoting 2 years of code over from Python to Go scares me. I can only expect it to be fraught with compatibility issues and limitations which we've come to rely on. :fearful:

@bacongobbler agree to disagree I guess. I have experience building great API's in go. For building an app with a UI component I would agree. But serialization/deserialization of data. Not difficult in go at all. This is coming from a veteran ruby/rails developer. And in the past I made your same argument. That is until I spent the time learning and getting to know go for apis. All in all I write and structure my go like a rails app. Routes, models, controllers the works. Its faster and it has wicked support for things like streaming. Next time you are in Boulder/Denver, I will buy you a beer and we can talk about it more :-).

@jwaldrip I think #117 is effectively the same solution as this one. For our sanity, we're going to close this one in favor of that issue. Let's continue the conversation there - thanks!


Rename default playbook?

I feel like in the context of a repo dedicated to openshift-applier, the name of the default playbook we use playbooks/openshift-cluster-seed.yml is awkward. I think we need to come up with a new convention for the playbooks/ folder, allowing for shorter names and multiple playbooks of various flavors.
To that, I would propose the following change:
mv playbooks/openshift-cluster-seed.yml playbooks/simple.yml
sed -i 's/hosts: seed-hosts/hosts: applier-hosts/' playbooks/simple.yml

I'm ok with finding a new name for the "default playbook" (and v2.x is good timing for this), but not sure simple is the best name for it. I don't have a better suggestion as-is, but I'll think about something.


Add ability to enter API URLs in the app

Describe the bug
The ML APIs (STT, QA, TTS) running in Colab are currently dynamic and change on each rerun. We need a way to specify the URLs in the app itself at this stage
Expected behavior
User can specify an API endpoint for each ML API

this is a duplicate of https://github.com/nsmq-ai/nsmqai/issues/36 so closing


OCM-6858 | Add validator for node drain grace period in interactive mode

Add validator to check the value of the node drain grace period in interactive mode.

Thanks @robpblake for the review. Updated MR based on comments. Thanks.


[config] autogenerated config file by configure.ac has no header guard

Describe the bug
The auto-generated header file openthread-config-generic.h has no header guard.
To Reproduce

run bootstrap && make -f examples/Makefile-simulation
check header build/x86_64-unknown-linux-gnu/include/openthread-config-generic.h, it has no header guard.

Expected behavior
The auto-generated header file openthread-config-generic.h has header guard.
Console/log output
Additional context

Closing stale issue. Transition to CMake/Ninja should will avoid this issue.


Support for multiple bubbles showing in one set?

Hi, i have a requirement where i would like to show two instances of the BubbleShowCase on one activity with two buttons. I have had to call removeView on the parent for the showcase to show at all, but i believe it is failing when trying to set a second one. Is there a way this can be done?
Thanks

Hi david-serrano,
To show two instances of BubbleShowCase, you can use BubbleShowCaseSequence.
BubbleShowCaseSequence()
                .addShowCase(firstShowCaseBuilder) //First BubbleShowCase to show
                .addShowCase(secondShowCaseBuilder) // This one will be showed when firstShowCase is dismissed
                .show() //Display the ShowCaseSequence

NOTE: Don't call .show() on each BubbleShowCaseBuilder. You just need to add the desired params into them. You have to call .show() only in the BubbleShowCaseSequence.
You can also check the sample app where an example of BubbleShowCaseSequence is provided. :)

Hi Jorge,
Perhaps i didnt make my question clear enough, what im asking is if the library is able to display two BubbleShowCases at the same time. Please see the attached screenshot for extra info.

Hi david-serrano,
Yeah! Now I understand what you mean. Show two or more BubbleShowCase at the same time is not possible with this version and it will not be added in the short term. Sorry :/


Incompatible scalaz-stream dependency in 0.7.0

After upgrading to 0.7.0, I have warnings from SBT saying that there is a dependency on scalaz-stream 0.6a, which is being evicted by another dependency on 0.7a.
The problem is apparently caused by the chain of http4s-argonaut (0.7.0) -> http4s-jawn (0.7.0) -> jawn-streamz (0.3.1). jawn-streamz hasn't been updated in maven central since Dec 2014.
The project seems to build and run fine, but the warning appears during every compile, so I'd like to clean it up. Am I doing something wrong, or does the dependency need to be fixed in http4s?
build.sbt:
val http4sVersion     = "0.7.0"

libraryDependencies ++= Seq(
  "org.http4s"        %% "http4s-dsl"                % http4sVersion     % "compile, test",
  "org.http4s"        %% "http4s-argonaut"           % http4sVersion     % "compile, test",
  "org.http4s"        %% "http4s-jetty"              % http4sVersion     % "compile, test",

console:
> compile
[info] Updating {file:/Users/moss/slamdata/ws4/}web...
[info] Resolving jline#jline;2.12.1 ...
[info] Done updating.
[warn] There may be incompatibilities among your library dependencies.
[warn] Here are some of the libraries that were evicted:
[warn] 	* org.scalaz.stream:scalaz-stream_2.11:0.6a -> 0.7a
[warn] Run 'evicted' to see detailed eviction warnings
...
> evicted
[info] Updating {file:/Users/moss/slamdata/ws4/}core...
[info] Resolving jline#jline;2.12.1 ...
[info] Done updating.
[info] Updating {file:/Users/moss/slamdata/ws4/}web...
[info] Resolving jline#jline;2.12.1 ...
[info] Done updating.
[warn] There may be incompatibilities among your library dependencies.
[warn] Here are some of the libraries that were evicted:
[warn] 	* org.scalaz.stream:scalaz-stream_2.11:0.6a -> 0.7a (caller: web:web_2.11:2.0.0-SNAPSHOT, org.http4s:jawn-streamz_2.11:0.3.1, core:core_2.11:2.0.0-SNAPSHOT, org.http4s:http4s-core_2.11:0.7.0)
[warn] 	* org.eclipse.jetty:jetty-server:9.2.2.v20140723 -> 9.2.10.v20150310 (caller: org.eclipse.jetty:jetty-security:9.2.10.v20150310, io.dropwizard.metrics:metrics-jetty9:3.1.1)
[warn] 	* org.eclipse.jetty:jetty-io:9.2.2.v20140723 -> 9.2.10.v20150310 (caller: org.eclipse.jetty:jetty-server:9.2.2.v20140723, org.eclipse.jetty:jetty-server:9.2.10.v20150310)
[warn] 	* org.eclipse.jetty:jetty-http:9.2.2.v20140723 -> 9.2.10.v20150310 (caller: org.eclipse.jetty:jetty-server:9.2.2.v20140723, org.eclipse.jetty:jetty-server:9.2.10.v20150310)
[warn] 	* org.eclipse.jetty:jetty-util:9.2.2.v20140723 -> 9.2.10.v20150310 (caller: org.eclipse.jetty:jetty-io:9.2.2.v20140723, org.eclipse.jetty:jetty-io:9.2.10.v20150310, org.eclipse.jetty:jetty-http:9.2.2.v20140723, org.eclipse.jetty:jetty-http:9.2.10.v20150310)
[warn] 	* com.chuusai:shapeless_2.11:2.0.0 -> 2.1.0 (caller: org.parboiled:parboiled_2.11:2.1.0, com.github.julien-truffaut:monocle-generic_2.11:1.1.1)
[warn] 	* org.scalacheck:scalacheck_2.11:1.11.4 -> 1.12.2 (caller: org.scalaz:scalaz-scalacheck-binding_2.11:7.1.2, com.github.julien-truffaut:monocle-law_2.11:1.1.1)
[success] Total time: 1 s, completed May 13, 2015 10:28:16 AM
> what-depends-on org.scalaz.stream scalaz-stream_2.11 0.6a
[info] org.scalaz.stream:scalaz-stream_2.11:0.6a (evicted by: 0.7a)
[info]   +-org.http4s:jawn-streamz_2.11:0.3.1
[info]     +-org.http4s:http4s-jawn_2.11:0.7.0
[info]       +-org.http4s:http4s-argonaut_2.11:0.7.0
[info]         +-web:web_2.11:2.0.0-SNAPSHOT
...
> what-depends-on org.scalaz.stream scalaz-stream_2.11 0.7a
[info] org.scalaz.stream:scalaz-stream_2.11:0.7a
...
[info]   +-org.http4s:http4s-core_2.11:0.7.0
[info]   | +-org.http4s:http4s-argonaut_2.11:0.7.0
[info]   | | +-web:web_2.11:2.0.0-SNAPSHOT

@mossprescott, I think you're right; jawn-streamz appears to not have been updated before the release. @rossabaker, do you have time to do a release of that? I don't know much about the details of it.

I just released jawn-streamz-0.4.1.  I'll get it merged here after it syncs to Maven Central.

I believe this is closed by f73d37e. Please reopen if problem persists.

Looks like I'm having a similar issue with 0.8.2-SNAPSHOT. Now the versions of scalaz-stream are 0.7a (required by jawn-streamz 0.4.1) and 0.7.1a (required by http4s-core). Again, this is based on what I get from what-depends-on.

I thought those were binary compatible and 0.7.1a would win, but let's cut a new release of jawn-streamz to remove all confusion.


Run all if vitest.config.ts change

No changes needing a change description found.

You can try these changes at https://cadlplayground.z22.web.core.windows.net/prs/3411/
Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/prs/3411/


Implement RestoreObject API

Implement the following API https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html

@harshavardhana @klauspost I added a separate commit which parses x-amz-restore header in a HEAD request. PTAL again.


Static mocks throw java.lang.VerifyError when using Java 7 language features.

From<EMAIL_ADDRESS>on January 30, 2013 19:29:25
What steps will reproduce the problem? 1. Class uses Java 7 language features
2. PowerMock mocks with mockStatic
3. No profit
What is the expected output?
Test runs
What do you see instead?
java.lang.VerifyError: Stack map does not match the one at exception handler 75 in method org.app.Foo.bar()Ljava/lang/String; at offset 72
In the Foo class the following does NOT run
try {
return "baz";
} catch (FileSystemAlreadyExistsException | ConcurrentModificationException e) {
System.out.println("error");
return null;
}
Changing it to this works fine
try {
return "baz";
} catch (FileSystemAlreadyExistsException e) {
System.out.println("error");
return null;
} catch (ConcurrentModificationException e) {
System.out.println("error");
return null;
} What version of the product are you using? On what operating system? PowerMock 1.5
Mockito 1.9.5
javassist 3.17.1-GA
java 1.7.0_11 x64
Windows 7 x64
Project target / language level / compiler: 1.7
Test case attached
Attachment: PowerMockTest.zip
Original issue: http://code.google.com/p/powermock/issues/detail?id=427

From<EMAIL_ADDRESS>on February 02, 2013 03:05:54
I suspect that this is a Javassist issue.. Perhaps you could report this to the Javassist team?

From<EMAIL_ADDRESS>on February 05, 2013 12:44:12
Reproduced w/o powermock and reported at https://issues.jboss.org/browse/JASSIST-190

From<EMAIL_ADDRESS>on February 06, 2013 04:27:32
Thanks for your help. I'll mark it as "WontFix" if it's ok by you. When Javassist releases a new version it'll of course be shipped with PowerMock.
Status: WontFix

Hi
Guys from javassist fix it https://issues.jboss.org/browse/JASSIST-190 - CLOSED
When you will be able to deliver new version with fix of this bug ?

PowerMock is already using the latest version of Javassist (3.20)


latest spec from CF master

Replaces #124
Includes latest API spec from CF. When this PR is merged, the CF docs will be updated to reference this repo for the pages: http://docs.cloudfoundry.org/services/api.html and http://docs.cloudfoundry.org/services/release-notes.html. At that point this repo will be the source of truth for the broker API spec, and future versions can be released from here.

LGTM

LGTM
Funny side note: I did a quick search to see if CF was mentioned in there at all and its not, as expected. But, neither is "cloud"  - not sure what that means  :-)

LGTM

3 LGTMs are good enough, merging....


Cannot reproduce the result with the ACE dataset.

Based on your provided code, you simply used the built-in loss for token classification task for Event extraction, specifically for the ACE dataset. However, when I tried to reproduce it, I got very terrible results:

Here is one sample of prediction:
Pred sample: ['O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O']
True sample: ['O', 'O', 'O', 'O', 'O', 'O', 'B-Movement:Transport', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O']

And here are the statistics of the ACE dataset:
{
    "statistic": {
        "O": 114549,
        "B-Movement:Transport": 661,
        "B-Personnel:Elect": 173,
        "B-Personnel:Start-Position": 109,
        "B-Personnel:Nominate": 12,
        "B-Conflict:Attack": 1468,
        "B-Personnel:End-Position": 178,
        "B-Contact:Meet": 272,
        "B-Life:Marry": 81,
        "B-Contact:Phone-Write": 115,
        "B-Transaction:Transfer-Money": 183,
        "B-Justice:Sue": 76,
        "B-Conflict:Demonstrate": 77,
        "B-Business:End-Org": 29,
        "I-Personnel:End-Position": 11,
        "B-Life:Injure": 135,
        "I-Transaction:Transfer-Money": 27,
        "B-Life:Die": 585,
        "I-Life:Die": 11,
        "I-Conflict:Attack": 93,
        "B-Justice:Arrest-Jail": 82,
        "B-Transaction:Transfer-Ownership": 116,
        "B-Justice:Execute": 19,
        "I-Life:Injure": 13,
        "B-Justice:Trial-Hearing": 109,
        "B-Justice:Sentence": 98,
        "B-Life:Be-Born": 47,
        "I-Justice:Arrest-Jail": 5,
        "B-Justice:Charge-Indict": 105,
        "B-Business:Start-Org": 38,
        "B-Justice:Convict": 73,
        "B-Business:Declare-Bankruptcy": 42,
        "B-Justice:Release-Parole": 45,
        "B-Justice:Fine": 28,
        "I-Personnel:Start-Position": 3,
        "B-Justice:Pardon": 2,
        "I-Justice:Charge-Indict": 9,
        "B-Justice:Appeal": 43,
        "I-Movement:Transport": 35,
        "I-Life:Be-Born": 6,
        "I-Business:Declare-Bankruptcy": 12,
        "B-Business:Merge-Org": 13,
        "B-Justice:Extradite": 7,
        "I-Justice:Extradite": 9,
        "I-Justice:Sue": 9,
        "I-Justice:Trial-Hearing": 2,
        "I-Contact:Phone-Write": 6,
        "I-Business:End-Org": 16,
        "B-Life:Divorce": 29,
        "B-Justice:Acquit": 5,
        "I-Contact:Meet": 7,
        "I-Life:Marry": 5,
        "I-Justice:Convict": 3,
        "I-Justice:Pardon": 1,
        "I-Justice:Acquit": 4,
        "I-Business:Merge-Org": 2,
        "I-Transaction:Transfer-Ownership": 3,
        "I-Personnel:Nominate": 1,
        "I-Justice:Fine": 2,
        "I-Conflict:Demonstrate": 1,
        "I-Justice:Sentence": 1,
        "I-Business:Start-Org": 1,
        "I-Life:Divorce": 1
    }
}

Do you have any advice on how I can reproduce the results shown in your paper?


Add cli docs and architecture diagram

Wrote some rough CLI documentation over the last couple of weeks, and also included an architecture diagram. The documentation describes use cases and defaults for using the CLI, and the architecture diagram is a rough outline of how I hope to build out the project and the processes involved.
Still unsure as to what else needs to be in the CLI beyond a help and the future information. Can look into this next week if possible.

@michaelconnor00 Updated Readme in light of our discussions yesterday. Didn't get a chance to look into AWS, will explore when I'm back.


Document units of bus carriers

In line with https://github.com/PyPSA/PyPSA/pull/208 it would be good to explicitly document the unit of each bus' carrier:

co2, co2_stored, process_emissions -> t_CO2/h
AC, low voltage -> MW
H2, gas, biogas, oil, solid biomass -> MWh_LHV/h (is it all LHV?)

Adressed in #245


Static analysis results by Coverity Scan

I ran coverity scan over genwqe-user codebase and the results can be found here.
I'll try to send patches to some of the issues as time allows it.

@r4f4 I think this got merged, right? Can we close this?

@fhaverkamp Yes, it is merged in commit bccbcf24f6c654f384b1bea0868192398173d4b2.
I'm closing this issue. Thank you!


The null result of union stmt is incorrect

Describe the bug
The null result of union stmt is incorrect when the child of union stmt is a outer join with the null-supplying column.
To Reproduce
mysql> CREATE TABLE empty (
->   k1 tinyint(4) NOT NULL COMMENT "",
->   k2 tinyint(4) NOT NULL COMMENT ""
-> ) ENGINE=OLAP
-> AGGREGATE KEY(k1, k2)
-> DISTRIBUTED BY HASH(k1) BUCKETS 5
-> PROPERTIES (
-> "storage_type" = "COLUMN", "replication_num" = "1"
-> );
Query OK, 0 rows affected (0.19 sec)
mysql> CREATE TABLE left_table (
->   k1 tinyint(4) NOT NULL COMMENT "",
->   k2 tinyint(4) NOT NULL COMMENT ""
-> ) ENGINE=OLAP
-> AGGREGATE KEY(k1, k2)
-> DISTRIBUTED BY HASH(k1) BUCKETS 5
-> PROPERTIES (
-> "storage_type" = "COLUMN", "replication_num" = "1"
-> );
Query OK, 0 rows affected (0.07 sec)
mysql> insert into left_table values (1,1);
Query OK, 1 row affected (0.29 sec)
mysql> (select k2 from empty) union (select b.k2 k2 from left_table a left join empty b on a.k1=b.k1);
+------+
| k2   |
+------+
|    0 |
+------+
1 row in set (0.09 sec)
mysql> select b.k2 k2 from left_table a left join empty b on a.k1=b.k1;
+------+
| k2   |
+------+
| NULL |
+------+
1 row in set (0.07 sec)
Expected behavior
+------+
| k2   |
+------+
| NULL |
+------+
Additional context
The NULL column must be produced by a outer join.

ISSUES-1725: The result of union stmt whose child is outer join stmt is incorrect.
Example:
sql: (select k1 from empty) union all (select b.k1 k1 from left_table a left join empty  b on a.k2 = b.k2);
context: the empty table has no data.
error result: 0
expect result: null
Reason:
The judgment (columns k1 who belongs to union tuple is nullalbe ) is incorrect.
It could not be determinated by slot attribute of children when the slot is producted by the outer join.
The slot A is not nullalbe while the result of outer join is nullable which is same as slot A.
So, the judgment needs to consider if the slot comes from the outer join.

#1758


Import gltf2 alpha correctly.

Fixes: https://github.com/godotengine/godot/issues/47564

https://user-images.githubusercontent.com/32321/113445051-f12dd180-93a9-11eb-96ee-adcd94c410a3.mp4

I don't think changing the transparency type is correct. Depth pre-pass should work and not be broken.


Odd behavior after back button pressed...  Failed to load resource... ng-cordova_plugins.js

Hello,
(This happens in emulators and on actual Android devices!)
I'm having a strange problem. When the app initially loads, there are no errors and the plugin for local-notification works splendidly! However, after I press the back button (app is still in memory) and then tap the app again, the app fails to find the plugin. Looking at the Sources in the debugger, I see the plugins folder is missing and an android2.3-jscompat.js file is added. Now, when I swipe the app off of running apps (no longer in memory) and click again all is fine once more until the back button is used. It seems like the WebView is starting up from a different point from when it loads originally (not in memory.)
Does anyone have thoughts? All of the other sources and index.html, etc remain unchanged... very odd.
I'm trying to fully close the app on the back button, but have not had much luck doing that.
Thanks in advance

Could you include a link to a minimal reproduction of this issue in a new repo?  I'll be happy to take a look at this issue then (without code, it's hard to see where the problem is).


selectable list component

Feature request
Overview

basically the dropdown content as a standalone component.
without the positioning and floating abilities.
Examples in other libraries

Who does this impact? Who is this for?

in many cases, we want to display a selectable list (single or multi selection) statically, without a trigger, but with keyboard navigation and such.
Additional context
it is possible with Radix currently but a bit ugly: I can use the Dropdown component and revert the content - data-radix-popper-content-wrapper styling (isn't pretty because it's a component I don't have direct access to) here is an example
And it's running more code than I actually need, which is never a good idea

can be implemented with a toggle group


vectorized fix udaf result is null when has multiple aggs

Proposed changes

Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 36.26 seconds
load time: 646 seconds
storage size:<PHONE_NUMBER>2 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230103034305_clickbench_pr_72543.html


fastchem renaming in translate doesn't know about ions

The following function translates our notation to Hill notation.
https://github.com/bmorris3/shone/blob/main/shone/chemistry/translate.py#L65
It currently only deals with atoms and molecules.
Implement renaming for ions.

Closed by #13.


Problem: newer mypy fails on Hare sources

Problem reason:

Hare doesn't specify explicit mypy version in its requirements
So once newer mypy version is released, it is applied automatically
if .py3venv/ folder doesn't exist (yet)
It turns out that mypy 0.901 stops bringing type stubs for libraries
by default. Corresponding type stubs should be installed explicitly.

Solution: add missing type-* libraries to the build requirements.
Note: these depedendencies are build-time only. Runtime dependencies are
not affected.

We dont need these types in other requirement files like cfgen or miniprovisioner, right @knekrasov ?

@suvratjoshi

We dont need these types in other requirement files like cfgen or miniprovisioner, right @knekrasov ?

Our Makefile a kind of melds all requirements.txt altogether when preparing virtualenv:
$(PY_VENV_DIR): $(patsubst %,%/requirements.txt,cfgen hax provisioning/miniprov)
	@$(call _info,Initializing virtual env in $(PY_VENV_DIR))
	@$(PYTHON) -m venv --system-site-packages $@
	@$(call _info,Installing pip modules in virtual env)
	@for f in $^; do \
	     $(call _log,processing $$f); \
	     $(PIP) install --ignore-installed -r $$f; \
	 done

That's why it is sufficient to specify them just once.


platform-specific tests are causing unit tests to fail on Windows

Issue Report
Unit tests are failing on a clean Windows master build.
Expected Behavior
After a clean clone, yarn, and build, running unit tests should pass on any platform.
Actual Behavior
On my windows machine, the unit tests are failing.  It seems to have to do with platform-specific paths.
Steps to Reproduce the Issue

Checkout the master branch
Run yarn install
run yarn build
Run yarn test runner-babel or any unit test that deals with paths

Attempted failed solution
I tried installing jest-serializer-path , but it does not seem that this would solve the issue.  I would need a Mac computer to try.
Also, the last publish from this library was 2 years ago so I'm not sure about its quality.
Before jest-serializer-path:

After jest-serializer-path:

If someone could try jest-serializer-path on a Mac that would be great, but I don't see it turning the path I received using it, to those that were snapshotted.

@stephan-noel is working on this issue

Just gonna leave some notes here on what I found regarding that test failure.  TLDR is that internally, ts.createProgram() is invoking ts.normalizePath() which transforms our Windows-style path into a Unix-style path and therefore invokes the host's readFile function with a Unix-style path.
We could work around this by converting back to Windows-style paths in the readFile function, not sure if there are any dangers in that approach.
I'll leave a trail of debug printscreens here:

Here, we still have the Windows-specific path as our fileName. The culprit seems to be ts.normalizePath(), which at the level below on the call-stack, will give it a Unix path. Not sure if the scope of unionfs would affect this:

One level below, at processSourceFile, we see the return value of ts.normalizePath() is a Unix-style path:

Here, we are back in the ts-runner, where it will invoke readFile, with the unix-style path and where the error will occur when we invoke ctx.fs.readFileSync():

Also of note, we will incorrectly get a cache miss because we registered the cache with Windows paths, and are doing a lookup with Unix paths.
What do you think is the best approach in this case?

@stephan-noel did we agree on converting the path back to the platform-specific in the runner-ts' custom host?

@beshanoe yes we did, because they seem to use an internal interface to handle platform-specific code (it seems to be either toPath or an interface named System), at least from what I could tell.


capture/materalize: add push-captures, acknowledgements, and lots of docs

Refactor the capture protocol to tease out Push vs Pull captures,
while maximizing overlap and consistency between the two modes of
operation.
Make the Pull RPC bidirectionally streaming, and thread through
Acknowledge.
Also update the materialization protocol to add the Acknowledge/Acknowledged
message loop, with extensive new documentation on the varying
implementation modes of materialization drivers.
Issue estuary/flow#179
Issue estuary/flow#272

I'd like to go ahead and merge this, so I can have a stable commit hash for cascading changes to connectors etc.
Please do review after-the-fact and I'll address as future PRs.


Nuclick

Fixes # .

Tutorials for NuClick + Nuclei classification
Fix headings format in README.md

Description
Notebooks for infer + train for both nuclick and classification models.
Easy to visualize:
https://github.com/SachidanandAlle/tutorials/tree/nuclick
https://github.com/SachidanandAlle/tutorials/tree/nuclick/pathology/nuclick
Checks

[x] Notebook runs automatically ./runner [-p <regex_pattern>]

Is all good to merge?


Support Installation on PHP 8.2

Prophecy appears to be the only dependency that explicitly declares it's not compatible with 8.2 - adding --ignore-platform-reqs allows CI to pass, but feel free to close if you're waiting for all deps to be compatible first 👍

Sorry - Closing as duplicate of #715


Wrong header content in "WWW-Authenticate" header when the subscription is blocked.

Description:
When the subscription is blocked for a API using the publisher, when invoking such API, the response sends back to the client have the "WWW-Authenticate" header as [OAuth2 realm="WSO2 API Manager", error="invalid token", error_description="The access token expired"] which contains wrong information.
Suggested Labels:
AM-2.1.0

I’m closing this issue because it has been inactive for more than two years. Please reopen if you still encounter this issue with the latest version.


Can't get string literal completions for .js file if not --allowJs

TypeScript Version:  nightly (2.6.0-dev.20170928)
Code
a.d.ts
declare var x: { p: "a" | "b" };

b.js:
x = { /**/ }; // works, get completion for "p"
x.p = "/**/"; // don't get good completions

No tsconfig.json.
Expected behavior:
Get completions inside string literal in a .js file.
Actual behavior:
Get nothing.
If works if I add a tsconfig.json and set --allowJs.
If I enable // @ts-check, I correctly get an error if I use a wrong string literal, so we are picking up the types.
I'm not sure how to reproduce this error in a fourslash test, because apparently if I don't set // @allowJs: true, it can't find the b.js file. Here was my attempt:
/// <reference path="fourslash.ts" />

// @Filename: /a.d.ts
////declare var x: { p: "a" | "b" };

// @Filename: /b.js
////x = { p: "/**/" }

verify.completionsAt("", []);

Turns out this isn't about allowJs and I was confused due to the property names being "a" and "b" and thus coming up first in alphabetical order.


Introduce Graph Find/Hide presets

Graph Find/Hide now offers preset expressions via new dropdowns on each input. The preset expressions are supplied via the UIDefaults supplied by the server, and so can be configured by users via the CR.
Part-Of https://github.com/kiali/kiali/issues/3708
Server PR: https://github.com/kiali/kiali/pull/4020
UI PR: https://github.com/kiali/kiali-ui/pull/2159

I cound't test the operator, I had some local problem to build the operator. But I suspect those are completely unrelated to the PR.


Addressing #23 and #26

#23: Ricardo Lara (Democrat) and Steven Poizner (Republican)
#26: Kevin De Leon (Democrat)

Hi @agnesoshiro did you find any contributions from this year for these candidates? I noticed the contributions are only from 2017. Also, do you have data on Dianne Feinstein for #26?

Hi @ychoy, as I'm selecting the 2017-2018 election cycle (see search options to the left in screenshot), my assumption was that if there are any contributions in 2018, they would be included. Please let me know if this is not the case.

For whatever reason, Dianne Feinstein doesn't come up in Power Search, which is why I specifically noted that only 3 files were included in this pull request.

I see. I checked Power Search too and it looks like nothing's been reported for 2018, even if selecting 2017-2018.


About constrast learning

Thanks for sharing your work! Where is the sricpt for constrast learning for image feature and audio feature. I found a class in "models\networks\loss.py": SoftmaxContrastiveLoss, is this the realization of contrast learning?

Hi, you are correct!

Thanks for your help!,BTW, what value do you set for augment num_inputs during training? Because I noticed that this augment is used in line 49 of models\networks\vision_network.py.

The num_inputs is fixed as 1 during the whole training and testing.

Issue has been solved!


Missing documentation of pkg/chartutil/files.go functions

Hi,
The functions FromJson, ToJson, FromYaml and ToYaml aren't documented as callable from templates (or at least, I couldn't find it). These functions are very useful for converting values objects to manifests files. fromJson also useful for the functionality of initialization of map inside template:

{{- $results := fromJson "{}" -}}
...
{{- $results := set $results $key (dict $objectType $value "password" $password "user" $object.user) -}}

Thanks

closing as inactive.

@bacongobbler fromJson and toJson are still missing at documentation


langstream deployment issues on Azure AKS

I am installing langstream in Azure Kubernetes Service environment, I have followed the steps for the deployment in the kubernetes.. I have used helm charts for the install.. I used the below commands for the deployment..
helm repo add langstream https://langstream.github.io/charts
helm repo update
helm install -n langstream --create-namespace langstream langstream/langstream --values helm/examples/simple.yaml
naga_bondada [ ~/langstream ]$ kubectl get pods -n langstream
NAME                                        READY   STATUS             RESTARTS         AGE
langstream-api-gateway-79bd776d6-2npsd      1/1     Running            0                31m
langstream-client-d5b455cc6-gwd4d           1/1     Running            0                31m
langstream-control-plane-7b7fb7ffc5-bj85h   0/1     CrashLoopBackOff   10 (4m15s ago)   31m
langstream-deployer-57b6565484-zsjxx        1/1     Running            0                31m
naga_bondada [ ~/langstream ]$
I am unable to find runtime pod in the list of pods.. below is the output from the control plane pods logs..
controlplane-pod-logs.txt
Please help me in resolving this issue to proceed further..
Suresh

@sreyabondada 👋
Some questions:

Which versions are you using of Langstream?
The control plane seems on an old version

I am unable to find runtime pod in the list of pods

This is fine. The runtime pod is scheduled only if you create an application

Hi Nicolo
Thanks for your reply, its working now.. which document we need to use going further..
Please suggest.
Regards
Suresh

@sreyabondada I updated the readme and that values file.
First of all you need to configure the code storage, you can find instructions here
You either setup a local MinIO instance or use a real S3 bucket.
Once you're there, you are able to deploy applications.
First, install the CLI: https://docs.langstream.ai/installation/langstream-cli
Then create your application. You can take a look at the examples directory.
Additionally, here is the official documentation

Hi Nicolo
We have one more query, We are setting up langstream on Azure and we got to know Azure Blob Storage doesn't support S3 protocol.. how we can make use of langstream in that scenerio.. Could you please throw some light here.
Regards
Suresh


stan-to-C++ flag --O1 breaks matrix multiplication

A model that compiles and runs fine in 2.29.0-rc1 with default settings breaks when --O1 is added to the stanc3 compilation. Runtime error "Exception: fma: x ((45, 12)12, 1266) must match in size", referring to a line that contains only matrix multiplication
Apologies; I don't have a fully reproducible example at the moment, but the apparently relevant code is of the following structure:
data {
  int N1;
  int N2;
  int N3;
  int N4;
  int N5;
  matrix[N1,N2] m1;
  matrix[N1,N3] m4;
  array[N2] int idx;
  array[N3] int idy;
}
parameters {
  matrix[N2,N3] m2;
  matrix[N4,N5] m3;
}
model {
  matrix[N1,N3] m5 = m1 * (m2 .* m3[idx,idy]) + m4;
  target += sum(m5);
}

Current Version:
v2.29.0

@rok-cesnovar Seems like strange behavior in stan::math::fma? I can confirm that Stanc's partial evaluator will produce an fma call, the model line ends up being something like
        stan::model::assign(m5,
          stan::math::fma(m1,
            stan::math::elt_multiply(m2,
              stan::model::rvalue(m3, "m3",
                stan::model::index_multi(idx), stan::model::index_multi(idy))),
            m4), "assigning variable m5");

This exact model compiles for me :/

I am not getting the fma in the generated C++ though with
bin/stanc --O1 --o=examples/test.hpp examples/test.stan

I am pretty sure if you don’t use m5 it gets removed by the optimized. I added target += sum(m5) to force it to exist

I'll work on a minimal example. Sorry; I had hoped the above would replicate it.

It does now Ryan. I added Brian's suggested line to the model and that made it break. Updated your post as well.

ah, great! thanks

Yeah, I think Stan Math will be the right one. I pointed Ryan here because I had no idea what was up.


The alert_subject is not being used with PagerDuty integration

hi. I am having an issue while trying to move our ElastAlert rules from Email integration to PagerDuty integration.
An example of the PagerDuty rule I am using is below
es_host: <IP_ADDRESS>
es_port: 9200

name: "<rule_name>"
description: <rule description>
use_kibana4_dashboard: <kibana_link>
index: logstash-*
use_local_time: False

run_every:
  hours: 1
buffer_time:
  hours: 1

type: any

filter:
- query:
    query_string:
      query: '<query_1>'
- query:
    query_string:
      query: '<query_2>'

include:
- <alert_subject_arg_1>
- <alert_subject_arg_2>

alert:
- pagerduty

pagerduty_service_key: "<service_key>"
pagerduty_client_name: "<client_name>"
alert_subject: "PROD REDSHIFT FRESHNESS alert for table"
alert_subject: "alert_subject {0}, {1}"
alert_subject_args:
- <alert_subject_arg_1>
- <alert_subject_arg_2>

realert:
  minutes: 0

This does generate the alert and I can see it in PagerDuty, yet the alert_subject field is not being used and instead the rule_name is being picked up.
Please note that the exact same rule using the Email integration as below
es_host: <IP_ADDRESS>
es_port: 9200

name: "<rule_name>"
description: <rule description>
use_kibana4_dashboard: <kibana_link>
index: logstash-*
use_local_time: False

run_every:
  hours: 1
buffer_time:
  hours: 1

type: any

filter:
- query:
    query_string:
      query: '<query_1>'
- query:
    query_string:
      query: '<query_2>'

include:
- <alert_subject_arg_1>
- <alert_subject_arg_2>

alert:
- email

smtp_host: "<smtp_host>"
smtp_auth_file: "smtp_auth.yaml"
from_addr: "<from_address>"

alert_subject: "PROD REDSHIFT FRESHNESS alert for table"
alert_subject: "alert_subject {0}, {1}"
alert_subject_args:
- <alert_subject_arg_1>
- <alert_subject_arg_2>

realert:
  minutes: 0

does function properly and uses the alert_subject as expected.
I am currently using ElastAlert 0.0.76
Is this a known bug with this version?
Any advice on if there is any modification that the PagerDuty rule needs in order to function properly?
Thank you

You'll want to use pagerduty_incident_key instead of alert_subject and pagerduty_incident_key_args instead of alert_subject_args. They should function the same.
Sorry for the inconsistent use of variable names!
Also, you should definitely upgrade as 0.0.76 is pretty old. Though, I don't think pagerduty has changed much, lots of other bugs have been fixed.

hi @Qmando
Thanks for the speedy reply
substituted the alert_subject and alert_subject_args with pagerduty_incident_key and pagerduty_incident_key_args per your advise and still no change. A single alert is being generated with the rule_name as subject. Please see the modified rule below
es_host: <IP_ADDRESS>
es_port: 9200

name: "<rule_name>"
description: <rule description>
use_kibana4_dashboard: <kibana_link>
index: logstash-*
use_local_time: False

run_every:
  hours: 1
buffer_time:
  hours: 1

type: any

filter:
- query:
    query_string:
      query: '<query_1>'
- query:
    query_string:
      query: '<query_2>'

include:
- <alert_subject_arg_1>
- <alert_subject_arg_2>

alert:
- pagerduty

pagerduty_service_key: "<service_key>"
pagerduty_client_name: "<client_name>"
pagerduty_incident_key: "PROD REDSHIFT FRESHNESS alert for table"
alert_subject: "alert_subject {0}, {1}"
alert_subject_args:
- <alert_subject_arg_1>
- <alert_subject_arg_2>

realert:
  minutes: 0

Hi @tterstep,
Did you upgrade from 0.0.76 as well?
It looks like support for 'pagerduty_incident_key' wasn't added until v0.1.21, see 41145b5997b192deeb29bc53ba8bf49b463054a7.
Hope that helps.

Hi @nickmz
No upgrade yet.
But I agree, looks like my version is not supporting the pagerduty_incident_key.
Thanks you.

@mikenaux


Response code 200 represents as "dead"

I'm seeing some cross-links to Abstract and Figma documentation URLs represent as "dead" by link-check, but when I inspect in my dev tools, I get a 200 response.
const linkCheck = require('link-check');

linkCheck('https://help.abstract.com/hc/en-us/sections/360012262052-Collaborate-in-projects', function (err, result) {
	if (err) {
		console.error(err);
		return;
	}
	console.log(`${result.link} is ${result.status}`);
});

Test URLs:

https://help.abstract.com/hc/en-us/categories/360005436612-Branches
https://help.abstract.com/hc/en-us/sections/360012262012-Commits
https://help.abstract.com/hc/en-us/sections/360012262032-Merge-your-work
https://help.abstract.com/hc/en-us/sections/360012262052-Collaborate-in-projects
https://help.figma.com/hc/en-us/articles/360039823654-Download-the-Figma-desktop-app

Could be possibly related to the sites not liking the user-agent?
https://github.com/tcort/link-check/issues/46

result.statusCode is 403, so that's why it's reported as dead.

result.statusCode is 403, so that's why it's reported as dead.

It's been so long some of the URLs have changed, but they resolve in the browser, even though result.statusCode is 403...

https://help.abstract.com/hc/en-us/sections/360012262052-Collaborate-in-projects

... I suppose that's what I'm asking... if I use my Chrome browser to just go to the page, I get a status code of 200, but link-check is getting 403.
Maybe there's nothing you can do about it, but I'm guessing based on other discussions, that the UA that link-check provides is getting blocked by Abstract's server as 403: Forbidden.

https://github.com/tcort/link-check/issues/47#issuecomment-847764254


Add tox for running tests and travis support for python 3.4

As requested in https://github.com/justiniso/polling/pull/2

As expected, python34 tests failed, everything else passed. Merging...


Make session type non nullable.

Changed the AppointmentSessionType to be non-nullable when scheduling or rescheduling an appointment.
The value is defaulted to ONE_TO_ONE in the DB for historical appointments where this value was not specified.
This value is contained within the AppointmentDelivery Entity; this entity will only ever be created as part of an appointment when a schedule request has been made.
Making this value non-nullable will be safe because even though the UI defines it as a nullable field it will never be null when making a Schedule appointment request.

closing due to age  - please reopen and rebase on main if we want to pick this up again :)


Model extension causes loaddata in E2E tests to fail.

See PR #162 for a minimal HTR for this bug.
Tried so far
Instead of extending django_db_setup, I tried this:
@pytest.fixture(scope="function")
def django_db_setup(request, django_db_blocker):
    from django.test.utils import setup_databases, teardown_databases

    with django_db_blocker.unblock():
        db_cfg = setup_databases(
            verbosity=request.config.option.verbose,
            interactive=False,
        )
        call_command(
            "loaddata",
            os.path.join(BASE_DIR, "e2e_tests", "database", "test_database.json"),
        )

    def teardown_database() -> None:
        with django_db_blocker.unblock():
                teardown_databases(db_cfg, verbosity=request.config.option.verbose)

    request.addfinalizer(teardown_database)

which is a reduced reimplementation. My hope was to completely tear down the DB after each function ends. So far this did not work. Possibly, request.addfinalizer() has to be modified.

I will not be working on this. Since it is blocking any additions to the model (e.g. KPI Charts), it would be good, if someone else could have a closer look.

@cafischer Adding model classes at the end works. I guess, the order of the model classes in models.py and in the migrations have to agree. That way they get the same primary key and loaddata seems to be happy, if the data in the DB and in the JSON agree. The solution might therefore be, to exclude the contenttypes table when dumping the data.


Return match counts for search results

Current behavior
Given the tree
A
--BE
--C
----DE
----EBE
------DEED
--F

When I search for "E" I'm getting the search result
["A", "BE", "C", "DE", "EBE", "DEED"]
That's good for now.
Suggestion
To display further information, it would be great to get the "child matches count", which would make the result look like the following:
{
  "A": 4,
  "BE": 0,
  "C": 3,
  "DE": 0
  "EBE": 1
  "DEED": 0
}

Now I could implement this counting in the frontend, but since the backend already traverses the whole tree to find the search results, I'd suggest that counting is added there (bottom-up in the recursion).
Any ideas / comments? :-)

Closing in favor of https://github.com/bakdata/conquery/pull/516


chore: Enable additional CreateArray tests

Which issue does this PR close?

Follow up to https://github.com/apache/datafusion-comet/issues/792
Rationale for this change

Enable additional CreateArray tests now that we've bumped the DataFusion version in https://github.com/apache/datafusion-comet/pull/909
What changes are included in this PR?

Enable additional tests, and make on change to the equality check for type coercion to fix one of the new tests.
How are these changes tested?

New tests enabled

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 34.04%. Comparing base (033fe6f) to head (bd02660).
Report is 14 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #928      +/-   ##
============================================
+ Coverage     34.03%   34.04%   +0.01%
+ Complexity      883      882       -1
============================================
  Files           113      112       -1
  Lines         43170    43290     +120
  Branches       9516     9553      +37
============================================
+ Hits          14693    14739      +46
- Misses        25471    25537      +66
- Partials       3006     3014       +8

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


fix(doc): Update release steps after migration to lerna

Update release steps and prerequisites

Warnings

:warning:
There are no updates provided to CHANGELOG. Ensure there are no publicly visible changes introduced by this PR.

  Generated by :no_entry_sign: dangerJS


Config changes to support Vulkan <IP_ADDRESS> and later on macOS

Added configuration to support changes to how the VK_KHR_PORTABILITY_ENUMERATION_EXTENSION_NAME extension is enabled, as described here:
https://www.lunarg.com/wp-content/uploads/2022/04/Portability-Enumeration-Extension-APR2022.pdf
I've tested the changes on macOS Monterey (12.4) Intel, and, as a sanity check, Windows 11 on a Dell XPS laptop

Thanks for your PR. This is very much appreciated :)

@SaschaWillems No worries. Glad to be able to return the favor. Your samples have been a foundation block for my learning of Vulkan! If you need help testing or troubleshooting on macOS in the future, don't hesitate to contact me.


Fix 'document is not defined' when used with server side rendering

I was getting this error with SSR.
I added a function with a type check in utils.js if you need to use it in other places in the future.

@staminaloops, merged and released on v2.0.2. Thanks your contributions:)


2 candidates generated for a method where 1 was expected

Describe the bug
2 candidates are generated in the place of 1 if the following curl is invoked with unlogged-spring-maven-demo.
curl - 1 ("findById")
curl --location 'http://localhost:8080/property/find?id=1' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhbWdAYW1nLmNvbSIsImV4cCI6MTkyNTYzOTMwN30.OBu-67QShlyZdY3sm4BxKbdye4nAsxeHvr5o85aG2YM'

On hitting this, and candidates load there will be 2 candidates for the method getById from PropertyServiceCEImpl.
1 with the correct return type PropertyDetails and the other with returnType Object.
This behaviour is not seen if the curl for findAll is used (there will only be 1 controller related candidate and 1 service related candidate).
curl - 2 ("findAll")
curl --location 'http://localhost:8080/property/findAll' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhbWdAYW1nLmNvbSIsImV4cCI6MTkyNTYzOTMwN30.OBu-67QShlyZdY3sm4BxKbdye4nAsxeHvr5o85aG2YM'

This might be happening due to CrudService (interface) methods that PropertyServiceCEImpl implements.
The only distinguishing factor I see is that findAll() has no args and getById has an arg (parametrized).
Reproduction steps

Start unlogged-spring-maven-demo with 0.6.2.
Hit curl-1 from postman and check the list of candidates generated.

https://github.com/unloggedio/unlogged-sdk/assets/68552461/bfb16073-38e8-4a6f-bf28-d39024aa195c
Expected behavior
For only the candidate with the correct return type to be shown.
Additional context
No response

RCA

When code is compiled by Java two methods are generated:

getById

Input type: Long
Output type: PropertyDetails

getById (ACC_SYNTHETIC)

Input type: Object
Output type: Object

This happens for some other methods in the class and happens irrespective of compilation with SDK.
The access bit of second method is set as ACC_SYNTHETIC. This implies that is is emitted by the compiler itself, and thus is ignored by decompilers like fern-flower, and this method does not shows up in decompiled output by it. Though when the class is checked by javap -v then the bytecode shows the method.
When compiling with SDK classVisitor is invoked on the class, and the methodVisitor is invoked on both the methods. Due to this probes are added to both of them.
When the method is invoked from curl, both methods are called and test candidates are formed for both of them.

Decompiled Method
 public java.lang.Object getById(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: aload_0
         1: aload_1
         2: checkcast     #11                 // class java/lang/Long
         5: invokevirtual #187                // Method getById:(Ljava/lang/Long;)Lorg/unlogged/demo/models/abstraction/PropertyDetails;
         8: areturn
      LineNumberTable:
        line 9: 0
      LocalVariableTable:
        Start  Length  Slot  Name   Signature
            0       9     0  this   Lorg/unlogged/demo/service/abstractions/PropertyServiceCEImpl;
    MethodParameters:
      Name                           Flags
      id                             synthetic

Fix
A check is to be added to see if the method has ACC_SYNTHETIC access bit set. If so then the method is not probed, a shadow unprobed method is not made and the key for it is not added to HashMap.

Example of Synthetic injection: https://github.com/kartikeytewari-ul/synthetic_injection

This is fixed with PR #112


Could not initialize class org.lwjgl.system.Library on macos

Failed to load lwjgl on macos. This is the error reported when calling InitWindow.
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class org.lwjgl.system.Library

I'm on macOS 12.4 with M1 chip.
I'm loading the library using Clojure 1.11.1, and the creation of the Raylib rCore object happens correctly (com.raylib.java.Raylib). I notices that inside natives most of the lwjgl jar are for linux/windows. Is macos missing there?
Thanks for your job with the library 👍

Added packages into #35. Not sure how to the build process work to generate Raylib-J.jar

Thanks for flagging this issue and adding the packages! I'll close this when I merge #35.
To build using Intellij Idea: see this article
Make sure you extract the contents of the natives directory to the jar

Never used Intellij Idea before and not sure how to work with jar files. Can you make a new build with the natives files? I took the old jar from https://github.com/CreedVI/Raylib-J-Examples since wasn't included in this repo


m1+Monterey上面好像用不了

我按照文档安装了fuse和ntfstool，看到ntfs硬盘挂载了，但是还是可读的，写不进去
是没有适配还是什么原因？

It warns the FUSE is not compatible with current Mac.
CPU: m1 chip
OS: macOS monterey

It warns the FUSE is not compatible with current Mac.
CPU: m1 chip OS: macOS monterey

okay, i did not notice that when i installed the FUSE in my computer. I just clicked and rebooted the computer. thx very much.


Give maas rabbit user perms on all vhosts

Previously the maas user only had permisions on the vhost "/" which is
no longer used by the openstack services, as they each have their own
vhost.
No modification to the plugin is necessary, as the same api calls will
return data from all the vhosts the user has access to.
Related: #1113
(cherry picked from commit 6427f195ce6d5fcb5dd712638a1e3b63f3322090)

👍

👍

recheck_swift


Change wilhelm sound with weh for reptiles

About the PR

instead of wilhelm scream reptiles will weh
Why / Balance

funny reptile
Technical details

Media

[ ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

no

The point of the wilhelm scream is it can only happen through very rare chance.
You can weh whenever you want.

You can weh whenever you want.

weh doesn't have a chat trigger
https://github.com/space-wizards/space-station-14/blob/7fefcbc6fb3cfbfb1bb7ba49d58a0f4ab8421181/Resources/Prototypes/Voice/speech_emotes.yml#L401-L407
https://github.com/user-attachments/assets/b75338e1-ca4c-49a4-9853-7fce73eb3285

You can weh whenever you want.

weh doesn't have a chat trigger

I think they mean with the plushie? As in there is an easy way to cause the noise so it would not be as special to roll or may not even be noticed.

i agree, weh is very common (too common now due to loadouts), either from the plushie making the sound, or from the weh juice, so if you get the 1 in 7.5 trillion chance of doing a wilhelm scream, it will just be another weh, and not as noticable / special


feat: Jellyfin/Emby server type setup

Description
This pull request introduces a new server setup for Jellyfin/Emby users. It now mandates the selection of a serverType during the setup process for jellyseerr. Consequently, the previous reliance on an environment variable to define the server type has been deprecated due to its unreliability and hacky nature. This update offers a more dependable and definitive approach to specifying the server type for jellyseerr setup.
Furthermore, there are breaking changes to the API. The media server setup for Jellyfin/Emby users now demands the selection of a serverType (Jellyfin or Emby) during setup, specifically at the endpoint /api/v1/auth/jellyfin
Screenshot (if UI-related)
Setup page during initial load:

Setup Page after selecting Jellyfin:

Setup Page after selecting Emby:

To-Dos

[x] Successful build yarn build
[ ] Translation keys yarn i18n:extract
[ ] Database migration (if required)

Issues Fixed or Closed

Fixes #XXXX

Thank you for this. How can I help you on this and test?

Thank you for this. How can I help you on this and test?

First we need to merge #773. Then this pr will require a refactor to support the new setting schema. Once that's done I'll release a preview tag to test this c:
But for now, you could help us test #773 ;)
(will create a preview tag tonight. Though make sure not to run it on prod, but we want test instances to be done with existing config so duplicate config and test as we want to see if our migration works)

I am using Docker, so what I could do is build the image with your preview tag, spin up a new docker container with a copy of my production config folder, and test that way.

I am using Docker, so what I could do is build the image with your preview tag, spin up a new docker container with a copy of my production config folder, and test that way.

The preview tag will already be built. You'll just have to pull it and try :)

Sounds good, even better. Let me know when that's ready. I assume it is, but do you have the docker tag?

https://github.com/Fallenbagel/jellyseerr/pull/773#issuecomment-2135013667

This sounds great and i'm looking forward to this. it would be enough to get me to switch off of ombi, but why not just go all the way and have support for Emby/Jellyfin/Plex all at once. That's my current setup & that would bring this in line with Ombi's level of support

This sounds great and i'm looking forward to this. it would be enough to get me to switch off of ombi, but why not just go all the way and have support for Emby/Jellyfin/Plex all at once. That's my current setup & that would bring this in line with Ombi's level of support

#100

Let me know when ready to test.

Let me know when ready to test pr image when available. Looks like it's fallenbagel/jellyseerr:preview-jellyfin-emby-server-type

I just published another preview, you can test it with the preview-jellyfin-emby-server-type tag

:tada: This PR is included in version 2.0.0 :tada:
The release is available on:

v2.0.0
GitHub release

Your semantic-release bot :package::rocket:


Inconsistent implementation of custom tags

Any value under the value attribute are referenced to marko objects but the same is not true for custom tags.
<assign var="options" value = "util.getOptions(options, pattern)" />

Custom Tag only accepts $DATA
<ebayui-refit-itemgrid-pattern viewModel = $grid options = $options />

The below code will through an error in marko
<ebayui-refit-itemgrid-pattern viewModel = "grid" options = "options" />

Marko should promote one way of passing variables to support consistency.

The HTML syntax does not allow attribute types to be distinguished (similar to JSON). This is unfortunate, but short of introducing a new language we must live with a separate schema that informs the compiler of the types of each attribute. Alternatively, we would assume that every attribute is a string and for $/${ } to change the type (more typing and ugly).
Therefore, in your example, you would just need to do the following:
{
    "attributes": {
        "viewModel": "expression",
        "options": "expression"
    }
}

If we were willing to depart from an HTML parser, we could create our own HTML-like parser that supports the following:
<my-component number=1/>
<my-component expression=(a + b)/>
<my-component string="hello"/>
<my-component boolean=true/>

If we were to go that route then we would lose syntax highlighting/completion/validation support from existing HTML editors and tools like Emmet.

Closing issue as I don't think there are any short-term actionable items. If you disagree please feel free to add comments.

Hey @pedramphp, please provide comments on the following proposal: https://github.com/raptorjs/marko/issues/90


Upgrade to C++20

We'd like to use some of the new features available in C++20 so we need to upgrade. Actually doing this should be fairly straightforward. Here's the walkthrough:

For cmake we need to update the CXX_STANDARD variable to be 20 instead of 17
For bazel we need to update the cxxopts to include -std=c++20 instead of -std=c++17 in .bazelrc

However, before we do this we should figure out what the minimum compilers versions needed to support C++20 are so that we can document that in the README.

Turns out that clang doesn't support the feature we want to use (std::osyncstream). Since we don't have anything we really need C++20 for I'm going to close this for now until there's a missing feature we really want.


TypeError: WPP.call.offer is not a function

TypeError: WPP.call.offer is not a function

This function is working


Cleanup ImplicitClone related stuff in the examples

Description
What does this PR do?

Use more cheap-to-clone types in the examples
Some examples got impacted by #3453 (the removal of ToHtml), I fixed them so we can use reference where it makes sense (I added a few IntoPropValue on cheap-to-clone types)
Updated implicit-clone to the latest version
Optimized ChildrenRenderer memory allocations by using Rc

Changes did on the side:

In order to get some example working, I had to change NodeSeq to use IArray. This is good because it is more optimized for memory allocations too
Slightly improve the API of VChild to easily get a ref mut inside its properties object (just for convenience!)

Related to #3453
Checklist

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

@kirillsemyonkin now I think the benchmark results look good. Not a big improvement but not a lost either except maybe on the "baseline" but that's probably normal.


Why I can not stop on breakpoint in Dartium, when breakpoint is not in entry point file?

Hi,
I am doing Tour of heroes 2 tutorial. I have this code now: https://github.com/sharikovvladislav/angular2-hero-app
I noticed, that I can not debug onSelect handler in app_component.dart file.
I open app in Dartium. Also, I open DevTools. I set up breakpoint in main.dart file in main function. When I reload page, Dartium stops on the breakpoint. After that, I tried to stop in onSelect handler in app_component.dart file and realized, that Chrome doesn't stop on this breakpoint. Look this line: https://github.com/sharikovvladislav/angular2-hero-app/blob/a4ba11adbb75cd0d33fd184d250b9517cf20866d/lib/app_component.dart#L94. I put info message to console, when onSelect handler fires. I got this message in console, also application works as expected. But Chrome doesn't stop in onSelect handler. Why?

I guess this is the answer http://stackoverflow.com/questions/26822902/breakpoints-in-dartium-not-working
Would be interesting though if this can be fixed in WebStorm so that breakpoints work on code in the packages directory. This is a common pitfall.

Please retry with Dart 1.24.2 Stable (Dartium 50).


Problems running jupyter-fs under jupyterhub

I'm having problems running jupyter-fs under jupyterhub.  I have put the configuration file into /usr/etc/jupyter/jupyter_notebook_config.d but in the startup log I keep getting.  Jupyter-fs seems to work when I run a notebook directly outside of the command line so I'm wondering if there is something involved with jupyterhub and the SingleUserNotebookApp that is causing the MetaManager to not get loaded.
[I 2020-09-05 08:15:54.625 SingleUserNotebookApp handlers:47] jupyter_tensorboar
d extension loaded.
/usr/lib/python3.8/site-packages/jupyterfs/extension.py:35: UserWarning: Misconf
iguration of MetaManager. Please add:
"NotebookApp": {
"contents_manager_class": "jupyterfs.metamanager.MetaManager"
}
to your Notebook Server config.

This seems to work if I put the contents_manager_class into the python configuration file

This isn't really a bug on our part as much as it's a complex interaction between how jupyterhub sets up config paths/priorities and how the juptyer server loads .json config.
This still bears some looking into on our part in terms of suggesting best practices for config/setup of jupyter-fs

I am having a problem with getting jupyterfs to work with jupyterhub. The config entries do show up in the Advanced Settings Editor, but changes do nothing (no new filesystems show up in the UI).
Can you tell me which python config file did you edit?


Two times encoded ViewData.Title titles when using OverwriteTitleOnExactMatch

When you have ViewData.Title title with OverwriteTitleOnExactMatch, then is in your code two times applied _htmlEncoder.Encode(...) method. When you use some word with special chars (ex. Domů), you get wrong display result.

Fixed in 3.5.2! Sorry for the huge delay.


Deprecate class FakeThreadPoolMasterService, BlockMasterServiceOnMaster and BusyMasterServiceDisruption, in 'test/framework' directory

Description
To support inclusive language, the master terminology is going to be replaced by cluster manager in the code base.
In a previous PR https://github.com/opensearch-project/OpenSearch/pull/4051, 3 classes in test/framework directory that contains master in the name were renamed:
FakeThreadPoolMasterService -> FakeThreadPoolClusterManagerService
BlockMasterServiceOnMaster -> BlockClusterManagerServiceOnClusterManager
BusyMasterServiceDisruption -> BusyClusterManagerServiceDisruption

This is a following PR to add back the classes with the old name to keep the backwards compatibility. The classes with the old name will be subclass of the classes with new name, so that maintaining one implementation can support the usage for two classes.
Issues Resolved
A part of issue https://github.com/opensearch-project/OpenSearch/issues/3543
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

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

In build 1154:
REPRODUCE WITH: ./gradlew ':plugins:repository-s3:yamlRestTest' --tests "org.opensearch.repositories.s3.RepositoryS3ClientYamlTestSuiteIT.test {yaml=repository_s3/20_repository_permanent_credentials/Snapshot and Restore with repository-s3 using permanent credentials}" -Dtests.seed=6E2A5FEA088C4585 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=en-US -Dtests.timezone=Pacific/Rarotonga -Druntime.java=17 -Dtests.rest.denylist=repository_s3/30_repository_temporary_credentials/*,repository_s3/40_repository_ec2_credentials/*,repository_s3/50_repository_ecs_credentials/*,repository_s3/60_repository_eks_credentials/*

org.opensearch.repositories.s3.RepositoryS3ClientYamlTestSuiteIT > test {yaml=repository_s3/20_repository_permanent_credentials/Snapshot and Restore with repository-s3 using permanent credentials} FAILED
    java.lang.AssertionError: Failure at [repository_s3/20_repository_permanent_credentials:152]: expected [2xx] status code but api [snapshot.create] returned [400 Bad Request] [{"error":{"root_cause":[{"type":"invalid_snapshot_name_exception","reason":"[repository_permanent:snapshot-one] Invalid snapshot name [snapshot-one], snapshot with the same name already exists","stack_trace":"InvalidSnapshotNameException[[repository_permanent:snapshot-one] Invalid snapshot name [snapshot-one], snapshot with the same name already exists]\n\tat org.opensearch.snapshots.SnapshotsService.ensureSnapshotNameAvailableInRepo(SnapshotsService.java:689)\n\tat org.opensearch.snapshots.SnapshotsService$2.execute(SnapshotsService.java:428)\n\tat org.opensearch.repositories.blobstore.BlobStoreRepository$1.execute(BlobStoreRepository.java:430)\n\tat
...

@kotwanikunal Thanks a lot for your review! 👍

org.opensearch.repositories.s3.RepositoryS3ClientYamlTestSuiteIT > test {yaml=repository_s3/20_repository_permanent_credentials/Snapshot and Restore with repository-s3 using permanent credentials} FAILED
java.lang.AssertionError: Failure at [repository_s3/20_repository_permanent_credentials:152]: expected [2xx] status code but api [snapshot.create] returned [400 Bad Request]
[{"error":{"root_cause":[{"type":"invalid_snapshot_name_exception","reason":"[repository_permanent:snapshot-one] Invalid snapshot name [snapshot-one], snapshot with the same name already exists","stack_trace":"InvalidSnapshotNameException[[repository_permanent:snapshot-one] Invalid snapshot name [snapshot-one], snapshot with the same name already exists]
org.opensearch.snapshots.SnapshotsService.ensureSnapshotNameAvailableInRepo(SnapshotsService.java:689)
org.opensearch.snapshots.SnapshotsService$2.execute(SnapshotsService.java:428)
org.opensearch.repositories.blobstore.BlobStoreRepository$1.execute(BlobStoreRepository.java:430)

Created issue https://github.com/opensearch-project/OpenSearch/issues/4069 to track this


falcon-linux-sensor pre-start job failed because it can't find systemctl to restart the service

When using Crowdstrike v1.3 and other service broker tiles on Cloud Foundry, we tried to remove the old aws broker v1.4.20 tile but delete-errand failed due to pre-start job falcon-linux-sensor. failed. We re-ran the errand manually with keep-alive then ssh on the VM and found below error message in the /var/vcap/sys/log/falcon-linux-sensor/falcon-installer.log -
2024/10/03 05:41:09 Error restarting Falcon sensor service: Could not find systemctl: /usr/bin/systemctl
It looks like the falcon sensor installation worked but just failed because it can't find systemctl to restart the service, however it's still installed, so when we re-ran the errand manually with the same vm this time it passed and succeeded (because falcon sensor was already installed...).
Could you please fix this issue with Crowdstrike in case it might impact other errands? Thanks.

Hello,
Can you provide the OS and OS version that the errand was run on? Also, can you provide the PATH to systemctl on the VM?

Hi @redhatrises ,
The stemcell is light-bosh-aws-xen-hvm-ubuntu-xenial-go_agent-621.969.tgz, OS: ubuntu-xenial, Version: 621.969.
PATH to systemctl on the VM is /usr/bin/systemctl.

Thanks for providing that info. This is fixed in the installer and will be fixed in the next release. Closing.


Image Fix

img {
    max-width: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

Can I add /input/styles/site.css?
https://wyam.io/recipes/blog/themes/cleanblog

/assets/css/override.css

You can use this file to define additional CSS styles. You can also define CSS override styles in this file since it's included after the main Bootstrap and theme CSS files.

Thanks for the fix @jamsidedown


Tab component stopsPropagation on tab element click

What happens?
When you attach your own js events to elements that are used as tab switchers, your events will not be fired.
What should happen instead?
Your events should be executed normally.
Possible Solution
https://github.com/zurb/foundation-sites/blob/develop/js/foundation.tabs.js#L162
Person who did this should be kicked in the nuts until they turn into an omelet, and then some more.
Also, remove all .stopPropagation() code from Foundation source. That smells.
Context
I've spent 2 hours trying to figure out why my $('.tab').on('click') events are not firing.
Your Environment

Foundation version(s) used: 6.2.4
Browser(s) name and version(s): All JS capable browsers are affected
Operating System and version (desktop or mobile): All JS capable browsers are affected

Checklist (all required):

[x] I have read and follow the CONTRIBUTING.md document.
[x] There are no other issues similar to this one.
[x] The issue title is descriptive.
[x] The template is correctly filled.

Hi @alfuken.
I agree with you, this is not a bad practice and we should get rid of it. This is not easy, it requires some cleaning and refactor, but this is something we should go to.
Until then, if you watch for clicks on tabs to detect changes in tabs, you can use the change.zf.tabs event.
I'll try to take care of this this weekend.

@alfuken Fixed in https://github.com/zurb/foundation-sites/pull/11465

Wow, that was fast. Thanks! 👍 Though I don't understand why it wasn't brought up for so long - this piece of code is there since the very beginning, I believe.

This issue has been mentioned on Foundation Open Source Community. There might be relevant details there:
https://foundation.discourse.group/t/foundation-v6-6-1-v6-6-0-breaks-nested-dropdown-menus/1012/3


analysis_getNavigation() handles offset and length arguments incorrectly

According to analysis_getNavigation() docs:
If a navigation region overlaps (but extends either before or after) given region of the file it will be included in the result.
I observe 3 kinds of problems with SDK 1.13.0-dev.7.0:

Regions that do not intersect with requested region are returned.
Region equal to the requested is not returned.
Region that intersects is not returned.

Below are proving screenshots. Red-underlined are offset and length passed to analysis_getNavigation(). You can see that results do not match requested region. All screenshots correspond to a file with content
import 'src/bar.dart';

import "package:foo/lib.dart";

main() {
  inBar;
  inLib;
}

Started.
https://codereview.chromium.org/1405033002
It is OK for getNavigation() to return more information than requested.
But it is not OK to not provide enough information.

Fixed.
https://github.com/dart-lang/sdk/commit/a30bcd7b97c5d4704b27c99ba9cf8d85b527bb83

Merge request for 1.13
https://github.com/dart-lang/sdk/issues/24600


[BUG] Extra space in right side

Description
There is an extra space in the right side which is not looking good.
Screenshots

Any additional information?
The space can be utilised and the UI can be improved.
What browser are you seeing the problem on?
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)
[X] I am a GSSoC'23 contributor

I guess you have raised the PR for it? could you please reference it properly?

No, I have not raised the PR for this issue, I was waiting for the issue to get assigned.

No, I have not raised the PR for this issue, I was waiting for the issue to get assigned.

Okay, you may start working on this issue


Preparing longer sequences with household data

I had a look at pop2vec.llm.src.new_code.preprocess_data.process_and_write
Questions I had

where are the events ordered?
how do we integrate it with the other data?
do we need to create yearly files (as Lucas writes in the email)? do we want start and end dates?

Observations

Age column missing -> we will need background data by year x rinpersoon
there are some columns with NA, such as yearBirthOldestChild, but I think the code deals with this already
I assume the ordering happens in create_life_seq_jsons -> do we need to implement custom logic, or can we just plug them in as additional events?

see create_person_dict.py; line 147 seems to sort events by days since first? -- so we should be able to just dump together the events from household and from existing files?

The format of some variables is not standardized

for instance, daySinceFirstEvent in job_yearly is INT, while it's DOUBLE
rinpersoon is in character in the household files
not all of this may matter, but it creates more work. It may make sense to ask for a standardized output format from Lucas

Need to check

what is time_key? -> see config

@f-hafner We discussed all of the above yesterday.

[ ] There is one thing still needed to be done with the household data from Lucas. We need to break it into begin and end events. Please let me know once it is done.


database

I use another database can one convert files on another basis?

Unrelated to vRP, wait for the release and the forum topic (and a good soul to write some sql scripts).


Fix for "Web Framework Benchmark"

What is the feature you are proposing?
The following benchmark results show a very low score for Hono:
Web Frameworks Benchmark
This is because it is failing to fork the process in pm2.

Only one process is up and running because of a port conflict.

I can think of several ways, anyway we have to resolved it.

I’ve fixed a port conflict issue with the PR: https://github.com/the-benchmarker/web-frameworks/pull/6763 . But it only prevents errors and does not improve performance.
Other Node.js web frameworks such as Fastify are clustered using pm2. However, the Hono apps that run on top of bun are just forked. Since this benchmark only accesses port 3000, there is no point in forking. So I don't think it makes sense to use pm2.

Hono just added node:cluster support https://github.com/oven-sh/bun/issues/2428#issuecomment-2295156240