possible issues with the mahalanobis distance with default VI argument

See https://github.com/scipy/scipy/pull/4799#issuecomment-99208278.
Some of those concerns are probably wrong or would break backwards compatibility, but at least the documentation inconsistency should be fixed (square root vs. no square root).
http://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.distance.mahalanobis.html
http://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.distance.pdist.html
http://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.distance.cdist.html

I've copied the issues @argriffing noted in the comment in #4799:

There is no mean subtraction

I don't see this.  When VI is computed using the data, np.cov is used, and that subtracts the mean.  Once VI has been determined,  mahalanobis, pdist and cdist compute distances between points, not the distance from the points to a collective mean (i.e. using the notation from http://en.wikipedia.org/wiki/Mahalanobis_distance, they compute d(x, y), not D_M(x)).

the numpy cov function assumes 1 degree of freedom but maybe 0 should be used instead

It is computing the unbiased sample covariance matrix, which seems reasonable,  so I wouldn't change the default behavior.  Maybe add a ddof argument?  I don't know if there is any demand for that.

it is transposing matrices that are symmetric by construction

Do you mean this line in pdist and cdist?
VI = _convert_to_double(np.linalg.inv(V).T.copy())

That does look hinky, and could use some investigation.  (The transpose changes the array from C_CONTIGUOUS to F_CONTIGUOUS, but then that is undone by the copy.  Go figure.)

explicit matrix inversion is used instead of cholesky or singular value decomposition or at least pinvh

Fixing this would be a nice enhancement.

it seems to unnecessarily disallow high dimensions when the observations are in a subspace

The obvious case where we know the observations are in a subspace is when the number of observations is not greater than the number of dimensions of the data points.
The change in #4799 raises an error when the number of dimensions of the data points is greater than or equal to the number of observations.  Before that change, the code was attempting to compute the inverse of a singular matrix, and might either raise a LinAlgError or compute garbage.
In general, the data can be in a subspace even when there are more data points than dimensions.  Detecting this, however, is subject to the usual floating point issues associated with detecting and handling collinearity.

it doesn't take the square root at the end or it is inconsistently documented (e.g. #2189)

The mistake is in the docstrings of pdist and cdist. Those should also include the square root in
the description of the Mahalanobis distance.

@WarrenWeckesser Thanks for looking into it! Your analysis makes sense to me.

@argriffing , @WarrenWeckesser , Please review the code for Mahalanobis Distance and let me know your comment
https://github.com/sairaamv/mahalanobis_distance/blob/master/m_distance.py

@sairaamv I still think there is a better way than computing the covariance matrix explicitly and then computing its inverse and then computing the quadratic form.

@argriffing .. I am sorry. I didnt read the full BUG issue and PR in a detailed way.
This Mahalanobis distance was an idea from R. The logic could compute the distance for n-dimensional array instead of two nos of 1-D array's.
https://stat.ethz.ch/R-manual/R-patched/library/stats/html/mahalanobis.html

It is computing the unbiased sample covariance matrix, which seems reasonable, so I wouldn't change the default behavior. Maybe add a ddof argument? I don't know if there is any demand for that.

Do you know any other implementation that computes pairwise Mahalanobis distances given only observations as inputs which uses a nonzero degrees of freedom, and which made this choice for a reason other than to match the scipy output?


Silent crash using motion-support on Android

Using @wndxlori PR #42 to resolve relative path issues, trying to require the full motion-support gem causes the app to crash with no error info:
    Create ./build/Development-26/classes.dex
Merged dex #1 (6 defs/1.9KiB)
Merged dex #2 (48 defs/15.1KiB)
Result is 54 defs/20.6KiB. Took 0.0s
    Create ./build/Development-26/Hello.apk
      Sign ./build/Development-26/Hello.apk
     Align ./build/Development-26/Hello.apk
   Install ./build/Development-26/Hello.apk
     Start com.yourcompany.hello/.MainActivity
--------- beginning of main
--------- beginning of system
--------- beginning of crash
(main)>
Remote process has quit.
error: no devices found

Steps:
create a new project: motion create --template=android Hello
Add to Gemfile: gem 'motion-support', git: 'https://github.com/wndxlori/motion-support.git', ref: '3fedd09', require: false
Add to Rakefile: require 'motion-support'
Then run bundle and bundle exec rake
motion --version: 5.17 on mohave

This gem was originally written prior to RubyMotion Android support, but we can work towards adding Android support.


Ask-tell interface for MOEA/D

Hi, It looks like that the ask-tell interface won't work for MOEA/D, do you have any plan to support MOEA/D?
import matplotlib.pyplot as plt
import datetime

from pymoo.algorithms.moo.nsga2 import NSGA2
from pymoo.algorithms.moo.moead import MOEAD
from pymoo.factory import get_problem, get_reference_directions, get_algorithm
from pymoo.optimize import minimize

from pymoo.core.evaluator import Evaluator

problem   = get_problem("zdt1")
ref_dirs  = get_reference_directions('das-dennis', 2, n_partitions = 30)
algorithm = get_algorithm('moead', ref_dirs = ref_dirs)

algorithm.setup(problem, ('n_gen', 10), seed=1, verbose=False)

# until the algorithm has no terminated
while algorithm.has_next():

    # ask the algorithm for the next solution to be evaluated
    pop = algorithm.ask()

    # evaluate the individuals using the algorithm's evaluator (necessary to count evaluations for termination)
    algorithm.evaluator.eval(problem, pop)

    # returned the evaluated individuals which have been evaluated or even modified
    algorithm.tell(infills=pop)

    # do same more things, printing, logging, storing or even modifying the algorithm object
    print(algorithm.n_gen, algorithm.evaluator.n_eval)

# obtain the result objective from the algorithm
res = algorithm.result()

plt.plot(res.F[:, 0], res.F[:, 1], 'o')
plt.show()

Thanks for your question. It is not supported because MOEA\D in fact does evaluate a solution at a time. When I was implementing it I had the dilemma that evaluation multiple solutions at a time decreased the performance of the algorithm significantly, so I have decided to keep the loop which is how the original implementation does it as well.
However, this does not allow to use Ask-And-Tell interface.
I might consider adding a parallel version of MOEA\D being suitable for the interface, however, knowing that things come with a performance decrease. If you end up implementing this yourself, please let me know. I would be more than happy to add it to the framework.


adding tech stack badges and shields for better understanding of technologies used

Is your feature request related to a problem? Please describe.
adding tech stacks used in the readme.md file
Describe the solution you'd like
it'd make readme more attractive
Describe alternatives you've considered
Additional contextns or features you've considered.

picture for reference

you can add go ahead

issue has been clubbed under single issue(#84 ) for management purposes you can still keep work on it and do the PR


Adding an install script

You can try this by running the following command:
curl https://raw.githubusercontent.com/marstr/buffalo-azure/installScript/install.sh | sh


[dev/1.28] repo: Dev v1.28.8

/retest

hopefully this wont be needed but it keeps the branch in a testable state


New-TssSession failed to create session on 0.32.0-beta [Bug]

Describe the bug
After updating to the 0.32.0-beta module, New-TssSession failed with the following error:

To Reproduce
Steps to reproduce the behavior:

PowerShell script:
$ssUrl = "https://xxxxxxxxxxxxxxxxxxx/SecretServer"
$creds = New-Object System.Management.Automation.PSCredential ($ssUser, $SecurePass)
New-TssSession -SecretServer $ssUrl -Credential $creds -Verbose

Error/issue observed:

PSMessageDetails      :
Exception             : System.Management.Automation.RuntimeException:
                        404 - File or directory not found.

                        Server Error

                          404 - File or directory not found.
                          The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
TargetObject          :

                        404 - File or directory not found.
                        Server Error
                          404 - File or directory not found.
                          The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

CategoryInfo          : OperationStopped: (

                        404 - F...ble.

                        :String) [], RuntimeException
FullyQualifiedErrorId :
                        404 - File or directory not found.
                        Server Error
                          404 - File or directory not found.
                          The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

ErrorDetails          :
InvocationInfo        : System.Management.Automation.InvocationInfo
ScriptStackTrace      : at New-Session<Process>, C:\Program Files\WindowsPowerShell\Modules\Thycotic.SecretServer\0.33.0\functions\New-Session.ps1: line 138
                        at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo : {}

PSMessageDetails      :
Exception             : System.Net.WebException: The remote server returned an error: (404) Not Found.
                           at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.GetResponse(WebRequest request)
                           at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.ProcessRecord()
TargetObject          : System.Net.HttpWebRequest
CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
ErrorDetails          :
                        404 - File or directory not found.
                        Server Error
                          404 - File or directory not found.
                          The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

InvocationInfo        : System.Management.Automation.InvocationInfo
ScriptStackTrace      : at Invoke-RestApi<Process>, C:\Program Files\WindowsPowerShell\Modules\Thycotic.SecretServer\0.33.0\functions\Invoke-RestApi.ps1: line 135
                        at New-Session<Process>, C:\Program Files\WindowsPowerShell\Modules\Thycotic.SecretServer\0.33.0\functions\New-Session.ps1: line 133
                        at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo : {}

Verbose output
VERBOSE: Provided command parameters: New-TssSession -SecretServer: -Credential:CredentialObject -Verbose:$True
VERBOSE: SecretServer host: https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/SecretServer
VERBOSE: Performing the operation "Requesting OAuth2 token from https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/SecretServer with URI of [https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/SecretServeroauth2/token]" on target "https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/SecretServer".
VERBOSE: POST  with:    System.Collections.Specialized.OrderedDictionary

VERBOSE: POST https://xxxxxxxxxxxxxxxxxxxxxx/SecretServeroauth2/token with -1-byte payload
WARNING: Issue authenticating to [https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/SecretServer]
404 - File or directory not found.
Server Error
Expected behavior
The connection created successfully
Environment (please complete the following information):
Secret Server
Build/Version: 10.9.000002
PowerShell version
Name                           Value
PSVersion                      5.1.17763.1490
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17763.1490
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
Host information:
[ ] Powershell.exe
[ ] pwsh.exe
[ ] PowerShell ISE
[x ] VS Code (Stable)
VS Code, please provide the output of the following:
VSCode version: 1.54.1 f30a9b73e8ffc278e71575118b6bf568f04587c8 x64
VSCode extensions:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>PSES version: <IP_ADDRESS>
PowerShell version:
Name                           Value
PSVersion                      5.1.17763.1490
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17763.1490
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
Additional context
Add any other context about the problem here.

A release is being pushed now that should resolve this issue: 0.33.1

Thanks!! Appreciate the help!


As a user, I should see links to SpeakHer social media on the homepage

Describe the solution you'd like
We should have Instagram + Twitter logos (and maybe Facebook) linking them to our social media accounts. This should ideally be either in the header or footer.
Twitter: twitter.com/speakherjapan
Instagram: https://www.instagram.com/speakherjp/

How about something like this in the header? (could also be after the language switcher

Or maybe after the language switcher looks better? 🤔

Let me handle this one please, thanks.


Fix long tapped input not focusing + floating input cursor on scroll

@nickw I am doing some more improvements on http://github.com/gwendall/meteor-ionic, let me know when you want to merge it.


feat: citadel rw data enum, lil service cleanup

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


add broadcaste extrinsic params api

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


Unstable test assertActiveRoots

Unstable test: https://app.travis-ci.com/github/getappmap/appmap-intellij-plugin/jobs/588379727
https://github.com/getappmap/appmap-intellij-plugin/pull/162 deactivate the test. A proper fix is needed.

This test has been reactivated in the meantime.


Rewrite flet code style to OOP style layout and logic separate

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.gorlanov seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


[#2PlaysAMonth]: Text Analyzer

What's the Play about?
A Adv text analyzer that will help you  analyze your text and tell to do certain modifications and error correction and  text extraction from images and  a lot more.
What ReactJS concept will be used to create this play?
Hooks  (will add more in the process of building it)
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Nice idea!


1024 model flashes gray

Please tell me why the video I generated using the 1024 model flashes gray and the resolution is 576 1024.

Can you show some examples here?

https://github.com/Doubiiu/DynamiCrafter/assets/160470261/a0106f18-2f73-4997-ae87-17703c212df6
**Just like this, the video and workflow are all in it

Hi, Did you try to use the 1024_v1 model for interpolation?
Currently, we have released the 512_interp model for interpolation (resolution @512x320), while the 1024_v1 (1024x576) and 512_v1 (512x320) models are for single-image-to-video applications.

Yes, I am currently using this 1024 model. Do you mean that the 1024 model does not support changes between pictures now? Only a single picture can be turned into a video

 Yes, I am currently using this 1024 model. Do you mean that the 1024 model does not support changes between pictures now?
As shown in the README, we have released the following models:
Image-to-Video: DynamiCrafter1024, DynamiCrafter512, DynamiCrafter256
Interpolation / looping: DynamiCrafter512_interp

thank you!!!


Not working in iOS

It's show blank page in iOS device.

fixed in newer version html_editor: ^1.0.0, try update it

fixed in newer version html_editor: ^1.0.0, try update it

Big thank for your support.


[backport] bump functors compat

Backport of https://github.com/beacon-biosignals/LegolasFlux.jl/pull/27

I created a release-0.1 branch from e3fd92ec4f4ebfafe13e4c94495f9d555e33b2f8
I added branch protection to it
Then on this branch I repeated the exact same steps as in #27 (update Functors 0.4, verify current tests pass, update model to have weight sharing, write it out on Fucntors 0.3, test it on Functors 0.4)

reminds me I shoudl turn on branch protection for my other backport branches 👀


TextBox after Undo CaretIndex forwards always

i have a Textbox_TextChanging event handler
if ((Text == "1239456" ) && (CaretIndex == 3))
{
disable TextChanging
Undo
enable TextChanging
}
i enter 1 2 3 4 5 6
go to CaretIndex 3
i enter 9
the text goes back to 123456 and CaretIndex forwards to 4
the CaretIndex should return to 3

Your code is not valid C# code, it is not clear what Undo does

@postrondev please file a minimal sample and fill out issue forms. If it is a question, please use discussions. I'll convert this into a discussion as I think something is wrong on your side.


[TACHYON-1647]Add the Chinese version of documentation page 'Running-Flink-on-Tachyon'

https://tachyon.atlassian.net/browse/TACHYON-1647
also fix some problem in the former translations.

oops!
2 commits? There should be one,I made some mistakes.

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

+1 LGTM, thanks for the improvement!


feat: upgrade istio to 1.12.7

Signed-off-by: Xunzhuo<EMAIL_ADDRESS>What this PR does / Why we need it:

Pre-Submission Checklist:

[x] Did you explain what problem does this PR solve? Or what new features have been added?
[x] Have you added related test cases?
[x] Have you modified the related document?
[x] Is this PR backward compatible?

https://github.com/aeraki-mesh/aeraki/issues/205


Proposal: spawn_blocking with a thread pool

Crystal currently has cooperative Fibers running on top of an event loop. This usually happens in a single thread, or in a group of a small number worker threads with -Dpreview_mt. Either way, there are multiple fibers running per thread and those Fibers are attached to that thread, there is no work-stealing (to move a Fiber from a busy thread to an available thread) nor there is preemption (to pause a Fiber that is taking too much time and let other Fibers use that thread for a while). Both of these things are hard to do and can have performance compromises. Some runtimes do it, some don't. I'm assuming we won't.
It all works well as long as the Fiber code doesn't block. This means:

You can't perform long heavy computation in a Fiber, or else no other Fiber will get a chance to run until it finishes;
You can't do blocking system operations from a Fiber (like waitpid or IO though an mmap-ed file), or else your program will stay idle even when other Fibers have work to do;
You can't call into native C libraries that do either of those two things (very common), as they are not aware of Fibers, and many of them don't provide some async non-blocking alternative;
You can't use any mutex implementation other than the one provided by the stdlib because they are not aware of the event loop, this may happen when calling into native C libraries;
You can't rely on thread-local data as if it were fiber-local data.

Please refer to #1454
We have been doing fine with these restrictions so far, but they are quite limiting. Also, the stdlib currently has places where it may block the event loop and there is no good solution for this (#4236, for one).
I propose we add a spawn_blocking method with semantics very similar to spawn, but for running Fibers outside an event-loop. Instead, we will have a thread pool of many threads. spawn_blocking creates a Fiber and send it to be executed in a thread from this thread pool, it will be executed there until it completes. This thread will actually run the event loop, but just to ensure non-blocking calls still work. There will never be more than one Fiber in the same thread. This method should only be available on -Dpreview_mt programs.
Tokio (an async executor for Rust) has exactly this concept: https://docs.rs/tokio/1.16.1/tokio/task/fn.spawn_blocking.html. By default, its thread pool has 512 threads for this, on the grounds that most likely they will be blocked on IO.
spawn_blocking do
  x = 0_i64
  50_000_000_000_i64.times { x += 1 }
  puts "Done: #{x}"
end

10.times do |i|
  p i
  sleep 1
end

I'm quite optimistic that we may get a work-stealing scheduler at some point. But that would only alleviate the problem you describe as if more blocking tasks than workers happen then it will still block progress until the blocking tasks complete.
Running multiple separate threadpools raise a bunch of questions though, even if restricting it to one active fiber per thread do simplify a lot of the logic compared to arbitrary spawning of threadpools. That said, I think making it possible to create arbitrary threadpools running in a few dedicated threads would also be pretty nice.
Should the threads created up front on program start or on demand? Creating new threads can be slow.
If something runs forever, do we need to be able to catch that somehow?
Does there need to be an upper limit on the amount of threads used?
What happens if the fiber that is spawned blocking spawns a fiber? Or a blocking_spawn, for that matter.
It would also be a good idea to think about how it relates to #6468 about structured concurrency. Two of the leading tenets in the underlying blog posts for that issue is to a: Have a predefined lifetime in code for all tasks, and b: having a setup where errors bouble up. (*) There is also a lot of talk of cancellation, which may or may not be relevant for this. However, if the nursery concept is expanded with a parameter that tells it to create one or many threads to run fibers in, then a lot of the functionality falls out more or less for free.
Consider the following example using my nested_scheduler shard:
require "nested_scheduler"

NestedScheduler::ThreadPool.nursery(thread_count: 1) do |pl|
  pl.spawn do
    x = 0_i64
    50_000_000_000_i64.times do
      x += 1
    end
    puts "Done: #{x}"
  end

  10.times do |i|
    p i
    sleep 1
  end
end

This will execute the loop in parallel without interfering with the main execution. It will also propagate any exceptions being raised in the spawned fiber and block exiting the program until the blocking computation is done. (It also works today, though any future version of crystal could of course break it).
(*) third tenet being that it doesn't interfere with normal resource cleanup. In practice this means local variables from the scope that created the nursery is safe to use in any spawned fibers. That is a really nice quality of life feature but doesn't matter as much here.
It should also be noted that this will make a work stealing scheduler a bit harder as it would break the interchangeability of fiber execution - fibers that wait needs to be enqueued in the correct threadpool (for example, if the spawn_blocking above communicated intermediate results using a channel, then it should be reenqueued in the private pool), so the obvious way to schedule fibers in the same thread would no longer work for fibers that needs to be executed in a different thread. This is probably not an argument against the feature, though.

I'd name it something like 'spawn_in_dedicated_thread' since it doesn't "always" block?  Maybe the core functionality would be a 1:1 fiber to thread option?

I would perhaps consider as a very basic step a method that runs a proc in a thread, waits for it to finish and then returns its result.
This would be a simple structural piece, liken adapter to integrate a thread-blocking call into the scheduler.
A simple implementation could look like this:
def run_blocking(&proc : -> T) forall T
  done = Atomic(Int8).new(0)

  result = uninitialized T
  Thread.new do
    result = proc.call
  	done.set 1
  end

  while done.get == 0
    Fiber.yield
  end
  result
end

Error handling is missing for simplicity, but should fit in perfectly. Integration of a thread pool should also be an easy enhancement.
It integrates well into the idea of structured concurrency because the offloaded control flow is fully contained.
spawn_blocking would just be a composition with spawn (but that's not contained anymore).
This kind of concurrency mechanism is used for calls to blocking lib functions. So the proc executed in the thread should typically be pretty slim, maybe just that single call.
I think for this use case there is not really even a need for Crystal concurrency operations in the proc. So it would probably be fine if spawning a thread from within that thread would no be available.
But it really shouldn't be hard to allow that in the way that it delegates to the scheduler of the originating fiber.

This use case has come up multiple times recently in #12392 and https://stackoverflow.com/questions/73016552/making-a-blocking-call-asynchronous
We're missing a proper way to implement blocking function calls in a dedicated thread.
Currently, the best option is probably to use the undocumented Thread API. Perhaps we should document it and make it part of the supported API?
Another alternative would be an enhancement to the scheduler to signal that a fiber is blocking and thus needs to run on a dedicated thread.

One problem with exposing Thread is that it doesn't have any run_loop going, which mean interaction with the event loop, mutexes and channels doesn't work properly. rescedule is not sufficient. It would for example be very nice to be able to send data back on a channel to be consumed by crystal proper, even the the thread by itself is blocking hard most of the time.

There are obviously lots of use cases with different semantics and requirements.
I think it would be a good start to have a basic means for running a function in a dedicated fiber, without any direct interaction with the main program, except some input arguments, and maybe a return value (as demonstrated in https://github.com/crystal-lang/crystal/issues/11778#issuecomment-1193197288). That would already cover a lot of simple use cases.
Concurrency primitives that build on top of Crystal's scheduler and fibers obviously will not work in such a thread, but that should be an acceptable concession for a low-level approach.

With the execution_context shard:

The MT context uses work stealing so as long as you have less blocking calls than threads in the context, some threads will keep running work (with somewhat degraded performance).

Complementary you can start a MT context to have a pool of threads dedicated to run blocking calls without affecting the other contexts and take advantage of the kernel preempting the threads.

The isolated context creates a thread dedicated to run a fiber (good for very long computation, like an UI loop).

In addition I experimented with a cooperative attempt to nicely ask fibers to yield: a monitor thread checks at regular intervals (10ms) if a thread it still running the same fiber from the previous check (with a counter check to avoid ABA issues) and set Fiber#should_yield flag on the fiber; then the counterpart Fiber.maybe_yield method will yield when the flag is set (lazy check).
It works well, with the caveat that it requires manual calls to Fiber.maybe_yield which can only be handled in crystal code (not external C calls).
I didn't check the performance impact when called in tight CPU bound loops for example, but Fiber.maybe_yield should be more efficient than Fiber.yield yet less efficient than calling none (if you don't care about the other fibers).
The call could also be added to some places in the stdlib (e.g. Fiber#enqueue) or places where we'd expect the evloop to run but doesn't (e.g. blocking disk file read or write), ...
Last but not least, the monitor could yell about having asked a fiber to yield for a while to no avail; that could help notice long running fibers.


#309 finished

Yes i saw that. But getPendingAction is for orders and when it is called (inside transformData) the shipment does not yet exist, and tranformShipmentData needs output from transformData. So i thought a lot of changes for an extra IF statement to change how all this works. None the less i will do it.

I agree! Another approach would be to extract the pending_action assignment from the transformData and assign value to it after you complete the shipment existence verification. But let's keep as it is for the moment. Just rename transformData to transformOrderData.


Notification Mirroring doesnt work

🤷🏽♂ Current Behaviour

Since version 6.3.1 I dont receive any mirrored Notifcation from my phone. The snooze notification for example still works. The Archlinux User Repository currently only have version 5.9.2 (which works fine) and I tested all versions from 6.3.1 to 5.9.2. Only version 6.3.1 has this issue.
🏡 Environmental Context

App Version
v6.3.1
Installation Type
manual aur package installation via makepkg.
I used this (aur-link) PKGBUILD, exchanged the version with 6.3.1 and skipped the checksum check.
Operating System
Arch Linux
uname -a
Linux T430 4.13.11-1-ARCH #1 SMP PREEMPT Thu Nov 2 10:25:56 CET 2017 x86_64 GNU/Linux

@bin101
Thanks for the report. The fix for this issue will be contained in the next release.

More on Ubuntu 16.04.3 + PB4D 6.3.1 - also tried to reset the configuration first. Same issue - no notifications.

@bin101 @erezhdd
Please review this issue with the latest release: https://github.com/sidneys/pb-for-desktop/releases

Tried 6.5.0 with Ubuntu 16.04.3. Still no notifications (even after configuration reset and sign-in again).
Even worse - no SMS in the PB window!
May I suggest that in the next release a menu item is added for reporting issues (link to github issues)?

@sidneys I can confirm that notification mirroring still doesnt work but I cant confirm @erezhdd sms problem.

sms problem turned out to be a bug of PB app on Android.
It seems that the last working version of PB4D with mirroring is 6.2.6 ("Stitch"?) so sticking with it.

Ubuntu 16.04.3 - version 6.5.1 works great! Thanks!

Still doesn't work for me. I use i3 as window manager.
Not every linux system uses Unity, so why do you hard set it?:
if (platformTools.isLinux) {
    process.env.XDG_CURRENT_DESKTOP = 'Unity';
}

Got it working. You only mention libnotify as linux dependency in your README but I also installed notify-osd now and it works now.

@bin101
Thanks for your perseverance. Closing for now.
Cheers,
S


Add Dune runes

This PR adds dune rules to build the opam package (and thus remove the existing Makefile rules for opam, so that we don't have 2 build systems).
The main change that this PR introduces is a new solo5-bindings package which contains:

the solo5 headers (installed in lib/solo5-bindings)
the CRT headers (installed in lib/solo5-bindings/crt)
solo5-elftool (installed in bin)
solo5-bindings.pc (installed in lib/pkgconfig)

The C flags in solo5-bindings are useful to build libraries to build against the solo5 API (whatever the bindings is).
The other packages also install a pkg-config flag to define the link flags needed to build a unikernel for a given bindings.
This is using the OCaml syntax for dune file, as we need to generate a lot of boiler-plate code. Hopefully it won't be too hard to maintain...

while I'm sure the CI is currently broken for this PR, I'm not sure the current shown CI errors are related:
not ok 58 mft_maxdevices spt
# (from function `expect_success' in file tests/tests.bats, line 163,
#  in test file tests/tests.bats, line 577)
#   `expect_success' failed
# timeout: the monitored command dumped core
FAILURE: 'sudo tests/run-tests.sh' failed: Status: 1

I'm assuming that this is superseded by #486, so closing.


start the simulation but nothing happend.

Describe the bug
(1) I did all in openpilot/tools/README.md
(2) Then,I run ./start_carla.sh in one terminal and ./start_openpilot_docker.sh in another.
(3) There just come out a ui and nothing happend.
(4)Here is the picture.

OS Version
ubuntu20.04
openpilot version or commit
0.8.12
Additional info
(1)./start_carla.sh

(2)./start_openpilot_docker.sh
(2.1)./bridge.py

(2.2)./launch_openpilot.sh

Can you post the full output of 2.2? There must be a reason why it's not going onroad. Just tried reproducing on latest master, but works fine for me.

thank you for your reply.here is the full output of 2.1 and 2,2
(2.1)

I did as it says:add the variable ahead of ./bridge and the output is as follows.

(2.2)

Can you post the full output of 2.2? There must be a reason why it's not going onroad. Just tried reproducing on latest master, but works fine for me.

thank you for your replay.Here is the full output of 2.1 and 2.2.
(2.1) ./bridge

I did as it says:add the variable ahead of ./bridge and the output is as follows.

(2.2) ./launch_openpilot.sh

Don't see a reason why it wouldn't go onroad. You can print startup_conditions in thermal (https://github.com/commaai/openpilot/blob/master/selfdrive/thermald/thermald.py#L352) to debug this further.

Closing due to inactivity. I recommend the #openpilot-simulation channel on discord.comma.ai, that's probably a better place for these debugging questions.


Diagonal + blockdiagonal is extremely slow

Blockdiagonal + diagonal
using BlockDiagonals, LinearAlgebra
b = BlockDiagonal([rand(5, 5) for i in 1:100]);
D = Diagonal(rand(size(b, 1)));
@time b + D; #   0.241825 seconds (495.10 k allocations: 235.323 MiB)

Dense matrix + diagonal
m = rand(500, 500);
D = Diagonal(rand(size(m, 1)));
@time m + D; #   0.000697 seconds (2 allocations: 1.907 MiB)

Is there any way to get a faster Blockdiagonal + diagonal?

Thanks for raising! #104 should fix that and possibly speed up some other things as well :)


Update publisher edatalia sign online

When submitting a connector, please make sure that you follow the requirements below, otherwise your PR might be rejected. We want to make you have a well-built connector, a smooth certification experience, and your users are happy :)
If this is your first time submitting to GitHub and you need some help, please sign up for this session.

[x] I attest that the connector doesn't exist on the Power Platform today. I've verified by checking the pull requests in GitHub and by searching for the connector on the platform or in the documentation.
[x] I attest that the connector works and I verified by deploying and testing all the operations.
[x] I attest that I have added detailed descriptions for all operations and parameters in the swagger file.
[x] I attest that I have added response schemas to my actions, unless the response schema is dynamic.
[x] I validated the swagger file, apiDefinition.swagger.json, by running paconn validate command.
[x] If this is a certified connector, I confirm that apiProperties.json has a valid brand color and doesn't use an invalid brand color, #007ee5 or #ffffff. If this is an independent publisher connector, I confirm that I am not submitting a connector icon.

If you are an Independent Publisher, you must also attest to the following to ensure a smooth publishing process:

[x] I have named this PR after the pattern of "Connector Name (Independent Publisher)" ex: HubSpot Marketing (Independent Publisher)
[x] Within this PR markdown file, I have pasted screenshots that show: 3 unique operations (actions/triggers) working within a Flow. This can be in one flow or part of multiple flows. For each one of those flows, I have pasted in screenshots of the Flow succeeding.
[x] Within this PR markdown file, I have pasted in a screenshot from the Test operations section within the Custom Connector UI.
[x] If the connector uses OAuth, I have provided detailed steps on how to create an app in the readme.md.

Hi @vmanoharas,
I’ve created the new pull request with the updates you requested. I’m currently waiting on a small change to be finalized. Is there anything else you need? Thank you in advance

@vmanoharas any update about this PR?

Hello @marpedroche,
Could you please update your PR according to the documentations here - https://github.com/microsoft/PowerPlatformConnectors.
Additionally, you have added and deleted many files.  Kindly follow the above documentation and submit your connector either Independent or Verified publisher connector. As we are not able find out the connector in this PR.


Make file issues and test result problems.

I had made the following adjustment to get InteropTests to build:
In D:\Swift\swift-winrt\InteropTests\Package.swift (changed)->
	.package(name: "Projection", path: "build/debug/WinRTComponent/Projection/Sources"),
	"-Xlinker", "/manifestinput:build/debug/WinRTComponent/Projection/Sources/WinRTComponent.manifest",
-----------------------------------------------

// swift-tools-version: 5.10
import PackageDescription

let package = Package(
    name: "InteropTests",
    dependencies: [
        .package(name: "Support", path: ".."),
        .package(name: "Projection", path: "build/debug/WinRTComponent/Projection/Sources"),
    ],
    targets: [
        .testTarget(
            name: "Tests",
            dependencies: [
                .product(name: "WindowsRuntime", package: "Support"),
                .product(name: "SwiftUWP", package: "Projection"),
                .product(name: "SwiftWinRTComponent", package: "Projection"),
            ],
            path: "Tests",
            linkerSettings: [ .unsafeFlags([
                // Embed the WinRT component manifest to locate activation factories
                "-Xlinker", "/manifestinput:build/debug/WinRTComponent/Projection/Sources/WinRTComponent.manifest",
                "-Xlinker", "/manifest:embed",
                // Workaround for SPM library support limitations causing "LNK4217: locally defined symbol imported" spew
                "-Xlinker", "-ignore:4217"
            ]) ])
    ]
)

In D:\Swift\swift-winrt\InteropTests\CMakeLists ->
	add_subdirectory("${REPO_ROOT}/Support/Sources" "${CMAKE_CURRENT_BINARY_DIR}/Support")
-------------------------------

# Support using this directory as a standalone project or as a subdirectory.
if("${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_SOURCE_DIR}")
    cmake_minimum_required(VERSION 3.21.0)

    project(InteropTests LANGUAGES C Swift)
endif()

if (NOT DEFINED SWIFTWINRT_EXE)
    message(FATAL_ERROR "SWIFTWINRT_EXE must be defined")
endif()
cmake_path(ABSOLUTE_PATH SWIFTWINRT_EXE NORMALIZE)

# Build the support module if not already the case (by root CMakeLists.txt)
if(NOT TARGET WindowsRuntime)
    execute_process(
        COMMAND git.exe -C "${CMAKE_CURRENT_SOURCE_DIR}" rev-parse --path-format=absolute --show-toplevel
        OUTPUT_VARIABLE REPO_ROOT
        OUTPUT_STRIP_TRAILING_WHITESPACE
        COMMAND_ERROR_IS_FATAL ANY)
        add_subdirectory("${REPO_ROOT}/Support/Sources" "${CMAKE_CURRENT_BINARY_DIR}/Support")
endif()

add_subdirectory(WinRTComponent)

In D:\Swift\swift-winrt\InteropTests\CMakePresets.json ->
	"SWIFTWINRT_EXE" :  "D:/Swift/swift-winrt/build/debug/Generator/Sources/SwiftWinRT/SwiftWinRT.exe"
-------------------------------

{
    "version": 3,
    "cmakeMinimumRequired": {
      "major": 3,
      "minor": 21,
      "patch": 0
    },
    "configurePresets": [
      {
        "name": "debug",
        "displayName": "Debug",
        "generator": "Ninja",
        "binaryDir": "${sourceDir}/build/debug",
        "cacheVariables": {
        "CMAKE_BUILD_TYPE": "RelWithDebInfo",
        "CMAKE_C_COMPILER": "clang-cl",
	"SWIFTWINRT_EXE" :  "D:/Swift/swift-winrt/build/debug/Generator/Sources/SwiftWinRT/SwiftWinRT.exe"
        }
      }
    ],
    "buildPresets": [
      {
        "name": "debug",
        "displayName": "Debug",
        "configurePreset": "debug"
      }
    ]
  }

This next change is specific to my case, so the compiler bug is handled correctly for my side:
After if check for flag
In D:\Swift\swift-winrt\InteropTests\WinRTComponent\GenerateProjection.cmake ->

    message(STATUS "----------------------------------------------------------------------------------------")
    message(STATUS "--swift-bug-72724=no")
    message(STATUS "----------------------------------------------------------------------------------------")
    set(SWIFT_BUG_72724_ARG "--swift-bug-72724=no")
'''

Built, but test output is as follows:
Test Case 'ClassInheritanceTests.testOverridableMemberOnBaseClass' started at 2024-11-25 19:24:55.650
D:\Swift\swift-winrt\InteropTests\Tests\ClassInheritanceTests.swift:9: error: ClassInheritanceTests.testOverridableMemberOnBaseClass : XCTAssertEqual threw error "The specified module could not be found.
" -
D:\Swift\swift-winrt\InteropTests\Tests\ClassInheritanceTests.swift:10: error: ClassInheritanceTests.testOverridableMemberOnBaseClass : XCTAssertEqual threw error "The specified module could not be found.
" -
D:\Swift\swift-winrt\InteropTests\Tests\ClassInheritanceTests.swift:13: error: ClassInheritanceTests.testOverridableMemberOnBaseClass : XCTAssertEqual threw error "The specified module could not be found.
" -
D:\Swift\swift-winrt\InteropTests\Tests\ClassInheritanceTests.swift:14: error: ClassInheritanceTests.testOverridableMemberOnBaseClass : XCTAssertEqual threw error "The specified module could not be found.
" -
Test Case 'ClassInheritanceTests.testOverridableMemberOnBaseClass' failed (0.001 seconds)
Test Case 'ClassInheritanceTests.testOverridenMemberInPrivateDerivedClass' started at 2024-11-25 19:24:55.651
D:\Swift\swift-winrt\InteropTests\Tests\ClassInheritanceTests.swift:38: error: ClassInheritanceTests.testOverridenMemberInPrivateDerivedClass : XCTAssertEqual threw error "The specified module could not be found.
" -
D:\Swift\swift-winrt\InteropTests\Tests\ClassInheritanceTests.swift:39: error: ClassInheritanceTests.testOverridenMemberInPrivateDerivedClass : XCTAssertEqual threw error "The specified module could not be found.
" -
Test Case 'ClassInheritanceTests.testOverridenMemberInPrivateDerivedClass' failed (0.0 seconds)
Test Case 'ClassInheritanceTests.testOverridenMemberInSealedDerivedClass' started at 2024-11-25 19:24:55.651
D:\Swift\swift-winrt\InteropTests\Tests\ClassInheritanceTests.swift:29: error: ClassInheritanceTests.testOverridenMemberInSealedDerivedClass : XCTAssertEqual threw error "The specified module could not be found.
" -
D:\Swift\swift-winrt\InteropTests\Tests\ClassInheritanceTests.swift:30: error: ClassInheritanceTests.testOverridenMemberInSealedDerivedClass : XCTAssertEqual threw error "The specified module could not be found.
" -
D:\Swift\swift-winrt\InteropTests\Tests\ClassInheritanceTests.swift:33: error: ClassInheritanceTests.testOverridenMemberInSealedDerivedClass : XCTAssertEqual threw error "The specified module could not be found.
" -
D:\Swift\swift-winrt\InteropTests\Tests\ClassInheritanceTests.swift:34: error: ClassInheritanceTests.testOverridenMemberInSealedDerivedClass : XCTAssertEqual threw error "The specified module could not be found.
" -
Test Case 'ClassInheritanceTests.testOverridenMemberInSealedDerivedClass' failed (0.001 seconds)
Test Case 'ClassInheritanceTests.testOverridenMemberInSwiftClassDerivedFromUnsealedDerivedClass' started at 2024-11-25 19:24:55.652

Please document where SWIFT_BUG_72724_ARG should be set when needed.

I think you're building in a different way than the CI build. I'm curious what was the invocation that failed without your /manifestinput change, and from which working directory?
The test failures you're seeing are from not having WinRTComponent.dll next to the test executable. That is done by SPMPrebuild.ps1 because SPM cannot integrate it in the build.
The instructions you should follow to build and run InteropTests, are those from the CI build in these steps.

Just do powershell -File .\SPMPrebuild.ps1 and then swift build --build-tests from InteropTests.


Rancher container is constantly restarting

Rancher Server Setup

Rancher version: v2.6
Installation option (Docker install/Helm Chart): Single Container Docker

Describe the bug

When starting Rancher, it seems fine until I check docker ps and it shows the container restarting constantly. I am unable to access the web panel
To Reproduce

Run docker run -d --restart=unless-stopped \   -p 80:80 -p 443:443 \   -v /opt/rancher:/var/lib/rancher \   --privileged \   rancher/rancher:latest
Result
Rancher container is constantly restarting
Expected Result

Rancher container would stay up and allow me to go to the web interface
Screenshots

Additional context

I've had this exact issue on Debian, Ubuntu, and Fedora now for months. I've switched to an entirely different server at this point with a clean Proxmox install and it persisted despite being a clean install on new hardware. I really have no idea if it's my network or a widespread issue.

Container logs:
2022/05/10 01:13:58 [INFO] Rancher version v2.6.4 (4b4e29678) is starting,
2022/05/10 01:13:58 [INFO] Rancher arguments {ACMEDomains:[] AddLocal:true Embedded:false BindHost: HTTPListenPort:80 HTTPSListenPort:443 K8sMode:auto Debug:false Trace:false NoCACerts:false AuditLogPath:/var/log/auditlog/rancher-api-audit.log AuditLogMaxage:10 AuditLogMaxsize:100 AuditLogMaxbackup:10 AuditLevel:0 Features: ClusterRegistry:},
2022/05/10 01:13:58 [INFO] Listening on /tmp/log.sock,
2022/05/10 01:13:58 [INFO] Waiting for server to become available: Get "https://<IP_ADDRESS>:6443/version?timeout=15m0s": dial tcp <IP_ADDRESS>:6443: connect: connection refused,
2022/05/10 01:14:00 [INFO] Waiting for server to become available: Get "https://<IP_ADDRESS>:6443/version?timeout=15m0s": dial tcp <IP_ADDRESS>:6443: connect: connection refused,
2022/05/10 01:14:02 [INFO] Waiting for server to become available: Get "https://<IP_ADDRESS>:6443/version?timeout=15m0s": dial tcp <IP_ADDRESS>:6443: connect: connection refused,
2022/05/10 01:14:04 [INFO] Waiting for server to become available: Get "https://<IP_ADDRESS>:6443/version?timeout=15m0s": dial tcp <IP_ADDRESS>:6443: connect: connection refused,
2022/05/10 01:14:06 [INFO] Waiting for server to become available: Get "https://<IP_ADDRESS>:6443/version?timeout=15m0s": dial tcp <IP_ADDRESS>:6443: connect: connection refused,
2022/05/10 01:14:08 [INFO] Waiting for server to become available: an error on the server ("apiserver not ready") has prevented the request from succeeding,
2022/05/10 01:14:10 [INFO] Waiting for server to become available: an error on the server ("apiserver not ready") has prevented the request from succeeding,
2022/05/10 01:14:12 [INFO] Waiting for server to become available: an error on the server ("apiserver not ready") has prevented the request from succeeding,
2022/05/10 01:14:14 [INFO] Waiting for server to become available: an error on the server ("apiserver not ready") has prevented the request from succeeding,
2022/05/10 01:14:24 [FATAL] k3s exited with: exit status 1```


Starting elm-live with uncompilable elm prevents it from working once the elm compiles

Whoops, never mind thought I was using elm-live on this project. Been working too long today 😓.

Whoops for some reason i


fela-plugin-remove-undefined deprecation warning from fela-plugin-extend

Type: Bug

Packages
Version

fela
6.1.9

fela-plugin-extend
6.0.7

Description
Since upgrading fela and fela-plugin-extend I am seeing a fela-plugin-remove-undefined deprecation warning. This is because fela-plugin-extend is using this plugin internally.
Steps to reproduce
import extend from "fela-plugin-extend"

extend()

// console.warn node_modules/fela-plugin-remove-undefined/lib/deprecate.js:11
//    The remove undefined plugin (fela-plugin-remove-undefined) is deprecated
//    please remove it from your Fela configuration.
//    Fela automatically removes 'undefined' values making this plugin obsolete.

Remedy
I expect all that needs to be done is to:

Remove the import of this plugin
Remove the removeUndefined wrapper around the extension object here

// ...change this
renderer._mergeStyle(style, removeUndefined(extension))

// ...to this
renderer._mergeStyle(style, extension)

Happy to put in a PR if this is correct—let me know!

Heyhey! Yeah apparently I totally forgot that fela-plugin-extend requires the remove-undefined plugin 😅 I already fixed that in master, but need to release it as a quick fix soon. Thanks for reporting =)

Out of curiosity, why does the extend plugin require it? Would it not work with this plugin wrapper removed?

Hmm yeah. As plugins run before the style object resolver does its work it should just work. The only issue is: the extend plugin might cause undefined values (by accident at least if something undefined is passed in) which then might yield weird behaviour within other plugins that guarantee no undefined values^^

Gotcha—so if I had:
const rule = (props) => ({
  color: "red",
  extend: {
    color: props.color
  }
})

renderer.renderRule(rule, {})

Then color would be set to undefined within the extension object and override color: "red" in the style object.
Given that the renderer is using isUndefinedValue to skip null or undefined values—perhaps you should create a small utility function in the fela-utils package that does the same thing that fela-plugin-remove-undefined used to do?
I can put in a PR for this if you like?


Alternative to ms.vss-work-web.work-item-toolbar-menu

With the new work item form, the toolbar menu is gone, but there is still the ... menu in the upper right corner. The extension points page only shows ms.vss-work-web.work-item-toolbar-menu. Is there currently an extension point that works in TFS 2017.1?

The work item context menu extension point also shows up there

I've seen several projects that extend ms.vss-work-web.work-item-context-menu but that is no longer listed on the extension points page. In its place are ms.vss-work-web.query-result-work-item-menu and ms.vss-work-web.backlog-item-menu. None of those are adding the menu item in the new form, only the context menu.
From my vss-extension.json (I've tried all three targets):
"contributions": [{
      "id": "my-id",
      "type": "ms.vss-web.action",
      "description": "my-description",
      "targets": [
        "ms.vss-work-web.work-item-context-menu"
      ],
      "properties": {
        "uri": "index.html"
      }
    }
...

and from app.ts:
const myAction = {
    getMenuItems: (context: any) => {
        return [{
            action: (actionContext: IActionContext) => {
                //doing some work here
            },
            group: "actions",
            icon: "img/icon.png",
            text: "Text",
            title: "Title",
        } as IContributedMenuItem];
    },
};

VSS.register(`${extensionContext.publisherId}.${extensionContext.extensionId}.my-id`, myAction);

@MrTarantula Oh, good point. That is a documentation bug then. It works, see one of my example extensions here: https://github.com/cschleiden/vsts-quick-decompose/blob/master/vss-extension.json#L53

I'm not sure what I'm doing wrong. The context menu works perfectly, but not the work item form menu. The code is never fired when the menu is clicked. Here's my extension, if you wouldn't mind taking a look:
https://github.com/MrTarantula/WIPrint

I found the bug. I wasn't checking for null here. It was failing silently, no errors in the console.
It's working now. I will close the issue.

I have an extension on vsts targeting ms.vss-work-web.work-item-context-menu.
Since a few days the action is not listed in any of the context menus anymore. Has it silently been removed?

I can't speak to the extension point on VSTS as I am using TFS, but if you have made any changes to your extension between then and now, you should go back and thoroughly check for bugs. The console showed nothing at all when my failure was happening. Very annoying, but in my experience null references crop up often, even with TypeScript.

The main problem is: I haven't made any changes. The last version was published on April 17th. And it was working as expected afterwards. And I am sure all was working fine last week (at least till Wednesday). I am also sure that the extension does load correctly, because it has another contribution (settings page on admin hub) which is working.

My other contributions loaded too. That doesn't necessarily mean there isn't a failure somewhere. I just tested my Work Item Print extension in VSTS and it is 100% functional. Give it a shot. You can see it has a couple of contributions, one targeting ms.vss-work-web.work-item-context-menu.
I would still go back and check for bugs, but if this is a legitimate problem then you should create your own issue for better visibility. My issue is closed.

Was your context menu action (the containing iframe) showing up in the browser debugger when you had the error?

Yes, all my files loaded fine. I had to set breakpoints line by line to trap the failure.  I didn't check that context.workItemIds existed and it broke the contribution, but left the other one alone.

Ok, there is my next problem: I don't see my action iframe in F12 tools :(

If I don't have dev tools open already, then I have to refresh for the files to show up. If that doesn't work then you do have a problem, either with your vss-extension.json or the VSS bootstrapping.

Ok, I found the problem. It was not the target of the contribution. It was the type.
This was my first extension adapting the new mechanism. And from the examples back then I copied the type ms.vss-web.action-provider.
In AppInsights I can see, that this was working fine till May 24th. And after that it didn't, no error, no warning, nothing.
Changing the type to ms.vss-web.action fixed it.

I've also been confused by action-provider and action. Older examples seem to use action-provider, and newer ones action, but I have seen no documentation for the change. I can use either on TFS 2017 and notice no difference.
It would be great if there were a changelog that would show deprecated methods, properties, and values.

ms.vss-work-web.work-item-toolbar-menu should work on the new work item form to put your item in the menu. Is that not working for you @MrTarantula  and @FlexiGit ?

ms.vss-work-web.work-item-context-menu works for both the context menu and the menu within the work item. ms.vss-work-web.work-item-toolbar-menu only works in TFS 2015.
Related: will there be extension points to hook into the new Work Items hub?


esp-idf/examples/storage/sd_card/sdspi Code giving error (IDFGH-5569)

I have connected all the pins accordingly but it's showing the same error
ets Jun  8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:7104
load:0x40078000,len:13212
load:0x40080400,len:4568
entry 0x400806f4
I (27) boot: ESP-IDF v4.2.2-dirty 2nd stage bootloader
I (27) boot: compile time 15:05:42
I (27) boot: chip revision: 1
I (30) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (37) boot.esp32: SPI Speed      : 40MHz
I (42) boot.esp32: SPI Mode       : DIO
I (46) boot.esp32: SPI Flash Size : 4MB
I (51) boot: Enabling RNG early entropy source...
I (56) boot: Partition Table:
I (60) boot: ## Label            Usage          Type ST Offset   Length
I (67) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (74) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (82) boot:  2 factory          factory app      00 00 00010000 00100000
I (89) boot: End of partition table
I (94) boot_comm: chip revision: 1, min. application chip revision: 0
I (101) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x0a7b4 ( 42932) map
I (126) esp_image: segment 1: paddr=0x0001a7dc vaddr=0x3ffb0000 size=0x02174 (  8564) load
I (130) esp_image: segment 2: paddr=0x0001c958 vaddr=0x40080000 size=0x036c0 ( 14016) load
I (139) esp_image: segment 3: paddr=0x00020020 vaddr=0x400d0020 size=0x1e9b0 (125360) map
I (189) esp_image: segment 4: paddr=0x0003e9d8 vaddr=0x400836c0 size=0x082c0 ( 33472) load
I (211) boot: Loaded app from partition at offset 0x10000
I (211) boot: Disabling RNG early entropy source...
I (211) cpu_start: Pro cpu up.
I (215) cpu_start: Application information:
I (220) cpu_start: Project name:     template-app
I (225) cpu_start: App version:      1
I (230) cpu_start: Compile time:     Jul 20 2021 15:05:08
I (236) cpu_start: ELF file SHA256:  c7856376af568d61...
I (242) cpu_start: ESP-IDF:          v4.2.2-dirty
I (247) cpu_start: Starting app cpu, entry point is 0x40081714
I (0) cpu_start: App cpu up.
I (258) heap_init: Initializing.  Make sure SD card lines have pull-up resistors in place.
ets Jun  8 2016 00:22:57

Please help how to resolve this error.

This sample works correctly.
There are several possible causes.

The connection is incorrect.
The SD card is not formatted in FAT32.
The connection cable is too long.
There is No pull-up resistor.

No, I have changed the SPI Frequency from 20000 Hz to 5000 Hz and it worked.


Always showing 0 issues

I run different android apk's even with the officially provided one with the tool, I am getting 0 issues. It should have flagged 1 default RCE issue as per the documentation/getting started guide.
Please look into it. Or any thing I am evaluation different than it should be, let me know.

Hi @abhineetsagar, removing --source-root-directory=app/src/main/java will result in having no snippets at all, not even for issues reported in MainActivity.java. The --source-root-directory option is meant to point to the source code of the APK being analyzed.
Snippets cannot show up if the source code for them does not exist locally and that is the case with calls into the Android SDK.

Hey @yuhshin-oss, I have the same problem as abhineetsagar, I cannot see the snippets. For sure I am wrong but I'm trying to analyze an apk and don't have the source code, so what I did is trying to get the sources from jadx-gui and give the path (got from the "save project" of jadx.gui) to the --source-root-directory and --source-directory option. I know that the sources generated are not the same as the real ones but very similar, however, isn't there a possibility to get the snippets without having the source code? Doing as I described, what I receive is a blank page after clicking on the "traces" link of the issue X.
here the server's logs:
021-11-03 18:42:00,315 [INFO] Serving `run/1/issue/1`...
2021-11-03 18:42:00,315 [INFO] Resource not found.


Add show() and hide() methods to Canvas Layer.

Added show() and hide() methods to Canvas Layer.
Updated Canvas Layer Doc API.
Fixes #58122

After adding the bindings, please rebase to squash the commits. See PR workflow.

Thanks!

Hello @akien-mga. Should I cherry-pick this to branch 3.x?

No need, it should cherry-pick cleanly in my next round of cherry-picks.

Cherry-picked for 3.5.


Cursor should be at the end of the edited argument

When you tap an argument because you want to edit it (for me, it's mostly to change the phrasing or fix typos), the cursor goes to the beginning of the line. It would be great if it was at the end of the line instead, which would make adding more information and correcting typos easier.

Good idea! 👍 Will change the behavior in the next version.

Implemented in https://github.com/markusfisch/Libra/commit/4ee487ddee9e47a585226b0fb7df12e730962121
Available in version 1.12.1 which should become available on Google Play within the next few hours. F-Droid probably tomorrow. Or directly from here:
https://github.com/markusfisch/Libra/releases/tag/1.12.1


{AKS} az aks nodepool add/update/upgrade: add new parameter --node-soak-duration

work in progress

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

General Guidelines

[ ] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
[ ] Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

AKS

@FumingZhang any idea why some of these checks failed? The only error message I see is
Bash exited with code '1'.

@FumingZhang any idea why some of these checks failed? The only error message I see is
Bash exited with code '1'.

The failure is about test case

FAILED src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py::AzureKubernetesServiceScenarioTest::test_aks_nodepool_drain_timeout

and seems the recording file corresponding to this case is not committed.
Queue new live test for this test case.

and seems the recording file corresponding to this case is not committed.
Queue new live test for this test case.

Thanks @FumingZhang, I added the recording. Let's see if all the checks pass now.

Thanks @FumingZhang! Anything else I need to do to get this merged?

Please fix conflicting files.

@yonzhan @FumingZhang

Please fix conflicting files.

done


Strict filters

Bug Fixes

Added strict filters configuration to stop all filters performing a %like%

[Delivers #120571545]

@wnowicki


GapDebug

Merged! Thank you for the PR. You may safely close it and delete the branch.

Thanks Dmitry. I did that.
So what's next?
Anabella

On Oct 8, 2015, at 6:25 PM, Dmitry Blotsky<EMAIL_ADDRESS>wrote:
Merged! Thank you for the PR. You may safely close it and delete the branch.
—
Reply to this email directly or view it on GitHub.

Your app will appear in the cordova.io Showcase Apps section within the next hour, as I finish merging other PRs.

You are awesome! 😁

On Oct 8, 2015, at 6:41 PM, Dmitry Blotsky<EMAIL_ADDRESS>wrote:
Your app will appear in the cordova.io Showcase Apps section within the next hour, as I finish merging other PRs.
—
Reply to this email directly or view it on GitHub.

All merged. Thanks for the PR! :) You may close it and delete the branch now.

Friendly ping @AnabellaGenuitec. Please close this PR when you have a moment.

Sorry, Dmitry. I think I did now.
On Tue, Oct 20, 2015 at 7:48 PM, Dmitry Blotsky<EMAIL_ADDRESS>wrote:

Friendly ping @AnabellaGenuitec https://github.com/AnabellaGenuitec.
Please close this PR when you have a moment.
—
Reply to this email directly or view it on GitHub
https://github.com/apache/cordova-docs/pull/369#issuecomment-149745437.

Yep, that did it. Thanks, @AnabellaGenuitec!


Vickel: Watch networthvilla(?!.com)

Vickel requests the watch of the watch_keyword networthvilla(?!\.com). See the MS search here and the Stack Exchange search in text, in URLs, and in code.

networthvilla(?!\.com) has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ


Unify steps methods

Probably all steps could have the same init, the same loop saving results, etc.
See art\step\steps.py

done


The README seems out-of-date

There is reference to the Run method, but it doesn't match the code.
The README says void Run(uint32_t n); but the code says void Run(int32_t cycles, uint64_t& cycleCount, CycleMethod cycleMethod = CYCLE_COUNT);.

Cycle counting was added as a feature but the README wasn't updated to reflect that.


Merge branch release-4.9.16 into 4.9.x

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: dewniMW:x: wso2-jenkins-botYou have signed the CLA already but the status is still pending? Let us recheck it.


drivers: sensor: Driver for HTU21D temp/humidity sensor

Driver for TE Connectivity MEAS HTU21D temperature and humidity sensor.
The driver was tested on a custom ESP32 board.

@JonasNorling I'm sorry this was closed before I had a chance to revisit. The merge window for v3.1 is reopening soon, so please rebase and reopen this pull request if you'd like to try again.


Set the page i want to show

How can i set the page I want to show when i create the paginated list?

hey, this answer is so late  but you can use the show event . e.g. listObj.show((pageNumber-1)*page + 1, page);
pageNumber = the page that you want to show.
page = Defines how many items that should be visible at the same time.


Google Colab giving version control error.

Gives above error if using:
pip install git+https://github.com/ziatdinovmax/gpax
below works:
pip install gpax

@ziatdinovmax I think I can solve this with another try/except. Can you post the full error? I think I know what the issue is.
That said I think we should urge people not to install via git+https://github.com/ziatdinovmax/gpax. (I am very happy to see that my "novel" build procedure works though! 😁).

I think problem is in  (https://github.com/ziatdinovmax/gpax/blob/main/gpax/_version.py)
Except block with RuntimeError should fix this
/usr/local/lib/python3.10/dist-packages/gpax/init.py in
1 from . import acquisition, kernels, priors, utils
----> 2 from ._version import version
3 from .hypo import sample_next
4 from .models import (
5     BNN,
/usr/local/lib/python3.10/dist-packages/gpax/_version.py in
5     import dunamai as _dunamai
6
----> 7     version = _dunamai.Version.from_any_vcs().serialize()
8     del _dunamai

@utkarshp1161 apologies I didn't even realize in my initial response it wasn't Maxim who raised this issue or I would've responded to you! Anyway this should be fixed in #105.

No problem. Thanks a lot. Our group uses gpax all the time in colab and they happen to build it from main branch in most of their notebooks.

@utkarshp1161 Sounds good! Just a quick bit of feedback: I would strongly recommend against pip installing from main. Unless you know exactly what's on the main branch you should use pip install gpax. This downloads a tested distribution from PyPI and is generally going to be much more stable. As you can see bugs can get introduced in to the main branch, but deployments don't happen until everything passes the tests!

I see. Makes complete sense. I will pass it on to the group members.

@utkarshp1161 should also wait for @ziatdinovmax's opinion, as it's his code, but in terms of best development practices you can't go wrong with installing from PyPI 👍
I've opened a PR with updated installation instructions and we'll wait for Maxim to comment!

@utkarshp1161 thanks for identifying this issue and thanks @matthewcarbone for promptly fixing it!
PS. Yes, it is better to install a stable version from PyPI. The installation from source was a leftover from the early days when there were only a few people using the code and I was integrating changes to master branch in real time based on their feedback.


Support pest3

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (203cdc2) to head (97219d4).

Additional details and impacted files
@@            Coverage Diff            @@
##              main        #3   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines           25        25
=========================================
  Hits            25        25

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


libusb error -7 whilst receiving packet.

I've tried about 5 different usb cables and 2 different laptops, but always the same result.
It seems I can't use linux (mint) + heimdall to flash a new recovery for my samsung galaxy s5 :(
$ heimdall print-pit --verbose --resume
Heimdall v1.4.1

Copyright (c) 2010-2014 Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/

Initialising connection...
Detecting device...
      Manufacturer: "Sasmsung"
           Product: "MSM8960"

            length: 18
      device class: 2
               S/N: 0
           VID:PID: 04E8:685D
         bcdDevice: 0100
   iMan:iProd:iSer: 1:2:0
          nb confs: 1

interface[0].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: 02.02.01
       endpoint[0].address: 82
           max packet size: 0010
          polling interval: 09

interface[1].altsetting[0]: num endpoints = 2
   Class.SubClass.Protocol: 0A.00.00
       endpoint[0].address: 81
           max packet size: 0200
          polling interval: 00
       endpoint[1].address: 01
           max packet size: 0200
          polling interval: 00
Claiming interface...
Setting up interface...

Beginning session...
ERROR: libusb error -7 whilst receiving packet. Retrying...
ERROR: libusb error -7 whilst receiving packet. Retrying...
ERROR: libusb error -7 whilst receiving packet. Retrying...
ERROR: libusb error -7 whilst receiving packet. Retrying...
ERROR: libusb error -7 whilst receiving packet.
Releasing device interface...

I've tried to follow this guide:
https://wiki.lineageos.org/devices/klte/install
I first tried this with the heimdall package included in the repository, and afterwards also with a self built version. same result for both.

okey, so I found a way around heimdall using this guide to write the recovery image to the right place using adb + su: https://theunlockr.com/2014/03/31/flash-custom-recovery-samsung-galaxy-s5-europe/

https://gist.github.com/hramrach/a621d79ee34d1b5ff2eb6a1ae7885fc7 log of this or similar issue

works for me with heimdall 1.4.2 - at least print-pit displays something sensible and reboots the phone

Just for the record, I had the same issue (libusb error -7...) on ubuntu 17.04 using packaged version of Heimdall. Compiling from git solved the problem, now print-pit works flawlessly.

I'm still observing the same issue.
$heimdall print-pit --verbose
Heimdall v1.4.1

Copyright (c) 2010-2014 Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/

Initialising connection...
Detecting device...
      Manufacturer: "Sasmsung"
           Product: "MSM8960"

            length: 18
      device class: 2
               S/N: 0
           VID:PID: 04E8:685D
         bcdDevice: 0100
   iMan:iProd:iSer: 1:2:0
          nb confs: 1

interface[0].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: 02.02.01
       endpoint[0].address: 82
           max packet size: 0010
          polling interval: 09

interface[1].altsetting[0]: num endpoints = 2
   Class.SubClass.Protocol: 0A.00.00
       endpoint[0].address: 81
           max packet size: 0200
          polling interval: 00
       endpoint[1].address: 01
           max packet size: 0200
          polling interval: 00
Claiming interface...
Setting up interface...

Initialising protocol...
Protocol initialisation successful.

Beginning session...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...

Some devices may take up to 2 minutes to respond.
Please be patient!

WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
Session begun.

Downloading device's PIT file...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
ERROR: libusb error -7 whilst sending bulk transfer. Retrying...
ERROR: libusb error -7 whilst sending bulk transfer. Retrying...
ERROR: libusb error -7 whilst sending bulk transfer. Retrying...
ERROR: libusb error -7 whilst sending bulk transfer. Retrying...
ERROR: libusb error -7 whilst sending bulk transfer. Retrying...
ERROR: libusb error -7 whilst sending bulk transfer.
ERROR: Failed to send request to end PIT file transfer!
ERROR: Failed to download PIT file!
Ending session...
ERROR: libusb error -7 whilst sending bulk transfer. Retrying...
ERROR: libusb error -7 whilst sending bulk transfer. Retrying...
ERROR: libusb error -7 whilst sending bulk transfer. Retrying...
ERROR: libusb error -7 whilst sending bulk transfer. Retrying...
ERROR: libusb error -7 whilst sending bulk transfer. Retrying...
ERROR: libusb error -7 whilst sending bulk transfer.
ERROR: Failed to send end session packet!
Releasing device interface...

Oh, but now with a new self built binary it looks different, though I still get tons of these WARNING lines:
$ android/Heimdall/build/bin/heimdall print-pit --verbose
Heimdall v1.4.2

Copyright (c) 2010-2017 Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/

Initialising connection...
Detecting device...
      Manufacturer: "Sasmsung"
           Product: "MSM8960"

            length: 18
      device class: 2
               S/N: 0
           VID:PID: 04E8:685D
         bcdDevice: 0100
   iMan:iProd:iSer: 1:2:0
          nb confs: 1

interface[0].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: 02.02.01
       endpoint[0].address: 82
           max packet size: 0010
          polling interval: 09

interface[1].altsetting[0]: num endpoints = 2
   Class.SubClass.Protocol: 0A.00.00
       endpoint[0].address: 81
           max packet size: 0200
          polling interval: 00
       endpoint[1].address: 01
           max packet size: 0200
          polling interval: 00
Claiming interface...
Setting up interface...

Initialising protocol...
Protocol initialisation successful.

Beginning session...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...

Some devices may take up to 2 minutes to respond.
Please be patient!

WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
Session begun.

Downloading device's PIT file...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
PIT file download successful.

Entry Count: 30
Unknown 1:<PHONE_NUMBER>
Unknown 2: 844251476
Unknown 3: 21325
Unknown 4: 14413
Unknown 5: 14137
Unknown 6: 52
Unknown 7: 0
Unknown 8: 0

--- Entry #0 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 1
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 8192
Partition Block Count: 30720
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: APNHLOS
Flash Filename: NON-HLOS.bin
FOTA Filename:

--- Entry #1 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 2
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 38912
Partition Block Count: 117632
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: MODEM
Flash Filename: modem.bin
FOTA Filename:

--- Entry #2 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 3
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 156544
Partition Block Count: 1024
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: SBL1
Flash Filename: sbl1.mbn
FOTA Filename:

--- Entry #3 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 4
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 157568
Partition Block Count: 128
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: DBI
Flash Filename: sdi.mbn
FOTA Filename:

--- Entry #4 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 5
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 157696
Partition Block Count: 64
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: DDR
Flash Filename:
FOTA Filename:

--- Entry #5 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 6
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 157760
Partition Block Count: 4096
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: ABOOT
Flash Filename: aboot.mbn
FOTA Filename:

--- Entry #6 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 7
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 161856
Partition Block Count: 1024
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: RPM
Flash Filename: rpm.mbn
FOTA Filename:

--- Entry #7 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 8
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 162880
Partition Block Count: 1024
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: TZ
Flash Filename: tz.mbn
FOTA Filename:

--- Entry #8 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 9
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 163904
Partition Block Count: 6144
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: FSG
Flash Filename:
FOTA Filename:

--- Entry #9 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 10
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 170048
Partition Block Count: 14272
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: PAD
Flash Filename:
FOTA Filename:

--- Entry #10 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 11
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 184320
Partition Block Count: 20480
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: PARAM
Flash Filename: param.bin
FOTA Filename:

--- Entry #11 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 12
Attributes: 5 (Read/Write)
Update Attributes: 5 (FOTA)
Partition Block Size/Offset: 204800
Partition Block Count: 28672
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: EFS
Flash Filename: efs.img.ext4
FOTA Filename:

--- Entry #12 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 13
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 233472
Partition Block Count: 6144
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: MODEMST1
Flash Filename: nvrebuild1.bin
FOTA Filename:

--- Entry #13 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 14
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 239616
Partition Block Count: 6144
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: MODEMST2
Flash Filename: nvrebuild2.bin
FOTA Filename:

--- Entry #14 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 15
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 245760
Partition Block Count: 26624
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: BOOT
Flash Filename: boot.img
FOTA Filename:

--- Entry #15 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 16
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 272384
Partition Block Count: 30720
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: RECOVERY
Flash Filename: recovery.img
FOTA Filename:

--- Entry #16 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 17
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 303104
Partition Block Count: 26624
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: FOTA
Flash Filename:
FOTA Filename:

--- Entry #17 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 18
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 329728
Partition Block Count: 14318
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: BACKUP
Flash Filename:
FOTA Filename:

--- Entry #18 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 19
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 344046
Partition Block Count: 2
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: FSC
Flash Filename:
FOTA Filename:

--- Entry #19 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 20
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 344048
Partition Block Count: 16
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: SSD
Flash Filename:
FOTA Filename:

--- Entry #20 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 21
Attributes: 5 (Read/Write)
Update Attributes: 5 (FOTA)
Partition Block Size/Offset: 344064
Partition Block Count: 16384
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: PERSIST
Flash Filename: persist.img.ext4
FOTA Filename:

--- Entry #21 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 22
Attributes: 5 (Read/Write)
Update Attributes: 5 (FOTA)
Partition Block Size/Offset: 360448
Partition Block Count: 18432
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: PERSDATA
Flash Filename: persdata.img.ext4
FOTA Filename:

--- Entry #22 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 23
Attributes: 5 (Read/Write)
Update Attributes: 5 (FOTA)
Partition Block Size/Offset: 378880
Partition Block Count: 5120000
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: SYSTEM
Flash Filename: system.img.ext4
FOTA Filename:

--- Entry #23 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 24
Attributes: 5 (Read/Write)
Update Attributes: 5 (FOTA)
Partition Block Size/Offset: 5498880
Partition Block Count: 409600
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: CACHE
Flash Filename: cache.img.ext4
FOTA Filename:

--- Entry #24 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 25
Attributes: 5 (Read/Write)
Update Attributes: 5 (FOTA)
Partition Block Size/Offset: 5908480
Partition Block Count: 102400
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: HIDDEN
Flash Filename: hidden.img.ext4
FOTA Filename:

--- Entry #25 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 26
Attributes: 5 (Read/Write)
Update Attributes: 5 (FOTA)
Partition Block Size/Offset: 6010880
Partition Block Count: 0
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: USERDATA
Flash Filename: userdata.img.ext4
FOTA Filename: remained

--- Entry #26 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 70
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 0
Partition Block Count: 34
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: PGPT
Flash Filename: pgpt.img
FOTA Filename:

--- Entry #27 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 71
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 34
Partition Block Count: 16
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: PIT
Flash Filename: MSM8974.pit
FOTA Filename:

--- Entry #28 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 72
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 50
Partition Block Count: 32
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: MD5
Flash Filename: md5.img
FOTA Filename:

--- Entry #29 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 73
Attributes: 5 (Read/Write)
Update Attributes: 1 (FOTA)
Partition Block Size/Offset: 30777311
Partition Block Count: 33
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: SGPT
Flash Filename: sgpt.img
FOTA Filename:

Ending session...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
ERROR: libusb error -7 whilst receiving bulk transfer. Retrying...

Rebooting device...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
Releasing device interface...

after running "make install" flashing using the heimdall-frontend worked as well, although only the modem stuck, the bootlader is still the version I had before. I also tried flashing twice but flashing a second time without reboot in between doesn't work, so I had to pull the battery in between. But still, bootloader doesn't stick.


[9.x] Added generic typing to EnumeratesValues::flatMap method.

Improves the generic typing of EnumeratesValues by providing them for the flatMap() method.
Using flatMap right now causes all type information to be lost, and explicitly states there will only be integer keys, when collapse() can produce both string and int keys thanks to it's use of array_merge().
ref: https://github.com/nunomaduro/larastan/discussions/1427

Enumerable interface needs to be changed also.

@nunomaduro can you take a look at this?


Migration query from v1 to v2

Hi,
I'm migrating an application from v1 to v2 of nest.
I have the following poco class:
    public class Post
    {
        public int UserId { get; set; }
        public DateTime PostDate { get; set; }
        public string PostText { get; set; }
    }

I'm trying to use the CreateIndexDescriptor to create the index and map the type.
I've got the following code currently:
            CreateIndexDescriptor cid = new CreateIndexDescriptor("my_blog");
            cid.Mappings(
                x =>
                    {
                        x.Map < Post(x =>x.AutoMap());
                        //Problem1;
                    });
                        cid.Settings(
                            x =>
                                {
                                    x.NumberOfReplicas(1);
                                    x.NumberOfShards(1);
                                //Problem2;
                                });

My first issue is how to I return a IPromise> from the lambda that allows me to control the mappings? Secondly, how do I return an IPromise>  from the lambda that lets me control the index settings.
Finally, is ther a migration guide covering this sort of this?
Any help appreciated.
Kind regards
Sean.

Sorry for the late reply @SeanFarrow
If you are using a multiline lambda you simply return the parameter of the lambda.
So both your problems can be solved by simply:
return x;

If you use a single line lambda the return is implicit.
The closest thing we have to a migration guide is our breaking changes documentation:
https://github.com/elastic/elasticsearch-net/tree/master/docs/2.0-breaking-changes
Hope this helps.


Fix CI error

Disable default documentation target in CI.

Codecov Report

Merging #30 (f8bb52a) into master (dda423e) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #30      +/-   ##
==========================================
- Coverage   99.43%   99.40%   -0.03%
==========================================
  Files          17       17
  Lines       72550    72550
  Branches    19952    19952
==========================================
- Hits        72137    72120      -17
  Misses        150      150
- Partials      263      280      +17

Impacted Files
Coverage Δ

...tworks/SNBestKnown.ComparisonPointer.Descending.cs
98.73% <0.00%> (-0.64%)
:arrow_down:

...tingNetworks/SNBoseNelson.Comparable.Descending.cs
99.12% <0.00%> (-0.23%)
:arrow_down:

...rtingNetworks/SNBoseNelson.Comparable.Ascending.cs
99.23% <0.00%> (-0.20%)
:arrow_down:

...works/SNBoseNelson.ComparisonPointer.Descending.cs
99.43% <0.00%> (-0.03%)
:arrow_down:

...rtingNetworks/SNBoseNelson.Comparison.Ascending.cs
97.68% <0.00%> (-0.03%)
:arrow_down:

src/SortingNetworks/SN.cs
97.27% <0.00%> (ø)

...ortingNetworks/SNBestKnown.Branchless.Ascending.cs
99.36% <0.00%> (ø)

...ortingNetworks/SNBestKnown.Comparison.Ascending.cs
95.32% <0.00%> (ø)

...rtingNetworks/SNBestKnown.Branchless.Descending.cs
99.36% <0.00%> (ø)

...rtingNetworks/SNBestKnown.Comparable.Descending.cs
98.73% <0.00%> (ø)

... and 7 more

Continue to review full report at Codecov.

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


Feature: Separator for ng-repeat tags.

Hello developers AngularJS!
I need to get HTML (SPAN separated is a space):

A B C D E

I found how to solve the problem:

{{ item.name }}

But it is very inconvenient.
I need an extra tag separator for ng-repeat, for example, ng-separator.
For examples HTML:
...
...
...

Help me please

@Masterovoi  why you don't use
{{item.name}}
and you will get

A B C D E

In your example AngularJS not used separator - space character - ASCII 32!
And so you do not get the result that I wrote.

you can use

{{item.name}}
&nbsp

I'm sorry, but you will not understand the question. I need a space between adjacent tags span.
... ...

Really needing a space between spans and not at the end of span means that you depend of "something" in your css that you could probably change to solve your problem.
But what you suggest could be useful to insert br tags (or another tag) between repeated items, which can be done by ngRepeatStart/ngRepeatEnd and ngIf/$end to avoid putting one after the last one, but indeed would be more elegant with ngSeparator

Since there are so many ways to achieve this result already, I'm not in favor of adding a separator. In fact, you can even achieve this with pure CSS: http://cssdeck.com/labs/ppqsob8n

@Narretz: Indeed. You're right and it's better to keep Angular concise and effective.

@Narretz:
Example http://cssdeck.com/labs/ppqsob8n does not answer my question. The separator is not necessary in span, and outside. CSS into my example does not remove the problem.
If for example add a snippet,
		span {
			background-color: 	#0097D6;
			color: 				white;
			border-radius: 		5px;
			padding:			4px 6px 5px 6px;
		}

then there will be no separator "buttons"

Look at the problem from your first and second examples ("here is the problem with the HTML-wrap"):
http://cssdeck.com/labs/oehgqdif
The third example - this is my version of what I need to get from the ng-repeat.

I see what you mean. After elements are not good enough in this case. Still, I don't see using actual spaces to separate tags as such a good (and frequent) idea. For example, html minifiers actually remove these spaces to create smaller payloads. And I still think that CSS should be used for this, see here for example: http://jsbin.com/mofukofoxi/edit?html,css,output

@Narretz:

In your example will not work before and after add text:

Lorem ipsum .... lorem ipsum.

Sequence breaks CSS: "float"

I wonder how Google will treat concatenation without spaces SPANs?!

Ah, you are making this very hard! :)
What do you mean by

I wonder how Google will treat concatenation without spaces SPANs?!

I assume you mean they won't be able to separate spans if they are meant to be individual units. I don't know if that is the case. I've never heard of of being a problem.

:) Hard - is to use CSS (for spaces into text), where it is not needed.
SPAN is designed primarily for the design of text (color, size, etc.). SPAN text does not replace the space. I'm sure that Google removes SPAN when analyzing text - abcabcabc. The words in the text should be separated by spaces, or misspelled words spoil SEO.
More than 20 years, I aim to write the shortest HTML.

shortest HTML and bloated framework.

@Masterovoi is it possible to give some additional context on the problem you're trying to solve and why the spaces are relevant and cannot be solved by CSS?

Elements with space between them render different than elements w/o space between them. This is normal if you think about the fact we are writing into a document.
The ask is to use ng-repeat to create elements that have a space between them so they render properly in the document.
You can add space (margin) with CSS but it feels hack-ish, because the markup should/would take care of this. Which I think is why there is a want to add a feature to ng-repeat so that it can generate the markup to allow this natural feature to work.
As an example if I have a set of elements I want to put into the flow of a document using ng-repeat I need to modify the way they render rather than use proper markup to make them render.
html

  Words <button>A</button><button>B</button> More Words

less
.wrapper {
  button {
    margin-right: 1em;
    :last-child {
      margin-right: 0;
    }
  }
}

After playing with this the cleanest way is to create more markup and let the browser render it out. In order to make CSS work you will need to add extra markup anyway soooooo you may as well let the browser do what it does naturally and not try and fix it w/ CSS.
don't do this:

  {{item}}

do this:

    {{item}}

You can workaround this problem by using margins and whatnot, but it's not an actual solution. Also, minifiers don't remove the spaces between elements, because of the very reason that spaces have meaning. They only remove extra whitespace characters (tab, newline, space...), just like HTML does. 5 spaces in the source HTML will render as a single space (and the whitespace is explicitly visible in Firefox devtools).

So honestly, the ng-repeat seems poorly thought out.


%x format: a number is required, not str

I trying to sign a pdf using the example code pdf-sign-cms.py, 2/3 pdf samples: I got an error.
%x format: a number is required, not str
at /endesive/pdf/cms.py in aligned, line 15

use python3, not 2.x


[Owners] [Tiny] Fix windows build error while typecasting float to enum

What does this Pull Request accomplish?
On some dev machines build fails on windows when we try to typecast float values to enum. Since we know we use enums for floats without maps only when underlying type is int, we could safely typecast them to int and then typecast the int to enum.
This issue is observed only during set_response_values. While reading the input parameters, we typecast from enum to float, and that doesn't any issues.
Why should this Pull Request be merged?
This changes fixes build issues observed on certain dev machines.
What testing has been done?

Build passes
Unit/Integration/System tests pass

FYI @zhindes @tkrebes, since you have tried to fix this build issue in past. After finalizing on how we want mapped enums to be represented in gRPC, we decided best option to fix the build is by typecasting raw float values to int before typecasting it to enums. This shouldn't cause any precision lost since we would typecast only when underlying value is int. In other cases, enum response value will remain unspecified and clients will have to use _raw API to read the actual value.