  While tracking down crashes with the early post shutdown cafd146, I was seeing crashes where the SM wasn't locked and where the state machine had been deleted (more obvious when running without free lists).
The original PR tried to lock and reschedule, but changing the HttpSM to clear any remaining references to the state machine in the read and write vios seemed to clean up in the issue.  And could explain some of the inactivity timeout crashes with stale SM's we have been seeing.
I am leaving the lock logic in read_signal_and_update, but instead of trying to reschedule on lock failure, I just added an assert . There is a very fundamental problem if there is a true lock contention at this point.

Seems reasonable overall.

[approve ci autest]

Closing this for now.  Once I got my final fix to the post return problem PR #3922.  I didn't need these changes.


question

I have a 4090,but I can't run this code,and I set batch_size =1(set samples_per_gpu=1,workers_per_gpu=1,)

Hi @surdd33：
Batch size set to 1 should not take up more than 24G of memory, can you provide the error log.
Best,
woldier

torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 12.00 MiB (GPU 0; 23.65 GiB total capacity; 22.44 GiB already allocated; 6.75 MiB free; 22.57 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

After my testing, I found that the training framework doesn't work properly with batch size set to 1. So I reduced the batch size to 2, and found that it didn't take up more than 24 gigabytes of memory.
Fig1. Console Print

Fig2. nvidia-smi concole

In That Case
I suggest you check that the batch size is set correctly in the console print configuration file
@surdd33

Thank you very much for taking the time to answer my question, but after trying, I still can't. I see that there are 4 GPUs in your picture, and if they are trained at the same time, does the memory exceed 24GB？while I only have one 24GB 4090

torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 12.00 MiB (GPU 0; 23.65 GiB total capacity; 22.43 GiB already allocated; 6.75 MiB free; 22.57 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

and,look the nvidia,this just use 500MiB

In fact, for DDP training, when we set the batch size, each GPU loads a batch size of samples. This is the same as the number of samples loaded by the graphics card in single card training.
To allay your fears, I set the current number of available cards to 1 and the experiment worked fine.

very very very thank you,you are kind and patient people

@surdd33
😀I'm glad I was able to help you.
🥰If you are satisfied with my answer, then fork or star this repository and I will be honored!
🤓Finally, thank you for your interest in this work.


Refactors setuptools to fix Cython issues and be consistent with Thicket

This PR does two things.
First, it refactors the use of setuptools to be consistent with Thicket. This mostly means that we are now PEP 517-compliant, and that @cscully-allison's vis code will be built (using NPM) when first accessed with import hatchet.vis (or something similar).
Second, it changes the building of our Cython code so that the C files no longer have to be kept in version control. Now, if there are not .c files in the hatchet/cython_extensions directory, setup.py will use Cython's cythonize function to generate them. On the other hand, if there are .c files, it will just build the .c files as before. As a result, we can remove the .c files from GitHub. When building Hatchet (e.g., for PyPI), the .c files will be generated when the sdist (i.e., the tarball) or wheel is created.

@ilumsden Can you please fix the black errors and re-run this pipeline?


Review: Algorithms

issues caught

Searching Algorithms: explain what searching algorithms are and there most common uses.
have a section on big o notion / things that should be considered in the algo field.
Sorting Algorithms: same as searching, add intro explain para.
Code examples snippet have an example use like here is an array find number 4 and console log the time it takes with a stopwatch and add comments
Recursion: Add code examples and uses.
Dynamic Programming: add code examples
Graph Algorithms: same as searching issue


Return process ID

This makes bg return the PID of the spawned process. I tried to reduce the branching somewhat, let me know if I should revert it.

let's go! thanks!


Metatables

https://github.com/groverburger/lovecraft/blob/master/engine.lua#L19-L132
Is there any reason you don't use metatables for this?
You can even try using something like https://github.com/kikito/middleclass or, if you want something a bit faster, with a smaller footprint (But less features) that uses the same API and can be upgraded to middleclass at any point https://github.com/Positive07/lowerclass

I do not agree with anything I said in that comment anymore lmao

I do not agree with anything I said in that comment anymore lmao


Issue with State Handlebars Helper AbstractMethodError

Proposal
I'm encountering an issue while trying to utilize the State Handlebars Helper in WireMock. The error message I'm receiving is as follows:
java.lang.AbstractMethodError: Receiver class org.wiremock.extensions.state.extensions.StateHandlerbarHelper does not define or inherit an implementation of the resolved method 'abstract java.lang.Object apply(java.lang.Object, wiremock.com.github.jknack.handlebars.Options)' of interface wiremock.com.github.jknack.handlebars.Helper.
Reproduction steps
Steps to Reproduce:
Use Docker image wiremock/wiremock:3.x.
Map volumes for extensions.
Download the standalone JAR file from the releases page.
Expected Behavior:
I expected the State Handlebars Helper to work as intended without any errors.
Actual Behavior:
The error mentioned above is being encountered, preventing the S
tate Handlebars Helper from functioning correctly.
Environment Details:
Docker image: wiremock/wiremock:3.x
Volume mapping to extensions
Standalone JAR file downloaded from the releases page
Additional Information:
I'm seeking assistance in resolving this issue and getting the State Handlebars Helper to work without encountering the mentioned error. Any insights or guidance would be greatly appreciated.
References
No response

was able to reproduce it. Will look for a fix.

should work now - the package relocation was wrong. Will create a new version soon, latest end of next week.

I'm facing this problem with the newest Version.

@zyberzebra can you open a new issue for it? Will look at it timely.

@dirkbolte
yes!
Thanks for the quick answer!
I will open a new issue with a minimal reproducible setup as soon as I get to it!


release script  assumes origin when pushing tags

The release script uses git push --tags to push up the tag to the remote repo.  This only works if your remote origin points at the main repo.  In my case, I have origin pointed at my fork and upstream pointed at the main repo.
https://github.com/kroxylicious/kroxylicious-junit5-extension/blob/5b8e75343738ba46d7753aa4a90cad3e948cc986/scripts/release.sh#L74

@SamBarker I ended up having to manually do git push --tag v0.6.0 upstream after the release.sh had run. Where do you see the problem here?  I wonder if the script ought to take an argument that allows the upstream to be specified.

@SamBarker I ended up having to manually do git push --tag v0.6.0 upstream after the release.sh had run. Where do you see the problem here? I wonder if the script ought to take an argument that allows the upstream to be specified.

Its another drift between the projects. The release script for Kroxylicious itself already supports the idea of which remote to pull from (though it may not leverage it for the push) so yes I think both projects should allow the specification of which remote to use for pulling and pushing tags too.


Include __array_api_version__ in API specification section

xp.__array_api_version__ has been specified in our Versioning section for a while now (~2yrs), but no such mention of it is found in the API specification section, which is probably why this wasn't implemented in numpy/numpy/pull/18585 and all subsequent adoption efforts across the ecosystem (happy to submit respective PRs after we get this in).
So this PR simply creates a spec/API_specification/version.rst file which includes a documented __array_api_version__ attribute, which also will show up in our array-api/latest/API_specification/ page (as well as the sidebar).

After this is merged, let's also add it to the conformance test suite.

Merging as this got two green checks and is what we should have had.


Heavy database load and long query execution time

Environment
Knex version: 0.21.1
Database + version: PostgreSQL 12.1 on x86_64-apple-darwin16.7.0, compiled by Apple LLVM version 8.1.0 (clang-802.0.42), 64-bit
OS: MacOS 10.15.4 (19E287) (tested with same result on Windows 10)
Node.js: 12.16.1
Bug

Explain what kind of behaviour you are getting and how you think it should do

Running query with knex (without raw) causes very high load of database server and takes long time to execute, while running same query with .toString() method inside knex.raw() works fine.

Error message

No error message is present, just long time of execution and very high load.

Reduced test code, for example in https://npm.runkit.com/knex or if it needs real
database connection to MySQL or PostgreSQL, then single file example which initializes
needed data and demonstrates the problem.

I prepared reproduction based on our project structure where we found this bug. I made a repo for it as it needs some migrations and seeds to reproduce: https://github.com/maxtomczyk/knex-reproduction
Code showing difference between calling query:
const knex = require('knex')(require('./knexfile'))

function createQuery () {
  // Simulate variables obtained from other sources in original project
  const startDate = new Date(+new Date() - 2 * 60 * 60 * 1000)
  const ownersIds = [5056, 19495, 6748, 380, 2014, 12624, 4830, 9487, 10434, 7422, 12144, 5220, 10142, 12480, 17521, 14422, 1412, 17132, 14879, 999, 312, 2341, 19713, 16166, 1409, 16217, 8920, 14487, 17455, 1201, 12807, 7416, 5340, 10637, 1745, 1386, 19192, 13178, 4977, 11769, 19946, 2713, 10200, 11909, 13519, 9588, 4528, 19737, 2685, 8429, 7222, 2017, 18114, 13685, 4062, 19409, 18218, 15987, 10496, 3499, 8071, 1516, 14590, 9495, 5458, 6041, 8992, 17768, 15929, 3540, 1685, 7839, 11095, 15432, 8786, 9107, 819, 9250, 5822, 4094, 619, 15520, 2419, 17051, 1208, 12966, 12447, 8591, 6786, 12725]
  const userData = {
    coords: '(3733027.200898386, 1309786.8685408758, 5002998.4321979005)',
    age: 37
  }
  const dist = 49000

  // Create knex query
  return knex('events as e')
    .select('e.id', 'e.uuid', 'e.title', 'e.description', 'e.photo_url as photoUrl', 'e.visibility', 'e.require_confirmation as requireConfirmation', 'e.type', 'e.date', knex.raw('count(p.*)::int as participants'), knex.raw('round((earth_distance(?, e.location) / 1000)::numeric, 1) as distance', [userData.coords]))
    .leftJoin('events_participants as p', 'p.events_id', 'e.id')
    .groupBy('e.id')
    .orderBy('e.date', 'asc')
    .whereRaw('e.date > ?', [startDate])
    .andWhereRaw('?::int <@ e.age_restriction', userData.age)
    .andWhereRaw('earth_box(?, ?) @> e.location', [userData.coords, dist])
    .andWhereRaw('earth_distance(?, e.location) <= ?', [userData.coords, dist])
    .andWhereRaw('owner_id NOT IN (??)', [ownersIds])
}

async function start () {
  try {
    // METHOD 1
    const s1 = +new Date()
    const query1 = createQuery()
    const sql = query1.toString()
    // Run query knex which executes in reasonable time
    await knex.raw(sql)
    console.log(`Method #1 executed in: ${(+new Date() - s1)}ms`)

    // METHOD 2
    const s2 = +new Date()
    const query2 = createQuery()
    // Run knex query in a normal way
    await query2
    console.log(`Method #2 executed in: ${(+new Date() - s2)}ms`)
    process.exit()
  } catch (e) {
    console.error(e)
  }
}

start()

Method #1 is taking usually about 1 second to execute, while method #2 takes 60-110 seconds to finish. Sometimes it needs multiple tries to reproduce it as method #2 seems to work normal. I noticed that it can be related to table content, as bug seems to not occur when field description or photo_url (events table) is relatively short (I'm not sure about it, so not trying to reproduce it in my repo)

Probably some query parameter are not the same in stringified query which causes databse to be able to supress result set early. Check out if the returned data si the same for both of the queries.
Doesn't sound like any bug in knex. You can try to compare what kind of query is outputted by result from query.toString() and query.toSQL(). Then you can try instead of knex.raw(query.toString) run knex.raw(query.toSQL().sql, query.toSQL().bindings) and see if that is also slow.
Then you may also compare query plans of the methods by running knex.raw('explain ?', [query]); and  knex.raw('explain ?', [query.toString()]).
Closing as doesnt seem like a knex bug but just SQL optimization issue where invalid query generated by toString() (which is never meant to be ran) and a query with correctly passed query parameters are compared. Lets reopen if there are something that points to a bug in knex.

Also running code with environment variable DEBUG=knex:* might help (or might not) with debugging.

Also #2: try to drop .whereRaw('e.date > ?', [startDate]) from the query and see if both are equally slow/fast after that.
Also .andWhereRaw('owner_id NOT IN (??)', [ownersIds]) is a hack and wrong... you are using identity replacement instead of passing all the ids as separate bindings. Though it shouldn't cause any difference in this case.

I tried all things you recommended, hope I didn't forget about anything.
Is the same data returned from both queries?
I modified code to print first element and rows count and it looks like its the same. To be sure I dumped both results to JSON and compared both files and full results are also the same.
Method #1 executed in: 1041ms
Method #1 rows: 5131
Method #1 first row:
{
  id: 17532,
  uuid: '5eb219d2-3541-ce52-b3e2-ceb08fc72c2a',
  title: 'Testfest #17532',
  description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.',
  photoUrl: 'https://hiddenurl.com/users/5eb078ee-bd04-d85d-02d5-d78c6e2df5d2/pictures/e24e1e1e-9b49-41e9-a0ef-2028ae4e74ff.jpeg,',
  visibility: 3,
  requireConfirmation: true,
  type: 4,
  date: 2020-05-07T10:04:44.089Z,
  participants: 25,
  distance: '19.8'
}
Method #2 executed in: 70864ms
Method #2 rows: 5131
Method #2 first row:
{
  id: 17532,
  uuid: '5eb219d2-3541-ce52-b3e2-ceb08fc72c2a',
  title: 'Testfest #17532',
  description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.',
  photoUrl: 'https://hiddenurl.com/users/5eb078ee-bd04-d85d-02d5-d78c6e2df5d2/pictures/e24e1e1e-9b49-41e9-a0ef-2028ae4e74ff.jpeg,',
  visibility: 3,
  requireConfirmation: true,
  type: 4,
  date: 2020-05-07T10:04:44.089Z,
  participants: 25,
  distance: '19.8'
}

Queries generated by .toSQL() and .toString()
Outputs cannot be just differed as .toString() returns query with values and .toSQL() returns query with ?. As values in bindings property was the same as those used in .toString() query I manually replaced them with ? too to compare structure of both queries. Also replaced ids inside NOT IN() to .... After those operations both queries structure was the same:
select "e"."id", "e"."uuid", "e"."title", "e"."description", "e"."photo_url" as "photoUrl", "e"."visibility", "e"."require_confirmation" as "requireConfirmation", "e"."type", "e"."date", count(p.*)::int as participants, round((earth_distance(?, e.location) / 1000)::numeric, 1) as distance
from "events" as "e"
left join "events_participants" as "p" on "p"."events_id" = "e"."id"
where e.date > ?
and ?::int <@ e.age_restriction
and earth_box(?, ?) @> e.location
and earth_distance(?, e.location) <= ?
and owner_id NOT IN (...)
group by "e"."id"
order by "e"."date" asc

Is running queries generated with .toSQL() same slow?
I created another code in test project to run query generated by .toSQL() method.
const query3 = createQuery()
const r3 = await knex.raw(query3.toSQL().sql, query3.toSQL().bindings)

Results of running this are logged as Method #3. Running query generated by .toSQL() method is slow too. Also it's results are the same:
Method #3 executed in: 75800ms
Method #3 rows: 5131
Method #3 first row:
{
  id: 17532,
  uuid: '5eb219d2-3541-ce52-b3e2-ceb08fc72c2a',
  title: 'Testfest #17532',
  description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.',
  photoUrl: 'https://hiddenurl.com/users/5eb078ee-bd04-d85d-02d5-d78c6e2df5d2/pictures/e24e1e1e-9b49-41e9-a0ef-2028ae4e74ff.jpeg,',
  visibility: 3,
  requireConfirmation: true,
  type: 4,
  date: 2020-05-07T10:04:44.089Z,
  participants: 25,
  distance: '19.8'
}

Query plans
I'm not sure if I did it correctly, but the results are different there.
knex.raw('explain ?', [knex.raw(query1.toString())]):
Sort  (cost=18192.35..18192.35 rows=2 width=653)
  Sort Key: e.date
  ->  GroupAggregate  (cost=18191.41..18192.34 rows=2 width=653)
        Group Key: e.id
        ->  Sort  (cost=18191.41..18191.54 rows=50 width=681)
              Sort Key: e.id
              ->  Hash Right Join  (cost=9669.02..18190.00 rows=50 width=681)
                    Hash Cond: (p.events_id = e.id)
                    ->  Seq Scan on events_participants p  (cost=0.00..7208.99 rows=499699 width=36)
                    ->  Hash  (cost=9669.00..9669.00 rows=2 width=649)
                          ->  Seq Scan on events e  (cost=0.00..9669.00 rows=2 width=649)
                                Filter: ((date > '2020-05-07 12:21:15.592+02'::timestamp with time zone) AND (37 <@ age_restriction) AND (cube_enlarge(('(3733027.200898386, 1309786.8685408758, 5002998.4321979005)'::cube)::cube, '48999.87950063193'::double precision, 3) @> (location)::cube) AND (owner_id <> ALL ('{5056,19495,6748,380,2014,12624,4830,9487,10434,7422,12144,5220,10142,12480,17521,14422,1412,17132,14879,999,312,2341,19713,16166,1409,16217,8920,14487,17455,1201,12807,7416,5340,10637,1745,1386,19192,13178,4977,11769,19946,2713,10200,11909,13519,9588,4528,19737,2685,8429,7222,2017,18114,13685,4062,19409,18218,15987,10496,3499,8071,1516,14590,9495,5458,6041,8992,17768,15929,3540,1685,7839,11095,15432,8786,9107,819,9250,5822,4094,619,15520,2419,17051,1208,12966,12447,8591,6786,12725}'::integer[])) AND (sec_to_gc(cube_distance(('(3733027.200898386, 1309786.8685408758, 5002998.4321979005)'::cube)::cube, (location)::cube)) <= '49000'::double precision))

knex.raw('explain ?', [query2])
Sort  (cost=14898.82..14898.82 rows=2 width=653)
  Sort Key: e.date
  ->  Finalize GroupAggregate  (cost=14897.79..14898.81 rows=2 width=653)
        Group Key: e.id
        ->  Gather Merge  (cost=14897.79..14898.25 rows=2 width=657)
              Workers Planned: 1
              ->  Partial GroupAggregate  (cost=13897.78..13898.02 rows=2 width=657)
                    Group Key: e.id
                    ->  Sort  (cost=13897.78..13897.85 rows=29 width=681)
                          Sort Key: e.id
                          ->  Nested Loop Left Join  (cost=0.42..13897.08 rows=29 width=681)
                                ->  Parallel Seq Scan on events e  (cost=0.00..6348.41 rows=1 width=649)
                                      Filter: ((date > '2020-05-07 12:21:15.621+02'::timestamp with time zone) AND (37 <@ age_restriction) AND ('(3684027.3213977544, 1260786.989040244, 4953998.552697268),(3782027.080399018, 1358786.7480415078, 5051998.311698533)'::cube @> (location)::cube) AND (owner_id <> ALL ('{5056,19495,6748,380,2014,12624,4830,9487,10434,7422,12144,5220,10142,12480,17521,14422,1412,17132,14879,999,312,2341,19713,16166,1409,16217,8920,14487,17455,1201,12807,7416,5340,10637,1745,1386,19192,13178,4977,11769,19946,2713,10200,11909,13519,9588,4528,19737,2685,8429,7222,2017,18114,13685,4062,19409,18218,15987,10496,3499,8071,1516,14590,9495,5458,6041,8992,17768,15929,3540,1685,7839,11095,15432,8786,9107,819,9250,5822,4094,619,15520,2419,17051,1208,12966,12447,8591,6786,12725}'::integer[])) AND (sec_to_gc(cube_distance('(3733027.200898386, 1309786.8685408758, 5002998.4321979005)'::cube, (location)::cube)) <= '49000'::double precision))
                                ->  Index Scan using events_participants_pkey on events_participants p  (cost=0.42..7548.41 rows=25 width=36)
                                      Index Cond: (events_id = e.id)

Dropping .whereRaw('e.date > ?', [startDate])
Looks like dropping .whereRaw('e.date > ?', [startDate]) resolves the problem. Also dropping any of earth_box or earth_box and keeping .whereRaw('e.date > ?', [startDate]) active resolves problem.

Ok. Looks like because parameters are a bit different that postgresql decides to make different execution plan for the query.

Thanks for your answer. Is it desired/correct effect as queries generated by toSQL() and toString() was the same?

No. You should not run queries generated by .toString() they can easily contain SQL injection holes and parameteres might not be rendered correctly to the query's SQL string.

as queries generated by toSQL() and toString() was the same?

They are not exactly the same, even if you think they are :) Ok, sometimes they are, except that SQL database server has a little bit more type information when kind of parameters were passed to the query compared to the prepared statement with generic parameter bindings.

Okay, so what is the correct way to omit this issue? Should I just write this query in SQL and use knex.raw() to bind parameters and run query, or is there any other (better/cleaner) solution?

What issue? 🤔 that query takes a long time to execute?
Write the query in a different manner and hope that postgres optimize its query plan better. Query planning also depends on table sizes etc.

Okay, that's what I will do. Thank you for all your replies 😊


pls add more info about LZ minigo 000199

you add
'''
LeelaZero with minigo network
LZ minigo 000199 (256x15blocks)
-p1600 -g -t1 -w 000199.gz --noponder
'''
such as the source link of weight , and 256x15 is suspicious, I didnt see it at https://cloudygo.com/RESULTS

done


Add zsh completion for 'docker volume ls -f {dangling,driver,name}'

Ref #21361
@albers Thx for the ping
Signed-off-by: Steve Durrheimer<EMAIL_ADDRESS>

LGTM 🐯

ping @vincentbernat looks like the PR is updated with your suggestions; ptal :heart:

LGTM

thanks for looking @vincentbernat, I'll copy your LGTM


fix(builder): properly escape backticks

closes #2980
closes #3010

Backticks often show up in tokens / passwords used with deis config:set, so this is an important fix. Code LGTM.

Code LGTM.


TS Server fatal error:  Cannot read property 'lastIndexOf' of undefined

/needsMoreInfo
Could you please fill in issue template that requires version, OS version, extensions etc.
Also what TS version is used, error stack trace from developers tools with reproduction steps.


DOC-2830-remove-ff

https://harness.atlassian.net/browse/DOC-2830
Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[x ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

https://harness.atlassian.net/browse/DOC-2830

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Preview environment: https://hdh.pr.harness.io/pr-1072


ALM - VISUALS: Assign User

Corresponding JIRA story.

Based on the conversation yesterday with the UXD team (@michaelvirgil, @Mgranfie, @Essjaysee, Cat Robson) and feedback received about the "To Do" state, I just put together a basic list:
Work Item Types:
Epic
Story
Bug
Work Item States:
New
To Do
In Progress
Resolved
Closed
...and an accompanying mockup in InVision.


Typescript

Hi, does it change something if I don't use Typescript?
Have I to edit some config files ?
Also, I do not use yarn, but npm (pnpm).. could this raise issues ?
Thank you very much for this template.

Big apologies for a late reply on this -
You can use normal Javascript by deleting the lang="ts" attribute on script tags and it should work as expected.
Yarn/npm will both work fine as well!


Update checker.ts

This handles the security aspect where it is derived from
All good now!

Summary by CodeRabbit

New Features

Improved type inference for functions with single call/construct signatures and union types, enhancing code accuracy and reliability.

hi


doc: add download link for Command Line Tools for Xcode

[X] documentation is changed or added
[X] commit message follows commit guidelines

Description of change
It was hard to find specific package needed to run node-gyp on MacOS that's why I added specific link.

landed in 48642191f5b


Icon in FAB is blurry!

Help!
When I add an icon through the input fab:menu_icon="@drawable/menu"
(menuis my icon name)
The button appears slightly blurry in the app.

Is there any way to fix the blurriness? My icon is 24p.
Also, how can I make my other button icons as white as the floating action menu button?
Thanks in advance!
Jenny ;)

@Clans

I believe there's something wrong with your icon. As for other icons, it looks like they have some transparency.

@clans is it because i am using a png as an icon, therefore it's blurry? I got them right from the google material icons website. would you recommend svg or another site to get icons?

Hey completely unrelated but how were you able to put the fab on top of the card view? I'm trying to do that but it goes under.

@joeantwi
Hey there!
I used  the <android.support.design.widget.CoordinatorLayout> instead of <RelativeLayout> or <LinearLayout> for my activity_main.xml. In there, I included all of my FAB stuff.
Then in my content_main.xml, which is called inside of my activity_main.xml file by <include layout="@layout/content_main" />, my recyclerview and cardview stuff are in there! :) That way, my FAB is always on top of it.
If you need some more help with it, just send me a msg

Hi Thank you, can you please share your full xml :) would love to see it and follow it please.

Hi, I'm having the same problem.  I'm using 24dp icons but they always appear blurry.  In my recyclerView I'm using the same icons and they look perfect.  However the ones in my recyclerView are higher dp and scaled down but I can't seem to do that in the floating action button.

I having the same problem. how to fix it ?

Not fixed yet? Ohh. Why? What is the reason of this bug?


How do I write a blog? There are no posts folders on this theme.

k

We can't speak to the specifics of your particular site. If you contact GitHub support (or post to the GitHub Community forum) they should be able to help you get things straightened out. 😸

Thank you.


Prevent line split into two pages

Is it possible to prevent a table line to be split into two pages?

Any solution for this problem ?

No, I'm dropping this lib and creating a java based microservice with jasper reports.


A few things that need to be added for example notebooks to work

@danlamanna @dorukozturk if one of you could launch and confirm that 01_Example and 02_Geoserver work that would be great!

This LGTM/works for me.
Obviously on AWS the !pip install ipywidgets cell fails, should we just be packaging/depending on this and get rid of that cell?

@danlamanna I'll put a requirements.txt in notebooks/ because we have the same problem with skimage and seaborn.


WIP: Move all charts branches to their asset equivalent

Closing because if we use source branch they are already correct.


[FSDE-12853] Migrate Sidenav component to new Vue documentation

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-300/1/. :white_check_mark:

You can check this PRs instance in https://4456edc6c1523c6dc6f114409484c92cee2e76bd-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-300-ux-chi.kubeodc-test.corp.intranet/ (internal)

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-300/6/. :white_check_mark:

You can check this PRs instance in https://613bbff3e0dd36e493807d9fe1aef43cfbbd3897-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-300-ux-chi.kubeodc-test.corp.intranet/ (internal)


[Docs] Create a GOVERNANCE doc in Meshery

Current State
Since Meshery is now accepted as a CNCF Sandbox project, the project is currently undergoing several processes for onboarding. In such case, this issue happens to be one of those steps needed for onboarding (Refer cncf/toc #675)
Desired State
Create an open governance doc which explains the rules and guidelines followed in Meshery

Contributor Resources

Meshery documentation site
Meshery documentation source
Instructions for contributing to documentation
Layer5 Community Slack

@leecalcote, @navendu-pottekkat we may need to discuss this.... Quick Q, is this already implemented in some other filename? (got a doubt after seeing few example docs)

A blank design spec is created for now....
Will let you know if it's complete 👍

Just a heads up, the spec is made here... https://docs.google.com/document/d/1hlTwD139De4yvhJDPabY0pu2r8X5nnPmN3DUj7m7_n8/edit?usp=sharing

I expected this would pop up 🙂

@leecalcote do we need to continue or stop focusing on the Governance?

Well IG we can close it for now, due to inadequate info on it... A spec is made though in the drive... We'll look on it later if time permits...
Closing issue now


Unable to run a doc build locally

Details
I want to look into contributing to readthedocs and started setting up my local version.
Now i'm stuck at a point i can't get the hang of it.
when i trigger a build from the webgui i get the following output in the console of the dev webserver.
I assume it could by caused by faulty line endings that it can't cd to root/rtd/checkouts/readthedocs.org but i don't find the location this command is comming from.
[21/Apr/2016 01:27:44] ERROR [readthedocs.doc_builder.environments:309] (Build) [pip:latest] Command python -mvirtualenv --no-site-packages /root/rtd/checkouts/readthedocs.org/user_builds/pip/envs/latest failed:
/bin/sh: 1: cd: can't cd to /root/rtd/checkouts/readthedocs.org
Traceback (most recent call last):
  File "/root/rtd/checkouts/readthedocs.org/readthedocs/projects/tasks.py", line 165, in run
    self.setup_environment()
  File "/root/rtd/checkouts/readthedocs.org/readthedocs/projects/tasks.py", line 301, in setup_environment
    self.python_env.setup_base()
  File "/root/rtd/checkouts/readthedocs.org/readthedocs/doc_builder/python_environments.py", line 97, in setup_base
    bin_path=None,  # Don't use virtualenv bin that doesn't exist yet
  File "/root/rtd/checkouts/readthedocs.org/readthedocs/doc_builder/environments.py", line 320, in run
    return self.run_command_class(cls=self.command_class, cmd=cmd, **kwargs)
  File "/root/rtd/checkouts/readthedocs.org/readthedocs/doc_builder/environments.py", line 357, in run_command_class
    raise BuildEnvironmentWarning(msg)
BuildEnvironmentWarning: Command python -mvirtualenv --no-site-packages /root/rtd/checkouts/readthedocs.org/user_builds/pip/envs/latest failed:
/bin/sh: 1: cd: can't cd to /root/rtd/checkouts/readthedocs.org

I got it figured out. I had DOCKER_ENABLE = True and this then failed becaus the commands din't find stuff inside the docker container.


Fix tests on py2 because of differences with py3 random module

This a second take on #28
The curves.json file is now only 60 KB, since I stripped it of the white space (it was 255 KB before).
I still haven't found the time to implement Behdad's idea of adding a bunch of curves in fonttools for testing purposes (see https://github.com/googlei18n/cu2qu/pull/28#issuecomment-234416374)
We can get rid of the json file later. But now I need to run the CI tests on both major python versions, and this random module issue is a blocking one.

ping @jamesgk


Artefacts when combining -comp_level 5 -global_sel_pal -no_hybrid_sel_cb (v1.09.00)

When compressing this testcard image with -comp_level 5 -global_sel_pal -no_hybrid_sel_cb:

The resulting output (created with -unpack) is full of black dots in the grey areas:

The .basis file is here: testcard.zip (it's not possible to attach without placing it in a zip). The artefacts are better with the default quality (whereby the dots become a ringing in the grey squares).

I've reproduced this. When the "-global_sel_pal -no_hybrid_sel_cb" options are used, the encoder doesn't use custom selector codebooks at all. Instead, it uses a pure virtual codebook scheme that was intended primarily for small icons (where the overhead of storing a custom codebook can be too large). This method introduces extra noise in the output. Usually it looks fine, but it looks like this test pattern has found an outlier case.
The encoder hasn't been tuned as much when global selector codebooks are enabled like this. I don't think this is a bug, I think it's an genuine compression artifact that is getting amplified by using virtual codebooks.
Note these artifacts go away when you compress the texture normally, or with "-no_auto_global_sel_pal". We may be disabling automatic usage of global selector codebooks entirely in the future, as it's unclear how useful they actually are to most users and encoding time is noticeably slower.
Is there a particular reason why you are forcing global selector codebooks on?

Also, note that you can use -global_pal_bits X and -global_mod_bits X to increase the quality when vitual selector codebooks are used. Anything higher than 8 increases quality, but greatly slows down compression because the virtual codebook search is currently exhaustive.

I've verified that if I encode with a larger virtual codebook, the artifacts look much better. 10,10 cuts down the artifacts a lot, but it takes a long time to compress. I'm trying 11,10 to see what happens.
This is definitely an artifact, not a bug.

Is there a particular reason why you are forcing global selector codebooks on?

I was trying the different options shown in the command-line help:
basisu -linear -global_sel_pal -no_hybrid_sel_cb -file x.png : Compress a non-sRGB image, use virtual selector codebooks for improved compression (but slower encoding)

My choice of test image was created to work well with 4x4 blocks, so the default basisu settings were getting the file size down considerably, but when generating mipmaps the size was going up more than expected so I was trying the example options.


Inverse relation settings

The inverse relation should be also editable

[ ] If the relation is fully displayed on the related object's page (4.6)
[ ] It should be editable (4.6)
[ ] The items should be sortable (4.7)

5 story points


Should Grid/Axis kwargs be read-only properties instead of attributes?

Currently we have important pieces of information about the grid just stored as basic python class attributes, e.g. Grid.metrics, or Axis._periodic. Do we want these to be read-only? i.e. are we comfortable with users being able to edit features of their grids whenever they like, or should they have to create an entirely new grid object if they want to change anything?
Either way we should promote these to properties. If we don't want people to edit them, then properties are by default read-only. If we do want people to be able to edit them, then we can use property's setting decorator thing to check that the users new choice of kwarg is actually valid.
This is related to #403 , #405, and the idea to deprecate the periodic kwarg.
EDIT: @jbusecke @rabernat do you have an opinion on whether these should be read-only?

In some cases (e.g. metrics) it is crucial that these can be modified!

Either way we should promote these to properties. If we don't want people to edit them, then properties are by default read-only. If we do want people to be able to edit them, then we can use property's setting decorator thing to check that the users new choice of kwarg is actually valid.

I like this! I think it would be great if we can remove the various instances of checking/setting defaults/promoting to dict from everywhere other than the Grid init. Basically the init + setter methods would take care that each one of these properties is 'complete' with regard to the axes in the grid object. All other logic then assumes that e.g. boundary is always given as a dict.

Just FYI I believe we have two archetypes of 'properties':

Basically keyword arguments like boundary, fill_value... These will be organized in a dictionary where a single axis serves as key.
'array' dictionaries, like metrics (but masks #293 could be organized similarly). These dictionaries store a list of arrays as values with either a single axis or a combination of axes as key. The key indicates the orientation of the arrays in space, while the arrays can cover different axis positions (and combinations thereof) along that orientation.

We may wish to consider refactoring these classes to be frozen Dataclasses, which would solve a lot of problems simultaneously.
Python dataclasses are extremely useful. If they had existed when we started this package, it would have been a lot simpler.

We may wish to consider refactoring these classes to be frozen Dataclasses, which would solve a lot of problems simultaneously.

What problems are you thinking about?
I think this would be great for the properties of case 1 above, but just to reiterate, metrics need to be modified for a lot of the newest functionality.

Data Classes are a good idea. I've been looking for an excuse to try them out and I think the grid class is simple enough for them to make sense.
When I make a PR trying that, should I base it off the master branch or the grid_ufunc_refactor branch?

Def grid_ufunc_refactor!

But maybe we should prioritize a merge on that first?

We mostly solved this in #557 , but using read-only properties.

We may wish to consider refactoring these classes to be frozen Dataclasses, which would solve a lot of problems simultaneously.

We probably could do this very easily now.

Seems like a good idea to me and might prevent some misuse/misunderstandings down the road.


Refactor for RabbitMQ.Client 6.x, minor changes

Version upgrade for Classic RabbitMQ Client which needed Refactoring and optimization of Factories, Connections, and Channels.
Version bump for RabbitMQ.Stream.Client
Possibility to register RabbitMQ Connection to use without Streaming (needs documentation)

#3


Firebase In-App Messaging

More a simple question than anything else - does this plugin include the capabilities for using Firebase's In-App Messaging? If not, is it an easy (ish) thing to add in?

This plugin doesn't but that plugin does: https://github.com/chemerisuk/cordova-plugin-firebase-inappmessaging


文档书写错误更正

将name更正为age

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@JustDoItGit Thanks for your contribution to the Nebula Graph community! This is Jamie with Nebula and I'd like to email you the Nebula Contributor certificate and ship you a mug to mark this special moment. Could you please kindly reach me via jamie.liu(at)vesoft.com? Again, thanks for being a part of the Nebula community!


Check how to verify identity of suppliers

How to check the true identity of suppliers?

RSK proposes to let the supplier sign a paper with their address on it.
Eventually has to be decided how paranoic one want's to be..


Error message: You have to specify "recordId" for record action

Describe the bug
AdminBro gives me error about unspecified recordId as shown below

Installed libraries and their versions

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
To Reproduce
Steps to reproduce the behavior:

Init sequelize with sequelize-cli init
Generate sequelize models with sequelize-auto
Run app with minimal config (mostly default)

AdminBroOptions with schema
// adminbro options
const adminBro = new AdminBro({
  // databases: [db],
  resources: [{
    resource: db.user_status,
    options: {
      //...
    }
  }],
  rootPath: '/admin',
})

// schema
module.exports = function(sequelize, DataTypes) {
  return sequelize.define('user_status', {
    id: {
      type: DataTypes.INTEGER(4),
      allowNull: false,
      primaryKey: true
    },
    status: {
      type: DataTypes.STRING(255),
      allowNull: false,
      unique: true
    }
  }, {
    tableName: 'user_status'
  });
};

Desktop (please complete the following information if relevant):

OS: [Windows 10 18363]
Browser [Chrome]
Version [80.0.3987.132]

NVM, I just realized that sequelize model should have an auto increment primary key

please paste content from options:
resources: [{
    resource: db.user_status,
    options: {
      //... PASTE WHAT IS HERE
    }
  }],

most probably you define some after hooks which returns objects without { record } property

@wojtek-krysiak I am facing this issue
const adminBro = new AdminBro({
rootPath: '/admin',
// logoutPath: '/xyz-admin/exit',
// loginPath: '/xyz-admin/sign-in',
// databases: [mongooseConnection],
resources: [{ resource: DstvPackages, options: {}}],
branding: {
companyName: 'abc',
},
})

node version v10.19.0

also it works fine with sample data. but when i connect it data previously used by application I am facing this

maybe because the previous records didn't have this primary Id column?


Run fcos with the tiny person dataset

hello，I modified the fcos profile based on three existing profiles (retinanet, faster rcnn, reppoints), but the final result is very low performance( Or, is that how it performs ? ), I don't know where the problem exists, can you give me some advice?
My configuration file is as follows.
`_base_ = [
    '../../_base_/datasets/TinyPerson/TinyPerson_detection_640x512.py',
    '../../../configs/_base_/schedules/schedule_1x.py', '../../../configs/_base_/default_runtime.py'
]
optimizer = dict(type='SGD', lr=0.005, momentum=0.9, weight_decay=0.0001)  # single GPU
model = dict(
    type='FCOS',
    pretrained='open-mmlab://detectron/resnet50_caffe',
    backbone=dict(
        type='ResNet',
        depth=50,
        num_stages=4,
        out_indices=(0, 1, 2, 3),
        frozen_stages=1,
        norm_cfg=dict(type='BN', requires_grad=False),
        norm_eval=True,
        style='caffe'),
    neck=dict(
        type='FPN',
        in_channels=[256, 512, 1024, 2048],
        out_channels=256,
        start_level=1,
        add_extra_convs=True,
        extra_convs_on_inputs=False,  # use P5
        num_outs=5,
        relu_before_extra_convs=True),
    bbox_head=dict(
        type='FCOSHead',
        num_classes=1, # 80
        in_channels=256,
        stacked_convs=4,
        feat_channels=256,
        strides=[8, 16, 32, 64, 128],
        loss_cls=dict(
            type='FocalLoss',
            use_sigmoid=True,
            gamma=2.0,
            alpha=0.25,
            loss_weight=1.0),
        loss_bbox=dict(type='IoULoss', loss_weight=1.0),
        loss_centerness=dict(
            type='CrossEntropyLoss', use_sigmoid=True, loss_weight=1.0)),

    train_cfg=dict(
        assigner=dict(
            type='MaxIoUAssigner',
            pos_iou_thr=0.5,
            neg_iou_thr=0.4,
            min_pos_iou=0,
            ignore_iof_thr=-1),
        allowed_border=-1,
        pos_weight=-1,
        debug=False),
    test_cfg=dict(
        nms_pre=1000,
        min_bbox_size=0,
        score_thr=0.05,
        nms=dict(type='nms', iou_threshold=0.5),
        max_per_img=200))  # 100
img_norm_cfg = dict(
    mean=[102.9801, 115.9465, 122.7717], std=[1.0, 1.0, 1.0], to_rgb=False)
optimizer_config = dict(
    _delete_=True, grad_clip=dict(max_norm=35, norm_type=2))
runner = dict(type='EpochBasedRunner', max_epochs=12)
`
My results are as follows：

2021-07-04 14:09:28,657 - mmdet - INFO -  Average Precision  (AP) @[ IoU=0.25      | area=   all | maxDets=200 ] = 0.0387
2021-07-04 14:09:28,657 - mmdet - INFO -  Average Precision  (AP) @[ IoU=0.25      | area=  tiny | maxDets=200 ] = 0.0419
2021-07-04 14:09:28,657 - mmdet - INFO -  Average Precision  (AP) @[ IoU=0.25      | area= tiny1 | maxDets=200 ] = 0.0000
2021-07-04 14:09:28,658 - mmdet - INFO -  Average Precision  (AP) @[ IoU=0.25      | area= tiny2 | maxDets=200 ] = 0.0198
2021-07-04 14:09:28,658 - mmdet - INFO -  Average Precision  (AP) @[ IoU=0.25      | area= tiny3 | maxDets=200 ] = 0.0898
2021-07-04 14:09:28,658 - mmdet - INFO -  Average Precision  (AP) @[ IoU=0.25      | area= small | maxDets=200 ] = 0.0872
2021-07-04 14:09:28,658 - mmdet - INFO -  Average Precision  (AP) @[ IoU=0.25      | area=reasonable | maxDets=200 ] = 0.1180
2021-07-04 14:09:28,658 - mmdet - INFO -  Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=200 ] = 0.0083
2021-07-04 14:09:28,658 - mmdet - INFO -  Average Precision  (AP) @[ IoU=0.50      | area=  tiny | maxDets=200 ] = 0.0099
2021-07-04 14:09:28,659 - mmdet - INFO -  Average Precision  (AP) @[ IoU=0.50      | area= tiny1 | maxDets=200 ] = 0.0000
2021-07-04 14:09:28,659 - mmdet - INFO -  Average Precision  (AP) @[ IoU=0.50      | area= tiny2 | maxDets=200 ] = 0.0000
2021-07-04 14:09:28,659 - mmdet - INFO -  Average Precision  (AP) @[ IoU=0.50      | area= tiny3 | maxDets=200 ] = 0.0102
2021-07-04 14:09:28,659 - mmdet - INFO -  Average Precision  (AP) @[ IoU=0.50      | area= small | maxDets=200 ] = 0.0051
2021-07-04 14:09:28,659 - mmdet - INFO -  Average Precision  (AP) @[ IoU=0.50      | area=reasonable | maxDets=200 ] = 0.0333
2021-07-04 14:09:28,659 - mmdet - INFO -  Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=200 ] = 0.0012
2021-07-04 14:09:28,659 - mmdet - INFO -  Average Precision  (AP) @[ IoU=0.75      | area=  tiny | maxDets=200 ] = 0.0002
2021-07-04 14:09:28,660 - mmdet - INFO -  Average Precision  (AP) @[ IoU=0.75      | area= tiny1 | maxDets=200 ] = 0.0000
2021-07-04 14:09:28,660 - mmdet - INFO -  Average Precision  (AP) @[ IoU=0.75      | area= tiny2 | maxDets=200 ] = 0.0000
2021-07-04 14:09:28,660 - mmdet - INFO -  Average Precision  (AP) @[ IoU=0.75      | area= tiny3 | maxDets=200 ] = 0.0002
2021-07-04 14:09:28,660 - mmdet - INFO -  Average Precision  (AP) @[ IoU=0.75      | area= small | maxDets=200 ] = 0.0000
2021-07-04 14:09:28,660 - mmdet - INFO -  Average Precision  (AP) @[ IoU=0.75      | area=reasonable | maxDets=200 ] = 0.0014
2021-07-04 14:09:28,660 - mmdet - INFO -  Average Recall     (AR) @[ IoU=0.25      | area=   all | maxDets=200 ] = 0.2699
2021-07-04 14:09:28,661 - mmdet - INFO -  Average Recall     (AR) @[ IoU=0.25      | area=  tiny | maxDets=200 ] = 0.0731
2021-07-04 14:09:28,661 - mmdet - INFO -  Average Recall     (AR) @[ IoU=0.25      | area= tiny1 | maxDets=200 ] = 0.0000
2021-07-04 14:09:28,661 - mmdet - INFO -  Average Recall     (AR) @[ IoU=0.25      | area= tiny2 | maxDets=200 ] = 0.0104
2021-07-04 14:09:28,661 - mmdet - INFO -  Average Recall     (AR) @[ IoU=0.25      | area= tiny3 | maxDets=200 ] = 0.1646
2021-07-04 14:09:28,661 - mmdet - INFO -  Average Recall     (AR) @[ IoU=0.25      | area= small | maxDets=200 ] = 0.5433
2021-07-04 14:09:28,661 - mmdet - INFO -  Average Recall     (AR) @[ IoU=0.25      | area=reasonable | maxDets=200 ] = 0.7332
2021-07-04 14:09:28,661 - mmdet - INFO -  Average Recall     (AR) @[ IoU=0.50      | area=   all | maxDets=200 ] = 0.1233
2021-07-04 14:09:28,662 - mmdet - INFO -  Average Recall     (AR) @[ IoU=0.50      | area=  tiny | maxDets=200 ] = 0.0081
2021-07-04 14:09:28,662 - mmdet - INFO -  Average Recall     (AR) @[ IoU=0.50      | area= tiny1 | maxDets=200 ] = 0.0000
2021-07-04 14:09:28,662 - mmdet - INFO -  Average Recall     (AR) @[ IoU=0.50      | area= tiny2 | maxDets=200 ] = 0.0000
2021-07-04 14:09:28,662 - mmdet - INFO -  Average Recall     (AR) @[ IoU=0.50      | area= tiny3 | maxDets=200 ] = 0.0191
2021-07-04 14:09:28,662 - mmdet - INFO -  Average Recall     (AR) @[ IoU=0.50      | area= small | maxDets=200 ] = 0.2072
2021-07-04 14:09:28,662 - mmdet - INFO -  Average Recall     (AR) @[ IoU=0.50      | area=reasonable | maxDets=200 ] = 0.4733
2021-07-04 14:09:28,662 - mmdet - INFO -  Average Recall     (AR) @[ IoU=0.75      | area=   all | maxDets=200 ] = 0.0084
2021-07-04 14:09:28,663 - mmdet - INFO -  Average Recall     (AR) @[ IoU=0.75      | area=  tiny | maxDets=200 ] = 0.0002
2021-07-04 14:09:28,663 - mmdet - INFO -  Average Recall     (AR) @[ IoU=0.75      | area= tiny1 | maxDets=200 ] = 0.0000
2021-07-04 14:09:28,663 - mmdet - INFO -  Average Recall     (AR) @[ IoU=0.75      | area= tiny2 | maxDets=200 ] = 0.0000
2021-07-04 14:09:28,663 - mmdet - INFO -  Average Recall     (AR) @[ IoU=0.75      | area= tiny3 | maxDets=200 ] = 0.0005
2021-07-04 14:09:28,663 - mmdet - INFO -  Average Recall     (AR) @[ IoU=0.75      | area= small | maxDets=200 ] = 0.0080
2021-07-04 14:09:28,663 - mmdet - INFO -  Average Recall     (AR) @[ IoU=0.75      | area=reasonable | maxDets=200 ] = 0.0400

You can try to remove GN in FCOS head.

You can try to remove GN in FCOS head by set model.bbox_head.norm_cfg=None.
And in addition， you can try adap FCOS, it will got significant improvement by following setting:

using P2-P6 instead of P3-P7 for detection head, and set strides to (4, 8, 16, 32, 64) insetead of (8, 16, 32, 64, 128)
set anchor to smaller one, such as (8, 16, 32, 64, 128) (FCOS also have implicit anchor named 'regress_ranges' in mmdetection).

for example
model = dict(
    pretrained='open-mmlab://detectron2/resnet50_caffe',
    neck=dict(
        start_level=0,   # add
    ),
    bbox_head=dict(
        norm_cfg=None,   # add
        num_classes=1,   # add
        strides=[4, 8, 16, 32, 64],  # add
        regress_ranges=((-1, 16), (16, 32), (32, 64), (64, 128), (128, INF)),  # add
        norm_on_bbox=True,
....

Although I have not runned this setting, I thought it should work.

thank you； To remove GN in FCOS head by set model.bbox_head.norm_cfg=None  will obtain a relatively much higher accuracy；using P2-P6 instead of P3-P7 for detection head seems to be useless in my experiments

We have re-implemnet adap FCOS on TinyPerson, here is the performance table


[Feature Request] Configure path to phpstan-baseline.neon

Especially in monorepos it might come in handy, if you could configure the path to phpstan-baseline.neon.

Absolutly +1 on that. Especially for repos keeping the root clean and avoid filling it with the configuration files of dozen of tools (by moving them in build or other subfolders).


fix false positives for available slots

sometimes the check for available dates will fail, because requests are rather slow (30-60s) after the waiting queue disappears. This will fix false positives

1. Impftermin2. Impftermin

I don't get it why a more relaxed statement is necessary. If the platform takes to long to show the expected elements, it should be solved by adjusting the timings of:
# Timeout when searching an element on the page in seconds [s]
searchElementTimeout = 16
# Explicit waiting time for browser updates in seconds [s]
waitingTimeForBrowser = 2

But hey... if it helps, of course every change is welcome👍
Shame on me, that I never wrote any tests😅

@TobseF the problem here is that even with a timeout of 16 seconds, the problem will not get detected and the search for the element will return true due to missing window. Probably the timeout will happen for the "browser check call" as far as i remember, which happens before the actual check will get issued

@paulvau vaccinations are AFAIK delivered saturdays and before this the centers offer appointments the day before (just found 2x1 todays appointments yesterday ).
if only one available vaccination date is displayed
I have seen the text with 1 appointment getting displayed on the page

@paulvau s question is relevant for Johnson & Johnson where only one vaccination is needed and thus only one "Impftermin" will be displayed. If this one is called "1. Impftermin", I don't know

@h0nIg I think the availability of appointments strongly depends on the center. Was able to get an appointment for Friday on Monday, saw three appointments today for next Wednesday, Wednesday in the week after and 3rd of June


CI PR Check Test

Test PR from CI
This is a test PR, please don't merge it.

/bot run checks

/bot run checks

/bot run checks

/bot run checks

/bot run checks

/bot run checks


Update README.adoc

Fixed type/grammatic error.
[...] Almost all of the [...]

@AntoCuc Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@AntoCuc Thank you for signing the Contributor License Agreement!

Fixed in https://github.com/spring-guides/gs-testing-web/pull/37


Reading datalog from robonomics command line

Hello,
How to get (read) datalog messages using robonomics command lines?
I know that we can send (write) datalog messages through this command:
robonomics io write datalog
But how to read it inside terminal command line not through web browser?
Also I have another question. If there is any way to read datalog messages through command line, can we use it to read datalog messages received from another parachain network through relay chain? (As mention in this
I think this feature could be helpful for robonomics platform, because it make robots able to read general data logs inside parachain network or from another parachain networks.

Hello @masoudir, thank you for your proposal.
I totally agree, in general, the reading from a chain is the same important as writing.
So, here we could have at least two types of reading:

read all and exit, it looks like reading from a text file.
continuous reading from a block stream, because of the continuous nature of blockchain we could fetch data continuously; this mode looks like tail -f in bash.

Thank you very much @akru. I think both of them would be required and helpful in your platform.
The first one (read all buffer and exit) will be used for subprocess in python (get all messages from stdout)
The second one would be useful for online monitoring and logging.
But if I have to decide between the two, I choose the first one, because it fills stdout with messages and release them out.

Also can we use this method for receiving datalogXcm messages from outside of parachain as you have mentioned in this link?
I mean that can we send datalogXcm messages from one parachain and then receive it in another parachain from this command I have requested?

So, I guess existing datalog io device could be extended by XCM versions of pallet, but better to open another issue for this feature.

Complete


How to correctly set persistence?

Hi, thanks for this module!
I'm trying to correctly set the persistence: 'memory' to avoid using cookies, but I'm unable to do so apparently.
I tried to put this in my Nuxt config
  posthog: {
    clientOptions: {
      persistence: 'memory',
    },
  },

As it seems, by reading the docs here https://nuxt-posthog.cmitjans.dev/configuration, that this is the correct way to pass config options.
Anyway, on my deployed site, cookies are still set, and I need to prevent this.
I checked and it seems that these options are not correctly passed, I have some error thrown inside vscode

Just to try, I added another random property (autocomplete just to test) and the highlighted number went to 46.
Apparently it seems that the module is expecting me to pass all the possible properties down? Maybe there is some misconfiguration on my part, but I did everything by the docs, and it seems like there is some issue in merging the user settings with the default values .
Also, but I don't know if this can be an issue or not, by inspecting the module code, I noticed that the clientOptions is missing from the defaults, bu

Let me know if I can provide more info or context :)

Ok I did some more research, and I don't know if all of this is relevant as I am not familiar with the module inner workings, but here is what I get on the site frontend once loaded:

As you can see the persistence property is nested inside clientOptions, inside the posthog key. So the previous error is not preventing this property to be passed, but still I suspect that is not merged correctly in the right place.
Before trying this module, I was resorting in the basic script inclusion, like this

And this worked perfectly, the property was correctly read and no cookies were set. I moved out of this config because I needed PostHog to correctly detect different pages.
I hope you didn't mind the long report, and again, let me know if you need more info, I am willing to help in any way I can :)

Thanks for the detailed information @stefanobartoletti! I'll take a look later today or tomorrow 🙏

No worries, I'm not in a hurry, at the moment I resorted to manually implementing according to this https://posthog.com/docs/libraries/nuxt-js

So, I've fixed the problem with the typings in the config file (thanks for spotting that!).
However, I cannot reproduce the issue in the module's playground. When I set the configuration to 'memory', no PostHog cookies are created and a new Session Id is created when the page is refreshed.
I'll try again with a different project after a pre-release of the module and let you know. 👍

Hey @stefanobartoletti! Can you try with the new pre-release version 1.5.0?

Sorry for the delay, I've been quite busy.
I tried to set up a new project within PostHog to test this, but it looks like in the free tier I'm not allowed to have more than one.
At the moment my main site, where I set up the script manually, is in quite important moment, and I need to keep the visits tracked steadily and without possible issues.
Do you have some suggestions about how I can find a way to test it nonetheless?

Hey @stefanobartoletti sorry for the late answer.
Have you tried setting up a new PostHog account with a new email? Just for testing purposes. You should be able to test this without having to touch your production application.
Have you found if the problem persists after release 1.5.0?

@mitjans sorry for the very late answer, I was able to setup a new project using your module.
This problem seems to be still present.
The project is hosted here: https://nuxt-social-share.stefanobartoletti.it/
And you can see my current configuration here, here I've set persistence: 'memory' :
https://github.com/stefanobartoletti/nuxt-social-share/blob/4d6bf5329bc18397ae994e7916c2400f13c03894/docs/nuxt.config.ts#L74C1-L78C4
Despite this, I still have a cookie set on my site:

Hi @stefanobartoletti! I am not able to reproduce this problem with your site. Is it possible that it was an old cookie not yet been deleted? Can you confirm you still have the issue?


Issue with 2D and 3D corner coordinates

Hello!
Sorry for bothering you again, but I can't understand some moments. I have 2 questions:

I am confused that 2D corner coordinates are not between 0-1, but bigger than 1.
Don't you think this is because of the camera I am using? I am using Intel RealSense D435.

In corners = compute_projection(transformed,K), transformed are 3D corner coordinates in world frame or in my model frame?

Hi!

I used record2.py for data recording, intrinsic matrix is:
[[615.06292725   0.<PHONE_NUMBER>6]
[  0.<PHONE_NUMBER>7<PHONE_NUMBER> ]
[  0.           0.           1.        ]] for RealSense D435

In camera's coordinate frame tx, ty, tz mean the position of my model with respect to camera, right?  If so, then the distance from camera to my model is tz. However, tz is too small (around 2-3 cm, which is wrong). I think there is something wrong with my Intrinsic parameters.

Thank you for help.

Dear Fan,
It is so strange that compute_gt_pose.py fails with an updated code. It works very very slow, and after some time interrupts with "Killed" error. I thought this is so because of my laptop, but when I  tried on PC where I am running training, the same fail.


adopt standard.js instead and deprecate this one

I have a very radical proposal-let's deprecate this guide and adopt standard.js as STRV recommended style guide. Well not that radical, since standard.js is very similar to this repo. Only difference I noticed today is:

different rules around arrow function argument parens

space between function () {}

The main reason for me would be compatibility with snippets-for example my favourite editor atom has https://github.com/gaboesquivel/atom-standardjs-snippets. Unfortunately not all of these snippets are compatible with the settings in this repo and that slows me down.
Another good reason would be futureproofing-there is already a big community of people behind standard making sure that it always stays up2date. For example when new language features arrive.
Thanks for your consideration, don't be afraid to vote me down if you disagree(https://github.com/blog/2119-add-reactions-to-pull-requests-issues-and-comments).

There are some issues I currently see with that move:

Standard is all-or-nothing, while this config set gives you flexibility to gradually adopt ESLint into existing projects, making the transition more smooth
Not sure if standard covers all the rules, we would have to check on that. This config set does (except a few exceptions, see unused.js.
The ultimate vision for this coding set is to support multiple dev environments - naked browser, babel, react, node.js, you name it. The only thing stopping me from achieving that goal is my lack of experience with those environments. :smile:. Not sure if we could have that with Standard.
Ultimately, the issue with snippets causing warnings with this coding style will be resolved once the linter plugins for various editors adopt the --fix flag - then it will be a matter of saving the file and coding styles will be fixed automatically in most cases.

Related: https://github.com/AtomLinter/linter-eslint/issues/417

Actually (sorry for spam!), Atom Linter already supports auto-fixing, it just does not do it automatically on save and there are no shortcuts bound to that functionality.

@Alaneor

Agree. It is debatable whether changing a codestyle from one to another is worth it. I certainly wouldn't change a project's codestyle. An ideal JS project should have one code style from the beginning to the end. So this argument lacks importance with me.
2.I think it does check all the things you are checking. Even unused variables.
3.standard.js does support linting any environment. For example jsx support is built in.
if that would fix it, that would be marvellous. Unfortunately for me, when I try to run that in my atom, it does not fix those spaces in function declarations/arrow function argument parens

Sorry for taking my time with this, totally forgot about it!
The argument about gradual adoption of ESLint into existing projects is not just about having consistent coding style from start to end (there's no need for discussion about that - I totally agree!) - the point was, that with this ruleset, you can start using ESLint in projects where there previously was no static code checker and have it only run the known-errors checks, completely ignoring coding style rules and still gain benefits of static code checking. You cannot have that with standard.js - you either install standard.js and are fully compliant or you end up with a project with so much ESLint warnings that you effectively start ignoring them completely.
Additionally, this being an "STRV-made" ruleset, I personally feel it will give people more incentive to use it for our projects and to adhere to the coding styles this ruleset sets forth. 😄 And, since standard.js is maintained by an outside party, we have plenty of flexibility in adopting our own rules should we have the need for that.
The ultimate goal I hope to achieve one day is to have all our projects with this ruleset enabled to its full potential and have near-zero overrides in project-local configuration files.
For these reasons I will now close this. Note, however, that changing some coding style rules can always be discussed via separate issues - there have been several such occurrences already, see #2, #8 as examples. if you have something specific in mind, feel free to raise an issue!


Upgrade linter and config

This upgrades to ESLint v2 and pulls in the new config.

Looks good, please merge when Travis is happy. Thanks!


Contrast themes – Radio buttons :checked and unchecked look identical

Fixed in #8921. Here are Wagtail 4 forced colors checkbox styles for posterity:


Transit light source effect on radius-ratios.

[ ] See if we can use the spectra measured from Ducrot et al. (2020) to constrain the transit light source effect, and thus limit the contamination of the unoccupied star (due to time-averaged inhomogeneities of the stellar photosphere).

[ ] Add reference to Zhang et al. (2018). https://doi.org/10.3847/1538-3881/aade4f

@aburgasser is working on this.  We may or may not include the in the final analysis.

This has now been implemented in src/contamination.


Update python-msgpack support on Redhat 7 to v0.5.6

Need to update python-msgpack support on Python 2 Redhat 7 to v0.5.6, similar to that on Python 3ot
Note that this has been a requirement in Salt requirements/base.txt since May 9, 2018 due to msgpack-python having been deprecated.

https://github.com/saltstack/salt-pack/pull/701

PR merged

Thanks much. 🙏


License

Thank you for making this implementation available. Could you please add a license to allow reuse/modification of the code (https://choosealicense.com/)?

without a license, the default copyright laws apply, meaning that you retain all rights to your source code and no one may reproduce, distribute, or create derivative works from your work. (https://help.github.com/en/articles/licensing-a-repository)

Thanks in advance,
Alex

Done; thanks @aldro61 for the warning!


WebGPU: Increase work per thread for matMul.

Changes

increase work per thread in matMul kernel

Benchmarks
These are minimum times across 20 runs for AOuter = shared = BOuter = 500.
tile size = 8, work per thread = 4: 95ms
tile size = 8, work per thread = 2: 57ms
tile size = 8, work per thread = 1: 65ms
tile size = 16, work per thread = 2: 123ms
tile size = 16, work per thread = 1: 100ms
To see the logs from the Cloud Build CI, please join either
our discussion
or announcement mailing list.

This change is

Here are my thoughts on why adding workPerThread doesn't have a consistent effect on performance. You're currently using workPerThread so that each thread loads a workPerThread x workPerThread 2d sub-matrix into the shared memory region. Since the matrices are row-major the accesses to main memory are probably hitting different cache lines for different rows.
You could try having workPerThread only iterate over loads across a single row which might help. Then your local threadgroups would be more like:
layout (
        local_size_x = TileSize,
        local_size_y = TileSize / WorkPerThread,
        local_size_z = 1) in;

Curious, what are the WebGL numbers for 500x500? (no need to do benchmarks for this, just curious if you know on top of your head)


fix: default parsers conf location wrong on windows

both linux and windows have it at the same location
Looking at that, I wonder why there are two different specs/types for the same thing (FluentbitSpec and NodeAgentFluentbit) - the former permits to override the config while the latter doesn't.

@pepov @OverOrion hey! just wanted to ask about a release here - I didn't see the latest patches to include this change, any chance this gets into the next release? Thanks!

@mweibel we don't automatically backport items, please open a pr against release-4.5 and we can merge/release from there as 4.5.x

ok, wasn't aware of that - opened #1663 for that


[4.2][CSRanking] Swift 4.1 compatibility hack for favouring properties on concrete types over protocols

(4.2 cherry-pick of #18952)

Explanation: For some protocol P and non-conforming class C where both types declare a property foo, in contexts where members from both C and P are accessible, an access to foo would be considered ambiguous.

Scope: Resolves a 4.2 source compatibility regression.

SR Issue: SR-7425

Risk: Low – the added logic is narrow and specifically designed not to introduce any new ambiguities.

Testing: Added tests for Swift 4 property overloading behaviour, Test suite, Compatibility suite

Reviewers: @rudkx

@swift-ci Please smoke test

@swift-ci Please test source compatibility

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 90410a06810adf850dda5b26ebec716a1b4ac26e

@rudkx Looks like the Linux test timed out, could you try again?

@swift-ci Please smoke test Linux platform

@rudkx As I understand it, it's the full Linux test that needs re-running – could you please kick it off?

Ah yes, I always reach for the "saved reply" for smoke testing.

@swift-ci Please test Linux platform

Any news on this (and #19562)? I don't know when the cut off point for getting stuff into 4.2.1 is, so I don't know how urgent it is.

I sincerely apologize for now seeing this sooner, and I appreciate you filing the PR.
Swift 4.2.1 is a very focused release, and there are always a chance of regressions being introduced by changes like this.  We should hold this fix to Swift 5.


Fixed Short Description and Value for stgHCAfflMapAutoEnrollStatusNotFound

Critical Changes
Changes
Issues Closed
New Metadata
Unpackaged Metadata
Deleted Metadata
Testing Notes

Passes QA - Merging - Closing WI

Passes QA - Merging - Closing WI


About training a new neural face renderer of a new actor and the results.

Hello, I used a new actor video and I trained a new neural face renderer, but the mouth of the generated mp4 video is blurred and cannot be overlapped with the original. Is this related to the video I used of Asians or something wrong with my testing or models? In addition, could you give me your email? I can't open the email link in github and I want to contact you to apply the training/test videos used in the experiments, thanks a lot.

Hi,
If the blurred mouth appears on specific target emotions it may be that the training video is not long enough, or has not enough expression variability to properly fine-tune the model on. Otherwise, you could check whether the 3D reconstruction for the training video has failed by looking at the nmfc or shape images (although this rarely happens). For accessing the videos, please use<EMAIL_ADDRESS>


The item isn't show up

Once ordered from store, the delivery pod doesn't drop the item. (´・ω・｀)

I installed the mod and I didn't encounter any kind of problem, could you enable the log console and see if it gives any kind of error?

It's fine now, seem like the requirement mods have to update and it fixed already. Maow :3


Added landing page template

Description 📜
Added landing page template created using HTML, CSS, JS
Fixes #1330

Type of change 📝
Please delete options that are not relevant. In order to tick the check box just put x inside them for example [x] like this

[x] Add a new project

Domain of Contribution 📊
Please delete options that are not relevant. In order to tick the check box just put x inside them for example [x] like this

[x] Project using HTML, CSS & JS

Checklist ✅
Please delete options that are not relevant. In order to tick the check box just put x inside them for example [x] like this

[x] I have performed a self-review of my own code or work.
[x] My changes generate no new warnings.
[x] I'm GSSoC'22 contributor

Screenshots / Gif (Recommended) 📸
Desktop view:

###Mobile view:

@gurjeetsinghvirdee, created new PR for this issue because branch contains projects which were deleted.


Improve tests readability

Several test cases are using the expandMacros method but instead of using  and  scape sequences are using <1s> and later binding with it. Using the scape sequences make the tests shorter.

Duplicates Issue #49


Figure 1 clado sm

Code produces Figure 1a and outputs .pickle and .txt of haploypes in clusters.

Nice work Chris. Happy to merge this as-is once #39 is merged.
Btw the CI is failing currently because texlive shifted versions (2016->2017) underneath us and broke our build. I have a separate PR to fix that (#41).


[WIP] Add Netlify configuration.

Following up with the discussion in the mailing list:
https://groups.google.com/d/msg/kubernetes-sig-docs/LPI-pJURSww/D_cmJEh_AAAJ
These are the required changes to make the site build on Netlify. I'm not completely sure about which jekyll plugins you're using, so I added all the gems that are installed in GitHub Pages by default. Keep in mind that Netlify doesn't have any restrictions in that regard, so you can feel free to add/remove anything that's necessary there.

The netlify.toml file explains how to build this site for production
and deploy previews.
The Makefile has some commands to make building the site slightly more
user friendly, try typing make help.
The Gemfile includes all the dependencies exported from GitHub Pages.
This site might not need all of the but I don't have the knowledge to
exclude the unused ones.

Signed-off-by: David Calavera<EMAIL_ADDRESS>

This change is

Something else to mention is that I did NOT removed anything that can make the site to stop working on GitHub Pages. Unless I'm very mistaken, the package.json file was not necessary, and Netlify failed to build the site because it was also invalid.
You can see this branch deployed in a canary domain here: http://robber-grace-86385.netlify.com


About ytvis_2021 dataset

Hi, I am following up on your work on video instance segmentation and trying to run experiments on the ytvis_2021 dataset. The original data downloaded from the link is organized as:
{train/valid/test}/
    JPEGImages/
    instance.json

How should I convert it to the structure you used here? I just copied the instance.json as train/valid/test.json, evaluation could run correctly, but there were some file-not-found errors during training. Looks like some videos listed in train/instance.json are not included in train/JPEGImages/. What should I do?
Thanks a lot!

I did not do any processing other than directly copying the json file:
train/instance.json => train.json
valid/instance.json => valid.json
test/instance.json => test.json

Thanks!


Add okhttp2.x plugin

Add an agent plugin to support

[x] Add a test case for the new plugin, refer to the doc
[] Add a component id in the component-libraries.yml
[ ] Add a logo in the UI repo

[x] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #<7889>.
[x] Update the CHANGES log.

New release should start recently, if you want to include this in, you need to finish this PR ASAP.


训练自己数据集

非常感谢作者作出的贡献，如果能给出训练自己数据集的具体步骤就更好了。

Hi, thank you for your interest. To apply on your own datasets:

Semi-supervised: You just need to first collect (relevant) unlabeled data. As indicated by our results, as long as the data relevance is high, even the unlabeled data is also (highly) imbalanced, it can still (almost always) improve the imbalanced learning results. Then you can just use self-training, or other semi-supervised techniques (advanced methods such as VAT/MT will achieve better results, see our Appendix E.1).
Self-supervised: Depending on your data format, you can choose any self-supervised learning methods that are suitable for your own data. All you need is to first do self-supervised pre-training without using imbalanced labels. Then you can use any base training method to do supervised training. As our paper shows, it can consistently improve the results, regardless of the base training techniques.

please give me a detail to train my databases

thank you

Love your idea .Can you plz share more details about how to train custom datasets?

Hi @SparkParis @ShirleyHe2020  - thanks for your interest! General details are indicated as above:

Semi-supervised: You just need to first collect (relevant) unlabeled data. As indicated by our results, as long as the data relevance is high, even the unlabeled data is also (highly) imbalanced, it can still (almost always) improve the imbalanced learning results. Then you can just use self-training, or other semi-supervised techniques (advanced methods such as VAT/MT will achieve better results, see our Appendix E.1).
Self-supervised: Depending on your data format, you can choose any self-supervised learning methods that are suitable for your own data. All you need is to first do self-supervised pre-training without using imbalanced labels. Then you can use any base training method to do supervised training. As our paper shows, it can consistently improve the results, regardless of the base training techniques.

Let me know if you have any questions.


Create Run time dynamic models

Sails version:1.0
Node version:v8.11.3
NPM version:5.6.0
DB adapter name: N/A
DB adapter version: N/A
Operating system: Win 7

Hi,
This is not really an issue but would like to be a feature request. I really love Sails.js and looking forward for this feature.
My Scenario: I have my project that imports Excel spreadsheets and reads the data from it. Based on the files, I want to create the tables and columns accordingly on the fly (dynamically). Once they are created it will be populated with the data from the excel.
My Question: Is it possible to create sails models dynamically rather that having them static(pre-defined)
Any response is much appreciated!
Thanks,
Neeraj

updated

@gitneeraj awesome you are using Sails v1.0! In your project folder, you'll find the following: config/bootstrap.js. You can dynamically build this file based on the data from any external source. This can be convenient to use during your development, but note is not designed to use in a production environment. Hope this helps!

Hi @gitneeraj, I hope you were able to resolve the issue. In order to clean up the Sails issues we are closing all older or resolved issues. Please feel free to open a new issue if the need arises.


Splitting a terminal in an aux window doesn't work

How do I enable terminal in an auxiliary window?

Create new terminal in editor area
Move active editor into new window (experimental)


Question regarding md-tab

Is it possible to switch between tabs using a button to navigate pages rather selecting the tab using the onSelectChange event?
Selecting the tabs works as expected and switch to expected routes but I would also like to switch tabs when I click on the 'next' button to move from, example, Tab 'A' to Tab 'B'.

Yes it is. You can bind to the selectedIndex property to set the index of the tab that should be active. You can see an example in our demo app.


[Dispatch] Store version set id in execution_flows for execution_id (Jira: BDP-4495).

[Dispatch] Store version set id in execution_flows for execution_id (Jira: BDP-4495).

Pull Request Test Coverage Report for Build 5756

1 of 8 (12.5%)  changed or added relevant lines in 3 files are covered.
11 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.008%) to 43.105%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

azkaban-common/src/main/java/azkaban/executor/JdbcExecutorLoader.java
0
1
0.0%

azkaban-common/src/main/java/azkaban/executor/container/KubernetesContainerizedImpl.java
0
1
0.0%

azkaban-common/src/main/java/azkaban/executor/ExecutionFlowDao.java
1
6
16.67%

Files with Coverage Reduction
New Missed Lines
%

azkaban-common/src/main/java/azkaban/executor/container/KubernetesContainerizedImpl.java
1
59.82%

azkaban-common/src/main/java/azkaban/jobExecutor/AbstractProcessJob.java
2
52.58%

azkaban-common/src/main/java/azkaban/executor/ExecutionFlowDao.java
8
68.83%

Totals

Change from base Build 5745:
-0.008%

Covered Lines:
15655

Relevant Lines:
36318

💛  - Coveralls

Pull Request Test Coverage Report for Build 5756

1 of 8 (12.5%)  changed or added relevant lines in 3 files are covered.
11 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.008%) to 43.105%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

azkaban-common/src/main/java/azkaban/executor/JdbcExecutorLoader.java
0
1
0.0%

azkaban-common/src/main/java/azkaban/executor/container/KubernetesContainerizedImpl.java
0
1
0.0%

azkaban-common/src/main/java/azkaban/executor/ExecutionFlowDao.java
1
6
16.67%

Files with Coverage Reduction
New Missed Lines
%

azkaban-common/src/main/java/azkaban/executor/container/KubernetesContainerizedImpl.java
1
59.82%

azkaban-common/src/main/java/azkaban/jobExecutor/AbstractProcessJob.java
2
52.58%

azkaban-common/src/main/java/azkaban/executor/ExecutionFlowDao.java
8
68.83%

Totals

Change from base Build 5745:
-0.008%

Covered Lines:
15655

Relevant Lines:
36318

💛  - Coveralls


Clean up and robustify USB communication

It should be able to be configured and commissioned over USB, and it should be able to take runtime commands from USB.
If that means that we have a G-Code parser on board, or if we hook it up through some python on the PC that then speaks some binary protocol is yet to be determined. Feel free to add suggestions.

I added a simple get/set usb interface + a python code generator to create an api + a javascript webinterface with live plotting.
I also added some code for monitoring/live plotting: my idea was this: because there is alway a compromise between "how many values" and "how often" , i added  monitoring_slots, 20 for now. The usb-api exposes a function like "monitor value xy on slot 1". If you then call "o(utput) 2" you get the first 2 monitored values. So a client can configure it to have important values on the first few slots, and read these with kHz, and less important values later in the array, so maybe every once a second it can call "o 20" to get all monitored values. The ODrive.py code makes use of these functions and automatically assigns and reads monitoring slots if you choose to monitor some value with some frequency.
Pull request: https://github.com/madcowswe/ODriveFirmware/pull/19

iwth master commit b0e57908ce5612043f9de9885dc72b257ac80cb9
i managed to get USB interface unresponsive with motor not moving anymore by using the following script
#!/bin/bash
while(true); do
   num_points="9999"
   echo -en "p 0 $num_points 0 0\n" > /dev/ttyACM0
   sleep 3.0
   echo -en "p 0 -$num_points 0 0\n" > /dev/ttyACM0
   sleep 3.0
done

(basically going back and forth)
i get the usb interface to stop responding after about 1 or 2 minutes

i think it is not relevant but i can post specific motor params in low_level.c along with engine and encoder specs if that help. plz advise

Okay, so for right now, here's the plan:

We wanna keep the ASCII style comms for now.
Main thing to improve is presenting an API that has symbols for the parameters instead of numbers
We make all parameters use getters/setters (this is important for setting computed parameters, like control bandwith)
We store a table of structs containing either:

{"name_string", TYPE_AS_ENUM, address_of_getter (or NULL), address_of_setter (or NULL)}
{"name_string", CONTAINER_SPECIAL_ENUM, subtree_ptr, subtree_len}
The last two elements would be a union.

i just reproduced the issue using

odrive board v3.2
turniny aerodrive 5065 236
a simple lasercut hardward jig to hold the motor and the encoder.
a rohde&shwarz lab power supply (settings on 24v / max 4a)
a R47 resistor connected on AUX (since i am using a power supply instead of a battery, my understanding was that i should use a "big" resistor connected on AUX)
lastest master code (06047cb79139837de582afbf32202c237e1b5627) updated by Oskar 6 days ago. no modification at all.
the same code snippet as above (basically sending "p 0 9999 0 0\n" and "p 0 -9999 0 0\n" back and forth every 3 seconds)

After about 20~30 seconds, the motor stops moving and usb interface no longer responds. the only way to work with the board is tostop sending request, turn off and on power supply, wait for the init sequence to be over.
I don't care much about the API interface as long as it is simple and stable. what madcowswe suggests above is very fine for me. I have not tried the step/dir hardware interface yet.
Basically the symptom is the USB interface is not usable.
Should I use another brand?
Should I use the step/dir interface instead of USB ?
Does anyone reproduce the issue?

Improved struct contents:
{"name_string", TYPE_AS_ENUM, address_of_variable (or general void*), NULL (or general callback)}

#52 addresses this.


specified loader not loaded

I specify babel-loader to handle files /\.jsx?$/, but when load xx.js,  babel-loader do nothing.
I means xx.js file (written in ES6) is saved to dest with original source. Then I inject console.log to babel-loader's entry function, and find the babel-loader even not loaded.
My config:
  {
        test: /\.jsx?$/,
        loader: 'babel',
        include: [APP_PATH],
        exclude: /(node_modules|bower_components)/,
        query: {
            presets: ['es2015', 'stage-0', 'react']
        }
    }

Compiled xx.js:
webpackJsonp([1],[
/* 0 */
/***/ function(module, exports) {

	import React from 'react';
        ...
        ...
/***/ }
]);

webpack version:
    "babel-core": "^6.8.0",
    "babel-loader": "^6.2.4",
    "babel-preset-es2015": "^6.6.0",
    "babel-preset-react": "^6.5.0",
    "babel-preset-stage-0": "^6.5.0",
    "webpack": "^1.13.0"

And is there a way to know which loaders are used to handle one file really?
We specify loaders by test, and then do these loaders really handle the file when running?

@bebraw I wrote a plugin to log out some info, maybe it will help to solve the problem.
# log format: compilation.plugin('normal-module-loader'...)   console.log('nml', module.debugId, module.request)

# default will run into success
nml 1001 /MyProj/node_modules/html-webpack-plugin/lib/loader.js!/MyProj/front/viewer/index.html
nml 1002 /MyProj/node_modules/react-dom/index.js
nml 1003 /MyProj/node_modules/react/react.js
nml 1004 /MyProj/node_modules/react-router/lib/index.js
nml 1005 /MyProj/node_modules/babel-loader/index.js?{"presets":["/MyProj/node_modules/babel-preset-es2015/index.js","/MyProj/node_modules/babel-preset-react/index.js","/MyProj/node_modules/babel-preset-stage-0/index.js"]}!/MyProj/front/viewer/app.js
babel-loader loaded------------------- # babel-loader loaded (inject console.log into babel-loader lib)
nml 1006 /MyProj/node_modules/html-webpack-plugin/node_modules/lodash/lodash.js
nml 1007 /MyProj/node_modules/react/lib/ReactDOM.js
...

# Then I move /MyProj/front/viewer --> /tmp/xxx/viewer
# sad, babel-loader even not loaded
nml 1001 /MyProj/node_modules/html-webpack-plugin/lib/loader.js!/private/tmp/xxx/viewer/index.html
nml 1002 /private/tmp/xxx/viewer/app.js
nml 1003 /MyProj/node_modules/react-dom/index.js
nml 1004 /MyProj/node_modules/react/react.js
nml 1005 /MyProj/node_modules/react-router/lib/index.js
nml 1006 /MyProj/node_modules/react/lib/ReactDOM.js
nml 1007 /MyProj/node_modules/html-webpack-plugin/node_modules/lodash/lodash.js
nml 1008 /MyProj/node_modules/react/lib/React.js
...

It might be that move causing the issues. Try changing include: [APP_PATH], to form include: [APP_PATH, TMP_PATH], where TMP_PATH points to /private/tmp/xxx/.

I tried but it does not work.

Seems I should write /private/tmp rather than /tmp. Um, maybe it's better to point out the problem about symbol link in document.

I don't know how it goes with symlinks. Did you get it to work?

Yes, babel-loader is loaded to handle js files.
I should specify include: ['/private/tmp/xxx/viewer'] instead of  include: ['/tmp/xxx/viewer'].

Ok. Safe to close?

Yep. Thanks.


Protocol Security Negociation Failure

Hello,
I read a lot of similar topics but I get an error trying to connect to a Windows10 host with all updates (through a SSH tunnel)  from a mageia 6 client with all updates. I choose to accept any RDP client on the Windows side (not only NLA). With the same options it works when I connect to a Windows 2008 server (without tunnel).
One year ago (no try since then), I used to work with the same host, an older version of freerdp and with the old syntax, but since then, I updated the versions and I cannot negociate any security protocol. As everything is tunneled, actually I do not need any security between my remote ssh server (mageia 6 with all updates also) and my computer as the connection is on the LAN.
Thanks for your help.
Jérôme.
xfreerdp /u:toto /v:<IP_ADDRESS> /p:33890 /log-level:TRACE
[07:38:26:053] [15776:15777] [DEBUG][com.freerdp.channels.cliprdr.client] - VirtualChannelEntryEx
[07:38:26:053] [15776:15777] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
[07:38:26:054] [15776:15777] [INFO][com.freerdp.client.x11] - Property 326 does not exist
[07:38:26:054] [15776:15777] [DEBUG][com.freerdp.client.x11] - Searching for XInput pointer device
[07:38:26:054] [15776:15777] [DEBUG][com.freerdp.client.x11] - Pointer device: 12
[07:38:26:056] [15776:15777] [DEBUG][com.freerdp.core.nego] - Enabling security layer negotiation: TRUE
[07:38:26:056] [15776:15777] [DEBUG][com.freerdp.core.nego] - Enabling restricted admin mode: FALSE
[07:38:26:056] [15776:15777] [DEBUG][com.freerdp.core.nego] - Enabling RDP security: TRUE
[07:38:26:056] [15776:15777] [DEBUG][com.freerdp.core.nego] - Enabling TLS security: TRUE
[07:38:26:056] [15776:15777] [DEBUG][com.freerdp.core.nego] - Enabling NLA security: TRUE
[07:38:26:056] [15776:15777] [DEBUG][com.freerdp.core.nego] - Enabling NLA extended security: FALSE
[07:38:26:056] [15776:15777] [DEBUG][com.freerdp.core.nego] - state: NEGO_STATE_NLA
[07:38:26:056] [15776:15777] [DEBUG][com.freerdp.core.nego] - Attempting NLA security
[07:38:26:056] [15776:15777] [DEBUG][com.freerdp.core.nego] - RequestedProtocols: 3
[07:38:26:056] [15776:15777] [ERROR][com.freerdp.core.transport] - BIO_should_retry returned a system error 32: Relais brisé (pipe)
[07:38:26:056] [15776:15777] [ERROR][com.freerdp.core.nego] - Protocol Security Negotiation Failure
[07:38:26:056] [15776:15777] [ERROR][com.freerdp.core] - freerdp_set_last_error ERRCONNECT_SECURITY_NEGO_CONNECT_FAILED [0x0002000C]
[07:38:26:056] [15776:15777] [ERROR][com.freerdp.core.connection] - Error: protocol security negotiation or connection failure

Enabling TCP forwarding on your SSH server should resolve the 'Broker Pipe' error. Refer an old issue: "Pipe broken #3122"
Also, if that doesn't help, check your client and server algorithm(Ciphers, Macs and KexAlgorithms).

Thanks for the hint. How do I do that (AllowTCPForwarding yes in /etc/ssh/sshd_config ?).
I forgot to tell that the same Windows 10 (as the rdp server) through the same mageia 6 server for the tunnel works perfectly under a windows client environment (tunnel established via cygwin, and windows msttsc.exe rdp client).
My tunnel command is :
ssh -f -o ExitOnForwardFailure=yes -o ServerAliveInterval=240 -C2TNn -L 33890:<IP_ADDRESS>:3389 toto@server
It used to work with freerdp 1.x.
Now, my updated freerdp complete command is :
xfreerdp +clipboard +auto-reconnect /rfx /codec-cache:rfx -themes /f /bpp:15 /compression /compression-level:2 /gdi:hw /cert-ignore /sec:tls /u:toto /v:<IP_ADDRESS> /p:33890

And by the way, "Pipe broken #3122" refers to port forwarding, that is obviously working on the remote server (all ssh commands work well, including shell, sftp etc.)

Just to keep you updated, I do not have the broken pipe any more (I do not know why) but still the "Error: protocol security negotiation or connection failure". It works perfectly with remmina... that uses freerdp ! (as far as I know). And remmina is in charge with establishing the ssh tunnel. Weird.

Sounds like you have a local configuration issue.
You're correct that remmina uses freerdp, specially it uses the current master, so the issue can not be in freerdp.


Fix Terraformer's maven from breaking GH actions

simple fix, just redirect to the github repo for now

I'd rather not switch to the archive maven completely, and instead would like to have it only use the archive maven when the actual one is down.
I'll figure a system out for that later. In any case, thanks for the contribution, but I likely won't be merging this anytime soon.

ah ok

I've implemented my own fallback-based system, so this will be closed. Thanks!


Error on dumping PS3 discs

Using an ASUS BW-16D1HT (Firmware 1.02) I get the following error at the beginning, though the backup continues then and I get an ISO file. So far this happened on two games, will try on some more games.
LBA[000000, 0000000]: [F:ReadDiscStructure][L:1342]
Opcode: 0xad
ScsiStatus: 0x02 = CHECK_CONDITION
SenseData Key-Asc-Ascq: 05-24-00 = ILLEGAL_REQUEST - INVALID FIELD IN CDB
FormatCode: 03 failed
cdb: ad, 20, 00, 00, 00, 00, 00, 03, 00, 04, 00, 00
Is this something bad for the image itself? I do not get the segmentation error I've seen in https://github.com/saramibreak/DiscImageCreator/issues/69

Is this something bad for the image itself?
No.

Great, mystery solved.


Struggling with comprehending the documentation

I'd like to make a short script that that lists all the dependencies of an option. I can't quite make it work though since the documentation is quite light

The Zephyr project did something similar for generating the documentation.

script: https://github.com/zephyrproject-rtos/zephyr/blob/backport-39227-to-v2.7-branch/doc/_scripts/gen_kconfig_rest.py
demo: https://docs.zephyrproject.org/3.0.0/reference/kconfig/CONFIG_ADC_STM32_SHARED_IRQS.html#std-kconfig-CONFIG_ADC_STM32_SHARED_IRQS

The master branch has made some changes and I can't quickly find what happened to the script.