#N/A: Use git_branch_exists rule with checkout too

What it solves and how:
Please review and comment.

Coverage decreased (-3.3%) to 88.998% when pulling 237bc579994de633fe104714156ddfa925a50b6e on scorphus:git-branch-exists-checkout into 2af65071d84a7d1d14a4126364d9b4c9b5241f3c on nvbn:master.

Coverage decreased (-3.3%) to 88.998% when pulling 237bc579994de633fe104714156ddfa925a50b6e on scorphus:git-branch-exists-checkout into 2af65071d84a7d1d14a4126364d9b4c9b5241f3c on nvbn:master.

Coverage decreased (-3.3%) to 88.998% when pulling 237bc579994de633fe104714156ddfa925a50b6e on scorphus:git-branch-exists-checkout into 2af65071d84a7d1d14a4126364d9b4c9b5241f3c on nvbn:master.

Thanks!


Media Codec - SBC not aptX

On Debian Bullseye - testing the Script works fine.
But the aptx codec is not loaded, tried to reconnect the speakers several times.
sudo hcidump | grep -A 10 -B 10 'Set config' output:
count 32
record #0
aid 0x0009 (BTProfileDescList)
< < uuid-16 0x110d (AdvAudio) uint 0x103 > >
record #1
aid 0x0009 (BTProfileDescList)
< < uuid-16 0x110d (AdvAudio) uint 0x103 > >
cont 00
< ACL data: handle 256 flags 0x00 dlen 18
L2CAP(d): cid 0x0141 len 14 [psm 25]
AVDTP(s): Set config cmd: transaction 9 nsp 0x00
ACP SEID 1 - INT SEID 3
Media Transport
Media Codec - SBC
44.1kHz
JointStereo
16 Blocks
8 Subbands
Loudness
Bitpool Range 2-53

HCI Event: Number of Completed Packets (0x13) plen 5
--
HCI Event: Number of Completed Packets (0x13) plen 5
handle 256 packets 1
ACL data: handle 256 flags 0x02 dlen 12
L2CAP(s): Disconn req: dcid 0x0042 scid 0x0182
< ACL data: handle 256 flags 0x00 dlen 12
L2CAP(s): Disconn rsp: dcid 0x0042 scid 0x0182
HCI Event: Number of Completed Packets (0x13) plen 5
handle 256 packets 1
ACL data: handle 256 flags 0x02 dlen 6
L2CAP(d): cid 0x0041 len 2 [psm 25]
AVDTP(s): Set config rsp: transaction 9 nsp 0x00
< ACL data: handle 256 flags 0x00 dlen 7
L2CAP(d): cid 0x0141 len 3 [psm 25]
AVDTP(s): Open cmd: transaction 10 nsp 0x00
ACP SEID 1
HCI Event: Number of Completed Packets (0x13) plen 5
handle 256 packets 1
ACL data: handle 256 flags 0x02 dlen 6
L2CAP(d): cid 0x0041 len 2 [psm 25]
AVDTP(s): Open rsp: transaction 10 nsp 0x00
< ACL data: handle 256 flags 0x00 dlen 12

aptX is proprietary - you might need a bluetooth dongle that is capable of aptX.
as you can read here - android 10+ gets the license for free now ... might happen it is available soon to others, too.
https://en.wikipedia.org/wiki/AptX

libavcodec is needed for aptX.will change it soon...

I tried now several times - forcing LDAC-HQ or not, fullfilling all requirements - no difference here with my JBL loudspeaker.
With headphones (supporting LDAC and aptX HD - not fullfilling the requirements for compiling LDAC so just aptX availabe) the headphones connected quite well by aptX HD - even not named like that in the output of hcidump (was called non-A2DP there).
This is just a guess, but I remember JBL sending a firmware update to connect more than one loudspeaker not compatible with older loudspeakers - also not of their own brand. This might be off the standard and thereby aptX not usable?
proof me wrong - I would be glad!
Know a workaround? even better!

as aptX is working - I close this issue...

as aptX is working - I close this issue...

I tried now several times - forcing LDAC-HQ or not, fullfilling all requirements - no difference here with my JBL loudspeaker.
With headphones (supporting LDAC and aptX HD - not fullfilling the requirements for compiling LDAC so just aptX availabe) the headphones connected quite well by aptX HD - even not named like that in the output of hcidump (was called non-A2DP there).
This is just a guess, but I remember JBL sending a firmware update to connect more than one loudspeaker not compatible with older loudspeakers - also not of their own brand. This might be off the standard and thereby aptX not usable?
proof me wrong - I would be glad!
Know a workaround? even better!
--> this might not be the case with your loudspeaker/headphones! :-)

Thank you, now it works:
Media Codec - non-A2DP (aptX)
44.1kHz
Stereo


Is it available to handle gulp crashes?

I have last installed gulp from npm.
Win7 64x
In gulp i have a task watching for files in directory.
But if i move 1 or more files from this directory - gulp crashes.
I tried this, but it didn't help:
try{
    ...
    gulp.watch(src_jade, ['reloadJade']);
    gulp.watch(src_stylus, ['reloadStylus']);
    ...
}catch(err){
     console.log('err happened');
}

I want gulp just to ignore this error and don't crashes.
crash error:
events.js:154
      throw er; // Unhandled 'error' event
      ^

Error: watch null EPERM
    at exports._errnoException (util.js:890:11)
    at FSEvent.FSWatcher._handle.onchange (fs.js:1296:21)

Anything i can do with it?

You can listen for error events on the returned watcher instance. Support questions should be directed to StackOverflow.


add basic vector graphics asset

First pass at the widget type, I need to look up how to do the picture layer thing.
My thoughts are, since decoding the picture is fast enough - lets save ourselves the trouble and just completely skip the whole global cache thing

So I pushed an example that uses a controller API. The advantages are it provides a more natural extension point for getting pictures differently. The problem is that if you create a widget which accepts a controller as an argument, you need to handle that widget getting rebuilt.
If the controller is constructed in the build method (which it may very well be), then you might end up continually reloading. The advantage of the ImageResolver classes is that they can define an equals method to skip loading.
Alternatively, we could remove this from the controller, then create a wrapper widget which constructs a particular controller and maintains its state correctly? If that makes sense - we can talk more in GVC


Add is_blank() string functor classification

In string algorithm, is_blank standard classification exists since C++11. Today, this classification is not provided by this library for code.
I have added is_blank functor in the implementation compiled with standard upper or equals to c++11 and complete the documentation.

@mclow

@mclow as suggested, I have add a negative is_blank() predicate test case. It checks that:

first, any of chars are not blanks. '\n','\v','\f','\r' are classified as spaces characters as describe in std::isblank
second, not all chars are blanks. (ie. 'a','x')

Is something miss?


Select: fix WASM render crash with Strict="true" on arrow key navigation

In WASM the first two selects in this example would crash on arrow key navigation. This PR fixes that. Tested manually because untestable with bUnit.

<MudGrid>
    <MudItem xs="12" sm="6" md="4">
        <MudSelect T="string" Label="Coffee" Strict="true" AnchorOrigin="Origin.BottomCenter">
            <MudSelectItem Value="@("Cappuccino")" />
            <MudSelectItem Value="@("Cafe Latte")" />
            <MudSelectItem Value="@("Espresso")" />
            <MudSelectItem Value="@("Irish Coffee")" />
        </MudSelect>
    </MudItem>
    <MudItem xs="12" sm="6" md="4">
        <MudSelect T="double" Label="Price" Strict="true" Variant="Variant.Outlined" Format="F2" AnchorOrigin="Origin.BottomCenter">
            <MudSelectItem T="double" Value="4.50"/>
            <MudSelectItem T="double" Value="4.99"/>
            <MudSelectItem T="double" Value="3.60"/>
            <MudSelectItem T="double" Value="21.99"/>
        </MudSelect>
    </MudItem>
    <MudItem xs="12" sm="6" md="4">
        <MudSelect T="string" Label="Pies" Variant="Variant.Filled" AnchorOrigin="Origin.BottomCenter">
            <MudSelectItem Value="@("Apple Pie")" />
            <MudSelectItem Value="@("Blackberry Pie")" />
            <MudSelectItem Value="@("Rhubarb Pie")" />
            <MudSelectItem Value="@("Lemon Pie")" />
        </MudSelect>
    </MudItem>
</MudGrid>

@code {
    public static string __description__ = "The first two selects are Strict and should not crash in WASM on navigating the list with arrows.";

}

@mckaragoz would you please check if this fixes all crashes you noticed?


Apply filters to initial source state check on rebind

closes #763

That looks a lot easier to implement than I was expecting ... !


Spanish translation for search module

I'm adding Spanish translation to the search module

Thanks for your contributions, the translation PR is not yet completed. Please translate data/search/i18n as well.

Thank you!


Fix dependencies and set-up dependsbot

I set up dependabot for this repo. Anything else we need to do for dependencies before closing this?

I also removed graphviz as it's no longer being used.

Thanks! We also need to use == everywhere. Then we can close this.


Strings are not json escaped

 io:println("a\"b".toJsonString());

I expected above print a\"b but it prints a"b

possibly a duplicate of #28906

Fixed with #31102


Update README Graphics

It looks like the graphics in our README are outdated, they still show HAProxy as the proxy layer. We should update them!
Do we want to include more of our newer components in the graphics as well?

I think we should. Anyone know if we have the original graphics so we don't have to recreate from scratch?

I have them. They are in Keynote format.

please send to me when you get a chance

@ryane they are in the repo under  docs/_static/diagrams.key.

We should consider uploading a more widely used format, while we're at it!


Javascript popup issues in IE

Ideally the modals etc should still work without javascript, at the very least test in IEs

The site is ±completely broken in IE[11], see also #1365.

Need to move popups to own webpages etc


Introduce User Defined Sink Transformers

[x] #985
[ ] introduce Used Defined Sink Transformers
[ ] Update documentation


Changed to add logstasher to the application

The application will log in ELK-ready JSON format to the ELK clusters.

Given that the same config settings are duplicated across all the environments it would be cleaner if it was moved 'up' to config/application.rb?
Also on dev we almost certainly do want parameters enabled


Journel based mirroring for point-in-time and crash consistent images

Describe the feature you'd like to have
Journal-based RADOS block device mirroring ensures point-in-time consistent replicas of all changes to an image, including reads and writes, block device resizing, snapshots, clones, and flattening.
Journaling-based mirroring records all modifications to an image in the order in which they occur. This ensures that a crash-consistent mirror of an image is available.
Additional context
This is not possible with krbd mounter, we need rbd-nbd to achieve crash-consistent image mirroring.

@Madhu-1 @nixpanic could you please assign this to me?

@Madhu-1 Lets track this for release-3.4.0 :-)
Thanks!


Move ascii_spec, internal_investigation to GitHub actions

The only thing left after this are the "normal" specs.
Unfortunatly GitHub doesn't support yml anchors so the matrix is duplicated. There are ways to have the matrix generated/reusable but that results in complex/unreadable actions from my experience.

I'm moving the jruby job to the different jobs. I don't see why Jurby should have its own section instead of being part of the matrix. This also should speed up green CI by a bit. JRuby does take the longest and now it can execute these in parallel if there are enough available workers.

Before submitting the PR make sure the following are checked:

[ ] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[ ] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[ ] Feature branch is up-to-date with master (if not - rebase it).
[ ] Squashed related commits together.
[ ] Added tests.
[ ] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[ ] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

I'm moving the jruby job to the different jobs. I don't see why Jurby should have its own section instead of being part of the matrix. This also should speed up green CI by a bit. JRuby does take the longest and now it can execute these in parallel if there are enough available workers.

Good idea!

Unfortunatly GitHub doesn't support yml anchors so the matrix is duplicated. There are ways to have the matrix generated/reusable but that results in complex/unreadable actions from my experience.

That's fine by me.

This seems to work quite nicely actually, the windows jobs also benefit from the split. CI went from the longest job taking ~17 minutes (jruby) to ~9minutes overall


Tag uib-tab-heading finally present

I've noticed that, when  using  for defining a rich tab heading text,
this tag stay finally present in the HTML source page.
You can check for that in your demo page (https://angular-ui.github.io/bootstrap/#/tabs) with the "Alert" tab.
Is this the expected behaviour ?
Because  is not really an official tag in the HTML5 specifications...

@hmillet, sorry, it's not at all clear what you're asking.  what tag?  the spec does allow for a data- prefix on element and attribute names and both Angular and Angular UI Bootstrap take this into account.

@icfantv
Just have a look at this html code, that I paste from your demo page when I inspect "Alert !" tab

    <uib-tab-heading class="ng-scope">
        Alert!
    </uib-tab-heading>

you can see an <uib-tab-heading> (that what i called "tag").
I think that such a tag should be transformed to an official HTML5 tag by your directive.

I think you're wrong and that's not really how angular works.

Are you suggesting we prefix all of our custom elements with "data-"
?

I think what @hmillet is pointing out is the element:
<uib-tab-heading></uib-tab-heading>

is a non-standard html tag.  Your going to see a lot more of these non-standard html tags in the future as angular is deprecating the replace option on directives link

@RobJacobs that precisely what I was pointing out. Thanks for your answer. "You're going to see a lot more of these non-standard html tags in the future"... Have these non-standard tags some impact on browsers behaviour, or is it a non problematic evolution ?
@icfantv @BobbieBarker no, I don't talk about attributes.

@hmillet, new browsers should not have any issues with them - but certain older browsers (whom shall remain nameless) can and will barf.
@wesleycho, @Foxandxss, and team, what do what do with this?

First, I really really appreciate this kind of issues @hmillet. Even if you feel like it could be right or not, it is always good to raise flags against potentially bad behavior.
That said, this concrete one is not a problem. This is how angular (and angular 2 for that matter) works. If you're not using replace: true, it will leave the custom element on the final HTML.
There is no way that we (or any other library) can remove those things from the final HTML because as @RobJacobs said, replace is deprecated. We have lots of replace in our library, and perhaps we should consider about removing them for 1.0.0.
So for example, if you have a directive called my-custom-thing that has a
 tag as a template, you use it like:
<my-custom-thing></my-custom-thing>

If it has replace, it will replace the original element, resulting with:

something

But the expected behavior (replace is problematic) is to have it like:
<my-custom-thing>

something

</my-custom-thing>

That being said, that concrete element is a bit generated by hand, but it just simulating the expected angular behavior.
Don't worry, it won't cause you any problem in any supported browser by angular.

@Foxandxss
Thanks a lot for your answer. This is perfectly clear.
I confirm that this cause no problem to the browsers I tested my app with.
I even used it in my css files without any trouble.
Modern browsers are clever :-)


Add back nested templates for ARM best practices review

PR on a separate branch to collaborate better on updating the templates for ARM best practices. This won't/shouldn't  be completed (no effect on master), but should be applied to master separately.

@bmoore-msft - Thanks a lot again for your detailed reviews. I addressed all your comments and updated this PR on subsequent commits. However, there were many other commits that were done on master in the meantime and that had to be merged here, so I reset the base of this PR to that point (after merging with master). It'd be great if you do another review to confirm my changes are as you expected. I suppose you may not need to do another round of review and @rgardler may just discuss with you in person about how to proceed.
@rgardler - You may want to review the changes here that address Brian's comments on ARM best practices. I had to do many trials and errors to get all right...

Unfortunately, changing the PR base doesn't seem to work for hiding other unrelated changes (that were included from merging master)... Subsequent reviews may not be very straightforward and I understand that this PR can be separately handled.

Closing this PR, as this is now moved to the azure-quickstart-templates repo as a PR there. The changes in this PR are merged to another branch (hs-loadtest), which will be merged to master laster.


Use DI to configure ICompressionProviders

@Tratcher

No, this directly reverts recent changes from API review.
https://github.com/aspnet/BasicMiddleware/commit/e7b41c4f53a5a511d9fd5c0bee86c4e22692418d


pdf text extraction

I want to drag pdfs into the chat window and talk with the ai about them by loading the pdf text into the prompt. I'm trying to implement it myself but have issues with the pdf libraries and svelte/vite. PDFs would already be OCR'd so its just extracting text.

I would like this but with the ability to integrate with LangChain. I'm attempting to work on it, if successful I'll make a PR.

Hi, Thanks for the feature request! I'm actively working on a RAG feature for the webui, so stay tuned! Let's continue our discussion here: #31

Hi @tjbck
I've uploaded a PDF file (~2mb) and asked the LLAMA3 what is this document about and received "I am not sure ..". Is there a special model to use with documents? Thanks

Its not working here for me too @bhaidar . I'm trying to summarize a large PDF and it's not working because it's using RAG for PDF text recovery. Why not an option to use all pdf when generate response?

@dmvieira this might be related to my ongoing PR #5378


Missing event bindings when using Blaze #if

If I have something like this using VM 4.0.10
{{#if showSomething}}
   <button {{b "click: doSomething"}}>Do Something</button>
{{/if}}

the events won't bind.
Repro here.
This is a new problem in my experience, though similar to issues #214 and #219

Reopen if it doesn't work in v4.0.11


🐛 [BUG] - Form validation on contact page

🐛 Form Validation on contact page
Adding validation for form in contact page  on client side
🌐 Browsers
Which browsers are you experiencing the problem on? (Select all that apply)

[x] Chrome
[ ] Firefox
[ ] Safari
[ ] Microsoft Edge
[ ] Opera
[ ] Brave

💻 OS

[ ] Windows
[ ] Linux
[ ] Mac
[ ] iOS
[ ] Android

🔍 Priority
Please select the priority of the bug:

[ ] High
[x] Medium
[] Low

📜 Code of Conduct
By submitting this issue, you agree to follow our Code of Conduct:

[x] I follow Contributing Guidelines of this project.
[x] I have checked the current issues for duplicate problems.
[x] I have read the readme.

Hi,
I would like to work on this issue under gssoc'23,
Can you assign it to me?


[HowTo] Use portforward.forward without 'with' keyword and manage close timing manually?

portforward version:
Python version:
Operating System:

Description
with portforward.forward(namespace, pod_name, local_port, pod_port):
        response = requests.get("http://localhost:9000")
        print(f"Done: \n'{response.status_code}'\n'{response.text[:20]}...'")

Use portforward.forward without 'with' keyword and manage close timing manually,
is that possible in current version?
Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.
What I Did
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

Hi @KSroido , yes just create a new object of async portforwarder or portforwarder and invoke the wanted methods on that object.
See https://portforward.readthedocs.io/en/latest/portforward.html#module-portforward

OK thanks for your advice :)


cmake, doc: Avoid unnecessarily breaking external links to doc/build-windows.md

Other projects may use external links to our documentation. Therefore, avoid breaking them unnecessarily.

cc @TheCharlatan, who pointed at the issue during today's CMake-WG call.

But the diff doesn't look right.

Thanks! Fixed.


Some changes to config file do not apply

In version 1.2.2 for 1.19 as far as I have tested, changes to the hiddenBlocks and replacmentBlocks options in the overworld section are not applied and the default values are still used.
I have not tested this extensively and there may be more options that are affected.
My current config file:
# Default configuration file for Fabric AntiXray mod by DrexHD

# Default values
enabled = false

# World specific values
[overworld]
enabled = true
engineMode = 1
maxBlockHeight = 256
updateRadius = 2
lavaObscures = true
hiddenBlocks = ["copper_ore", "deepslate_copper_ore", "raw_copper_block", "gold_ore", "deepslate_gold_ore", "raw_gold_block", "iron_ore", "deepslate_iron_ore", "raw_iron_block", "coal_ore", "deepslate_coal_ore", "lapis_ore", "deepslate_lapis_ore", "mossy_cobblestone", "obsidian", "chest", "diamond_ore", "deepslate_diamond_ore", "redstone_ore", "deepslate_redstone_ore", "clay", "emerald_ore", "deepslate_emerald_ore", "ender_chest", "deepslate", "stone"]
replacementBlocks = ["deepslate_emerald_ore"]

[the_nether]
enabled = true
engineMode = 1
maxBlockHeight = 128
updateRadius = 2
lavaObscures = true
hiddenBlocks = ["ancient_debris", "nether_quartz_ore", "nether_gold_ore"]
replacementBlocks = ["netherrack"]

The config is very similar to Paper's Antixray config, which is documented at https://docs.papermc.io/paper/anti-xray. The config value names are indeed missleading and confusing without documentation. If I ever rewrite this mod I will do something about the confusing config.
Kind regards,
Drex


#4858: typecast float <-> {uint16, uint32} objects

support typecast float -> {uint16, uint32} using numeric ladder
support typecast {uint16, uint32} -> float using numeric ladder
support for both GS and WHB0

@ttmtrajkovic, could you provide some guidance on typecasting in WHB0? Although WH has functions for typecasting like "float_to_uint16", we are encountering difficulties in utilizing them.

Reference document for the issue we are currently facing regarding the use of pre-existing typecast conversion instead of the ladder method in WHB0 : link

@jliangTT We have drafted the issue in the document as we have some screenshots to share. Please find the doc link here https://github.com/tenstorrent-metal/tt-metal/pull/5203#issuecomment-1990661713


⚠ Bofrost.at has degraded performance

In ea780f0, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1813 ms

Resolved: Bofrost.at performance has improved in dc57f7f.


How to make a Flat TreeDataGrid Editable with dynamic values from a dictionary

Hi,
I have the following code to add columns , after trying various combination for hours i am still failing to make text editable.
Source = new FlatTreeDataGridSource<EntityViewModel>(Entries);

Source.Columns.Add(new TextColumn<EntityViewModel, string>(nameof(EntityViewModel.Key), x => x.Key, null, new()
{
    IsTextSearchEnabled = true,
    BeginEditGestures =BeginEditGestures.Tap,
    CanUserSortColumn = true
}));

foreach(var c in Languages)
{
    var header = c == string.Empty ? "Neutral" : c;
    Source.Columns.Add(new TextColumn<EntityViewModel, string>(header, x => x.CultureValues[c],null, new()
    {
        IsTextSearchEnabled = true,
        BeginEditGestures = BeginEditGestures.Tap,
        CanUserSortColumn = true,
        TextTrimming= TextTrimming.CharacterEllipsis,
        MaxWidth=new GridLength(300,GridUnitType.Pixel)
    }));
}

here is my class whose items are populated.
public class EntityViewModel
{
    public string? Key { get; set; }
    public Dictionary<string, string?> CultureValues { get; set; } = new();

    public EntityViewModel(Entity entity)
    {
        foreach(var culture in entity.Cultures)
        {
            CultureValues.Add(culture,entity.GetValue(culture));
        }
    }
}

I supose Editing was implemented  with  https://github.com/AvaloniaUI/Avalonia.Controls.TreeDataGrid/pull/162 .
Thanks.

Tried to make Text Column Cells editable in the same way, had the same issue. I got TreeDataGrid NuGet Package 11.0.2

I can't make to work even F2 gesture


Handler function does not contain run?

As I was writing my plugin, this weird error came up that stops my plugin from functioning properly:
Error in command conStrest Script at path /Users/laptopname/Desktop/Sketch Plugins/plugin-directory/plugin.sketchplugin/Contents/Sketch/my-command.js does not contain a handler function named: run. What does this mean?
I gave a handler/action list to a function like so:
{
  "compatibleVersion": 3,
  "bundleVersion": 1,
  "commands": [
    {
      "name": "array",
      "identifier": "list-array-doohig",
      "script": "./my-command.js",
      "handlers" : {
          "actions" : {
              "OpenDocument.finish" : "conStrest"
          }
      }
    }
  ]
}

I thought if I gave a handler a function name, the name "run" wasn't necessary anymore?
The JS file is as such:
export function conStrest(context) {   context.document.showMessage("It's alive 🙌") }
I just tweaked the function name to see if things would work... it didn't...

I also encountered the same problem.
My .js does not specify default or onRun, but skpm still generates that['onRun'] = __skpm_run.bind(this, 'default');. so . missing part of the code in the js file is: that['SEL'] = __skpm_run.bind(this, 'SEL'); and the final error is as follows: Error in command toggles the selected item Script at path /Users/Madordie /Desktop/Madordie/3rdPart/sketch-sync/sync-npm/plugin.sketchplugin/Contents/Sketch/my-command.js does not contain a handler function named: projectSel.
My solution to this problem is to add a default identifier to one of the methods in the .js file. About this way:
export default function projectSel(context) {
...
}

I'm not proficient with js, so I can't deduce the real reason...🤷♂


Sound delay on all platforms

I’m experiencing a very noticeable lag for sound with all emulators. I’m using the site via iOS on an iPhone 13 pro max. Controls are spot on with my mfi controller, but sounds emit almost a half second after they should.
I’ve played with other emulators in the browser before and don’t see this issue.

This seemed to have resolved itself. Audio seems to be working fine now.

That is great news! By any chance was your battery low?
On Sun, Jan 16, 2022 at 7:09 PM mardem1976 @.***> wrote:

This seemed to have resolved itself. Audio seems to be working fine now.
—
Reply to this email directly, view it on GitHub
https://github.com/webrcade/webrcade/issues/16#issuecomment-1014096429,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABKG7CUIPYP4IV2AXBWEEW3UWOB53ANCNFSM5MBVUQ7A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

It may have been at one point, but I don't think it was all the time I was using it. I'll keep an eye on it and open this up if I see it pop up again.


Field Reported: Adding a new row when filter is ON jumps to the end of the page.

Open uW, en-tn, choose book of Psalms,
In the filter, choose chapter 44. The filter displays the results from chapter 44.
Add a new row to 44:1. After you click on Add in the new row modal, note that the focus is not on the new row, but on 44:22 which is end of the pages as filtered. You ll have to then filter using verse 1, to see the new row.

What do you think the priority is on this? Don't a lot of users do their work filters by chapter? @elsylambert @abelpz

Priority is High for this. They are filtering by Chapters and when they add a row, they are thrown to the end of the page. @birchamp

Not seeing the problem in  v1.11 build 232-2318d17. Adding a new row when filter is On looks good.


decoding momentum/sparkpost click tracking urls

The tools you are writing here seem to be part of a new system for engagement tracking, as described on your post https://www.sparkpost.com/blog/deploying-signals-for-on-premises-powermta-with-engagement-tracking-part-4/ .
Are there similar tools for dealing with existing momentum/sparkpost engagement tracking, such as those described in your post https://www.sparkpost.com/blog/deploying-signals-premises-momentum-integration-part-3/ ?
In particular, the engagement tracking encoding mechanism seems quite different in the two pieces of software. In your part-3 post, you have URLs such as:
http://momo.signalsdemo.trymsys.net:81/q/rCZ3YpEEJBOHGGI06Rw9OA~~/AAAAAQA~/RgRfOCDVPhdCCgAAVe1WXbth_QBSGHN0ZXZlLnR1Y2tAc3Bhcmtwb3N0LmNvbVgEAAAAAEEIAC6rdFwAAPoJUQQAAAAARwJ7fQ~~
But the example URLs for your linktool here are of the form:
http://localhost:8888/eJxUzLEOQiEMRuF3-WciGAaTTr4JwbaIUSKBMhnf_Ybxnv18P2Q2EBgOltb4gFDN-iTvraotfs8Lfxsc2nyml4AQdqJZHqqlhCDXGG9wGNw3VYbK_fT-jwAAAP__f2Mg1g==
As far as I can tell these are of a different encoding.
Do you know of software that decodes the first type of URL as above?

You're correct that the two tracking encodings (Momentum, and this project) are quite different. The Momentum encoding is not open-sourced, is more complex, and uses cryptographic methods.

Are there no open-source documentation/tools then for decoding the Momentum links? I understand that the entire Momentum project may not be open.


event handlers

Do you plan to add support for event handlers for google visualization API ?
Kind Regards.

I have one at my fork, added a fourth parameter (callbacks) to visualization that accepts a hash of callbacks
{:ready => ready_func(), :onmouseout => mousing_out}
Don't know if I implemented it correctly or if preferred in another way but it works for me now.
What do you guys think?


ESM modules

This PR is an attempt to switch to ESM modules. The motivation for doing this is than an increasing number of npm modules are ESM only, and we cannot use them unless our own modules are ESM.
In order to be able to import e.g. @cucumber/messages from @cucumber/message-streams (inter-module dependencies) at runtime (using ts-node so we don't need to pre-compile all ts code), we can no longer depend on tsconfig-paths.
Instead, I have written a custom ESM loader that extends the ts-node/esm loader and modifies code like import from '@cucumber/messages' to import from '@cucumber/messages/typescript'. This works as long as all our modules export a ./typescript module in the package.json exports section.
There are still some issues to sort out, but I've got this working for the @cucumber/messages and @cucumber/message-streams modules.

I think it would be worth discussing the downstream implications of this. Once all the common blocks are ESM only, cucumber-js has to do the same, and that will have an impact on end users:

Support code will need to be rewritten to use import instead of require, since they will no longer be able to require('@cucumber/cucumber')
Use of JIT transpilers (ts-node, coffee, babel) may be broken to some degree

Somewhat related: https://github.com/cucumber/cucumber-js/pull/1649
(Not saying we shouldn't do it - library maintainers are basically forcing the issue anyway. But I think we need to communicate it will and make it not disruptive to users.)

I've seen a few npm modules that are published with both esm and commonjs exports. If we do that too, won't we be able to support both commonjs and esm?

...modules that are published with both esm and commonjs exports

The strategies for doing this - having two compile targets, or providing an ESM facade around CommonJS code - both require that packages you consume are still interoperable, which is the problem we're running into anyway.

Oh I see.
It seems to me this recent push to ESM is viral - everyone is going to have to do it, or be stuck on old modules. All it takes is for one npm module to be ESM-only, and then it will ripple through anything that depends on it...

I agree with @aslakhellesoy: ESM will be force-pushed really quickly. So I think we could consider moving to ESM only our-self.
Regarding the following PR however:

There is a major changes in the APIs - actually how they are exposed - due to the new exports instruction in the package.json. I think this is a breaking change. Not by choice, not by design, but for our own convenience. Are we sure we want to do that?
With your last commit, you hit an issue of the experimental ts-node ESM loader: the requirement for .js extension. To actually load .ts files. I think that could be ok for a small project considering that it should not remain like that in the future. For a big project like Cucumber, I am not fan of it

@aslakhellesoy it looks like #1743 and #1756 are promising
Do you want to keep this PR opened?

Nope :-)


Cookie preferences not stored

Describe the bug
Cookie preferences appear to be not stored
Reporter
Gerrit
Category

Frank Console

To Reproduce
Steps to reproduce the behavior:

Start ibis
Open console
Save Cookie Preferences
Refresh browser, e.g. by pressing F5
See that the Cookie Preference dialog reappears

Expected behavior
Cookie preference set and remembered once saved.
Environment:

Application server TomCat, running om my laptop
Browser Chrome
IAF Version 7.6 SNAPSHOT

Additional context
Add any other context about the problem here. (f.e. ladybug report / test adapter with larva test)

Do you happen to have cookies disabled or have a cookie blocker plugin? I can't reproduce this. Tested with Edge, Firefox and Chrome

For using a framework  like this the organisation using this should be the party that accepts cookies not the individual user. So for me this option can be removed from the GUI and be added as a remark in the readme of the project

Analytics er uit, cookie beschrijving houden, geen melding meer weergeven


Add contributed test

We can clean up later... the good thing now is I can throw some heavier machinery at it.

tools/run_tests/run_tests.py -l c -c tsan -n inf -S -r concurrent

==================
WARNING: ThreadSanitizer: data race (pid=16988)
  Read of size 4 at 0x7d4c0001b648 by thread T37:
    #0 subchannel_connected /usr/local/google/home/ctiller/grpc/src/core/client_config/subchannel.c:649:17 (concurrent_connectivity_test+0x0000000df575)
    #1 connected /usr/local/google/home/ctiller/grpc/src/core/surface/channel_create.c:116:3 (concurrent_connectivity_test+0x0000000a886e)
    #2 grpc_exec_ctx_flush /usr/local/google/home/ctiller/grpc/src/core/iomgr/exec_ctx.c:51:7 (concurrent_connectivity_test+0x0000000e7e8d)
    #3 closure_exec_thread_func /usr/local/google/home/ctiller/grpc/src/core/iomgr/executor.c:83:5 (concurrent_connectivity_test+0x0000000e861e)
    #4 thread_body /usr/local/google/home/ctiller/grpc/src/core/support/thd_posix.c:57:3 (concurrent_connectivity_test+0x0000000c783d)

  Previous write of size 4 at 0x7d4c0001b648 by thread T52 (mutexes: write M4110):
    #0 disconnect /usr/local/google/home/ctiller/grpc/src/core/client_config/subchannel.c:267:19 (concurrent_connectivity_test+0x0000000de9e6)
    #1 grpc_subchannel_unref /usr/local/google/home/ctiller/grpc/src/core/client_config/subchannel.c:283:5 (concurrent_connectivity_test+0x0000000de8e7)
    #2 pf_destroy /usr/local/google/home/ctiller/grpc/src/core/client_config/lb_policies/pick_first.c:87:5 (concurrent_connectivity_test+0x0000000d4677)
    #3 grpc_lb_policy_weak_unref /usr/local/google/home/ctiller/grpc/src/core/client_config/lb_policy.c:97:5 (concurrent_connectivity_test+0x0000000d9eda)
    #4 pf_connectivity_changed /usr/local/google/home/ctiller/grpc/src/core/client_config/lb_policies/pick_first.c:244:5 (concurrent_connectivity_test+0x0000000d549e)
    #5 on_external_state_watcher_done /usr/local/google/home/ctiller/grpc/src/core/client_config/subchannel.c:391:3 (concurrent_connectivity_test+0x0000000dff13)
    #6 grpc_exec_ctx_flush /usr/local/google/home/ctiller/grpc/src/core/iomgr/exec_ctx.c:51:7 (concurrent_connectivity_test+0x0000000e7e8d)
    #7 grpc_exec_ctx_finish /usr/local/google/home/ctiller/grpc/src/core/iomgr/exec_ctx.c:61:3 (concurrent_connectivity_test+0x0000000e7f08)
    #8 grpc_channel_destroy /usr/local/google/home/ctiller/grpc/src/core/surface/channel.c:303:3 (concurrent_connectivity_test+0x0000000a6a34)
    #9 create_loop_destroy /usr/local/google/home/ctiller/grpc/test/core/surface/concurrent_connectivity_test.c:31:5 (concurrent_connectivity_test+0x0000000a5079)
    #10 thread_body /usr/local/google/home/ctiller/grpc/src/core/support/thd_posix.c:57:3 (concurrent_connectivity_test+0x0000000c783d)

  Location is heap block of size 408 at 0x7d4c0001b580 allocated by thread T37:
    #0 malloc /usr/local/google/home/ctiller/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:514 (concurrent_connectivity_test+0x000000041f8f)
    #1 gpr_malloc /usr/local/google/home/ctiller/grpc/src/core/support/alloc.c:57:7 (concurrent_connectivity_test+0x0000000bf970)
    #2 grpc_subchannel_create /usr/local/google/home/ctiller/grpc/src/core/client_config/subchannel.c:313:7 (concurrent_connectivity_test+0x0000000ded89)
    #3 subchannel_factory_create_subchannel /usr/local/google/home/ctiller/grpc/src/core/surface/channel_create.c:175:7 (concurrent_connectivity_test+0x0000000a7d6c)
    #4 grpc_subchannel_factory_create_subchannel /usr/local/google/home/ctiller/grpc/src/core/client_config/subchannel_factory.c:48:10 (concurrent_connectivity_test+0x0000000e1f3a)
    #5 dns_on_resolved /usr/local/google/home/ctiller/grpc/src/core/client_config/resolvers/dns_resolver.c:171:37 (concurrent_connectivity_test+0x0000000dc03b)
    #6 do_request_thread /usr/local/google/home/ctiller/grpc/src/core/iomgr/resolve_address_posix.c:166:3 (concurrent_connectivity_test+0x0000000ee6b0)
    #7 grpc_exec_ctx_flush /usr/local/google/home/ctiller/grpc/src/core/iomgr/exec_ctx.c:51:7 (concurrent_connectivity_test+0x0000000e7e8d)
    #8 closure_exec_thread_func /usr/local/google/home/ctiller/grpc/src/core/iomgr/executor.c:83:5 (concurrent_connectivity_test+0x0000000e861e)
    #9 thread_body /usr/local/google/home/ctiller/grpc/src/core/support/thd_posix.c:57:3 (concurrent_connectivity_test+0x0000000c783d)

  Mutex M4110 (0x7d4c0001b620) created at:
    #0 pthread_mutex_init /usr/local/google/home/ctiller/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1063 (concurrent_connectivity_test+0x000000034c35)
    #1 gpr_mu_init /usr/local/google/home/ctiller/grpc/src/core/support/sync_posix.c:45:32 (concurrent_connectivity_test+0x0000000c6c9c)
    #2 grpc_subchannel_create /usr/local/google/home/ctiller/grpc/src/core/client_config/subchannel.c:340:3 (concurrent_connectivity_test+0x0000000df476)
    #3 subchannel_factory_create_subchannel /usr/local/google/home/ctiller/grpc/src/core/surface/channel_create.c:175:7 (concurrent_connectivity_test+0x0000000a7d6c)
    #4 grpc_subchannel_factory_create_subchannel /usr/local/google/home/ctiller/grpc/src/core/client_config/subchannel_factory.c:48:10 (concurrent_connectivity_test+0x0000000e1f3a)
    #5 dns_on_resolved /usr/local/google/home/ctiller/grpc/src/core/client_config/resolvers/dns_resolver.c:171:37 (concurrent_connectivity_test+0x0000000dc03b)
    #6 do_request_thread /usr/local/google/home/ctiller/grpc/src/core/iomgr/resolve_address_posix.c:166:3 (concurrent_connectivity_test+0x0000000ee6b0)
    #7 grpc_exec_ctx_flush /usr/local/google/home/ctiller/grpc/src/core/iomgr/exec_ctx.c:51:7 (concurrent_connectivity_test+0x0000000e7e8d)
    #8 closure_exec_thread_func /usr/local/google/home/ctiller/grpc/src/core/iomgr/executor.c:83:5 (concurrent_connectivity_test+0x0000000e861e)
    #9 thread_body /usr/local/google/home/ctiller/grpc/src/core/support/thd_posix.c:57:3 (concurrent_connectivity_test+0x0000000c783d)

  Thread T37 (tid=17425, running) created by thread T35 at:
    #0 pthread_create /usr/local/google/home/ctiller/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:849 (concurrent_connectivity_test+0x00000004ace3)
    #1 gpr_thd_new /usr/local/google/home/ctiller/grpc/src/core/support/thd_posix.c:81:21 (concurrent_connectivity_test+0x0000000c7723)
    #2 maybe_spawn_locked /usr/local/google/home/ctiller/grpc/src/core/iomgr/executor.c:110:3 (concurrent_connectivity_test+0x0000000e8457)
    #3 grpc_executor_enqueue /usr/local/google/home/ctiller/grpc/src/core/iomgr/executor.c:119:5 (concurrent_connectivity_test+0x0000000e8175)
    #4 grpc_resolve_address /usr/local/google/home/ctiller/grpc/src/core/iomgr/resolve_address_posix.c:183:3 (concurrent_connectivity_test+0x0000000ee542)
    #5 dns_start_resolving_locked /usr/local/google/home/ctiller/grpc/src/core/client_config/resolvers/dns_resolver.c:215:3 (concurrent_connectivity_test+0x0000000dbdb2)
    #6 dns_next /usr/local/google/home/ctiller/grpc/src/core/client_config/resolvers/dns_resolver.c:128:5 (concurrent_connectivity_test+0x0000000dbc87)
    #7 grpc_resolver_next /usr/local/google/home/ctiller/grpc/src/core/client_config/resolver.c:81:3 (concurrent_connectivity_test+0x0000000daad6)
    #8 grpc_client_channel_check_connectivity_state /usr/local/google/home/ctiller/grpc/src/core/channel/client_channel.c:473:9 (concurrent_connectivity_test+0x0000000cdf61)
    #9 grpc_channel_check_connectivity_state /usr/local/google/home/ctiller/grpc/src/core/surface/channel_connectivity.c:56:13 (concurrent_connectivity_test+0x0000000a6cc3)
    #10 create_loop_destroy /usr/local/google/home/ctiller/grpc/test/core/surface/concurrent_connectivity_test.c:25:11 (concurrent_connectivity_test+0x0000000a4f12)
    #11 thread_body /usr/local/google/home/ctiller/grpc/src/core/support/thd_posix.c:57:3 (concurrent_connectivity_test+0x0000000c783d)

  Thread T52 (tid=17587, running) created by main thread at:
    #0 pthread_create /usr/local/google/home/ctiller/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:849 (concurrent_connectivity_test+0x00000004ace3)
    #1 gpr_thd_new /usr/local/google/home/ctiller/grpc/src/core/support/thd_posix.c:81:21 (concurrent_connectivity_test+0x0000000c7723)
    #2 main /usr/local/google/home/ctiller/grpc/test/core/surface/concurrent_connectivity_test.c:43:5 (concurrent_connectivity_test+0x0000000a518e)

SUMMARY: ThreadSanitizer: data race /usr/local/google/home/ctiller/grpc/src/core/client_config/subchannel.c:649:17 in subchannel_connected
==================

I wrote _channel_test.py weeks ago with the specific thought in mind of isolating a defect in a small enough cage that we could hand it off to you... and then this happened. I am very excited to see where this goes.

Very nice result here! The fix also seems clear, which is nice.
On Fri, Mar 11, 2016 at 5:59 PM Nathaniel Manista<EMAIL_ADDRESS>wrote:

I wrote _channel_test.py weeks ago with the specific thought in mind of
isolating a defect in a small enough cage that we could hand it off to
you... and then this happened http://i.imgur.com/k1R3xzy.gif. I am
very excited to see where this goes.
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/pull/5731#issuecomment-195631589.

There's more investigation to do: this test still doesn't pass cleanly.
I absolutely love not passing tests.

(That are isolated enough to be studied)

ctiller@ctiller ~/grpc> tools/run_tests/run_tests.py -l c -c asan -n 10000 -S
PASSED: make [time=28.4sec; retries=0:0]detected port server running version 7
my port server is version 7

D0311 19:22:10.125514864   30603 test_config.c:159]          test slowdown: machine=1.000000 build=3.000000 total=3.000000
I0311 19:22:10.125918570   30603 registered_call.c:57]       test_invoke_simple_request/chttp2/fullstack_uds
I0311 19:22:10.141333124   30603 registered_call.c:57]       test_invoke_10_simple_requests/chttp2/fullstack_uds
I0311 19:22:10.145995138   30603 registered_call.c:224]      Passed simple request 0
I0311 19:22:10.146208211   30603 registered_call.c:224]      Passed simple request 1
I0311 19:22:10.146389310   30603 registered_call.c:224]      Passed simple request 2
I0311 19:22:10.146589966   30603 registered_call.c:224]      Passed simple request 3
=================================================================
==30603==ERROR: AddressSanitizer: heap-use-after-free on address 0x61400000ffa8 at pc 0x000000750421 bp 0x7ffce05c3860 sp 0x7ffce05c3858
WRITE of size 8 at 0x61400000ffa8 thread T0
    #0 0x750420 in list_join /usr/local/google/home/ctiller/grpc/src/core/iomgr/timer.c:137:41
    #1 0x74f949 in grpc_timer_init /usr/local/google/home/ctiller/grpc/src/core/iomgr/timer.c:192:5
    #2 0x568c2c in set_deadline_alarm /usr/local/google/home/ctiller/grpc/src/core/surface/call.c:791:3
    #3 0x567dd7 in grpc_call_create /usr/local/google/home/ctiller/grpc/src/core/surface/call.c:333:5
    #4 0x575e28 in grpc_channel_create_call_internal /usr/local/google/home/ctiller/grpc/src/core/surface/channel.c:184:10
    #5 0x576514 in grpc_channel_create_registered_call /usr/local/google/home/ctiller/grpc/src/core/surface/channel.c:248:10
    #6 0x53c8d2 in simple_request_body /usr/local/google/home/ctiller/grpc/test/core/end2end/tests/registered_call.c:119:7
    #7 0x53c00e in test_invoke_10_simple_requests /usr/local/google/home/ctiller/grpc/test/core/end2end/tests/registered_call.c:223:5
    #8 0x53bbcf in registered_call /usr/local/google/home/ctiller/grpc/test/core/end2end/tests/registered_call.c:232:3
    #9 0x4e0b56 in grpc_end2end_tests /usr/local/google/home/ctiller/grpc/test/core/end2end/end2end_tests.c:228:7
    #10 0x4df5bd in main /usr/local/google/home/ctiller/grpc/test/core/end2end/fixtures/h2_uds.c:116:5
    #11 0x7f7031c4cec4 in __libc_start_main /build/eglibc-3GlaMS/eglibc-2.19/csu/libc-start.c:287
    #12 0x419b75 in _start (/usr/local/google/home/ctiller/grpc/bins/asan/h2_uds_test+0x419b75)

0x61400000ffa8 is located 360 bytes inside of 408-byte region [0x61400000fe40,0x61400000ffd8)
freed by thread T0 here:
    #0 0x4b5a80 in __interceptor_free /usr/local/google/home/ctiller/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:30
    #1 0x5cfa6d in gpr_free /usr/local/google/home/ctiller/grpc/src/core/support/alloc.c:67:3
    #2 0x720293 in subchannel_destroy /usr/local/google/home/ctiller/grpc/src/core/client_config/subchannel.c:214:3
    #3 0x734c85 in closure_wrapper /usr/local/google/home/ctiller/grpc/src/core/iomgr/closure.c:85:3
    #4 0x7353d0 in grpc_exec_ctx_flush /usr/local/google/home/ctiller/grpc/src/core/iomgr/exec_ctx.c:51:7
    #5 0x735424 in grpc_exec_ctx_finish /usr/local/google/home/ctiller/grpc/src/core/iomgr/exec_ctx.c:61:3
    #6 0x57681a in grpc_channel_destroy /usr/local/google/home/ctiller/grpc/src/core/surface/channel.c:303:3
    #7 0x53f06c in shutdown_client /usr/local/google/home/ctiller/grpc/test/core/end2end/tests/registered_call.c:89:3
    #8 0x53dc0d in end_test /usr/local/google/home/ctiller/grpc/test/core/end2end/tests/registered_call.c:95:3
    #9 0x53bda6 in test_invoke_simple_request /usr/local/google/home/ctiller/grpc/test/core/end2end/tests/registered_call.c:211:3
    #10 0x53bbad in registered_call /usr/local/google/home/ctiller/grpc/test/core/end2end/tests/registered_call.c:231:3
    #11 0x4e0b56 in grpc_end2end_tests /usr/local/google/home/ctiller/grpc/test/core/end2end/end2end_tests.c:228:7
    #12 0x4df5bd in main /usr/local/google/home/ctiller/grpc/test/core/end2end/fixtures/h2_uds.c:116:5
    #13 0x7f7031c4cec4 in __libc_start_main /build/eglibc-3GlaMS/eglibc-2.19/csu/libc-start.c:287

previously allocated by thread T0 here:
    #0 0x4b5d98 in malloc /usr/local/google/home/ctiller/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:40
    #1 0x5cfa1d in gpr_malloc /usr/local/google/home/ctiller/grpc/src/core/support/alloc.c:57:7
    #2 0x720309 in grpc_subchannel_create /usr/local/google/home/ctiller/grpc/src/core/client_config/subchannel.c:313:7
    #3 0x578c7d in subchannel_factory_create_subchannel /usr/local/google/home/ctiller/grpc/src/core/surface/channel_create.c:175:7
    #4 0x7266f9 in grpc_subchannel_factory_create_subchannel /usr/local/google/home/ctiller/grpc/src/core/client_config/subchannel_factory.c:48:10
    #5 0x71e7ef in sockaddr_maybe_finish_next_locked /usr/local/google/home/ctiller/grpc/src/core/client_config/resolvers/sockaddr_resolver.c:144:24
    #6 0x71e310 in sockaddr_next /usr/local/google/home/ctiller/grpc/src/core/client_config/resolvers/sockaddr_resolver.c:124:3
    #7 0x719c9d in grpc_resolver_next /usr/local/google/home/ctiller/grpc/src/core/client_config/resolver.c:81:3
    #8 0x708fc4 in cc_pick_subchannel /usr/local/google/home/ctiller/grpc/src/core/channel/client_channel.c:359:5
    #9 0x71172d in grpc_subchannel_call_holder_perform_op /usr/local/google/home/ctiller/grpc/src/core/channel/subchannel_call_holder.c:146:9
    #10 0x706f7e in cc_start_transport_stream_op /usr/local/google/home/ctiller/grpc/src/core/channel/client_channel.c:110:3
    #11 0x706b31 in grpc_call_next_op /usr/local/google/home/ctiller/grpc/src/core/channel/channel_stack.c:230:3
    #12 0x70b761 in compress_start_transport_stream_op /usr/local/google/home/ctiller/grpc/src/core/channel/compress_filter.c:229:5
    #13 0x56d647 in execute_op /usr/local/google/home/ctiller/grpc/src/core/surface/call.c:745:3
    #14 0x56c941 in call_start_batch /usr/local/google/home/ctiller/grpc/src/core/surface/call.c:1410:3
    #15 0x56a118 in grpc_call_start_batch /usr/local/google/home/ctiller/grpc/src/core/surface/call.c:1455:11
    #16 0x53cff5 in simple_request_body /usr/local/google/home/ctiller/grpc/test/core/end2end/tests/registered_call.c:151:11
    #17 0x53bd99 in test_invoke_simple_request /usr/local/google/home/ctiller/grpc/test/core/end2end/tests/registered_call.c:210:3
    #18 0x53bbad in registered_call /usr/local/google/home/ctiller/grpc/test/core/end2end/tests/registered_call.c:231:3
    #19 0x4e0b56 in grpc_end2end_tests /usr/local/google/home/ctiller/grpc/test/core/end2end/end2end_tests.c:228:7
    #20 0x4df5bd in main /usr/local/google/home/ctiller/grpc/test/core/end2end/fixtures/h2_uds.c:116:5
    #21 0x7f7031c4cec4 in __libc_start_main /build/eglibc-3GlaMS/eglibc-2.19/csu/libc-start.c:287

This has now reached 4000 runs on my machine without failing. Calling this good enough for review.

According to @soltanmm, this seems to be fixing https://github.com/grpc/grpc/issues/5458

I will shake my fists at the sky if this doesn't fix #5458.

LGTM except for a few truly nit-sized comments. Nice race detection and cleanup!

@jtattermusch if you would like to merge, please do so. None of my nits are functional, and we can immediately assign a cleanup issue to @soltanmm .

Merging as this should address some python flakes.


Standalone example bundle would be great

I am having a hard time understanding how to implement the options, could you please provide a standalone example, where I can look at the full code of a page that uses your plugin?
I looked at the code in your website but it didn't clarify things either.
Thank you.

Hi @eduardomart did you check out the example at https://trvswgnr.github.io/bs5-lightbox/#options? What would you like to see exactly? I have been thinking about providing standalone examples with CodePen but that's not something I have the bandwidth for at the moment.

Checking in on this—did you find what you were looking for?

Sorry, I couldn't figure it out how to use your script so I went ahead and used fslightbox instead.


1H type

If you show hourly data, there are problems.

Hi,
Sample provided below.
I spent quite a lot of time playing around to get this right.
Makes sense once you get it running though.
Hope this helps :)
///////////////////////////////////////////////
Here's some sample data:
///////////////////////////////////////////////
Date,Open,High,Low,Close,Volume
24-Aug-15 04:00:00,0.93471,0.93471,0.92577,0.92997,37617413
24-Aug-15 05:00:00,0.93,0.93639,0.92904,0.93604,37617413
24-Aug-15 06:00:00,0.93606,0.93755,0.93169,0.93489,37617413
24-Aug-15 07:00:00,0.93488,0.93874,0.9341,0.93834,37617413
24-Aug-15 08:00:00,0.93832,0.93924,0.93519,0.93588,37617413
//////////////////////////////////
Here's the HTML/JavaScript:
//////////////////////////////////

ChartView
<script src="~/Scripts/jquery-1.10.2.min.js"></script>
<script src="~/Scripts/d3/d3.js"></script>
<script src="~/Scripts/techan-0.5.0/techan.js"></script>

<style>

body {
    font: 10px sans-serif;
}

.axis path,
.axis line {
    fill: none;
    stroke: #000;
    shape-rendering: crispEdges;
}

path.candle {
    stroke: #000000;
}

path.candle.body {
    stroke-width: 0;
}

path.candle.up {
    fill: #00AA00;
    stroke: #00AA00;
}

path.candle.down {
    fill: #FF0000;
    stroke: #FF0000;
}

.trendline {
    stroke: blue;
    stroke-width: 0.8;
}

.trendline circle {
    stroke-width: 0;
    display: none;
}

.mouseover .trendline path {
    stroke-width: 1;
}

.mouseover .trendline circle {
    stroke-width: 1;
    display: inline;
}

.dragging .trendline {
    stroke: darkblue;
}

.interaction path, .interaction circle {
    pointer-events: all;
}

.interaction .body {
    cursor: move;
}

.interaction .start, .interaction .end {
    cursor: nwse-resize;
}

.crosshair {
    cursor: crosshair;
}

.crosshair path.wire {
    stroke: #DDDDDD;
    stroke-dasharray: 1, 1;
}

.crosshair .axisannotation path {
    fill: #DDDDDD;
}
</style>

<script>

  var margin = { top: 20, right: 70, bottom: 50, left: 50 },
          width = window.innerWidth - margin.left - margin.right,
          height = window.innerHeight - margin.top - margin.bottom - 40;

  // Original
  //var parseDate = d3.time.format("%d-%b-%y").parse,
  //    timeFormat = d3.time.format('%Y-%m-%d'),
  //    valueFormat = d3.format(',.2fs');

  // Edited & working with C#: "d-MMM-yy hh:mm:ss"
  var parseDate = d3.time.format("%d-%b-%y %H:%M:%S").parse,
      timeFormat = d3.time.format('%Y-%m-%d %H:%M:%S'),
      valueFormat = d3.format(',.5fs');

  // ISO 8601 format: 2008-09-22T14:01:54.9571247Z
  //var format = d3.time.format("%Y-%m-%dT%H:%M:%SZ");
  //alert(format.parse("2015-10-31T19:15:28Z"));

  //var timeFormat = d3.time.format("%Y-%m-%dT%H:%M:%SZ");
  //alert(timeFormat.parse("2015-10-31T19:15:28Z"));

  //var timeFormat = d3.time.format("%Y-%m-%dT%H:%M:%S");
  //alert(timeFormat.parse("2015-08-24T16:00:00"));
  // 2011-07-01T19:15:28Z
  // 2015-08-24T16:00:00

  // ISO Date test
  //var parseDate = d3.time.format("%Y-%m-%dT%H:%M:%S").parse,
  //    timeFormat = d3.time.format('%Y-%m-%dT%H:%M:%S'),
  //    valueFormat = d3.format(',.5fs');

  var x = techan.scale.financetime()
          .range([0, width]);

  var y = d3.scale.linear()
          .range([height, 0]);

  var candlestick = techan.plot.candlestick()
          .xScale(x)
          .yScale(y);

  var trendline = techan.plot.trendline()
          .xScale(x)
          .yScale(y)
          .on("mouseenter", enter)
          .on("mouseout", out)
          .on("drag", drag);

  var xAxis = d3.svg.axis()
          .scale(x)
          .orient("bottom");

  var yAxis = d3.svg.axis()
          .scale(y)
          .orient("left");

  var svg = d3.select("body").append("svg")
          .attr("width", width + margin.left + margin.right)
          .attr("height", height + margin.top + margin.bottom)
          .append("g")
          .attr("transform", "translate(" + margin.left + "," + margin.top + ")");

  var valueText = svg.append('text')
          .style("text-anchor", "end")
          .attr("class", "coords")
          .attr("x", width - 5)
          .attr("y", 15);

  // Crosshairs

  var xTopAxis = d3.svg.axis()
        .scale(x)
        .orient("top");

  var yRightAxis = d3.svg.axis()
        .scale(y)
        .orient("right");

  var ohlcAnnotation = techan.plot.axisannotation()
        .axis(yAxis)
        .format(d3.format(',.5fs'));

  var ohlcRightAnnotation = techan.plot.axisannotation()
          .axis(yRightAxis)
          .translate([width, 0]);

  var timeAnnotation = techan.plot.axisannotation()
        .axis(xAxis)
        .format(d3.time.format('%Y-%m-%d %H:%M'))
        .width(90)
        .translate([0, height + 20]);

  var timeTopAnnotation = techan.plot.axisannotation()
          .axis(xTopAxis);

  var crosshair = techan.plot.crosshair()
          .xScale(x)
          .yScale(y)
          .xAnnotation([timeAnnotation, timeTopAnnotation])
          .yAnnotation([ohlcAnnotation, ohlcRightAnnotation])
          .on("enter", enter)
          .on("out", out)
          .on("move", move);

  var coordsText = svg.append('text')
        .style("text-anchor", "end")
        .attr("class", "coords")
        .attr("x", width - 5)
        .attr("y", 15);

  //End cross hairs

  //d3.csv("/Scripts/Data/data.csv", function (error, data) {
  d3.csv("/api/Data", function (error, data) {
    var accessor = candlestick.accessor();

    data = data.slice(0, 200).map(function (d) {
      return {
        date: parseDate(d.Date),
        open: +d.Open,
        high: +d.High,
        low: +d.Low,
        close: +d.Close,
        volume: +d.Volume
      };
    }).sort(function (a, b) { return d3.ascending(accessor.d(a), accessor.d(b)); });

    x.domain(data.map(accessor.d));
    y.domain(techan.scale.plot.ohlc(data, accessor).domain());

    svg.append("g")
            .datum(data)
            .attr("class", "candlestick")
            .call(candlestick);

    d3.svg.axis().scale()

    svg.append("g").attr("class", "x axis")
      .attr("transform", "translate(0," + height + ")")
      .call(xAxis);

    svg.append("g")
            .attr("class", "y axis")
            .call(yAxis)
            .append("text")
            //.attr("transform", "rotate(-90)")
            .attr("y", 6)
            .attr("dy", ".71em")
            .style("text-anchor", "end")
            .text(harmonic.Symbol);

    // Crosshairs
    svg.append('g')
            .attr("class", "crosshair")
            .call(crosshair);
    // end crosshairs
  });

  function enter(d) {
    valueText.style("display", "inline");
    refreshText(d);
  }

  function out(d) {
    valueText.style("display", "none");
  }

  function drag(d) {
    refreshText(d);
  }

  function refreshText(d) {
    valueText.text(
        "Start: [" + timeFormat(d.start.date) + ", " + valueFormat(d.start.value) +
        "] End: [" + timeFormat(d.end.date) + ", " + valueFormat(d.end.value) + "]"
    );
  }

  function getDate(d) {
    return new Date(d.jsonDate);
  }

  function enter() {
    coordsText.style("display", "inline");
  }

  function out() {
    coordsText.style("display", "none");
  }

  function move(coords) {
    coordsText.text(
        timeAnnotation.format()(coords[0]) + ", " + ohlcAnnotation.format()(coords[1])
    );
  }

</script>

Hi @chip-and-dail
It would help if you mentioned what you were expecting to see and provided an example via jsfiddle, gist. It's difficult to read slabs of code and/or data dropped into an issue. I can't really know for sure what you're expecting to see.
Dig through the examples, there may be a working example for you there. This may help: http://bl.ocks.org/andredumas/17be8c0973ac92acd6e5
andre


Add image lazy loading

Looking at the current state of the site, I'm not sure a Lazy load feature will be necessary.
The light house performance test came out super good!
Report:
https://lighthouse-dot-webdotdevsite.appspot.com//lh/html?url=https%3A%2F%2Fkodekage.netlify.app


Merge aspnet/Microsoft.Data.Sqlite 2.1 into this repo

As announced in https://github.com/aspnet/Announcements/issues/320, this merge is meant to reduce the number of repos we use to build EF Core. This merges aspnet/Microsoft.Data.Sqlite into this repo.
Changes:

Merges the complete history of Microsoft.Data.Sqlite release/2.1 into this repo.
Update EFCore.sln to reference 3 new Microsoft.Data.Sqlite projects
Replace the PackageReference from EFCore.Sqlite with a ProjectReference

@bricelam Can you take a look and check everything looks good before this is merged?


code-server build 3.10.2 failed to build  error<EMAIL_ADDRESS>has unmet peer dependency and<EMAIL_ADDRESS>has unmet peer dependency

OS/Web Information

Web Browser: Firefox, Chromium, Brave etc.
Local OS: NixOs 21.05
Remote OS: NixOs 21.05
Remote Architecture: Linux X64
code-server --version: 3.10.2

Steps to Reproduce

need nixpkgs and nixos dev environment
nixpkgs basic config use

{ lib, stdenv, fetchFromGitHub, buildGoModule, makeWrapper, runCommand
, moreutils, jq, git, zip, rsync, pkg-config, yarn, python2
, nodejs-12_x, libsecret, xorg, ripgrep
, AppKit, Cocoa, Security, cctools }:

let
  system = stdenv.hostPlatform.system;

  nodejs = nodejs-12_x;
  python = python2;
  yarn' = yarn.override { inherit nodejs; };
  defaultYarnOpts = [ "frozen-lockfile" "non-interactive" "no-progress"];

in stdenv.mkDerivation rec {
  pname = "code-server";
  version = "3.10.2";
  commit = "31aac201bfbae0af59149816ed34653687d150e8";

  src = fetchFromGitHub {
    owner = "cdr";
    repo = "code-server";
    rev = "v${version}";
    sha256 = "rRXc2VhZv7H+K/biHQBN+REYHYDvnFo57PbrAlhaoxY=";
  };

  cloudAgent = buildGoModule rec {
    pname = "cloud-agent";
    version = "0.2.3";

    src = fetchFromGitHub {
      owner = "cdr";
      repo = "cloud-agent";
      rev = "v${version}";
      sha256 = "Ug4Of63X40XgI7GJIJoPbf54JMfRZ1F2sR64cQTGIZI=";
    };

    vendorSha256 = "wRgARS57m75/8gco5alqRZP8Aqp1Ged1yaP0PzkIO00=";

    postPatch = ''
      # the cloud-agent release tag has an empty version string, so add it back in
      substituteInPlace internal/version/version.go \
        --replace 'var Version string' 'var Version string = "v${version}"'
    '';
  };

  yarnCache = stdenv.mkDerivation {
    name = "${pname}-${version}-${system}-yarn-cache";
    inherit src;
    phases = ["unpackPhase" "buildPhase"];
    nativeBuildInputs = [ yarn' git ];
    buildPhase = ''
      export HOME=$PWD

      yarn config set yarn-offline-mirror $out
      find "$PWD" -name "yarn.lock" -printf "%h\n" | \
        xargs -I {} yarn --cwd {} \
          --frozen-lockfile --ignore-scripts --ignore-platform \
          --ignore-engines --no-progress --non-interactive
    '';
    outputHashMode = "recurs

Expected

Build and deploy new code-server package
Actual

erro during the build
yarn install v1.22.10
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
warning Ignored scripts due to flag.
Done in 1.38s.
yarn install v1.22.10
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " ><EMAIL_ADDRESS>has unmet peer dependency "<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>[4/4] Building fresh packages...
warning Ignored scripts due to flag.
Done in 13.37s.
error: builder for '/nix/store/2ppw5w73f1f3rmfdd3my4nx89qp8c985-code-server-3.10.2-x86_64-linux-yarn-cache.drv' failed with exit code 123;
       last 10 log lines:
       > Done in 1.38s.
       > yarn install v1.22.10
       > [1/4] Resolving packages...
       > [2/4] Fetching packages...
       > [3/4] Linking dependencies...
       > warning " ><EMAIL_ADDRESS>has unmet peer dependency "<EMAIL_ADDRESS>       > warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>       > [4/4] Building fresh packages...
       > warning Ignored scripts due to flag.
       > Done in 13.37s.
       For full logs, run 'nix log /nix/store/2ppw5w73f1f3rmfdd3my4nx89qp8c985-code-server-3.10.2-x86_64-linux-yarn-cache.drv'.

Logs

Screenshot

Notes

This issue can be reproduced in VS Code: Yes/No

After some try, I find an issue started on build 3.9.1 I was able to build code-server for 3.9.0 but start failing with an error.
yarn install v1.22.10
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " ><EMAIL_ADDRESS>has unmet peer dependency "<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>[4/4] Building fresh packages...
warning Ignored scripts due to flag.
Done in 14.20s.
error: builder for '/nix/store/6wh1h3agzsr889sdgigybmjdl117bbiy-code-server-3.9.1-x86_64-linux-yarn-cache.drv' failed with exit code 123;
       last 10 log lines:
       > yarn install v1.22.10
       > [1/4] Resolving packages...
       > [2/4] Fetching packages...
       > [3/4] Linking dependencies...
       > warning " ><EMAIL_ADDRESS>has unmet peer dependency "<EMAIL_ADDRESS>       > warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>       > warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>       > [4/4] Building fresh packages...
       > warning Ignored scripts due to flag.
       > Done in 14.20s.
       For full logs, run 'nix log /nix/store/6wh1h3agzsr889sdgigybmjdl117bbiy-code-server-3.9.1-x86_64-linux-yarn-cache.drv'.
error: 1 dependencies of derivation '/nix/store/9frznlzsl19s6wjg2r3c6r5b38597hf4-code-server-3.9.1.drv' failed to build

Seems the error is deceiving as is wornning and not sure if it contributes to the error.

Not super familiar with nix but I think @code-asher is.
Those warnings shouldn't matter. Can you post the full logs?


[2.5.2] Mobile view has a strange padding

Hello,
By migrating up to the version 2.5.2, I'v been trapped by a strange effect that happen only in mobile version:
Screenshot of my portal:

Screenshot of an example took from github

There is a small gap which push the whole page to the left (and thus break the dropdown items). Have you any idea where/why comes this gap?
Thanks and Cheers,
Julien

Thanks for your report.
Can you provide a link to where this is happening? We'll have a look into it.

Sorry it was my bad.There was a break line between the hyperlink and the span markup (for the icon) and surprisingly (at least for me :smirk:) it has bring the rendering down
Wrong code

Correct code


[BUG] Placeholder title

This appears in using clam:
P.generate_features_for_clam(
model='xception',
outdir='./clam/',
layers='postconv',
dataset = dataset
)
AttributeError                            Traceback (most recent call last)
/tmp/ipykernel_2039/3996529435.py in
----> 1 P.generate_features_for_clam(
2     #model='./external.models//UCH.RS/cp.ckpt.data-00000-of-00001',
3     model='xception',
4     outdir='./clam/',
5     layers='postconv',
/opt/conda/lib/python3.8/site-packages/slideflow/project.py in generate_features_for_clam(self, model, outdir, dataset, layers, force_regenerate, min_tiles)
1946
1947         # Set up activations interface
-> 1948         df = sf.DatasetFeatures(
1949             model=model,
1950             dataset=dataset,
/opt/conda/lib/python3.8/site-packages/slideflow/model/init.py in init(self, model, dataset, labels, cache, annotations, **kwargs)
331         # Otherwise will need to generate new activations from a given model
332         else:
--> 333             self._generate_from_model(model, cache=cache, **kwargs)
334
335         # Now delete slides not included in our filtered TFRecord list
/opt/conda/lib/python3.8/site-packages/slideflow/model/init.py in _generate_from_model(self, model, layers, include_preds, include_uncertainty, batch_size, cache, **kwargs)
444             combined_model = sf.model.Features.from_model(model, **feat_kw)
445         elif is_torch:
--> 446             combined_model = sf.model.Features.from_model(
447                 model,
448                 tile_px=self.tile_px,
AttributeError: 'Features' object has no attribute 'to'

Thank you for raising this issue! I've fixed the problem in 07d62b8. I'll include this in a 1.5.4 patch release in the next day or two.


Prevent provider pages from crashing on inactive applications

Previously, if a provider tried to open an inactive application, the page would crash with a 500 error. This commit fixes that by setting the status to awaiting_provider_decision if the application is inactive.
This is to avoid creating StatusBoxComponents::InactiveComponent.

 Clicking on an inactive application as a provider results in a 500 error


Configurable keyword for parsing

Is your feature request related to a problem? Please describe.
First of all, thank you very much for this great plugin! Just one question, I use GitLab for some of the projects, and GitLab supports inline plantuml rendering natively throughout the whole website. Only issue is that their integration looks for keyword plantuml instead of puml.
Describe the solution you'd like
Would it be possible to extend configuration for customisable keyword within mkdocs.yml? e.g. something like this:
plugins:
    - plantuml:
        puml_url: https://www.plantuml.com/plantuml/
        num_workers: 8
        puml_keyword: plantuml # default puml

Describe alternatives you've considered
Switch from puml keyword to plantuml, but that could break backwards compatibility, and having this configurable might be bulletproof going forward, these "flavored" Markdowns are not standardized per se.

Hi @legwinskij. Thanks for raising the issue. I'm glad to know that you find this library useful!
This is actually quite a good idea. I'll think about implementation of this feature.

Hi @MikhailKravets thanks for feedback, would you be ok if I try the implementation in a branch and send you pull request for review? I just thought I could help the community as well! But I don't want to push you :).

@legwinskij , of course! It'll be much appreciated. There is no PR policy yet 😬 please follow these standard rules for now:

Cover new functionality with tests (I keep coverage at 100% now)
Add new functionality to docstring where needed
Make PR into release/1.2.0 branch

Many thanks 🚀

@MikhailKravets thanks! I've tried something, please let me know what you think :).


Gem should declare dependency on actionmailbox or set it as optional

Hi!
Just wanted to let you know that the gem should declare a dependency on actionmailbox, my rails installation doesn't use actionmailbox and activestorage and as such, are disabled.
In development, this goes unnoticed (due to lazy load), however in production this caused a small outage because activestorage couldn't be loaded

Thanks for the feedback and apologies for the delay in getting back (notifications on this repo were disabled).
Apologies for causing an outage, I know how annoying that can be. This is now fixed in https://github.com/mailpace/mailpace-rails/commit/a8a15d0156ab9c70dadec56b5bf846853e4018a2 and will be in the next version


bill search on sponsors.id not working

curl -X "GET" "https://api.opencivicdata.org/bills/?sponsors.id=ocd-person%2F3b5daa7c-f127-472f-9bde-39d80f18e907&fields=id%2Ctitle"
will return an http 500.

Internally raises an unhanded django.core.exceptions.FieldError: Cannot resolve keyword 'sponsors.id' into field. error. I believe this happens on PublicListEndpoint near line 284 where self.filter is run.
Not sure if imago was supposed to support sub/related object searches using dot notation or if there is supposed to be a generated field.

The fact this 500s is the bug here - we should get clean errors on this stuff when we put things into the API

I'll tackle some of this error nonsense


Kibana dashboard does not work with latest (1.3.1) ES

The fields are a bit different so it does not display charts and data properly.

Any update on this? Are you going to change the index to not use _source or are you going to change the dashboards to use _source?

@abronner Any chance, you might updating the Kibana Dashboard to version 4. Your scripts are still working fine with Elastic 2.0, just the Dashboard doesn't work with Kibana 4.

@kpcool Thanks for the feedback and for reaching out. As you can see, I haven't touched this repository for a very long time, especially since the release of Marvel by the elasticsearch team. I will try to update but don't expect it in the coming days. Feel free to submit a PR.


Anchore Scan images got stuck in analyzing state.

Is this a request for help?:
Yes
BUG REPORT

We are using Anchore scan to integrate the harbor docker registry, using the harbor provided adapter, works fine with images except for windows, I see windows is only supported with anchor enterprise versions (please correct me if I'm wrong ), but the global version the scanning process gets stuck in analyzing forever, instead of exiting saying not supported image, the analyzer log says the following.
In both cases, we'll probably ask follow-up questions to ensure it's well understood. If we cannot reproduce the issue or
questions go unanswered for too long, we may close the issue. If we're wrong, PLEASE feel free to re-open it and explain why.
-->

Version of Anchore Engine and Anchore CLI if applicable:
What happened:
Unsupported images get stuck in analyzing state, without exiting, saying not supported.
What did you expect to happen:
need to way to stop the analyzing process for an image and delete the image. SHould threw an error saying unsupported OS system

Any relevant log output from /var/log/anchore:
  [-] [Thread-1057] [anchore_engine.clients.localanchore_standalone/squash()] [WARN] failed to store hardlink (Files/Windows/WinSxS/x86_regasm_b03f5f7f11d50a3a_4.0.15713.0_none_b7de50bc1805c2d0/RegAsm.exe -> Files/Windows/Microsoft.NET/Framework/v4.0.30319/RegAsm.exe) - exception: 'NoneType' object has no attribute 'isreg'
What docker images are you using:
Windows
How to reproduce the issue:
add a windows os image to the engine.
When tried to delete using CLI, I'm getting the following error:
Error: cannot delete the image that is being analyzed

came across the same problem.
the anchore-analyzer fails and becomes unstable after a windows image was pushed for scanning.
it is annoying that a reboot is needed each time a windows image is pushed... maybe a status analysis_failed or os not supported would be more appropriate


Don't place the heap in the .data-segment

As reported in #30, all versions of  emballoc up to and including the current release v0.2.0 place the Allocator and hence its buffer in the .data-segment. This is bad, because this needs to initialize memory, that is almost entirely uninitialized. This extra work would not be bad, if it wasn't for a copy of the data in the the non-volatile memory! This bloats up the flash size with the size of the heap. This is especially bad for small microcontrollers.
This PR changes the allocator internally to be lazily-initialized, which causes the memory to be entirely uninitialized and therefore typically placed inside the .bss-section. Note, that the memory therefore will typically still initialized, but this time with zero and hence without the need for a heap initialization blob.
cc @stephan-gh: you might want to test this :wink:
The implementation is rather simple. The old internal buffer type [MaybeUninit<u8>; N] is now wrapped into a new type LazyInitializedBuffer, which also stores, whether or not the buffer was already initialized. If it was not, it gets initialized in the de-reference operator. Implementing this operator makes the new type behave like the old type in this use case. The initialization doesn't need to run in the DerefMut-case, since in this codebase, a non-mutable call always precedes a mutable one.
Note, that using a Once is not possible for two reasons:

it is not yet present in the std-version 1.57, which is the MSRV
the type would then also end up in .data, as the Once holds an Option containing the callback.

Therefore we'll stick to the "simple" implementation, which has the downside, that the LazyInitializedBuffer needs to know, how to initialize the buffer (i.e. the initialization-code is not local to the Buffer-type.

FWIW: I extended my simulation a bit. My simulated flash is now slightly more realistic (with a read bandwidth of about ~50MB/s instead of some GB/s previously). I also have a larger heap (64 KiB) and a few more alloc calls.
Performance is still a bit inconclusive, sometimes better, sometimes slightly worse (depending on the mood of the compiler and optimization level). But never in a significant magnitude.
The main improvement for me however the binary size: With this PR the binary of my application is currently about 93 KiB (optimized for size). With v0.2.0 it's 64 KiB more, 157 KiB.
My flash and memory have sufficient size but the loading routine that reads the binaries from the flash into memory can only support limited binary sizes. So it helps me a lot if the heap does not consume space until the binary is actually started. Thanks again for fixing this! :+1:

@jfrimmel Is there anything I could do to help get this merged into a released version? I've been using this for quite some time now without problems and it significantly improves behavior for my use case. :)

Hi, sorry for the rather large delay. I was not able to work on this repository for quite some time.
Now to the actual content: I had to remove the latest commit, as it introduced undefined behavior in multi-core systems (or in general) due to the modification of memory during potentially parallel allocations. The current code should be good to go and will be merged once all checks pass. I hope, that I will be able to perform a new release very soon.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (df443ec) to head (dc55b43).
Report is 5 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##              main       #38   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            6         7    +1
  Lines          731       791   +60
=========================================
+ Hits           731       791   +60

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


Admin>>Tenant>>Bottom spacing should be there for pages

Tenant, User, Claim types

Spacing should be there for all the pages on bottom. Not working as expected


publishPlugin not not in found in 0.7.2

Hello!
I'm facing a small issue when using KotlinDSL with version 0.7.2 of this plugin. The publishPlugin extension doesn't seem to be available, but the documentation says it should be. Here's the issue and what I did to work around

// This doesn't work. The extension doesn't exist
publishPlugin {
     setToken(System.getenv("PUBLISH_TOKEN"))
     setChannels("Stable")
}

// This did work as a workaround
tasks.withType<org.jetbrains.intellij.tasks.PublishTask> {
    setToken(System.getenv("PUBLISH_TOKEN"))
    setChannels("Stable")
}

this is expected if you use kotlin script for configuring gradle
https://docs.gradle.org/current/userguide/migrating_from_groovy_to_kotlin_dsl.html#configuring-tasks


Support to scroll to a particular item

In previous versions there was the vsScrollSetting attribute that had the scrollIndex property to go to a particular item. But this feature was removed in newer versions and there is no substitute for it.

Proposed solution:
`                        $scope.$on('vsScrollToItem', function(event, index) {
                        if(scrollPos=='scrollTop')
                            $scrollParent.scrollTop($scope.sizesCumulative[index]);
                        else
                            $scrollParent.scrollLeft($scope.sizesCumulative[index]);

                    });

`

See https://github.com/kamilkp/angular-vs-repeat/issues/144


Try to register services instead of overriding them

Clone of https://github.com/MassTransit/MassTransit/pull/1394 (cannot update that PR)

So I squashed this down, and then realized it's a one line change, so when I removed the others, I just pushed the single commit. The remaining lines really should be how things are registered, and only IBusControl needs to be overridable.


fix: use relative paths when generating types

🔗 Linked issue

❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Problem: IDE types are broken after upgrade to 8.1.1 when using Docker
(similar issue in nuxt: https://github.com/nuxt/nuxt/issues/21827)
📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Thanks for contributing!


Wrapping my App with  adds space on top and bottom of the screen.

Describe the bug
When wrapping my app with KeyboardProvider it adds space looks like it tries to do the same <SafeAreaView> does but I am already using <SafeAreaView> partially in my app as in some screens is not needed. If I just disable it <KeyboardProvider enabled={false}> then the app shows in full view.
Expected behavior
The app should show in full screen
Screenshots

Smartphone (please complete the following information):

Desktop OS: [e.g. Windows 10, MacOS 10.15.5]
Device: Android
OS: Android
RN version: 0.73.2
RN architecture: [e.g. old/new or paper/fabric]
JS engine: [e.g. JSC, Hermes, v8]
Library version: 1.13.3

@e-biba-ofti have you tried to specify statusBarTranslucent and navigationBarTranslucent props on KeyboardProvider level?

@kirillzyusko navigationBarTransparent seems to work fine but the statusBarTranslucent doesn't work. After checking it a bit more when I remove my status bar it works as expected or when I set my status bar as translucent it's working. But I don't want my status bar to be translucent as the content will be drawn under it.

@edisoni1995 when you wrap app in KeyboardProvider it will move to edge-to-edge mode and app will be drawn under status bar. Since edge-to-edge is not a default mode for RN app the KeyboardProvider will try to match default RN behavior and add paddings.
On your screenshot these white paddings most likely are caused by this fact (i. e. it's paddings from KeyboardProvider and for me it looks like you already handle safe-area paddings somewhere in your code). To remove these padding you will need to add navigationBarTranslucent and statusBarTranslucent props.
statusBarTranslucent doesn't work in your case because you are using StatusBar component and translucent is false by default, so you overwrite an initial config of KeyboardProvider and you are adding white padding again.
I think in your case it'll be safe to add translucent property to StatusBar - in this case it shouldn't draw anything under StatusBar because react-native-keyboard-controller uses its own implementation (this implementation is compatible with edge-to-edge mode, unlike RN component) of StatusBar and it becomes to be used automatically when you use KeyboardProvider.
Can you share here two screenshots side by side:

one how your current app screen looks right now without react-native-keyboard-controller integration;
the second one is with KeyboardProvider (with translucent props) and with <StatusBar translucent /> in place?

In my understanding these screenshots should be identical.

Here you have it, I made a red border just to be able to tell that some part of the content is going under the status bar.
The image on the right is the one with <StatusBar translucent /> and with translucent props for KeyboardProvider.

@e-biba-ofti would you be able to provide a minimal reproduction example?
Something is definetely going wrong here, but without a code I can not say what exactly 😔
Would you be able also to try to comment out this line:
https://github.com/kirillzyusko/react-native-keyboard-controller/blob/7c9c450984161dcb76858184fcb2d249b4dcf8f4/android/src/main/java/com/reactnativekeyboardcontroller/modules/StatusBarManagerCompatModuleImpl.kt#L58
And re-run app again?

@kirillzyusko that would be very difficult to create for now but I will try to find a minimal reproducable example. I did the change in the android file and re-build android but nothing changed.

@e-biba-ofti got you! Then minimal reproduction example is highly appreciate - it can significantly reduce the time needed for fixing this problem! ❤

The issue will be resolved soon - it's been merged to react-native-screens but is yet unreleased. I posted this in another issue:
https://github.com/kirillzyusko/react-native-keyboard-controller/issues/592#issuecomment-2370922343

Yes I am using navigationBarOptions and<EMAIL_ADDRESS>

Well @e-biba-ofti<EMAIL_ADDRESS>is highly unlikely to break something 🤔
I really can't help here 😔 If you can provide a reproduction example that would be a dope and would significantly reduce time for fixing 🙏

I am also facing this issue on android. I am getting a white space at the top of the screen. The space is roughly equal to the height of the statusbar. This is happening with react-native-screens >=3.31.0

@rranjan14 what is the exact version of react-native-screens in package-lock.json or yarn.lock? Can you share a snippet of data from your .lock file?

here you go @kirillzyusko

@rranjan14 okay, you'll need to add a patch like https://github.com/kirillzyusko/react-native-keyboard-controller/blob/main/example/patches/react-native-screens%2B3.34.0.patch or apply changes from this PR: https://github.com/software-mansion/react-native-screens/pull/2301
Both patches are identical. Hopefully new version of react-native-screens will be released and that issue will go away 😅
Alternatively you can downgrade your version to 3.31.0 (without >= modifiers).

@kirillzyusko I have been following this issue for some time now. I have tried this but to no avail sadly 😕

I did. And also, I am using SystemBars from react-native-edge-to-edge and not StatusBar from react-native or expo-status-bar

Well, interesting 🤔 Can you provide a minimal reproduction example?
react-native-edge-to-edge is not using deprecated API so it should work fine. If you can provide a minimal reproduction example, then it can definitely speed up the process of fixing the problem 👀

@kirillzyusko unfortunately I do not see this happening in a new project. I suspect this is a configuration issue at my end. I have tried too many things to solve but the outcome is always same. Also, what i observed is, when the value of top inset returned is not 0 from react-native-safe-area-context after first render, the white space is gone. What's happening is, after first render, the values returned from useSafeAreaInsets hook is 0 for all the sides.

@rranjan14 but you can try to simplify your project. In the end you'll end up with a project, where you have 5-6 files and where the issue is reproducible. And then you can share that project (or create a new project and copy all changes from your simplified project to a new project) 👀

@kirillzyusko its a big task. I'd surely try this. Will share the simplified project when I can. Thanks a lot! 🫡

In case it helps, I had the same problem and adding statusBarTranslucent and navigationBarTranslucent to the provider fixed it
  <KeyboardProvider statusBarTranslucent navigationBarTranslucent>
   {children}
</KeyboardProvider>

I am also facing this issue on android. I am getting a white space at the top of the screen. The space is roughly equal to the height of the statusbar. This is happening with react-native-screens >=3.31.0

I've been seeing this issue as well. But only sometimes. And I have not been able to reproduce it reliably.
Sometimes I also have the same thing happening but at the bottom of the screen when the keyboard is visible. Like this (notice the yellow bar above the keyboard that hides part of the button)

So far uninstalling and then reinstalling the app has been the only way to fix it for me once it starts doing that. Here it works as expected. (No extra yellow bar between the top of the keyboard and what's visible on the screen)

Working on a reproduction I see weird things happening both at the top and the bottom of the screen at the same time

Here's a reproduction
https://github.com/Tobbe/rnkc-keyboard-padding

Working on a reproduction I see weird things happening both at the top and the bottom of the screen at the same time
Here's a link to the code used for the screenshot above https://github.com/Tobbe/rnkc-keyboard-padding
If I add enabled={false} to <KeyboardController> and reload the app (by pressing r) I see this, which doesn't have the extra padding neither at the top nor the bottom
I simplified the code for the reproduction even more. Now it's just two files.

// _layout.tsx

import { Stack } from "expo-router";
import { KeyboardProvider } from "react-native-keyboard-controller";

export default function RootLayout() {
  return (
    <KeyboardProvider>
      <Stack />
    </KeyboardProvider>
  );
}

// index.tsx

import React from "react";
import { Text, ScrollView, StyleSheet } from "react-native";

export default function App() {
  return (
    <ScrollView contentContainerStyle={styles.scrollViewContainer}>
      <Text>Foobar</Text>
    </ScrollView>
  );
}

const styles = StyleSheet.create({
  scrollViewContainer: {
    backgroundColor: "lightpink",
    flexGrow: 1,
  },
});

Can you try adding the react-native-edge-to-edge package and check with enabled prop set as true? It might solve it for you.

@rranjan14 Thanks! That seems to have improved things 🙂 Now I just need to start slowly adding things back one by one and see how far I can take it until my app breaks again 😆

react-native-screens@4 also might be not always compatible with keyboard-controller: https://github.com/software-mansion/react-native-screens/issues/2554 😔

@kirillzyusko Thank you! That might explain why rnkc sometimes just stops working altogether for me. Is there any kind of workaround right now? Or do I need to downgrade to earlier version of react-native-screens?

Or do I need to downgrade to earlier version of react-native-screens?

Well, this is the most proper way to resolve that now 👍
Another workaround that I discovered is mounting KeyboardProvider with some delay (however it's far from being perfect approach). I'm going to look into why the integration with RNS is broken and how it can be fixed 👀

@Tobbe would you mind to check if https://github.com/kirillzyusko/react-native-keyboard-controller/pull/744 fixes a problem for you or not? 👀
It may fix a problem 👀

@e-biba-ofti I also believe that https://github.com/kirillzyusko/react-native-keyboard-controller/pull/744 should fix the reported problem (after re-reading our conversation). Could you please check that? 🙏

The issue was automatically closed because I merged the PR. I'm going to publish a fix to npm under 1.15.2 tag.
If you still encounter this problem, then please open a new issue with all necessary information (such as reproduction example etc.)
I strongly believe, that the merged PR should resolve this problem! ❤

Can confirm it fixed the issue for me! I was using react-native-edge-to-edge as a workaround but just removed that and bumped the keyboard-controller to 1.15.2 and there's no extra padding above or below. Thank you! :D

Yooohooo @RayKay91 🎉 Glad it resolved the problem! 😊

@kirillzyusko Thanks for working on this issue!
I'm away spending some time with family over the holidays. I'll try the new version when I'm back at work again.

I'm away spending some time with family over the holidays. I'll try the new version when I'm back at work again.

Sure ❤


Possible flag / name configuration

We want to hide the language names in the dropdown toggle button. Currently there's no way to achieve that. Reason for that is that
<?= $this->Html->image('LanguageSwitcher.flags/' . $imageMapping[I18n::locale()] . '.png', [
            'style' => 'height: 17px; margin-right: 5px;'
        ]); ?>

has an inline style with a margin. Even if we hide the language name via CSS the margin still persists.
It would be nice if displaying the name in the toggle button would be configurable or some other way to achieve our intention.

 Ticket 1

Will be cleaned up in v2


Disabling the google.com domain logs you out of Google accounts

I just noticed that when I disable the "google.com" domain, either the third party one or the main one on google.com, it logs me out of all my Google accounts.

Interesting. Is that Google-specific or does that also happen with accounts from other domains (e.g., Facebook)?

Interesting. Is that Google-specific or does that also happen with accounts from other domains (e.g., Facebook)?

It seems to be happening with all sites I try, such as Github, Facebook, nytimes.com, and Humblebundle.com.

It seems to be happening with all sites I try, such as Github, Facebook, nytimes.com, and Humblebundle.com.

Ah, OK. Well, I guess, that could pass as a feature instead of a bug. ☺
I could imagine that this may be difficult to resolve because it may be that once a site realizes changes in the header, it logs a user out for security reasons (not sure if that is really the case, but I could imagine it). So, the best we may be able to do is to notify users of this behavior in the OptMeowt settings, the readme, a Wiki, or elsewhere.

Ah, OK. Well, I guess, that could pass as a feature instead of a bug. ☺
I could imagine that this may be difficult to resolve because it may be that once a site realizes changes in the header, it logs a user out for security reasons (not sure if that is really the case, but I could imagine it). So, the best we may be able to do is to notify users of this behavior in the OptMeowt settings, the readme, a Wiki, or elsewhere.

@kalicki1, if you could provide a small explanation in the Wiki, reference this issue, and that should be it.

@kalicki1, if you could provide a small explanation in the Wiki, reference this issue, and that should be it.


Bug - restore position when a variation is used.

Here is an example :
http://gokibitz.com/kifu/QJF6xbxO?path=211
if you choose the variation "bQ18 O19 L18 M19" the 4 white stones near L17 that just got captured by the original move should be there again...

Interesting! Oca, you win another gold star for your bug spotting. Frequently, I can tell immediately why a bug is happening (there are so many issues I've noticed but haven't had a chance to fix, yet), but I'm a little puzzled by this one.
Anyway, I'm basically reworking the way variations work because I need to have them work like actual game variations rather than a string of labels in order to get WGo to capture surrounded pieces. It's taking longer than I'd like, but I should be able to address this bug in that work, too.
Thanks for reporting this!


Images (do not close)

please put your images using this texture pack here, as well as either the PR number or the version number

Example:
version: #14

@Astr0clad please resolve this issue

close

close


WolframAlpha error: invalid appid

Whenever I ask a question, I get this:
/usr/local/lib/python2.7/dist-packages/wolframalpha/__init__.py:15: FutureWarning: The behavior of this method will change in future versions.  Use specific 'len(elem)' or 'elem is not None' test instead.
if not error:
[15:54:51]: Error 1: Invalid appid
<IP_ADDRESS> - - [03/Mar/2016 15:54:51] "GET /?context=command&command=Who%20is%20ObamaHTTP/1.1" 200 -
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:120: ``InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
{"ok":false,"error":"channel_not_found"}
What could be the cause?

Looks like you haven't added your wolframalpha appid to your config file or you've entered it improperly.

This is my JSON:
{
"slack":
 {
 "token": "xoxb-24207545430-72CHSWMK4p3K4IRjfIPNNXof",
"domain": "richyearai.slack.com",
 "username": "willai",
 "channel": "general"
 },
"wolfram":
 {
"keys": ["X6QJAV-8KPEXQ6JJ9"]
},
"autoremote":
{
"key": ""
 }
}
(Don't worry, I altered the keys.)
Should it look different than that?

That looks correct.  For whatever reason, it took 24 hours for my wolfram alpha key to start working when I started on this project.  I'm guessing you're running into the same problem.

Thanks, I'll check back tomorrow.

Everything looks to be solved here. If it doesn't work tomorrow I'll look into possible errors.

OK, so it's been a day and It's working now, thanks.


QPS is very low when searching with filter compared to that with no filter when testing Weaviate

I have used the 10M768Dim data and the 5M1536Dim data to test the weaviate server. Under each set of data, I use the default parameters, i.e.. maxConnections of 64, efConstruction of 128, and ef of -1. However, I have found that the QPS is very low when search with filter, no matter of filer 1% or 99%, yet QPS is high when searching without filter. An example result is listed below:

QPS

10M dataset, 768 Dim
645.3399

10M dataset, 768 Dim, Filter 1%
0.8153

10M dataset, 768 Dim, Filter 99%
15.933

I'd like to know if this is normal or if there's something wrong ?  I also tried to change the ef to improve the QPS, yet the QPS can raised from 15 to about 30 at most.
I used weaviate 1.21.1 and the weaviate is deployed by docker in a linux server.

I have used the 10M768Dim data and the 5M1536Dim data to test the weaviate server. Under each set of data, I use the default parameters, i.e.. maxConnections of 64, efConstruction of 128, and ef of -1. However, I have found that the QPS is very low when search with filter, no matter of filer 1% or 99%, yet QPS is high when searching without filter. An example result is listed below:
QPS
10M dataset, 768 Dim	645.3399
10M dataset, 768 Dim, Filter 1%	0.8153
10M dataset, 768 Dim, Filter 99%	15.933
I'd like to know if this is normal or if there's something wrong ? I also tried to change the ef to improve the QPS, yet the QPS can raised from 15 to about 30 at most. I used weaviate 1.21.1 and the weaviate is deployed by docker in a linux server.

I think the test is as is. Whether it's an reasonable result maybe weaviate community can give some reason.

Thanks a lot!