Icons disappeared, tool won't run

Hello,
I love this plugin!  Unfortunately, after swapping a few pins and then doing some routing, the icons have disappeared, and when I try runing WireIt again, nothing happens.  I'm running a nightly build (June 19) on Windows 7.  Is there some way to debug it?  Perhaps from the scripting console?  Even after quitting Pcbnew and restarting, I can't get WireIt to run, I have to quite Kicad completely.
I also find that when it does work, each pin swap I make hangs Pcbnew for about 30 seconds.
On my machine, Dumping the changes file also doesn't work.  I can't enter more than a single character as the file name, and when I click the Dump button, it doesn't actually do anything.

I'm using Windows 7 and a June 21st nightly. I'm not seeing anything out of the ordinary. I'll probably need to get your .kicad_pcb file to determine if the problem is in your environment or caused by some interaction between your design and WireIt.
Have you tried WireIt with any other PCBs and seen the same behavior?

I've been running on the same design with a different machine (Windows 10) and June 21 Kicad for a few hours now without any troubles except swapping pins is still painfully slow.  I've also been able to save the changes properly too.  When I manually make changes, they don't take any time, so I have hope that swapping pins with WireIt shouldn't actually make my computer go away for a long time.

To check the speed of the pin swap, try the following:

Open the Python scripting console.
Type the command from pcbnew import *.
Select two pads in your board.
Now type the following sequence of commands:

    brd = GetBoard()
    pads = [p for p in brd.GetPads() if p.IsSelected()]

    pad0_net = pads[0].GetNet()
    pads[0].SetNet(pads[1].GetNet())
    pads[1].SetNet(pad0_net)

    brd.BuildListOfNets()
    brd.GetConnectivity().RecalculateRatsnest()
    Refresh()

If the pad swapping is taking a long time, then it should be apparent when running the above sequence of commands where that time is being spent.

When I type in the commands, I only noticed a delay after the Refresh(), but typing is slow and I'm not playing with the layout to notice delays.  I can't explain it, but I've tried twice to paste all but the Refresh() command into the scripting console, and both times, there was no swap.  But I did see a delay after Refresh().  I'd put my money on the Refresh().

You should type in the commands one-by-one and observe any delays that occur. If there is no delay in displaying the prompt after typing in a command and hitting return, then that command couldn't be responsible for the 30s delay.
Also, a pin swap wouldn't be apparent until the Refresh() operation is applied.
Refresh() is exposed through the KiCad Python API. It's just a call into the KiCad screen refresh code. If you're not seeing a delay when doing normal PCBNEW stuff (like zoom in/out), then I don't know why you would see a 30s delay when calling Refresh() within WireIt.
The design I test with has 150 nets and 600-700 pads. How large is your design? Have you got anything on your board that's out of the normal, like strange copper zones or large silkscreen graphics?

The delay I saw was only apparent after Refresh().
I'm on a different machine that has much less delay, but using your tip that graphics might be involved, I switched from Accelerated graphics to Fallback, and I no longer see the delay.  I don't see any delays at any other time, so there is something about doing Refresh() in Accelerated mode.

I love this plugin! Unfortunately, after swapping a few pins and then doing some routing, the icons have disappeared, and when I try runing WireIt again, nothing happens

In case it helps, when first installing WireIt, I had missing icon symbols, but the mouse hover worked & operations worked. That was caused by me miss-reading the instructions, and I had placed the icons in the same dir as the .py file.
When I preserved the subdirectory relative structure of the ZIP, icons appeared, and have never gone away since. (Win10, recent V5 build)

So with accelerated graphics disabled, is the pad swapping delay gone when you are using WireIt normally (i.e., not typing commands into the Python shell)?

It's working normally on my newer machine without delay, but I haven't had a chance to try it on the older one.


Utilize the Rubrik Bootstrap resource

Description
Utilize the Rubrik Bootstrap Resource
Motivation and Context
Why is this change required? What problem does it solve?
How Has This Been Tested?

manual deployment in AWS Sandbox

Screenshots (if appropriate):
Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

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

The include usage example won't work until it's merged to the master branch. You can update the source portion of the example to point to a local directory on your machine for testing though.


Fixed an error in the documentation

In the latest version of Chrome, navigator.credentials.create() requires "registrationOptions.user.id" in addition to the "registrationOptions.user.name"

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

Comparison is base (de9e4a3) 92.86% compared to head (63d412f) 92.86%.
 Consider uploading reports for the commit 6fa1348 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #154   +/-   ##
=======================================
  Coverage   92.86%   92.86%
=======================================
  Files          16       16
  Lines        6023     6023
=======================================
  Hits         5593     5593
  Misses        430      430

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


Inline Markdown Shortcuts (WYSIWYG)

Feature Request 🛍

This feature will be the next part of implementing WYSIWYG #321. As we already added #346 that helps us write heading directly with markdown shortcuts, this will build on top of that.
This feature will help us format text that is inline. This includes:

Code Inline
Italic Text
Bold Text
Bold and Italic Text

Use Case

People will be directly able to write formatted text with the help of markdown shortcuts.
They will be implemented as follows:

Code Inline => `code inline` => code inline
Italic Text => *italic text* => italic text
Bold Text => **bold text** => bold text
Bold and Italic Text => ***bold and italic text*** => bold and italic text

This feels like a duplicate of https://github.com/accordproject/web-components/issues/321. Is there something different about it?

You said here that it will be incremental and to add the changes one by one and use #321 to track all the changes. This is just one part of the entire feature. The entire feature will be added in smaller parts one by one .


S2U-7 T&Q: Several fixes

Renamed "N" column to "Total attempts"
Fixed Total attempts vs Total attempts(n) display in export
Fixed missing not displaying of shorter rows (and possible misalignment) in PDF export

https://sakaiproject.atlassian.net/browse/S2U-7

Yes, should be all resolved now!

Yes, should be all resolved now!

Terrific work!


$growl.off is not a function

getting  $growl.off is not a function and notices are not closing. Please help.

Please re-open if you can provide better steps to reproduce this bug. Otherwise, please review the sample page and ensure you are integrating the same way.

yes the only difference is im using jquery-1.11.0.min.js because 2.0.2 is conflicting with other functions of website.


We need a JSON Log Appender

The goal is to get a JSON output that can be made indexable in for instance InfluxDB or Elastic or similar. In order for us to do that we need to define a format that is consistent for this.
We did some work for the CBS project related to this - can be found here.
It needs to be able to get things from the execution context - which is the real challenge as Logging is our lowest level and things have dependency to it, even the Dolittle.Execution - which holds all the ExecutionContext information. Therefor we need to come up with a way for it to be able to have this information available to it - implicitly, not something any called should be thinking of.
Since TenantID and CorrelationID, which are the most important ones to get are concepts of Guid- we can probably just use Guid as the type and provide callbacks during configuration of the Logger Bootstrap / EntryPoint for getting these. That means we can from a higher level provide the callbacks that will provide the values from the current execution context at any given point.
This is related to both SDK and Runtime as well as we need to set this to default in those:

[ ] Define a format
[ ] Include tenant
[ ] Include correlation Id
[ ] Create appender
[ ] Make it the default appender in C# SDK
[ ] Make it the default appender in Runtime

What should we do with this, @einari ?

Suggestion:
What we can do is let the SetInitialExecutionContext()return the execution context it sets.
public static ExecutionContext SetInitialExecutionContext([CallerFilePath] string filePath = "", [CallerLineNumber] int lineNumber = 0, [CallerMemberName] string member = "")

Introduce a LoggingContext object in the Logging project:
    public class LoggingContext
    {
        public Guid Application { get; set; }
        public Guid BoundedContext { get; set; }
        public Guid TenantId { get; set; }
        public string Environment { get; set; }
        public Guid CorrelationId { get; set; }
    }

Then have a delegate that can provide it:
public delegate LoggingContext GetCurrentLoggingContext();

We can then have it in the Initialize() method for the bootstrapper for logging:
public static ILogAppenders Initialize(ILoggerFactory loggerFactory, GetCurrentLoggingContext getCurrentLoggingContext, Assembly entryAssembly = null)

From something like the SDK Host object or the ASP.NET startup, you can then do the following to put it together - the AsyncLocal<> is an optimization to keep from generating new LoggingContext objects all the time:
    public class Host : IHost
    {
        /// <summary>
        /// Initializes a new instance of <see cref="Host"/>
        /// </summary>
        public Host(ILoggerFactory loggerFactory = null, bool skipBootProcedures=false)
        {
            _initialExecutionContext = ExecutionContextManager.SetInitialExecutionContext();

            if( loggerFactory == null ) loggerFactory = new LoggerFactory();
            var logAppenders = Dolittle.Logging.Bootstrap.EntryPoint.Initialize(loggerFactory, GetCurrentLoggingContext);
            var logger = new Logger(logAppenders);

            var assemblies = Dolittle.Assemblies.Bootstrap.EntryPoint.Initialize(logger);
            var typeFinder = Dolittle.Types.Bootstrap.EntryPoint.Initialize(assemblies);
            Dolittle.Resources.Configuration.Bootstrap.EntryPoint.Initialize(typeFinder);

            var bindings = new[] {
                new BindingBuilder(Binding.For(typeof(IAssemblies))).To(assemblies).Build(),
                new BindingBuilder(Binding.For(typeof(Logging.ILogger))).To(logger).Build(),
                new BindingBuilder(Binding.For(typeof(IHost))).To(this).Build(),
            };

            var result = Dolittle.DependencyInversion.Bootstrap.Boot.Start(assemblies, typeFinder, logger, bindings);
            Container = result.Container;

            if( !skipBootProcedures ) Bootstrapper.Start(Container);
        }

        IExecutionContextManager _executionContextManager;

        AsyncLocal<LoggingContext>  _currentLoggingContext;

        LoggingContext GetCurrentLoggingContext()
        {
            if( _currentLoggingContext.HasValue ) return _currentLoggingContext.Value;

            if( _executionContextManager == null && Container != null )
                _executionContextManager = Container.Get<IExecutionContextManager>();

            var executionContext = null;
            if( _executionContextManager != null ) executionContext = _executionContextManager.Current;
            else executionContext = _initialExecutionContext;

            var loggingContext = new LoggingContext {
                // Values from executionContext
            };

            _currentLoggingContext.Value = loggingContext;
            return loggingContext;
        }

        /// <inheritdoc/>
        public IContainer Container { get; }
}


kpt pipeline validation should return errors compatible with new error format.

We recently introduced internal/errors pkg and have partially used in kpt fn render command. The task here to use the same error format for the pipeline validations.

The error output still needs to be standardized, but pipeline validation is now using the new errors package.


Picking depth precision

For picking, we render to an FBO with a depth renderbuffer attachment.  I believe this depth buffer is only 16-bit fixed point.  In ES 2.0 glRenderbufferStorage only allows GL_DEPTH_COMPONENT16.  WebGL adds DEPTH_STENCIL_ATTACHMENT, which we would think it 24-bit depth and 8-bit stencil, but it doesn't appear to have the same precision as the default framebuffer.
The result is some objects (namely ellipsoids in my branch) do not always get picked when they should.
Multi-frustum with a conservative near-far ratio will fix the problem.  Alternatively, we can

Have separate multi-frustums for pick and non-pick passes.
Use depth textures once they are widely enough supported.

(1) is a workaround for (2), so I recommend we let the multi-frustum fix the problem for the most part, and then do (2) when it's ready.
@bagnell let's discuss.

@bagnell does #2506 fix this?

@bagnell I believe #2506 fixes this, do you agree?

This is fixed AFAIK.


Remove ColorTransition

There are no clients anymore. We added it for the Drawer a while ago,
which is a use case that's now better covered by AnimatedModalBarrier,
complete with semantics.

@Hixie

lgtm


Add support for Wayfire

Wayfire

It's working with Wayfire you can set Waybar to start automatically  in the file wayfire.ini
[autostart]
bar = waybar
You can see it in action:
https://www.youtube.com/watch?v=gWzuFT7Muss&ab_channel=BrunoSt-Gelais

How do you see the windows?

Sorry I don't understand the question, can you elaborate?

Wayfire is already supported.
If you encounter problems to make it work, do not hesitate to reopen and give more details.


Fixing issue related to pandoc-crossref compatibility

minted.lua unconditionally strips the code block identifier when processing with pandoc-crossref. This makes the current implementation of minted.lua  incompatible with pandoc-crossref. Please see this thread  for more details.
This change allows documents filtered by pandoc-crossref and then by minted.lua to preserve references. This combines the best of both worlds.
I was not able to run the tests to check if this is a breaking change, because of this issue in my WSL install. If someone can show me how to run the tests for minted.lua on a Windows machine and there are breaking changes I'd be glad to work through them or add new tests if necessary.
@tarleb

I don't know much about the minted filter; maybe @svenevs as the author of that filter can help?

Sure, I can try :upside_down_face: I've been out of touch with this stuff for years, wrote that filter during jury duty.  @amine-aboufirass it would be helpful if you could share with me a quick minimal working example of a document that is using both minted and pandoc-crossref.  I know I was using crossref at the time, vaguely remember filter order being a thing and that crossref always has to be first or something.  But I should be able to run the tests this weekend if I can find a bootable linux system that's not my work computer.
Existing tests and were happy: https://github.com/pandoc/lua-filters/actions/runs/4375232713/jobs/7655760573#step:4:52
but maybe we should be adding to the test something that uses crossref?  not sure if that's going to be easy

oh sorry read too quick, https://github.com/lierdakil/pandoc-crossref/issues/379 looks like it has enough for me to work with

For your information, the minted package defines \listoflistings exactly as pandoc-crossref does, so it would be safe to reset it to @.*** after minted has been loaded (it would only prevent users from redefining the “List of listings” string via \listoflistingscaption, but pandoc-crossref provides the lolTitle metadata variable for that).


How to adjust TX rate?

I have read your paper about the IOT based WIFI sensing. I want to know how to adjust the TX rate in active_sta project. Thank you very much!

Please see item number 8 in https://github.com/StevenMHernandez/ESP32-CSI-Tool#configuration-esp-idf

I adjust TX from 100 to 1000, but the received data at Rx is still 20. Why？
I flashed the active_ap and active_sta on two different esp32 devices.
Thank you very much!

additionally, when I adjust the Baud rate to 1552000, the system make error: A fatal error occurred: Failed to set baud rate 1552000. The driver may not support this rate.

Setting a high baud rate is very important to achieve high RX rate. I am guessing that there is something with your hardware/software (computer/OS) which prevents this baud rate. I use macOS, so that is what I have been able to test with. With the information I have, I cannot say why it is not working on your system. If you can do more debugging to track down any issues, I would like to hear what you can find though.

Finally, I bought a new ESP device, TTGO T8 V1.7, and the Baud rate can adjust to 1552000. I compared the schematic of the two devices in detail, the difference is the programming chip. The problem is solved by replacing cp2102 chip with cp2104. Next, I measured the RX rate at AP mode on Windows and Raspberrypi, but the RX rate is still very low at about 50HZ. I think that using macOS may improve performance. Inevitably, the RX rate can achieve 240HZ when I programming the esp32 devices with macOS.
However, the RX rate is still low when I only save CSI data to the SD card (about 50HZ).  How to solve this problem? On the other hand, how to measure the RX rate into 600HZ as your paper shows?

Finally, I bought a new ESP device, TTGO T8 V1.7, and the Baud rate can adjust to 1552000. I compared the schematic of the two devices in detail, the difference is the programming chip. The problem is solved by replacing cp2102 chip with cp2104. Next, I measured the RX rate at AP mode on Windows and Raspberrypi, but the RX rate is still very low at about 50HZ. I think that using macOS may improve performance. Inevitably, the RX rate can achieve 240HZ when I programming the esp32 devices with macOS.
However, the RX rate is still low when I only save CSI data to the SD card (about 50HZ).  How to solve this problem? On the other hand, how to measure the RX rate into 600HZ as your paper shows?

The difference between the cp2102 chip and the cp2104 chip is an interesting observation. Thank you for sharing this information.
Because the Serial baud rate is one bottleneck, to achieve higher data rates, you will need to do most processing on the ESP32. By performing computations on the device, you don't need to transmit data over Serial and thus higher data rates should be possible.

The difference between the cp2102 chip and the cp2104 chip is an interesting observation. Thank you for sharing this information.
Because the Serial baud rate is one bottleneck, to achieve higher data rates, you will need to do most processing on the ESP32. By performing computations on the device, you don't need to transmit data over Serial and thus higher data rates should be possible.


Finish integrating HelloServices model on iOS

This patch changes the default flutter create command to generate a
HelloServices-style app on iOS. As a consequence, the Atom integration now
fully works with HelloServices.

@collinjackson @chinmaygarde @devoncarew

lgtm

LGTM

lgtm

As a consequence, the Atom integration now fully works with HelloServices.

For iOS I assume?

Yes, just for iOS.  "fully" is a bit of an overstatement.  :)


Create tests for Twilio API portion

@akanshmurthy - question, any idea if we were planning on having students create their api keys through twillio or use one of our test api keys?

I think they should create their own. That will help them understand the real process of signing up for an API and how to get the keys.

+1
Typed on a phone
On Nov 2, 2016 1:50 PM, "Akansh Murthy"<EMAIL_ADDRESS>wrote:

I think they should create their own. That will help them understand the
real process of signing up for an API and how to get the keys.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/akanshmurthy/railsbridge-hackathon/issues/4#issuecomment-257994780,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACezTKrSXvhUnQ_W36-7SxByL-0jrYkks5q6PeOgaJpZM4KeXTF
.


In Manifest v3

Your code is impossible in v3.
Right?

@Hames0024 - This is something I'd like to know also, any update here please?

Unfortunately due to the Manifest V3 changes I don't believe the functionalities previously held by this extension are possible anymore.  According to Google "Manifest V3 changes how extensions handle modification of network requests. Instead of intercepting network requests and altering them at runtime with chrome.webRequest, your extension specifies rules that describe actions to perform when a given set of conditions is met. Do this using the Declarative Net Request API."

Thank you for the update @markrosenbaum

reenable v2
Mac:
defaults write com.google.Chrome ExtensionManifestV2Availability -int 2

Windows:
regedit `Software\Policies\Google\Chrome\ExtensionManifestV2Availability` to 2


Does not support OR regex (|)-operator

Correct, capture groups and alternation is not supported.
Other issues about the same topic
https://github.com/kokke/tiny-regex-c/issues/11
https://github.com/kokke/tiny-regex-c/issues/28
https://github.com/kokke/tiny-regex-c/issues/38


How to fix MemoryError (f" bam file #{k} could not be sorted by cells. \n\ in run10x and run?

Hi there,
I encountered issue with "Out of memory" when I run10x in velocyto. Looking at the .err file returned from the server cluster, i had issues shown below.
MemoryError (f" bam file #{k} could not be sorted by cells. \n\ in run10x
It further says the error is probably related to an old version of samtools, please install samtools >= 1.6 but I checked and samtools  version 1.10 was used.
It says to set the --samtools_memory option to a value compatible with my system. Otherwise sort mannually by samtools
sort -l [compression] -m [mb_to_use]M -t [tagname] -O BAM -@ [threads_to_use] -o cellsorted_[bamfile] [bamfile]

Anyone has any suggestion how to fix this error?
Thank you so much!

Commands I had in my sh script to run on our server cluster:

After some discussions with @cdi in #76, I tried the code below, but I still got error from the cluster "Run time 00:32:27, OUT_OF_MEMORY."
This time, I made sure that the packages were installed within my conda environment.
I included the cell barcodes file
I checked the bam file
I used the right gtf
Anyone has any other suggestions?
Thank you so much!

Now, I will try to sort the bam file first as below and see if that helps. Fingers-crossed

Hi @denvercal1234GitHub
Saw your comment in my issue's thread - not sure how I can help here.
To answer your questions:
I ended up running velocyto with the run10X command and gave up trying to use run.
I uninstalled and reinstalled samtools, making sure it as the most updated version.
I made sure the  environment had no clashes (conda update --all seems to do the trick) but made sure that my samtools was not downgraded.
If the correct version of samtools and all other packages are up to date, Velocyto will run samtools to sort out your BAM files automatically and have it run in the background while it continues with its own computation.

From what I have read on these forums, the memory is only an issue if your Samtools is not up to date (I just checked and the latest version is 1.14)

@AAA-3 -- In our cluster, we have the samtools/1.10 which should work fine I think? 🥵

I can't remember what the minimum version of samtools was needed but I think that 1.10 should be fine.
I used the possorted_...BAM file given by cell ranger - I did not change my BAM file name as is suggested in some other forums because Samtools (when evoked by Velocyto) will create a sorted one for you (it will sort it by cell ID, cellranger only sorts by position)
CODE:
velocyto run10x -m mm10_repeat_msk.gtf .../outs .../genes.gtf
where -m is followed by the address of my mask file; then I have my cellranger "outs" folder directory address; then finally the address of my reference GTF file.
Also, just make sure that you have also pysam installed - in one of the forums here someone missed out on that package which gave them troubles as well.

@AAA-3 -- Now, when I rerun the run10x, another error appeared "IndexError - list index out of range as reported in #183
@RBBurl1227 any suggestions?

Trying to delete the "exon_number" field in my genes.gtf file according to the suggestions from #117 after seeing my genes.gtf file also contain the exon_number field. Will update how it goes.

This is how my genes.gtf looked before deletion of exon_number field:

I deleted the "; exon_number X" with X being a number field from my gtf and reran run10x, but the error of "IndexError: list index out of range" still there:

This is how my genes.gtf looked after deletion:

I can't help with the GTF file - I don'T even know how you managed to edit it :O

@denvercal1234GitHub I would make sure that not only the tools are installed but also the versions mentioned. Also if you can, just take a portion of your bam say chr1 and run it. If it doesn't then you know it is not memory related. If they provide test data, I would also run that. In addition, you can validate your gtf with gtf validator I think it is called or something along those lines. It will tell you if something is weird going on and where.

Thank you all.
I finally got it to generate loom file. I think there were two main issues with the run10x:

For my cluster which might be different for your cluster, do not create virtual environment. Just use the packages installed by the server administrators
Ensure you have the directory of the count output as directiory that contains the outs folder.
Ensure you have barcodes file as zip version and not unzipped!
Ensure you have the right gtf (it should be one located in /genes/genes.gtf) and masked files downloaded correctly (do md5 checksum if needed).
Ensure you do the manual sorting first of your bam file and that the cellsorted_possorted bam and the original bam.bai files are in the same directory

I wish everyone the best of luck! I managed to get it to generate a loom file, but when I examined the error log, it said "Could not retrieve index file for the cellsorted_possorted_genome_bam.bam." -- Will make another issue!

issue
I faced the same error with run10x when submitting job arrays on a computing cluster (samtools' version is compatible). Initially, I thought the error was due to insufficient memory allocation for each job. Thus, I ran a small test and increased the job's memory limit from 32 GB,  64 GB, and 96 GB to 192 GB, but the error still appeared.
debug
Then, I began to think this was not a memory issue; the error indicated the job was terminated when sorting the bam file. The bam file chunks in the working folder indicated sorting was interrupted. Thus, I began to speculate I could be facing a storage issue, which prevents the sorted data (in memory) from writing to disk.
The storage issue did not enter my mind at first sight, as I had enough space to host the processed data (although I was not far from the quota limit). However, the final step of sorting involves merging the intermediate chunked BAM files into a single integrated BAM file, which increases the overall storage requirement beyond that of the final processed data. Running all jobs concurrently further amplified this storage demand.
Solution
The issue disappears when I reduce the number of concurrent jobs (the extreme solution is to run jobs sequentially).
This issue might only appear in my case, but I still posted it here in case anyone has the same scenario and needs some hints.


Add virtual destructor to satisfy a requirement of some compilers

You make it sound like we're doing a bad thing. How about changing "avoid a warning with some compilers" to "satisfy requirements of some compilers"?

Done.

 What's going on that another commit is required?

I amended a commit post-push, so it wouldn't let me push the change from my local client unless I used --force . Then Github said that my branch was out of date with master, so I merged master. It's all done now and ready to review

To avoid having the merge commit in the future, always bring your client up-to-date before drafting an easy one-off change like this? Remember that GitHub, by its nature of things, will add another merge commit to project history due to the way it works.
LGTM with snobbery. :-\ :-P

It was up to date before I started; it went out-of-date when I did the push
--force. Not sure if that's a causal relationship, though, as I know that
Nico merged something else in the meanwhile.
On Thu, Mar 31, 2016 at 9:48 AM Nathaniel Manista<EMAIL_ADDRESS>wrote:

To avoid having the merge commit in the future, always bring your client
up-to-date before drafting an easy one-off change like this? Remember that
GitHub, by its nature of things, will add another merge commit to
project history due to the way it works.
LGTM with snobbery. :-\ :-P
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/pull/6041#issuecomment-204016532


Recommended update for debt ceilings on Polygon and Arbitrum

Changes in accordance with: https://snapshot.org/#/aave.eth/proposal/0xb1f8b1814d9c09760daa4d7e9fa90d906b2c9ff5fbd20c8d0f5793c4f5cc4999
IPFS preview: https://app.aave.com/governance/ipfs-preview/?ipfsHash=0xc3d2121ca8e90ce2bc2e715bec74f92cb2241e1b88a338a855661865402e2ea7

lgtm (note to self: the extra two digits in ceilings are the difference between dollars and cents)


chore: change disk usage debug log format to decimal

Signed-off-by: bigerous<EMAIL_ADDRESS>
Description

Related Issue

Motivation and Context

Screenshots (if appropriate)
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.

Codecov Report

Merging #1727 (bcec164) into main (a32d64f) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main    #1727   +/-   ##
=======================================
  Coverage   43.76%   43.76%
=======================================
  Files         128      128
  Lines       15817    15817
=======================================
  Hits         6922     6922
  Misses       8375     8375
  Partials      520      520

Flag
Coverage Δ

Object-compatibility-e2etests
?

e2etests
?

unittests
43.76% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

client/daemon/storage/storage_manager.go
15.81% <0.00%> (ø)


Feature/sas

[x] Start verification request emoji and/or decimal
[x] Handle incoming verification request emoji and/or decimal
[x] Fine tuning of cancelled request (interrupted/cancelled by me / by other)
[x] Handle activity return code to refresh calling screens after verification
[x] Stack incoming request and process one by one
[x] Code Cleaning
[x] Changes has been tested on an Android device or Android emulator with API 16
[x] UI change has been tested on both light and dark themes
[x] Pull request is based on the develop branch
[x] Pull request updates CHANGES.rst
[x] Pull request includes screenshots or videos if containing UI changes
[x] Perform complete integration tests with riot-web (app & develop)
[x] Perform complete integration tests with other riot-android (Jelly bean- decimal- to Pie)
[ ] Perform complete integration tests with riot-ios

Screenshots

I've finished the review @BillCarsonFr


Update video link in the example

The old link with the example video was broken.

Thanks for noticing.


implement mobile services on mar view

Implement mobile services overview on MAR view.
Verification:

provision mobile client
provision non-mobile service
provision keycloak and custom runtime connector
in MAR click on Mobile Services tab
-- Confirm that keycloak and custom runtime connector are visible
-- Confirm that non-mobile service is not visible
create binding (manually add binding.aerogear.org/consumer binding.aerogear.org/provider to binding)
-- Confirm that Mobile Services tab is updated
deprovision keycloak and custom runtime connector
-- Confirm that link to catalog is displayed in Mobile Services tab

:eye: :eye:

I was able to see links to Keycloak realms and UPS variants.
+1

@aliok Nice, does the link work? Does it expand the variant when you click it?

@pb82 yes it does. Link works fine.

@aliok I've tried this PR with a UPS variant but it doesn't show for me even though the annotation is there:

I can't see the variant in the Mobile Services tab. Anything i'm missing?

@pb82 you need to do thing described as "binding.aerogear.org/consumer binding.aerogear.org/provider"

add consumer annotation to UPS config with value of the name of the mobile client
add provider annotation to mobile client config with the value of the name of the UPS service

I think it is best if I show you over Bjeans

Can you make this more responsive?


Launcher no error is produced when default block is missing

The default block is not missing, it is empty. Therefore no error is produced.

add configuration for the default block to deploy at least one handler.

Fixed.


Permit child MastNodeIds to exceed the MastNodeIds of their parents

Describe your changes
Permit child MastNodeIds to exceed the MastNodeIds of their parents during deserialization. This came up in the context of #1534 (see this comment chain for details).
Deserialization seems to be the only place where we had a requirement on the mentioned property, judging by the uses of MastNodeId::from_u32_safe.
A new constructor for MastNodeId was introduced that is similar to the existing one, except that it checks against a total expected node count of the forest instead of the current node count of the forest. This allows child IDs to exceed their parent's IDs, such as in a forest like
[Join(1, 2), Block(foo), Block(bar)]

However, we still want forests like this to fail during deserialization:
[Block(foo), Join(0, 2)]

And the added constructor handles these scenarios and both are tested.
Checklist before requesting a review

Repo forked and branch created from next according to naming convention.
Commit messages and codestyle follow conventions.
Relevant issues are linked in the PR description.
Tests added for new functionality.
Documentation/comments updated according to changes.

I'm wondering if we should try the approach I described in https://github.com/0xPolygonMiden/miden-vm/pull/1534#discussion_r1811370694 before going with this direction.

@plafer @bitwalker Do you want to go ahead with this PR? I just rebased and it's ready from my side.


Coverage.py not reporting complexity metrics in cobertura.xml

For any of the files in my project, the cobertura.xml contains always a 0 for complexity.
I have hard time in understanding if the value is not computed by coverage.py (and probably we would prefer a NA then) or if my code has really such a low complexity :)

Coverage.py doesn't measure complexity, so the XML file has no information about it.

Maybe just updating the docs on the reporter? Why reporting zero then?

Can you do an experiment for me? If you remove the complexity attributes from the XML file, what will your reporting tool do with it?  I don't know if the file will be considered valid.

It won't be considered valid, if you open a coverage.py generated coverage.xml the first line says
<!-- Generated by coverage.py: https://coverage.readthedocs.io -->
<!-- Based on https://raw.githubusercontent.com/cobertura/web/master/htdocs/xml/coverage-04.dtd -->

but if you open that DTD, you see that complexity is required, but is not a number, is a string. So why not N/A?

Are you using a reporting tool that reads the XML file?  What does it do with "N/A"?

You are right, although the DTD does not dictate anything around the format of that specific field, making it by contract a free form string, tools probably make assumptions that the number can be parsed.
For example, I am parsing that file via<EMAIL_ADDRESS>github action which assumes it can be parsed into a double, and if cannot returns a 0.
https://github.com/irongut/CodeCoverageSummary/blob/master/src/CodeCoverageSummary/Program.cs#L170
Maybe we should file an issue to cobertura asking them to convert the DTD into XSD :) In coverage.py  we can use a more explicit sentinel value, for example -1 , -99, or  a negative large integer? something that obviously is not a valid complexity value

Wouldn't you say that 0 is obviously not a valid complexity value? :)


Consolidate update frames classes into a single UpdateSettingsFrame class

TTSUpdateSettingsFrame, STTUpdateSettingsFrame, and LLMUpdateSettingsFrame replace the corresponding settings frames for TTS, STT, and LLM.
@aconchillo this is to simplify the updates into a single frame, as you requested. This feels much cleaner!
Also, related to updates, I noticed that there was mixed use of language_code and language for TTS services, so I'm aligning to language for all services.

LGTM! Thank you for doing this! Just minor comment


Upgrade to actix web 2

Addresses #76

Pull Request Test Coverage Report for Build 225

0 of 9 (0.0%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.3%) to 36.477%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/ws/mod.rs
0
1
0.0%

src/ws/session.rs
0
8
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/ws/session.rs
1
0.0%

Totals

Change from base Build 223:
-0.3%

Covered Lines:
321

Relevant Lines:
880

💛  - Coveralls


Removed cron_file command from cron task

After installing ansible-nas on a fresh system I noticed that the healthchecks.io task was failing, even though it was working before. The error message mentions that ansible won't edit cronjobs through the /etc/crontab file.
It could be due to using a newer ubuntu version (22.04) or an updated ansible package, the fix is as easy as removing the cron_file command in the cron task

Didn't fix the issue:

TASK [healthchecks.io : Add healthchecks.io cronjob] ****************************************************************************************************************
skipping: [ansible-nas]

TASK [healthchecks.io : Remove healthchecks.io cronjob] *************************************************************************************************************
fatal: [ansible-nas]: FAILED! => {"changed": false, "msg": "Failed to find required executable crontab in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"}

PLAY RECAP **********************************************************************************************************************************************************
ansible-nas                : ok=71   changed=2    unreachable=0    failed=1    skipped=103  rescued=0    ignored=0

Ubuntu 22 LTS, clean installation.


Build on windows failing due to ecoji lib dependency

PS C:\Users\akncsjnas\Desktop\PT\LLM\garak> pip install -e .
Obtaining file:///C:/Users/acsascassc/Desktop/PT/LLM/garak
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Preparing editable metadata (pyproject.toml) ... done
Collecting base2048>=0.1.3 (from garak==<IP_ADDRESS>.post1)
  Using cached base2048-0.1.3-cp37-abi3-win_amd64.whl.metadata (4.2 kB)
Collecting transformers>=4.19 (from garak==<IP_ADDRESS>.post1)
  Using cached transformers-4.38.1-py3-none-any.whl.metadata (131 kB)
Collecting datasets>=2 (from garak==<IP_ADDRESS>.post1)
  Using cached datasets-2.17.1-py3-none-any.whl.metadata (20 kB)
Requirement already satisfied: colorama>=0.4.3 in c:\python312\lib\site-packages (from garak==<IP_ADDRESS>.post1) (0.4.6)
Requirement already satisfied: tqdm>=4.64.0 in c:\python312\lib\site-packages (from garak==<IP_ADDRESS>.post1) (4.66.1)
Collecting cohere>=4.5.1 (from garak==<IP_ADDRESS>.post1)
  Using cached cohere-4.48-py3-none-any.whl.metadata (6.0 kB)
Collecting openai==1.12.0 (from garak==<IP_ADDRESS>.post1)
  Using cached openai-1.12.0-py3-none-any.whl.metadata (18 kB)
Collecting replicate>=0.8.3 (from garak==<IP_ADDRESS>.post1)
  Using cached replicate-0.24.0-py3-none-any.whl.metadata (23 kB)
Collecting pytest>=8.0 (from garak==<IP_ADDRESS>.post1)
  Using cached pytest-8.0.1-py3-none-any.whl.metadata (7.7 kB)
Collecting google-api-python-client>=2.0 (from garak==<IP_ADDRESS>.post1)
  Using cached google_api_python_client-2.118.0-py2.py3-none-any.whl.metadata (6.6 kB)
Collecting backoff>=2.1.1 (from garak==<IP_ADDRESS>.post1)
  Using cached backoff-2.2.1-py3-none-any.whl.metadata (14 kB)
Collecting rapidfuzz>=3.0.0 (from garak==<IP_ADDRESS>.post1)
  Using cached rapidfuzz-3.6.1-cp312-cp312-win_amd64.whl.metadata (11 kB)
Collecting jinja2>=3.1.2 (from garak==<IP_ADDRESS>.post1)
  Using cached Jinja2-3.1.3-py3-none-any.whl.metadata (3.3 kB)
Collecting nltk>=3.8.1 (from garak==<IP_ADDRESS>.post1)
  Using cached nltk-3.8.1-py3-none-any.whl.metadata (2.8 kB)
Collecting accelerate>=0.23.0 (from garak==<IP_ADDRESS>.post1)
  Using cached accelerate-0.27.2-py3-none-any.whl.metadata (18 kB)
Collecting avidtools==<IP_ADDRESS> (from garak==<IP_ADDRESS>.post1)
  Using cached avidtools-<IP_ADDRESS>-py3-none-any.whl.metadata (290 bytes)
Collecting stdlibs>=2022.10.9 (from garak==<IP_ADDRESS>.post1)
  Using cached stdlibs-2024.1.28-py3-none-any.whl.metadata (4.9 kB)
Collecting langchain>=0.0.300 (from garak==<IP_ADDRESS>.post1)
  Using cached langchain-0.1.8-py3-none-any.whl.metadata (13 kB)
Collecting nemollm>=0.3.0 (from garak==<IP_ADDRESS>.post1)
  Using cached nemollm-0.3.5-py3-none-any.whl.metadata (4.2 kB)
Collecting octoai-sdk>=0.8.0 (from garak==<IP_ADDRESS>.post1)
  Using cached octoai_sdk-0.9.0-py3-none-any.whl.metadata (1.3 kB)
Collecting cmd2==2.4.3 (from garak==<IP_ADDRESS>.post1)
  Using cached cmd2-2.4.3-py3-none-any.whl.metadata (12 kB)
Collecting torch>=2.1.0 (from garak==<IP_ADDRESS>.post1)
  Using cached torch-2.2.0-cp312-cp312-win_amd64.whl.metadata (26 kB)
Collecting sentencepiece>=0.1.99 (from garak==<IP_ADDRESS>.post1)
  Using cached sentencepiece-0.2.0-cp312-cp312-win_amd64.whl.metadata (8.3 kB)
Collecting markdown>=3.4.3 (from garak==<IP_ADDRESS>.post1)
  Using cached Markdown-3.5.2-py3-none-any.whl.metadata (7.0 kB)
Requirement already satisfied: numpy>=1.26.1 in c:\python312\lib\site-packages (from garak==<IP_ADDRESS>.post1) (1.26.3)
Collecting zalgolib>=0.2.2 (from garak==<IP_ADDRESS>.post1)
  Using cached zalgolib-0.2.2-py3-none-any.whl.metadata (6.8 kB)
Collecting ecoji>=0.1.0 (from garak==<IP_ADDRESS>.post1)
  Using cached ecoji-0.1.0.tar.gz (6.5 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [10 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\pujain\AppData\Local\Temp\pip-install-2i3kwylg\ecoji_f2d2247e7796412c8a98e532a917010f\setup.py", line 9, in <module>
          long_description=open("README.md").read(),
                           ^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Python312\Lib\encodings\cp1252.py", line 23, in decode
          return codecs.charmap_decode(input,self.errors,decoding_table)[0]
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 10: character maps to <undefined>
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

thanks for this. will take a look once we're able to test on windows.

+1! Garak installation is not working on windows.

Ref: mecforlove/ecoji-py/issues/4

Thanks for this report. Should be fixed by #626 which is now merged - please re-open if still broken

I tried again this is the error I am getting on windows .  I anyone else facing the same issue ?
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [10 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "\pip-install-1x837ryc\ecoji_4731f0a1e2924af691171bfc16bf785b\setup.py", line 9, in
long_description=open("README.md").read(),
^^^^^^^^^^^^^^^^^^^^^^^^
File ings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 10: character maps to
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.

We tried on 3 machines and it worked on 1 of them

Can you show more of the debug trace, including which versions of garak and ecoji are being summoned? This particular bug is due to a windows bug in the ecoji lib, and we'd like to be able to work around that.

This issue is not within this project's code.  The ecoji v0.1.0 lib cannot install on windows for current Python versions as currently published on PyPI. PR https://github.com/mecforlove/ecoji-py/pull/5 has been offered to the project that will address the install issue however the maintainers will have to merge and release that project.
The workaround is to checkout the ecoji repository and patch the package to install it on windows and then install the remaining requirements for garak.  An example of this is shown here:
git clone https://github.com/mecforlove/garak
git clone https://github.com/mecforlove/ecoji-py

python -m pip install --upgrade pip
cd ecoji-py
echo "mitigate" > README.md
pip install setuptools
python setup.py install
cd ../garak
pip install -r requirements.txt

here are the logs I got
log.txt

for the workaround this is what I am getting
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
aiobotocore 2.7.0 requires botocore<1.31.65,>=1.31.16, but you have botocore 1.34.106 which is incompatible.
anaconda-cloud-auth 0.1.4 requires pydantic<2.0, but you have pydantic 2.7.1 which is incompatible.
conda-repo-cli 1.0.75 requires clyent==1.2.1, but you have clyent 1.2.2 which is incompatible.
spyder 5.4.3 requires pylint<3.0,>=2.5.0, but you have pylint 3.2.0 which is incompatible.

This is again python env related and not something the project controls, I would suggest using a python virtual environment of some sort to be able to generated a available packages path for the env that is compatible.
There are various methods to do this that are all out of scope for this project to document, however consider a conda environment or using venv.


Debounce doesn't works in SSR

Debounce option in query to more performatic search, crash SSR
When I use debounce: 0. Console output:
You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html

Using debounce: 250. Console output:
...more warnings here about mismatch rendering comparing server to client
[Vue warn]: The client-side rendered virtual DOM tree is not matching server-rendered content.
This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.

You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html

My graphql API runs on the same server that renders my app, for more perfomance I use apollo-link-schema.
My query:
query GetAllNotes($search: String) {
  getAllNotes(search: $search) {
    id
    name
    done
    created_at
    itens {
      id
      name
      price
      quantity
    }
    user {
      id
      name
    }
  }
}

The search variable updates every time when I type
My configuration:

Module
Version

vue-apollo
3.0.0-beta.28

graphql
14.2.1

apollo-client
2.5.1

apollo-link-http
1.5.14

apollo-link-schema
1.2.2

Thank's for attention.

Hello! Can you create a reproduction link? https://codesandbox.io/

I am also experiencing this.
As a workaround, I employed setOptions in the mounted hook (so that it only runs on the client):
mounted() {
	// debounce settings need to be applied on the client, otherwise, hydration problems ensue
	const options = {
		debounce: 300,
	};

	this.$apollo.queries.QUERY_NAME.setOptions(options as any)
}

Ideally, debounce would be ignored in SSR (seeing as how there are no user events to handle)

Solution above doesn't work for me. Option is set, but on client side debounce is still 0.
vue-apollo 3.0.0 with nuxt 2.10.1

@dhritzkiv 's answer didn't work for me either but I managed to solve it that way.

Set debounce to false in smart query
name: { query: Query, variables() {  return {} }, debounce: false }

Put in mounted:
this.$apollo.queries.Q_NAME.stop() this.$apollo.queries.Q_NAME.setOptions({ debounce: 500 }) this.$apollo.queries.Q_NAME.start()

It didn't work without stopping and starting so I think it is necessary so apollo resets watchers (?) correct me if I'm wrong

FWIW, 8d5734d fixed using the debounce issue on the server, and I am now able to use it as intended (from the smart query component options).
Using vue-apollon 3.0.2, @nuxtjs/apollo 4.0.0-rc18, apollo-client 2.6.8


Movieclip not stopping on appropiate frame

if a this.stop() is added as a frame action, sometimes the movieclip does not stop in that frame but on the next one.

This is because in the MovieClip code (line 519), several frames can be advanced without any checking (and their actions called) if the time step is big enough:
while (frames--) { this._updateTimeline(this._rawPosition+1, false); }
I solved it by just added a checking before processing each frame:
while (frames-- && !this.paused) { this._updateTimeline(this._rawPosition+1, false); }

Good catch. Looking at the code, there's a comment immediately above that:
// TODO: should we also check this.paused here instead?
So it looks like I was thinking about this, but didn't come back to it.
I'm going to remove the check for this.paused above that, and inject the check in the while loop similar to your solution. This will also allow this._t to be updated correctly even while paused.

Resolved with 70f9d9a9fd9858d8bd1711ddc120b2c5be1bcc37


Remove unnecessary ToQueue call

See https://github.com/thomhurst/TUnit/pull/1159/files#r1829940136

Eagle eyed! Thanks @campersau


Fix cake animation glitch

The cake animation has a glitch after / when the little fireworks carrier disappears. Make it smoother.

Most of it was fixed


Add tools for funannotate gtn tutorial

Adding tools for the Funannotate GTN tutorial
There will be some data managers to run afterwards, and possibly licensed components to install/configure for interproscan if you want to make them available (not mandatory)
(same PR on .org.au: https://github.com/usegalaxy-au/usegalaxy-au-tools/pull/702)

All the tools from the GTN training have been installed


I See only one Channel.

Hey there, i see only one channel in Plex. The console of plexheadend found 301 Channels. What do i wrong?

I have the same problem. Is there any solution?

Yes.
Add channel numbers to the channels and that should do it. That did it for me.

Thanks! That helped. :+1:


An error ocurred: The service did not respond to the start or control request in a timely fashion

Hello, I've been banging with my head on the wall with this one.
When I try to register the service with "c:\Services\KBBService_PT>dotnet.exe C:\Services\KBBService_PT\KBBService.dll --register-service", it just wont start, but creates it.
If I open a cmd (always admin mode) and run it as  "c:\Services\KBBService_PT>dotnet.exe C:\Services\KBBService_PT\KBBService.dll --interactive" it runs the service in the console as suposed.
If I manually call the service with "--run-as-service" happens the same as when I call the "--register-service".
I'm running the latest version of the code, on a windows 10 LTSB, and also tried on a Windows Server 2012 R2.
Bellow is a call stack and error message:
C:\Services\KBBService_PT>dotnet.exe C:\Services\KBBService_PT\KBBService.dll --register-service
2017-12-05 17:36:22.174 - An error ocurred: The service did not respond to the start or control request in a timely fashion
------ STACK TRACE: ------
at DasMulli.Win32.ServiceUtils.ServiceHandle.Start(Boolean throwIfAlreadyRunning) in E:_Git\KBB_MVC\DasMulli.Win32.ServiceUtils\ServiceHandle.cs:line 44
at DasMulli.Win32.ServiceUtils.Win32ServiceManager.DoUpdateService(ServiceHandle existingService, ServiceDefinition serviceDefinition, Boolean startIfNotRunning) in E:_Git\KBB_MVC\DasMulli.Win32.ServiceUtils\Win32ServiceManager.cs:line 193
at DasMulli.Win32.ServiceUtils.Win32ServiceManager.CreateOrUpdateService(ServiceDefinition serviceDefinition, Boolean startImmediately) in E:_Git\KBB_MVC\DasMulli.Win32.ServiceUtils\Win32ServiceManager.cs:line 165
at KBBService.Program.RegisterService() in E:_Git\KBB_MVC\KBBService\Program.cs:line 122
at KBBService.Program.Main(String[] args) in E:_Git\KBB_MVC\KBBService\Program.cs:line 37System.ComponentModel.Win32Exception (0x80004005): The service did not respond to the start or control request in a timely fashion
at DasMulli.Win32.ServiceUtils.ServiceHandle.Start(Boolean throwIfAlreadyRunning) in E:_Git\KBB_MVC\DasMulli.Win32.ServiceUtils\ServiceHandle.cs:line 44
at DasMulli.Win32.ServiceUtils.Win32ServiceManager.DoUpdateService(ServiceHandle existingService, ServiceDefinition serviceDefinition, Boolean startIfNotRunning) in E:_Git\KBB_MVC\DasMulli.Win32.ServiceUtils\Win32ServiceManager.cs:line 193
at DasMulli.Win32.ServiceUtils.Win32ServiceManager.CreateOrUpdateService(ServiceDefinition serviceDefinition, Boolean startImmediately) in E:_Git\KBB_MVC\DasMulli.Win32.ServiceUtils\Win32ServiceManager.cs:line 165
at KBBService.Program.RegisterService() in E:_Git\KBB_MVC\KBBService\Program.cs:line 122
at KBBService.Program.Main(String[] args) in E:_Git\KBB_MVC\KBBService\Program.cs:line 37
And bellow my Program.cs (Configs appear to be loading correctly):
using DasMulli.Win32.ServiceUtils;
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;

using static System.Console;

namespace KBBService
{
	public class Program
	{
		private const string RunAsServiceFlag = "--run-as-service";
		private const string ServiceWorkingDirectoryFlag = "--working-directory";
		private const string RegisterServiceFlag = "--register-service";
		private const string PreserveWorkingDirectoryFlag = "--preserve-working-directory";
		private const string UnregisterServiceFlag = "--unregister-service";
		private const string InteractiveFlag = "--interactive";
		private const string HelpFlag = "--help";

		public static void Main(string[] args)
		{
			//cd to the directory where the project files are
			//dotnet.exe C:\Program Files\dotnet\dotnet.exe C:\Services\KBBService_PT\KBBService.dll --register-service
			////sc.exe create KBBService_PT DisplayName= "KBBService_PT" binpath= "C:\Program Files\dotnet\dotnet.exe C:\Services\KBBService_PT\KBBService.dll --run-as-service"
			Configs.Load();

			try
			{
				if (args.Contains(RunAsServiceFlag))
				{
					RunAsService(args);
				}
				else if (args.Contains(RegisterServiceFlag))
				{
					RegisterService();
				}
				else if (args.Contains(UnregisterServiceFlag))
				{
					UnregisterService();
				}
				else if (args.Contains(HelpFlag))
				{
					DisplayHelp();
				}
				else
				{
					RunInteractive(args);
				}
			}
			catch (Exception ex)
			{
				Service.Log(true, $"An error ocurred: {ex.Message}", ex);
			}
		}

		private static void RunAsService(string[] args)
		{
			// easy fix to allow using default web host builder without changes
			var wdFlagIndex = Array.IndexOf(args, ServiceWorkingDirectoryFlag);
			if (wdFlagIndex >= 0 && wdFlagIndex < args.Length - 1)
			{
				var workingDirectory = args[wdFlagIndex + 1];
				Directory.SetCurrentDirectory(workingDirectory);
			}
			else
			{
				Directory.SetCurrentDirectory(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location));
			}
			var mvcService = new Service(args.Where(a => a != RunAsServiceFlag).ToArray());
			var serviceHost = new Win32ServiceHost(mvcService);
			serviceHost.Run();
		}

		private static void RunInteractive(string[] args)
		{
			var mvcService = new Service(args.Where(a => a != InteractiveFlag).ToArray());
			mvcService.Start(new string[0], () => { });
			WriteLine("Running interactively, press enter to stop.");
			ReadLine();
			mvcService.Stop();
		}

		private static void RegisterService()
		{
			// Environment.GetCommandLineArgs() includes the current DLL from a "dotnet my.dll --register-service" call, which is not passed to Main()
			var commandLineArgs = Environment.GetCommandLineArgs();

			var serviceArgs = commandLineArgs
				.Where(arg => arg != RegisterServiceFlag && arg != PreserveWorkingDirectoryFlag)
				.Select(EscapeCommandLineArgument)
				.Append(RunAsServiceFlag);

			var host = Process.GetCurrentProcess().MainModule.FileName;

			if (!host.EndsWith("dotnet.exe", StringComparison.OrdinalIgnoreCase))
			{
				// For self-contained apps, skip the dll path
				serviceArgs = serviceArgs.Skip(1);
			}

			if (commandLineArgs.Contains(PreserveWorkingDirectoryFlag))
			{
				serviceArgs = serviceArgs
					.Append(ServiceWorkingDirectoryFlag)
					.Append(EscapeCommandLineArgument(Directory.GetCurrentDirectory()));
			}

			var fullServiceCommand = host + " " + string.Join(" ", serviceArgs);

			// Do not use LocalSystem in production.. but this is good for demos as LocalSystem will have access to some random git-clone path
			// Note that when the service is already registered and running, it will be reconfigured but not restarted
			var serviceDefinition = new ServiceDefinitionBuilder(Configs.ServiceName)
				.WithDisplayName(Configs.ServiceDisplayName)
				.WithDescription(Configs.ServiceDescription)
				.WithBinaryPath(fullServiceCommand)
				.WithCredentials(Win32ServiceCredentials.LocalSystem)
				.WithAutoStart(true)
				.Build();

			new Win32ServiceManager().CreateOrUpdateService(serviceDefinition, startImmediately: true);

			WriteLine($@"Successfully registered and started service ""{Configs.ServiceDisplayName}"" (""{Configs.ServiceDescription}"")");
		}

		private static void UnregisterService()
		{
			new Win32ServiceManager()
				.DeleteService(Configs.ServiceName);

			WriteLine($@"Successfully unregistered service ""{Configs.ServiceDisplayName}"" (""{Configs.ServiceDescription}"")");
		}

		private static void DisplayHelp()
		{
			WriteLine(Configs.ServiceDescription);
			WriteLine();
			WriteLine("This demo application is intened to be run as windows service. Use one of the following options:");
			WriteLine();
			WriteLine("  --register-service            Registers and starts this program as a windows service named \"" + Configs.ServiceDisplayName + "\"");
			WriteLine("                                All additional arguments will be passed to ASP.NET Core's WebHostBuilder.");
			WriteLine();
			WriteLine("  --preserve-working-directory  Saves the current working directory to the service configuration.");
			WriteLine("                                Set this wenn running via 'dotnet run' or when the application content");
			WriteLine("                                is not located nex to the application.");
			WriteLine();
			WriteLine("  --unregister-service          Removes the windows service creatd by --register-service.");
			WriteLine();
			WriteLine("  --interactive                 Runs the underlying asp.net core app. Useful to test arguments.");
		}

		private static string EscapeCommandLineArgument(string arg)
		{
			// http://stackoverflow.com/a/6040946/784387
			arg = Regex.Replace(arg, @"(\\*)" + "\"", @"$1$1\" + "\"");
			arg = "\"" + Regex.Replace(arg, @"(\\+)$", @"$1$1") + "\"";
			return arg;
		}
	}

	public class Service : IWin32Service
	{
		private readonly string[] commandLineArguments;

		public string ServiceName => Configs.ServiceName;

		public Service(string[] commandLineArguments)
		{
			this.commandLineArguments = commandLineArguments;
		}

		public void Start(string[] startupArguments, ServiceStoppedCallback serviceStoppedCallback)
		{
			Log(false, $"Service {ServiceName} Started");
			ErrorHandler.Log($"Service {ServiceName} Started", ExceptionLevel.Warning);
			ThreadManager.Start();//aka Do Stuff
		}

		public void Stop()
		{
			Log(false, $"Service {ServiceName} Stopped");
			ErrorHandler.Log($"Service {ServiceName} Stopped", ExceptionLevel.Warning);
			ThreadManager.Stop();//aka Stop Stuff
		}

		public static void Log(bool error, string message = null, Exception ex = null, ExceptionLevel exceptionLevel = ExceptionLevel.Regular)
		{
			if (message == null)
			{
				message = string.Empty;
			}

			lock (typeof(Service))
			{
				if (error)
				{
					if (ex == null)
					{
						ErrorHandler.Log(message, exceptionLevel);
					}
					else
					{
						ErrorHandler.Log(ex, message, exceptionLevel);
						message += "\r\n--------------------------\r\n";
						message += GetStack(ex);
					}
				}

				DateTime dtNow = DateTime.UtcNow;
				message += (ex == null ? string.Empty : ex.ToString());

				Console.WriteLine(dtNow.ToString("yyyy-MM-dd HH:mm:ss.fff") + " - " + message);

				string sFileName = dtNow.Year + "_" + dtNow.Month + "_" + dtNow.Day + ".txt";

				if (!Directory.Exists(Configs.LogPath))
				{
					Directory.CreateDirectory(Configs.LogPath);
				}

				File.AppendAllText(Configs.LogPath + "\\" + sFileName, dtNow.ToString("yyyy-MM-dd HH:mm:ss.fff") + " - " + message + Environment.NewLine + Environment.NewLine + Environment.NewLine);
			}
		}
		private static string GetStack(Exception ex)
		{
			if (ex == null)
			{
				return string.Empty;
			}

			string stacktrace = "\r\n------ STACK TRACE: ------";

			if (ex.StackTrace != null)
			{
				stacktrace += ex.StackTrace.ToString();
				stacktrace = stacktrace.Replace("at ", "\r\nat ");
			}

			return stacktrace;
		}
	}
}

If you need any more info, just let me know.

Do any of these log messages end up on disk? it may also help to put a try/catch around the contents of the RunAsService method and log any exception.
Also, does ThreadManager.Start() block the method or does it return immediately after kicking off some background work? The IWin32Service.Start method is required to exit when startup is completed. This exit (without exception) will cause the service host to report the "Started" state of the service. The error message you are seeing usually indicates that this state (or any other state) is not being reported.

Indeed the ThreadManaget.Start() would block the method, I've changed that to:
Thread thread = new Thread(new ThreadStart(ThreadManager.Start));
thread.Start();

Still the problem persists. The stack I wrote is the result of try/catch right after the Configs.Load();
I tried to debug calling the RunAsService method and the breakpoint I put in the Start method is never reached, went to the Event Viewer and found this:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
	<System>
		<Provider Name=".NET Runtime" />
		<EventID Qualifiers="0">1022</EventID>
		<Level>2</Level>
		<Task>0</Task>
		<Keywords>0x80000000000000</Keywords>
		<TimeCreated SystemTime="2017-12-06T09:48:52.000000000Z" />
		<EventRecordID>50378</EventRecordID>
		<Channel>Application</Channel>
		<Computer>DGaspar</Computer>
		<Security UserID="S-1-5-21-1078081533-436374069-1202660629-9033" />
	</System>
	<EventData>
		<Data>.NET Runtime version 4.0.30319.0 - Loading profiler failed during CoCreateInstance. Profiler CLSID: '{de70e25c-02b5-4556-a837-8aa6fe502668}'. HRESULT: 0x8007007e. Process ID (decimal): 7736. Message ID: [0x2504].</Data>
	</EventData>
</Event>

For what I can see it fails on if (!nativeInterop.StartServiceCtrlDispatcherW(serviceTable)) in Win32ServiceHost class, when I call serviceHost.Run();
If you need any more info, just let me know.

if you start and debug the RunAsService method, it is expected to fail at this point because the native method called here expects that it can connect to the windows service management system, which only works when the process is started by it (== when the process is started because the windows service is started).
As stated in https://github.com/dasMulli/dotnet-win32-service/issues/18#issuecomment-267798630, you could try adding a
while (!Debugger.IsAttached)
{
    Thread.Sleep(100);
}

loop to the process, start the windows service via the service management console and attach to it via VS (you'd have to be quick though. this is the only way to really debug a windows service when actually running as service, even with ServiceBase).
The event looks a bit strange - a .NET Core service shouldn't try to load the full .NET Runtimee.

Found out the problem, I was trying to load configs with:
		var builder = new ConfigurationBuilder()
			.SetBasePath(Directory.GetCurrentDirectory())
			.AddJsonFile("appsettings.json", false, true);

		var root = builder.Build();

But apparently it doesn't like those nuggets (Microsoft.Extensions.Configuration, Microsoft.Extensions.Configuration.FileExtensions and Microsoft.Extensions.Configuration.Json).
Guess I'll have to find another way to load my configs without using the IWebHost builder (this service is not gonna do anything related to Web so in my head it doesn't make sense to use it, I may be wrong tho)

You may want to take a look at the MVC sample which has a feature to preserve the working directory from where the register call is made.
A windows service always starts with the working directory being the system32 directory. So your application was likely looking for a C:\Windows\system32\appsettings.json file.

Closing since you found the issue(s) specific to your application.

@dasMulli  Just in case you know.
Is there a good way to load configs?

I do like the configuration system that comes with asp.net core. Using the Microsoft.Extensions.Configuration NuGet package is useful even in non-asp.net core scenario.
In case of windows services, you'll have too look for the config files next to your application. E.g. get the directory part from typeof(Program).Assembly.Location and use it for new ConfigurationBuilder().SetBasePath(…)….
I've even used this configuration system in combination with .NET Framework 4.7.1's now ConfigBuilders system to determine resolved values from multiple json files when loading a config for a classic ASP.NET app.

@dasMulli  Would you imagine that, that last message was what unlocked everything?
Reinstalled the Microsoft.Extensions.Configuration.Json nugget and tried the ConfigurationBuilder().SetBasePath(typeof(Program).Assembly.Location); and it said "invalid path" (ofc it was duhh), then tried hammering down the path just to see if it worked, IT DID. I think tears were seen in my eyes :)
All of this was only because of the Directory.GetCurrentDirectory()
Ended up loading the configs (as suggested by you) with:
System.Reflection.Assembly assembly = typeof(Program).Assembly;
var builder = new ConfigurationBuilder()
	.SetBasePath(assembly.Location.Replace(assembly.ManifestModule.Name, string.Empty))
	.AddJsonFile("appsettings.json", false, true);

Thank you very much!
I would suggest adding an example loading the configs with way, because the internet is all over the Directory.GetCurrentDirectory() and never the typeof(Program).Assembly.Location

Glad you figured it out! I think we all wasted weeks of your life figuring out such config stuff..
The problem is that even .SetBasePath(Path.GetDirectoryName(typeof(Program).Assembly.Location)) doesn't work in all cases. For example an asp.net core app is run with the project directory as working directory and this line would cause it to look int ..\bin\Debug\netcoreapp2.0\ where there is no config file by default. Only the published output will include one. That's why I chose to pursue the "preserve current working directory" strategy which works saving a config that works from dotnet run during development and dotnet my.dll on the published output both incases where running interactively would also work from the same setup.

@dasMulli In my case this code will be more idiot prof (the idiot probably would be me in a few moths), this way there is no need for the --preserve-working-directory:
string assemblyPath = Path.GetDirectoryName(typeof(Program).Assembly.Location);
string path = assemblyPath.Contains(@"\bin\") ? Directory.GetCurrentDirectory() : assemblyPath;

var builder = new ConfigurationBuilder()
	.SetBasePath(path)
	.AddJsonFile("appsettings.json", false, true);

var root = builder.Build();

As far as I've tested it works both ways


Add custom performance linting rules.

Ban certian modules (underscore, lodash, sinon).
Ban .bind()
Ban try catch

r: @jcorbin @Matt-Esch @malandrew

This needs more work.
Specifically it needs a way to opt-into marking code as performance sensitive; or a way of opting out.
Ideally I want an option to opt out my tests and mark my tests as "not performance sensitive"

The try-catch rule which was in lint-trap is good as is. Feel free to add it as a separate pull request. The other rules require more discussion.


Subscriptions in typescript definitions

Great library.
can you please add Subscriptions in type defs.
`
declare class AmazonMWS {
constructor()

constructor(key: string, token: string);

setApiKey(key: string, secret: string): void;

setHost(host?: string, port?: string, protocol?: string): void;

feeds: Feeds;

finances: Finances;

fulfillmentInboundShipment: FulfillmentInboundShipment;

fulfillmentInventory: FulfillmentInventory;

fulfillmentOutboundShipment: FulfillmentOutboundShipment;

merchantFulfillment: MerchantFulfillment;

orders: Orders;

products: Products;

reports: Reports;

sellers: Sellers;

}
`

@lohiaad
Corrected in #76

@lohiaad
The new version has been released with a fixed and new feature.
https://github.com/bhushankumarl/amazon-mws/releases/tag/v0.0.24


Can't move tabs around up top?

Windows Terminal version
1.13.11431.0
Windows build number
[Version 10.0.19044.1706]
Other Software
No response
Steps to reproduce
Try to move the last tab as the first tab
Expected Behavior
To be able to have the last tab move to be the first tab
Actual Behavior
You cant move it.
Is this intended or a bug?

Are you running as administrator/? (alternatively, did you disable UAC?)
(this should work, except when running elevated)

The TL;DR is that the modern drag-drop service throws an exception we can't catch when trying to drop something onto an elevated window, so dragging an elevated tab effectively crashes the Terminal. Hence why it's disabled in elevated windows. I think the oldest thread on this topic is #3581.
/dup #6661


Update S3TransferManager Swift sample

This PR updates the S3TransferManager Swift sample to compile with Swift 2.1, and also updates the project's Podfile to be compatible with CocoaPods 1.0.0-beta.5.
The PR builds on top of @gonzalovilaseca work in #57, but uses a style that is more in line with Swift 2.x, by using guard, and more secure, by avoiding ! to implicitly unwrap optionals.
Cheers :beers:

Thanks for the pull request! We will take a look through it.

We've updated the samples for the CocoaPods 1.0.0 and the latest Swift. Thanks.


WIP: Import Pathway

WIP: Still needs updates to handle references to CQL statements in other libraries and some testing.
Adds the ability to import a pathway from the UI.  Currently there are no checks for ensuring that the uploaded pathway is actually valid.

Discussed with @radamson this morning, and we decided on 4 tasks we still need to address:

[ ] import any referenced libraries into the CriteriaProvider
[ ] re-assign transition CQL/criteriaSource after importing the referenced libraries
[ ] the "main" library should only include CQL that was constructed with the criteria builder (anything else should be referenced directly in its original library from the transition.condition..cql field )
[ ] clean up the cpg.ts logic and make it available to both the CPG exporter and Camino exporter


Flutter [In_App_Purchase] Flutter Purchase Stream not getting called for Refund of purchases.

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
This issue is similiar to this flutter issue: https://github.com/flutter/flutter/issues/107755.
But it was closed and the pull request fixing this issue wasn't merged.

In the sample app of in_app_purchase package, issue purchase of a non-consumable time, one-time purchase.
After successful completion of the purchase, issue a refund from the play console and revoke entitlements.
The refund doesn't show in the purchase stream, and the restorePurchases() function shows that the purchase status is completed.

Expected results

After calling the restore purchases function, it should show that the purchase has not been done.

Actual results

The purchase status is not correctly reflecting the status of purchase.

Code sample
In App Purchase Function

Code sample
handlePurchases() async {
    inAppPurchase = InAppPurchase.instance.purchaseStream.listen(
        (purchaseDetailsList) async {
      for (var purchaseDetails in purchaseDetailsList) {
        print("PurchaseDetails: ${purchaseDetails.status.name}");
        if (purchaseDetails.status == PurchaseStatus.error) {
        } else if (purchaseDetails.status == PurchaseStatus.purchased ||
            purchaseDetails.status == PurchaseStatus.restored) {
//TODO : Handle correct purchases
          }
        }
        else if (purchaseDetails.pendingCompletePurchase) {
          await InAppPurchase.instance.completePurchase(purchaseDetails);
        }
        else if (purchaseDetails.status == PurchaseStatus.canceled) {
        }
      }
    }, );
    try {
      InAppPurchase.instance.restorePurchases();
    } on Exception catch (e) {
      print(e);
    }
  }

Flutter Doctor output
C:\Users\lenovo>flutter doctor -v

[√] Flutter (Channel stable, 3.10.1, on Microsoft Windows [Version 10.0.22621.1778], locale en-US)
    • Flutter version 3.10.1 on channel stable at C:\Users\lenovo\AppData\Local\Flutter\flutter_windows_2.10.3-stable\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d3d8effc68 (6 weeks ago), 2023-05-16 17:59:05 -0700
    • Engine revision b4fb11214d
    • Dart version 3.0.1
    • DevTools version 2.23.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0-rc4)
    • Android SDK at G:\Android\Sdk\
    • Platform android-UpsideDownCake, build-tools 34.0.0-rc4
    • ANDROID_HOME = G:\Android\Sdk\
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)
    • All Android licenses accepted.

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.2)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.31624.102
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2022.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)

[√] VS Code (version 1.79.2)
    • VS Code at C:\Users\lenovo\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.66.0

[√] VS Code (version 1.79.0-insider)
    • VS Code at C:\Users\lenovo\AppData\Local\Programs\Microsoft VS Code Insiders
    • Flutter extension version 3.64.0

[√] Connected device (1 available)
    • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22621.1778]

[√] Network resources
    • All expected network resources are available.

• No issues found!

Thanks for the report @abhineetchandan
I issue you linked was closed in favor of another issue that was fixed and the fix was made in Android implementation of the plugin as mentioned here: https://github.com/flutter/flutter/issues/107454#issuecomment-1206599105
So if you are already not using the latest plugin version, please try flutter pub upgrade and run your scenario again to see if it still persists or not.

Yes, Sorry for the late response. It is working on latest version.


⚠ Home NAS has degraded performance

In 8b3abb0, Home NAS ($MY_NAS_URL) experienced degraded performance:

HTTP code: 200
Response time: 10108 ms

Resolved: Home NAS performance has improved in 4eea293 after 7 minutes.


Improve performance of environment

I was profiling an environment I wrote, based on the qgym template environment.
A call of copy.deepcopy() in the step() function of the environment template took most of the time.
The state is copied in the step() function to give the old_state and the current_state to the rewarder. I can see that this is necessary in some cases, but for some reward schemes, the old_state might not be required and the performance could be improved by removing the copy.
A solution idea:  the old_state should be optional in the rewarders, and if it's not required the copy function should not be executed.
However, I am not sure how to implement that properly.
Any ideas are  welcome :)

Hey @christian512, thank you for your analysis and raising this issue. This analysis is certainly valuable!
The deepcopy indeed takes up a significant portion of time! We recognise that it is worth some effort to avoid unnecessary deepcopies, as it would speed up training significantly.
I am not sure whether the old_state can be made optional for the rewarder to still function correctly, but this would be something to figure out. Moreover, we would also have to think through the balance between user-friendliness and performance.
We would like to work on this issue (in collaboration with you?), but currently do not have the time available. We hope to have a look into this in 2025.


No services for Android 7.0

I'm not sure if it is related to the Android version, but my Google Nexus 6 Android version 7.0 is not able to discover all the services of a Bluetooth LE-device.
For example: when connecting to a PunchThrough Bean-device I can only discover 1 service instead of the usual 10 (service ID: F000FFC0-0451-4000-B000-000000000000).

Please share your discovery code.  Also, do other BLE scanner apps pick up the additional services?

The Monkey Robotics plugin gives the same result: only 1 service found. Another device with Android 6.0.1 does find the other services.
The code:
Device.Connect().Subscribe();
Device.WhenServiceDiscovered().Subscribe(service =>
            {
                var desc = service.Description;
                service.WhenCharacteristicDiscovered().Subscribe(characteristic =>
                {
                    var bytes = characteristic.Value;
                });
            });

There is no problems I can see with your code.  As requested, please try another actual scanner app and see if it produces the services you think should be present.

I've tried the app "Bluetooth LE Scanner". The Google Nexus 6-device can only find 1 service, while the other Android-device can find everything.
Are there some settings I need to activate on this device in order to find the other services?

This kind of goes outside of a library problem then.  If two libraries and a scanner app are only picking up one service on the particular phone, it sounds like a problem with the phone.
As for settings, not that I know of.


[STORM-2563] Remove the workaround to handle missing UGI.loginUserFromSubject

https://github.com/apache/storm/blob/master/storm-client/src/jvm/org/apache/storm/security/auth/kerberos/AutoTGT.java#L225
The "userCons.setAccessible(true)" invokes constructor of a package private class bypassing the Java access control checks and raising red flags in our internal security scans.
The "loginUserFromSubject(Subject subject)" has been added to UGI (https://issues.apache.org/jira/browse/HADOOP-10164) and available since Hadoop version 2.3 released over three years ago (http://hadoop.apache.org/releases.html).
I think the workaround is no longer required since the case will not happen when using hadoop-common versions >= 2.3
@revans2 , could you take a look ?

+1
We've been setting hadoop.version as 2.6.1 for a long period so if it's an workaround for lower version, we could remove it. But it would be better to wait for @revans2 to review this as well.

+1


Logger middleware should implement Hijacker

Hi guys,
I'm having an issue with Websocket. It is probably a regression because it was working 2 or 3 weeks ago.
# traefik.toml

[entryPoints]
        [entryPoints.http]
                address = ":80"

[file]

[backends]
  [backends.backend1]
      [backends.backend1.servers.server1]
            url = "<IP_ADDRESS>:8000"

defaultEntryPoints = ["http"]

[frontends]
  [frontends.frontend1]
    backend = "backend1"
    rule = "Path:/ws/"

# start a websocket server
docker run --rm -p 8000:8000 joshgubler/wscat -l 8000

# establish a connection with a websocket client
wscat -c ws://<IP_ADDRESS>/ws/

Logs:
time="2016-05-12T09:20:16Z" level=warning msg="Unable to hijack the connection: the ResponseWriter doesn't support the Hijacker interface"
<IP_ADDRESS> - - [12/May/2016:09:20:16 +0000] "GET /ws/ HTTP/1.1" 500 21 "" "" 2 "frontend1" "<IP_ADDRESS>:8000" 350.13µs

I localised the bug between v1.0.0-beta.582 and v1.0.0-beta.601

Can you confirm that it was working with v1.0.0-beta.58 and that it is not working since v1.0.0-beta.601 ?

I confirm that there is a bug in https://github.com/containous/traefik/blob/master/middlewares/logger.go#L44. It should support Hijacker https://golang.org/pkg/net/http/#Hijacker.
Workaround is to disable access logs for now.
/cc @tooda02

Fixed in #369

Nice !! Thanks for your help @emilevauge ;-)


missing datepicker and other ui

During quickstart I get several red lines, such as just below. When I then use signalserver it is missing the date picker and other ui elements.
bower datetimepicker#~2.5.4     invalid-meta for:/tmp/81693e6d8e09ee1fca3a6acf03cd63a5/bower/050459a097f51a2f9fb937d44c89fde7-6-BPfnu4/bower.json
bower datetimepicker#~2.5.4     invalid-meta The "main" field cannot contain minified files
bower bootstrap#~3.1.1          invalid-meta for:/tmp/81693e6d8e09ee1fca3a6acf03cd63a5/bower/ca4c50b905dc21ea17a10549a6f5944f-6-35zgaO/bower.json
bower bootstrap#~3.1.1          invalid-meta The "main" field cannot contain font, image, audio, or video files
bower bootstrap#~3.1.1          invalid-meta The "main" field cannot contain font, image, audio, or video files
bower bootstrap#~3.1.1          invalid-meta The "main" field cannot contain font, image, audio, or video files
bower bootstrap#~3.1.1          invalid-meta The "main" field cannot contain font, image, audio, or video files

Here is a fuller context of that:
Step 7/8 : COPY ./frontend/bower.json bower.json
 ---> 1a2b289fb4d2
Removing intermediate container 57132e92b248
Step 8/8 : RUN bower install --allow-root
 ---> Running in fd33c62191d0
bower datetimepicker#~2.5.4 not-cached https://github.com/xdan/datetimepicker.git#~2.5.4
bower datetimepicker#~2.5.4    resolve https://github.com/xdan/datetimepicker.git#~2.5.4
bower d3#~3.5.17            not-cached https://github.com/mbostock-bower/d3-bower.git#~3.5.17
bower d3#~3.5.17               resolve https://github.com/mbostock-bower/d3-bower.git#~3.5.17
bower bootstrap#~3.1.1      not-cached https://github.com/twbs/bootstrap.git#~3.1.1
bower bootstrap#~3.1.1         resolve https://github.com/twbs/bootstrap.git#~3.1.1
bower jquery#~1.10.2        not-cached https://github.com/jquery/jquery-dist.git#~1.10.2
bower jquery#~1.10.2           resolve https://github.com/jquery/jquery-dist.git#~1.10.2
bower jquery#~1.10.2          download https://github.com/jquery/jquery-dist/archive/1.10.2.tar.gz
bower datetimepicker#~2.5.4   download https://github.com/xdan/datetimepicker/archive/2.5.4.tar.gz
bower d3#~3.5.17              download https://github.com/mbostock-bower/d3-bower/archive/v3.5.17.tar.gz
bower bootstrap#~3.1.1        download https://github.com/twbs/bootstrap/archive/v3.1.1.tar.gz
bower d3#~3.5.17               extract archive.tar.gz
bower datetimepicker#~2.5.4    extract archive.tar.gz
bower jquery#~1.10.2           extract archive.tar.gz
bower d3#~3.5.17              resolved https://github.com/mbostock-bower/d3-bower.git#3.5.17
bower datetimepicker#~2.5.4     invalid-meta for:/tmp/81693e6d8e09ee1fca3a6acf03cd63a5/bower/050459a097f51a2f9fb937d44c89fde7-6-BPfnu4/bower.json
bower datetimepicker#~2.5.4     invalid-meta The "main" field cannot contain minified files
bower datetimepicker#~2.5.4         resolved https://github.com/xdan/datetimepicker.git#2.5.4
bower jquery#>= 1.7.2             not-cached https://github.com/jquery/jquery-dist.git#>= 1.7.2
bower jquery#>= 1.7.2                resolve https://github.com/jquery/jquery-dist.git#>= 1.7.2
bower jquery#>= 1.7.2               download https://github.com/jquery/jquery-dist/archive/3.2.1.tar.gz
bower php-date-formatter#>= 1.3.3 not-cached https://github.com/kartik-v/php-date-formatter.git#>= 1.3.3
bower php-date-formatter#>= 1.3.3    resolve https://github.com/kartik-v/php-date-formatter.git#>= 1.3.3
bower jquery-mousewheel#>= 3.1.13 not-cached https://github.com/jquery/jquery-mousewheel.git#>= 3.1.13
bower jquery-mousewheel#>= 3.1.13    resolve https://github.com/jquery/jquery-mousewheel.git#>= 3.1.13
bower jquery#~1.10.2                resolved https://github.com/jquery/jquery-dist.git#1.10.2
bower jquery-mousewheel#>= 3.1.13   download https://github.com/jquery/jquery-mousewheel/archive/3.1.13.tar.gz
bower php-date-formatter#>= 1.3.3   download https://github.com/kartik-v/php-date-formatter/archive/v1.3.4.tar.gz
bower jquery#>= 1.7.2                extract archive.tar.gz
bower bootstrap#~3.1.1               extract archive.tar.gz
bower jquery-mousewheel#>= 3.1.13    extract archive.tar.gz
bower php-date-formatter#>= 1.3.3    extract archive.tar.gz
bower jquery-mousewheel#>= 3.1.13   resolved https://github.com/jquery/jquery-mousewheel.git#3.1.13
bower php-date-formatter#>= 1.3.3   resolved https://github.com/kartik-v/php-date-formatter.git#1.3.4
bower jquery#>= 1.7.2               resolved https://github.com/jquery/jquery-dist.git#3.2.1
bower bootstrap#~3.1.1          invalid-meta for:/tmp/81693e6d8e09ee1fca3a6acf03cd63a5/bower/ca4c50b905dc21ea17a10549a6f5944f-6-35zgaO/bower.json
bower bootstrap#~3.1.1          invalid-meta The "main" field cannot contain font, image, audio, or video files
bower bootstrap#~3.1.1          invalid-meta The "main" field cannot contain font, image, audio, or video files
bower bootstrap#~3.1.1          invalid-meta The "main" field cannot contain font, image, audio, or video files
bower bootstrap#~3.1.1          invalid-meta The "main" field cannot contain font, image, audio, or video files
bower bootstrap#~3.1.1              resolved https://github.com/twbs/bootstrap.git#3.1.1
bower d3#~3.5.17                     install d3#3.5.17
bower datetimepicker#~2.5.4          install datetimepicker#2.5.4
bower jquery#~1.10.2                 install jquery#1.10.2
bower jquery-mousewheel#>= 3.1.13    install jquery-mousewheel#3.1.13
bower php-date-formatter#>= 1.3.3    install php-date-formatter#1.3.4
bower bootstrap#~3.1.1               install bootstrap#3.1.1

okay i will look.

Confirmed I am also now getting this on a fresh install.

And it's true, bower_components did not build into /frontend.

okay will look.

I am not sure what is the exact issue here. I tried my local and amazon server after I delete all containers and images and fun quickstart again but it is working fine by me. Can you clean up exisiting containers on your machine and try it again?

it seems like it is resolved after several attempts of installing.. I don't say that it is perfect solution but close it for now.


issue 1812 - Support absolute path for config files

Issue #1812

Hi @stevehu, we think this PR is ready to be merged


Add autocomplete attribute to feedback form

Add autocomplete attribute option to input component
Use autocomplete=email on feedback component's survey signup form to conform with WCAG criterion 1.3.5 (Identify Input Purpose)

I'm not sure if it also makes sense to add the autocomplete attribute option to other form components? Checkboxes and radio buttons probably don't make sense, but selects and textareas might, not sure about file upload.

Component guide for this PR:
https://govuk-publishing-compon-pr-[733].herokuapp.com/component-guide/

one test to check it isn't added when it shouldn't be

None of the other tests does anything like that. I would generally assume that something like that wouldn't be required? Then you would otherwise also need a test that checks that e.g. no data attribute is added or no aria-describedby etc.

I have written one test, adjusted the changelog and fixed the conflict.


chore: progress bar fixes

Description
This PR makes the following changes

Make the progress bar round
Add 10 pixels bottom padding to the progress bar

Related PR: https://github.com/artsy/palette-mobile/pull/235

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

#nochangelog
Need help with something? Have a look at our docs, or get in touch with us.

Warnings

:warning:

✅ No changelog changes

  Generated by :no_entry_sign: dangerJS against a850e577ec6745d51225b294b069f510c95a5d3d


Tsankov alexander - Friendship destroyer

Got it to work. To unfollow a user, use the following command:
ruby apps/destroy_friendship.rb  --props oauth.properties <screen_name>

Okay, I will merge this and investigate the rate_limiting issue. I need to turn that back on and figure out what went wrong. It's not an optional feature of the framework!

This is crazy. This is an example of a Twitter REST API endpoint that says it is rate limited but it doesn't appear in the set of rate limits that Twitter provides programmatically! I've had to rework my Rates.rb helper to ignore endpoints that don't appear in Twitter's rate limit information. I'll be checking in my changes soon.


custom cc-format for different types

Is there a way to customize the format for a credit card type? Or maybe just passing a function that will be called when formating?

There is not. How do you intend to format the card numbers differently than the default?

I had a requirement in an app for custom formating on cc numbers but it
seems is no longer valid so you can dismiss this.
Thank you
El 11 ene. 2016 14:10, "Ben Drucker"<EMAIL_ADDRESS>escribió:

There is not. How do you intend to format the card numbers differently
than the default?
—
Reply to this email directly or view it on GitHub
https://github.com/bendrucker/angular-credit-cards/issues/95#issuecomment-170621504
.


7zz: compile optimized assembly code for x86_64

Motivation for this change
This PR compiles 7zz with optimized assembly code for faster operations. To do this, this PR also introduces the uasm compiler at version 2.53.
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Comparison.
Before:
7-Zip (z) 21.07 (x64) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26
 64-bit locale=pt_BR.UTF-8 Threads:6

Scanning the drive for archives:
1 file, 207936691 bytes (199 MiB)

Extracting archive: [GDI] Capcom vs. SNK 2 - Millionaire Fighting 2001 (JP)(en).7z

WARNINGS:
There are data after the end of archive

--
Path = [GDI] Capcom vs. SNK 2 - Millionaire Fighting 2001 (JP)(en).7z
Type = 7z
WARNINGS:
There are data after the end of archive
Physical Size = 207936653
Tail Size = 38
Headers Size = 279
Method = LZMA:24
Solid = +
Blocks = 1

Everything is Ok

Archives with Warnings: 1

Warnings: 1
Files: 4
Size:<PHONE_NUMBER>
Compressed: 207936691
7zz x   10.83s user 0.40s system 98% cpu 11.439 total

After:
7-Zip (z) 21.07 (x64) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26
 64-bit locale=pt_BR.UTF-8 Threads:6, ASM

Scanning the drive for archives:
1 file, 207936691 bytes (199 MiB)

Extracting archive: [GDI] Capcom vs. SNK 2 - Millionaire Fighting 2001 (JP)(en).7z

WARNINGS:
There are data after the end of archive

--
Path = [GDI] Capcom vs. SNK 2 - Millionaire Fighting 2001 (JP)(en).7z
Type = 7z
WARNINGS:
There are data after the end of archive
Physical Size = 207936653
Tail Size = 38
Headers Size = 279
Method = LZMA:24
Solid = +
Blocks = 1

Everything is Ok

Archives with Warnings: 1

Warnings: 1
Files: 4
Size:<PHONE_NUMBER>
Compressed: 207936691
/nix/store/g95spkz5s5vdx3yvzrjaq1hvpbhr8snp-7zz-21.07/bin/7zz x   6.87s user 0.40s system 98% cpu 7.395 total

CC @peterhoeg.

@ofborg build _7zz

@ofborg build _7zz

Minor thing. I suggest you introduce a useUasm = stdenv.isx86_64; variable and do the conditionals based on that instead. It communicates intent better as technically you set MY_ASM=uasm because you want to use uasm - not because you're on 64bit Linux .

Minor thing. I suggest you introduce a useUasm = stdenv.isx86_64; variable and do the conditionals based on that instead. It communicates intent better as technically you set MY_ASM=uasm because you want to use uasm - not because you're on 64bit Linux .

Done. Had to refactor some parts of the code, otherwise the platformSuffix would look very strange with a if useUasm then "_x64". At least, in case there are more platforms that have assembly optimization in the future, it should be easier to support now.

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

2 packages built:

_7zz
uasm


Popping or crackling sound on macOS 10.12.6

OS: macOS 10.12.6
Issue Descriptions: When listening in the browser, the music plays just fine. But when listening in GPMDP, there's a popping sound/crackling sound/almost as if the music is skipping. I've been noticing this for a few weeks since I got my new iMac in August.
Steps to Reproduce: I'm not sure how to really produce this as it doesn't happen on the website in the browser. But I still wanted to report it since I'm seeing no issues.

This does also happen on Windows 10 Pro Version 1703 Build 15063.608.
Google Play Music Desktop Player Version 4.4.1

@briancalderon While messing with the settings I found that when I disable the 'Experimental support for multiple audio channels such as 5.1 audio' and restart the program, the audio plays normal again.
How to disable the settings:

Go to Main menu and select Desktop Settings
Select Playback and uncheck 'Experimental support for multiple audio channels such as 5.1 audio'
Restart Google Play Music Desktop Player

Any confirmation as to whether that fixes this?

I'm on High Sierra now. I think lightlessfilms was right. Upon FDR-ing my computer and updating to 10.13—the setting is now off by default. I must have had it enabled before out of curiosity; at least we know it's definitely still experimental!

Definitely experimental, only Google's end so not sure it will ever be out of experimental stage. Closing because there's really nothing we can do here except suggest disabling that option.