Failed to load webpage with error: The network connection was lost.

I've followed the directions here: https://github.com/ionic-team/cordova-plugin-ionic-webview
But when I start debugging on an actual iOS11 device through XCode, the app splash screen loads, and in the XCode Debug area the last message I see is "Failed to load webpage with error: The network connection was lost."
How do I go about debugging/solving this?

Here's the text from the Debug Area in XCode:
Apache Cordova native platform version 4.5.0 is starting.
Multi-tasking -> Device: YES, App: YES
CDVWKWebViewEngine: trying to inject XHR polyfill
[MC] Lazy loading NSBundle MobileCoreServices.framework
[MC] Loaded MobileCoreServices.framework
[MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
CDVWKWebViewEngine will reload WKWebView if required on resume
Using Ionic WKWebView
[CDVTimer][console] 0.176013ms
[CDVTimer][handleopenurl] 0.238001ms
[CDVTimer][intentandnavigationfilter] 3.488004ms
[CDVTimer][gesturehandler] 0.129044ms
[CDVTimer][branchsdk] 0.187993ms
[CDVTimer][cordovafacebook] 1.803994ms
[CDVTimer][googleplus] 0.118017ms
[CDVTimer][file] 3.505051ms
[CDVTimer][splashscreen] 70.317030ms
[CDVTimer][statusbar] 11.494994ms
[MC] Filtering mail sheet accounts for bundle ID: com.myapp.mobile, source account management: 1
[MC] Filtering mail sheet accounts for bundle ID: com.myapp.mobile, source account management: 1
[CDVTimer][socialsharing] 93.789041ms
[CDVTimer][keyboard] 2.359033ms
[CDVTimer][TotalPluginStartup] 189.309955ms
refreshPreferences: HangTracerEnabled: 0
refreshPreferences: HangTracerDuration: 500
refreshPreferences: ActivationLoggingEnabled: 0 ActivationLoggingTaskedOffByDA:0
[MC] Reading from public effective user settings.
Failed to load webpage with error: The network connection was lost.

Thank you for your help!

I tried removing cordova-plugin-backround-mode because I saw that mentioned as a thing to try, to no avail.
Also, in a seperate ionic app with essentially the same config, on that I haven't upgraded yet, the line I see after "Reading from public effective user settings" is "Resetting plugins due to page load". So that means this app is probably dieing during WKWebView initialization, event before it tries to load anything form the files on the device, right?

I also tried upgrading to v1.1.15 of this plugin, but that didn't seem to change what I see in the XCode Debug Area.

I also went one-by-one through the plugins running "ionic cordova plugin remove [plugin name]" except for cordova-plugin-ionic-webview, and after removing each one I'd re-launch XCode and trying debugging on the iPhone again, and the app got stuck on "Failed to load webpage with error: The network connection was lost." each time.
I also searched through the plugins directory for "network connection was lost" in case a plugin was doing this, but didn't find any matches there.
So if that's the correct way to eliminate other plugins as the reason for this issue, then I think this has to be cordova-plugin-ionic-webview failing for some reason, right?
I'm going to look now for a way to get more verbose output in XCode so I can perhaps see the request that is failing.

I'm not super familiar with XCode, but it looks like the GCDWebServer is listening at localhost:8080 but the first page that tries to load is localhost:0. So I tried removing this from config.xml () but that didn't change anything.

My last thought was to set the AlternateContentSrc preference in config.xml to http://localhost:8080, but that didn't do anything either.
So the error is visible if I set a breakpoint in this method in CDVWebViewEngine.m
(void)webView:(WKWebView*)theWebView didFailNavigation:(WKNavigation*)navigation withError:(NSError*)error
I set a breakpoint in there in XCode in such a way that I can look at the "vc" MainViewController variable, and that has a "startPage" of "http://localhost:0".
Any help for me here...please? :)

I have a similar issue. I get Failed to load webpage with error: Could not connect to the server when app is started in background after being suspended. This error happens immediately on startup:
CDVWKWebViewEngine: trying to inject XHR polyfill
CDVWKWebViewEngine will reload WKWebView if required on resume
Using Ionic WKWebView
...loading plugins
[CDVTimer][TotalPluginStartup] 181.908011ms
Failed to load webpage with error: Could not connect to the server.
The error happens in CDVWKWebViewEngine.m and after this error the app hangs indefinitely.
Have not found a solution for this so any help would be greatly appreciated.

@Wade-McDaniel looking at your config.xml and comparing with mine:
remove
    <allow-navigation href="http://localhost:0/*" /> as you can't use port 0
add
    <content src="index.html" />
    <access origin="*" />
    <allow-intent href="http://*/*" />
    <allow-intent href="https://*/*" />

remove the ionic-webview plugin and re-install it then run
ionic cordova prepare
ionic cordova build ios
and see if it runs.
Before you try to run the app try closing any other apps.
Are you launching the app just by running it through xcode or tapping the app icon or in some other way?
@recap - you say "when the app is started in the background"  What happens if you start the app normally by tapping the icon, does it work?

Please, update to latest version and try again, the plugin has changed a lot lately and I can't reproduce this with latest version. If problem persist, create a new issue and provide more information.

It's happend to me with plugin v.2.1.4

I had this error and just removed the <allow-navigation line from my config and I was working again.

I have a similar issue. I get Failed to load webpage with error: Could not connect to the server when app is started in background after being suspended. This error happens immediately on startup:
CDVWKWebViewEngine: trying to inject XHR polyfill
CDVWKWebViewEngine will reload WKWebView if required on resume
Using Ionic WKWebView
...loading plugins
[CDVTimer][TotalPluginStartup] 181.908011ms
Failed to load webpage with error: Could not connect to the server.
The error happens in CDVWKWebViewEngine.m and after this error the app hangs indefinitely.
Have not found a solution for this so any help would be greatly appreciated.

Did you find any solution yet? I have some problem and have to kill app then reopen.


How to run TransformerXL experiment

Hi,
Thanks for your work. I would run the Transformer XL model with the medium-150M settings.
Is removing recurrent/bias_skip.gin from the Block Recurrent Transformer settings enough to convert it to TransformerXL or do I need to modify something else?
Edit: I understand that setting segment length and window-size to the same value is required as well for TransformerXL. Where do we set the maximum size of the cache then?
Thanks a lot!

You are correct.  If you remove recurrent/bias_skip.gin, then you get Transformer-XL with sliding window attention.
If you further replace options/seq_4096.gin with options/seq_512.gin, then you will get the normal Transformer-XL, without a sliding window.  (The sliding window is enabled automatically if segment length is larger than window length.)  If you use options/seq_512_nocache.gin, then you will get a vanilla transformer, without the Transformer-XL cache.

Thanks for the quick reply!


Fastnlight: Watch sekillinickim.com

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

Approved by Spevacus in Charcoal HQ


fix harvester plugin url path

Summary
Fixes #
Wrong address requested

Occurred changes and/or fixed issues

Technical notes summary

Areas or cases that should be tested

Areas which could experience regressions

Screenshot/Video

@WuJun2016 Please note we have branched for 2.7.0 now, which tracks this master branch. This change also needs to be backported to the release-2.6.9 branch

https://github.com/rancher/dashboard/pull/6979


make emmet only invoke in style tag

is there a way , i can use emmet css and emmet html
hand in hand in vue files
if i enable it...
if i try to use emmet for html
i cant get it to work
"emmet.syntaxProfiles": {
        "blade": "html",
        // Activate this if you will Heavily Style
        "vue": "css"
    },

doing something like this
pb!
padding-bottom:  !important;

when i do div.row
display: .row;

so is there a way i can use both emmet css and html
without having conflict?
lets say make the scope only apply to style tag for css
and template tag for html?

Can you be a bit more specific. Which part doesn't work?
<template>
div.row // this emmet expansion works for me
</template>

<style>
div {
  pb! // this emmet expansion also works for me
}
</style

Umm, sorry for the bad configuration I suggested before in the README.
With 0.3.3, now you can drop
"emmet.syntaxProfiles": {
  "vue": "css"
}

and emmet will work as intended in each regions.

Oops, ignored what I said before. Can you upgrade to 0.3.5, and have this:
"emmet.syntaxProfiles": {
  "vue-html": "html"
}

and let me know if it works for you.


Shiny hunt starters?

Can this bot be used to shiny hunt the starter?

Can this bot be used to shiny hunt the starter?

yes. Gift_lua start the script at "____received ___"
i know its an old comment but this is for people like me searching for answers

when i do this, the script just hangs and doesnt discarrd the things

when i do this, the script just hangs and doesnt discarrd the things

Are you using the exact version of the emulator as per the instructions and a standard English ROM (not a ROM hack)?


Depth and Width Calculations

Hello,
I am currently scanning images using the C3 HD3 scanner in B-mode and had a few questions.

What is the width of the image that the scanner captures?
When setting the imaging depth, what calculations are used to determine that depth? I know that the sampling frequency is stated in the .yml file, however the calculation of depth = speed of sound x number of samples / sampling frequency does not equal the exact imaging depth in the .yml file (a few cm off). I am wondering if the sampling frequency applied varies with depth.

Thanks!

For the width, are you referring to field of view, scanlines, pixels, etc?
Can you document the exact discrepancy seen?

Yes, I am wondering about the field of view. Is there a width of the image (eg. cm) that the transducer scans?
I apologize, I believe I have calculated depth incorrectly. However, I am still curious as to how the data (like sampling frequency) is used to calculate imaging depth.

The radius is 40 degrees across a surface of 57.6mm, so you should be able to calculate FOV from that
Yes the formula you presented is correct, don't forget to include return time

Hi Kris,
Thank you! I just wanted to clarify my calculations to make sure I am interpreting the data correctly.

Did you mean radius in terms of mm? My C3 HD3 scanner has a radius of 45 mm listed, so using that value and the provided surface length:
FOV = (Arc length * 360) / (2 * pi * r) = 73 degrees.

From that, I am wondering if using this equation for image width is correct:
Image Width = 2 * Image Depth * (tan(FOV/2))
For example, assuming my image depth is set to 15cm and the previously calculated FOV, is the resulting image width = 22.2 cm?

My calculations of image depth matches the set image depth for the B-mode data, however I am still unsure how to calculate image depth based on the raw rf data.

If depth = (speed of sound / 2) * (number of samples / sampling frequency)
In the above screenshot of my _rf.yml file, the number of samples = 1632 and sampling frequency = 15 MHz.
Using this information and the above equation, the depth = 8.37cm which does not match the set image depth of 15cm.
I noticed this line in the README file under the Data Type Formats section for RF data:
At depths < 2cm, 60MHz sampling is applied; at 2 - 4cm, 30MHz sampling is applied; at depths > 4cm, 15 MHz sampling is applied.
If the sampling frequencies applied are different at varying depths, what is the formula used to calculate this depth?


Panic in OCSP Checking

(Are you asking for help with using Caddy? Please use our forum instead: https://forum.caddyserver.com. If you are filing a bug report, please answer the following questions. If your issue is not a bug report, you do not need to use this template. Either way, please consider donating if we've helped you. Thanks!)
1. What version of Caddy are you running (caddy -version)?
Caddy 0.9.5
2. What are you trying to do?
Normal run caddy.
3.
CMD ["/usr/app/caddy","-log","stdout","-agree=true","-conf=/usr/app/Caddyfile/Caddyfile"] in Docker.
5. What did you expect to see?
Normal run
6. What did you see instead (give full error messages and/or log)?
2017/03/13 05:40:33 [INFO] Scanning for stale OCSP staples
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4e8787]

goroutine 6 [running]:
panic(0xcf7a20, 0xc42000e030)
        /usr/local/go/src/runtime/panic.go:500 +0x1a1
github.com/mholt/caddy/caddytls.UpdateOCSPStaples()
        /tmp/custombuild_1385_247495840/src/github.com/mholt/caddy/caddytls/maintain.go:237 +0x767
github.com/mholt/caddy/caddytls.maintainAssets(0xc420064600)
        /tmp/custombuild_1385_247495840/src/github.com/mholt/caddy/caddytls/maintain.go:54 +0x30f
created by github.com/mholt/caddy/caddytls.init.2
        /tmp/custombuild_1385_247495840/src/github.com/mholt/caddy/caddytls/maintain.go:18 +0x58

7. How can someone who is starting from scratch reproduce this behavior as minimally as possible?
I'm not sure. Maybe use a self cert can reproduce that.
I found that caddy always panic with error of OCSP staples like:
2017/03/13 05:40:33 [INFO] Scanning for stale OCSP staples
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4e8787]

goroutine 6 [running]:
panic(0xcf7a20, 0xc42000e030)
        /usr/local/go/src/runtime/panic.go:500 +0x1a1
github.com/mholt/caddy/caddytls.UpdateOCSPStaples()
        /tmp/custombuild_1385_247495840/src/github.com/mholt/caddy/caddytls/maintain.go:237 +0x767
github.com/mholt/caddy/caddytls.maintainAssets(0xc420064600)
        /tmp/custombuild_1385_247495840/src/github.com/mholt/caddy/caddytls/maintain.go:54 +0x30f
created by github.com/mholt/caddy/caddytls.init.2
        /tmp/custombuild_1385_247495840/src/github.com/mholt/caddy/caddytls/maintain.go:18 +0x58

So I add some code in maintain.go for debug:
		err := stapleOCSP(&cert, nil)
		if err != nil {
			if cert.OCSP != nil {
				// if there was no staple before, that's fine; otherwise we should log the error
				log.Printf("[ERROR] Checking OCSP: %v", err)
			}
			continue
		}
		if err == nil {
			log.Printf("[DEBUG] stapleOCSP error. %v", cert.Names)
			log.Println(err)
		}
		// By this point, we've obtained the latest OCSP response.
		// If there was no staple before, or if the response is updated, make
		// sure we apply the update to all names on the certificate.
		log.Printf("[DEBUG] OCSP for %v", cert.Names)
		if cert.OCSP == nil {
			log.Printf("[DEBUG] %v has no OSCP.", cert.Names)
		}
		if lastNextUpdate.IsZero() || lastNextUpdate != cert.OCSP.NextUpdate {
			log.Printf("[INFO] Advancing OCSP staple for %v from %s to %s",
				cert.Names, lastNextUpdate, cert.OCSP.NextUpdate)
			for _, n := range cert.Names {
				updated[n] = ocspUpdate{rawBytes: cert.Certificate.OCSPStaple, parsed: cert.OCSP}
			}
		}

And I found that caddy failed at handling the cert I give.  Here is the output:
2017/03/13 12:49:10 [INFO] Scanning for stale OCSP staples
2017/03/13 12:49:11 [DEBUG] stapleOCSP error. [*.catofes.com catofes.com ]
2017/03/13 12:49:11 <nil>
2017/03/13 12:49:11 [DEBUG] OCSP for [*.catofes.com catofes.com ]
2017/03/13 12:49:11 [DEBUG] [*.catofes.com catofes.com ] has no OSCP.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x817636]

goroutine 6 [running]:
github.com/mholt/caddy/caddytls.UpdateOCSPStaples()
        /home/herbertqiao/Documents/gocode/src/github.com/mholt/caddy/caddytls/maintain.go:244 +0x8c6
github.com/mholt/caddy/caddytls.maintainAssets(0xc420062480)
        /home/herbertqiao/Documents/gocode/src/github.com/mholt/caddy/caddytls/maintain.go:54 +0x2f2
created by github.com/mholt/caddy/caddytls.init.2
        /home/herbertqiao/Documents/gocode/src/github.com/mholt/caddy/caddytls/maintain.go:18 +0x58

The cert is a valid cert and you can get it from https://catofes.com.

I think check if cert.OSCP is nil before print the log can easily solve the bug.

@Catofes Great issue report thank you.

@Catofes Indeed, this was very helpful. I've pushed a fix to master. Can you try it out now?


Add course links for course plan

These changes add course links to course structure in the description of Introduction task
Before:
Just a plain text course structure

After:
Interactive links to course items
https://github.com/jetbrains-academy/refactoring-course/assets/2539310/ef5075d5-d845-4ffd-8cfa-843d4c8e3582

@DaniilBogdanovJB , please, take a look at this

Hello,
Everything seems fine; links work as expected, only two links seems a bit off(Section 2:Lesson 2 and the last one):


Easi 4486/system intake doc uploads

EASI-4486
Description

guard document actions (create, view, delete) to allow only those authorized to make changes

How to test this change

sign in with a test EUA with only the EASI_P_USER role
create a system intake and attach a document (see note)
confirm the document creates (this confirms a REQUESTER can create a doc)
view the document (this confirms a REQUESTER can view a doc)
log out
log in with a different EUA and select EASI_D_GOVTEAM role
navigate to the original system intake
confirm you can view the document (this confirms an ADMIN can view a doc)
attempt to delete the doc - it should fail (this confirms an ADMIN cannot delete a REQUESTER doc)
log out
log back in with original user with EASI_P_USER role
go try to delete the doc - it should succeed (this confirms a REQUESTER can delete their own doc)

[!NOTE]
i forced the virus scan return by doing this

// GetStatusForSystemIntakeDocument queries S3 for the virus-scanning status of a document with the given s3Key
func GetStatusForSystemIntakeDocument(s3Client *upload.S3Client, s3Key string) (models.SystemIntakeDocumentStatus, error) {
	avStatus, err := s3Client.TagValueForKey(s3Key, upload.AVStatusTagName)
	if err != nil {
		return "", err
	}

	return models.SystemIntakeDocumentStatusAvailable, nil

	// possible tag values come from virus scanning lambda
	if avStatus == "CLEAN" {
		return models.SystemIntakeDocumentStatusAvailable, nil
	} else if avStatus == "INFECTED" {
		return models.SystemIntakeDocumentStatusUnavailable, nil
	} else {
		return models.SystemIntakeDocumentStatusPending, nil
	}
}

PR Author Checklist

[ ] I have provided a detailed description of the changes in this PR.
[ ] I have provided clear instructions on how to test the changes in this PR.
[ ] I have updated tests or written new tests as appropriate in this PR.

PR Reviewer Guidelines

It's best to pull the branch locally and test it, rather than just looking at the code online!
When approving a PR, provide a reason why you're approving it

e.g. "Approving because I tested it locally and all functionality works as expected"
e.g. "Approving because the change is simple and matches the Figma design"

Don't be afraid to leave comments or ask questions, especially if you don't understand why something was done! (This is often a great time to suggest code comments or documentation updates)
Check that all code is adequately covered by tests - if it isn't feel free to suggest the addition of tests.

Not sure if you were able to see the gql error return, but this is the error I get when I try to reproduce:
{
  "errors": [
    {
      "message": "sql: no rows in result set",
      "path": [
        "deleteSystemIntakeDocument",
        "document",
        "url"
      ]
    }
  ],
  "data": {
    "deleteSystemIntakeDocument": {
      "document": null,
      "__typename": "DeleteSystemIntakeDocumentPayload"
    }
  }
}

There is also a script command to scan for viruses if you'd like:
scripts/tag_minio_file /easi-app-file-uploads/{uuid}.pdf CLEAN
Some frontend markup has the uuid in a testid attr, but not this one. Had to inspect for table document ids to get the uuid in this case.


Add a new template

I want to add a new template based on an existing template named "cool". I want to change the layout for that template. Try to create a rtl (right to left) version for the the template "cool" and name is as "cool-rtl".

You can create your template in a fork of the repository and create a pull request (like #301)

Feel free to create a PR :)


Fix examples to align with new secret property

Fixes the examples so the secrets created in the examples uses the secret and not the name. This aligns the examples with the latest changes in the provider. I also updated the provider versions to the latest, to remove any ambiguity between the different examples.

PR #115 has to merged first as it fixes the go version in the GH actions


Bump prometheus client version from 0.5.0 to 0.15.0

Motivation

prometheus simpleclient has broken api, it makes pulsar-client-origin can not well used with other libraries
specify OpenMetrics

This PR contains metric name broken changes.
Modifications
Bump prometheus client version from 0.5.0 to 0.15.0
changes

bump the client version
rename the field prometheus client UNTYPED to UNKNOWN
OpenMetrics's counter name needs a _total suffix

metrics name broken changes

rename pulsar_expired_token_count to pulsar_expired_token_total
rename pulsar_authentication_success_count to pulsar_authentication_success_total
rename pulsar_authentication_failures_count to pulsar_authentication_failures_total
rename pulsar_sink_sink_exceptions_total_1min to pulsar_sink_sink_exceptions_1min_total
rename pulsar_source_received_total_1min to pulsar_source_received_1min_total
rename pulsar_source_written_total_1min to pulsar_source_written_1min_total
rename pulsar_source_source_total_1min to pulsar_source_source_exceptions_1min_total
rename pulsar_source_system_exceptions_total_1min to pulsar_source_system_exceptions_1min_total
rename pulsar_function_received_total_1min to pulsar_function_received_1min_total
rename pulsar_function_user_exceptions_total_1min to pulsar_function_user_exceptions_1min_total
rename pulsar_function_system_exceptions_total_1min to pulsar_function_system_exceptions_1min_total
rename pulsar_function_processed_successfully_total_1min to pulsar_function_processed_successfully_1min_total
rename pulsar_function_received_total_1min to pulsar_function_received_1min_total
rename pulsar_function_user_exceptions_total_1min to pulsar_function_user_exceptions_1min_total
rename pulsar_function_system_exceptions_total_1min to pulsar_function_system_exceptions_1min_total
rename pulsar_function_processed_successfully_total_1min to pulsar_function_processed_successfully_1min_total
rename pulsar_sink_received_total_1min to pulsar_sink_received_1min_total
rename pulsar_sink_written_total_1min to pulsar_sink_written_1min_total
rename pulsar_sink_sink_exceptions_total_1min to pulsar_sink_sink_exceptions_1min_total
rename pulsar_sink_system_exceptions_total_1min to pulsar_sink_system_exceptions_1min_total
rename pulsar_sink_received_total_1min to pulsar_sink_received_1min_total
rename pulsar_sink_written_total_1min to pulsar_sink_written_1min_total
rename pulsar_sink_sink_exceptions_total_1min to pulsar_sink_sink_exceptions_1min_total
rename pulsar_sink_system_exceptions_total_1min to pulsar_sink_system_exceptions_1min_total
[x] doc-not-needed

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

https://github.com/prometheus/client_java/pull/615 introduced a breaking change, need discuss

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

@codelipenghui @merlimat @michaeljmarshall @eolivelli PTAL

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

Exposers SHOULD avoid names that could be confused with the suffixes that text format sample metric names use.

Suffixes for the respective types are:
Counter: '_total', '_created'
Summary: '_count', '_sum', '_created', '' (empty)
Histogram: '_count', '_sum', '_bucket', '_created'
GaugeHistogram: '_gcount', '_gsum', '_bucket'
Info: '_info'
Gauge: '' (empty)
StateSet: '' (empty)
Unknown: '' (empty)

I saw this in https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md, a COUNTER needs metrics_name_total and metrics_name_created.  But, in prometheus COUNTER.java:
  @Override
  public List<MetricFamilySamples> collect() {
    List<MetricFamilySamples.Sample> samples = new ArrayList<MetricFamilySamples.Sample>(children.size());
    for(Map.Entry<List<String>, Child> c: children.entrySet()) {
      samples.add(new MetricFamilySamples.Sample(fullname + "_total", labelNames, c.getKey(), c.getValue().get(), c.getValue().getExemplar()));
      samples.add(new MetricFamilySamples.Sample(fullname + "_created", labelNames, c.getKey(), c.getValue().created() / 1000.0));
    }
    return familySamplesList(Type.COUNTER, samples);
  }

counter metrics name will add _total suffix when collect, why should we change pulsar_expired_token_count  to pulsar_expired_token_total?

@merlimat @michaeljmarshall @eolivelli PTAL

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

@merlimat @michaeljmarshall @eolivelli PTAL

/pulsarbot run-failure-checks

@merlimat @michaeljmarshall @eolivelli PTAL

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

Version 0.16.0 is now available: https://github.com/prometheus/client_java/releases

@dave2wave - thanks for sharing. Based on two of the enhancements, we should probably upgrade before cutting the 2.11 branch.

@dave2wave @michaeljmarshall Thanks, I will follow up on this

This change cannot go to branch-2.10
it is a important behaviour change
@Jason918 please revert

This change cannot go to branch-2.10
it is a important behaviour change

@eolivelli
Sure, thanks for the reminding. Sorry I didn't notice the release/important-notice.
I add this because https://github.com/apache/pulsar/pull/16591 depends on this.
I have reverted both.


Feature: Populate python_full_version instead of python_version in Pipfile when full python version is specified in "--python" arg

I verified that I am using the latest version of pipenv at the time of writing (2022.9.8).
Is your feature request related to a problem? Please describe.
Not related to a problem, just observed a behavior I find odd given current functionality of pipenv. When creating a virtual environment, specifying a full python version (e.g., pipenv install --python 3.10.4) generates a Pipfile with python_version = "3.10". Given that pipenv supports a python_full_version key in the [requires] table, it seems odd to me that it doesn't use the full version field when a full python version is specified. Instead, it only uses the python_version field and specifies the feature release (e.g., 3.10).
Describe the solution you'd like
When using a full python version qualifier in the pipenv install command (e.g., pipenv install --python 3.10.4), the resulting Pipfile will use the python_full_version field instead:
[requires]
python_full_version = "3.10.4"

If the full version is not specified, the current expected behavior should apply:
[requires]
python_version = "3.10"

Describe alternatives you've considered
An obvious workaround is to manually fill out the field, but if others agree with me, I believe this behavior should happen automatically.

I'd like to take a shot on this one

@matteius I believe this can be closed.


Add Multiple Photo Support With New CLI

It looks like DayOne now has a new Command Line Interface (CLI) that supports multiple photos.  Does this mean multiple photo functionality could be added to this great plugin?

Yes! I saw the update last night and will look into it this week. This plugin is in desperate need of some love.


Test/multifield review refactor

See https://github.com/LedgerHQ/ledger-app-workflows/pull/57 for failing CI tests


Typing date directly and parsing it

I'm a bit lost here, I mean how is user supposed to type the date directly?
Using DateRangePicker but I guess it is the same for Single one.
First problem is that there is no caret when typing.
Then there is the parsing issue - where should I parse the date - onDatesChange doesn't provide any text, just a null date regardless of what's typed?

It should accept whatever moment accepts - what are you trying that's not working?

I'm using
moment.locale('sl');
which is Slovene and uses DD.MM.YYYY dateformat. Picker displays it correctly but no matter what I type in, it won't accept it. (Plus the caret is missing, but I guess it can be rectified with CSS or a style).

OK actually I found the issue. It requires leading zeros to parse it. so, month 2 won't work while 02 will.
What about the caret?

Not sure about that one. I assume that one doesn't only happen in Slovenian?

You mean caret is not visible. Yep, never saw one even in demos.

I'm having a lot of trouble with type-in values as well - the date picker accepts null values and things that aren't dates, but swallows them rather than letting me see what's getting typed.

I think there is a bug with typing. When i type 11/11/2017 the date value gets saved correctly but when I type 01/01/2017 or 02/02/2017 the date value remains null.


uranium crab enhancement

About the PR
The uranium crab has become more radioactive. It emits 2 rads 6 tiles away from itself.
A character being close to a crab receives 100 radiation damage in 52 seconds, while being on the 5th tile from a crab the character will receive 100 damage in 3:35 minutes.
Due to the increase in radiation damage, the amount of uranium dropped from the crab has been increased, up to 10.
Why / Balance
Early crabs emitted 0.3 rad and only on the same tile as the crab itself. The uranium crab does not attack anyone, which turns it into a "punching bag".
Increasing radius and radiation damage will allow the uranium crab to be something of a support for its stone counterparts.
Technical details
I reduced slope to increase the radius of radiation, and intensity to increase damage. I think that maybe the crab has become too strong, so I increased the reward for it to 10 uranium.

[X] This PR does not require an ingame showcase

Changelog
:cl: Lomcastar

tweak: Uranium crabs are more radioactive!

uranium crab suppermatter


enable gpu fails on 20.04 (focal) - the public key is not available: NO_PUBKEY A4B469963BF863CC

Summary
After trying 22.04 in https://github.com/canonical/microk8s/issues/3217, now I'm using 20.04. By following this link:
https://microk8s.io/docs/addon-gpu
$ snap version
snap    2.54.4
snapd   2.54.4
series  16
ubuntu  20.04
kernel  5.13.0-1022-aws

$ snap list microk8s
Name      Version  Rev   Tracking     Publisher   Notes
microk8s  v1.24.0  3272  1.24/stable  canonical✓  classic

$ lspci | grep NVIDIA
00:1e.0 3D controller: NVIDIA Corporation GV100GL [Tesla V100 SXM2 16GB] (rev a1)

A nvidia-driver-daemonset pod is in CrashLoopBackOff with the following error:
$ microk8s kubectl logs -n gpu-operator-resources pod/nvidia-driver-daemonset-dlnf5 -p
Defaulted container "nvidia-driver-ctr" out of: nvidia-driver-ctr, k8s-driver-manager (init)
Creating directory NVIDIA-Linux-x86_64-470.57.02
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 470.57.02.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

WARNING: Unable to determine the default X library path. The path /tmp/null/lib will be used, but this path was not detected in the ldconfig(8) cache, and no directory exists at this path, so it is likely that libraries installed there will not be found by the loader.

WARNING: You specified the '--no-kernel-module' command line option, nvidia-installer will not install a kernel module as part of this driver installation, and it will not remove existing NVIDIA kernel modules not part of an earlier NVIDIA driver installation.  Please ensure that an NVIDIA kernel module matching this driver version is installed separately.

========== NVIDIA Software Installer ==========

Starting installation of NVIDIA driver version 470.57.02 for Linux kernel version 5.13.0-1022-aws

Stopping NVIDIA persistence daemon...
Unloading NVIDIA driver kernel modules...
Unmounting NVIDIA driver rootfs...
Checking NVIDIA driver packages...
Updating the package cache...
W: GPG error: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64  InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC
E: The repository 'https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64  InRelease' is no longer signed.
Stopping NVIDIA persistence daemon...
Unloading NVIDIA driver kernel modules...
Unmounting NVIDIA driver rootfs...

What Should Happen Instead?

Necessary pods come up as active with no issue.
Reproduction Steps

prepare Ubuntu 20.04 LTS installation with Nvidia GPU
install microk8s
microk8s enable gpu

Introspection Report

Can you suggest a fix?

Are you interested in contributing with a fix?

https://forums.developer.nvidia.com/t/notice-cuda-linux-repository-key-rotation/212772#working-with-the-nvidia-gpu-operator-7

Current users of the GPU Operator on Ubuntu distributions may be affected by the rotation of the CUDA GPG keys, where some of the containers managed by the GPU Operator may fail to start with the following error
(...)
NVIDIA will be publishing new images for the driver containers (by overwriting existing image tags). Users can work around this error by updating the existing clusterPolicy to pull new images:
$ kubectl edit clusterpolicy
and set driver.imagePullPolicy=Always
This step will result in the GPU Operator pulling the updated images. Note that new installations of the GPU Operator should be unaffected by this change and do not require any clusterPolicy updates.


When pressing Tab on white-space only lines, indent straight to the right spot (similar to empty lines)

Depending on how my cursor arrives at line of code determines which way the editor indents the line. Let me start by showing what the correct indent spacing looks like:

If I am on a line of code and there is already a space on the line, which is invisible if the line is selected, indents to the first indent spot encountered.

If I am on a line of code, lose focus of VS Code, and then come back to VS Code the indent spacing is incorrect and its a combination of tabs and spaces.

If you enable to show invisible spaces, they are still not visible on the current line selected. I think it would be useful to be able to see them as well.

It may be useful stating that this weird spacing is occurring while working with typescript. I am not sure if it occurs for any other languages. And please let me know if I am missing a configuration item.
Thanks!

<EMAIL_ADDRESS>On Feb 11, 2016 10:51 PM, "Alex Mamut"<EMAIL_ADDRESS>wrote:

Depending on how my cursor arrives at line of code determines which way
the editor indents the line. Let me start by showing what the correct
indent spacing looks like:
[image: https://gyazo.com/eca50fd7907e95b870c4b1b5602300c3]
https://gyazo.com/eca50fd7907e95b870c4b1b5602300c3

If I am on a line of code and there is already a space on the line,
which is invisible if the line is selected, indents to the first indent
spot encountered.
[image: https://gyazo.com/687cae9a5b229d24fccb8c958cdbc434]
https://gyazo.com/687cae9a5b229d24fccb8c958cdbc434
2.
If I am on a line of code, lose focus of VS Code, and then come back
to VS Code the indent spacing is incorrect and its a combination of tabs
and spaces.
[image: https://gyazo.com/44a5e6d87122dd59559c047cb8b9336d]
https://gyazo.com/44a5e6d87122dd59559c047cb8b9336d
3.
If you enable to show invisible spaces, they are still not visible on
the current line selected. I think it would be useful to be able to see
them as well.
It may be useful stating that this weird spacing is occurring while
working with typescript. I am not sure if it occurs for any other
languages. And please let me know if I am missing a configuration item.
Thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/Microsoft/vscode/issues/2938.

@amamut Is it possible you hit #2829  (i.e. if you try one of the workarounds is this reproducible?). Otherwise (if this still occurs after applying one of the workarounds), can you please share your settings? (i.e. do you use formatOnType)

@alexandrudima I do not use formatOnType. So workaround #1 fixed the weird combination tab and space indenting. The culprit could be "files.autoSave": "onFocusChange" as the workaround made me comment this line out.
However it did not fix the single space on a line bug where it indents to the first indent spot encountered.
It may be useful to add that I am also using OSX El Capitan 10.11.3.

@amamut Indeed, only empty lines get indented straight to the right place -- https://github.com/Microsoft/vscode/blob/master/src/vs/editor/common/controller/oneCursor.ts#L1284
I can enhance that logic to also do it for whitespace only lines.

@alexandrudima I feel that would make the most sense.

Works, except when there is already the full indentation (or more) on the line. It would make sense to make it work the same way in that case:

This is makes sense, but not critical enough for July. Moving to August.

@chrmarti I would consider this a separate thing. Mostly, the indentation adds whitespace, in this case it would need to delete whitespace which it never did so far. Let's track your request in #11322


gyp_main.py error searching --root-target

adding the PYTHONPATH env variable should solve the problem.
gyp_main.py searches gyp in the system, while we should prefer the one downloaded along with the repo.

Thanks! I'm a python noob, so this is really helpful.
Looks like we were conflicting a bit on our changes.  It looks like you just want to add PYTHONPATH to all the gyp invocations.  I updated that here.

I've reverted your changes, because the upstream of gyp is fine.
I think there is no need to force a specific hash, anyway there is also no need to revert it.
As you prefer!! :-)


The UI of Hero-Section for mobile screens is updated

Related Issue
[Cite any related issue(s) this pull request addresses. If none, simply state “None”]
Fixes:  #1102
Description
[Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.]

Type of PR

[ ] Bug fix
[x] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes. Make sure to attach before & after screenshots in your PR.]
Before

There was padding in bug for both light as well as dark theme
After

I have solved the issue for both screens also made the font sizes appropriate for better User experience
Checklist:

[x] I have made this change from my own.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

Conflicting files
assets/css/style.css
Please see the conflicts highlighted in the image above. Resolve the conflicts in the mentioned files. Ensure you pull all the latest changes before pushing your feature/bug fixes to the main branch. After resolving the conflicts, please open a new PR for review.
Thank you!


XREAD BLOCK $ never resolves

In redis-cli I can do
XREAD BLOCK 0 STREAMS test $
then open another client and do
XADD test * foo bar
and the XREAD in the first client completes.
It is my understanding that with isolated execution I should be able to achieve the same result, something like
const client = createClient({ url: "redis://localhost:6379" });
await client.connect();
client
  .XREAD(
    commandOptions({ isolated: true }),
    { key: "test", id: "$" },
    { BLOCK: 0 },
  )
  .then(console.log);

client.XADD("test", "*", { foo: "bar" });

should log replies to the console, no?
I'd prefer this a lot over the endless loop given in the examples folder
Environment:

18.8.0
7.0.4
4.3.1
EndeavourOS Kernel 5.19.5-arch-1

this actually seems to not be related to a timeout of 0 but rather the special id "$"; the example runs fine if you pass in e.g. "0".

The reason the code is not working as you would've expected it to is that there is a race condition here: you are executing two commands on two sockets, but you need to make sure that "XREAD" will be executed before "XADD", otherwise "XREAD" will wait for the next "XADD" to the stream.
I think that the only solution to that will be to add a onWrite callback on the command, but unfortunately that's not supported by promises...
@guyroyse @simonprickett ideas?

promises are eagerly executed, meaning that if there's a race condition it's either

because the messages sent over the socket arrive at the redis instance out of order.
because the messages are not sent synchronously when the XREAD/XADD are called

I'd expect this library to ensure commands sent to the server arrive in the order they are sent.
I'm not quite sure what you mean by onWrite callback, but delay that can be achieved with a callback can also be wrapped into a promise.
--
The real world use case here is e2e testing in the context of event sourcing; maybe I have abused redis here and streams aren't meant to accomodate event sourcing?

apologies if the previous comment sounded too harsh, what I meant by "expect" is that any other behaviour would be surprising and while technically possible I'd think this library would also exist to tackle and alleviate such problems.

"because the messages sent over the socket arrive at the redis instance out of order."
with isolated: true, you are actually using two sockets, so they might arrive at the server out-of-order..
"because the messages are not sent synchronously when the XREAD/XADD commands are called"
Any command is being sent asynchronously.
If two commands are executed in the same socket (without isolated) - Redis promises they will run in order
await Promise.all([
  client.del('key'),
  client.set('key', value);
  client.get('key')
]);

// the reply will be:
[
  1 || 0,
  'OK',
  'value'
]

But if two commands are executed on two different sockets, they might run at different order:
await Promise.all([
  client.del('key'),
  client.set(commandOptions({ isolated: true }), 'key', value);
  client.get('key')
]);

// the reply will be:
[
  1 || 0,
  'OK',
  'value' || null
]

The commands are async, but dispatching them should be sync, right?
And while the commands might arrive out of order when using two sockets
that's exactly what I'd use a driver for - to ensure that the commands
still arrive in order. How many sockets are being used should imho not be
the concern of the user, that's the drivers job.
On Mon, Sep 19, 2022, 20:02 Leibale Eidelman @.***>
wrote:

"because the messages sent over the socket arrive at the redis instance
out of order."
with isolated: true, you are actually using two sockets, so they might
arrive at the server out-of-order..
"because the messages are not sent synchronously when the XREAD/XADD
commands are called"
Any command is being sent asynchronously.
If two commands are executed in the same socket (without isolated) -
Redis promises they will run in order
await Promise.all([
client.del('key'),
client.set('key', value);
client.get('key')]);
// the reply will be:[
1 || 0,
'OK',
'value']
But if two commands are executed on two different sockets, they might run
at different order:
await Promise.all([
client.del('key'),
client.set(commandOptions({ isolated: true }), 'key', value);
client.get('key')]);
// the reply will be:[
1 || 0,
'OK',
'value' || null]
—
Reply to this email directly, view it on GitHub
https://github.com/redis/node-redis/issues/2258#issuecomment-1251361823,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACOHZTVZ64232OZ7RO7VCWDV7CTBVANCNFSM6AAAAAAQI7UW6Q
.
You are receiving this because you authored the thread.Message ID:
@.***>

It's not something the client can do, because the server is not replying with "entering block mode" event, so the client cannot know if the command is "on the way" to the server or if it was processed by the server and the client is in blocking mode


Map primitive decimal type to the Double type

The primitive decimal type in the XML schema definition [1] should represents a subset of the real numbers, not only integers. The minimum numbers of digits should be 18, but as a first solution we might use the Double type.
[1] https://www.w3.org/TR/xmlschema-2/#decimal

thanks!


TypeConstraint checks if a value is really a numeric array or it's an object

As JSON objects are represented as PHP arrays once decoded, the type check didn't work when importing json or yaml files.
I improved the check for both arrays and objects.

I added a check for empty arrays for both array and object check.
Most tests pass, but 2 from schema-v3 don't, as they test empty arrays and objects which, in PHP, are equivalent.
The alternative would be to go back to check only for is_object() and is_array(), but this would force to use stdClass everywhere a json object is needed.
I am open to suggestions as to how to manage this.

@Alex-PK any movement on this regarding testing?


Review system

Ability for users to leave feedback on managers. Feedback must be reviewed by adminstrators prior to publication.
┆Issue is synchronized with this Asana task

This will be added using a separate module.


"Mentor Tickets' tab looks bad

seemingly, if there are tickets in my categories, it shows "No Tickets"
in other words, it doesn't show the tickets, but it eliminates the, like, double-layered text


introduce convention based approach to allow default values for properties

I have been working on something of a wrapper around NBuilder in order to accomplish exactly this purpose. Default values is something that I really like about tools like factory-girl, but the .NET versions have some shortcomings that this tool does not.
My approach thus far has been to define factory classes like this:
    public class ReasonFactory : NFactory<Reason>
    {
        public override ISingleObjectBuilder<Reason> Build()
        {
            return base.Build().WithDefaultValues();
        }

        public override IListBuilder<Reason> BuildList(int size)
        {
            return base.BuildList(size).All().HavingDefaultValues();
        }
    }

    public static class ReasonFactoryExtensions
    {
        public static ISingleObjectBuilder<Reason> WithDefaultValues(this ISingleObjectBuilder<Reason> builder)
        {
            return builder
                .With(r => r.Name = Faker.Lorem.Sentence());
        }

        public static IListBuilder<Reason> HavingDefaultValues(this IListBuilder<Reason> builder)
        {
            return builder.All()
                .With(r => r.Name = Faker.Lorem.Sentence());
        }
    }

There are some other classes involved that will take care of registering these factories so that NFactoryGirl.Build<Reason>() and NFactoryGirl.BuildList<Reason>(count) will call the appropriate methods from the Factory classes.
While this is working pretty well, there is a clear problem with repetition. This results from the need to define the same logic for IListBuilder<T> and ISingleObjectBuilder<T>. This obviously comes from the fact that the With methods on IOperable<T> and ISingleObjectBuilder<T> are not from a shared interface.
Do you have any suggestions? Is there a better way to write extension methods such that they can be applied to single objects as well as lists?
Also, I see this issue is a couple years old. Are there any actual plans to introduce this feature? Is there already a general design for it?


Fixed accessibility size

Issue
https://github.com/lzhuor/auto_size_text_field/issues/23
Problem
On device users with disabilities configure larger texts. The calculation of the field size does not consider this variation.
Expected
That when typing 123 in the field, with the font increased by up to 400%, all numbers are visible on the screen.
Before
https://user-images.githubusercontent.com/30198542/127186442-6baa8737-8575-4efa-9d34-2dac219d0aab.mov
Later
https://user-images.githubusercontent.com/30198542/127187066-aa360367-1485-409b-b102-2546c65f078b.mov

hello @lzhuor
I would like to know if you are still maintaining the project. So I can decide whether to install it on the project I'm working on.
Thanks.

Thank you @GabrieleSuzart . Merged.


Link of "openkruise installation documentation" is invalid

I find the link of openkruise installation documentation in Installing Add-ons is redirect to Page Not Found

Thank you @showjason, we will fix it.


Reducing the snapshot.storage.k8s.io group privileges

Procedure:
1. Deploy OCP4.17 [4.17.0-0.nightly-2024-08-31-032707]

2. Deploy ODF4.17 [odf-operator.v4.17.0-53.stable]

3.Verify storagecluster in Ready State
$ oc get storagecluster
NAME                 AGE   PHASE   EXTERNAL   CREATED AT             VERSION
ocs-storagecluster   20h   Ready              2024-09-01T11:48:56Z   4.17.0

4.Check clusterrole status:
// +kubebuilder:rbac:groups=snapshot.storage.k8s.io,resources=volumesnapshots;volumesnapshotclasses,verbs=*

5. Add "create" and "delete" verbs
delete: https://github.com/red-hat-storage/ocs-operator/blob/main/controllers/storagecluster/volumesnapshotterclasses.go#L174
create: https://github.com/red-hat-storage/ocs-operator/blob/main/controllers/storagecluster/volumesnapshotterclasses.go#L108
$ oc edit clusterrole ocs-operator.v4.17.0-53.-1QHgeXms7btcF6mudj63wa1ngH5P094kD8jAtR
- apiGroups:
  - snapshot.storage.k8s.io
  resources:
  - volumesnapshotclasses
  verbs:
  - create
  - delete
  - get
  - list
  - watch
- apiGroups:
  - snapshot.storage.k8s.io
  resources:
  - volumesnapshotclasses
  - volumesnapshots
  verbs:
  - '*'

- apiGroups:
  - snapshot.storage.k8s.io
  resources:
  - volumesnapshotclasses
  verbs:
  - create
  - delete
  - get
  - list
  - watch
- apiGroups:
  - snapshot.storage.k8s.io
  resources:
  - volumesnapshotclasses
  - volumesnapshots
  verbs:
  - create
  - delete

6.Delete ocs-operator pod and check ocs-operator pod logs:
$ oc delete pod ocs-operator

$ oc logs ocs-operator
[No errors]

7.Delete ocs-operator pod and check ocs-operator pod logs:
$ oc delete pod ocs-operator

8. Ruuning OCS-CI test:
tests/functional/pv/pvc_snapshot/test_restore_snapshot_using_different_sc.py [pass]

9.Add get [based code]
https://github.com/red-hat-storage/ocs-operator/blob/main/controllers/storagecluster/volumesnapshotterclasses.go#L103

10. Change code:
// +kubebuilder:rbac:groups=snapshot.storage.k8s.io,resources=volumesnapshots;volumesnapshotclasses,verbs=get;create;delete

11.make gen-latest-csv:
export REGISTRY_NAMESPACE=ocs-dev
export IMAGE_TAG=latest
make gen-latest-csv

We do need a watch as well
https://github.com/red-hat-storage/ocs-operator/blob/main/controllers/storagecluster/storagecluster_controller.go#L232

@Nikhil-Ladha Can you pls help @OdedViner figure out if we need this permission or not, Unfortunately, the Pr is merged, If required we can get it added into the new PR.

We do need a watch as well
https://github.com/red-hat-storage/ocs-operator/blob/main/controllers/storagecluster/storagecluster_controller.go#L232

@Nikhil-Ladha Can you pls help @OdedViner figure out if we need this permission or not, Unfortunately, the Pr is merged, If required we can get it added into the new PR.

I think we need this verb for VolumeSnapshotClass. IIUC, we don't create a VolumeSnapshotClass by default, so we never came across any error. But, still interesting to see that no error is reported during the reconcile, if appropriate permission is not there 🤔

Because we have 2 roles for volumesnapshotclasses resource:
oc get clusterrole ocs-operator.v4.17
- apiGroups:
  - snapshot.storage.k8s.io
  resources:
  - volumesnapshotclasses
  verbs:
  - create
  - delete
  - get
  - list
  - watch
- apiGroups:
  - snapshot.storage.k8s.io
  resources:
  - volumesnapshotclasses
  - volumesnapshots
  verbs:
  - '*'

https://github.com/red-hat-storage/ocs-operator/blob/main/controllers/storagecluster/reconcile.go#L117
https://github.com/red-hat-storage/ocs-operator/blob/main/controllers/storagerequest/storagerequest_controller.go#L80
So I tested only volumesnapshots resource and not volumesnapshotclasses resource
volumesnapshotclasses got  the permission from here  https://github.com/red-hat-storage/ocs-operator/blob/main/controllers/storagerequest/storagerequest_controller.go#L80

We do need a watch as well
https://github.com/red-hat-storage/ocs-operator/blob/main/controllers/storagecluster/storagecluster_controller.go#L232

@Nikhil-Ladha Can you pls help @OdedViner figure out if we need this permission or not, Unfortunately, the Pr is merged, If required we can get it added into the new PR.

I think we need this verb for VolumeSnapshotClass. IIUC, we don't create a VolumeSnapshotClass by default, so we never came across any error. But, still interesting to see that no error is reported during the reconcile, if appropriate permission is not there 🤔

Because we have 2 roles for volumesnapshotclasses resource:
oc get clusterrole ocs-operator.v4.17
- apiGroups:
  - snapshot.storage.k8s.io
  resources:
  - volumesnapshotclasses
  verbs:
  - create
  - delete
  - get
  - list
  - watch
- apiGroups:
  - snapshot.storage.k8s.io
  resources:
  - volumesnapshotclasses
  - volumesnapshots
  verbs:
  - '*'

https://github.com/red-hat-storage/ocs-operator/blob/main/controllers/storagecluster/reconcile.go#L117
https://github.com/red-hat-storage/ocs-operator/blob/main/controllers/storagerequest/storagerequest_controller.go#L80
So I tested only volumesnapshots resource and not volumesnapshotclasses resource. volumesnapshotclasses got the watch permission from here https://github.com/red-hat-storage/ocs-operator/blob/main/controllers/storagerequest/storagerequest_controller.go#L80 @Nikhil-Ladha @iamniting

I believe we should have permission in both of the places. If for some reason we may alter the code or delete the code. There will be a regression. Can you pls raise the PR which adds watch permission in the storagecluster controller as well?

https://github.com/red-hat-storage/ocs-operator/blob/main/controllers/storagecluster/storagecluster_controller.go#L232
Done
https://github.com/red-hat-storage/ocs-operator/pull/2782


Bug Report: Week file don't load

Please check for duplicates or similar issues, as well performing simple troubleshooting steps (such as deleting the YoshiCrafter29 folder from AppData) before submitting an issue.
not source :v
If you're using an older version of the engine, check if the bug haven't been already fixed
newest
PS : the "everything goes black while changing state in developer mode bug" is not a bug, it's been designed this way to refresh all bitmaps between states to allow easier modding.
i didn't know that
Which target are you using?

[ ] Windows

What version of the engine are you using (Bottom left of the screen in main menu) ?
1.6.1
Have you identified any steps to reproduce the bug? If so, please describe them below in as much detail as possible. Use images if possible.
no
Please describe your issue. Provide extensive detail and images if possible.

i was making a week and the week file never loaded and stay with haxe logo,plz help

Fixed in dev branch


[BUG] - the prop isKeyboardDismissDisabled it doesn't work in popover

NextUI Version
2.4.1
Describe the bug
Adding the prop isKeyboardDismissDisabled={true} on the  component does not close the popover with ESC key.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
import {Popover, PopoverTrigger, PopoverContent, Button} from "@nextui-org/react";

export default function App() {
  return (
    <Popover placement="right" isKeyboardDismissDisabled={true}>
      <PopoverTrigger>
        <Button>Open Popover</Button>
      </PopoverTrigger>
      <PopoverContent>

Popover Content

This is the popover content

      </PopoverContent>
    </Popover>
  );
}

Expected behavior
It should be closed with the ESC key as well as the Modal component.
Screenshots or Videos
No response
Operating System Version
Windows 11
Browser
Chrome

preliminary findings:

focus is on button while it should be in content
if the focus is on content, then isKeyboardDismissDisabled works as expected


Search not working in the Explorer tab.

Type: Bug
Before the latest update, when I typed while focussed in the Explorer, I could search the document file names to find a file easier. This is no longer working.
Azure Data Studio version: azuredatastudio 1.44.0 (31bee67f005648cdc9186f28ef39b4f1d6585e0f, 2023-05-19T16:53:04.348Z)
OS version: Windows_NT x64 10.0.22621
Restricted Mode: No
Preview Features: Enabled
Modes:

System Info

Item
Value

CPUs
12th Gen Intel(R) Core(TM) i7-1270P (16 x 2496)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
31.24GB (14.29GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

@hjpinndx the File Explorer component is picked-up from upstream VS Code source code and we try to maintain feature parity with that unless there is a specific customization needed to optimize the data management experience.  The 1.44 release brought in a few months of VS Code changes that updated this scenario.
I wasn't able to notice any difference between the current ADS behavior and current VS Code behavior for this particular use-case.  Please let me know if I'm misunderstanding the issue.  Otherwise, please open an issue for VS Code with the suggested change and we'll pick it up in a future source code refresh.  Thanks!

@hjpinndx If you press ctrl+f when on the tree then the search widget should appear. This was a change VS Code did a while back (you used to be able to filter just by typing when focus was on the tree).

Closing as "by design" based on changes in upstream behavior in this scenario.  Please let us know if you are seeing any difference between ADS and VS Code in this scenario.  Thanks for opening this issue.

@kburtram, thanks for the feedback. ctrl+f does the trick!


Add sharding usage examples for discord-hybrid-sharding and discord-cross-hosting to docs

Feature
It would be good to see the sharding implementation using discord-hybrid-sharding and discord-cross-hosting packages. There are already mentions to those 2 packages in docs but no details.
Ideal solution or implementation
Add configuration examples to docs.
Alternative solutions or implementations
No response
Other context
No response

Hi there! Thank you for suggestion!
We're not familiar with the API of those packages ourselves, and it will be difficult to keep moving forward in the future. I think using these packages is a bit like Sharding in Discord.js.


Excel Workbook API returns empty rows in additional_data

Request is successful when calling the MSGraph Excel API - but the additional_data field is always empty.
Calling the Excel Graph API to read Excel workbook table rows.
This is the code:
drive = await client.drives.by_drive_id('id').items.by_drive_item_id('id').workbook.tables.by_workbook_table_id('1').rows.item_at_with_index(6).get(request_configuration = request_configuration)
The additional_data is always {} even though my Excel file has over 6K rows.

Possibly related to https://github.com/microsoftgraph/msgraph-metadata/issues/596


Question on checkpoints

Hi, great repo thank you for your work!
Quick question: are the pretrained checkpoints that are available for download related to the "OS repo" or "our best" from the Notion page?

Hi there! The provided pretrained checkpoints are used to generate "OS repo" results, OS standing for open-source. "Our best" results were obtained by training on our in-house datasets.


Update README.md: A comment on emacs integration

This merely updates the nix/README.md doc with a few extra comments on emacs integration that I'd find quite helpful.

!ci-build-me

!ci-build-me


Test dockerfile from Kai

Description
Changes proposed in this pull request:

...
...
...

Related issue(s)

/test all


Can't run in electron with windows 11

v.addListener cause an error:
[Window Title]
Error

[Main Instruction]
A JavaScript error occurred in the main process

[Content]
Uncaught Exception:
Error: spawn E:\rotick\bin\WinKeyServer.exe ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:286:19)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

Probably a duplicate of #13


Remove old route protocol

The route protocol was a precursor to the coordinate mediation protocol. The routing/1.0 protocol itself will retain the forward message and its handler. However, the old route-query-request and response and route-update-request and response have been out of use for at least a couple of years. Before that, I don't think it had ever achieved common use to begin with. I think it's time to remove the handlers and any other references from the codebase.

Sounds right to me.


Deploy gets triggered (and fails) on PRs

Check the log of any recent PR, it will try to log into Azure. Need to find a way to prevent this.

Need to find a way to prevent this.

You can use the TRAVIS_PULL_REQUEST environment variable, or Travis Ci conditions.


vm.roll can result in panic on L2 network

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[ ] Foundryup

What version of Foundry are you on?
forge 0.2.0
What command(s) is the bug in?
forge test
Operating System
Linux
Describe the bug
As described in this issue, forge does not currently handle the idiosyncrasies of each EVM-compatible L2 network. In the context of testing contracts which rely on a block.number delta against an Arbitrum fork pinned at a certain block, using vm.roll as a workaround would suffice until now.
However, after upgrading to foundry 2.0, forking an Arbitrum live network pinned at a certain block (i.e.: forge test --fork-url ARBITRUM_RPC --fork-block-number 1337) and then using vm.roll to set the test contract's block.number to an L1 value results in a panic. This prevents me from testing some logic where the L2 contract calculates the difference between a lastBlockNumber variable and the current block.number (both L1 values).
I think that the change responsible for this behavior is this commit. In fact, after downgrading foundry to the previous commit ( foundryup -C 4415ff47cc03c9f9657dd2959f57de411a4e67b2), the test/vm.roll worked again as expected

thanks for raising this,

using vm.roll to set the test contract's block.number to an L1 value results in a panic.

this is the expected behavior, because the fork is bound to a specific chain.
#ceaecc660 introduced panics because that's the only safe behavior when we failed to look up data on the fork.
this is good feedback and we're working on making forking support more flexible for different L2s: https://github.com/foundry-rs/foundry/issues/834
so you can easily switch the context from within your test and the use case you're describing should be possible.

it's not handled automatically yet, a workaround is described here https://github.com/foundry-rs/foundry/issues/748#issuecomment-1178906548
we decided to hold off on this until the major L2 upgrades are rolled out before baking in chain agnostic stuff.
but I think we can close this in favor of #748 ?

Yeah, agreed :+1:


feat: Add created_at to workflow_run_jobs schema

Summary
This pull request adds the created_at property to the workflow_run_jobs schema. This allows users to extract the creation time of workflow run jobs and would be helpful in the tracking individual jobs queue_time.
Changes

Updated repository_streams.py to include created_at in the schema definition of the workflow_run_jobs stream.

Testing

Confirmed that Github REST API endpoint for workflow jobs response returns created_at field in the response.
Tested the changes locally using Meltano to ensure the created_at field is correctly included and populated.

Thanks you @santhosh-fit!


Content Security Policy error

I am using the library, locally with Webpack 5 and deployed on Azure App Services it works fine. Switching to NGINX and deploying to Google Cloud Run I get the following error:
Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".

This is my NGINX security.conf:
# security headers
add_header X-Frame-Options         "SAMEORIGIN" always;
add_header X-XSS-Protection        "1; mode=block" always;
add_header X-Content-Type-Options  "nosniff" always;
add_header Referrer-Policy         "no-referrer-when-downgrade" always;
add_header Content-Security-Policy "default-src 'none';script-src 'self';style-src 'self' 'unsafe-inline'; img-src 'self' connect-src 'self' http://localhost:44331; frame-src 'self' https://localhost:44331; font-src 'self'" always;
add_header Strict-Transport-Security "max-age=31536000" always;

# . files
location ~ /\.(?!well-known) {
    deny all;
}

I suppose I have to add something to the Content-Security-Policy script-src, but what?

Hi, we believe that is not an error with our package since we are not using eval anywhere as this is very bad practice.
Are you sure this is happening because of our package?

Hi, give me some days, I will check it again.

Hi @emaborsa, this issue is ongoing for almost three months, but we did not hear back from You. I'm closing this thread as we think the error You've described has nothing to do with our package.


DEVX-1081: Improve build workflow

@rhauch does this PR require an update to 0.1.6, or is that handled separately?


fix: edit button fixes, authorisation wrong message fixed

Description
This PR fixes

Click on gsheet datasource from entity explorer was landing onto edit instead of view mode
Edit button on active datasource page and on view mode page of gsheet datasource wasn't working
Even after successful authorization of gsheet datasource, it was showing Authorisation failed, to continue using this data source authorize now. thereby restricting users to create a query.

PR fixes following issue(s)
Fixes #23093
Fixes #23067
Fixes #20343
Media

A video or a GIF is preferred. when using Loom, don’t embed because it looks like it’s a GIF. instead, just link to the video

Type of change

Please delete options that are not relevant.

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
Chore (housekeeping or task changes that don't impact user perception)
This change requires a documentation update

Testing

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration.
Delete anything that is not relevant

[ ] Manual
[ ] Jest
[ ] Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/ok-to-test sha=3f67303

/build-deploy-preview


The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master      #67      +/-   ##
============================================
+ Coverage     55.63%   55.76%   +0.13%
  Complexity      452      452
============================================
  Files            92       92
  Lines          1686     1682       -4
  Branches        169      165       -4
============================================
  Hits            938      938
+ Misses          693      690       -3
+ Partials         55       54       -1

Impacted Files
Coverage Δ

...rc/main/java/seedu/address/logic/LogicManager.java
0.00% <0.00%> (ø)

...address/logic/commands/ListTransactionCommand.java
0.00% <ø> (ø)

...c/main/java/seedu/address/model/person/Person.java
60.21% <ø> (+1.88%)
:arrow_up:

...ain/java/seedu/address/model/transaction/Note.java
0.00% <ø> (ø)

src/main/java/seedu/address/ui/MainWindow.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/ui/PersonCard.java
0.00% <ø> (ø)

...rc/main/java/seedu/address/ui/TransactionCard.java
0.00% <0.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


add ISSUE_TEMPLATE.md

This is essentially a 1:1 copy of what we're using for prometheus: https://raw.githubusercontent.com/prometheus/prometheus/master/.github/ISSUE_TEMPLATE.md

@mxinden


Computer vision?

Hello - this is more of a question:
I am working on a computer vision multi-label classification project, and I am wondering if I can train it also with quantum neural nets? If so, does anyone have a tutorial where they have demonstrated this?
Also, do you guys have a Slack community or something like that where this type of question would be more appropriate?
Thanks in advance,
Yogesh

@yogeshriyat If you don't have other questions, would you mind closing the issue?


Adding a second event to a model seems to cause type errors

Description

It seems like using a model can cause a type error if there's more than one event.
I've made a reproduction of the issue at https://github.com/joneshf/xstate-model-type-error.
E.g. going from:
type Event =
  | { type: "ADD_NUMBER"; number: number };

to
type Event =
  | { type: "REMOVE_NUMBER" }
  | { type: "ADD_NUMBER"; number: number };

Seems to trigger the issue.
I could totally be doing something incorrect here.
For posterity, this is the code from the linked repo:

index.ts
import * as xstate from "xstate";
import * as xstateModel from "xstate/lib/model";

interface Context {
  values: number[];
}

type Event =
  // Uncomment line 24 (the `| { type: "REMOVE_NUMBER" }` line),
  // and `tsc` fails to compile with an error like:
  // index.ts:47:7 - error TS2322: Type 'AssignAction<Context, { type: "REMOVE_NUMBER"; }>' is not assignable to type 'ActionObject<Context, Event>'.
  //   Types of property 'exec' are incompatible.
  //     Type 'ActionFunction<Context, { type: "REMOVE_NUMBER"; }> | undefined' is not assignable to type 'ActionFunction<Context, Event> | undefined'.
  //       Type 'ActionFunction<Context, { type: "REMOVE_NUMBER"; }>' is not assignable to type 'ActionFunction<Context, Event>'.
  //         Type 'Event' is not assignable to type '{ type: "REMOVE_NUMBER"; }'.
  //           Type '{ type: "ADD_NUMBER"; number: number; }' is not assignable to type '{ type: "REMOVE_NUMBER"; }'.
  //             Types of property 'type' are incompatible.
  //               Type '"ADD_NUMBER"' is not assignable to type '"REMOVE_NUMBER"'.

  // 47 const addNumber: xstate.ActionObject<Context, Event> = model.assign({
  //          ~~~~~~~~~

  // Found 1 error.
  // | { type: "REMOVE_NUMBER" }
  | { type: "ADD_NUMBER"; number: number };

export type Model = xstateModel.Model<Context, Event, any>;

interface Schema {
  states: States;
}

type States = {
  normal: {};
};

const context: Context = {
  values: [],
};

export const model: Model = xstateModel.createModel(context, {
  events: {
    ADD_NUMBER: (number: Number) => ({ number }),
  },
});

const addNumber: xstate.ActionObject<Context, Event> = model.assign({
  values: (context: Context, event: Event): number[] => {
    if (event.type !== "ADD_NUMBER") {
      return context.values;
    }

    return context.values.concat([event.number]);
  },
});

const config: xstate.MachineConfig<Context, Schema, Event> = {
  id: "values",
  initial: "normal",
  context: model.initialContext,
  states: {
    normal: {
      on: {
        ADD_NUMBER: [
          {
            actions: ["addNumber"],
          },
        ],
      },
    },
  },
};

const options: Partial<xstate.MachineOptions<Context, Event>> = {
  actions: {
    addNumber,
  },
};

export const machine: xstate.StateMachine<Context, Schema, Event, any> =
  xstate.createMachine<Model>(config, options);

Expected Result

Adding a second event shouldn't require removing the model in order to type check.
Actual Result

There are type errors that don't seem to be able to be resolved until the model is removed.
Reproduction

I tried to use the codesandbox link and I cannot seem to get the error to reproduce.
Here's the link anyway: https://codesandbox.io/s/adoring-haze-jntkx?file=/src/index.ts
As mentioned, I've reproduced this in a full git repo: https://github.com/joneshf/xstate-model-type-error
It might be because codesandbox is running TypeScript 4.1.2 and the repo is using 4.3.2, but I tried downgrading to 4.1.2 in the repo and it still had the type error.
Additional context

TypeScript version - 4.3.2
XState version - 4.20.0
Talked about briefly in discord: https://discord.com/channels/795785288994652170/809564589880639548/849675000071585812

Hey so, somehow it started erroring on the code sandbox. Nothing's changed since this issue was opened, but it at least reproduces the issue now. The error is on like 46 now (due to reformatting).

If you remove the type annotations, it works fine:
const addNumber = model.assign({
  values: (context, event) => {
    if (event.type !== "ADD_NUMBER") {
      return context.values;
    }

    return context.values.concat([event.number]);
  }
});

This is because the ActionObject type has a contravariant property (exec). We plan to remove this in the future (or rather - remove that from the type) - so this should become assignable.

I just encountered this type error in my project as well, and it took me a while to stumble upon this issue.
I think that this limitation of assign, that is, that it cannot be used in certain situations with union types, should be explicitly mentioned in the guide.

Closing as using createModel is deprecated, and typegen helps fill in the gaps here. We'll be further improving the types in v5.


Fixes issue #4978

Overview

This PR addresses issue #4978 by ensuring a dataset is not null or undefined when trying to retrieve its meta data.

Verification

gulp test

New/Updated Dependencies

N/A

References
https://github.com/chartjs/Chart.js/issues/4978

Can you share a fiddle for reproducing the bug?

Like the original poster: https://github.com/chartjs/Chart.js/issues/4978#issue-275637988
I was only able to reproduce the error sporadically so I don't have a concrete example, but this fix solved the crashing. My use case was streaming data quickly and adding/removing different datasets for long periods of time.
However after reading what @nagix just said on the #4978 issue thread, this was already solved in a previous update? Also after reading @nagix  comment I double checked the version of chart-js the package causing the crashes was using and it is very outdated, so I think this PR is okay to close.


Failed to mount rootfs

I have tried reinstalling ipsw and every method like downloading the update and deleting with no prevail
[] unc0ver Version: 3.0.1
[] Darwin Kernel Version 18.2.0: Mon Nov 12 21:07:36 PST 2018; root:xnu-4903.232.2~2/RELEASE_ARM64_T8010
[] Bundled Resources Version: 1.0~b14.5
-canOpenURL: failed for URL: "cydia://" - error: "This app is not allowed to query for scheme cydia"
-canOpenURL: failed for URL: "cydia://" - error: "This app is not allowed to query for scheme cydia"
-canOpenURL: failed for URL: "cydia://" - error: "This app is not allowed to query for scheme cydia"
-canOpenURL: failed for URL: "cydia://" - error: "This app is not allowed to query for scheme cydia"
-canOpenURL: failed for URL: "cydia://" - error: "This app is not allowed to query for scheme cydia"
-canOpenURL: failed for URL: "cydia://" - error: "This app is not allowed to query for scheme cydia"
[] STATUS: Jailbreak
[] STATUS: Exploiting (1/35)
[] Loading preferences...
[] Successfully loaded preferences.
[] STATUS: Exploiting (2/35)
[] Exploiting kernel_task...
[+] memory_size:<PHONE_NUMBER>
[D] platform: iPhone9,4 16C5050a
[+] created 1024 pipes
[+] created 8000 ports
[+] sprayed 16777216 bytes to 1024 pipes in kalloc.16384
[+] created 3564 vouchers
[+] sprayed 471859200 bytes to 12 ports in kalloc.1024
[+] stashed voucher pointer in thread
.......................................................................................................................................................................................................................................................................................................................................................................................
[+] sprayed 786432000 bytes of OOL ports to 8 ports in kalloc.32768
[+] recovered voucher port 0x14e07 for freed voucher
[+] adding references to the freed voucher to change the OOL port pointer
[+] receiving the OOL ports will leak port 0x1eb103
[+] received voucher port 0x14e07 in OOL ports
[+] voucher overlapped at offset 0x6670
[+] received fake port 0x2e4e07
[+] port is at pipe index 269
[+] got ip_requests at 0xffffffe0053cc660
[+] fake port is at offset 6720
[+] base port is at 0xffffffe00663da40
[+] kernel_task is at 0xffffffe00046d680
[+] done! port 0x2e4e07 is tfp0
[D] found kernel slide 0x000000001f400000
[] tfp0: 0x2e4e07
[] kernel_base: 0xfffffff026404000
[] kernel_slide: 0x000000001f400000
[] Successfully exploited kernel_task.
[] STATUS: Exploiting (3/35)
[] Initializing patchfinder64...
[] Successfully initialized patchfinder64.
[] STATUS: Exploiting (4/35)
[] Finding offsets...
[] trustcache = 0xfffffff00768be00 + 0x000000001f400000
[] OSBoolean_True = 0xfffffff0076b2d68 + 0x000000001f400000
[] osunserializexml = 0xfffffff007555df8 + 0x000000001f400000
[] smalloc = 0xfffffff006abb414 + 0x000000001f400000
[] add_x0_x0_0x40_ret = 0xfffffff007436664 + 0x000000001f400000
[] zone_map_ref = 0xfffffff007664ec8 + 0x000000001f400000
[] vfs_context_current = 0xfffffff00724cb4c + 0x000000001f400000
[] vnode_lookup = 0xfffffff00722e370 + 0x000000001f400000
[] vnode_put = 0xfffffff00722ad18 + 0x000000001f400000
[] kernel_task = 0xfffffff007642078 + 0x000000001f400000
[] shenanigans = 0xfffffff007811240 + 0x000000001f400000
[] vnode_get_snapshot = 0xfffffff007245714 + 0x000000001f400000
[] fs_lookup_snapshot_metadata_by_name_and_return_name = 0xfffffff00697964c + 0x000000001f400000
[] apfs_jhash_getvnode = 0xfffffff0069b89d8 + 0x000000001f400000
[] lck_mtx_lock = 0xfffffff007200010 + 0x000000001f400000
[] lck_mtx_unlock = 0xfffffff007200888 + 0x000000001f400000
[] proc_find = 0xfffffff00746175c + 0x000000001f400000
[] proc_rele = 0xfffffff0074616cc + 0x000000001f400000
[] Successfully found offsets.
[] STATUS: Exploiting (5/35)
[] Initializing jailbreak...
[] Escaping sandbox...
[] kCFCoreFoundationVersionNumber: 1561.000000
[] offsets selected for iOS 12.0 or above
[] kernproc = 0xfffffff026aac9b8
[] myProcAddr = 0xffffffe0061f43f8
[] kernel_proc_struct_addr = 0xfffffff026aac9b8
[] kernel_ucred_struct_addr = 0xffffffe000789e60
[] kernelCredAddr = 0xffffffe000789e60
[] Shenanigans = 0xffffffe000789e60
[] orig_creds = 0xffffffe000789f80
[] myOriginalCredAddr = 0xffffffe000789f80
[] Successfully escaped sandbox.
[] Setting HSP4 as TFP0...
[] kernel_task_kaddr = 0xffffffe00046d680
[] proc_struct_addr = 0xffffffe0061f43f8
[] task_addr = 0xffffffe0016ee1c0
[] itk_space = 0xffffffe004d98e70
[] is_table = 0xffffffe044ee4000
[] port_addr = 0xffffffe0048693b0
[] port_addr = 0xffffffe004868930
[] remapped_task_addr = 0xffffffe00104d680
[] port_addr = 0xffffffe000028000
[] port_kaddr = 0xffffffe000028000
[] port_addr = 0xffffffe000028000
[] port_addr = 0xffffffe000445f80
[] Will save offsets to all_image_info_addr
[] Setting all_image_info_addr...
[] vm_kernel_page_size: 4000
[] allocated address: ffffffe000038000
[] address to wire: ffffffe000038000
[] Will set all_image_info_size to: 0x000000001f400000
[] Setting all_image_info_size...
[] Successfully set HSP4 as TFP0.
[] Initializing kexecute...
[] got user client: 0x1eb607
[] port_addr = 0xffffffe00486aa00
[] Successfully initialized kexecute.
[] Platformizing...
[] task_struct_addr = 0xffffffe0016ee1c0
[] Successfully initialized jailbreak.
[] STATUS: Exploiting (6/35)
[] Unexporting kernel task port...
[] port_addr = 0xffffffe000445e30
[] old host type: 0x80000003
[] Successfully unexported kernel task port.
[] STATUS: Exploiting (7/35)
[] Writing a test file to UserFS...
[] Successfully wrote a test file to UserFS.
[] STATUS: Exploiting (8/35)
[] STATUS: Exploiting (9/35)
[] Unlocking nvram...
[] port_addr = 0xffffffe001462220
[] IODTNVRAM obj at 0xffffffe0004032a0
[] vm_kernel_page_size: 4000
[] allocated address: ffffffe000048000
[] address to wire: ffffffe000048000
[] Unlocked nvram
[] Successfully unlocked nvram.
[] runCommandv(233) command: /usr/sbin/nvram "-p"
[] runCommandv(233): oblit-begins	OblitType: ObliterateDataPartition. Reason: unknown
[] runCommandv(233): boot-args
[] runCommandv(233): obliteration	handle_message: Obliteration Complete%0a
[] runCommandv(233): com.apple.System.boot-nonce	0x1111111111111111
[] runCommandv(233): backlight-level	1498
[] runCommandv(233): com.apple.System.fp-state	%00%00%00%00A%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00
[] runCommandv(233): auto-boot	true
[] runCommandv(233): com.apple.System.tz0-size	0xC00000
[] runCommandv(233) completed with exit status 0
[] runCommandv(234) command: /usr/sbin/nvram "com.apple.System.boot-nonce"
[] runCommandv(234): com.apple.System.boot-nonce	0x1111111111111111
[] runCommandv(234) completed with exit status 0
[] runCommandv(235) command: /usr/sbin/nvram "-p"
[] runCommandv(235): oblit-begins	OblitType: ObliterateDataPartition. Reason: unknown
[] runCommandv(235): boot-args
[] runCommandv(235): obliteration	handle_message: Obliteration Complete%0a
[] runCommandv(235): com.apple.System.boot-nonce	0x1111111111111111
[] runCommandv(235): backlight-level	1498
[] runCommandv(235): com.apple.System.fp-state	%00%00%00%00A%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00
[] runCommandv(235): auto-boot	true
[] runCommandv(235): com.apple.System.tz0-size	0xC00000
[] runCommandv(235) completed with exit status 0
[] Locking nvram...
[] Locked nvram
[] Successfully locked nvram.
[] STATUS: Exploiting (10/35)
[] Logging slide...
[] Successfully logged slide.
[] STATUS: Exploiting (11/35)
[] Logging ECID...
[] modifyPlist: Will modify plist: /var/mobile/Containers/Data/Application/A8FB8499-4669-42C6-BAD3-743B80CB3CA6/Library/Preferences/science.xnu.undecimus.plist
[] modifyPlist: Success
[] Successfully logged ECID.
[] STATUS: Exploiting (12/35)
[] Enabling Auto Updates...
[] modifyPlist: Will modify plist: /var/mobile/Library/Preferences/com.apple.Preferences.plist
[] modifyPlist: Writing to file: /var/mobile/Library/Preferences/com.apple.Preferences.plist
[] modifyPlist: Success
[] STATUS: Exploiting (13/35)
[] Remounting RootFS...
fs_snapshot_list: Illegal byte sequence
[] runCommandv(236) command: /sbin/mount
[] runCommandv(236): /dev/disk0s1s1 on / (apfs, local, nosuid, read-only, journaled, noatime)
[] runCommandv(236): devfs on /dev (devfs, local, nosuid, nobrowse)
[] runCommandv(236): /dev/disk0s1s2 on /private/var (apfs, local, nodev, nosuid, journaled, noatime, protect)
[] runCommandv(236): /dev/disk0s1s3 on /private/var/wireless/baseband_data (apfs, local, nodev, nosuid, journaled, noatime, nobrowse)
[] runCommandv(236) completed with exit status 0
[] Clearing dev vnode's si_flags...
[] 0xfffffff02664cb4c(0x0000000000000001, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000): 0x0000000004d1c6c8
[] zone_map: fffffff10a889fd8
[] zm_range: 0xffffffe000264000 - 0xffffffe04479c000 (read 0x20, exp 0x20)
[] 0xfffffff02662e370(0xffffffe000050000, 0x0000000000000000, 0xffffffe000048000, 0xffffffe004d1c6c8, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000): 0x0000000000000000
[] devVnode = 0xffffffe001012670
[] v_specinfo = 0xffffffe001016328
[] 0xfffffff02662ad18(0xffffffe001012670, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000): 0x0000000000000000
[] Successfully cleared dev vnode's si_flags.
[] Mounting RootFS...
[] runCommandv(237) command: /sbin/mount_apfs "/dev/disk0s1s1" "/private/var/tmp/jb/mnt1"
[] procStructAddr = 0xffffffe0061f6fa0
[] orig_creds = 0xffffffe00078a010
[] runCommandv(237): mount_apfs: mount: Resource busy
[] runCommandv(237) completed with exit status 73
[] __assert(2:runCommandv(argv[0], 3, argv, ^(pid_t pid) { uint64_t procStructAddr = get_proc_struct_for_pid(pid); LOG("procStructAddr = " ADDR, procStructAddr); _assert(ISADDR(procStructAddr), message, true); give_creds_to_process_at_addr(procStructAddr, kernelCredAddr); }) == ERR_SUCCESS)@JailbreakViewController.m:1175[jailbreak]
iOS 12.1.1 b3
iPhone 8plus

Device (please complete the following information):

iOS Version:
iOS Device:
unc0ver Version:

Place an "x" between the brackets if true:

[ ] this is a bug others will be able to reproduce
[ ] this issue is present with all tweaks uninstalled(except for default packages) or disabled
[ ] this issue is present after a rootfs restore
[ ] this issue is present on the latest version of unc0ver

Logs
If applicable, add logs or error messages here.

The same problem
You can use rootlessJB 3.2.8
instead of unc0ver for a while(Maybe forever)


stdlib: annotate Array's remove functions with semantic attributes.

All mutating Array functions must be annotated with semantics, because otherwise some high level optimizations get confused.
The semantic attributes prevent inlining those functions in high-level-sil.
This is need so that the optimizer sees that the Array is taken as inout and can reason that it's modified.
This restriction is not needed anymore when we’ll have COW representation in SIL.
Fixes a crash in the stdlib/Arrays.swift.gyb test in optimized mode.
rdar://problem/58478089

@swift-ci benchmark

@swift-ci smoke test


Vulnerability of dependency "golang.org/x/image"

Hello, we are a team researching the dependency management mechanism of Golang. During our analysis, we came across your project and noticed that it contains a vulnerability (CVE-2022-41727). In your project, the github.com/golang/image package is being used at version golang.org/x/image v0.1.0, but the patched version is v0.5.0. To fix the vulnerability, we recommend modifying the go.mod file to update the version to v0.5.0 or higher. Thank you for your attention to this matter.

We also came across your project and noticed that it contains a vulnerability (CVE-2023-26125). In your project, the github.com/gin-gonic/gin package is being used at version github.com/gin-gonic/gin v1.8.1, but the patched version is vv1.9.0. To fix the vulnerability, we recommend modifying the go.mod file to update the version to vv1.9.0 or higher. Thank you for your attention to this matter.


⚠ Bofrost.at has degraded performance

In 845b418, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2776 ms

Resolved: Bofrost.at performance has improved in ffcce8e after 2 hours, 13 minutes.


"Extract Markdown From PDFs" not generating any markdown files, only folder structure

This plugin doesn't work as of 10/7/22.
I tried it months ago and it was generating the same error.
It creates a folder and no markdown files or images. And it does this with different vaults, on different devices, and modes of Internet access.
It's disappointing --enthusiastic promises and deficient delivery.
I applause the intent but have to be honest and say it doesn't work --months after launch.

Yep, still having this issue.

Have you made sure that your PDF files are in the folder specified in PDF Extraction Settings?


Server-sent events

Is there a way to use server-sent events with uWebSockets? By sse I mean this.
I tried to do this by streaming data from server, similarly to how you use AsyncFileStreamer, but it does not work.
There's also mdn example showing that it should not be that hard implementing sse here
Could you point me to the right direction?

I tried something along these lines:
uWS::App()
    .get("/sse", [](auto *res, auto *req) {
        res->onAborted([res]() {
            std::cerr << "aborted" << std::endl;
        });

        res->onWritable([res](int offset) {
            res->write("event: test");
            return false;
        });

        res->writeStatus("200 OK");
        res->writeHeader("Content-Type", "text/event-stream");
        res->writeHeader("Cache-Control", "no-cache");
    });

You are almost there but you need to read the docs.

@zxey in case you're still figuring this out, I wanted to use SSE to have live reload for blogging. https://github.com/ngzhian/blog/commit/e76e9643653ecb657ebbcca2973c96e5b6c7cc37#diff-b388e57e18c6815f3bdd3a6412184385 is what I ended up with.
I used uWebSockets to listen on 9001, when I do curl localhost:9001 it sends a message to a connected session (by keeping the HttpResponse in a global object). The browser first establishes the connection by creating a new EventSource('http://localhost:9001/eventsource'), see the same commit. So far it has worked okay for me.


SqlPackage.exe fails to deploy updates when Graph tables use Partition functions with leading zeros.

SqlPackage or DacFx Version: VISUAL STUDIO 2022 SQL Data Tools 17.0.62110.20190
.NET Framework (Windows-only) or .NET Core: Framework
Environment (local platform and source/target platforms): LocalDB (2019) & Azure SQL DB

Hi there SqlPackage.exe team,
I would like to report a bug in SqlPackage.exe. First deployment works fine, but subsequent deployments fail when there is a Graph table (Node or Edge) with a Partition Scheme using a Partition Function with INTEGER boundary values that have leading zeros in the function definition: 001, 002, 003. This is VERY reproduceable.
Note: In non-Graph tables, leading zeros work fine.
Here’s the error (on the second (update) deployment):
One thing I want to share is that this vague error message took us DAYS to debug.
Here’s the repro script (remember you have to deploy it at least two times):

GO
CREATE TABLE [dbo].Sample
(Id INT, PartitionKey AS Id % 2 PERSISTED) AS EDGE; -- ALSO NODE

GO
CREATE CLUSTERED INDEX Manages_PartitionIndex
  ON [dbo].Sample (PartitionKey)
  ON OddEven_PartitionScheme (PartitionKey);

GO
CREATE PARTITION FUNCTION OddEven_PartitionFunction (INT)
AS RANGE LEFT FOR VALUES (001, 002);

GO
CREATE PARTITION SCHEME OddEven_PartitionScheme
AS PARTITION OddEven_PartitionFunction
ALL TO ([PRIMARY]);

This bug is reported for DacFx 150. @kisantia  can you please see if we can repro this in DacFx 160.

yes this still repros in DacFx 160. @udeeshagautam is working on a fix for it