text:
Possible to adjust 'Active Power Adjustment'?

Hi!
Thank you for this great integration.
Describe the bug
Not a bug, but capability question...
I have a 'dynamic pricing' tarif and lately there are many moments when electricity prices are negative and solar infeed costs money, in which case it is interesting to adjust the active power infeed from the inverter to (near) zero.
Luckily, this can be done through the website https://eu5.fusionsolar.huawei.com/ by adjusting this with a button "Active Power Adjustment" on the monitoring / inverter page.
I was wondering if there is a way to achieve this from within Home-Assistant on an API-basis...
I fear not as - in my limited knowledge - we only get information out of the system, but not writing.
** Debug information **
Answer the questions below before submitting a new issue.

Are you using the latest version of Home Assistant? Yes
Are you using the latest version of this integration? Yes
Have you looked into the closed issues and did not find a similar issue. Yes
Are you using Kiosk or Northbound / OpenAPI mode? Northbound / OpenAPI
If you are using Kiosk mode. Have you checked that the url is still valid? See I am using the kiosk mode, but the data is not updating
If you ar using Northbound / OpenAPI mode. Check if your credentials are still valid. See How can I verify my Northbound API / OpenAPI credentials? N/A
Have you checked the logs for any info? N/A

To Reproduce
N/A
Expected behavior
This would be a great extra feature as then we could make easy integrations in Home Assistant to automate these power adjustments instead of having to do it manually every X days/weeks.
If not possible, could be interesting to know where and how to ask (as I believe competitor inverter brands do allow this already...)
Screenshots
N/A

At this point the integration only reads data. At this point I want to keep it that way.

If you really need this. I think https://github.com/wlcrs/huawei_solar supports it.

Ok, as I thought. Thanks.
This other integration needs extra hardware, I believe (dongle etc?).
I will stick to the manual follow-up for now :-)
Thanks a lot
Pieter

repo: tijsverkoyen/HomeAssistant-FusionSolar


text:
How to Setup

Maybe this is just something to add to the readme.  I'm fairly new to keybase, and am having a little trouble figuring out what the 'namespace' is.
Could you explain how to figure out what the namespace to connect to when setting up the vault.  I don't know if this is something that can just be copy and pasted from somewhere in the keybase app or if this is something that would benefit from an example of what the namespace formatting should look like.
thank you

@jrdnr I to installed this module and it doesn't appear to be working for me either and I do understand the KeyBase KVstore.  MS SecretStore module is working fine for me.
I've created a KeyBase BOT in PowerShell for interacting with the KVStore.  See https://cadayton.keybase.pub/PSGallery/Modules/BOTtum/BOTtum.html it should help you gain a better understanding of the KeyBase KVstore feature.

Interestingly I installed the module and was ale to get it all working with powershell 7, but not 5.1.
I still have no idea what the namespace is or how much it matters, but I just picked a random name for the namespace and it just worked.

From my experience, Namespace is just a high level qualifier. Think of it as group name and members within that group.
Not working for me on 7.1.2 yet. Submitted an issue on where the error is happening.
I think SecretManagement is only 7 or better.
Craig Dayton
cadayton@protonmail.com
360-466-8778
https://cadayton.keybase.pub/
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Sunday, March 7, 2021 7:09 PM, jrdnr notifications@github.com wrote:

Interestingly I installed the module and was ale to get it all working with powershell 7, but not 5.1.
I still have no idea what the namespace is or how much it matters, but I just picked a random name for the namespace and it just worked.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

@cadayton there was an earlier Secret s Management that was just 7.0+. But they decided it needed to be a core capability in powershell so the release the SecretManagement module with compatibility back to older supported versions. I've used the native vault in 5.x.

@jrdnr, Minimum PowerShell version is 7.0.0 for this module. Personally, I am not using Windows PowerShell anymore since PS Core came along.
Think about namespace as a folder name. KV Store stores in KV list in separate namespaces. So, for your Vault you should have a unique namespace. As long as it is unique, value does not matter.

source: gharchive/issue

authors: cadayton jrdnr tiksn

license: MIT

license_type: permissive

license_source: github-api


text:
In-memory engine: fix seek does not set self.valid properly

What is changed and how it works?

Issue Number: Ref #16141

What's Changed:
fix seek does not set self.valid properly

Related changes

[ ] PR to update pingcap/docs/pingcap/docs-cn:
[ ] Need to cherry-pick to the release branch

Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Release note

None

/merge

/retest-required

source: gharchive/pull-request

repo: tikv/tikv


text:
raftstore: reduce the overhead of region heartbeat (#5537)

Cherry-pick of #5537

/run-unit-test

/run-unit-test

/run-all-tests


text:
encryption: Fix crash after disable encryption or change encryption method

What problem does this PR solve?
Problem Summary:
Fixing two issues with encryption:

TiKV will crash with protobuf error when disable encryption using the following config

[encryption]
data-encryption-method: plaintext
[encryption.previous-master-key]
{...master key config here}

The problem is that when TiKV initialize encryption and try to read key_dict, in the first round plaintext backend is used, since no master key is specified. Plaintext backend cannot tell if the content feed to it should plaintext or not, and return WrongMasterKey error properly.

TiKV will crash when change encryption method and restart. That's caused by tikv reusing the same data key before restart, even when encryption method had changed. The key is send to rocksdb for new files, and rocksdb will return key length mismatch error.

What is changed and how it works?
What's Changed:

Add encryption method as metadata in EncryptedContent. In particular plaintext backend will store "plaintext" as it's method and check against it. If method not match on "decrypt", return WrongMasterKey.
On restart if encryption method doesn't match current data key's encryption method, generate a new data key.

Related changes
no
Check List
Tests
Manual test the above scenarios. Unit test will be added in later PRs.
Release note

/merge

authors: overvenus yiwu-arbug


text:
add safe option

template resource の variables は意図しない spec ファイルを作成してしまう可能性があるため、それを生成しないオプションを設定しました(デフォルトはfalse)

#1

authors: papiyatoma pocke

repo: tily/chef-serverspec-handler

license: mit

license_source: bigquery


text:
Fatal error when another plugin is installed that uses Twig and Timber version is >= 1.1.12

Expected behavior
A functioning website without a fatal error
Actual behavior
Displays a fatal error: "The "Twig_Extension_Core" extension is not enabled."
See stack trace at: https://gist.github.com/blocher/71ec2e1322f88e30780b8e44b77d6063
Steps to reproduce behavior

Install and activate Timber >= version 1.1.12
Install and activate another plugin that uses Twig, such as All in One Event Calendar (https://wordpress.org/plugins/all-in-one-event-calendar/)
Activate theme that uses Timber
Load public website in browser

See stack trace at: https://gist.github.com/blocher/71ec2e1322f88e30780b8e44b77d6063
What version of WordPress, PHP and Timber are you using?
Wordpress 4.7, PHP 7.0.14, Timber 1.1.12 or 1.2 (no issue in earlier versions)
How did you install Timber? (for example, from GitHub, Composer/Packagist, WP.org?)
Upgraded to newest version via plugin updater in WordPress dashboard
Also tried cloning from GitHub and manually unzipping file from WP.org

The issue comes from the two plugins both including Twig library, but a different version of it. The newest version of Twig deprecated some code and provides a new 2.0 compatible way instead. This doesn't work in the older Twig version, thus causing the error.
There's really nothing you can do except for asking plugin developer to update his twig dependency to the latest version. Or you can make sure that the older version doesn't get loaded, either by updating the vendor library by yourself or removing it manually from the plugin.

@mahagr @blocher good news! Timber now uses Twig 2.0! If I understand @mahagr correctly this should resolve the issue; but please confirm with the latest master if you can.

Don't use Twig 2.0, it's for PHP7 only. Use the latest 1.1 version which is mostly compatible with 2.0.
The issue here is that the another/conflicting plugin is using an old version of Twig and should be updated. Timber was just fine. :)

Thank you for the help!  Upgrading Twig on the other plugin to the latest 1.x does the trick.  Timber does in fact work great.

authors: blocher jarednova mahagr

repo: timber/timber


text:
Code style and formatting in the documentation

PHP, Twig and HTML code should be written in one concise format and styling in the documentation. As of now, there is a lot of variations.
I thought about contributing with the clean up, but wanted to ask first a more official opinion which style/formatting to apply.

@artifex404 that would be very helpful. A lot of hands over the years (including mine) have been in there over the years with some changing rationales. This describes the PHP rules (from Scrutinizer CI). In general, it's pretty close to WordPress's official standards.
For Twig and HTML, I'd like to stick to the official Twig standards where we can

Since 2.x and code standards auto fixing implementation, I think we can close this.

authors: artifex404 jarednova nlemoine


text:
[BUG] Preview not working when using Gutenberg

Expected Behavior
Today I ran into a problem when I try to display the preview of a post that uses Gutenberg. The Page uses some static components and some of them containing images. In relation to the images, the  received $data of the image is not an object which then causes an issue and the preview will not displayed:

Actual behavior
Getting an error and the page will not rendered:

Fatal error: Uncaught Error: Attempt to assign property "post_content" on array … /vendor/timber/timber/src/Timber.php on line 178
Error: Attempt to assign property "post_content" on array in …/vendor/timber/timber/src/Timber.php on line 178

Steps to reproduce behavior

Install the current next branch of the Flynt theme.
Create at lest min 2 posts with a featured image, each.
Try to display use the Preview functionality from Gutenberg.

Notes
No response
What version of Timber are you using?
2.0.0-beta.1
What version of WordPress are you using?
WordPress 6.1
What version of PHP are you using?
PHP 8.0
How did you install Timber?
Installed or updated Timber through Composer

Short update: The bug seems to be related to the 2.0.0-beta.1. When I use 2.x-dev it works as aspected. Would be very happy about to read something about of a new beta version.

I've encountered the same issue with the exact same versions of Timber, WP and PHP.

Beta 2 is now released @timohubois . Can you confirm that updating to this version solves the issue?

@Levdbas can confirm that the issue is fixed within the Beta 2 release. Great work and many thanks!

authors: Levdbas YourMark timohubois


text:
🛑 IBT is down

In 4ff67f7, IBT (https://ibtrussia.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IBT is back up in de5a8a1.

repo: timbze/upptime-sword-repos


text:
Turn On/Off Window Defrosters

A much older version of the official Tesla app allowed you to turn the window defrosters on and off. That API call must still exist, can we figure it out?

I haven't seen anything for this sitting around in the app code. Do you have a copy of the older version of the app? I don't remember seeing that in the original versions I reversed.

authors: stuartjmoore timdorr

repo: timdorr/model-s-api


text:
🛑 api.timedin.net is down

In 6e05cf0, api.timedin.net (https://www.timedin.net) was down:

HTTP code: 424
Response time: 10115 ms

Resolved: api.timedin.net is back up in 057f0ff after 12 minutes.

repo: timedin-de/upptime


text:
absences days are wrong

When i select a day off it does the day before so like if i select the 8 it does the 7

Hi @jgaravelli
The is issue sould be fixed when #58 is done. It happens now for people who are ahead of behind the UTC day change.

authors: jgaravelli vpp

repo: timeoff-management/application


text:
Bug: "Provider returned invalid result object after apply" after applying an in-place update to timescale_service

│ Error: Provider returned invalid result object after apply
│
│ After the apply operation, the provider still indicated an unknown value
│ for timescale_service.RESOURCE_NAME.password. All values must be known after apply,
│ so this is always a bug in the provider and should be reported in the
│ provider's own repository. Terraform will still save the other known object
│ values in the state.

We're running into the same error when changing the memory_gb and milli_cpu values on an already existing database:
  # timescale_service.database will be updated in-place
  ~ resource "timescale_service" "database" {
      ~ hostname                  = "REDACTED.vpc.tsdb.forge.timescale.com" -> (known after apply)
        id                        = "REDACTED"
      ~ memory_gb                 = 128 -> 64
      ~ milli_cpu                 = 32000 -> 16000
        name                      = "production-tsdb"
      + password                  = (sensitive value)
      + pooler_hostname           = (known after apply)
      + pooler_port               = (known after apply)
      ~ port                      = 5432 -> (known after apply)
      + replica_hostname          = (known after apply)
      + replica_port              = (known after apply)
        # (7 unchanged attributes hidden)
    }

This results in the exact same error as the issue author reported, about the password not being available.
I think the problem here might be that this Terraform provider only outputs the password at service creation. From the docs:

The password is provided once during service creation

We store this password in an AWS secret after creation, but this seems to cause problems when doing an in-place update on a running instance. If we could provide our own password upfront and pass it to the resource, that would also work, unless the Timescale team has a better approach. Thanks!

the v1.12.0 provider release makes password a configurable attribute and should ultimately solve the import issue observed

authors: Khyme dennisameling mattk-ce

repo: timescale/terraform-provider-timescale


text:
README: releases link might give 404

maybe depending on how you reach the README.md, but the releases link is giving a 404 when using the link on "https://github.com/timescale/tobs" page, so replace it with full link
Second part of the diff is caused by doing a 'github' edit I guess, I don't see the diff on that line...

 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.

Thanks for your contribution! @heyleke :)

authors: CLAassistant VineethReddy02 heyleke

repo: timescale/tobs


text:
Support for 2 palette options

One for backlit screen and another for no-backlit screens, make this seamlessly other than one user facing setting in the setting state (assuming we can't auto detect the screen type)

Or rather each palette resource is actually multiple palettes a standard and alternative (non-backlit and backlit)

repo: timleader/gba-demo


text:
Add more Socket type attributes and enforce tuple for inet

While using the socket interface for other projects, I'm noticing that it would be super useful if we could just have the initialization step auto cast inet sockets into tuples, else; return strings (i.e in the case of AF_UNIX sockets).
To achieve this, I'm also adding 2 class level attributes, inet and unix to do protocol checking on initialization of use.Socket.

LGTM

authors: kirklg timothycrosley

repo: timothycrosley/hug


text:
update license

Getting ready for open-sourcing to github.com/ing-bank, so changing the license:
MIT license
Copyright
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

closed in https://github.com/timvink/doing-cli/commit/9580e5ab3abc3ead97c744bf68ff6bee0cc7194f

repo: timvink/doing-cli


text:
Clicking on an embed (template) should take me directly to the embed editor

When I add an embed (which is called template internally), I expect to be able to click on it in the preview pane and be directed to its editor, the same way I can with other object types.
Here's what I currently experience:

Here's what I want to experience:

I tried adding  data-tina-field=tinaField(...) to my template code. It adds the hover, but it doesn't direct me to the proper editor when I click on it.
Here is the component definition. This will get it as far as adding the blue dotted outline when I hover. But nothing happens.
BlockQuote: (props: {
    children: TinaMarkdownContent;
    authorName: string;
  }) => {
    return (

          <TinaMarkdown content={props.children} />
          {props.authorName}

    );
  },

Reproduction
N/A
Steps to reproduce
No response
System Info
System:
    OS: macOS 15.1
    CPU: (12) arm64 Apple M2 Pro
    Memory: 160.00 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 23.3.0 - /opt/homebrew/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 10.9.1 - /opt/homebrew/bin/npm
  Browsers:
    Brave Browser: 131.1.73.89
    Safari: 18.1
  npmPackages:
    @tinacms/cli: ^1.6.12 => 1.6.12
    tinacms: 2.5.0 => 2.5.0

Validations

[x] Follow our Code of Conduct
[x] Read the docs.
[x] Check that there isn't already an issue that reports the same bug.

I spent some time digging around the code base to try to figure out where this logic might be adjusted.
If someone could point me to the relevant file(s), I'd be happy to start a pull request.

repo: tinacms/tinacms


text:
如何列出所有作者

非常感谢作者提供的模板，这里有个小疑问
最新的撰写规范要求在成果中列出所有作者，但是目前第三名以后的作者都会被省略掉

如何才能在成果中列出所有作者呢？ 我尝试修改bst文件，但是看不太懂应该修改哪里

请先看完maintex中的例子。

authors: Chen-Suyi tinoryj

repo: tinoryj/UESTC-Thesis-Latex-Template


text:
feat(bench): runSequentially

Resolves #17
For #MahsaAmini #مهسا_امینی

#no_to_sedition
#نه_به_اغتشاش
#مرگ_بر_آشوبگر

repo: tinylibs/tinybench


text:
AttributeError: module 'algosdk.v2client.algod' has no attribute 'asset_info'

I'm using the code from #36 but I am getting an error that is preventing any functional return.
from tinyman.v1.client import TinymanMainnetClient
from algosdk.v2client import algod
client = TinymanMainnetClient(algod_client=algod)

asset1 = client.fetch_asset(31566704)
asset2 = client.fetch_asset(386192725)
amount = 100
asset_in = asset1

pool = client.fetch_pool(asset1, asset2)
quote = pool.fetch_fixed_input_swap_quote(asset_in(amount * 10 ** asset_in.decimals), slippage=0.05)

Error
Traceback (most recent call last):
  File "/Users/Desktop/Projects/quote.py", line 5, in <module>
    asset1 = client.fetch_asset(92772865)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/tinyman/v1/client.py", line 25, in fetch_asset
    asset.fetch(self.algod)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/tinyman/assets.py", line 19, in fetch
    params = algod.asset_info(self.id)['params']
AttributeError: module 'algosdk.v2client.algod' has no attribute 'asset_info'

I searched in client.py and assets.py but I have not found a way to change the params variable such that asset_info is recognized. I'm not sure how or why this error would occur because it is resulting in a de facto deprecation of the Python-SDK. Any advice or suggestions would be appreciated. Thanks!

Solution
algod = AlgodClient('', 'https://node.algoexplorerapi.io', headers={'User-Agent': 'algosdk'})
client = TinymanMainnetClient(algod_client=algod)

repo: tinymanorg/tinyman-py-sdk


text:
Game renamed to EscaperoomGame

Game renamed to EscaperoomGame.

We need to also update this class in tipoff/support

authors: drewroberts wolfrednicolas

repo: tipoff/scheduler


text:
docker-compose up gets stuck at [scheduling] [1] Starting cron

I want to deploy osticker over intranet. My config file is modified as follows -
Changing the main URL
- traefik.frontend.rule=Host:172.16.34.64
- traefik.port=911
Disabled the reference to broken mariadb image
Apart from this I've not made any other changes. The process hangs at the below command
osticket-app    | [services.d] starting services
osticket-app    | [services.d] done.
osticket-app    | 2022-08-29-10:52:28 [STARTING] ** [nginx] [1] Starting nginx 1.21.5
osticket-app    | 2022-08-29-10:52:28 [STARTING] ** [monitoring] [1] Starting Zabbix Agent (classic) 5.4.9
osticket-app    | 2022-08-29-10:52:28 [STARTING] ** [php-fpm] [1] Starting php-fpm 7.4.27
osticket-app    | 2022-08-29-10:52:28 [STARTING] ** [scheduling] [1] Starting cron

Leaving it for hours yields no change. Am I missing something?

Hello, same here.
2022-11-23-10:20:57 [NOTICE] ** [osticket] Applying configuration file security
[cont-init.d] 30-osticket: exited 0.
[cont-init.d] 99-container: executing...
[cont-init.d] 99-container: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
2022-11-23-10:21:11 [STARTING] ** [nginx] [1] Starting nginx 1.21.5
2022-11-23-10:21:11 [STARTING] ** [monitoring] [1] Starting Zabbix Agent (classic) 5.4.9
2022-11-23-10:21:11 [STARTING] ** [php-fpm] [1] Starting php-fpm 7.4.27
2022-11-23-10:21:11 [STARTING] ** [scheduling] [1] Starting cron

I realized it's not stuck, it's juste the end of the setup (the container is ready)
My problem was a bad "ports" config in my docker-compose, now it work.
Here is the "app" config I use :
  osticket-app:
    image: tiredofit/osticket
    container_name: osticket-app
    volumes:
      - ./data/:/www/osticket
      - ./logs/:/www/logs
    ports:
      - 8080:80
    environment:
      - CONTAINER_NAME=osticket-app
      - CRON_PERIOD=10
      - CONTAINER_ENABLE_MONITORING=FALSE

      - DB_HOST=osticket-db
      - DB_NAME=osticket
      - DB_USER=osticket
      - DB_PASS=password

      - SMTP_HOST=localhost
      - SMTP_PORT=25
      - SMTP_FROM=osticket@example.com
      - SMTP_TLS=0
      - SMTP_USER=osticket@example.com
      - SMTP_PASS=password

      - INSTALL_SECRET=somerandomlargecharacterstring
      - INSTALL_EMAIL=osticket@example.com
      - INSTALL_NAME=OSTicket Helpdesk

      - ADMIN_FIRSTNAME=Admin
      - ADMIN_LASTNAME=User
      - ADMIN_EMAIL=admin@example.com
      - ADMIN_USER=ostadmin
      - ADMIN_PASS=Password123
    restart: unless-stopped

The example docker-compose.yml doesn't have "ports:" because it assume that you use Traefik.
To test locally without Traefik,  I removed the "labels:" section of the docker-compose.yml and added "ports:" section (see my example)
But the first time I used
    ports:
      - 8080:8080

instead of the right one :
    ports:
      - 8080:80

ports:
      - 8080:80
So, the first port belongs to the external port, while the second port is inside the docker? If I want to use, say, poet 7777 to access the running docker instance, should the entry be as below?
ports:
  - 7777:80

Exactly,
you should be able to access osticket on localhost:7777 with this setup.

Exactly,
you should be able to access osticket on localhost:7777 with this setup.

THANKS!! It now works! Will try to set it up with user accounts and see how it goes!

repo: tiredofit/docker-osticket


text:
Filed to generate and download song

I am sure the problem is on my end. I am not that technical and i am sure it is the vercel variable.

What is my base url?

For me it was the link next to the world icon.  So for you the ctrical-fumble.com.  But I see you have  +2 next to that, so maybe there is another link there for you to use.

authors: MythicalRollers TheMorningStarLucifer


text:
🛑 Virtuelles Bauamt Hannover is down

In 0a0ec36, Virtuelles Bauamt Hannover (https://ebgv.hannover-stadt.de/intelliform/sign-in?form=true) was down:

HTTP code: 502
Response time: 1598 ms

Resolved: Virtuelles Bauamt Hannover is back up in 3a6f3ef after 12 minutes.

Resolved: Virtuelles Bauamt Hannover is back up in b169458 after 12 minutes.


text:
OCaml 5 support

Hi!
In the same vein as https://github.com/zshipko/ocaml-rs/issues/125 I'd love to know if there are any plans to add support for OCaml 5, and if you have some roadblocks that you anticipate. I'm guessing bumping the version of boxroot and perhaps implementing something along the lines of https://github.com/tizoc/ocaml-interop/issues/42 to support the rules around the multicore runtime may be necessary, and I'd love to hear your thoughts on this (and would also be eager to work on any blockers if you're open to accepting PRs related to this)!

Hi @mt-caret. There are plans for supporting OCaml 5 yes. A new release of boxroot is required that will fix a bug that is causing issues with OCaml 4.x, then some API changes are required in ocaml-interop (related to #42), which I already implemented a while ago, but just require some refining.

I tried cloning this repo and updating the boxroot dependency to 0.3.0 and I got the following compilation error:
error[E0308]: mismatched types
  --> /home/patrick/code/ocaml/rust/ocaml-interop/src/boxroot.rs:29:31
   |
29 |             boxroot: unsafe { boxroot_create(val.raw) },
   |                               ^^^^^^^^^^^^^^^^^^^^^^^ expected `BoxRoot`, found `Option<BoxRoot>`
   |
   = note: expected struct `ocaml_boxroot_sys::BoxRoot`
                found enum `Option<ocaml_boxroot_sys::BoxRoot>`
help: consider using `Option::expect` to unwrap the `Option<ocaml_boxroot_sys::BoxRoot>` value, panicking if the value is an `Option::None`
   |
29 |             boxroot: unsafe { boxroot_create(val.raw).expect("REASON") },
   |                                                      +++++++++++++++++

So there is a little work to be done to make this compatible with the newer release of boxroot.

Hey. It seems there have been updates on ocaml-boxroot, now mentioning OCaml 5 in the README: https://gitlab.com/ocaml-rust/ocaml-boxroot.
Is there anything we could help with?

authors: dannywillems mt-caret patrick-nicodemus tizoc

repo: tizoc/ocaml-interop


text:
Support custom migrations base paths

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug?
The logic to determine the migrations path from the import path is flawed somehow, and doesn't account for projects with a non-standard django directory structure.
https://github.com/tj-django/django-migration-fixer/blob/main/migration_fixer/management/commands/makemigrations.py#L172-L178
To Reproduce
Set up a project structure where migrations doesn't live appname/migrations away from BASE_DIR.
What OS are you seeing the problem on?
linux
Expected behavior?
The migrations directory should be loaded the same way django loads it, so it can never mismatch. If there's no better way, perhaps it should load the migrations module and inspect its modulepath.
Relevant log output
Traceback (most recent call last):
  File "manage.py", line 15, in <module>
    execute_from_command_line(sys.argv)
  File "/app/.venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
    utility.execute()
  File "/app/.venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 413, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/app/.venv/lib/python3.8/site-packages/django/core/management/base.py", line 354, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/app/.venv/lib/python3.8/site-packages/django/core/management/base.py", line 398, in execute
    output = self.handle(*args, **options)
  File "/app/.venv/lib/python3.8/site-packages/migration_fixer/utils.py", line 114, in wrapped
    res = handle_func(*args, **kwargs)
  File "/app/.venv/lib/python3.8/site-packages/migration_fixer/management/commands/makemigrations.py", line 247, in handle
    fix_numbered_migration(
  File "/app/.venv/lib/python3.8/site-packages/migration_fixer/utils.py", line 94, in fix_numbered_migration
    _update_migration(conflict_path, app_label, prev_migration)
  File "/app/.venv/lib/python3.8/site-packages/migration_fixer/utils.py", line 26, in _update_migration
    match = replace_regex.search(conflict_path.read_text())
  File "/usr/local/lib/python3.8/pathlib.py", line 1235, in read_text
    with self.open(mode='r', encoding=encoding, errors=errors) as f:
  File "/usr/local/lib/python3.8/pathlib.py", line 1221, in open
    return io.open(self, mode, buffering, encoding, errors, newline,
  File "/usr/local/lib/python3.8/pathlib.py", line 1077, in _opener
    return self._accessor.open(self, flags, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/app/core/migrations/0020_test.py'

The path is `/app/projectname/core` not `/app/core` 👆

Anything else?
Alternatively to fixing the detection, the ability to be able to supply a path instead of BASE_DIR would work, the project I'm working on already has another constant that is the correct path to use in this case. The task runs successfully when I copy it into the project and fix the 2 issues I've created 🤘🏼
Code of Conduct

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

@stevelacey This should be resolved in the latest release

@jackton1 thank you! 🙌🏼

repo: tj-django/django-migration-fixer


text:
🛑 id.tjo.space is down

In 0d5cbfa, id.tjo.space (https://id.tjo.space) was down:

HTTP code: 404
Response time: 434 ms

Resolved: id.tjo.space is back up in d6677d5.

repo: tjo-space/status


text:
🛑 cloud.tjo.space is down

In 8209378, cloud.tjo.space (https://cloud.tjo.space) was down:

HTTP code: 0
Response time: 0 ms

Resolved: cloud.tjo.space is back up in d537b3e.


text:
🛑 id.tjo.space is down

In 98f507b, id.tjo.space (https://id.tjo.space) was down:

HTTP code: 0
Response time: 0 ms

Resolved: id.tjo.space is back up in 7dfe468.


text:
🛑 SITE_CF is down

In fb28e42, SITE_CF ($SITE_CF) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SITE_CF is back up in 98785cd after 2 hours, 10 minutes.

repo: tjsky/upptime


text:
刷新活动图DV-3无法正确跳转至关卡

雷电模拟器，分辨率1080p

720p可以不，不行用syc

同雷电模拟器，也出现了这种情况

现在呢

刚调了，不行再open

我刷dv7一点启动就直接结束了

版本多少 @Niubility748

标题更新时间6.21，现在是7月了，开头有提示脚本校验失败。

晚上版本使用已正常

蓝叠模拟器，dv-7一启动就结束

@Dylan001130 录屏反馈

@Dylan001130 录屏反馈

https://user-images.githubusercontent.com/80117781/177791072-0cb6798a-0dc1-4cf1-9a28-7e081ea8b7eb.mp4
蓝叠模拟器，2560*1440分辨率，活动关轮次作战一启动就提示结束，上一次活动没问题。github下载的最新版本。

@Dylan001130 版本不对，时间还是上个月。把数据清空试试。
可以了，十分感谢！

repo: tkkcc/ArkLights


text:
Whitening for real input

Summary
Implement whitening for real input.
Input shape is (n_channels, n_samples).
This implementation may help us to use time-domain ICA.
close #65

Codecov Report

Merging #66 (bce7cb9) into develop (7ed0b43) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop      #66      +/-   ##
===========================================
+ Coverage    90.88%   90.95%   +0.06%
===========================================
  Files           18       18
  Lines         1536     1547      +11
===========================================
+ Hits          1396     1407      +11
  Misses         140      140

Impacted Files
Coverage Δ

ssspy/transform/whiten.py
96.15% <100.00%> (+2.82%)
:arrow_up:

Continue to review full report at Codecov.

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


text:
Add LU decomposition level 0

add lu decomposition and tests
related to #129

Thank you Weslley.
Best,
Ali
On Thu, Sep 29, 2022 at 5:44 PM Weslley S. Pereira @.***>
wrote:

@.**** commented on this pull request.
In test/src/test_getrf.cpp
https://github.com/tlapack/tlapack/pull/135#discussion_r984100415:

@@ -0,0 +1,97 @@
+/// @file test_getrf.cpp
+/// @brief Test the LU factorization of a matrix A
+//
+// Copyright (c) 2022, University of Colorado Denver. All rights reserved.
+//
+// This file is part of LAPACK.
+// LAPACK is free software: you can redistribute it and/or modify it under
+// the terms of the BSD 3-Clause license. See the accompanying LICENSE file.

+#include <catch2/catch_template_test_macros.hpp>
+#include <catch2/generators/catch_generators.hpp>
+#include <tlapack/plugins/stdvector.hpp>
+#include <tlapack/plugins/legacyArray.hpp>
+#include <tlapack/lapack/getrf.hpp>
I implemented the fix
—
Reply to this email directly, view it on GitHub
https://github.com/tlapack/tlapack/pull/135#discussion_r984100415, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AKI2R5AX2QCTVJNAOJQ4GGDWAYSWRANCNFSM6AAAAAAQZBKBH4
.
You are receiving this because you authored the thread.Message ID:
@.***>

repo: tlapack/tlapack


text:
[Op] Implement several high-priority tensor ops: dense, conv2d, max_pool2d, relu, softmax, flatten

co-authored by: @jinhongyii
This PR implements several high-priority relax operators: dense, conv2d, max_pool2d, relu, softmax, flatten.
To support these new operators, LowerWithRelayOpStrategy pass has been extended to consider attribute.
Caveat: this PR only tests a very simple case. We would like to conduct more exhaustive testing before the official usage.
cc. @YuchenJin @slyubomirsky

For testing, there is an easy route available for gathering more test cases: You can port over some of the Relay tests for these ops, of which there are quite a few.

For testing, there is an easy route available for gathering more test cases: You can port over some of the Relay tests for these ops, of which there are quite a few.

It seems like Relay does not have comprehensive op testing neither? Seems pretty much similar with what this PR has.
https://github.com/tlc-pack/relax/blob/relax/tests/python/relay/test_op_level1.py
Are there more testing you are aware of?

it seems like Relay does not have comprehensive op testing neither? Seems pretty much similar with what this PR has.

It's not perfect, but it's a start haha. Not every op has very comprehensive testing. The way to get "truly" comprehensive testing is fuzzing with a reference implementation, but that is a bit of trouble to implement...

closing as we move to more latest updates in #332

authors: slyubomirsky sunggg tqchen

repo: tlc-pack/relax


text:
Open menu jumps up when page is scrolled down in Chrome

This happens on Ubuntu 16.04 and OSX El Capitan (Chrome Version 53.0.2785.116 (64-bit))
Steps to reproduce:

open https://tleunen.github.io/react-mdl/components/menu/
scroll down
open menu
menu is opened and page jumps (scrolls) up
close menu and page jumps back

Can anyone please confirm this? Note that this does not happen on vanila MDL https://getmdl.io/components/index.html#menus-section so I assume that this is a bug in React MDL.

This happens when the menu is inside Layout > Content.

MDL issue https://github.com/google/material-design-lite/issues/4640

Weird, I cannot reproduce it with the same version of Chrome, but on macOS Sierra.

Reproduced on Chrome 53.0.2785.116 (64-bit), Ubuntu 14.04

I have seen this issue on Chrome 53 / Linux. It appears to be a rendering glitch and not any actual scrolling. In our case, setting transform: scale(1) on the content area that was corrupted solved the issue.

authors: DirtyHairy HriBB tleunen vegansk

repo: tleunen/react-mdl


text:
Cannot use the word "climate" as a tag

If I use "climate" as tag in a page like this
@def tags = ["climate"]
@def pubdate = "2021-07-02"

# The Citizen's Guide to Climate Success by Mark Jaccard

I will get error --
  Activating environment at `~/code/julia/franklin-website/ThrowAwayAllThings/Project.toml`
→ Initial full pass...
ERROR: MethodError: no method matching isless(::Dates.Date, ::String)
Closest candidates are:
  isless(::T, !Matched::T) where T<:Dates.TimeType at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Dates/src/types.jl:434
  isless(::Dates.TimeType, !Matched::Dates.TimeType) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Dates/src/types.jl:435
  isless(!Matched::AbstractString, ::AbstractString) at strings/basic.jl:344
  ...
Stacktrace:
  [1] lt(o::Base.Order.ForwardOrdering, a::Dates.Date, b::String)
    @ Base.Order ./ordering.jl:109
  [2] lt(o::Base.Order.ReverseOrdering{Base.Order.ForwardOrdering}, a::String, b::Dates.Date)
    @ Base.Order ./ordering.jl:110
  [3] lt(o::Base.Order.By{Franklin.var"#sorter#177", Base.Order.ReverseOrdering{Base.Order.ForwardOrdering}}, a::String, b::String)
    @ Base.Order ./ordering.jl:111
  [4] sort!(v::Vector{String}, lo::Int64, hi::Int64, #unused#::Base.Sort.InsertionSortAlg, o::Base.Order.By{Franklin.var"#sorter#177", Base.Order.ReverseOrdering{Base.Order.ForwardOrdering}})
    @ Base.Sort ./sort.jl:502
  [5] sort!(v::Vector{String}, lo::Int64, hi::Int64, a::Base.Sort.MergeSortAlg, o::Base.Order.By{Franklin.var"#sorter#177", Base.Order.ReverseOrdering{Base.Order.ForwardOrdering}}, t::Vector{String})
    @ Base.Sort ./sort.jl:587
  [6] sort!
    @ ./sort.jl:586 [inlined]
  [7] sort!
    @ ./sort.jl:657 [inlined]
  [8] #sort!#8
    @ ./sort.jl:717 [inlined]
  [9] hfun_taglist()
    @ Franklin ~/.julia/packages/Franklin/KRJqu/src/converter/html/functions.jl:223
 [10] top-level scope
    @ none:1
 [11] eval
    @ ./boot.jl:360 [inlined]
 [12] eval
    @ ~/.julia/packages/Franklin/KRJqu/src/Franklin.jl:1 [inlined]
 [13] convert_html_fblock(β::Franklin.HFun)
    @ Franklin ~/.julia/packages/Franklin/KRJqu/src/converter/html/functions.jl:18
 [14] process_html_qblocks(hs::String, qblocks::Vector{Franklin.AbstractBlock}, head::Int64, tail::Int64)
    @ Franklin ~/.julia/packages/Franklin/KRJqu/src/converter/html/html.jl:122
 [15] process_html_qblocks(hs::String, qblocks::Vector{Franklin.AbstractBlock})
    @ Franklin ~/.julia/packages/Franklin/KRJqu/src/converter/html/html.jl:102
 [16] convert_html(hs::String)
    @ Franklin ~/.julia/packages/Franklin/KRJqu/src/converter/html/html.jl:22
 [17] write_tag_page(tag::String)
    @ Franklin ~/.julia/packages/Franklin/KRJqu/src/converter/markdown/tags.jl:96
 [18] generate_tag_pages(refresh_tags::Set{String})
    @ Franklin ~/.julia/packages/Franklin/KRJqu/src/converter/markdown/tags.jl:47
 [19] generate_tag_pages
    @ ~/.julia/packages/Franklin/KRJqu/src/converter/markdown/tags.jl:15 [inlined]
 [20] fd_fullpass(watched_files::NamedTuple{(:other, :infra, :md, :html, :literate), NTuple{5, Dict{Pair{String, String}, Float64}}})
    @ Franklin ~/.julia/packages/Franklin/KRJqu/src/manager/franklin.jl:276
 [21] serve(; clear::Bool, verb::Bool, port::Int64, single::Bool, prerender::Bool, nomess::Bool, is_final_pass::Bool, no_fail_prerender::Bool, eval_all::Bool, silent::Bool, cleanup::Bool, on_write::Franklin.var"#232#235", log::Bool, host::String, show_warnings::Bool, launch::Bool)
    @ Franklin ~/.julia/packages/Franklin/KRJqu/src/manager/franklin.jl:119
 [22] serve()
    @ Franklin ~/.julia/packages/Franklin/KRJqu/src/manager/franklin.jl:67
 [23] top-level scope
    @ REPL[2]:1

Using other tags seems to be fine.

@newptcai please make sure no page has a date variable that's set to a string.
Long story short when you have a bunch of pages with the same tag, Franklin orders them by date. If no dates are given, then the date used is just the file creation time. If a date is given then it's sorted by that date but that date should be a sortable type (i.e. a Dates.Date).
This is the part of the code (note the sorter function tries to get the date page variable, it expects this to be a sortable object) https://github.com/tlienart/Franklin.jl/blob/f4451675084c080c437bd5cc9a9e9a8df6cd4b86/src/converter/html/functions.jl#L215-L223
So

check all your pages either have no date variable or if they do, that it's a date = Date(2021, 7, 2) style, specifically check any other page with a tag climate
do serve(clear=true) once to make sure there's no stray generated pages

This does not seem to be the issue. I have used string as pubdate for all my pages. It seems to work well until I used this particular tag "climate".
You can see all my website at this repository -- https://gitlab.com/newptcai/newptcai.gitlab.io

Changing pubdate from a string to a Date object does not solve the problem.

https://gitlab.com/newptcai/newptcai.gitlab.io/-/blob/master/climate.md has date = "2021-02-11"

This is the page -- https://gitlab.com/newptcai/newptcai.gitlab.io/-/blob/master/blog/citizen-climate.md
If you download my website and change @DEF tags = ["climate-change", "book"] to @DEF tags = ["climate", "book"], you will see the error.

Oh. I see what you mean. The page with date = "2021-02-11" must be changed to date = Dates.Date("2021-02-11").
For some reason pubdate does not seem to need to be Date. Changing date to pubdate also works.

authors: newptcai tlienart


text:
groups: add "mark as read" to all notifications

Would assuage lots of notification anxiety.
Places to put this:

in the All Groups view (all notifications for all groups)
in the Notifications view in Landscape (all notifications for all apps)

Will need design input from @urcades on where to place. Feel free to continue with implementing the function; we can figure out where to place the control.

I'm sure these recommendations won't come as a surprise, but here are the recommendations for placing a button in Landscape: (figma)

And here are the recommendations for a parallel placement in Groups: (figma)

While the notifications stream is in a state of being scrolled, we can expect the header to stay fixed "above" it:

I'm making it a point to not suggest any clever interfaces in the above suggestions — the bifurcated "All Messages" and "Mentions Only" filter should be ignored for the time being, it's solely included in the above designs as I'm dialing in some additional alignment + geometry with the sidebar.

authors: jamesacklin urcades

repo: tloncorp/landscape-apps


text:
attacker DTLS

I want to test DTLS, how should I do?

You can simply set -transport_handler_type UDP and -version DTLS and you are ready to go. If you want to do it in code you have to set the respective config fields

repo: tls-attacker/TLS-Attacker


text:
chore(main): release 0.2.2

:robot: I have created a release beep boop
0.2.2 (2024-08-20)
Bug Fixes

Skip empty ingredient lines '-' with nothing else (#131) (151bea4)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

0.2.2
:sunflower:

repo: tmayoff/obsidian-meals


text:
ctk: develop showcase L2 and L2 CTK for Canvas

Description
For the DTW23 conference showcase, we will use the Phase 1 CTK work by @tomkivlin as the Level 1 canvas ctk (testing base software and versions) and the BDD tests as the L2 canvas ctk. This matches the Component ctk structure.
This issue is to re-work the Phase 1 scripts as L1 and create a wrapper for the BDD scripts as L2. Also, add user experience enhancements to make a compelling demo for the showcase.

This was completed as part of PR #109
The L2 CTK for the Canvas is at https://github.com/tmforum-oda/oda-canvas/tree/master/compliance-test-kit and a video demonstration for showcase is at https://www.youtube.com/watch?v=UofZbT26ITg&t=2s

repo: tmforum-oda/oda-canvas


text:
🛑 Homepage is down

In 60377cd, Homepage (https://hcmus.edu.vn/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Homepage is back up in 39db16a.

repo: tmkhiem/hcmus-web-uptime


text:
Remove urlview buffer after dumping to disk

The tmux buffer created by capture-pane lingers on after it has been
dumped to the disk for urlview.
It should be removed to prevent polluting the user's list of buffers.

You're absolutely right. Thanks!

authors: jbnicolai laomaiweng

repo: tmux-plugins/tmux-urlview


text:
Double dash in command prevents subsequent commands from running

Consider this YAML config file snippet:
windows:
  - server:
    - lxc exec myContainer -- systemctl restart rethinkdb@default
    - lxc exec myContainer -- gunicorn --log-level debug --reload -b 0.0.0.0:8000 --chdir /root/source wsgi:app

The behavior is not quite what I expected to see. In the server window the output looks like this:
$ lxc exec bitnanny -- systemctl restart rethinkdb@default
lxc exec bitnanny -- gunicorn --log-level debug --reload -b 0.0.0.0:8000 --chdir /root/source wsgi:app
$

Executing the commands by hand works fine.
I'm pretty sure the double dash is the culprit, but I draw a blank on how to proceed.
OS: Arch Linux
gem version: 2.5.1
tmuxinator version: 0.9.0
ruby version: 2.3.1p112

I no longer believe the dashes are the problem. It's lxc which does something to stdin: https://github.com/lxc/lxd/issues/2200.

repo: tmuxinator/tmuxinator


text:
Check for null user

Something that should never happen but happens nonetheless...

:+1:

authors: Revenaunt bradmontgomery

repo: tndatacommons/android-app


text:
add NaN check to Util.assertNumber

Sadly, typeof NaN === 'number', so if you pass NaN to any constructors in this module the behavior can go very badly wrong without any errors being thrown.

Thanks @reysquared. I'll merge it!

authors: reysquared tnrich


text:
Latest .zip (commit 2256522) won't compile.

Hi.
Just downloaded the latest .zip (commit 2256522 ) and now I can't get McLighting to compile. I'm getting multiple error messages (below), all reporting 'class Ticker' has no member named 'active'.
I've tried with NodeMCU and Wemos D1 Mini.
Please advise.
Kevin
Error log follows --->
Arduino: 1.8.5 (Mac OS X), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 4M (1M SPIFFS), v2 Prebuilt (MSS=536), Disabled, None, 115200"
Build options changed, rebuilding all
In file included from /Users/kev/Documents/Arduino/McLighting/Arduino/McLighting/McLighting.ino:206:0:
sketch/request_handlers.h: In function 'void webSocketEvent(uint8_t, WStype_t, uint8_t*, size_t)':
request_handlers.h:404: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
request_handlers.h:419: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
request_handlers.h:444: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
request_handlers.h:463: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
request_handlers.h:522: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
request_handlers.h:578: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
sketch/request_handlers.h: In function 'void mqtt_callback(char*, byte*, unsigned int)':
request_handlers.h:807: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
request_handlers.h:831: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
request_handlers.h:845: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
request_handlers.h:869: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
request_handlers.h:888: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
request_handlers.h:942: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
request_handlers.h:993: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
/Users/kev/Documents/Arduino/McLighting/Arduino/McLighting/McLighting.ino: In lambda function:
McLighting:540: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
/Users/kev/Documents/Arduino/McLighting/Arduino/McLighting/McLighting.ino: In lambda function:
McLighting:567: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
/Users/kev/Documents/Arduino/McLighting/Arduino/McLighting/McLighting.ino: In lambda function:
McLighting:785: error: 'class Ticker' has no member named 'active'
if(!ha_send_data.active())  ha_send_data.once(5, tickerSendState);
^
Multiple libraries were found for "ESP8266WebServer.h"
Used: /Users/kev/Library/Arduino15/packages/esp8266/hardware/esp8266/2.4.0/libraries/ESP8266WebServer
Not used: /Users/kev/Documents/Arduino/libraries/WebServer_tng
exit status 1
'class Ticker' has no member named 'active'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
<--- Error log ends

Ok, I jumped the gun a bit - sorry!
I deactivated Home Assistant and now can successfully compile. Maybe Home Assistant should not be defined by default to avoid fools like myself having problems :)
Again, sorry about that (and as always great project, you guys do amazing work). Thanks.

Hi @ke5,
which version of the ESP core are you using (boards manager in the Arduino IDE)? Latest version needs the 2.4.1 core. I have to add that in the documentation. The error message could be related to that.
Regards
Tobias

Updating ESP core from 2.4.0 to 2.4.1 fixed it for me :+1:

I was on ESP Core 2.4.0, updated to 2.4.1 but it still fails to compile if I have ENABLE_STATE_SAVE_SPIFFS and works with ENABLE_STATE_SAVE_EEPROM. However, the error message is different, 'DynamicJsonBuffer' was not declared in this scope, log below.
Begin error log --->
Arduino: 1.8.5 (Mac OS X), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
In file included from /Users/kev/Documents/Arduino/McLighting/Arduino/McLighting/McLighting.ino:206:0:
sketch/request_handlers.h: In function 'bool writeConfigFS(bool)':
request_handlers.h:1222: error: 'DynamicJsonBuffer' was not declared in this scope
DynamicJsonBuffer jsonBuffer(JSON_OBJECT_SIZE(4));
^
request_handlers.h:1222: error: expected ';' before 'jsonBuffer'
DynamicJsonBuffer jsonBuffer(JSON_OBJECT_SIZE(4));
^
request_handlers.h:1224: error: 'JsonObject' was not declared in this scope
JsonObject& json = jsonBuffer.createObject();
^
request_handlers.h:1224: error: 'json' was not declared in this scope
JsonObject& json = jsonBuffer.createObject();
^
request_handlers.h:1224: error: 'jsonBuffer' was not declared in this scope
JsonObject& json = jsonBuffer.createObject();
^
request_handlers.h:1225: error: 'mqtt_host' was not declared in this scope
json["mqtt_host"] = mqtt_host;
^
request_handlers.h:1226: error: 'mqtt_port' was not declared in this scope
json["mqtt_port"] = mqtt_port;
^
request_handlers.h:1227: error: 'mqtt_user' was not declared in this scope
json["mqtt_user"] = mqtt_user;
^
request_handlers.h:1228: error: 'mqtt_pass' was not declared in this scope
json["mqtt_pass"] = mqtt_pass;
^
sketch/request_handlers.h: In function 'bool readConfigFS()':
request_handlers.h:1259: error: 'DynamicJsonBuffer' was not declared in this scope
DynamicJsonBuffer jsonBuffer(JSON_OBJECT_SIZE(4)+300);
^
request_handlers.h:1259: error: expected ';' before 'jsonBuffer'
DynamicJsonBuffer jsonBuffer(JSON_OBJECT_SIZE(4)+300);
^
request_handlers.h:1261: error: 'JsonObject' was not declared in this scope
JsonObject& json = jsonBuffer.parseObject(buf.get());
^
request_handlers.h:1261: error: 'json' was not declared in this scope
JsonObject& json = jsonBuffer.parseObject(buf.get());
^
request_handlers.h:1261: error: 'jsonBuffer' was not declared in this scope
JsonObject& json = jsonBuffer.parseObject(buf.get());
^
request_handlers.h:1266: error: 'mqtt_host' was not declared in this scope
strcpy(mqtt_host, json["mqtt_host"]);
^
request_handlers.h:1267: error: 'mqtt_port' was not declared in this scope
strcpy(mqtt_port, json["mqtt_port"]);
^
request_handlers.h:1268: error: 'mqtt_user' was not declared in this scope
strcpy(mqtt_user, json["mqtt_user"]);
^
request_handlers.h:1269: error: 'mqtt_pass' was not declared in this scope
strcpy(mqtt_pass, json["mqtt_pass"]);
^
sketch/request_handlers.h: In function 'bool writeStateFS()':
request_handlers.h:1290: error: 'DynamicJsonBuffer' was not declared in this scope
DynamicJsonBuffer jsonBuffer(JSON_OBJECT_SIZE(7));
^
request_handlers.h:1290: error: expected ';' before 'jsonBuffer'
DynamicJsonBuffer jsonBuffer(JSON_OBJECT_SIZE(7));
^
request_handlers.h:1292: error: 'JsonObject' was not declared in this scope
JsonObject& json = jsonBuffer.createObject();
^
request_handlers.h:1292: error: 'json' was not declared in this scope
JsonObject& json = jsonBuffer.createObject();
^
request_handlers.h:1292: error: 'jsonBuffer' was not declared in this scope
JsonObject& json = jsonBuffer.createObject();
^
sketch/request_handlers.h: In function 'bool readStateFS()':
request_handlers.h:1333: error: 'DynamicJsonBuffer' was not declared in this scope
DynamicJsonBuffer jsonBuffer(JSON_OBJECT_SIZE(7)+200);
^
request_handlers.h:1333: error: expected ';' before 'jsonBuffer'
DynamicJsonBuffer jsonBuffer(JSON_OBJECT_SIZE(7)+200);
^
request_handlers.h:1335: error: 'JsonObject' was not declared in this scope
JsonObject& json = jsonBuffer.parseObject(buf.get());
^
request_handlers.h:1335: error: 'json' was not declared in this scope
JsonObject& json = jsonBuffer.parseObject(buf.get());
^
request_handlers.h:1335: error: 'jsonBuffer' was not declared in this scope
JsonObject& json = jsonBuffer.parseObject(buf.get());
^
Multiple libraries were found for "ESP8266WebServer.h"
Used: /Users/kev/Library/Arduino15/packages/esp8266/hardware/esp8266/2.4.1/libraries/ESP8266WebServer
Not used: /Users/kev/Documents/Arduino/libraries/WebServer_tng
exit status 1
'DynamicJsonBuffer' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
<--- Error log ends

Apart from the problem described above I should add that using NeoAnimationFX instead of WS2812FX appears to be much more stable. I was experiencing random reboots and wifi hangups with the WS2812FX library using 512 WS2812B leds. It's been running perfectly for the past 4-5 hours so thank you and @debsahu for that.

@ke5 Regarding the compile errors when ENABLE_STATE_SAVE_SPIFFS is enabled, install latest Arduino Json

Ah! If I enable #define ENABLE_HOMEASSISTANT it compiles ok. I think the problem is that the ArduinoJson library is only loaded if HA is enabled at lines 30-32 of McLighting.ino. Is ENABLE_STATE_SAVE_SPIFFS only needed if HA is enabled? At the moment I don't need HA, MQTT or Button so my thinking is disable them to make the program smaller.

The Node-Red flow example no longer works properly anymore too - it works once then you have to refresh the page every time so of course you can't access modes, just the colour wheel.
Should I create a new issue about this? Could it be related to the above issue?
(It's not a big problem for me, I'm just playing with it at the moment but it is such a nice feature!)

Ahh I see, so many permutation and combination of options! I can fix the inclusion of library, create a PR. Regarding node red, start a new issue and tag @toblum as I don't use it.

Indeed, so many things to play with! Thanks for your help @debsahu
I'll attempt to solve the Node-Red thing before hassling toblum as I'd like to try to contribute in some small way if I can.

authors: debsahu ke5 toblum yanbec

repo: toblum/McLighting


text:
Add relationship links

Looking over the specification your meant to be able to add relationships with links, as shown below in relationships, is there a way to do this with this library that I'm missing? Thanks.
"data": [{
"type": "articles",
"id": "1",
"attributes": {
"title": "JSON API paints my bikeshed!"
},
"relationships": {
"author": {
"links": {
"self": "http://example.com/articles/1/relationships/author",
"related": "http://example.com/articles/1/author"
},
"data": { "type": "people", "id": "9" }
},
"comments": {
"links": {
"self": "http://example.com/articles/1/relationships/comments",
"related": "http://example.com/articles/1/comments"
},
"data": [
{ "type": "comments", "id": "5" },
{ "type": "comments", "id": "12" }
]
}
},
"links": {
"self": "http://example.com/articles/1"
}
}],

Looks like this is related to #84 sorry for the noise.

repo: tobscure/json-api


text:
Corrections in the README

A few corrections in README as well as a small additional step to help install the Python extension on VScode if Python is not there.

Thanks.

authors: atapour tobybreckon

repo: tobybreckon/chroma-keying


text:
Why not give user ability to ask the type openly?

Now you can actually ask axis what IS the item :) instead of just comparing.
No reason to hide a method that already exists there anyways.

Hi @agrublev, i created a similar typescript version that adds some methods. Specifically getType, which returns the type as a string. https://schuchard.github.io/taap/globals.html#gettype

authors: agrublev schuchard

repo: toddmotto/axis


text:
[CFP]: How to automate your FOSS policy and processes

Session Title
How to automate your FOSS policy and processes
Session Description
If you look at the OSPO mind map you will see an OSPO may have a lots of responsibilities such as "establish and improve Open Source processes", "oversee Open Source compliance", "eliminate friction from using and contributing to Open Source". Yet a lot of OSPOs only have a few people working on these responsibilities especially those who just started their OSPO. How do scale your OSPO with a small team?
Automation is the answer, but that raises the question which tools to use for which use cases.  In this session Thomas will show how several OSPOs have been working together to create open source tooling to automate their FOSS policies and processes. He will demonstrates a reference processes for how one can automate 'oversee Open Source Compliance' and 'Publishing a new open source project' from start to finish and some of lessons he learned on automation over the years.
Benefits to the Ecosystem
You will learn:

How you can automate your FOSS policy and processes by re-using the tooling, data and policy rules created by collaboration between several OSPOs under the Linux Foundation.
How you can make your policy and process simpler thereby making the life easier of your organization's developers whilst keeping your legal counsel happy and can contribute to improve licensing/security in the FOSS community.
What should be in your FOSS policy document and what not

Help us narrow down the focus a bit more. Please choose the OSPO related topic that best describes your proposal.
Adoption and Discovery, Compliance, Legal Developer Education, and Inventory, Evangelizing OSS Use and Ecosystem Participation
What level of experience should the audience have to best understand your presentation?
OSPO 101 (Beginner)
Speaker Name
Thomas Steenbergen
Speaker Bio
Thomas Steenbergen is the Head of Open Source Program Office at EPAM Systems (www.epam.com). He is steering committee member and one of the co-founders/organizers of the European Chapter of the TODO group and co-founder of the OpenChain Reference Tooling Work Group - both industry working groups where companies collaborate to address shared open source challenges. He is also an active contributor to the SPDX ISO specification for over 5 years, helping to better match what developers find in code and incorporate security (lead Security Profile).
As a core contributor to the OSS Review Toolkit, he enables highly automated open source policy checks in CI/CD by providing easy, open-source & scalable tooling and to share results in open standard (SBoM) formats. He is a frequent speaker and panellist at various global open source conferences and is always happy to start a conversation around anything open source. Thomas has held a variety of technical lead roles over the past 15 years across the Netherlands, United Kingdom and Germany.
Speaker preferred pronouns
he/him

LGTM! As we discussed, we can schedule this for the OSPOlogy November session (November 16 at 17:00 CET)

landing page created! https://community.linuxfoundation.org/events/details/lfhq-todo-group-presents-how-to-automate-your-foss-policy-and-processes/

authors: anajsana tsteenbe

repo: todogroup/ospology


text:
Cannot use custom caption and align config variables

{     "plugins": [         "youtubex",         "search",         "sectionx",         "-sharing",         "image-captions"     ],     "pluginsConfig": {       "image-captions": {        "caption": "Image Description - _CAPTION_"       }     } }
This works.
{     "plugins": [         "youtubex",         "search",         "sectionx",         "-sharing",         "image-captions"     ],     "pluginsConfig": {       "image-captions": {        "align": "left"       }     } }
This works.
But,
{     "plugins": [         "youtubex",         "search",         "sectionx",         "-sharing",         "image-captions"     ],     "pluginsConfig": {       "image-captions": {       "caption": "Image Description - _CAPTION_"        "align": "left"       }     } }
Fails. Am I missing something?

Hi,
I just added a test to verify correct handling of both caption and align attribute together and everything seems OK.
The problem is probably in the invalid JSON configuration (cannot be parsed). When I take exactly the failing config and let it validate (for example here):
Error: Parse error on line 5:
...ion - _CAPTION_"			"align": "left"		}
----------------------^
Expecting 'EOF', '}', ':', ',', ']', got 'STRING'

There is missing a comma after the "Image Description - _CAPTION_" string, which should separate both attributes.
Let me know please, if this resolves your issue.
Best regards,
Tomas

Yep, it was the comma.
Thanks.

authors: eddively todvora

repo: todvora/gitbook-plugin-image-captions


text:
テンプラVer2.3

ver.2.3のテンプラでは、セーブエディタ2を使用しての改造はできないのでしょうか？
手順通りに進んで適用後、ゲームを起動セーブデータ選択すると、データ破損等さいしょから始める的なメッセージが出ます。

ver.2.3のテンプラでは、セーブエディタ2を使用しての改造はできないのでしょうか？
手順通りに進んで適用後、ゲームを起動セーブデータ選択すると、データ破損等さいしょから始める的なメッセージが出ます。

バージョン2.3ではとくにセーブデータの構造は変化していないので，使えるはずです．
現時点での最新版(0.6.3)を使っていることを確認してください．
それでもだめなら，私にセーブデータを送っていただければ検証します．

返信ありがとうございます。
gmailへファイルを送りさせていただきました。

返信いたしました！
よろしくお願いいたします。


text:
Sync user preferences

TBD. Sync user preferences across browsers, i.e. Firefox Sync and Google Accounts, via web extension APIs.
Will probably need to handle a bunch of cases.
https://developer.chrome.com/extensions/storage#property-sync
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage/sync

Should be toggl-e-able (default to yes)

Should have a reset option

authors: shantanuraj tcrammond

repo: toggl/toggl-button


text:
landingpage to 0.0.3

Promote landingpage to version 0.0.3

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


text:
[Featture-Request] Ability to swap HashMap

hi, I think it would be great if there is a way to swap hashmap with lets say rustc_hash::FxHashMap for better performance, but I dont know how difficult it would be to impl for currnet code structure, but rustc_hash::FxHashMap should be a drop and replace for std::collections::HashMap.  would this be considered a feature going forward?
thanks

and wonderful #666 ;)

This seems like an interesting idea similar to how prost supports bytes. That said, I am not sure if it is a good idea to add this if the change is quite intrusive like the bytes one. I want to avoid the precedent of adding a bunch of stuff. That said, you can always derive stuff manually using prost and can likely use your own hashmap.

got it :)

can likely use your own hashmap.

can you please explain this :)  how would I go about using my own hashmap. thanks

I have had similar performance concerns and got this answer on SO: https://stackoverflow.com/a/76414640/3008606
Main points stated in that thread:

optimization depends on the individual HashMap field -- some may be empty, some are known in advance to have single entries, others have multiple entries. Some have hardcoded contents, others are determined dynamically.
optimization for sending data is likely different than for retrieving data.
creating a RandomState is relatively cheap, though for a large number of throwaway HashMaps may still be relevant
the same is true for computing a single hash code
memory allocation is presumably orders of magnitude worse. A different allocator might be used. Using an allocation-free HashMap alternative is not possible without introducing the same type problems as for the hashing algorithm.

Optimizing each field individually would require to introduce per-field type parameters for either the hasher or the whole HashMap, and these parameters would cascade through enclosing structs. This is not useful. Optimizing all fields with the same time could at best aim at a common-denominator solution.
The "Java way" would be to add a common Map trait for the hash maps, and use Box for all fields. This introduces other overheads for the dynamic dispatch, and possibly further memory allocation.
However, the last point also raises the question, what methods would be in that trait. What exactly is needed from maps during Protobuf de-/serialization? My point here is that hashing often isn't needed. The feature that comes closest and might be considered a requirement is duplicate key detection. For anything else, a list-of-key-value-pairs would be enough in the generated types, and true hash maps can be created by the calling code when needed. In many cases, the calling code will translate from its own types to/from the protobuf types anyway, since the protobuf types are targeted at compatibility with external programs, not what is needed inside the calling code.
A list-of-key-value-pairs would still not be able to optimize each field individually, but a common-denominator solution would be much cheaper than for HashMaps. Examples would be allocation-free for empty key/value sets, allocate for non-empty. Or even allocation-free for empty or single-entry KV sets.

authors: LambdaMan2K LucioFranco MartinGeisse

repo: tokio-rs/prost


text:
这里lazy应该翻译为延迟

这里lazy应该翻译为延迟

这个lazy翻译成懒惰是对的，你说的翻译成延迟是有问题的，概念就不一样了

延迟的意思是，一定会执行，但是会延迟一定时间执行。这个Future本身不调用的话就是一定不会执行的。

authors: readlnh zoain-it

repo: tokio-zh/tokio-zh


text:
[i18n] Localize change in staying population

👏 解決する issue / Resolved Issues

close #6258

⛏ 変更内容 / Details of Changes

「2020年1月比 ↓70 %」という語順を決め打ちにせず、英語などで自然に翻訳できるようにする

@kaizumaki ご指摘ありがとうございます。修正しました


text:
Compatibility with VulkanMod

The VulkanMod changed Minecraft render API from OpenGL to Vulkan, which provided a huge improvement in performance.
However, it required mod to make some adaptations to work with VulkanMod.
I install both CustomPlayerModels and VulkanMod, and the player model display is a totally black model and some GUI is broken.
The Minecraft version is 1.19.3, the CustomPlayerModels version is 0.6.5a, the VulkanMod version is 0.2.1, the fabric version is 0.14.13, and the fabric API version is 0.73.2.

The Vulkan mod is missing RenderSystem.enableScissor, and DynamicTexture.setPixels implementation, you have to report this to them.

Ok, I will start an issue in the Vulkan mod.


text:
Jetty HttpConfiguration is incorrectly used

In com/github/tomakehurst/wiremock/jetty9/JettyHttpServer the HttpConfiguration is improperly used.
If you have a server with 2 connectors (one on http/1.x and another on https/1.x) then the HttpConfiguration belonging to the http/1.x connector should have "secure" configuration references to the https/1.x connector (scheme and port)
The HttpConfiguration belonging to the https/1.x connector should be based on the http/1.x connector.
aka
HttpConfiguration httpsConfig = new HttpConfiguration(httpConfig);

What is the impact of not doing this? Have you observed a visible problem in the current setup?

No apparent issue here, won't fix.

authors: joakime tomakehurst

repo: tomakehurst/wiremock


text:
remove tf and add order conrol

see if there was any silliness added specifically to make tf work (in_progress)
and yeet the order link type? since an order controller will always work on its targets no matter their order

lol it's hf not tf

repo: tomara-x/quartz


text:
uBasemath overhaul

update from the new Basemath

you know what? imma remove the maxlen from here and let the user just modulo the input if they want!

done! just need to test it

Good girl 💜

repo: tomara-x/witches

license: WTFPL


text:
Not receiving emails

I tried all that I can but I can't get my mailserver to receive emails from the outside.
I do have a specific setup with nginx-proxy and letsencrypt in front of the mailserver. This combination is mentioned in the wiki and I tried to follow tutorial, but to no avail.
I can send emails and they look good at the destination, but receiving is the problem. Also, I tried to create multiple users in the container and they can send emails to each other.
Context
This is just a last version of my setup, but I tried all the combination of ENV settings that I could find:

Click me to expand
version: '3.7'
services:
  mailserver:
    image: "tvial/docker-mailserver:latest"
    hostname: "mail"
    domainname: "mydomain.com"
    container_name: "mailserver"
    ports:
      - 25:25
      - 143:143
      - 465:465
      - 587:587
      - 993:993
      - 4190:4190
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ./data/maildata:/var/mail
      - ./data/mailstate:/var/mail-state
      - ./data/maillogs:/var/log/mail
      - ./config/:/tmp/docker-mailserver/
      - ../data/certs/:/etc/letsencrypt/live/:ro
    environment:
      - PERMIT_DOCKER=network
      - SSL_TYPE=letsencrypt
      - ONE_DIR=1
      - DMS_DEBUG=1
      - SPOOF_PROTECTION=0
      - REPORT_RECIPIENT=1
      - ENABLE_SPAMASSASSIN=0
      - ENABLE_CLAMAV=0
      - ENABLE_FAIL2BAN=1
      - ENABLE_POSTGREY=0
      - ENABLE_MANAGESIEVE=1
    env_file:
      - mailserver.env
    cap_add:
      - NET_ADMIN
      - SYS_PTRACE
    restart: always
  mailclient:
    image: "hardware/rainloop"
    container_name: "mailclient"
    volumes:
      - ./data/rainloop:/rainloop/data
    depends_on:
      - mailserver
    environment:
      - VIRTUAL_HOST=mail.mydomain.com
      - LETSENCRYPT_HOST=mail.mydomain.com
      - LETSENCRYPT_EMAIL=mailclient@mydomain.com
      - VIRTUAL_NETWORK=mynetwork-from-nginx-container
    networks:
      - mynetwork-from-nginx-container
    restart: always
networks:
  mynetwork-from-nginx-container:
    external: true

What is affected by this bug?
I cannot receive email that is sent from outside of this container.
Actual Behavior
This is what I can confirm:

certs are visible from the container, I can see them from inside the docker:
when I try to sudo docker exec mailserver ls -a /etc/letsencrypt/live, I get:

mail.mydomain.com
mail.mydomain.com.chain.pem
mail.mydomain.com.crt
mail.mydomain.com.dhparam.pem
mail.mydomain.com.key

I tested with couple of online tools and my SPF, DKIM and DMARC looks good. I get "PASS" when I see received mails in gmail.

I'm not sure if that is relevant, but from dns checker I get "SMTP No TLS support" and I can't telnet to port 25.

Your Environment

Amount of RAM available:

4GB

Mailserver version used:

latest

Docker version used:

20.10.1

Environment settings relevant to the config:

mentioned above in the example, but they mostly produce the same problem.

Any relevant stack traces ("Full trace" preferred):

nothing that I can see, grep for "error" returns nothing from logs

One more thing that I tried was to implement one obscure wiki reference. This is never mentioned in another place, but I managed to create config/postfix-main.cf with that line and I confirmed that it really gets in the /etc/postfix/main.cf inside the container.
I have no more moves, any help would be apprretiated.
Thanks!
P. S. Just remembered to mention - Gmail that tried to reply gets back couple of hours after with the message:
The recipient server did not accept our requests to connect. Learn more at https://support.google.com/mail/answer/7720 [mail.mydomain.com. myip: FAILED_PRECONDITION: connect error (111): Connection refused]
--

I tested with couple of online tools and my SPF, DKIM and DMARC looks good. I get "PASS" when I see received mails in gmail.

My best guess: Your TLS configuration is wrong. The wiki, to be honest, only a does a mediocre job at explaining everything.  But

I'm not sure if that is relevant, but from dns checker I get "SMTP No TLS support" and I can't telnet to port 25.

would indicate that port 25 is blocked. Make sure your hoster does not block port 25!
PS: This is (very likely) not a bug in docker-mailserver :)

I tested with couple of online tools and my SPF, DKIM and DMARC looks good. I get "PASS" when I see received mails in gmail.

My best guess: Your TLS configuration is wrong. The wiki, to be honest, only a does a mediocre job at explaining everything.  But

I'm not sure if that is relevant, but from dns checker I get "SMTP No TLS support" and I can't telnet to port 25.

would indicate that port 25 is blocked. Make sure your hoster does not block port 25!
PS: This is (very likely) not a bug in docker-mailserver :)

Yes, I don't know how I selected "bug", because this is more of a question about what could be checked on the side of docker-mailserver. Sorry for the confusion.
I have a dedicated VPS on Linode and to my knowledge they don't block ports. Firewall shouldn't be a problem also so I'm wondering if anyone have any idea how could I check what is the problem here.
Thanks!

Yes, I don't know how I selected "bug", because this is more of a question about what could be checked on the side of docker-mailserver. Sorry for the confusion.
I have a dedicated VPS on Linode and to my knowledge they don't block ports. Firewall shouldn't be a problem also so I'm wondering if anyone have any idea how could I check what is the problem here.
Thanks!

As you cannot connect on port 25 (SMTP), either the port itself is blocked, the Mailserver is unreachable or Postfix is misconfigured.
Please try this first:
ports:
      - "25:25"
      - "143:143"
      - "465:465"
      ...

using " around the ports section. Thereafter, check your certificates. You mentioned a TLS error.
A good starting point for port checking is
docker ps
nmap 127.0.0.1

As you cannot connect on port 25 (SMTP), either the port itself is blocked, the Mailserver is unreachable or Postfix is misconfigured.
Please try this first:
ports:
      - "25:25"
      - "143:143"
      - "465:465"
      ...

using " around the ports section. Thereafter, check your certificates. You mentioned a TLS error.
A good starting point for port checking is
docker ps
nmap 127.0.0.1

I obviously don't know enough about YAML because I thought you were being condescending with those quotes and I tried it just so I can reply that it's obviously the same thing if you quote it or not... Long story short - it's not the same thing! :)
Thank you very much!!!
I can't believe that I spent so much time on such a stupid mistake, but on the bright side I really learned a lot about this great package by messing around.

I obviously don't know enough about YAML because I thought you were being condescending with those quotes and I tried it just so I can reply that it's obviously the same thing if you quote it or not... Long story short - it's not the same thing! :)
Thank you very much!!!
I can't believe that I spent so much time on such a stupid mistake, but on the bright side I really learned a lot about this great package by messing around.

authors: aendeavor djolereject

repo: tomav/docker-mailserver


text:
Setting hostname/domainname is required

Hello,
I try now for a few hours to get a mail server to run.
The server is a Rancher OS v1.0.4 and the mail server is to run as system service.
The server always crashes with the error "Setting hostname/domainname is required"
My Config:
mail:
    image: tvial/docker-mailserver:latest
    hostname: mail
    domainname: mydomain.de
    ports:
        - "25:25"
        - "143:143"
        - "587:587"
        - "993:993"
    volumes:
        - /mnt/mail:/var/mail
        - /mnt/mail-state:/var/mail-state
        - /mnt/mail-config/:/tmp/docker-mailserver/
    environment:
        - ENABLE_SPAMASSASSIN=1
        - ENABLE_CLAMAV=1
        - ENABLE_FAIL2BAN=1
        - ENABLE_POSTGREY=1
        - ONE_DIR=1
        - DMS_DEBUG=1
    cap_add:
        - NET_ADMIN

The Output:
2017-08-12 14:46:58,938 CRIT Supervisor running as root (no user in config file)
2017-08-12 14:46:58,939 WARN Included extra file "/etc/supervisor/conf.d/saslauth.conf" during parsing
2017-08-12 14:46:58,939 WARN Included extra file "/etc/supervisor/conf.d/supervisor-app.conf" during parsing
Unlinking stale socket /var/run/supervisor.sock
2017-08-12 14:46:59,255 INFO RPC interface 'supervisor' initialized
2017-08-12 14:46:59,256 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2017-08-12 14:46:59,257 INFO supervisord started with pid 5
2017-08-12 14:47:00,260 INFO spawned: 'mailserver' with pid 8

2017-08-12 14:47:00,280 INFO success: mailserver entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
#
#
# ENV
#
#

HOSTNAME=mail
SASLAUTHD_MECHANISMS=pam
DMS_DEBUG=1
SASLAUTHD_MECH_OPTIONS=
VIRUSMAILS_DELETE_DELAY=7
ENABLE_CLAMAV=1
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENABLE_FAIL2BAN=1
ENABLE_SPAMASSASSIN=1
SUPERVISOR_GROUP_NAME=mailserver
PWD=/
POSTGREY_DELAY=300
SUPERVISOR_ENABLED=1
SHLVL=1
HOME=/root
POSTGREY_TEXT=Delayed by postgrey
ONE_DIR=1
SUPERVISOR_SERVER_URL=unix:///var/run/supervisor.sock
SUPERVISOR_PROCESS_NAME=mailserver
DEBIAN_FRONTEND=noninteractive
ENABLE_POSTGREY=1
POSTGREY_MAX_AGE=35
_=/usr/bin/printenv

#
#
# docker-mailserver
#
#

Initializing setup
  Registering check,setup,fix,misc and start-daemons functions
  * _check_environment_variables() registered
  * _check_hostname() registered
  * _setup_default_vars() registered
  * _setup_dovecot() registered
  * _setup_dovecot_local_user() registered
  * _setup_postgrey() registered
  * _setup_dkim() registered
  * _setup_ssl() registered
  * _setup_docker_permit() registered
  * _setup_mailname() registered
  * _setup_amavis() registered
  * _setup_dmarc_hostname() registered
  * _setup_postfix_hostname() registered
  * _setup_dovecot_hostname() registered
  * _setup_postfix_sasl() registered
  * _setup_postfix_override_configuration() registered
  * _setup_postfix_sasl_password() registered
  * _setup_security_stack() registered
  * _setup_postfix_aliases() registered
  * _setup_postfix_vhost() registered
  * _setup_environment() registered
  * _fix_var_mail_permissions() registered
  * _fix_var_amavis_permissions() registered
  * _misc_save_states() registered
  * _start_daemons_cron() registered
  * _start_daemons_rsyslog() registered
  * _start_daemons_dovecot() registered
  * _start_daemons_opendkim() registered
  * _start_daemons_opendmarc() registered
  * _start_daemons_postgrey() registered
  * _start_daemons_postfix() registered
  * _start_daemons_fail2ban() registered
  * _start_daemons_clamav() registered
  * _start_daemons_amavis() registered
Checking configuration
  Check that there are no conflicts with env variables [_check_environment_variables]
  Check that hostname/domainname is provided or overidden (no default docker hostname/kubernetes) [_check_hostname]
  * Setting hostname/domainname is required
Aborted

I have the same issue.

Thanks to @ChromoX ! His Solution has helped me.

authors: ChromoX mrflowo


text:
Update due to Tesla authentication changes.

Please take a look at this.  Seems that Tesla changed authentication on March 21.  The issue is tracked here:
TeslaApi issue 548
I also included some other changes to attempt giving a little more context for obscure authentication failures.

Ugh, it never ends! Thanks for putting this together; will try to review in the next day.

Ha, I'm far too slow!  Or too dumb to look for open pull requests before re-inventing the wheel!  Thanks @briangru!

authors: BJReplay briangru tomhollander

repo: tomhollander/TeslaAuth


text:
Pressing Weather occasionally brings up Google

When pressing Weather in the widget occasionally the Google Discover window pops up instead of Google Weather. This occurs especially if shortly before pressing the widget Google Discover has been active.

Still happens on the latest beta from yesterday. More info: Launcher is OnePlus Launcher. When the Google icon from the search bar is pressed and put in the background - not closed, pressing the weather widget reopens the Google page.

same with build 79 but less frequent. It seems to happen most if I press the Google logo from the search bar on the homescreen and then select an item in Updates that brings me to an external webpage. Going back to the home screen and then subsequently pressing the weather widget goes back to this external webpage

with 2.0.6 and 2.0.7 I have not been able to reproduce anymore, so suggest to close.

with 2.0.6 and 2.0.7 I have not been able to reproduce anymore, so suggest to close.

Perfect!

Re-occur with 2.0.8 (89) now consistently. If I press the Google logo which brings up discover, or if I type in the Search bar and then swipe up to go to the home screen thus putting Google in the background, then when pressing the weather part of the widget brings up the Google window.
My work-around is to use back a number of times to go to the home screen.
Note that I am using swipe up and swipe left/right gestures. My nav bar at the bottom is hidden...

Strangely, when changing from FHD to QHD resolution, the problem disappears...
Not sure why there would be a dependency, though...

With 2.0.9 (91) the bringing up of the Google window is now consistent after pressing the weather image in the widget across FHD to QHD resolutions.
My work-around still works...

Hey, I tried to replicate the issue on my device but I can't access Google right now, because the Google app crashes on my OnePlus 5.
Although there isn't a clear way to open the Google Weather widget from other applications, I use an undocumented API that opens an internal Activity of the app Google, so I think that that is causing the misbehavior that you're experiencing.

Yes, that may be it. Google at a glance widget and also when I put the Google weather as a widget on the home screen do work correctly, but I do not know what API calls they use...
I further read that to enable Google at a glance in an alternative launcher (Rootless launcher), you would need to download a separate apk the Pixel bridge to get access to the Google feed. That apk is open source and may shed some light what API call to use...

I just checked every GitHub repository that supports the glance widget with the tap on the weather, and they all open the weather the same way I do.
I'll check again this issue when my device will be updated to Android 10, which hopefully will fix the problems with the Google App.

Clear. Thanks for all your efforts looking into this!

authors: tolrm tommasoberlose

repo: tommasoberlose/another-widget


text:
check21 - scope variable to prevent clobbering and fix flag ordering …

This is to fix the following issue:
https://github.com/toniblyx/prowler/issues/550
Currently after check21 runs, all subsequent checks may return false negatives because they aren't checking all regions. This is a simple change to scope the variable used in this check.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This change is no longer needed, I fixed it already, thanks anyway @scaryghosts!

authors: scaryghosts toniblyx

repo: toniblyx/prowler


text:
HTML Report: Filtering and other nice things.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
This pull request makes a number of improvements to the HTML output. "Improvements" is subjective though, so I've left the commits unsquashed so you can see the thought process, recommend changes, or reject commits that aren't appropriate.
The goal was to make the HTML output more usable. It does this in the following ways:

Filters! Using DataTables' SearchPanes we can allow users to narrow down the table to, for example, everything that failed in IAM rated Medium or above. Or to all the issues in us-east-1. Huge improvement!
Totals! SearchPanes can also show us running totals based on what we've selected. This can help us determine what areas might need to be focussed on.
Removed the status icon to save room. As there is a textual PASS/INFO/FAIL column and colour coding, we don't need an icon taking up room.
Replaced documentation links with the 'standard' external link icon using FontAwesome. Again, a space saver.
Fixed a bug (?) where pages were ordering by seemingly random columns.

To achieve this I also tidied up some code duplication and rejigged the javascript.
No new dependencies were introduced (except a native DataTables extension).
Before

Note the weird ordering, the table running off the page. (And scoring information not showing up - I don't think I broke that).
After
No filters applied, showing all totals.

With filters applied, showing filtered total and overall totals.

Note that in this case I'm running it against a single AWS account. If there were multiple, SearchPanes would be smart enough to dynamically add a pane to let users show only certain accounts. Panes are also dynamically responsive to page width.
Next Steps
If you'd like I can sanitise and upload a copy of the new report, but I figured reviewers might want to run it locally themselves.
As I said earlier, feel free to comment on individual commits.
Todo:

Assuming this is all good, I spotted that generate-html-from-csv.sh will need to be updated. It already looks like it's missing some changes - scoring in the header, risk, remediation, and documentation links in the rows.
For some reason, even running off your master branch, the scoring information in the top right didn't appear to work. I don't think it's a bug I introduced...

Nice @nickmalcolm !
I'm gonna take a look soon!
Regarding this:

For some reason, even running off your master branch, the scoring information in the top right didn't appear to work. I don't think it's a bug I introduced...

Take a look at this issue -> https://github.com/toniblyx/prowler/issues/815

Awesome, I love these kind of PR :D

I don't think we are, but please do double check. I've cleaned up duplicate dependencies.
Popper is included in bootstrap bundle. And you choose either bootstrap bundle, OR bootstrap. Not both. https://getbootstrap.com/docs/4.0/getting-started/contents/#js-files

I don't think we are, but please do double check. I've cleaned up duplicate dependencies.
Popper is included in bootstrap bundle. And you choose either bootstrap bundle, OR bootstrap. Not both. https://getbootstrap.com/docs/4.0/getting-started/contents/#js-files

That might be it! Thanks!

Thank you both! I´m merging it to devel branch 2.5. Remember I had already   echo '  <td>'$CHECK_RESOURCE_ID'</td>' >> ${OUTPUT_FILE_NAME}.$EXTENSION_HTML in that file in 2.5 so I have left that parameter too.

@nickmalcolm look at this screenshot, severity and service is getting the ascii characters of the new implementation in 2.5, I guess you haven't played with it yet.

Ah, I hadn't seen that. Good spotting! I'll look in to it tonight and create a PR against the 2.5 branch.

@toniblyx I checked out 1229815c04909cfd55cbd529ed5dbc903e90d175 which represents branch 2.5 before my changes were merged in. Running prowler gives output as shown in the screenshot below. The HTML output contains those ASCII characters already. So, in the changes this PR introduced, SearchPanes is just taking the content directly from the table cells.
Is the table content supposed to look different to this?

I'm happy to fix up anything that I might have broken, I just need to understand what that was 😅

Sorry, I didn't explain that properly. I added a couple of changes in 2.5 to those columns header. I need to review it in detail to remove this characters.

authors: nickmalcolm toniblyx w0rmr1d3r


text:
API Usage

Hi
I am busy writing a little app that uses a UI to create AudioSprites.  Im running into an issue where when my app is packaged it does not seem to find ffmpeg.  Is there a way to bundle ffmpeg into my app and point audiosprite to that file?  Also, where do the exported files get created when using the API?
Not sure if this is an issue or just lack of documentation or maybe my own stupidity.
Regards
PS: This is the error im getting :
Uncaught Exception:
Error: spawn ffmpeg ENOENT
at exports._errnoException (util.js:856:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
at onErrorNT (internal/child_process.js:344:16)
at doNTCallback2 (node.js:465:9)
at process._tickCallback (node.js:379:17)

That happens when you haven't installed ffmpeg.

authors: JacoBotha SargoDarya

repo: tonistiigi/audiosprite


text:
Enqueue same request twice result into FAILED state with EnqueueAction.REPLACE_EXISTING

In my app, the following code may be called several times for same media to download. Depending on the ordering and asynchronous updates, this code is sometimes called twice for the same media in the very small period of time.
In this case, the download in the database becomes as FAILED and FILE_NOT_FOUND error.
final Request request = new Request(url, mediaPath);
request.setDownloadOnEnqueue(true);
request.setEnqueueAction(EnqueueAction.REPLACE_EXISTING);
request.setPriority(Priority.HIGH);
request.setNetworkType(NetworkType.ALL);
request.setTag("media");
MutableExtras extras = Extras.getEmptyExtras().toMutableExtras();
extras.putString(MEDIA_ID_EXTRA_KEY, mediaId);
request.setExtras(extras);
mFetch.enqueue(request, updatedRequest -> {
Log.i(TAG, "downloads enqueued");
}, error -> {
Log.e(TAG, "downloads enqueue error", error.getThrowable());
});
I took a look at the source code and the following part of sanitize method seems wrong to me:
Status.QUEUED -> {
if (!fileExist) {
downloadInfo.status = Status.FAILED
downloadInfo.error = Error.FILE_NOT_FOUND
downloadInfo.downloaded = 0L
downloadInfo.total = -1L
changedDownloadsList.add(downloadInfo)
delegate?.deleteTempFilesForDownload(downloadInfo)
}
}
I think that Status.QUEUED should have same processing than Status.ADDED as it may have not started yet when sanitize.

@tleveque I am looking into this. will report back

@tonyofrancis
I think that problem is more related to ensure target file creation.
I found the following problem when debugging.
In FetchHandlerImpl, during enqueue the second request (same one), the file has not been created but the previous download does exist in db.
val existingDownload = databaseManager.getByFile(downloadInfo.file)
if (existingDownload == null) {
createFileIfPossible(File(downloadInfo.file))
}
if (downloadInfo.enqueueAction == EnqueueAction.DO_NOT_ENQUEUE_IF_EXISTING && existingDownload != null) {
throw FetchException(REQUEST_WITH_FILE_PATH_ALREADY_EXIST)
} else if (downloadInfo.enqueueAction == EnqueueAction.REPLACE_EXISTING && existingDownload != null) {
deleteDownloads(listOf(downloadInfo.id))
} else if (downloadInfo.enqueueAction == EnqueueAction.INCREMENT_FILE_NAME && existingDownload != null) {
val file = getIncrementedFileIfOriginalExists(downloadInfo.file)
downloadInfo.file = file.absolutePath
downloadInfo.id = getUniqueId(downloadInfo.url, downloadInfo.file)
createFileIfPossible(file)
}

My app is a priv app and I think that sometimes, there is a problem to create file in app internal storage.
It seems that target cannot be created but Fetch does not log any file creation error.
Could you add a log when file creation does not work ?
fun createFileIfPossible(file: File) {
try {
if (!file.exists()) {
if (file.parentFile != null && !file.parentFile.exists()) {
if (file.parentFile.mkdirs()) {
file.createNewFile()
}
} else {
file.createNewFile()
}
}
} catch (e: IOException) {
}
}

I was able to workaround the issue by

create target file
enqueue if it is a new download, otherwise update existing download

mFetch.getDownloads(downloads -> {                 Download foundDownload = null;                 for (Download download : downloads) {                     String curMediaId = getMediaIdOf(download);                     if (curMediaId != null && curMediaId.equals(mediaId)) {                         foundDownload = download;                         break;                     }                 }                 if (foundDownload == null) {                     mFetch.enqueue(request, updatedRequest -> {                         Log.i(TAG, "download enqueued for media " + mediaId);                     }, error -> {                         Log.e(TAG, "download enqueue error for media " + mediaId, error.getThrowable());                     });                 } else {                     mFetch.updateRequest(foundDownload.getId(), request, updatedRequest -> {                         Log.i(TAG, "download updated for media " + mediaId);                     }, error -> {                         Log.e(TAG, "download updated error for media " + mediaId, error.getThrowable());                     });                 }             });

@tleveque Were you testing on a emulator or physical device? Seems like Fetch enqueue is working correctly. So i'll mark this issue as closed.

@tleveque Just released Fetch 2.2.0-RC11. Downloads status are no longer set to failed if the destination file does not exist.

authors: tleveque tonyofrancis

repo: tonyofrancis/Fetch


text:
Chore/add header icon slot to table

What this does
The new ETC Analytics report needs an icon in front of the table title.
Notes for the reviewer

update config.yml revision to:  chore/add_header_icon_slot_to_table
Build and sync
add :<template v-slot:titlePrefix>     <help-circle-outline-icon slot="trigger" :size="16" />   </template>
to a table.
Verify that the help circle icon shows up before the title.

Missed anything?

[ ] Performance (customer with 200k users, customer with 1k orgs etc). Review the Performance documentation
[ ] Security aspects considered? Unhappy paths?
[ ] Have you accounted for accessibility?
[ ] Commit messages and bodies explain what and why?

Screenshots / GIFs

If anyone has a better slot name I'm all ears.

repo: topcoat-data/topcoat-public


text:
Merge versions together into versions.mk

This project uses many tools and their versions are scattered in many places. It is a burden for us to update them, so we merge them into a single versoins.mk file.

CI to check helm chart passed successfully.
https://github.com/topolvm/pvc-autoresizer/actions/runs/6796428842/job/18476486254

repo: topolvm/pvc-autoresizer