resource_not_found

I have purchased a product with your SDK and everything related to Apple seems to work. However, the SDK reports the purchase as failed while validating the receipt.
The last step of the SDK is to fetch a subscription from Chargebee, but this fails.
invalidRequest(errorResponse: Chargebee.CBErrorDetail(message: "1000000976907889 not found", type: Optional("invalid_request"), apiErrorCode: Optional("resource_not_found"), param: nil, httpStatusCode: Optional(404)))
The failing line is here: https://github.com/chargebee/chargebee-ios/blob/bb2defba928810334886c9502719189ed8c8161f/Chargebee/Classes/Purchase/CBPurchaseManager.swift#L264
Why is it failing here? Chargebee receipt validation returns a subscription id but it is nowhere to be found on my chargebee site.

We don't want end user to wait for Chargebee backend processing. So we create subscription id immediately and return it to App. But if there's a mandatory configuration missed in Chargebee then this subscription will not be created in Chargebee unless the configuration is done.
In this case we checked and found that currency being passed (i.e. DKK) is not configured in the Chargebee. So, please configure this currency in Chargebee site and make a purchase. You should be able to see the subscriptions in Chargebee.

Hi @cb-saisrikant.
Does this mean we have to setup currencies for all the countries where we support IAP?

I have enabled DKK currency but still get the same error above

Hi @styrken Yes. We need to enable all the currencies in Chargebee in which you are expecting payments so that we can record payments as per the respective exchange rates. We found that other prerequisites are also missing in the Chargebee site. So you are still getting this error. Please make sure that all prerequisite configurations are done at Chargebee end before integrating SDK. Following are the prerequisite configurations to be done at Chargebee end:

Set up all the currencies you use in your app within Chargebee.
Configure millisecond-based billing and enable proration.
Set up all the billing frequencies that you offer in your app within Chargebee.

I can't find what I am missing.
Are there any logs I can see ?

Well, actually - a subscription was created now when I changed the plan price id. Let met investigate a bit.

That's great! FYI. If you already have products & subscriptions for your App in App store then you can import these using simple CSVs that are available on Chargebee site.

Hello again,
I have done some more testing. I see the SDK is fetching items from the chargebee API using v2/items endpoint with a filter: channels[is]=app_store
Only problem is; there is no way for me of setting my plans to that channel.
I tried using postman to update my item, when setting channel in the update request, it does not change.
I tried using admin panel, can't find any way of setting a channel on the plan.
Can you help me out? :-)

Where do you find that sample file?
I can't find one that looks like the screenshot here:
https://www.chargebee.com/docs/2.0/mobile-app-store-product-iap.html#import-products
Man, sorry, nothing against you but this feature seems 'half-baked'.

I used the upload feature but now I get this error:
Row x : Mapping for apple_product_id not found, expected one of [apple_product_id;name;currency_code;price;frequency;frequency_unit]
Example of row x
ERdyFx6cMAeAVM;Apple ABC (Family) Monthly Plan;USD;2999;1;month

Please note that CSV should have comma separated values. I can see that values are separated by ";" instead of "," in the example. I will take you through the integration in tomorrow's call.

Hi,
You are right. I guess "Numbers"-app on Mac changed those.

Closing this now as the original issue is resolved.


Inconsistency for plan requirements between this page and the support.office.com article

Hi,
For license/plan requirements to create Live Events:
-this page here says that Office 365 Enterprise E1 users can create Live Events.
-The support.office.com article about Live Events only mentions E3, E5, A3 and A5 as being required: https://support.office.com/en-us/article/get-started-with-microsoft-teams-live-events-d077fec2-a058-483e-9ab5-1494afda578a
I just submitted this feedback on the support.office.com article but, could anyone confirm if Enterprise E1 users can or cannot create Live Events in Teams?
I'm currently troubleshooting this for an E1 user and, as far as I can tell right, it doesn't seem like E1 users can create Live Events.
If that is the case then, this page would need to be corrected to remove the mention of E1.
Thank you

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

ID: 2b679199-caa5-4cc5-27e5-60a2cf999f69
Version Independent ID: 6878c954-e248-94c2-7602-47437ec7a2dd
Content: Plan for live events in Microsoft Teams
Content Source: Teams/teams-live-events/plan-for-teams-live-events.md
Service: msteams
GitHub Login: @tonysmith
Microsoft Alias: tonysmit

Checking with a PM. Please hold. :)

Yes, E1 can also be used. I've sent a request to the owner of the support.office.com article to add E1 to it. Thanks!

Thanks tonysmit!
You're absolutely right, this page here is correct and the issue I was dealing with my user was caused by good old propagation of the service (had just switched user's license and 24 hours later, all was working fine).
Hopefully the support.office.com article gets updated soon. I've just sent another feedback on it again.


DS-561 - [Swagger] DELETE /utils/bulkDelete API is not working as no field to pass any parameters.

Ensure proper handling of comma-separated ids in bulk delete API
Fix filter merging issue causing incorrect characters
Replace remove() with deleteOne()

@jugnu-appveen


[Question]: How to hide an entity depending on its state

What happened?
Can I hide an entity depending on its state value?
Card Version
1.1.16
HomeAssistant Version
2023.8.1
Relevant log output
No response

Currently it is only possible to hide unavailable entities.


Add new fields in Book model

Add the following fields:

Language: string
Paperback: int
Item Weight:
Dimensions:


Make the playground run in other pages, and start of a workbench page

After thinking about it for a bit, getting to something like this:

Re: https://github.com/microsoft/TypeScript/issues/35389
Would either mean:

taking the sandbox and wrapping it with a custom sidebar infrastructure
taking the playground and allowing for custom sidebar plugins

The choice ended up being pretty easy in the end. This only makes the page, it doesn't do any real work.
Result of this PR:

https://typescript-v2-497.ortam.now.sh/dev/bug-workbench/

and it sets up prettier correctly everywhere too

Got all the infra hooked up - looks like a bug with grabbing tthe queries - (I bet its an offset thing)

Cool, this is good enough for a few of my bugs - will expand it out in time


Website links not working on mobile if already visited

I noticed an issue tonight while browsing the site on my phone. In the top right corner I can tap to visit other collectives I have history with. If I select one, it brings me to their page, but if I go to another one, and then use the menu to try to go back to the first one (that I visited before) it does nothing when I tap. It stays highlighted in the list of collectives. After a lot of browsing, I'll eventually be stuck. I won't be able to go anywhere else. Refreshing the browser solves this, but it's definitely.not working as an SPA as it was designed to.
This is kind of hard to demonstrate with a screenshot but here's one showing what my screen looks like after I tap on the collective I want to go to:
Open collective example https://imgur.com/gallery/daseC

@welkie Could you try to reproduce in a desktop environment? (making sure that your window size trigger the mobile view). And from there, check if there is an error in the browser console?

I was able to reproduce in a desktop environment. I used the debug tools to shrink my viewport to a mobile view. It did the exact same thing it did on my phone. In an effort to produce noticeable patterns in the output, I performed the click on the already-visited link three times in a row.
When you reported that issue, I was definitely able to reproduce it. Now, I wanted to have another look a it, and I can't reproduce it anymore.
Could you check again on your side?

@znarf The issue is still happening for me. I notice that it asked me to log in again. It hasn't done that in a while. Does this mean a new version of the site's front end was released? If so, what steps should I take to make sure I've got the latest version loading?

:tada: This issue has been resolved in version 2.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

@welkie I finally could reproduce it properly and fixed it. Hope this is effectively working for you now!

@znarf Confirmed working now.


Marking successful requests as failed

I just installed this plugin today and ran the requests in a folder and it is marking successful 200OK responses as failures.

Hi, you need to add "[200]" to the end of the request name to make the validation work!
see here:
https://insomnia.rest/plugins/insomnia-plugin-run-all-requests
...
In addition, the plugin validates the response code of each request, and displays a warning if any of the request results do not match the expected response code. To configure the expected response code, add the response code to the request name in brackets, e.g. Get User [200]. If the response code of the request does not match the expected response code from the name, the request will be marked with 'Failed' in the list.
...

Oh, got it! Could I suggest that in the absence of a [xxx] value the default should be marking responses with an http status of 200-299 as success?


Allow dynamic pagerduty_incident_key

This is especially helpful when generating pagerduty events for alerts that set query_key.

+1


Update documentation to match new structure

With the new structure in place, we should update the documentation to reflect the changes (fabulous-app -> fabulous-xf-app, Fabulous vs Fabulous.XamarinForms, ...)
We should also clearly separate them based on the product their addressing: Fabulous, Fabulous.XamarinForms, Fabulous.StaticView

README has been updated with #490

Closed by #498


Should Rust's unit be casted to nil or remain an empty tuple in NIF return values?

This is more of a question than an issue, but I think this is the right forum for discussion and sake of posterity.
Currently a NIF that returns a Rust unit () value (either explicitly or having no return value) results in an empty tuple in Elixir.
The question is: Should we change Rustler to encode the Rust unit () as a nil in Elixir?
Example:
#[rustler::nif]
fn returns_a_unit() {
}

iex(1)> SomeApp.Native.returns_a_unit()
{}

Thoughts?

() in Rust is definitely not the same as an empty tuple...that would be (,) in Rust. So...yeah, I think we should probably do something different here....

Rust's unit is definitely the same as an empty tuple (last line of https://doc.rust-lang.org/reference/types/tuple.html), the current behaviour is correct.

We could try to forbid this particular case in the codegen, though, forcing users to at least spell out -> (), as I also see the potential for confusion here.
I'd be against nil as an automatic conversion (in general) as this is an Elixirism without special meaning anywhere else in BEAM-land.

I'm also against auto conversion to nil, nil is an atom in elixir, and the nil type in the BEAM is the empty list which is ambiguous and an atom definitely doesn't seem proper.  The empty list would make sense, but the usual BEAM thing to return for functions that don't really return anything is often just ok, which is also an atom, which I'm not a fan of returning.  Something inline to the model like the empty tuple or empty list seems best to me.  Or disallowing it to force returning something that makes sense for the case.

Rust's unit is definitely the same as an empty tuple (last line of https://doc.rust-lang.org/reference/types/tuple.html), the current behaviour is correct.

I guess I stand corrected 😄

Thank you all for the feedback and info; learned a lot.
The clear winner for preference is to keep Rust's unit () as {} in Elixir/Erlang.


fix parsing precursor charge in MGF files

This fixes two issues:

the charge value in the PEPMASS header (can) have the same suffixed format as the CHARGE header
the order of the headers isn't determined, so the charge value should still be saved correctly if the CHARGE header is before the PEPMASS header

NOTE: There could be multiple PEPMASS headers, and this is supported by the parser, but it's not clear to me how the CHARGE header should behave then: should the charge be set as part of the PEPMASS header then, should there be multiple CHARGE headers, or should there only be one CHARGE header, that would apply to all precursor ions. At the moment, I kept the current behaviour of just setting the last precursor ion, but it might make sense to make this a for loop, keeping behaviour consistent, at least assuming there can only be one CHARGE header. But I might be overthinking what seems to be an edge-case ...

I added the test case that tripped in ms2rescore-rs to test/data/small.mgf and updated the assertions accordingly.

Thank you.
The control flow looks like it handles the two cases correctly now that I've had time to read it.
While you're right that this code won't handle an MGF which includes both a CHARGE header and a charge in the PEPMASS line or an MGF with multiple CHARGE headers, they are less common today thanks to high resolution MS1 spectra. I don't see a need to rework mzdata's data model to support tracking that explicitly.
If you think it needs to be captured, we can devolve secondary charge states to Param using MS:1000633|possible charge state. That'd be purely for the purposes of tracking that information, it'd need explicit help being round-tripped. Otherwise, I can add a warning if we see multiple charge states, but otherwise do nothing with the second charge state unless a user.

If you're happy with the state the PR is in now, please let me know and I'll merge it and cut a new release.

Yes, I'm happy with the state of the PR, I was just pondering about the theoretical correctness of my changes, also given that it doesn't seem that well defined as a standard. I looked at the pyteomics and OpenMS parser for reference, and both actually just assume there is only one precursor.
As I said, this could be change that might be worthwhile to consider, as it seems somewhat more consistent in behaviour:
--- a/src/io/mgf.rs
+++ b/src/io/mgf.rs
@@ -358,13 +358,7 @@ impl<R: io::Read, C: CentroidPeakAdapting, D: DeconvolutedPeakAdapting> MGFReade
                 }
                 "CHARGE" => {
                     builder.precursor_charge = self.parse_charge(value);
-                    if let Some(ion) = builder
-                        .description
-                        .precursor
-                        .get_or_insert_with(Precursor::default)
-                        .iter_mut()
-                        .last()
-                    {
+                    for ion in builder.description.precursor.get_or_insert_with(Precursor::default).iter_mut() {
                         if ion.charge.is_none() {
                             ion.charge = builder.precursor_charge
                         }


Fixed a regular expression denial of service issue by limiting whites…

…paces
Change Summary
As discussed over email, this fixes a security issue where a regular expression denial of service can be performed.
Exploit code is below:
import time
from pydantic import networks
from pydantic.networks import validate_email

start = time.time()

try:
    exploit_string = '<' + ' ' * 3000
    validate_email(exploit_string)
except:
    pass

print(f"Time elapsed: {time.time() - start}")

Related issue number
NA
Checklist

[x] The pull request title is a good summary of the changes - it will be used in the changelog
[x] Unit tests for the changes exist
[x] Tests pass on CI
[x] Documentation reflects the changes where applicable
[ x My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Selected Reviewer: @samuelcolvin

Seems like I've broken something. I'll see if I can fix it

please update

Awesome! @samuelcolvin can we open up a security advisor for this one?

Will this change be backported to v1? I have a tool that depends on v1 and doesn't yet support v2, so I'm vulnerable to the issue reported here until I'm able to upgrade.

yes we should, @hramezani please could you back port this to V1 and get a release out?

Am I right that this fix is included in v1.10.13?

@allanlewis Yes. it is.

Excellent - thanks for arranging the backport in record time!

@samuelcolvin would it be possible to open up a security advisory for this one?

I really don't think it's necessary.


Can't delete temp file after crop and save

I am cropping an input image and then saving it to output file. but i want to remove the input one.
sharp(input)
.extract({ left: data.left, top: data.top, width: data.width, height: data.height })
.toFile(output, (err) => {
if(err){…
}else{
fs.unlink(input)….
}
});
When i try to unlink the temporal file node shows:
Error: EBUSY: resource busy or locked, unlink….

Are you doing this on windows? If so check https://stackoverflow.com/questions/41289173/node-js-module-sharp-image-processor-keeps-source-file-open-unable-to-unlink
for me sharp.cache(false); worked

See also #415


PostgreSQL: Dbeaver freeze UI during query typing

Description
DBeaver 21.1.*
PostgreSQL 15.*
During query typing or part of query selection DBeaver UI freezes for several second
The issue appeared in nearest few weeks.
It is reproducible in 24.1.5 and 24.1.4.
Maybe in some older versions as well
DBeaver Version
Community Edition 24.1.5
Operating System
Windows 11
Database and driver
JDBC 42.7.2
PostgreSQL 15.3 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44), 64-bit
Steps to reproduce
start typing some query the select some part of query . UI is freeze. Syntax highlight disappears then highlight is recovered and UI unfreeze
Additional context
No response

Hi, @StepanYankevych
Could you tell me how large is your script, where you're typing?

I've noticed something similar if there any many syntax errors in the script for some reason.
Is it your case?

Could you tell me how large is your script, where you're typing? - Even half a screen.
And i agree a lot of highlighted in red words. (Red words it could  be another issue :)  )
Just opened simple script like , trying to select some part of query text using mouse and it hangs time to time
select
col1,
col2,
..
col50
from table1
where date=current_date
union all
select
col1,
col2,
..
col50
from table1
where date=current_date

Also could you explain what do you mean by "frozen"? Is it that the highlighting is updating with a time delay or that your typing comes to the editor with delay?

Do you have the correct database and schema chosen here? - Database - yes. Schema - not,  because tables from different schemas used in the query and schema specified in the query like shema_name.table1
"frozen" - Means Application does not respond for several seconds. Like i can't even resize app window, move app window.
It is not all the time reproducible. Sometime it is reproducible often , sometimes i can't reproduce

I see. Thank you

See screenshot.

Could you check if it's reproducible, if you turn off the setting in preferences Editors->SQL Editor->Code Editor->Enable semantic analysis?

Also could you perform a thread dump, when you reproduce it again? You can find instructions here: https://github.com/dbeaver/dbeaver/wiki/Making-a-thread-dump

Look like turning off "Read database table/column for semantic analysis" resolved the issue.

Thank you for investigation

@StepanYankevych could you try DBeaver 24.2.0 to see if the issue is solved?

@E1izabeth try to provoke the issue with the following steps:
https://github.com/user-attachments/assets/baba5a27-40ce-492f-97fe-c985a8c0c1ba

copy-paste any query with many syntax errors to a new sql editor, for example:

SELECT datid, datname, pid, leader_pid, usesysid, usename, application_name, client_addr, client_hostname, client_port, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, state, backend_xid, backend_xmin, query_id,  query, backend_type, datname, pid, leader_pid, usesysid, usename, application_name, client_addr, client_hostname, client_port, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, state, backend_xid, backend_xmin, query_id, query, backend_type, datname, pid, leader_pid, usesysid, usename, application_name, client_addr, client_hostname, client_port, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, state, backend_xid, backend_xmin, query_id, query, backend_type, datname, pid, leader_pid, usesysid, usename, application_name, client_addr, client_hostname, client_port, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, state, backend_xid, backend_xmin, query_id, query, backend_type, datname, pid, leader_pid, usesysid, usename, application_name, client_addr, client_hostname, client_port, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, state, backend_xid, backend_xmin, query_id, query, backend_type, datname, pid, leader_pid, usesysid, usename, application_name, client_addr, client_hostname, client_port, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, state, backend_xid, backend_xmin, query_id, query, backend_type, datname, pid, leader_pid, usesysid, usename, application_name, client_addr, client_hostname, client_port, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, state, backend_xid, backend_xmin, query_id, query, backend_type, datname, pid, leader_pid, usesysid, usename, application_name, client_addr, client_hostname, client_port, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, state, backend_xid, backend_xmin, query_id, query, backend_type, datname, pid, leader_pid, usesysid, usename, application_name, client_addr, client_hostname, client_port, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, state, backend_xid, backend_xmin, query_id, query, backend_type, datname, pid, leader_pid, usesysid, usename, application_name, client_addr, client_hostname, client_port, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, state, backend_xid, backend_xmin, query_id, query, backend_type, datname, pid, leader_pid, usesysid, usename, application_name, client_addr, client_hostname, client_port, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, state, backend_xid, backend_xmin, query_id, query, backend_type, datname, pid, leader_pid, usesysid, usename, application_name, client_addr, client_hostname, client_port, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, state, backend_xid, backend_xmin, query_id, query, backend_type, datname, pid, leader_pid, usesysid, usename, application_name, client_addr, client_hostname, client_port, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, state, backend_xid, backend_xmin, query_id, query, backend_type, datname, pid, leader_pid, usesysid, usename, application_name, client_addr, client_hostname, client_port, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, state, backend_xid, backend_xmin, query_id, query, backend_type, datname, pid, leader_pid, usesysid, usename, application_name, client_addr, client_hostname, client_port, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, state, backend_xid, backend_xmin, query_id, query, backend_type, datname, pid, leader_pid, usesysid, usename, application_name, client_addr, client_hostname, client_port, backend_start, xact_start, query_start, state_change, wait_event_type, wait_event, state, backend_xid, backend_xmin, query_id, query, backend_type
FROM pg_stat_activity;

hover mouse pointer over a list of exclamations left of the text of the query
try to scroll the vertical scrollbar in sql editor
try to edit some text in the script, for example, remove a column or wirte an alias for a table, start typing join ...
select all the text: Ctrl + A, then cut it: Ctrl + X

Consider the possible solution:
I didn't see the code, but I feel the syntax parser routine should work in a separate thread (asynchronously) so that it doesn't block the main UI thread (if possible).
Perhaps it would let to avoid these freezes no matter how long it would take to parse the syntax.

I didn't see the code, but I feel the syntax parser routine should work in a separate thread (asynchronously) so that it doesn't block the main UI thread (if possible).

Yes, it works in the background job.

Thank you for providing the cases.

@E1izabeth  I would suggest adding tag Performance for the issue.
I would suggest adding additional logging to codebase to measure performance of background query parsing tasks (the number of milliseconds and its frequency).
I would suggest to test this case on heavy queries (for example, many joins in one query or long cte) or long scripts with many separate queries and with many problem markers.


Switch to jest for unit tests

Jest has support for JSDOM/browser environments which would help in a few places. It also has built in promise support and generally seems like a more maintained library.

Also investigate vitest while we're at it.


Correctly get binary name in android run_binary_test

I tried to change the quoting here...and failed

I tried to change the quoting here...and failed


Track algorithm/model used to correct a label

The manual_correction.py currently generates the following JSON sidecars using code here:
{
    "GeneratedBy": [
        {
            "Author": "Jan Valosek",
            "Date": "2024-01-18 10:42:24"
        }
    ]
}

But, in many cases, we do not create labels completely from scratch. Instead, we correct labels obtained using some method (sct_deepseg_sc, custom models, etc.). Thus, it would be a good idea to store the info about the method in the JSON sidacars, for example:
{
    "GeneratedBy": [
        {
            "Name": "SCISeg nnUNet3D",
            "Version": "Dataset183_tSCI3SitesALPhase2Seed710",
            "Date": "2024-01-16"
        },
        {
            "Author": "Jan Valosek",
            "Note": "Manually corrected",
            "Date": "2024-01-18 10:42:24"
        }
    ]
}

In the future, SCT functions will generate JSON sidecars tracking such info, see this PR: https://github.com/spinalcordtoolbox/spinalcordtoolbox/issues/3394. Until then, and also for future models in development before integration to SCT, we could add an input arg to the manual_correction.py, allowing us to provide specific information to include in JSON sidecars.
Relevant comments: https://github.com/spinalcordtoolbox/manual-correction/issues/34, https://github.com/ivadomed/canproco/issues/73
Our intranet convention: https://intranet.neuro.polymtl.ca/data/dataset-curation.html#json-sidecars

Custom metadata can now be provided using -json-metadata flag; see https://github.com/spinalcordtoolbox/manual-correction/pull/80.


Show "implementations" code lens for TypeScript interface methods

The code lens feature shows both "references" and "implementations" for interfaces.
However, it only shows "references" for its methods.
It would be awesome if next to method "references" there was also "implementations".

This would be very useful for interfaces that have many methods and many references.

Hi @hediet ,
I have asked the exact same feature to the C# extension (https://github.com/OmniSharp/omnisharp-vscode/issues/4826) a couple of weeks ago.
In the meantime I decided to play with the APIs and ended up realizing that a single extension could probably work for any language, with a few tweaks. At least my proof-of-concept extension already supports TypeScript, C# and a few others 😬 .
In the end, I think those References and Implementations CodeLens should be a basic VS Code feature (just like Go to Symbol/Outline is), instead of provided by each language extension. I mean, the language extension already provides the data, so VS Code could simply read it and translate.
Thank you

This is how we originally implemented the feature. However it adds a lot of noise so I changed the lens to only show on the parent type

@mjbvz is there a setting for this? I think that being able to directly jump to implementations by just using the mouse is very useful.

I think about the missing implementations code-lens almost every other day.
Can I convince you to reconsider adding a setting to show the implementations code-lens for interface methods/abstract methods?

@hediet Yes as long as it's behind a setting


Convert template to babel 6

Tested this on node v4 only. nvm wasn't installing :/ and I'm not real familiar how babel handles multiple node versions. Since the object.assign plugin was used, I went ahead and added a test for it

since test pass on Circle, i guess this is good on node v 0.10

Circle does not test template. Actually we need to make it testable too! Like do a fresh install and try to generate template.
I'll have a look how it works later and merge if all's good.

Ah. Good point. I did run tests in a generated project in node 4. would definitely appreciate you looking it over

awww snap, I forgot the key from my laptop at work and will be able to look only tomorrow =(

Looks good, works fine for me, thank you!


import failed

Python v-3.11.1, Windows 11 latest
Code:
import logging
import pyetw as etw
logging.basicConfig(level=logging.DEBUG, handlers=(etw.LoggerHandler(),))
logging.info("Hello from PyEtw!")
Run:
File "C:...\pyetw\pyetw.py", line 158, in EventProvider
_EventRegister = _etw_function(
TypeError: 'staticmethod' object is not callable

Thanks for the report! Seems like I snuck in a Python 3.10+ construct during the last refactoring. Just pushed a fix, you can install it via pip install --upgrade pyetw.


Generalizing wings min and max stall

The code was correct only if the minimum stall of the surfaces occur in negative attack angles.

A long time ago, in a galaxy far, far away...
Brunao, sorry for the delay hehe
I'm taking the time now to review ADR and improve it's codebase.
Your changes are all good. Could you just rebase your pull-request with respect to the last updates on master? If you need help with this just make me know.


Add GitHub Actions usdchecker PR validation workflow

Convenience feature - see discussion in Slack.
You can see it in action here: https://github.com/pablode/usd-wg-assets/pull/3

This is awesome, thanks Pablo!


Requesting Support For Go90.com

Here are my example URLs.
https://www.go90.com/profiles/va_07d47f43a7b04eb5b693252f2bd1086b
https://www.go90.com/profiles/va_506ad122d74647a58282a05aa9d91283
https://www.go90.com/profiles/va_0b3c19a514954b8c8d1ec7c7b62a9e02

Thanks for the labels.  Will the geo-restriction make it harder or impossible to add support?

New example from #10215: https://www.go90.com/profiles/va_0a41e9fb10434ab4a483fc2c60e07885. It's still geo-restricted, though.
@goldensun87 Yes. It's still possible but harder.

Hopefully the following will help the development of an extractor for Go90.
Download Videos from Go90.com
INFO
Go90 seems to use HTTP Live Streaming (aka Apple HLS).
How to download manually
First we need to go to a video page.  We'll use this link for our example.
Open the Network inspector in your browser. (You may have to refresh the page to get this to work)
Find the first file with a .m3u8 extension that the browser downloads.  This file will contain links to all the possible video resolutions that are available as additional .m3u8 files.
From the previous .m3u8 file, download the .m3u8 file that contains the resolution that you want.  This file will contain links to small chunks of the video we are trying to download (and potentially a few Ads).
Now that we have the .m3u8 file we want, we still have to download all the small video chunks and merge them together.  Luckily ffmpeg can do all that for us, but first we must remove the Ad segments from the .m3u8 file.
Open the .m3u8 file in a text editor and find a line that looks simular to #UPLYNK-SEGMENT: 9251bafa4a21407098d35f73f835afb6,00000000,ad (the 'numbers' will differ but note that it ends with ,ad).  Delete that line and every line following it until you get to another line that starts with #UPLYNK-SEGMENT:.  Repeat that for all Ad segments you find.
Now that we have an Ad free .m3u8 file we can have ffmpeg download and merge together all the video chunks.
ffmpeg -i hls-stream-noads.m3u8 -c copy temp-video.ts

Not all video players can open .ts media containers, so we'll want to move the audio and video into a more universal container like .mp4.
ffmpeg -i temp-video.ts -c copy -bsf:a aac_adtstoasc output-video.mp4

We now have a video downloaded from Go90.

Is the already an extractor that supports  HTTP Live Streaming (HLS) that can be used as a starting point or reference?

@triple-j There's a function self._extract_m3u8_formats for handling m3u8 manifests.

@triple-j How exactly do I download the .m3u8 file I want?

@goldensun87 since you have Downloadhelper, use it to copy the URL of the .m3u8 file you want.
On the video's page open Downloadhelper.  Hover over the video with the resolution you want, click the arrow icon on the right, and select Copy URL.  Then give the URL to a general file downloading program like cURL.
curl -o hls-stream-withads.m3u8 "https://content-ause2.uplynk.com/fe8b89255702489583abadecd8148ff7/g.m3u8?pbs=cb5a5cc9f74942628332a9083396ff63"

Then follow the rest of my instructions above to remove the Ads and download the video.

Thanks @yan12125, I started looking into youtube-dl's code yesterday and it looks to be easier to implement extractors than I thought.
I started a fork to implement an extractor for Go90.  I was able to hack one together to be able to download videos.  The problem I've run into is that the .m3u8 file contains Ads at different resolutions than the main video and hlsnative downloads and merges both into the final video file.
Go90 is using upLynk to distribute their files, and upLynk seems to add additional data to differentiate the Ad segment from the main video (#UPLYNK-SEGMENT:).  I know I can strip out the Ad segments if I can intercept the .m3u8 file before it gets to hlsnative.  Are there any suggestions on how I should do that?  Where does youtube-dl select/call the downloader from?

To remove ads, you can download the m3u8 manifest in the extractor, change its content and pass it to the downloader via encode_data_uri(). A similar use case can be found in youtube_dl/extractor/leeco.py.

Where does youtube-dl select/call the downloader from?

By get_suitable_downloader().

did you try to remove the query string, i checked ulynk manifest in abc7news https://github.com/rg3/youtube-dl/issues/9551#issuecomment-220693392.

So, I could not get curl to work.  But, thanks to Downloadhelper, I tried getting youtube-dl to download the m3u8 link.  Since I'm still using v2016.08.06, I was surprised that the stream actually downloaded.  However, I encountered the same problem that @triple-j did.  The ad and the main video got merged into one video, and they are at different resolutions.  Is there any way to get youtube-dl to skip the ad?

Thanks @yan12125, that information is extremely helpful.  I now have a good idea where to go from here.
@remitamine, I did some preliminary manual testing without the query string.  Opening the file in a test editor, it does look like the Ads are removed however both mplayer and ffmpeg error out saying that the .m3u8 file is invalid.  I don't think youtube-dl's hlsnative is as picky, so this may still work.  More testing is required.
@goldensun87, I'm working on removing the Ads.  In the meantime, see if youtube-dl will download the video if you remove the query string (everything after ?) from the m3u8 link, and let us know if the Ads are still there.

@triple-j youtube-dl is not able to download the video with the query string removed.  More specifically, it seems ffmpeg errors out without the query string.
[https @<PHONE_NUMBER>5d8820] HTTP error 404 Not Found
Unable to open key file https://contentausc2.uplynk.com/check2b=fe8b89255702489583abadecd8148ff7&v=fe8b89255702489583abadecd8148ff7&r=g
[hls,applehttp @<PHONE_NUMBER>4d7fe0] Error when loading first segment 'https://stg-ec-norcal-u.uplynk.
com/slices/fe8/98ac1613c7624a8387596b5d5e441064/fe8b89255702489583abadecd8148ff7/G00000000.ts?x=0&si=0'
https://content-ausc2.uplynk.com/fe8b89255702489583abadecd8148ff7/g.m3u8: Invalid data found when processing input

ERROR: ffmpeg exited with code 1

i can confirm that the AES-128 keys can't be obtained without the pbs in the query.
so there is another way to get a manifest without ads by downloading the manifest without the query and then add the pbs to all urls in the manifest.

i have added an extractor for uplynk, it will simplify adding support for sites that uses uplynk with pbs param(i found a simular case in viceland).
note that downloading will work only using hls_native downloader with pycrypto.

note that downloading will work only using hls_native downloader with pycrypto.

I download an example video with youtube-dl -v test:uplynk. It uses ffmpeg, and the result file seems OK. Is there something wrong with ffmpeg?

it's about:
support for sites that uses uplynk with pbs param

the pbs param should be added to the keys urls to be able to get it's content.

OK I see.

When are you gonna make it work?

I was looking at the Go90 website today, and it appears they are now using MPEG-DASH rather than HLS.

Yeah, the Go90 website got a major upgrade in the past months.  1080p video is now available, the true video urls are no longer on uplynk, which was a Verizon based server, and videos are no longer broken into multiple fragments and played using a playlist file.  Since general Vevo support got broken, I got the idea to look into the source code of videos, in order to find the playlist url.  I am going to look into the source code of a Go90 video, and look for the downloadable video links there.

Hello, I am using 5.18.2018 version and can't download https://www.go90.com/videos/1PRVCVNCJPK.
However, I managed to download some other clips. Not sure what's the latest holdup. Thx


unit test: this PR diff (https://github.com/Ubugeeei/Glasper/pull/100)

https://github.com/Ubugeeei/Glasper/pull/100


api.download_sales_and_trends_reports() sends error when specifying reportType

When making a 'api.download_sales_and_trends_reports' call with reportType set to 'SUBSCRIPTION'. apple store connect replies with 'APIError: Please include the version parameter. The latest version for this report is 1_2.'

Thanks for reporting this issue!
I'll have a look and fix it as soon as possible.

@foundmason I had a look at this issue.
As an immediate workaround you can manually set this required version parameter in your call:
api.download_sales_and_trends_reports( filters={
'vendorNumber': '123456789',
'reportDate': '2020-01-01',
'reportType': 'SUBSCRIPTION',
'version': '1_2'
}, save_to='report.csv')

I'll try to automatically add it in a future release though.

Thanks. It worked. I wonder if calling different versions will be useful in the future... for now it seems to just break. I will eagerly await the future release :).
Cheers~

Fixed by https://github.com/Ponytech/appstoreconnectapi/commit/b73d4314e2a9f9098f3287f57fff687563e70b28

@ppawlak any chance you will update these changes on pypi anytime soon?

@GClunies I am planning to release a new version when I'll fix #20 (and maybe #21 as well). I hope to do this soon now, I was on vacation in July.

@ppawlak any chance you will update these changes on pypi anytime soon?

I just did, it is in version 0.8.1
Sorry for the long delay.


Fix typo

Reference Issues/PRs
N/A
What does this implement/fix? Explain your changes.
Fix typo in documentation (see https://princeton-nlp.github.io/SWE-agent/)

thanks!


Compare graphs

It would be amazing if we could have multiple addresses graphed as different colors. Just a suggestion. :)

Good idea, I'll keep this in mind.


ResourceImporterWAV: Use dr_wav to read file data

Replaces the entire WAV file data read code in favor of dr_wav.
Everything previously supported should remain supported (including reading loop data), plus extra encoding formats like A-law, U-law, MS ADPCM and IMA ADPCM (although, of course, any loss will be retained and passed to the compress modes, but at least a few WAV files won't be rejected anymore).
AIFF support
As a side effect, the importer was also enabled to read AIFF files. The importer was renamed to reflect that.
The importer should recognize wav, wave, aif and aiff file extensions.

Added a check to detect if the container is RF64 or W64.
Even if they could be imported in theory, this is the best non-compatibility breaking way to deny getting a stream that is too big for AudioStreamPlaybackWAV. And it's not like anyone would export to those formats with a .wav extension.

Modified the check again, this time it actually checks the amount of samples (maximum of<PHONE_NUMBER>).
Normally, the importer uses an int to store the total amount of samples, therefore using a limit shouldn't actually break compatibility (in fact, probably fixes a potential overflow on import).

Does the dr mp4 problem affect dr_wav? Not sure of the exact problem.

Does the dr mp4 problem affect dr_wav? Not sure of the exact problem.

The problem with dr_mp3 is that it doesn't read a VBR header that informs an amount of samples to skip at the start.
Doesn't apply to WAV.

Added .aifc extension to the list as it's supported too.

Updated ResourceImporterWAV documentation to point out it also supports AIFF.

Rebased.
I took the opportunity to redo how the data is read. dr_wav offers 3 ways: From a file through stdio, from memory and from custom read/seek functions.
Before the last push, it was loading the entire file data into the memory, then reading from memory, which resulted into a massive increase in memory usage during import if the file was too large.
Now it uses custom functions (lambdas) that tell FileAccess to react accordingly, effectively being an integration between FileAccess and dr_wav.
I don't know if I violated any Godot style guideline, so I'd like to ask for another review.

PR and commit reworded to give emphasis to its intention.

Addressing changes from #93831, which moved most of the WAV loading code from ResourceImporterWAV to AudioStreamWAV.
AudioStreamWAV documentation updated to explain that the load functions also work with AIFF data.

For some reason, when the tests call save_to_wav with an empty data, a SIGSEGV happens.
This is odd since I didn't even touch that function.

Any probability of this being in 4.4?


⚠ AsianCinema has degraded performance

In 56d42d6, AsianCinema ($ACM) experienced degraded performance:

HTTP code: 200
Response time: 3304 ms

Resolved: AsianCinema performance has improved in 5535423.


Automatically switch US region to US_LR on 700/800 series sticks with FW 7.15+

There's usually no good reason to use the US region over the US_LR region.
We should automatically use the *LR regions instead when possible. Also add a driver option to opt out.

There is no serial API command to detect support for specific regions (yet), but apparently we can test whether the controller supports 16-bit node IDs to know if it supports US_LR.

Fixed in #6843


update: macaron cores,gzip,session

as title

Codecov Report

Merging #10522 into master will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #10522      +/-   ##
==========================================
- Coverage   43.69%   43.65%   -0.05%
==========================================
  Files         586      586
  Lines       81475    81475
==========================================
- Hits        35604    35569      -35
- Misses      41459    41491      +32
- Partials     4412     4415       +3

Impacted Files
Coverage Δ

services/pull/check.go
50% <0%> (-6.71%)
:arrow_down:

services/pull/temp_repo.go
29.05% <0%> (-5.13%)
:arrow_down:

modules/git/command.go
86.95% <0%> (-2.61%)
:arrow_down:

services/pull/patch.go
60.37% <0%> (-2.52%)
:arrow_down:

models/unit.go
37.03% <0%> (-2.47%)
:arrow_down:

modules/queue/workerpool.go
56.93% <0%> (-2.14%)
:arrow_down:

services/pull/pull.go
35.19% <0%> (-0.88%)
:arrow_down:

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 e57ac84...fc1f0f5. Read the comment docs.


Make the Assistants in the Assistant Gallery clickable (it would insert the @mention in the field) on welcome page.

Need to wizz the input bar first cc @Duncid


(fix) enable searching of business glossary

Checklist

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[x] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable)

#2789


Open the Trainer

How can i open the Trainer if i open : BotwTrainer.application is it not working.

https://github.com/joffnerd/botw-trainer/releases


fix:  fix that GROUPS is a reserved keyword introduced in MySQL 8.0

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: anyidea:x: aidenluaidenlu seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


the bot is not using blocks to reach the player

This is my code:
const mineflayer = require("mineflayer");
const {pathfinder, Movements, goals} = require('mineflayer-pathfinder');
const GoalFollow = goals.GoalFollow;
 const bot = mineflayer.createBot({
    host: 'localhost',
    port: 50542,
    username: "GOD_BOT"

});
bot.loadPlugin(pathfinder)
function lootAtNearestPlayer(){
    const playerFilter = (entity)=> entity.type === 'player'
    const playerEntity = bot.nearestEntity(playerFilter);

    if(!playerEntity) return
    const pos = playerEntity.position.offset(0, playerEntity.height, 0);
    bot.lookAt(pos)
}
bot.on('physicTick',lootAtNearestPlayer);

function followPlayer(){
    const playerCI = bot.players['Avacadox21']

    if (!playerCI || !playerCI.entity) {
        bot.chat("Where are you my prey")
        return
    }

    const mcData = require('minecraft-data')(bot.version)
    const movements = new Movements(bot, mcData)

    bot.pathfinder.setMovements(movements)

    const goal = new GoalFollow(playerCI.entity, 1)
    bot.pathfinder.setGoal(goal, true)
}
bot.once('spawn', followPlayer)

##PLS HELP

You need to add the blocks to .movements.scafoldingBlocks iirc

Default scafolding blocks are dirt and cobblestone

How do you add blocks to .movements.scafoldingBlocks on replit?

How do you add blocks to .movements.scafoldingBlocks on replit?

Look at the movements.js example


make grpc_objective_c_plugin - blows up xcode 8.1

Followed these instructions
https://github.com/grpc/grpc/tree/master/src/objective-c
I installed the command line tools
any ideas?
make grpc_objective_c_plugin
[HOSTCXX] Compiling src/compiler/cpp_generator.cc
In file included from src/compiler/cpp_generator.cc:36:
In file included from ./src/compiler/cpp_generator.h:44:
In file included from ./src/compiler/config.h:37:
In file included from include/grpc++/impl/codegen/config_protobuf.h:47:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/message.h:118:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/arena.h:54:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomic_sequence_num.h:33:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomicops.h:199:
/usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomicops_internals_macosx.h:47:9: error: 'OSAtomicCompareAndSwap32' is
deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from
instead [-Werror,-Wdeprecated-declarations]
if (OSAtomicCompareAndSwap32(old_value, new_value,
^
/usr/include/libkern/OSAtomicDeprecated.h:502:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here
bool    OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue );
^
In file included from src/compiler/cpp_generator.cc:36:
In file included from ./src/compiler/cpp_generator.h:44:
In file included from ./src/compiler/config.h:37:
In file included from include/grpc++/impl/codegen/config_protobuf.h:47:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/message.h:118:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/arena.h:54:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomic_sequence_num.h:33:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomicops.h:199:
/usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomicops_internals_macosx.h:61:13: error: 'OSAtomicCompareAndSwap32' is
deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from
instead [-Werror,-Wdeprecated-declarations]
} while (!OSAtomicCompareAndSwap32(old_value, new_value,
^
/usr/include/libkern/OSAtomicDeprecated.h:502:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here
bool    OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t __theValue );
^
In file included from src/compiler/cpp_generator.cc:36:
In file included from ./src/compiler/cpp_generator.h:44:
In file included from ./src/compiler/config.h:37:
In file included from include/grpc++/impl/codegen/config_protobuf.h:47:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/message.h:118:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/arena.h:54:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomic_sequence_num.h:33:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomicops.h:199:
/usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomicops_internals_macosx.h:68:10: error: 'OSAtomicAdd32' is deprecated:
first deprecated in macOS 10.12 - Use std::atomic_fetch_add_explicit(std::memory_order_relaxed) from  instead
[-Werror,-Wdeprecated-declarations]
return OSAtomicAdd32(increment, const_cast<Atomic32>(ptr));
^
/usr/include/libkern/OSAtomicDeprecated.h:146:9: note: 'OSAtomicAdd32' has been explicitly marked deprecated here
int32_t OSAtomicAdd32( int32_t __theAmount, volatile int32_t __theValue );
^
In file included from src/compiler/cpp_generator.cc:36:
In file included from ./src/compiler/cpp_generator.h:44:
In file included from ./src/compiler/config.h:37:
In file included from include/grpc++/impl/codegen/config_protobuf.h:47:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/message.h:118:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/arena.h:54:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomic_sequence_num.h:33:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomicops.h:199:
/usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomicops_internals_macosx.h:73:10: error: 'OSAtomicAdd32Barrier' is
deprecated: first deprecated in macOS 10.12 - Use std::atomic_fetch_add() from  instead [-Werror,-Wdeprecated-declarations]
return OSAtomicAdd32Barrier(increment, const_cast<Atomic32>(ptr));
^
/usr/include/libkern/OSAtomicDeprecated.h:161:9: note: 'OSAtomicAdd32Barrier' has been explicitly marked deprecated here
int32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t *__theValue );
^
In file included from src/compiler/cpp_generator.cc:36:
In file included from ./src/compiler/cpp_generator.h:44:
In file included from ./src/compiler/config.h:37:
In file included from include/grpc++/impl/codegen/config_protobuf.h:47:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/message.h:118:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/arena.h:54:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomic_sequence_num.h:33:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomicops.h:199:
/usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomicops_internals_macosx.h:77:3: error: 'OSMemoryBarrier' is deprecated:
first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from  instead [-Werror,-Wdeprecated-declarations]
OSMemoryBarrier();
^
/usr/include/libkern/OSAtomicDeprecated.h:749:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
void    OSMemoryBarrier( void );
^
In file included from src/compiler/cpp_generator.cc:36:
In file included from ./src/compiler/cpp_generator.h:44:
In file included from ./src/compiler/config.h:37:
In file included from include/grpc++/impl/codegen/config_protobuf.h:47:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/message.h:118:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/arena.h:54:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomic_sequence_num.h:33:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomicops.h:199:
/usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomicops_internals_macosx.h:85:9: error: 'OSAtomicCompareAndSwap32Barrier'
is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from  instead
[-Werror,-Wdeprecated-declarations]
if (OSAtomicCompareAndSwap32Barrier(old_value, new_value,
^
/usr/include/libkern/OSAtomicDeprecated.h:518:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here
bool    OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t __theValue );
^
In file included from src/compiler/cpp_generator.cc:36:
In file included from ./src/compiler/cpp_generator.h:44:
In file included from ./src/compiler/config.h:37:
In file included from include/grpc++/impl/codegen/config_protobuf.h:47:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/message.h:118:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/arena.h:54:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomic_sequence_num.h:33:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomicops.h:199:
/usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomicops_internals_macosx.h:138:9: error: 'OSAtomicCompareAndSwap64' is
deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from
instead [-Werror,-Wdeprecated-declarations]
if (OSAtomicCompareAndSwap64(old_value, new_value,
^
/usr/include/libkern/OSAtomicDeprecated.h:628:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here
bool    OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue,
^
In file included from src/compiler/cpp_generator.cc:36:
In file included from ./src/compiler/cpp_generator.h:44:
In file included from ./src/compiler/config.h:37:
In file included from include/grpc++/impl/codegen/config_protobuf.h:47:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/message.h:118:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/arena.h:54:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomic_sequence_num.h:33:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomicops.h:199:
/usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomicops_internals_macosx.h:152:13: error: 'OSAtomicCompareAndSwap64' is
deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from
instead [-Werror,-Wdeprecated-declarations]
} while (!OSAtomicCompareAndSwap64(old_value, new_value,
^
/usr/include/libkern/OSAtomicDeprecated.h:628:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here
bool    OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue,
^
In file included from src/compiler/cpp_generator.cc:36:
In file included from ./src/compiler/cpp_generator.h:44:
In file included from ./src/compiler/config.h:37:
In file included from include/grpc++/impl/codegen/config_protobuf.h:47:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/message.h:118:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/arena.h:54:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomic_sequence_num.h:33:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomicops.h:199:
/usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomicops_internals_macosx.h:159:10: error: 'OSAtomicAdd64' is deprecated:
first deprecated in macOS 10.12 - Use std::atomic_fetch_add_explicit(std::memory_order_relaxed) from  instead
[-Werror,-Wdeprecated-declarations]
return OSAtomicAdd64(increment, reinterpret_cast<volatile int64_t>(ptr));
^
/usr/include/libkern/OSAtomicDeprecated.h:231:9: note: 'OSAtomicAdd64' has been explicitly marked deprecated here
int64_t OSAtomicAdd64( int64_t __theAmount,
^
In file included from src/compiler/cpp_generator.cc:36:
In file included from ./src/compiler/cpp_generator.h:44:
In file included from ./src/compiler/config.h:37:
In file included from include/grpc++/impl/codegen/config_protobuf.h:47:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/message.h:118:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/arena.h:54:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomic_sequence_num.h:33:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomicops.h:199:
/usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomicops_internals_macosx.h:164:10: error: 'OSAtomicAdd64Barrier' is
deprecated: first deprecated in macOS 10.12 - Use std::atomic_fetch_add() from  instead [-Werror,-Wdeprecated-declarations]
return OSAtomicAdd64Barrier(increment,
^
/usr/include/libkern/OSAtomicDeprecated.h:247:9: note: 'OSAtomicAdd64Barrier' has been explicitly marked deprecated here
int64_t OSAtomicAdd64Barrier( int64_t __theAmount,
^
In file included from src/compiler/cpp_generator.cc:36:
In file included from ./src/compiler/cpp_generator.h:44:
In file included from ./src/compiler/config.h:37:
In file included from include/grpc++/impl/codegen/config_protobuf.h:47:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/message.h:118:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/arena.h:54:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomic_sequence_num.h:33:
In file included from /usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomicops.h:199:
/usr/local/Cellar/google-protobuf/3.0.2/include/google/protobuf/stubs/atomicops_internals_macosx.h:173:9: error: 'OSAtomicCompareAndSwap64Barrier'
is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from  instead
[-Werror,-Wdeprecated-declarations]
if (OSAtomicCompareAndSwap64Barrier(
^
/usr/include/libkern/OSAtomicDeprecated.h:645:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here
bool    OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue,
^
11 errors generated.
make: *** [/Users/johndpope/Documents/gitWorkspace/grpc/objs/opt/src/compiler/cpp_generator.o] Error 1

actually - didn't need this to work. Just used this
curl -fsSL https://goo.gl/getgrpc | bash -s -- --with-plugins
can find by
which grpc_objective_c_plugin


[BUG] Reinstalling bloxstrap after changing user file

Acknowledgement of preliminary instructions

[x] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
Recently I changed my user file name because my old one was from the compony I bought the pc from and It felt weird to have it that, whenever I try reinstalling bloxstrap it gives me a window saying System.UnauthorizedAccessException: Access to the path 'C:\Users\Username\AppData\Local\Bloxstrap\Logs' is denied.
If i were to run it in administrator it would create a file in users of the older user and even after that it would still give the same message. I'm unsure what to do please help. I understand this is a known issues but doing the things it says in the forum doesn't work.

Open the registry editor, go to HKEY_CURRENT_USER\SOFTWARE\Bloxstrap, and update the 'InstallLocation' property to point to the correct path.

thank you


Question on Quantization file size

Hey Team, First of all thank you for all your wonderful work on quantizing models for the community.
I have some questions on quantization using sparseml and sparsezoo. I have been trying to perform Sparse Transfer Learning With a Custom Dataset mainly using yolov8s model as below
!sparseml.ultralytics.train \
  --model "zoo:cv/detection/yolov8-s/pytorch/ultralytics/coco/pruned65-none" \
  --recipe "zoo:cv/detection/yolov8-s/pytorch/ultralytics/voc/pruned65_quant-none" \
  --data /content/datasets/Sphero-Robot-detection-8/data.yaml \
  --recipe_args '{"num_epochs":15, "qat_start_epoch": 10, "observer_freeze_epoch": 12, "bn_freeze_epoch": 12}' \
  --batch 8

My main question is that usual .pt files of yolov8s models before and after training are of the size in range of 20-30 MB, but when using the above recipe, the model that is getting downloaded are of the size in the range of 120 - 130 MB, I was under the impression that models being quantized and pruned, should usually of smaller sizes in the range of 6-8 MB as shown in Zoo.
Am I doing something wrong or is this usual?
Thanking you in advance,
Raju

Greetings @rajuptvs
Because this is a duplicate issue of another one you posted in our sparseml repo, I am going to go ahead and close this one out. We have provided a response to that issue here: https://github.com/neuralmagic/sparseml/issues/1854#issuecomment-1832682153
Thank you for your inquiry!
Jeannie / Neural Magic


feat: set diagnostic setting enabled log categories

added diagnostic setting to enable log categories in KeyVault.
Included AuditEvents as the only category since it is the only one that has no cost to export
Ref.
https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/resource-logs-categories#microsoftkeyvaultvaults

test passed 👍🏽

Tests pass 🎉

@kov117 See title change 😉


Field Order / Headers from the Serializer

Is it possible to get the the serializer that is the CSVRenderer is rendering to use its fields attribute to specify the header ordering?
I'm trying to figure out if I can do that to define the ordering in a single place?

It might also be something to specify the field order in the query parameters.  (Along the same lines, it could even be great to specify a subset of the available field if an csv user only needs a few fields.)

For me it seems weird that you want alphabetically ordered fields, but it's fair if some people want that - but why not make it based on the serializer as the rest of DRF does? so if you want them alphabetical order, then you simply order them alphabetically in the serializer.
It's really difficult to change the fields in the viewset currently. Currently i am doing:
def get_renderer_context(self):
context = super().get_renderer_context()
# force the order from the serializer.
context['header'] = self.serializer_class.Meta.fields
return context
But that is really hacky (and seems weird that i have to force it to do the 'default'. Also this was problematic (the code above) when i went to change fields dynamically in the serializer making the seperation of responsibilities really difficult.

@C0DK thanks for the solution, but this seems to fail with nested serializers. The field defined as a nested serializer fails to serialize and the output is a blank.


v4l2 output bad when I adjust scrcpy by using -m

It is normal when I use scrcpy without any change as example .
[server] INFO: Device: LGE LM-G820 (Android 10)
INFO: Renderer: opengl
INFO: OpenGL version: 4.6.0 NVIDIA 460.91.03
INFO: Trilinear filtering enabled
INFO: Initial texture: 1440x3120
but I want to adjust to get a fluent capture.
using
scrcpy  -m 1560 --v4l2-sink=/dev/video2

when I use ffplay -i /dev/video2 to show It reports error like this
[video4linux2,v4l2 @ 0x7f3ca0000bc0] Dequeued v4l2 buffer contains 2557440 bytes, but 6739200 were expected. Flags: 0x00000001.
and it display like this
I want to know how can I adjust it to make it display normal.
Thank you!

The v4l2 buffer size is defined on the first use, until all producer and consumers close the connection.
So if you started a v4l2 stream at 1440×3120, then it's the size for the whole "session".
To start a new session, close all your ffplay and scrcpy, then start a new scrcpy -m 1560 --v4l2-sink=/dev/video2, then start a new ffplay -i /dev/video2.
If this is not sufficient (it would be surprising), you could sudo rmmod v4l2loopback then restart from scratch, directly with the correct -m size.

OK!Thank you very mush ！


Nightly/test builds

This configuration will:

tag all releases made with make converge with the correct version metadata
do the same, but for CI
upload those releases to S3 when built on master (I've already added the pipeline steps in Wercker)

Feel free to LGTM but please do not merge yet. Since the bucket is still being created, it will fail.

This is now unblocked.


Workshop Data Entry and QA - ACTIVITY 1

[x] Field work individual sheets

[x] MDA individual sheets

[x] Replace names with numbers on individual sheets

[ ] Group Sheet Field Work

[ ] Group Sheet MDA

[ ] Collate individual sheets onto group sheet - FW

[ ] Collate individual sheets onto group sheet - MDA

a. Assign phases if not already assigned
b. Check self-assigned phases
c. Mark similar decision-steps with ID
d. Combine into single step using desired choice of language
e. Amend phase if necessary
f. Add phase if missing

[x] Add author key to output component on OSF

When collating Group Sheet data onto Individual sheets, use the following columns:

group_sheet_phase phase on which the corresponding item appears on the group sheet.

phrasing on the groupsheet Some items might be phrased differently or ammended on the groupsheet, write that description in this column.

group_sheet_similar If an item has been marked as similar to another, write the raw sheet_step_number down here.

[ ] Don't forget to replace initials with numbers from author_key.csv on OSF

Group sheet entry QA:

[ ] Replace initials with numbers
[ ] For items without corresponding individual items, see if can match to an individual and fill out the first few columns of the datasheet.
[ ] NA's for no group sheet entry
[ ] for no individual entry, assign to individuals, and blank out the individual sheet ID number. Otherwise replace first few colummns with NA

Next: Modelling and Data analysis, and

[ ] Don't forget to add theme additions from notebook (highlighted) to respective notes pages


Automated whitelists

It may be best to include some sort of whitelist refactor with this that makes it so whitelists can be defined with more flexibility. The design I'm sharing in the example is a lot more flexible than it'd need to be to be useful, but would be very nice to have.

Servers can be configured to use:

Fully manual whitelist
Fully automated whitelist
Fully automated blacklist

In addition, hybrid whitelisting is possible, ideally with evaluation order determined by the server.

Hybrid whitelisting example
Server defines:

Manual blacklist (mBlacklist)
Manual whitelist (priorityWhitelist)
Automatic blacklist (aBlacklist)
Manual whitelist (legacyWhitelist)
Automatic whitelist (aWhitelist)
Server state whitelist (sWhitelist)
Blacklist All (blacklistAll)

The whitelist status will be evaluated in order, where the first matching rule applies. First the server will check if the player is on mBlacklist, then priorityWhitelist, then check for the criteria in aBlacklist, and so on. This specific setup allows the following:

mBlacklist is used to effectively ban people from the whitelisted server.
priorityWhitelist is used to whitelist players who you don't want to be automatically blacklisted. I'm not sure why you'd want this, but it's good for the example.
aBlacklist defines player criteria to match to blacklist. For example: 1 or more medium severity notes in the last 2 weeks.
legacyWhitelist is the manual whitelist previously used by the server, which they'd like to retain.
aWhitelist defines player criteria to match to whitelist. For example: 30 or more hours overall playtime.
sWhitelist defines server criteria to match to whitelist. For example: 20 or less players currently connected.
blacklistAll rejects everyone. This is to catch people who don't match an earlier rule

An example of what wizden would probably use:

Manual blacklist (mrpBanlist)
Automatic blacklist (highSeverityNoteBlacklist: 1 or more high severity notes in the last 30 days)
Automatic blacklist (mediumSeverityNoteBlacklist: 1 or more medium severity notes in the last 14 days)
Automatic blacklist (lowSeverityNoteBlacklist: 3 or more low severity notes in the last 14 days)
Manual whitelist (legacyWhitelist)
Automatic whitelist (aWhitelist: 20 or more overall hours playtime)
Server state whitelist (sWhitelist: 15 or less players currently connected)
Blacklist all (blacklistAll)

This sort of hybrid whitelisting support would intrinsically support simple whitelists:

Manual whitelist (mWhitelist)
Blacklist all (blacklistAll)

Player criteria
Criteria usable by player based automatic whitelists/blacklists.

Playtime
X in period (filterable by severity, filterable by secret/hidden status) where X is a selectable combination of:

Bans (filterable by unbanned status)
Notes
Role bans (filterable by unbanned status)

Time since first connection

Server state criteria
Criteria usable by automatic whitelists/blacklists that depend on the state of the server rather than on player info.

Connected players

I am currently working on this issue.


allow passing an empty docs [] to from_documents

passing an empty list as docs was failing for some embedders:
embeddings2 = CohereEmbeddings(
    model="embed-english-v3.0",
)
weaviate_client = weaviate.connect_to_local()
db = WeaviateVectorStore.from_documents([], embeddings2, client=weaviate_client)

this will prevent embedding empty texts.
it was raising this error:

File "/Users/I747411/ai/venv/lib/python3.10/site-packages/sentence_transformers/SentenceTransformer.py", line 565, in encode
if all_embeddings[0].dtype == torch.bfloat16:
IndexError: list index out of range

Thanks for your contribution! What will happen now if a user passed an empty list? Seems odd to call from_documents and not provide any documents and not expect it to fail...😀
What's the use case for such a call?

Hi!
The idea is to have consistent behavior.
if you pass [] as docs parameter and the embedder is OpenAI, it will work: you'll get a instantiated vectorstore returned.
However, it was failing for Cohere (and probably other embedders).
If you have for example a pipeline and for some reason you don't have docs to pass, it shouldn't fail, but exit gracefully.
I have seen some users in our forums having issues on understanding how to instantiate a vectorstore without passing docs. Passing docs as [] was being used as a good enough solution or the next try instead of not passing docs at all.
With this PR, having docs or just [] will always return a instantiated vectorstore :)
Let me know if this makes sense.
Thanks!

if you pass [] as docs parameter and the embedder is OpenAI, it will work: you'll get a instantiated vectorstore returned.
However, it was failing for Cohere (and probably other embedders).

If it worked for OpenAI but fail for Cohere (and probably other embeddeders), it sounds like there's a bug in either the open ai embedder or the other embedders. @efriis what are your thoughts on this?

I have seen some users in our forums having issues on understanding how to instantiate a vectorstore without passing docs.

Users can call the [WeaviateVectorStore](https://github.com/langchain-ai/langchain-weaviate/blob/a76c606089bf464a30ecaa74dccfd738f0d09183/libs/weaviate/langchain_weaviate/vectorstores.py#L72-L73) class directly to instantiate a vector store without passing docs.
This is also discussed elsewhere in the langchain docs.
By the way, the link you shared directed to the main page of the forum. Would you happen to recall the questions about this issue? I'd like to understand the context more.

Oh... I am not sure where I got this from (pretty sure it was from a user code), but it seems I may be the one spreading this pattern around 😬
It goes back to here, where you and I even interacted at some point to help a user:
https://forum.weaviate.io/t/how-to-hide-the-client-v3-deprecation-warning/2165/11
I replicated this pattern also in one of our recipes:
https://github.com/weaviate/recipes/blob/main/integrations/llm-frameworks/langchain/loading-data/langchain-simple-pdf.ipynb
I will go around changing that code where I find so we keep to the expected pattern,
but I believe it should not break if you pass an empty list as docs.
Thanks!

Good catch - we can start testing embedding embed_documents to make sure they support [] in standard tests.
In the meantime, if this is a common pattern for weaviate (not sure this should be an encouraged pattern - why not instantiate WeaviateVectorStore() directly?) would recommend handling this case in from_documents

we can start testing embedding embed_documents to make sure they support [] in standard tests.

@efriis this means vector store implementors don't need to test for an empty list getting passed to from_documents, right?

if you want to support from_documents([]), you should test it
this will be a slow change because it doesn't really make sense to call embeddings.embed_documents([]). Just doing this for resilience.

Closing since we will tell users to instantiate the vector store directly if they don't want to pass a list of documents.


Move all the new project filters and columns behind the feature flag

Current dependencies on/for this PR:

main

PR #1879   👈

This stack of pull requests is managed by Graphite.


Controller is not callable

Hi,
I've installed this bundle but I have an error :
Controller "Ip\ReportBundle\Controller\ReportAdmin\ExcelController::excelAction" for URI "/admin/report/excel" is not callable

Can someone help me please ? I'm stuck.
Thanks a lot !

Hi !
Somebody to help ?
Maybe the creators of this bundle ?

Hi @rpostolov this bundle doesn't have any route!
I think you created a URL but not the controller :)

Hi @rpostolov, I think maybe you created the Controller and named the method "excelAction", as a convention when declaring the route that points to this action you don't need the "Action" word, your route should point only to "excel".
This is how routes in symphony work. Check this link Symfony Routing

Hi,
First of all, thank you for replies.
I installed this bundle and it created me an ExcelController in every bundle. Thats i think it's ok.
But the files 'ExcelControler.php' are empty. And i can't find what to do. Something is missing in that controler ?
I'm using it with admingenerator. In fact i have a backgroffice usigne admingenerator, and i have a button to export the list of my item in an excel
Can i have some exemples of what i have to do please ?
Thanks a lot :)

Ps : this issue is not close.

Ps : this issue is not close.

Yes the issue is close,
In this issues manager  we handle only issues related to ExcelBundle,
if you have problem with Symfony please ask in IRC symfony channel.

Come on, i just asked if ther is something to put in the Excelcontroller.php and if yes what to put.
And i don't know if it's symfony's error or your bundle because i don't know if the installation of Excelbundle is fully complete because you don't answer to my question...
So You want to close it, fine but why don't answer me ?
So please read again my post and if you don't mind answer me because this platform is for this no ?
Thanks again

Ok, tell me just if it's normall that my ExcelController.php, which is created in my bundle after installing, is empty ?
And if not what should it must contain ?
Thanks.

Hi @rpostolov is so great to read what you write,
I'm fond of this.
Read the docs in the lazy dev section is all about you:
https://github.com/liuggio/ExcelBundle#for-lazy-devs

Thank's, you are welcome @liuggio
It's a pleasure for us, users, to have people like you :)
Have a great day.

Ethical Fight!


Add support for explicit package name

PR to address #38.

Tests have now passed.

@jlstevens I'll shortly want to update your PR here with changes from master. How do you prefer I do that? (merge, rebase, something else?)

How do you prefer I do that? (merge, rebase, something else?)

I'm happy if you rebase.

@ceball Thanks for setting up the new test. It now seems to be passing, so are you happy for me to squash merge now?

I'm done now (unless the tests fail)

...although I realize now they're going to fail...at least because there'd need to be a new param release for one of the tests.

For the embed version tests, how did we do that before? Do I push a new tag and then update the default ref for all the embed_version functions?

Do I push a new tag and then update the default ref for all the embed_version functions?

That is the best thing to do till that new version of pip becomes common....

Ah, is this why when I currently ask autover for its version, I get 0.2.1.post... rather than 0.2.2.post... - because 0.2.2 is a tag on a commit that never made it to master?

Ok, now the tests have passed using tag 0.2.3 (a few commits ago on this branch) and param 1.6.1a0 (https://test.pypi.org/project/param/), I guess the next steps are to release param 1.6.1 (only difference from 1.6.0 is an updated autover) and then update this PR to use param 1.6.1 and then merge this PR to master and then tag autover 0.2.4...?

Sounds good.

Decided to get #41 in to 1.6.1 too (important for developers), so just waiting on that.

(Oh and I suppose for https://github.com/ioam/param/pull/225 to get officially rejected!)

The merge conflicts don't look too bad. I'll try resolving them using GitHub's tool now...

@jlstevens I'll shortly want to update your PR here with changes from master. How do you prefer I do that? (merge, rebase, something else?)

I'm happy if you rebase.

I've been rebasing+push forcing in pyviz as requested, but you yourself just merged :) I don't mind which way we do things in pyviz projects, but I do have a preference for consistency...is there a good reason not to do things consistently?

... is there a good reason not to do things consistently?

Very occasionally I use the GitHub merge tool with the conflicts are trivial to solve but never do merge commits from my local repo. I wouldn't use the github merge tool for anything complicated  and it has no difference on master as we squash merge the PR in the end anyway.
What is wrong with using whatever is easiest at the time?

I'm confused about what is the next step with this PR.
E.g. looking at this github PR view, I'm confused about what code's actually in this PR now. There seems to be code here now that shouldn't be here, and if it ends up in master, that will be an error. Maybe it won't be merged...not sure what github is tracking...
Is it obvious to you what will happen?

Actually here is the diff: https://github.com/ioam/autover/commit/bd4d648b40ee49d810ab24b4d4ac9d8c076dee86
As you can see, it is quite simple.

I'm confused - I'm not sure what your intended approach to getting this onto master is. Unless github tracks something I don't know about (which I would be happy to learn about if so...)?
Otherwise, my approach would now be to revert or drop the merge above and then rebase against master, then press the squash merge button. (After doing the thing I mention above about releasing param etc.)

Feel free to rebase or change this PR in whatever way makes sense to you.

How would you go forward from here normally?

I get the source of the confusion now...I didn't resolve the conflicts quite right.

One last test is failing. It seems to be related to this:

Thanks for sorting that out.
I don't immediately know why that test fails. It passes on master. I'll need to clone and run locally to investigate. But the test's error reporting is definitely not great!

That last failing test is a total mystery to me and seems to be passing on master. @ceball merge?

I can't reproduce that test failure locally. Weird.
So yes, I think we should merge.
As Jean-Luc pointed out to me, I can merge this PR, then update and release param, and then in a subsequent PR update autover's tests to use the new param.
I'll also first test version.py from param dev release with earthsim, which is where this whole thing originated...

@ceball It is now passing on master. I just want to add a note that we will need to tag and update the ref for the auto embed stuff...


declare the backup directory will be left

After the upgrade, the backup directory /etc/kubernetes/tmp will remain.
The ETCD backup could use several hundred MB to several GB of disk storage.
If we don't clean up the backups, the storage may become full after several upgrades.
Users may need to clean it up manually.
You can find more information about this issue here: https://github.com/kubernetes/kubernetes/issues/125357

/language en

page to be updated: https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/#recovering-from-a-failure-state

/retitle Add a note that after a cluster upgrade using kubeadm, backup files will need to be cleared manually.

/triage accepted

/help wanted

/help

The following pages mentioned, if do setting of [--cleanup-tmp-dir] flag, will cleanup the "/etc/kubernetes/tmp" directory.
Is it relevant to this issue?
https://kubernetes.io/docs/reference/setup-tools/kubeadm/generated/kubeadm_reset_phase_cleanup-node/#options
https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset/#options

i would like to work on it.
/assign

The following pages mentioned, if do setting of [--cleanup-tmp-dir] flag, will cleanup the "/etc/kubernetes/tmp" directory. Is it relevant to this issue?
https://kubernetes.io/docs/reference/setup-tools/kubeadm/generated/kubeadm_reset_phase_cleanup-node/#options https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset/#options

reset does clean it, but upgrade is another place to mention it.

page to be updated: https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/#recovering-from-a-failure-state

just put a note here.

@tamilselvan1102 please include fixes #46766 in the PR description to close this issue.

Raised PR, Please review it.

/sig cluster-lifecycle


Input can't be accessed through ref

react-native, react and native-base version
RN 42 & NB 2.0.11
Expected behaviour
Input should accept ref as a prop but it wont.
we need input ref to focus next input on onSubmitEditing event.
https://facebook.github.io/react-native/docs/textinput.html -> BlurOnSubmitExample

The docs here have explained how to use refs. Also please upgrade to v2.0.12 and check.

I also cannot get refs to work on <Input /> components. I'm using 2.0.12.
In this version the ref function is never called:
<Input ref={input => console.log("HUH?", input) } />

And in this version this.refs never gets populated with a ref to the input
<Input ref="something" />

However if I change the Input to a Label then it works fine.

After further investigation it's only when the input is inside a <Item floatingLabel> I guess it doesn't have a control in the view when it's initially mounted, so there's nothing to reference.

Same issue: a ref defined on an <Input> component inside an <Item floatingLabel> doesn't work. But if I remove the floatingLabel, it does work.
Here's an example that doesn't work. The message logged to the console displays [].
  <View>
    <View padder>
      <Form>
        <Item floatingLabel>
          Login
          <Input ref="loginInput"/>
        </Item>
        <Item floatingLabel last>
          Password
          <Input secureTextEntry ref={'passwordInput'}/>
        </Item>
      </Form>
    </View>
    <View padder>
      <Button block onPress={() => console.log('pressed', JSON.stringify(Object.keys(this.refs)))}>
        <Text>Login</Text>
      </Button>
    </View>
  </View>

If I remove the floatingLabel, then the message on the console logs correctly, ["loginInput", "passwordInput"].

Also notice this.
Also if I try to pre set a value to the Input the floating label is in "empty" mode (down) above my prefilled value.

I have the same problem with <Item floatingLabel>
@yeknava could you re-open this issue ?

For floatingLabel try gerRef

@shivrajkumar thank you but what's gerRef ?

@pierre-H Use getRef instead of Ref
Here's a working example:
<Item floatingLabel>
                  Title
                  <Input
                  returnKeyType = {"next"}
                  autoFocus = {true}
                  onSubmitEditing={(event) => {
                      this._textInput._root.focus();
                  }}
                  />
              </Item>
              <Item floatingLabel>
                  Description
                  <Input
                  getRef={(c) => this._inputDesc = c}
                  multiline={true} style={{height: 100}} />
                  onSubmitEditing={(event) => { this._inputLink._root.focus(); }}
              </Item>

@pierre-H
Use getRef instead of ref
Here's a working example:
<Item floatingLabel>
                  Title
                  <Input
                  returnKeyType = {"next"}
                  autoFocus = {true}
                  onSubmitEditing={(event) => {
                      this._inputDesc._root.focus();
                  }}
                  />
              </Item>
              <Item floatingLabel>
                  Description
                  <Input
                  getRef={(c) => this._inputDesc = c}
                  multiline={true} style={{height: 100}} />
                  onSubmitEditing={(event) => { this._inputLink._root.focus(); }}
              </Item>

Running 2.1.3 on iOS
getRef={(c) => console.log("hello",c)}

c returns undefined

If you add an Icon, ref become undefined...
<Item floatingLabel>                   Description                   <Input                   getRef={(c) => this._inputDesc = c}                   multiline={true} style={{height: 100}} />                   onSubmitEditing={(event) => { this._inputLink._root.focus(); }}                   <Icon />               </Item>

Solution proposed by @AbhishekBiswal
...
<Input
                  getRef={(c) => this._inputDesc = c}
...

works.

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

I use getRef but get no help.

This is a really weird issue which is inconsistent with RN. Any permanent fix on the roadmap?

Please fix this. I love using native base, that is the first really annoying thing I encountered :(

This is most definitely broken. I also don't get a reference through getref. The pw field I'm trying to set here stays undefined:
                <Item error={!loginStore.isValidPassword}>
                    <Icon active name="unlock"/>
                    <Input
                        getRef={i => this.pw = i}
                        placeholder="Password"
                        value={loginStore.password}
                        returnKeyType={"done"}
                        onChangeText={p => loginStore.setPassword(p)}
                        secureTextEntry={true}
                    />
                </Item>

Also can't be accessed through ref
loginBtnPress = () => { 		console.log(this); 		console.log(this.emailInput); 		console.log(this.passwordInput); 		console.log(this.refs); 	}; <Item floatingLabel> 								<Icon active name="person"/> 								邮箱 								<Input 									ref='emailInput' 									returnKeyType='next' 									onSubmitEditing={() => this._focusInput('passwordInput')} 								/> 							</Item> 							<Item floatingLabel> 								<Icon active name="lock"/> 								密码 								<Input 									getRef={c => { 										this.passwordInput = c; 									}} 									secureTextEntry={true} 								/> 							</Item> 							<Button full info onPress={() => this.loginBtnPress()}> 								<Text>登录</Text> 							</Button>
React-Native:0.50.0
React-Native:16.0.0
Native-Base:2.3.5

Thanks for replying @akhil-geekyants, that just doesn't work for me, I have to use getRef.  I'm on 2.3.7.  All good anyway, it must be me.

I am on 2.3.8 and getRef also works for me.

@akhil-geekyants That's because you didn't add the floatingLabel prop on Item. With this prop I'm also experiencing this issue. I'm on 2.3.10.

@Amonith @blackdynamo The example by @akhil-geekyants includes <Item floatingLabel>


Wiki Lookup

Lookup Wiki option (imo) should be implemented into bank and equipment menu.

Edit
Also, would be great for Quests.

duplicate #7854


ReplicationBytes In&Out PerSec units are sometimes wrong (MB / minute)

also wrong with Kafka Topic Byte Out (byte/sec)


XSL Disabled Sitemap Rendering Weirdly

The content-type has the right header but the browser is not showing it correctly for some reason.

Actually seems related to xhtml forcing chrome to render the page diffierently https://support.google.com/chrome/thread/10921150/why-is-google-chrome-rendering-this-xml-file-as-html?hl=en


Infinite connection when trying to reuse a bad connection in ConnectionPool

First apologize that I can't give detailed information about this. My app Twidere received some report about this after using OkHttp 3.0.0+, seems there're dead or staled connection in ConnectionPool but OkHttp can't detect them, when tried to connect with these reused connections, connection/read/write timeout limit is also not working.

We can’t take action without steps to reproduce.

OK, I'll try write a minimum code to reproduce.

I'm connecting to https://api.twitter.com and https://quitter.se and https://[id].herokuapp.com , seems error rate reduced after turned retryOnConnectionFailure off.

After using single instance for ConnectionPool, seems problem solved.

Sorry and thanks, I can confirm it's not an OkHttp issue.


feat: return error from Generate() for invalid catagory

Breaking change:
Generate returns an error if the template is invalid
This is debatable feature and one could say that it's the caller's responsibility to provide the right string to parse.
If you plan to merge this in, I can provide tests as well.

I hear what you are saying. Although an error isnt valuable enough for a breaking change to the package. Ill keep it in mind if i need to do a new version of gofakeit. Thanks.

Could we maintain a next branch where all the breaking changes go in?
This way it's easy to keep such features ready to go whenever enough pile up.
If this sounds good, just publish a next branch in your repo.
I'll polish this PR and open it against this branch.

I definitely will when the time comes in which i will do a new version release but at this point I dont have anything game changing that i feel needs to pivot this package in a different direction to do a full version bump.
Ill keep you updated though.

Sounds good to me.
Thanks a lot for making this library!
On Dec 30, 2017 8:19 PM, "Brian Voelker"<EMAIL_ADDRESS>wrote:

I definitely will when the time comes in which i will do a new version
release but at this point I dont have anything game changing that i feel
needs to pivot this package in a different direction to do a full version
bump.
Ill keep you updated though.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/brianvoe/gofakeit/pull/13#issuecomment-354584476, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEeiOc28ayMUVhsungTB3jE5IUKHUCCmks5tFws-gaJpZM4RPrce
.

Thank you for the PR's


⚠ Jenkins Plugins Artifactory has degraded performance

In 8711d94, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 2729 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 28987cf after 22 minutes.


convert Type int to string

how to convert the id with integer type to string ?

@diogotmlima, @jonnii you are not the only people this behaviour was tripping up, so I have conceded and integer ids are now allowed in 1.7.0 (https://github.com/codecutout/JsonApiSerializer/pull/98)

I think this is the pragmatic choice, we make all our ids strings in the controller when we map to the wire types but this means we can remove the ToString calls we have there just to make JsonApiSerializer happy.


Android 11 on WSA Build 2209.40000.26.0

Is your feature request related to a problem? Please describe
I cannot run an old apk (QSC Touchmix 30) on WSA Build 2209.40000.26.0 because works only on android 11.
I tried WSA Build 2203.40000.3.0 (the last version based on Android 11) and the app works, but there are some network issue (such as internet connection) and are not implemented advance network features.
Describe the solution you'd like
Could you please create a WSA Build 2209.40000.26.0 but based android 11 with implemented advance network features?
Describe alternatives you've considered
Create a QSC Touchmix 30 apk that works on WSA Build 2209.40000.26.0
Please specify the version of Windows Subsystem for Android
2209.40000.26.0

What specifically doesn't work in this app on Android 12? Is it WSA specific or also affects other Android 12 devices?

Using WSA 2209.40000.26.0 the app go in crash.... When I launch it,  the system try to open app but after 1 second close it automatically.
Using WSA 2203.40000.3.0 the app works fine but there is not internet connectivity.
The same app works fine on my phone (Mi 10 T pro) with android 12 SKQ1.211006.001

Thanks for the additional details. We can investigate what's going on in this particular app to see if there's anything we can do.

Thanks for the additional details. We can investigate what's going on in this particular app to see if there's anything we can do.

Thanks.
I'm wating for tour feedback


select * from commits

This don't work:
git ql 'select * from commits order by date desc limit 2'

it return:
+-------+
|   *   |
+-------+
| <nil> |
+-------+
| <nil> |
+-------+

That is an interesting one, what do you think @jsixface?

I don't know golang but looking at the source it seems that both functions in runtime/commits.go need to share the list of fields maybe instead of metadataCommit function with switch something like javascript object with methods and then when field is "*" you could do something like javascript fields = Object.keys(data) don't know how do you do stuff like that in golang.

Yeah, I don't think that it will be hard to do. I will investigate that as soon as I have free time :)

This is not working ever without the limit and order by.
I'm looking into it now