Bump calling beta to 1.13.0 beta.4

What

Bump calling beta version to 1.13.0 beta.4
Why

To add closed captions feature to main and also get the latest and greatest from Calling
How Tested

Tested calling functionalities with 4 participants in Calling sample
Process & policy checklist

[ ] I have updated the project documentation to reflect my changes if necessary.
[ ] I have read the CONTRIBUTING documentation.

Is this a breaking change?

[ ] This change causes current functionality to break.

https://github.com/Azure/communication-ui-library/pull/2846
Here we have similar update in the huge PR, a bit afraid of creating more conflicts and slow down the merge of close caption, maybe we can merge that first? Then we can leave comments or merge this later if we feel there is anything missing

#2846 Here we have similar update in the huge PR, a bit afraid of creating more conflicts and slow down the merge of close caption, maybe we can merge that first? Then we can leave comments or merge this later if we feel there is anything missing

Sounds good. Took a look at that feature branch and the calling beta bump is the same as this branch. Approved!


Add created and revised dates to DITA prolog section

The DITA prolog can also have a created and a revised date:
https://www.oxygenxml.com/dita/1.3/specs/langRef/base/created.html
https://www.oxygenxml.com/dita/1.3/specs/langRef/base/revised.html
Again, depending on weather the topic is saved for the first time or on subsequent times, the prolog could be updated to contain this information every time the document is saved.

Fixed in: 0d398c0a61f69f73cedf6e1d63604c634de666b8


Include ASCII Equivalents in Official Docs code Examples

For Perl6 new comers, those who are not familiar with the Perl6 community and culture
and how Perl6 came to be or evolve
The special Unicode Characters in code and especially in operators, can look very intimidating
it can be quiet engaging to find out how to insert those characters in your favorite OS or editor
Having Unicode only code samples and examples, might give the impression, that there is no other way to write that code, except using the unicode characters
It should be made clear in the docs, that for example this line
my @primes = ^∞ .grep: *.is-prime;
Can simply be written as
my @primes2 = ^Inf .grep: *.is-prime;
And if possible any unicode operator mentioned in the docs, should have a link to its ascii equivalent
I understand, that Perl6 might be trying to promote itself as a 100 year language, and that part of this is promoting the use of the nicer looking unicode characters, but for new comers who are not aware of this or sold on this idea, this can be very intimidating and confusing

In fact, we have the opposite policy for the docs. It's not written in stone, but this means that most examples are going to follow your example number 1, not the second.
If you want to follow through giving more good reasons, we'd be happy to listen to them, but this would be a major change (meaning little possibility to happening any time soon) so even if it was passed by reversing the guideline above, there's slim chance it's actually enforced.
In the example you mention, I don't see Inf particularly more informative (pun intended) than ∞, which is universally acknowledged as the Infinity sign. But in other cases it could be so, and we could include additional explanations to the example if that's the case. So please if you spot particular examples of that kind, feel free to create issues to improve them.
Bear in mind that Unicode symbols are a Perl 6 feature. Not using it in examples does not make any sense, since we actually want people to use Perl 6 to its full extent.

OK, actually, here's what happened. We had some examples using ascii chars, and other examples using non-ascii chars. While in some cases it's ok, generally it's inconsistent, so I came up with #1520, take a look at the issue for a justification.
Basically, we introduced “Prefer non-ASCII syntax in examples” not to piss off those who don't like unicode chars, but because you can then deunicodify examples with dumb-as-bricks code and very high rates of success (basically just s:g/∞/Inf/ will do).
So we can actually “Include ASCII Equivalents” as requested, someone just needs to do it. And then, should it be done in javascript or do we have any better alternative?

Hi, thanks for the feedback, I was not aware of the policy or issue #1520
And it seems that this was thoroughly discussed before
I don't want to waste anybodies time on this, but I will this say and I promise, I wont take it further or argues more, this was a very negative experience for me, and I am very sure, it will be a negative experience for many outsiders and new comers
This policy as it is implemented today

Hides a feature, that ASCII equivalents exists and can be use

I think, we can keep the policy, but fix the undesirable side effect, it can be mentioned somewhere prominent on the site, that ASCII codes exist (this is not the case today)
Or adopt one of the proposed solutions from the previous discussions, for example a mouse over that shows the ASCII equivalent

I was not aware of the policy

Sorry, I should've mentioned I was vaguely aware of something like that when I suggested you file the Issue.

If you want to follow through giving more good reasons, we'd be happy to listen to them

Here's the user not understanding how to write the code shown in the examples. The rest of the channel are in the middle of some weird religious discussion and answer the user only three minutes later.

So we can actually “Include ASCII Equivalents” as requested, someone just needs to do it. And then, should it be done in javascript or do we have any better alternative?

A really easy thing to implement would be just a piece of JS that scans for Unicode ops and sticks a tiny question mark icon next to that line. Hover over it and it shows a tooltip explaining that we have ASCII alternatives for all the fancy ops and the Language section has both a section on how to type fancy ops and a map of all the fancy ops to ASCII equivalents.
Basically, just making the user aware they don't have to use fancy symbols if they don't want to.

(the CSS code that genned the shown example. Probably needs more tweakage to work with different fonts):
.line.marked .source::before {
    content: "？";
    position: absolute;
    left: -4ex;
    font-size: 80%;
    display: block;
    background: #aaf;
    color: #fff !important;
    border-radius: 3ex;
    width: 2.5ex;
    height: 2.5ex;
    text-align: center;
    vertical-align: middle;
    box-shadow: 0 0 1px rgba(0,0,0,.2);
    margin-top: 1px;
}

https://docs.raku.org/language/unicode_ascii exists, which shows the alternatives. See the related commit for an addition of this information to the intro page, which should answer the modified ask.


Ketcher SMILES format

From Brian Cole: Ick, looks like Ketcher returned a Kekule SMILES :frowning:

@coleb FYI


Contempt complaint not always populating

Contempt complaint will only populate if has_tro is True
Should we only allow the user to continue to make a contempt complaint if has_tro is True?
If not and we want users to proceed even if has_tro is False, it will not ask the contempt complaint questions and will only add parties names to complaint and will be incomplete on download.
https://github.com/LemmaLegalConsulting/docassemble-HousingCodeChecklist/blob/44b2531af7d8e1dc28bf93cdf88c10732f3aa2b4/docassemble/HousingCodeChecklist/data/questions/orders_and_contempt_complaint.yml#L15-L21

Yes, you cannot file for contempt unless you have an equitable order in place.

@nonprofittechy also if user answers "No" on this screen, contempt complaint shows on download but doesn't populate anything. Should we have it go to a kickout (seems like a ways into the interview for kickout)? Redirect to explore more conditions? What is the best flow? (I see the two "did" typo)


connecting to snowflake

Issue
connecting to snowflaoke using sequelize-typescript with exsisting tables .
Versions

sequelize:   "6.19.2",
sequelize-typescript:  "2.1.3"
typescript:    "3.7.3"

Issue type

[ x] bug report
[ ] feature request

Actual behavior

is is possible to connect to exsisting snowflake DB that alredy has data using sequelize-typescript ?
i just manage to create new tables not to connect to the old one
if so can you refrence me the the repo or documention ?
Expected behavior

Steps to reproduce

the table test is already exsist is the DB
when i run the code i get
original: Error [OperationFailedError]: SQL compilation error: error line 1 at position 7
invalid identifier '"id"'
Related code

export const sequelizeConn = new Sequelize('dev', '', '', {
    dialect: 'snowflake',
    define: {
        freezeTableName: true
      },
    dialectOptions: {
      // put your snowflake account here,
      account: 'xx',  // my-app.us-east-1
      define: {
        freezeTableName: true
      },
      // below option should be optional
      role: 'xx',
            warehouse: 'xx',
      schema: 'PUBLIC'
    },
     username: 'xxx',
    password: 'xx',
    database: 'DEV',

  })

 * file app.ts
  sequelizeConn.addModels([test]);
  * file test
export class test extends Model<test> {
    myid: number;
name:number
   }

test.findAll().then((res: any) => console.log(JSON.stringify(res)));

I have been using sequelize-typescript with Snowflake for a few months now. I remember this causing me issues at the beginning. I am almost positive the reason why you are running into this error is because the default config for quoteIdentifiers is true. When quoting fields in snowflake - it makes it case sensitive. To get passed this, I flip quoteIdentifiers to equal false:
            const sequelize = new Sequelize(SNOWFLAKE_DATABASE, SNOWFLAKE_USERNAME, SNOWFLAKE_PASSWORD, {                 dialect: 'snowflake',                 dialectOptions: {...dbConfig},                 username: SNOWFLAKE_USERNAME,                 password: SNOWFLAKE_PASSWORD,                 database: SNOWFLAKE_DATABASE,                 quoteIdentifiers: false             })

Also, a field 'id' would be added to your model by default via Model - so if you created this table outside of this project and it does not have a column 'Id' - that could also be the issue.

I am almost positive the reason why you are running into this error is because the default config for quoteIdentifiers is true. When quoting fields in snowflake - it makes it case sensitive. To get passed this, I flip quoteIdentifiers to equal false:
 const sequelize = new Sequelize(SNOWFLAKE_DATABASE, SNOWFLAKE_USERNAME, SNOWFLAKE_PASSWORD, { dialect: 'snowflake', dialectOptions: {...dbConfig}, username: SNOWFLAKE_USERNAME, password: SNOWFLAKE_PASSWORD, database: SNOWFLAKE_DATABASE, quoteIdentifiers: false })

@chiblackhawks this sounds like it could be an issue with the implementation of snowflake in sequelize itself. Unfortunately we do not have access to a database to run our tests on so we are dependent on others to research these issues. Would you be willing to look into this for us?


Tar List in Memory

This might be more suited for e.g. StackOverflow, but I think a little more documentation here could help (and there's a tiny chance this is actually a bug) so I figured I'd open an issue; feel free to send me back to Q&A land if that's appropriate.
tar.t  is pretty confusing to me because I'm not very familiar with the specifics of how  streams  work. I thought I had sufficient understanding, but it looks like I'm missing something.
My impression is that I can create a read stream (let's call it  fileReadStream), use  tar.t  without the  file  argument to create a write stream (tarWriteStream), then  pipe  from  fileReadStream  to  tarWriteStream  and be on my merry way trying to figure out the callbacks and how to make that part compatible with async/await.
Unfortunately, it seems as though  tar.t  without the  file  option never actually returns. I tried adding an  await  beforehand, despite not thinking that was the correct approach, and it in fact did not help.
I have tried to write the readable stream to a file and that succeeded, so the read side isn't the problem.
Does  tar.t  actually create a writeable stream as it says in the documentation? Is there something else that needs to be done before it can be piped to?
Thank you for any help.

Yes, tar.t returns a Writable Stream if you don't specify a file argument.  You write tar data into that stream.  The data can come from anywhere.  (A tarball on disk, an http request, copied and pasted into a buffer in your code, etc.)
Here's an example that will probably help:
$ mkdir -p foo

$ touch foo/{a,b,c,d,e,f,g}

$ tar cvf foo.tar foo
a foo
a foo/g
a foo/a
a foo/f
a foo/c
a foo/d
a foo/e
a foo/b

$ cat t.js
const tar = require('./')
const fs = require('fs')
const readableStreamOfTarData = fs.createReadStream('foo.tar')
const tarListWriteStream = tar.t({
  onentry (entry) {
    console.error('got an entry!', entry.path)
  }
})

console.error('tarListWriteStream is a', tarListWriteStream.constructor.name)
console.error('tarListStream.writable =', tarListWriteStream.writable)
console.error('tarListStream.readable =', tarListWriteStream.readable)
console.error('tarListStream.write is a', typeof tarListWriteStream.write)
console.error('tarListStream.end is a', typeof tarListWriteStream.end)

readableStreamOfTarData.pipe(tarListWriteStream)

$ node t.js
tarListWriteStream is a Parser
tarListStream.writable = true
tarListStream.readable = false
tarListStream.write is a function
tarListStream.end is a function
got an entry! foo/
got an entry! foo/g
got an entry! foo/a
got an entry! foo/f
got an entry! foo/c
got an entry! foo/d
got an entry! foo/e
got an entry! foo/b

Perhaps you could share some code that you think should work, but isn't working.  Because what you describe is (afaict) what I wrote above, and as you can see from the output, it works as you seem to expect.  So what's different?

Apologies, this was, as I suspected, due to a lack of familiarity with streams in general on my part. For what it's worth, the part that tripped me up was the actual closure of the stream. I was attempting to use it with async/await as well, and ideally didn't want to write boilerplate code.
Here's what I ended up with (it's in the context of an s3 get).
import tar from 'tar';
import util from 'util';
import stream from 'stream';

import s3 from './s3';

const pipeline = util.promisify(stream.pipeline);

const getFileList = async (s3Bucket: string, s3Key: string) => {
  const s3Options = {
    Bucket: s3Bucket,
    Key: s3Key
  };

  const files = [];

  const s3ReadStream = s3.getObject(s3Options).createReadStream();
  const tarWriteStream = tar.t({
    onentry: entry => files.push(entry.path)
  });
  await pipeline(s3ReadStream, tarWriteStream);

  return files;
}

export default getFileList;


chore: cleanup stuff

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


When there is no default value, the first item will be selected. Is there a way to not display this effect?

Hi @yh4922 ,
When there is no default value, there shouldn't be any items selected as showing in the example samples.
Can you share a sample code when this issue happen?

Hi @yh4922 , When there is no default value, there shouldn't be any items selected as showing in the example samples. Can you share a sample code when this issue happen?

This is the example project of this library, I have not done any task modification

Well, Selected Item is only highlighted on web and desktop, when [FocusManager.highlightMode] is [FocusHighlightMode.traditional] that's why I couldn't see this behavior.
and in that case, First item is considered as the selected index to handle menu animation, position, etc.. "That's Flutter Dropdownbutton behavior".
All we need is to exclude first item to be highlighted when there's no default value.
Also, I noticed the button's color gets highlighted on web and desktop if buttonDecoration is set. I'll work to fix that too.


Add more NVTX markers

This PR adds some more NVTX markers to the DALI Backend.

CI MESSAGE: [10363083]: BUILD STARTED

CI MESSAGE: [10363083]: BUILD PASSED


Tutorial

And finally, here comes the first draft of the tutorial.
Deployed version is at kompics.github.io/kompact.
I'd be much appreciative if someone could go through all of the blah I've written and check that is makes sense, fix the spelling mistakes, and see that all the code examples are properly aligned.

In the introduction you say that it requires nightly, but doesn't kompact work on stable since 0.9?
In the Internal State / Counter Example you have mismatched parens in the pun info, unless the semicolon isn't supposed to be an emoticon ;).
Also there you say "CurrentCount is considered an implementation". I believe you meant "indication".

In the Internal State / Counter Example you have mismatched parens in the pun info, unless the semicolon isn't supposed to be part of an emoticon ;).

Yes, I always abuse the smiley as a closing parenthesis as well, when I'm marking snarky side comments. It's a signature move ;)


kola/tests/kubeadm: Bump kubeadm config API version

It's available since k8s 1.15, so we can safely use it and avoid
deprecation warnings.
Not sure if it's worthy of a changelog entry.

[ ] Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update)

Test passed: http://jenkins.infra.kinvolk.io:8080/job/container/job/test/2077/


[dv/chip/rom] Update the timeout of DV_WAIT

Hi,
This change is required for the GL in which the DV_WAIT default timeout is not long enough.
Done here as we done in the chip_sw_rom_e2e_self_hash_gls_vseq in the previous PR #24339:
https://github.com/lowRISC/opentitan/blob/cf32d0f1190b72144c52ffe1b226b4fe37eb3988/hw/top_earlgrey/dv/env/seq_lib/chip_sw_rom_e2e_self_hash_gls_vseq.sv#L17-L22

@timothytrippel Thanks for the approval!
Can you please also cherry pick this PR to the earlgrey1.0.0 branch?
It's required for the selfhash test to pass in GL.

Done: https://github.com/lowRISC/opentitan/pull/24441


Difference between LD_PRELOAD libjemalloc and building with jemalloc

Hello!
Are there any differences between these two setups for ATS 9.2.x and which one is preferable nowadays?
Case 1:

CONFIG proxy.config.proxy_binary_opts STRING -M -f -F
Traffic server compiled without --with-jemalloc option.
LD_PRELOAD=/path/to/libjemalloc.so /path/to/traffic_manager

Case 2:

CONFIG proxy.config.proxy_binary_opts STRING -M -f -F
Traffic server compiled with --with-jemalloc=/path/to/libjemalloc
No LD_PRELOAD stuff is done.

Hi! Sorry for the delay responding to this issue.
If you configure using --with-jemalloc or --with-mimalloc then ATS will use a custom allocator for allocations when freelists are disabled (with -f).  Additionally, with --with-jemalloc, when you send SIGUSR1 ATS will call malloc_stats_print to dump arena stats and will look for a custom format string in proxy.config.memory.malloc_stats_print_opts.
As an aside, the -f option disables freelists, which can definitely improve performance if you have a lot of cores and high transaction rates.  On the other hand, -F disables the thread-local object caches which will re-use objects reallocated on the same thread (ProxyAllocators).  Turning this off might actually decrease performance and put more pressure on the memory allocators.  If you really want to tune ATS, you should run with both flags on/off to see how they impact performance and memory usage.

Hi @cmcfarlen We've also compiled ATS v8.1.7 for Debian using --with-jemalloc=/usr/local/lib.
While your answer clarifies the function of -f versus -F, could you also shed some light on whether an ATS build that is compiled with --with-jemalloc=/usr/local/lib also needs an LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2 or not to function correctly with Jemalloc?
Also, where can we find examples/samples for the string to put as value for proxy.config.memory.malloc_stats_print_opts?


Check plugin configuration when changes occur

Changes

[x] Check plugin configuration when it changes and at startup

[x] At Rest Encryption Key is defined (closes #81)
[x] Webhook Token is defined and does not contains a forwardslash (closes #45).

[x] Plugin fails to start if a configuration error is detected
[x] Added unit tests
[x] Fix missing keys for values in API.LogError() calls (mentionned in #81)

Changelog

## Enhancements
- Plugin configuration is checked at startup, and plugin fails to start if an error is detected

Codecov Report

Merging #83 (20fefb0) into main (d212c06) will decrease coverage by 4.12%.
The diff coverage is 20.00%.

@@           Coverage Diff            @@
##            main     #83      +/-   ##
========================================
- Coverage   5.97%   1.85%   -4.13%
========================================
  Files          5      21      +16
  Lines        184    1566    +1382
========================================
+ Hits          11      29      +18
- Misses       169    1531    +1362
- Partials       4       6       +2

Impacted Files
Coverage Δ

server/plugin/account.go
0.00% <0.00%> (ø)

server/plugin/approve.go
0.00% <0.00%> (ø)

server/plugin/autocomplete.go
0.00% <0.00%> (ø)

server/plugin/command.go
0.00% <0.00%> (ø)

server/plugin/http.go
0.00% <0.00%> (ø)

server/plugin/manifest.go
100.00% <ø> (ø)

server/plugin/plugin.go
0.00% <0.00%> (ø)

server/plugin/project.go
0.00% <0.00%> (ø)

server/plugin/configuration.go
68.00% <100.00%> (ø)

server/plugin/insight.go
0.00% <0.00%> (ø)

... and 15 more

Continue to review full report at Codecov.

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

Thanks for the review @jfrerich, suggestions applied :wink:

Hi! Any news on this?

@nathanaelhoun Heads up that there is a merge conflict

Codecov Report

Merging #83 (2d16784) into main (33ea7a7) will decrease coverage by 4.11%.
The diff coverage is 20.00%.

@@           Coverage Diff            @@
##            main     #83      +/-   ##
========================================
- Coverage   5.97%   1.86%   -4.12%
========================================
  Files          5      21      +16
  Lines        184    1553    +1369
========================================
+ Hits          11      29      +18
- Misses       169    1518    +1349
- Partials       4       6       +2

Impacted Files
Coverage Δ

server/plugin/account.go
0.00% <0.00%> (ø)

server/plugin/approve.go
0.00% <0.00%> (ø)

server/plugin/autocomplete.go
0.00% <0.00%> (ø)

server/plugin/command.go
0.00% <0.00%> (ø)

server/plugin/http.go
0.00% <0.00%> (ø)

server/plugin/manifest.go
100.00% <ø> (ø)

server/plugin/plugin.go
0.00% <0.00%> (ø)

server/plugin/project.go
0.00% <0.00%> (ø)

server/plugin/configuration.go
68.00% <100.00%> (ø)

... and 15 more

Continue to review full report at Codecov.

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

Thanks for the heads-up @hanzei, there are now fixed!

@nathanaelhoun!  We have been in a major crunch to release the apps framework and that pushed back some of the bounty plugin work. @DHaussermann do are you ok with mering this PR and testing post-merge, similar to what you suggested in https://github.com/mattermost/mattermost-plugin-circleci/pull/79?

Thanks for the review @jfrerich @DHaussermann.
The apps framework looks really exciting :smile:


Should use core typescript types.

You state here,

XMLHttpRequest-ts is a typescript wrapper for the built-in http client to emulate the browser XMLHttpRequest object and allow isomorphic code that runs in the browser and in node.js. This can be used with JS designed for browsers to improve reuse of code and allow the use of existing libraries. Ready for AOT and treeshaking

The problem with this module is that you're not implementing the core interface provided by TypeScript. This makes it difficult to use this module with third party tools in a strongly typed fashion. It would be much better if you created an implementation that used the core types in typescript https://github.com/Microsoft/TypeScript/blob/master/lib/lib.dom.d.ts#L16798
If you'll notice this module lacks the full implementation,

Type 'XMLHttpRequest' is missing the following properties from type 'XMLHttpRequest': responseType, responseURL, upload, overrideMimeType, onprogress

This means you get an error.
https://github.com/hmoog/xmlhttprequest-ts/blob/master/src/XMLHttpRequest.ts
https://github.com/ReactiveX/rxjs/issues/4455

@yingdi11 this project is marketed as "isomorphic code that runs in the browser and in node.js." This method of doing it is a bit dated. XMLHttpRequest is deprecated afaik, so making it run in the server is rather silly.
The right way to do this today is to use the standardized Fetch API. You can get access to that with node-fetch so using that project is the right way to go.

@EvanCarroll Thanks. Didn't see the comment in time. Used below code:
const promise = axios.get('https://api.polygon.io/vX/reference/tickers/AAPL?date=2021-10-05&apiKey=?');
const observable = from(promise);
observable.subscribe(data => console.log((data as any)['data']))


Update issue templates

This looks nice, if it does what I think!
Is it ready to go or does it need more tweaking?

This looks nice, if it does what I think! Is it ready to go or does it need more tweaking?

Yea these are just templates for bugs or feature requests. I think the default is quite usable.

is there a reason why this removes the tutorial folder and content? How is it related to the issue templates? @zainsohail04

is there a reason why this removes the tutorial folder and content? How is it related to the issue templates? @zainsohail04

Should be part of #53. If it deletes the tutorial, we can always add it back


Missing C# examples

It would be nice for new developers that Windows features that are accessible from all Microsoft languages do provide samples across those languages.
It should not be expected that all .NET developers must also learn C++ to be able to read MSDN documentation.

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

ID: 4a609f14-2f8a-705c-84ea-4fab7e48bf85
Version Independent ID: acbb3a6f-bfd4-68ec-f0e3-d076a0279c30
Content: Power management in AppLifecycle (Windows App SDK) - Windows apps
Content Source: hub/apps/windows-app-sdk/applifecycle/applifecycle-power.md
Product: reunion
Technology: app-lifecycle
GitHub Login: @hickeys
Microsoft Alias: hickeys

Thanks for submitting your feedback and we apologize for the extremely delayed response. I see that updates have not been made since the creation of this Issue, so I went ahead and added C# samples to the page. There are tabs to switch between C++ and C# now. The changes should be live shortly.
Though the Issue will be marked as Closed, we will monitor any replies that come afterwards so treat this like an open Issue. Many thanks!


When I train the model, I found the training loss is not stable

Hi @backseason @Andrew-Qibin , thanks for your great work! I am trying to retrain the model, but the training loss going with a large fluctuation. Is that because of no BN layer or need a pre-trained backbone? By the way, could you please provide the pre-trained ResNet or VGG model since you modified the network. looking forward to your reply.

It's normal as we do not use the mean of the loss and the spatial sizes of input images vary.

Thanks for your reply! have you done some experiment about the fusion of feature maps? I've noticed that some works used channel-wise concatenation while your work used pixel-wise add. Is pixel-wise add fusion always outperform channel-wise concatenation?

Oh my mistake, the pre-trained models for ResNet-50 and VGG-16 are already provided here: https://drive.google.com/open?id=1Q2Fg2KZV8AzNdWNjNgcavffKJBChdBgy.
We have tried concatenation but found nearly the same as pixel-wise add.
So for simpleness we use pixel-wise add.

@backseason Noted with thanks! I'm going to close this issue then.


Add charset to the examples html below the map

The vector-labels example uses the wrong encoding when opened with codesandbox. The '°' does not show correctly.

Thanks


hello, What email address can we contact you on to have access to nsfw_200.txt ?

are you have the password now? i wanna got it too,thanks!

are you have the password now? i wanna got it too,thanks!

no

<EMAIL_ADDRESS>To ensure responsible use, please briefly describe your research purpose, provide information about your affiliated institution, and request from your institutional email. Otherwise, the password cannot be provided.


Private key passing issue with Groovy through jenkins pipeline

am trying to pass the private key through groovy script : below is the script
Input:
output = sh(returnStdout: true, script: 'set +x; ./bin/create_bmc_host.sh "${AVAILABILITY_DOMAIN}" "${COMPARTMENT_ID}" "${IMAGE_ID}" "${SUBNET_ID}" "${SHAPE}" "${PRIVATE_KEY}" "${USER_OCID}" "${TENANT_OCID}" "${REGION}" "${USER_TIMEOUT}"')
Output : In Jenkins pipeline the parameters are empty
DOMAIN=
COMPARTMENT_ID=
IMAGE=
SUBNET=
SHAPE=
PRIVATE_KEY=
USER_OCID=
TENANT_OCID=
REGION=
Then I changed the above script as below
output = sh(returnStdout: true, script: "set +x; ./bin/create_bmc_host.sh ${AVAILABILITY_DOMAIN} ${COMPARTMENT_ID} ${IMAGE_ID} ${SUBNET_ID} ${SHAPE} ${PRIVATE_KEY} ${USER_OCID} ${TENANT_OCID} ${REGION}")
Output:
DOMAIN=kgzP:PHX-
COMPARTMENT_ID=ocid1.compartment.oc1..aaaaaaaaq5bsc2g5ne7hftodqtdrca
IMAGE=ocid1.image.oc1.phx.aaaaaaaaqutj4qjxihpl4mboabsa27mrp
SUBNET=ocid1.subnet.oc1.phx.aaaaaaaanhnue37m3gpouzhc7vi5o
SHAPE=VM.Standard
PRIVATE_KEY=-----BEGIN
USER_OCID=PRIVATE
TENANT_OCID=KEY-----nMIIEwAIBADANBgkqhkiG9w0BAQEFAASCBKowggSmAgEAAoIBAQC4cQsgrfMIyC6DnwfeKOJTJgagHp39dC2djxr+ivf02MXmPrtlVypGngwlcNNgn0AYISDqUPmsl7QU/n0bBRm/Vs9ZXXUU78inEujhRYP8kNUeoD+......................................................................................bRhRl4FnHe1Q5quyakoyG+1rjuk4j4vQhfl+cw6xfSGSFfYsSskCgYEA4GajBLD2pjU4ePkVnqVXAUAoZ66w4aLSeoLD/zALY9wzHTVSY4y8dSZOt8+Mqgmv/1OYOanTC+yMz7p+0KrGRuqPgZpziFobNfLvTDzQu2z5E5dwXztV1f+1tHaeTkp9Wk1R3pdnNYOs6jU44JuZlbef42/2bs0g3Gg=n-----END
REGION=PRIVATE
the entire private key is one argument/parameter but the same key is assign to many parameters , please help me on the same . How to send the entire private key as one argument.

This is not the correct place to ask for support on the usage of pipeline.  This would be better directed to IRC or the users mailing list. https://jenkins.io/mailing-lists/


Strange interaction between load_nvm and pyenv

Operating system and version:
nvm debug output:

nvm --version: v0.39.1
$TERM_PROGRAM: iTerm.app
$SHELL: /usr/local/bin/fish
$SHLVL: 2
whoami: 'eric'
${HOME}: /Users/eric
${NVM_DIR}: '${HOME}/.nvm'
${PATH}: ${NVM_DIR}/versions/node/v16.15.1/bin:${HOME}/.pyenv/versions/3.10.4/bin:/usr/local/Cellar/pyenv/2.3.3/libexec:/usr/local/Cellar/pyenv/2.3.3/plugins/python-build/bin:${HOME}/.pyenv/shims:${HOME}/.pyenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin
$PREFIX: ''
${NPM_CONFIG_PREFIX}: ''
$NVM_NODEJS_ORG_MIRROR: ''
$NVM_IOJS_ORG_MIRROR: ''
shell version: 'fish, version 3.5.1'
uname -a: 'Darwin 21.6.0 Darwin Kernel Version 21.6.0: Sat Jun 18 17:07:25 PDT 2022; root:xnu-8020.140.41~1/RELEASE_X86_64 x86_64'
checksum binary: 'shasum'
OS version: macOS 12.5 21G72
curl: /usr/bin/curl, curl 7.79.1 (x86_64-apple-darwin21.0) libcurl/7.79.1 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.11 nghttp2/1.45.1
wget: /usr/local/bin/wget, GNU Wget 1.21.3 built on darwin21.3.0.
sed: /usr/bin/sed
cut: /usr/bin/cut
basename: /usr/bin/basename
rm: /bin/rm
mkdir: /bin/mkdir
xargs: /usr/bin/xargs
git: /usr/local/bin/git, git version 2.37.2
grep: /usr/bin/grep, grep (BSD grep, GNU compatible) 2.6.0-FreeBSD
awk: /usr/bin/awk, awk version 20200816
nvm current: v16.15.1
which node: ${NVM_DIR}/versions/node/v16.15.1/bin/node
which iojs:
which npm: ${NVM_DIR}/versions/node/v16.15.1/bin/npm
npm config get prefix: ${NVM_DIR}/versions/node/v16.15.1
npm root -g: npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
${NVM_DIR}/versions/node/v16.15.1/lib/node_modules

nvm ls output:

~ [42]$ nvm ls                                                                                10:09:12
       v10.16.0
       v10.24.1
       v12.18.1
      v12.22.10
        v15.0.1
       v16.14.2
->     v16.15.1
default -> lts/* (-> v16.15.1)
iojs -> N/A (default)
unstable -> N/A (default)
node -> stable (-> v16.15.1) (default)
stable -> 16.15 (-> v16.15.1) (default)
lts/* -> lts/gallium (-> v16.15.1)
lts/argon -> v4.9.1 (-> N/A)
lts/boron -> v6.17.1 (-> N/A)
lts/carbon -> v8.17.0 (-> N/A)
lts/dubnium -> v10.24.1
lts/erbium -> v12.22.12 (-> N/A)
lts/fermium -> v14.19.3 (-> N/A)
lts/gallium -> v16.15.1

How did you install nvm?

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
What steps did you perform?
My config.fish is:
if status is-interactive
    set -Ux PYENV_ROOT $HOME/.pyenv
    set -U fish_user_paths $PYENV_ROOT/bin $fish_user_paths
    pyenv init - | source
end

set -x LESS -eFRX

load_nvm

function ll
	ls -la
end

What happened?
When I echo $PATH, I see:
(some parts removed for simplicity)
/Users/eric.gorr/.pyenv/versions/3.10.4/bin /Users/eric.gorr/.pyenv/shims

The key thing to note is that load_nvm placed /Users/eric.gorr/.pyenv/versions/3.10.4/bin before pyenv's shims path. This prevents the proper operation of pyenv and it's ability to control what version of python is being used from working.
What did you expect to happen?
I do not expect load_nvm to install a path related to python.
Is there anything in any of your profile files that modifies the PATH?

Yes. I have the pyenv init - | source in my config.fish file.
If I modify my config.fish file to be:
load_nvm

if status is-interactive
    set -Ux PYENV_ROOT $HOME/.pyenv
    set -U fish_user_paths $PYENV_ROOT/bin $fish_user_paths
    pyenv init - | source
    echo "pyenv setup complete" $PATH
end

set -x LESS -eFRX

function ll
	ls -la
end

If I place load_nvm before the pyenv setup, then I do not see /Users/eric.gorr/.pyenv/versions/3.10.4/bin appear in $PATH.
I can then use pyenv normally.
load_nvm should be able to detect that python is already in the path via the pyenv shims and not insert a  path on its own.
Or, is there a reason why this cannot happen?
Or, am I doing something wrong?

I’m a bit confused. nvm doesn’t support fish, and load_nvm isn’t part of nvm itself (altho it might come from the readme)

Yes, I found load_nvm in the readme and assumed that if it was in the readme, it was supported -- at least to some extent.
I did trace the addition of /Users/eric.gorr/.pyenv/versions/3.10.4/bin into the PATH to when load_nvm executed:
nvm use default

I have no idea why that part of nvm would be doing that insert...seems weird.


Docs: static content additions

Added a few pages:

Quickstart guide (hello world for TF, environment setup)
Concepts (explains datmo concepts/entities)
FAQ (answer common questions in a more granular way. For content that doesn't belong in concepts.rst or directly in the reference documentation itself)
Workflows (Setup a workspace, run a task, record a snapshot)
Tutorials (table of officially supported tutorials from datmo-tutorials repo).

Pull Request Test Coverage Report for Build 771

0 of 0   changed or added relevant lines in 0 files are covered.
52 unchanged lines in 15 files lost coverage.
Overall coverage decreased (-1.2%) to 87.372%

Files with Coverage Reduction
New Missed Lines
%

datmo/snapshot.py
1
83.33%

datmo/cli/command/base.py
1
90.38%

datmo/core/util/i18n.py
2
100.0%

datmo/core/controller/file/driver/local.py
2
90.99%

datmo/cli/command/datmo_command.py
2
100.0%

datmo/task.py
2
93.28%

datmo/core/controller/code/driver/file.py
2
95.38%

datmo/cli/command/snapshot.py
2
100.0%

datmo/cli/command/session.py
2
95.7%

datmo/cli/command/task.py
4
94.95%

Totals

Change from base Build 746:
-1.2%

Covered Lines:
3660

Relevant Lines:
4189

💛  - Coveralls


[CARBONDATA-4166] Geo spatial Query Enhancements

Why is this PR needed?

Currently, for IN_POLYGON_LIST and IN_POLYLINE_LIST udf’s, polygons need to be
specified in SQL. If the polygon list grows in size, then the SQL will also be too long,
which may affect query performance, as SQL analysing cost will be more.
If Polygons are defined as a Column in a new dimension table, then, Spatial dimension
table join can be supported in order to support aggregation on spatial table columns
based on polygons.

What changes were proposed in this PR?

Support IN_POLYGON_LIST and IN_POLYLINE_LIST with SELECT QUERY on the
polygon table.
Support IN_POLYGON filter as join condition for spatial JOIN queries.

Does this PR introduce any user interface change?

Yes.

Is any new testcase added?

Yes

Build Failed  with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbon_PR_Builder_2.4.5/3542/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbonPRBuilder2.3/5289/

Build Failed  with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbon_PR_Builder_2.4.5/3545/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbonPRBuilder2.3/5290/

Build Failed  with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbon_PR_Builder_2.4.5/3549/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbonPRBuilder2.3/5294/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbonPRBuilder2.3/5308/

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbon_PR_Builder_2.4.5/3563/

LGTM


Command export emails, code refactor.

Work in progress.
Related with #1065 . Using export_emails command.

Coverage increased (+0.6%) to 38.981% when pulling 68d4b3c5fbf25443724a7d9760dfc53be332251f on nicolasmendoza:command-export-emails-refactor into 5da7d1d4a7a71f3bf4d9b02e65def4700854f063 on django-extensions:master.

Thanks looks good. Added a comment on the outlook output disapearing

Is the PR still WIP ? or could we start merging it ?

Not ready for merge. I'll upload a final PR soon.

Coverage increased (+0.9%) to 39.255% when pulling de6f326c559847f674185acd78dd5c18d01a6d86 on nicolasmendoza:command-export-emails-refactor into 5da7d1d4a7a71f3bf4d9b02e65def4700854f063 on django-extensions:master.

@trbs. PR is Done.

Improvements and bugfixes:

[ ] Some code refactor.
[ ] "export_emails  -f emails". Now works from PY2.x to PY3.x.
[ ] "export_emails  -f google". Now works from PY2.x to PY3.x.
[ ] "export_emails"  -f linkedin. Now works from PY2.x to PY3.x.
[ ] "export_emails"  -f address. Now works from PY2.x to PY3.x.
[ ] "export_emails"  -f outlook. Now works from PY2.x to PY3.x.
[ ] "export_emails"  -f vcard. Fix. Now working with PY3.x, pending fix for PY2.x.
[ ] Added tests cases for export_emails module. good coverage.

Awesome work thanks !


Multithread predictions

Hello i am having memory access violation when i attempt to multi thread image predictions. this is happening at line
// Start evaluation on the device
modelFunc.Evaluate(inputDataMap, outputDataMap, GlobalParameters.Device);
within ImageNet.cs is there a way to multithread the functionality ?
Thanks

Trying to make the basics working :) I will try to find the root cause.
Could you please share the code snippet?
On Fri, Nov 24, 2017 at 10:53 AM, vegas2ny<EMAIL_ADDRESS>wrote:

Hello i am having memory access violation when i attempt to multi thread
image predictions. this is happening at line
// Start evaluation on the device
modelFunc.Evaluate(inputDataMap, outputDataMap, GlobalParameters.Device);
within ImageNet.cs is there a way to multithread the functionality ?
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/deepakkumar1984/SiaNet/issues/11, or mute the thread
https://github.com/notifications/unsubscribe-auth/AGCQKfygm02u987PE04ujpF41TGJ4LEaks5s5gySgaJpZM4QpQp5
.

--
Regards,
Deepak

sure, do you have gmail, maybe we can google chat? and ill update here with resolution?

Lets use this chat, I created this for public conversation so we can start
our discussion there.
https://gitter.im/sia-cog/SiaNet?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
On Fri, Nov 24, 2017 at 11:11 AM, vegas2ny<EMAIL_ADDRESS>wrote:

sure, do you have gmail, maybe we can google chat? and ill update here
with resolution?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/deepakkumar1984/SiaNet/issues/11#issuecomment-346713316,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGCQKXIa9ChdRtA_RgRRXHNpkrRzybU3ks5s5hDLgaJpZM4QpQp5
.

--
Regards,
Deepak

Or here is my gmail<EMAIL_ADDRESS>

Try using lock to avoid access violation issue:
static ImageNet app;
private static Object thisLock = new Object();
static void Main(string[] args)
{
    app = new ImageNet(ImageNetModel.ResNet50);
    app.LoadModel();

    for (int i = 0; i < 5; i++)
    {
        System.Threading.ThreadPool.QueueUserWorkItem(InvokeCls);
    }
}

static void InvokeCls(Object stateInfo)
{
    Console.WriteLine("started");
    string imagePath = string.Format("{0}images\\dog_cls.jpg", AppDomain.CurrentDomain.BaseDirectory);
    lock (thisLock)
    {
        var p = app.Predict(imagePath);
        Console.WriteLine("Predicted: " + p[0].Name);
    }
}

hello i have found a resolution, by cloning the module func it makes predictions thread safe, there for no more access violations.
//clone model func for multithread
var newmodelfunc  = modelFunc.Clone(ParameterCloningMethod.Share);
full method code below:
   //clone model func for multihread
            var newmodelfunc  = modelFunc.Clone(ParameterCloningMethod.Share);

            Variable inputVar = newmodelfunc.Arguments[0];

            NDShape inputShape = inputVar.Shape;
            int imageWidth = inputShape[0];
            int imageHeight = inputShape[1];

            var resized = bmp.Resize(imageWidth, imageHeight, true);
            List<float> resizedCHW = resized.ParallelExtractCHW();

            // Create input data map
            var inputDataMap = new Dictionary<Variable, Value>();
            var inputVal = Value.CreateBatch(inputShape, resizedCHW, GlobalParameters.Device);
            inputDataMap.Add(inputVar, inputVal);
            inputVar = newmodelfunc.Arguments[1];
            //inputDataMap.Add(inputVar, null);

            Variable outputVar = newmodelfunc.Outputs.Where(x => (x.Shape.TotalSize == 1000)).ToList()[0];

            // Create output data map. Using null as Value to indicate using system allocated memory.
            // Alternatively, create a Value object and add it to the data map.
            var outputDataMap = new Dictionary<Variable, Value>();
            outputDataMap.Add(outputVar, null);

            // Start evaluation on the device
            newmodelfunc.Evaluate(inputDataMap, outputDataMap, GlobalParameters.Device);

            // Get evaluate result as dense output
            var outputVal = outputDataMap[outputVar];
            var outputData = outputVal.GetDenseData<float>(outputVar);
            Dictionary<int, float> outputPred = new Dictionary<int, float>();

            for (int i = 0; i < outputData[0].Count; i++)
            {
                outputPred.Add(i, outputData[0][i]);
            }

            var topList = outputPred.OrderByDescending(x => (x.Value)).Take(topK).ToList();
            List<PredResult> result = new List<PredResult>();
            float sumpredresult = outputPred.Sum(x => (x.Value));
            float avgpredresult = outputPred.Average(x => (x.Value));
            float min = outputPred.Min(x=>(x.Value));
            float max = outputPred.Max(x=>(x.Value));

            foreach (var item in topList)
            {
                result.Add(new PredResult()
                {
                    Score = item.Value,
                    Name = actualValues[item.Key]
                });
            }

            Logging.WriteTrace("Prediction Completed");

            return result;

Hello will close this bug now since the issue is resolved.
Thanks

Thanks for your help


Building error on Kinetic: protoc version

I have followed this instruction (on the ROS Kinetic tabs): http://sdk.rethinkrobotics.com/wiki/Simulator_Installation
I got errors on protobuf version:
In file included from /usr/include/gazebo-7/gazebo/msgs/MessageTypes.hh:7:0,
                 from /usr/include/gazebo-7/gazebo/msgs/msgs.hh:32,
                 from /usr/include/gazebo-7/gazebo/gazebo_core.hh:21,
                 from /usr/include/gazebo-7/gazebo/gazebo.hh:20,
                 from /opt/ros/kinetic/include/gazebo_ros_control/gazebo_ros_control_plugin.h:52,
                 from /home/tajima/Codes/tmp_ws/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42:
/usr/include/gazebo-7/gazebo/msgs/altimeter.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
 #error This file was generated by an older version of protoc which is

The environment is ROS Kinetic, Ubuntu16.04, all packages(including protobuf-compiler, version is  3.1.0) are upgraded. How can I build the baxter simulation? Thanks.

did you use https://github.com/RethinkRobotics/baxter_simulator/blob/kinetic-devel/baxter_simulator.rosinstall workspace?

Yes, I followed the official instruction and it is identical to you've shown.

how did you install protobuf-compile 3 ?
https://packages.ubuntu.com/xenial/protobuf-compiler
k-okada@p51s:~$ apt show protobuf-compiler
Package: protobuf-compiler
Version: 2.6.1-1.3
Priority: extra

Uh, I see. I completely forget I had installed ppa version of protobuf for some other package (may be google cartographer).
I did ppa-purge and now I can build all. Thanks, and sorry for bothering.


y_value of the joystick behaves differently on Linux and Windows

The behavior of the y-axis for both the left and right joysticks is opposite. I am using left_joystick_float and right_joystick_float. On Windows, I need to set the y_value to 1.0 to move the character forward, but on Linux, I need to set it to -1.0.

Windows has a very neat way of supporting gamepads, but Linux is messy. We tried to reproduce the evdev events of real DS4 controllers, and depending on the application these events are interpreted differently (for instance, pygame does not properly recognize the order and orientation of axis / buttons of real gamepads on Linux).

Oh I forgot to metion that I'm using VX360Gamepad. Currently I just write another class to override joystick control.


[backport] Add sparse pointwise equality & inequality functions

Backport of #3945

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 13d961de502b331101b76697c72b24e804e954f7, target branch v8) succeeded!


Malformed Five-Step Rule for Transcribing Expressions Modified by Low Line and Overline Characters

For an alternate MathML rendering of

the Nemeth braille output leaves out the dot-5 multipurpose indicator before the opening parenthesis:
⠷⠩⠱⠹⠁⠌⠃⠼⠐⠾⠣⠱⠻
The expected Nemeth was:
⠐⠷⠩⠱⠻⠹⠁⠌⠃⠼⠐⠾⠣⠱⠻
The source MathML comes from <IP_ADDRESS> Stretching of operators, fences and accents in the MathML3 spec
<math xmlns="http://www.w3.org/1998/Math/MathML">
  <mrow>
    <munder>
      <mo> ( </mo>
      <mo> _<!--LOW LINE--> </mo>
    </munder>
    <mfrac>
      <mi> a </mi>
      <mi> b </mi>
    </mfrac>
    <mover>
      <mo> ) </mo>
      <mo> ‾<!--OVERLINE--> </mo>
    </mover>
  </mrow>
</math>

Also, not sure if this is an issue: The speech text output did not spell out the modifying characters: modified open paren with ¯ below, a over b, modified close paren with ‾ above.

Forgot to reference,
Rule XIV Section 86 a. The Five-Step Rule for Transcribing Modified Expressions pages 99-101


Consider slipstream for auto-vectorization

@Dandandan raised the idea of considering the slipstream  crate for SIMD / auto-vectorization.
I agree that we should consider it - if anything, to offload that part of the code-base to slipstream. IMO our requirements are:

As secure or more secure than the existing implementation
As fast or faster than the existing implementation
support the bitmaps that we use for masks, including bitmaps with offsets

Pinging @vorner, so they are aware of this :)

It would be an honor. Just be sure to measure it, because it sometimes has a bit unreliable results :-(.


Improve error messages and add docs for new native function machinery

Codecov Report

Merging #592 into master will increase coverage by 0.41%.
The diff coverage is 17.94%.

@@            Coverage Diff             @@
##           master     #592      +/-   ##
==========================================
+ Coverage   41.66%   42.07%   +0.41%
==========================================
  Files          74       74
  Lines       16768    16870     +102
  Branches     4397     4432      +35
==========================================
+ Hits         6986     7098     +112
+ Misses       7772     7767       -5
+ Partials     2010     2005       -5

Impacted Files
Coverage Δ

vm/src/pyobject.rs
58.58% <16.66%> (-0.76%)
:arrow_down:

vm/src/function.rs
66.66% <33.33%> (-4.77%)
:arrow_down:

vm/src/stdlib/io.rs
33.49% <0%> (+6.47%)
:arrow_up:

vm/src/stdlib/re.rs
58.62% <0%> (+10.34%)
:arrow_up:

vm/src/stdlib/socket.rs
70.97% <0%> (+11.3%)
:arrow_up:

Continue to review full report at Codecov.

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


mujoco: init at 2.3.0

Description of changes
MuJoCo (https://mujoco.org/) is a physics simulator, widely used in the reinforcement learning and robotics communities. It has recently been acquired and open sourced by DeepMind.
Still remaining to be packaged are the Python bindings. I'll save those for a future PR.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

if no one objects i'll go ahead and merge tomorrow

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 198145 run on x86_64-linux 1

1 package built:

mujoco


Update 2000-01-01-quick-start.md - added trailing slash to example.com/ url

I was trying to go through this quickstart and wasted a bunch of time trying to figure out why the simple example wasn't working for me. I entered google.com because the example uses example.com.
var page = require('webpage').create();
page.open('http://google.com', function(status) {
  console.log("Status: " + status);
  if(status === "success") {
    page.render('google.png');
  }
  phantom.exit();
});

I finally checked the screen-capture documentation : http://phantomjs.org/screen-capture.html and noticed that nearly the same example adds a trailing slash to the url.
var page = require('webpage').create();
page.open('http://github.com/', function() {
  page.render('github.png');
  phantom.exit();
});

Hopefully this saves someone else a small headache.

The trailing backslash should not be necessary. I can't reproduce the problem at all.
Could you give a detailed info about your system etc?

@ariya I have to apologize sir as I'm unable to duplicate today. I knew I should have done a screen recording the other day when I was running into this. If I see it again, I will try and grab more details.


Podman / SELinux

CentOS 8 eschews Docker in favor of RedHat's Podman, an alternative preconfigured to work with SELinux without root privileges to run containers.  Many Docker commands are directly mirrored by Podman (e.g. docker pull galoisinc/cryptol:latest becomes podman pull galoisinc/cryptol:latest), but VS Code support is spotty: you can change the Remote Containers plugin's settings to call podman instead of docker, alias docker to podman, or install a package that does this for you, but commands like Open workspace in container don't work, and Docker Compose isn't (directly) supported.  Build container, Open in container, etc. are supposed to work, but for some reason are returning an error code in my CentOS 8 VM.
Speaking of SELinux, in unprivileged Podman or Docker environments where SELinux is enforced, one needs to specify SELinux volume mount option z (shared) or Z (private); otherwise, the mounted directory will be inaccessible in the container.  Because --mount does not support these, such cases will require -v instead, e.g. docker run --rm -it --read-only -v ${pwd}:/mnt/cryptol-course:z --env CRYPTOLPATH=/mnt/cryptol-course galoisinc/cryptol:latest.
Perhaps we should amend INSTALL.md to this effect...

This sounds, partially, like an issue that could be communicated to the VSCode Remote Container maintainers. They may be able to integrate better support for alternative containerization directly in VSCode.

Podman 1.9+ is mostly compatible with Docker's CLI commands and therefore generally does work if you update the setting Remote > Containers: Docker Path to podman on Linux.

https://code.visualstudio.com/docs/remote/containers

I'm feeling like, now that GitPod works, and VS Code (and modern OSes) have good support for Docker, these OS specific courses of action can be left to individual users to figure out. Folks can always create an issue if they have trouble.


CNRDeco Initial Version

This branch is incomplete but when ready we may want to assimilate it anyway.  It has these elements:

Draft version of a new CNRDecon implementation to replace the prototype called CNR3CDecon
Bug fixes for the multichannel correlation module found while testing the CNR code
Some enhancements to the util/seismic
A new method for BasicTimeSeries inherited by all atomic data called "time_axis" useful for raw matplotlib plotting

@wangyinz the tests are failing on this branch because of the problem with the symbol "database" that i believe is known to be connected to a version skew with MongoDB.   I have no idea how to fix that here on github.   I could use your help to fix this.

hmmm... I am not sure what that is, but if you rebase your code with the latest master, it shouldn't have any dependency issues. However, I looked at the logs and I can see that the code is actually failing the test is several places:
FAILED python/tests/algorithms/test_MCXcorStacking.py::test_align_and_stack - assert 0.0031451296528622673 < 0.002
FAILED python/tests/algorithms/test_MCXcorStacking.py::test_align_and_stack_error_handlers - ValueError: v cannot be empty
FAILED python/tests/algorithms/test_RFdeconProcessor.py::test_RFdeconProcessor - TypeError: cannot pickle 'mspasspy.ccore.algorithms.deconvolution.MultiTaperXcorDecon' object
FAILED python/tests/test_ccore.py::test_TimeSeries - assert 104 == 100

You can see the details in https://github.com/mspass-team/mspass/actions/runs/11181775844/job/31086542446?pr=567, I'm actually not sure where the symbol issues are.

@wangyinz you may want to merge this to master subject to a couple of details to finalize:

To get the pytest suite to run with test_RFdeconProcessor.py I had to completely disable the pickle tests.  The reason is some time earlier in these revisions for the new "CNRDeconEngine" in this branch I modified the RFDeconProcessor class to cache an instance of the C++ object.   My recollection was I did that to match the way CNRDeconEngine works.  The reason to do so is efficiency as it always uses a multitaper algorithm that requires computing the Slepian tapers.   Slepian functions are expensive to compute being of the same order of magnitude as the deconvolution operation.  Hence, caching them makes sense.  It does, however, require the pickle operation on the operator.   I remember now the reason I changed RFDeconProcessor was that the multitaper algorithms in that class have the same issue.  Fixing pickle of that class faces exactly the same problem as CNRdeconEngine so I reasoned if I had to do one I might as well improve all of them.   RFDeconProcessor still works but cannot be run as a map function until this is resolved.
CNRDeconEngine is not fully tested.  There is no pytest setup at all.   My plan is to test it next on the same trial data set I've been using to test multichannel correlation function (son of dbxcor).  The point is that it is not ready for prime time but isn't too far from completion.   Putting it in master is not a huge problem as it is orthogonal to anything else as far as I know.
Perhaps the biggest reason to merge this branch is all the secondary problems I found in running the multichannel correlator code to prep the test data set for CNRDeconEngine processing.   You can look through the commits and see what I'm talking about.

So, I'll let you decide if you want to merge this or wait until I've cleaned up CNRDeconEngine a bit more.   The key reason to merge is to include the side fixes I found in working on this branch.   If we do that I'll fork a new branch from master that will be more focused on cleaning up all the deconvolution code (including pickle) and not have all this other stuff mixed in.   Let me know if you want to do that before proceeding though as I need to fix a few black format issues - didn't do that before pushing the latest changes.


Pro Controller Grip Colors saving but not showing correctly on switch.

The colors of the grips on my pro controllers are saving properly, but when displayed on the switch they are the same color as the body. Is this specific to the FW version of the controller? The switch is on the latest release 6.2.0. Also the S/N is showing as "Not Supported".

It appears that by default the pro controller will have different Grips and Body colors. However, once a color has been applied to the body, it will be applied to the grips as well.

That's because the algorithm that decides what colors it will use in Switch, changed.
For now I don't have time to update the toolkit :/
I will eventually.

@TJBaurle I had the same issue and I solved it by flashing the original (stock) fw from backup, changing the grip colors only and flash, then change body color and flash.

I just got bit by this as well.
Joy Con Toolkit: v5.2
Latest Nintendo Firmware: 7.0.0
Pro controller Firmware: 3.48
All of the controllers I have are stock pro controllers, and normally have a black shell (#323232) with white buttons (#ffffff)
I can't change the grip colors if the shell body is default (#323232). While I think Toolkit v5.2 is trying to guard against changing the grip colors in this case, it feels more like a hap-hazard bug because changing the body color to a non default value allows me to continue.
I set the body color to #2D2D2D which allows me to set grip colors... and the controller appears to accept the new values. After writing the colors, the switch software seems to simply ignore everything except the body + buttons color, with the grip colors inheriting the body's color

I'm unsure if it's simply not possible anymore, or if the tool needs an update.
I'd love to hear more on this, even if it's just a #wontfix.

I have the same issue with the pro controller. And may I ask when you plan to update the Joycon Toolkit? Just checking, no rush. :)

Hi, I have the same problem. I set the body color to white and the grip to black but when I connect the controller to the Switch it shows all white except for the buttons. Glad to know I'm not the only one! Is there going to be a fix for this anytime?

I managed to switch my grip colors on a smash controller to FFFFFFF on the right and 464646 on the left.
The body is d2d2d2 and the buttons aer e6e6e6 (both stock).
This will be recognised in the tool and on the switch. Body,keys, grips have 4 diffrent color codes.
When I try this with a normal Pro Con, it fails.
Funny thing, with stock firmware the Pro Con has a 323232 Body, fffffff keys and 464646 grips.
But the keys seem to be e6e6e6 instead of ffffff when compared to the stock smash on the switch
If I change anything in this setting, the switch recognises only the body color. (stock is bi color!)

Hello I have an issue with a pro controller bought used. it has connectivity issues, it doesn't stay connect more than like 2 minutes.
I wanted to try to "Restore the SPI" but I can't find one spi stock on the net. I've tried everithing and this is the last thing I wanted to try.
Anybody has one to share by any chance? It'd be awesome.
Thank you and sorry for updating an old thread.

Hello I have an issue with a pro controller bought used. it has connectivity issues, it doesn't stay connect more than like 2 minutes.
I wanted to try to "Restore the SPI" but I can't find one spi stock on the net. I've tried everithing and this is the last thing I wanted to try.
Anybody has one to share by any chance? It'd be awesome.
Thank you and sorry for updating an old thread.
P.S. it doesn't even shown the "S/N"

See files in link. These are original spi files for my pro controllers.
https://drive.google.com/drive/folders/17Btm5IBbf9XnBmX9LO906yWWO_2e-otk?usp=sharing

Same issue now.  Cannot display correct color on switch.

Hi everyone, I believe I have found the solution for stock colors.
Changing the body color to 313232 will force the grips to be Splatoon colors.
Changing the body color to 323132 will force the grips to be Xenoblade color.
I have not found the correct number for Smash color though.
I hope this is helpful

Hi everyone, I believe I have found the solution for stock colors.
Changing the body color to 313232 will force the grips to be Splatoon colors.
Changing the body color to 323132 will force the grips to be Xenoblade color.
I have not found the correct number for Smash color though.
I hope this is helpful

Good to hear that. Thank you very much, will check this evening~

@R

Hi everyone, I believe I have found the solution for stock colors.
Changing the body color to 313232 will force the grips to be Splatoon colors.
Changing the body color to 323132 will force the grips to be Xenoblade color.
I have not found the correct number for Smash color though.
I hope this is helpful

I can conform this works, just make sure to set the button color to FFFFFF.

So I was messing with the HID stuff today and managed to get custom grip colors to show up on an actual Switch.
The SPI data at x601B needs to be set to 2 if there are grip colors defined.  So 0 = no custom colors, 1 = custom body/button colors, and 2 = custom everything.  Once you set the byte to 2, everything appears as it should on the console.

That is so awesome. I'll try it out tonight and report back. Good job!
On Thu, Jan 9, 2020, 7:50 AM jmickelonis<EMAIL_ADDRESS>wrote:

So I was messing with the HID stuff today and managed to get custom grip
colors to show up on an actual Switch.
The SPI data at x601B needs to be set to 2 if there are grip colors
defined. So 0 = no custom colors, 1 = custom body/button colors, and 2 =
custom everything. Once you set the byte to 2, everything appears as it
should on the console.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/CTCaer/jc_toolkit/issues/28?email_source=notifications&email_token=AAYLEIPNMFOLY4OF6MGHJY3Q44TQPA5CNFSM4GKC2USKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIQLQ4I#issuecomment-572569713,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYLEIOHMD7KCTARSQR3FN3Q44TQPANCNFSM4GKC2USA
.

So I was messing with the HID stuff today and managed to get custom grip colors to show up on an actual Switch.
The SPI data at x601B needs to be set to 2 if there are grip colors defined. So 0 = no custom colors, 1 = custom body/button colors, and 2 = custom everything. Once you set the byte to 2, everything appears as it should on the console.
Can someone tell me what the stock values are for a Smash Bros Pro Controller? Is it similar to Splatoon and Xenoblade where there is a magic body color that tells Switch what grip colors to show?

Can anyone make a simple tutorial for this? Im kind of a noob and I´m afraid to mess stuff up

So I was messing with the HID stuff today and managed to get custom grip colors to show up on an actual Switch.
The SPI data at x601B needs to be set to 2 if there are grip colors defined. So 0 = no custom colors, 1 = custom body/button colors, and 2 = custom everything. Once you set the byte to 2, everything appears as it should on the console.
Can someone tell me what the stock values are for a Smash Bros Pro Controller? Is it similar to Splatoon and Xenoblade where there is a magic body color that tells Switch what grip colors to show?

Can anyone make a simple tutorial for this? Im kind of a noob and I´m afraid to mess stuff up

Oh sorry, I should've explained how to do it through the Toolkit.
First, set your colors like you normally would.
Then, go to the section where it says "Debug: Custom Command".
Set the following:
Cmd: 01
Subcmd: 11
Subcmd arguments: 1b6000000102
Hit "Send" and you should be good to go.  You should get a Subcmd Reply starting with 80 11.

So I was messing with the HID stuff today and managed to get custom grip colors to show up on an actual Switch.
The SPI data at x601B needs to be set to 2 if there are grip colors defined. So 0 = no custom colors, 1 = custom body/button colors, and 2 = custom everything. Once you set the byte to 2, everything appears as it should on the console.
Can someone tell me what the stock values are for a Smash Bros Pro Controller? Is it similar to Splatoon and Xenoblade where there is a magic body color that tells Switch what grip colors to show?

Can anyone make a simple tutorial for this? Im kind of a noob and I´m afraid to mess stuff up

Oh sorry, I should've explained how to do it through the Toolkit.
First, set your colors like you normally would.
Then, go to the section where it says "Debug: Custom Command".
Set the following:
Cmd: 01
Subcmd: 11
Subcmd arguments: 1b6000000102
Hit "Send" and you should be good to go. You should get a Subcmd Reply starting with 80 11.

It wont let me set Subcmd to 11 for some reason, when i hit send I get "No reply."

Odd... that info should be correct.  I'll try it later when I hop back on Windows 10.

Odd... that info should be correct. I'll try it later when I hop back on Windows 10.

This is my current situation, thanks for your support btw

Odd.
You're definitely connected?  It looks like it should be working...
I see your firmware version/MAC isn't showing up properly.  That could be a clue to what's going on.

I got it to work! I reconnected the controller, my computer's bluethoot was probably acting weird haha. thank you so much for all help! you made my day

Odd.
You're definitely connected? It looks like it should be working...
I see your firmware version/MAC isn't showing up properly. That could be a clue to what's going on.

So I was messing with the HID stuff today and managed to get custom grip colors to show up on an actual Switch.
The SPI data at x601B needs to be set to 2 if there are grip colors defined. So 0 = no custom colors, 1 = custom body/button colors, and 2 = custom everything. Once you set the byte to 2, everything appears as it should on the console.
Can someone tell me what the stock values are for a Smash Bros Pro Controller? Is it similar to Splatoon and Xenoblade where there is a magic body color that tells Switch what grip colors to show?

Can anyone make a simple tutorial for this? Im kind of a noob and I´m afraid to mess stuff up

Oh sorry, I should've explained how to do it through the Toolkit.
First, set your colors like you normally would.
Then, go to the section where it says "Debug: Custom Command".
Set the following:
Cmd: 01
Subcmd: 11
Subcmd arguments: 1b6000000102
Hit "Send" and you should be good to go. You should get a Subcmd Reply starting with 80 11.

I can't write 11, it tells me that those subcommands are disabled

In the "debug_scripts" folder there are two .bat files. Make a copy of one of them, open it up in notepad, change the last line to "jctool_v5.2.0 -e". That's what I did and it worked for me.

In the "debug_scripts" folder there are two .bat files. Make a copy of one of them, open it up in notepad, change the last line to "jctool_v5.2.0 -e". That's what I did and it worked for me.
EDIT: Turns out I assumed something unrelated worked. What I really did that worked was typing "11" into the subcommand, opening up the HD Rumble Player, then going back to the debug menu and it doesn't block you from sending anymore, even though the error still shows.

Thanks a lot!! this totally helped!!

Thank you, @jmickelonis and @MarkAdmani!
@CTCaer, is this project abandoned? I find it really useful.
(Sorry for asking–I'd pick it up myself, but I don't have a Windows installation, and setting up a development stack for just this project seems overkill).

I hope this gets picked back up soon.

@nusco @gavinhsmith
Hey, I don't want to be a bother but I'd like to mention that I've been working on a cross-platform version of this tool.
I've forked the repository here.
Feel free to check it out. The whole tool has not been ported over yet, but I've got the IR sensor, HD Rumble player, and the controller colors to work (and be recognizable on the switch.)
As of right now, the issue mentioned in the thread should still persist as I've yet to work on fixing it since I've been busy working on doing some major refactoring of the code (hopping back and forth between different portions.)
Here is a screenshot:

The colors loaded on the SPI are recognized when you click "Try Connection Attempt."
When you click the Menu item "View" (at the very top), a list drops down with the features it currently supports.
As for the original project, I've submitted a pull request, but I haven't received feedback on it yet. For now I'll just assume the project is dead as there has not been a single commit to the master for almost 2 years now. Since there is no decent API out there in the wild that I've come across, the fork won't be dead as I have some cool concepts on what the joycon itself could be used for.

I am unable to do it

I am unable to do it

https://switchbrew.org/wiki/Joy-Con
The evee joycon colors are from there

Hi everyone, I believe I have found the solution for stock colors.
Changing the body color to 313232 will force the grips to be Splatoon colors.
Changing the body color to 323132 will force the grips to be Xenoblade color.
I have not found the correct number for Smash color though.
I hope this is helpful

Did you find it yet？I can not find the Smash color number 😭

Hi everyone, I believe I have found the solution for stock colors.
Changing the body color to 313232 will force the grips to be Splatoon colors.
Changing the body color to 323132 will force the grips to be Xenoblade color.
I have not found the correct number for Smash color though.
I hope this is helpful

I can confirm this works, just make sure to set the button color to FFFFFF.

can confirm this still works on switch 12.1.0

Can someone tell me what the stock values are for a Smash Bros Pro Controller? Is it similar to Splatoon and Xenoblade where there is a magic body color that tells Switch what grip colors to show?

Try 2D2D2D

I have a similar problem, where it is not showing up in the program after I change the grip colours. Anyone know how to fix that?

Any fixes gonna eventually come for this? I'm just curious. Would love to see it happen.

if anyone finds the new colors for the Splatoon 3 Cons and Pro controller that'd be nice

Please Please Please Please tell me Splatoon3 Pro controller code  such as Splatoon2 313232

For Splatoon 3 pro controller, try
Body: 2D2D2D
Buttons: E6E6E6
Grip (L): 6455F5
Grip (R): C3FA05
For Splatoon 3 joy-cons, try
Joy-con (L)
Body: 6455F5
Buttons: 28282D
Joy-con (R)
Body: C3FA05
Buttons: 1E1E28
I copied the codes from the real Splatoon 3 pro controller and joy-cons.

After reading through and testing, here are all the steps in order for this error to be fixed guaranteed.

Set the controller's colors to whatever you'd like.  Your Pro Controller will now be properly colored!

trying to resurrect this thread in order to get an answer, after trying this, it didn't work, the controller shows up the same, anyone got an idea on how to make it work?

already tried both options, sadly no luck, but what did happen when trying the subcmd method is that I got in the reply cmd the first digits
90 11 instead of the desired 80 11, any idea what could be the cause?

Try googling you firmware version and your problem at the same time, perhaps some documented this?
example
"VERSIONHERE pro controller color not saving"

On Nov 14, 2024, at 4:03 PM, pbarrera813 @.***> wrote:
already tried both options, sadly no luck, but what did happen when trying the subcmd method is that I got in the reply cmd the first digits
90 11 instead of the desired 80 11, any idea what could be the cause?
—
Reply to this email directly, view it on GitHub https://github.com/CTCaer/jc_toolkit/issues/28#issuecomment-2477404408, or unsubscribe https://github.com/notifications/unsubscribe-auth/APEIFYMFZJNB5PQSDDUAOWL2AUF2JAVCNFSM4GKC2USKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TENBXG42DANBUGA4A.
You are receiving this because you commented.

already tried that before getting to this thread, sadly nothing came up, I'm on firmware 3.42

I am unable to do it

https://switchbrew.org/wiki/Joy-Con
The evee joycon colors are from there

I got the same issue as you, the reply from the subcmd is 90 11 instead of the wanted 80 11, did you managed to get a fix?
also let's hope anyone else on the thread knows how to fix this

I have 2 pro controllers but since joycon toolkit only seems to run on Windows I don’t think I can really verify if I have this issue or not.(Linux btw)On Nov 16, 2024, at 1:43 PM, pbarrera813 @.***> wrote:
I am unable to do it
https://switchbrew.org/wiki/Joy-Con
The evee joycon colors are from there
I got the same issue as you, the reply from the subcmd is 90 11 instead of the wanted 80 11, did you managed to get a fix?
also let's hope anyone else on the thread knows how to fix this
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Joy-Con color is gray when in TV Mode.
When in Handheld Mode, the Joy-Cons are identified.
Is it possible to change the color in TV Mode?
In Neon Pink, there is only one color information on the backed up SPI.
Red has two color information locations, and the color is identified even in TV Mode.
Is this related to this?
Neon Pink SPI BIN
006050- #FF3278 #28001E
046050-

Red       SPI BIN
006050- #E10F00 #280A0A
046050- #E10F00 #280A0A


Error occurred while enabling Broadcaster v2.3.1 (Is it up to date?) java.lang.LinkageError

Version information

Component
Version

Plugin
Broadcaster-2.3.1.jar

PocketKnife
PocketKnife-2.0.0.jar

Bukkit/Spigot
git-Paper-780 (MC: 1.16.5)

Bug description
On startup, Broadcaster crashes and shuts itself down again.
[04:17:48] [Server thread/INFO]: [Broadcaster] Startup...
[04:17:48] [Server thread/INFO]: [Broadcaster] Loading configuration...
[04:17:48] [Server thread/INFO]: [Broadcaster] Creating new config file 'config' at /var/games/minecraft/servers/gen3/plugins/Broadcaster/config.yml
[04:17:48] [Server thread/INFO]: [Broadcaster] Creating new config file 'messages' at /var/games/minecraft/servers/gen3/plugins/Broadcaster/messages.yml
[04:17:48] [Server thread/INFO]: [Broadcaster] Created example file at /var/games/minecraft/servers/gen3/plugins/Broadcaster/json/visit-github.json.
[04:17:48] [Server thread/INFO]: [Broadcaster] Loading localization...
[04:17:48] [Server thread/INFO]: [Broadcaster] Creating new config file 'localization' at /var/games/minecraft/servers/gen3/plugins/Broadcaster/localization.yml
[04:17:48] [Server thread/INFO]: [Broadcaster] Creating new config file 'lang/en' at /var/games/minecraft/servers/gen3/plugins/Broadcaster/lang/en.yml
[04:17:48] [Server thread/INFO]: [Broadcaster] Creating new config file 'lang/de' at /var/games/minecraft/servers/gen3/plugins/Broadcaster/lang/de.yml
[04:17:48] [Server thread/INFO]: [Broadcaster] Initializing main functionality...
[04:17:48] [Server thread/INFO]: [Broadcaster] Loaded 6 messages.
[04:17:49] [Server thread/ERROR]: Error occurred while enabling Broadcaster v2.3.1 (Is it up to date?)
java.lang.LinkageError: loader constraint violation: when resolving method 'void de.axelrindle.pocketknife.PocketInventory.setItem$default(de.axelrindle.pocketknife.PocketInventory, int, org.bukkit.inventory.ItemStack, kotlin.jvm.functions.Function1, int, java.lang.Object)' the class loader org.bukkit.plugin.java.PluginClassLoader @5ddfcd0c of the current class, de/axelrindle/broadcaster/command/StatusCommand, and the class loader org.bukkit.plugin.java.PluginClassLoader @73a1874d for the method's defining class, de/axelrindle/pocketknife/PocketInventory, have different Class objects for the type kotlin/jvm/functions/Function1 used in the signature (de.axelrindle.broadcaster.command.StatusCommand is in unnamed module of loader org.bukkit.plugin.java.PluginClassLoader @5ddfcd0c, parent loader 'app'; de.axelrindle.pocketknife.PocketInventory is in unnamed module of loader org.bukkit.plugin.java.PluginClassLoader @73a1874d, parent loader 'app')
at de.axelrindle.broadcaster.command.StatusCommand.<init>(StatusCommand.kt:31) ~[?:?]
at de.axelrindle.broadcaster.command.BrcCommand.<init>(BrcCommand.kt:23) ~[?:?]
at de.axelrindle.broadcaster.Broadcaster.onEnable(Broadcaster.kt:75) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.16.5.jar:git-Paper-780]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[patched_1.16.5.jar:git-Paper-780]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) ~[patched_1.16.5.jar:git-Paper-780]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:518) ~[patched_1.16.5.jar:git-Paper-780]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:432) ~[patched_1.16.5.jar:git-Paper-780]
at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(MinecraftServer.java:594) ~[patched_1.16.5.jar:git-Paper-780]
at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:298) ~[patched_1.16.5.jar:git-Paper-780]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1069) ~[patched_1.16.5.jar:git-Paper-780]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291) ~[patched_1.16.5.jar:git-Paper-780]
at java.lang.Thread.run(Thread.java:831) [?:?]
[04:17:49] [Server thread/INFO]: [Broadcaster] Disabling Broadcaster v2.3.1
[04:17:49] [Server thread/INFO]: [Broadcaster] Shutdown complete.

Additional context
This was on a completely clean reinstall of both PocketKnife and Broadcaster.

Hm, this looks very weird. The origin seems to be the StatusCommand class.

I need you to specify the exact implementation and version of Java you're running the server with (Paper prints that at the very start of the logs). Alternatively you can attach the entire server log file.
Also, is that a one-time error or does it occur on every startup?

~$ java --version
openjdk 16.0.1 2021-04-20
OpenJDK Runtime Environment (build 16.0.1+9-24)
OpenJDK 64-Bit Server VM (build 16.0.1+9-24, mixed mode, sharing)```

~$ uname -a
Linux 4.19.0-17-amd64 #1 SMP Debian 4.19.194-1 (2021-06-10) x86_64 GNU/Linux```
This happens on every startup..

Thank you. I will try to reproduce this error using OpenJDK 16.0.1+9-24.

I could reproduce the exact same stacktrace. I will try to figure out what causes this issue and whether there is a temporary workaround. I will keep you updated.
Still this is weird, because I can't remember having such issues when releasing this version.

Thanks for the effort! Here's to hoping it'll be an easy error to solve...
I also think it's weird, because I'd been using the exact same version of the plugin on my server for a while now, and that has been working fine. It only started misbehaving when I moved it from a Windows host to a Linux host and updated Paper (paper-1.16.4-401 --> paper-1.16.5-782) and some other plugins.

Could you try use that Paper 1.16.4-401 and see if it works again? This could be a temporary workaround then.

It doesn't work. I've only got JDK 16 installed on this server and when I try to run it, it tells me Unsupported Java detected (60.0). Only up to Java 15 is supported.

Hello again. Please try this snapshot build on your server to see if the error still occurs (unzip it beforehand :wink:).

[22:15:24] [Server thread/INFO]: [Broadcaster] Enabling Broadcaster v2.4.0
[22:15:24] [Server thread/INFO]: [Broadcaster] Startup...
[22:15:24] [Server thread/INFO]: [Broadcaster] Loading configuration...
[22:15:24] [Server thread/INFO]: [Broadcaster] Loading localization...
[22:15:24] [Server thread/INFO]: [Broadcaster] Creating new config file 'localization' at ./server/plugins/PocketKnife/localization.yml
[22:15:24] [Server thread/INFO]: [Broadcaster] Initializing main functionality...
[22:15:25] [Server thread/INFO]: [Broadcaster] Loaded 6 messages.
[22:15:25] [Server thread/INFO]: [Broadcaster] Connected with VaultAPI.
[22:15:25] [Server thread/INFO]: [Broadcaster] Done! v2.4.0
[22:16:32] [Server thread/INFO]: [Info] > Thanks for using Broadcaster! ???
[22:17:32] [Server thread/INFO]: [Info] > Supports colors and placeholders! ???
[22:18:32] [Server thread/INFO]: [Info] > Ideas? Suggestion? Visit the project page on BukkitDev and write it in the comments! ???
[22:19:32] [Server thread/INFO]: [Info] >                  Centered messages.
[22:20:32] [Server thread/INFO]: [Info] > Now also supporting PlaceholderAPI now: TPS => %server_tps%
[22:21:32] [Server thread/INFO]: [Info] > Visit the Github page
[22:22:32] [Server thread/INFO]: [Info] > Thanks for using Broadcaster! ???
[22:23:32] [Server thread/INFO]: [Info] > Supports colors and placeholders! ???
[22:24:32] [Server thread/INFO]: [Info] > Ideas? Suggestion? Visit the project page on BukkitDev and write it in the comments! ???

Sure looks like it's fixed, alright!
Awesome!! Thank you very much!

Sounds great 😁
I will probably release v2.4.0 by the end of this week.
Please reopen this issue if similar issues start occuring again.


staticpod/startupmonitor: update nodeStatus after readiness

There must not be a different understanding what readiness mean between the operator and the startup-monitor. To avoid race, we move the readiness update of the nodeStatus to the startup-monitor.

/lgtm


Infinite loop in the article shortcodes.

Describe the bug
When two articles contain links to each other, it will lead to infinite recursion.
To Reproduce
Steps to reproduce the behavior:

crate two files
use the other article's link as article shortcodes

<!-- a.md -->
{{< article link="/b.md" >}}

<!-- b.md -->
{{< article link="/a.md" >}}

Expected behavior
There is no reason resulting in a compile error.
Screenshots

Desktop (please complete the following information):

OS: Windows
Browser: chrome
Version: 11

Hugo & Blowfish versions

Hugo version: v0.128.0
Blowfish version: lastest

This was interesting. I'm deploying a new (and still fairly small) site on AWS Amplify. I also got the "infinite recursion or slow template" message (see below). I bumped the timeout config from 30 sec to 90 sec, at which point, the error message was slightly briefer. So, I bumped the timeout again, to 180 seconds at which point the build succeeded.
Maybe it's not actually an infinite recursion but just an unusually expensive process somewhere along in there?
 # Executing command: hugo
2024-07-22T04:01:06.178Z [INFO]: Start building sites …
2024-07-22T04:01:06.188Z [INFO]: hugo v0.120.4-f11bca5fec2ebb3a02727fb2a5cfb08da96fd9df+extended linux/amd64 BuildDate=2023-11-08T11:18:07Z VendorInfo=gohugoio
2024-07-22T04:02:36.292Z [INFO]: ERROR render of "page" failed: "/codebuild/output/src2424578257/src/travel/themes/blowfish/layouts/_default/baseof.html:8:4": execute of template failed: template: _default/single.html:8:4: executing "_default/single.html" at <partial "head.html" .>: error calling partial: partial "head.html" timed out after 30s. This is most likely due to infinite recursion. If this is just a slow template, you can try to increase the 'timeout' config setting.
2024-07-22T04:02:36.307Z [INFO]:
2024-07-22T04:02:36.308Z [INFO]: Total in 90284 ms
Error: error building site: render: failed to render pages: render of "page" failed: "/codebuild/output/src2424578257/src/travel/themes/blowfish/layouts/_default/baseof.html:8:4": execute of template failed: template: _default/single.html:8:4: executing "_default/single.html" at <partial "head.html" .>: error calling partial: partial "head.html" timed out after 30s. This is most likely due to infinite recursion. If this is just a slow template, you can try to increase the 'timeout' config setting.
2024-07-22T04:02:36.368Z [ERROR]: !!! Build failed
2024-07-22T04:02:36.368Z [ERROR]: !!! Error: Command failed with exit code 1

Hey everyone, I ran into the same problem myself. There is nothing I can do at theme level, as far as I know, that can fix this. The intelligence to resolve these loops needs to exist in the engine. Feel free to open this in the Hugo repo. Closing this ticket.
Also, if someone has a solution that could be implemented theme level I would happily be proven wrong as I also would like to have this.
@16bit-ykiko work around suggestion -> this was the reason why I implemented support for series and related articles, this allowed me to achieve some of the linkage I wanted without relying on specific article links


Log the path when throwing InvalidModelError.

This is the same case as Model.get, so boundPath and shortedPath are both set to path.

Coverage remained the same at 91.958% when pulling fb166c9531f0a5a84a1eeb8aa92881de89f730fa on derefSync-debug-path2 into adbe055909d3d71f090029986fb57067a13c5155 on master.


[Improvement] More detailed personalisation

In KDE you can freely mix and match icons, cursors, welcome screens and other personalised decorations. yin-yang can currently only modify the global theme.
Looking forward to your updates!

There is an application called lookandfeelexplorer or "Plasma Global Theme Explorer" that's a part of the plasma-sdk. You can use this tool to create a new global theme from your current plasma setup. Would this work for more customization?

I will merge all requests regarding fine-tuning KDE merge here. For a script-based solution, see #186


check_eof test fails on macOS

On the latest commit at the time of writing
https://github.com/zhiburt/expectrl/blob/cbd01147d9977d2949a7f607bf424baa1daee168/tests/check.rs#L87-L106
To reproduce:
cargo test check_eof -- --exact

Test output on macOS 13 with zsh
running 1 test
test check_eof ... FAILED

failures:

---- check_eof stdout ----
thread 'check_eof' panicked at 'assertion failed: `(left == right)`
  left: `[]`,
 right: `[39, 72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100, 39, 13, 10]`', tests/check.rs:103:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

failures:
    check_eof

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 9 filtered out; finished in 0.62s

error: test failed, to rerun pass '--test check'

Hmmm I actually think it must fail.
I mean I kind of don't remember why would it be true on macos.
It could be that I've tested it on some BSD and because of that changed the line accidentally.
thanks for report @james-chf
I'll investigate it.

indeed;
https://github.com/zhiburt/expectrl/actions/runs/4557450646/jobs/8039107825#step:3:128
PS: I am very sorry that it got delayed until being addressed.

must be fixed;


fix(client): fix bugs about profile

support the url not start with /gatewayv2/tensorbay-open-api/v1/
add time unit
use bytes as the unit of upload file

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

5 of 17 (29.41%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 85.792%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tensorbay/client/segment.py
1
2
50.0%

tensorbay/client/profile.py
4
15
26.67%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
6141

Relevant Lines:
7158

💛  - Coveralls

better to split this change into different PRs


Fatal error

I have extracted the plugins to /engine/Shopware/Plugins/Local and installed + activated the SwagMediaS3 plugin. In the plugin manager I get this error message:
Fatal error: Unsupported operand types in /data/shopware/engine/Shopware/Plugins/Local/Frontend/SwagMediaS3/vendor/guzzlehttp/guzzle/src/Client.php on line 225 503 Service Unavailable
Right now I haven't configured any S3 credentials yet, if this is that is the reason you should print an appropiate error message.

Entering S3 credentals doesn't help either.

Do you have any solutions on this issue? Go the same one here.

Hi,
hard to tell: Looking into the guzzle class emitting this error (Client.php), I assume the issue might be this line:
$result = $options + $defaults;
The plus operator might trigger this error when e.g. an array and an int are passed. So you might want to debug the $options and $defaults array and make sure, that both are actually arrays.
Currently I cannot reproduce this issue on my setup, the plugin was installed and activated properly.
My PHP-Version is 5.6.4, composer installed guzzle 6.0.2, flysytem 1.0.11 and flysystem-aws-s3-v3 1.0.4
Perhaps this helps somewhat?

Hey Daniel,
thank you for your support. After debugging $options and $defaults, the value of $options was
string(95) "1opt/webroot/shopware-demo/htdocs/engine/Shopware/Components/HttpClient/cacert.pem"
This is no array. The only Class in Shopware, who handles the cacert.pem is the Shopware\Components\HttpClient\GuzzleFactory in the same folder as the certificate
public function createClient() {
$client = new Client();
$certPath = DIR.'/cacert.pem';
if (is_file($certPath)) {
$client->setDefaultOption('verify', $certPath);
}
return $client;
}
and this is used by the Shopware\Bundle\PluginInstallerBundle\Service\AccountManagerService to ping the ApiEndpoint.
We can't find out where the problem exactly is, but if we delete the cacert.pem from filesystem (so the GuzzleFactory doesn't call setDefaultOption), everything works perfect!
After deleting the cacert, the $options looks like this:
array(2) {
["headers"]=>
array(0) {
}
["synchronous"]=>
bool(true)
}

any solutions?
I have the same error if i open the plugin manager.

I think this issue is solved. If not, feel free, to open another one :+1:


author_insertKey always return error with Invalid params: prefix is missing

$ curl -H 'Content-Type: application/json' --data '{ "jsonrpc":"2.0", "method":"author_insertKey", "params":["babe", "0x1111111111111111111111111111111111111111111111111111111111111111", "5DtDLm5rQHShDqojQpsvcN8tRXHVFaecfDoRet1SU6BFD9Fi"],"id":1 }' localhost:9933
{"jsonrpc":"2.0","error":{"code":-32602,"message":"Invalid params: prefix is missing."},"id":1}

Tried different formats, keys, it just doesn't work. Similar command works in a few weeks old version.
author_rotateKeys works

You are giving the arguments in the wrong order, first suri and than public_key.
(As you are giving the suri as second parameter, it expects a 0x that is not present)

Sorry I don't get it. Can you provide a working example? Did this change recently?

I see, public key is in hex format, not ss58.
curl -H 'Content-Type: application/json' --data '{ "jsonrpc":"2.0", "method":"author_insertKey", "params":["babe", "1111111111111111111111111111111111111111111111111111111111111111", "0x50780547322a1ceba67ea8c552c9bc6c686f8698ac9a8cafab7cd15a1db19859"],"id":1 }' localhost:9933 works

Yeah^^


Fix errors when returning flask Response objects

[WORK IN PROGRESS]
This will allow you to return flask Response objects such as
return jsonify(['a']), 201, {'new_header': 'header_value'}

or
return jsonify(['a']), 201

It also fixes errors that occurs when returning a Response or
ResponseContainer with validate_responses=True, as outlined in #421.
This is a breaking change, ResponseContainer init response kwarg
has been removed, and replaced with a from_response method. I
think this is better, as there isn't any ambiguity between what happens
if you use a response with data in it at the same time you pass in the
data kwarg (or various other situations like that), and takes special
care to make sure the data can actually be validated without modifying
or breaking parts of the original flaskResponse object.
If we are against making a breaking change here, I could modify this
to work with the single __init__ method and response kwarg without
much work, and just document what happens in case of conflict
between the response and the kwargs passed to the constructor.
I will need to update the existing unit tests as well as write some new
write some tests and documentation for this, but am gonna hold off
on that until this gets the go-ahead for this.
Fixes #421 .

@vimalloc Please review this PR. It needs rebasing. Also, let me know when it will be ready for review. Thank you!

I'm going to close this one and open a new one against master. The errors with validate_responses=True seem to be fixed with the new code, so it's only the returning status code and headers with flask Response objects left.
Cheers


Update Coneslayer model after tools.luxonis.com bugfix

Greetings,
@Erol444 Helped me submit a model I've developed called Coneslayer to the luxonis model zoo last December. It's a custom-trained variant of yolov7-tiny which can recognize many common orange traffic cones.
In the time since, Luxonis has discovered and patched a bug with tools.luxonis.com which may significantly improve how the bounding boxes appear when a converted model is run on an Oak-D. I've reconverted the model and updated the Coneslayer GitHub repo
It should be possible to use the newly-converted model with a normal IoU threshold (such as 0.5) instead of 0.1 as well
Here's a link to the update commit:
https://github.com/mkrupczak3/Coneslayer/commit/9c40bb8545fa4937b08945e9ac5f7c33710c5480

Normally I would submit a PR for this kind of update, but the file is hosted remotely by Luxonis. Is there any way your team could apply this patch?

Here's an example of some bad bounding boxes we were getting with the old version of the converted model:

The original PR from last December:
https://github.com/luxonis/depthai-model-zoo/pull/18

Thanks for reporting. Uploaded the model to our private storage and update the files (xml and model.yml) in the ZOO.


Natalie/import

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[ ] I adhere to the Command Guidelines.

Please send to Azure/azure-cli:dev


gaggia pro

trying to see if I can transfer to a gaggia pro. problem is that a machine on signal must be sent to d5 d6 before the display is activated, is there a way to remove that check

I think you should fork the repo and change the code to accommodate your machine


[WIP] Speedup tests

I've found the longest tests and marked the short ones with "x":
tests/integrations — x
tests/runs — long (3:30)

tests/oml/
  ddp — long
  models — long
  datasets — x
  functional — x
  losses — x
  metrics — x
  miners — x
  postprocessor — x
  registry — x
  samplers — x
  transforms — x
  utils — x

Long tests are:

models downloading
some extra runs


$transitions.onError does not allow redirection by returning TargetState

My version of UI-Router is: 1.0.6
Bug Report
Current Behavior:
TransitionHookFn returns a TargetState but no transition is made
Expected Behavior:
if TransitionHookFn returns a TargetState, the application is routed towards it.
How to reproduce
https://gist.github.com/Bennit/01dc9acacbaa3a119ae2af2f0e1003a1

+1

I've seen on https://github.com/angular-ui/ui-router/issues/3331 that they indicate the rejection of a resolve is not supposed to alter a transition; however from the docs it seems like $transitions.onError should be able to - which is truthy?

+1
I managed to workaround this by, instead of returning a TargetState, invoking $state.go("recovery-state", {}). However this strategy won't prevent $defaultErrorHandler from being triggered and polluting the console with errors.


backport: add missing error numbers for HermitOS

HermitOS is a unikernel and its interface to the kernel is provided by https://crates.io/crates/hermit-abi. In the meantime parts of the interface is stabilized and we want to integrated it into libc. Unstable version will be still provided by hermit-abi.
Error numbers are missing in the libc-0.2 branch.

No worries 😆 I'll try to get to it today