Portainer v2 - No Local Endpoints Appearing on Raspberry Pi 4

Hi all,
Hoping to get some assistance. I had Portainer running on my Raspberry Pi 4 for sometime. I have 10 containers running in docker and Portainer made this nice to manage. I am also looking to manage Azure containers in the future.
When I updated to Portainer v2, my local containers in my docker no longer appear. I have tried blowing away my config folder and redeploying. I configured Portainer for local endpoint but still no containers show. I went ahead and searched and deleted any reference to Portainer and tried redeploying and still had have the same issue.
Here is my current docker compose file:
version: '3.5'

services:
  portainer:
    image: portainer/portainer-ce:linux-arm
    container_name: portainer
    command: -H unix:///var/run/docker.sock
    privileged: true
    ports:
      - 9000:9000
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /mnt/dockerConfig/portainer:/data
    restart: unless-stopped

Here are my logs from docker:
2020/12/01 00:24:13 server: Reverse tunnelling enabled
2020/12/01 00:24:13 server: Fingerprint 12:64:44:13:85:55:05:58:64:60:c1:f6:11:ea:68:26
2020/12/01 00:24:13 server: Listening on <IP_ADDRESS>:8000...
2020/12/01 00:24:13 Starting Portainer 2.0.0 on :9000
2020/12/01 00:24:13 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]
2020/12/01 00:24:24 http error: Invalid JWT token (err=Invalid JWT token) (code=401)
2020/12/01 00:24:24 http error: Unauthorized (err=Unauthorized) (code=401)
2020/12/01 00:24:24 http error: No administrator account found inside the database (err=Object not found inside the database) (code=404)
2020/12/01 00:24:24 http error: No administrator account found inside the database (err=Object not found inside the database) (code=404)
2020/12/01 00:24:24 http error: No administrator account found inside the database (err=Object not found inside the database) (code=404)

Image
        "Id": "sha256:5526251cc61f126f2c1da1875aae113c9af05a5679123dde2f6c15d12754b103",
        "RepoTags": [
            "portainer/portainer-ce:linux-arm-2.0.0"
        ],
        "RepoDigests": [
            "portainer/portainer-ce@sha256:c54121fef53fb34b98c9a7fba73f11984abf758f7e2218f8344d7740644d4d4e"
        ],
        "Parent": "",
        "Comment": "",
        "Created": "2020-08-31T08:57:54.182287462Z",
        "Container": "7b2eb1309e9aa68b88f055377cf882857b03fe7e4a9bc7ba8f39fb462e74016e",

At this point I don't know what else to look into. Any advice would be greatly appreciated.

Ticket update by Amet Doohan<EMAIL_ADDRESS>Hi @gist901,
what is your docker version? if you using < 19.01 need to update your docker
first. https://documentation.portainer.io/v2.0/deploy/requirements/

Sorry about that, meant to include my Docker information.
Yes, I am currently running version 19.03
Client: Docker Engine - Community
 Version:           19.03.13
 API version:       1.40
 Go version:        go1.13.15
 Git commit:        4484c46
 Built:             Wed Sep 16 17:07:02 2020
 OS/Arch:           linux/arm
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.13
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       4484c46
  Built:            Wed Sep 16 17:00:52 2020
  OS/Arch:          linux/arm
  Experimental:     false
 containerd:
  Version:          1.3.9
  GitCommit:        8fba4e9a7d01810a393d5d25a3621dc101981175
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

Add'l logs:
2020/12/01 00:34:06 server: Reverse tunnelling enabled
2020/12/01 00:34:06 server: Fingerprint 65:f7:5e:c0:a1:67:44:4c:ce:5c:f9:e1:69:e7:c8:3c
2020/12/01 00:34:06 server: Listening on <IP_ADDRESS>:8000...
2020/12/01 00:34:06 Starting Portainer 2.0.0 on :9000
2020/12/01 00:34:06 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]
2020/12/01 00:34:27 http error: Invalid JWT token (err=Invalid JWT token) (code=401)
2020/12/01 00:34:27 http error: Unauthorized (err=Unauthorized) (code=401)
2020/12/01 00:34:27 http error: No administrator account found inside the database (err=Object not found inside the database) (code=404)
2020/12/01 00:34:27 http error: No administrator account found inside the database (err=Object not found inside the database) (code=404)
2020/12/01 00:34:27 http error: No administrator account found inside the database (err=Object not found inside the database) (code=404)
2020/12/01 01:26:16 Instance already has defined endpoints. Skipping the endpoint defined via CLI.
2020/12/01 01:26:16 server: Reverse tunnelling enabled
2020/12/01 01:26:16 server: Fingerprint 65:f7:5e:c0:a1:67:44:4c:ce:5c:f9:e1:69:e7:c8:3c
2020/12/01 01:26:16 server: Listening on <IP_ADDRESS>:8000...
2020/12/01 01:26:16 Starting Portainer 2.0.0 on :9000
2020/12/01 01:26:16 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]
2020/12/01 01:27:49 Instance already has defined endpoints. Skipping the endpoint defined via CLI.
2020/12/01 01:27:49 server: Reverse tunnelling enabled
2020/12/01 01:27:49 server: Fingerprint 65:f7:5e:c0:a1:67:44:4c:ce:5c:f9:e1:69:e7:c8:3c
2020/12/01 01:27:49 server: Listening on <IP_ADDRESS>:8000...
2020/12/01 01:27:49 Starting Portainer 2.0.0 on :9000
2020/12/01 01:27:49 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]
2020/12/01 01:29:17 http error: Invalid JWT token (err=Invalid JWT token) (code=401)
2020/12/01 01:29:17 http error: Unauthorized (err=Unauthorized) (code=401)

Can you please try clearing your browser cache and retrying… we have seen some weird behaviour in regards to browsers caching too much Portainer content (caching prior API request responses)… we have a fix for this in the upcoming CE 2.1 release (to hard disable cache).. but its something to check.

That was the issue! Opened Chrome in Private mode and boom there were my containers. I will go ahead and clear my cache. Spent way to much on time on this issue.
Thanks everyone for the help.


Add invert_z_axis() method

The accelerometer v0.12 release inverted (actually corrected) how the orientation tracker handles the z-component reading when calculating an orientation.
It was wrong because it was based off the Trellis M4, which mounts the ADXL343 on the underside of the board.
This commit adds a convenient invert_z_axis() method to handle this scenario.

Will look at other ways of implementing this, including moving it into accelerometer::Tracker


actually use AVX when it should

found this while investigating issue 161, fixes issue 162

See #162


Update COORDINATION.md

Initial set of changes.  Needs more work.

@ballle98 please fix linters https://github.com/opiproject/opi-prov-life/actions/runs/4295886601/jobs/7486904708

It's a good start, I will merge it and we can iterate on this merged content


can't installing c# extension

no matter auto install or  ext install ,it doesn't  work.

it's working now

@aaronswiftming what did you do to make it work?

On Mar 11, 2016, at 10:03 PM, Andre Weinand<EMAIL_ADDRESS>wrote:
@aaronswiftming https://github.com/aaronswiftming what did you do to make it work?
—
Reply to this email directly or view it on GitHub https://github.com/Microsoft/vscode/issues/4004#issuecomment-195376922.

Forgive my foolery.
And thanks for your attention.

@aaronswiftming no worries.
Installing the C# takes some time and we do not show progress. We have improved this for the March release.

After I download and install  asp 5 and other stuff , and then C# can be download and install, perhaps.

On Mar 11, 2016, at 10:03 PM, Andre Weinand<EMAIL_ADDRESS>wrote:
@aaronswiftming https://github.com/aaronswiftming what did you do to make it work?
—
Reply to this email directly or view it on GitHub https://github.com/Microsoft/vscode/issues/4004#issuecomment-195376922.

Still can't install C# extension and receive the following error
Failed to execute git


1.19 flaky behavior

https://youtu.be/EmeSBsigZyI
I am experiencing weird behavior with the 1.19 version of this mod.
On the left is 1.18.1 with fabricskyboxes 0.5.4
On the right is 1.19 with fabricskyboxes 0.5.6
Both clients only have the fabric-api and fabricskyboxes installed.

#44 seems to fix this.

Good me too

me too

#44 seems to fix this.

Been running #44 for a week and the problem is completely gone.


Fix -Wno-sometimes-uninitialized by initializing "result" in parse_sax

The function parse_sax() returns sometimes-uninitialized warnings in
some compilers (e.g. I am using clang++ on ninja, android target).
This commit fixes that.
[Describe your pull request here. Please read the text below the line, and make sure you follow the checklist.]

Pull request checklist
Read the Contribution Guidelines for detailed information.

[ ]  Changes are described in the pull request, or an existing issue is referenced.
[ ]  The test suite compiles and runs without error.
[ ]  Code coverage is 100%. Test cases can be added by editing the test suite.
[ ]  The source code is amalgamated; that is, after making changes to the sources in the include/nlohmann directory, run make amalgamate to create the single-header file single_include/nlohmann/json.hpp. The whole process is described here.

Please don't

The C++11 support varies between different compilers and versions. Please note the list of supported compilers. Some compilers like GCC 4.8 (and earlier), Clang 3.3 (and earlier), or Microsoft Visual Studio 13.0 and earlier are known not to work due to missing or incomplete C++11 support. Please refrain from proposing changes that work around these compiler's limitations with #ifdefs or other means.
Specifically, I am aware of compilation problems with Microsoft Visual Studio (there even is an issue label for these kind of bugs). I understand that even in 2016, complete C++11 support isn't there yet. But please also understand that I do not want to drop features or uglify the code just to make Microsoft's sub-standard compiler happy. The past has shown that there are ways to express the functionality such that the code compiles with the most recent MSVC - unfortunately, this is not the main objective of the project.
Please refrain from proposing changes that would break JSON conformance. If you propose a conformant extension of JSON to be supported by the library, please motivate this extension.
Please do not open pull requests that address multiple issues.

Coverage remained the same at 100.0% when pulling 3004a7395195885639a14d21026f24d71d69e894 on thyu:develop into e33b31e6aae013f011a6711d8e8ebca776b63013 on nlohmann:develop.

Thanks a lot!


Refactor foundry_utils::link_with_nonce_or_address

Component
Forge
Describe the feature you would like
This function is becoming too much. Should be heavily refactored.
Additional context
No response

Duplicate of #975?

yeh I think that's a dup
let's close this one since #975 has more info and discussion


Add a new function converting string to ASCII

/cc @cjwagner @mpherman2 @e-blackwelder

See ABC at https://testgrid.k8s.io/r/k8s-testgrid-hackathon/everyone#chaodaiG&width=20&sort-by-name=

Nice! Could we get spaces/padding around the characters?

Added a reference implementation, see

Game board created

Large letters:


Add support for time strings containing "week" values

Currently, the largest unit of time supported by time formats in Robot Framework is day. This issue proposes adding weeks/week/w as supported units of time.
Our primary use case for this is that certain network devices will display uptime values with a maximum value of weeks. For example:
switch#show version
<snip>
Cisco IOS Software, C3560 Software (C3560-IPSERVICESK9-M), Version 12.2(55)SE11, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2016 by Cisco Systems, Inc.
Compiled Wed 17-Aug-16 13:07 by prod_rel_team
Image text-base: 0x01000000, data-base: 0x02F00000

switch uptime is 11 weeks, 5 days, 3 hours, 7 minutes    <<<
System returned to ROM by power-on
System restarted at 13:16:45 EDT Sat Mar 9 2024
System image file is "flash:c3560-ipservicesk9-mz.122-55.SE11.bin"

As it stands right now, we must use a custom keyword to handle this time format. It'd be nice if a keyword like Convert Time could handle it effortlessly.
From our perspective, it doesn't make sense to add larger units of time (e.g. months, years, etc.) since the "real length" of those units could be debated and context-sensitive. For example, is a month 30 days or 31 days (or 28, in the case of February?) Is a year 365 days, or 364.25? etc. The "week" unit of time doesn't suffer from this issue, as it tends to be universally considered to be 7 days long.

Implemented in PR #5136 by @ChristopherJHart. Thanks for contribution!


Listqa

sjrosenthal created the following on May 10:
This is the release of the evaluation portion of ListQA. See issue #65 for further details.
Original issue: https://github.ibm.com/ai-foundation/PrimeQA/pull/190

On May 10, sjrosenthal commented:
@franzm Please see the updated readme.

On May 11, franzm commented:
LGTM, one of the CI tests timed out, I've just restarted it.

Original PR had been closed.


Div Color Picker Styling

Style so that color picked is visible
Group the 2 main GM Only buttons with a div.

Fixed for 2.0 release.


Skepticleo trainer argparser

Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?
[ ] If you made a notable change (that affects users), did you update the CHANGELOG?

What does this PR do?
Duplicate to #952
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

@Borda how do we change the author to the original one?


Question about gentype.import support

Hey @cristianoc first off let me say that genType is amazing. It was super easy to install and get working (once I figured out and copied the .shims.ts files) and it runs really quickly.
I'm trying to consolidate all of the types across our TS+Reason hybrid app, and genType.import seems like a useful way for me to write external to JS libraries, while also exporting a generated TS type for the TS side of the code. I actually need both types to come from the same source instead of using the TS types that come with JS library because the types my ReasonML functions use need to match the types of the args to these functions.
Here's what I got working so far, and I was wondering if there was a particular reason it worked the way it does:

The couple of things to note:

I had to repeat the path to his value firestore.Timestamp.fromDate in two places
I had to repeat the module name
I could not inline the externals inside the Timestamp module, gentype would not generate an output object export const Timestamp ... like it does right now (middle tab)
Because of the previous point, I had to re-assign like I did (without going through externals), but now as you can see in the right-most panel, bucklescript makes a wrapper function instead of inlining like it normally would

Here's what I wished I could do, and please tell me how unrealistic this is:
module Timestamp = {
  [@gentype] <EMAIL_ADDRESS>"firebase/app"]<EMAIL_ADDRESS>("firestore", "Timestamp")]
  external fromMillis: float => timestamp = "fromMillis";

  [@gentype] <EMAIL_ADDRESS>"firebase/app"]<EMAIL_ADDRESS>("firestore", "Timestamp")]
  external fromDate: Js.Date.t => timestamp = "fromDate";
};

I really do wish I could have one source for the types and values in my whole app, just to avoid repeats and keep things clear. Right now it's a mess (mostly my fault) because values and types come from 3 different places haha.
By the way, thanks to gentype I was able to nuke out of orbit a massive types.ts file in a matter of minutes, with everything running smoothly.
We can take it in steps, and perhaps can use a little sample project, if necessary.
First, have you tried omitting bs.module and bs.scope when using @genType.import?
The idea is that bs imports from Thisfile.gen and Thisfile.gen imports from the desired path.

Wrapper functions:
<EMAIL_ADDRESS>"./"] external gg: (. int) => int = "gg";
<EMAIL_ADDRESS>"./"] external zz: int => int = "zz";

Note gg is not wrapped but zz is.

To make sure I'm understanding what you're asking, you're saying I should try doing this:
<EMAIL_ADDRESS>("firebase/app", "firestore.Timestamp.fromDate")]
external makeTimestampFromDate: Js.Date.t => timestamp = "fromDate";

That doesn't seem to work, as bucklescript now doesn't know about it and warns: BuckleScript warning: Unimplemented primitive used:fromDate
And the wrapper function like so:
<EMAIL_ADDRESS>"./"] external test: Js.Date.t => timestamp = "fromDate";

doesn't work either, because the generated TS isn't valid. It's complaining to me that it cannot find module "./". I'm not sure I'm understanding what you're suggesting with the wrapper functions, because without any bs annotations, bucklescript doesn't understand the externals.
Ideally I'd be able to write one single external that satisfies both languages. I'm not sure

About putting exports inside a module Timestamp. Note exports are not scoped: the value you reference is always the same, whether you put the external inside or outside Timestamp. So what does not change is thatThisfile.bs imports from the toplevel of Thisfile.gen.
This implies that: the names of externals need to be unique across the file anyway. But more importantly: the imported value won't be re-exported as a value inside Timestamp, but as a toplevel value.
Ideally, the language should have an external mechanism for modules, which does not exist today.

@bsansouci as anticipated, we need a little repo to dig more into this.
@gentype.import is understodd by bucklescript, which generates code that picks up the value from Thisfile.gen. And Thisfile.gen transitively picks it up from he indicated JS path.

As a diagram.
Take Foo.re with a @genType.import:
Foo.bs ---> Foo.gen --> SomePath.js
Take Foo.re with a @genType export:
SomePath.js ---> Foo.gen ---> Foo.bs
Take Foo.re with both  a @genType.import and a @genType export:
SomePath.js <---> Foo.gen <---> Foo.bs

This is the general picture to supprot, including making sure bundlers can resolve the file-circular dependencies.


Missing package-lock.json

Running npm install in /app-citizen fails due to the "preinstall": "npx npm-force-resolutions" script requiring the package-lock.json.

Please sync again with master and try again!

Thanks! I added the missing package-json.lock via https://github.com/open-coronavirus/open-coronavirus/pull/25

Hi my name is Daniel I am from Cerrito Valle del Cauca Colombia and today was confirm the first Covi + positive and in the other hand we have a really bad hospital facilities, so I would like to know if you may help us to set up this app for our town so the scenario in not worst
Regards,


Grid mode have nested same mode Tree?

Hello,
I used z-song laravel-admin and i'm know this package and i have question this package have nested category in Grid mode same is Tree?
Thanks!

Hi @hoangnamitc,
Not sure if i fully understand you question.
Are you revering to: https://open-admin.org/docs/en/model-tree ?
This functionality is a little experimental, and might needs further development to fit your needs.

Hi @open-admin-org ,
My mean is how to use Model-grid can view like below (Nested parent and children)

Model grid can not be used like this. Laravel-admin also uses model-tree in this case. The implementation with https://open-admin.org/docs/en/model-tree is not fully developed to work out of the box, so if you like to use this you need to write some more code around it.
Hopefully we can work on a better implementation in the future. If you had any success with writing some nice code please let us know. Maybe we can implement this.

I think this is what you are looking for, this replaces the default index (grid view) with a view that is in Tree view mode.
Please refer to: https://open-admin.org/docs/en/model-tree for the database schema.
Good luck with it.
file: App/Models/Category.php
<?php

namespace App\Models;

use OpenAdmin\Admin\Traits\AdminBuilder;
use OpenAdmin\Admin\Traits\ModelTree;
use Illuminate\Database\Eloquent\Model;

class Category extends Model
{
    use ModelTree;
    use AdminBuilder;

    protected $table = 'categories';

    public function __construct(array $attributes = [])
    {
        parent::__construct($attributes);

        $this->setParentColumn('parent_id');
        $this->setOrderColumn('order');
        $this->setTitleColumn('title');
    }
}

file: App/Admin/CategoryController.php
<?php

namespace App\Admin\Controllers;

use OpenAdmin\Admin\Controllers\AdminController;
use OpenAdmin\Admin\Form;
use OpenAdmin\Admin\Grid;
use OpenAdmin\Admin\Show;
use OpenAdmin\Admin\Layout\Content;
use App\Models\Category;

class CategoryController extends AdminController
{
    /**
     * Title for current resource.
     *
     * @var string
     */
    protected $title = 'Category';

    public function index(Content $content)
    {
        return $content
            ->title($this->title())
            ->description($this->description['index'] ?? trans('admin.list'))
            ->body(Category::tree());
    }

    /**
     * Make a grid builder.
     *
     * @return Grid
     */
    protected function grid()
    {
        $grid = new Grid(new Category());

        $grid->column('id', __('Id'));
        $grid->column('parent_id', __('Parent id'));
        $grid->column('order', __('Order'));
        $grid->column('title', __('Title'));

        return $grid;
    }

    /**
     * Make a show builder.
     *
     * @param mixed $id
     * @return Show
     */
    protected function detail($id)
    {
        $show = new Show(Category::findOrFail($id));

        $show->field('id', __('Id'));
        $show->field('parent_id', __('Parent id'));
        $show->field('order', __('Order'));
        $show->field('title', __('Title'));

        return $show;
    }

    /**
     * Make a form builder.
     *
     * @return Form
     */
    protected function form()
    {
        $form = new Form(new Category());

        $form->number('parent_id', __('Parent id'));
        $form->number('order', __('Order'));
        $form->text('title', __('Title'));

        return $form;
    }
}

Thanks Bro !
I'm will try your code.
I hope this package will develop more in the future


Docs: Make broker id values unique

[ ] Breaking change? (if so, please describe the impact and migration path for existing application instances)

What changes did you make? (Give an overview)
Resolves #377
BROKER_ID should be unique, so i modified KAFKA_BROKER_ID of kafka1 to 2, and accordingly, i also modified KAFKA_JMX_OPTS, KAFKA_NODE_ID, and KAFKA_CONTROLLER_QUORUM_VOTERS
Is there anything you'd like reviewers to focus on?
How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)

[ ] No need to
[ ] Manually (please, describe, if necessary)
[ ] Unit checks
[x] Integration checks
[ ] Covered by existing automation

Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation (e.g. ENVIRONMENT VARIABLES)
[x] My changes generate no new warnings (e.g. Sonar is happy)
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged

Check out Contributing and Code of Conduct
A picture of a cute animal (not mandatory but encouraged)

@NoRuTnT thank you!


3 datasets (ChuDM_2017, PehrssonE_2016  & LiSS_2016) missing from the March 21 release

Hi guys,
I'm opening this issue because I've noticed that the curatedMetagenomicDataCLI interface works great in listing down the total number of datasets available, even if the number sums to 83.
The datasets ChuDM_2017, PehrssonE_2016  & LiSS_2016 are still missing from the official interface.

Closing this issue, as it seems solved.


[RHOAIENG-4385] DSPA - Add back the Folder Info

Closes: RHOAIENG-4385
Description
Added info alert with popover for Bucket field in the Configure Pipeline modal

(cc @yannnz)
Request review criteria:
Self checklist (all need to be checked):

[x] The developer has manually tested the changes and verified that the changes work
[x] Commits have been squashed into descriptive, self-contained units of work (e.g. 'WIP' and 'Implements feedback' style messages have been removed)
[ ] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[ ] The developer has added tests or explained why testing cannot be added (unit or cypress tests for related changes)

If you have UI changes:

[x] Included any necessary screenshots or gifs if it was a UI change.
[ ] Included tags to the UX team if it was a UI/UX change (find relevant UX in the SMEs section).

After the PR is posted & before it merges:

[ ] The developer has tested their solution on a cluster by using the image produced by the PR to main

Hi @jpuzz0, is there a mockup that I can refer to?

Hey @DaoDaoNoCode, yes, this is the design, but it has changed a few times over the past couple days. Today some of the bold text has been updated, so I will address that, and there is still an outstanding question about the "Elyra" bit at the end. I would consider just the means in which this popover, placement, etc to be reviewable right now, but the content text itself is still up in the air slightly.

This is good to re-review @DaoDaoNoCode

FYI, I spoke with @jgarciao today and he confirmed the usage of the cloud service link for "Learn more".

/lgtm
/approve


Update fused ops groupconvolution, gelu and layernorm to be dynamic friendly

@jbobba Can you review this PR?


Usage with bootstrap input-group

I'd like to use ng2-auto-complete with bootstrap's 'input-group' feature (class)
http://v4-alpha.getbootstrap.com/components/input-group/#basic-example
But after the input is wrapperd into another 2 elements, the styling is broken.

  @
  <auto-complete style="...">

      <input class="form-control" ...>

Is there any workarund how could I make it work?

The only way I can see is to define .form-control css


Create create and delete pipeline sections

Related to https://github.com/pachyderm/pachyderm/pull/4626.
Create the Delete a pipeline section that describes the use of all the flags including the --keep-repo. Explain that provenance is preserved when you keep the repo except for the branch provenance itself so no __spec.... If the pipeline is recreated the provenance is restored but the branch provenance is reset.
Create the Create a pipeline section that describes how to create a pipeline with all flags.

To clarify here, not sure if this was what you meant by no __spec... only the branch provenance gets removed. So your output repo will still have a master branch (or whatever you called it) and a stats branch. And the commits on those branches will still have __spec__ commits in their provenance. However, you won't have any branches in the branch provenance of the master branch.


improvement(TestDashboard): Display per-group status bars

This adds a status bar to release dashboard groups, similar to the
global job status bar visible on the release dashboard.
Fixes #301

Looks nice, but almost fixing :)
Can we have numbers / percentages of pass/fail?

Looks nice, but almost fixing :) Can we have numbers / percentages of pass/fail?

What about this?

@k0machi
it's missing this for each one (just a progress bar doesn't help understand what's investigated and what not)

Got it, will enable the widget breakdown

Should Not Run and Not planned be included in this breakdown?


WIP auto-install plymouth

auto install plymouth during installation, if not installed, edit config files and create backups for them.
testing required

This request also allows the scripts to be installed before booting the new system after installation, working with encrypted drives etc., places the scripts in a different location to make it more compliant to the default script location on linux , renames the scripts itself to be more consistent and more things might come!


Replaced themed bootstrap with basic bootstrap

`
Signed-off-by: lamckalex<EMAIL_ADDRESS>

SEXY!

good


PRs in forked repository is not associated when local has multiple remotes

Describe the bug
If the remotes looks like this:
git remote -v
origin  git@github.com:seachicken/a.git (fetch)
origin  git@github.com:seachicken/a.git (push)
upstream        git@github.com:upstream/a.git (fetch)
upstream        git@github.com:upstream/a.git (push)

PRs in origin are not shown in the results of gh poi.
Your Environment

OS: macOS Monterey
gh --version: 2.5.0

Currently I use gh repo view to determine which repository to search for PRs, but if there are multiple remotes, the first element seems to be selected.
https://github.com/cli/cli/blob/c9f44ffda9f9ff77820e5dda9b7b8885ad2136d7/context/context.go#L82
This will select the upstream, but expects the origin to be selected.

As a workaround, we can work around this problem by selecting the base repository with the gh command.

Run gh repo view in the direcotory of local repository
Select the forked repository (e.g. seachicken/a)

However, this method of manipulating the base repository is subject to change in the future (related issue)

Here is my braindump for now:

Target repositories whose remote name is origin, otherwise use the first element

Target all remote repositories

We need to be aware of API limitations when searching.

I think it's better to proceed with 1. as a simple solution first.


Honor the buffer pool slots flag.

This PR honored the buffer pool slots flag in #146.

Nice catch @zuyu. LGTM. Merging.


Can/should we help protect our consumers from DELETE FROM without a WHERE?

Hey 👋
I think a good selling point for a safety-first library is to provide good defaults to protect its consumers from destroying their production environment by accident, or allowing a malicious actor to do so with ease.
delete from without a where clause is devastating if you don't have backups, and it can be quite easy to forget or delete a line of code.
The question is, can we protect our consumers from this? and if we can, should we protect our consumers from this?
WDYT?

I think it could be a strong case for an eslint rule introduction for such a thing. This could be potentially ery beneficial for active codebases since they would notice eslint warnings but it would not break backwards compatibility. One thing to sort out though for such a scenario would be thinking how to make sure people pull your eslint-rule - https://eslint.org/docs/latest/extend/custom-rules.

Tackling this with tooling is the wrong approach imho. Nobody will use it, nobody's protected.
If we should protect..
Compile-time protection is possible via a generic flag on DeleteQueryBuilder<..., W = false>. Calling any of the where methods will return DeleteQueryBuilder<..., true>. DeleteQueryBuilder.execute can then return never if the flag is still false.
Runtime protection is possible via throwing a KyselyError if root operation node is a DeleteQueryNode without a where prop.
This does introduce a breaking change, and we're OK with that. It means any delete queries without a where, need to add a simple .where(sql\true`)`. We could suggest consimers to use a truncate query instead.

I'm not sure it's our job to guard the user from this particular footgun. We'd need to do the same for update queries too if we go down this road.
At least any solution that involves adding a new generic argument for DeleteQueryBuilder and UpdateQueryBuilder is out of the question. We'd need to carry that extra parameter around everywhere making the types even more unreadable.
We could in theory return a different type of query builder from the where methods. Until the first call to any where method, we'd have some DeleteAllQueryBuilder (or something) that, for example, only has an executeDangerously() method.

We'd need to do the same for update queries too if we go down this road.

Yep!

At least any solution that involves adding a new generic argument for DeleteQueryBuilder and UpdateQueryBuilder is out of the question. We'd need to carry that extra parameter around everywhere making the types even more unreadable.

Yeah I agree. It becomes overwhelming.

We could in theory return a different type of query builder from the where methods. Until the first call to any where method, we'd have some DeleteAllQueryBuilder (or something) that, for example, only has an executeDangerously() method for execution.

I like this approach!
We could alternatively not have any execute methods on the initial query builder, forcing consumers to explictly:
.where(sql`true`)

I think .clearWhere presents a problem, there's no explicit indication the execution is dangerous. 💣

We could alternatively not have any execute methods on the initial query builder

I fear users wouldn't understand why there are not execute methods. Having a method starting with execute would remove this problem. We could make that method name "really scary" 😄. Let's add 👻 emoji to the name 😛

I think .clearWhere presents a problem, there's no explicit indication the execution is dangerous. 💣
Do we return an initial query builder instance (with accumulated node) here?

Yeah I think we could return the initial query builder from clearWhere.

I don't think this is worth the hassle. The best solution here is to have a different query builder class until there's some sort of where clause. Since we can't use inheritance (for complex type reasons), this would be a huge amount of code for a (IMO) minor improvement.


Former Ramona public comment end

Updating the English and Spanish pages to reflect the end of the public comment period.

@aaronhans These edits update both Former Ramona pages to reflect the end of public comment. I used the Euclid Condor page as my model. A second pair of eyes would be nice to make sure I didn't miss anything. 🙂


Display country description only if data available

Add check for GDP and population data independently

Andorra is alive again ⛷

Much better! =)


fix: columnchart disappearance columns issue

Motivation
I find that Gamma data is hidden from the colum chart when we click on the legend at the bottom of the chart as mentioned in the screenshot below.
This PR fixes this issue.
Fixes #73
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[x] I have done the work for both react and vue
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation (Storybook)
[ ] I have added unit tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Hey @marrouchi still the same issue after applying the request update


lesson 01 set alt5 for gpio 14/15

I'm currently read the first lesson and I can't understand why we use 12 and 15 to speak about 14/15 gpio
    unsigned int selector;
    selector = get32(GPFSEL1);
    selector &= ~(7<<12);                   // clean gpio14
    selector |= 2<<12;                      // set alt5 for gpio14
    selector &= ~(7<<15);                   // clean gpio15
    selector |= 2<<15;                      // set alt5 for gpio 15
    put32(GPFSEL1,selector);```
    Anyone can explain to me pls ?

for the GPFSEL1 register, bits 12-14 control gpio 14 and bits 15-17 control gpio 15.  (7 << 12) is putting 111 in the bits 12-14 and &= ~ is clearing them, essentially.   2 << 12 is setting bits 12-14 as 010.  Same goes for the 15-17 bits.

@rockytriton Thx for your answer. It's more clear for me. I've a last question how we choose 010 and 111 ?
According to

010 it's use to choose the 5th alternative function and 111 it's to choose the 3rd alternative function but according to

the 15th GPIO  3rd alternative function isn't RXD1. So I'm a little but confused.

for the GPFSEL1 register, bits 12-14 control gpio 14 and bits 15-17 control gpio 15. (7 << 12) is putting 111 in the bits 12-14 and &= ~ is clearing them, essentially. 2 << 12 is setting bits 12-14 as 010. Same goes for the 15-17 bits.

15th GPIO alt 5 = RXD1.  From the table at the top 010 sets alt 5.  The 111 is just to mask all 3 bits so we can clear them first before setting the values.
selector &= ~(7<<15);
That creates a mask with 15 to 17 bits set to 111, then ~ inverts the bits so all bits are set except for 15 to 17, then selector &= that to ensure that bits 15 to 17 are cleared (set to 0) but the remaining bits on selector are left as-is.  Now that we clear those 3 bits, we can set the value to 010 by ORing it with this line:
selector |= 2<<15;

@rockytriton Okay thank you very much for your explanations :)

15th GPIO alt 5 = RXD1. From the table at the top 010 sets alt 5. The 111 is just to mask all 3 bits so we can clear them first before setting the values.
selector &= ~(7<<15);
That creates a mask with 15 to 17 bits set to 111, then ~ inverts the bits so all bits are set except for 15 to 17, then selector &= that to ensure that bits 15 to 17 are cleared (set to 0) but the remaining bits on selector are left as-is. Now that we clear those 3 bits, we can set the value to 010 by ORing it with this line:
selector |= 2<<15;


cpu function takes 2.7s to complete

Hello,
I'm using the cpu in my script and it's taking 2.7s to complete every time :/
To Reproduce
await systemInfo.cpu();
Environment

systeminformation package version: 5.6.1
OS: Windows 10
Hardware :

Intel Core i7-7700k
64gb of RAM

Thanks for your help.

@Citriik ... yes this is correct. As I am using wmic to determine cpu details, this takes some time. I am about to improve this a little bit, but do not expect it to be much faster.


Reflection: validate information for varying input/output

We do a basic job of enumerating varying inputs/outputs for GLSL, because the global-scope block declarations are just sitting there and it is hard to ignore them. I'm pretty sure we don't deal with declarations using double and related types correctly, so there is still work to do there.
We also walk through the varying inputs/outputs for HLSL entry points, so that we can find fragment-shader outputs and properly account for them, but I don't think we currently add any actual TypeLayout information for reflection to use.
A further issue is that we probably need to distinguish between general varying input/output and the specific cases of "vertex input" and "fragment output." The API here is a bit messy right now, and conventions need to be defined.

Varying input/output definitely shows up in reflection data, and also now exposes the stage it belongs to. That is sufficient for now (we will probably need a bit more work if we tackle tessellation shaders).


Clean authorships

Teach the importer to remove bad authorships and flag that. Examples are Not applicable and Not given from FishBase.
See https://github.com/CatalogueOfLife/data/issues/411

If you search for not in unparsable authorships across all datasets there is a wide variety of authorships that miss standardisation. Especially expressing concept references, often as part of misapplied names, is very heterogenous:

Mus [informal, 1748-56, NOT Mus sensu Linnaeus, 1758]   World Register of Marine Species
Lineopsis Staub, 1900; not Friedrich, 1958   World Nemertea Database
Leptognathia Hansen, 1913; Lang, 1968 not Sars, 1882   IRMNG
Diphyllocis of authors, not Reitter, 1885   ITIS
Acanthosaura major Annandale, 1914 (Not Of Jerdon; Fide Smith, 1935)   The Reptile Database
Apseudes ostroumovi Bacescu, 1981 not (Bacescu & Carausu, 1947)   World List of Tanaidacea
Blephariglottis keenanii (P.M.Br.) Baumbach & Lückel, basionym not validly publ.   World Checklist of Selected Plant Families
Calamaria pavimentata Wall, 1903: 101 (Not Of Duméril & Bibron)   The Reptile Database
Ephesia peripatus [Auctt. not Johnston, 1845]   World Polychaeta Database
Epinephelus quaza (not of Linnaeus, 1758)   FishBase
Nais [auctt. not Nais Müller, 1774]   World Register of Marine Species
Anolis grahami Gray, 1845: 274 (Substitute Name For A. Punctatus Gray 1840: 113, Not A. Punctatus Daudin 1802: 84)   The Reptile Database
Apseudes talpa (Sars, 1886) not (Montagu, 1808)   World List of Tanaidacea
Bryocles ventricosa Salisb., genus not validly publ.   World Checklist of Selected Plant Families
Coluber novae hispaniae Gmelin, 1789: 1088 (Unavailable, Not Binomial)   The Reptile Database
Dasyhelea (Pseudoculicoides) flavoscutellata authors (not Zetterstedt, 1850)   World Register of Marine Species
Haworthia pygmaea f. crystallina Pilbeam, exact type not cited.   World Checklist of Selected Plant Families
Lumbrineris gracilis "sensu Hartmann-Schröder, 1996; not Ehlers, 1868"   Artsnavnebasen
Nymphaea gigantea f. hudsonii (Author not stated) K.C.Landon   International Plant Names Index
Rhododendron wilsonii Hort., not Nutt   International Plant Names Index


Issue with View/Edit/Create - Rectangular Duct WAFs

Steps to replicate:
Login as an ECMPS user
In the workspace, open any configuration tab and navigate to the Rectangular Duct WAFs section
Click View/Edit/Create options. Fails to open the respective modal.
Note: No pre-filtering is required on this section. Any UI work or creation of backend endpoints out of scope for this ticket

Bug Fixed


add discordbotlist.co

add discordbotlist.co (its a new botlist, i just got it working like a week ago)

Ill give it a look on the weekend feel free to make a pr yourself in the meantime!

Looks just like any other botlist soI dont think there id a benefit in adding it. Thanks for making an issue tho!


Button does not become "unhovered" if it's rerendered on click

Here clicking on the button causes sending a message (Elmish), which causes re-rendering the button. After that it's forever in "hovered" state until it's re-rendered again (by another event, not by clicking).

Can you please give reproduction so I can understand what's happening ?

Box.box' []
      [ Level.level []
          [ Level.left []
              [ yield Level.item [] [ str "Status" ]

                yield
                  Level.item []
                    [ Control.control_div []
                        [ let caption, tooltip, stateToSwitch, option =
                            match app.State with
                            | AppState.Enabled ->
                                "turn off",
                                sprintf "Turn off all %s instances" app.Name,
                                AppState.Disabled,
                                Button.isDanger

                            | AppState.Disabled ->
                                "turn on",
                                sprintf "Turn on all (%d) %s instances" app.ConfiguredInstanceCount app.Name,
                                AppState.Enabled,
                                Button.isSuccess
                          yield
                            Button.button_btn
                              [ Button.props [Id "changeStateButton" ]
                                Button.isOutlined
                                option
                                Button.props [ Tooltip.dataTooltip tooltip ]
                                Button.customClass Tooltip.ClassName
                                // SetAppState eventually (< 1 seconds) changes app.State
                                Button.onClick (fun _ -> dispatch (Msg.SetAppState (host, app.Name, stateToSwitch))) ]
                              [ str caption ]
                        ]
                    ]
              ]
          ]
      ]

Sorry, I will need a view + update + model to repro it.
I can't reproduce this behavior in my app. I have a button, which when clicked generate an event and cause a re-rendering and it's state is correct.
Can you please tell me if the behavior in the extra section here work as expected for you ?

For reference, this is happening when we are using: button_btn.
If we use button_a then the behavior is correct. It's probably something related to how HTML and CSS works. Not much to be done on Fulma side so I am closing this issue.


Missing license file

I noticed that this sample doesn't have a license file. It would be extremely useful if it was available under some permissive license, allowing to copy some chunks of the code.

 Everything I put on GitHub is Apache 2.0 by default (in my head anyway).


Publish client sub

CachedPersistence#_waitFor interface is changed!
I couldn't keep it unchanged, since all children should now call _waitFor only once!

I don't think anything related to aedes-persistence interface is touched.
Let me check the mongo-persistence repo...

Can you check this now alongside https://github.com/mcollina/aedes-persistence-redis/pull/34 & https://github.com/mcollina/aedes-persistence-mongodb/pull/9 @mcollina ?

Any updates on this?

👍 great


Correct the file names

In the newest version of template-snap-monorepo, components/Home.tsx has been moved to pages/index.tsx.

Huh, I should probably update this to use the latest version of the template...


fix: working on OSX

Updated the Makefile in order to compile directly for linux amd64.
This makes it so it won't get compiled for ARM processors and failing to run in a ubuntu container

Thank you!


style: add pre commit

Description
Adds a minimal set of pre-commit hooks:

Basic pre-commits (e.g. end of line, trailing whitespace).
Gitleaks to prevent adding secrets to the repo.
Golang formatter.
Convential commits enforcer.

It also adds a Github action to run those on PR change and on merge to main.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fix broken links in documentation

This PR addresses issues  #198 and #1251 regarding broken links.

I'll run a website build and then run a link checker on dev.holoviews.org.

Would be good if you could update this paragraph in the index.rst with the most recent versions:

HoloViews works with Python 2.7, 3.3, and 3.4 <https://travis-ci.org/ioam/holoviews>.
HoloViews is pure Python, but it also provides optional extensions
enabled with hv.notebook_extension() above that make it integrate
well with Jupyter/IPython Notebook <http://ipython.org/notebook> 2
and 3.

I rebased to get doc building working again. Making the suggested change now and then rebuilding the website.

Tests are now green and build.holoviews.org has been rebuilt and all the links checked. I think this is ready to merge now.

Looks good.


Updated Opportunities.md file

Made the required changes as told.

@YashPimple you have to first make sure that your forked repo is synced with this main repo and then commit changes your forked repo followed by creating a PR.


Holiday's are returning "Symbol couldn't be found"

Since FMP doesn't provide a reliable endpoint to retrieve holidays (see below), for now I would suggest to skip resolutions where we do not get any data from FMP.
https://financialmodelingprep.com/developer/docs/is-the-market-open only goes back 2 years, whereas historical price can go back 10 years. There are also some dates where FMP doesn't have any data and are missing from this list.

It does not fail, it just logs that the symbol could not be found since our data source does not have that increment of data, this should be the way to go, we cannot have data that does not exist and cannot list all holidays going back 10 years to skip these increments...

It might only go three years in the past because we have the free version, more testing needed


replicate BeamSelection plugin in lua

These two script replicate the functionality of Patterson Plugins Beam Selection. One of them beams everything in the selection. The other unbeams everything in the selection.
It would be nice to move the entry_get_next_same_v() function into a common file and import it into each. I need some Lua guidance on the best way to do that. (I'm still a Lua newbie.)

I just realized I used camel case for some of my local variables.  I'll do better next time.
On Mon, Jun 8, 2020 at 10:02 AM Nick Mazuk<EMAIL_ADDRESS>wrote:

Merged #3 https://github.com/Nick-Mazuk/jw-lua-scripts/pull/3 into
master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Nick-Mazuk/jw-lua-scripts/pull/3#event-3420527378,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACYB6XZK4I3VLMNVEETZHKLRVT4MDANCNFSM4NYPVIOA
.


Write new MDN code example guidelines

User story
As an MDN writer, I want to have code example guidelines to follow, so I can write more consistent code on MDN.
Acceptance criteria

[x] Code guidelines written

Tasks

[x] Write code guidelines, based on the plan at https://docs.google.com/document/d/1W_-inm0vuKnkhEEvSxRXCxsJ1b2NMnZwmjYg3cDo0wg/edit#.

The guidelines should replace the content currently at https://developer.mozilla.org/en-US/docs/MDN/Contribute/Guidelines/Code_samples. The page should probably be retitled, and what is good should be kept. If the guidelines become very long, we could consider breaking them up into multiple articles.

Code guidelines written: https://developer.mozilla.org/en-US/docs/MDN/Contribute/Guidelines/Code_guidelines
Guidelines sent around for feedback, reviewed in detail, and changes made.


.add touch events to useResizeColumns

.add onTouchStart to mergeProps
.add touch-action css to resizer
.mod increase resizer width or it is very hard to activate using touch devices

fixes https://github.com/tannerlinsley/react-table/issues/1743 guess i should have put this in commit ?

Wonderful work :)

Thank you very much - i am happy to help and happy to use ;-)


Suggestion to bump node versions

Link to reproduction
No response
Describe the Bug
Hello I was facing installation issue, when I was trying to get started with payload.
I'd like to suggest to bump .node-version file and package.json > engines.node property because it confuses the new user.
To Reproduce

I just wanted to run npx create-payload-app for the very first time on node version 18.7.1 and then I selected ecommerce template and in a result I got an installation error. Having ubuntu operating system might also be the case but it looks like on the current node LTS version it installed properly so I guess the problem is there.

Payload Version
2.4.0
Adapters and Plugins
No response

Have you tried to reproduce on ubuntu?

Hey @Surm4 I tried to reproduce this on Ubuntu 22 LTS with these steps:

nvm install 18.17.1
nvm use 18.17.1
npx create-payload-app
choose ecommerce and then defaults

And it installs successfully for me with no errors.
In your screenshots I see this error

This suggests that it's instead an issue with the connection to npm instead
Are you able to reproduce this consistently? If so more information might be useful here, but I will mark it as can't reproduce for now


Content-Length HTTP header

I am trying to connect to StorJ S3 endpoint (which is working fine with filestash) but the repo creation fails.
i get this error:
"error": "s3 error:
<xml version=\"1.0\" encoding=\"UTF-8\"?>
<Error>

    MissingContentLength
    <Message>
    You must provide the Content-Length HTTP header.</Message>
    <Key>
    dummy</Key>
    <BucketName>
    lakefs</BucketName>
    <Resource>
    /lakefs/dummy</Resource>
    <RequestId>
    16FCB8279798AF4B</RequestId>
    <HostId>
    </HostId>
</Error>
",
"file":"build/pkg/block/s3/adapter.go:250",
"func":"pkg/block/s3.(*Adapter).streamToS3",
"host":"lakefs.1zm.in",
"level":"error",
"log_audit":"API",
"method":"POST",
"msg":"bad S3 PutObject response",
"operation":"PutObject",
"path":"/api/v1/repositories",
"request_id":"db65f373-c188-414c-8b69-f8c1096bb5ed",
"service_name":"rest_api",
"status_code":411,
"time":"2022-06-28T07:27:23Z",
"url":"https://gateway.storjshare.io/lakefs/dummy"
}

config.yml
---
logging:
  format: json
  level: TRACE
  output: "-"

database:
  connection_string: "postgres://lakefs:lakefs@postgres/postgres?sslmode=disable"

auth:
  encrypt:
    secret_key: "12 word phrase"

blockstore:
  type: s3
  default_namespace_prefix: "s3://"
  s3:
    force_path_style: true
    endpoint: "https://gateway.storjshare.io"
    discover_bucket_region: false
    credentials:
      access_key_id: key
      secret_access_key: secret

any ideas?

Hi @gotjoshua ,
Sorry to hear you've been having difficulties using lakeFS with StorJ.  Unfortunately, typically in cases like these the issue is that the backing S3 implementation (in this case, the StorJ S3 gateway) is incomplete.  lakeFS uses the S3 support for HTTP chunked encoding.
Similar issues include #2527 and #2532 (on OVH, which by now support chunked encoding), #2471, and indeed this comment on #1471 (which I see you've already discovered!).

The AWS sigV4 notes on streaming explain how chunking lets clients such as lakeFS upload objects without precomputing their lengths.

the backing S3 implementation (in this case, the StorJ S3 gateway) is incomplete.

copy that.
thanks!
s3proxy it is then...

😿

s3proxy it is then...

If you decide to open an issue with StorJ to support chunked, could you please @-mention me on it?  Thanks!


Q2. What role do renewable energy sources play in city climate plans?

Deposit here: https://github.com/semanticClimate/city-climate-plans-notebook/blob/main/q2.qmd

Duckduck go search engine results - https://www.google.com/search?as_q=What+role+do+renewable+energy+sources+play+in+city+climate+plans%3F&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=&cr=&as_qdr=all&as_sitesearch=https%3A%2F%2Fwww.ipcc.ch&as_occt=any&as_filetype=&tbs=

Interesting to see how bad the results are and difficult to parse as you just end up a big PDF with no idea where things are in the doc

Renewable Energy Sources and Climate Change Mitigation
Cite as: Mitchell, C., J. L. Sawin, G. R. Pokharel, D. Kammen, Z. Wang, S. Fifi ta, M. Jaccard, O. Langniss, H. Lucas, A. Nadai, R. Trujillo Blanco, E. Usher, A. Verbruggen, R. Wüstenhagen, K. Yamaguchi, 2011: Policy, Financing, and Implementation. In IPCC Special Report on Renewable Energy Sources and Climate Change Mitigation, [O. Edenhofer, R. Pichs-Madruga, Y. Sokona, K. Seyboth, P. Matschoss, S. Kadner, T. Zwickel, P. Eickemeier, G. Hansen, S. Schlömer, C. von Stechow (eds)], Cambridge University Press, Cambridge, United Kingdom, and New York, NY, USA., and IPCC: Technical Support Unit Working Group III - Potsdam Institute for Climate Impact Research (PIK). “Renewable Energy Sources and Climate Change Mitigation. Chapter 11 - Policy, Financing and Implementation.” IPCC: Technical Support Unit Working Group III - Potsdam Institute for Climate Impact Research (PIK), 2012. https://www.ipcc.ch/site/assets/uploads/2018/03/SRREN_Full_Report-1.pdf.
Chapter 11 Policy, Financing and Implementation
Executive Summary
Renewable energy can provide a host of benefi ts to society. In addition to the reduction of carbon dioxide (CO2) emissions, governments have enacted renewable energy (RE) policies to meet a number of objectives including the
creation of local environmental and health benefi ts; facilitation of energy access, particularly for rural areas; advancement of energy security goals by diversifying the portfolio of energy technologies and resources; and improving social
and economic development through potential employment opportunities. Energy access and social and economic
development have been the primary drivers in developing countries whereas ensuring a secure energy supply and environmental concerns have been most important in developed countries.
An increasing number and variety of RE policies—motivated by a variety of factors—have driven substantial growth of RE technologies in recent years. Government policies have played a crucial role in accelerating the
deployment of RE technologies. At the same time, not all RE policies have proven effective and effi cient in rapidly or
substantially increasing RE deployment. The focus of policies is broadening from a concentration almost entirely on RE
electricity to include RE heating and cooling and transportation.
RE policies have promoted an increase in RE capacity installations by helping to overcome various barriers.
Barriers specifi c to RE policymaking (e.g., a lack of information and awareness), to implementation (e.g., a lack of an
educated and trained workforce to match developing RE technologies) and to fi nancing (e.g., market failures) may further impede deployment of RE. A broad application of RE would require policies to address these barriers, and to help
overcome challenges such as the lack of infrastructure necessary for integrating RE into the existing system.
Policy mechanisms enacted specifi cally to promote RE are varied and can apply to all energy sectors. They
include fi scal incentives such as tax credits and rebates; public fi nancing policies such as low-interest loans; regulations
such as quantity-driven policies like quotas and price-driven policies including feed-in tariffs for electricity, heat obligations, and biofuels blending requirements. Policies can be sector specifi c and can be implemented at the local, state/
provincial, national and in some cases regional level and can be complemented by bilateral, regional and international
cooperation.
Public research and development (R&D) investments are most effective when complemented by other policy
instruments, particularly RE deployment policies that simultaneously enhance demand for new RE technologies. Together, R&D and deployment policies create a positive feedback cycle, inducing private sector investment in
R&D. Enacting deployment policies early in the development of a given technology can accelerate learning by inducing
private R&D, which in turn further reduces costs and provides additional incentives for using the technology.
Some policy elements have been shown to be more effective and effi cient in rapidly increasing RE deployment, but there is no one-size-fi ts-all policy, and the mix of policies and their design and implementation
are also important. Key policy elements for ensuring effectiveness and effi ciency can include adequate value to cover
costs and account for social benefi ts, guaranteed access to networks and markets, long-term contracts to reduce risk,
inclusiveness and ease of administration.

Several studies have concluded that some feed-in tariffs have been effective and effi cient at promoting RE electricity, mainly due to the combination of long-term fi xed price or premium payments, network connections, and guaranteed purchase of all RE electricity generated. Quota policies can be effective and effi cient if designed to reduce risk; for example, with long-term contracts.
An increasing number of governments are adopting fi scal incentives for RE heating and cooling. Obligations to use RE heat are gaining attention for their potential to encourage growth independent of public fi nancial support.
In the transportation sector, RE fuel mandates or blending requirements are key drivers in the development of most modern biofuel industries. Other policies include direct government payments or tax reductions. Policies have infl uenced the development of an international biofuel trade.

The flexibility to adjust as technologies, markets and other factors evolve is important. The details of design and implementation are critical in determining the effectiveness and effi ciency of a policy. Policy frameworks that are transparent
and sustained can reduce investment risks and facilitate deployment of RE and the evolution of low-cost applications.
A mix of policies is generally needed to address the various barriers to RE. Further, experience shows that different
policies or combinations of policies can be more effective and effi cient depending on factors such as the level of technological maturity, availability of affordable capital and the local and national RE resource base.
If the goal is to transform the energy sector over the next several decades to one based on low-carbon
fuels and technologies, it is important to minimize costs over this entire period, not only in the near term.
It is also important to include all costs and benefi ts to society in that calculation. Conducting an integrated analysis of
costs and benefi ts associated with RE is extremely demanding because so many elements are involved in determining
net impacts; thus, such efforts face substantial limitations and uncertainties. Few studies have examined such impacts
on national or regional economies; however, those that have been carried out have generally found net positive economic impacts.
Two separate market failures create the rationale for the additional support of innovative RE technologies
that have high potential for technological development, even if an emission market (or GHG pricing policy
in general) exists. The fi rst market failure refers to the external cost of GHG emissions. The second market failure is in
the fi eld of innovation: if fi rms underestimate the future benefi ts of investments into learning RE technologies or if they
cannot appropriate these benefi ts, they will invest less than is optimal from a macroeconomic perspective. In addition
to GHG pricing policies, RE-specifi c policies may be appropriate from an economic point of view if the related opportunities for technological development are to be addressed (or if other goals beyond climate mitigation are pursued).
Potentially adverse consequences such as lock-in, carbon leakage and rebound effects must be taken into account in
the design of a portfolio of policies.
RE technologies can play a greater role in climate change mitigation if they are implemented in conjunction
with ‘enabling’ policies. A favourable, or enabling, environment for RE can be created by encouraging innovation in
the energy system; addressing the possible interactions of a given policy with other RE policies as well as with other
energy and non-energy policies (e.g., those targeting agriculture, transportation, water management and urban planning); by understanding the ability of RE developers to obtain fi nance and planning permission to build and site a
project; by removing barriers for access to networks and markets for RE installations and output; by enabling technology transfer; and by increasing education and awareness. In turn, existence of an ‘enabling’ environment can increase
the effi ciency and effectiveness of policies to promote RE.
The literature indicates that long-term objectives for RE and fl exibility to learn from experience would be
critical to achieve cost-effective and high penetrations of RE. The energy scenarios analyzed in Chapter 10 show
RE penetrations of up to 77% of primary energy by 2050, depending on the rate of installation. To achieve GHG concentration stabilization levels with high shares of RE, a structural shift in today’s energy systems will be required over the
next few decades. Such a transition to low-carbon energy differs from previous ones (e.g., from wood to coal, or coal
to oil) because the available time span is restricted to a few decades, and because RE must develop and integrate into
a system constructed in the context of an existing energy structure that is very different from what might be required
under higher-penetration RE futures.
A structural shift would require systematic development of policy frameworks that reduce risks and enable attractive
returns that provide stability over a timeframe relevant to RE and related infrastructure investments. An appropriate and
reliable mix of instruments is even more important where energy infrastructure is still developing and energy demand is
expected to increase in the future.


add project.json to Headed project.

Project.json was missing from a project and the issue that is closed said to submit a pull request if you want it fixed, so here I am.

@naikrovek,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot

@naikrovek, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.
Thanks, Microsoft Pull Request Bot

This repository is not maintained repository and is being archived.


[Bug]: no data connection to EB3A since new Firmware update

What happened?
No data connection since i updated my EB3A. All stats are unknown. i only can add the EB3A but no data gets loaded.
integration Version 0.0.21
ARM: v2063,03
DSP: v2052,11
what i tried
Soft Reboot
Hard Reboot
Integration Reinstall (remove device -> Uninstall -> Reboot -> Install -> Reboot -> adding device works but no data
Swtich From Internal BT to BT dongle and back
i cant provied any Debug. Debug issnt working
Version
0.0.17
What device are you seeing the problem on?
EB3A
What bluetooth connection are you using?
USB dongle
Have you changed the integration settings?
false
Integration settings (if you changed them)
No response
Relevant log output
2024-03-31 20:24:27.925 ERROR (MainThread) [custom_components.bluetti_bt.bluetti_bt_lib.bluetooth.device_reader] Polling timed out
2024-03-31 20:24:27.927 WARNING (MainThread) [custom_components.bluetti_bt.sensor] Data from coordinator is None. Skipping update for eb3a23XXXXXXXXXXdc_input_power
2024-03-31 20:24:27.928 WARNING (MainThread) [custom_components.bluetti_bt.sensor] Data from coordinator is None. Skipping update for eb3a23XXXXXXXXXXac_input_power
2024-03-31 20:24:27.928 WARNING (MainThread) [custom_components.bluetti_bt.sensor] Data from coordinator is None. Skipping update for eb3a23XXXXXXXXXXac_output_power
2024-03-31 20:24:27.929 WARNING (MainThread) [custom_components.bluetti_bt.sensor] Data from coordinator is None. Skipping update for eb3a23XXXXXXXXXXdc_output_power
2024-03-31 20:24:27.929 WARNING (MainThread) [custom_components.bluetti_bt.sensor] Data from coordinator is None. Skipping update for eb3a23XXXXXXXXXXtotal_power_generation
2024-03-31 20:24:27.930 WARNING (MainThread) [custom_components.bluetti_bt.sensor] Data from coordinator is None. Skipping update for eb3a23XXXXXXXXXXtotal_battery_percent
2024-03-31 20:24:27.930 WARNING (MainThread) [custom_components.bluetti_bt.sensor] Data from coordinator is None. Skipping update for eb3a23XXXXXXXXXXac_input_voltage
2024-03-31 20:24:27.930 WARNING (MainThread) [custom_components.bluetti_bt.sensor] Data from coordinator is None. Skipping update for eb3a23XXXXXXXXXXinternal_dc_input_voltage
2024-03-31 20:24:27.931 WARNING (MainThread) [custom_components.bluetti_bt.sensor] Data from coordinator is None. Skipping update for eb3a23XXXXXXXXXXled_mode
2024-03-31 20:24:27.932 WARNING (MainThread) [custom_components.bluetti_bt.sensor] Data from coordinator is None. Skipping update for eb3a23XXXXXXXXXXeco_shutdown
2024-03-31 20:24:27.933 WARNING (MainThread) [custom_components.bluetti_bt.sensor] Data from coordinator is None. Skipping update for eb3a23XXXXXXXXXXcharging_mode
2024-03-31 20:24:27.934 ERROR (MainThread) [custom_components.bluetti_bt.switch] Invalid data from coordinator (switch.eb3a23XXXXXXXXXXac_output)
2024-03-31 20:24:27.934 ERROR (MainThread) [custom_components.bluetti_bt.switch] Invalid data from coordinator (switch.eb3a23XXXXXXXXXXdc_output)
2024-03-31 20:24:27.935 ERROR (MainThread) [custom_components.bluetti_bt.switch] Invalid data from coordinator (switch.eb3a23XXXXXXXXXXpower_off)
2024-03-31 20:24:27.936 ERROR (MainThread) [custom_components.bluetti_bt.switch] Invalid data from coordinator (switch.eb3a23XXXXXXXXXXeco_mode)
2024-03-31 20:24:27.936 ERROR (MainThread) [custom_components.bluetti_bt.switch] Invalid data from coordinator (switch.eb3a23XXXXXXXXXXpower_lifting)

Thanks for the info. I'll look into it

@Patrick762 no problem. tell me if there is any new update for the integration. i need my system for the EB3A. it controlls one of my cooling systems for a spezial thing that i build

I can't even connect my phone with the eb3a after the update ...

And the station is now at 35% instead of 100% SoC

got same issue. just let it turn of the display and then connect again. my battery got from 45 to 35. idk what happend here

Seems like there was a bug in the ARM Firmware Update. I only did this. Not the other one

"Never change a running system"

i updaed ARM and DSP without any Probs.

"Never change a running system"

i wait for the fix on solar charge issue. this should it be.

Got some data in HA with the preconfigured instance.
After a full restart, all the values are available again (with newly setup instance).

i still get not data with new instance. i had a preconfigured before. didnt work to.

i started charging and have an input off 265w and output of 9 w. still no data after couple minutes

did a full reboot. no data. Get the same log as above. all Outputs are on and Display is on.

the entity is not numeric

Just to check this: Do you have your Bluetti App open on your phone (had the same problem right now, even if the phone was in standby)

Just to check this: Do you have your Bluetti App open on your phone (had the same problem right now, even if the phone was in standby)

nope. force closed bluetti App

I can't reproduce this issue currently.
Do you have a bluetooth proxy to test if it is a BT dongle problem?

I can't reproduce this issue currently. Do you have a bluetooth proxy to test if it is a BT dongle problem?

ah no sorry. i tested with internal bt from my rasphberry and usb dongle. what software did u use to read the EB3A? ill try if i can get any data

@Patrick762 new text on log!
2024-03-31 21:44:55.716 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 350, in data_received
    messages, upgraded, tail = self._request_parser.feed_data(data)
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "aiohttp/_http_parser.pyx", line 557, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadHttpMessage: 400, message:
  Pause on PRI/Upgrade:
    b''
      ^
      ```

I can't reproduce this issue currently. Do you have a bluetooth proxy to test if it is a BT dongle problem?

ah no sorry. i tested with internal bt from my rasphberry and usb dongle. what software did u use to read the EB3A? ill try if i can get any data
EDIT 8 Other bt devices working perfect

I always use the ESPHome Bluetooth Proxy Firmware with M5Stack AtomU

I can't reproduce this issue currently. Do you have a bluetooth proxy to test if it is a BT dongle problem?

ah no sorry. i tested with internal bt from my rasphberry and usb dongle. what software did u use to read the EB3A? ill try if i can get any data
EDIT 8 Other bt devices working perfect

I always use the ESPHome Bluetooth Proxy Firmware with M5Stack AtomU

i need to buy a ESPHome first.

If I can reproduce the issue in the next few days I'll look into it

You can also join the new discord server to contact me: https://discord.gg/nqcgV2MW

You can also join the new discord server to contact me (maybe it's easier to solve this in german): https://discord.gg/nqcgV2MW

Very good idea! im in!

seems resolved. Closing issue for now


Make ifndef match file name

Make ifndef unique in Zephyr when cddl-gen is present
Signed-off-by: Andrew Hedin<EMAIL_ADDRESS>

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

Looks like the tests needs to be updated to be compatible with the zephyr version it's testing against.

Rebasing should solve the test issue.


NG0303: Can't bind to 'ngFor' since it isn't a known property of 'ng-container'.

The aforementioned error occurs when loading full sized images on Angular 13.3.3. The images themself load without any problems.

This seems to be a non issue with angular versions > 13.3.3. Due to the library working even if this error occurs this will not be investigated any further.


It would be nice if this had some kind of highlighting, e.g. coloring lines starting with "+" green and those starting with "-" red.

This is actually already possible. Here's the query we use to do it in Helix: https://github.com/helix-editor/helix/blob/a1d7997fe303812edafb23ab08eaa8972e4f4c1d/runtime/queries/git-commit/injections.scm#L1-L4

Nice. I'm using helix, and for me diffs are not highlighted. Any idea what could be causing this?

I'm also using verbose commits with Helix, it should work out of the box:

You can check your log file for any errors about diff and you should have a check mark for "Highlight queries" if you run hx --health diff

After having some difficulty reproducing this (it only happened on one of my two machines), I finally found out that this was caused by the language being set to something other than English. So, this is basically the same issue as #4, but I would expect the parser to at least be robust enough to recognize diff markers even if it doesn't recognize keywords in the comment before it.


nbsmoke vs nbval vs jupyterlab_celltests

AFAIK nbval can run top-to-bottom and ignore outputs with py.test --nbval-lax
And jupyterlab_celltests can run a linter (flake8 for now): https://github.com/timkpaine/jupyterlab_celltests/blob/master/jupyterlab_celltests/lint.py#L121
might be good to identify what these three projects overlap in and where they differ, and combine forces where possible. I've recently deleted all my code related to kernels and now rely on nbval for that bit.
xref https://github.com/timkpaine/jupyterlab_celltests/issues/1

I think that's a great idea - thanks for opening this issue. We always wanted to integrate with nbval (and originally with nbsite, too.) I'm pretty sure nbsmoke was supposed to be temporary when it started ;) I'm not familiar with jupyterlab_celltests, but it looks very interesting and I'd like to learn about it.
What about we make a feature matrix to start off with, comparing the three? Or any better idea of a good way to start? I definitely think it's worthwhile doing a comparison in some form.

Since I'm here, I'll just quickly try to summarize where nbsmoke is currently. In order of speed to run (at least in theory!), nbsmoke supports:

"linting" notebooks: a notebook is converted to python (using nbconvert), then it is checked using pyflakes. I.e. fast, catching obviously bad things (undefined names, unused imports, etc) - the minimal things, with no false positives, so that running these tests might one day be accepted by sceptical notebook authors ;)
"verifying" notebooks: I can't remember what exactly this includes, but it's things like: are links, images, etc valid? are all imported modules installed? I.e. further checks, but still short of running the notebook. This functionality was copied in from bokeh's tests some time ago, but I can't remember if we use it yet. Maybe just in datashader at the moment, or something like that.
"running" notebooks: executing from top to bottom, failing on exception.

I doubt nbsmoke has anything over any other tool for the 'run tests'. The 'verify tests' might be unique, but we haven't used them much. The 'lint tests' have support for magics, which might be different from other tools (not sure!):

Magics that obviously interact with the python process can be handled. E.g. %time x = fn() will be checked as x = fn(), %%capture x will result in x being defined. %%script bash will be ignored, but %%script bash --out=x will result in x being defined. Not sure if this magics handling is a good idea or not (I tend not to use magics). This magics handling is extensible.
Magics that don't obviously interact with the python process are skipped.

Though the lint testing only uses pyflakes (not flake8), it supports ignoring of flakes (by regex or adding # noqa: explanation). So a bit like flake8, but not as sophisticated - more as a proof of concept. It can also emit only warnings rather than failures if preferred.
(Note that some of the above isn't in the current nbsmoke release, but will be in the next one, which is coming soon.)


Multi-label with f1

How to Test Multi-label Classification with f1 in metrics?
And please give me a sample example?

There is an example in the docs of f1:
    Example 4-A multiclass example, with different values for the `average` input.
        >>> predictions = [0, 2, 1, 0, 0, 1]
        >>> references = [0, 1, 2, 0, 1, 2]
        >>> results = f1_metric.compute(predictions=predictions, references=references, average="macro")
        >>> print(round(results['f1'], 2))
        0.27
        >>> results = f1_metric.compute(predictions=predictions, references=references, average="micro")
        >>> print(round(results['f1'], 2))
        0.33
        >>> results = f1_metric.compute(predictions=predictions, references=references, average="weighted")
        >>> print(round(results['f1'], 2))
        0.27
        >>> results = f1_metric.compute(predictions=predictions, references=references, average=None)
        >>> print(results)
        {'f1': array([0.8, 0. , 0. ])}

@harmbuisman's answer is not the correct answer for multilabel but for single-label multiclass. If you want to use it with a multilabel setup see here #585.
f1_metric = evaluate.load("f1", "multilabel")


Screenshots in Chrome are black & in Firefox no screenshots

Are you requesting a feature or reporting a bug?
This is a bug
What is the current behavior?
The Screenshots are not working.

Chrome
there are screenshots but they are all just black

Firefox
no screenshots at all

What is the expected behavior?
Have screenshots working
How would you reproduce the current behavior (if this is a bug)?
I am using TestCafe Pro. And adding the screenshots via the Recorder-
Provide the test code and the tested page URL (if applicable)
    "3.Take a screenshot": function() {
        act.screenshot();
    }

Specify your

operating system: Windows 10
testcafe version: 15.1.3
node.js version:  6.11.0

@L1am0

Please submit your "TestCafe Pro" inquiries to our Support Center at www.devexpress.com/ask. This github repo is reserved for the free TestCafe version only.

I recommend that you refer to the following thread where a similar inquiry was discussed:

TestCafe takes a blank screenshot when running in Chrome and FireFox

You need to disable the 'Use hardware acceleration when available' option, restart your browser, and see if it makes any difference. If this does not help, you know where to ask for further assistance :-)


a

Hi! Thank you for contributing!
The tests on this PR will run after a maintainer adds an ok-to-test label to this PR manually. Thank you for your patience!

Hi! Thank you for contributing!
The tests on this PR will run after a maintainer adds an ok-to-test label to this PR manually. Thank you for your patience!

b


Enhancement: Option to switch to original Sicks, Goods, etc.

Please check for duplicates or similar issues before creating this issue.
What is your suggestion, and why should it be implemented?
basically this suggestion says that there should be some sorta option for change to the original, sicks, goods, etc..

What do you mean by that, you mean using the old sprites, old timings from the vanilla game..?

What do you mean by that, you mean using the old sprites, old timings from the vanilla game..?

 I'd rather not bloat the assets with 10 more files.

hehe ok


IAI: Upgraded ingress-nginx Helm chart from 4.0.6 to 4.0.19.

Successful run of Azure.Industrial-IoT-E2ETesting-Orchestrated pipeline for kakostan/ingress_nginx branch can be found here.


Feedback: Submit button can be hard to find

When supplying feedback information, the on screen keyboard can obscure the Submit button. In some cases (depends on the device?), the user needs to click to exit the keyboard in order to be able to see the button at all. On Android with staging version 1.38.0, the submit button moves up above the on screen keyboard, so it's visible always but leave very little screen space for seen the text the user is editing. Maybe the Submit button needs to be smaller when the on screen keyboard is visible?
https://reactnative.dev/docs/textinput.html#returnkeytype
Acceptance Criteria

[ ]  It is easy to submit feedback data through the form

When filling the form, the "return" button on the keyboard should change to say "Done" on iOS and show the "Done" action button on Android
 - this is what the keyboard is supposed to look like on iOS. See https://developer.apple.com/documentation/uikit/uitextinputtraits for details
 - this is what it should look like on Android. This may help? I'm not sure: https://medium.com/flutterpub/flutter-keyboard-actions-and-next-focus-field-3260dc4c694
Please apply this to all similar form fields

This needs to be fleshed out a bit more for different cases such as:
Multi-line text boxes (feedback): Should we replace the return key with a done button that closes the keyboard?
Cases where users want to input on more than one different field (feedback, search): Not all users will want to submit right after one input.

Multi-line text box examples:
They all keep the return button but have varying ways of making the submit button visible to users.
LinkedIn

Reddit

Instagram

Messenger

Here's another pattern I found that seems to match our style well

@tomy-pg My recommendation for multiline (return) + done in the Feedback module is following the pattern of Done above the keyboard:
See https://zpl.io/adwL9kp and https://zpl.io/brpgmEO for mocks
As for Search, and other single-line inputs, the keyboard "Return" button should ideally be "Done" (I think the text is still "Return" on iOS currently).
Single line "Done" buttons should close the keyboard (NOT submit the search immediately, because we have a separate submit button) — I don't believe we currently have a need for a keyboard action that submits a single-line input immediately, though that may be explored in the future.

@cherrielam for the multi-line Done buttons, they should close the keyboard as well, not submit right?

Yes, close the keyboard

Looks good to me on one real android device and one simulated ios device. @ian-lin-PG and @tomy-pg is that good enough?

Looks good when I tested on iPhone X as well.


New version: Nextcloud.NextcloudDesktop version 3.9.0

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/111583&drop=dogfoodAlpha

@microsoft-github-policy-service agree


possible fix ?

I was not able to test but i should mostly fix
Closes #4

@danascape review please


Generate manifest params

Ensure that --write-params on kombustion generate includes parameters from the manifest environment.

Pull Request Test Coverage Report for Build 478

9 of 16 (56.25%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 35.549%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/tasks/upsert.go
0
2
0.0%

internal/tasks/generate.go
9
14
64.29%

Totals

Change from base Build 476:
0.2%

Covered Lines:
722

Relevant Lines:
2031

💛  - Coveralls


WASM Build

It would be nice to be able to compile to WASM, as per the PR #2.
I have tried building to WASM from the fork but I get the following error:
LinkError: WebAssembly.instantiate(): Import #41 module="env" function="_llvm_exp2_f64" error: function import requires a callable
I am compiling on ArchLinux using the latest emsdk.
The sed tasks in the Makefile also fail on my OS as it should be sed -i.bak i.e. without a space.
As you know, I can't create an issue on a fork, hence why I am raising it here.
I believe using WASM should increase the speed of ccv-js, which is important.
Great work so far @fta2012 and @shahrodkh, very impressive (:

I played with a wasm build based on @shahrodkh's example back then. I just cleaned it up and pushed it. Let me know if that works for you.


ENH: optimize: vectorized minimization of univariate functions

Reference issue
gh-15928
What does this implement/fix?
This adds a private function for minimizing univariate functions like minimize_scalar, but this is vectorized. The immediate need is gh-15928 (fitting and mode), but we can create a public interface if desired. Like gh-18811, it uses the framework developed in gh-18728.
The algorithm is a bit simpler than Brent's but takes approximately the same number of iterations. The implementation takes about twice as long to minimize a function that outputs a single scalar but can be up to ~50x faster on my machine when minimizing a function elementwise. It also has nice things like absolute and relative tolerances on both x and func, and it gets a callback interface for free from the framework.
Additional information
I'll post the result of benchmarking shortly.
Vectorized root and minimization bracket-finders are coming.
Then I think we need to find better names for these functions. Probably _minimize_scalar_chandrupatla / _root_scalar_chandrupatla.

Am I missing something?

This is a minimizer; the other is a root finder.


macOS Sierra 10.12.4 Failed to mount the InstallESD.dmg

Downloaded 2017-04-28 macOS Sierra:
vit:tmp vitaly$ ./prepare-iso.sh
hdiutil: detach: only a single device name can be specified
Usage:	hdiutil detach [options] <devname>
	hdiutil detach -help

Mount the installer image
-----------------------------------------------------------
$ hdiutil attach /Applications/Install macOS Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app
hdiutil: attach failed - Resource busy
Failed to mount the InstallESD.dmg from the instaler at Install macOS Sierra.app.  Exiting. (1)

Just in case:
vit:tmp vitaly$ cat /Applications/Install\ macOS\ Sierra.app/Contents/version.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>BuildVersion</key>
	<string>55</string>
	<key>CFBundleShortVersionString</key>
	<string>12.4.06</string>
	<key>CFBundleVersion</key>
	<string>12406</string>
	<key>ProjectName</key>
	<string>InstallAssistant</string>
	<key>SourceVersion</key>
	<string>842012000000000</string>
</dict>
</plist>

Actually it's related only to hdiutil: attach failed - Resource busy
solved by
hdiutil info | grep /dev/disk | grep partition | cut -f 1 | xargs hdiutil detach

Maybe add this line before installation?

Also, see upstream bug: https://www.virtualbox.org/ticket/16644

Yep, but upstream issue is actually related to https://github.com/geerlingguy/macos-virtualbox-vm/issues/24 bug 😀

Gah, I'm confusing my issues now :P

I believe this was fixed by one of the other recent commits... I can't reproduce the error anymore.


OGNL language native support

The corresponding PR https://github.com/apache/camel-quarkus/pull/4451


fixing bootstrap for external postgresql

Signed-off-by: Vinay Satish<EMAIL_ADDRESS>Description
Upgrade and Reconfigure for external postgresql  scenario was failing when bootstrap was enabled. This was because in the bootstrap.rb recipe we start again postgresql service without out checking the external postgresql scenario.
Issues Resolved
Resolves https://github.com/chef/chef-server/issues/2894
Check List

[ ] New functionality includes tests
[ ] All buildkite tests pass
[ ] Full omnibus build and tests in buildkite pass
[ ] All commits have been signed-off for the Developer Certificate of Origin. See https://github.com/chef/chef/blob/main/CONTRIBUTING.md#developer-certification-of-origin-dco
[ ] PR title is a worthy inclusion in the CHANGELOG

@vinay-satish The code looks fine.  Could you paste screenshots of successful tests?  You probably need a rebase.  There's a cookstyle issue flagged above as well.

This changes is not required as we have a check with OmnibusHelper.has_been_bootstrapped?. We touch the file /var/opt/opscode/bootstrapped before we do the migration.

@vinay-satish @PrajaktaPurohit I think something was lost here in the force push. The only change is a comment


run quickstart.py has errors

I pip MCycle 1.0.1 from git.
When i run example quickstart.py,  i got some errors, such as :
1.
mc.DEFAULTS.updateDefaults()  -> AttributeError: module 'mcycle.DEFAULTS' has no attribute 'updateDefaults'
2.
cycle.update({
"pEvap": mc.bar2pa(10),
"superheat": 10.,
"TCond": mc.degC2K(25),
"subcool": 5.
})  -> TypeError: update() takes 1 positional argument but 2 were given
3.
cycleStateKeys='all',  -> TypeError: summary() got an unexpected keyword argument 'cycleStateKeys'
4.
Q_vals = Qfraction_vals * cycle.QIn()  -> TypeError: 'float' object is not callable
and others.
I thick this example is not update for new version?

The pip version is completely outdated. I have rewritten the code using Cython in an attempt to speed it up, whereas the version on pip is pure Python. Have a look at the README file, there are instructions on installing MCycle from the source code here on Github.

I install  from github :)

pip search mcycle
mcycle (0.1.3)  - Power cycle sizing and analysis package
INSTALLED: 1.0.1
LATEST:    0.1.3

Great, so just to confirm: you are able to run quickstart.py successfully now? If so I'll close this Issue. Cheers :)

Wait a moment...
I found i used "pip install -U -e ." to install.
Now i use "py setup.py install" to try.

After i uninstall mcycle and remove git dir, i reclone source code from github and py setup.py install.
When i run py quickstart.py, i have error:
λ py quickstart.py
Traceback (most recent call last):
File "quickstart.py", line 3, in
import mcycle as mc
File "D:\python\36-64\lib\site-packages\mcycle-1.0.1-py3.6-win-amd64.egg\mcycle_init_.py", line 15, in
from . import bases
File "D:\python\36-64\lib\site-packages\mcycle-1.0.1-py3.6-win-amd64.egg\mcycle\bases_init_.py", line 1, in
from .mcabstractbase import MCAB
ModuleNotFoundError: No module named 'mcycle.bases.mcabstractbase'
:(

Finally, I uninstall mcycle. And, directly import source git dir.
import sys try:     sys.path.append(r"D:\git\MCycle_cpython\\")     import mcycle as mc except Exception as e:     print(f"import is error: {e}")     raise
Then, running quickstart.py is OK.

great, I'll close this issue now


Online IDE in the documentation

Continuing the conversation on Twitter here: twitter.com/acemarke/status/913891217385168896.
I think it would be very beneficial for beginners to use CodeSandbox/Stackblitz/WebpackBin to start learning React. The environment is like a local code editor, which means that the user already gets familiar with the feel of a code editor. The user doesn't have to install any tooling, so you can start immediately. Also, whenever they want to continue offline they can easily click on 'Download'/'Export' to get a CRA version of the same application so they can work further on it.
I think we all agree that this would be beneficial, the question is how to approach this without confusing the user. Would be great to have a discussion on this here.

I'm looking forward for this,
Personally i prefer codesandbox.

Hi, it looks like this has been pretty extensively done throughout the website. I think this can be closed since we link to CodeSandbox pretty commonly. The only thing I can think of adding to this would be embedding CodeSandbox, but I think that would warrant a new issue anyway. So I think this can be closed.


GitHub action build error

Describe the bug
mvn package success in local, but fail in github action
To Reproduce
Look the message in action
Expected behavior
Build success
Screenshots

Desktop (please complete the following information):

Browser Chrome
Version 0.0.1

It seems github action can't find environment variables:

These env was define in local, not in action. Spring can't inject them.
https://github.com/codicefun/codicefun-blog/blob/b375df9307fc3e935088dba53b9d4d3639bf75d4/codicefun-blog-api/src/main/resources/application.properties#L19-L20
https://github.com/codicefun/codicefun-blog/blob/b375df9307fc3e935088dba53b9d4d3639bf75d4/codicefun-blog-api/src/main/java/com/codicefun/blog/util/JwtUtil.java#L18-L21

Acording to docs, define env like this:
https://github.com/codicefun/codicefun-blog/blob/a2aad6a8d3beaf7be3b3969599e157ba899fe81e/.github/workflows/maven.yml#L9-L11


language/cascade_test/none has return type for []=

7.1.1 Operators
It is a static warning if the return type of the user-declared operator []= is
explicitly declared and not void.

Fixed in this CL.


Update seo of .md files

Keywords and descriptions updated in all pages in web3 APIs.

Great work!. Also please add SEO for other pages in different sections. Basically all relevant .md or .mdx file with content


Add ability to update values on any buttons periodically.

I understand you are not working on this till the summer, but can you add an ability to set a time to refresh button values.
I've a few buttons with labels that take the current HA values which change over time, but not in Loupedeck, until i restart the app

I've got three buttons that dont do anything other than display various temperatures on a panel on my loupedeck.
As this unit could potentially be used as a powerful HA controller, some buttons may not actually do much but display info
So maybe a setting to poll every minute might be useful, but definitely not in realtime.
However maybe the loupedeck software can't do that kind of timed polling

Either way Michael, I'm really happy where you are with this project and appreciate the effort! :)

Thank you for the compliment.
I'd like to know what kind of HA entity you have a button for. Switch, Light, Sensor ...?
Or is it really an HA button entity?

These sensors only so far....

So, I'm watching three sesnors with temps over the day and they are instantly updating, either when I manually set a new value in HA or when HA updates them itself. Is this still an issue for you?

Its not broken, just not too aware of network changes.
I drop on and off the work VPN during the day, and occasionally i have to restart loupedeck to reconnect to the nabu casa address.
maybe it could be more aware of a network change?

There is a new websocket client implemented from version v0.8 which is aware of connection losses and tries to reconnect, you can check the logfile for information and reconnect efforts. See #8 ...
I tried multiple things which were an issue before like toggling VPN and even restarting HA. Everything works so far. I'm closing this issue, if you keep having connection issue pleae reopen #8 or create a new issue.


Ability to get image pixels in onMoved?

Currently the rect in onMoved is in logical or UI pixels. It would be great if we support actual image pixels as well.

@mgenware
Thank you for your feedback. I'll try to add the feature.


nearbyhint: Fix for ffast-math

See commit text.
This fixes:
#548
Notice that I wasn't able to verify it on Visual Studio, just g++ and clang.

Can you give a try to the following patch instead: if it works, it's much less intrusive
diff --git a/include/xsimd/arch/generic/xsimd_generic_math.hpp b/include/xsimd/arch/generic/xsimd_generic_math.hpp
index 56e4d98..2ef41de 100644
--- a/include/xsimd/arch/generic/xsimd_generic_math.hpp
+++ b/include/xsimd/arch/generic/xsimd_generic_math.hpp
@@ -1722,8 +1722,8 @@ namespace xsimd {
         // to v. That's not what we want, so prevent compiler optimization here.
         // FIXME: it may be better to emit a memory barrier here (?).
 #ifdef __FAST_MATH__
-        volatile batch_type d0 = v + t2n;
-        batch_type d = *(batch_type*)(void*)(&d0) - t2n;
+        volatile auto d0 = (v + t2n).data;
+        batch_type d = batch_type(d0) - t2n;
 #else
         batch_type d0 = v + t2n;
         batch_type d = d0 - t2n;

Now I'm at $DAILY_JOB I don't have the codebase at hand, but I'd say that local scope volatiles are not enough to stop clang.
Notice that to remove the volatile instead of doing "(batch_type)(void*)(&d0)" you can do "const_cast<batch const&> (d0)"