Add KubeVirt chart to incubator

KubeVirt is a virtual machine management add-on for Kubernetes. The aim is to provide a common ground for virtualization solutions on top of Kubernetes.

@cynepco3hahue Please consider basing your work on kubevirt/kubevirt#560. With this PR most variables will be dropped from the manifests.
The purpose of that PR is to drop some variables, but also separate the inner setup from inbound access.
So, once you have deployed these manifests, a user then sitll needs to setup a service or ingress to allow inbound access to (at least) the spice-proxy, if spice access is required.

@rmohr @fabiand Thanks for review, I will continue working on this PR after we will establish our KubeVirt manifests, I hope it will be done on the next week

Marking stale. Please update within one week.

@rmohr @fabiand Can you please review again? :smile:

I'd wait until we have more deployment problems fixed on the KubeVirt side before we publish a chart.
I'm worried that deployments will fail more often than they will work, and that's not so nice.

@fabiand I hope I will have time on this week to check it on my k8s environment

Closing as stale. Feel free to reopen if/when you get a change to work on this again.

@cynepco3hahue do you have time to rebase this pr on the new manifests part of releases, as seen here: https://github.com/kubevirt/kubevirt/releases/tag/v0.1.0-alpha ?

@fabiand Sure I will do it

@cynepco3hahue do you have plan for commit this to kubevirt repo or other?

@Hokwang No currently I do not have plans to commit anywhere, I know that KubeVirt team had some plans regarding to helm chart, you can check under https://kubernetes.slack.com/?redir=%2Farchives%2FC8ED7RKFE channel.


Overflown tabs visible when opening tab options

Opening the tab options changes the tab groups overflow property to visible so that the tab options menu can be seen. However, this causes any extra tabs in the group that should be scrolled to, to become visible as well.

#152 fixes this issue.


[Feature request] Show post count/page count

As of now, there is not a way to determine how deep I have been browsing. Is it possible to show a serial number for the posts?

I think post count can be displayed relatively easily, but not sure about page count, as you can scroll down post-by-post, and you can't really define "pages".

I agree. Just the post count would make browsing more manageable. I would just like to see how deep I have been browsing.

:+1: Sounds like a good idea. I don't think that the serial number is explicitly returned by the api, but it would be easy enough to generate ourselves. Where do you think it would be best to display?
Before the title
 1. Warner Bros.' 'Pan' Could Lead to $150 Million Loss
 http://www.hollywoodreporter.com/news/warner-bros-pan-could-lead-831412
 4352 pts • 5hr 1844 comments
 baconandpizza /r/movies News

or somewhere else
 Warner Bros.' 'Pan' Could Lead to $150 Million Loss
 http://www.hollywoodreporter.com/news/warner-bros-pan-could-lead-831412
 1 • 4352 pts • 5hr 1844 comments
 baconandpizza /r/movies News

Before the title looks better. There are already too many numbers on the third line, it'd look cluttered in my opinion.

Added in d52f5747463645cc5e520daf9c40d08db43c84d8.


As a developer, I want to optimize the AI endpoints, so that they can be more robust

Acceptance Criteria:

[x] Enhance the efficiency of AI endpoints to reduce response time.
[x] Implement error handling mechanisms to gracefully handle unexpected input.

Demo Steps:

Measure and record the current response time of AI endpoints.
Optimize the AI algorithms and configurations for faster execution.
Implement robust error handling to gracefully manage unexpected inputs and provide meaningful error messages.

Potential Risks:

[x] There is a risk of introducing new bugs or issues during the optimization process.
[x] Optimizing algorithms may lead to a trade-off in accuracy, requiring careful testing and validation.
[x] Increased load could reveal scalability issues that need to be addressed.

Technical Notes:

[x] Ensure that the error handling mechanisms cover a wide range of potential input scenarios.

Risks

Testing was done to identify/fix any bugs introduced during the refactoring. It remains possible that more bugs will be identified after integrating the ai endpoints with the frontend.
Optimizing the algorithm involved removing the speaker tags for the transcription. This saves an enormous amount of time, but makes the chat responses potentially less accurate when it comes to certain prompts.
The ingestion+chat AI services rely heavily on openai's api, therefore it is not resource intensive, however the tts service is very resource intensive. Therefore it might be a good idea to limit the duration of generated voice samples.


Increment bhmm to 0.3.0; fix bhmm weirdness

Still debugging this.

Is it OK that appveyor failed?  It looks like the issue is that openmmtools was not found in the win-32 channel.

yeah, that's fine. the appveyor thing still isn't 100%.


Purchase Plug-in How we can use?

I am working on an app, where I need an in-app purchase. So, that users can buy the content. we have the csp URL that gives me the asset id and all. but after that what i need to do, or can someone has an example of Purchase Plug-in. it would be very helpful for us.
Thank you

@googleboy0 this is not very well documented. Sorry for that.
There are two ways of doing this.

Implement using configuration and using the buy  function. see https://lightningjs.io/docs/#/lightning-sdk-reference/plugins/purchase?id=setup and https://lightningjs.io/docs/#/lightning-sdk-reference/plugins/purchase?id=buy

Implement the important parts manually.

CSP generates a secure payment object by signing the package with a SHA256-HMAC (secret can be generated on the Metrological dashboard)
Send signed payment object to Metrological billing server via payment function. See https://lightningjs.io/docs/#/lightning-sdk-reference/plugins/purchase?id=payment
Metrological billing server responds with a signed receipt. (If approved)
App updates the CSP of the purchase
App confirms the Metrological billing server that transaction has been completed using the confirm function. See https://lightningjs.io/docs/#/lightning-sdk-reference/plugins/purchase?id=confirm

If you need any further assistance or documentation of the payment object spec you can reach out to me directly<EMAIL_ADDRESS>


⚠ Bofrost.at has degraded performance

In 8d4abe3, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1864 ms

Resolved: Bofrost.at performance has improved in 8a4a417.


Add Erlang/OTP v. Ubuntu compatibility list

Closes #7.
While this addition does not solve the SSL issue it nonetheless closes the reference, since the compatibility issue is out-of-scope for the GitHub Actions (albeit documenting it).
@ericmj, should a new issue be opened next to the project creating the Erlang/OTP builds for ubuntu-18.04?

should a new issue be opened next to the project creating the Erlang/OTP builds for ubuntu-18.04?

Yes.

should a new issue be opened next to the project creating the Erlang/OTP builds for ubuntu-18.04?

Yes.

https://github.com/hexpm/bob/issues/82


npm publish fails

It would be nice if this registry could forward/proxy publish commands to the main registry.

Command failed: npm publish
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "publish"
npm ERR! node v6.4.0
npm ERR! npm  v3.10.3
npm ERR! code ENEEDAUTH

npm ERR! need auth auth required for publishing
npm ERR! need auth You need to authorize this machine using `npm adduser`

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/zeke/zeke/electron-docs-linter/npm-debug.log

Adding an .npmrc file to the root of your project with something like the following might help
registry=https://my-thing.herokuapp.com

for scoped packages you can also add
@scope:registry=https://my-thing.herokuapp.com

This is a slightly different use-case than what I designed npm-register to be—to have private packages as well as public ones.
I'd be willing to make this configurable somehow. Maybe also with the configuration to solve #1. I'm not sure what that would look like right now though.

Seems this was addressed in #62 . Closing out.


Add ability to exclude files/directories

Description
One of the major performance hits on Docker Desktop for macOS and Windows is the file sync performance. This add's the ability to exclude directories (and files) from being bind mounted from the host OS to the container in an effort to improve Docker for Desktop performance. Linux users might not see a performance hit, but it should help with file permissions on things that need to be writable in the container (e.g. storage, vendor).
We will need to test to verify performance improvements on macOS and Windows but this should help alleviate some negative performance impacts.
This does mean that if the storage and vendor directories are excluded, the user must manually create those in the container using nitro ssh <sitename>.
For now, the best way to add excludes is to add it manually using nitro edit and update to reflect the directories or files tp exclude:
  - hostname: europa.nitro
    path: ~/dev/demo-europa-museum
    version: "8.0"
    webroot: web
    xdebug: false
    blackfire: false
    excludes:
      - vendor
      - storage

Note: There is no UI to add/edit the excludes but perhaps we could prompt the user during nitro add?
Related issues
#391
#409
TODOs

[x] Update the match logic to check for new files or directories during nitro apply
[ ] Consider adding inline docs (links?) to note the "problems" when excluding specific directories (e.g. white page when excluding vendor and Storage is not writable by PHP when storage is excluded (@mattstein))

@angrybrad this is ready for review - we are not adding the exlcludes functionality during nitro add and should instead document under advanced usage if/when its needed.

Updated the PR description with some benchmarks using the starter blog.

just pushed the flag to add and create.. LGTM!


URL translations in the new angular 2 router (@angular/router 3.0.0-beta.2)

Hello,
Does anyone know if is possible to have the URLs translated somehow? I've read the question here https://github.com/ocombe/ng2-translate/issues/40, but in the new router, the routes are defined in a constant, and I don't think that this method works.

Hey,
Was also curious to know a possible solution for this.

Hello, there is a new method that lets you update the router urls in the router rc1, you could use that to update the urls once the translations have been loaded.

@ocombe  what is this new method, can you do plnkr to demonstrate please

I'm not sure, I haven't used it, but I think I saw someone talk about it on an issue on github (on angular/angular)

hm

Hey guys, you can try https://github.com/Greentube/localize-router that was just released by @meeroslav :)

Also check @nglibs/i18n-router, supports lazy routes as well.

@Ocombe merge it with official one
Cc @meeroslav


headers: warns on first duplication of header

Limits to 64 the number of total repetitions
Drops headers contents afterwards
Adds header_repetitions field to htp_tx_t
Modifies #209
Adds a log message  "Excessive header repetitions"

Merged in #212, thanks!


syntax highlighting: URL underlining scope

In URLs like
\url{https://one2three}
\href{https://one2three}

underlining extends from the https through the one but then stops there.
(I am very pleased to see this Nova extension available — thank you!)

This seems to happen because 2 is highlighted as a number and therefore breaks Nova's URL detection. Currently, \url \href etc are not specifically recognized by the grammar. There are two possible ways to fix your issue:

recognize URL-carrying commands and disable number highlighting there
disable number highlighting outside math mode if number is without unit (em/ex/cm etc).

The second option seems to be the better one since the current feature of number highlighting hits a high number of false positives (any decimal digit in text basically). However 2em in an URL will then still stop URL recognition, so ideally both tasks should be implemented.
I'll look into this in the coming days.

Alternatively, you could just disable number highlighting completely? Or, disable it outside math mode?
I am not used to seeing number highlighting, but perhaps it is useful in some way for you/others.


'WSGIRequest' object is not callable

in django 2.0 this type of erro generate in
return request(request,'signup.html',{'form':form})
this line
please give me a solution as soon as possible
Thanks ....

'WSGIRequest' object is not callable


Add language.html and command.html to docset search index

It would be great if the Language Specification and The Elvish Command would be included in the search index of the generated docset. When using Dash, unless I enable full-text search I cannot access these two pages as they are not in the index.
These two pages could have the Guide entry type, and each heading in the page could have the Section type.

How are you generating the Dash docset? What command(s) are you running? What "index" are you referring to?  Since the language spec and command ref documents are in the same directory as the other reference documents, and are fundamentally formatted the same way, it seems odd they don't appear in the (Dash?) docset index.

I'm using the generated docset available on the website.
I'm referring to the SQLite index (Elvish.docset/Contents/Resources/docSet.dsidx), which needs to be populated with values (doesn't automatically contain all HTML files present).
The database is populated here: https://github.com/elves/elvish/blob/4350ad48b1bb798068ec6a01f149382cd0607e2f/website/tools/mkdsidx.py#L22-L32
The dashAnchors in the HTML for variables and functions are generated here: https://github.com/elves/elvish/blob/4350ad48b1bb798068ec6a01f149382cd0607e2f/website/cmd/elvdoc/main.go#L157-L210
And for modules (@module macro):
https://github.com/elves/elvish/blob/4350ad48b1bb798068ec6a01f149382cd0607e2f/website/cmd/macros/macros.go#L80-L81

I didn't notice when the project owner added that file six months ago. It's not clear to me why website/tools/mkdsidx.py is being used to generate the SQL statements that create the index rather than using the Dash toolchain to simply index the entire website directory after generating the HTML files.


GNUInstallDir Enhancements in build scripts

Summary of proposed changes:

Enhanced GNU Install Dir usages
Updated GNU install LIBDIR CMAKE flag default value in build scripts.

As there are open discussions regarding this change proposed and plans, Moving this changes back to WIP (draft)

As per design reviews, alternative approach was recommended for the proposed changes across all modules. Hence for now this PR we are closing. Will be updating/proposing with new changes once ready. Thanks for the reviews/comments provided.


add Language.glottocode

Related Issue

closes #407

Description

Adds new glottocode field and adds a notice that the old glottolog field will be removed in v2.0.

Changelog

NEW: Language.glottocode
CHANGE: deprecate Language.glottolog

Pull Request Checklist

[x] Open an issue for the change, if one is not open already. NOTE: It is a good idea to wait until your suggested change is approved by a maintainer before writing any code.

[x] Make changes to the schemas or code. The schemas are located in /schemas/yaml. Do not update the schemas in schemas/json, or your changes will be overwritten.

[x] Update the "description" field of any schemas / properties that you change.

[x] Update examples in the affected schemas to reflect the changes you made.

[x] Build the project (npm run build)

[x] Run the tests (npm test) and fix issues that arise. If you find an issue that is unrelated to the one you are working on, open a new issue for it.

[x] Update the project documentation (README.md, CONTRIBUTING.md, etc.) to reflect the changes you made, if applicable.

[x] Build the project documentation (npm run docs) and then inspect it for your changes (open docs/index.html)

 [format] Language.glottocode


Rate reviews feature

Hi all -- chunky release. Now users can rate each review per course:
https://github.com/MyMCIT/MyMCIT/assets/13663360/7fb2130f-3636-4c49-ba2b-24e30c24ecfb
I've already made the requisite changes to the Postgres data schema, namely

Added positive_votes, negative_votes, net_votes to Reviews table
Created the ReviewVotes table so per user, can track their up and down votes

Addresses this issue: https://github.com/MyMCIT/MyMCIT/issues/36

Btw -- implemented Marie's suggestions. Added dropdown where you can filter by Most Recent or Highest Vote Score:
https://github.com/MyMCIT/MyMCIT/assets/13663360/7d1b8d2e-6ad8-41dd-9adc-2261be97bba4
Also added some minor tweaks:

Green is lighter on dark mode so it's more visible to read.
Added Vercel analytics tracking of which filter is most popular to decide which one to set as default
Added Vercel analytics for voting, with voting result.

Note: We have decided to hide the downvote button and deploy directly to main for beta-testing.


create_csv_agent in agents

What is the default Openai model used in the langchain agents create_csv_agent and how about if someone want to change the model to GPT4 .... how to do this... Thank you

I believe the default is "text-davinci-003". You can change the model by specifying it in the parameters. I modified an example from the documentation below.
agent = create_csv_agent(OpenAI(temperature=0, model_name='gpt-4'), 'titanic.csv', verbose=True)

Hey, here with a different question:
I changed the model, adding either gpt4 or gpt-3.5-turbo. But now my agent doesn't work well.
Without modifying the model_name, it can manage to get the answers right from the csv, but with gpt4/3 the agent doesn't ge to the second thought.
Have you experience something similar?

Hello,
I have a question on similar lines. I am new to Langchain so pardon me if my question is silly.  I am working on to create Custom Agents. I want to know the list of tools used inside of 'create_csv_agent' agent. If anyone can help out, do let me know. I want to modify a specific tool which can generate any plot when asked.

Hey, here with a different question:
I changed the model, adding either gpt4 or gpt-3.5-turbo. But now my agent doesn't work well. Without modifying the model_name, it can manage to get the answers right from the csv, but with gpt4/3 the agent doesn't get to the second thought.
Have you experience something similar?

Hi @Adorp94 ,
I haven't faced issue like yours. Need to give it a try. Are you talking about the model hallucinating in some way. If yes, I have seen that happening. But I believe that of we want an answer of our expectations, we got to consider 2 factors -
A) The way we define our tools
B) The way we give our Prompts.


Support for drawable in SelectBox

Issue details
Whe I use SelectBox, I see SelectBox support generic type which make me surprise that I can use some drawables or images in SelectBox. However when I dig it deeply, I found SelectBox only support textual elements, any other class from generic type will be converted to String in List class. I want to implement a SelectBox which can select different color NinePatchDrawable, but SelectBox can't make it. Maybe there is no need to support generic type in SelectBox, because SelectBox can only show textual elements. Any thoughts about add more support for SelectBox since it already support Generic type.
Reproduction steps/code
Version of libGDX and/or relevant dependencies
1.12.0
Stacktrace
//Please provide the stacktrace if applicable

Please select the affected platforms

[x] Android
[x] iOS
[ ] HTML/GWT
[ ] Windows
[ ] Linux
[x] macOS

This is requested fairly often, though I'm not sure if there's been an issue already. It does seem odd to me that SelectBox is so limited, since I see dropdowns with icons wherever I look; for instance, in IDEA:

It's a poor workaround, but you can have icons in your font today, if you jump through some hoops to add them as specific characters. They can even have full color and alpha. I think AngelCode BMFont (the first program to support the .fnt format libGDX uses) has a menu item to add images to a font. If the font has icons in it, you can use those icons in a Label, and it's still technically all textual.
I'm not at all familiar enough with scene2d.ui to know why this limitation exists, but there should be some way (added?) to avoid being limited to text-only. I don't know how hard it would be.

This is requested fairly often, though I'm not sure if there's been an issue already. It does seem odd to me that SelectBox is so limited, since I see dropdowns with icons wherever I look; for instance, in IDEA:
It's a poor workaround, but you can have icons in your font today, if you jump through some hoops to add them as specific characters. They can even have full color and alpha. I think AngelCode BMFont (the first program to support the .fnt format libGDX uses) has a menu item to add images to a font. If the font has icons in it, you can use those icons in a Label, and it's still technically all textual.
I'm not at all familiar enough with scene2d.ui to know why this limitation exists, but there should be some way (added?) to avoid being limited to text-only. I don't know how hard it would be.

I just checked the List source code file, it is not very hard to implement draw items as drawable rather than font. You can check the drawItem method in List.java file. I haven't try it, maybe it is hard. At least the List class should provide some interfaces to help developer scale its feature.

I just tried implement a poor workaround and it works well in my project😄. I just create new class extended from SelectBox and SelectBoxScrollPane classes and override some functions to hack it to make it support drawable. I hope my workaround can help someone else who has same issue or give someone a hint to add a new PR either by me or you to support this feature. Here are my code in Kotlin.
import com.badlogic.gdx.graphics.g2d.Batch
import com.badlogic.gdx.graphics.g2d.BitmapFont
import com.badlogic.gdx.graphics.g2d.GlyphLayout
import com.badlogic.gdx.scenes.scene2d.ui.SelectBox
import com.badlogic.gdx.scenes.scene2d.utils.Drawable

class DrawableSelectBox<T: Drawable>(style: SelectBoxStyle?) : SelectBox<T>(style) {

    override fun drawItem(
        batch: Batch?,
        font: BitmapFont?,
        item: T,
        x: Float,
        y: Float,
        width: Float
    ): GlyphLayout? {
        item.draw(batch, x, y + style.listStyle.selection.topHeight - style.listStyle.font.descent - scrollPane.list.itemHeight + 4f, width, scrollPane.list.itemHeight - 8f)
        return null
    }

    override fun newScrollPane(): SelectBoxScrollPane<T> {
        return DrawableSelectBoxScrollPane(this)
    }

}

import com.badlogic.gdx.graphics.g2d.Batch
import com.badlogic.gdx.graphics.g2d.BitmapFont
import com.badlogic.gdx.graphics.g2d.GlyphLayout
import com.badlogic.gdx.scenes.scene2d.ui.List
import com.badlogic.gdx.scenes.scene2d.ui.SelectBox
import com.badlogic.gdx.scenes.scene2d.utils.Drawable

class DrawableSelectBoxScrollPane<T: Drawable>(selectBox: SelectBox<T>?) :
    SelectBox.SelectBoxScrollPane<T>(selectBox) {
    override fun newList(): List<T> {
        return object: List<T>(selectBox.style.listStyle) {
            override fun drawItem(
                batch: Batch?,
                font: BitmapFont?,
                index: Int,
                item: T,
                x: Float,
                y: Float,
                width: Float
            ): GlyphLayout? {
                item.draw(batch, x, y + style.selection.topHeight - style.font.descent - itemHeight + 4f, width, itemHeight - 8f)
                return null
            }

            override fun toString(t: T): String {
                // Rewrite this function to assign new width to item
                return "1234"
            }
        }
    }
}

Here is the code how to use it.
val colorSelectBox = DrawableSelectBox<NinePatchDrawable>(mapTypeBoxStyle)
colorSelectBox.items = colorRectDrawables


Introducing AIOS Guru on Gurubase.io

Hello team,
I'm the maintainer of Anteon. We have created Gurubase.io with the mission of building a centralized, open-source tool-focused knowledge base. Essentially, each "guru" is equipped with custom knowledge to answer user questions based on collected data related to that tool.
I wanted to update you that I've manually added the AIOS Guru to Gurubase. AIOS Guru uses the data from this repo and data from the docs to answer questions by leveraging the LLM.
In this PR, I showcased the "AIOS Guru", which highlights that AIOS now has an AI assistant available to help users with their questions. Please let me know your thoughts on this contribution.
Additionally, if you want me to disable AIOS Guru in Gurubase, just let me know that's totally fine.

Hi @evison,
I’d like to update you on the release of the Maintainer Panel feature on Gurubase. With this panel, you can add, remove, or update data sources, as well as change the logo and more. You can find the details here.
In the near future, I’m planning to include analytics insights in this panel, such as the number of questions asked, the most frequently asked ones, and more. I’ll be sure to update this thread once it’s available. However, in case I miss it, I highly recommend joining our Discord channel to stay updated.
If you’d prefer that I don’t update this thread anymore, please let me know.


Camera doesn't close on dispose

When the CameraAwesomeBuilder widget is disposed, the underlying camera session is not being closed. This causes performance issues in the app after using the camera. I am using version 1.0.0 from the master branch.

Thank you reporting it.
We are going to take a look at it. 👌

This is the builder I'm using. I have a custom layout widget CameraOverlay with simple buttons for flash mode and camera sensor switching.
CameraAwesomeBuilder.custom(
  initialCaptureMode: CaptureModes.PHOTO,
  availableModes: const [
    CaptureModes.PHOTO,
  ],
  picturePathBuilder: (captureMode) => _path(captureMode),
  videoPathBuilder: (captureMode) => _path(captureMode),
  builder: (cameraModeState) => CameraOverlay(
    cameraState: cameraModeState,
  ),
  progressIndicator: const Center(
    child: Icon(
      Ionicons.camera,
      size: 50,
    ),
  ),
  exifPreferences: ExifPreferences(saveGPSLocation: false),
),

When the CameraAwesomeBuilder widget is disposed (ex. when the camera page is closed), the camera session stays on as indicated by the green dot in the status bar on Android.
It looks like an issue with the internal start/stop state management within the package. The state isn't correctly set as started when a camera session begins and therefore the close method doesn't run. I created a quick fix for this issue in my fork: https://github.com/itsMatoosh/camera_awesome. Please take a look.

This was fixed in the latest commits, thanks!


Encapsulate the reply in an event object

When the whole event is used, only the @data portion of the event object is passed via 0MQ. Going on the premise that the 0MQ server should return the same object type that it receives, the reply needs to be encapsulated in an event object in order for the overwrite method to be successful.

Jenkins standing by to test this. If you aren't a maintainer, you can ignore this comment. Someone with commit access, please review this and clear it for Jenkins to run; then  say 'jenkins, test it'.


Minor typos in documentation

There's a placeholder ticket in JIRA https://issues.apache.org/jira/browse/STORM-2088
Two minor typos in the "Guaranteeing Message Processing" documentation.
Thanks
Bruno

+1

+1 Nice.


Fix typo - readd waagent to command

It appears that "waagent" was removed from part of the command here, which would explain why my VM wasn't provisioning.

#sign-off

@srijang
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Added docs for is_fresh and updated screenshot

#228
Added documentation for how is_fresh can be used.

The updated screenshot has input_redundancy and input_batch_count in the same project settings, because godot 4.1 doesn't hot-reload a plugin's variables, so a rename shows the same variable 2 times in 4.1 until you reload the project
As for is_fresh, I think it triggers only once a (rewindable) node starts rollback, so for activating weapon SFX, it works only if you place it on the projectile itself
Example code of forest brawler
func _rollback_tick(delta: float, tick: int, is_fresh: bool):
	# Respawn
	if tick == respawn_tick:
		_snap_to_spawn()
		velocity = Vector3.ZERO
		last_hit_tick = -1

		if is_fresh:
			GameEvents.on_brawler_respawn.emit(self)

Good catch @TheYellowArchitect . Screenshot updated!
is_fresh is definitely always true when a tick is first processed as its set and emitted from _process_tick.
flow is here: https://foxssake.github.io/netfox/netfox/guides/network-rollback/
I did some testing on both a single and multi client game and they worked as expected.
Observed by adding a log line at the start of a rollback tick function
print("peer: ", str(multiplayer.get_unique_id()), " - node: " ,name, " processing tick ", str(tick), " is fresh " , str(is_fresh))

Added a minor commit, wrapping docs to 80 chars. I'll have to document this convention somewhere :slightly_smiling_face:
Not approving yet, due to the naming thing with #252

@elementbound removed the screenshot on this one to unblock

@albertok kudos!


Feature: Access Sass Variables within Javascript

Currently when we want to access a Sass variable within JavaScript, we add it to a CSS variable and retrieve using getPropertyValue('--var'). Now that we're SSR'ing, we are only able to access these variables on the browser side. Due to this limitation, this feature adds the ability to import sass variables directly in our JavaScript files that works on server side.
Caveats:

Requires overwriting a cssLoader option. (https://github.com/vercel/next.js/issues/11629)
Scss export file is required to be a .module.scss otherwise NextJS will throw error (https://github.com/vercel/next.js/blob/master/errors/css-global.md).

This is nice. I have one question. Can Sass Variables be dynamic? You know that CSS Variables can be retrieved and updated in JS side when needed.

I dont think so. In that scenario, css vars would be more ideal, or toggling a body class with JS and targeting body:global(.class) & {} within components to update styles dynamically.
This is mostly for server side rendered html that is dependent on variables from sass. One example, in Toyota, we used sass variables from our grid system (column width, gutters, max width, breakpoints, etc.) to generate <img> sizes for srcset.

@artemleznikov @DonghyukJacobJang agreed that css vars has its place in certain scenarios but for static things like layout/breakpoints this new approach is perfect.
Very helpful framework extension.

@artemleznikov thank you so much! My problem has been fixed by using naming convention rule, the second caveat :)


Unable to pass database name for the Shedlock-neo4j-provider

shedlock-spring:4.33.0
shedlock-provider-neo4j:4.33.0 (same result with newest provider version)
ShedLock configuration

@Bean
Neo4jLockProvider lockProvider(Driver driver) {
    return new Neo4jLockProvider(driver);
}

Shedlock-neo4j-provider works only with default database.
No way to pass the database name for this provider.

Implementation for getting Session in Neo4jStorageAccessor looks like:
Session session = driver.session();

I propose to add an additional parameter to the constructor (databaseName)
    public Neo4jStorageAccessor(@NonNull Driver driver, @NonNull String collectionName, @Nullable String databaseName) {
        this.collectionName = requireNonNull(collectionName, "collectioneName can not be null");
        this.driver = requireNonNull(driver, "driver can not be null");
        this.databaseName = databaseName;
        createLockNameUniqueConstraint(driver);
    }

and move to a separate method getting the session depending on the database name,
for example
private Session getSession(Driver driver) {
        return StringUtils.isNotBlank(databaseName)
                ? driver.session(SessionConfig.forDatabase(databaseName))
                : driver.session();
}

Expected behavior
The provider can work with any database, and the database name can be specified to work with a non-default database.
Actual behavior
The provider works only with the default database and no other database can be provided.

Hi, thanks for feedback. Can you please provide a pull-request? Thanks


What happens if two writers to object storage run at the same time?

What happens if two sunlight instances write to object storage run at the same time? Only one instance will be able to advance the true head of the tree using the signed tree head compare-and-swap. But what happens to the (partial) tiles they write? It seems to me that two writers might overwrite each others’ files.

Indeed, the losing writer might still overwrite the data tile of the winning writer. This is bad, but as long as the old data can be recovered, it's not fatal (unlike signing two incompatible views of the tree).
For S3, we recommend running with object versioning enabled. I forgot to mention this in the README. For backends that support it (currently only Tigris), we use If-Match headers to avoid overwriting. See https://github.com/FiloSottile/sunlight/commit/1046953b7f2e6e9b038859f43e5375219a7639de.

Automatic recovery from crashes is a design goal and something that I believe the current implementation provides. It’s even moderately well tested because the sequencing fails out on timeouts, and those do tend to happen.
Can you describe a crash scenario that is not automatically recovered?

Thank you for elaborating, this is very useful!
#12 is definitely something I overlooked while adding the If-Match, thank you.
#13 is something I worried about and it's part of why the compare-and-swap mechanism exists. From the design doc:

The compare-and-swap backend also helps relax the criticality of the object storage consistency guarantees. For example, Amazon recommends hedging requests to reduce tail latency: if a request is taking too long, fire off a second identical request in parallel, and cancel one when the other succeeds. This is fine if cancellation is effective, but what if it isn’t? Then the “losing” request might succeed later, in theory even after a subsequent checkpoint was uploaded, rolling it back. (Or, more mundanely, operational error might lead to recovering object storage from a backup.) If the node were to restart during this rolled back state, the tree would fork if it didn’t have the compare-and-swap backend to load the correct STH from.

However, I also think it's fundamentally unfixable: if a request that timed out in the past is to be considered concurrent with all future ones, any object might rollback at any point in the future.
The good news is that at a closer reading of the S3 Consistency Model I think it's actually not allowed to happen.

Amazon S3 internally uses last-writer-wins semantics to determine which write takes precedence. However, the order in which Amazon S3 receives the requests and the order in which applications receive acknowledgments cannot be predicted because of various factors, such as network latency.

https://docs.aws.amazon.com/AmazonS3/latest/userguide/Welcome.html#ConsistencyModel
In our case, the request either timed out before reaching S3, in which case it can't succeed, or after, in which case it has an earlier internal timestamp and will lose to A2.
I think #13 is either impossible or incredibly rare, and difficult to protect against, so manual recovery is ok.

A delay anywhere in the path between PutObject in the SDK and the final write internally in S3 could cause the behavior in the test, I think, and the timeouts and sequencing interval are small enough (5 seconds, 1 second) that I could see this race happening.

I don't think that's right, the test violates last-writer-wins semantics.
The S3 docs point out correctly that usually you can't rely on them because you don't know if a request had a delay before or after it reached S3, but in out case we know that either it reached S3 before the next request (in which case it will lose last-writer-wins) or it never reached S3 (in which case it can't succeed). That's because we don't ever sequence concurrently, so we stop sending a request before starting a new one.

Anecdotally, I have seen S3 latency do weird things, and the AWS documentation does mention retrying after latency of either 2 or 4 seconds.

Indeed, the Backend implementation races a new upload after 75ms, and that helped tail latency quite a bit.

I do not agree the problem is unsolvable: Changing the commit protocol to not write the immutable files until the lock has been updated would prevent this problem, at the cost of some complexity and more S3 operations. Perhaps still worth it? I don’t know how sensitive to the extra cost or complexity operators will be.

I assume you mean

A. update the checkpoint in the LockBackend
B. upload the tiles to the Backend
C. upload the checkpoint to the Backend

If a crash happens between A and B we'll have to rollback the LockBackend, which means a inconsistent tree was signed, even if not published, which I am uncomfortable about.
I also don't think it solves the problem (assuming it exists). Imagine a crash that happens due to a timeout during B. The old tile upload becomes a zombie that happens to succeed 10s later. The writer restarts, discards the new checkpoint in the LockBackend (because it doesn't have all the tiles it needs to resume from there), sequences a new set of tiles, and then the zombie succeeds and overwrites them.


Bump version manually

Manually bumping version to 0.1.361.

New release after this will be 0.1.362


C# linux installation is too complex

We definitely don't want an apt-get install step followed by something else.
Prefer packaging everything as a nuget package.

I have made some changes that may be relevant #4522
It had crossed my mind to hard-link the elf version of libgrpc_csharp_ext in the same way the 32 bit version was, and now, to follow suit, the 64 bit version is in the referenced pull-request.  The drawback is that hardlinks don't permit debug vs release versions.  For Bigtable.NET I created a targets file which selects the correct version from grpc as a submodule using scripts to get everything built.  A targets in the nuget of Groc.Core could relieve me of the excessive submodule build scripting prerequisites, and if this is merged, allow me to drop the submodule in favor of nuget.

This is currently being worked on. The most important PR has already been merged: https://github.com/grpc/grpc/pull/4730.

It is now possible to generate new nuget packages using jenkins. The new packages should work out of the box on Windows, Mac and Linux without a need to preinstall anything. Closing this umbrella issue and will track minor things that need to be finished separately.


[BUG] ui bug in the search page (contents has overflowed and broke the ui page)

Description
The ui page on search is broken on mobile devices
Please describe the Bug in detail.
The ui page on search page is broken on mobile devices proper overflowed are not set and due to that content is being overflowed and breaking the page
Expected Behavior
the page should be fully responsive on mobile devices
What should happen?
Actual Behavior
What happens instead?
the page gets broken in mobile devices
Screenshots (if applicable)
broken ui page

Add screenshots or other media to help explain the issue.
Additional Information
Add any other context or information about the issue here.
can you add the hacktoberfest label and assign me this issue

Hi @muhammedsirajudeen, I believe I have resolved this issue. Could you please verify it once?

@JavidSumra Yep its resolved 👍


rlp import error

Description
Program breaks on startup with:
from rlp.utils import decode_hex, encode_hex, ascii_chr, str_to_bytes

ImportError: cannot import name 'decode_hex' from 'rlp.utils' .../python3.9/site-packages/rlp/utils.py
How to Reproduce
Install mythril with pip.
Analyze any contract:
myth analyze StaxLPStaking.sol

Expected behavior
Program works.
Environment
Arch Linux, Python 3.9.17.
myth version fails to run but Pip says mythril==0.16.26
solc 0.8.0, solc does not matter here
Additional Environment or Context
Installing rlp==0.6.0 which "solves" the above problem, but then mythril just prints the usage/help/manual page and does not analyze anything, regardless of whatever you try to analyze.
Any ideas? Should I just use docker?

pip installed an old version for some reason, solved by installing mythril==0.23.24


Move testing to use Overflow

Issue to be solved
The tests in this repo aren't using either of the main testing libraries out there (overflow and flow-js-testing). Given that this repo's tests are in Go, I'd like to get tests moved to overflow.
https://github.com/bjartek/overflow

I would like to get the tests moved to overflow also, but it hasn't really been a priority yet. Bjarte was kind enough to provide some examples for how it might work though, so we might be able to do it sometime soon.

I would like to get the tests moved to overflow also, but it hasn't really been a priority yet. Bjarte was kind enough to provide some examples for how it might work though, so we might be able to do it sometime soon.

Great to hear there's some interest internally about revamping the unit test frameworks being used! Any chance provided examples can be attached if they aren't on the overflow github in case I find the time to start moving things over?

This might be it!
https://github.com/bjartek/flow-nft-overflow

Yes, that is it. If you're interested in helping, you're welcome to make a PR. My only desire is that we keep all the non-cadence stuff in the lib/ directory if possible. If nobody else gets to it soon, I'll probably try to work on it in a few weeks

We decided to use flow-js-testing for this in this PR, so we won't be using overflow in this repo for now. I'll look into using it in other repos though


Reports error for Object Destructuring assignment with default arguments in esnext mode

With "esnext": true in my .jshintrc, the following code is incorrectly reported to be an error by jshint:
function foobar({someProperty = 10} = {}) { // <-- error here
    // baz
}

The error reported is:

Expected ',' and instead saw '='

However, this a combination of object destructuring and default arguments and is valid ES6. A similar example is listed on MDN's destructuring reference page:
	function drawES6Chart({size = 'big', cords = { x: 0, y: 0 }, radius = 25} = {})
{
  console.log(size, cords, radius);
  // do some chart drawing
}

drawES6Chart({
  cords: { x: 18, y: 30 },
  radius: 30
});

A similar error is reported for instance methods (declared with the new shorter syntax):
class Foobar {
    construct({someProp = 'bar'} = {}) {  // <-- error here
        // ...
    }

    otherMethod({someOtherProp = 'bar'} = {}) {  // <-- error here also
        // ...
    }
}

This is a duplicate of gh-1941, but a fix is on it's way! See gh-2391


Getting contacts is very slow

Getting contacts takes a lot of time. It takes 10-12 seconds for me.
If someone wants only name and phone number it shouldn't be that slow. I've implemented it for android but don't know how to do it for iOS.
        val selection = ContactsContract.Contacts.HAS_PHONE_NUMBER
        var cursor = applicationContext.contentResolver.query(uri, arrayOf(ContactsContract.CommonDataKinds.Phone.NUMBER, ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME, ContactsContract.CommonDataKinds.Phone._ID, ContactsContract.Contacts._ID), selection, null, ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME + " ASC")
        cursor!!.moveToFirst()
        while (cursor.isAfterLast == false) {
          val contactNumber = cursor.getString(cursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone.NUMBER))
          val contactName = cursor.getString(cursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME))
          val phoneContactID = cursor.getInt(cursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone._ID))
          val contactID = cursor.getInt(cursor.getColumnIndex(ContactsContract.Contacts._ID))
          cursor.moveToNext()
        }
        cursor.close()

@sharansingh00002 should resolved now.. please upgrade to 0.4.1


typo: code section ends early

simple typo, the code section looks like it ended too early
Description
simple md typo
Related Issue
no issue
Motivation and Context
typo
How Has This Been Tested?
not tested
Screenshots (if appropriate):
Types of changes
trivial documentation change
Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

+1

+1


Need extract of ALL copy & labels in a single place for copy edit, review and approval

Several issues have been raised about the terms, terminology and UX copy in Composer and how it relates to the SDK (and we're getting several questions about disconnects between terms in Composer and PVA).
In order to create alignment between the SDK, the UX in Composer and PVA (note: alignment does not mean we're using the exact same term everywhere), could we please create a way to extract and review the copy in ONE place, so that we can do a series of passes and reviews and with sign off from UX, dev and tech writers on all teams impacted.
I've spent hours and hours on copy already on this (mostly with Vishwac as well as with Yan) and it remains an ad-hoc approach in which we either overlook things or changes are made without realizing they're impacting other decisions and agreements (this happens both ways: changes in Composer impact decisions in the SDK and vice versa).
@cwhitten @tomlm @Stevenic

Here is a list of issue related to terms, I just group them here:

[ ] https://github.com/microsoft/BotFramework-Composer/issues/1938
[ ] https://github.com/microsoft/BotFramework-Composer/issues/3262
[ ] https://github.com/microsoft/BotFramework-Composer/issues/3177
[ ] https://github.com/microsoft/BotFramework-Composer/issues/2978
[ ] https://github.com/microsoft/BotFramework-Composer/issues/3174
[ ] https://github.com/microsoft/BotFramework-Composer/issues/2977
[ ] https://github.com/microsoft/BotFramework-Composer/issues/2976

Related to #3458. @beyackle has extracted the copy from the app in order to prep it for i18n. That will be a good first step in centralizing all copy in a single place (with the exception of any sdk/uischema copy)


perf(turbopack): Use Arc<String> instead of String

Description
I'll report back.

Command: cargo test -p turbopack-tests -- --nocapture
Memory allocated for String.clone(): 497515 bytes (not all, ConcreteTaskInput <-> String only)

Closes PACK-2776
Testing Instructions

Task output: https://gist.github.com/kdy1/f072132c2f03c2276d22766d039c0064

I'll wait for the benchmark action to run

Allocation with this PR:

We are waiting for real profiling results for the memory usage difference

Closing in favor of

https://github.com/vercel/turbo/pull/8221
https://github.com/vercel/next.js/pull/66262


Add check for the prefix of an ISBN 13

@igorframos This looks great -- my only suggestion would be to rename #valid_prefix to #valid_isbn13_prefix to make it super-clear what it's doing. I'm happy to do that myself, or you can edit and resubmit. Once I get this in (and the .travis.yml fixed) I'll release a new point version.

+1 :)

@billdueber and @michael-harrison, thanks for the review. I have updated the method name as you requested. Also, I made a small change to the implementation so it is more easily updated when new prefixes start being used in the future.

@igorframos looks like there's bit more work to do.  There are test failures.  Looks like a stack issue with a circular call.

I just want to let you know I will get to this sometime on this or on the next week. I have been a little too busy lately. =/

@billdueber and @michael-harrison, could you, please, take another look?

Merging as-is, will change the prefix check to something more performant right now.


Inconsistent output block

In the cluster directory, the outputs are all grouped in one file, but in the config directory it seems like each module has its own separate output file. It would be good to unify this.
Also, I'm not sure why there are 2 directories now and wondering if it would be possible to merge them into one directory.

Continued the conversation on the discussion thread.


blackbird can support more than 2 pair exchage Arbitrage?

I'm know bitfinex is only one can short sell exchange, other exchange is long ;
now I have question: if I  add more than 2 long exchange,  BlackBird can work well?
eg:
bitfinex+okcoin+kraken
if the two pair tades of  bitfinex+okcoin and bitfinex+kraken  can be happen?

at the same time at most only one pair exchange will happen no matter how many platform you support

So right now @hugebear it uses all the cash it can on the first pair it encounters correct

@alfonsoperez it can be configured, see the Readme

I see, neat!, thanks @hugebear


Update cni-testing-initiative-upstream.md

Update with links to the working implementation

/skip-e2e


Install script gets confused with DNVM

When executing the install script like mentioned in the readme, it does not update the .bashrc accordingly. The script says:
=> Source string already in /root/.bashrc

After a bit of debugging I found out that the install script confuses the like for DNVM with NVM.
This is the line I have present in my .bashrc already:
[ -s "/root/.dnx/dnvm/dnvm.sh" ] && . "/root/.dnx/dnvm/dnvm.sh" # Load dnvm

This line is part of the ".NET Version Manager" from ASP.NET 5.
A fix would be to adjust the install script to identify the line correctly and to not confuse nvm with dnvm.
The error is seemingly this line: https://github.com/creationix/nvm/blob/master/install.sh#L243

Thanks for the report!


Feat:Show products through json format in js rather than directly showing in html and also adding a search bar to shopping section

Describe the feature
The products can be shown by using js and storing data in json format and also add a search bar to shopping section for easy search.pls assign these issue to me under GSSOC'24
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@Pratik2401  could you convert the current backend of firebase to node,js and mongodb?
you can create 3-4 prs , i'll allot level 3 to each.

It do such one I will need great time to spend on it currently I am student of SE and my endsem will be till 28. I can start it from 28 May and complete it as my highest priority if it is ok


Change existing page size

I'm generating receipts, which can be variable height, depending on what is on them. Is there any way to trim the current page to a certain size?
I know what the doc.y is that I want to trim the page to, but I don't see any way to change an existing page's size.

found this, you may be able to back into it: https://github.com/devongovett/pdfkit/blob/546746ad756dac860c5d47fe72c37461aa8aa8e8/lib/page.coffee

No, this is not possible.


Engine crashes

I've been getting a lot of engine crashes today. I ran with a debug engine but that didn't get me a stack trace. Here's one example of the logs around a crash. At the time, I was on the gallery's progress indicator page, poking at it with the Observatory.
10-24 16:09:30.358 15164 15185 F libc    : Fatal signal 11 (SIGSEGV), code 2, fault addr 0x82b41e60 in tid 15185 (Thread-4)
10-24 16:09:30.360   271   271 W         : debuggerd: handling request: pid=15164 uid=10112 gid=10112 tid=15185
10-24 16:09:30.378 15502 15502 E         : debuggerd: process stopped due to unexpected signal 27
10-24 16:09:30.408   271   271 W         : debuggerd: resuming target 15164
10-24 16:09:30.409  2231 15503 W ActivityManager:   Force finishing activity io.flutter.examples.gallery/org.domokit.sky.shell.SkyActivity
10-24 16:09:30.432   295   295 E lowmemorykiller: Error writing /proc/15164/oom_score_adj; errno=22
10-24 16:09:30.471  2231  2870 W InputDispatcher: channel '20eb12d io.flutter.examples.gallery/org.domokit.sky.shell.SkyActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
10-24 16:09:30.471  2231  2870 E InputDispatcher: channel '20eb12d io.flutter.examples.gallery/org.domokit.sky.shell.SkyActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
10-24 16:09:30.476  2231  8212 D GraphicsStats: Buffer count: 4
10-24 16:09:30.476  2231 26028 I ActivityManager: Process io.flutter.examples.gallery (pid 15164) has died
10-24 16:09:30.476  2231 26028 D ActivityManager: cleanUpApplicationRecord -- 15164
10-24 16:09:30.485  2231  3156 I OpenGLRenderer: Initialized EGL, version 1.4
10-24 16:09:30.485  2231  3156 D OpenGLRenderer: Swap behavior 1
10-24 16:09:30.486  2231  8212 I WindowManager: WIN DEATH: Window{20eb12d u0 io.flutter.examples.gallery/org.domokit.sky.shell.SkyActivity}
10-24 16:09:30.486  2231  8212 W InputDispatcher: Attempted to unregister already unregistered input channel '20eb12d io.flutter.examples.gallery/org.domokit.sky.shell.SkyActivity (server)'
10-24 16:09:30.486  2231  8212 W WindowManager: Force-removing child win Window{a41679b u0 SurfaceView - io.flutter.examples.gallery/org.domokit.sky.shell.SkyActivity} from container Window{20eb12d u0 io.flutter.examples.gallery/org.domokit.sky.shell.SkyActivity}
10-24 16:09:30.486  2231  8212 I WindowManager: Destroying surface Surface(name=SurfaceView - io.flutter.examples.gallery/org.domokit.sky.shell.SkyActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.removeLocked:1449 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2478 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2457 com.android.server.wm.WindowManagerService.removeWindowLocked:2436 com.android.server.wm.WindowState$DeathRecipient.binderDied:1780 android.os.BinderProxy.sendDeathNotice:688
10-24 16:09:30.490  2231  8212 I WindowManager: Destroying surface Surface(name=io.flutter.examples.gallery/org.domokit.sky.shell.SkyActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.removeLocked:1449 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2478 com.android.server.wm.WindowManagerService.removeWindowLocked:2436 com.android.server.wm.WindowState$DeathRecipient.binderDied:1780 android.os.BinderProxy.sendDeathNotice:688 <bottom of call stack>
10-24 16:09:30.496  2231 31778 W WindowManager: Failed looking up window
10-24 16:09:30.496  2231 31778 W WindowManager: java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@b5662 does not exist
10-24 16:09:30.496  2231 31778 W WindowManager:     at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9100)
10-24 16:09:30.496  2231 31778 W WindowManager:     at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9091)
10-24 16:09:30.496  2231 31778 W WindowManager:     at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1777)
10-24 16:09:30.496  2231 31778 W WindowManager:     at android.os.BinderProxy.sendDeathNotice(Binder.java:688)
10-24 16:09:30.496  2231 31778 I WindowManager: WIN DEATH: null
10-24 16:09:31.137  3884  4056 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...

10-24 16:28:04.944 17324 17355 F libc    : Fatal signal 11 (SIGSEGV), code 2, fault addr 0x8ecfd5f8 in tid 17355 (Thread-7)
10-24 16:28:04.945   271   271 W         : debuggerd: handling request: pid=17324 uid=10141 gid=10141 tid=17355
10-24 16:28:05.036 17815 17815 E         : debuggerd: process stopped due to unexpected signal 27
10-24 16:28:05.041  2231 17816 W ActivityManager:   Force finishing activity com.yourcompany.dummy2/org.domokit.sky.shell.SkyActivity
10-24 16:28:05.045   271   271 W         : debuggerd: resuming target 17324
10-24 16:28:05.077   295   295 E lowmemorykiller: Error writing /proc/17324/oom_score_adj; errno=22
10-24 16:28:05.128  2231  3047 D GraphicsStats: Buffer count: 4
10-24 16:28:05.129  2231 26504 I ActivityManager: Process com.yourcompany.dummy2 (pid 17324) has died
10-24 16:28:05.129  2231 26504 D ActivityManager: cleanUpApplicationRecord -- 17324
10-24 16:28:05.129  2231  2870 W InputDispatcher: channel 'ff37c77 com.yourcompany.dummy2/org.domokit.sky.shell.SkyActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
10-24 16:28:05.129  2231  2870 E InputDispatcher: channel 'ff37c77 com.yourcompany.dummy2/org.domokit.sky.shell.SkyActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
10-24 16:28:05.153  2231  3156 I OpenGLRenderer: Initialized EGL, version 1.4
10-24 16:28:05.153  2231  3797 I WindowManager: WIN DEATH: Window{ff37c77 u0 com.yourcompany.dummy2/org.domokit.sky.shell.SkyActivity}
10-24 16:28:05.153  2231  3156 D OpenGLRenderer: Swap behavior 1
10-24 16:28:05.153  2231  3797 W InputDispatcher: Attempted to unregister already unregistered input channel 'ff37c77 com.yourcompany.dummy2/org.domokit.sky.shell.SkyActivity (server)'
10-24 16:28:05.153  2231  3797 W WindowManager: Force-removing child win Window{d2d4ef1 u0 SurfaceView - com.yourcompany.dummy2/org.domokit.sky.shell.SkyActivity} from container Window{ff37c77 u0 com.yourcompany.dummy2/org.domokit.sky.shell.SkyActivity}
10-24 16:28:05.153  2231  3797 I WindowManager: Destroying surface Surface(name=SurfaceView - com.yourcompany.dummy2/org.domokit.sky.shell.SkyActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.removeLocked:1449 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2478 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2457 com.android.server.wm.WindowManagerService.removeWindowLocked:2436 com.android.server.wm.WindowState$DeathRecipient.binderDied:1780 android.os.BinderProxy.sendDeathNotice:688
10-24 16:28:05.158  2231  3797 I WindowManager: Destroying surface Surface(name=com.yourcompany.dummy2/org.domokit.sky.shell.SkyActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.removeLocked:1449 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2478 com.android.server.wm.WindowManagerService.removeWindowLocked:2436 com.android.server.wm.WindowState$DeathRecipient.binderDied:1780 android.os.BinderProxy.sendDeathNotice:688 <bottom of call stack>
10-24 16:28:05.164  2231  3047 W WindowManager: Failed looking up window
10-24 16:28:05.164  2231  3047 W WindowManager: java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@d196913 does not exist
10-24 16:28:05.164  2231  3047 W WindowManager: 	at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9100)
10-24 16:28:05.164  2231  3047 W WindowManager: 	at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9091)
10-24 16:28:05.164  2231  3047 W WindowManager: 	at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1777)
10-24 16:28:05.164  2231  3047 W WindowManager: 	at android.os.BinderProxy.sendDeathNotice(Binder.java:688)
10-24 16:28:05.164  2231  3047 I WindowManager: WIN DEATH: null
10-24 16:28:05.797  3884  4056 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
10-24 16:28:06.961  2231 17816 W ActivityManager: Ignoring remove of inactive process: ProcessRecord{65df674 0:com.yourcompany.dummy2/u0a141}
10-24 16:28:06.994  2231  2245 W InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
10-24 16:28:06.994  2231  2245 W ViewRootImpl[dummy2]: Dropping event due to root view being removed: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=692.0, y[0]=-249.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=408383061, downTime=408383054, deviceId=5, source=0x1002 }
10-24 16:28:06.994  2231  2245 W InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.

10-24 16:38:53.489 18248 18282 F libc    : Fatal signal 11 (SIGSEGV), code 128, fault addr 0x0 in tid 18282 (ui_thread)
10-24 16:38:53.490   271   271 W         : debuggerd: handling request: pid=18248 uid=10141 gid=10141 tid=18282
10-24 16:38:53.584 19027 19027 E         : debuggerd: process stopped due to unexpected signal 27
10-24 16:38:53.591  2231 19028 W ActivityManager:   Force finishing activity com.yourcompany.dummy2/org.domokit.sky.shell.SkyActivity
10-24 16:38:53.594   271   271 W         : debuggerd: resuming target 18248
10-24 16:38:53.617   295   295 E lowmemorykiller: Error writing /proc/18248/oom_score_adj; errno=22
10-24 16:38:53.672  2231  3156 I OpenGLRenderer: Initialized EGL, version 1.4
10-24 16:38:53.672  2231  3156 D OpenGLRenderer: Swap behavior 1
10-24 16:38:53.699  2231 26028 D GraphicsStats: Buffer count: 4
10-24 16:38:53.699  2231  4835 I WindowManager: WIN DEATH: Window{5d9d515 u0 com.yourcompany.dummy2/org.domokit.sky.shell.SkyActivity}
10-24 16:38:53.700  2231  4835 W WindowManager: Force-removing child win Window{f764c41 u0 SurfaceView - com.yourcompany.dummy2/org.domokit.sky.shell.SkyActivity} from container Window{5d9d515 u0 com.yourcompany.dummy2/org.domokit.sky.shell.SkyActivity}
10-24 16:38:53.700  2231  4835 I WindowManager: Destroying surface Surface(name=SurfaceView - com.yourcompany.dummy2/org.domokit.sky.shell.SkyActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.removeLocked:1449 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2478 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2457 com.android.server.wm.WindowManagerService.removeWindowLocked:2436 com.android.server.wm.WindowState$DeathRecipient.binderDied:1780 android.os.BinderProxy.sendDeathNotice:688
10-24 16:38:53.711  2231  4835 I WindowManager: Destroying surface Surface(name=com.yourcompany.dummy2/org.domokit.sky.shell.SkyActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.removeLocked:1449 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2478 com.android.server.wm.WindowManagerService.removeWindowLocked:2436 com.android.server.wm.WindowState$DeathRecipient.binderDied:1780 android.os.BinderProxy.sendDeathNotice:688 <bottom of call stack>
10-24 16:38:53.717  2231 10359 I ActivityManager: Process com.yourcompany.dummy2 (pid 18248) has died
10-24 16:38:53.717  2231 10359 D ActivityManager: cleanUpApplicationRecord -- 18248
10-24 16:38:53.725  2231 26028 W WindowManager: Failed looking up window
10-24 16:38:53.725  2231 26028 W WindowManager: java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@5ad1e1b does not exist
10-24 16:38:53.725  2231 26028 W WindowManager: 	at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9100)
10-24 16:38:53.725  2231 26028 W WindowManager: 	at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9091)
10-24 16:38:53.725  2231 26028 W WindowManager: 	at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1777)
10-24 16:38:53.725  2231 26028 W WindowManager: 	at android.os.BinderProxy.sendDeathNotice(Binder.java:688)
10-24 16:38:53.725  2231 26028 I WindowManager: WIN DEATH: null
10-24 16:38:54.451  3884  3905 I art     : Background sticky concurrent mark sweep GC freed 26513(1844KB) AllocSpace objects, 135(3MB) LOS objects, 12% free, 43MB/50MB, paused 54.217ms total 97.342ms
10-24 16:38:54.552  3884  4056 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...

Do you have a tombstone file by chance?  @chinmaygarde or @jason-simmons
might recognize the failure from logs.
On Mon, Oct 24, 2016 at 4:39 PM, Ian Hickson<EMAIL_ADDRESS>wrote:

10-24 16:38:53.489 18248 18282 F libc    : Fatal signal 11 (SIGSEGV), code 128, fault addr 0x0 in tid 18282 (ui_thread)
10-24 16:38:53.490   271   271 W         : debuggerd: handling request: pid=18248 uid=10141 gid=10141 tid=18282
10-24 16:38:53.584 19027 19027 E         : debuggerd: process stopped due to unexpected signal 27
10-24 16:38:53.591  2231 19028 W ActivityManager:   Force finishing activity com.yourcompany.dummy2/org.domokit.sky.shell.SkyActivity
10-24 16:38:53.594   271   271 W         : debuggerd: resuming target 18248
10-24 16:38:53.617   295   295 E lowmemorykiller: Error writing /proc/18248/oom_score_adj; errno=22
10-24 16:38:53.672  2231  3156 I OpenGLRenderer: Initialized EGL, version 1.4
10-24 16:38:53.672  2231  3156 D OpenGLRenderer: Swap behavior 1
10-24 16:38:53.699  2231 26028 D GraphicsStats: Buffer count: 4
10-24 16:38:53.699  2231  4835 I WindowManager: WIN DEATH: Window{5d9d515 u0 com.yourcompany.dummy2/org.domokit.sky.shell.SkyActivity}
10-24 16:38:53.700  2231  4835 W WindowManager: Force-removing child win Window{f764c41 u0 SurfaceView - com.yourcompany.dummy2/org.domokit.sky.shell.SkyActivity} from container Window{5d9d515 u0 com.yourcompany.dummy2/org.domokit.sky.shell.SkyActivity}
10-24 16:38:53.700  2231  4835 I WindowManager: Destroying surface Surface(name=SurfaceView - com.yourcompany.dummy2/org.domokit.sky.shell.SkyActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.removeLocked:1449 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2478 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2457 com.android.server.wm.WindowManagerService.removeWindowLocked:2436 com.android.server.wm.WindowState$DeathRecipient.binderDied:1780 android.os.BinderProxy.sendDeathNotice:688
10-24 16:38:53.711  2231  4835 I WindowManager: Destroying surface Surface(name=com.yourcompany.dummy2/org.domokit.sky.shell.SkyActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.removeLocked:1449 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2478 com.android.server.wm.WindowManagerService.removeWindowLocked:2436 com.android.server.wm.WindowState$DeathRecipient.binderDied:1780 android.os.BinderProxy.sendDeathNotice:688
10-24 16:38:53.717  2231 10359 I ActivityManager: Process com.yourcompany.dummy2 (pid 18248) has died
10-24 16:38:53.717  2231 10359 D ActivityManager: cleanUpApplicationRecord -- 18248
10-24 16:38:53.725  2231 26028 W WindowManager: Failed looking up window
10-24 16:38:53.725  2231 26028 W WindowManager: java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@5ad1e1b does not exist
10-24 16:38:53.725  2231 26028 W WindowManager:     at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9100)
10-24 16:38:53.725  2231 26028 W WindowManager:     at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9091)
10-24 16:38:53.725  2231 26028 W WindowManager:     at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1777)
10-24 16:38:53.725  2231 26028 W WindowManager:     at android.os.BinderProxy.sendDeathNotice(Binder.java:688)
10-24 16:38:53.725  2231 26028 I WindowManager: WIN DEATH: null
10-24 16:38:54.451  3884  3905 I art     : Background sticky concurrent mark sweep GC freed 26513(1844KB) AllocSpace objects, 135(3MB) LOS objects, 12% free, 43MB/50MB, paused 54.217ms total 97.342ms
10-24 16:38:54.552  3884  4056 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/6503#issuecomment-255896294,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALTvi2fjoBgy5LHxh3OTtrkGU1VFEEPnks5q3UG_gaJpZM4KfY5k
.

Theory: The application is running out of memory.
Reasoning:

lowmemorykiller is attempting to first modify /proc/<pid>/oom_score_adj to see if the process is a candidate for lowering the priority for termination under memory stress. That presumably fails because there is nothing special about this process. Notice the PIDs match in all log instances.
The different instances of the crash are on different threads.
As to why the signal is not a SIGTERM/SIGKILL, the issue is likely there was spike in memory stress that cause an allocation failure. Most software doesn't check for this and subsequently tried to dereference the NULL allocation causing the issue you see.

Possible Causes:

If this seems like a regression, the most significant changes recently were rolls of both Dart and Skia.

More Investigation:

Observe heap sizes in observatory to see if the crashes correlate to large heaps.
Try it on different devices. Are crashes occurring in different spots. You should also probably be testing on the weakest/oldest device you can get a hold of.

The third trace looks like a null pointer dereference - possibly similar to https://github.com/flutter/flutter/issues/6025?

I was suspicious of a memory leak issue because I had caused one of those myself earlier, and so on several occasions I was actually staring at the Dart heap data when it crashed and the heap was < 50MB.

(How do I get a tombstone file?)

(How do I get a tombstone file?)

I haven't used those for diagnosing issues. @eseidel, @jason-simmons ?

Typically adb pull /data/tombstones/tombstone_01 etc should pull them.  But normally when they're written it says so in the adb logcat to tell you to go looking. :)

I was wrong about the lowmemorykiller message. That seems to always be present irrespective of the type of crash.

I don't think there is anything to do with this bug anymore?  Please re-open if you disagree.


doc/Type/List.pod6 fails example test

This example in doc/Type/List.pod.6
    result0 = init
    result1 = f(result0, list[0])
    result2 = f(result1, list[1])
    ...
    resultn = f(resultn-1, list[n-1])

fails for a variety of reasons (missing semicolons, variables/subs)... but at the core it's pseudocode. Example should either be made to conforming Raku code (using the :preamble as needed), or clearly labeled as pseudocode both in the descriptive text beforehand, and in the pod declaration (by picking a :lang that isn't raku), so that the test passes.

To duplicate the error:
xt/examples-compilation.t doc/Type/List.pod6

added in 7f064c7cae4e1bf250e45333e62089e12be7c98a by @uzluisf

Typo in the commit. It's "Psuedocode". Please also note in the descriptive text before the example that this isn't Raku code.


feat: use node-loader again

WIP for #79 and #96
It partly reverts the idea in #21.

This doesn't fix #90. react-tweet uses CSS Modules, so externalizing it causes this error: [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".css" for ...
I have no idea how to fix this.

If I added vite.config.ts for react-tweet,
import { defineConfig } from "waku/config";

export default defineConfig({
  ssr: {
    noExternal: ["react-tweet"],
  },
});

Now, it shows a different error: Warning: Invalid hook call. Hooks can only be called inside of the body of a function component.
Maybe because it has two different React instances?

Not sure how many issues this will solve, but it should be good for now. (We don't know the future. There might be another/better way.)