[Bug] There is a logical error in performing multiplication operations with a value of 0.

Search before asking

[X] I searched in the issues and found nothing similar.

Version
version 1.3.3 (Build: ad95a7e)
Describe the bug and provide the minimal reproduce step
DROP DATABASE root.db0
CREATE DATABASE root.db0

CREATE TIMESERIES root.db0.t1 WITH datatype=INT32;
INSERT INTO root.db0(timestamp, t1) VALUES<PHONE_NUMBER>000, 0);

# query 1
SELECT t1 FROM root.db0 WHERE (-1) * t1 == 0;

# query 2
SELECT t1 FROM root.db0 WHERE (-1) * t1 == -0.0;

What did you expect to see?
Query 1 returned result set: 0
Query 2 returned result set: 0
What did you see instead?
Query 1 returned result set: empty set
Query 2 returned result set: 0
Anything else?
Dear IoTDB team, In the query above, the result of the expression (-1) * t1 is -0.0. In principle, this value should be equivalent to 0. However, a comparison of the results from Query 1 and Query 2 indicates that the two are not equal.
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!


Different JOIN behaviour after prest upgrade

Describe the bug
Performing the same query when joining tables on different versions of prestd (with the same database backend) produces different outputs.

prestd 1.0.5 -> OK
prestd 1.0.14 -> NOK

To Reproduce
Steps to reproduce the behavior:

Request to endpoint scans?_join=inner:bodyfat:scans.scancode:$eq:bodyfat.scancode&scans.scancode=$in.000005256e0dc77adbe8f6b25b75eda6748f0818&bodyfat.method=tina
Attached the CSV file of both output as well as the XLS file for comparison. In the XLS I marked the differences with red. As you see we have different results for the same column scans.gender and also for the number of returned columns.

Expected behavior
Same and correct query results in both cases.
Desktop (please complete the following information):

pREST version (or commit ref): as written above
pREST endpoint: as written above
PostgreSQL version: 14.x
OS: [e.g. Debian Tid]: Both API running in Kubernetes Popds
Go version: NA
Log gist: NA

Additional context
Database table structure:
                                     Table "public.scans"
    Column     |          Type          | Collation | Nullable |           Default
---------------+------------------------+-----------+----------+------------------------------
 scancode      | character varying(255) |           | not null |
 creation_date | bigint                 |           | not null |
 synthetic     | boolean                |           | not null |
 creator       | character varying(50)  |           | not null |
 gender        | character varying(50)  |           | not null | 'neutral'::character varying
 clothes       | boolean                |           |          |
 fists         | boolean                |           |          |
 pose          | character varying(50)  |           |          |
 motion        | character varying(50)  |           |          |
 scene         | character varying(50)  |           |          |
 raw_data      | character varying(50)  |           |          |
 user_id       | character varying(100) |           |          |
 device_id     | character varying(100) |           |          |
 age           | bigint                 |           |          |
 weight        | double precision       |           |          |
 height        | double precision       |           |          |
 region        | character varying(50)  |           |          |
 country       | character varying(50)  |           |          |
 mocap         | boolean                |           | not null | false
 avatar        | character varying(50)  |           |          |
 campaign      | character varying(255) |           |          |
 ref_scan      | character varying(255) |           |          |
 artefacts     | boolean                |           |          |
 bad_hair      | boolean                |           |          |
 bad_feet      | boolean                |           |          |
 verified      | boolean                |           | not null | false
 ref_motion    | character varying(255) |           |          |
Indexes:
    "scans_pkey" PRIMARY KEY, btree (scancode)

                                     Table "public.bodyfat"
     Column      |          Type          | Collation | Nullable |           Default
-----------------+------------------------+-----------+----------+------------------------------
 bodyfat_id      | integer                |           | not null | generated always as identity
 scancode        | character varying(255) |           | not null |
 creation_date   | bigint                 |           | not null |
 percentage      | numeric(7,2)           |           | not null |
 method          | character varying(50)  |           | not null |
 device          | character varying(50)  |           |          |
 meta_cv_release | character varying(50)  |           |          |
 fitting_id      | integer                |           |          |
 gender          | character varying(50)  |           |          |
Indexes:
    "bodyfat_pkey" PRIMARY KEY, btree (bodyfat_id)
    "bf_creation_date_idx" btree (creation_date)
    "bf_meta_cv_release_idx" btree (meta_cv_release)
    "bf_method_idx" btree (method)
    "bf_scancode_idx" btree (scancode)
Foreign-key constraints:
    "fk_fitting_id" FOREIGN KEY (fitting_id) REFERENCES model_fitting_results(fitting_id) ON DELETE CASCADE
    "fk_scancode" FOREIGN KEY (scancode) REFERENCES scans(scancode) ON DELETE CASCADE

Cc: @manhofer
query_result_comparison.xlsx
WORKING_db_query_result.csv
NOT_WORKING_db_query_result.csv

Hey @kalmarz, thanks for the report! We are going to take a look!

@arxdsilva  thanks for the suggestion. It doesn't really work for us because the API is running in Kubernetes pods and we don't have a persistent volume configured for custom queries. It could be done but it'd be a very complicated workflow.

@kalmarz I'm analyzing your data on Excel. Can you tell me what are the differences on data? I'm colorblind but I do know that there are different colors (probably red or green).
And can you also provide some data samples so I can test with similar data?

@vmesel In the xls, attached previously, columns H, AH and AI are returned empty with prestd 1.0.14 (row 3). And the expected right answer is in row 7, with prestd 1.0.5. Also attached 2 CSVs, containing 1-1 record for the tables
bodyfat__db_query_result.csv
scans__db_query_result.csv

@vmesel I'm not sure I understand this request.
If you need the insert statements then I don't.
If you asking for a query that produces the result I opened the issue for then this is it: scans?_join=inner:bodyfat:scans.scancode:$eq:bodyfat.scancode&scans.scancode=$in.000005256e0dc77adbe8f6b25b75eda6748f0818&bodyfat.method=tina

No worries, I got it using Datagrip:
insert into public.bodyfat (device, gender, method, scancode, bodyfat_id, fitting_id, percentage, creation_date, meta_cv_release)
values  (null, null, 'tina', '000005256e0dc77adbe8f6b25b75eda6748f0818', 971948, null, 23.22, null, '1.4.0-8899');

and
insert into public.scans (scancode, creation_date, synthetic, creator, gender, clothes, fists, pose, motion, scene, raw_data, user_id, device_id, age, weight, height, region, country, mocap, avatar, campaign, ref_scan, artefacts, bad_hair, bad_feet, verified, ref_motion)
values  ('000005256e0dc77adbe8f6b25b75eda6748f0818', null, false, 'manuel', 'male', false, true, 'a', 'turntable', null, null, '5edbf33e52549fb269123d6eb3e6986bea6c4e03dcbd5223c8591ac25f1a95d4', '9fed0cec52a189e77e418dd123d61e03eaffbdf3910deccbd746b8c91804ca71', 35, 86.37, 175, null, null, false, 'gen1', 'gen1_scans', null, false, false, false, true, null);

On commit e4c6df5 - (Version 1.1.5), on: http://localhost:8080/{database}/public/scans?_join=inner:bodyfat:scans.scancode:$eq:bodyfat.scancode&scans.scancode=$in.000005256e0dc77adbe8f6b25b75eda6748f0818&bodyfat.method=tina, we are getting:
[
  {
    "age": 35,
    "pose": "a",
    "fists": true,
    "mocap": false,
    "scene": null,
    "avatar": "gen1",
    "device": null,
    "gender": null,
    "height": 175,
    "method": "tina",
    "motion": "turntable",
    "region": null,
    "weight": 86.37,
    "clothes": false,
    "country": null,
    "creator": "manuel",
    "user_id": "5edbf33e52549fb269123d6eb3e6986bea6c4e03dcbd5223c8591ac25f1a95d4",
    "bad_feet": false,
    "bad_hair": false,
    "campaign": "gen1_scans",
    "raw_data": null,
    "ref_scan": null,
    "scancode": "000005256e0dc77adbe8f6b25b75eda6748f0818",
    "verified": true,
    "artefacts": false,
    "device_id": "9fed0cec52a189e77e418dd123d61e03eaffbdf3910deccbd746b8c91804ca71",
    "synthetic": false,
    "bodyfat_id": 971948,
    "fitting_id": null,
    "percentage": 23.22,
    "ref_motion": null,
    "creation_date": null,
    "meta_cv_release": "1.4.0-8899"
  }
]

On version 1.0.14 - commit d9fed6, we are getting:
[
  {
    "scancode": "000005256e0dc77adbe8f6b25b75eda6748f0818",
    "creation_date": null,
    "synthetic": false,
    "creator": "manuel",
    "gender": null,
    "clothes": false,
    "fists": true,
    "pose": "a",
    "motion": "turntable",
    "scene": null,
    "raw_data": null,
    "user_id": "5edbf33e52549fb269123d6eb3e6986bea6c4e03dcbd5223c8591ac25f1a95d4",
    "device_id": "9fed0cec52a189e77e418dd123d61e03eaffbdf3910deccbd746b8c91804ca71",
    "age": 35,
    "weight": 86.37,
    "height": 175,
    "region": null,
    "country": null,
    "mocap": false,
    "avatar": "gen1",
    "campaign": "gen1_scans",
    "ref_scan": null,
    "artefacts": false,
    "bad_hair": false,
    "bad_feet": false,
    "verified": true,
    "ref_motion": null,
    "bodyfat_id": 971948,
    "percentage": 23.22,
    "method": "tina",
    "device": null,
    "meta_cv_release": "1.4.0-8899",
    "fitting_id": null
  }
]

And on version 1.0.5 - commit 384296 we are getting:
[
  {
    "scancode": "000005256e0dc77adbe8f6b25b75eda6748f0818",
    "creation_date": null,
    "synthetic": false,
    "creator": "manuel",
    "gender": null,
    "clothes": false,
    "fists": true,
    "pose": "a",
    "motion": "turntable",
    "scene": null,
    "raw_data": null,
    "user_id": "5edbf33e52549fb269123d6eb3e6986bea6c4e03dcbd5223c8591ac25f1a95d4",
    "device_id": "9fed0cec52a189e77e418dd123d61e03eaffbdf3910deccbd746b8c91804ca71",
    "age": 35,
    "weight": 86.37,
    "height": 175,
    "region": null,
    "country": null,
    "mocap": false,
    "avatar": "gen1",
    "campaign": "gen1_scans",
    "ref_scan": null,
    "artefacts": false,
    "bad_hair": false,
    "bad_feet": false,
    "verified": true,
    "ref_motion": null,
    "bodyfat_id": 971948,
    "percentage": 23.22,
    "method": "tina",
    "device": null,
    "meta_cv_release": "1.4.0-8899",
    "fitting_id": null
  }
]

Using JSON Diff tool, I'm not able to find a difference between JSONs generated from releases 1.0.5 and 1.0.14.

Neither comparing 1.0.14 with our most recent version - 1.1.15:

Nor comparing 1.0.5 and 1.1.15:

I will try to read the Excel file again with different fonts so I can try to understand where the difference is. But it seems that the API is stable.

The only difference between the JSONs and CSVs you sent us is that on we didn't insert the creation date as we can see below.

The issue is that "gender" exists as a column in both tables, and in the "scans" table it is not null for this row, but in the "bodyfat" table it is null for this row. But in the data we get back from the API "scans.gender" is null (even though it shouldn't be), and "bodyfat.gender" is missing altogether. In previous versions of the API we always got back both columns with their respective values.

@vmesel Thank you for the through investigation!
This is weird. :) I just ran the query against both versions with Postman. The 2 JSONs are clearly not identical, see below the multiple gender columns in the second JSON. Yet the JSON Diff tool indeed shows them as "semantically identical".
¯_(ツ)_/¯
/app$ prestd version
Simplify and accelerate development, ⚡ instant, realtime, high-performance on any Postgres application, existing or new 1.0.14

[
    {
        "age": 35,
        "pose": "a",
        "fists": true,
        "mocap": false,
        "scene": "",
        "avatar": "gen1",
        "device": null,
        "gender": null,
        "height": 175,
        "method": "tina",
        "motion": "turntable",
        "region": "",
        "weight": 86.37,
        "clothes": false,
        "country": "",
        "creator": "manuel",
        "user_id": "5edbf33e52549fb269123d6eb3e6986bea6c4e03dcbd5223c8591ac25f1a95d4",
        "bad_feet": false,
        "bad_hair": false,
        "campaign": "gen1_scans",
        "raw_data": "",
        "ref_scan": "",
        "scancode": "000005256e0dc77adbe8f6b25b75eda6748f0818",
        "verified": true,
        "artefacts": false,
        "device_id": "9fed0cec52a189e77e418dd123d61e03eaffbdf3910deccbd746b8c91804ca71",
        "synthetic": false,
        "bodyfat_id": 971948,
        "fitting_id": null,
        "percentage": 23.22,
        "ref_motion": "",
        "creation_date":<PHONE_NUMBER>,
        "meta_cv_release": "1.4.0-8899"
    }
]

/app $ ./prestd version
Serve a RESTful API from any PostgreSQL database 1.0.5

[
    {
        "scancode": "000005256e0dc77adbe8f6b25b75eda6748f0818",
        "creation_date":<PHONE_NUMBER>,
        "synthetic": false,
        "creator": "manuel",
        "gender": "male", <--------------- this column is missing from the first result above
        "clothes": false,
        "fists": true,
        "pose": "a",
        "motion": "turntable",
        "scene": "",
        "raw_data": "",
        "user_id": "5edbf33e52549fb269123d6eb3e6986bea6c4e03dcbd5223c8591ac25f1a95d4",
        "device_id": "9fed0cec52a189e77e418dd123d61e03eaffbdf3910deccbd746b8c91804ca71",
        "age": 35,
        "weight": 86.37,
        "height": 175,
        "region": "",
        "country": "",
        "mocap": false,
        "avatar": "gen1",
        "campaign": "gen1_scans",
        "ref_scan": "",
        "artefacts": false,
        "bad_hair": false,
        "bad_feet": false,
        "verified": true,
        "ref_motion": "",
        "bodyfat_id": 971948,
        "scancode": "000005256e0dc77adbe8f6b25b75eda6748f0818",
        "creation_date":<PHONE_NUMBER>,
        "percentage": 23.22,
        "method": "tina",
        "device": null,
        "meta_cv_release": "1.4.0-8899",
        "fitting_id": null,
        "gender": null
    }
]

@vmesel the json results you posted above only show the column name as key, rather than e.g. <table>.<column> as it would have to be to support that two linked tables can have columns with the same name. In the past, this seemed to work though

@manhofer can you provide us the generated query that pREST provides when PREST_DEBUG = true?

@vmesel there you go:
2022/12/23 09:26:04 [debug] server.go:2084 generated SQL:SELECT jsonb_agg(s) FROM (SELECT * FROM "alexandria"."public"."scans" LEFT JOIN "bodyfat" ON "scans"."scancode" = "bodyfat"."scancode"  WHERE "scans"."scancode" IN ($1) AND "bodyfat"."method" = $2 ) s parameters: [000005256e0dc77adbe8f6b25b75eda6748f0818 tina]

@vmesel I'm wondering if you had a chance to look into the issue?

@vmesel @arxdsilva this is still important for us so I did some debugging.
At some point in the development you switched from json_agg() to jsonb_agg() Postgres function in the SELECT queries. And this is exactly what kills our join attempts. I'm not an expert but jsonb_agg() seems to be aggregating the similarly named columns from both tables into a single column.
In our case, for example, whe have a gender column in both tables but only one is present in the response. I admit that the DB has some room for improvement when it comes down to normalization but for now it is what it is.
While I patched our API to use json_agg() and it seems to be working fine I'm not sure if this would be the right approach on the long term. So if you have ideas I'm more than open hearing them.
I'm thinking whether putting the aggregation function into a configurable environment variable would be a potential solution?

@kalmarz we've just released v1.4.0 to address your issue

@kalmarz you are welcome, sorry for the long delay, lots of small things had to be fixed before we were able to release this.

no worries, I patched the code temporarily in the mean time.


Can we use http://zeptojs.com/ instead of jQuery?

Hello,
Can I use http://zeptojs.com instead of jQuery?

If:

you have svgPath set to false or import yourself icons into your HTML, cf: https://alex-d.github.io/Trumbowyg/documentation/#svg-icons
you did ot use upload plugin

Yep, it should works. Otherwise, nope.


Fix return error

Simple fix for the issue #79

I have pushed a fix just to build it but I assume it's not how the code is intended to work. I will try to push more commits if I will make the whole package work and test it.


[ALLUXIO-2875] Rename file tests/src/test/java/alluxio/shell/command/PersistCommandTest.java to tests/src/test/java/alluxio/shell/command/PersistCommandIntegrationTest.java

https://alluxio.atlassian.net/browse/ALLUXIO-2875

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/16021/
Test PASSed.

Merged build finished. Test PASSed.

Commits associated with Github account: FAIL
It looks like your commits can't be linked to a valid Github account. Your commits are made with the email<EMAIL_ADDRESS>which does not allow your contribution to be tracked by Github. See this link for possible reasons this might be happening. To change the author email address that your most recent commit was made under, you can run
git -c user.name="Name" -c user.email="Email" commit --amend --reset-author

See this answer for more details about how to change commit email addresses. Once the author email address has been updated, update the pull request by running
git push --force https://github.com/limingzh/alluxio.git master

Please fix the reported issues and reply 'alluxio-bot, check this please' to re-run checks

@limingzh I can help you if you're having trouble updating the email address for this PR. Do you get any errors when you try to follow the instructions above?

Closing due to inactivity, feel free to re-open if you have time to finish


Consider removing logging filters

The implementation of the log filters containing this bug appears brittle, and seems to have a high risk of depending on undefined (non-explicitly-supported) behavior. As such, it's worth evaluating whether they're providing enough value to be worth maintaining in this library. One reasonable "fix" could be to simply delete the log filters and let downstreams deal with filtering favicon and static content requests in their own log configurations if they care.

Originally posted by @zachmullen in https://github.com/girder/django-composed-configuration/issues/121#issuecomment-815339781

Ping @danlamanna

@danlamanna Ping for feedback.


fix: remove shaded Netty in favor of Minecraft's

Should decrease the mod's JAR size, need to make sure the ABI is ok - didn't test it myself.

crash-2024-01-18_15.21.35-client.txt


Incorrect assert in layoutSubviews

From layoutSubviews:
if (!self.choices) {
    NSAssert(@"NO", @"Cannot setup with no choices set!");
}

However, @"NO" evaluates to YES, so the assert is never thrown.
I suggest we assert the actual condition:
NSAssert(self.choices, @"Cannot setup with no choices set!");

This would allow us to remove the conditional.

Wow.  Good catch.
I'll take a look at all these in the next couple of days.

Fixed in 1.3.0


Gulp if doesn't stop gulp.dest from being run

I am trying to write a function that returns a lazypipe that only sends to gulp.dest if a destination was passed.
function filterScripts(destination, templateName) {
    var jsFilter = $.filter('**/*.js');
    var hasDestination = (typeof destination !== 'undefined');

    return lazypipe()
        .pipe(function() { return jsFilter })
        .pipe(sourceMaps(scripts(templateName),templateName))
        .pipe(function() {
            return $.if(hasDestination, gulp.dest(destination), console.log(hasDestination));
        })
        .pipe(jsFilter.restore);
}

When I do this, I get an Error: Invalid output folder error. I know that the hasDestination variable is false at this stage, but the gulp.dest still fires.

gulp.dest(...) is a stream, but console.log(...) isn't.  I suspect that's where things fell off.  Try this:
function log(file, enc, cb) {
    console.log(hasDestination);
    cb.push(null, file);
}

// ...

$.if(hasDestination, gulp.dest(destination), log);

or just try this:
$.if(hasDestination, gulp.dest(destination));

@jahumes You can use process.stdout.write(hasDestination) instead of console.log(hasDestination)


Why render mesh move up wrongly?

Hello, I have used simle_romp to inference using my trained model. But the render results move up a little. Is there any wrong setting?

@caihaunqai
This is effected by root alignment operation at
https://github.com/Arthur151/ROMP/blob/a349c6bf4d6229b8fba2e900d38ef210888937d0/simple_romp/romp/smpl.py#L102
Please consider to set it to True/False. It would be right.
After change made, please re-install simple romp via:
pip uninstall simple-romp
cd simple_romp/
python setup.py install

Thank you. I have tried it and it works.

Thank you. It works.


Incorrect type reported for list variable assigned an empty list

Steps to reproduce
vim9script

var la: list<any> = []
echomsg typename(la)

var ln: list<number> = []
echomsg typename(ln)

Output:
list<unknown>
list<number>

Expected behaviour
Output:
list<any>
list<number>

Version of Vim
9.0.2130
Environment
Ubuntu 20.04
Logs and stack traces
No response

Just a note:
var x: list<any> = []
echom typename(x)  # list<unknown>

x[0] = 123
echom typename(x)  # list<any>

remove(x, 0)
echom typename(x)  # list<unknown>

So only unknown when empty. Not sure if it ever can change from <any> to say <number> once defined.
In regards to any being zero:
var a: any
echom typename(a) .. ' "' .. a .. '"'  # number "0"
var s: string
echom typename(s) .. ' "' .. s .. '"'  # string  ""
var n: number
echom typename(n) .. ' "' .. n .. '"'  # number "0"
var f: float
echom typename(n) .. ' "' .. f .. '"'  # float  "0.0"
var b: bool
echom typename(b) .. ' "' .. b .. '"'  # bool   "false"

E1134
Declaring a variable with a type but without an initializer will initialize to
false (for bool), empty (for string, list, dict, etc.) or zero (for number,
any, etc.).  This matters especially when using the "any" type, the value will
default to the number zero.

yes, i agreed it is ok if 'any' alias to 'unknown', but:
var a: any
echom typename(a)  # number

this is default to 'number' seems odd, but if that's intended, then let it be~
@yegappan FYI, i saw you opened #13625

no, the 'default' here meant when it is un-inited,

Sure in perl etc, but here there is no such thing as an uninitialized  variable. Declaring it also initializes it (if one want or not).
				*E1022* *E1103* *E1130* *E1131* *E1133*
				*E1134*
Declaring a variable with a type but without an initializer will initialize to
false (for bool), empty (for string, list, dict, etc.) or zero (for number,
any, etc.).  This matters especially when using the "any" type, the value will
default to the number zero.  For example, when declaring a list, items can be
added: >
	var myList: list<number>
	myList->add(7)

Initializing a variable to a null value, e.g. `null_list`, differs from not
initializing the variable.  This throws an error: >
	var myList = null_list
	myList->add(7)  # E1130: Cannot add to null list

– will initialize

it is Not 'can be anything', so the 'default' is 'number' is odd.

But any can. It could also be string '', bool false, float 0.0, special null, special v:none etc. But any of those would be any. Meaning in practice an any would less often, I would argue, be useful. I.e. Even undefined would be anything.
Say one use an any variable named x - now depending on what type that x is one want to do different things.
IF x IS NUMBER
	y = y × x
ELSE IF x IS STRING
	PRINT x
ELSE
	Throw error
END IF

An IF saying:
IF x IS ANYTHING <-- Moot check
	Do anything
END IF

That is at least the rationale I suspect behind it.
When it comes to:
a = [1, 2, 3]
echom typename(a) .. ' "' .. string(a) .. '"'  # any            "[1,2,3]"

Yes, that is harder to grasp. The one are back to the IF example above. There is likely a differentiation between simple and complex types …
The  type check is fine though:
echom type(a) == type([])	# true
echom type(a) == v:t_list	# true

Just a note:
var x: list<any> = []
echom typename(x)  # list<unknown>

x[0] = 123
echom typename(x)  # list<any>

remove(x, 0)
echom typename(x)  # list<unknown>

So only unknown when empty. Not sure if it ever can change from <any> to say <number> once defined.

With this PR, all the above three cases will echo list<any>

um.. you may should read my another comment in that upstream ticket, here null and null_ is different things, that 'null' I think it actually (looked like) init nothing.
but anyway, since @chrisbra had mergerred this, so supposed it meant it was intended (designed like that), so let it be.
but just to me: assign to null to these and using typename() func to those, now the result is odd and much easier to be confused.
// I can live with that anyway, just not sure if it was a good idea.
// but at least seems now all well-known big issues on vim9script were all set, just good or bad may need more people to use, specially when if it still had chance to change.
--
shane.xb.qian


Logarithmic regression is not Found. It has been implemented?

Is it different to the logistic regression (which we have)?

Logarithmic regression is not the logistic regression, Logarithmic regression is like y = a + blnx, same to linear regression.

@targos https://github.com/DoubleCorner/regression-logarithmic I have implemented it ~

Hello,
If there is anything remaining related to this issue, please let me know.
Thank you.


Can't install 7zip or git with scoop

I'm running Windows 7 with all the required Windows packages. Installed scoop recently and worked out some bugs with help here. But now I cannot get scoop to install anything. Here is my screen output:

PS C:\Users\HP> scoop install 7zip
Scoop uses Git to update itself. Run 'scoop install git' and try again.
Installing '7zip' (18.01) [64bit]
Loading 7z1801-x64.msi from cache
Checking hash of 7z1801-x64.msi... ok.
Extracting... Exit code was .
Failed to extract files from C:\Users\HP\scoop\apps\7zip\18.01\7z1801-x64.msi.
Log file:
~\scoop\apps\7zip\18.01\msi.log
PS C:\Users\HP> scoop uninstall 7zip
Uninstalling '7zip' (18.01).
'7zip' was uninstalled.
PS C:\Users\HP> scoop install git
Scoop uses Git to update itself. Run 'scoop install git' and try again.
Installing '7zip' (18.01) [64bit]
Loading 7z1801-x64.msi from cache
Checking hash of 7z1801-x64.msi... ok.
Extracting... Exit code was .
Failed to extract files from C:\Users\HP\scoop\apps\7zip\18.01\7z1801-x64.msi.
Log file:
~\scoop\apps\7zip\18.01\msi.log
PS C:\Users\HP>

Any suggestions on what might be wrong? Thank you!

Using the command to install Curl seems to install 7Zip, but then gets bogged down later. Help with this, please?

PS C:\Users\HP> scoop install curl
Scoop uses Git to update itself. Run 'scoop install git' and try again.
Installing '7zip' (18.01) [64bit]
Loading 7z1801-x64.msi from cache
Checking hash of 7z1801-x64.msi... ok.
Extracting... done.
Linking ~\scoop\apps\7zip\current => ~\scoop\apps\7zip\18.01
Creating shim for '7z'.
Creating shortcut for 7zip (7zFM.exe)
'7zip' (18.01) was installed successfully!
Installing 'curl' (7.58.0) [64bit]
curl-7.58.0-win64-mingw.7z (2.0 MB) [=================================] 100%
Checking hash of curl-7.58.0-win64-mingw.7z... ok.
Extracting... done.
Linking ~\scoop\apps\curl\current => ~\scoop\apps\curl\7.58.0
Creating shim for 'curl'.
'curl' (7.58.0) was installed successfully!
'curl' suggests installing 'cacert'.
PS C:\Users\HP> scoop install git
Scoop uses Git to update itself. Run 'scoop install git' and try again.
Installing 'git' (2.16.2.windows.1) [64bit]
PortableGit-2.16.2-64-bit.7z.exe (35.5 MB) [==========================] 100%
Checking hash of PortableGit-2.16.2-64-bit.7z.exe... ok.
Extracting... done.
Linking ~\scoop\apps\git\current => ~\scoop\apps\git\2.16.2.windows.1
Creating shim for 'git'.
Creating shim for 'gitk'.
Creating shim for 'git-gui'.
Creating shim for 'tig'.
Creating shim for 'git-bash'.
Creating shortcut for Git Bash (git-bash.exe)
Running post-install script...
'git' (2.16.2.windows.1) was installed successfully!
Notes

To get Git to recognise OpenSSH, you will need to run
scoop install openssh
[environment]::setenvironmentvariable('GIT_SSH', (resolve-path (scoop which
ssh)), 'USER')
and then restart powershell.
PS C:\Users\HP>

closing this for now. I think I figured it out.

Can you post C:\Users\HP\scoop\apps\7zip\18.01\msi.log to a public gist?


Dependency in Getting Started Wiki for Gradle in an Android context

The Getting Started guide for Gradle still contains the old compile version which has been deprecated in favour of implementation and api for a while, at least in regards to Android.
Specifically, when using UI tests in Android with a Gradle version that came out after 2017 it should read
androidTestImplementation 'org.awaitility:awaitility:4.0.0'
instead of
testCompile 'org.awaitility:awaitility:4.0.0'

@PattaFeuFeu Oh I actually didn't know this, I'm mainly using Maven nowadays.
I don't like to change it to androidTestImplementation since that sounds very much like an android specific thing. Are you sure that testCompile has been superseded by something else? Where can I read up on this?

I'm reading here that compile should be replaced with implementation and testCompile with testImplementation. I'm going to update the docs. Thanks for bringing this to my attention.

Just the answer I was about to link. :)
The androidTestImplementation variant is for (Android) UI tests specifically, while testImplementation is for general unit tests.


cfbundleidentifier", does not exist -after updating to Xcode 10.

I'm having an issue for 3 days "cfbundleidentifier", does not exist.
I have tried solutions from StackOverflow Like
removing the node_modules and npm install,
reinstall Xcode and update xcode command tool,
clean the cache also from yarn and npm,
But still no luck. please help me out, guys.
** BUILD FAILED **
The following build commands failed:
CompileC /Users/drdas/projects/ArtisanMobileApp/node_modules/react-native/React/build/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/strtod.o /Users/drdas/projects/ArtisanMobileApp/node_modules/react-native/third-party/double-conversion-1.1.5/src/strtod.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
CompileC /Users/drdas/projects/ArtisanMobileApp/node_modules/react-native/React/build/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/fixed-dtoa.o /Users/drdas/projects/ArtisanMobileApp/node_modules/react-native/third-party/double-conversion-1.1.5/src/fixed-dtoa.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
CompileC /Users/drdas/projects/ArtisanMobileApp/node_modules/react-native/React/build/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/fast-dtoa.o /Users/drdas/projects/ArtisanMobileApp/node_modules/react-native/third-party/double-conversion-1.1.5/src/fast-dtoa.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(3 failures)
Installing build/Build/Products/Debug-iphonesimulator/Artisan.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/Artisan.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

I have reinstall Environment as well. please help me with this
Environment:
OS: macOS High Sierra 10.13.6
Node: 8.12.0
Yarn: 1.9.4
npm: 6.4.1
Watchman: 4.9.0
Xcode: Xcode 10.0 Build version 10A255
Android Studio: 3.1 AI-173.4720617
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.4 => 0.55.4


Part of UI widget dragged with sprite when moving camera

Tested versions

Reproducible in 4.2.1, 4.2.2-rc2, 4.3-dev5
Not reproducible when using Compatibility rendering

System information
Godot v4.2.1.stable - Windows 10.0.19045 - Vulkan (Mobile) - integrated Intel(R) HD Graphics 620 (Intel Corporation; <IP_ADDRESS>65) - Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz (4 Threads)
Issue description
A graphical element of the first UI widget on a CanvasLayer is dragged together with the underlying Sprite when the Camera2D is moved. Examples: when the element is a Button, its background is dragged away, when it's a Label, its first letter is dragged away.
Steps to reproduce

Create a Sprite, a CanvasLayer and a Camera2D
Put a UI element (a button, for example) on the CanvasLayer
Change the camera's position
Observe a part of the UI element "dragged away" together with the sprite

Minimal reproduction project (MRP)
godot-canvas-ui-trouble-0.0.1.zip

@AThousandShips This is not an editor issue, it's rendering-related. This happens in the game itself.

My bad, your use of "dragged" was confusing, as was "widget" :)

Thank you for reporting, consolidating in:

https://github.com/godotengine/godot/issues/58314


[SDK] Integrate shannon-sdk w/ Nodie's gateway-server

Objective
Integrate shannon-sdk into portal-middleware
Origin Document

The first independent iteration of the shannon-sdk is available here: https://github.com/pokt-network/shannon-sdk/pull/1
It's first usage in poktroll is found here: https://github.com/pokt-network/poktroll/pull/554
The first ieration of the documentation can be found here: https://dev.poktroll.com/develop/packages/sdk

Goals

Collect feedback on the new design of the Shannon SDK
Put the foundation in place for future iterations towards Shannon

Deliverables

[ ] Update https://github.com/pokt-network/gateway-server using shannon-sdk
[ ] Enable the usage of Shannon & Morse simulatenously
[ ] Test an E2E Relay
[ ] Come back with feedback on how the SDK should be updated or improved

General deliverables

[ ] Comments: Add/update TODOs and comments alongside the source code so it is easier to follow.
[ ] Testing: Add new tests (unit and/or E2E) to the test suite.
[ ] Makefile: Add new targets to the Makefile to make the new functionality easier to use.
[ ] Documentation: Update architectural or development READMEs; use mermaid diagrams where appropriate.

Creator: @Olshansk
Co-Owners: @red-0ne @studna

is this something I could take up independently @Olshansk ?

@wtfsayo This hasn't been started and definitely a great onboarding task.
Please share any feedback you have on the shannon SDK either here or on discord along the way!
Welcome aboard 🚢
cc @adshmh @red-0ne @fredteumer for visibility.

The team at Grove spoke w/ Nodies and agreed to deprecated gateway-server in exchange for doubling down on PATH.
Closing this out.


only index.html works.

I pulled the code at:
https://github.com/wildhaber/gohugo-amp.gohugohq.com
Then checked out the "develop" branch and kicked it off using "npm run go".
It runs, but only the first page works on localhost:1313
All other pages like "http://localhost:1313/install/" get a 404.
Not sure what i am doing wrong.... ??
Sorry about this. Must be something simple i am not getting ?
my make script:
LIB=github.com/wildhaber/gohugo-amp.gohugohq.com
LIB_FSPATH=$(GOPATH)/src/$(LIB)

## install on gopath and run
go get -u $(LIB)/...
cd $(LIB_FSPATH) && git checkout develop
cd $(LIB_FSPATH) && yarn install
cd $(LIB_FSPATH) && npm run go

output:

cd /Users/apple/workspace/go/src/github.com/wildhaber/gohugo-amp.gohugohq.com && npm run go

><EMAIL_ADDRESS>go /Users/apple/workspace/go/src/github.com/wildhaber/gohugo-amp.gohugohq.com
> npm run hugo:server

><EMAIL_ADDRESS>hugo:server /Users/apple/workspace/go/src/github.com/wildhaber/gohugo-amp.gohugohq.com
> hugo server --buildDrafts --buildFuture

                   | EN
+------------------+----+
  Pages            | 88
  Paginator pages  |  0
  Non-page files   |  0
  Static files     | 11
  Processed images |  0
  Aliases          |  0
  Sitemaps         |  1
  Cleaned          |  0

Total in 70 ms
Watching for changes in /Users/apple/workspace/go/src/github.com/wildhaber/gohugo-amp.gohugohq.com/{content,data,i18n,layouts,static,themes}
Watching for config changes in /Users/apple/workspace/go/src/github.com/wildhaber/gohugo-amp.gohugohq.com/config.toml
Environment: "development"
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:1313/ (bind address <IP_ADDRESS>)
Press Ctrl+C to stop

If anyone can help me out it would be great. Have tried everything I can think of.

@gedw99, I was having the same issue.
See https://GitHub.com/wildhaber/gohugo-amp.gohugohq.com/pull/11


Fix tempdb icon not showing on dev builds

The icon path was to the dist folder, but that's only generated as part of the full product build (through webpacking) - local dev compilation isn't webpacked.
There's no reason for the images to be in the source folder so just moving them to the top level is the simplest fix here.
Before:

After:

just to be safe, have you also tested the vsix scenario?

Yeah I'll verify that before merging in

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 48.278%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
14819

Relevant Lines:
29138

💛  - Coveralls


What python version will this run Girder as?

Issue meta-issue: Issues were not enabled on this repo. I had to enable them before I could create this one. Perhaps that will open the floodgate.
My real issue is what Python version will this run Girder as? It seems like from here it will run as whatever is the system Python3.
Is there a way this would not be true? If you pass in your own value for girder_virtualenv?
I think my confusion stems from this comment in the readme for girder_virtualenv:

Path to a Python virtual environment to install Girder in. Will be implicitly created if using Python 3.

Did this comment make more sense before there was a change to use system Python3 as a default? How should it be updated?
Overall I'd like to have the Readme clarify that system Python3 will be used as a default and have this comment be updated with whatever makes sense.

The documentation is correct, see this line: https://github.com/girder/ansible-role-girder/blob/master/defaults/main.yml#L8. If a virtualenv isn't specified, then one will be created using python 3 -m venv.


Module Not Found Error on Angular + Electron project

I'm installing a package from this GIT https://github.com/maximegris/angular-electron that is a starter project with Angular 10 + Electron 9.0
When I simple install you node-notifier with:
npm install --save node-notifier
And import this on my home.component.ts

import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { Notifier } from 'node-notifier';

@Component({
  selector: 'app-home',
  templateUrl: './home.component.html',
  styleUrls: ['./home.component.scss']
})
export class HomeComponent implements OnInit {

  constructor(private router: Router) { }

  ngOnInit(): void { }

  testeNotify() {
    setTimeout(() => {

      // String
      Notifier.notify('Message');

      // Object
      Notifier.notify({
        title: 'My notification',
        message: 'Hello, there!'
      });

And when I start my project it gives many errors like this:

ERROR in ./node_modules/node-notifier/lib/utils.js
Module not found: Error: Can't resolve 'child_process' in 'C:\xampp\htdocs\menap\menap_desktop\node_modules\node-notifier\lib'

ERROR in ./node_modules/growly/lib/gntp.js
Module not found: Error: Can't resolve 'crypto' in 'C:\xampp\htdocs\menap\menap_desktop\node_modules\growly\lib'

ERROR in ./node_modules/growly/lib/gntp.js
Module not found: Error: Can't resolve 'fs' in 'C:\xampp\htdocs\menap\menap_desktop\node_modules\growly\lib'

What I'm doing wrong?

I don't really know about the first problem because "child_process" is a native node js package.
Maybe a reinstall of you're node modules folder (just delete the whole folder and run npm i) could solve this problem.
It could also solve the problem with the other two (at least the last error because as far as I know "fs" is also a native package)


Better onboarding for Vscode users when extension installed

We should store the excalidraw file shown in the demo in the source code so it can easily updated as well.
Also would be great if we can link the sample .excalidraw file when the extension installed for better onboarding under the details section and user can click on it which will open up the file in editor.

Also @pomdtr suggested to show a notification to prompt the user for checking out the sample file as well when installed

The main issue I currently encounter is that I am not able to stop the user from overwriting the demo document.
Virtual Document do not seem to support custom editor, so I think I will need to add support for the untitled schema (also required for #21)

I think an alternative approach would be to use github.dev and codetour to provide an interactive tutorial :)

Even better, and native in vscode: https://code.visualstudio.com/api/references/contribution-points#contributes.walkthroughs

Even better, and native in vscode: https://code.visualstudio.com/api/references/contribution-points#contributes.walkthroughs

This looks good! We can try this


test: unify brc-20 parsing tests

:tada: This PR is included in version 3.0.2-beta.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 3.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Enable pedantic? abort

This allows the plugin to be used in projects that also use :pedantic? :abort.
Fixes https://github.com/clojure-lsp/lein-clojure-lsp/issues/7

Thank you!


Implement notification badge number on app icon for android

It works for iOS but not for android yet.
Related discussion:
https://github.com/raix/push/issues/177#issuecomment-178038161

Duplicate of #190


Remove excessive logging.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

R: @ruwang may be a candidate for a cherry-pick

Run PythonLint PreCommit

Run Python PreCommit

Run Python PreCommit

Could not install packages due to an EnvironmentError: [Errno 28] No space left on device
This should be a very safe commit.

Run PythonLint PreCommit

This PR didn't pass the python link test:
> Task :sdks:python:test-suites:tox:py2:lint
19:40:15
19:40:15 FAILURE: Build failed with an exception.
19:40:15
19:40:15 * What went wrong:
19:40:15 Execution failed for task ':sdks:python:test-suites:tox:py37:lintPy37'.
19:40:15 > Process 'command 'sh'' finished with non-zero exit value 1

is this failure expected?

That lint error was pre-existing.


adding atmel boards

This adds many other atmel boards.
I generated this list using a script like this in the ports/atmel-samd/ dir inside circuitpython repo.
import os

for device_dir in os.listdir("boards"):
    if "." not in device_dir:
        f = open("boards/{}/mpconfigboard.h".format(device_dir))
        first_6_lines = f.read().split("\n")[:6]
        f.close()
        device_name = None
        mcu_name = None
        #print("working {}".format(device_dir))
        for line in first_6_lines:
            if "MICROPY_HW_BOARD_NAME" in line:
                device_name = line.replace("#define MICROPY_HW_BOARD_NAME ","").replace('"', "")
                #print(device_name)
            if "MICROPY_HW_MCU_NAME" in line:
                mcu_name = line.split(" ")[2].replace('"', "")

        #print("{} with {}".format(device_name, mcu_name))
        bout_out_name = "{} with {}".format(device_name, mcu_name)
        print('"{}": "{}",'.format(bout_out_name, device_dir))

I have not tested all of these. The two that you had done by hand matched perfectly the ones that were outputted by my script. I'll test on a handful of devices that I have access to today.
One potential issue is that this device seems to have two variants that both have the exact same boot_out.txt value so we would n't be able to distinguish them.
    #"SparkFun Qwiic Micro with samd21e18": "sparkfun_qwiic_micro_no_flash",
    #"SparkFun Qwiic Micro with samd21e18": "sparkfun_qwiic_micro_with_flash",

I've also added some more of the expected boot drive names as well. These were generated using this script:
import os
boot_names = []
for dir in os.listdir("boards"):
    f = open("boards/{}/board_config.h".format(dir), "r")
    config_file_contents = f.read()
    f.close()
    for line in config_file_contents.split("\n"):
        if line.startswith("#define VOLUME_LABEL "):
            boot_name = line.replace("#define VOLUME_LABEL ", "").replace('"', "")
            if boot_name not in boot_names:
                boot_names.append(boot_name)
            break

print(boot_names)

inside of the root of this repo: https://github.com/adafruit/uf2-samdx1
There are similar repos for the other main chips bootloaders as well that could be imported similarly.

As for the collision in the namespaces, I intended the --board option to help with that if needed. But yeah, this is probably something worthy of a broader philosophical conversation with the CircuitPython team.

In general this needs to be a bit more maintainable. That is, we should probably put all of this junk in a completely separate downloadable file instead of putting it in the code. That way you don't have to update the utility every time there's a change.

The board change in PR #2 caused a conflict, do you mind fixing it for me? I am going to test the other code on Windows right now.

In general this needs to be a bit more maintainable. That is, we should probably put all of this junk in a completely separate downloadable file instead of putting it in the code. That way you don't have to update the utility every time there's a change.

Agree'd. What do you think about keeping it in a JSON file that we can load from?
Maybe down the line we can incorporate the scripts that generate those lists into this project as well so it will have an easy way to update.

Agree'd. What do you think about keeping it in a JSON file that we can load from?
Maybe down the line we can incorporate the scripts that generate those lists into this project as well so it will have an easy way to update.

Amen. I think that a supporting scripts folder is perfectly reasonable and warranted, starting with the snippets you already did.


King's Field Still Stuck on 1.4.5

Before opening this kind of issue, please ensure:

Are you using a compatible console version? Yes
Are you using CD-R media, and not CD-RW? Yes
Did you copy all the files in the expected format to the memory card? Yes

tonyhax version: 1.4.5
Installation method: Copied files from USB to MC via PS2 running freeMCboot
Entry point game: Tony Hawk's Pro Skater 3 (PAL - SLES-03645)
Console model: SCPH-102
Integrity check: Yes, it suceeds
BIOS version: 4.4 03/24/00 E
Target game: King's Field (JP) (English Patched) (Save Fix) (SLPS-00017)
Bug explanation:
Game still gets stuck on "starting" as per issue #113 . Every care taken to ensure it's not an issue my end, including trying another disc and burning as slow as I can.

Yes this hasn't been fixed in the original tonyhax yet. Tonyhax international has a fix and it works in the latest version, socram8888 has been busy unfortunately and hasn't fixed it yet.

Closing as a duplicate of #153.
The reason I have not fixed it is that I want to eventually, when I finally have some free time, partially decompile (for the third time) the original BIOS, see the executables really start (ie if they do use DoExecute or another different system call), and why the executable header needs to be modified when calling via DoExecute.


typeMapping does no import types to graphql schema

Since we are new to the codegen project (not to DGS itself) i'am trying to first state my motivation (not that it is an issue of expectations here).
My motivation is, that i have Java Types (mostly DTO's and Enums) which are used outside of GraphQL / DGS too, thus those are defined in the java project itself. That said, i want to use those types in GraphQL without redefining them (especially an issue for enums). So basically, generated graphql types from java types (dry DTOs and Enums).
For that we expected that using typeMapping would import / declare a java type for graphql, so for example for Enums it will create a EnumTypeDefinition which is then used by the graphql validator.
This seems not to work right now.
Steps to reproduce
type Query {
   appleKinds: `ApplesKindsDTO`
}

And now the java types
package
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ApplesKindsDTO {
   List<AppleKind> kinds;
}

And the enum
public enum AppleKind {
  PinkLady,
  SquareOnes,
  TriangleOnes
}

Finally we configure those types to be mapped
typeMapping = [
  "ApplesKindsDTO": "org.example.dto.ApplesKindsDTO",
  "AppleKind": "org.example.AppleKind"
]

Now when just running/smoke testing the application, the DGS validation will fail with
Caused by: SchemaProblem{errors=[The field type 'ApplesKindsDTO' is not present when resolving type 'ApplesKindsDTO' [@1:1]]}
	at graphql.schema.idl.SchemaGenerator.makeExecutableSchema(SchemaGenerator.java:82)
	at com.apollographql.federation.graphqljava.Federation.transform(Federation.java:50)
	at com.netflix.graphql.dgs.internal.DgsSchemaProvider.schema(DgsSchemaProvider.kt:145)
	at com.netflix.graphql.dgs.autoconfig.DgsAutoConfiguration.schema(DgsAutoConfiguration.kt:192)

The type mapping is used to specify the graphql type (as defined in the schema) to map to corresponding Java type. In teh example you provided, "ApplesKindsDTO" is a java type, and is not in your schema.
Note that codegen generates POJOs based on the types in the graphQL schema, so you will need that.

thank you @srinivasankavitha for re-approving that we mis-understood codegen and actually had to learn that we need to integrate a code 2 schema library for types in our project in addition to DGS, since DGS is schema 2 code.
Thank you for helping out!


Lengthy dataloader restoration with NLP datasets

In trainer._train_loop getting the dataloaders back to the proper minibatch index is very time consuming when using giant NLP datasets (e.g., for training BERT). The dataset is so large that normal training only requires 1 epoch.
Perhaps we can get the same functionality as the below lines of code without having to cycle through a potentially huge amount of data?
for batch_idx, self.state.batch in enumerate(self._iter_dataloader()):

    # if resuming, skip dataloader forward to the minibatch index
    if batch_idx < int(self.state.timestamp.batch_in_epoch):
        # Restore the RNG state immediately before the next batch is yielded from the dataloader
        if batch_idx + 1 == int(self.state.timestamp.batch_in_epoch) and self._rng_state is not None:
            reproducibility.load_rng_state(self._rng_state)
            self._rng_state = None
        continue

The fast-fowarding behavior is required for CV, since it needs to replay the random augmentations to set the RNG state properly. We could add in a specific shortcut for NLP to our streaming dataloader, but without the reproducibility guarantees if your dataloader has any RNG-invocation.

Closing since this isn't really something we can fix in Composer -- it's a fundamental dataloader problem. I hear https://github.com/mosaicml/streaming will have instantaneous mid epoch resumption soon though O_O


Fixed the bug with bug report issue template

New Pull Request

:pencil: What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
docs update (bug report template)
:pencil: What is the current behavior? (You can also link to an open issue here)
usage of wrong link
:pencil: What is the new behavior (if this is a feature change)?
changed it to correct link to code_of_conduct.md
:pencil: Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No

:white_check_mark: Check List (Check all the applicable boxes)

[x] I have read CONTRIBUTING.md
[x] I have followed the CODE OF CONDUCT
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] I have done git pull before adding my new changes
[x] The title of my pull request is a short description of the requested changes.

:pencil: Other Issues :
:scroll: Screenshots (If Applicable)

Original :
Updated :

Issue #41


fix(chaincode): fix linting as per ESLint configuration

Fixed the linting as per the ESLint configuration added in by #295. The output of running npm run lint is given below.

No errors are thrown after running the lint script.
Fixes #296.

@hs2361 thanks for your PR.
Could you take care of the LGTM analysis, please?
I don't have time to review this PR before next Monday.
@knagware9 @sichen1234 or @Zzocker do you have time to review this PR? This would be awesome :)

I also noticed that running the lint script in the typescript_app directory was failing with 14 errors. I'll fix the linting in that folder as well as part of this PR.


There is no  TZImagePickerController.framework in bundle

Description says,

Copy TZImagePickerController.framework to your Framework folder.
Add TZImagePickerController.framework to your Framework group and Embedded Binaries section in Target->General .

But there is no such bundle available inside node-module -> react-native-multiple-image-picker. Although there is this folder,  named TZImagePickerController and I converted it into a framework (by adding .framework at the end) but it didn't work. It throws following errors:
Showing Recent Errors Only
No such file or directory: '/Work/Arpit/MESSales/mesmobile/node_modules/react-native-multiple-image-picker/ios/TZImagePickerController/TZImagePickerController/TZImagePickerController/TZPhotoPreviewCell.m'
No input files
CompileC /Users/technologies33/Library/Developer/Xcode/DerivedData/mesmobile-aqyjedpwgagpbmdkxfjeuhvbslvf/Build/Intermediates.noindex/RCTMultipleImagePicker.build/Debug-iphoneos/RCTMultipleImagePicker.build/Objects-normal/arm64/TZImagePickerController.o TZImagePickerController/TZImagePickerController/TZImagePickerController/TZImagePickerController.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Work/Arpit/MESSales/mesmobile/node_modules/react-native-multiple-image-picker/ios
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch arm64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/technologies33/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/technologies33/Library/Developer/Xcode/DerivedData/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=8.0 -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -fembed-bitcode-marker -index-store-path /Users/technologies33/Library/Developer/Xcode/DerivedData/mesmobile-aqyjedpwgagpbmdkxfjeuhvbslvf/Index/DataStore -iquote /Users/technologies33/Library/Developer/Xcode/DerivedData/mesmobile-aqyjedpwgagpbmdkxfjeuhvbslvf/Build/Intermediates.noindex/RCTMultipleImagePicker.build/Debug-iphoneos/RCTMultipleImagePicker.build/RCTMultipleImagePicker-generated-files.hmap -I/Users/technologies33/Library/Developer/Xcode/DerivedData/mesmobile-aqyjedpwgagpbmdkxfjeuhvbslvf/Build/Intermediates.noindex/RCTMultipleImagePicker.build/Debug-iphoneos/RCTMultipleImagePicker.build/RCTMultipleImagePicker-own-target-headers.hmap -I/Users/technologies33/Library/Developer/Xcode/DerivedData/mesmobile-aqyjedpwgagpbmdkxfjeuhvbslvf/Build/Intermediates.noindex/RCTMultipleImagePicker.build/Debug-iphoneos/RCTMultipleImagePicker.build/RCTMultipleImagePicker-all-target-headers.hmap -iquote /Users/technologies33/Library/Developer/Xcode/DerivedData/mesmobile-aqyjedpwgagpbmdkxfjeuhvbslvf/Build/Intermediates.noindex/RCTMultipleImagePicker.build/Debug-iphoneos/RCTMultipleImagePicker.build/RCTMultipleImagePicker-project-headers.hmap -I/Users/technologies33/Library/Developer/Xcode/DerivedData/mesmobile-aqyjedpwgagpbmdkxfjeuhvbslvf/Build/Products/Debug-iphoneos/include -I/Work/Arpit/MESSales/mesmobile/node_modules/react-native-multiple-image-picker/ios/../node_modules/react-native/React -I/Work/Arpit/MESSales/mesmobile/node_modules/react-native-multiple-image-picker/ios/../../react-native/React -I/Work/Arpit/MESSales/mesmobile/node_modules/react-native-multiple-image-picker/ios/../../node_modules/react-native/React -I/Work/Arpit/MESSales/mesmobile/node_modules/react-native-multiple-image-picker/ios/../Example/node_modules/react-native/React/** -I/Users/technologies33/Library/Developer/Xcode/DerivedData/mesmobile-aqyjedpwgagpbmdkxfjeuhvbslvf/Build/Intermediates.noindex/RCTMultipleImagePicker.build/Debug-iphoneos/RCTMultipleImagePicker.build/DerivedSources/arm64 -I/Users/technologies33/Library/Developer/Xcode/DerivedData/mesmobile-aqyjedpwgagpbmdkxfjeuhvbslvf/Build/Intermediates.noindex/RCTMultipleImagePicker.build/Debug-iphoneos/RCTMultipleImagePicker.build/DerivedSources -F/Users/technologies33/Library/Developer/Xcode/DerivedData/mesmobile-aqyjedpwgagpbmdkxfjeuhvbslvf/Build/Products/Debug-iphoneos -MMD -MT dependencies -MF /Users/technologies33/Library/Developer/Xcode/DerivedData/mesmobile-aqyjedpwgagpbmdkxfjeuhvbslvf/Build/Intermediates.noindex/RCTMultipleImagePicker.build/Debug-iphoneos/RCTMultipleImagePicker.build/Objects-normal/arm64/TZImagePickerController.d --serialize-diagnostics /Users/technologies33/Library/Developer/Xcode/DerivedData/mesmobile-aqyjedpwgagpbmdkxfjeuhvbslvf/Build/Intermediates.noindex/RCTMultipleImagePicker.build/Debug-iphoneos/RCTMultipleImagePicker.build/Objects-normal/arm64/TZImagePickerController.dia -c /Work/Arpit/MESSales/mesmobile/node_modules/react-native-multiple-image-picker/ios/TZImagePickerController/TZImagePickerController/TZImagePickerController/TZImagePickerController.m -o /Users/technologies33/Library/Developer/Xcode/DerivedData/mesmobile-aqyjedpwgagpbmdkxfjeuhvbslvf/Build/Intermediates.noindex/RCTMultipleImagePicker.build/Debug-iphoneos/RCTMultipleImagePicker.build/Objects-normal/arm64/TZImagePickerController.o
clang: error: no such file or directory: '/Work/Arpit/MESSales/mesmobile/node_modules/react-native-multiple-image-picker/ios/TZImagePickerController/TZImagePickerController/TZImagePickerController/TZImagePickerController.m'
clang: error: no input files

https://github.com/liaoyuan-io/react-native-multiple-image-picker/tree/18261397342ac74376c45fa18dcfc4940b933034/ios/TZImagePickerController.framework
This is the framework.
Let me check why you don't have this in module folder. The npm module is possibly out-dated.

Hi @rptwsthi ,
I've published the module to npm again. Now you can install the updated v0.7.2 from npm. Thanks for your feedback.
I will close this issue for now. If you have any other questions, please reopen it.


Modeling PFAM domain

From @jjgao on October 17, 2016 15:28

[x] Build Java code to connect to BioMart to get domain coordinates
[x] Data model of PFAM data in Genome Nexus

Copied from original issue: cBioPortal/cbioportal#1813

@n1zea144 and @jjgao discussed: Maybe PFAM data can be separate just like PDB data. But later integrated into the Genome-Nexus web service (?).

PFAM model from BioMart is introduced with #62


manylinux1 and platform-specific capabilities conflict

We have a hack in place that allows us to install Starforge in our manylinux1 docker images because Starforge currently depends on a fork of wheel to build platform-specific wheels (which is unwanted for manylinux1 wheels).
Since we probably don't need to build platform-specific wheels going forward (but maybe should not drop support for them entirely), Starforge should support these concurrently. The changes in the wheel fork can be spun into a separate library to accomplish this.

Am I wrong in the assumption that starforge is not using the latest starforge when creating PR?
This commit is not in: https://github.com/galaxyproject/starforge/commit/0dbecb79e28baecb62546b629cae9dbebf46df19

Probably true, the image build process on the build server right now is a manual process. =(
Let's get rid of the wheel fork so we can easily automate updating the build environment.

One clarification - the starforge/manylinux1* images should include that commit. The pure python image may not.


Refactor css files

Creates an app.scss which imports from index.scss. Moves scss files into css directory.

(Filed #357: Not sure this is finally settled in my head, but for now, this is good.)


After running multiple times, OSError too many files open

Do you have an idea what to do about it?

Can you provide a code to reproduce the error?

Just create and run the EvolutionarySearchCV multiple times, speeds up with more jobs.


Rule will be ignored if rule name is duplicate

one rule will be ignored if it has a duplicad name, then why not set the name parameter is necessary ?

The author has stopped enhance this framework.

How is that possible?
defining-rules
Name: a unique rule name within a rules namespace


Bitbar raised some critical problems to my Macbook pro

After using the plugins named Cryptocurrency, download from this site, some problems show up suddenly.

The desktop background becomes black suddenly.
I cannot switch applications by command + tab.
Dock disappears even though I turn off and then turn on inside the System Preferences.
All gestures on the trackpad become useless.

My system is macOS 10.15.2
Download the bitbar from the site
Some solution has been tried after uninstalling bitbar:

Restart the computer
Log out the user and re-log on

Which crypto plugin exactly did you use?
Have you run other plugins ok before?
No plugin would affect the things you've described. But I'm happy to troubleshoot

Maybe all plugins inside the folder, because I switched those plugins by changing the plugins folder directly.
I tried some plugins before, such as Network, Finance, and Tools. By the way, these three plugins worked fine and very useful. I switched those plugins by changing the plugins folder directly.

I just update my system to macOS 10.15.3. However, those bugs happened on my computer do not be solved by updating.

Delete the file desktoppicture.db located in ~/Library/Application Support/Dock/. The computer will create a new one.
This site helps me fix all the problems I asked temporally. Maybe some potential bugs will come up. So far so good for me.

Congrats on finding your solution!
Hopefully you see that the problem and solution were nothing to do with BitBar?


vCpu Bug

Ok so I have been talking to twitter support about this bug this bug consist of me creating a virtual machine that failed after failing I decide to delete it because even after redeployment it failed bare in mind it was NOT created. So after that I went to create a new one then it said I used all my vcpu's and in case you are wondering yes I have tried to create a ticket but there isn't much bugs issue or problem types. Twitter support sent me here.

Hello @RomDaBoss Thanks for reaching out to us!.
Could you please let us know the exact MS Document link to which you have referred? I need to add the metadata so that we triage this issue as soon as possible. Thanks for your understanding.

Since we didn't receive any response, we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.
Please also do visit Microsoft Q&A the home for technical questions and answers at Microsoft.


Enable c-ares by default in the build

A MiniBrowser build with c-ares doesn’t want to show any content. I haven’t dug into it but we shouldn’t merge till it’s sorted out.


chore: add theme folder method

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


How to multiple wav audio files in to single audio file.

Hi,

I have multiple audio tracks like background music, a song without background music. those are in .wav format. How to merge the two songs into a single song... like a song with background music.

I have multiple audio tracks like background music, a song without background music. one is in .wav format and another is in .m4a format . How to merge the two songs into a single song... like a song with background music.

Please give suggestion

Use AKMixer to mix different players into one as demonstrated here:
https://audiokit.io/playgrounds/Basics/Mixing Nodes/
This is not an issue with AudioKit, so I am closing it.

HI,
Thank you for the reply and support. From the suggested link, I understand that by using the AKMixer we can play the multiple audio tracks into one audio. I want to save the final track(i.e AKMixer final output i.e All audios into one track) in the local storage.
Please give suggestions
Thank you


Magics prevent plots rendering in notebook which is confusing

Hi
It took me a little while to figure out it is necessary to comment out the magics below in order for the plots to render in the notebook, you might consider removing them?
#%%capture --no-stderr
dash = TrainValRecordsComparison(test_train_records, test_valid_records, test_class_map)
dash.show()

Hey
I put them in place to avoid the output leaking into the repo. The output changes the file size by some MB. For example, the dashboard notebook is  38.6 KB without the output and 1.81 MB with the ouput. If the output changes due to new features or something else it would cause the repo to bloat very fast, which is something I would like to avoid. Therefore, I capture the output.
But I think it would be good to add an note to the readme file.


B 2 testing

What's this PR do?
This branch merges in testing for the backend ensuring the correct API endpoints are available for a user's info (email, address, description, image, deliveryDate NOTE: profile-photo-rebase originally pulled in some of these changes prior to merge)
Where should the reviewer start?
migrations/user.js - highlights the new attribute added in all files
How should this be manually tested?
No
Any background context you want to provide?
The use is now able to update their email, address, description, image, deliveryDate in the database
What are the relevant tickets?
#43  #45 #46
Screenshots (if appropriate)
Questions:
Things to do after pulling down main:
run npm db:reset (to drop, create, migrate and reseed database)
run npm test:reset (only applicable if you want to run tests - need to make sure your testing environment is already configured)

Looks good here


PoolableSession class abstracted from Http1ServerSession

Refactor inheritance to: Http1ServerSession ->  PoolableSession ->  ProxySession.
Also updated session_id.test.py to account for outbound sessions using the same id generator as inbound.

x -> d

[approve ci autest]

[approve ci autest]

rebased to master

[approve ci clang-analyzer]

[approve ci autest]

Can you explain why the session IDs are different? Are they now unique across more contexts than they were before?
@bneradt

Yes. before inbound and outbount had seperate id counters, now they use the same atomic counter to generate connection ids.

Can you explain why the session IDs are different? Are they now unique across more contexts than they were before?
@bneradt

Yes. before inbound and outbount had seperate id counters, now they use the same atomic counter to generate connection ids.


Send custom commands

hello
is there a way to send custom commands?  I'd like to be able to turn off / turn on a srg-x400.

I have added the on/off function. The dev needs to merge my pull request.


fix circleci and golangci-lint

@ada-u Hi, ada-u😄 I'm not in a hurry,,, but may I ask for a review?
ci is succeeded(https://app.circleci.com/pipelines/github/chatwork/sendgrid-stats-exporter/89/workflows/13db6982-019a-4464-8448-7cd74d28d867) but status is not changing, do you know why?

@cw-sakamoto Hello! Thanks for letting me know, I will check it. ✔

📝 I forked this repo and raised PRs from the same branch.
A. ada-u:fix_circleci_adachang -> chatwork:main (https://github.com/chatwork/sendgrid-stats-exporter/pull/24)
B. ada-u:fix_circleci_adachang -> ada-u:main (https://github.com/ada-u/sendgrid-stats-exporter/pull/1)
Hypothesis?

Since we can see the CI status on B, so I think this issue may be caused by some of repo's settings.  (but I couldn't find any CI-related settings in my repos. 🤔)

CircleCI seems to be suspending, but it doesn't match our situation. (https://status.circleci.com/incidents/f69gd0w5rvgk?u=gfgr07mgrrl3)

@cw-sakamoto Can you confirm that the webhook has been received? 🙏
https://support.circleci.com/hc/en-us/articles/360021511153-How-to-view-your-GitHub-webhook-deliveries?auth_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50X2lkIjo4MjgyMDksInVzZXJfaWQiOm51bGwsInRpY2tldF9pZCI6MTEwMzgxLCJkZWZsZWN0aW9uX2lkIjo2MTcxNTY4MzU5MDY3LCJhcnRpY2xlcyI6WzM2MDAyMTUxMTE1MywzNjAwNDQzOTU5NTMsMTE1MDEzMzUzNzQ4XSwidG9rZW4iOm51bGwsImV4cCI6MTY1NjA2MjkzNn0._6DC1OvUmpoBVftwj0VdhkgXymhk89Y5JTOmYQgPmU4

@hayasshi Thanks, that might be helpful! :cw-dance:

I tried the following at CircleCI.

Stop building this repos project.
Setup building this repos project.
Fixed it!

Amazing power of "resting" the project.

I also enabled "Build forked pull requests" in the CircleCI project settings.

@ada-u @hayasshi
thank you for your help🥰


Do we any plans to support a specific type instead of a general one?

Not for now. Welcome to fork & make changes & send PR :)


Using block.super with multi-level inheritance

From template-base.stencil:
{% block additional-head %}{% endblock %}

From template-main.stencil:
{% extends "template-base.stencil" %}

{% block additional-head %}
(some additional CSS styles)
{% endblock %}

From page.stencil:
{% extends "template-main.stencil" %}

{% block additional-head %}
    {{ block.super }}
    (even more CSS styles)
{% endblock %}

Here block.super does not include anything. It's as if it includes the content from template-base.stencil instead of its immediate parent template-main.stencil. I have used block.super before, but never with multiple levels of inheritance.
Is this a bug, or is this simply not supported?

What exactly does this fix do? Should my example code now work, or is this not the right way of achieving this result?

It should fix the issue you described, now when doing {{ block.super }} you should get the block of template you extend from, before that base template was always used due to some implementation details.


Austrian background imagery: use basemap.at instead of Geoimage.at

Dear iD-Team.
I would recommend to use basemap.at (maptype "Orthofoto") Imagery instead of the former Geoimage.at for Austria. For general information about this map, have a look at http://basemap.at/index_en.html
Both are from the same organisation (geoland.at) with the same licensing when using in Openstreetmap. By the way, we already use basemap.at within iD (maptype "Standard", so maybe you should change its name within iD's background map list to "basemap.at Standard")
Basemap.at is the latest, newest free mapping portal of Austrian federal states. It is kind of successor of the former geoland.at WMS-service. Even if the most of the Imagery is the same within both services, the ones of basemap.at are of better image-quality (JPEG-compression, brightness...), in some areas newer (e.g. Vienna), and have less image-artefacts (like zig-zag lines at a straight edge of a building).
The Tilemap-URL template is:
http://maps{s}.wien.gv.at/basemap/bmaporthofoto30cm/normal/google3857/{z}/{y}/{x}.jpeg
where {s} could be 1,2,3,4
Maxzoom level=19

iD doesn't have an imagery list, it pulls from https://github.com/osmlab/editor-imagery-index

I see. Should I open the same issue there?

@wernerschka: Yes, please!


Local environment freezes when navigating

What is the location of your example repository?
No response
Which package or tool is having this issue?
CLI
What version of that package or tool are you using?
7.0.0
What version of Remix are you using?
2.5.1
Steps to Reproduce

Create a new clean local environment on skeleton template, using npm create @shopify/hydrogen@latest
Run the environment using npm run dev
Open the local website, then navigate through the website many times, clicking on collections, products, changing their variants, using the search or adding to cart.

Expected Behavior
Environment never freezes.
Actual Behavior
At some point while navigating the environment freezes - a request never finishes. The URL changes can be seen, but content of the page never changes, and it cannot be refreshed (loading forever). The only thing to help is to quit and rerun npm run dev. There aren't any errors in the console, and I was unable to find any logs that would indicate a reason.
More details:

This issue only happens on workers-based local environment. Using legacy-runtime parameter fixes it.
The fastest way I found to trigger this is to navigate through collections and products a bit and then use the search a few times, or add to cart a few times.
I did not manage to reproduce this on the demo store template - there everything seems to work fine, no matter how many times I navigate or do complex actions like changing filters etc.

@rokcetfuel @mwshepherd What OS are you using?
I've done like 300 sub-sequent requests in the product page several times and didn't find the issue. However another time I think I saw the issue with just ~20 requests or so 🤔
It makes me think it's something related to cache timing but I can't be sure without a reliable way to reproduce it :/
If you know an easier way to reproduce it, please let us know.

Question is, how is this going to affect deployments to Oxygen in production? Would be great to get some more info around this from Shopify

This has nothing to do with Oxygen deployments, afaik.


Update crashing caused by regex gone wrong

This code is already less than ideal in that it assumes the projectURL contains standardhealthrecord.org -- and in projects where it doesn't contain it, it won't properly swap out the value set URL with the value set alias.

That said, the code really should be updated to do the desired swap-out using the actual configured projectURL (and without crashing).


Add "next greater element"

I want to add the new program of "next greater element" in the stack directory of your project.
I want to make this contribution under hacktoberfest'22.
Question link : https://leetcode.com/problems/next-greater-element-ii/description/

sure I'm assigning it to you


[BugFix] Fix BE schema scan node data distribution

What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes:

Fixes #23306
Problem Summary(Required):

This PR fixes aggregation on BE schema tables.
Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[x] 2.5
[x] 2.4
[x] 2.3

[FE PR Coverage Check]
:heart_eyes: pass : 3 / 3 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/OutputPropertyDeriver.java
3
3
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 3 / 3 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/OutputPropertyDeriver.java
3
3
100.00%
[]

@Mergifyio backport branch-3.0

@Mergifyio backport branch-2.5

@Mergifyio backport branch-2.4

@Mergifyio backport branch-2.3


[wip] update landscaper version

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

/hold


macOs update backtrace api.

r? @Amanieu
(rust-highfive has picked a reviewer for you, use r? to override)

@bors r+

:pushpin: Commit 6cce830b96348971c4d3e3c5df21242e4dbade75 has been approved by Amanieu

:hourglass: Testing commit 6cce830b96348971c4d3e3c5df21242e4dbade75 with merge 5617b46596c38e5a8ab7124c9839048e1f054235...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: Amanieu
Pushing 5617b46596c38e5a8ab7124c9839048e1f054235 to master...


WIP: Investigate using CFFI's API mode

This is an experiment to find out if switching to API mode is feasible.
It probably only makes sense if all of those items are fulfilled:

[x] works on Linux
[ ] works on macOS
[ ] works on Windows
[ ] automatic wheel generation for manylinux 32/64-bit (travis-ci?)
[ ] automatic wheel generation for macOS 64-bit (travis-ci?)
[ ] automatic wheel generation for Windows 32/64-bit (appveyor?)
[ ] all of the above again, just this time with PyPy
[ ] Debian package (and in turn package for Raspberry Pi)

This could give some inspiration for travis-ci and appveyor: https://github.com/pygame/pygame
They also build ALSA manually on manylinux.

hmm so what inspired you to change your mind? What do you really get from having a compiled soundfile module?

I didn't change my mind. As before, I still think a compiled module is an option, and I'm still not sure if it's a good idea.
I just wanted to explore this a little more and see how it would look like.

What do you really get from having a compiled soundfile module?

I'm not sure. I would hope for less problems with broken libraries the user has already installed.
Also, it would allow to include the RingBuffer directly into the sounddevice module.
And if it's compiled anyway, I could probably implement sd.play()/sd.rec()/sd.playrec() with a callback implemented in C, making them more robust.
The downside would be (apart from the hassle of setting the whole thing up) that a lot of wheels would have to be created, albeit automatically.
Either way, whatever I learn here, I can and will probably use for https://github.com/mgeier/python-rtmixer/, where ABI mode isn't even an option.

Here is an example where artifacts for Windows are created (and provided for download) by appveyor:
https://github.com/metabrainz/picard/blob/master/appveyor.yml

The downside would be (apart from the hassle of setting the whole thing up) that a lot of wheels would have to be created, albeit automatically.

If there is any interest in coming back to this, cibuildwheel wasn't too bad to get working over on VisPy for wheel building and PyPi deployment.
I'm happy to help work on this, especially if it means that python-rtmixer's low-jitter features could eventually live in python-sounddevice directly. Not sure whether or not that was the plan...

If there is any interest in coming back to this

I'm not sure for the sounddevice module. I think it is a great advantage that it can be installed without needing a compiler. This can be helpful on "exotic" hardware (assuming they have a pre-compiled PortAudio library) and on alternative Python interpreters.
And I'm actually not really sure about the advantages of switching from ABI to API mode.
Ideally, I'd like to support both, but I'm not sure if that's possible without extreme contortions.

I'm happy to help work on this

It would be great to have auto-generated wheels for https://github.com/spatialaudio/python-rtmixer!
A pull request would be very welcome. And please let me know when I need to set up an Azure account or whatever for that.

especially if it means that python-rtmixer's low-jitter features could eventually live in python-sounddevice directly. Not sure whether or not that was the plan...

I'm not sure either. But I'm open for suggestions and discussions.
But why would you need a combination of both?
Is there something you cannot do with python-rtmixer?

But why would you need a combination of both?
Is there something you cannot do with python-rtmixer?

No, python-rtmixer does what I need (except for the jitter on Windows :) ). But in theory having the rtmixer functionality built into python-sounddevice, rather in a separate package, could help with performance, adoption, maybe other things. But it's not so critical.

But in theory having the rtmixer functionality built into python-sounddevice, rather in a separate package, could help with performance, adoption, maybe other things.

Combining them would mean that the sounddevice module cannot be installed anymore without a compiler (on a system for which no pre-compiled wheel package is available).
I think this would actually be hurtful for adoption, or am I missing something?
As for performance, I don't really know if that's true. Did you try it? Does the performance improve when using API mode?

But it's not so critical.

I guess not. But either way, the python-rtmixer project is still kind of work-in-progress. It would have to mature quite a bit until a "fusion" with the sounddevice module could be seriously considered.

Combining them would mean that the sounddevice module cannot be installed anymore without a compiler (on a system for which no pre-compiled wheel package is available).
I think this would actually be hurtful for adoption, or am I missing something?

At this point I mostly consider this a solved problem with wheels. You set up wheel builds for all standard platforms (Linux, Windows, macOS) and then you're good to go. But if there are more exotic platforms you're trying to support (Raspberry Pi?) then indeed it doesn't make sense.

As for performance, I don't really know if that's true. Did you try it? Does the performance improve when using API mode?

Haven't tried

But either way, the python-rtmixer project is still kind of work-in-progress. It would have to mature quite a bit until a "fusion" with the sounddevice module could be seriously considered.

Fair enough!

But if there are more exotic platforms you're trying to support (Raspberry Pi?) then indeed it doesn't make sense.

I don't know any numbers but according to some issues here and some questions on stackoverflow there are at least some Raspberry Pi users interested in this.
I'm not explicitly supporting it (because I cannot test it myself), but I think it is nice if it does work.


expose wasm asset id generation

this allows a caller to convert from an altBaseDenom string to the binary asset id, by using the core class's acceptance of altBaseDenom as hash input

Can you give context on where this is needed?


issue  whit only two slides

when in my sliderPro i have only two  'sp-slide' and i try to slide on the left side tha slide in not duplicated and i have empity space

Same here, when using the "touch/swipe", but doesn't really slide, it move but because there isn't any image, it doesn't "jump" to the position.
Im also using the slider to display "unknown" galleries, sometimes people send only one image. I could disable the slider, but I would prefer to prevent the slide when there is only one image but still displaying the slider (like for adding dynamic elements in it).

I wonder why I have empty white space when swipe or use rhe arrow to slide the banner.
It was because I have 2 banner.

To fix this issue, set loop to false (default is true).
This will solve issue of one or two slide.

Nice workaround, thanks I will test that ;)

That's the solution that I would propose as well.
Cheers.


kite-http.exe considered malicious

kite-http.exe is being detected/alerted up by endpoint protection. Search of the exe's hash in virustotal shows a few scanners saying it's malicious.
https://www.virustotal.com/gui/file/939f2aa2350659e586f0c14848906a15a1ee2260d50ce2a095e753f8b6f72d89/detection

Yeah sentinel1 picks it up, too.


Bookmarked query follow other plugin and images

visualize any plugin result
do a query to find something
add it to bookmarks
switch plugin result, selecting another one
the search fields remain populated with previous bookmarked query

This doesn't happen doing queries, it happens after bookmarking the query.
Workaround is remove the query from url.

fixed in https://github.com/LDO-CERT/orochi/commit/8adb4c282b8786d902fa17f9f325779ad7b0bab8


Create a login module

Summary
Create a login module
Possible implementation
Flutter Slidy e Modular - Flutterando
Minimum TODO list

[x] Add unit tests
[x] Leave campground better than found (refactor)
[x] Update CHANGELOG.md after completion

merged with test coverage decreased


⚠ SceneTime has degraded performance

In 3ee140f, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1574 ms

Resolved: SceneTime performance has improved in 8d6622f after 5 minutes.


Numpy installation fails to pass a sanity check due to a bug in the windows runtime.

Haven't used my laser for a while, but someone asked me to show her how to use hers. Thought I'd recommend her to use Meerk40t. However, after a GIT pull I can't start Meerk40t on my main machine. I get the following:
xxxxxxxxxxxxxxxxxxxxxxxxxxxx\meerk40t>pip install -r requirements.txt
Requirement already satisfied: Pillow in c:\users\dieterv\appdata\local\programs\python\python38\lib\site-packages (from -r requirements.txt (line 1)) (8.0.1)
Requirement already satisfied: pyusb in c:\users\dieterv\appdata\local\programs\python\python38\lib\site-packages (from -r requirements.txt (line 2)) (1.1.0)
Requirement already satisfied: wxPython in c:\users\dieterv\appdata\local\programs\python\python38\lib\site-packages (from -r requirements.txt (line 3)) (4.1.0)
Requirement already satisfied: numpy; python_version >= "3.0" in c:\users\dieterv\appdata\local\programs\python\python38\lib\site-packages (from wxPython->-r requirements.txt (line 3)) (1.19.4)
Requirement already satisfied: six in c:\users\dieterv\appdata\local\programs\python\python38\lib\site-packages (from wxPython->-r requirements.txt (line 3)) (1.15.0)
WARNING: You are using pip version 20.2.4; however, version 20.3.1 is available.
You should consider upgrading via the 'c:\users\dieterv\appdata\local\programs\python\python38\python.exe -m pip install --upgrade pip' command.

xxxxxxxxxxxxxxxxxxxxxxxxxxxx\meerk40t>python MeerK40t.py
 ** On entry to DGEBAL parameter number  3 had an illegal value
 ** On entry to DGEHRD  parameter number  2 had an illegal value
 ** On entry to DORGHR DORGQR parameter number  2 had an illegal value
 ** On entry to DHSEQR parameter number  4 had an illegal value
Traceback (most recent call last):
  File "MeerK40t.py", line 4, in <module>
    from Console import Console
  File "P:\Dieter\Projects\K40\meerk40t\Console.py", line 1, in <module>
    from CutPlanner import CutPlanner
  File "P:\Dieter\Projects\K40\meerk40t\CutPlanner.py", line 1, in <module>
    from svgelements import *
  File "P:\Dieter\Projects\K40\meerk40t\svgelements.py", line 20, in <module>
    import numpy as np
  File "C:\Users\dieterv\AppData\Local\Programs\Python\Python38\lib\site-packages\numpy\__init__.py", line 305, in <module>
    _win_os_check()
  File "C:\Users\dieterv\AppData\Local\Programs\Python\Python38\lib\site-packages\numpy\__init__.py", line 302, in _win_os_check
    raise RuntimeError(msg.format(__file__)) from None
RuntimeError: The current Numpy installation ('C:\\Users\\dieterv\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\numpy\\__init__.py') fails to pass a sanity check due to a bug in the windows runtime. See this issue for more information: https://tinyurl.com/y3dm3h86

Following the link on the last line leads me to think that the issue can't be fixed by the Meerk40t devs, but maybe a previous version of Numpy woulf work?
No txt log file is created by Meerk40t, as far as I can tell.
Downgrading by running
```pip install numpy==1.19.3```` seems to fix this, though I can't be sure as this leads me to another issue (will create ticket)

Hm. It means I need to change the svgelements import to seem much more runtime and less required. Since I switched to 1.3.x of svgelements I was somewhat worried about that. I need to more clearly make it import when only the unused numpy stuff is called for. Really numpy isn't a requirement. If that import fails it simply continues running. But, here apparently there's like two versions getting called or something weird.

This should be fixed in the main branch now.


fix(ts): xtrim threshold accepts string

Description
The XTRIM command accepts a streamId that is a string:
XTRIM foo MINID "1725522294258-0"

Checklist

[ ] Does npm test pass with this change (including linting)?
[ ] Is the new or changed code fully tested?
[ ] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

Good catch! Can you please do it for the v5 branch instead? Thanks!


Deployment target improvements

Issues like #64 are often motivated by some underlying issue with deployment targets (targets too old require backdeployment shims, and then the question arises how do we package the shims, it's a tough problem since cargo build doesn't build applications).
Less obviously the docs are wrong about how to set deployment targets which motivates a subset of those issues.  Broadly the documentation covers

Package.swift which controls which platforms the package could be built for
SwiftLinker::new which controls which platforms the package is being built for

...but then we go on to link the package into a Rust program, which probably has a DT of macOS 11, see:
rustc --print=deployment-target
deployment_target=11.0

This mismatch will cause various compatibility shims to be expected to support macOS 11 and when they aren't in the right locations the program will crash at runtime.
I'm not entirely sure what to do about this, some options are:

If SwiftLinker added println!("cargo:rustc-env=MACOSX_DEPLOYMENT_TARGET={version}"); that changes the Rust DT to the expected value and this works in simple cases.  However I'm a bit skeptical of this solution, what if two libraries disagree about DT?  The ultimate program can only be built for one.
Instead of doing this for you, docs could tell you to do it in your own build.rs.  While this makes it a little more visible, I'm still not certain there's a good way to handle conflicts between packages on this.
Another idea is to have SwiftLinker use Rust's DT as probed at runtime (instead of trying to it as an argument to the constructor).  Then everything will build with the same DT (probably macOS 11).  That's not the most practical default but it is Rust's, and then affected users can use the build.rs workaround but ideally at the binary level rather than the library level.

Further testing suggests that
println!("cargo:rustc-env=MACOSX_DEPLOYMENT_TARGET=15")

within a library crate's build.rs has no effect on binary crates depending on it, and can cause issues when binaries are run due to missing dylib shims, etc.
From the perspective of avoiding conflicts over deployment targets among various dependent crates, this makes sense.  But from the perspective of following the documentation and trying to configure a deployment target it is more problematic.
I see no obvious way around removing SwiftLinker::new in favor of an API automatically detecting the actual Rust-side deployment target and using that.  And advising downstream crates to adjust via environment variable.


Properly migrate the field type in options.proto

This PR assigns a new field number to the field, which has changed the type in #842.
Not following this convention, breaks compilation of ProtoData with InvalidWireTypeException.
I've tested the local publication. ProtoData builds successfully with this change.

@armiol @alexander-yevsyukov PTAL


ActivityNotFoundException on Android SDK 30

Duplicate of #92, #93, #103
As in, the exact same ActivityNotFoundExceptions on Android are observed on Android SDK version 30.
I think an update to the readme explaining Android SDK must be 29 or under would be helpful until the underlying issue is resolved.

Hey, have you ever found a solution to this?

Hey, were you able to make it work under Android SDK 29?

Yes, it worked on Android SDK 29, at least on the Android device I was sending the builds to.


Can this be used in production?

Am I correct in saying this uses web brick? And if so does this mean that is should not be used in production?
Thanks in advance
Tim

It depends on what's in your Gemfile. If you have something like puma in there, it should get used automatically, just like it does when running rails server does in a non-Docker setup.

@md5 Currently no, but sounds like would be a good idea. Thanks for getting back to me.


New design proposal

Example code to go along with the design proposal discussion. https://github.com/bmc-toolbox/bmclib/issues/148
@mikemrm, I took what you suggested for a registry. Please let me know how all that looks.

going to break things into smaller pieces.


Temporarily disable SILCombine keypath optimization in OSSA

KeyPathProjector is not fully ported. Disable until OSSA support
in KeyPathProjector is implemented.

@swift-ci smoke test


Bace 7405 on call duo tank boards panicking every hour

Added new ESP reset cause

Rejected, will define this locally


Detect if write queries are possible and show an ugly warning message

https://twitter.com/getluky/status/1424941270221266946

These are all great recommendations and would definitely help! Even better would be if the tool could programmatically detect or warn of unsafe configurations...

One way this could work is to attempt a harmless UPDATE against a small table - maybe one created specially for that purpose. If no error, either show a warning or disable the tool entirely.


Increase read/write operation timeouts for clustered loader-writer and write-behind tests #2517

Logs from CI job in #2517 are not helpful, failures could be due to slow CI machines. This PR increases read/write operation timeouts for clustered loader-writer and write-behind tests and changes resiliency strategy to ThrowingResilienceStrategy for the same tests.
Created an issue to fix ResilienceStrategy for clustered write-behind caches. #2519

test this please

test this please

test this please

@AbfrmBlr PR is rebased and build is good. Please merge if looks good.


Implement "Page moved" to handle users existing bookmarks of Project & Ranking pages

prior 3.0.0 Project urls in Project&Ranking pages utilized skillsClientDisplayPath like this:
/progress-and-rankings/projects/<project-id>?skillsClientDisplayPath=%2Fsubjects%2F<subj1>t%2Fskills%2F<skill-id>

starting in 3.0.0, the new urls will be:
progress-and-rankings/projects/<project-id>/subjects/<subj-id>/skills/<skill-id>

catch the old url and display "Page Moved" indicating that bookmark must be updated, after N seconds redirect to the new page

PR #2691

:+1: