Intercept nav.pop()

Situation
You're on a form page, and the user accidentally hits the back button (either the generated back button, or hardware back button). In stead of just going back and destroying that page, it would be great to create some sort of page hook that could run and prevent the page from navigating back.
Might even be good to extend onPageWillLeave
onPageWillLeave(){
  if(!this.form.value){
   console.log("form is empty")
  } else{
    this.nav.pop();
  }
  return false;
}

👍

I searched through all of the documentation and much of the Navigation code today and there really is no official way to do this. I wanted to popup an Alert before leaving the Page, but creating Alerts using nav.present() within onPageWillLeave() doesn't work (navigation continues while Alert is up). You could maybe nav.insert() a Page, but I didn't want to actually leave the current Page.
Here's a solution that works for now. Just add an onPop() method to any Page and return false if you don't want to pop.
Stick this code at the top of app.ts after you import NavController.
let originalNavPop = NavController.prototype.pop;
(<any> NavController).prototype.pop = function() {
  // this refers to the NavController instance
  let page = (<NavController> this).getActive().instance;
  if (page.onPop) {
    console.log('Calling onPop() on active page', page);
    if (page.onPop() === false) {
      console.log('onPop() returned false, aborting pop()');
      return;
    }
  }
  originalNavPop.apply(this, arguments);
};

JavaScript version for those unfamiliar with TypeScript. (put in app.js)
var originalNavPop = NavController.prototype.pop;
NavController.prototype.pop = function() {
  // this refers to the NavController instance
  var page = this.getActive().instance;
  if (page.onPop) {
    console.log('Calling onPop() on active page', page);
    if (page.onPop() === false) {
      console.log('onPop() returned false, aborting pop()');
      return;
    }
  }
  originalNavPop.apply(this, arguments);
};

Ionic2 Beta7, you can't throw an Error from onPageWillLeave to abort pop() because:
    ViewController.prototype.willLeave = function () {
        ctrlFn(this, 'onPageWillLeave');
    };

function ctrlFn(viewCtrl, fnName) {
    if (viewCtrl.instance && viewCtrl.instance[fnName]) {
        try {
            viewCtrl.instance[fnName]();
        }
        catch (e) {
            void 0;
        }
    }
}

I think just enhancing onPageWillLeave is a good solution for this issue. Either return a boolean or a special value to cancel pop. Or maybe throw a special CancelPop error object?
Unfortunately, modifying nav-controller.ts to support this isn't straightforward because fireWillLeave() is called in 3 different places. But maybe someone more familiar with the code would have a clean solution for adding the feature.
Otherwise, something like my onPop() hack could actually be added officially.

In my application,return false  it still doesn't work.why?

@DarrenHou1993 Assuming you copied my code above, you should see "Calling onPop() on active page" in the log (if you added an onPop method to the current page) regardless of the return value from onPop(). If not, there's something wrong with the code that overrides NavController.pop (or where it's being executed) Try adding a log statement first thing in the pop function to make sure the new function is actually being executed.
I haven't actually tested the JavaScript version I posted above, I just remove TypeScript notation. So maybe the JavaScript example needs to be setup differently though I don't think so.
Also, note that the code is using triple-equal ===, so if you want falseish things to stop pop (like zero), just change it to ==

@arlowhite Thank you very much. It works.

@mhartington  @arlowhite
For return false on  ionViewWillLeave works like expected also open an Alert in ionViewWillLeave will work.
Here is an Plunkr
http://plnkr.co/edit/SQqbtdrYpN8s0apmP66o?p=preview

@DavidWiesner
Was this feature introduced in beta 10?
I can not find any changelog...

@manueltaber this will work for a long time at minimum since beta 4. Only onPageWillLeave was renamed to onPageWillLeave in beta 8

This is a very important feature!

I still don't get it running on my project...
The event ionViewWillLeave is called but the result is ignored.

@DavidWiesner you are hitting a edge case bug.
	ionViewWillLeave(){
		let leave = this.dismissChanges || !this.hasUnsavedChanges();
	  if(!leave){
	    this.showConfirmDismissChangesAlert();
	  }
	  return false;
	}

The return value is always completely ignored like @manueltaber points, it is not going back because you are showing an Alert, and that mess up with the ongoing go back procedure. Please don't depend on this buggy behaviour as a feature, in fact "your workaround" will not longer work in beta11 since we refactored the whole overlay system (Alert, ActionSheet, etc.).

@manucorporat thank you for your clearification. A new ionCanGoBack(): boolean callback would be a great solution!

@manucorporat ok you are right it's just and workaround that accidentally works
:+1: for a ionCanGoBack(): boolean solution

@arlowhite Thanks for the workaround. This will only work, if swipeBackEnabled is disabled on iOS

@DavidWiesner @manueltaber @stefanhuber @DarrenHou1993 @arlowhite @keithdmoore @mhartington pending PR that implements this feature: https://github.com/driftyco/ionic/pull/7305

Please share your thoughts before this becomes part of ionic!

@manucorporat The API is great, but I'd like to see the logic behind ionViewCanLeave integrated into NavController, and not just the back button. Additionally, we should come up with a way to allow the method to be async.

Goals:

ionViewCanLeave method, on the users component, that can prevent a nav pop or push
Can return a boolean (synchronous)
Can return an Observable<boolean> (async)
NavController performs these tests on the hierarchy of navs, from the deepest child up to the root
Support ionViewCanEnter in a later commit

@manucorporat yes also be aware of  SwipeBackGesture should respect this.
@adamdbradley why should the NavController perform this on the entire hierarchy? Intercepting pop is dedicated to the current ViewController. And why return an Observable<boolean> is a Promise<boolean> enough?

@manucorporat here is a start with a synchronous version. http://plnkr.co/edit/QCues4hGpKE2Lgy5APJE?p=preview
There are still some issues with this.

the main menu will open when swipe back is disabled by ionViewCanLeave
not asynchronous

I agree, since it's an atomic yes or no, Promise makes sense to me (vs Observable).  Great work as always @manucorporat!
Thanks,
Dan

@DavidWiesner - I followed your solution and worked fine until I tried having the root page a tabbed page. Then it does not stop the pop of the child tab page. Not sure if any workaround for that?

Now that everyone is on 11, would be great to see more imminent progress on this, as the solution that used to work on 10 no longer works sadly

+1. This is an important UX feature. If a user takes the time to input information and accidentally navigates away from the page, the result is great frustration. Temporarily, I am using "hide-back-button=true" to hide the standard back button, then using "ion-buttons start" to create a custom "cancel" button that intercepts pop(). There are some obvious problems with this, including hardware back button, swipe back, and the positioning of the MD button on the right of title.

+1 , but is fixed per above, but looks like did not make it to beta 11.  I merged the changes to view-controller and navbar into my local copy of beta 11 to get this feature  of "ionViewCanGoBack()" implemented for my app and works well.

Just as a heads up, we're currently working on implementing ionViewCanEnter and ionViewCanLeave, which can be either synchronous or asynchronous (by returning then resolving/rejecting a promise). A few more things to sort out, but it should be able to get into beta12.

+1 - this would be amazing. It stops having to use custom buttons per header. I thoroughly look forward to this.

@adamdbradley Would this mean that the returned value from the promise in the ionViewCanLeave function from a modal, will be the data in the modal.onDidDismiss callback?
Or are you not planning on supporting this in modals?

This issue is resolved in beta.12 (coming later this week) via the changes in this commit.
https://github.com/driftyco/ionic/commit/ca8cc0af2e04e9f299ba49f5fac01d28b7d2ab1d
Please let us know if you have any issues.
Thanks,
Dan

@danbucholtz Will this work for this case: we are on a root page (with menu icon instead of arrow in navbar) and hardware back button pressed, then instead of default close-the-app behavior we intercept the hardware back button and set another page as a Root page? Just curious.

@lain-me,
I'm not sure to be totally honest.
Thanks,
Dan


feat: add reserved column

Rationale
In order to maintain compatibility, add a reserved column for future use.
Detailed Changes
Test Plan
CI

LGTM


reorganise BaseInterfaces code

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

Comparison is base (596de23) 73.74% compared to head (018464f) 73.74%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #41   +/-   ##
=======================================
  Coverage   73.74%   73.74%
=======================================
  Files           5        5
  Lines         179      179
=======================================
  Hits          132      132
  Misses         47       47

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


Fix typo datatime -> datetime

Also "to some extend" -> "to some extent" near one of the other fixes.

Thanks! I've made that typo so many times. 😄


after the update printer is rolling paper backwards

Hello, after updating to v0.8 printer started to roll paper backwards & it is not printing :)

Make sure, its connect properly

It is connected.
Printer is Phomemo M200: https://www.amazon.com/Phomemo-Thermal-Labeling-Clothing-Compatible/dp/B08G4KF1B4/ref=sr_1_1_sspa?keywords=phomemo+m200&qid=1639403784&sr=8-1-spons&psc=1&spLa=ZW5jcnlwdGVkUXVhbGlmaWVyPUEyVEVMT1BVWlhETjEyJmVuY3J5cHRlZElkPUExMDM4MTYwMThSR1ZSS0pBSkhVWCZlbmNyeXB0ZWRBZElkPUEwNzQxMzM0M1FJNVdUUENHN1FTJndpZGdldE5hbWU9c3BfYXRmJmFjdGlvbj1jbGlja1JlZGlyZWN0JmRvTm90TG9nQ2xpY2s9dHJ1ZQ==


Database granularity

What does this pull request do?

Related issues
closes #1497

:globe_with_meridians: Coverage report

Name
Metrics % (covered/total)
Diff

Packages
100.0% (68/68)
:green_heart:

Files
100.0% (226/226)
:green_heart:

Classes
100.0% (226/226)
:green_heart:

Lines
87.422% (16806/19224)
:grey_exclamation:

Conditionals
76.042% (3101/4078)
:grey_exclamation:


@invertase/storage video labeling

Migrated to https://github.com/GoogleCloudPlatform/firebase-extensions


How to fix load region prediction error

Code snippet
address     :  instruction
20003d84: auipc  x16, 0xfffc
20003d88: lw       x16, 776(x16)
'lw' caused the load region prediction error. Because the value(20003d84+0xfffc000=2ffffd84) of x16 was not in the region of DCCM.
Is there a workaround to avoid the error? Thanks!
I use EL2 v1.4.

Where have you installed the DCCM ? (What are the value of RV_DCCM_REGION in the common_defines.vh file?)
What is the value in MSCAUSE for the exception ?
Region prediction exception (MCAUSE==5, MSCAUSE==5) occurs if the effective address (x16 +776 in your case) falls in a different region than the base address (x16 in your case), and one of the two regions happens to be an 'internal' region (containing DCCM or PIC).
Given your values above, this will happen if the DCCM or PIC is mapped to region 3, and your code is executing at the top of region two and your pointer generation is using current PC+relative to form the pointer. Can you confirm this?
The simplest workaround I can suggest is to form the pointer address in such a way to not need region crossing. If the DCCM is in region 3 make sure X16 is fully within region 3, and provide the appropriate offset. The EA for the load above is 0x3000008c. So best is to set up the DCCM base pointer to the start of the DCCM - at 0x30000000, for example. Use a "li" mnemonic, since your DCCM base is a known constant, instead of "la" - the latter tends to be PC relative.
If the address/offset mechanism is not in your control (compiler tries to be smarter), then avoid the text/code section to be adjacent to the DCCM (within 4K of the DCCM start/end).


micro:bit dashboard not very informative

this is what the micro:bit looks like in the dashboard when loaded with the new OOB:

Right the hack is that the "role name" is the device id.


Chart is blurry when put inside an element with "weird" width

Expected Behavior
The chart isn't blurry
Current Behavior
Chart is blurry
Possible Solution
Set the width of canvas to ceil(value of chart width) instead of floor
Steps to Reproduce
Put the chart in a div with width 98%
https://codepen.io/MBR-0001/pen/mdWOzPv

Context
I don't intentionally set my parent element width to weird values, its just a result of bootstrap vue doing its "thing"

Environment

Chart.js version: 3.2.1 (npm)
Browser name and version: Chrome 90.0.4430.212
Link to your project: N/A

The "Fix" only works when devicePixelRatio is 1.
I think this might be already fixed in master: https://codepen.io/kurkle/pen/RwpoeJz

bruh


Cap size of the getting started images

The image itself is very large and probably shouldn't be. If we do this the core may need a change to not stretch the image.

We could prevent scaling images over their natural height? cc @digitarald would that work for you?

We could prevent scaling images over their natural height? cc @digitarald would that work for you?

Yeah I think we should do that, but that alone wouldn't fix above due to the huge size of the image. Also consider how HDPI screenshots show up on standard dpi monitors

Yeah I think we should do that, but that alone wouldn't fix above due to the huge size of the image. Also consider how HDPI screenshots show up on standard dpi monitors

Now scaling all images to 66% under assumption they're exported at 1.5x (max-width is still 800px). This means smaller images can be used where needed and they wont grow past their proper width.

I am still seeing a very large image:

Change was to allow smaller images but hasn't been adopted yet. cc @digitarald we can use a smaller image there and it should work fine so long as we still have it at 1.5x scale.

Images now seem modestly sized


Cleanup/world state

some cleanup
makes breakpoints available during the construction of the world
makes various hash containers deterministic again

Just one thing I stumbled upon:
Rn, there is this State::imported_dialects thing. This doesn't really make sense to have this as some kind of set bc we want to maintain the original order, no?

well, we certainly don't want to have an import stored in there twice, so a set was quite a canonical choice.
And afaict, we don't really care in which order the imports happen.. if something depends on something else, it should just import it themselves..

well, we certainly don't want to have an import stored in there twice, so a set was quite a canonical choice. And afaict, we don't really care in which order the imports happen.. if something depends on something else, it should just import it themselves..

Good point. Then, my use a absl::btree_set for this to make things deterministic actually makes sense :)


⚠ 366.ru has degraded performance

In 35e7c89, 366.ru (https://366.ru) experienced degraded performance:

HTTP code: 200
Response time: 1032 ms

Resolved: 366.ru performance has improved in 8f28fab.


Update documentation of report_individual_runs

Changed the true and false text to "true" and "false" to better describe usage.
This is a possible solution to issue #194

Closing, since the use of "true" and true does not change the output.


Please update to 1.19!

Would appreciate it!

There are 1.19 versions available. You can probably close this issue.


Added support for different dependencies for different examples

@avsakharov, could you please specify which flavours of dff are needed for which examples?

What do you mean by changing pattern for insertion and reimplementing or dropping current version of dependencies?

By the way, a funny thing: black and flake8 are fighting over this line. flake8 says the whitespace is not needed before ":" and black inserts it! Whom should I believe?..

@avsakharov, could you please specify which flavours of dff are needed for which examples?

examples/engine/*.py - dff[script], dff[pipeline], dff[utils]
examples/generics/*.py - dff[script], dff[pipeline], dff[utils]
examples/db_connector/*.py - dff[pipeline], dff[context_storages], dff[utils]
examples/cache/* - dff[script], dff[pipeline], dff[utils]
examples/telegram/[1,9,10]*.py - dff[pipeline], dff[messengers], dff[utils]
examples/telegram/[2-7,11,12]*.py - dff[script], dff[pipeline], dff[messengers], dff[utils]
examples/telegram/8_conditions_extras.py - blank example
examples/pipeline/[1,4,5,7,8]*.py - dff[script], dff[pipeline], dff[utils]
examples/pipeline/[2,6]*.py - dff[script], dff[pipeline], dff[messengers], dff[utils]
examples/pipeline/3_pipeline_dict_with_services_basic.py - dff[script], dff[pipeline], dff[utils]
examples/pipeline/3_pipeline_dict_with_services_full.py - dff[script], dff[pipeline], dff[messengers], dff[utils]


How to handle dispatch_http_call/other timeout

Even though you can specify timeout in dispatch_http_call Rust SDK, it doesn't seem to return any Status and the function stops instead. Same case for invalid upstream.

I'm not properly familiarized with Envoy's codebase, but it seems to me that the headers of the response are defined before Context::onHttpCallFailure is called.
I did some investigation on AsyncClientImpl, and some other classes in the Envoy::Http namespace, but could not pinpoint exactly where/when :status header is ever written.
Time is quite scarce this week so I couldn't invest much in this issue.

Ah, I did look at this yesterday but I ended up not sending the message.

how Envoy gets from status = BrokenConnection to returning a 504 status code on get_http_call_response_header(":status")

From what I could gather, I don't think it does. From looking at the code, the BrokenConnection status (which translates to 11 in its enum), gets saved to the context status_code_ and that (along with status_message_) is what is returned when the client calls proxy_get_status. (See proxy-wasm-cpp-host proxy_get_status proxy-wasm-cpp-sdk getStatus. So, I haven't tested it, but my guess is that on a callout failure, calling proxy_get_status would return 11, "reset".

I'm not properly familiarized with Envoy's codebase, but it seems to me that the headers of the response are defined before Context::onHttpCallFailure is called.

I got the same impression as @casimiro. The :status header itself comes from the response object. The router filter onTimeout sets kDeadlineExceeded, which then translates to 504. The timeout goes into AsyncStreamImpl::sendLocalReply, and since Context::onHttpCallSuccess seems to be the only path where http_call_response_ is set, which is where the response map that produces :status for the callout comes from, I believe a 504 timeout actually goes through onHttpCallSuccess, rather than onHttpCallFailure. The latter would handle things such as a failure to connect.

@hishamhm @casimiro Thanks!

@thibaultcha to clarify, did you get on_http_call_response(token_id, 0, 0, 0) callback and get_http_call_response_header(":status") == "504" within that same callback?

On running the case again this morning, it turns out this isn't the case, I'm not sure how I ended up in the 0,0,0 code path... So with the hostcalls filter on dispatch timeout we get:
[2024-11-13 08:11:48.357][27958][info][wasm] [source/extensions/common/wasm/context.cc:1195] wasm log my_wasm_filter: [hostcalls] testing in "RequestHeaders"
[2024-11-13 08:11:50.359][27958][info][wasm] [source/extensions/common/wasm/context.cc:1195] wasm log my_wasm_filter: [hostcalls] on_http_call_response (id: 4, status: 504, headers: 3, body_bytes: 24, trailers: 0, op: )

So the timeout (after 2s) does indeed enter the Context::onHttpCallSuccess path. That said it seems Envoy does things I wouldn't expect and we'll have to adapt in our codebase: it produces a default response that it gives to on_http_call_response: the 504 + 3 headers + a plain text body that says upstream request timeout (24 bytes).
This helps a lot, thanks.
That said there remains a few unknowns for me:

What must happen for the Context::onHttpCallFailure to be called and invoke the on_http_call_response(token_id, 0, 0, 0) callback?
What other kind of response status/body does the "bad upstream" case produces (as it invokes Context::onHttpCallSuccess)?

What must happen for the Context::onHttpCallFailure to be called and invoke the on_http_call_response(token_id, 0, 0, 0) callback?

I assume it's something like a failure to connect (e.g. trying to reach an upstream that doesn't resolve).

What other kind of response status/body does the "bad upstream" case produces (as it invokes Context::onHttpCallSuccess)?

There are other code paths there which trigger completeAndSendLocalReply with kUnavailable, which translates to 503. They seem to be Envoy-specific as they carry status messages such as "cluster_maintain_mode" and "no_healthy_upstream".

@danielphan2003 We now have #625 merged which will allow filter authors to catch such failures. It should make it in the 3.9 Kong release (probably 3.9.1 which is I think 5-6 weeks from now). Or if you use the module standalone, then it's already available. We also have a guide on HTTP dispatch calls with the module: https://github.com/Kong/ngx_wasm_module/blob/main/docs/PROXY_WASM.md#http-dispatches


Feature/currency symbols

Description
This PR is meant for plugins to be able to show currency symbols instead of currency codes in charts.
Look & Feel
In JS syntax, use quantityWithUnitFormat(datum['value'], ',.0f', 'EUR/yr', true) to obtain the value in €/yr.
How to test
No FM core code is using this new feature, but you can test it by editing this line in beliefs_charts.py to format=[".3~r", unit, True], and visiting the sensor page of a sensor with a unit that includes any currency code. The tooltip should show the effect.
Further Improvements
The workaround I used for importing a NodeJS module isn't beautiful, but I just wanted to import the currency-symbol-map without getting into a discussion about whether or not to use NodeJS.

It shows nicely on the tooltip but it doesn't show in the title (as expected).
I think this can be tackled in a follow-up issue/PR.

True, but I'm not making this a follow-up right now, because I see the currency symbols mainly as something useful in stylized dashboarding (KPI graphics and such), rather than sensor data viz. With sensor data, my preference is to minimize ambiguity over what is seen. Currency codes are less ambiguous than currency symbols.


docs(testing): fix image paths

Hi there,
I just noticed that the docs had broken images, possibly through the renaming in the organisation.
I hope I followed the contributing guidelines correctly, if not please let me know 👍
Happy Holidays ❄

Hey, @DanielMSchmidt! Thanks for the PR, very good catch! The URLs target a private repo, so everyone of us is able to see the images 😅

@mesosphere-ci ok to test

Alfred retest this please

skip ci

Hey @DanielMSchmidt  - thanks for the PR!! 💯

No worries, just noticed while scrolling through the docs 👍

mesosphere-ci ✅  ok to test

Alfred please retest this

Thanks a lot for fixing these paths! 💜


Fix on master node activation and clustercheck

Coverage increased (+0.01%) to 37.802% when pulling 1a121a13ddc7866e945e4d8aa142fd1f2d0bb865 on stgleb:fix into 616ef7a86b4ccad07b64453769221d54a88c4908 on supergiant:master.


Fix refiling to current buffer (#644)

This fixes #644. @kristijanhusak Could you please merge #641 first, because this PR builds upon it. I will then rebase this one. If you decide to merge this directly, we can close #641.

@seflue just do a rebase here so we can proceed. Thanks!

I already did, see the force push.

@seflue rebase from master branch. This PR still contains changes from https://github.com/nvim-orgmode/orgmode/pull/641, and there is conflict in capture/init.lua file.

Sorry, I forgot, that you do not merge commits but squashing PRs onto master. I just did the requested rebase.


Test OCC sensor old code cleanup / fix

Please refer this code we have currently, identify, fix if needed else remove the use case from the code
https://github.com/openbmc/openbmc-test-automation/blob/master/tests/test_sensors.robot
@ssombar

Discussed this with Marissa and we think nothing additional needs to be done here.  Agreed?

Lets use this defect to clean up the tests which are invalid @ssombar

In review https://gerrit.openbmc-project.xyz/#/c/7627/


Fix issue on Basic.py

This issue involved the script functioning completely fine, except the bot would not come online. i fixed this by adding bot=True
Please make sure to check the following tasks before opening and submitting a PR

[x] I understand and have followed the contribution guide
[x] I have tested my changes locally and they are working as intended
[x] These changes do not have any notable side effects on other Revolt projects

The bot parameter is optional and its default is True, so this shouldnt be required.


Added amisha's playlist

Description

...
...
...

Related issue(s)

Thanks for contributing @Amisha0606 :)


Kumarde/lintprint

Printing lints.

Should this not just be a flag to zlint?

(1) I agree
(2) that's not how you make a csv.

Why is it a problem to have these encoded as html safe?
On Wed, May 24, 2017 at 11:29 AM Deepak Kumar<EMAIL_ADDRESS>wrote:

@kumarde commented on this pull request.
In zlint/zlint.go
https://github.com/zmap/zlint/pull/51#discussion_r118330429:

Name        string json:"name"

Description string json:"description"
Providence  string json:"providence"
+}

+//Pretty Print lint outputs
+func PrettyPrintZLint() {

for _, l := range lints.Lints {

p := PrettyOutput{}

p.Name = l.Name

p.Description = l.Description

p.Providence = l.Providence

out, _ := json.Marshal(p)

out = bytes.Replace(out, []byte("\\u003c"), []byte("<"), -1)

out = bytes.Replace(out, []byte("\\u003e"), []byte(">"), -1)

out = bytes.Replace(out, []byte("\\u0026"), []byte("&"), -1)

json.Marshal out of the box encodes those characters as "HTML Safe". What
doesn't make sense? That I have to do this?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/zmap/zlint/pull/51#discussion_r118330429, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAMSUG0srn74uDAnhfWtgtxkOfwHIQyVks5r9HbtgaJpZM4NipiD
.

You get JSON that looks like this
{"name":"e_ca_key_cert_sign_not_set","description":"Root \u0026 Subordinate CA certificate keyUsage extension's keyCertSign bit must be set","providence":"CAB: <IP_ADDRESS>"}
I guess we could just remove those special characters from the descriptions though. They don't happen that frequently. I don't know what that would look like in HTML

Wait, what? What does that look like without that? Why is there anything
that's not ASCII in these descriptions?
On Wed, May 24, 2017 at 11:38 AM Deepak Kumar<EMAIL_ADDRESS>wrote:

You get JSON that looks like this
{"name":"e_ca_key_cert_sign_not_set","description":"Root \u0026
Subordinate CA certificate keyUsage extension's keyCertSign bit must be
set","providence":"CAB: <IP_ADDRESS>"}
I guess we could just remove those special characters from the
descriptions though. They don't happen that frequently. I don't know what
that would look like in HTML
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/zmap/zlint/pull/51#issuecomment-303813992, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAMSUP2EwvVCwF0I0xssQ0NFXzTWwPz5ks5r9HkcgaJpZM4NipiD
.

Nah, but json.Marshal does that to &, <, and > by default

Why are there any of those characters in that lint description??

So, Root & Subordinate CA certificates -> Root \u0026 Subordinate CA certificates

We can just make all of them english, we're doing a pass on descriptions anyway!

That makes the most sense to me. This also just fixable by setting
enc := json.NewEncoder(os.Stdout)
enc.SetEscapeHTML(false)

Actually, some descriptions look like this:
email must not be surrounded with <>, and there must be no trailing comments in () so I'll do the encoding thing you mentioned above.

I'm a little confused. Are you pretty printing things, or are you dumping the list of lints to JSON? Because a list of minified JSON objects, one per line, isn't pretty, it's machine parseable. And if you're being parsed by a machine, why not escape HTML?

Well at first I just wanted to print out all the lints, their descriptions, and their providence. I don't entirely know what happens when a \u0026 for example appears in HTML, so I just wanted to make everything printable. I've fixed that -pretty flag.

In retrospect, I'm just fixing this.


!_debugLocked': is not true. on hot reload

The Problem
Once this error occurs, you have to stop the app before performing any more hot reloads:

Steps to Reproduce
I've been going through the Flutter tutorial at this point (https://codelabs.developers.google.com/codelabs/first-flutter-app-pt2/#5)
Dart file here: Rename to main.dart

Run main.dart using either Android emulator or iOS emulator
Verify that it's working
Uncomment lines 71-82
Save file (hot reload)
Observe that the code fails. (I don't yet know why this doesn't work, but I digress)
Comment lines 71-82
Save file

Target Platform: Android and iOS
Target OS version/browser: Android API 29 x86
Devices: Nexus 5X emulator, iPhone 11 Pro Max emulator
Logs
Sorry it's not verbose, but it looks like it's related to hot reload.
Syncing files to device Android SDK built for x86...

════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following assertion was thrown building Navigator-[GlobalObjectKey<NavigatorState> _WidgetsAppState#5e8f2](dirty, state: NavigatorState#90e6e(tickers: tracking 2 tickers)):
'package:flutter/src/widgets/navigator.dart': Failed assertion: line 2330 pos 12: '!_debugLocked': is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=BUG.md

The relevant error-causing widget was:
  MaterialApp file:///Users/jeramy/Projects/flutter/car_games/lib/main.dart:10:12
When the exception was thrown, this was the stack:
#2      NavigatorState.build (package:flutter/src/widgets/navigator.dart:2330:12)
#3      StatefulElement.build (package:flutter/src/widgets/framework.dart:4334:27)
#4      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4223:15)
#5      Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
#6      StatefulElement.update (package:flutter/src/widgets/framework.dart:4413:5)
...
════════════════════════════════════════════════════════════════════════════════════════════════════
Reloaded 1 of 531 libraries in 2,062ms.

jeramy@Jeramys-MacBook-Pro car_games $ flutter analyze
Analyzing car_games...
No issues found! (ran in 4.4s)

[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.14.6 18G87, locale en-CA)
    • Flutter version 1.12.13+hotfix.5 at /Users/jeramy/flutter
    • Framework revision 27321ebbad (9 days ago), 2019-12-10 18:15:01 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/jeramy/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /Users/jeramy/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3, Build version 11C29
    • CocoaPods version 1.8.4

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 42.1.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.40.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.7.1

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)

• No issues found!```

This is the changed part of code in main.dart file
import 'package:flutter/material.dart';
import 'package:english_words/english_words.dart';
import 'second_page.dart';
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('My WTF list scroller'),
actions: [
IconButton(
icon: Icon(Icons.list),
onPressed: () {
_pushSaved();
},
)
],
),
body: _buildSuggestions());
}
_pushSaved() {
Navigator.push(
context,
MaterialPageRoute(builder: (context) {
return SecondPage();
}),
);
}
}

This is the dart file I have created for second_page
import 'package:flutter/material.dart';
class SecondPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('Second page'),
),
body: Text('This is text'),
);
}
}

Hey! I tried to solve your issue and here is the working code. I have made the following changes:

You were missing the bracket in onPressed() button.
Few changes in _pushSaved() function.

@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('My WTF list scroller'),
actions: [
IconButton(
icon: Icon(Icons.list),
onPressed: () {
_pushSaved();
},
)
],
),
body: _buildSuggestions());
}
_pushSaved() {
Navigator.push(
context,
MaterialPageRoute(builder: (context) {
return Scaffold(
appBar: AppBar(
title: Text('Second page'),
),
body: Text('This is text'),
);
}),
);
}
}

Hey! I tried to solve your issue and here is the working code. I have made the following changes:

You were missing the bracket in onPressed() button.
2.Few changes in _pushSaved() function.

@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('My WTF list scroller'),
actions: [
IconButton(
icon: Icon(Icons.list),
onPressed: () {
_pushSaved();
},
)
],
),
body: _buildSuggestions());
}

_pushSaved() {
Navigator.push(
context,
MaterialPageRoute(builder: (context) {
return Scaffold(
appBar: AppBar(
title: Text('Second page'),
),
body: Text('This is text'),
);
}),
);
}
}

@alishashaw439 yes that fixed my problem. Thank you!
@iapicca I'm confused why this is marked as documentation. This is almost a deal breaking bug for me.
As a beginner, I'm prone to making mistakes while trying to use Flutter, and if I'm forced to stop and reload every time I cause the app to fall into a bad state, it ceases to be fun. On my slow MacBook, it's a 60 second turnaround time instead of 5.

Hi @jrutley
the goal of this platform is not to provide assistance on personal code,
but rather improve the quality of flutter with contribution, proposal, bug fixing and
in your case pointing out a difficulty that a developer might experience
following flutter's codelabs.
Thank you @alishashaw439 for fixing the problem within the code.
I'd like to keep the issue open for now
until codelabs material get reviewed.
Thank you for your contribution @jrutley

I was not directly looking for a solution to my code error, though I got
one.
The reason I logged the bug is because the hot reload became unusable after
reverting the code to a known, good state
On Fri., Jan. 10, 2020, 04:43 Francecsco Iapicca<EMAIL_ADDRESS>wrote:

Hi @jrutley https://github.com/jrutley
the goal of this platform is not to provide assistance on personal code,
but rather improve the quality of flutter with contribution, proposal, bug
fixing and
in your case pointing out a difficulty that a developer might experience
following flutter's codelabs.
Thank you @alishashaw439 https://github.com/alishashaw439 for fixing
the problem within the code.
I'd like to keep the issue open for now
until codelabs material get reviewed.
Thank you for your contribution @jrutley https://github.com/jrutley
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/47504?email_source=notifications&email_token=AAF4KJPUHCOWT2MFRP2DI3LQ5A7MXA5CNFSM4J5XQTSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEITJI5Y#issuecomment-572953719,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAF4KJOS2XVXRS7DRQQPALLQ5A7MXANCNFSM4J5XQTSA
.


cannot download Kaldi Profile

Here the error :
[ERROR:2020-03-23 23:27:36,879] rhasspyserver_hermes: NluError(error='Cannot connect to host localhost:5005 ssl:<ssl.SSLContext object at 0x7f8b99fb43a8> [Cannot assign requested address]', context='23d1c8f7-08c0-4e62-ad1a-1ff322173f66', siteId='default', sessionId='23d1c8f7-08c0-4e62-ad1a-1ff322173f66')

 [ERROR:2020-03-23 23:27:36,879] rhasspyserver_hermes: Cannot connect to host localhost:5005 ssl:<ssl.SSLContext object at 0x7f8b99fb43a8> [Cannot assign requested address]

 Traceback (most recent call last):

   File "/usr/lib/rhasspy-voltron/.venv/lib/python3.6/site-packages/quart/app.py", line 1471, in full_dispatch_request

     result = await self.dispatch_request(request_context)

   File "/usr/lib/rhasspy-voltron/.venv/lib/python3.6/site-packages/quart/app.py", line 1519, in dispatch_request

     return await handler(**request_.view_args)

   File "/usr/lib/rhasspy-voltron/rhasspy-server-hermes/rhasspyserver_hermes/__main__.py", line 1145, in api_train

     result = await core.train()

   File "/usr/lib/rhasspy-voltron/rhasspy-server-hermes/rhasspyserver_hermes/__init__.py", line 391, in train
     raise TrainingFailedException(reason=nlu_response.error)

  rhasspyserver_hermes.TrainingFailedException: Cannot connect to host localhost:5005 ssl:<ssl.SSLContext object at 0x7f8b99fb43a8> [Cannot assign requested address]

Do you have Rasa NLU set as your intent recognizer? It looks like it can't contact the Rasa server at localhost:5005

indeed. yes.
Le lun. 23 mars 2020 à 23:12, Michael Hansen<EMAIL_ADDRESS>a
écrit :

Do you have Rasa NLU set as your intent recognizer? It looks like it can't
contact the Rasa server at localhost:5005
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rhasspy/rhasspy-voltron/issues/13#issuecomment-602966680,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOLNJBOGJA32KL4PFK2K6DRJAJKRANCNFSM4LSH5D5Q
.

Maybe there are some bubu in the save setting ... i have timeout error some time, but if i stop docker and recreate it ... it work.


Wrong Country

I am a developer from Morocco. And when I try to check my local ranking on Git awards, it looks like I am counted as a developer from USA/New York!

I'm from Barcelona/Spain but in my profile I can see Tulsa/USA.


startfile missed

The instructions say: "find the file named Instagram Reels Bot with no extensions". Unfortunately, there is no such file without an extension.

Please do an ls to show all of the files in the folder, then paste the list here.

argh.... i downloaded the source code. pure stupidity of me. please delete this immediately. it's embarrassing xD you shouldn't work overtired -.-

Ok, no worries.


Remove unneeded packages

Packages no longer needed due to change in approach. This will minimize image size.

/rebase

/rebase


OCC

Let's implement OCC cohesion metric.
H. Aman, K. Yamasaki, H. Yamada, and M.-T. Noda, “A proposal
of class cohesion metrics using sizes of cohesive parts,” in Proc. of
Fifth Joint Conference on Knowledge-based Software Engineering,
2002, pp. 102–107.
https://www.researchgate.net/profile/Hirohisa_Aman/publication/268046583_A_Proposal_of_Class_Cohesion_Metrics_Using_Sizes_of_Cohesive_Parts/links/5729ca4b08ae057b0a060fa6/A-Proposal-of-Class-Cohesion-Metrics-Using-Sizes-of-Cohesive-Parts.pdf

I'll try to do it.

@VsSekorin thanks!

@VsSekorin many thanks for your contribution!

Oops! There is no order for job gh:yegor256/jpeek#19.

Oops! Job gh:yegor256/jpeek#19 is not in scope.


[Bug Report] -

Describe the bug
a regular crash wont work even when i redownload
To Reproduce
Steps to reproduce the behavior:
just add it to 1.19.2 might just be cause of my mods but still
Expected behavior
crash
Mod Info (please complete the following information):

Forge: 43.2.10
MC Version: 1.19.2
Mod Version: 3.0.0

Additional context
Add any other context about the problem here.
crash-2023-07-12_08.30.18-client.txt

Fixed in new version!


Why there are some radio buttons?

There are some radio button.
see this image:

how to get rid of it?
My setting
<StarRatingComponent name={"Test"} value={2} editing={true} />

+1

I would think the component renders radio buttons underneath for accessibility reasons (ie. HTML convention).
For some reason your styling overrides the implicit invisible styling I'd bet is part of the component.
Simply make sure radio buttons are invisible within this context. That should do the trick!


Update dependencies 2023-01-03

Ive updated the way the tests are done for displayAge.
The displayAge method requires more work, but I've included all the tests that need to be run to check all the possible cases and problems where the code will fail (Commented out the currently failing test data)
Also changed the DOB in the visit.test file, this will need a more permanent solution that I'll create a ticket for, but in the mean time this gets the tests passing without any major changes, in order to get these dependencies done


CloudStorageFileSystemProvider throwing exception with java 21

Environment details
OS type and version :

Ubuntu 22
Maco OS 14

Java version :

jdk 17 :

openjdk version "17.0.11" 2024-04-16
OpenJDK Runtime Environment Temurin-17.0.11+9 (build 17.0.11+9)
OpenJDK 64-Bit Server VM Temurin-17.0.11+9 (build 17.0.11+9, mixed mode)

jdk 21 :

openjdk version "21.0.3" 2024-04-16 LTS
OpenJDK Runtime Environment Temurin-21.0.3+9 (build 21.0.3+9-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.3+9 (build 21.0.3+9-LTS, mixed mode)

version : 0.127.19
Steps to reproduce
Hello,
Trying to copy a file from a GCP bucket to my application, I noticed that using the method Path#copy(Path, Path, CopyOption...) is throwing an exception with java 21, although it was working well with java 17.
Here is an example of code :
    public static void main(String[] args) {
        try {
            Path bucketSource = Paths.get(new URI("gs://my-bucket/file.txt"));

            //copy with FileOutputStream
            Files.copy(bucketSource, new FileOutputStream("./target/fos.txt"));
            System.out.println("copy with FileOutputStream : ok");

            //copy with Path
            Files.copy(bucketSource, Paths.get("./target/path.txt"));
            System.out.println("copy with Path : ok");

        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }

Execution with java 17 :
/Users/ALEXANDRE/.sdkman/candidates/java/17.0.11-tem/bin/java ...
copy with FileOutputStream : ok
copy with Path : ok

Process finished with exit code 0

Execution with java 21 :
/Users/ALEXANDRE/.sdkman/candidates/java/21.0.3-tem/bin/java ...
copy with FileOutputStream : ok
java.lang.UnsupportedOperationException: PosixFileAttributeView
	at com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider.getFileAttributeView(CloudStorageFileSystemProvider.java:1023)
	at java.base/java.nio.file.Files.getFileAttributeView(Files.java:1790)
	at java.base/java.nio.file.CopyMoveHelper.copyToForeignTarget(CopyMoveHelper.java:110)
	at java.base/java.nio.file.Files.copy(Files.java:1307)
	at Stat.main(Stat.java:19)

Process finished with exit code 0

Thanks!

Thank you for reporting, and including a repro. I've added a test and fix for it in #1427


chore(frontend): ballot pages

Description
The ballot pages logic should be re-designed, since the user could actually submit ballot for multiple times during the voting period.
Currently, if the user already submitted the ballot, the Ballot nav would lead to /ballot/confirmation page, even if the user just add a new project to the ballot and wanna edit the votes.
So the question is:

should we split the /ballot and /ballot/confirmation to separate nav tags?
if yes, then the timing of displaying each tags should be designated
if no, how user check their submitted ballot?

Have a temperate solution in PR #225 , but the whole UX should be re-designed and discussed.

@kittybest this is done right?


[BUG] DeleteNamespacedVirtualMachine returns VirtualMachine not Status object

Describe the bug
The delete vm action response is documented as "#/components/schemas/k8s.io.v1.Status"
https://github.com/harvester/harvester/blob/ba586eaf0a4eb5fe58b79c444eadc4ce18f9024b/api/openapi-spec/swagger.json#L7347
However, what comes back from the API is
{
    "apiVersion": "kubevirt.io/v1",
    "items": [...],
    "kind": "VirtualMachine",
}

or sometimes... trying to isolate what is different in 1 of my test cases where the return type is different and why
    "kind": "VirtualMachineList",

Expected behavior
Docs should match output from the API

Actually as i test this more, i usually get "kind": "VirtualMachine". Trying to isolate why in some scenarios i get VirtualMachineList

I would also be interested to know why DeleteOptions is required:
https://github.com/harvester/harvester/blob/ba586eaf0a4eb5fe58b79c444eadc4ce18f9024b/api/openapi-spec/swagger.json#L7330
which requires:
https://github.com/harvester/harvester/blob/ba586eaf0a4eb5fe58b79c444eadc4ce18f9024b/api/openapi-spec/swagger.json#L10195-L10200
you can set the values to "" and the API still works fine

DeleteOptions are inherited from the K8s API and allow for advanced features, like foreground deletion, cascading deletion and dry-runs: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/delete-options/
There are reasonable defaults and if everything goes smoothly and quickly you probably don't notice a difference. But when freeing resources takes some time (or worse may block until an operator manually intervenes) the deletion options may matter a lot, especially in the context of automated pipelines.
There is both a regular delete and a deletecollection request in the K8s API and this is also implemented similarly for the KubeVirt CRDs in use in Harvester.
The regular delete request acts on a singular resource and usually returns the deleted resource upon successful completion of the request. The deletecollection request acts on multiple resources (e.g. filtered by a label selector) and returns a status upon successful completion:

delete VirtualMachine: https://kubevirt.io/api-reference/v1.2.0/operations.html#_deletenamespacedvirtualmachine
deletecollection VirtualMachines: https://kubevirt.io/api-reference/v1.2.0/operations.html#_deletecollectionnamespacedvirtualmachine

I notice that KubeVirt also documents that a delete on a singular VirtualMachine resource should return a status object, but I'm not sure right now if that's a mistake in their docs (and ours as well) or if the behavior of the API server is buggy here.
Given that most other K8s APIs return the deleted object on successful completion of a delete request on a singular resource, I'm thinking this is a documentation bug.
Compare e.g. with deleting a Pod: https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#delete-delete-a-pod

Great catch @m-ildefons I opened an issue with KubeVirt to get to the bottom of it! https://github.com/kubevirt/kubevirt/issues/11686

Update regarding sometimes getting VirtualMachineList back... turns out i got that back when i executed a DELETE on namespace/{}/virtualmachines/ (no name). My code parser failed to grab the name which should be after the /.

The lack of the trailing /{name} is what differentiates the delete from the deletecollection

I do want to point out that is is pretty scary... I almost feel like the endpoint should be adjusted to prevent situations like mine where the name was not parsed correctly. Or disable the ability to delete all and force users to read the list and send calls to each individually...
but thats just my $0.02 @m-ildefons

A fair point, but that's exactly what the DeleteOptions, in particular dry-runs are there for:

Send DELETE with DeleteOptions and dry-run enabled:

curl -X DELETE "k8s.example.com/apis/kubevirt.io/v1/namespaces/${NAMESPACE}/virtualmachines/${NAME}"
    -d '{"kind":"DeleteOptions","apiVersion":"v1","dryRun":["All"]}' \
    -H "Content-Type: application/json"

Check returned object and make sure it's what you intended to delete. In this case it could be as simple as:

[ "$(echo "$JSON" | jq .kind)" == "VirtualMachine" ] && echo "Success"

Re-send Delete without dry-run:

curl -X DELETE "k8s.example.com/apis/kubevirt.io/v1/namespaces/${NAMESPACE}/virtualmachines/${NAME}"

This does of course carry a little bit of additional peril, because the object may have changed or disappeared between step 1 and 3, so you'd need additional error handling, but I think you get the gist.
Reference DeleteOptions: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/delete-options/
Golang reference DeleteOptions: https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/client#DeleteOptions
More on DeleteOptions: https://kubernetes.io/docs/tasks/administer-cluster/use-cascading-deletion/


[Improvement]: Color of Three js model in the Hero Section

I think the color of the three js models in Hero section should change automatically while the song is playing,Right now it's static it only changes color when someone moves their mouse cursor .

@ParamThakkar123, what are your views on this?

Yes. It changes the color only when the cursor is moved. Changing it when the song is playing is a good idea though !

But we kept it that we so as to keep it for more interactive user experience

I agree!

It looks really cool when an object on web in 3D interacts with user's cursor. This was our ideology while making this.

No problem! I added the repeat feature to improve the user experience. I thought if someone is using this site to listen to music while working, they wouldn't want to keep coming back to interact with the 3D object. If they're using a second screen, the 3D object will automatically change its colour and look visually appealing without any extra effort.


jugglinglab: init at 1.2

Motivation for this change
Adds jugglinglab. A program to visualize different juggling patterns.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

LGTM
@wnklmnn Thanks for sending this PR, and we look forward to more contributions from you in the future!
@aepsil0n Thanks for doing a quick review of this.


Instancing example crashes on Windows

Here is backtrace:
    Finished dev [unoptimized + debuginfo] target(s) in 1.4 secs
     Running `target\debug\examples\instancing.exe`
32 instances per length
1024 instances
size: 0.05
gap: 0.012121213
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: DescriptorInit(VertexImport("a_Color", Some(Format(R32, Uint))))', src\libcore\result.rs:859
stack backtrace:
   0: std::sys_common::backtrace::_print
             at C:\projects\rust\src\libstd\sys_common\backtrace.rs:94
   1: std::panicking::default_hook::{{closure}}
             at C:\projects\rust\src\libstd\panicking.rs:354
   2: std::panicking::default_hook
             at C:\projects\rust\src\libstd\panicking.rs:371
   3: std::panicking::rust_panic_with_hook
             at C:\projects\rust\src\libstd\panicking.rs:549
   4: std::panicking::begin_panic<collections::string::String>
             at C:\projects\rust\src\libstd\panicking.rs:511
   5: std::panicking::begin_panic_fmt
             at C:\projects\rust\src\libstd\panicking.rs:495
   6: std::panicking::rust_begin_panic
             at C:\projects\rust\src\libstd\panicking.rs:471
   7: core::panicking::panic_fmt
             at C:\projects\rust\src\libcore\panicking.rs:69
   8: core::result::unwrap_failed<gfx::factory::PipelineStateError<collections::string::String>>
             at C:\projects\rust\src\libcore\macros.rs:29
   9: core::result::Result<gfx::pso::PipelineState<gfx_device_dx11::Resources, instancing::pipe::Meta>, gfx::factory::PipelineStateError<collections::string::String>>::unwrap<gfx::pso::PipelineState<gfx_device_dx11::Resources, instancing::pipe::Meta>,gfx::factory::PipelineStateError<collections::string::String>>
             at C:\projects\rust\src\libcore\result.rs:737
  10: instancing::{{impl}}::new<gfx_device_dx11::Resources,gfx_device_dx11::factory::Factory>
             at .\examples\instancing\main.rs:137
  11: gfx_app::{{impl}}::new<gfx_device_dx11::Resources,gfx_device_dx11::command::CommandBuffer<gfx_device_dx11::DeferredContext>,instancing::App<gfx_device_dx11::Resources>,gfx_device_dx11::factory::Factory>
             at .\src\lib.rs:405
  12: gfx_app::launch_d3d11<gfx_app::Wrap<gfx_device_dx11::Resources, gfx_device_dx11::command::CommandBuffer<gfx_device_dx11::DeferredContext>, instancing::App<gfx_device_dx11::Resources>>>
             at .\src\lib.rs:199
  13: gfx_app::Application::launch_default<instancing::App<gfx_device_dx11::Resources>,gfx_device_dx11::Resources>
             at .\src\lib.rs:378
  14: instancing::main
             at .\examples\instancing\main.rs:178
  15: panic_unwind::__rust_maybe_catch_panic
             at C:\projects\rust\src\libpanic_unwind\lib.rs:98
  16: std::rt::lang_start
             at C:\projects\rust\src\libstd\rt.rs:51
  17: main
  18: __scrt_common_main_seh
             at f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253
  19: BaseThreadInitThunk
error: process didn't exit successfully: `target\debug\examples\instancing.exe` (exit code: 101)

System info:
Windows 8.1

After some investigation I found the point where this went wrong. I almost sure it's PR #1262


[Bug?] After I update to 0.6.0rc, it can't support the es6 class?

I use .createClass it works well, but use class xxx extends Component, it failed.
It shows that :RCTDataManager.queryData was called with 4 arguments, but expects 3

I am extending React.Component via ES6 style classes and am using 0.6.0 and do not have those exceptions :(

@soliury Are you getting those issues in the Simulator or on real hardware?

This has worked for a while, the error seems unrelated to the class problem. If all you do is toggle between the createClass and extends does that break it still?

I meet this problem in both simulator and hardware.

@soliury - but with both createClass and extends? or just extends? can you reproduce on rnplay.org?

Now, I close reboot and then, it works well. I don't know why.
And I have a project which using 0.4.4, and then I update it to 0.6.0-rc, it can't work. I use 0.5.0, it can works well.
It shows that :
RCTDataManager.queryData was called with 4 arguments, but expects 3

Same issue here after upgrading to 0.6.0-rc. I still try to find out whether the project files must be changed as well but haven't figured anything specific out yet.

I try to create a new project in 0.5.0, and then, update to 0.6.0-rc , and then , it can work.
Then, I try to copy the new project file to my older project in 0.4.4, but it also failed. I don't know why.

Same problem here after upgrading to 0.6.0:
RCTDataManager.queryData was called with 4 arguments, but expects 3

it is good now when I update to 0.6.0.

I am experiencing the same issue when upgrading from 0.5.0 to 0.6.0 stable:
RCTDataManager.queryData was called with 4 arguments, but expects 3

Now I have no issue in 0.6.0. It runs well

I had the same issue. Upgraded to 0.6.0 and everything worked well. I then installed a package which required a lower version of RN. Once I removed the package, cleaned and rebuilt, everything started working again.

yes. This is the require bug of react-native.

@soliury are you still having issues, this seems to be resolved. It appears there are multiple solutions here and on #1754 as well.
@brentvatne already solved.

Although #1606 does say "Packager should fail loudly" however, the workaround is basically clearing everything out.

Yes, it solved. Thanks all.


Fix case of .tsbuildinfo in .gitignore

The docs at https://www.typescriptlang.org/tsconfig/#tsBuildInfoFile are inconsistent, but I'm positive now that the file name is all-lowercase.

No need to backport, this is a minor developer inconvenience only.


Bite email fml

Implement Sisimai::Bite::Email::FML
And some sample emails and test codes

Coverage decreased (-0.04%) to 94.997% when pulling 7625e9121843c1a853e59c136d453bd4849c49a8 on bite-email-fml into 8ac0f1161535ffb8e0577ee7e3c81a7cac0929db on master.


feat[demo new Vapor] grouped checkboxes and radio plus loading

Proposed Changes
Grouped the Radio and checkbox examples. Plus added loading instead of empty array to prevent a rerender that removes the inputs from the store.
Potential Breaking Changes
affect only the demo
Acceptance Criteria

[ ] The proposed changes are covered by unit tests
[ ] The potential breaking changes are clearly identified
[ ] README.md is adjusted to reflect the proposed changes (if relevant)

Codecov Report

Merging #1307 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1307      +/-   ##
==========================================
+ Coverage   99.44%   99.45%   +<.01%
==========================================
  Files         362      362
  Lines        9082     9104      +22
  Branches     2146     2154       +8
==========================================
+ Hits         9032     9054      +22
  Misses         50       50

Impacted Files
Coverage Δ

...s/react-vapor/src/components/radio/RadioSelect.tsx
100% <100%> (ø)
:arrow_up:

...components/table-hoc/actions/TableHeaderActions.ts
100% <0%> (ø)
:arrow_up:

.../components/numericInput/NumericInputConnected.tsx
100% <0%> (ø)
:arrow_up:

...onents/table-hoc/reducers/TableWithSortReducers.ts
100% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Netflix and more websites bug

Before you submit this bug report check that you have ran the required setup correctly. Follow the steps on the wiki.
Describe the bug
A clear and concise description of what the bug is.
not displaying page correctly
To Reproduce
Steps to reproduce the behavior:

Select "netflix.com/login" as your link, and whatever u want as ur redirect
Click on the lightning
Attempt to Navigate to the website.
glitchiness intesnfies

Expected behavior
A clear and concise description of what you expected to happen.
me being able to see a proper view of the website
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: [e.g. Windows for browser and kali linux for the fishing software]
Browser [e.g. brave, firefox]
Version [latest since making this]

Additional context
Add any other context about the problem here.

I have same problem

I have the same problem


[Docs]: Table widget: Updated Row property documentation

Description
Need to change the documentation for the updatedRow property for the table widget.
Here is the link to the

Issue: https://github.com/appsmithorg/appsmith/issues/15486
PR: https://github.com/appsmithorg/appsmith/pull/18225
Documentation first draft: https://appsmith.notion.site/Table-Widget-Updated-Row-e17da461f5774c45a5bb1d1b76700680

Closing this issue. Raised the issue in the appsmith-docs repo.


bug: Saving oil buffer works but goes through an error every time

Did you check the docs and existing issues?

[X] I have read the docs
[X] I have searched the existing issues

Neovim version (nvim -v)
v0.9.5
Operating system/version
MacOS
Describe the bug
https://github.com/stevearc/oil.nvim/assets/78424395/b80b5870-9fb0-445b-82f8-63a37900d5f4
What is the severity of this bug?
minor (annoyance)
Steps To Reproduce

open oil
delete or rename a file
save buffer
see error

Expected Behavior
no error
Directory structure
No response
Repro
-- save as repro.lua
-- run with nvim -u repro.lua
-- DO NOT change the paths
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "runtime", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "--single-branch",
    "https://github.com/folke/lazy.nvim.git",
    lazypath,
  })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  {
        "stevearc/oil.nvim",
        config = function()
            require("oil").setup({
              -- add any needed settings here
            })
        end,
  },
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

Did you check the bug with a clean config?

[X] I have confirmed that the bug reproduces with nvim -u repro.lua using the repro.lua file above.

If you look at the stack trace, this appears to be a bug in telescope-file-history.nvim. They appear to be attempting to open or read the buffer in BufWritePost, which will fail because not all buffers are files (see :help buftype)


📄 Consulting page index - correct miss placed tags

URL: https://www.ssw.com.au/consulting
As per conversation with Uly @UlyssesMaclaren , I need to:

[x] Fix miss placed tags, e.g. Bots and Database dev pages show up under Website development
[ ] Add a new filter "AI Development", tag GPT and AI&Machine Learning pages
[ ] Change the tag name from “Consulting” to “Other SSW Services” and move it to the bottom
[x] "Platform" tag seems missing, add it back

#2 and #3 tasks seem like not accomplished, needs to be redone.

Figure: Showing ChatGPT missing and Other SSW Services placement in middle


Url matching semantics / wildcard support?

When determining if a url is in the list, does IE match the url exactly or will it match on all subdomains?
eg if example.com is in the list which of these would match:

https://example.com
https://www.example.com
https://extra.example.com

Would the person sending the email specify a wildcard to match or every subdomain?

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

ID: 6fe5c21b-2296-8b5c-208a-f41eb967c24e
Version Independent ID: c3722063-7455-5ba9-a78d-102823dfd474
Content: Moving users to Microsoft Edge from Internet Explorer - Microsoft Edge Development
Content Source: microsoft-edge/web-platform/ie-to-microsoft-edge-redirection.md
Product: microsoft-edge
GitHub Login: @MSEdgeTeam
Microsoft Alias: msedgedevrel

Hi @bbarry, a rule will apply to all subdomains unless it's for a specific subdomain - in that case we will use the specified subdomain instead of the parent domain.


Which day's NCLT data is used?

In your readme file, you said that the data of October 8, 2012 is used, but the data of February 5, 2012 is used in the project code.
https://github.com/BIT-MJY/SeqOT/blob/dffd2b5f74893a5b5c300ec98865785ba57ef367/config/config.yml#L5
Then I just started to configure the program, which day should I download the data? ? Currently I have downloaded the relevant data according to the link on the readme.

Sorry for that. October 8, 2012 is a mistake. We use 2012-01-08 rather than 2012-10-08.
For place recognition, you should use one trajectory to generate database, and use the other one to generate query scans. In this repo, the database is from 2012-01-08, and the query scans are from 2012-02-05. You can find more details in our paper.

Think you for your help.


Fix navbar button

Resolve wrong behavior for button component inside navigation bar component.
Hover animation is now on the link instead of parent without override of button style.
Add margin left and right for correct display.
Keep actual behavior for standard links.

Merged in dc6284aca06b1b0718f5d68862fa641544f2e84e.
I rebased master branch so it wont show as a merge here, my bad.


Rework module detection for golangci-lint integration

What version of GCI are you using?

v0.13.1

Problem
Golangci-lint cannot use latest version of the gci.
Reason described in the comment

@CarlosRDomin not hard to do it, you can add modinfo in https://github.com/daixiang0/gci/blob/master/pkg/analyzer/analyzer.go#L44, then you can get mod file obj in the https://github.com/daixiang0/gci/blob/master/pkg/analyzer/analyzer.go#L50.

Apologies for the delay, I've been fairly busy and just had a bit of time to take a look into the issue.
Based on this comment, the issue is with findLocalModule directly reading go.mod, not in the analyzer itself. I unfortunately would need @ldez's expertise here (or @daixiang0's), I've never use Golang's analysis package but based on the docs I can only find a way to run the static analysis through singlechecker.Main, which doesn't work since that executes the analyzer as the main command and exits, but instead the current code expects the findLocalModule to retrieve the package it is being called from and continue with the rest of the gci business logic.
I don't have enough knowledge to make gci runnable inside golangci-lint without any further help. @ldez, out of curiosity, have you already tried running the latest gci through golangci-lint and you saw errors or what made you think that this wouldn't work? Do you have a failing test I could run with a debugger and try to fix? I'd love to help but really don't know how at this point :(

have you already tried running the latest gci through golangci-lint and you saw errors or what made you think that the current implementation wouldn't work?

I don't need to run it to know that just reading a go.mod inside the current dir will never work as expected when you run golangci-lint inside a package.

The problem here is still the same: the design.
The elements inside this comment are not helpful because the information about that module requires the pass but the LocalModule needs to access this information here:
https://github.com/daixiang0/gci/blob/4725b0c101801e7449530eee2ddb0c72592e3405/pkg/section/local_module.go#L38
https://github.com/daixiang0/gci/blob/4725b0c101801e7449530eee2ddb0c72592e3405/pkg/config/config.go#L96-L106
https://github.com/daixiang0/gci/blob/4725b0c101801e7449530eee2ddb0c72592e3405/pkg/config/config.go#L43-L54
And so, to every call to YamlConfig.Parse() but those calls happen before the setup and the run of the analyzer: so it's impossible to access the pass.

After digging more into the code: it's impossible to get something to work as expected without rewriting a large part of the gci code (and not extending it).
@CarlosRDomin, without deeply changing the gci design it's useless to try to fix that inside gci.
So, I will be forced to borrow some pieces of gci code and rewrite them inside golangci-lint, it's not a good sign.
At some point, if the design doesn't evolve in the right direction, either we will have all the code of gci, "customized" and inside golangci-lint, or we will have to fork it, or just use another linter.
When 500 LOC becomes more than 3000 LOC to provide the same thing as before, and the usage as a lib is unexpectedly complex, requires a lot of plumbing, and to borrow the code, I think it's just honest to say that there is a major design problem.

Now GCI use Analyzer layer to integrate with Golangci-lint like some linters do, I have added this in https://github.com/daixiang0/gci/issues/86 TODO.
For this issue, please see this.

The "fix" (a copy of my hack) is in the continuity of the current design problems of gci.
The core of the design problem is not fixed and should be fixed.

The "fix" (a copy of my hack) is in the continuity of the current design problems of gci. The core of the design problem is not fixed and should be fixed.

@ldez does an amazing job ongolangci, and I assume he is a nice guy. But this comment sounded a bit rude to me :sweat_smile:
I'm sure a smiley would have helped.
Respectfully, a fan of gci and golangci-lint

But this comment sounded a bit rude to me.

Because it is, I'm not happy with the situation, so I will not add any simley.
You are nice, but I don't need help handling this situation the way I want.


Improve error message for removing pre-defined (e.g., ingress) network

This fix tries to address the issue raised in:
https://github.com/docker/docker/issues/24538
where the error message is unclear when removing pre-defined networks:
docker network rm ingress
Error response from daemon: rpc error: code = 7 desc = 4vlxuzpk8bxdsxpyvkxluol5g is a pre-defined network and cannot be removed

This fix improve the error message so that if network's name is specified
in the RemoveNetwork, then error message will contain the name and the ID
(instead of just an ID).
docker network rm ingress
Error response from daemon: rpc error: code = 7 desc = ingress (4vlxuzpk8bxdsxpyvkxluol5g) is a pre-defined network and cannot be removed

The unit test has been updated to cover the changes.
Signed-off-by: Yong Tang<EMAIL_ADDRESS>

Current coverage is 53.70% (diff: 71.42%)

Merging #1540 into master will decrease coverage by 0.05%

@@             master      #1540   diff @@
==========================================
  Files            82         82
  Lines         13432      13435     +3
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           7221       7215     -6
- Misses         5224       5233     +9
  Partials        987        987

Powered by Codecov. Last update 3f3d300...f5c9e4d

I'm confused about why RemoveNetworkRequest has a Name field in the first place. It doesn't look like it was used at all before. None of the other Remove*Request messages have a Name field - they all work by ID.
I don't think we should use this Name field in the request. Perhaps we should remove it.
Why can't we use the name from Annotations instead of needing the client to send it?

@aaronlehmann I agree. This was a very early addition (671ee160) and I don't think we had worked out the conventions yet.
Predefined networks probably shouldn't have an ID and therefore should not be removable. I am not sure about configuring them, however.

Hey I remember adding this message back when I first started working on swarmkit. Finally, a PR I'm qualified to review.

LGTM if the networkName variable is renamed.

Thanks @aaronlehmann. The PR has been updated with name changed. Please let me know if there are any other issues.


Editor throws on empty value

If null is passed as value to <Editor />, it throws an error

solved in master


Try making Travis wait longer for compilation.

https://github.com/rusoto/rusoto/pull/317 kept getting aborted by TravisCI since the build was spending >10 minutes on a compilation step without outputting anything.  Let's see if this works by making it wait longer!
Reference: https://docs.travis-ci.com/user/common-build-problems/#My-builds-are-timing-out

lgtm


WIP: Adapt lldb to the new swift weak reference representation.

rdar://problem/29765836

@swift-ci please test

https://github.com/apple/swift/pull/5282
@swift-ci please test

Oh, right, your test is actually likely to build...

apple/swift#5282
@swift-ci please test


Add markdown generator script for docs

This adds markdown generator script that generates .md files from doxygen xml files when you run make docs.
The paths to where files need to be generated are hard coded in script from root.
The actual files that are parsed are specified. This can easily be modified to generate for all files in /xml directory, BUT the script has only been tested for the public API.

@julianoes I've fixed the script as you suggested. Only "flaw" is that doxygen appears to also run on the /markdown folder I create next to the xml and html folders - so on subsequent runs, you get additional xml files for my markdown. Probably some error in the .doxygen file. Let me know if you want to hunt it down - or if you want me to sort it out tomorrow.

@julianoes Made a few more minor changes.

@julianoes I have fixed all your suggestions. Feel free to merge.


Set INDICES_MAX_CLAUSE_COUNT dynamically

Description
Changes the INDICES_MAX_CLAUSE_COUNT_SETTING to be dynamic instead of being static.
This PR is virtually identical to #1527, but there was earlier push back around making this an updateable dynamic setting due to the assumption that users would abuse this setting rather than optimize their underlying query. Lucene has since updated the way the clause counts work and this is now enforced at the indexSearcher level -- https://issues.apache.org/jira/browse/LUCENE-8811.
More info can be found in #12549 around the motivation for this change, but I ended up raising a PR to make a simple dynamic setting.
Related Issues
Resolves #1526 #12549

Check List

[X] New functionality includes testing.

[X] All tests pass

[X] New functionality has been documented.

[X] New functionality has javadoc added

[X] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
[X] Commits are signed per the DCO using --signoff
[X] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
[X] Public documentation issue/PR created https://github.com/opensearch-project/documentation-website/pull/7391/files

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

2.15.0 has sailed away, targeting this change to 2.16.0

Opened https://github.com/opensearch-project/documentation-website/pull/7391/files

❌ Gradle check result for e715516: FAILURE
Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

https://github.com/opensearch-project/OpenSearch/issues/14300
https://github.com/opensearch-project/OpenSearch/issues/12651
@msfroh can we merge?


Include go-sqlparser with upsert walk fix

This includes the fix for a bug in how nodes are walked for upsert commands.

@brunocalza Does this look correct?


Overwrite the email views?

Is there a way to edit the views for the emails being sent by shoppe? I would like to add an attachment to the email when you accept the order.
Thanks!

Not currently but you can fork the gem to modify the mailer and use your version

ah, ok, I manage to just copy and paste the exact names of the directories and views in the rails app and that did the trick, at least for the models and mail views. Would be a nice version update to add a generator for those features in the future.


Feature request: per-language settings

Feature request: per-language settings (split from #6918).
I propose one of the two following feature be added to settings.json:

Allow certain editor settings to be configured per language. Example:

"editor.language-specific" : [
  { "language": "java", "tabSize": 4 },
  { "language": ["haskell","**/*.ks"],
    "tabCompletion": false,
    "tabSize": 2
  }
]

or
2. Support a general mechanism for language-specific configuration. Settings, provided by vscode or extensions, may specify whether they are allowed to be language specific in their schema. Let workspace.getConfiguration take an optional language-id argument (where the default behavior is to return the language-agnostic setting). Example:
"language-specific" : [
  { "language": "java",
    "editor.tabSize": 4,
    "myextension.foo": false
  },
  { "language": ["haskell","**/*.ks"],
    "editor.tabCompletion": false,
    "editor.tabSize": 2,
    "myextension.foo": true
  }
]

@tobia wrote in #6918:

For example, I might want to use different values for editor.useTabStops, editor.trimAutoWhitespace, and the proposed editor.fontFeatures when I'm editing Python code vs. JSON files. I think this would make a lot of sense and is already provided by most programming editors, including Sublime Text.

@siegebell https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig

@jrieken 1) per-language editor configuration 2) configuration of extensions 3) configuring per-language options globally rather than in a bunch of .editorconfig files scattered in subdirectories.
I imagine there are a bunch of other properties that would be nice to set but are not supported by TextEditorOptions (what EditorConfig wraps)... why is it so limited?

@siegebell Can we fold this into #1587 ?

@alexandrudima you're right, this seems to be a dup of #1587.


Allow model field to be array or string in experiment metadata

This PR adds a version 1-0-2 of the au.org.access-nri/model/output/experiment-metadata schema that allows the model field to be an array or string (previously just array). We've chosen to do this because most experiment comprise only a single model.
Closes #11

One approach in the future might be to have a commit that just copies the previous version into the new version, and then another separate commit that makes the changes

Yeah good idea


Patch Orchestration application is not able to come up on some of the nodes, fails with the error that ServiceType is not registeret within configured timeout


nuget :not find package

PM> Install-Package office-ui-fabric
Install-Package : 找不到程序包“office-ui-fabric”
所在位置 行:1 字符: 1

Install-Package office-ui-fabric

  + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
  + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

Any ideas here, @Jahnp?

@mikewheaton
sorry，This problem may be I am wrong package source。
I am in China,so...blocked ？
source：https://www.nuget.org/api/v2/curated-feeds/microsoftdotnet/

I have tried it,Modify source ：https://api.nuget.org/v3/index.json
"Manage NuGet Packages for Solution" ,Here i can install :)
but, "package manager console" still not find package

Sorry, I'm not familiar with NuGet myself so am not sure what to suggest here. Was this working for a previous version of Fabric?

@mikewheaton Thanks,Is the latest version 2.3.0,I like it :)

So everything is working okay now?

yes, @mikewheaton
Thank you for your reply :-)

Glad to hear it's working, and that you're liking Fabric! Open an issue here any time you have trouble or a question for us. :smile:

Okey @mikewheaton ,Thank you for your work,This is a great project.😄


platformio/toolchain-esp32ulp problem

Hello, it is not possible to install this coder on an esp32 with ESPHome v2022.5.1 Error: Could not find the package with 'platformio/toolchain-esp32ulp @ 2.80200' requirements for your system 'linux_aarch64' occurs. Do you know why? Regards Martin

The toolchain isn't arm64 compatible at the moment. Please don't use your Raspberry Pi to build the firmware. Pick a x86 machine and it should build fine!


Bring back scsihd_apple functionality

With the removal of scsihd_apple code, we lost the code paths that allowed special handling for hda hard drive images on the Mac platform. What this means in real terms is that by default, a RaSCSI hard drive image won't be recognized by Apple HD SC Setup or Drive Setup for initialization / formatting. There may be other considerations that I am not aware of, so a more knowledgeable person can add requirements here. :)
Anyhow, as far as my testing shows, it is the INQUIRE vendor string that is the key part that tricks the setup tools. In this sense, the equivalent workaround in current develop is to attach a drive image with:
-n " SEAGATE:          ST225N:0210"
However, I argue that by removing the hda codepath, we're making it harder to use RaSCSI on a Mac, which I don't think is in this project's best interest.
At least, we should bring back SCSIHD_APPLE::Inquiry or an equivalent solution. I'm not sure if the logic in SCSIHD_APPLE::AddVendor is needed at this point.

@rdmark We can simply set valid (from the Mac perspective) INQUIRY data for the .hda extension. There is no need for SCSIHD_APPLE to do that. Which INQUIRY data do you suggest? The SEAGATE one above?

@rdmark As I had to touch the relevant files anyway I added the Seagate device identifier for .hda as part of https://github.com/akuker/RASCSI/pull/275. This is currently without a leading blank (see above). Can you please check whether your hard disk tool is fine with this?

@uweseimet I've tested this now, and bizarrely enough Apple HD SC Setup expects exactly those leading blanks in both the vendor and product strings. Drive Setup (the later tool) is ok with a product string without the 10 leading blanks, but it still expects exactly one blank before SEAGATE, otherwise it will treat the drive as 'unsupported'.

@rdmark That's weird, but I have just added those blanks. Can you retry, please?

@uweseimet Can you please make it 10  leading blanks in the product string, before ST255N specifically (yes, 10....)

@rdmark Done, but very strange ...

@uweseimet Thanks for the update!  There's something that's tripping up the Apple tools here, unfortunately.
On a code logic level, is there anything different in how INQUIRY is handled between attaching an 'hda' image without arguments, to doing something like:
rasctl -i 3 -c attach -f /home/pi/images/qf3.hda -n " SEAGATE:          ST225N:0210"
(with 10 blanks in the middle string)
I can't see any difference in the vendor strings through Apple System Profiler - reporting all three vendor strings with the correct number of blanks - but frustratingly enough neither of the drive setup tools recognizes the drive when not using the '-n' option...
Anyhow, I'll keep testing and trying a few things. There may be something obvious that I'm just not seeing.

@uweseimet Yes to my eyes they looked idential:

pi@rpi3b:~/RASCSI/src/raspberrypi $ rasctl -i 3 -c attach -f /home/pi/images/qf3.hda
pi@rpi3b:~/RASCSI/src/raspberrypi $ rasctl -i 3 -c show
3:0  SCHD   SEAGATE:          ST255N:0210  512 bytes per sector  545400320 bytes capacity  /home/pi/images/qf3.hda
pi@rpi3b:~/RASCSI/src/raspberrypi $ rasctl -i 3 -c detach
pi@rpi3b:~/RASCSI/src/raspberrypi $ rasctl -i 3 -c attach -f /home/pi/images/qf3.hda -n " SEAGATE:          ST225N:0210"
pi@rpi3b:~/RASCSI/src/raspberrypi $ rasctl -i 3 -c show
3:0  SCHD   SEAGATE:          ST225N:0210  512 bytes per sector  545400320 bytes capacity  /home/pi/images/qf3.hda

@rdmark Indeed, but there is no code difference I am aware of. This is what -n does:
		if (!pb_device.vendor().empty()) {
			device->SetVendor(pb_device.vendor());
		}
		if (!pb_device.product().empty()) {
			device->SetProduct(pb_device.product());
		}
		if (!pb_device.revision().empty()) {
			device->SetRevision(pb_device.revision());
		}

And this is the code for .hda:
					if (ext == "hda") {
						device->SetVendor(" SEAGATE");
						device->SetProduct("          ST255N");
						device->SetRevision("0210");
					}


How can I force a full history data download?

Hi!
I am trying to force a full history download but I can't get it to work.
I tried to change in monitor.py
line 289
FROM
from_month = now  # default only get the current month statistics
TO
from_month = now - relativedelta(months=4)
but it didn't work.
Any ideas?
Thank you

I assume you question is about the daily stats.
Which car do you have?
Which region?
In Europe only about 3 months of history is stored on the (Kia Connect or Bluelink) server. For Hyundai USA only the last 4 trips are stored. For other regions I do not know.
Note that other information is just a snapshot of the latest cached server information, so each time you ask for it, it is stored if it differs. So you have to build up this history, but still you can miss changed data.

Ioniq 5
EU
I bought the car on the 04th of July, so all data is still in the Bluelink android app.
I am trying to do a full history download for the first time and then I will update every day.

You can delete monitor.dailystats.csv and monitor.tripinfo.csv, then monitor.py tries to get the history data from 3 months back.

I run those commands after deleting the files you mentioned with original monitor.py
python monitor.py
python summary.py sheetupdate
python dailystats.py sheetupdate
and I get

Managed to get all data in monitor.tripinfo.csv with a change in line 289
from_month = now - relativedelta(months=3)

Now the problem is that monitor.dailystats.csv goes back only until 22/08/2024
I changed in dailystats.py line 37
MAX_QUEUE_LEN = 2000
but still it stops at 22/08

The Bluelink API for getting the dailystats info only gets the last 24 days or something around that number. The API for trip info gives the opportunity to go back about 3 months. So that is why there is a difference. I do not know how to get back more dailystats results, but that would be something to be asked at hyundai_kia_connect_api.


Plugins per connections

Is your feature request related to a problem? Please describe.
I make several connections at the same time and I want to apply certain plugins only to a specific connection or different plugins to different connections.
Describe the solution you'd like
That the plugins be per connection and not global.
By the way, you might want to allow each connection to be named.
Thank you very much for your work.

hi @tzagim this is a very popular feature request, and there is already one issue to track its progress. i am closing this for being duplicate.
Refer #176


Fix missing malay translations

[x] Changes have been thoroughly tested to not break existing functionality.
[x] New functionality has been documented or existing documentation has been updated to reflect changes.
[x] Visual changes are explained in the PR description using a screenshot/recording of before and after.

Thanks a lot for your v3 contributions so far, @sumardi!


[Bug Report] Server is killed in an hour

Have you read the Important information text above

[X] Yes i did

Current behavior
Hello @jammsen
First I am appreciate to you
for docker dedicated server image
Here's my question
Server is killed in an hour and restart immediately
And client users are disconnected at the same time
why this problem happens?
Logs below
2024-02-09 16:56:30 palworld-dedicated-server  | Killed
2024-02-09 16:56:31 palworld-dedicated-server  | >>> Checking for existence of default credentials
2024-02-09 16:56:31 palworld-dedicated-server  | >>> Doing an update and validate of the gameserver files
2024-02-09 16:56:31 palworld-dedicated-server  | time="2024-02-09T08:56:31+01:00" level=info msg="read crontab: cronlist"
2024-02-09 16:56:32 palworld-dedicated-server  | tid(14) burning pthread_key_t == 0 so we never use it
2024-02-09 16:56:32 palworld-dedicated-server  | Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
2024-02-09 16:56:32 palworld-dedicated-server  | Logging directory: '/home/steam/Steam/logs'
2024-02-09 16:56:32 palworld-dedicated-server  | [  0%] Checking for available updates...
2024-02-09 16:56:32 palworld-dedicated-server  | [----] Verifying installation...
2024-02-09 16:56:32 palworld-dedicated-server  | Steam Console Client (c) Valve Corporation - version<PHONE_NUMBER>
2024-02-09 16:56:32 palworld-dedicated-server  | -- type 'quit' to exit --
2024-02-09 16:56:33 palworld-dedicated-server  | Loading Steam API...OK
2024-02-09 16:56:33 palworld-dedicated-server  |
2024-02-09 16:56:35 palworld-dedicated-server  | Connecting anonymously to Steam Public...OK
2024-02-09 16:56:35 palworld-dedicated-server  | Waiting for client config...OK
2024-02-09 16:57:06 palworld-dedicated-server  | Waiting for user info...OK
2024-02-09 16:57:06 palworld-dedicated-server  |  Update state (0x5) verifying install, progress: 0.00 (0 /<PHONE_NUMBER>)
2024-02-09 16:57:06 palworld-dedicated-server  |  Update state (0x5) verifying install, progress: 3.26 (73783266 /<PHONE_NUMBER>)
2024-02-09 16:57:06 palworld-dedicated-server  |  Update state (0x5) verifying install, progress: 9.40 (212504677 /<PHONE_NUMBER>)
2024-02-09 16:57:06 palworld-dedicated-server  |  Update state (0x5) verifying install, progress: 15.67 (354090652 /<PHONE_NUMBER>)
2024-02-09 16:57:06 palworld-dedicated-server  |  Update state (0x5) verifying install, progress: 22.66 (512285411 /<PHONE_NUMBER>)
2024-02-09 16:57:06 palworld-dedicated-server  |  Update state (0x5) verifying install, progress: 29.67 (670539264 /<PHONE_NUMBER>)
2024-02-09 16:57:06 palworld-dedicated-server  |  Update state (0x5) verifying install, progress: 36.74 (830421362 /<PHONE_NUMBER>)
2024-02-09 16:57:06 palworld-dedicated-server  |  Update state (0x5) verifying install, progress: 44.17 (998320725 /<PHONE_NUMBER>)
2024-02-09 16:57:06 palworld-dedicated-server  |  Update state (0x5) verifying install, progress: 51.40<PHONE_NUMBER> /<PHONE_NUMBER>)
2024-02-09 16:57:06 palworld-dedicated-server  |  Update state (0x5) verifying install, progress: 58.73<PHONE_NUMBER> /<PHONE_NUMBER>)
Desired behavior
Play game without disconnect
Plz help me T^T
Links to screenshots
No response
To Reproduce
Steps to reproduce the behavior:

run game
play game
disconnect happens

Software setup

OS: Mac OS 13.0
Docker: 4.14.0 (91374)

Hardware setup

vCPU: Intel Core i7 2.8Ghz
RAM: 16GB 2133 MHz LPDDR3
Disk: 512GB

Additional context
No response

Hey @silee-kr we also have a Discord for theese kinds of questions. This isnt really a bug-report isnt it?
Im in guessing territory over here because you only say in a nutshell, help have an error, but no context or story how it gets there and how your setup is. Are you hosting the dedicated-server on your Mac while you play it on the same thing? You only write a log that isnt full so i cant even see if the server errors out starting.
What is that memory usage of the Mac before you start the server?
Are you aware that this dedicated server has massive memory leaks and its a well known issue/bug?

My docker resources are not enough I think
I'll try again
Thanks for ur reply
Have a good day


Change logical definitons and asserted subclasses for 'GO:0043299 leukocyte degranulation' children

The asserted parent of children of GO:0043299 leukocyte degranulation' contained is_a cell activation. This causes incorrect assertions, to is_a localization of cell, see
https://github.com/geneontology/go-ontology/pull/26177
After discussion, we have decided to change that to 'part of' cell activation, rather than is_a activation. Hopefully that will resolve the issue.
@addiehl hopefully this is correct?

@cmungall
The logical definitions for 'x degranulation'
'regulated exocytosis'
and ('occurs in' some x cell)
also, the parent 'leukocyte degranulation' is asserted.
Wouldn't it be more consistent with other DP if we had:
leukocyte degranulation
and ('occurs in' some x cell)
since also   leukocyte degranulation  is_a regulated exocytosis ?
Thanks, Pascale

I think that's fine

having 'leukocyte degranulation' as a subclass of 'cell activation' was intended as way capture assay results where degranulation was used by the experimenters as a proxy measure for 'cell activation', particularly when investigating gene products involved in signaling pathways.   However, this has always felt a bit hacky, even though I promoted this.  The hoped for inference is that when there has been an instance of 'leukocyte degranulation' it can be inferred that there has been an instance of 'cell activation'.
'leukocyte degranulation' part of 'cell activation' sort of works, but really something like 'leukocyte degranulation' 'causally downstream of' 'cell activation' is probably more biological accurate.

@pgaudet Does the current policy on proxy assays (that they are out of scope for GO?) give you a way out of this problem?

A huge amount of signaling work in immunology and other fields is based on 'read-out' assays where a downstream process is used to access whether a signaling event has occurred.  I can't imagine we would want to throw out this mass data upon which much of our understanding of cell signaling events is based on.

@pgaudet Am I getting this right? We want the GO term to link the biological signal to the biological downstream target, and not to link the biological signal to a proxy target? So then all this work remains fully annotatable but the proxy assay should be represented by something like an evidence code and not as the true target of the signal?

'leukocyte degranulation' part of 'cell activation' sort of works, but really something like 'leukocyte degranulation' 'causally downstream of' 'cell activation' is probably more biological accurate.

Either of these resolves the isa-overloading issue. Obviously the big difference between these too is whether you expect the genes annotated to the degranulation term to show up in a gene set for the activation term. If we had clearly defined starts and ends we could answer this more definitively. But either works for resolving the immediate problem.

Per the proxy/read-out assay issue, there is an annotation at MGI, most probably done by me, based on PMID:9000133 that annotates Syk to 'positive regulation of mast cell degranulation'. While I can't get access to the paper online, even with my university's subscription, even reading the abstract you might be able to imagine the kind of data used to make this annotation:
Activation of the high affinity IgE receptor (Fc epsilon RI) of mast cells, a member of the antigen receptor family, leads to the release of allergic mediators, a critical event in the onset of immediate hypersensitivity. Stimulation of Fc epsilon RI results in the rapid association and activation of the Syk tyrosine kinase. Using Syk-deficient mast cells we show that they fail to degranulate, synthesize leukotrienes and secrete cytokines when stimulated through Fc epsilon RI, conclusively demonstrating an essential role for Syk in Fc epsilon RI signalling. Furthermore, our data strongly supports a model of Fc epsilon RI engagement leading to the sequential activation of the tyrosine kinases Lyn and then Syk. A similar mechanism is likely to apply to signal transduction through all members of the antigen receptor family.
'positive regulation of mast cell degranulation' positively regulates 'mast cell degranulation'
'mast cell degranulation' is_a 'mast cell activation involved in immune response'
'mast cell activation involved in immune response' is_a 'mast cell activation'
Therefore Syk positive regulates 'mast cell activation', which is a statement that I think the original authors would agree with.

Hi @deustp01 @addiehl
Thanks for the feedback. @deustp01 you are right that GO now strives to remove readouts to clarify processes.
Maybe with all the other ontologies that now exist, it is possible to get this assay information from another source, instead of overloading GO?
I am closing this ticket, since this was not the aim here, we can rediscuss in another context.


We were unable to load Disqus.

We were unable to load Disqus，If you are a moderator please see our troubleshooting guide.这是什么问题

国内不支持Disqus，建议用多说。

用多说吧

U may choose other comments system.
See #1303.


alert trend and stat servcie for tenantid

alert trend and stat servcie for tenantid

alert trend and stat servcie for tenantid


Fix the hex to bin conversion in hex mode reading

dataSizeBytes is already adjusted together with totalReceivedSize, resulting in a too small value for x.
The consequence of this issue is that blocks of bytes at the end of long reads are replaced by zeroes.

Very well spotted!  Let me run a quick test.

All tests have passed, merging, thanks!


Fix1943

Fix #1943

We have to discuss what should the default text of the code fix for SA1623 be.
Currently it is always Gets the value.
I am having a suggestion to replace it with Gets PropertyName.
What to you think?

Current coverage is 79.39%

Merging #1957 into master will decrease coverage by -0.05% as of 16ef066

@@            master   #1957   diff @@
======================================
  Files          559     559
  Stmts        35094   35112    +18
  Branches      9710    9717     +7
  Methods
======================================
- Hit          27880   27877     -3
- Partial       5672    5677     +5
- Missed        1542    1558    +16

Review entire Coverage Diff as of 16ef066

Powered by Codecov. Updated on successful CI builds.

@sharwell, done.

Currently a code fix is offered that will do nothing. I would prefer to see it changed so that the code fix is not offered at all. It will be more clear for the user that the diagnostic cannot be fixed by us.

Currently a code fix is offered that will do nothing. I would prefer to see it changed so that the code fix is not offered at all. It will be more clear for the user that the diagnostic cannot be fixed by us.

We could probably do this efficiently by adding a property to the reported diagnostic in the case where the summary is empty. That way the code fix can simply skip over diagnostics that have the property without performing any additional analysis.

So what should I do in order to match your CR? :smile:

@NikolayIT Have a look at the SA1003 analyzer and code fix.
In this case you can simplify stuff a bit. The presence of the property in the set can be used to check if the code fix should be offered or not.

:+1:

:+1: