Dropdown programmatic open/close no longer works

Describe the bug
In the Dropdown component, the programatic closing functionality no longer works
To Reproduce
Can reproduce in the example from https://flowbite-svelte.com/dropdowns#Programatic_open/close
Expected behavior
It should close the dropdown
Additional context
I think this is broken as of 0.26.0
Env Info
System:
    OS: macOS 12.5
    CPU: (10) arm64 Apple M1 Pro
    Memory: 183.03 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 17.3.0 - ~/.nvm/versions/node/v17.3.0/bin/node
    npm: 8.3.0 - ~/.nvm/versions/node/v17.3.0/bin/npm
  Browsers:
    Chrome: 104.0.5112.101
    Firefox: 104.0.1
    Safari: 15.6
  npmPackages:
    svelte: ^3.49.0 => 3.49.0

Can you post the output of npx envinfo --system --npmPackages svelte,rollup,webpack --binaries --browsers?

Can you post the output of npx envinfo --system --npmPackages svelte,rollup,webpack --binaries --browsers?

I pasted it in the description

Thanks. Which version of Flowbite-Svelte are you using?
If the version is not v0.26.2, can you update it and let me know if it has the same problem?
npm i -D flowbite-svelte@latest

Thanks. Which version of Flowbite-Svelte are you using? If the version is not v0.26.2, can you update it and let me know if it has the same problem?
npm i -D flowbite-svelte@latest

I'm on 0.26.2

Can you test if other dropdowns and tooltips work?

Can you test if other dropdowns and tooltips work?

The dropdowns/tooltips do open on click, the problem is I cannot close it programmatically like in the example shown here
I think the issue is in this line: https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/utils/Popper.svelte#L19 (it should be export let open = false; instead)

@jjagielka

@dorisip We have updated the component. Can you check and let us know.
I close the issue for now.
Thank you.

@shinokada it looks like it's still broken so I can't test it properly
I'm on the latest version, 0.26.18, and the on:click is not being triggered on the DropdownItem component

I can confirm that the on:click method currently doesn't work on DropdownItems

@dorisip should be fixed as soon as #299 is released :)

I close the issue for now. Please let me know if this release didn't fix the problem.


Implementation for Create Account

begin
             client  = Stellar::Client.default_testnet()
            client.create_account({
              funder:           Stellar::Account.random(),
              account:          Stellar::Account.random(),
              starting_balance: 10_000_000 * Stellar::ONE,
              sequence: 1,
            })
            puts friendbot.address
        rescue Exception => e
            puts  "Error: #{e.message}"
        end

Give us :
`Error: the server responded with status 400`

Any advice? Regards

Still facing same error.

Check out spec/lib/stellar/client_spec.rb -- there's an integration test here that hits the Horizon server. I also just re-recorded it locally and it works fine.
I suspect it's because the sequence you're using should not be 1. I know that this is the example given in examples/06_fund_testnet_friendbot.rb. Eventually, the examples should be integration specs.


PGP decryption for 1000 rows return empty input stream after decryption

InputStream unc
This variable unc is returned empty when the document contains 100 or more records.

The above only appears in 3 pgp examples. I'm sorry but this tells us nothing about the problem.

Inactive.


addon-jest display wrong result

Describe the bug
Hi guys! I'm trying to use addon-jest for a few projects I am working on, but there is a weird bug.
I have a component called Button, but I also have other components called SwitcherButton, ToggleTypeButton, FixedButton, and so on. In my Button.story.js I have specified that it should look for the Button.test.js like this:
.addParameters({ jest: ["Button"] })

But when the jest JSON test report is generated, the test results of these button components appear in random order, and addon-jest simply picks the first match of the string "Button", so that means that it sometimes shows the test result of ToggleTypeButton.test.js or SwitcherButton.test.js and so on, instead of actually showing the test result of the Button.test.js.
I have tried several regex expressions instead of simply writing "Button" but with no luck.
The only solution I have found is that I rename my Button.test.js to something more unique like CustomButton.test.js but I would prefer to keep the name short and not change the name of a lot of existing components/tests.
So I have 2 questions:

Is there a way to specify an exact name/path for the test, so I'm sure that it will pick up the right test results?
Is it possible that somebody can update the logic in addon-jest to find an exact match and not allow that the name is partially found in the test result name?

To Reproduce

Add at least two tests: "Button" and "MyButton"
Generate the test report until the MyButton.test.js is executed before the Button.test.js.
Add a Button.story.js and link it with the test like:

.addParameters({ jest: ["Button"] })

Start the storybook
Go to the Button and see the test results in the panel

Expected behavior
addon-jest must display correct test results for the component
Correct result:

Wrong result:

Code snippets
.storybook/config.js
import results from "../jest-test-results.json";

import { withTests } from "@storybook/addon-jest";

addDecorator(
  withTests({
    results
  })
);

Example of generated JSON
{
  "assertionResults":[
    {
      "ancestorTitles":[],
      "failureMessages":[],
      "fullName":"SwitcherButton: renders without crashing"...
{
  "assertionResults":[
    {
      "ancestorTitles":[],
      "failureMessages":[],
      "fullName":"ToggleTypeButton: renders without crashing"...

{
  "assertionResults":[
    {
      "ancestorTitles":[],
      "failureMessages":[],
      "fullName":"FixedRefreshButton: renders without crashing"...

{
  "assertionResults":[
    {
      "ancestorTitles":[],
      "failureMessages":[],
      "fullName":"Button: renders without crashing"...

@tourniquet would you be interested in helping us fix this issue?
The jest addon can be improved a lot I think, I just haven't have had the time yet.

@ndelangen , unfortunately, I don't have enough knowledge to fix this issue

Jiminy cricket!! I just released https://github.com/storybooks/storybook/releases/tag/v5.1.0-alpha.31 containing PR #6539 that references this issue. Upgrade today to try it out!
Because it's a pre-release you can find it on the @next NPM tag.
Closing this issue. Please re-open if you think there's still more to do.


File for the ENA Project PRJEB44141 samples

This file contains 2142 samples uploaded to ENA by INAB-CERTH in the context of the Greek-vs-Corona Flagship project (https://greecevscorona.gr/), as well as the Greek Genomic Surveillance Network.

I think the ENA metadata is good enough for these samples to be grouped by our sorting/checking WF that we are running for COG-UK data, i.e., it could be split into batches automatically.
If you can just clarify the WGS/AMPLICON question I raised over in #15 we could include the Greek samples in our regular bot runs and you wouldn't need to go via PRs for them.


How to preselect filters

Expected Behavior
Is there any way to preselect a filter before the table is displayed? For example in the filter below,  I would like Active to be selected when the table loads:

if you could call something from the columns options like this:
const columns = [
{
name: "name",
label: "Name",
options: {
filter: true,
sort: true,
}
},
{
name: "state",
label: "State",
options: {
filter: true,
sort: false,
prefilter: ["Texas", "New Mexico"]
}
},
];
And then when the table load only records with Texas and New Mexico would initially be displayed.
Current Behavior
I dont think there is any current functionality for this. I am trying to use the filterList option as follows:
{ name: "status", label: "Status", filterList: ['Acitve']}, with no success.

Tech
Version

Material-UI
4.5.2

MUI-datatables
2.13.3

React
16.10.2

browser
Chrome

Check out the "filterList" option for a column. It allows you to populate the filters. You can see an example of it in action here:
https://github.com/gregnb/mui-datatables/blob/master/examples/customize-filter/index.js
The "Age" column has a filter pre-selected (25 to 50).

https://codesandbox.io/s/muidatatables-custom-toolbar-gthuj?fontsize=14&hidenavigation=1&theme=dark
For some reason I cannot get codesandbox to display my data, but this same code works on my end. This is the same code i am using

Hey @mohammad5055. In your codesandbox, your version of this library is too low. Additionally, the filterList option needs to be placed inside the options object as you do in the other columns. If you use a recent version of this library, and put your options in the proper objects, it will work.


Several TSLint warnings were fixed in msbot.ts

The following rules have been fixed:

typedef
no-require-imports
no-var-requires
no-any

To fix no-var-require, a dependecy for semver was added in package.json.
To fix no-any for const pkg, a new interface was added.
The variable a was renamed to unknownArgs.

Pull Request Test Coverage Report for Build 160

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 70.668%

Totals

Change from base Build 150:
0.0%

Covered Lines:
2592

Relevant Lines:
3521

💛  - Coveralls

Changes already merged into Microsoft/master


Feedback

contributing instructions / maven / lombok noob problems
This looks great!
  I'm also having a hard time getting it up and building in eclipse.  I've had good luck on my opensource projects having a CONTRIBUTING.md with just a few lines on how to build the project and get it setup in an IDE if there's anything unusual about it.
Silencer
https://github.com/ennerf/MatlabTools/blob/0a0ecaee16d91350c379b3935c786a4626a6d884/io/src/main/java/us/hebi/matlab/common/util/Silencer.java#L68-L76
Can this be rethrow new RuntimeException?  I think I'd want to know if I was getting IOExceptions on close, especially if I'm writing.

Thanks for taking a look. Just checking out and running "mvn package" always worked for me, but you're not the first one to complain about issues with Lombok. I'm not sure what causes it, but I'll go ahead and remove the dependency.

Huh.  mvn package is giving me the same error I copy-pasted above.  I'm a big fan of annotation processors, and I know gradle has strong support for lombok, I just don't know how to make the maven build go.  Having a free CI build setup with Travis or circleci might help figure out what's missing for clean-install users.

I just pulled, and now mvn package works for me.  That works too :)  I'll try a little integration work tomorrow.

Thanks. I'm mainly looking for feedback on the API and parts that'd be difficult to change in a backwards compatible way, e.g., unclear naming, non-obvious "magic", inappropriate separation of concerns, missing features, etc.
I'm mainly using Silencer::close to make sure that it tries to close all contained elements (e.g. a collection of arrays inside struct) rather than stopping if any one throws an error (e.g. the 2nd one may close properly even if the 1st one fails). What do you think about trying to close everything, and re-throw the first encountered IOException?

make sure that it tries to close all contained elements (e.g. a collection of arrays inside struct) rather than stopping if any one throws an error

My personal opinion on IO errors is that if any one part goes wrong, it's likely that the user is going to have to proactively take action to fix it.  It might be possible to contain an error, but my experience has been that complex error handling can hide the root cause from the user (making it harder to fix), and usually the user is still going to have to take action anyway, so the even if the complex error handling doesn't obscure the error, it still doesn't save the end user much time.
I definitely wouldn't swallow it (very frustrating to not find out that your data silently didn't actually write, especially if just part of the data didn't write), and I tend to think it's not worth the effort to be fancy, but it's your lib :)

I'm on a couple flights today, I'm tinkering with integration to give API feedback as requested.

I think I cleaned up most of the rough edges that were still bothering me. I'm planning on releasing a 1.0 into Maven Central this week.
I assume you're swamped, so I'll go ahead and close this issue. Feel free to re-open if you ever run into anything.

Sorry for slow response.  I did a decent amount of integration work, and I never encountered any hiccups.  The API looks great!  Congrats on 1.0 release, once it's on Maven I'll link to it from MatFileRW when you're ready.
If you're planning on taking community contributions, I would highly recommend

some kind CI (Travis is free and very easy to setup)

https://github.com/diffplug/matfilerw/blob/master/.travis.yml
image to show that CI is passing: https://travis-ci.org/diffplug/matfilerw.svg?branch=master
https://docs.travis-ci.com/user/languages/java/#projects-using-maven

enforce formatting

https://github.com/diffplug/spotless/tree/master/plugin-maven

I've found that having those two things setup greatly reduces my workload.

Awesome, that's great to hear!
I haven't worked with Travis before, but I'll try to get it setup shortly. I'm currently using a private Jenkins server, but currently others wouldn't be able to see what happened if something failed.
Does Spotless by any chance come with a configuration that matches the default settings of IntelliJ IDEA?

There is no support for the IntelliJ formatter right now, but it is on the todo: https://github.com/diffplug/spotless/issues/200

Uploading to Maven central turned out to be a bit of a pain, but it's finally live!
I ran into a few issues with the release process, so I initially uploaded it as version 0.x. Assuming that I don't encounter any more integration issues, I'll make the next release 1.0.
<dependency>
    <groupId>us.hebi.matlab</groupId>
    <artifactId>mat-file-io</artifactId>
    <version>0.1.1</version>
</dependency>


Resolve #8 -- Add codecov to package template

@Ashlett that is a good point, I did consider this. But the coverage of the package isn't the same as the coverage of the template. Furthermore this would be only really clean if you parse the travis file and call all stage of the script. Install, script and so forth.
I think that would go beyond what I want to achieve here.


Makefile command for testing in local development

I think there should be Makefile command which runs tests with --update-examples and without coverage for speed, and this would be the recommended workflow when iterating and testing in local development.
In fact, I think that's what make test should be, and the current test command (i.e. with coverage and without updating examples) could be renamed to test:slow or ci or something to indicate that it's the slower version that you run less often to double check things.

I think we recommend inline-snapshot for this kind of thing.


Remove source which virtualenvwrapper.sh from Makefile

which virtualenvwrapper.sh fails on Windows. I propose we remove it from the Makefile command. This means that CCDS assumes a user has virtualenvwrapper set up properly in their shell startup configuration.

which is a unix command. In windows the same command is where. Maybe this can help? https://gist.github.com/sighingnow/deee806603ec9274fd47

which is a unix command. In windows the same command is where. Maybe this can help? https://gist.github.com/sighingnow/deee806603ec9274fd47

Pretty sure that the Bash task on Azure Pipelines will run our code in a bash-like environment across all operating systems so that shouldn't be the issue
https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/bash?view=azure-devops

Closing this since it was fixed in #217


Added skip-links to submission types when navigation with keyboard

Description
Use skip-links in object index when navigating with keyboard.
Pressing enter in submission type shows skip-link to submission. Pressing enter in skip-link focuses hide button, for now. This is going to change when new submission controls are introduced.
Related issues
Fixes #98
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Changes Made

Slice for focus state
Skip-links functionality in object index and object card components

Testing

[x] E2E tests

I'm not absolutely sure that focus to hide button is the best option. I tried to focus first form input but I think that would require lot of work to create logic for finding that element.
Feel free to suggest a better focus point.

I don't have any good suggestions :disappointed: but would link this to #135 so that we know this needs to be fixed as part of that issue.

It works fine for me, we can do the changes with new submission controls later.
One thing I have noticed is that sometimes when I press enter in submissionType, it goes straight to focus on Hide button, which means the skip-link is ignored.
This could happen in any submissionType after I have pressed enter in Hide button in a previous submissionType

@blankdots, linked to issue.
@hannyle,  I added resetFocus state method to Hide buttons onClick handler. This fixes the issue described in:

One thing I have noticed is that sometimes when I press enter in submissionType, it goes straight to focus on Hide button, which means the skip-link is ignored.
This could happen in any submissionType after I have pressed enter in Hide button in a previous submissionType

Might cause more errors, see #151 .

Seems not to be related to #151, since this occurs in branches without skip-link functionality.

What about shift+tab, to return from form ?

 In that case we'd need to inform user that there are keyboard shortcuts available

About #151 , it is with tabbing and entering that I managed to reproduce warning, it has show in other branches occasionally.
I find difficulties to navigate with keyboard, expected to return with shift+tab, no need for that now, skip-link to form is ok.


Google Tag Manager

Hello, this is a fantastic script for Laravel.
I use Google Tag Manager instead GA4 and dont't know how to create a custom code for this script.
Searched the manual and can't find anything.
¿How can I Use this type of code?

Thanks in advance

Hi,
you can follow this guide https://support.google.com/tagmanager/answer/10718549 to implement consent with Tag manager

Hi @unaizp, have you made it work?

I was able to make this workaround, based on the AnalyticCookiesCategory.php:
<?php

namespace App\Providers;

use Illuminate\Support\ServiceProvider;

use Whitecube\LaravelCookieConsent\Consent;
use Whitecube\LaravelCookieConsent\Facades\Cookies;

use Whitecube\LaravelCookieConsent\Cookie;
use Whitecube\LaravelCookieConsent\CookiesGroup;

class CookieServiceProvider extends ServiceProvider
{
    /**
     * Register services.
     */
    public function register(): void
    {
        //
    }

    /**
     * Bootstrap services.
     */
    public function boot(): void
    {
        Cookies::essentials()
            ->session()
            ->csrf();

        if(config('cookieconsent.google.analyticsId') != null){
            Cookies::analytics()
            ->google(config('cookieconsent.google.analyticsId'));
        }else if(config('cookieconsent.google.gtmId') != null){
            Cookies::analytics()
            ->group(function (CookiesGroup $group) {
                $group->name('gtm')
                    ->cookie(
                        fn (Cookie $cookie) => $cookie->name('_ga')
                            ->duration(2 * 365 * 24 * 60)
                            ->description(__('cookieConsent::cookies.defaults._ga'))
                    )
                    ->cookie(
                        fn (Cookie $cookie) => $cookie->name('_gid')
                            ->duration(24 * 60)
                            ->description(__('cookieConsent::cookies.defaults._gid'))
                    )
                    ->cookie(
                        fn (Cookie $cookie) => $cookie->name('_gat')
                            ->duration(1)
                            ->description(__('cookieConsent::cookies.defaults._gat'))
                    )
                    ->accepted(function (Consent $consent) {
                        $id = config('cookieconsent.google.gtmId');
                        $consent->script('<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\':
                        new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0],
                        j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src=
                        \'https://www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f);
                        })(window,document,\'script\',\'dataLayer\',\'' . $id . '\');</script>');
                    });
            });
        }
    }
}

This is quick solution don't use this without more reserach which cookies has to be mentioned

Just wanted to add my two cents here.
One of our clients uses Google Tag Manager as well and we had some feedback from the marketing company about being unable to get Tag Assistant by Google connected. Upon review, and this issue, I noticed the difference in JS code that was being injected.
What Laravel Cookie Consent does is inject gtag code:
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXX"></script>
<script>
    window.dataLayer=window.dataLayer||[];
    function gtag(){dataLayer.push(arguments);}

    gtag('js',new Date());
    gtag(‘config', 'G-XXXXXX');
</script>

Whereas you would want the Google Tag Manager code in case you use GTM:
<script>
    (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
        new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
        j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
        '[https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f)](https://www.googletagmanager.com/gtm.js?id=);
    })(window,document,'script','dataLayer','GTM-XXXXXX');
</script>

I can setup a PR including a new Cookies::analytics()->gtm() method that sets up the GTM code instead of the Gtag. But I'm not sure what the difference is going to be for what Cookies will be set when accepting. I suppose it still sets the base Google cookes (_ga, _gid, _gat), but as far as I know GTM can inject more code besides just a Gtag.

I suppose this answers the question:
Google Tag Manager (GTM) itself does not set any cookies on a user’s device. GTM is a tool that allows website owners to manage and implement tracking tags on their website. It does not use cookies for its own functionality.

However, when you use GTM, you may be adding tracking tags to your website that do set cookies.

If you use Google Analytics through GTM, it will set the __ga cookie on the user’s device to track behavior on your website. Similarly, if you are using other tracking tags from third party platforms, they may also set cookies on the user’s device.

I'll draft a PR that creates a ->google() and ->gtm() method on Cookies and have them share the configuration for the cookie group as seen in AnalyticCookiesCategory.php. The first method will add them by default as that is what you want and the gtm method would take a parameter set to true before the cookies are added.

Sounds nice! Thanks @joshuadegier 🙂

I've tried to create a setup today, but not quiet happy with the outcome yet. Compared to the gtag code (or the gtag injected by the GTM code) the GTM code itself sets no cookies. In the example above by @MediKathi it injects the GTM code after acceptance but I'd rather have it injected on pageload and see if there is a way to have this plugin inject a GTM config that follows up loading the accepted tags.
See this link for some more info. The code I think is needed, one way or another, here is this one:
  gtag('consent','default',{
    'ad_storage':'denied',
    'analytics_storage':'denied',
    'personalization_storage':'denied'
  });

If anybody has some more background information about the working of GTM I'd gladly accept some help. It's a first time for me diving deeper in this than just having a consent popup that injects a gtag.

Hi,
From my understanding using google documentation here it must done in 2 parts:

First load the defaults (no scripts/cookies are loaded yet):

  <script>
  window.dataLayer = window.dataLayer || [];
  function gtag() { dataLayer.push(arguments); }
  gtag('consent', 'default', {
    'ad_user_data': 'denied',
    'ad_personalization': 'denied',
    'ad_storage': 'denied',
    'analytics_storage': 'denied',
    'wait_for_update': 500,
  });
  dataLayer.push({'gtm.start': new Date().getTime(), 'event': 'gtm.js'});
  </script>

Upon receiving consent update the 'consents' to 'granted' and load the script, this can be done by tapping into the consent event with something like this:

<script>

  function loadGoogleTagManagerScript() {
     // update the initial consents from denied to granted
      gtag('consent', 'update', {
          ad_user_data: 'granted',
          ad_personalization: 'granted',
          ad_storage: 'granted',
          analytics_storage: 'granted'
      });

     // generate and load the google tag manager script
      var gtmScript = document.createElement('script');
      gtmScript.async = true;
      gtmScript.src = 'https://www.googletagmanager.com/gtm.js?id={YOUR GOOGLE TAG MANAGER ID}';

      var firstScript = document.getElementsByTagName('script')[0];
      firstScript.parentNode.insertBefore(gtmScript, firstScript);
  }

 // listen for the cookie consent event
  window.addEventListener("CookieConsentGranted", function(e) {
      loadGoogleTagManagerScript();
  });

</script>

I am currently looking to see  if "google consent mode v2" requires express events from denied to granted in order to load the tags properly. Anyway with a javascript event is also more convenient since we don't need to reload the page after the consents are given.

Thanks for adding a few examples! I haven't found time to proceed on the code I'm working on. As far as I can see this would require adding a little bit of js code to the package in order to fire the events without pageload. I agree that this would be a cleaner option compared to refreshing the page.
Any ideas on whether we need to separate the consent that is given for user data / personalization / storage / analytics storage?

Yes it needs to be separated, depending what other codes are you delivering trough google tag manager.
My company for example delivers trough google tag manager: analytics, google ads remarking codes, facebook pixel tracking code, linkedin, others. Each one follows into a different category: essential, marketing, analytics, etc.
I am stuck in project for the next couple of days, then i plan to try and see if can push a pr.

Hey, any idea when support for new policies will be added, so we can have the consent with GTM, our team is experienceing issues, google says we do not pass those policies, and I really do not want to implement the GTM consent as well as this vendor package.
Thanks.

@juliancarstairs unfortunately not. Though i made it pass with various customizations on our platform we still ended up getting "hit" really hard in  google ads by their rules to have "Google Consent Mode v2"
We had to turn to one of their google certified cmp partners (we got spammed on daily basis, basically felt forced to use one of theirs) just to pass the same diagnostics we passed before using custom implementation.
I have zero time for the next weeks. :(


Topology EqualsTo

Add a method to the topology that allows the user to pass in the string dot representation of a existing graph and compare that to the current graph in the topology.

I would suggest another topology method to build an instance from a dot file
func FromDot(dot []byte) (*Topology, error)


chinese Display error

Chinese original content is "掉线事件检测函数"
But it is shown as

But this version is normal.
The latest update: 29.05.2016 20:35, UTC+02:00
897e3077fd269abda2fe37cf2fded4534f7c1295

Fixed. The painting is totally refactored from the version 1.6.


Plugin should use a background thread warning

Geting this warning in Xcode
THREAD WARNING: ['Media'] took '11719.759033' ms. Plugin should use a background thread.

That warning is related to the Cordova Media plugin, which is being used by this module. It is not something that I can control. That plugin is maintained by Cordova.

The problem was with js2native bridge. Cordova has different methods to communicate with native library (bridge mode):

XHR with, w/o or optional payload;
iframe hash with or w/o payload;
iframe nav.

In cordova.js you can find iOSExec function. For iOS (except iOS 5) bridge mode is set to IFRAME_NAV.
Previous developer made couple of mistakes when on project design phase - and one of them is that whole content is removed from when view changes. And cordova's too. So cordova gets some error loops and plugins is not working.
The solution is to force XHR bridge mode. I've inserted next code right in my deviceready callback:
cordova.exec.setJsToNativeBridgeMode(cordova.exec.jsToNativeModes.XHR_NO_PAYLOAD);


IMAP protocol line is included in the message .data

When using the .data method on a message, a line like * 1 FETCH (BODY[] {47391} is prepended to the data. In Net::IMAP::Message.data this line is parsed to get the blob size, however afterwards it's still added to the actual data. I guess it just needs a "next" after line 48.
This bug potentially also causes the message to truncated, as the protocol line is added and therefore counts into number of read bytes, so reading might stop early, leaving some bytes in the buffer to be read sometime later (not tested, just assuming).

After playing a bit more with the module I found that when using the .mime method it seems to work fine. Now I don't know if this is actually a bug and Email::MIME silently discards the line when parsing the data or if everything's how it's supposed to be...

I've added a next after line 48 as you suggested. I suspect that Email::MIME was effectively skipping that FETCH line.
Let me know if this still breaks on your side.


Synchronize Measurement.swift from the overlay

This contains the changes from https://github.com/apple/swift/pull/4167.

@swift-ci Please test

@swift-ci Please test and merge


Load ELF file's code into RAM and execute its entry point

Depends on #6 (and therefore #5 as well).

Potential resource for reading code directly from SD card: https://github.com/yocto-8/yocto-8/blob/main/doc/extmem.md

Seems like a better long-term solution might be to copy the current program to a section of flash storage, then execute it from there.

Seems to be functional. Next step would be figuring out the sectors that need to be erased rather than erasing the whole flash partition to speed up the loading process.


Cant search for multiple types using a common interface

NEST/Elasticsearch.Net version: 6.1.0-ci20180124T063911
Elasticsearch version: 6.1.2
Description of the problem including expected versus actual behavior:  Im having problem using an interface as T in search and searching multiple indexes with multiple types. I get a json deserialization error. Could not create an instance of type ISearchObject. Type is an interface or abstract class and cannot be instantiated. We are migrating from version 2.3.2 so it worked in that version atleast.
Steps to reproduce:
var result = client.Search<ISearchObject>(body => body.Index("type_*")
.Type(Types.Type(typeof(SearchObject1), typeof(SearchObject2), typeof(SearchObject3)))
where SearchObject 1,2 and 3 all implement ISerachObject.

@Mpdreamz : could you maybe post a complete example on how to use the TypeNameHanling.All flag in NEST - we're trying to upgrade from ES v5.6 to v6 with no luck. Injecting the flag and burning the $type into the source seems to break the OOTB types e.g. geo points, which now also have the $type burned into them - and ES don't like it. Any help would be much appreciated. Thanks

Which version of NEST are you using @flons?

hi @russcam - we're using the latest NEST 6.1.0


Title: C-c C-c etc dont work in results buffer

Description:
Called  elfeed-tube-add-feeds successfully and it appeared to find the
feed, see results buffer below.
However none of the listed keys in that buffer e.g. c-c c-c, c-c c-w
etc work:
Emacs claims those keys are undefined in that buffer.

Pen  Bhakti            watch?v=dnloFi1GT9Q&list=PLa6CHPhFNfadNcnVZRXa6csHL5sFdkwmV&index=3 https://www.youtube.com/feeds/videos.xml?channel_id=UCHKGDg0GJKBsA9mFraDOLHA
All queries resolved successfully.
 C-c C-c: Add all feeds to the Elfeed database.

C-u C-c C-c: Add all feeds, fetch entries from them and open Elfeed.
C-c C-w: Copy the list of feed URLs as a list
q or C-c C-k: Quit and cancel this operation.

Oops, thanks for catching that. Should be fixed in a048950.

Is the keymap populated correctly for you now?
"T. V. Raman" @.***> writes:

Description:
Called  elfeed-tube-add-feeds successfully and it appeared to find the
feed, see results buffer below.
However none of the listed keys in that buffer e.g. c-c c-c, c-c c-w
etc work:
Emacs claims those keys are undefined in that buffer.

Pen  Bhakti            watch?v=dnloFi1GT9Q&list=PLa6CHPhFNfadNcnVZRXa6csHL5sFdkwmV&index=3 https://www.youtube.com/feeds/videos.xml?channel_id=UCHKGDg0GJKBsA9mFraDOLHA
All queries resolved successfully.
 C-c C-c: Add all feeds to the Elfeed database.

C-u C-c C-c: Add all feeds, fetch entries from them and open Elfeed.
C-c C-w: Copy the list of feed URLs as a list
q or C-c C-k: Quit and cancel this operation.
--
Reply to this email directly or view it on GitHub:
https://github.com/karthink/elfeed-tube/issues/6
You are receiving this because you are subscribed to this thread.
Message ID: @.***>

will try it soon, has the fix gone out to melpa?
--
Thanks,
--Raman(I Search, I Find, I Misplace, I Research)
♈ Id: kg:/m/0285kf1  🦮

Yes, the MELPA version is the latest.
"T. V. Raman" @.***> writes:

will try it soon, has the fix gone out to melpa?
--
Thanks,
--Raman(I Search, I Find, I Misplace, I Research)
♈ Id: kg:/m/0285kf1  🦮
--
Reply to this email directly or view it on GitHub:
https://github.com/karthink/elfeed-tube/issues/6#issuecomment-1195838818
You are receiving this because you commented.
Message ID: @.***>


Labels do not get transferred from RunnerDeployment to Runner

Describe the bug
Labels do not get transferred from RunnerDeployment to Runner.
Checks

[x] My actions-runner-controller version (v0.22.3) does support the feature

To Reproduce
Steps to reproduce the behavior:

Create RunnerDeployment with labels defined:

apiVersion: actions.summerwind.dev/v1alpha1
kind: RunnerDeployment
metadata:
  name: xxx
spec:
  replicas: 1
  template:
    spec:
      dockerMTU: 1460
      labels:  # <------------------------------------- Labels ARE defined here
      - test
      repository: yyy

Wait for Runner object to be created and check it's definition.

apiVersion: actions.summerwind.dev/v1alpha1
kind: Runner
metadata:
  labels:
    runner-deployment-name: xxx
    runner-template-hash: 599ddb4c8
  name: xxx-njwx5
  ownerReferences:
  - apiVersion: actions.summerwind.dev/v1alpha1
    blockOwnerDeletion: true
    controller: true
    kind: RunnerReplicaSet
    name: xxx-4992g
    uid: 0262921a-9608-45cf-973d-139e33796801
  resourceVersion: "4248605"
  uid: cdbde460-6954-421d-b8f8-49bda1b8d291
spec: # <----------------------------------------------- Labels are NOT defined here
  dockerMTU: 1460
  repository: yyy

Expected behavior
The contents of spec.template.spec.labels from RunnerDeployment should be copied to spec.labels of the Runner.
Environment (please complete the following information):

Controller Version: 0.22.3
Deployment Method: Helm
Helm Chart Version: 0.17.3

As a follow-up, apparently it was due to finaliser that got stuck.  Patching it with:
kubectl patch -n github-actions runnerdeployments.actions.summerwind.dev xxx -p '{"metadata":{"finalizers":[]}}' --type=merge

... and then recreating it from scratch solved the problem.

Closing as this was just a k8s quark