Current master - JSSE provider fails test

MacOS Catalina 10.15.5, Amazon Corretto JDK 1.8.0_252, current BC master built from source, bcprov-*.jar signed with Oracle JCE cert.
 Class Name Status Type Time(s)
   AllTests testRSAServerWithClientAuth Error certificate_unknown(46)
   org.bouncycastle.tls.TlsFatalAlertReceived: certificate_unknown(46)
   at
   org.bouncycastle.tls.TlsProtocol.handleAlertMessage(TlsProtocol.java:23
   9)
   at
   org.bouncycastle.tls.TlsProtocol.processAlertQueue(TlsProtocol.java:677
   )
   at org.bouncycastle.tls.TlsProtocol.processRecord(TlsProtocol.java:520)
   at org.bouncycastle.tls.RecordStream.readRecord(RecordStream.java:215)
   at
   org.bouncycastle.tls.TlsProtocol.safeReadRecord(TlsProtocol.java:803)
   at
   org.bouncycastle.tls.TlsProtocol.blockForHandshake(TlsProtocol.java:396
   )
   at
   org.bouncycastle.tls.TlsClientProtocol.connect(TlsClientProtocol.java:9
   0)
   at
   org.bouncycastle.jsse.provider.ProvSSLSocketDirect.startHandshake(ProvS
   SLSocketDirect.java:434)
   at
   org.bouncycastle.jsse.provider.ProvSSLSocketDirect.handshakeIfNecessary
   (ProvSSLSocketDirect.java:513)
   at
   org.bouncycastle.jsse.provider.ProvSSLSocketDirect$AppDataOutput.write(
   ProvSSLSocketDirect.java:620)
   at
   org.bouncycastle.jsse.provider.test.KeyManagerFactoryTest.testRSAServer
   WithClientAuth(KeyManagerFactoryTest.java:276)
   at junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
   at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
   at junit.extensions.TestSetup.run(TestSetup.java:27)

I don't see this failure myself, but the TLS tests are more fickle about runtime env than others.
More info, please. Have you been building and running these tests for a while and now it suddenly fails? In that case, please try rolling back recent commits in /tls to identify the triggering commit. Please also try openjdk and/or Oracle JDK for comparison.
BTW, the stack trace above is from the client, which received a "certificate_unknown" fatal alert from the server, so it's the server's stack trace that we are actually interested in, if you can capture it.

It appears this was something @dghgit fixed today. It appears that JDK 8 required BasicConstraints extension for V3 CA certs, and later JDKs (from some point) relaxed this. Anyway, it should be resolved, please confirm once the changes mirror here.

Here’s the trace:
certificate_unknown(46)
org.bouncycastle.tls.TlsFatalAlertReceived: certificate_unknown(46)
at org.bouncycastle.tls.TlsProtocol.handleAlertMessage(TlsProtocol.java:239)
at org.bouncycastle.tls.TlsProtocol.processAlertQueue(TlsProtocol.java:677)
at org.bouncycastle.tls.TlsProtocol.processRecord(TlsProtocol.java:520)
at org.bouncycastle.tls.RecordStream.readRecord(RecordStream.java:215)
at org.bouncycastle.tls.TlsProtocol.safeReadRecord(TlsProtocol.java:803)
at org.bouncycastle.tls.TlsProtocol.blockForHandshake(TlsProtocol.java:396)
at org.bouncycastle.tls.TlsClientProtocol.connect(TlsClientProtocol.java:90)
at org.bouncycastle.jsse.provider.ProvSSLSocketDirect.startHandshake(ProvSSLSocketDirect.java:434)
at org.bouncycastle.jsse.provider.ProvSSLSocketDirect.handshakeIfNecessary(ProvSSLSocketDirect.java:513)
at org.bouncycastle.jsse.provider.ProvSSLSocketDirect$AppDataOutput.write(ProvSSLSocketDirect.java:620)
at org.bouncycastle.jsse.provider.test.KeyManagerFactoryTest.testRSAServerWithClientAuth(KeyManagerFactoryTest.java:276)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.extensions.TestSetup.run(TestSetup.java:27)

On Jun 21, 2020, at 3:14 , Peter Dettman<EMAIL_ADDRESS>wrote:
I don't see this failure myself, but the TLS tests are more fickle about runtime env than others.
More info, please. Have you been building and running these tests for a while and now it suddenly fails? In that case, please try rolling back recent commits in /tls to identify the triggering commit. Please also try openjdk and/or Oracle JDK for comparison.
BTW, the stack trace above is from the client, which received a "certificate_unknown" fatal alert from the server, so it's the server's stack trace that we are actually interested in, if you can capture it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/bcgit/bc-java/issues/736#issuecomment-647089337, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNGF6L4PI4W4RLI7FT6E4LRXWXNPANCNFSM4ODUZOKA.

Uri

First, I’m happy to report a successful build of the today’s master with @dghgit fixes.
Second - should I understand from your message that I can build complete BC from the source using JDK-11? I’d love to be able to do that.
Thanks!

On Jun 21, 2020, at 8:37 , Peter Dettman<EMAIL_ADDRESS>wrote:
It appears this was something @dghgit https://github.com/dghgit fixed today. It appears that JDK 8 required BasicConstraints extension for V3 CA certs, and later JDKs (from some point) relaxed this. Anyway, it should be resolved, please confirm once the changes mirror here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/bcgit/bc-java/issues/736#issuecomment-647122585, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNGF6LZEVABOIQKF72JAI3RXX5HNANCNFSM4ODUZOKA.

Uri

Not sure about the build; in this case I was running the TLS/BCJSSE tests on openjdk 12.

Not sure about the build; in this case I was running the TLS/BCJSSE tests on openjdk 12

Ah, so you built with one JDK, and then ran some tests with another?
Let's hope somebody could post their experience building BC with JDK 11+.


Differential Expression App job failures using the provided data set

When I use the Differential Expression data upload form, the job failed 2x when I clicked Submit.  Also had non-repeatable problems/delays during upload process.  I used the SampleGenes.xlsx file provided in the Help on the form.

A change to the data API necessitated a change to the expression app. An update has been committed. Just waiting for a redeploy.

This needs a redeploy in order to resolve.

Redeploy fixed this. Closing.


Parent scope variable reference "optimized-out"

function a() {
  var index = 0;
  for (var c = 0; c < 5; c++) {
    iterate();
  }

  function iterate() {
    return index;
  }
}

becomes:
function a() {
    function b() {
        return d
    }
    for (var d = 0, e = 0; 5 > e; e++) b()
}

Note the wrong  d declaration scope in the output.
http://babeljs.io/repl/#?babili=true&evaluate=true&lineWrap=false&presets=latest&targets=&browsers=&builtIns=false&code=function a() {
  var index %3D 0%3B
  for (var c %3D 0%3B c < 5%3B c%2B%2B) {
    iterate()%3B
  }

  function iterate() {
    return index%3B
  }
}

Hey @alippai! We really appreciate you taking the time to report an issue. The collaborators
on this project attempt to help as many people as possible, but we're a limited number of volunteers,
so it's possible this won't be addressed swiftly.
If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack
community that typically always has someone willing to help. You can sign-up here
for an invite.

Found some already filed issues, maybe related: https://github.com/babel/babili/issues/430 https://github.com/babel/babili/issues/412

Those are let to var binding conversion issues. In your example, it seems to be correct code. index is converted to d and both are vars. So the scope is unaltered. In function b, d is still accessible.

Ummm, this was an oversimplified example and this way it seems to be the same issue as linked, right?
function parallelForEach(list, fn, para = 5) {
  var index = 0;
  const promises = [];
  for (let c = 0; c < para; c++) {
    promises.push(iterate());
  }

  function iterate() {
    if (index < list.length) {
      fn(list[index++]);
      iterate();
    }
  }
}

Feel free to close, if it's a duplicate.


Add support for LATENCY HISTOGRAM

Description
Issue https://github.com/redis/node-redis/issues/1955
I have added the implementation of the following command to the project LATENCY HISTOGRAM.

Describe your pull request here

Checklist

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

@leibale Could you please take some time to review this pull request?
And, This is my first PR. Please tell me in case I have missed something.

@sjpotter
Could you please take a look at this pull request when you have some time?


Wrong or missing file extension when calling saveAs()

Whenever you open the .saveAs() and try to save a file with a custom extension, it will still save as a .json file.
await FileSaver.instance.saveAs(fileName, data, 'custom123', MimeType.JSON)
When you set the MimeType to OTHER, it saves without an extension.
await FileSaver.instance.saveAs(fileName, data, 'custom123', MimeType.OTHER)
I've only tried this code on Android.

Hello,
Thank You for using my package,
I'll try to reproduce your issue and will get back to you.
Thanks

Hey, Thank You so much for pointing it out, Fixed this issue in version 0.1.0


Change the way we iterate for relative scopes

The problem
Today, the iteration semantics for relative scopes differs from the semantics for "every" and ordinal scopes. The latter first expand to iteration scope (if input target has no explicit range), and then get a list of all top-level scopes in that iteration scope. The former iterate directly from the input target, with no knowledge of iteration scopes. These semantics lead to the following problems:

https://github.com/cursorless-dev/cursorless/issues/1597
https://github.com/cursorless-dev/cursorless/pull/2110
@josharian's riddle of "take scope take next scope take scope" not being equivalent to "take scope"

The solution
If the scope has no iteration scope, maybe we just leave today's behaviour?
Otherwise, we first want to find the proper iteration scope in which to iterate:

For relative exclusive, we expand input target to smallest containing iteration scope
For relative inclusive, we expand input target to smallest containing scope, then expand from there to smallest containing iteration scope. That handles the case where you're between scopes in the very smallest iteration scope, egif (true) {
    console.log(1)
    |
    console.log(2)
}

console.log(2)

Then we do the same thing we do with "every" / ordinal, where we construct a list of all scopes in the iteration scope. These are the scopes we use instead of directly working with the scope handler.
Note that if when iterating through the returned scopes, we run out, I think we move up to grand iteration scope and start over. Repeat that as many times as necessary

Thought about this a bit more, and a few issues:

It solves @josharian's riddle kinda by accident. It effectively just switches things so we iterate forwards, and python doesn't have scopes that start at the same point, just ones that end at the same point. If we decided to iterate backwards when constructing the list, we'd still have the same problem. So feels like it's maybe not addressing the root problem here. Maybe https://github.com/cursorless-dev/cursorless/issues/1597 approach of changing iteration order to go biggest first does have something to it
It is a bit tough to explain, tho the consistency is nice
It doesn't really make sense for scopes that aren't hierarchical / don't have hierarchical iteration scope. Eg if you say "next token" at the end of a line, the suggested approach of trying to go to parent iteration scope doesn't help you

I don't think these are necessarily showstoppers, but just makes me think we maybe haven't gotten to the bottom of this one yet

I started looking into this and of course ran into problem immediately :D
With this example. There is no iteration scope for statement at the current cursor position.
    if ( | true) {
        console.log(1)
    }

    console.log(2)

Yeah file should be iteration scope for statement. We should def add that with a test

@AndreasArvidsson and I had a long discussion about this one. Here are our takeaways:
First of all, we like the idea proposed in this PR. It has nice intuitive characteristics wrt "next" whereby sitting in the "header" of a structure should skip its body, but sitting in the body should not.
We had a tangent where we thought maybe "interior" was the notion we actually wanted, where you detected whether you were in the interior of the object you're looking at. In most cases, this would actually result in the same behaviour. However, consider the scope type "arg", in the following code:
function aaa(bbb, ccc = ddd(eee, fff), ggg) {
   ...
}

We decided that "next arg" should be ggg from anywhere in ccc = ddd, but fff from anywhere in eee,. The iteration scope criterion works here, but the interior criterion doesn't, because "arg" doesn't have a natural interior.
In addition, the conistency with "every" is desirable, and the interior criterion would lose that.
In order for this to work well, it is important that if a scope is hierarchical, there is always an iteration scope between a scope and its parent. Ie Let $S$ be a scope type and $I(S)$ be its iteration scope type. If scopes $A$ and $B$ are of type $S$, and $A$ contains $B$, then there exists $C$ of type $I(S)$ such that $A$ contains $C$ and $C$ contains $B$.
The above criterion causes hierarchical scopes to devolve to hierarchies of linear scopes. Each scope exists on a flat plane with other scopes of that plane, and within that plane the scope type behaves like a flat scope, so that "next scope", "two scopes", "every scope" all work as intuitively as flat scopes
We would want to update the scope visualizer to be aware of these scope planes. For hierarchical scopes, your cursor position would determine which plane you're in by expanding to containing iteration scope and only showing scopes in that iteration scope, ignoring any scopes from descendant iteration scopes. We would have a way to indicate the available iteration scopes, but you'd only see actual scopes for one iteration scope at a time.
We've had complaints that deeply nested scopes are very hard to understand in our scope visualizer, so this might be both a visual / mental model win
It's also quite important then that we have good iteration scopes for every hierarchical scope
So the steps are:

[ ] Add proper iteration scopes for our most popular languages, and good facets to track what they should be
[ ] Update scope visualizer as described above
[ ] https://github.com/cursorless-dev/cursorless/pull/2133

@AndreasArvidsson does this match our discussion? cc/ @josharian

Note also that https://github.com/cursorless-dev/cursorless/issues/2137 becomes much more natural: we just apply "grand" to iteration scope and then proceed as normal

just had an example where I might not have wanted this behaviour:
aaa(bbb)

I had my cursor at the end of aaa and wanted to delete bbb, so said "chuck next arg". I think I would have been surprised if that behaved differently if the line were wrapped in a call, eg ccc(aaa(bbb))

My understanding of the desired functionality is:

Be able to traverse siblings on the plane ignoring children
Be able to traverse a flat list, this conflicts with the previous expectation (depth first search)
Once all children are traversed pop and select containing parent

I feel like going to the parent once we have exhausted either all siblings or all children is non objectionable.
I feel like being able to support both sibling only, as well as de first search both seem like reasonable expectations.
The question is what should we default to?

To avoid the issue brought in the last comment defaulting to flat will make sense.

For the unfortunate not default option we can add a meta modifier like take next sibling arg or take next flat arg

And here's another where I found today's "next" behaviour useful:
function usingSetting<T, U>(
  section: string,
  setting: string,
  factory: (value: T) => U,
): U {
  return vscodeApi.workspace.getConfiguration(section).get<boolean>(setting);
}

My cursor was in the function signature, and I just said "change next state" to change that return statement. I'm starting to get the feeling our intuitions maybe just differ here? I think in terms of today's implementation, where it is just dumb and moves forward until a statement starts

It's not only about intuition. That ordinal and relative behaves differently is 95% of the problem. Now you need two different intuitions which just doesn't work for me.


Added SetJsLinkCustomizations site and list fields

Added Field extension method to set jsLink
Added List extension to set jsLink on list field
This is very useful for client side rendering templates; being able to jsLink your csr template to a field rather than just a web part.

Thx Thomas, appreciate the contribution!


define loading-bar-spinner placement

Hi and thank for the awesome app.
What im doing is using the loading bar along with the loading-bar-spinner, though I have hidden the actual spinner img and made the div a dark transparent overlay with 100% width and height.
This works perfect though I want to be able to place the loading-bar-spinner div within my specific view as only the view is loading hence I would only like to 'darken/disable' the section the is loading and not the entire page.
Is there a way this can be achived by like filtering a function or something that can be added?
Thanks again.

You can attach the loadingbar and spinner to different elements, and position it using CSS.  You can also  change the template to define the dom exactly as you want it.  Beyond that, however, it's up to you. If you want to disable certain elements while loading, that's beyond the scope of this project, though I believe there are others that are focused specifically on that problem

Can someone give an example. I am trying to attach it to the header.

Would be great if there was an example on how to do "You can attach the loadingbar and spinner to different elements, and position it using CSS. You can also change the template to define the dom exactly as you want it"

agree. how do I attach it to a different element ?

@anthonymiller-ice we would be open to reviewing a PR containing such a change


[draft]: small refactoring of the Spin engine

This is a WIP of beginning to refactor the Spin engine.
So far, most of this is preference, but this branch will try to address some of the TODOs in the code base eventually.
cc @Mossaka

I think many of the changes in this PR are good. Do you intend to continue working on this PR, @radu-matei ?

Yes — I would still like to bring these changes in.


nls.metadata.json in mssql extension's dist folder is generated differently for osx-arm64 and osx-x64

the only difference is the location of entry "prompts/confirm"

workaround is implemented.

@alanrenmsft Could be useful to add context on this workaround in case this issue comes up again later on

closed the issue too soon, the issue is actually used to track the work of removing the workaround. https://github.com/microsoft/azuredatastudio/blob/main/build/darwin/create-universal-app.ts#L58


--[BUGFIX] Background renderer should not create extra contexts

Motivation and Context
This PR fixes an issue where an additional GL context was being created in the Background Renderer, which was causing problems, including seg faults with examples/tutorials/async_rendering.py

How Has This Been Tested
Existing C++ and python tests pass

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have completed my CLA (see CONTRIBUTING)
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Is the code from examples/tutorials/async_rendering.py tested somewhere?

Is the code from examples/tutorials/async_rendering.py tested somewhere?

Yes, it is part of the python tests. test_example.py


DO NOT MERGE! Fast Forward stable to 90b8e7aae30692b2b55489a813f3b24614d4bfc4.

This PR will be merged automatically once checks are successful.

Jenkins job auth/postsubmit passed


DALL-E Api cookbook has old API output "caption" -> "prompt"

https://github.com/openai/openai-cookbook/blob/main/examples/dalle/Intro to Generation and Variations with DALL-E.ipynb

Thanks, I'll take care of it today.

Fixed! https://github.com/openai/openai-cookbook/pull/33


question for expectation

thanks for your great job.
i have a question, could you explain the process of calculating the expectation of the probability distribution?
What do these codes mean?
pitch_predicted = \                         torch.sum(pitch_predicted * idx_tensor, 1) * 3 - 42       yaw_predicted = \                         torch.sum(yaw_predicted * idx_tensor, 1) * 3 - 42

Hi,
The expected value is calculated by multiplying each of the possible outcomes by the probability each outcome will occur and then summing all of those values and this is the explanation of the first part of the equation:

Hi,
1- The expected value is calculated by multiplying each of the possible outcomes by the probability each outcome will occur and then summing all of those values and this is the explanation of the first part of the equation:
torch.sum(pitch_predicted * idx_tensor, 1)
2- The second part of the equation is to convert the expected bin value back to the gaze angle in the normal range
i.e # mapping  bins from (0 to 27) to angels (-42 to 42)


chore: make the resource_group_name explicit

This makes it clear where the region is being checked from and in what order.
Otherwise, it’s easy to forget to including resource_group_name in ReferenceAttributes.
@tim775 / @aliscott any thoughts on this? It came up when I was reviewing https://github.com/infracost/infracost/pull/787/files and https://github.com/infracost/infracost/pull/789/files

+1 on this, I like making it explicit.

Great - thanks guys! @NeverovDS has kindly updated all of the resources already so I rebased and merged this.


InvalidArgumentException when Calling ListFragments Operation Due to Timestamp Being Outside Stream Retention Period

We are encountering an InvalidArgumentException error when invoking the ListFragments operation in the AWS Kinesis Video Streams API. The error message indicates that the EndTimestamp is outside the stream retention period. The Kinesis video stream retention period is configured for 1 hours.
{
"timestamp": "2024-09-04T16:03:20Z",
"level": "ERROR",
"message": "An error occurred (InvalidArgumentException) when calling the ListFragments operation: End timestamp<PHONE_NUMBER>000 is outside of the stream retention period.",
"logger": "root",
"requestId": "bedfe797-97f6-4716-895f-db9397445794"
}

This typically is a result of the stream retention period being shorter than the execution time of the flow. What is the retention period for your KVS streams?

Kinesis Data Streams has 1 days retention period under Data Streaming.
And Kinesis Video Streams has 1 hours under Data Storage.
And the Interesting thing is I created a new Amazon connect instance and deploy the solution with it and it works fine!
The issue is keep occurring for the desired instance.

For the instance that doesn't work, identify the stream prefix then go into kinesis video streams console and delete all of those streams. Then try again. Connect will need to rebuild the streams, so the first attempt will fail. Once you see the streams rebuilt, try again and hopefully it will work

Glad to see it is working.


Standard MageError class for user-land

This should help:

Standardize error management
Allow for throwing errors (and interrupt the execution flow)
without necessarily logging an error
Allow to attach additional details to the error to be logged, thus
removing the need for an additional log call prior to throwing
Attach a response code to be sent to the client; this also has the
advantage of being part of the log data, thus making it easier
to search for error occurrences by code instead of by message
content.

Requires #112
Fixes #135

Adding the label WIP just because documentation would be needed before merging.

Documentation was completed, ready for review!


An question about create mysql with enum field

I am creating a MySQL table that contains an enum type. I want to give some initial values to the enum field, like size ENUM('x-small', 'small', 'medium', 'large in the following MySQL document ', 'x-large'), where can I set the initial value of the enum

UI doesn't have such option now. You can do it via SQL Editor.

UI doesn't have such option now. You can do it via SQL Editor.

A little investigation was needed. You can create ENUM column type via UI. Type its values in brackets after the type name when create the column:

A little investigation was needed. You can create ENUM column type via UI. Type its values in brackets after the type name when create the column:

@kseniiaguzeeva
Good idea, Thank you

@kseniiaguzeeva
Good idea, Thank you


datasette -s/--setting option for setting nested configuration options

I've been thinking about what it might look like to allow command-line arguments to be used to define any of the configuration options in datasette.yml, as alternative and more convenient syntax.
Here's what I've come up with:
datasette \
  -s settings.sql_time_limit_ms 1000 \
  -s plugins.datasette-auth-tokens.manage_tokens true \
  -s plugins.datasette-auth-tokens.manage_tokens_database tokens \
 mydatabase.db tokens.db

Which would be equivalent to datasette.yml containing this:
plugins:
  datasette-auth-tokens:
    manage_tokens: true
    manage_tokens_database: tokens
settings:
  sql_time_limit_ms: 1000

More details in https://github.com/simonw/datasette/issues/2143#issuecomment-1690792514

I have an implementation in https://github.com/simonw/datasette/issues/2143#issuecomment-1690792514 too - I'm going to land that as a PR.

Oops, that was meant to be a PR. It's just a utility function though so it's safe to land already. I'll do a PR for the actual integration of it.

Ran out of time for this, I'll look at the next step next week.

Now a PR:

#2161


Adds support for indexing multiple documents from a single Postgres row

This almost works.
I get the document structure in OpenSearch that I want, but updates to children rows in Postgres are not reflected in OpenSearch until the parent rows are updated in some way. Any ideas on how to remedy this? @toluaina


Dear

I  have a question. How can I differentiate between real and fake samples by score from loss.py (OCSoftmax), The spoof sample has a high score nearly 1 and bonafide sample has a low score nearly -1, what is the threshold to distinguish them, is it "0"? It seems to me that the output of a binary classification model is a probability,such as [0.1,0.9],  0.1---> bonafide sample,  0.9---> spoof sample。But how can i do like this output with your trained model?

Our output is the negative cosine similarity between the embedding and the weight vector. You are right that the spoof has scores close to 1 and bona fide close to -1. In the evaluation process, we do not use thresholds because we are calculating EER. But in practice, I think 0 is a good threshold.

If you would like to view my output as probability, please check out the derivation below:
$${L}\textit{OCS}
&=\frac{1}{N} \sum{i=1}^{N} \log \left(1+e^{\alpha\left(m_{y_{i}}-\hat{\bm w}^T \hat{\bm x}{i}\right)(-1)^{y{i}}}\right)\
&=\frac{1}{N} \left(\sum_{|{\Omega}|} \log \left(1+e^{\alpha\left(m_{0}-\hat{\bm w}^T \hat{\bm x}{i}\right)}\right)+\sum{|\overline{\Omega}|} \log \left(1+e^{\alpha\left(\hat{\bm w}^T \hat{\bm x}{i}-m{1}\right)}\right)\right) \
&=-\frac{1}{N}\left(\sum_{|{\Omega}|} \log \frac{1}{1+e^{\alpha\left(m_{0}-\hat{\bm w}^T \hat{\bm x}{i}\right)}}+\sum{|\overline{\Omega}|}\log \frac{1}{1+e^{\alpha\left(\hat{\bm w}^T \hat{\bm x}{i}-m{1}\right)}}\right) $$

thank u，it means that the output score and  threshold are irrelevant！?，when i put the output of the model into nn.softmax to predict the sample, the  result is poor, such as (0.45,0.55) et.al
，i can not understand perfect performance  on negative cosine similarity perdition, but poor performance  on nn.softmax.
Junjun Guo
@.***
发自 网易邮箱大师
---- 回复的原邮件 ----
发件人 You @.>日期 2022年05月17日 22:54收件人 @.>抄送至<EMAIL_ADDRESS>Re: [yzyouzhang/AIR-ASVspoof] Dear (Issue #26)
Our output is the negative cosine similarity between the embedding and the weight vector. You are right that the spoof has scores close to 1 and bona fide close to -1. In the evaluation process, we do not use thresholds because we are calculating EER. But in practice, I think 0 is a good threshold.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Could you please elaborate on how you get the result of (0.45,0.55) and how you interpret it?

feats, lfcc_outputs = self.model(lfcc)
out_score = F.softmax(lfcc_outputs) #[:, 0]
a sample out_score is [0.45,0.55], 0.45---->the probability of belonging to bonafide; 0.55---->the probability of belonging to spoof; the probability  of all samples  are similar.
and what is the meaning of element in derivation below:
$$
\begin{aligned}
{L}\textit{OCS}
&=\frac{1}{N} \sum{i=1}^{N} \log \left(1+e^{\alpha\left(m_{y_{i}}-\hat{\bm w}^T \hat{\bm x}{i}\right)(-1)^{y{i}}}\right)
&=\frac{1}{N} \left(\sum_{|{\Omega}|} \log \left(1+e^{\alpha\left(m_{0}-\hat{\bm w}^T \hat{\bm x}{i}\right)}\right)+\sum{|\overline{\Omega}|} \log \left(1+e^{\alpha\left(\hat{\bm w}^T \hat{\bm x}{i}-m{1}\right)}\right)\right)
&=-\frac{1}{N}\left(\sum_{|{\Omega}|} \log \frac{1}{1+e^{\alpha\left(m_{0}-\hat{\bm w}^T \hat{\bm x}{i}\right)}}+\sum{|\overline{\Omega}|}\log \frac{1}{1+e^{\alpha\left(\hat{\bm w}^T \hat{\bm x}{i}-m{1}\right)}}\right)
\end{aligned}
$$

If you are using OC-Softmax, the output score is the cosine similarity, you do not need to feed it into Softmax. I still do not understand the [0.45, 0.55] and why the prob of all samples are similar. Can you tell me the output score of the model?

您好！输入softmax的数据不是ocsoftmax输出的分数，而是lfcc_outputs，如下所示。
feats, lfcc_outputs = self.model(lfcc)
out_score = F.softmax(lfcc_outputs)
out_score就是softmax输出的概率，例如（0.45,0.55）。我看了所有的样本输出，第一个概率大概都是0.4多，第二个概率都是0.5多。逻辑上讲，对于一个spoof样本，第一个概率应该在0左右，第二个概率在1左右才合理吧！我不太清楚问题出在哪了。
Junjun Guo
@.***
发自 网易邮箱大师
---- 回复的原邮件 ----
发件人 You @.>日期 2022年05月18日 11:50收件人 @.>抄送至<EMAIL_ADDRESS>Re: [yzyouzhang/AIR-ASVspoof] Dear (Issue #26)
If you are using OC-Softmax, the output score is the cosine similarity, you do not need to feed it into Softmax. I still do not understand the [0.45, 0.55] and why the prob of all samples are similar. Can you tell me the output score of the model?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

The model trained with OC-Softmax should use OC-Softmax for scoring. Please refer to our test.py for the correct way of scoring.

feats, lfcc_outputs = self.model(lfcc)
out_score = F.softmax(lfcc_outputs)
a sample out_score is [0.45,0.55], 0.45---->the probability of belonging to bonafide; 0.55---->the probability of belonging to spoof;
and what is the meaning of element in derivation below:
$$
\begin{aligned}
{L}\textit{OCS}
&=\frac{1}{N} \sum{i=1}^{N} \log \left(1+e^{\alpha\left(m_{y_{i}}-\hat{\bm w}^T \hat{\bm x}{i}\right)(-1)^{y{i}}}\right)
&=\frac{1}{N} \left(\sum_{|{\Omega}|} \log \left(1+e^{\alpha\left(m_{0}-\hat{\bm w}^T \hat{\bm x}{i}\right)}\right)+\sum{|\overline{\Omega}|} \log \left(1+e^{\alpha\left(\hat{\bm w}^T \hat{\bm x}{i}-m{1}\right)}\right)\right)
&=-\frac{1}{N}\left(\sum_{|{\Omega}|} \log \frac{1}{1+e^{\alpha\left(m_{0}-\hat{\bm w}^T \hat{\bm x}{i}\right)}}+\sum{|\overline{\Omega}|}\log \frac{1}{1+e^{\alpha\left(\hat{\bm w}^T \hat{\bm x}{i}-m{1}\right)}}\right)
\end{aligned}
$$郭军军
@.***
签名由 网易邮箱大师 定制
On 5/18/2022 00:35，You @.***> wrote：
Could you please elaborate on how you get the result of (0.45,0.55) and how you interpret it?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Our model trained with OC-Softmax has a weight vector to represent the center of the bonafide cluster. During inference, the embedding of the new utterance is compared with this center vector to calculate cosine similarity. So the output is in the range of [-1, 1]. If you do want a probability as output, please refer to the derivation in the picture above.


Do we need bem-core in deps if we have bem-components?

Just because bem-components knows more about the needed version of bem-core.

We don't. And, BTW, it's high time to update bem-components version ;)

@tadatuta , yes,  we don't.BUT! Did you remember the problem with broken<EMAIL_ADDRESS> and bem-components installed it,  but we need not broken<EMAIL_ADDRESS>Because of this situation, I've decided to specify bem-core even if bem-components has been chosen.
After generation of the project, I think, that it is not so difficult to remove one line from bower.json ;)

@eGavr Yup. But why you forcing me to make these changes if the reason I using generator is automatization? ;-)

Will be done ;)


can't install and when call admin panel 404

Please search before opening an issue.
Also, all informations from the issue template are required when opening issues.


Bump tree-view

Bump tree-view

13 Ağu 2021 06:55 tarihinde Sadick @.***> yazdı:Bump tree-view
You can view, comment on, or merge this pull request online at:
  https://github.com/atom/atom/pull/22851
Commit Summary
Bump tree-view
File Changes
M
package-lock.json
(4)

M
package.json
(4)

Patch Links:
https://github.com/atom/atom/pull/22851.patchhttps://github.com/atom/atom/pull/22851.diff
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.


Can't Escape Tag

At the end of the editor, if you have a tag running (say a span) around the text, there is no intuitive way to escape out of it.
Suggested route, would probably to escape the tag on enter?

The trouble is people generally expect inline styles such as italic or bold to continue after pressing enter, since this is how most word processors behave. There's an explicit exception to end links (<a> tags) on enter, but it's hard to come up with any more general rule to handle edge cases like this.
Perhaps this is really just a duplicate of #7 (feature request to add a method to remove styling), which users could explicitly use?

How about escape the tag on [esc] ?  ;)
And yes, #7 would be helpful for sure...

Nice try, but I think escape needs to blur the input, like it does in a normal textarea. I'm going to close this as a duplicate of #7.


GKE ssh instructions, not working

I brought up a GKE cluster that had 12 nodes (4 in 3 regions)
The output on a successful up, gave me ssh commands for 4 nodes.

    ssh -F /Users/cynthiaoneill/.kraken/cindygke-nov18/ssh_config clusternodes-1
    ssh -F /Users/cynthiaoneill/.kraken/cindygke-nov18/ssh_config clusternodes-2
    ssh -F /Users/cynthiaoneill/.kraken/cindygke-nov18/ssh_config othernodes-1
    ssh -F /Users/cynthiaoneill/.kraken/cindygke-nov18/ssh_config othernodes-2

Following the ssh instructions doesn't work.  I was able to ssh using the GCP Console.

I have not tested gke, but you should be able to run KRAKEN_TAGS=ssh_only ./bin/up.sh --config ~/.kraken/config.yaml to regenerate the ssh_config.


Wrong  option is selected

As demonstrated by this small example, dynamically generated select seems to select the wrong item if options are rendered in two pieces. It's not difficult to work around, but it's weird anyway.
This could have something to do with #50 but I'm not sure, therefore I created this as a separate issue.

It's not difficult to work around

actually curious to know the use case for creating selects like that 🤔
I'll try to figure out if this affects hyperHTML too and, if it does, I'll try to find a solution. However, since I believe this is a browser issue with selects and options, I'm not sure there's much I can do.
If that'd be the case, I'll put a caveat with selects in the doc/readme and flag this as won't fix.
Meanwhile it's deadly easy to work-around the issue, so I hope you're not stuck because of this way to create selects.

actually curious to know the use case for creating selects like that 🤔

Well it was just a dirty/silly way to insert a default <option>  in a select, like
const select = (items) => html`
	<select>
		${option(defaultItem)}
		${items.map(option)}
	</select>
`;

const option = (item) = html`<option>...bla bla bla...</option>`;

Meanwhile it's deadly easy to work-around the issue, so I hope you're not stuck because of this way to create selects.

No problem at all, [defaultItem, ...items].map(option) solves it nicely enough, I think 😄

I believe this is a browser issue with selects and options, I'm not sure there's much I can do.

Well, it behaves the same way in Chrome, Edge and Firefox. Are they all doing it wrong?
I generally agree, that this way of composing select options looks odd/ugly, but at the same time it is extremely non obvious for me, as a user, why should a simple code like this fail, unless lighterhtml has a built-in aesthetic detector 😉.
In my experience, issues like this are often an indication that something fishy is going on under the surface.

To rephrase, this is a low priority for me, as the use case to split options is not common, and I've a lot on my plate right now, so I hope you can survive in the meanwhile with the workaround

P.S. of course, PR welcome

Clear, thanks. I'll try to find some time to look at it during the weekend.

interesting bug, and it was affecting hyperHTML too (domdiff issue)
It's fixed now, thanks.


Error After update HA 2024.6.0

Get notis after HA 2024.6.0
///
Add-on Whatsapp has been removed from the repository it was installed from. This means it will not get updates, and backups may not be restored correctly as the supervisor may not be able to build/download the resources required.
Clicking submit will uninstall this deprecated add-on. Alternatively, you can check Home Assistant help and the community forum for alternatives to migrate to.
///

Is working  agin, after re add repo and reinsall whatsapp


Edited content and formatting of questions in yml file and templates

For upcoming CLA meeting:

Edited existing questions to match form fields; minor style changes
Edited and added additional content in Introduction section and Next Steps template
Note: May need to edit based on client specifications
Removed court tag from PDF template doc, since this type of form is filed with Probate and Family Court

I see this old PR. Are you waiting on review to merge?


fastlane connection refused error

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

Captured Output
Command Used: build
Output/Log

Successfully loaded Appfile at path '/Users/jenkin-server/.jenkins/jobs/iOS_FastLane_Research/workspace/code/fastlane/Appfile'
- app_identifier: 'com.fedex.mobile.home'
- apple_id<EMAIL_ADDRESS>- team_id: 'SARSE24G85'
-------
DEBUG [2017-06-15 17:36:44.39]: Checking if there are any plugins that should be loaded...
ERROR [2017-06-15 17:36:44.42]: Your Fastfile has had smart quotes sanitised. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes in your editor of choice.
INFO [2017-06-15 17:36:44.42]: -------------------------------------------------
INFO [2017-06-15 17:36:44.42]: --- Step: Verifying required fastlane version ---
INFO [2017-06-15 17:36:44.42]: -------------------------------------------------
INFO [2017-06-15 17:36:44.42]: Your fastlane version 2.36.0 matches the minimum requirement of 2.33.0  ✅
INFO [2017-06-15 17:36:44.43]: ------------------------------
INFO [2017-06-15 17:36:44.43]: --- Step: default_platform ---
INFO [2017-06-15 17:36:44.43]: ------------------------------
INFO [2017-06-15 17:36:44.43]: Driving the lane 'ios build' 🚀
INFO [2017-06-15 17:36:44.44]: ------------------
INFO [2017-06-15 17:36:44.44]: --- Step: cert ---
INFO [2017-06-15 17:36:44.44]: ------------------

+---------------+--------------------------------------+
|               Summary for cert 2.36.0                |
+---------------+--------------------------------------+
| development   | false                                |
| force         | false                                |
| username      |<EMAIL_ADDRESS>             |
| team_id       | SARSE24G85                           |
| keychain_path | /Users/jenkin-server/Library/Keycha  |
|               | ins/login.keychain                   |
| platform      | ios                                  |
+---------------+--------------------------------------+

INFO [2017-06-15 17:36:44.46]: Starting login with user<EMAIL_ADDRESS>ERROR [2017-06-15 17:36:57.51]: Unable to send the crash report.
ERROR [2017-06-15 17:36:57.51]: Please open an issue on GitHub if you need help!
WARN [2017-06-15 17:36:57.51]: Lane Context:
INFO [2017-06-15 17:36:57.51]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios build"}
ERROR [2017-06-15 17:36:57.51]: Connection refused - connect(2) for "idmsa.apple.com" port 443
INFO [2017-06-15 17:36:57.51]: Successfully generated documentation at path '/Users/jenkin-server/.jenkins/jobs/iOS_FastLane_Research/workspace/code/fastlane/README.md'

+------+---------------------+-------------+
|             fastlane summary             |
+------+---------------------+-------------+
| Step | Action              | Time (in s) |
+------+---------------------+-------------+
| 1    | Verifying required  | 0           |
|      | fastlane version    |             |
| 2    | default_platform    | 0           |
| 💥   | cert                | 12          |
+------+---------------------+-------------+

ERROR [2017-06-15 17:36:57.53]: fastlane finished with errors
ERROR [2017-06-15 17:36:57.71]: Unable to send the crash report.
ERROR [2017-06-15 17:36:57.71]: Please open an issue on GitHub if you need help!

Looking for related GitHub issues on fastlane/fastlane...
Search query: Connection refused - connect(2) for "idmsa.apple.com" port 443

URL: https://api.github.com/search/issues?q=Connection%20refused%20-%20connect(2)%20for%20%22idmsa.apple.com%22%20port%20443+repo:fastlane/fastlane
ERROR [2017-06-15 17:36:58.22]: Error finding relevant GitHub issues: Connection refused - connect(2) for "api.github.com" port 443

✅ fastlane environment ✅
Stack

Key
Value

OS
10.11.6

Ruby
2.2.4

Bundler?
false

Git
git version 2.10.1 (Apple Git-78)

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.11.6 (15G1004)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
true

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.2.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.33.0"

default_platform :ios

platform :ios do
  before_all do
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
    # cocoapods

  end

    lane :build do

    #increment_build_number # version bump

    #match(
     # app_identifier: “com.fedex.mobile.home”,
     # type:"adhoc"
    #)

   cert
   sigh(force: true, adhoc: true) # Sign force ensures all devices are added to the prov. Profile

    update_project_provisioning(
    xcodeproj: “FedExMobile.xcodeproj",
    profile: "./AdHoc_com.fedex.mobile.home.mobileprovision”) # temp solution as NULL prevents developer portal login

   build_number = ENV[“BUILD_NUMBER”]

   gym(scheme: "FedEx Dev", export_method: "ad-hoc”, configuration: “Testing”, output_name: “FedEx.ipa")

   # gym(
    #  scheme: “FedEx Dev”,
    #  use_legacy_build_api: true,
    #  configuration: "Debug"
    #) # Build your app - more options available

  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    # match(type: "appstore") # more information: https://codesigning.guide
    gym(scheme: "FedEx") # Build your app - more options available
    pilot

    # sh "your_script.sh"
    # You can also use other beta testing services here (run `fastlane actions`)
  end

  desc "Deploy a new version to the App Store"
  lane :release do
    # match(type: "appstore")
    # snapshot
    gym(scheme: "FedEx") # Build your app - more options available
    deliver(force: true)
    # frameit
  end

  # You can define as many lanes as you want

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://docs.fastlane.tools/actions

# fastlane reports which actions are used. No personal data is recorded.
# Learn more at https://github.com/fastlane/fastlane#metrics

`./fastlane/Appfile`
app_identifier "com.fedex.mobile.home" # The bundle identifier of your app
apple_id<EMAIL_ADDRESS># Your Apple email address

team_id "SARSE24G85" # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.36.0
💥 Check failed

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

CFPropertyList
2.3.5

activesupport
4.2.8

addressable
2.5.1

babosa
1.0.2

bigdecimal
1.2.6

bundler
1.14.6

claide
1.0.1

cocoapods
1.2.1

cocoapods-core
1.2.1

cocoapods-deintegrate
1.0.1

cocoapods-downloader
1.1.3

cocoapods-plugins
1.0.0

cocoapods-search
1.0.0

cocoapods-stats
1.0.0

cocoapods-trunk
1.2.0

cocoapods-try
1.1.0

colored
1.2

colored2
3.1.2

commander-fastlane
4.4.4

domain_name
0.5.20170404

dotenv
2.2.0

escape
0.0.4

excon
0.55.0

faraday
0.12.1

faraday-cookie_jar
0.0.6

faraday_middleware
<IP_ADDRESS>

fastimage
2.1.0

fourflusher
2.0.1

fuzzy_match
2.0.4

gh_inspector
1.0.3

google-api-client
0.9.28

googleauth
0.5.1

highline
1.7.8

http-cookie
1.0.3

httpclient
2.8.3

hurley
0.2

i18n
0.8.4

io-console
0.4.3

json
1.8.1

jwt
1.5.6

libxml-ruby
3.0.0

little-plugger
1.1.4

logging
2.2.2

memoist
0.15.0

mime-types
3.1

mime-types-data
3.2016.0521

mini_magick
4.5.1

minitest
5.4.3

molinillo
0.5.7

multi_json
1.12.1

multi_xml
0.6.0

multipart-post
2.0.0

nanaimo
0.2.3

nap
1.1.0

netrc
0.7.8

nokogiri
1.5.6

os
0.9.6

plist
3.2.0

power_assert
0.2.2

psych
2.0.8

public_suffix
2.0.5

rake
10.4.2

rdoc
4.2.0

representable
2.3.0

retriable
2.1.0

rouge
1.11.1

ruby-macho
1.1.0

rubygems-update
2.5.2

rubyzip
1.2.1

security
0.1.3

signet
0.7.3

slack-notifier
1.5.1

sqlite3
1.3.13

terminal-notifier
1.7.1

terminal-table
1.7.3

test-unit
3.0.8

thread_safe
0.3.6

tty-screen
0.5.0

tzinfo
1.2.3

uber
0.0.15

unf
0.1.4

unf_ext
<IP_ADDRESS>

unicode-display_width
1.1.3

word_wrap
1.0.0

xcodeproj
1.4.4

xcpretty
0.2.6

xcpretty-travis-formatter
0.0.4

generated on: 2017-06-15

Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
✅ fastlane environment ✅
Stack

Key
Value

OS
10.11.6

Ruby
2.2.4

Bundler?
false

Git
git version 2.10.1 (Apple Git-78)

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.11.6 (15G1004)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
true

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.2.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.33.0"

default_platform :ios

platform :ios do
  before_all do
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
    # cocoapods

  end

    lane :build do

    #increment_build_number # version bump

    #match(
     # app_identifier: “com.fedex.mobile.home”,
     # type:"adhoc"
    #)

   cert
   sigh(force: true, adhoc: true) # Sign force ensures all devices are added to the prov. Profile

    update_project_provisioning(
    xcodeproj: “FedExMobile.xcodeproj",
    profile: "./AdHoc_com.fedex.mobile.home.mobileprovision”) # temp solution as NULL prevents developer portal login

   build_number = ENV[“BUILD_NUMBER”]

   gym(scheme: "FedEx Dev", export_method: "ad-hoc”, configuration: “Testing”, output_name: “FedEx.ipa")

   # gym(
    #  scheme: “FedEx Dev”,
    #  use_legacy_build_api: true,
    #  configuration: "Debug"
    #) # Build your app - more options available

  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    # match(type: "appstore") # more information: https://codesigning.guide
    gym(scheme: "FedEx") # Build your app - more options available
    pilot

    # sh "your_script.sh"
    # You can also use other beta testing services here (run `fastlane actions`)
  end

  desc "Deploy a new version to the App Store"
  lane :release do
    # match(type: "appstore")
    # snapshot
    gym(scheme: "FedEx") # Build your app - more options available
    deliver(force: true)
    # frameit
  end

  # You can define as many lanes as you want

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://docs.fastlane.tools/actions

# fastlane reports which actions are used. No personal data is recorded.
# Learn more at https://github.com/fastlane/fastlane#metrics

`./fastlane/Appfile`
app_identifier "com.fedex.mobile.home" # The bundle identifier of your app
apple_id<EMAIL_ADDRESS># Your Apple email address

team_id "SARSE24G85" # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.36.0
💥 Check failed

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

CFPropertyList
2.3.5

activesupport
4.2.8

addressable
2.5.1

babosa
1.0.2

bigdecimal
1.2.6

bundler
1.14.6

claide
1.0.1

cocoapods
1.2.1

cocoapods-core
1.2.1

cocoapods-deintegrate
1.0.1

cocoapods-downloader
1.1.3

cocoapods-plugins
1.0.0

cocoapods-search
1.0.0

cocoapods-stats
1.0.0

cocoapods-trunk
1.2.0

cocoapods-try
1.1.0

colored
1.2

colored2
3.1.2

commander-fastlane
4.4.4

domain_name
0.5.20170404

dotenv
2.2.0

escape
0.0.4

excon
0.55.0

faraday
0.12.1

faraday-cookie_jar
0.0.6

faraday_middleware
<IP_ADDRESS>

fastimage
2.1.0

fourflusher
2.0.1

fuzzy_match
2.0.4

gh_inspector
1.0.3

google-api-client
0.9.28

googleauth
0.5.1

highline
1.7.8

http-cookie
1.0.3

httpclient
2.8.3

hurley
0.2

i18n
0.8.4

io-console
0.4.3

json
1.8.1

jwt
1.5.6

libxml-ruby
3.0.0

little-plugger
1.1.4

logging
2.2.2

memoist
0.15.0

mime-types
3.1

mime-types-data
3.2016.0521

mini_magick
4.5.1

minitest
5.4.3

molinillo
0.5.7

multi_json
1.12.1

multi_xml
0.6.0

multipart-post
2.0.0

nanaimo
0.2.3

nap
1.1.0

netrc
0.7.8

nokogiri
1.5.6

os
0.9.6

plist
3.2.0

power_assert
0.2.2

psych
2.0.8

public_suffix
2.0.5

rake
10.4.2

rdoc
4.2.0

representable
2.3.0

retriable
2.1.0

rouge
1.11.1

ruby-macho
1.1.0

rubygems-update
2.5.2

rubyzip
1.2.1

security
0.1.3

signet
0.7.3

slack-notifier
1.5.1

sqlite3
1.3.13

terminal-notifier
1.7.1

terminal-table
1.7.3

test-unit
3.0.8

thread_safe
0.3.6

tty-screen
0.5.0

tzinfo
1.2.3

uber
0.0.15

unf
0.1.4

unf_ext
<IP_ADDRESS>

unicode-display_width
1.1.3

word_wrap
1.0.0

xcodeproj
1.4.4

xcpretty
0.2.6

xcpretty-travis-formatter
0.0.4

generated on: 2017-06-15

Hey @dineshkrishna - have you tried this again since yesterday? It looks like there was maybe an issue with your internet connection? Are you connecting through a proxy/VPN?

Yes I do it through proxy. I found it's the proxy connection settings that needs to be added in bash profile for terminal connection for machines inside corporate networks. Thank you very much for the follow up. I updated the proxy in terminal today and i was able to get past the connection refused error, finally.

Great!! Glad to hear its working!


Please replace forever with pm2

After having a sidechain run for several weeks autoforging, the system crashed running out of disk space.
This is because of forever logs filling up the disk, which don't rotate. Apparently forever doesn't have this basic capability. The system logrotate service can't be used since the forever logs have random filenames and can't be specified upon service restart. Forever also appears to be an unmaintained project for the last two years.
To have feasible, long running blockchains, we need a more advanced process manager for node.js.
Doing some research brought me to PM2 - http://pm2.keymetrics.io/
Please replace forever with pm2

This is done


Add TypeScript types

Howdy,
Sweet project! I'm just now checking it out, and have to say it would be much easier to prototype with some static TypeScript types.
Not sure if this repository is actively maintained (last commit 3 years ago), if not then DefinitelyTyped would be the best option forward
Opening this issue to track interest and any effort towards this goal

Hello, thanks for the suggestion! I completely agree; I ended up rewriting the whole project in TypeScript :-).


WARNING: An illegal reflective access operation has occurred

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by me.lucko.luckperms.common.dependencies.classloader.ReflectionClassLoader (file:/C:/Users/Winchester/Desktop/Servidor%20Spigot/plugins/LuckPerms-Bukkit-4.4.1.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of me.lucko.luckperms.common.dependencies.classloader.ReflectionClassLoader
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

See #1798, #1650, #1649, #1334, #1290, #1084 or #952 (tl;dr. Search for an existing issue first, even when closed)
A fix is currently worked on for this.


Error in iosBeforePrepareHook

I tried to add this plugin and build cordova and it throws an error in the hook script.
undefined is not a function
at getOldProjectName in iosBeforePrepareHook,js:65:27
My project name is "Speaking Email" and it has not changed.

Looks like your environment doesn't yet support Array.prototype.find. Here's a workaround in iosBeforePrepareHook.js:
  var projectFile = null;

  files.forEach(function(fileName) {
    if (path.extname(fileName) === '.xcodeproj') {
      projectFile = fileName
    };
  });

@lunchbag is probably correct. @mike-nelson you can either update your version of the node, or use the code snippet from above.

@nikDemyankov  Just confirming I get the same error using node 6.4.3 and 6.5.0.  lunchbag's fix does work correct it though

Thanks.  Can this polyfill be committed to the project?
Cheers
Mike
Mike Nelson // CEO (and Developer)
beweb // P 09 3077042 // M<PHONE_NUMBER>
Listen to email safely while driving with www.speaking.email

On 2/09/2016, at 4:47 AM, sandwichfeet<EMAIL_ADDRESS>wrote:
@nikDemyankov Just confirming I get the same error using node 6.4.3 and 6.5.0. lunchbag's fix does work correct it though
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Will do

Fixed in v.1.2.1.


[import/named]: export * as namespace

models:
export * as ExtfieldModel from './extfield';
export * as Extfield2Model from './extfield2';

usage:
import { ExtfieldModel, Extfield2Model } from './models';

It report:
ExtfieldModel not found in './models' eslint(import/named)

Same problem here

Released in v2.24.1

Thanks for your hard work.


LICENSE: add title; collapse double newline at EOF

The title is not legally mandated, but it's recommended in the license template text (see http://choosealicense.com/licenses/isc/ and https://opensource.org/licenses/isc-license).
This PR is part of a project to improve the consistency and visibility of the ISC license. See https://github.com/github/choosealicense.com/issues/377 for more details.

Thank you @waldyrious , since the title doesn't affect the legal aspect of it, I will leave it clean as it is.

I understand that perspective -- I recognized it in the opening sentence of the PR, after all :)
Still, I'd suggest you to reconsider, in light of the desire you've demonstrated elsewhere to make this license more well-known: the title helps a great deal in making the license more visible. I think you might agree that the downsides of adding a single (quite relevant!) line are offset by the potential benefit that line can provide.
To give you an idea, in my efforts to disseminate the practice of including the title in the ISC license, multiple people have expressed surprise by finding out that the license they thought was MIT was instead ISC. You're right that these details don't matter for machines and for lawyers, but for regular human beings it plays a significant role in the social aspect of what makes a license more or less used.

I agree that the it is important to educate people about it, but I just don't see the point of merging pull requests everywhere where the license is already being used. New packages can include the title if they want.

I just don't see the point of merging pull requests everywhere where the license is already being used. New packages can include the title if they want.

I see it this way: If someone has decided to pick ISC for a new project, it's because they already know about it, so for them the title adds no value. Instead, the intended audience for this change is people who don't know about ISC, look at a package's existing license (e.g. to check for compliance requirements), learn that it is ISC, happen to like its conciseness, and decide to use it for their own project. Does this makes sense?

See https://github.com/juliohm/InverseDistanceWeighting.jl/pull/1 for additional context.


Request for an example of using cpg as a lib

Hi, author. I'm interested in your work and recently I try to write a code analyzer based on cpg-core and follow the example in SCPG. However, when I run following code there is an error
import de.fraunhofer.aisec.cpg.TranslationConfiguration;
import de.fraunhofer.aisec.cpg.TranslationResult;
import de.fraunhofer.aisec.cpg.TranslationManager;
import de.fraunhofer.aisec.cpg.graph.Graph;

import java.io.File;
import java.util.concurrent.ExecutionException;

import static de.fraunhofer.aisec.cpg.graph.GraphKt.getGraph;

import java.io.File;

public class Main {
    public static void main(String[] args) throws ExecutionException, InterruptedException {
        String sourceFile = "src/test/testfiles/CWE_119_122_switch.c";
        TranslationConfiguration config =
                TranslationConfiguration.builder()
                        .sourceLocations(new File(sourceFile))
                        .defaultPasses()
                        .defaultLanguages()
                        .build();

        TranslationManager analyzer = TranslationManager.builder().config(config).build();
        TranslationResult translationResult = analyzer.analyze().get();
//        System.out.println(translationResult.getComponents().get(0).getAstChildren());
        System.out.println("test");
        Graph originCPG = getGraph(translationResult);
    }
}

Error is:
Caused by: java.lang.ExceptionInInitializerError
Caused by: java.lang.SecurityException: class "org.eclipse.core.runtime.Plugin"'s signer information does not match signer information of other classes in the same package

It seems to be a version problem. So would you mind giving an example of writing own code analyzer based on your lib? on cpg 5.0.0 or other LTS version? Thank you very much if you can
By the way, I also work in the same field as you. We write a cpp analyzer based on python and antlr grammar. But there is also some errors in antlr grammar. Your work do inspire me.

Do you still get this error with 5.1.0? The problem is that once eclipse releases a new version of their core runtime dependency, any thing that still refers to the old dependency stops working.

Do you still get this error with 5.1.0? The problem is that once eclipse releases a new version of their core runtime dependency, any thing that still refers to the old dependency stops working.

Yes, would there be a release with eclipse core already downloaded? or specify eclipse version on download link in the build.gradle file?

Closing this as we also recently switched the way we use eclipse CDT


Flavors create and add methods

Added interface methods for creating and deleting flavors and made small
refactoring of existing method. 0penstack part will be implemented in
manageiq-providers-openstack.

@blomquisg  Hi, can you merge?


[Spotify-Player] Introduce "Now Playing" (view) command

Description
This PR migrates the now playing command out of #2456 without using the overly complicated sub commands. The primary difference is the use of the Detail component over a typeahead/list details, this means the title and artwork are more visible.
Because this introduces a "Now Playing" command I would like to propose renaming the menu bar to "Now Playing Menu Bar" to differentiate the two (I think this command should take the shorter name as its more likely to be something the user types given that the menu bar command isnt something that can be interacted with). Feedback especially welcome here around what would be the "Raycast way of naming" for this kind of situation.
Thankfully as this change is much smaller in scope the PR is quite a bit simpler. I've also some things I broke while resolving merge conflicts before, in particular the track notifications not appearing and the menu bar not updating when changing tracks.
Screencast
I've updated the assets to include some new screenshots but this is basically a simplified version of #2456

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

By the way,  please rebase my latest changes from the main repo, I updated a client.ts a bit

I have pushed some new commits to tidy up the handling when Spotify is not running (and rebased to include your changes)


Nested objects validated as exact objects

According to the docs, non-exact objects may have properties in addition to the ones defined in the type.
This works as expected for shallow objects:
const test: {a: number, b: number} = {a: 1, b: 1};
function fn (arg: {a: number}) { /* noop */ }
fn(test);

However, flow validates nested objects as exact objects:
const test: {a: {b: number, c: number}} = {a: {b: 1, c: 1}};
function fn (arg: {a: {b: number}}) { /* noop */ }
fn(test);

2: const test: {a: {b: number, c: number}} = {a: {b: 1, c: 1}};
                   ^ property `c`. Property not found in
3: function fn (arg: {a: {b: number}}) { /* noop */ }
                         ^ object type

And likewise, flow validates arrays of objects as exact objects:
const test: Array<{a: number, b: number}> = [{a: 1, b: 1}];
function fn (arg: Array<{a: number}>) { /* noop */ }
fn(test);

2: const test: Array<{a: number, b: number}> = [{a: 1, b: 1}];
                     ^ property `b`. Property not found in
3: function fn (arg: Array<{a: number}>) { /* noop */ }
                           ^ object type

Interestingly, this is not the case if the object type is implicit:
const test = [{a: 1, b: 1}];
function fn (arg: Array<{a: number}>) { /* noop */ }
fn(test);

const test = {a: {b: 1, c: 1}};
function fn (arg: {a: {b: number}}) { /* noop */ }
fn(test);

This is by design: objects and arrays are invariant, Flow must model mutability
const test: {a: {b: number, c: number}} = {a: {b: 1, c: 1}}
function fn (arg: {a: {b: number}}) {
  arg.a = {b: 1}
}
fn(test) // <= test now is not compliant with its type

const test: Array<{a: number, b: number}> = [{a: 1, b: 1}]
function fn (arg: Array<{a: number}>) {
  arg[0] = {a: 1}
}
fn(test) // <= test now is not compliant with its type

Interestingly, this is not the case if the object type is implicit

This is how type inference works, in the case of
const test = [{a: 1, b: 1}];
function fn (arg: Array<{a: number}>) { /* noop */ }
fn(test);

There is at least one possible solution in order to add a type to test: Array<{a: number}> so typecheking is successful

Flow must model mutability

In the case of objects and if you are reading only (or writing only) you can try to tweak the variance
declare var test: {a: {b: number, c: number}};

// notice the + before a
declare function fn(arg: {+a: {b: number}}): void;

fn(test) // <= ok

That makes sense. Thank you @gcanti.
Are covariant / contravariant arrays in the roadmap? Something like:
declare var test: Array<{a: number, b: number}>;
declare function fn(arg: Array<+{a: number}>): void;
fn(test)

declare var test: {a: number, b: number}[];
declare function fn(arg: +{a: number}[]): void;
fn(test)

@dannynelson in the meanwhile you can use the suggested fix in 2333 (bounded polymorphism)
declare var test: Array<{a: number, b: number}>;
declare function fn<T: {a: number}>(arg: Array<T>): void;
fn(test)


Add meme "overly attached girlfriend"

Summary
Adds the meme "overly attached girlfriend" :)
There somehow are a lot of changes in assets.go... Maybe because I ran make memelibrary in a Windows environment? Let me know if this is a problem. Otherwise I'll send a few more PRs with some other memes :)

Codecov Report

Merging #50 (76ea7ba) into master (534aad7) will increase coverage by 3.09%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #50      +/-   ##
==========================================
+ Coverage   75.82%   78.92%   +3.09%
==========================================
  Files           3        3
  Lines         935     1153     +218
==========================================
+ Hits          709      910     +201
- Misses        137      152      +15
- Partials       89       91       +2

Impacted Files
Coverage Δ

server/memelibrary/assets.go
78.50% <ø> (+2.99%)
:arrow_up:

server/memelibrary/metadata.go
83.60% <0.00%> (+2.83%)
:arrow_up:

server/memelibrary/memelibrary.go
82.00% <0.00%> (+5.68%)
: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 534aad7...76ea7ba. Read the comment docs.

wow, that was quick reply. Sure, I'll remove the unintended changes.

oh, there still are a lot of changes my local diff tool didn't show me

ok, I think it looks alright now? :)

Hmm, CI is failing. Could you please double check the syntax?

sorry, I was a bit hasty with my diff tool, should have tried building again after the changes. Checks are now green :)


Virtualenv setup returns ImportError

What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?
http://stackoverflow.com/questions/42274018/virtualenv-setup-returns-importerror?noredirect=1#comment71721085_42274018
Environment info
Operating System: OS X El Capitan 10.11.5
Installed version of CUDA and cuDNN:
(please attach the output of ls -l /path/to/cuda/lib/libcud*):
If installed from binary pip package, provide:

A link to the pip package you installed:
The output from python -c "import tensorflow; print(tensorflow.__version__)".

If installed from source, provide

The commit hash (git rev-parse HEAD)
The output of bazel version

If possible, provide a minimal reproducible example (We usually don't have time to read hundreds of lines of your code)
I am trying to install tensorflow with virtualenv, but I get the following error when I run "virtualenv --system-site-packages tensorflow". I am currently working this on macOS with python3.5.
Logs or other output that would be helpful
(If logs are large, please upload as attachment or provide link).
Traceback (most recent call last):
File "", line 4, in
File "~/tensorflow/lib/python3.5/tempfile.py", line 45, in
from random import Random as _Random
ImportError: cannot import name 'Random'
...Installing setuptools, pip, wheel...done.
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.5/bin/virtualenv", line 11, in
sys.exit(main())
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/virtualenv.py", line 713, in main
symlink=options.symlink)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/virtualenv.py", line 945, in create_environment
download=download,
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/virtualenv.py", line 901, in install_wheel
call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/virtualenv.py", line 797, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command ~/tensorflow/bin/python3.5 - setuptools pip wheel failed with error code 1

Maybe try a different directory as your virtualenv dir i.e.
virtualenv --system-site-packages ~/foo

maybe you have some already existing tensorflow dir that is conflicting.


Pubmed lookup feature in Literature tab does not work

Egon and Alex reproduced this bug.

That should be fixed in PV 3.2.4


File Download Functionality Broken

Even when I add skip and Limit to the already broken file download functionality, I get this new error:
Traceback (most recent call last):   File "<input>", line 1, in <module>     storj.FileManager('3ec6f7149c8ccc4afe3a2ed9').download('3ec6f7149c8ccc4afe3a2ed9', '6562f709227e7719010faa36')   File "/apps/edgestore/ed_store/lib/python3.6/site-packages/storj/__init__.py", line 140, in download     get_client().file_download(bucket_id, file_id)   File "/apps/edgestore/ed_store/lib/python3.6/site-packages/storj/http.py", line 40, in decorator     return func(*args, **kwargs)   File "/apps/edgestore/ed_store/lib/python3.6/site-packages/storj/http.py", line 421, in file_download     ws.connect()   File "/apps/edgestore/ed_store/lib/python3.6/site-packages/ws4py/client/__init__.py", line 237, in connect     self.process_response_line(response_line)   File "/apps/edgestore/ed_store/lib/python3.6/site-packages/ws4py/client/__init__.py", line 302, in process_response_line     raise HandshakeError("Invalid response status: %s %s" % (code, status)) ws4py.exc.HandshakeError: Invalid response status: b'405' b'Connection Not Upgraded'
Apparently our Websocket connection doesn't even work.
Is this maintained at all?

👋 Hey! Thanks for this contribution. Apologies for the delay in responding!
We've decided to rearchitect Storj, so that we can scale better. You can read more about this decision here. This means that we are entirely focused on v3 at the moment, in the storj/storj repository. Our white paper for v3 is coming very, very soon - follow along on the blog and in our Rocketchat.
As this repository is part of the v2 network, we're no longer maintaining this repository. I am going to close this for now. If you have any questions, I encourage you to jump on Rocketchat and ask them there. Thanks!


Column breakpoint doesn't work in condition statement

Testing #20192
My test JavaScript program is
var a = 1;
if (a === 2 || a === 1) {
	console.log(a);
}

I tried to set a column breakpoint after || but it adds a breakpoint to next line

As desgined. While you are not debugging you can set a column breakpoint anywhere, but while you are debugging a debug extension verifiys the location of all your breakpoints and can update them.
At the end Node decides that the breakpoint should be moved there and we can not affect this.


Add ru_RU translation to sourceNothing and pullArgs

Added Russian translation to sourceNothing and pullArgs exercises. Also fixed a typo in fetchArgs.

Its a christmas miracle! haha. Thanks a bunch
:tada:


Add docstring to load_checkpoint and _get_file_to_weight_map

Description
Added a docstring to load_checkpoint module and helper function _get_file_to_weight_map
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] Has code been commented, particularly in hard-to-understand areas?

@wz337 @kwen2501


Multiprocess crashed on SFCTA machine with Insufficient system resources error

Running SANDAG on SFCTA's 1 TB RAM, 80 core, Intel Xeon 2.29 GHz server

multiprocess: True
num_processors: 40
sharrow: require

Also reran with num_processors: 28, got the same error.
mp_households_21-activitysim.log
activitysim.log
12/06/2024 15:23:34 - INFO - sharrow.shared_memory - read_shared_list:shared_memory_taz_None
12/06/2024 15:23:34 - INFO - sharrow.shared_memory - open_shared_memory_array:shared_memory_taz_None
12/06/2024 15:23:34 - NOTIFY - activitysim.core.workflow.runner -  time to execute run.av_ownership UNTIL ERROR : 1.062 seconds
12/06/2024 15:23:34 - WARNING - activitysim.core.mp_tasks - OSError exception running av_ownership model: [WinError 1450] Insufficient system resources exist to complete the requested service
12/06/2024 15:23:34 - ERROR - activitysim.core.mp_tasks - mp_tasks - mp_households_21 - OSError exception caught in mp_run_simulation: [WinError 1450] Insufficient system resources exist to complete the requested service
12/06/2024 15:23:34 - ERROR - activitysim.core.mp_tasks -
---
Traceback (most recent call last):
  File "D:\activitysim\GitHub\activitysim\activitysim\core\mp_tasks.py", line 1097, in mp_run_simulation
    run_simulation(state, queue, step_info, resume_after, shared_data_buffer)
  File "D:\activitysim\GitHub\activitysim\activitysim\core\mp_tasks.py", line 1047, in run_simulation
    raise e
  File "D:\activitysim\GitHub\activitysim\activitysim\core\mp_tasks.py", line 1042, in run_simulation
    state.run.by_name(model)
  File "D:\activitysim\GitHub\activitysim\activitysim\core\workflow\runner.py", line 347, in by_name
    self._obj._context = run_named_step(
  File "D:\activitysim\GitHub\activitysim\activitysim\core\workflow\steps.py", line 83, in run_named_step
    step_func(context, **kwargs)
  File "D:\activitysim\GitHub\activitysim\activitysim\core\workflow\steps.py", line 367, in run_step
    outcome = error_logging(wrapped_func)(state, *args, **kwargs)
  File "D:\activitysim\GitHub\activitysim\activitysim\core\workflow\steps.py", line 46, in wrapper
    return func(*args, **kwargs)
  File "D:\activitysim\GitHub\sandag-abm3-example\.\extensions\av_ownership.py", line 85, in av_ownership
    expressions.assign_columns(
  File "D:\activitysim\GitHub\activitysim\activitysim\core\expressions.py", line 172, in assign_columns
    results = compute_columns(state, df, model_settings, locals_dict, trace_label)
  File "D:\activitysim\GitHub\activitysim\activitysim\core\expressions.py", line 130, in compute_columns
    _locals_dict["skim_dict"] = state.get_injectable("skim_dataset_dict")
  File "D:\activitysim\GitHub\activitysim\activitysim\core\workflow\state.py", line 794, in get
    result = self._LOADABLE_OBJECTS[key](self._context)
  File "D:\activitysim\GitHub\activitysim\activitysim\core\workflow\steps.py", line 300, in run_step
    arg_value = state._LOADABLE_OBJECTS[arg](context)
  File "D:\activitysim\GitHub\activitysim\activitysim\core\workflow\steps.py", line 367, in run_step
    outcome = error_logging(wrapped_func)(state, *args, **kwargs)
  File "D:\activitysim\GitHub\activitysim\activitysim\core\workflow\steps.py", line 46, in wrapper
    return func(*args, **kwargs)
  File "D:\activitysim\GitHub\activitysim\activitysim\core\skim_dataset.py", line 895, in skim_dataset
    return load_skim_dataset_to_shared_memory(state)
  File "D:\activitysim\GitHub\activitysim\activitysim\core\skim_dataset.py", line 750, in load_skim_dataset_to_shared_memory
    d = _use_existing_backing_if_valid(backing, omx_file_paths, skim_tag)
  File "D:\activitysim\GitHub\activitysim\activitysim\core\skim_dataset.py", line 465, in _use_existing_backing_if_valid
    out = sh.Dataset.shm.from_shared_memory(backing, mode="r")
  File "D:\activitysim\GitHub\sharrow\sharrow\shared_memory.py", line 507, in from_shared_memory
    mem = open_shared_memory_array(key, mode=mode)
  File "D:\activitysim\GitHub\sharrow\sharrow\shared_memory.py", line 143, in open_shared_memory_array
    result = SharedMemory(
  File "D:\activitysim\GitHub\asim_env\asim-consortium\lib\multiprocessing\shared_memory.py", line 180, in __init__
    self._mmap = mmap.mmap(-1, size, tagname=name)
OSError: [WinError 1450] Insufficient system resources exist to complete the requested service
---

Is it possible we are running out of disk space on this machine?  I'm not totally sure if Windows is successfully identifying that it can hold all this data in RAM and maybe is spilling it to disk?
e.g. here is someone who thought they could hold everything in RAM, but couldn't...
https://stackoverflow.com/questions/43573500/no-space-left-while-using-multiprocessing-array-in-shared-memory
I wonder if the version of Windows matters here...  I will investigate some more.

I don't think it's a disk space issue.  The system drive is 800G SSD, with >600G free, the storage drive is 18T SSD RAID with 16.4T free.
OS is Windows Server 2022 Standard

I wouldn't rule out that it is a disk space thing, or a file I/O thing of some kind.  Many of the stackoverflow issues that reference [WinError 1450] Insufficient system resources appear to be disk space or file handle problems.
The MP system used in ActivitySim is very disk-hungry, as copies of big tables get written out to disk for each MP process to use at the start of each multiprocess_steps group, then coalesced back into big tables again at the end of the MP group.
The error appears to be getting triggered when accessing the skims, but at the beginning of one of the MP groups. It's not clear to me why the error would trigger when opening the mmap for skims access, unless maybe the system resource we are exceeding is the number of open file handles, which I thought was a big number on modern windows but maybe not?
It is probably worth attempting to run multiprocess on the SFCTA machine with sharrow off, to see if that works or crashes in a similar way.

I ran a 10% household sample, Sharrow, multiprocessing run with 28 processors on Chavez. It crashed with the same WinError 1450 error as the 100% sample multiprocessing run.
I noticed there's a CHAMP CUBE window open with 94 Cube Cluster scripts waiting in the background. I am thinking these cluster scripts might be hogging the machine’s processors and therefore the ActivitySim multiprocessing run is failing.
I am going to test the following:

Run multiprocessing with sharrow turned OFF to confirm whether multiprocessing crashes without sharrow.
Close all the CHAMP window and scripts, run multiprocessing again. @joecastiglione can you please check and let me know if the CHAMP model can be safely closed?

Multiprocessing with sharrow turned OFF, 10% sample ran successfully.
Closed all the CHAMP windows and scripts. Multiprocessing with sharrow turned ON, 10% sample still failed with the same error.

When limiting the number of thread (which is also beneficial for runtime) this crash no longer occurs.


Updates to Index page for data table + data dictionary for store refactor

This closes #314 and #320
Several updates here are made for the index page relating to the recent store refactor.

The workflow for the user has changed in that they are no longer able to select a data dictionary without first having selected a data table. This has been accomplished by adding a new feature to file-selector care of the prop enabled. File selection for a data dictionary is disabled until a data table has been selected.
textarea elements on the index page have been converted to one way binding (user input does not edit underlying value) via the value attribute instead of the two-way bind via v-model
Reactivity for the textarea for the data dictionary input has been fixed by reassigning the data dictionary to itself in the store's setDataTable mutation once any new keys and values have been added or removed from the current existing dictionary.

@surchs Two further notes.

Cypress component tests are all passing except the index page one. Will address this in the upcoming PR for adjusting tests (#309, #310, #311)
Can you provide any commentary necessary feedback how this branch was created/merged. My workflow was to branch off of https://github.com/neurobagel/annotation_tool/tree/jarmoza-315 to continue development while awaiting feedback for its PR, then to merge changes to the dev branch into this one before proceeding with its own PR submission.

@surchs Two further notes.
1. Cypress component tests are all passing except the index page one. Will address this in the upcoming PR for adjusting tests (resolving [refactor page test setup #309](https://github.com/neurobagel/annotation_tool/issues/309), [adjust index page tests #310](https://github.com/neurobagel/annotation_tool/issues/310), [adjust categorization page tests #311](https://github.com/neurobagel/annotation_tool/issues/311))

Sounds good. If you know why the index page one is currently failing, I'd include the fix here just so we keep the component tests green. If it's more involved, then let's do the fix with the e2e ones (that's how I undersand your comment).

2. Can you provide any feedback as to how this branch was created/merged? My workflow was to branch off of https://github.com/neurobagel/annotation_tool/tree/jarmoza-315 to continue development while awaiting feedback for its PR, then to merge changes to the dev branch into this one before proceeding with its own PR submission.

I am not super clear what has happened here. My guess would be that you did something like this:

Merge the previous PR (jarmoza-315) into dev
Merge your local copy of dev into jarmoza-314 (here) before pulling the new merge commit now on origin/dev
Then adding the missing changes from the merged PR into the already created local branch manually
possibly missing something in step 3.

Does any of this sound plausible? We could also chat about it more on Monday with the rest of the team, I think we haven't really finished discussing our GH workflow last time.

@surchs

I'll take a look at the e2e test again
That sounds plausible, although re: 2, I was almost positive I had pulled down the changes to the remote dev branch.

In any case, I wanted to see how this workflow would work. Good practice.

@jarmoza: I took another look because I wasn't really sure either. You are right, you had pulled the recent PR in the dev branch. I think what may have happened is that when you merged dev into jarmoza-314 there was a merge conflict because you might have already made changes to the same line (in tool-navbar.vue) on both jarmoza-314 and on the dev_... branch. So my best guess is that you accidentally kept the conflicting change from jarmoza-314 and dismissed the one from the dev branch, thus reverting this line to what it was before the merge.
It's tricky - good thing for us all to discuss again I think - I would also like to get better intuitions when reading a tricky log.

Okay, @surchs. We're good to go with the index page component test now. The data dictionary loading test needed to be updated. And while I was determining what was wrong with that test by comparing the code in the other tests, I went ahead and cleaned up the file - generalized beforeEach input data, removed extraneous setup data, and some formatting.


Bs dscs 539 fa update

@scoen I'm back with FINDING_AID copy role 1 to 10 :)

Looks like I should have made the gap 100 instead of 10 :smile:

@MingtaoSun  :wink: Probably that's not enough...if i add finding aid copy role 1 to 100

Why?

@AaronCMuller you mean why finding aid 1 to 10 again?

Yes.

Probably Kavinga can answer it better.

I'm probably just being slow here but what was the reason we aren't dealing with multiple Finding Aid copies? I thought AmberDb had been updated to allow this

Again, not sure. Kavinga is the right person to answer this.


Provide email filter for BQ usage extractor

Summary of Changes
Lots of records come from service account which ideally we should filter out. This pr provides a config to allow user to set email filtering on usage records.
Tests
2 unit tests
Documentation
What documentation did you add or modify and why? Add any relevant links then remove this line
CheckList
Make sure you have checked all steps below to ensure a timely review.

[x] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[x] PR includes a summary of changes.
[x] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[x] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain docstrings that explain what it does

[x] PR passes make test
[ ] I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message"

cc @youngyjd

Codecov Report

Merging #97 into master will increase coverage by 0.03%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #97      +/-   ##
==========================================
+ Coverage   82.83%   82.87%   +0.03%
==========================================
  Files          52       52
  Lines        2575     2581       +6
  Branches      268      270       +2
==========================================
+ Hits         2133     2139       +6
  Misses        356      356
  Partials       86       86

Impacted Files
Coverage Δ

databuilder/extractor/bigquery_usage_extractor.py
83.51% <100%> (+1.16%)
: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 7b6bf54...c6a4d2f. Read the comment docs.


feat(linter/tree-shaking): support Class

#2965
#2964  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @mysteryven and the rest of your teammates on  Graphite

Merge activity

Apr 14, 1:39 AM EDT: @Boshen started a stack merge that includes this pull request via Graphite.


Angular power spectrum covariance Limber integrator

Transform a 3D connected trispectrum into the corresponding angular power spectrum covariance.

Pull Request Test Coverage Report for Build 411035631

42 of 43 (97.67%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.008%) to 96.955%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pyccl/tk3d.py
40
41
97.56%

Totals

Change from base Build 410238307:
0.008%

Covered Lines:
3311

Relevant Lines:
3415

💛  - Coveralls

@anicola this one is also ready for review, but you should only look at it after #835

Looks great to me @damonge!

Looks great to me @damonge!

Looks great to me @damonge!

Looks great to me @damonge!


Named arguments vs immutable methods

What's the point to create an object every method calls?
Let's take a look at the Route class:

The coolest thing is you can use auto-complete feature to call any of these methods. Is it all?
I think so. Let's imagine an average corporate app with more than 100 routes.
Every application bootstrap it create this 100+ routes. But if we count it comes to 100*3.5 created objects:
100 route * 3-4 immutable methods calls, so 350 created object every bootstrap just for the one matched route in the end. That's awful.
If we open Route's constructor and let users create it instead we can decrease the created objects numbers back to 100.
class Route {
    public function __construct(
        private string $pattern,
        private array $methods,
        private string $name = null,
        private array $middlewares = [],
}

That's enough to gain performance easy.
So the way to use Route changes as the following:
Route::get('/')
  ->name('site/index')
  ->action([SiteController::index, 'index'])
  ->middlewares([AuthMiddleware::class])
;

new Route(
  pattern: '/',
  name: 'site/index',
  action: [SiteController::index, 'index'],
  middlewares: [AuthMiddleware::class],
);

All of these properties can be readonly, but it's better to later it for the next release. Also all these methods are questionable. Do we really need keep both named arguments and methods?
Due to this changes #179 turns to be real just by one line above the class #[\Attribute]

Cheap costs are still greater than zero

Need to measure these in order to make a decision about if it makes sense to change routing syntax.

I like named arguments. More shortly, but without loss of readability.

I told a few times long ago that Route should be just a dto, but now it's kind of god object and not the best one.


Missing v.0.5.0 repository tag

PyPI version is currently at 0.5.0, but there is no repository tag for this version

Ok, v0.5.0 tag is now present. =)


Using resources --constraint=avx512 is not portable

When using deepvariant with CPU only it is not portable to hard-code extra = '--contraint=avx512' into the snakemake files.
# grep -R constraint= workflow/rules/
Binary file workflow/rules/.sample_deepvariant.smk.swp matches
workflow/rules/sample_deepvariant.smk:        extra = '--constraint=avx512'
workflow/rules/sample_deepvariant.smk:        extra = '--constraint=avx512'
workflow/rules/sample_deepvariant.smk:        extra = '--constraint=avx512'
workflow/rules/sample_deepvariant.smk:        extra = '--constraint=avx512'

Maybe this could be made configurable?

The same is true for
    resources:
        partition = 'ml',
        extra = '--gpus=1'

Also, this seems wrong
deepvariant_threads = 1000 if cpu_only else 8

As this is forwarded to sbatch... who has a node with 1000 hardware threads?

When using deepvariant with CPU only it is not portable to hard-code extra = '--contraint=avx512' into the snakemake files.
# grep -R constraint= workflow/rules/
Binary file workflow/rules/.sample_deepvariant.smk.swp matches
workflow/rules/sample_deepvariant.smk:        extra = '--constraint=avx512'
workflow/rules/sample_deepvariant.smk:        extra = '--constraint=avx512'
workflow/rules/sample_deepvariant.smk:        extra = '--constraint=avx512'
workflow/rules/sample_deepvariant.smk:        extra = '--constraint=avx512'

Maybe this could be made configurable?

We can break this out into the config.yaml.  The important thing here is that these jobs need to run on nodes with at least avx2 instructions.

Also, this seems wrong
deepvariant_threads = 1000 if cpu_only else 8

As this is forwarded to sbatch... who has a node with 1000 hardware threads?

The snakemake CLI argument --cores/--jobs sets the maximum number of CPU cores and therefore overrides rule-specific designations of threads. The default for this setting is "all available CPU cores".
At most, the job is going to use all available CPUs on its node, which is the purpose of setting this parameter arbitrarily high. The CPU version of this step has a tendency to clobber other jobs in resource usage, so we want to make sure snakemake doesn't let other jobs start at the same time.
There is likely a better way to achieve this goal "i.e. when in CPU-only mode, don't let other jobs start at the same time as this DeepVariant step" and we are always open to suggestions.


OrderedMap.skip(Infinity) returns the entire collection

What happened
I would expect OrderedMap.skip(Infinity) to return an empty OrderedMap. It returns the collection.
List works as expected.
How to reproduce
new Immutable.OrderedMap([['a', 1]]).skip(Infinity).size
1

This issue was fixed in a prior release, but just to confirm I added your reproduction case as a test!


Pulse - values in the "Range" filter list are not sorted in ascending order

Description
Values in "Range" filter list must be sorted in ascending order.
Steps to reproduce

Login by user
Press Pulse in action box for any running VM
Click filter "Range"

Actual result
List not sorted in ascending order.
Expected result
List sorted in ascending order.
Connected requirement IDs
[REQ_PLS_003]
[REQ_PLS_008]
[REQ_PLS_013]
Screenshots

Dublicate of #1562


xml: Adding tiles schema.

This change needs validation, I've never done xsd before.
Fixes #774
Signed-off-by: Tim 'mithro' Ansell<EMAIL_ADDRESS>

Hi @Laksen,
Could you take a look over these changes to the XML schema definition you wrote? While the new XML now passes the validation I'm unsure if I've done the right thing.
The schema is being changed as shown in https://github.com/verilog-to-routing/vtr-verilog-to-routing/pull/559 and this Google Doc.
Thanks!
Tim '@mithro' Ansell

@acomodi - After https://github.com/verilog-to-routing/vtr-verilog-to-routing/pull/559 should should <pb_type> still have <fc> or <pinlocations> tags?

@mithro There is also an open PR in SYmbiFlow VTR fork (https://github.com/SymbiFlow/vtr-verilog-to-routing/pull/36) that moves the top level-related pb_type tags into the tiles one and deals with equivalent tiles. Until it gets merged, the tiles tags are not parsed in VtR, hence we cannot delete the <fc>, <pinlocations> and <switchblock> from pb_types.
I could split the PR in two:

Equivalent tiles
Move top-level pb_type tags to the <tiles> tag.

This way we could merge the second one and start adopting the <tiles> tags in SymbiFlow architectures.
This would also require to add a parsing step on the ice40 architectures. I've created a script that should be slightly modified in https://github.com/SymbiFlow/symbiflow-arch-defs/pull/583. I could integrate that in the cmake steps to modify all the architectures which do not make use of prjxray_physical_tile_import.py, which defines the <tiles> tag for xc7 architectures.


Issues with last update on server.

After the last update when you so kindly added love points for tames, I notice some unrelated issues. It is not installed on the server and was the only client-side update at the time.
Smelters and charcoal kilns stopped ticking (no output), although they still animate. I destroyed and rebuilt them multiple times, in different locations.
Tames were regaining fed buff without being fed.
After rolling back and once the smelters and charcoal kilns were rebuilt, everything returned to normal. Client-side mod list available on request.

Well nothing else was changed except Character.GetHoverText method
https://github.com/shudnal/MyLittleUI/commit/2e4522e88f64c8a5f6cc4c0dadfb61515173fc71
More so mod doesn't touch any server logic. Its server sided component is only config synchronisation. Maybe you have some errors in log file idk.

1.1.20 should work.

Can confirm, the ticks are ticking again.