noqa: E501 is incorrectly parsed at the end of a docstring

Hello, our CIs updated to a newer Ruff version and are now failing on an E501 error, marked with noqa: E501.
def foo(...):
    """
    super neat docstring with a long line (who does not love URLs)
    more lines
    ...
    """  # noqa: E501
    pass

The command ruff check path/to/the/file.py returns:
warning: Invalid `# noqa` directive on pycrostates/datasets/lemon/lemon.py:68: expected `:` followed by a comma-separated list of codes (e.g., `# noqa: F401, F841`).
pycrostates/datasets/lemon/lemon.py:68:89: E501 Line too long (152 > 88 characters)
Found 1 error.

So for some reason, it's incorrectly parsed.
Version: 0.0.284
pyproject.toml:
[tool.ruff]
line-length = 88
extend-exclude = [
    "doc",
    "setup.py",
]

[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]

For x-ref to our project issue tracker: https://github.com/vferat/pycrostates/pull/115

Actually my bad, I misread the line number and missed the other badly formatted noqa..


Improved secure client communications for SUP

Hi,
Is the new Improved secure client communications also available to secure transfer from the client to a Software Update Point (SUP) over 8531 ?
Is this also available via the Cloud Management Gateway to the SUP ?
and last but not least, is this a test feature or will it be OK for productive environments (when implemented in CB) ?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a504ecc8-34dd-2827-660a-0e5303e88e49
Version Independent ID: 79ba1a30-59d4-2fd0-f73d-4c1e9fcada74
Content: Technical Preview 1805 - Configuration Manager
Content Source: sccm/core/get-started/capabilities-in-technical-preview-1805.md
Product: configuration-manager
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Hi @jemmail, thanks asking. The SUP currently doesn't benefit from this feature.
Regarding your third question, see Technical Preview for information about using this branch. The technical preview branch is only for lab use. When we release a new current branch version (for production use), if features from a technical preview are ready for production use then we include them in the current branch. The above page displays a list of features that are still in technical preview as well as ones that are available in current branch.
I'm closing this issue as there doesn't appear to be anything actionable for a documentation revision.


A syntax and grammar checker is required

Even though your plugin can achieve syntax highlight in editor,but furthermore we need to check syntax and grammar correctness for our file in text editor automatically,so we need a plugin to do this.
Can you help this?

Please explain in more detail what you want.

I had updated my initial content,so check it out.

This plugin checks grammar a quit a bit already. If you need something more, use this gammar: https://github.com/JesusFreke/smali/tree/master/smali/src/main/antlr


Files not found when I'm trying to write an ES article

Hello, I tried to start the spanish translation of webgpu-fundamentals.md but the build throws an error about missing files.
I'm getting the following message:
---[ webgpu\lessons\es\webgpu-fundamentals.md ]---
   link:[/webgpu/resourceditor.html] not found in English file
   link:[resourcwebgpu-draw-diagram.svg] not found in English file
   link:[resourcwebgpu-command-buffer.svg] not found in English file
   link:[resourcclipspace.svg] not found in English file
   link:[resourcwebgpu-simple-triangle-diagram.svg] not found in English file
   link:[resourcwebgpu-simple-compute-diagram.svg] not found in English file
   link:[/webgpu/lessons/resourcwgsl-offset-computer.html] not found in English file
   link:[/webgpu/lessons/resourcprettify.js] not found in English file
   link:[/webgpu/lessons/resourclesson.js] not found in English file
   link:[/webgpu/lessons/resourcwebgpufundamentals-icon.png] not found in English file
   link:[/webgpu/lessons/resourclesson.css] not found in English file
Fatal error: 12 errors

Just to make sure that it's not an issue about article links I wrote a new file with a couple of lines and there's still something wrong.

The article is written in /lessons/es with the same name as the original, did I miss something?

sorry about that. it was a bug in the builder.
git fetch https://github.com/gfxfundamentals/webgpufundamentals.git main
git rebase FETCH_HEAD
npm ci

should hopefully fix it

It works! Thank you so much


round trip doc, verify will fail if pdk is installed without sram

docs don't say to install with sram,
but verify needs it.

make setup installs the pdk with sram by default now. changes took place in mpw-5c


Convert remaining Bazaar repos to Git if they aren't yet converted

There are only two primary Bazaar repos anymore ("https://code.launchpad.net/heroesofwesnoth",
"https://code.launchpad.net/openhomm") and Bazaar is dying out, we could convert to Git if they aren't yet.

#239 would be needed for that but I wonder if openhomm really uses bzr as main repo system?

Current bzr repos are:

https://code.launchpad.net/4dtris (inactive)
https://code.launchpad.net/heroesofwesnoth (inactive)
https://code.launchpad.net/openhomm (inactive)
https://code.launchpad.net/~dnax88/gweled/trunk (active)
https://code.launchpad.net/~silwol/freenukum (inactive)

Indeed Gweled is still active. I will not convert it.

Gweled is not that active (only updated translations). I will convert it.
I converted OpenHoMM and freenukum.

Remaining are:

[ ] 4dtris
[ ] Gweled
[ ] HeroesOfWesnoth
[ ] Libre Card game
[ ] Webchess
[ ] xdigger

Hi :) Gweled it's active. I will move to Git after release the current development version.

Hi, Thanks for commenting. I did a Bazaar to Git conversion of Gweled at stored it at https://gitlab.com/osgames/gweled. However this was only for archive purposes. If you move to Git yourself, I always prefer that and will link to your Git in the entry of Gweled (https://github.com/Trilarion/opensourcegames/blob/master/entries/gweled.md) once you do the move. It would be nice if you could inform me about it, when therer is a new repository for Gweled. :)

Here the git reposotory: https://git.launchpad.net/gweled


Can't set font features and variations

At the moment it's not possible to set any font features (kerning, alternates, ligatures, capitals, tabular nums, ...) nor can you set any variation axis.

See here for examples of OTF font features:
https://rsms.me/inter/#features

Hi, is anyone working on this as we speak? I would contribute but I am afraid I might lack the knowledge to do so.

This is an issue I am interested in working on, but still need some more information on how it would be used by users of cosmic-text.

@jackpot51 Do you think it could be helpful to look at the Zed editor code? It implements font features for Mac and Windows, but not yet for Linux (using cosmic-text). Perhaps by analyzing how it does it for Mac and Windows, and how it uses cosmic-text for Linux, you can get an idea of how it could be used? It seems like a perfect showcase with ample comparison material.
The primary cosmic-text usage seems to be here: https://github.com/zed-industries/zed/blob/main/crates/gpui/src/platform/cosmic_text/text_system.rs
The Mac implementation of font features is around here: https://github.com/zed-industries/zed/blob/f15a441c9d78c9687c1400d14c8a7991fb6db08a/crates/gpui/src/platform/mac/text_system.rs#L230
The Windows DirectWrite implementation of font features is here: https://github.com/zed-industries/zed/blob/f15a441c9d78c9687c1400d14c8a7991fb6db08a/crates/gpui/src/platform/windows/direct_write.rs#L295
The code is a bit hard to follow for me, a Rust novice and zero experience with font rendering or the Zed codebase. But I think taking some time browsing the code could give some hints as to how font features could fit in the cosmic-text usage in the Zed codebase. I was primarily looking at the different implementations of PlatformTextSystem.
Alternatively of course, someone from the Zed team might be able to assist. I entered this rabbit hole via: https://github.com/zed-industries/zed/issues/12176

Did this end up going anywhere? I'm also going down the zed rabbit hole, and this issue seems to have gotten stale.

Hopefully it will get worked-on. Zed on Linux is kinda crippled right now for users using ligatures.

It is likely we will be using variable fonts for COSMIC soon, and that will involve implementing this. I have not yet researched the requirements.

It is likely we will be using variable fonts for COSMIC soon, and that will involve implementing this. I have not yet researched the requirements.

Oh, that’s pretty cool. Take your time with this, and thanks for your time.

Thanks for pointing me to this issue.
My understanding is that zed (along with several other users of advanced text features including myself) rely on the builtin platform text engines at the moment.  Those would be CoreText on macOS, GDI/DirectWrite/etc. on Windows or – to the extent anything can be considered builtin on Linux – pango (which primarily leans on harfbuzz).  Of these, only the latter is open source.
That would place the head of the rabbit trail about here: https://github.com/harfbuzz/harfbuzz/issues/2123, which has self-contained programs for rendering opentype features that aren't just calling a proprietary text engine to do it all for us.
I am also generally aware of its rust port.  I'm not entirely sure what its status is on the OpenType features but seems to support a subset of them.


Added the "Permit" extension

This allows to exclude some keys from the JSON object. It can be used in a request extension like so:
extension Request {
    func post() throws -> Post {
        guard let json = json?.permit(["content"]) else { throw Abort.badRequest }
        return try Post(node: json)
    }
}

Before, any parameters could be given, which allowed any user to modify the id for example. It's not possible anymore now.

Current coverage is 90.69% (diff: 100%)

Merging #21 into master will increase coverage by 0.64%

@@             master        #21   diff @@
==========================================
  Files            10         11     +1
  Lines           201        215    +14
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            181        195    +14
  Misses           20         20
  Partials          0          0

Powered by Codecov. Last update 51084fe...a71b1af

I like this! What about adding another one for removing fields as well. Something like:
guard var object = node.object as? [String:Node] else { return self }

params.forEach {
    object[$0] = nil
}

 return JSON(Node.object(object))

@BrettRToomey I just preferred to make the JSON “match” a list of keys to be sure you never forget to make an important field ( such as "isAdmin" ) inaccessible. But I can add the one you just made, if you think it could have use cases

I am not crazy about the naming of this function, I'd prefer to see something like func sanitized(allowedKeys: [String]) -> JSON
Closing for now so we can keep more track of what's active. Please reopen when changes are made 👍


Add<EMAIL_ADDRESS>

Actually, could you reword the description to "Add<EMAIL_ADDRESS>?

Changed the title

Changed the title

Actually I meant to say the commit description, but don't worry about it. Just a note for future additions.  I'm going to merge this.

Sorry, I thought that GH title and PR title were the same :-1:


lbry://None in log file warnings/errors

From @tzarebczan on May 31, 2017 0:49

The Issue
Steps to reproduce

Run LBRY
Check Log
See that lbry://None reflector fails, but then a claim is found supposedly.

Expected behaviour
None is not a claim, should not be referenced
Actual behaviour
warnings/errors regarding None
System Configuration

LBRY Daemon version:
LBRY App version: 0.11.6
LBRY Installation ID:
Operating system: Windows

Anything Else

2017-05-30 20:42:14,219 WARNING  lbrynet.reflector.client.client:226: Reflector failed to receive descriptor c6b73968bc1ab997 for lbry://None
2017-05-30 20:42:14,220 WARNING  lbrynet.reflector.client.client:169: An error occurred handling the response: Traceback (most recent call last):
File "site-packages\twisted\internet\tcp.py", line 214, in _dataReceived
File "site-packages\lbrynet\reflector\client\client.py", line 70, in dataReceived
File "site-packages\twisted\internet\defer.py", line 319, in addCallback
File "site-packages\twisted\internet\defer.py", line 308, in addCallbacks
---  ---
File "site-packages\twisted\internet\defer.py", line 651, in _runCallbacks
File "site-packages\lbrynet\reflector\client\client.py", line 70, in
File "site-packages\lbrynet\reflector\client\client.py", line 309, in send_next_request
File "site-packages\lbrynet\reflector\client\client.py", line 256, in open_blob_for_reading
exceptions.AttributeError: 'unicode' object has no attribute 'is_validated'
2017-05-30 20:42:14,220 WARNING  lbrynet.reflector.client.client:226: Reflector failed to receive descriptor c6b73968bc1ab997 for lbry://None
2017-05-30 20:42:14,223 WARNING  lbrynet.reflector.client.client:169: An error occurred handling the response: Traceback (most recent call last):
File "site-packages\twisted\internet\tcp.py", line 214, in _dataReceived
File "site-packages\lbrynet\reflector\client\client.py", line 70, in dataReceived
File "site-packages\twisted\internet\defer.py", line 319, in addCallback
File "site-packages\twisted\internet\defer.py", line 308, in addCallbacks
---  ---
File "site-packages\twisted\internet\defer.py", line 651, in _runCallbacks
File "site-packages\lbrynet\reflector\client\client.py", line 70, in
File "site-packages\lbrynet\reflector\client\client.py", line 309, in send_next_request
File "site-packages\lbrynet\reflector\client\client.py", line 256, in open_blob_for_reading
exceptions.AttributeError: 'unicode' object has no attribute 'is_validated'
2017-05-30 20:42:14,471 WARNING  lbrynet.core.Wallet:666: Claim does not exist: c5ed67b1b928752515797c780b00ecd2b14badf2
2017-05-30 20:42:14,792 WARNING  lbrynet.core.Wallet:666: Claim does not exist: 64ceb23ad330ff29e7a836baf6e747f84618b901
2017-05-30 20:42:15,138 ERROR    lbrynet.lbrynet_daemon.auth.server:346: Failed to process file_list: string indices must be integers
Traceback (most recent call last):
File "site-packages\twisted\internet\defer.py", line 1299, in _inlineCallbacks
File "site-packages\lbrynet\core\Wallet.py", line 770, in _handle_claim_result
File "site-packages\lbryschema\claim.py", line 140, in load_dict
File "site-packages\lbryschema\encoding.py", line 33, in decode_fields
TypeError: string indices must be integers
2017-05-30 20:42:24,602 INFO     lbrynet.reflector.client.client:223: Sent reflector descriptor c6b73968bc1ab997
2017-05-30 20:42:24,602 INFO     lbrynet.reflector.client.client:77: Reflector has all blobs for lbry://None (c6b73968bc1ab997)
Screenshots

Copied from original issue: lbryio/lbry-app#161

There may also be an app API call that is improper, but the app isn't requesting lbry://None. I believe that's an error related to type coercion somewhere in this repo.

I'm not seeing this in my current wallet, will re-open if I see it again. Possibly related to old data.


How to only receive the body messege

When I send the Json string form server to client,  I received the header msg and body msg mixed together

I only need the body json string

Are you using WatsonTcp for both client and server?

Hi @bianshifeng are you using WatsonTcp for both client and server or are you using something else?

Closing this as I'm making the assumption that you were using WatsonTcp only for the server, and not for the client.  WatsonTcp has its own mechanism for framing, which most need to build to support application-layer message delivery between processes.  That also means both sides must be aware of the framing, meaning you cannot use a generic TCP client with WatsonTcp.
If you need a simpler implementation, please refer to SimpleTcp (https://github.com/jchristn/simpletcp), CavemanTcp (https://github.com/jchristn/cavemantcp), or EasyTcp (https://github.com/Job79/EasyTcp)
Please re-open if I'm mistaken and you were indeed using WatsonTcp for both client and server.


Support Map as a ScalarValue

Is your feature request related to a problem or challenge?
ScalarValue does not currently support Maps, see e.g. https://github.com/apache/datafusion/issues/8262#issuecomment-1852700799.
https://github.com/apache/datafusion/issues/6485 is probably related as well, though I'm not 100% sure
I ran into this when looking to implement Substrait -> DF conversion for MapType
Describe the solution you'd like
Implement ScalarValue::Map and all the related functionality
Describe alternatives you've considered
No response
Additional context
No response

take

I'm interested in this issue.
As @alamb said in https://github.com/apache/datafusion/issues/8262#issuecomment-1852700799 :

l I think ScalarValue::Map can follow the model of ScalarValue::List (as Maps are just lists of structs, as I undertand):

I think I can used a list of structs with the same type struct to implemented a basic version like:
List<Struct<K, V>>

Then, provide the HashMap (or others) implementation for the physical plan.
Does it make sense?

I think ScalarValue::Map should follow the same pattern as ScalarValue::List ScalarValue::Struct
https://github.com/apache/datafusion/blob/8216e32e87b2238d8814fe16215c8770d6c327c8/datafusion/common/src/scalar/mod.rs#L244
So that would mean a single element MapArray: https://docs.rs/arrow/latest/arrow/array/struct.MapArray.html
enum ScalarValue {
  ...
  Map(Arc<MapArray>)
  ...
}

Does that make sense?

enum ScalarValue {
  ...
  Map(Arc<MapArray>)
  ...
}

Does that make sense?

Many thanks! It looks good to me. I didn't notice this struct. I will try to follow this pattern to implement this.


python3Packages.plexapi: 4.4.1 -> 4.5.0

Motivation for this change
Update to latest upstream release 4.5.0
The plex tests of Home Assistant fail if enabled with this update.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

The plex tests of Home Assistant fail if enabled with this update.

Strictly because of this version bump? How does this affect endusers of the plex component?

Result of nixpkgs-review pr 117425 at b7eaec9c run on aarch64-linux 1

2 packages built successfully:

python38Packages.plexapi
python39Packages.plexapi


Safari will always scroll to top when local/redux state is change but works fine in chrome and firefox.

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Scrollview and left sidebar is in different container and when changing component's state should not affect others.
Current Behavior

Scrollview will always get affected when any component changing state.
Steps to Reproduce (for bugs)

go to https://wander.chat/ with safari.
scroll to the bottom.
click on the left top corner logo and scroll view will suddenly jump to the top

Context

I just want to make how it is working in google chrome and i had try to log which container/component is re-render but nothing is being re-render while scrollview keep on scrolling to the top.
Your Environment

Tech
Version

next
3.2.2

node
8.2.1

OS
macOs High Sierra v 10.13.1

browser
Safari v 11.0.1

This is most likely related to Safari rendering. There's not much we can do to prevent this on our side.


10-min primer on Soulbound Tokens 101

As the Founder of NFT Labs, I'm a globally recognized metaverse/web3 strategist, tech futurist, sought-after business executive, speaker and media personality with deep expertise working in NFT and metaverse-related fields with prominent web2 companies.
I've been featured in Forbes India, Mint, Business Today, Money Control, and have appeared in interviews with web3 influencers like Kevin Abdulrahman, Kashif Raza, and Arcane Bear. I actively invest money and time in helping move the nascent web 3.0 industry forward and I am also a deep advocate of sustainability technology.
I intend to give a 10-min TED-style talk on the concept of Soulbound Tokens  #(SBTs). SBTs are an evolution of NFTs which makes them applicable to use cases where conventional NFTs are unsuitable due to their non-transferable and irrevocable properties. SBTs are widely expected to usher in the next wave of DeFi adoption growth by enabling applications like under-collateralized lending via credit scores, etc.
Target Audience: Beginner, Intermediate or Advanced (relevant for all three).
Committed time: Up to 60 mins. Need only 10 for my talk. Can do a Q&A session too.
Session style: 10 min-Ted Style Talks/Lightning Talks
Examples of my previous public conversations (primarily NFT-focused):
https://www.youtube.com/watch?v=zBMI_zPyGR4
https://www.youtube.com/watch?v=aj93pB4kezk
https://www.youtube.com/watch?v=IsNXVbit6v8
Any questions? Happy to answer here or connect with me on LinkedIn

Hi there!
Great to hear this. My email is @.*** or @.***
I can also be reached at<PHONE_NUMBER>.
Thanks,
Atharva Sabnis
On Wed, 22 Jun 2022 at 10:14 PM, Web3ConfIndia @.***>
wrote:

Hello, @atharvasabnis1 https://github.com/atharvasabnis1
Congratulations on getting shortlisted for a talk at Web3Conf India. Please
share your email so that we can take it further.
—
Reply to this email directly, view it on GitHub
https://github.com/Web3-Conf-India/Proposal-2022/issues/37#issuecomment-1163364608,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVVC3UHFDHKZRNKVNYL3HFTVQM7GHANCNFSM5WZ2D7VQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Atharva Sabnis
Founder CEO
NFT Labs, Inc.
www.itsmyne.club

Hey @atharvasabnis1! Seems like your email isn't visible, do you mind dropping it again? If not feel free to drop a mail to<EMAIL_ADDRESS>with your proposal link and name.

Hey @atharvasabnis1! Seems like your email isn't visible, do you mind dropping it again? If not feel free to drop a mail to<EMAIL_ADDRESS>with your proposal link and name.

Hey @adiig7 seems Github auto-masked by email address. Anyway, it is here<EMAIL_ADDRESS>I've also dropped an email to<EMAIL_ADDRESS>just in case. Looking forward to hearing from you about the next steps. Thanks!


Red Screen error on new initialized react-native app

I initialized a new app using react-native and without making any changes, I got a red screen error "Properties must be an object"
Screenshot: - https://drive.google.com/file/d/1-erzk1O-mZy6q-EuFBjE3qjhPgqmaMNA/view?usp=sharing
React Native version:
React Native Environment Info:
System:
OS: Windows 10
CPU: (8) x64 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Memory: 3.24 GB / 7.85 GB
Binaries:
Yarn: 1.16.0 - C:\Users\hp\AppData\Roaming\npm\yarn.CMD
npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version  <IP_ADDRESS> AI-183.6<IP_ADDRESS>22156
Java version - 8
node - 10.15.3
react-native - 0.57.3
Steps To Reproduce
1.Create a new app with react-native  0.57.3
2. react-native run-android
Describe what you expected to happen:
App to run successfully
Snack, code example, or link to a repository:
https://stackoverflow.com/questions/56958587/property-description-must-be-an-object-red-screen-error-on-new-react-native-app

I am also having the same issue faced event creating a sample project error shown as property description must be an object on red screen error.

I am also having the same problem, the weirdest thing is that if i turn on debug mode it works fine.

I am getting the same error on an already established project, just by running yarn install, having a few minor dependency upgrades. Not sure which one causes the issue yet...

I'm getting the same issue, only on android and only while the debugger is not open. Seems to be happening in redux.js line 569:

I'm getting the same issue, only on android and only while the debugger is not open. Seems to be happening in redux.js line 569 for me:
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(arguments[i], key));

I assume it's something to do with the JS environment on Android. I don't think its specifically a Redux issue.

I tried fixing the redux version to  "redux": "4.0.1", and in my project now works fine!  Hope your one does too, thank you for everything.

I tried fixing the redux version to "redux": "4.0.1", and in my project now works fine! Hope your one does too, thank you for everything.

Yes, reverting to v4.0.1 of Redux resolved it for me as well, seems to be some issue with v4.0.2 and/or v4.0.3.

I think it because Android Q version, i will try Android Pie version to make sure

Seems like there was an issue with Babel when v4.0.2 and v4.0.3 of Redux was built, causing the issue. A new version of Redux is out (v4.0.4) which should fix this, haven't tested it myself yet.
See Redux issue 3468

I solved it deleting node_modules and installing it again with npm instead of yarn because my docker project use npm on the executables.
Don't make sense, should do the same, but yeah :)


Support NX 11.0

Hi,
just updated the nx workspace to 11. It seems the stencil extension is not working anymore.
If I want to build a buildable lib I get the following error:

nx run stencil-library:build
Cannot read property 'build' of undefined

It is just a new generated stencil lib.

Hi, yes the stencil plugins version match the nx versions. The last released is 10.x and that's compatible with Nx 10. The Nx11 compatible version will be released soon, already working on the migration. Hopefully at weekend I'll be done und release the version 11

Thanks, for the reply.
As far as I can see the problem is the change in handling architect elements in context target, as they are empty right now.

Yes, that's cause the internal api changed. Nrwl prepared some migrations for that already, so it's not hard to change it. :)

Update for version 11 is published


[Improvement] Test arguments should be in the right order

What would you like to be improved?
A minor issue, but can cause confusion, test arguments should be in the right order.
Instances are as follows:
x3 in CatalogsPageTest.java:
Assertions.assertEquals(driver.getTitle(), WEB_TITLE);

In TestHivePropertiesConverter.java:
Assertions.assertEquals(hiveProperties.get(HivePropertiesConstants.GRAVITINO_HIVE_FORMAT), "PARQUET");

How should we improve?
Swap order of arguments.

@kristopherkane can you please leave a comment here? So we can assign this issue to you.

PR merged for 3252.


Adaptive lighting always sets light to 1%

Home Assistant Adaptive Lighting Issue Template
Before submitting a bug report, please follow these troubleshooting steps:
Please confirm that you have completed the following steps:

[x] I have updated to the latest Adaptive Lighting version available in HACS. DONE
[x] I have reviewed the Troubleshooting Section in the README. DONE
[x] (If using Zigbee2MQTT) I have read the Zigbee2MQTT troubleshooting guide in the README. NA
[x] I have checked the V2 Roadmap and open issues to ensure my issue isn't a duplicate. DONE

Required information for bug reports:
Please include the following information in your issue.
Issues missing this information may not be addressed.

Debug logs captured while the issue occurred. See here for instructions on enabling debug logging:

Turn off
2024-01-13 18:14:59.771 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'light.turn_off('['light.mbed_bulb_left', 'light.mbed_bulb_right']', transition=None)' event with context.id='01HM20HGXQ966NBJVR023BJ9W3'
2024-01-13 18:14:59.951 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'on' → 'off' event for 'light.mbed_bulb_right' with context.id='01HM20HGXQ966NBJVR023BJ9W3'
2024-01-13 18:14:59.987 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'on' → 'off' event for 'light.mbed_bulb_left' with context.id='01HM20HGXQ966NBJVR023BJ9W3'

Turn On
2024-01-13 18:15:12.747 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] (0) _service_interceptor_turn_on_handler: call.context.id='01HM20HXKA3ZE1DXN1D7Y3DNST', is_skipped_hash='False'
2024-01-13 18:15:12.748 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] (1) _service_interceptor_turn_on_handler: call='<ServiceCall light.turn_on (c:01HM20HXKA3ZE1DXN1D7Y3DNST): entity_id=['light.mbed_side'], params=>', service_data='{'entity_id': ['light.mbed_side'], 'params': {}}'
2024-01-13 18:15:12.749 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] No switch found for entity_id='light.mbed_side', skipped='['light.mbed_side']'
2024-01-13 18:15:12.750 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] (2) _service_interceptor_turn_on_handler: switch_to_eids='{}', skipped='['light.mbed_side']'
2024-01-13 18:15:12.752 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] (0) _service_interceptor_turn_on_handler: call.context.id='01HM20HXKA3ZE1DXN1D7Y3DNST', is_skipped_hash='False'
2024-01-13 18:15:12.752 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] (1) _service_interceptor_turn_on_handler: call='<ServiceCall light.turn_on (c:01HM20HXKA3ZE1DXN1D7Y3DNST): entity_id=['light.mbed_bulb_left', 'light.mbed_bulb_right'], params=>', service_data='{'entity_id': ['light.mbed_bulb_left', 'light.mbed_bulb_right'], 'params': {}}'
2024-01-13 18:15:12.756 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Switch is off or light is already on for entity_id='light.mbed_bulb_left', skipped='[]' (is_on='True', is_state='False', manual_control='False', switch._intercept='False')
2024-01-13 18:15:12.757 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Switch is off or light is already on for entity_id='light.mbed_bulb_right', skipped='['light.mbed_bulb_left']' (is_on='True', is_state='False', manual_control='False', switch._intercept='False')
2024-01-13 18:15:12.757 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] (2) _service_interceptor_turn_on_handler: switch_to_eids='{}', skipped='['light.mbed_bulb_left', 'light.mbed_bulb_right']'
2024-01-13 18:15:12.759 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'light.turn_on('['light.mbed_bulb_left', 'light.mbed_bulb_right']')' event with context.id='01HM20HXKA3ZE1DXN1D7Y3DNST'
2024-01-13 18:15:12.925 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected a 'light.mbed_bulb_right' 'state_changed' event: '{'min_color_temp_kelvin': 2202, 'max_color_temp_kelvin': 4000, 'min_mireds': 250, 'max_mireds': 454, 'effect_list': ['colorloop'], 'supported_color_modes': [<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.XY: 'xy'>], 'color_mode': <ColorMode.COLOR_TEMP: 'color_temp'>, 'brightness': 254, 'color_temp_kelvin': 2202, 'color_temp': 454, 'hs_color': (29.79, 84.553), 'rgb_color': (255, 146, 39), 'xy_color': (0.579, 0.388), 'effect': None, 'off_with_transition': False, 'off_brightness': None, 'friendly_name': 'MBed Bulb Right Light', 'supported_features': <LightEntityFeature.EFFECT|FLASH|TRANSITION: 44>}' with context.id='01HM20HXKA3ZE1DXN1D7Y3DNST'
2024-01-13 18:15:12.926 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'off' → 'on' event for 'light.mbed_bulb_right' with context.id='01HM20HXKA3ZE1DXN1D7Y3DNST'
2024-01-13 18:15:12.926 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] is_proactively_adapting_context='False', context_id='01HM20HXKA3ZE1DXN1D7Y3DNST'
2024-01-13 18:15:12.926 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] just_turned_off: State change 'off' → 'on' triggered by 'light.turn_on'
2024-01-13 18:15:12.927 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] is_proactively_adapting_context='False', context_id='01HM20HXKA3ZE1DXN1D7Y3DNST'
2024-01-13 18:15:12.930 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] MBed Side Bulbs: '_update_attrs_and_maybe_adapt_lights' called with context.id='01HM20HXRZ:al:JVBG:lght:19' lights: '['light.mbed_bulb_right']', transition: '0.0', force: 'True'
2024-01-13 18:15:12.934 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] MBed Side Bulbs: filtered_lights: '['light.mbed_bulb_right']'
2024-01-13 18:15:12.934 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] is_proactively_adapting_context='False', context_id='01HM20HXKA3ZE1DXN1D7Y3DNST'
2024-01-13 18:15:12.935 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] MBed Side Bulbs: Calling _adapt_light from _update_attrs_and_maybe_adapt_lights: 'light.mbed_bulb_right' with transition 0.0 and context.id=01HM20HXRZ:al:JVBG:lght:19
2024-01-13 18:15:12.962 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] MBed Side Bulbs: Setting color_temp of light light.mbed_bulb_right
2024-01-13 18:15:12.963 DEBUG (MainThread) [custom_components.adaptive_lighting.adaptation_utils] Preparing adaptation data for light.mbed_bulb_right with service data {'entity_id': 'light.mbed_bulb_right', 'brightness': 3, 'color_temp_kelvin': 2202}
2024-01-13 18:15:12.963 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] MBed Side Bulbs: execute_cancellable_adaptation_calls with data: AdaptationData(entity_id=light.mbed_bulb_right, context_id=01HM20HXRZ:al:JVBG:lght:19, sleep_time=0.0, force=True, max_length=1, which=both, initial_sleep=False)
2024-01-13 18:15:12.984 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] MBed Side Bulbs: Scheduling 'light.turn_on' with the following 'service_data': {'entity_id': 'light.mbed_bulb_right', 'brightness': 3, 'color_temp_kelvin': 2202} with context.id='01HM20HXRZ:al:JVBG:lght:19'
2024-01-13 18:15:12.992 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected a 'light.mbed_bulb_left' 'state_changed' event: '{'min_color_temp_kelvin': 2202, 'max_color_temp_kelvin': 4000, 'min_mireds': 250, 'max_mireds': 454, 'effect_list': ['colorloop'], 'supported_color_modes': [<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.XY: 'xy'>], 'color_mode': <ColorMode.COLOR_TEMP: 'color_temp'>, 'brightness': 254, 'color_temp_kelvin': 2202, 'color_temp': 454, 'hs_color': (29.79, 84.553), 'rgb_color': (255, 146, 39), 'xy_color': (0.579, 0.388), 'effect': None, 'off_with_transition': False, 'off_brightness': None, 'friendly_name': 'Mbed Bulb Left Light', 'supported_features': <LightEntityFeature.EFFECT|FLASH|TRANSITION: 44>}' with context.id='01HM20HXKA3ZE1DXN1D7Y3DNST'
2024-01-13 18:15:12.993 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'off' → 'on' event for 'light.mbed_bulb_left' with context.id='01HM20HXKA3ZE1DXN1D7Y3DNST'
2024-01-13 18:15:12.993 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] is_proactively_adapting_context='False', context_id='01HM20HXKA3ZE1DXN1D7Y3DNST'
2024-01-13 18:15:12.993 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] just_turned_off: State change 'off' → 'on' triggered by 'light.turn_on'
2024-01-13 18:15:12.993 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] is_proactively_adapting_context='False', context_id='01HM20HXKA3ZE1DXN1D7Y3DNST'
2024-01-13 18:15:12.994 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] MBed Side Bulbs: '_update_attrs_and_maybe_adapt_lights' called with context.id='01HM20HXV2:al:JVBG:lght:1A' lights: '['light.mbed_bulb_left']', transition: '0.0', force: 'True'
2024-01-13 18:15:12.997 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] MBed Side Bulbs: filtered_lights: '['light.mbed_bulb_left']'
2024-01-13 18:15:13.000 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] is_proactively_adapting_context='False', context_id='01HM20HXKA3ZE1DXN1D7Y3DNST'
2024-01-13 18:15:13.000 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] MBed Side Bulbs: Calling _adapt_light from _update_attrs_and_maybe_adapt_lights: 'light.mbed_bulb_left' with transition 0.0 and context.id=01HM20HXV2:al:JVBG:lght:1A
2024-01-13 18:15:13.011 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'light.turn_on('['light.mbed_bulb_right']')' event with context.id='01HM20HXRZ:al:JVBG:lght:19'
2024-01-13 18:15:13.012 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] (0) _service_interceptor_turn_on_handler: call.context.id='01HM20HXRZ:al:JVBG:lght:19', is_skipped_hash='False'
2024-01-13 18:15:13.016 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] MBed Side Bulbs: Setting color_temp of light light.mbed_bulb_left
2024-01-13 18:15:13.016 DEBUG (MainThread) [custom_components.adaptive_lighting.adaptation_utils] Preparing adaptation data for light.mbed_bulb_left with service data {'entity_id': 'light.mbed_bulb_left', 'brightness': 3, 'color_temp_kelvin': 2202}
2024-01-13 18:15:13.017 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] MBed Side Bulbs: execute_cancellable_adaptation_calls with data: AdaptationData(entity_id=light.mbed_bulb_left, context_id=01HM20HXV2:al:JVBG:lght:1A, sleep_time=0.0, force=True, max_length=1, which=both, initial_sleep=False)
2024-01-13 18:15:13.026 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] MBed Side Bulbs: Scheduling 'light.turn_on' with the following 'service_data': {'entity_id': 'light.mbed_bulb_left', 'brightness': 3, 'color_temp_kelvin': 2202} with context.id='01HM20HXV2:al:JVBG:lght:1A'
2024-01-13 18:15:13.033 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'light.turn_on('['light.mbed_bulb_left']')' event with context.id='01HM20HXV2:al:JVBG:lght:1A'
2024-01-13 18:15:13.034 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] (0) _service_interceptor_turn_on_handler: call.context.id='01HM20HXV2:al:JVBG:lght:1A', is_skipped_hash='False'
2024-01-13 18:15:13.269 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected a 'light.mbed_bulb_right' 'state_changed' event: '{'min_color_temp_kelvin': 2202, 'max_color_temp_kelvin': 4000, 'min_mireds': 250, 'max_mireds': 454, 'effect_list': ['colorloop'], 'supported_color_modes': [<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.XY: 'xy'>], 'color_mode': <ColorMode.COLOR_TEMP: 'color_temp'>, 'brightness': 3, 'color_temp_kelvin': 2202, 'color_temp': 454, 'hs_color': (29.79, 84.553), 'rgb_color': (255, 146, 39), 'xy_color': (0.579, 0.388), 'effect': None, 'off_with_transition': False, 'off_brightness': None, 'friendly_name': 'MBed Bulb Right Light', 'supported_features': <LightEntityFeature.EFFECT|FLASH|TRANSITION: 44>}' with context.id='01HM20HXRZ:al:JVBG:lght:19'
2024-01-13 18:15:13.274 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] AdaptiveLightingManager: New adapt '<state light.mbed_bulb_right=on; min_color_temp_kelvin=2202, max_color_temp_kelvin=4000, min_mireds=250, max_mireds=454, effect_list=['colorloop'], supported_color_modes=[<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.XY: 'xy'>], color_mode=color_temp, brightness=3, color_temp_kelvin=2202, color_temp=454, hs_color=(29.79, 84.553), rgb_color=(255, 146, 39), xy_color=(0.579, 0.388), effect=None, off_with_transition=False, off_brightness=None, friendly_name=MBed Bulb Right Light, supported_features=44 @ 2024-01-13T18:15:12.916318+00:00>' found for light.mbed_bulb_right
2024-01-13 18:15:13.275 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] No transition in last adapt for light light.mbed_bulb_right, not starting timer.
2024-01-13 18:15:13.315 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected a 'light.mbed_bulb_left' 'state_changed' event: '{'min_color_temp_kelvin': 2202, 'max_color_temp_kelvin': 4000, 'min_mireds': 250, 'max_mireds': 454, 'effect_list': ['colorloop'], 'supported_color_modes': [<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.XY: 'xy'>], 'color_mode': <ColorMode.COLOR_TEMP: 'color_temp'>, 'brightness': 3, 'color_temp_kelvin': 2202, 'color_temp': 454, 'hs_color': (29.79, 84.553), 'rgb_color': (255, 146, 39), 'xy_color': (0.579, 0.388), 'effect': None, 'off_with_transition': False, 'off_brightness': None, 'friendly_name': 'Mbed Bulb Left Light', 'supported_features': <LightEntityFeature.EFFECT|FLASH|TRANSITION: 44>}' with context.id='01HM20HXV2:al:JVBG:lght:1A'
2024-01-13 18:15:13.319 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] AdaptiveLightingManager: New adapt '<state light.mbed_bulb_left=on; min_color_temp_kelvin=2202, max_color_temp_kelvin=4000, min_mireds=250, max_mireds=454, effect_list=['colorloop'], supported_color_modes=[<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.XY: 'xy'>], color_mode=color_temp, brightness=3, color_temp_kelvin=2202, color_temp=454, hs_color=(29.79, 84.553), rgb_color=(255, 146, 39), xy_color=(0.579, 0.388), effect=None, off_with_transition=False, off_brightness=None, friendly_name=Mbed Bulb Left Light, supported_features=44 @ 2024-01-13T18:15:12.970162+00:00>' found for light.mbed_bulb_left
2024-01-13 18:15:13.319 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] No transition in last adapt for light light.mbed_bulb_left, not starting timer.

Your Adaptive Lighting configuration:

I have set AL using the Lovelace and do not know how to get the configuration.  Looked at README and googled but no joy.  Please point me to how to do this and I will add information.  However, the configuration has been working for monthes and has not been changed.

Describe the bug and how to reproduce it:

When I turn the light on which used AL it always goes to 1%,

Steps to reproduce the behavior:

turn light to full then turn off and turn on

More info
I have been using Adaptive Lighting for about 4 months and up to now it has worked great. I even worked with the comunity ot get parameters added.
I am using
Home Assistant Operating System 11.4
HA 2024.1.3
Adaptive Lighting 1.20.0

I am getting an error when I go at the top of the HACKS page.
https://community-assets.home-assistant.io/original/4X/2/a/3/2a3c0910c38ac07d0a438e36ebbd0619eb6a602f.png
Not sure exactly when this happened. Think it was a couple of days ago. I have kept things up to date but dont think it was one of these updates that caused the problem, but guess it probably was.
Basically all the lights are set to their lowest all the time. Running the date command in ther terminal indicates the date and timezone are correct.

Also experiencing that. Used to work before.

I believe the reason it's setting it to 1% is because it believe you're stuck in sleep mode, even if it's not night. I'm running into the same issue myself but if I bump up the min brightness to sleep mode then all my lights will adjust to match that minimum value.

Will check but it seems to only be a problem with zigbee bulbs.

I have the same issue since today without doing any updates.
I only have the issue if I set a min sunset time or a max sunset time other than None.
Setting min and max sunset times to None is a workaround for me for now.

I should have looked for this thread last week when the problem started :D.
Fiddling with the settings, only altering the integration's sleep mode brightness would address the issue. @WatsCo's suggestion to simply toggle sleep mode was on point! Though I'm not sure why it was enabled, assuming this controls whether the lights are currently in sleep mode (and not the sleep mode feature altogether) it's not clear to me how it got turned on in the first place. Or why it wouldn't have reset at sunrise anyhow.
I have automation that turns on/off the light and more importantly changes the lights colors during the day, so I'll report back if those trip sleep mode again. It's very possible there's an interaction here.

When I turn off sleep_brightness and Update it does not turn it off.  When I go back in it is still checked.  I have tried several times with different Inntergration Entries.
The odd thing is I have 2 entries and one works and one does not.  I have double checked they are the same.  You can not turn off sleep mode on either, they are the same (except the lights) and one works and the other does not.

Relating to the above the one that worked was a new Integration Entry I created to troubleshoot the problem. The original one and the new one are both identical, and sleep mode can not be turned off for either but the old one has the problem and the new one does not.
Where are the config files can I look to see if there is something there that is not reflected in the UI?
So the workaround seems to be to create new entries and move lights over.

Could it be that your light doesn't correctly define min and max brightness, like:
min_color_temp_kelvin: 2202
max_color_temp_kelvin: 4000

as can be seen in homeassistant.local/developer-tools/state:

[Copy pasting this message in a few recent open issues]
I just wanted to take a moment to express my heartfelt thanks to everyone that is active in this repo. Your contributions, from answering questions to addressing issues, have been invaluable. It's amazing to see how supportive and helpful our community is!
Adaptive Lighting is all about enhancing your living spaces with smart, sunlight-responsive lighting. We've had quite a few discussions and open issues recently, and I see this as a positive sign of our community's engagement and growth. If you come across anything in the documentation that's unclear or if you have suggestions for improvement, please don't hesitate to share!. Your feedback is crucial for making Adaptive Lighting better for everyone.
On a personal note, I've recently welcomed twin boys into my family, which has been an incredible and life-changing experience. As you can imagine, my time is now more limited, and while I'm doing my best to keep up with the project, there may be delays in my responses. I appreciate your understanding and patience during this time.
Rest assured, I'm fully committed to addressing any bugs, especially those related to new Home Assistant updates, as swiftly as possible. I understand that many issues may stem from hardware limitations or misunderstandings about things like Zigbee groups. Your continued support and collaboration in helping each other out not only strengthen our community but also enhance the Adaptive Lighting experience for all.
Thank you once again for your understanding, patience, and support. Let's keep our houses well lit and adaptive for maximal enjoyment of life! 🌞🏠🌙

Okay with some additional logging I was able to identify the exact conditions on my system that causes the issue.
For the bug to happen I need to set min_sunset to the right range of value, currently in my area if I set it to 20:30:00 it causes the issue and the light becomes dark just after sunset.
Modified code generating the logs:
    def noon_and_midnight(
        self,
        dt: datetime.datetime,
        sunset: datetime.datetime | None = None,
        sunrise: datetime.datetime | None = None,
    ) -> tuple[datetime.datetime, datetime.datetime]:
        """Return the (adjusted) noon and midnight times for the given datetime."""
        if (
            self.sunrise_time is None
            and self.sunset_time is None
            and self.min_sunrise_time is None
            and self.max_sunrise_time is None
            and self.min_sunset_time is None
            and self.max_sunset_time is None
        ):
            solar_noon = self.astral_location.noon(dt, local=False)
            solar_midnight = self.astral_location.midnight(dt, local=False)
            _LOGGER.error("BBB " + str(solar_noon) + " ////// " + str(solar_midnight))
            return solar_noon, solar_midnight

        if sunset is None:
            sunset = self.sunset(dt)
        if sunrise is None:
            sunrise = self.sunrise(dt)

        middle = abs(sunset - sunrise) / 2
        if sunset > sunrise:
            noon = sunrise + middle
            midnight = noon + timedelta(hours=12) * (1 if midnight.hour < 12 else -1)
        else:
            midnight = sunset + sunset
            noon = midnight + timedelta(hours=12) * (1 if midnight.hour < 12 else -1)
        _LOGGER.error("AAA " + str(noon) + " ////// " + str(midnight) + " ------- " + str(sunset) + " /////// " + str(sunrise) + " //// " + str(middle))
        return noon, midnight

The logs when the light is dark:

2024-04-03 22:31:28.078 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Kitchen: execute_cancellable_adaptation_calls with data: AdaptationData(entity_id=light.strip_kitchen_fridge, context_id=01HTJTHM8J:al:JNUX:ntrv:02, sleep_time=10.0, force=False, max_length=1, which=both, initial_sleep=False)
2024-04-03 22:31:28.079 ERROR (MainThread) [custom_components.adaptive_lighting.color_and_brightness] AAA 2024-04-02 12:01:44.656321+00:00 ////// 2024-04-02 00:01:44.656321+00:00 ------- 2024-04-02 18:30:00+00:00 /////// 2024-04-02 05:33:29.312643+00:00 //// 6:28:15.343678
2024-04-03 22:31:28.082 ERROR (MainThread) [custom_components.adaptive_lighting.color_and_brightness] AAA 2024-04-03 12:00:51.517689+00:00 ////// 2024-04-03 00:00:51.517689+00:00 ------- 2024-04-03 18:30:00+00:00 /////// 2024-04-03 05:31:43.035377+00:00 //// 6:29:08.482312
2024-04-03 22:31:28.084 ERROR (MainThread) [custom_components.adaptive_lighting.color_and_brightness] AAA 2024-04-04 11:59:58.549727+00:00 ////// 2024-04-04 23:59:58.549727+00:00 ------- 2024-04-04 18:30:00+00:00 /////// 2024-04-04 05:29:57.099455+00:00 //// 6:30:01.450272
2024-04-03 22:31:28.086 ERROR (MainThread) [custom_components.adaptive_lighting.color_and_brightness] AAA 2024-04-02 12:01:44.656321+00:00 ////// 2024-04-02 00:01:44.656321+00:00 ------- 2024-04-02 18:30:00+00:00 /////// 2024-04-02 05:33:29.312643+00:00 //// 6:28:15.343678
2024-04-03 22:31:28.088 ERROR (MainThread) [custom_components.adaptive_lighting.color_and_brightness] AAA 2024-04-03 12:00:51.517689+00:00 ////// 2024-04-03 00:00:51.517689+00:00 ------- 2024-04-03 18:30:00+00:00 /////// 2024-04-03 05:31:43.035377+00:00 //// 6:29:08.482312
2024-04-03 22:31:28.090 ERROR (MainThread) [custom_components.adaptive_lighting.color_and_brightness] AAA 2024-04-04 11:59:58.549727+00:00 ////// 2024-04-04 23:59:58.549727+00:00 ------- 2024-04-04 18:30:00+00:00 /////// 2024-04-04 05:29:57.099455+00:00 //// 6:30:01.450272

Notice how the computation for the last sunset is just shy of 48h after the sunset of the day before.
To fix the issue in my HA I changed (1 if midnight.hour < 12 else -1) to just -1. This is probably not a proper fix (this code probably fixed another corner case?) but the fact that it works with it confirms the source of the issue.


Support AWS EC2 IAM

When deploying to AWS S3 make the IAM credential information optional.  I have my Wordpress server deployed in AWS EC2 with an IAM instance profile (role) which has the required access needed to deploy to AWS S3.
I get the following error when trying to deploy without the Key/Secret.
Please input an S3 Key in order to authenticate when using the S3 deployment method.
Please input an S3 Secret in order to authenticate when using the S3 deployment method.

Tracking under same issue as https://github.com/WP2Static/static-html-output-plugin/issues/14


just a question

Thanks for the extension.
I was wondering in what directory, I need to create the tag configuration file that contains the ""hashtags": {} " object.

you need to edit the settings.json of vscode


Nested router does not show AppBar BackButton

Because when one or more Routers are nested the BackButton of the AppBar is not shown to go back to an ancestor. I want to know if this is an expected behavior and should be handled independently. At the moment what works is the BackButton of the operating system. But you could implement a state to add an IconButton directly and handle the OnPressed.

AppBar, which automatically uses a BackButton in its AppBar.leading slot when the Scaffold has no Drawer and the current Route is not the Navigator's first route.

Hi @andrefedev
Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


log4j:WARN Please initialize the log4j system properly.

It seems the log4j initialization might not be complete, as this code snipped from the rtassel_walkthrough.Rmd vignette gives a warning. (This is not relevant for the JOSS review, but I thought I'd point it out in case you want to check.)
> library(rTASSEL)
Welcome to rTASSEL (version 0.9.26)
 • Consider starting a TASSEL log file (see ?startLogger())

> rTASSEL::startLogger(fullPath = NULL, fileName = NULL)
log4j:WARN No appenders could be found for logger (net.maizegenetics.util.LoggingUtils).
log4j:WARN Please initialize the log4j system properly.
TASSEL logging file created at: /home/rstudio/rTassel/vignettes/rTASSEL_log

https://github.com/maize-genetics/rTASSEL/blob/679c21d0ded09893ebabaa0b74e39ea61e27a873/R/LoggingSupport.R#L13

Marking this as resolved in regards to commit https://github.com/maize-genetics/rTASSEL/commit/b50fb202554811eed6f5d16997309f9101274c52 .


tried to install and initialize Chakra UI within root and add provide…

…rs  to app.tsx and app.js, might what to validate if correct

PLEASE DO NOT MERGE TO MAIN UNTIL A FULL REVIEW IS DONE AS TO NOT MESS UP ANYTHING. NOT QUITE SURE I DID THIS CORRECTLY. THANK YOU.


pfe-tools 2.0: add local fonts to kitchen sink docs page.

This replaces the google fonts usages of "Red Hat Text" and "Red Hat Display" to local woff files.

considering @zhawkins 's comments in chat do we need to merge this @heyMP ?

No, we can use Google fonts.


Initial Tasks

[x] Remove vue, angular, scala files.
[ ] Update ReadMe
[ ] Convert Backend to ObjectionJS
[x] Remove Bootstrap

[ ] Navbar
[ ] Footer
[ ] Layout
[ ] HomePage
[ ] Static Pages
[ ] Login SignUp Modal
[ ] Move

Vue, Angular & Scala files & dependencies have been removed!

[ ] CLI edits have to be made in the future

[ ] Think of a good name & logo

[ ] Remove docker & other scala fles from root directory.


Error is reported when "from py4vasp import Calculation" in jupyter

Hello,
I install py4vasp, and then run the command "python - c" import py4vasp; print (py4vasp. version) ". It indicates that the installation is successful, but an error is reported when running in jupyter. I don't know why.
After running "from py4vasp import calculation", an error is reported as follows：
Output exceeds the size limit. Open the full output data in a text editor
AttributeError                            Traceback (most recent call last)
Cell In[15], line 1
----> 1 from py4vasp import Calculation
File /work/huangxl/codes/anaconda3/lib/python3.8/site-packages/py4vasp/init.py:3
1 # Copyright © VASP Software GmbH,
2 # Licensed under the Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
----> 3 from .calculation import Calculation
4 from py4vasp._third_party.interactive import set_error_handling
6 version = "0.4.0"
File /work/huangxl/codes/anaconda3/lib/python3.8/site-packages/py4vasp/calculation.py:16
3 """Provide the tools to manage VASP calculations.
4
5 This is the main user interface if you want to simply investigate the results of VASP
(...)
13 >>> calc.structure.print()  # to print the structure in a POSCAR format
14 """
15 import inspect
---> 16 import py4vasp.data
17 import py4vasp.exceptions as exception
18 import py4vasp.control
File /work/huangxl/codes/anaconda3/lib/python3.8/site-packages/py4vasp/data/init.py:33
...
52 if self._ready:
53     return
---> 54 super().ipython_display(**kwargs)
AttributeError: 'super' object has no attribute 'ipython_display'

Thank you for reporting this. The issue is caused by a recent upgrade to ipywidgets that broke the nglview package. To fix this you can
pip uninstall ipywidgets
pip install ipywidgets==7.7


feat(*): add traffic policy related methods

These methods will help build and work with traffic
policy related structs
part of #2034

Description:

Affected area:

New Functionality      [ ]
Documentation          [ ]
Install                [ ]
Control Plane          [ ]
CLI Tool               [ ]
Certificate Management [ ]
Networking             [ ]
Metrics                [ ]
SMI Policy             [ ]
Security               [ ]
Tests                  [ ]
CI System              [ ]
Performance            [ ]
Other                  [ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?

Codecov Report

Merging #2139 (7af29e6) into main (54719f8) will decrease coverage by 0.55%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #2139      +/-   ##
==========================================
- Coverage   57.84%   57.29%   -0.56%
==========================================
  Files         144      145       +1
  Lines        5995     6053      +58
==========================================
  Hits         3468     3468
- Misses       2524     2582      +58
  Partials        3        3

Impacted Files
Coverage Δ

pkg/trafficpolicy/trafficpolicy.go
0.00% <0.00%> (ø)

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 54719f8...7af29e6. Read the comment docs.


Add new produce API call, returning the assigned offset

Kafka responses for produce requests that are acknowledged include the offset that was assigned to the message. This PR adds an API call for retrieving this offset.
It also includes a number of small fixes.
Feedback is very welcome. :-)

This Travis job needs to be restarted: https://travis-ci.org/klarna/brod/jobs/397265533

The offset in produce response is the base offset of a produced batch.
Messages from multiple brod:produce calls may get batched in to one produce request,
hence replying the same offset for all calls may not be optimal.
we can try to calculate offsets for each message.
Please note that a producer may send batches themselves as
brod:produce(Client, Topic, Partition, _Key =<<>>, _Value = [{K1, V1}, {K2, V2}]).
% where V1 and V2 can also be nested batches

i.e. we'll need to Offset = LastOffset +1 for each of the inner batches while calculating offsets.

very nice !

@zmstone Done requested changes.
Regarding @viktoriafordos comment, the changelog makes the potential issues on upgrade explicit.


Fixing async server tree

Basically all the operation in the tree are directly performed on the object of the tree. Previously, the complete tree was refreshes whenever there was a change in the state of any tree items. This caused us to expansion lose state whenever there was a change in the tree.
I am also fixing a problem with drag and drop where the connection disappears if we accidentally drag and drop to a tree node in the tree

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

45 of 315 (14.29%)  changed or added relevant lines in 5 files are covered.
6 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.1%) to 41.697%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/sql/workbench/services/connection/browser/connectionManagementService.ts
40
52
76.92%

src/sql/workbench/services/objectExplorer/browser/dragAndDropController.ts
0
48
0.0%

src/sql/workbench/services/objectExplorer/browser/asyncServerTree.ts
2
74
2.7%

src/sql/workbench/contrib/objectExplorer/browser/serverTreeView.ts
0
138
0.0%

Files with Coverage Reduction
New Missed Lines
%

extensions/sql-bindings/src/common/azureFunctionsUtils.ts
1
80.65%

src/sql/workbench/contrib/objectExplorer/browser/serverTreeView.ts
1
17.5%

src/sql/workbench/services/objectExplorer/browser/dragAndDropController.ts
4
10.9%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
30304

Relevant Lines:
67290

💛  - Coveralls


Implementing logic

See also #9 and #10. GLHF working on this!

Checked it. And thanks :-)

See also #9 and #10. GLHF working on this!

Checked it. And thanks :-)

Bittensor BlockchainManager using commitments of knowledge


Unsupported browsers and other checks

We should mark IE as an unsupported browser (anyone who would like to provide support be my guest :D)
Show the notification page which tells them to get a real browser
Check if cookies and js are enabled, as our app is based on them we should show a message to enable them if they want to continue using our platform
Others to be added if any

@dmorina So we need to just check if Daemo works properly on different browsers?

yea

@dmorina I am using browsershots for checking this issue. Can you please tell me what all browsers I need to check and also what files should I upload?

well we check when user opens page what browser they are using and warn them for unsupported ones or if they have disabled JS or cookies


An additional speaker for the podcast (total of 3 speakers), Add speed sliders to adjust voices in podcast as well for each speaker.

See history here I am opening it up again because it is not closed to my satisfaction and I do not find the issue closed a discussion and clarification should be allowed before closing:
Previous issue:
https://github.com/SWivid/F5-TTS/issues/161
chigkim commented Oct 18, 2024
Why not just use multi-style tab to generate more than 2 speakers. Marking voices is different format, but it basically does the same thing.
CRCODE22 commented Oct 23, 2024 •
You do not understand I need a podcast between 3-4 people: Another AI write the text scripts so I can copy and paste just two speakers is very limited surely it is not that difficult to add more speakers. Rather than closing this as completed which is not just say if you cannot do it rather than suggesting things that do not do what I need it to do.
For example:
Speaker:1 Message:
Speaker:2 Message:
Speaker:3 Message:
Speaker:2 Message:
Speaker:3 Message:
Speaker:1 Message:
I have more than enough voice samples I make them myself and I am very good at it what I need is the script section to be able to handle it so a dialogue between atleast 3 speakers can be provided as script and also an additional section to upload the voice sample for speaker 3 so rather than the two speaker limitation I need at least 3.

Codewise it might look like this and I am not even an advanced coder just do not know if more scripts than gradio_app.py need to be modified:
@gpu_decorator
def generate_podcast(
script, speaker1_name, ref_audio1, ref_text1, speaker2_name, ref_audio2, ref_text2, speaker3_name, ref_audio3, ref_text3,model, remove_silence
):
# Split the script into speaker blocks
speaker_pattern = re.compile(f"^({re.escape(speaker1_name)}|{re.escape(speaker2_name)})|({re.escape(speaker3_name)}:", re.MULTILINE)
speaker_blocks = speaker_pattern.split(script)[1:]  # Skip the first empty element
generated_audio_segments = []

for i in range(0, len(speaker_blocks), 3):
    speaker = speaker_blocks[i]
    text = speaker_blocks[i + 1].strip()

    # Determine which speaker is talking
    if speaker == speaker1_name:
        ref_audio = ref_audio1
        ref_text = ref_text1
    elif speaker == speaker2_name:
        ref_audio = ref_audio2
        ref_text = ref_text2
    elif speaker == speaker3_name:
        ref_audio = ref_audio3
        ref_text = ref_text3
    else:
        continue  # Skip if the speaker is neither speaker1 nor speaker2 nor speaker3

I have the podcast style working for 3 speakers in a standalone 3_Speakers_Podcast.py using the env from pinokio I have not been able yet to integrate it with the gradio_app.py.
https://github.com/CRCODE22/F5-TTS/blob/main/3_Speakers_Podcast.py

Here is a 3 speaker podcast style example thanks to The Borg Queen: https://github.com/CRCODE22/F5-TTS/blob/main/Rommie_The_Borg_Queen_Phoebe.wav

Multi-style does achieve the same output would have been nice to have similar in podcasts-style tab tho since the add option is better than having for example 2-3 fixed speakers. If it just remains multi-style tab the description could be more clear that you can also use it for multiple speakers rather than just changing emotions.


update instance store  mappings to reflect reality

Follow up to https://github.com/ambiata/mismi/pull/338
! @nhibberd

:+1:


HTTP request failed: 404

I'm unable to test my project with now dev, so I tried one of the examples.
λ now -v
15.0.11
λ now init express
λ cd express\
λ now dev -d
> [debug] [2019-04-30T20:12:14.018Z] Found config in file C:\Users\armal\Documents\Projets\ElectronForConstruct\test\express\now.json
> [debug] [2019-04-30T20:12:14.028Z] Using Now CLI 15.0.11
> [debug] [2019-04-30T20:12:14.031Z] user supplied known subcommand
> Now CLI 15.0.11 dev (beta) — https://zeit.co/support
> [debug] [2019-04-30T20:12:14.166Z] The yarn executable is already cached, not re-downloading
> [debug] [2019-04-30T20:12:14.171Z] The nsfw module is already cached, not re-downloading
> [debug] [2019-04-30T20:12:14.187Z] Reading `now.json` file
> [debug] [2019-04-30T20:12:14.230Z] Locating files C:\Users\armal\Documents\Projets\ElectronForConstruct\test\express
> [debug] [2019-04-30T20:12:14.241Z] Locating files C:\Users\armal\Documents\Projets\ElectronForConstruct\test\express: 5.481ms
> [debug] [2019-04-30T20:12:22.576Z] Locating files C:\Users\armal\Documents\Projets\ElectronForConstruct\test\express
> [debug] [2019-04-30T20:12:22.578Z] Locating files C:\Users\armal\Documents\Projets\ElectronForConstruct\test\express: 0.088ms
> [debug] [2019-04-30T20:12:22.854Z] Adding build match for "about\index.js"
> [debug] [2019-04-30T20:12:22.856Z] Adding build match for "index.js"
> Setting up 2 Builders
> Building @now/node:about\index.js
> [debug] [2019-04-30T20:12:22.861Z] v0.6.0 (workPath = C:\Users\armal\AppData\Local\Temp\co.zeit.now\dev\workPaths\tmrcguug)
> [debug] [2019-04-30T20:12:22.862Z] Creating build process for about\index.js
> Error! HTTP request failed: 404
> [debug] [2019-04-30T20:12:24.523Z] Error: HTTP request failed: 404
    at Object.<anonymous> (C:\snapshot\repo\dist\index.js:1:2552184)
    at Generator.next (<anonymous>)
    at fulfilled (C:\snapshot\repo\dist\index.js:1:2551375)
    at process._tickCallback (internal/process/next_tick.js:68:7)

Still unable to start and error is not quite helpfull

@Armaldio Yep I get the same thing :) They are working on it! I get the following:

Dynamic links are also giving me 404 on my deployed website but not when I run npm run dev.
Is this the same issue?

Hey all, can you give<EMAIL_ADDRESS>a try, which includes initial Windows support. Please open a new issue if you have any issues.

@TooTallNate Good job 👍 I confirm that 15.0.11-canary.2 resolved this issue on Windows and dev command works fine now


Updated requirements.txt

Changed the version of psycopg2 from 2.8 to 2.9 for Windows compatibility in test/requirements.txt

utACK ee0f942

Can you remove the merge commit? I'll merge it afterward.

Ping @Sam071100


Routing MVC site doesnt seem to work

Ive done a clean install of piranha and im able to use the manager to configure the website and create pages.
What doesnt seem to work is the front website. I cant get the default page to work even with a new hostname. Somehow it seems the routing isnt fired at all, when i browse to http://piranhademo.com/page/start it gives me a 404.0 -Not Found error. This is what i can see:
Requested URL	   http://piranhademo.com:80/page/?permalink=home&piranha-culture=en-US
Physical Path	   C:_Dev\Prianha\Prianha\page
Logon Method	   Anonymous
Logon User	   Anonymous
Any ideas on what im doing wrong?

I got it to work. After trying different things i compared my solution to the examples and noticed im missing a global.asax. After adding the global.asax I had to tweak the web.config's a little but then it worked.
Just to test further i deleted the whole project and started over with the same database, only thing i had to do was add global.asax with the routeconfig and tweak the config's.


Model Graph

Hello,
Thanks for the plugin! It looks like the model graph doesn't acknowledge that the parent or child of a model can be a snapshot or that the snapshot can begin a graph.
To repro:
Create a snapshot of an existing model.
Create a new model that references that snapshot.
In all three (the existing model, snapshot, and snapshot-dependant model), attempt to view the model.

I need to check how this is persisted in the manifest and make appropriate changes. We don't use the snapshot feature in our projects.

I need to check how this is persisted in the manifest and make appropriate changes. We don't use the snapshot feature in our projects.

HI @jarodam ,
I've released a new version to support snapshots (0.4.7). Autocomplete, definition and graph should be supported.
Let me know if it works for you.

HI @jarodam ,
I've released a new version to support snapshots (0.4.7). Autocomplete, definition and graph should be supported.
Let me know if it works for you.

Hi @mdesmet That's awesome and fast!
I looked at existing models without snapshots to see it still works as expected. Didn't do an exhaustive look but it did appear to work.
However, when I click on a model that has a snapshot up or downstream, I get the following error:
Cannot read property 'replace' of undefined
I updated it and I've tried uninstalling and re-installing but the same.

Hi @mdesmet That's awesome and fast!
I looked at existing models without snapshots to see it still works as expected. Didn't do an exhaustive look but it did appear to work.
However, when I click on a model that has a snapshot up or downstream, I get the following error:
Cannot read property 'replace' of undefined
I updated it and I've tried uninstalling and re-installing but the same.

That's interesting, from a graph perspective actually there's actually no difference between a model or a snapshot.
I have replicated the situation over here and snapshots seems to work, both down- or upstream.
Could you attach your manifest file if it's not sensitive? Also which platform are you using (win-mac-linux)?

That's interesting, from a graph perspective actually there's actually no difference between a model or a snapshot.
I have replicated the situation over here and snapshots seems to work, both down- or upstream.
Could you attach your manifest file if it's not sensitive? Also which platform are you using (win-mac-linux)?

this is on windows. I cannot attach the manifest, unfortunately.  I did put in more time troubleshooting this AM. It looks like the issue with references being to a source:
{{ source('source_database','sourceTable') }}
When I comment out the line above and replace it with a hardcoded value or other ref, it works. When I change the source to another source it still fails.

this is on windows. I cannot attach the manifest, unfortunately.  I did put in more time troubleshooting this AM. It looks like the issue with references being to a source:
{{ source('source_database','sourceTable') }}
When I comment out the line above and replace it with a hardcoded value or other ref, it works. When I change the source to another source it still fails.

Just in case, the syntax isn't clear from above, here is the DBT link : https://docs.getdbt.com/reference/dbt-jinja-functions/source

Just in case, the syntax isn't clear from above, here is the DBT link : https://docs.getdbt.com/reference/dbt-jinja-functions/source

Well, everything in the end comes down to a source, unless we are hardcoding them. I obviously also have sources in the model graph of my snapshots and it worked for me. I will need more details to be able to reproduce the issue.
You could try to enable the console through Help > Toggle developer tools to see if there is any more info there?

Well, everything in the end comes down to a source, unless we are hardcoding them. I obviously also have sources in the model graph of my snapshots and it worked for me. I will need more details to be able to reproduce the issue.
You could try to enable the console through Help > Toggle developer tools to see if there is any more info there?

sure. Happy to help. This is the output from dev tools:
[Extension Host] Text: {{, number: 123, hex=007B
console.ts:137 [Extension Host] Text: to, number: 116, hex=0074
notificationsAlerts.ts:38 TypeError: Cannot read property 'replace' of undefined
at Function.file (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:157:279)
at new v (c:\Users\Me.vscode\extensions\innoverio.vscode-dbt-power-user-0.4.7\dist\extension.js:16:253946)
at new E (c:\Users\Me.vscode\extensions\innoverio.vscode-dbt-power-user-0.4.7\dist\extension.js:16:254089)
at c:\Users\Me.vscode\extensions\innoverio.vscode-dbt-power-user-0.4.7\dist\extension.js:16:253560
at Array.map ()
at i.getTreeItems (c:\Users\Me.vscode\extensions\innoverio.vscode-dbt-power-user-0.4.7\dist\extension.js:16:253350)
at i.getChildren (c:\Users\Me.vscode\extensions\innoverio.vscode-dbt-power-user-0.4.7\dist\extension.js:16:253186)
at m.fetchChildrenNodes (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:661:907)
at m.getChildren (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:658:839)
at t.ExtHostTreeViews.$getChildren (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:655:683)
at m._doInvokeHandler (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:892:926)
at m._invokeHandler (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:892:618)
at m._receiveRequest (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:891:252)
at m._receiveOneMessage (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:890:201)
at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:888:136
at l.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:46:801)
at v.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:233:787)
at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:1094:104
at l.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:46:801)
at v.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:233:787)
at t.PersistentProtocol._receiveMessage (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:238:1004)
at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:235:927
at l.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:46:801)
at p.acceptChunk (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:231:195)
at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:230:547
at Socket.t (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:240:822)
at Socket.emit (events.js:223:5)
at Socket.EventEmitter.emit (domain.js:475:20)
at addChunk (_stream_readable.js:309:12)
at readableAddChunk (_stream_readable.js:290:11)
at Socket.Readable.push (_stream_readable.js:224:10)
at Pipe.onStreamRead (internal/stream_base_commons.js:181:23)

sure. Happy to help. This is the output from dev tools:
[Extension Host] Text: {{, number: 123, hex=007B
console.ts:137 [Extension Host] Text: to, number: 116, hex=0074
notificationsAlerts.ts:38 TypeError: Cannot read property 'replace' of undefined
at Function.file (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:157:279)
at new v (c:\Users\Me.vscode\extensions\innoverio.vscode-dbt-power-user-0.4.7\dist\extension.js:16:253946)
at new E (c:\Users\Me.vscode\extensions\innoverio.vscode-dbt-power-user-0.4.7\dist\extension.js:16:254089)
at c:\Users\Me.vscode\extensions\innoverio.vscode-dbt-power-user-0.4.7\dist\extension.js:16:253560
at Array.map ()
at i.getTreeItems (c:\Users\Me.vscode\extensions\innoverio.vscode-dbt-power-user-0.4.7\dist\extension.js:16:253350)
at i.getChildren (c:\Users\Me.vscode\extensions\innoverio.vscode-dbt-power-user-0.4.7\dist\extension.js:16:253186)
at m.fetchChildrenNodes (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:661:907)
at m.getChildren (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:658:839)
at t.ExtHostTreeViews.$getChildren (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:655:683)
at m._doInvokeHandler (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:892:926)
at m._invokeHandler (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:892:618)
at m._receiveRequest (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:891:252)
at m._receiveOneMessage (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:890:201)
at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:888:136
at l.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:46:801)
at v.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:233:787)
at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:1094:104
at l.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:46:801)
at v.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:233:787)
at t.PersistentProtocol._receiveMessage (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:238:1004)
at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:235:927
at l.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:46:801)
at p.acceptChunk (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:231:195)
at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:230:547
at Socket.t (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:240:822)
at Socket.emit (events.js:223:5)
at Socket.EventEmitter.emit (domain.js:475:20)
at addChunk (_stream_readable.js:309:12)
at readableAddChunk (_stream_readable.js:290:11)
at Socket.Readable.push (_stream_readable.js:224:10)
at Pipe.onStreamRead (internal/stream_base_commons.js:181:23)

Based on the call stack the issue is in the instantiation in any of these classes. It seems unrelated to the usage of {{ source(...) }}. these are classes from vscode. I'm assuming you're on latest vscode?
https://github.com/innoverio/vscode-dbt-power-user/blob/1fd470a51bfafbb27fd385e4fc0ca6cb3012b7a2/src/treeview_provider/ModelTreeviewProvider.ts#L116-L122

Based on the call stack the issue is in the instantiation in any of these classes. It seems unrelated to the usage of {{ source(...) }}. these are classes from vscode. I'm assuming you're on latest vscode?
https://github.com/innoverio/vscode-dbt-power-user/blob/1fd470a51bfafbb27fd385e4fc0ca6cb3012b7a2/src/treeview_provider/ModelTreeviewProvider.ts#L116-L122

That's interesting. Yes, I believe I am on the latest version.
I just checked for updates and it says there are none.
Version: 1.52.1 (system setup)
Commit: ea3859d4ba2f3e577a159bc91e3074c5d85c0523
Date: 2020-12-16T16:34:46.910Z
Electron: 9.3.5
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.18363

That's interesting. Yes, I believe I am on the latest version.
I just checked for updates and it says there are none.
Version: 1.52.1 (system setup)
Commit: ea3859d4ba2f3e577a159bc91e3074c5d85c0523
Date: 2020-12-16T16:34:46.910Z
Electron: 9.3.5
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.18363

Thank you for your help on this. Interestingly I can repro it with a clean file using ref (works) and source (doesn't work).
Since I have the latest version of VSCode installed, I thought I would remove variables such as the age of dbt and python so I upgraded both and now the extension is working as expected. Thank you for this extension and your help with solving it.
If others have a similar issue, try ensuring your python, dbt, vscode, and extension are the latest. So far, that seems to have worked for me.

Thank you for your help on this. Interestingly I can repro it with a clean file using ref (works) and source (doesn't work).
Since I have the latest version of VSCode installed, I thought I would remove variables such as the age of dbt and python so I upgraded both and now the extension is working as expected. Thank you for this extension and your help with solving it.
If others have a similar issue, try ensuring your python, dbt, vscode, and extension are the latest. So far, that seems to have worked for me.


I installed oh-my-zsh and now i can't pull git repos: Permission denied (publickey)

I installed oh-my-zsh and didn’t change it all that much. only running plugins brew brew-cask jump with agnoster theme.
So why is git clearly not finding ~/.ssh/github_rsa[.pub]?
I have uncommented the SSH config line from .zshrc with these variations:

~/.ssh/github_rsa
~/.ssh
~/.ssh/github_rsa.pub

No luck.
What happened?

You know, I also just updated OS X to 10.10.5 (14F27). maybe it was that…?

I bet that was it. Note that I never had I’d_rsa keys, just github_rsa keys. maybe this update stopped SSH from using whatever keys it could find and restricted them to just using id_dsa or id_rsa keys.

Also, GitHub may have frozen my SSH keys pending a forced audit of most of my previously added public keys. So. ¯_(ツ)_/¯ Not oh-my-zsh's problem. just a coincidence. sorry


Misread ESLint docs...(meant to allow x|0)

It was supposed to permit x|0 as well as x | 0.

I realized this working on m-iso.


GS-optionbox needs to be able to be cleared out

The gs-optionbox needs to be able to be cleared out by clicking the selected option. This behaviour would be turned on by adding an attribute.

I have added the "clearable" attribute which allows you to clear a gs-optionbox by clicking the selected option.


Data and Labels

Not necessarily an issue, but is it possible to use both labels and data that are different. So that when tooltip is active it shows the label but it will pass the corresponding data value in vue. An example of below.
data: [0, 1, 2, 3, 4...]
labels: ['zero', 'one', 'two', 'three', 'four',...]
If 'one' is selected in the range, then the v-model value would be 1.

0:00

o


skip nils in output when processing headers

see https://github.com/igrigorik/http-2/pull/136#issuecomment-408554647
rubocop did not like the if wrapper so next if it is.
this change also drops the number of hpack spec failures from 87 to 25 for me locally.

Coverage increased (+0.001%) to 97.098% when pulling 89011a194397d3efb5c6730042fc04868f8422ad on kenichi:header_nils into 91b89720cfe5816446d9405ebaa43ed09444ec50 on igrigorik:master.

i've pushed a basic testing support Dockerfile to my client's repo. this uses stable versions of nginx and openssl. you can try it by using the rake task test:nginx. once that is running, from this repo, i've tested it with the following:
$ bundle exec ruby example/client.rb https://localhost:4430/nginx.conf

http-2 version
response

0.9.1
200

0.10.0
HTTP2::Error::InternalError exception: undefined method `first' for nil:NilClass - closing socket

0.10.0-header_nils
200

i've pushed an updated spec, hopefully this is more in line with existing testing. i've also tried this spec against master, results here. you can see that the 3 examples fail on nil.first.
so, i think that "should process dynamic table size updates" is happening, but Decompressor#decode still needs to be wary of EncodingContext#process returning nils on :changetablesize types.

thank you! 🙇


dbeaver/pro#1386 improve external file reader for txt, xml, json

Closes dbeaver/pro#1386
Now if txt, JSON or XML editor is opened, an external file will be opened with the .txt,.json or .XML extension

Let's delete temp files in panbel dipose method. Otherwise we produce a lot of temp files while app is running.

Verified


custom generator getting all kind of datatypes

This is an error similar to what I encountered while trying to implement a linearspace typeclass on top of Witchcraft.Monoid.
Here is a minimal example to reproduce the issue:
# -- type_class_check.ex --
#
# HOW TO USE:
# From iex, enter these lines (minus the prompt)
#
# iex> Mix.install([ {:witchcraft, "~> 1.0"}, {:type_class, "~> 1.2"} ])
# :ok
# iex> c "type_class_check.ex"

import TypeClass

defclass SomeClass do
  extend Witchcraft.Monoid

  alias Witchcraft.Semigroup

  where do
    def merge(arg1, arg2)
  end

  properties do
    def commutativity(data) do
      a = generate(data)
      b = generate(data)
      Semigroup.append(a, b) == Semigroup.append(b, a)
    end
  end
end

definst SomeClass, for: Integer do
  # custom_generator(data) do
  #   data |> IO.inspect()
  # end

  def merge(arg1, arg2) do
    arg1 * arg2
  end
end

This should compile without problem, as expected.
However uncommenting the custom generator will reveal all the different sort of data that is passed to it. It doesn't match the current implementation (Integer) as I would have expected...

&:erlang.is_number/1
%{
  -262 => %{-239 => <<23, 44, 40, 86, 8, 28, 19, 9, 23, 51, 52, 15>>},
  618 => -1.0225806451612902,
  "\eSJ)A,>PS" => 3.297872340425532,
  <<82, 23, 77, 79, 72, 26, 88, 5, 46, 33, 8, 6, 79, 14, 68, 23, 74, 81, 31, 6>> => "6"
}

== Compilation error in file type_class_check.ex ==
** (FunctionClauseError) no function clause matching in Witchcraft.Semigroup.Proto.Function.append/2

    The following arguments were given to Witchcraft.Semigroup.Proto.Function.append/2:

        # 1
        &:erlang.is_number/1

        # 2
        %{-262 => %{-239 => <<23, 44, 40, 86, 8, 28, 19, 9, 23, 51, 52, 15>>}, 618 => -1.0225806451612902, "\eSJ)A,>PS" => 3.297872340425532, <<82, 23, 77, 79, 72, 26, 88, 5, 46, 33, 8, 6, 79, 14, 68, 23, 74, 81, 31, 6>> => "6"}

    Attempted function clauses (showing 1 out of 1):

        def append(f, g) when is_function(g)

    (witchcraft 1.0.4) lib/witchcraft/semigroup.ex:120: Witchcraft.Semigroup.Proto.Function.append/2
    type_class_check.ex:23: SomeClass.Property.commutativity/1
    (type_class 1.2.8) lib/type_class/property.ex:32: anonymous fn/5 in TypeClass.Property.run!/4
    (elixir 1.14.3) lib/stream.ex:1557: Stream.do_repeatedly/3
    (elixir 1.14.3) lib/enum.ex:3448: Enum.take/2
    type_class_check.ex:37: anonymous fn/2 in :elixir_compiler_6.__FILE__/1
    (elixir 1.14.3) lib/enum.ex:2468: Enum."-reduce/3-lists^foldl/2-0-"/3
    type_class_check.ex:37: (file)
** (CompileError)  compile error
    (iex 1.14.3) lib/iex/helpers.ex:204: IEx.Helpers.c/2
    iex:3: (file)

I was actually trying this as a simple workaround for #19 ...
Now I am guessing the error is related to this package and the design of custom_generator, but I am not used to type_class, so feel free to let me know if I am just holding this wrong, or if I should post this somewhere else (witchcraft itself ?).
Cheers !

I think it should be
TypeClass.Property.Generator.generate(42) |> IO.inspect()

Try it and see if it works. It doesn't know that you're defining some instance for an Integer, but if you give it a sample of the datatype you're working with, it should dispatch correctly.
In general, that's how a lot of things are treated in Witchcraft library family: by sampling!


[Bug]: Odata V4 service generated using RAP is not showing me the entity when I run the yo generator

OData Version
OData V4
Draft
Yes
Scenario
List Report
UI5 Spreadsheet Component
0.29.0
What happened?
I have a odata v4 service created using the RAP generator for a custom table
The intention here is to upload the data to the table via an excel upload functionality available in a list report application and view them in the list report app.
when I use the BAS and created a list report app from the template providing the service details and try to setup the import spreadsheet via command line using yo generator at the step choose entity it shows me blank. however I have an entity available for the list report.
Attached the screenshot of the CLI with no entity and metadata with the entity information

Relevant log output
Attached the log in above section

Spreadsheet Component Init
"sap.ui5": {
        "flexEnabled": true,
        "dependencies": {
            "minUI5Version": "1.114.9",
            "libs": {
                "sap.m": {},
                "sap.ui.core": {},
                "sap.ushell": {},
                "sap.fe.templates": {}
            }
        },
        "componentUsages": {
            "spreadsheetImporter": {
                "name": "cc.spreadsheetimporter.v0_29_0"
            }
        },
        "resourceRoots": {
            "cc.spreadsheetimporter.v0_29_0": "./thirdparty/customControl/spreadsheetImporter/v0_29_0"
        },
        "contentDensities": {
            "compact": true,
            "cozy": true
        },
        "models": {
            "i18n": {
                "type": "sap.ui.model.resource.ResourceModel",
                "settings": {
                    "bundleName": "com.sap.zeu.zexcelupload.i18n.i18n"
                }
            },
            "": {
                "dataSource": "mainService",
                "preload": true,
                "settings": {
                    "synchronizationMode": "None",
                    "operationMode": "Server",
                    "autoExpandSelect": true,
                    "earlyRequests": true
                }
            },
            "@i18n": {
                "type": "sap.ui.model.resource.ResourceModel",
                "uri": "i18n/i18n.properties"
            }
        },
        "resources": {
            "css": []
        },
        "routing": {
            "routes": [
                {
                    "pattern": ":?query:",
                    "name": "ZC_MFG_SNO_COLList",
.....

Manifest
No response

Hi @Raghu9t2
thank you for your bug report.
The development for the generator is currently paused as I am looking for a better solution.
Since the integration is very simple, I think it can also go without a generator for now.


Add support for Casdon TD Pro 2 device

Add oven type device: Casdon Oven TD Pro 2.
Cloesd #2097
Preview:

@make-all I have finished the modifications and have localized some of the descriptions into English. I want to do localization adaptation in Chinese, and I can do this task.
I currently don’t understand how to use the translation_key to configure the fault_message value.

English: er1: Chamber Overheat Protection (Sensor temperature exceeds 290°C)
Chinese: er1：腔体高温保护(腔体传感器温度高于290°C)

      - id: 13
        type: bitfield
        name: fault_message
        mapping:
          - value: OK
          - dps_val: 0
            value: OK
          - dps_val: 1
            value: "er1: Chamber Overheat Protection (Sensor temperature exceeds 290°C)"
          - dps_val: 2
            value: "er2: Evaporation Tray Overheat Protection (Sensor temperature exceeds 200°C)"
          - dps_val: 4
            value: "er3: Chamber Low Temperature Protection (Temperature remains below 35°C for 5 minutes)"
          - dps_val: 8
            value: "er4: Evaporation Tray Low Temperature Protection (Temperature remains below 35°C for 5 minutes)"
          - dps_val: 16
            value: "er5: Sensor Connection Error (Open circuit in chamber or evaporation tray sensor)"
          - dps_val: 32
            value: "er6: Sensor Malfunction (Short circuit in chamber or evaporation tray sensor)"
          - dps_val: 64
            value: "er7: Display Board Communication Error"
          - dps_val: 128
            value: "er8: Water Tank Switch (CN7) Not Closed or Evaporation Tray NTC (CN3) Exceeds 125°C for 25 Seconds, Triggering Water Shortage Alert and Stopping Operation"

@make-all Thank you for your assistance with my pull request.

If you want to translate those messages, I suggest using a more specific translation_key, such as oven_fault at the sensor level.   I am not sure that translation handles non-standard extra attributes like "fault_message", so you may need to go back to an enum class sensor just for the message.
Make the values in the config "error_1", "error_2" etc, with the full message moved to the en.json and zh_CN.json files.

If you want to translate those messages, I suggest using a more specific translation_key, such as oven_fault at the sensor level.   I am not sure that translation handles non-standard extra attributes like "fault_message", so you may need to go back to an enum class sensor just for the message.
Make the values in the config "error_1", "error_2" etc, with the full message moved to the en.json and zh_CN.json files.

@make-all No problem, I will make this modification after completing the merge and localization.

I think the translations can be a new PR, I will merge this one now.


docs: Host firewall documentation

This pull request adds the initial documentation for the host firewall. The getting started guide will come in a second pull request. I will also add more examples as fixes for known bugs get merged.
Updates: #11799

Coverage increased (+0.01%) to 37.116% when pulling 984ff6874a9a2e7db5e417554c51b49f9490a1be on pr/pchaigno/host-firewall-doc into 9d78e1ac6edc899f5830e82f4f27daa0306a5dad on master.


TOKENOMICS -- TOKEN ECONOMICS

https://twitter.com/AvailProject/status/1713960787083952466?t=F90CDrnqYqDIrpRYw5f0Xw&s=19
This is a post made by the official Avail twitter, posted on the 16th of October, 2023.
You said you will share more including Incentivisation models, tokenomics and key details.
Not gonna lie, I have been searching for the Avail tokenomics for a long while now, haven't seen any.
I have checked the website and the docs, still none.
Or is there a tokenomics written somewhere that I don't know of? Please I'd love to know and see.
Are you still working on it or something?
I don't know if it has been drafted out already but it will be good if it's in the docs or on the Avail website for easy access.
And if it's out already, it should be visible please and open to everyone.
Thank you.

Tried creating a pull request for the Avail Tokenomics to be added to the docs, and it says i must be a contributor.

up


refactor(prover): Add config package

What ❔
Add config package
Checklist

[x] PR title corresponds to the body of PR (we generate changelog entries from PRs).
[x] Tests for the changes have been added / updated.
[x] Documentation comments have been added / updated.
[x] Code has been formatted via zk fmt and zk lint.
[x] Spellcheck has been run via zk spellcheck.

Most prover components load the config the same way as the ones updated. What would happen if we don't update them? My assumption is that they'll crash just like the rest of the components, but I could be wrong.

We are updating them one by one


Restoring of GWT compatibility

Fixes #135

Thanks for this PR, could you please pull, solve conflicts and re-send? We'll be able to merge then.

Yep, done.

That was fast mate :-).


Bug: expenses with a future date mistakenly shown as "earlier this month"

Observed
See image. An expense with the date "Mar 25, 2024" is shown in the "earlier this month" segment (current date at time of screenshot: Mar 13, 2024).  The ordering of the expense dates is also wrong as Mar 25 is shown between Mar 13 and Mar 8.

Expected
Future dates would have a separate "Coming up"/"Soon"/"Future expenses"/etc segment that would be visually above "This week".
Use case
It can make sense to set the date of bank transfers, invoices or other scheduled payments to match their due date, which is most of the time a future date.
Fix
I can probably fix this one myself. Haven't looked into the date logic yet but I don't think there are technical blockers.

That one should have been fixed by https://github.com/spliit-app/spliit/pull/122
Is the code you are running up to date? (Asking since I believe you are self hosting, maybe even from your own fork)

Ah, that’s good! My instance is not that fresh 😁 I’ll close this issue as obsolete.13.3.2024 22:17、Lauri Vuorela @.***>のメール:
That one should have been fixed by #122
Is the code you are running up to date? (Asking since I believe you are self hosting, maybe even from your own fork)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>