Implement proper AST statement parsers

Right now they are basic, only text. We should change that each by each case as there are so many of them.

Hello! Is there a way to collaborate on this project? I am looking for a way to migrate my smart contracts static analysis tool from typescript to golang and this project looks promising

Hello! Is there a way to collaborate on this project? I am looking for a way to migrate my smart contracts static analysis tool from typescript to golang and this project looks promising

Hey man! First of all sorry for not seeing comment. I did not yet expect any involvement from other people into this project.
Of course there is way. I would love some help here as this is literally a nightmare to build but so fun!
Can you please reach me at<EMAIL_ADDRESS>and we can continue from there.

Related to statements, in #35 you can find work I am doing right now to get AST package closer to something that is even remotely useful.

Few important things to say about this upgrade:

It will be almost sol compatible. I do see some improvements that could be done in the AST output such as applying comments, giving better source information / insight into the lines.
AST layout will be protocol buffers based as idea is to be able stream AST from unpack service or any other and provide a strict layout that services will need to follow.

Just a sidenote, this is a monster...

First batch completed. New tickets will be created for remaining workload.


whodunnit is not set on Rails 5

I've created test app for this ticket to test https://github.com/boblin/papertrail_rails5_test
It is basically rails 5.0.0.beta1 app + latest Devise + lates Papertrail.
Started GET "/posts/1/edit" for <IP_ADDRESS> at 2016-01-15 12:14:51 +0100
  ActiveRecord::SchemaMigration Load (0.3ms)  SELECT "schema_migrations".* FROM "schema_migrations"
Processing by PostsController#edit as HTML
  Parameters: {"id"=>"1"}
  User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
  Post Load (0.2ms)  SELECT  "posts".* FROM "posts" WHERE "posts"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
  Rendered posts/_form.html.erb (11.1ms)
  Rendered posts/edit.html.erb within layouts/application (12.6ms)
user_for_paper_trail is present, but whodunnit has not been set.
PaperTrail no longer adds the set_paper_trail_whodunnit
before_filter for you. Please add this before_filter to your
ApplicationController to continue recording whodunnit. See the
PaperTrail readme for an example.
Completed 200 OK in 193ms (Views: 156.1ms | ActiveRecord: 3.9ms)

2.2.3 :001 > Post.last.versions.last.whodunnit
D, [2016-01-15T12:17:01.172292 #17458] DEBUG -- :   Post Load (0.5ms)  SELECT  "posts".* FROM "posts" ORDER BY "posts"."id" DESC LIMIT $1  [["LIMIT", 1]]
D, [2016-01-15T12:17:01.197660 #17458] DEBUG -- :   PaperTrail::Version Load (0.3ms)  SELECT  "versions".* FROM "versions" WHERE "versions"."item_id" = $1 AND "versions"."item_type" = $2 ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT $3  [["item_id", 1], ["item_type", "Post"], ["LIMIT", 1]]
 => nil

I think you are supposed to see this warning. Devise defines a current_user which PaperTrail uses in user_for_paper_trail. That is why the warning says "user_for_paper_trail is present". Did you not expect to see this warning?
If you don't want to track "who done it", you can override user_for_paper_trail to return nil
# application_controler.rb
def user_for_paper_trail
  nil
end

or you can add the set_paper_trail_whodunnit callback per the instructions in the readme.
I'm open to suggestions about how to make this change less confusing to others.
This change was made so that users could control the order of callbacks. See https://github.com/airblade/paper_trail/issues/301 for discussion.

I see. My mistake :-) Thank you for help :-)

Do you have any suggestions about how to make this less confusing to others?

Because this feature is probably wanted for most of users, I would definitely add this mention at beginning of readme here: https://github.com/airblade/paper_trail#basic-usage like:

you need to add has_paper_trail to model
you need to add before_filter set_paper_trail_whodunnit

Docs updated (https://github.com/airblade/paper_trail/commit/b9f23d729f057c05139f2ccd29c31b1b750e9a60). Thanks for the suggestion!

Perfect :+1: :smile:


Construct a real-world example that contains supply chain metadata

So far we've been testing signy with the default "hello world" in-toto project layout, which is not necessarily representative of a real-world scenario.
cc @squillace, @trishankatdatadog

I can't officially assign @squillace, but I unofficially also assign @squillace.

You feel free


Code formatter does not maintain indentation after pipe

Issue Description
This:
Get-Process |
  Select-Object ProcessName |
    Sort-Object -Descending

Gets formatted to this:
Get-Process |
Select-Object ProcessName |
Sort-Object -Descending

The latter seems incredibly difficult to parse. If this is intended behavior it would be nice to have a flag/parameter to override it. In our case, this directly conflicts with our style guide.
Attached Logs
Follow the instructions in the README about
capturing and sending logs.
Environment Information
Visual Studio Code

Name
Version

Operating System
Windows_NT x64 10.0.19042

VSCode
1.54.2

PowerShell Extension Version
2021.2.2

PowerShell Information

Name
Value

PSVersion
7.1.2

PSEdition
Core

GitCommitId
7.1.2

OS
Microsoft Windows 10.0.19042

Platform
Win32NT

PSCompatibleVersions
1.0 2.0 3.0 4.0 5.0 5.1.10032.0 6.0.0 6.1.0 6.2.0 7.0.0 7.1.2

PSRemotingProtocolVersion
2.3

SerializationVersion
<IP_ADDRESS>

WSManStackVersion
3.0

Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)

Extension
Author
Version

powershell
ms-vscode
2021.2.2

vscode-pull-request-github
GitHub
0.24.0

Thanks @jmgilman looks like a duplicate of https://github.com/PowerShell/PSScriptAnalyzer/issues/1647

Thanks, looking at that issue, I see my settings were set to the following:
Settings / Extensions / Powershell Configuration / Code Formatting: Pipeline Indentation Style = NoIndentation
That would explain the behavior. However, upon changing it, I'm seeing the exact same bugs already mentioned in that thread with weird formatting when using pipelines. I'll close this issue in lieu of the other.


Collect Metrics function stops working from time to time

This issue is for a: (mark with an x)
- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Deploy monitoring architecture. Metrics Collector module sends metrics as D2C messages, which are routed to Event Hub, then Collect Metrics function is triggered and it sends data to Log Analytics workspace.

From time to time the Collect Metrics function is not able to successfully finish the execution. It keeps receiving events, but it doesn't finish processing. The problem is not visible in Azure Portal under Function -> Monitor -> Invocation, Error count is 0. And it looks like the function gets stuck. This can take hours, last time lasted more than 12 hours, which means that during 12 hours we didn't have Insights Metrics. And then suddenly, without any intervention from our side, it starts working again. This behavior happened multiple times, and in multiple environments.
Any log messages given by the failure
In Application Insights traces we are able to see the following two errors:
 exception occurred : System.AggregateException: One or more errors occurred. (The SSL connection could not be established, see inner exception.)
 ---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
 ---> System.ComponentModel.Win32Exception (0x8009030D): The credentials supplied to the package were not recognized
   at System.Net.SSPIWrapper.AcquireCredentialsHandle(SSPIInterface secModule, String package, CredentialUse intent, SCHANNEL_CRED scc)
   at System.Net.Security.SslStreamPal.AcquireCredentialsHandle(CredentialUse credUsage, SCHANNEL_CRED secureCredential)
   at System.Net.Security.SslStreamPal.AcquireCredentialsHandle(X509Certificate certificate, SslProtocols protocols, EncryptionPolicy policy, Boolean isServer)
   at System.Net.Security.SecureChannel.AcquireClientCredentials(Byte[]& thumbPrint)
   at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
   at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
   at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.PartialFrameCallback(AsyncProtocolRequest asyncRequest)
--- End of stack trace from previous location where exception was thrown ---
   at System.Net.Security.SslStream.ThrowIfExceptional()
   at System.Net.Security.SslStream.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result)
   at System.Net.Security.SslStream.EndAuthenticateAsClient(IAsyncResult asyncResult)
   at System.Net.Security.SslStream.<>c.<AuthenticateAsClientAsync>b__65_1(IAsyncResult iar)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
   at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean allowHttp2, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.DiagnosticsHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at System.Threading.Tasks.Task`1.get_Result()
   at FunctionApp.CertificateGenerator.CertGenerator.RegisterWithOms(X509Certificate2 cert, String AgentGuid, String logAnalyticsWorkspaceDomainPrefixOms) in /home/runner/work/iotedge-logging-and-monitoring-solution/iotedge-logging-and-monitoring-solution/FunctionApp/FunctionApp/CertificateGenerator/CertGenertor.cs:line 381
   at FunctionApp.CertificateGenerator.CertGenerator.RegisterWithOmsWithBasicRetryAsync(X509Certificate2 cert, String AgentGuid, String logAnalyticsWorkspaceDomainPrefixOms) in /home/runner/work/iotedge-logging-and-monitoring-solution/iotedge-logging-and-monitoring-solution/FunctionApp/FunctionApp/CertificateGenerator/CertGenertor.cs:line 404

Registering agent with OMS failed (are the Log Analytics Workspace ID and Key correct?) : System.AggregateException: One or more errors occurred. (The SSL connection could not be established, see inner exception.)
 ---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
 ---> System.ComponentModel.Win32Exception (0x8009030D): The credentials supplied to the package were not recognized
   at System.Net.SSPIWrapper.AcquireCredentialsHandle(SSPIInterface secModule, String package, CredentialUse intent, SCHANNEL_CRED scc)
   at System.Net.Security.SslStreamPal.AcquireCredentialsHandle(CredentialUse credUsage, SCHANNEL_CRED secureCredential)
   at System.Net.Security.SslStreamPal.AcquireCredentialsHandle(X509Certificate certificate, SslProtocols protocols, EncryptionPolicy policy, Boolean isServer)
   at System.Net.Security.SecureChannel.AcquireClientCredentials(Byte[]& thumbPrint)
   at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
   at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
   at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.PartialFrameCallback(AsyncProtocolRequest asyncRequest)
--- End of stack trace from previous location where exception was thrown ---
   at System.Net.Security.SslStream.ThrowIfExceptional()
   at System.Net.Security.SslStream.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result)
   at System.Net.Security.SslStream.EndAuthenticateAsClient(IAsyncResult asyncResult)
   at System.Net.Security.SslStream.<>c.<AuthenticateAsClientAsync>b__65_1(IAsyncResult iar)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
   at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean allowHttp2, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.DiagnosticsHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at System.Threading.Tasks.Task`1.get_Result()
   at FunctionApp.CertificateGenerator.CertGenerator.RegisterWithOms(X509Certificate2 cert, String AgentGuid, String logAnalyticsWorkspaceDomainPrefixOms) in /home/runner/work/iotedge-logging-and-monitoring-solution/iotedge-logging-and-monitoring-solution/FunctionApp/FunctionApp/CertificateGenerator/CertGenertor.cs:line 381
   at FunctionApp.CertificateGenerator.CertGenerator.RegisterWithOmsWithBasicRetryAsync(X509Certificate2 cert, String AgentGuid, String logAnalyticsWorkspaceDomainPrefixOms) in /home/runner/work/iotedge-logging-and-monitoring-solution/iotedge-logging-and-monitoring-solution/FunctionApp/FunctionApp/CertificateGenerator/CertGenertor.cs:line 404
   at FunctionApp.CertificateGenerator.CertGenerator.RegisterAgentWithOMS(String logAnalyticsWorkspaceDomainPrefixOms) in /home/runner/work/iotedge-logging-and-monitoring-solution/iotedge-logging-and-monitoring-solution/FunctionApp/FunctionApp/CertificateGenerator/CertGenertor.cs:line 462

The second message is misleading. Log Analytics Workspace ID and Key are correct, because eventually the function starts to work again, without any change.
Expected/desired behavior

CollectMetrics function is able to send Insights Metrics to Log Analytics workspace.

OS and Version?

Function App with Operating System: Windows, Runtime version: <IP_ADDRESS>
last version of CollectMetrics function

Mention any other details that might be useful

Folloeing, I have a similar problem

We are aware of this issue and are investigating a solution that will solve it. More updates will be shared shortly.

Fix implemented here.


refactor(query): Use query as the new query command, refs #52

Do not merge, this is still WIP

Coverage decreased (-11.5%) to 71.525% when pulling bc72f27281d0c552d720b2a891bc8badf3488212 on adnasa:query-execute into 89453bf5c1b3585361f1f20673df1b766d9f1e74 on vutran:develop.

Coverage decreased (-1.4%) to 81.695% when pulling 5ff57f5ba2bb5f9c83a0879fcbd8765764fef503 on adnasa:query-execute into 89453bf5c1b3585361f1f20673df1b766d9f1e74 on vutran:develop.

Looks good.

👍


Chore/allow optional cols for bulk cmds

Switched over the code42 departing-employee bulk remove and code42 high-risk-employee bulk remove commands to use the CSV input rather than the flat file because we wanted the header the input file to be optional.  Previously they took flat files as input.

The CSV file reader already has optional headers if there's an exact number of columns matching the argument and allows for more columns than necessary if headers are provided.

Added unit tests to check the optional header functionality.
Included a short user guide about bulk commands in general and how their headers work.

I'm curious if we'd want to remove the flat-file related methods as they're no longer being used anywhere after these changes, or if there's a potential for a future use case with them.

Can you check over the test_bulk.py tests I adjusted, I don't have a super clear understanding of how the flat-file vs csv file reading worked previously


Doesn't pickup files from the tests folder

Probably due to them missing here?
https://github.com/stil4m/elm-analyse/blob/master/ts/util/file-gatherer.ts#L27

Yes. This was originally designed how elm test functioned in 0.18. It would make more sense to include test files as well at this moment

so how should we proceed with this?

A change has to be made to make this work.
I propose to extend the mechanism of collecting source files to also collect the test files.
This would only apply if there are dependencies in the test-dependencies block (I think that is a sufficient predicate).
I'm not sure how including test files will affect the program.
For example, a dependency is actually unused if it is only used in test code and not source code. Thus to actually pertain the same properties as the system does now, files should be marked as test files.
If I got time I can do a POC, or feel free to prepare a POC yourself.

I probably won't have time, have some things I need to do for the elm language server. Which includes upstreaming our elm-analyse fork :)


Simplify the BufferedAsyncIterator and runner fetch driver

The goal of that iterator is to take a number of promises in unknown states, and generate
their results in the order of these promises resolving/rejecting.
This commit changes the implementation in such a way that we do not need an event emitter and
a result queue and a (fairly complex) logic of synchronizing these. Instead the iterator
builds two parallel queues, one containing unresolved promises and one containing the [resolve, reject]
functions for these promises. The incoming promises then are configured to pop the next [resolve, reject]
pair, and call that with the respective result. The iterator at the same time picks the next unresolved
promise from its own queue, and awaits the result.
On the runner side this requires to await the iterator.next(), which actually simplifies more code
by removing the need for a separate queue of "enqueued tasks".
Note that this code also removes the configurable "handleError" logic without replacement: No caller
ever provided that, so the default of "throw the error further" is good enough.

This works in my local tests fine, but given that I have issues getting the KafkaJS tests to run reliably I hope the Azure checks will show that the unit/integration tests also pass.
NOTE: This is currently on top of master, i.e. the bug fixed with #670 is still here

Rebased onto master to resolve the conflict introduced with #670 .
I think it would be good to pull this in before 1.13 if possible, as it simplifies code introduced in 1.13 -- so less variation in the releases :)

Probably would be good idea to join some of my changes from #705 with yours ! :smile:

Probably would be good idea to join some of my changes from #705 with yours ! 😄

Indeed, that would be my plan as well. Given that #705 fixes an actual problem, I'd think the best approach here could be to wait for #705 to land, and then to rebase this one. WDYT?

Indeed, that would be my plan as well. Given that #705 fixes an actual problem, I'd think the best approach here could be to wait for #705 to land, and then to rebase this one. WDYT?

Small update: #705 is replaced by #714 of course, and it seems that merging these together won't be much of an issue. We're now (temporarily) using our own fork of KafkaJS with both changes applied, as the changes in the beta are too tempting to not use and they do fix at least one issue for us. Our fork is at https://github.com/Collaborne/kafkajs/tree/collaborne, and can be used for reference (but obviously shouldn't be used in production by anyone unless you know what you're doing -- it's a prerelease, after all!)

@ankon just went through this change again and noticed that after your change requests are not  processed asynchronously any more as it will wait for every single request to be processed in order, before they were processed asynchronously in Promise.all().

Hmm.
I'll have a look, that's certainly not the idea here. Good hint to maybe write a test showing that it indeed processes things asynchronously. :)

While looking further here I find the existing code harder and harder to reason about.

There is probably a way to reject a promise twice, because the event emitter's error listener isn't removed (while the data listener is). This is likely benign, as per http://www.ecma-international.org/ecma-262/6.0/#sec-promise-reject-functions, but confusing when reading.
I'm thinking that there is also an opportunity for a race where an error might get eaten. This probably requires very careful timing and some asynchronicity in processing batches to trigger, but assuming that there are results in the queue and the next promise is quick enough to error it seems that there won't be an error handler installed for the error -- except for the ones left over from the previous problem, of course. :)
While it is true that it looks "more concurrent" (less "await"-y), it's difficult to see exactly where stuff is getting blocked on which conditions. At the end we have the async iterator doing things, the consumer group/runner doing things, and of course the concurrency-limiting also doing its thing.

That might all be me missing something while wrapping my head around this again of course.
On the good news side: There is already tests for the concurrency behavior of the iterator, and I definitely missed to adapt these -- so I'll see whether I can extend these further as well.

I went over the changes now and rebased them onto master.
I also decided to remove the change from a generator to an async generator for now, because as @goriunov pointed out there is definitely a change in how/where the asynchronicity happens. This makes this change simpler, and more obviously a refactoring: The interface of BufferedAsyncIterator stays the same, the tests stay the same (and still pass :D), but the whole thing lost half of its lines and hopefully also got a lot more easy to process as a human.
This PR now has two smaller JSDoc improvements to sprinkle some type information which helps when reading this code as well, tell me if I better create separate PRs for these.

+1. I don't understand the original code but do understand this.

I wasn't quite sure about the implications of this, since the code is quite complex and it's easy to make a change that accidentally changes the asynchronous behavior, so I wrote a test that uses trace_events to create a timeline for how the promises behave. The test setup itself was simply:
const BufferedAsyncIterator = require(`./${process.argv[2]}.js`)
const tracing = trace_events.createTracing({ categories: ['node.async_hooks'] })
tracing.enable();

const promises = [sleep(300).then(() => 1), sleep(100).then(() => 2), sleep(500).then(() => 3)]
const iterator = BufferedAsyncIterator(promises)

while (true) {
    const result = iterator.next()
    if (result.done) {
        break
    }

    await result.value
}
tracing.disable()

And then I ran it with both implementations and compared the results in Chrome's trace view.

As you can see, the behavior is identical between the different implementations.
The traces are available here:
original-50845-1.log
simplified-50858-1.log

(Rebased onto current master)

Did some more checks to see that error recovery was working the same way, and everything seems good. I also find this implementation a lot easier to understand, so I'm gonna go ahead and merge now that I'm confident that it's not changing the behavior. Thanks for the refactor!


what is the storage model for prometheus

I come into prometheus from a ppt about Golang.
After reading some introduction info about it,  i am now wondering the storage model for prometheus.
I know that:

Graphite uses whisper
Cacti uses RRD
 OpenTSDB uses HBase
How does the storage model for prometheus and any doc or code for it?

We are using our own storage layer, which has a very high throughput but is not intended for long-term storage.
Prometheus supports streaming metrics into InfluxDB or Graphite upon ingestion. This is just experimental though and without read-back support.
There's currently no white-paper documentation on our storage model.
Here are some slides that might help a bit but are lacking text for a good understanding without the surrounding talk: http://www.slideshare.net/FabianReinartz/prometheus-storage-57557499
I would be interested in that Go presentation that referenced Prometheus. Do you have a link?

sorry for the actual pdf that reference Prometheus. Here is a blog that deeply present the corresponding pdf. And the reference section is here


Video 1 Self Grading: Team

Team Score: .87/1.0
We believe that our group got a .87 on the video since we did talk about everything we needed to talk about, but the biggest issue was editing. Another issue was the lack of transitioning and pacing which resulted in our video being a bit too hard to understand. When we switched between each individual script, the transitioning wasn't coordinated as well as it should have been. One more important flaw that needs to be taken into account is the fact that we didn't have an introduction for our video. We just immediately got started with the demo of our website during the 1-minute team part. This made it a bit confusing as we started off with how our website was instead of a quick background like the 10 words to describe our website function. So in the future, we will definitely take into account the time it takes to properly edit our video to make it easier to understand and also add an introduction and transition sentences to pace our video better.

I think you hit many of the key points.  Grading is a little high as you may of picked up on many of these things by watching and doing iteration.   But I will honor your grade.


[ Enhancement ] : Fixes to improve readability

Describe the bug
As shown in the attached media, in the dark mode the text appears to be camouflaging with the provided background.
Expected behavior
The Text color and background should contrast to have a better readability.
Screenshots

@Akshatchaube01 I'd raise the PR by today.

We are not looking for this right now


MAR08430 should be marked spontaneous

Description of the issue:
MAR08430: creatine-phosphate[m] => creatine-phosphate[c]
According to wikipedia (https://en.wikipedia.org/wiki/Creatine_phosphate_shuttle, not a great source, but probably ok) this transport goes via diffusion, which means it is spontaneous. I think it is good to mark all spontaneous reactions since we don't need to look for missing GPRs then!
I hereby confirm that I have:

[ ] Tested my code on my own computer for running the model
[X] Done this analysis in the main branch of the repository
[X] Checked that a similar issue does not exist already

It makes sense to treat passive diffusion as spontaneous process, according various sources.

close for now, feel free to reopen


[WIP] Add Architecture diagram and usage screen cap

Add screen cap:

And architecture diagram:

Closing in favor of #249


Remap a single key on an application basis

Description of the new feature / enhancement
PowerToys supports remapping a single key for all applications. It also supports remapping shortcuts, for a single application. However, it doesn't seem to support remapping a single key for a particular application.
Scenario when this would be used?
For example, in games, I may want to remap the Shift key to a different button instead of a modifier. My current setup in Final Fantasy 14 involves putting my Shift and Control keys on my mouse; this allows me to mostly avoid needing to press chords on my left hand while using WASD to move. But my left shift key now goes completely unused, despite being in a very convenient location. It would be nice if I could remap it to a non-modifier key.
Supporting information
AutoHotKey appears to be somewhat capable of doing this: https://www.autohotkey.com/docs/misc/Remap.htm#remarks

never mind, duplicate of https://github.com/microsoft/PowerToys/issues/6756


Unable to report issue at doc.deno.land

I understand the https://doc.deno.land is old/deprecated. But report/fix is realy hard...
I spend about 1 hour to find source of this page to make pull request. But I have no idea how to do that. So I do it by this way.

If there is better way please tell me. I will report it. Thanks
Explain issue:
URL: https://doc.deno.land/
When user follow link at top menu bar with label "API" it go to "404 page not found"

@crowlKats please take care of this


Old manager app with hide map option enabled do not show the split view layout when changed in the configuration

Describe the bug
I am seeing this is issue only with this old app, where hide map was enabled, after the new code merge, I was able to change the layout option from the config but the default view is showing table view

Expected Behavior
It shows Split view as default view since I changed the config option to Split view.
Reproduction Steps & Sample
Test app: https://sg-em-devext.mapsdevext.arcgis.com/apps/instant/manager/index.html?appid=d30ffa4fcdde411f8ced045a26d72030

Launch the the app
Notice that default view is Table whereas the config option for the layout has changed to split

I am also seeing issue in the configuration, if I changed the view to map view, it does not get updated in the preview, it does not load the map

Other Relevant Info
No response

@jmhauck
For backward compatibility we are overriding appLayout to tableView when hideMapOnLoad is enabled

is this issue has impact on how this is handled in Instant app?
Please let us know your findings

@sumitzarkar At some point I feel like we should deprecate the prop from the component because it's now confusing what one would expect if they set both the hideMapOnLoad and appLayout.
For now at least I think we should just honor hideMapOnLoad if it's true and no appLayout is set. If appLayout is set then we should honor that and ignore hideMapOnLoad.
https://github.com/Esri/solutions-components/pull/867
@chris-fox do you have thoughts on the possible deprecation?

I am good with deprecating it. At this point I believe we are the only one using the component.

@jmhauck
#867 changes looks good, after these changes please let us know if any other code changes are required from our side.

@azizaparveen hideMapOnLoad prop has been removed in favor of the new layout options. Old configs that leveraged this prop will need to be re-opened and layout option chosen for the map to be hidden.

@jmhauck so the app with hide map layout on will default to split view unless they are opened and changed using the layout option?

@azizaparveen correct

@azizaparveen correct

@jmhauck  in this case can we can set the layout option to table view automatically in code? I just don't feel like it will be good experience for our users when they see the layout is different than the one they originally set?

@azizaparveen I hear you...just trying to get rid of the prop that no longer makes sense
@chris-fox when we were talking about deprecation I was thinking remove it. Should we keep the prop for some period of time to support this backwards compatibility issue?

yea sorry, i didn't understand the implications of removing it. I would like to support backwards compatibility. If there is no other way to remove the prop and support backwards compatibility than I think we should keep the prop around.

This looks good in devext


Find command helpers.

depends on https://github.com/appium/appium-base-driver/pull/15
ping @imurchie.

added getAttribute

fixed stuff.


Make attention checks and fails experimenter-triggered

Note: We want to remove the attention check configuration from the experiment metadata as well!

Small notes:

The tooltip on the participant bar isn't showing for me on Chrome (works for the cohort bar)
Future work: It'd be nice to have a "time elapsed since attention check sent"


Duplicating a node that originates from a PackedScene causes some Controls to break

Godot version
4.1.3.stable and v4.2.beta.custom_build [d443f127e]
System information
Godot v4.1.3.stable unknown - Arch Linux #1 SMP PREEMPT_DYNAMIC Thu, 26 Oct 2023 00:52:20 +0000 - Wayland - Vulkan (Forward+) - dedicated AMD Radeon RX 6700 XT (RADV NAVI22) () - AMD Ryzen 7 3700X 8-Core Processor (16 Threads)
Issue description
When a duplicating a node (via Node.duplicate()) that is the root of a sub-scene, control nodes that create internal child nodes will have multiple child nodes in the duplicated version.
The expected result is to produce a node tree with only one set of internal nodes for those controls:
SpinBox
 ┠╴@LineEdit@21
 ┖╴@Timer@22

However, the duplicated scene has extra internal nodes:
SpinBox
 ┠╴@LineEdit@26
 ┠╴@Timer@27
 ┠╴_LineEdit_24
 ┖╴_Timer_25

In the case of spinbox, the extra lineedit is drawn on top of the original. The extra lineedit does not properly cause the value of the spinbox to change, and the up/down buttons only affect the original lineedit. The bug affects other control nodes too (like OptionButton), but I have only seen functionality impacted with SpinBox. It can be prevented by setting the node's scene_file_path to an empty string before duplicating.
Steps to reproduce

create a new scene
create a sub-scene by dragging a .tscn file into the node tree in the editor
make a script duplicate that subscene with Node.duplicate()
add the duplicate to the scene

Alternatively, the sub-scene can be created at runtime from a packed scene and then duplicated.
Minimal reproduction project
ControlDuplicateIssue.zip
The first column of controls uses a sub-scene created in the editor, and exhibits the bug in the second row.
The second column uses a local version of the sub-scene (made via right click -> make local in the editor) and does not exhibit the bug.
The third column creates and adds a sub-scene from a script, and exhibits the bug in the second row.
The fourth column is like the third, but circumvents the bug by first setting the node's scene_file_path to an empty string before duplicating.

Internal nodes are mistakenly treated as hidden_root and then duplicated again.
https://github.com/godotengine/godot/blob/64150060f89677eaf11229813ae6c5cf8a873802/scene/main/node.cpp#L2502-L2505
https://github.com/godotengine/godot/blob/64150060f89677eaf11229813ae6c5cf8a873802/scene/main/node.cpp#L2600-L2607


should always specify the type attribute

different browsers may use different default types for the  element,
in my chrome Version 48.0.2564.116, the default type is 'submit', so it will trigger submit event,

Thanks @JinksPeng!


Fixed internal module issue

PlaceOrderImplementation types need to be public since they are exposed via PlaceOrder.Api. The actual implementation details are still internal via a submodule.

I'm not sure how to link this to issue#13 where this was first reported.

Thanks again -- comments in #13


I'm getting cut off after connecting

Hello!  I've followed your set up guide but every time I am connected to the AI, I'm cut off.  The Python script is throwing an error:
C:\Code\zerojobs\other\max_project\max_plugin\scripts\voice>python main.py
INFO:     Started server process [20004]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:5050 (Press CTRL+C to quit)
INFO:     <IP_ADDRESS>:0 - "POST /incoming-call HTTP/1.1" 200 OK
Client connected
INFO:     ('<IP_ADDRESS>', 0) - "WebSocket /media-stream" [accepted]
INFO:     connection open
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "C:\Users\Bret\anaconda3\Lib\site-packages\uvicorn\protocols\websockets\websockets_impl.py", line 244, in run_asgi
    result = await self.app(self.scope, self.asgi_receive, self.asgi_send)  # type: ignore[func-returns-value]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Bret\anaconda3\Lib\site-packages\uvicorn\middleware\proxy_headers.py", line 70, in __call__
    return await self.app(scope, receive, send)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Bret\anaconda3\Lib\site-packages\fastapi\applications.py", line 1054, in __call__
    await super().__call__(scope, receive, send)
  File "C:\Users\Bret\anaconda3\Lib\site-packages\starlette\applications.py", line 113, in __call__
    await self.middleware_stack(scope, receive, send)
  File "C:\Users\Bret\anaconda3\Lib\site-packages\starlette\middleware\errors.py", line 152, in __call__
    await self.app(scope, receive, send)
  File "C:\Users\Bret\anaconda3\Lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
  File "C:\Users\Bret\anaconda3\Lib\site-packages\starlette\_exception_handler.py", line 62, in wrapped_app
    raise exc
  File "C:\Users\Bret\anaconda3\Lib\site-packages\starlette\_exception_handler.py", line 51, in wrapped_app
    await app(scope, receive, sender)
  File "C:\Users\Bret\anaconda3\Lib\site-packages\starlette\routing.py", line 715, in __call__
    await self.middleware_stack(scope, receive, send)
  File "C:\Users\Bret\anaconda3\Lib\site-packages\starlette\routing.py", line 735, in app
    await route.handle(scope, receive, send)
  File "C:\Users\Bret\anaconda3\Lib\site-packages\starlette\routing.py", line 362, in handle
    await self.app(scope, receive, send)
  File "C:\Users\Bret\anaconda3\Lib\site-packages\starlette\routing.py", line 95, in app
    await wrap_app_handling_exceptions(app, session)(scope, receive, send)
  File "C:\Users\Bret\anaconda3\Lib\site-packages\starlette\_exception_handler.py", line 62, in wrapped_app
    raise exc
  File "C:\Users\Bret\anaconda3\Lib\site-packages\starlette\_exception_handler.py", line 51, in wrapped_app
    await app(scope, receive, sender)
  File "C:\Users\Bret\anaconda3\Lib\site-packages\starlette\routing.py", line 93, in app
    await func(session)
  File "C:\Users\Bret\anaconda3\Lib\site-packages\fastapi\routing.py", line 383, in app
    await dependant.call(**solved_result.values)
  File "C:\Code\zerojobs\other\max_project\max_plugin\scripts\voice\main.py", line 60, in handle_media_stream
    async with websockets.connect(
  File "C:\Users\Bret\anaconda3\Lib\site-packages\websockets\legacy\client.py", line 635, in __aenter__
    return await self
           ^^^^^^^^^^
  File "C:\Users\Bret\anaconda3\Lib\site-packages\websockets\legacy\client.py", line 656, in __await_impl__
    await protocol.handshake(
  File "C:\Users\Bret\anaconda3\Lib\site-packages\websockets\legacy\client.py", line 322, in handshake
    raise InvalidStatusCode(status_code, response_headers)
websockets.legacy.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 403
INFO:     connection closed

Any help would be much appreciated.  I'm seeing connections coming into ngrok just fine:

19:03:47.052 PDT GET  /media-stream             101 Switching Protocols
19:03:36.547 PDT POST /incoming-call            200 OK

Same issue i am also facing

@divyakr-06 I don't know this for certain, but it might be that we don't have access to the new model yet.

https://www.reddit.com/r/OpenAI/comments/1fu845b/where_is_the_gpt4orealtimepreview20241001_model/
https://www.perplexity.ai/search/is-gpt-4o-realtime-preview-ava-U29meUu8TOK8VwS6kcvs9Q

@clone45 - yes thats my conclusion too. Also I had to by pass SSL on my local to hit 403 which I believe no access to realtime API yet!

working for me now

Yes worked for me as well!

Fixed with Realtime API access rollout.


raphaeljs.com not working

Running into issue while accessing site. Can't look up the documentation.
raphaeljs.com’s server DNS address could not be found.
Care to check it.

Duplicated #1022


Image is slightly different from docker image?

Thanks for this project! It is really useful and easy to use.
However, I'm having issues where local testing with a docker image (e.g. alpine:latest, or alpine:3.20.1) is behaving different than the image in a Github action.
In particular, ninja appears missing in the github action image. (and installing with apk add ninja-is-really-ninja does not help)
How do I locally get the same image as in GHA ?

To reproduce, this is my .yml file:
name: Alpine Linux (musl libc)
on:
  - pull_request
  - push

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

jobs:
  test:
    name: Alpine Linux (musl libc)
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          submodules: true
          fetch-depth: 50

      - name: Setup latest Alpine Linux
        uses: jirutka/setup-alpine@v1
        with:
          branch: v3.20
          packages: ninja

      - name: Test ninja
        run: |
          ninja --version

That’s because you forgot shell: alpine.sh {0}, see the examples in readme.

Oh wow... I've had it working some time ago and apparently that line dropped from the yml during some rework...  Thanks, sorry for the noise.


Threading control using CNATS

This is a question / feature request  - I could not find CNATS forum for posting this question...
I have an application that use CNATS as a publisher (publish only).
In such case I would expect CNATS to open only a single thread (just for posting) but in fact 4 threads are opened.
1 thread is listener - this i can understand
1 thread for posting,
2 more????
Specifically - I want to be able to control the threading on my setup and to define the behavior.
Personally - since I am only doing publishing, and the rate of the publish is not extremely high (batching messages in the application level) - I think 1 thread should be enough.
summary:
(1) I would like to know more about the roll of each thread.
(2) I would like to have an option parameter that controls the threading mechanism.

There is a FAQ section that partly answers your questions: https://github.com/nats-io/cnats#faq
Here is the relevant excerpt:

What is the threading model of the library?
The library uses some threads to handle internal timers or dispatch asynchronous errors for instance. Here is a list of threads created as a result of the user creating NATS objects:
Each connection has a thread to read data from the socket. If you use an external event loop, this thread is not created.
Each connection has a thread responsible for flushing its outgoing buffer. If you create the connection with the natsOptions_SetSendAsap() option, this thread is not created since any outgoing data is flushed right away.
Each asynchronous subscription has a thread used to dispatch messages to the user callback. If you use nats_SetMessageDeliveryPoolSize(), a global thread pool (of the size given as a parameter to that function) is used instead of a per-async-subscription thread.

So regardless if you only publish, the library needs some threads to handle timers and async callbacks. See if the above helps you.

Closing for now, please re-open if you have more questions.


Add counts to model, relationship and component

Description
This PR add the ability to get counts for models, relationships and components. This is done to support https://github.com/meshery/meshery/issues/7651
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

Do we have a REST API docs update to accompany this?

@leecalcote after I make the changes to the server endpoints, I'll make the corresponding docs update

Do we have a REST API docs update to accompany this?

@leecalcote after I make the changes to the server endpoints, I'll make the corresponding docs update

Sounds real good.

@abdullah1308 Did you make sure meshery-server runs perfectly after these changes?

are there any changes pending in meshery/meshery as well, from your side?

are there any changes pending in meshery/meshery as well, from your side?

@Abhishek-kumar09 yes I'll put up a PR for those in a bit

Okay, then it needs to be reverted for now, because the changes are stopping mesher-server from starting.

@abdullah1308 with that PR having been reverted, you can now open up a new PR with that code and incorporate new changes.


Name shows only for 1 second when you hover over the guns.

The title is self-explanatory. But just in case I wasn't clear, When I hover over the skins, the name shows only for one second and then I have to hover over it again. It would be better if the name stays for as long as I hover over the skins. BTW, I love this. The only thing that slightly pisses me off is we can't see names of those who have chosen to hide it. But I understand the intention behind it.

The tooltips are supposed to stay indefinitely on hover. What you're seeing is a bug on Microsoft's side. Unfortunately I can do literally nothing to fix it. Maybe the next update might fix it when I update the framework dependencies.

Also the names is something that will never happen as a similar app, vRY got people banned because of it.


Upgrade docker box to use the latest Yelp detect-secrets

The docker box is running on .12.4
$ detect-secrets --version
0.12.4

Could we rebuild and repush the image to use version 0.13?

Any upgrade on this issue? I don't really want to fork this project.

great stuff ! thanks!

Removing intermediate container e0e70ca91112
 ---> 010e167850da
Step 13/14 : WORKDIR /usr/src/app
 ---> Running in 1b2fb5be89f1
Removing intermediate container 1b2fb5be89f1
 ---> c0237b86ef17
Step 14/14 : ENTRYPOINT ["detect-secrets-hook", "--verbose"]
 ---> Running in ec94fcca5c81
Removing intermediate container ec94fcca5c81
 ---> ce90ad012b16
Successfully built ce90ad012b16
Successfully tagged detect-secrets:latest

docker-detect-secrets on  master on 🐳 v19.03.5 took 1m 51s
➜ docker run -it --entrypoint /bin/sh detect-secrets:latest
# detect-secrets --version
0.13.0
# exit

@targoo I pushed a new tag now to Docker Hub, can you check if it has 0.13?

root@45247c70db88:/usr/src/app# detect-secrets --version
0.13.0

yes! thanks again for the quick support!

Awesome! thanks for chiming in to let me know 🙏


If MICROBIT_USB_SERIAL_WAKE is set, board wakes up from USB disconnection

With the latest CODAL and setting the MICROBIT_USB_SERIAL_WAKE config, when a battery is connected to the micro:bit, this programme wakes up when the USB cable is disconnected:
#include "MicroBit.h"

MicroBit uBit;

int main() {
    uBit.init();
    uBit.power.deepSleep();

    while (true) {
        uBit.display.print("A");
        uBit.sleep(500);
    }
}

MICROBIT.hex.zip
Not only that, but in some cases when on battery power (but not when PC USB connected), the board doesn't stay asleep. Pressing the reset button restarts the programme (the interface issues a restart command via SWD), and the programme will  permanently show the letter A on the display. It looks like it goes to sleep and immediately wakes up (or never go to sleep, hard to tell).
Interestingly, if all power sources are removed, and then a battery is connected, the initial state of the board is to stay asleep, but if you press the reset button enough times the board sometimes doesn't stay asleep either.
I cannot replicate when I remove/disable the MICROBIT_USB_SERIAL_WAKE config.

At the moment, the changes to cause wake-on-uart-event is simply keeping the periperhal alive during a deep sleep; at the moment its unclear if this wake is caused by a bogus data transmission from DAPLink, OR if this is something being mishandled in CODAL.
I'll investigate logging the raw serial events so we can examine this, and work out how best to handle it.

One possibility is that if the UART idle state is high and DAPLink goes to sleep (battery+USB power = awake, only battery = sleep) it might be pulling down the UART signal.


[FEATURE] Testing compatibility on different platforms

Is your feature request related to a problem?
We test our clients for Linux platform but we do not know if these clients work smoothly on platforms like windows/mac etc.
Coming from https://github.com/opensearch-project/opensearch-clients/issues/18
What solution would you like?
Test the client with most popular platforms and CPU architectures:

x64
ARM
Linux
Windows
MacOS

Some level of testing is now done on Windows & MacOS as well after #129


Implement Semantic Release

It'd be cool if we could implement semantic-release for this repository.
Doing so would allow us to pin to a major version of rapids-dependency-file-generator in our CI images to prevent releases with breaking changes from breaking CI.

Closed in:

#20
#21
#23
#24
#26

See https://github.com/rapidsai/dependency-file-generator/blob/main/CONTRIBUTING.md for details

This is an example of a breaking PR. Notice the BREAKING CHANGE: string in the PR body.

https://github.com/rapidsai/dependency-file-generator/pull/27


refactor(chgrp): move chgrp perms function into the uucore to reuse it into install

Will move chown later

It will fail with:
  left: `"uucore: changing group of \'/tmp\': Operation not permitted (os error 1)"`,
 right: `"chgrp: changing group of \'/tmp\': Operation not permitted (os error 1)"`', tests/common/util.rs:132:9

not sure how to pass the right executable
@rivy any idea? :)

Moved here: https://github.com/uutils/coreutils/pull/1641


Fix the DAS import

Addresses this issue. Thanks to @OlivierBondu and Andres Tanasijczuk for the help :-)

This only works if SAMAdhi is used inside CMSSW (which is the case here :smile:). At some point we may want also to update the das_import.py script inside SAMAdhi to grab support for certificates and stuff, but I cannot figure any current usage which is not inside CMSSW, so we have some time...
Thanks!


US-2170: Adding Blockscout Indexer

We are using the Blockscout indexer here instead of the RSK explorer indexer.
To test this PR, we should get the required information to get the wallet working in a local environment.

I added a note in README.md


add march event link

https://ti.to/donutjs/donut-js-march-2017
was thinking we could have march ticket link ready to go before the feb event happens

Fixed by https://github.com/donut-js/donut-js.github.io/commit/5829d744c86c1f64482fe4c1d10eb40eb2a806d2


4.0.0

Fix for rare NPE and documentation improvements.

Shall I merge this?

yes please! :)

On 11/04/2019, at 9:41 AM, Mitchell<EMAIL_ADDRESS>wrote:
Shall I merge this?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/MindscapeHQ/raygun4android/pull/53#issuecomment-481878158, or mute the thread https://github.com/notifications/unsubscribe-auth/AATrRGD6STO3AEgoHyLhHWlWm4WoIbX-ks5vflqegaJpZM4cmOQr.


Release Google.Cloud.BinaryAuthorization.V1Beta1 version 1.0.0-beta03

Changes in this release:

Commit 9e5abc8: feat: Publish Binary Authorization ContinuousValidationEvent proto. This is used in the new Continuous Validation feature

Created release for Google.Cloud.BinaryAuthorization.V1Beta1-1.0.0-beta03


Key personnel avatar and Github link not working properly

Hi, on the Research on Open page, the Github links take you to the Github homepage instead of the personnel profile
And, the personnel avatar is not displaying like below:

Hi, @looonnng. 👋
Thank you so much for flagging such an important issue!
Your feedback helped us discover this in a few other pages as well. I think this is caused by buggy code, where we used a variable without declaring it first. :-) We'll get this up and running in no time.
Thanks again!

Fixed with #785


Escape filter backslashes and quotes

Pull Request
Related issue
Fixes #1256
What does this PR do?

Fixes issue where backslashes ("\") and quotes (") are not escaped in filters
Also numeric filter attributes are now always wrapped in quotes

PR checklist
Please check if your PR fulfills the following requirements:

[x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
[x] Have you read the contributing guidelines?
[x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

There are some TODOs in the changes which we might want to address here.

It seems String.prototype.replaceAll() isn't implemented in Node.js 14. Will fix.
However this does bring up the notion that Node.js 16 is EOL since September 11 (was this date intentional?), so maybe supporting 14 is a little bit of a stretch. But that might be part of another discussion.


Join attachment

Hello,
Thank you so much for this work that is really helpfull!
I  have some question about PDF integration and i would like to be able to do one of these:

I would like to know if there is a way to import pdf attached in zotero directly in notion so i can have an access on my tablet/phone from notion?
Is it possible to transform the "File Path" column to a direct link on the file in my laptop? (i would like to just have to click on it to access the file)

Thank you by advance,
Seb

Hi @sebastien835, thanks for the feedback!
Unfortunately, neither of these options is currently possible because of limitations with Notion. These same issues were discussed in https://github.com/dvanoni/notero/issues/9#issuecomment-962534885, but to summarize here:

The Notion API does not currently support uploading files.
Notion only supports http: and https: URLs, so it's not possible to link directly to the file using a file: URL. I've reached out to Notion to try to find out if they'll add support for file: URLs in the future.

In https://github.com/dvanoni/notero/issues/9#issuecomment-962579162, @hengfei-wang mentioned that they had a shortcut in Alfred to open a file from selected text. Maybe that could be a workaround you could use?

Closing this issue as the above explanation was added to the README in 35208c10e7a4eb19d450b074b176bcf574486d7b.


Question Using developer proxy with Microsoft Graph .NET Client Library 5.x

Hi and thank you for this super cool tool!
I am using the Microsoft Graph .NET Client Library 5.x library to download/move emails around. I want to improve my error handling with help of the m365-developer-proxy but I cannot bring it to work. My App is a console app with client credentials authentication method. For example if I poll for a mail I expect that the developer proxy intercepts but nothing happens.
Here my coding:
MessageCollectionResponse mails = await graphClient.Users[user].MailFolders[boxid].Messages.GetAsync((requestConfiguration) =>
{
    requestConfiguration.QueryParameters.Top = qty;
    requestConfiguration.QueryParameters.Orderby = new string[] { "subject", "importance", "receivedDateTime asc" };
    requestConfiguration.QueryParameters.Filter = "";
});

I thought using Microsoft Graph .NET library translates the C#-Requests to HTTP calls?! What did I miss?
Thank you very much in advance,
Christian

Thanks for reaching out! What operating system are you working on?

Thank you very much for your help and fast response!
Thats what I am developing on:
Edition	Windows 10 Pro
Version	22H2
Installed on	05.07.2020
OS build	19045.3448
Experience	Windows Feature Experience Pack 1000.19044.1000.0

Device name	YMC-PC
Processor	Intel(R) Xeon(R) CPU E3-1246 v3 @ 3.50GHz   3.50 GHz
Installed RAM	32,0 GB (31,9 GB usable)
Device ID
Product ID
System type	64-bit operating system, x64-based processor
Pen and touch	No pen or touch input is available for this display

Regards
Christian

Could you please share a screenshot of proxy running? Also, do you have a minimal repro setup of your app that we could use just to ensure that we're looking at the same thing? I appreciate your help in getting to the bottom of this

Sure, great thanks!
I have created a test project type console-app .net Framework 4.8. I will paste the code here, otherwise tell me if you want it downloadable via github. Just let me know if I can support you in any way!
THX's in advance
Christian

Code
using System;
using System.Threading.Tasks;
using Azure.Identity;
using Microsoft.Graph;
using Microsoft.Graph.Models;

namespace Testm365proxy_msgraph
{
    class Program
    {
        static async Task Main(string[] args)
        {
            string user         =<EMAIL_ADDRESS>            string tenant       = "e05587e4-8e35-49da-8d69-3892debd962f";
            string clientId     = "6a6f9a52-ce47-4bd6-b809-044efc0c7405";
            string clientSecret = "tL48Q~63iNymkIM9quLv_b~Iyl5goPypARLiJdoG";

            Console.WriteLine("Start of Test Program");

            //Client Credentials
            ClientSecretCredentialOptions credentialsClientCredentialsSeretOption = new ClientSecretCredentialOptions();

            ClientSecretCredential credentialsClient = new ClientSecretCredential(tenant, //Tenant
                                                                                clientId, //Client
                                                                            clientSecret, credentialsClientCredentialsSeretOption); //Secret

            GraphServiceClient graphClient = new GraphServiceClient(credentialsClient);

            //Get one mail...
            MessageCollectionResponse mails = await graphClient.Users[user].MailFolders["Inbox"].Messages.GetAsync((requestConfiguration) =>
            {
                requestConfiguration.QueryParameters.Top = 1;
                requestConfiguration.QueryParameters.Orderby = new string[] { "subject", "importance", "receivedDateTime asc" };
                requestConfiguration.QueryParameters.Filter = "";
                requestConfiguration.Headers.Add("Prefer", "IdType=\"ImmutableId\"");
            });

            Console.WriteLine($"Found {mails.Value.Count} mail(s)!");
            Console.WriteLine("End of Test Program...press ENTER");
            Console.ReadLine();

        }
    }
}

Thank you so much, I'll try to repro it asap

I've just ran your code and I can see proxy intercept it as expected:

When starting the proxy for the first time, have you confirmed the prompt to install the certificate, and then granted the proxy access to your network and firewall configuration?

Nice! Thank you for taking your time!
When starting the proxy the first time I got the certificate prompt, I confirmed it.
The following firewall popup I granted it with private and public network.
I will doublecheck both of them and come back to you today...
Regards
Christian

I have news! I tested it like you with .Net7 and it works! I test again with .Net4.8 and still not working. Both
same coding, same library versions.

At the moment I have no clue where to search for...
If you have an idea where to look into please let me know.
Thank you for your time&
Regards
Christian

Cool, thanks for sharing. I'll try to repro on .net 4.8. I suspect I can use the same code as-is?

I can indeed reproduce the issue on .net 4.8, where the same code is issuing web requests that are not intercepted by m365proxy. Let me dig deeper. Thanks again for bringing it up

OK, I think I've got it. Seems like Microsoft Graph .NET SDK on .NET 4.8 uses an older HTTP Handler, which is configured to use WinHTTP API proxy settings rather than the internet proxy settings which the m365proxy enables on startup.
To use m365proxy with .NET 4.8, you need to configure it as proxy with the WinHTTP API. You can do that using the netsh command (run as admin):
netsh winhttp set proxy proxy-server="http=localhost:8000;https=localhost:8000"

When you're done, you can reset the WinHTTP settings by calling:
netsh winhttp reset proxy

Hope this helps.
@garrytrinder we should add this to our docs
/cc: @gavinbarron @sebastienlevert

That makes fun! Thank you for taking your time helping me out!
I test it and as you mentioned with the setting the proxy it works flawlessly!
The details you provided helped me to understand what the problem was. Now I am ready for using your tool extensively to bring my app in a rock-solid state!

Thank you for your help and keep on doing what you doing,
Regards
Christian

It was great working with you! Using your tool together with MSGraph Client library is a pleasure!


Exposing the platform flag.  Looking for external config.

Codecov Report

Merging #297 into master will not change coverage.
The diff coverage is 100%.

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

@Blackbaud-BobbyEarl Any tips on how I can test this locally?

Good question @Blackbaud-SteveBrush.  Quick update, working on the repo that'll be used to house additional configuration files for our supported platforms.  I'll leave another comment once that's ready to go.

To best test this @Blackbaud-SteveBrush (aside from our test suite that's running), I suggest creating a SPA who's package.json has the following two devDependencies:
  "devDependencies": {
    "@blackbaud/skyux-builder": "blackbaud/skyux-builder#platform-flag",
    "@blackbaud/skyux-builder-config": "blackbaud/skyux-builder-config"
  },

From there, you can run skyux test --platform vsts and you should notice builder locating the vsts config file.  Let me know if there's more I can provide for you to go off of.To best test this @Blackbaud-SteveBrush (aside from our test suite that's running), I suggest creating a SPA who's package.json has the following two devDependencies:
  "devDependencies": {
    "@blackbaud/skyux-builder": "blackbaud/skyux-builder#platform-flag",
    "@blackbaud/skyux-builder-config": "blackbaud/skyux-builder-config"
  },

From there, you can run skyux test --platform vsts and you should notice builder locating the vsts config file.  Let me know if there's more I can provide for you to go off of.

@Blackbaud-BobbyEarl I get an error when I attempt to install skyux-builder-config, since it doesn't have an npm package.json. Thoughts?

Updated the skyux-builder-config library @Blackbaud-SteveBrush


Plugin does not work for dynamically created element

I tried to implement this plugin on dynamically created element but it doesnot work.
Below is my code
$('#optional-param-container').html('From Date<input class="form-control" id="from-date" type="text" name="param1">To Date<input class="form-control" id="to-date" type="text" name="param2">');               $('#from-date').datetimepicker({                   timepicker:false,                   formatDate:'Y-m-d',                   format:'Y-m-d',               });               $('#to-date').datetimepicker({                   timepicker:false,                   formatDate:'Y-m-d',                   format:'Y-m-d',               });

it works. I had the same issue. U just have to initialize the datetimepicker after ur dynamically created content.
May be just made an init function:
function init(){
             jQuery.datetimepicker.setLocale('de');
             jQuery('#field_start_time').datetimepicker({
...
}

and call init() again after ur content.


Fixes for embeddings and truncate

oh that args thing got me as well when I was testing, thanks for fixing


Refactor RequestParser to introduce new query parameter objects (Include, Exclude, Sort, CayenneExp, etc.)

Merge these objects with the present client side query parameter objects.

Closing. Superseded by #309


Please add support for ECR Repository

You can find the ECR related documentations here:

https://aws.amazon.com/ecr/
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html

Thanks

#395 has been merged

Sorry I just searched the issues and it did not give any result for ecr and it was also not listed in the readme.
I just updated troposphere with pip and see the ECR resource, many thanks.


Output Image Contains Lower Resolution in Altered Object Area

Description:
Hello,
I am encountering an issue with the output images generated by MimicBrush. Specifically, the parts of the image where objects have been altered appear to be in lower resolution compared to the source image. This discrepancy in resolution is noticeable and affects the overall quality of the modified image.
Steps to Reproduce:
Load a high-resolution source image.
Use MimicBrush to alter an object within the image.
Generate the output image.
Expected Behavior:
The altered parts of the image should maintain the same resolution as the source image to ensure a seamless and high-quality result.
Actual Behavior:
The altered parts of the image are in lower resolution, leading to a noticeable difference in quality between the altered and unaltered areas.
Thank you for your assistance!

MimicBrush model deals with the input region under 512x512 and pastes back the generated results onto the high-res image. When the original image is much bigger than 512x512, the artifacts would be noticeable.  Other cases like a blurry reference image could also lead to this kind of result.  You could post your generated image here, I would see whether I have suggestions.

MimicBrush model deals with the input region under 512x512 and pastes back the generated results onto the high-res image. When the original image is much bigger than 512x512, the artifacts would be noticeable. Other cases like a blurry reference image could also lead to this kind of result. You could post your generated image here, I would see whether I have suggestions.

Thank you for your prompt reply and explanation regarding the resolution handling of the MimicBrush model. I understand that the input region is limited to 512x512 and that the generated results are pasted back onto the high-resolution image.
Given this information, what solutions or recommendations do you have to mitigate the issue of lower resolution in the altered areas, especially when working with high-resolution images? Are there specific settings or techniques that could help enhance the quality of the altered regions?
Thank you for your assistance!

I did not come up with some good suggestions because 4928x3264 is too big.
If your editing region is not big, you might crop it region out ( like a region of 1024 x 1024), deal with this small region of MimicBrush, but paste it back to the full image.
Otherwise, resize the image to around 1024, use MimicBrush, and find some tools for super resolution to resize it back to 4029. I hope these could help.


package the utils with the Zip file (Fixes #201)

Add both initialize-benchmark-entities.sh and generate-custom-report.sh utils to be part of the zip distribution

Update the docs as needed

We could see the scripts are now part of the distribution under the bin directory

$ unzip keycloak-benchmark-0.8-SNAPSHOT.zip
Archive:  keycloak-benchmark-0.8-SNAPSHOT.zip
   creating: keycloak-benchmark-0.8-SNAPSHOT/
   creating: keycloak-benchmark-0.8-SNAPSHOT/bin/
  inflating: keycloak-benchmark-0.8-SNAPSHOT/bin/kcb.sh
  inflating: keycloak-benchmark-0.8-SNAPSHOT/bin/generate-custom-report.sh
  inflating: keycloak-benchmark-0.8-SNAPSHOT/bin/initialize-benchmark-entities.sh
   creating: keycloak-benchmark-0.8-SNAPSHOT/conf/
  inflating: keycloak-benchmark-0.8-SNAPSHOT/conf/README.adoc
   creating: keycloak-benchmark-0.8-SNAPSHOT/lib/
  inflating: keycloak-benchmark-0.8-SNAPSHOT/lib/keycloak-benchmark-0.8-SNAPSHOT.jar

@ahus1 the changes are made to have the scripts in the zip/tar distributions. I have tested it with a load scenario after running the task reset-keycloak to make sure the provisioning happens with the new location references.


Installation error - pear/config not found

When installing the plugin I get an error
$ cdev plugin:install cdev/environment-local
>>> Running `php /usr/local/bin/composer.phar require cdev/environment-local`
Using version ^1.0@beta for cdev/environment-local
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for cdev/environment-local ^1.0@beta -> satisfiable by cdev/environment-local[1.0.0-beta1].
    - cdev/environment-local 1.0.0-beta1 requires pear/config dev-trunk -> no matching package found.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

I think it's because pear/config doesn't exist, at least I can't find it on packagist.org...

Pushed a potential fix to this into the 1.x branch. Will be tested and fixed as part of the next release.

mm this might not be the case that it was fixed will try a few things.

Tried the replicate the above locally after pushing a "potential fix" could you please double check this @garethmidwood ?

@garethmidwood Just tried installing on Michal's machine. The reason we is isn't working is because of this: https://getcomposer.org/doc/faqs/why-can't-composer-load-repositories-recursively.md
Here we have 3 options:

Either I rewrite my plugin to not use the Pear Config package and try to find an alternative.
We add the repository VCS line to cdev core.
We add the creode packagist in and add a fork of pear/Config to it.

Curious to get your input.
Cheers.

What if I add a command to cdev core that will wrap the composer config repositories.repo-name vcs https://github.com/<orgname or username>/repo
A specific command can then be added as part of the local environment plugin setup.

How about we fork pear/Config and add that fork to packagist?

As we don't currently know the licensing for Pear the safest option here is to add a new command into Cdev Core which allows you to add a new repository to your cdev composer file.
I'll open a new issue on Cdev core and work on this when I have time.


[SAMPLE] Update Azure Function to v4 and NET 6 (LTS)

Updated the Azure Function sample to .NET 6 (LTS) and thus Az Func v4
Remove FxCopAnalyzers for this csproj, since .NET5+ has this in by default and FxCopAnalyzers is deprecated
Update host.json and local.settings.json with the default Azure Functions values

Seems that this PR will be blocked by AppVeyor currently 🙁, since .NET 6 requires MSBuild 2022 / VS 2022.


FC support: CSI controller(SVC): ControllerPublishVolume alignment

ControllerPublishVolume adjustment to support FC
some utils method adjustment to support FC
UT add and update

This change is

controller/array_action/array_mediator_svc.py, line 405 at r3 (raw file):

                     "related to host : {}.".format(host_name))
        fc_port_wwns = []
        try:

I don't see usage of host_name argument.
Was it intended to be used in lsFabric(host=host_name) ?

controller/array_action/array_mediator_svc.py, line 252 at r3 (raw file):

                             "{1}".format(iscsi_iqn, iscsi_host))
            if set(fc_wwns) == set(host_initiator_wwns):
                fc_host = host_detail.get('name', '')

should fc_wwns and host_initiator_wwns have the exact same set of ports?

controller/array_action/array_mediator_svc.py, line 252 at r3 (raw file):
Previously, wangpww wrote…
They are all list, so I use the set to ignore the order of elements

Yes but you sure the sets should be exactly the same?
For example if fc_wwns have all the ports of host_iitiators_wwns but also have others as well? Or vice versa?

controller/array_action/array_mediator_svc.py, line 252 at r3 (raw file):
Previously, wangpww wrote…
I understood your question now. For example, node has two fc wwn, wwn1 and wwn2, but the user defined the host on storage but only add wwn1 as the port. And if the node has three fc wwns, the case is more complex. I think I need to open a ticket about it, so I can refactor it after the beta, do you agree with me?

Please advise Shay Berman
There is the same issue with xiv (which I should handle)


fix unable to execute 'gcc' error when running tests

Fixes #266
gcc resides in /usr/bin.  Adding /usr/bin to the system path in tests/conftest.py allows gcc to be found if a python library needs to be compiled.
Possibly before all the libraries we needed had wheels, and now some do not have wheels for particular python versions?

A force push was recently done, so this PR will have to be rebased onto origin/master. Apologies for the inconvenience. See https://github.com/pipxproject/pipx/issues/270.

I attempted to rebase this onto the branch travis_fix.

OK, I think this one rebased properly.  Since it was a simpler PR I wanted to try it myself.  Let me know if it looks ok.

A force push was recently done, so this PR will have to be rebased onto origin/master. Apologies for the inconvenience. See #270.

Done--rebased.


Why it calls PyQt4 instead of xclip?

I'm trying use pyperclip to make a clipboard monitor. xclip has been installed on my Linux system, but pyperclip seem to use PyQt4 and show the error message:
QObject::startTimer: QTimer can only be used with threads started with QThread
[1]    8682 segmentation fault  ./clipdown.py

Oops, I read the source code, now I know why.


Make application, determination and review forms hashable

This fixes the Type Error: unhashable type: 'ApplicationBaseForm', when editing and publishing funds.
How to reproduce
This bug is not only specific to Reset. And can be reproduced with any funds. And also not only with attaching application form but it can also be reproduced for Review and Determination forms. Here are the steps:

Select a fund for editing.

As you see, it has a review form attached:

Delete the Review Form attached:

Attach a Review Form:

Do publish.

This will lead to the error TypeError: unhashable type: 'ApplicationBaseReviewForm'

Why is it happening
All the forms listed here, overrides their eq methods. But doesn't overrides the __hash__ method.
It has been mandatory to override hash when you override __eq__ of an object. Otherwise __hash__ of that object will be set as None. Hence making the object unhashable.
See this stackoverflow answer for more.
Fix

Add __hash__ method for all the forms overriding __eq__.
There was one other problem in the __eq__ method which is fixed now: if the objects are saved in db, pk should be checked to make sure if they are equal. Otherwise in the above flow that I described, form will not get added, as the deleted and the new form would be considered equal.

Deploying to test now, later on today to live.
Excellent work!

Deploying to live now, both Reset and OTF.


Missing opcodes for SIP-38

Add missing API codes described in SIP-38

Solved by commit https://github.com/deleterium/smartc-signum-decompiler/commit/9855a242ff4f19e5ab0b0c8a5edf19a4b8bb592d


edgedb: 2.3.1 -> 3.3.0

Description of changes
This is for the edgedb-cli and not the server. I could not find a changelog.
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 245266 run on x86_64-linux 1

1 package built:

edgedb


fwts: 18.02.00 -> 18.03.00

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/fwts/versions.
These checks were done:

built on NixOS
ran /nix/store/vvq9vagwr2qzs3xg1ssrkpbiwk6ayq2c-fwts-18.03.00/bin/fwts -h got 0 exit code
ran /nix/store/vvq9vagwr2qzs3xg1ssrkpbiwk6ayq2c-fwts-18.03.00/bin/fwts --help got 0 exit code
ran /nix/store/vvq9vagwr2qzs3xg1ssrkpbiwk6ayq2c-fwts-18.03.00/bin/fwts -V and found version 18.03.00
ran /nix/store/vvq9vagwr2qzs3xg1ssrkpbiwk6ayq2c-fwts-18.03.00/bin/fwts -v and found version 18.03.00
ran /nix/store/vvq9vagwr2qzs3xg1ssrkpbiwk6ayq2c-fwts-18.03.00/bin/fwts --version and found version 18.03.00
ran /nix/store/vvq9vagwr2qzs3xg1ssrkpbiwk6ayq2c-fwts-18.03.00/bin/fwts -h and found version 18.03.00
ran /nix/store/vvq9vagwr2qzs3xg1ssrkpbiwk6ayq2c-fwts-18.03.00/bin/fwts --help and found version 18.03.00
found 18.03.00 with grep in /nix/store/vvq9vagwr2qzs3xg1ssrkpbiwk6ayq2c-fwts-18.03.00
directory tree listing: https://gist.github.com/cf8ebe142dd89bc324517d19193e70f4

cc @tadfisher for review

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: fwts
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: fwts
Partial log (click to expand)
shrinking /nix/store/vvq9vagwr2qzs3xg1ssrkpbiwk6ayq2c-fwts-18.03.00/bin/kernelscan
shrinking /nix/store/vvq9vagwr2qzs3xg1ssrkpbiwk6ayq2c-fwts-18.03.00/lib/fwts/libfwtsacpica.so.1.0.0
shrinking /nix/store/vvq9vagwr2qzs3xg1ssrkpbiwk6ayq2c-fwts-18.03.00/lib/fwts/libfwtsiasl.so.1.0.0
shrinking /nix/store/vvq9vagwr2qzs3xg1ssrkpbiwk6ayq2c-fwts-18.03.00/lib/fwts/libfwts.so.1.0.0
gzipping man pages under /nix/store/vvq9vagwr2qzs3xg1ssrkpbiwk6ayq2c-fwts-18.03.00/share/man/
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/vvq9vagwr2qzs3xg1ssrkpbiwk6ayq2c-fwts-18.03.00/lib  /nix/store/vvq9vagwr2qzs3xg1ssrkpbiwk6ayq2c-fwts-18.03.00/bin
patching script interpreter paths in /nix/store/vvq9vagwr2qzs3xg1ssrkpbiwk6ayq2c-fwts-18.03.00
checking for references to /build in /nix/store/vvq9vagwr2qzs3xg1ssrkpbiwk6ayq2c-fwts-18.03.00...
/nix/store/vvq9vagwr2qzs3xg1ssrkpbiwk6ayq2c-fwts-18.03.00

Success on aarch64-linux (full log)
Attempted: fwts
Partial log (click to expand)
shrinking /nix/store/nj8ibkgdd5clvzb828997gbm37khn516-fwts-18.03.00/bin/fwts
shrinking /nix/store/nj8ibkgdd5clvzb828997gbm37khn516-fwts-18.03.00/lib/fwts/libfwtsacpica.so.1.0.0
shrinking /nix/store/nj8ibkgdd5clvzb828997gbm37khn516-fwts-18.03.00/lib/fwts/libfwts.so.1.0.0
shrinking /nix/store/nj8ibkgdd5clvzb828997gbm37khn516-fwts-18.03.00/lib/fwts/libfwtsiasl.so.1.0.0
gzipping man pages under /nix/store/nj8ibkgdd5clvzb828997gbm37khn516-fwts-18.03.00/share/man/
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/nj8ibkgdd5clvzb828997gbm37khn516-fwts-18.03.00/lib  /nix/store/nj8ibkgdd5clvzb828997gbm37khn516-fwts-18.03.00/bin
patching script interpreter paths in /nix/store/nj8ibkgdd5clvzb828997gbm37khn516-fwts-18.03.00
checking for references to /build in /nix/store/nj8ibkgdd5clvzb828997gbm37khn516-fwts-18.03.00...
/nix/store/nj8ibkgdd5clvzb828997gbm37khn516-fwts-18.03.00


[INFINITY-1858 ] Lint frameworks for URIs / docker images outside of resource.json

Create new airgap linting tool.
Hook it into the framework build process.
This will fail until #1170 merges.

retest this please  (#1170 merged)

Holy beans! This caught something!

Of course, it was a false positive. Whoops.

@jsrodman @nickbp Given that this only failed elastic due to cluster death (whee!), and it only actually touched the build phase: we good to merge it?

I'm fine with it and will kick up cluster lifetime for pr runs.


Are you interested in helping porting PHP eloquent to dart?

@zim32 @dukefirehawk  @fsw @hotdang-ca
I'm porting Eloquent 5.2 to dart and for that I implemented a PostgreSQL driver in pure dart called "dargres" and I wanted to know if you are interested in enabling MySQL support in this port that I'm doing
https://pub.dev/packages/dargres
https://github.com/insinfo/pg8000
https://pub.dev/packages/eloquent
https://github.com/insinfo/eloquent_dart
as I am working on porting applications made in PHP that make use of eloquent and PostgreSql to dart, I had to do this port of eloquent, at the moment it already works well with PostgreSQL for the query builder but I would love to have the support for MySQl working also
I started using eloquent in a production application apparently it's ok
https://laravel.com/docs/5.2/eloquent

now it is working with the drivers, dargres, postgres_fork (2.7), postgres (3.0) and mysql_client (0.0.27 )


Added colours to result text

Prettier extension on VSCODE, changed all ' to ", whoops. Apart from that https://github.com/Sephyros/fwc2022calendar/issues/3 this issue should be fixed

I'm also thinking, should the draw colour be white instead of yellow?


Creates graph plot of resources and components

Pull Request Description
What issue does this change request address?
#163
What are the significant changes in functionality due to this change request?
HERON will create a graph of resources and system components when run with a  node in the input XML file. This is a work in progress. When I last was working on this, I was adding some tabulated information to the plot and fixing the graph formatting. The graphs are made with the networkx package (https://networkx.org/).
@dylanjm

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass.
[ ] 5. If significant functionality is added, there must be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large tes.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added, the the analytic documentation must be updated/added.
[ ] 9. If any test used as a basis for documentation examples have been changed, the associated documentation must be reviewed and assured the text matches the example.

@j-bryan Thanks Jacob, I appreciate your work on this!

PR #223 replaces this PR.


Ordinal day 1th 2nd,etc

I wonder if you could support ordinal number for the day of the month
1st, 2nd,3rd,4th, 21st, etc
I used a function but I think DateFormat should support it
  String today() {
    final DateTime now = DateTime.now();
    String suffix = 'th';
    final int digit = now.day % 10;
    if ((digit > 0 && digit < 4) && (now.day < 11 || now.day > 13)) {
      suffix = <String>['st', 'nd', 'rd'][digit - 1];
    }
    return DateFormat("E, MMM d'$suffix'").format(now); // 'Sun, Jun 30th'
  }

We probably won't do this directly in Dart, as the current formatting is implemented. The underlying facilities in browsers are better now, so we're likely to add things by making them pass through to JS Intl in browsers, and to ICU or operating system libraries on other platforms.

@alan-knight As you mentioned it won't be implemented directly in intl I opened an issue in the FLutter repo
https://github.com/flutter/flutter/issues/37221
I will close this issue for now..if you improve the proposal on the flutter repo please put your ideas there.
Thank you.

I have the same need for this for showing birthdays. Given a number, I want to show "st", "nd", "rd", or "th". For example,
"1st birthday", "2nd birthday", "3rd birthday" ... "11th birthday", ... "21st birthday", ... "101st birthday".

It seems reasonable to implement it in dart. Web does ordinals better, but what about mobile - is calling native Kotlin/Swift option?
Also, ordinals are not magic, it's pure calculus.


rustfix: Add library documentation

The rustfix library at https://github.com/rust-lang/cargo/tree/master/crates/rustfix/src has very little API or internal documentation. It would be nice if someone could go through and document things and tidy up any existing documentation.

ehuss if you're not working on it, I can take a stab.
@rustbot claims

@rustbot claim


Update LDAP configuration docs

Update the LDAP configuration instructions and add instructions for LDAPS.
Remove duplicated information on other pages, instead link back to the main LDAP page.
Add description of LDAPS properties to the security overview doc and improve general formatting in this doc to remove unwieldy tables. Note that the aim of this PR is not to improve or modify the information in the security overview doc as a whole.
LDAP/LDAPS config instructions have been tested and confirmed by @tijoparacka
This PR has:

[x] been self-reviewed.
[x] been tested by @tijoparacka.

LGTM


missing some metrics

My metrics only include jvm and process。
Exporter version- 1.0.25
Jira Version- 7.12.3

Hello. Try now please.

@qicaisheng  ^^

thanks, I will try it


[feature]: add batching to handle_pending_transactions

Description
The only thing in question is the fetch_size if either vec.len() == 0 or FetchSize.fetch_size.is_none()

Linked issue

Closes #4091

Checklist

[ ] I've read CONTRIBUTING.md
[ ] I've used the standard signed-off commit format (or will squash just before merging)
[ ] All applicable CI checks pass (or I promised to make them pass later)
[ ] (optional) I've written unit tests for the code changes
[ ] I replied to all comments after code review, marking all implemented changes with thumbs up

Client should be updated as well to be able to fetch batched peers.

Closing in favor of a new issue #4183


Sponsors and Organizers Cards

Is your feature request related to a problem? Please describe.
In the <SponsorsCard /> and <OrganizersCard /> components:

implement a card that displays the event sponsors
render logo images of sponsors/organizers and use necessary flex-wrap to handle displaying many sponsors in one card
cards should have good paddings

Describe the solution you'd like

Additional context

write unit tests for these cards

I'll work on this @kharioki


Add files via upload

Institution/School Name
Institución Educativa INEM Jose Félix de Restrepo
Instiution/School Website
https://www.inemjose.edu.co/
Email Users
Please place an x between the square brackets if yes

[ x] Students
[x ] Academic/Teaching Staff
[ x] Other/Support Staff
[ ] Alumni

Education Levels
Please place an x between the square brackets if yes

[ ] Post-graduate research
[ ] Graduate School
[ ] College (University) or Undergraduate School or equivalent
[ ] Community College or equivalent
[x ] High School or equivalent
[ ] Elementary School or equivalent

@Valcinate Pull request merged. Thank you!


Using line breaks when defining arrow function params causes unexpected syntax highlight behavior

const funcOneLine = (param1, param2) => {}

highlights correctly ('funcOneLIne' is blue).
const funcLineBreaks = (
  param1,
  param2,
) => {}

highlights incorrectly ('funcLineBreaks' is white).
Thanks for a lovely theme. Excellent work.
EDIT: now realizing this may be an issue with dzannotti.vscode-babel-coloring instead... Let me know if so

Thanks for the issue! I'll take a look and get back to you soon.

Hi! Yeah, I can't duplicate this, I think what you're seeing is due to a conflict with another extension. Feel free to reopen if not


Mouse difference

Hi, I think it would be nice to have something like Input::mouse_diff() that gives the latest change to the mouse coordinates. I'm currently using something like this to move around my camera around world space but I think it could useful elsewhere.

Hey! My immediate feeling for this is just letting the user track the difference themselves, and keeping the amount of data blah tracks to a minimum. It seems pretty straight forward to just keep a mouse_prev value in your code, and calculate the diff each frame?

Sounds good, was just wondering if this fit into blah


NextJS 13: support for server-side components

Describe the problem you'd like to have solved
I would like to update next-axiom to be able to handle the new server-side components from NextJS 13.
Describe the ideal solution
Still investigating

Related question: Can I use next-axiom with a Next.js v13 app using the app directory, even if server components aren't fully supported? Or would you recommend waiting until this is implemented? Thanks!

Hi @AnandChowdhary , you can still use next-axiom with your app, the API (lambda and Edge) functions will still work. You can use the logger in your components and call await log.flush() to ensure delivery of your logs.
web-vitals will not work so far in Next 13, but there is already an open PR to make that work. Support for next 13 will improve gradually.

Is there an ETA for when server-side and client-side components in the app directory may be supported?

@tavaneftekhar I believe the client-side components should work without a problem. The one that would have a problem is probably the server-side components. It's still in discovery phase, so that might take a while.

@tavaneftekhar hmmm that shouldn't happen. If you have configured the environment variables, log.info and await log.flush() should be enough.  I will take a look today and let you know.

@tavaneftekhar I have tried next-axiom on a fresh next13 project, it works fine on components inside the app directory. If you don't configure the required environment variables, logs will print to console. if on vercel, and integration is enabled, you would see the logs in the axiom log stream.

Hey everyone, this is working now! Please check out 1.0.0-rc.1 and refer to the current README for instructions. If you run into issues, def. let us know 🙏


Footer links

Noticed the footer links is forwarding to IP address and not using domain name
Exp = Https//x.x.x.x/help and not https://domain.com/help
Havent found any where to repair this bug. Any ideas where to look?

Where is the site hosted?
There is an underlying issue with your server configuration, we only support the software here, your server and its config is your own responsibility.

Its a hosted server. I ran a test with one of my others sites and it doesn't do this. Only this code does it.

You are not the first person to have reported this and every time the issue is their server configuration.
Do you even try looking at closed issues to find out if your problem has been solved before? We offer support for bugs that are new and unheard of before, we are not your first port of call every time, we do this for free and repeating history is not something we do.
This is called documentation:  https://ph7cms.com/doc/
This is called past issues: https://github.com/pH7Software/pH7-Social-Dating-CMS/issues?q=is%3Aissue+is%3Aclosed
You have opened 6 issues in last few days, I have no more time for this.

Adding this to your .htaccess will HIDE your issue NOT solve it...
RewriteCond %{HTTP_HOST} ^<IP_ADDRESS>$
RewriteRule ^(.*)$ https://example-for-dummies.com/$1 [R=301,L]

Odiously you need to use your real URL and IP address not <IP_ADDRESS> and example URL.

I post as I run into them since Iv never ran into problems like this with my stuff. Also this github is full of stuff and trying to search all the issues on github has been a waste of time so far. basically having to read every one of them and still not finding the fix for the problem. And the main dev should be really answering problems atleast some. lol

With my web projects I use a .env for the main back bone config. which saves a lot of time and headaches searching each file in the source trying to find a noodle in a hay stack. But each dev has his/hers ways of doing things so this is a learning curve with this source.

I post as I run into them since Iv never ran into problems like this with my stuff. Also this github is full of stuff and trying to search all the issues on github has been a waste of time so far. basically having to read every one of them and still not finding the fix for the problem. And the main dev should be really answering problems atleast some. lol

@ultra-pool
Hey "Dude !"....
1st thing...  No one forced you here, no one made you any promise. If you're as good you think then as I already told you, yes we still have bugs laying around because we don't have a big test pool of user.
2nd thing If you don't like to search into thread of information then just to note, it would be lot easier if people would follow some smart move like explaining their hardware and how we can reproduce the problem they got. In that case, at least we'd waste less time trying to figure out where it come from.
3rd thing If it's the first time you run into issue in your life, then maybe you need to learn a bit more. It's not because you own a pool for mining that it gives you knowledge out of the box. Also, it's not because you've been running a system than you know how to do it properly. Also, searching through documents is part of your job. If you don't like it then become a janitor or any other thing that's easier for you.
4th thing I think you're missing a thing about community support. We're all volunteer and we do this on our free time. So it's damn pretty insulting when you say that we shall be doing thing and you expect them like a due.
5th thing If people would open less non-related issue, then it would at least be easier to search
6th Go pay hundred buck a month at Una and you'll get assured support.
7th thing If you didn't know that the Google Analytics code came from Google or how to do basic troubleshooting for email then you don't have knowledge to operate a website. Sorry but it's not only about when it goes good, it's mostly about what to do when it goes wrong. Everyone is pretty good when there's not a problem around. Even my handicap grand-mother can drive a caterpillar on a straight empty road with the sun shining. Thing about this my friend ! (that's a figure of speech)
If we wouldn't be wasting our time with stupidity then maybe we'd have more time to really answer people...

@ultra-pool You need to take a course and then you might learn something about how a computer actually works, just the way you ask a question demonstrates how limited your knowledge base and level of understanding really are.  I'm here of my own free will because I believe in open source software so give some of my time to it where I am able to. Anybody can bounce around Github downloading software they have no understanding how it works. You are what id classify as a "Script Kiddy". All take no give.
Don't waste your time opening another issue, you managed to insult all the people who provide support regularly here in a single comment, i'd be shocked if you got another response...
@polynamaude clearly we not good enough for this person, we are not the "Main Dev", I have never been so insulted, the main dev has better things to do than teaching beginners to use a computer. His time is valuable just like us non main dev's .

You need to take a course and then you might learn something about how a computer actually works, just the way you ask a question demonstrates how limited your knowledge base and level of understanding really are.  I'm here of my own free will because I believe in open source software so give some of my time to it where I am able to. Anybody can bounce around Github downloading software they have no understanding of how it works. You are what id classify as a "Script Kiddy". All take no give.

If you say so.
Thank you for the help though.  And best of luck