Wayland support (via Xwayland)

Hi there,
I came across your repo by chance. I love the idea of using zig for games!
Unfortunately zig build fails for me with the following error:
./build.zig:149:60: error: expected type 'std.mem.Allocator', found 'std.zig.CrossTarget'
    const target = (std.zig.system.NativeTargetInfo.detect(cross) catch unreachable).target;
                                                           ^
/usr/lib/zig/std/mem/Allocator.zig:1:1: note: std.mem.Allocator declared here
//! The standard memory allocation interface.
^
/usr/lib/zig/std/zig/CrossTarget.zig:1:1: note: std.zig.CrossTarget declared here
//! Contains all the same data as `Target`, additionally introducing the concept of "the native target".
^

Is there a specific zig version I should be using? Or a dependency I may be missing?
I'm on Arch Linux with a wayland compositor.

Hi, thanks for the report. Project strictly follows latest changes in the Zig compiler so you will need to download latest master build from: https://ziglang.org/download/

One more thing - we don't currently support Wayland, only X11, sorry!

Ahhhh busted. Oh well, thanks for the reply. Best of luck with the project, looks cool!

Just FYI, most X applications still work with Wayland compositors by going through Wayland.

Thanks for the info I didn't know about it. @cmvanb Could you try it out?

I installed the latest version of zig.
zig version
0.11.0-dev.610+e7d28344f

Although zig build now completes, when I try to run any of the executables in /zigout/bin I get the following:
./triangle_wgpu
thread 248902 panic: reached unreachable code
libs/zglfw/src/zglfw.zig:45:5: 0xca6a88 in getRequiredInstanceExtensions (triangle_wgpu)
libs/zgpu/src/zgpu.zig:64:60: 0xc9e979 in impl (triangle_wgpu)
libs/zgpu/src/zgpu.zig:69:32: 0xc9db1f in create (triangle_wgpu)
samples/triangle_wgpu/src/triangle_wgpu.zig:57:49: 0xca010f in init (triangle_wgpu)
samples/triangle_wgpu/src/triangle_wgpu.zig:337:20: 0xca27b4 in main (triangle_wgpu)
/usr/lib/zig/std/start.zig:614:37: 0xca4bb9 in main (triangle_wgpu)
            const result = root.main() catch |err| {

Thanks, do you have Vulkan driver installed?
It looks like VK_KHR_surface Vulkan extension can't be found on your system (this extension is required to create window surface for rendering).

I've updated the code and now you should get an error message about this issue.

I'm on the open source mesa drivers... doesn't support vulkan.
I had lots of trouble with the official nvidia driver previously. I'll need to find some time to work on it- will report back then.

@cmvanb Did you have a chance to test it with the VK driver?

@michal-z I've not had a chance, no. I have an idea for a zig game dev project, but other things are taking my time right now.

Just chiming in to say that zig build and zgui-dependent apps are currently running on my Wayland system (Fedora 39), even with a modern Nvidia graphics card! @marler8997 's comment is spot on, although maybe supporting Wayland directly could be of interest once relevant dependencies have transitioned.

Just chiming in to say that zig build and zgui-dependent apps are currently running on my Wayland system (Fedora 39), even with a modern Nvidia graphics card! @marler8997 's comment is spot on, although maybe supporting Wayland directly could be of interest once relevant dependencies have transitioned.

Thanks for verifying this @mochalins, I'm assuming you meant to type zgpu instead of zgui there?
Indeed XWayland is taking care of zglfw on Wayland for us at the moment. Note that SDL2 uses Wayland by default and GLFW supports it if compiled with GLFW_BUILD_WAYLAND, but we don't do this currently.
I think we should have zglfw compile GLFW with X11 and Wayland support by default. Build options can be added to disable either one of them. We'll also want to vendor the necessary system libraries in system-sdk. I will leave this issue open for addressing this.

Just chiming in to say that zig build and zgui-dependent apps are currently running on my Wayland system (Fedora 39), even with a modern Nvidia graphics card! @marler8997 's comment is spot on, although maybe supporting Wayland directly could be of interest once relevant dependencies have transitioned.

Thanks for verifying this @mochalins, I'm assuming you meant to type zgpu instead of zgui there?
Indeed XWayland is taking care of zglfw on Wayland for us at the moment. Note that SDL2 uses Wayland by default and GLFW supports it if compiled with GLFW_BUILD_WAYLAND, but we don't do this currently.
I think we should have zglfw compile GLFW with X11 and Wayland support by default. Build options can be added to disable either one of them. We'll also want to vendor the necessary system libraries in system-sdk. I will leave this issue open for addressing this.

I did in fact mean zgui, although I should've specified the using the zglfw/zgpu backend. Vendoring dependencies to include Wayland support in the GLFW build sounds reasonable; I'll start work on it and PR if it's not already underway on your end @hazeycode

I probably won't get round to it for a while. A PR would be very welcome. Thanks!

@mochalins did you manage to make any progress compiling glfw with native wayland support?

@hazeycode Apologies, I did have some work done but had to shift focus due to rapidly changing work priorities. It is not in an organized enough state to draft PR, and I don't foresee having the availability to clean it up and post within the next few weeks.

No problem. We will pick this up. Thanks


state: initial draft of a mock chain state

Opening the PR to expose the design and get feedback.

it would be good to group functions into sections add section delimiters etc. (similar to how we do in other files) to improve readability a bit.

added

I didn't see a method for updating existing accounts. How are you thinking of doing this?

added a account_mut to get a reference and change the account state.


Add back auth layout from frontend and make menu enso dynamic

This is  a bug | feature request.

Prerequisites

[ ] Are you running the latest version?
[ ] Are you reporting to the correct repository?
(enso is made of many specialized packages: https://github.com/familytree365)
[ ] Did you check the documentation?
[ ] Did you perform a cursory search?

Description

Steps to Reproduce

Expected behavior

Actual behavior

Copy across the old front end repository layout to the correct components / layouts.
Modify for using dynamic links the Enso way rather than our static list.
Make sure it works when logged in etc.


Added Go Back button to annotation page

Requested in Issue #87
Adds a "Go Back" button to the reason checkbox section to allow people to go back before having locked in their answer.

Looks good to me!


XSS Taglib getValidHref(..) does not support paths with spaces

@justinedelson See any problems if we update:
https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/1cbfc7f9e4688eebd3e9941dabe3260d773cb355/bundle/src/main/java/com/adobe/acs/commons/xss/XSSFunctions.java#L108
to use the xssAPI.getValidHref(..)  since ACS AEM Commons 2+ no longer supports 5.6.1?

good call. fixed

Hi @justinedelson @davidjgonzalez Any approx date when 2.1.0 will be released ?

2.1.0 is probably a bit off. I'll cut a 2.0.2 with this fix in it now. Will hopefully be up on repo.adobe.com on Monday.

Awesome :) .. Thanks @justinedelson /cc @dchang @SachinMali


Refactor RelationalCommand and its builder

From API review:  Remove RelationalParameter and just have RelationalCommand take a RelationalParameterList.
Also, if it still matters after the above is done, RelationalCommand should not use a "params" parameter.

Removed the RelationalParameterList and changed the "params" constructor. I think the new factoring should satisfy the intent of this issue

[ ] API review required

@mikary can this be closed now?

Changes are done other than API review changes, I think this issue is fine to close at this point.


Added find-fruit.py

Script to locate potentially vulnerable web services on the target network

Minor fix

Fixed Parameters

Sweeeetttttttt


report 82 "Export Budget to Excel" - OnPreDataItem() - OnBeforeAssignTempPeriod()

We have a client who views their G/L Budgets by Accounting Period. Their Accounting Periods are not calendar months or otherwise consistent; they are very specific. When they use the Export Budget To Excel report, expecting an equivalent result, just in Excel instead of on-screen, they find they can only choose a fixed period length from a given start. Thus the Export lacks a key feature the page has, and the customer can't export what they see/want.
This worked in NAV in the sense that although I don't think said Report had this functionality, it was in NAV possible to press Ctrl+E and get the standard Excel export of the entire page, and that included the main budget matrix with Acc Pd dates as on the page. But in BC, there is no standard way to export to Excel; it seems we must code every one... Thus it is a clear regression from NAV to BC in the eyes of this client and indeed ourselves.
In the hope that we won't always have to 'fix' this by copying/pasting/modifying/substituting the standard report, I'll be requesting event(s) that might one day help us avoid doing that, perhaps in conjunction with the new report extension functionality once that finally arrives.
Please can you therefore add the event OnBeforeAssignTempPeriod() in the location below, through which we will be able to override the default assignment to the TempPeriod fields before Insert(), thus hopefully letting us get the periods' dates from Acc Periods instead?

publisher signature:
local procedure OnBeforeAssignTempPeriod(var TempPeriod: Record "Date" temporary; StartDate: Date; PeriodLength: DateFormula; PeriodNo: Integer; var Handled: Boolean);

With that, we can hopefully Handle the event, and assign the Period Start/End dates from the ith Accounting Period starting >= the StartDate.
Thanks!

As it would be better to fix this in the base app, so that all BC users can export what they see/need, instead of devs having to work around it - I filed a BC Idea:
https://experience.dynamics.com/ideas/idea/?ideaid=f6f9b27b-ab5c-eb11-8fed-0003ff68ec39

As it would be better to fix this in the base app, so that all BC users can export what they see/need, instead of devs having to work around it - I filed a BC Idea:
https://experience.dynamics.com/ideas/idea/?ideaid=f6f9b27b-ab5c-eb11-8fed-0003ff68ec39

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Epic: Blockchain Scanning

Motivation
We want zebra to be able to scan shielded transactions using viewing keys. This issue will track the steps and work necessary in order for zebra to implement blockchain scanning.
Scope

PoC

[x] #7727
[x] #7903

MVP (v0.1)
For the MVP, let's assume the following:

No external client (i.e. no RPCs)
User has the necessary technical skills to query our database/datastore/however-we-store-the-scanning-results directly
User controls their whole machine (so file permissions and secret data deletion don’t matter)
We want to store the scanning results so that they can be made available to the User at a time of their choosing

Key and scanning results database

[x] #7904
[x] #7941
[x] #8001
[ ] #8019
[ ] #8021

Scanner

[x] #7947
[x] #8018
[ ] #7953

Integration with zebrad

[x] #7946
[ ] #8022
[ ] Run Zebra's unit tests with the scanner enabled, by adding shielded-scan to the RUST_EXPERIMENTAL_FEATURES GitHub repository variable

https://github.com/ZcashFoundation/zebra/blob/1708f9d94679870d76cd3906b250756cbc4af07c/.github/workflows/ci-unit-tests-docker.yml#L133-L135
Testing & Validation

[ ] #7813

Future Iterations
Key and scanning results database

[ ] #7932
[ ] #7928
[ ] #7926
[ ] #7937
[ ] #7944
[ ] Launch a task to clean up old scanner database versions
[ ] Delete scanner results with empty transaction ID lists, except for the highest one for each key
[ ] Deleting results for keys that have been removed from the config (security)
[ ] Store keys in the database with account IDs and birthday heights
[ ] Reduce database size using small integer key IDs in the results table

Scanner

[ ] #7905
[ ] #7934

[ ] #7927

[ ] Create an enum of the possible ECC key types, and make sure all configured keys are valid by converting strings into that enum

[ ] Implement conversion of zebra format keys to the ECC API key format. Alternative: make Zebra key types into test-only code, and just use ECC key types.

[ ] Implement Sapling scanning using internal or external Scopes and nullifier deriving keys: https://docs.rs/zcash_client_backend/latest/zcash_client_backend/scanning/trait.ScanningKey.html#impl-ScanningKey-for-(Scope,+SaplingIvk,+NullifierDerivingKey)
[ ] Implement Orchard transaction scanning

[ ] Implement an orchard API to zcash_client_backend

Broadcast channel

[ ] #7906
[ ] #7907

Integration with zebrad

[ ] #7908
[ ] #7943

Security

[ ] #7807

User Testing / Experimental Builds

[ ] Warn if scan is configured but the scanning feature is not enabled, rather than panicking
[ ] #7892

Performance Improvements

[ ] Only scan blocks that have sapling shielded outputs or shielded spends with sapling keys (combining the heights in sapling_note_commitment_tree and a new separate index for sapling spends): https://github.com/ZcashFoundation/zebra/blob/main/book/src/dev/state-db-upgrades.md#current-state-database-format
[ ] Only scan blocks that have orchard shielded actions with orchard keys (using the heights in orchard_note_commitment_tree): https://github.com/ZcashFoundation/zebra/blob/main/book/src/dev/state-db-upgrades.md#current-state-database-format
[ ] #7939
[ ] Batch multiple keys efficiently by scanning all keys, then repeatedly split the keys in half, and discard any unsuccessful keys, until we have all the keys that decrypt at least one note
[ ] Spawn one task per key or per block, scan multiple blocks at the same time, scan ranges of blocks
[ ] Scan recent blocks first: from the tip backwards in one task, and the tip forward in another
[ ] Use the birthday heights of keys, by inserting a "scanned up to block" record for the height before

References

zcash_client_backend crate:

Code
Docs
Last Version: 0.10.0
scan_block: Returns a vector of transactions that matches the provided key, for the provided block.

 In combination with zcash_client_backend, it provides a full implementation of a SQLite-backed client for the Zcash network.
block source creation:

Code
Contains unstable features.

Related work

#325
https://github.com/ZcashFoundation/zebra/blob/main/book/src/dev/rfcs/0009-zebra-client.md

@oxarbitrage I've created a new section for the minimum viable product work and renamed the "Implementation" section to "Future iterations". Can you please move any issues that should be part of the MVP to this new section to help me with scheduling?

There's a discussion for the MVP here: https://github.com/ZcashFoundation/zebra/discussions/7975

We aren't running the scanner task in CI yet, so I added this task to the MVP:

Run Zebra's unit tests with the scanner enabled, by adding shielded-scan to the RUST_EXPERIMENTAL_FEATURES GitHub repository variable

https://github.com/ZcashFoundation/zebra/blob/1708f9d94679870d76cd3906b250756cbc4af07c/.github/workflows/ci-unit-tests-docker.yml#L133-L135
It takes less than a minute to enable it, but I wanted to check with the team first.

We've done all we're going to do here


Update chart-testing schema to not require repository field in chart dependencies

Update our derived chart-testing schema ahead of an actual chart-testing
release. Upstream PR: https://github.com/helm/chart-testing/pull/300

yeah good idea! check https://github.com/giantswarm/app-build-suite/pull/83/commits/455dca90d1d9c83c395f6c9380cf0216dd917cd8


Delete extemporaneous input

Notably css and js

Way less extemporaneousness than previously thought. Not really necessary.

Way less extemporaneousness than previously thought. Not really necessary.


oncreate is deprecated but vm_state is not a replacement

If I use oncreate = false I get error deprecated, use vm_state instead but vm_state doesn't work as replacement for oncreate
If I use vm_state = stopped the VM will be stopped every time I execute the terraform code. If I use vm_state = running the machine will be started right after I create it. None of this replace oncreate = false. What I need is that the machine stays off only when I first create it and it stays off until I decide to start it.
To give some extra background, this is my workflow:

Create the qemu VM in proxmox (keep it off)
Register the qemu VM in MAAS using the proxmox power driver
MAAS powers on the machine. The machine boots over pxe to deploy the OS

This workflow is working fine with proxmox 7.x and Telmate/proxmox 2.9.14 but it doesn't work anymore since we upgraded to proxmox 8.x and TheGameProfi/proxmox 2.9.15 and oncreate is deprecated.
Trying to workaround this problem we tried to use define_connection_info = false so at least terraform doesn't wait for the VM to boot and get an ip but this triggered another issue reported in https://github.com/Telmate/terraform-provider-proxmox/issues/891

@pescobar If i understand correctly you want the vm_state to not be updated by terraform?
So it would create the VM in stopped mode but not stop it on a subsequent run?

Hi @Tinyblargon
With older versions of the provider the oncreate flag was working as the "Start after created" checkbox in the VM creation form (see red circle in the attached screenshot)

In my understanding vm_state and oncreate are different and vm_state cannot replace oncreate. Before the oncreate option was deprecated I was using oncreate = false and vmstate = running and this config is no longer possible.
I hope I made it more clear. Let me know if you have any doubts.

@pescobar @Tinyblargon the "start after created" in the proxmox gui is just a shortcut that makes proxmox start the vm for you, there is no api counterpart for it.
the oncreate and vm_state are the result of different people trying to solve the same problem in various ways without considering the previous work. This is a great example of contributions that we should manage better in the future.
In your specific case, you can define your vm with vm_state = stopped and then after doing your fiddling with MAAS, you update your terraform with vm_state = running and you should get what you want, since the terraform run will detect the vm is already running and simply update the tfstate

@mleone87 we could introduce a vm_state = stared that would set the state to running during creation and not set it during update.

@pescobar This feature has been added to the roadmap


Added Sololearn tutorials

Added interactive resources freely available given by Sololearn.
Add resource(s) | Remove resource(s) | Add info | Improve repo
For resources
Description
Why is this valuable (or not)?
This is valuable since a great quality content is published by Sololearn helping a learn able to learn fast.
How do we know it's really free?
Open their website and this website works just by registering your email.
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[✅] Read our contributing guidelines.
[✅] Search for duplicates.
[ ✅] Include author(s) and platform where appropriate.
[ ✅ ] Put lists in alphabetical order, correct spacing.
[ ✅] Add needed indications (PDF, access notes, under construction).
[ ✅ ] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

moving to a new PR #9177


support Breeze-7B

What does this PR do?
Fixes https://github.com/hiyouga/LLaMA-Factory/issues/3152
Before submitting

[√ ] Did you read the contributor guideline?

LGTM


feat: methods for removing single overrides

There have been no contributions to this repo yet, so I don't know if contributing from the outside is even an option. Let me know.
Our team wants to migrate to the new SDK, but since it's pretty fresh, some helpful things are missing from the old one. This
PR adds methods for removing a single override based on its name.

Sorry for the late reply here. This was merged as c7be2c73277ec20ffd052fcd6905e6762ce14725 in version 2.1.0.
https://github.com/statsig-io/js-client-monorepo/releases/tag/2.1.0
Thanks for the PR!


Move scala.meta.{Symbol,Signature} to internal package

Now that SemanticDB symbols are primarily strings, we should no longer expose scala.meta.{Symbol,Signature} in the public API.

@olafurpg Do we want this in 4.0.0?

I am leaning towards keeping them since there's quite a bit of code that uses symbols and there's no equivalent alternative. Need more time to think about it

Let's keep it in 4.0.0 for now, and if we decide against this ticket in the end, we'll just remove the milestone assignment.

I propose to move Symbol and Signature to package scalafix.v0 like we do with Database and friends in https://github.com/scalacenter/scalafix/pull/737 In scalafix.v1 a symbol will be a wrapper around a string


Improve Call Stack performance with many threads, fixes #44248

@isidorn change looks good and makes sense to me.

@rsalvador Thanks a lot for your PR. I left comments directly in the code, once you address those we could merge this in.
I am assigning this to the march milestone since next week we are wrapping up our february release and are only accepting limited changes.

@rsalvador Also before we accpet this change I would still need convincing vscode blocks the UI. Since I like what we are already doing - we are refreshing the callstack view with a 50ms delay. So if multiple changes come in that range we will only refresh once. Do you still see the vscode blocking if you change this 50ms to 200 ms for example here https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/debug/electron-browser/callStackView.ts#L82
Including @testforstephen to see if this can be fixed on the Java extension side. Even though vscode UI should protect against such behavior from an extension.

@isidorn thank for looking into this!
vscode still blocks when changing 50ms to 200ms in callStackView.ts
the reason is because the perf problem occurs even before callStackView.ts is invoked, the code hogging the cpu seem to be the calculations between the calls to fetchThreads() in debugService.ts and the actual request of the refresh in callStackView.ts

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

@rsalvador thanks for more details. I will look into this in greater details next week. Until then we can also get @testforstephen feedback

Looks good. The fix could help to reduce the threadsRequest frequency to JVM. Especially during remote debugging, the network perf has a big impact on the response speed of each vscode debug request, reducing the threadsRequest frequency will improve the perf a lot. In a classic modern Java micro service, such as SpringBoot, they have more than 20 threads in running after started, that means there are 20 threadsRequests sent to the debugger during the debug session initialization. This give bad performance for remote debugging.

@isidorn performed all changes and rebased/resolved

@rsalvador thanks a lot. Looks good to me, let's merge it in.


Nap outpaint test

Infrastructure should allow for StableDiffusion. SceneDetection not tested yet.

To test run commands:

conda env create -f environment.yml
conda activate stare
Then run test_inpaint.py with correct images from dropbox

feel free to test. All infra should work as intended now.

Steps to recreate:

follow setup steps in readme
download data folder from dropbox into data folder in local repo
run test scripts checking for any directory mishaps as I ran code through vscode at the repo folder level
if there are errors call them out here


WIP: Resolve "Backend logic" - [closed]

In GitLab by @erdzan on Feb 10, 2020, 19:52
Merges 3-backend-logic -> master
Closes #3

In GitLab by @erdzan on Feb 10, 2020, 19:52
closed


add workflow for checking Jira issue key

@brennerm  looks good to merge

@brennerm  looks good to merge


[6.0] [AST] Change some builtins to conform their result to Escapable

This is a cherry pick of https://github.com/apple/swift/pull/72594 to help future conflicts/dependent PRs be able to build and test using the new ~Escapable feature.

Scope: Broadens some internal builtins to accept/return escapable types in their function signatures. This should only affect the standard library modules as they are generally the only ones supposed to be using Builtin.
Main Branch PR: https://github.com/apple/swift/pull/72594
Risk: Very Low
Reviewed By: @atrick @meg-gupta
Testing: Not needed

@swift-ci please test

Caveat:  The ~Escapable feature looks likely to remain experimental for 6.0, and thus only available with an experimental-feature flag.  It doesn't look like anything here needs to be feature-gated, but keep in mind that the surface syntax won't be universally available for a while longer.


how to add addJavaScriptChannel?

how to add addJavaScriptChannel?
such as webview_flutter
Future addJavaScriptChannel(
String name, {
required void Function(JavaScriptMessage) onMessageReceived,
}) {
assert(name.isNotEmpty);
return platform.addJavaScriptChannel(JavaScriptChannelParams(
name: name,
onMessageReceived: onMessageReceived,
));
}

I have the same question, have you solved it?


LocalSettings.php and extensions are not loading

The LocalSettings.php file isn't linked/mounted as required.
The extensions are mounted as user-extensions and that is resulting in the following error:
Fatal error:  Uncaught Exception: Unable to open file /var/www/mediawiki/w/extensions/ExtensionName/extension.json: filemtime(): stat failed for /var/www/mediawiki/w/extensions/ExtensionName/extension.json in /var/www/mediawiki/w/includes/registration/ExtensionRegistry.php:177
Stack trace:
#0 /var/www/mediawiki/w/includes/GlobalFunctions.php(51): ExtensionRegistry->queue()
#1 /mediawiki/config/LocalSettings.php(434): wfLoadExtension()
#2 /var/www/mediawiki/w/includes/Setup.php(143): require_once('/mediawiki/conf...')
#3 /var/www/mediawiki/w/includes/WebStart.php(89): require_once('/var/www/mediaw...')
#4 /var/www/mediawiki/w/index.php(44): require('/var/www/mediaw...')
#5 {main}
thrown in /var/www/mediawiki/w/includes/registration/ExtensionRegistry.php on line 177

Connection #0 to host localhost left intact

Are you using the latest version of Canasta? Versions of Canasta released before April 7 are considered pre-GA and are not officially supported.

I didn't specify a version. So I guess whatever comes by default with this
docker compose.
On Thu, 21 Apr, 2022, 09:28 Jeffrey Wang, @.***> wrote:

Are you using the latest version of Canasta? Versions of Canasta released
before April 7 are considered pre-GA and are not officially supported.
—
Reply to this email directly, view it on GitHub
https://github.com/CanastaWiki/Canasta-DockerCompose/issues/10#issuecomment-1104682059,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAETJJRT7YGVXIVXKMCXF4DVGDG6PANCNFSM5T547JKA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Easee integration

Hi,
have not seen anything that describes this but when you connect your charge cable to your car the ev-robot will start to charge instantly, will ev smart charging stop this after x amount of time?
For now I rely on a schedule where the easee box will say the ev charge between 22-07:00 , but this will trigger my EVs to start charging at 22 when we really  want it to start when esm decides to.

Now I saw that there is a switch in the Easee integration, "switch.exxxxxxx_is_enabled", that seems to be possible to use in this integration. So please configure this integration using that switch. No need to add any automations.

I believe that switch doesnt do much, tried to enable smart charging with it but nothing happens,
Regarding your documentation the suggested command has changed
I.e to start smart charging when schedule is enabled and it has to be overrided
action:

service: easee.action_command
data:
device_id: 123456
action_command: override_schedule

Without schedule use and it will toggle resume then if you run again it wil toggle pause
action:

service: easee.action_command
data:
device_id: 123456
action_command: toggle

https://developer.easee.cloud/reference/post_api-chargers-id-commands-start-charging

It will just trigger to deactive the charger when I toggle smart charging, and then when I enable it it actives the charger wihtout starting any charging

Ok. So if just using the switch will not work, then you need to use automations to let this integration use the Easee integration.
I guess it should be the following. Can you try? And then let me know what worked?
I'm not sure how "start" and "override_schedule" is supposed to be used. Only one of them? Or first "override_schedule", and then "start"?
alias: EV Smart Charging - Start
description: ""
mode: single
trigger:
  - platform: state
    entity_id:
      - sensor.ev_smart_charging_charging
    from: "off"
    to: "on"
condition: []
action:
  - service: easee.action_command
    data:
      device_id: "b40f1f45d28b0891fe8d" (replace with your own device id)
      action_command: "start" (or "override_schedule")

alias: EV Smart Charging - Stop
description: ""
mode: single
trigger:
  - platform: state
    entity_id:
      - sensor.ev_smart_charging_charging
    from: "on"
    to: "off"
condition: []
action:
  - service: easee.action_command
    data:
      device_id: "b40f1f45d28b0891fe8d" (replace with your own device id)
      action_command: "stop"

Hi,
yes that works and how I use the integration, override_schedule is only needed if charging happends outside the schedule, to stop charging toggle is working but not the stop command - this is how ever on the easee side not your integraiton - will play around more
I think the solution if you dont use a schedule is to set an automation to listen to the cable connected sensor and send action_command pause then wait for the integration to toggle a start besided on cheapest hours.
You can close this if you want or leave it open for others to chip in with information so you can update your documentation

I checked with the developers of the Easee integration, and their recommendation was to remove all schedules and then to use the following two actions in the automations to start and stop the charging.
action:
  - service: easee.set_circuit_dynamic_limit
    data:
      device_id: "b40f1f45d28b0891fe8d" (replace with your own device id)
      currentP1: 16 (replace with your preferred charging current)

action:
  - service: easee.set_circuit_dynamic_limit
    data:
      device_id: "b40f1f45d28b0891fe8d" (replace with your own device id)
      currentP1: 0 (something below 6 to make the charging stop)

I'm using the switch._is_enabled using my Easee charger. Seems to work. I can use the "Manually start charging" and "Manually stop charging" buttons in the integration.
I it OK to do it this way or do you still recommend to use the actions above?

The developers of the Easee integration recommend to not use the switch._is_enabled. So it's recommended to use the above actions.

Thnak you @jonasbkarlsson for your contribution with ev_smartcharging. You can also make a easee switch with the switch template (https://www.home-assistant.io/integrations/switch.template/)
switch:
  - platform: template
    switches:
      easee:
        friendly_name: "Easee charge switch"
        value_template: "{{ is_state('sensor.easee_home_XXXXXX_status', 'charging') }}"
        turn_on:
          service: easee.set_circuit_dynamic_limit
          data:
            device_id: "b40f1f45d28b0891fe8d" (replace with your own device id)
            currentP1: 10
        turn_off:
          service: easee.set_circuit_dynamic_limit
          data:
            device_id: "b40f1f45d28b0891fe8d" (replace with your own device id)
            currentP1: 0

@jonasbkarlsson, when I setup ev_smartcharging I get an error about "Charger control switch not found". I use switch.easee in the input setting for "Charger Control switch".

The switch state is "on" or "off" and the switch works. When I switch to off I get easee status "awaiting_start" and when I switch to on I get easee status "charging".

when I setup ev_smartcharging I get an error about "Charger control switch not found"

I found out what was wrong with the switch.easee. I needed a unique_id: which Studio Code Server generated for me. Now the setup works. Thanks again.
switch:
  - platform: template
    switches:
      easee:
        friendly_name: "Easee charge switch"
        unique_id: 5789b94f-96d6-4bdb-b31d-78c4b6ca6285
        value_template: "{{ is_state('sensor.easee_home_XXXXX_status', 'charging') }}"
        turn_on:
          service: easee.set_circuit_dynamic_limit
          data:
            device_id: "b40f1f45d28b0891fe8d" (replace with your own device id)
            currentP1: 10
        turn_off:
          service: easee.set_circuit_dynamic_limit
          data:
            device_id: "b40f1f45d28b0891fe8d" (replace with your own device id)
            currentP1: 0

Thanks @overas unique_id did the trick for me too.

switch:
  - platform: template
    switches:
      easee:
        friendly_name: "Easee charge switch"
        value_template: "{{ is_state('sensor.easee_home_XXXXXX_status', 'charging') }}"
        turn_on:
          service: easee.set_circuit_dynamic_limit
          data:
            device_id: "b40f1f45d28b0891fe8d" (replace with your own device id)
            currentP1: 10
        turn_off:
          service: easee.set_circuit_dynamic_limit
          data:
            device_id: "b40f1f45d28b0891fe8d" (replace with your own device id)
            currentP1: 0

Hi! Nice work!
I could be overlooking something obvious, but wouldn't it make more sense to use
{{ states('sensor.easee_dynamic_circuit_limit') | int > 0 }} as a value template here? This would ensure that the state of the switch is on even if it's not actively charging.

Thanks @Skeletorjus, you have right.
The documentation for switch template says:
https://www.home-assistant.io/integrations/switch.template/
availability_template template (optional, default: true)
Defines a template to get the available state of the entity. If the template either fails to render or returns True, "1", "true", "yes", "on", "enable", or a non-zero number, the entity will be available. If the template returns any other value, the entity will be unavailable. If not configured, the entity will always be available. Note that the string comparison not case sensitive; "TrUe" and "yEs" are allowed.
I made the availability_template from the example in the documentation, but your approch is better. It gives True if the attributt is bigger than 0 and False if it is 0.

@overas You mean value_template? The value_template will make the state of the switch whatever the template renders to, so in this example the switch will be on if sensor.easee_dynamic_circuit_limit i above zero. The availability_template dictates if the switch should be available at all. In that case it would make sense to use binary_sensor.easee_online, so when the charger goes offline the switch will be disabled as well. With this taken into consideration, the whole template switch can look something like this:
switch:
  - platform: template
    switches:
      easee:
        friendly_name: "Easee charge"
        unique_id: easee_charge_switch
        availability_template: "{{ states('binary_sensor.easee_online') }}"
        value_template: "{{ states('sensor.easee_dynamic_circuit_limit') | int > 0 }}"
        icon_template: mdi:ev-station
        turn_on:
          service: easee.set_circuit_dynamic_limit
          data:
            device_id: device_id_here
            currentP1: 16
        turn_off:
          service: easee.set_circuit_dynamic_limit
          data:
            device_id: device_id_here
            currentP1: 0

Sorry @Skeletorjus, but I misunderstood the documentation. You are right and thanks for the clarification

A lot of the examples here are using device_id to identify their charger. The device_id is not easily discoverable in HA (you essentially need to parse the URL of the easee integration, or create an automation with your charger to see what HA generated).
If I understand the Easee HASS docs correctly,  you can instead use charger_id - this is the name of your charger and easier to discover in the HA UI, or in the Easee app (Charger Settings -> About -> Serial Number).

@ulfben Have you tried using charger_id? Does it work? I don't have an Easee charger so I can't test myself. When I read the source code for the Easee integration, I can only see support of device_id. If you use the GUI to create automations in HA, you should be able to find the device_id.

Yes! My charger is "ehfhjymw" and my switch uses charger_id to identify it:
`switch:

platform: template
switches:
easee:
friendly_name: "Easee charge"
unique_id: easee_charge_switch
availability_template: "{{ states('binary_sensor.ehfhjymw_online') }}"
value_template: "{{ states('sensor.ehfhjymw_dynamic_circuit_limit') | int > 0 }}"
icon_template: mdi:ev-station
turn_on:
service: easee.set_circuit_dynamic_limit
data:
charger_id: "ehfhjymw"
currentP1: 16
currentP2: 16
currentP3: 16
turn_off:
service: easee.set_circuit_dynamic_limit
data:
charger_id: "ehfhjymw"
currentP1: 0
currentP2: 0
currentP3: 0`

Regarding the setting of all phases: I double-checked and it is enough to set P1. The others will be assigned the same value. But I find implicit APIs like that less clear, so I opted to write them all out explicitly.

Thanks for the confirmation! I will change the example in the documentation to use charger_id instead.

Yes! My charger is "ehfhjymw" and my switch uses charger_id to identify it:
switch:
  - platform: template
    switches:
      easee:
        friendly_name: "Easee charge"
        unique_id: easee_charge_switch
        availability_template: "{{ states('binary_sensor.ehfhjymw_online') }}"
        value_template: "{{ states('sensor.ehfhjymw_dynamic_circuit_limit') | int > 0 }}"
        icon_template: mdi:ev-station
        turn_on:
          service: easee.set_circuit_dynamic_limit
          data:
            charger_id: "ehfhjymw"
            currentP1: 16
            currentP2: 16
            currentP3: 16
        turn_off:
          service: easee.set_circuit_dynamic_limit
          data:
            charger_id: "ehfhjymw"
            currentP1: 0
            currentP2: 0
            currentP3: 0

Regarding the setting of all phases: I double-checked and it is enough to set P1. The others will be assigned the same value. But I find implicit APIs like that less clear, so I opted to write them all out explicitly.

I think this method does not work if I also use a Equalizer. It is then instantly overwritten by Easee Equalizer itself :(

Can't you just use the pause and resume action form the Easee charger?
I have an automation that turns the charger on (still on pause) when my car gets connected to the charger. (it checks if the car is connected) When the chargers is on the car can use power for example to use the preheat.
What I am missing is the this integration only support on/off. It would be nice to have it directly connect to the Easee charge so it can use the pause/resume action 'easee.action_command resume/pause'. I now need to use another automation that get triggered by the on/of state form 'sensor.ev_smart_charging_charging'

What I am missing is the this integration only support on/off. It would be nice to have it directly connect to the Easee charge so it can use the pause/resume action easee.action_command resume/pause. I now need to use another automation that get triggered by the on/of state form sensor.ev_smart_charging_charging

Yes, I'm aware of this. Intitially I have focused on the charging control, and I have a few more things I would like to improve. I have some ideas on how to handle your request, but I will need some time to find a good solution that make sense to implement considering that there are quite many different chargers.

Yeah the logic is quite nice.
A bit off topic
Maybe this could be upgraded to be a module inside homeassistant that can for example also control headpump and other high energy devices.
I know in the Netherlands there is a project starting that has the goal to enable device control that will results in more stable electric network. They want to create open standard for this. Maybe this is interesting so the module can be used also from outsiders de by the electric network provider. (I guess you earn a bit of money by stabilizing the network)
https://elaad.nl/ is one of the companies that is working on this platform. They also helped the standaard for ev charging. Mostly for public charging stations.
https://elaad.nl/energiemanagement-in-en-om-de-woning-biedt-grote-kansen/
This is the link for the project. It's in Dutch :(

I know that there are users of this intergration that already now use it to control other high energy devices, and I have added some controlling means to better support that.  Also, I have plans to eventually add a discharging function so that it can be used with home batteries and V2H capable chargers/cars.

Yes! My charger is "ehfhjymw" and my switch uses charger_id to identify it:
switch:
  - platform: template
    switches:
      easee:
        friendly_name: "Easee charge"
        unique_id: easee_charge_switch
        availability_template: "{{ states('binary_sensor.ehfhjymw_online') }}"
        value_template: "{{ states('sensor.ehfhjymw_dynamic_circuit_limit') | int > 0 }}"
        icon_template: mdi:ev-station
        turn_on:
          service: easee.set_circuit_dynamic_limit
          data:
            charger_id: "ehfhjymw"
            currentP1: 16
            currentP2: 16
            currentP3: 16
        turn_off:
          service: easee.set_circuit_dynamic_limit
          data:
            charger_id: "ehfhjymw"
            currentP1: 0
            currentP2: 0
            currentP3: 0

Regarding the setting of all phases: I double-checked and it is enough to set P1. The others will be assigned the same value. But I find implicit APIs like that less clear, so I opted to write them all out explicitly.

I think this method does not work if I also use a Equalizer. It is then instantly overwritten by Easee Equalizer itself :(

Did you find a solution for this?
I have two Easee (22kW) chargers + one Equalizer, and no matter if I start one or the other charger, both starts charging. Maybe there's a way around this?

@enoch85, how does it work with two Easee? Do you have two instances of the Easee integration or can one instance handle two Easee?
For the ev_smart_charging integration, you will need two instances. One controlling one Easee each.

@enoch85, how does it work with two Easee? Do you have two instances of the Easee integration or can one instance handle two Easee?
For the ev_smart_charging integration, you will need two instances. One controlling one Easee each.

I use the easee_hass integration and it controls all three devices, charger 1, charger 2, and the Equalizer. The sensors and switches have different names of course, and are named by the name of the charger. In my case; "garage" and "uppfart garage".
Thanks for the advice with two seperetae Easee integrations, I will look into that tonight! Will report back! 👍🏼

2 X Easee Home + 1 X Equalizer - solved it! :heavy_check_mark:
I posted the full solution here: https://github.com/fondberg/easee_hass/issues/256#issuecomment-1774129683
cc @jonasbkarlsson FYI.

How did you get second Easee in to the integration?


Jekyll / TOC / Asciidoctor interaction

What I'd really like to be able to do with this is
a) have a better TOC system than default jekyll
b) be able to include 'jekyll' asciidoc files with yaml headers in 'normal' asciidoctor
c) have a reasonable 'PDFify this whole site' into a slightly sane pdf doc (IF it has been written with this in mind)
Which I think should be possible with this. I just can't join up the dots.

a) have a better TOC system than default jekyll

You should be able to use:
:toc: macro

toc::[]

It's not a perfect solution, but it at least gives you a TOC in the document. Of course, we can do better :)

be able to include 'jekyll' asciidoc files with yaml headers in 'normal' asciidoctor

This should work find when in the context of a Jekyll site. You can see an example here: https://raw.githubusercontent.com/jaredmorgs/Pinball_Arcade_Users_Guide_Android/master/index.adoc
You can plow away the YAML front matter when using Asciidoctor standalone by setting the attribute skip-front-matter.

have a reasonable 'PDFify this whole site' into a slightly sane pdf doc

That's a tougher one. Obviously, integration with Asciidoctor PDF (once it's in a better state) would be a reasonable approach to solve this issue. Another is to integration with wkhtmltopdf (via wicked_pdf, https://github.com/mileszs/wicked_pdf) to just convert the site over to PDF from HTML.

b) be able to include 'jekyll' asciidoc files with yaml headers in 'normal' asciidoctor

This is now implemented in the upcoming 2.0.0. \o/

a) have a better TOC system than default jekyll

This is covered by the proposal in #37.

c) have a reasonable 'PDFify this whole site' into a slightly sane pdf doc (IF it has been written with this in mind)

I've been thinking about the idea of having secondary converters that produce file types other than HTML. I'm still thinking about where this is going to fit in the processing without complicating the plugin. I think it calls for a dedicated issue about creating PDFs (or other formats) for each page.


Welcome to HSOC'22 - Important Points!

Hey Everyone, Welcome to HSOC'22.
The Point System is decided as follows :
HSOC22-Level-1   -  5 Points
HSOC22-Level-2   -  10 Points
HSOC22-Level-3   -  20 Points
From My side, Contributing 2 code file will fetch you Level-1, 3 code files for Level-2 and atleast 5 code files for Level-3.
(We can change Levels if you get it difficult to contribute this much!)

Do not start your work until assigned.
If any issue is not assigned in 9 hours, Tag me on discord. (Except Night time :p )
If your PR is not checked within 12 hours, Tag me on discord!
Feel free to reach me on Discord for any kind of difficulties.
Hope you have a great time in open source!

Can I work on this ? I have to made readme file right?

Can I work on this ? I have to made readme file right?

Readme file already exists. You can open a new issue to modify readme like adding more details or adding links to each folder, etc.


Custom Label Logic

This topic addresses #408
I added an extra argument to seq_trace and render_seq_trace, that accepts an extra argument to augment the labeling logic.
I have not tested the code yet, nor did I see any tests in the repo.
I hope it works.
I am now going to test this in a project I'm working on, and might add an extra commit that augments the example, showing off what the custom label can do.
I've also exposed label_from_value as I think it may add some value to people's custom's logic's
  @spec foo(term()) :: label_response()
  defp foo(message) do
    case message do
      {:"$gen_call", _ref, {:special, _, msg}} -> "CALL: #{label_from_value(msg)}"
      {:"$gen_cast", _ref, {:special, _, msg}} -> "CAST: #{label_from_value(msg)}"
      _ -> :continue
    end
  end

is one such logic I used in mocking up what I wanted to do. I will get a better example as I make more examples.

The code seems to work!

I have also provided an example in the documentation now on how to run the new message_label option

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


Remove auth flow add avatar in settings

Relevant Task: https://github.com/roots-id/roots-react-native/issues/22

[x] Remove Auth Screens
[x] Update user messages
[x] Update Settings to set avatar/name/protected-pin
[x] Change splash bg
[x] Add icons in messages

@2byrds
Check this out, i have covered following cases here.

[x] When I change my profile pic, I would like to see that reflected some where. It didn't change my activity log icon
[x] I also couldn't send myself (in activity log) or send RootsID Discord a message, to see my new profile avatar and name reflected.

https://user-images.githubusercontent.com/19255438/204910335-373783dc-4324-460a-8f85-5843d2a815a8.mov
However, I am not sure about the "I tried to click on the user icon but the profile didn't open on android and didn't open on ios", Do you want to click on avatar from settings and open up user-detail modal? I think we dont need that as avatar is in edit mode their and only represents a picture preview.
let me know what you think of it.

Looks good in iPhone

Looks good on android

@HunnySajid I'm not sure how to test the pin protection.

@HunnySajid I'm not sure how to test the pin protection.

@2byrds currently it is not protected by pin, I can make it to do so.
Then, once app is protected by pin and user returns to app after closing it, he would have to enter pin instead of landing on the relationship detail screen.
I can use the same auth flow for that.

@HunnySajid I'm not sure how to test the pin protection.

I have created a separate task for that. Do add anything if you want.


Fetch Orders is not supportet by bitcoincoid

can you make this software to fetch order in bitcoincoid...?
I am from Indonesia and I appreciate your work..
thank you very much...

Should work with alpha3


[Important Announcement] Retiring Git LFS Service

Dear Apollo Developers,
Due to a fatal bug with Git LFS that has caused restricted access to Apollo repos, we have decided to retire the service from all Apollo repos. On May 14th 2:07 PM Pacific Time, the Apollo Team has completed the migration. We are sorry for any inconveniences this may cause you.
We have compiled a list of steps that you can take to avoid being affected by this change.
For those of you who have not made any local changes:

Disable LFS on your computer:

- git lfs uninstall
- git lfs prune

Sync with our most up-to-date Apollo repo:

- git pull — rebase upstream master where “upstream” is your defined alias of our Apollo repo

Hard reset your forked repo:
- git push -f original master

For those who have made local changes but have not submitted the changes:

Save your changes
Repeat the above steps 1 to 3
Re-apply the changes

For those who have local changes and have been submitted to your forked repo,
please cherry-pick those changes to the new repo and submit your commits.
Please note if your repo did not sync with ours, you will still be using the Git LFS service. However, once the service is disabled, there is a high likelihood that your access to Apollo repos will be blocked/denied. To avoid such an incident, please follow the steps listed above that best fit your situation.
If you are still experiencing issues, you can always re-fork the repo. Let us know if you need any assistance on this process by creating an issue. As always, we appreciate your support to the Apollo Project!
Best,
Apollo Team

@Zhenni17 Could you list some references of the fatal bug for better traceability? Thanks.

Hi @left4taco , the fatal bug would prevent us and external developers' access to our Apollo repos, so it was defined as a fatal bug. Hope that answered your question!

@Zhenni17 Thanks for replying. But could you be more specific on that? Like what was the behavior of git-lfs before? How to reproduce the bug?

@left4taco if you go through the previous issues, you will see many developers struggling to build Apollo due to how buggy GitLFS was. Also, a lot of new developers wrote to us about how they could not access our repo. Just search for Git LFS in the issues section. Thanks!

Hi,
The quick-start guide to installing Apollo still says that you need to install Git LFS.
This is untrue, right?  Should this install guide be updated?

Hi,
The quick-start guide to installing Apollo still says that you need to install Git LFS.
This is untrue, right? Should this install guide be updated?

Thank you! Fixed with https://github.com/ApolloAuto/apollo/pull/10278.


Signing Error

Import the following testnet wallet and attempt send:
disorder exile ranch list pitch view base lobster jaguar riot tobacco festival
The fingerprint for public and private wallet matches however we get an Invalid Key error.

Using the default created Bull Wallet was using rootXKey instead childXKey to create wallets.
Sign function derives the childXKey.
Anyone who has funds stuck in this wallet can get a separate release where we sign with rootXKey instead.

Fixed in 0.1.8


Do we make the Event Instance Date Time Formatted field on Summit Events Registration object a formula field?

Do we make the Event Instance Date Time Formatted field on Summit Events Registration object a formula field?
Describe the solution you'd like
The Event Instance Date Time Formatted field is populated due to code when a registration record is created, taking the information from the instance and placing it in a text field.  The issue is that most of that data surrounding it are formula fields from the instance.  When users update the instance or perhaps change the lookup instance on the Registration record, all the fields update, but the Event Instance Date Time Formatted field.  Users were expecting that field to update as well.
Describe alternatives you've considered
I can create a formula field that would have all the pieces except the time zone abbreviation which the users could add to a template themselves.
To help determine if a recipe may be more appropriate, please share other use cases, if possible, this functionality would benefit from.
I think users could do the same thing that I am doing, but it might alleviate confusion if it were in the package and the text field that is not a formula is removed.
Are you willing and interested in being engaged during the development and testing process?
Yes

Would it be possible to create this field as a true formula field? Currently this is just a formatted timestamp of sorts generated by code at the time of registration.


PyMCon

Hi everyone!
As you may have already seen on Twitter or on PyMC Discourse, we are planning a virtual conference for the PyMC community. All the information is available in the Discourse post.
We are currently looking for conference chairs and volunteers and would be very grateful if you could share the word! We also want to encourage any of you to, if you are interested and available, apply to be a conference chair.

We have also put together a presentation about chair and volunteer tasks, in case it helps. We will consider chair applications until July 24th, after which I will close the issue, unless you prefer to close it before.


classes

can you please tell me how to add classes to Java. They really help to organise things. Also, can you add an email address so we can send emails for other problems we have?

@Arichang A simple search in google will find you answers for the queries you have.
Closing as not relevant to Brackets.


Hide fade if content too small to be scrollable

It may happen that content inside the scollable is too small.
In that case Flutter handle it quite well : Ripple effects are disabled along with scrolling.
But the fade stays.
How to hide the fade in that case ?

Could you provide example source code and/or screenshot so I can better understand the problem?

Here is a small sample.
Normal, expected scenario
    return Scaffold(
      backgroundColor: Colors.grey,
      body: SafeArea(
        child: Column(
          children: <Widget>[
            Container(
              color: Colors.red,
              width: 500,
              height: 50,
            ),

            FadingEdgeScrollView.fromSingleChildScrollView(
              gradientFractionOnEnd: 0.9,
              child: SingleChildScrollView(
                controller: controller,
                scrollDirection: Axis.horizontal,
                child: Container(
                  color: Colors.red,
                  height: 200,
                  width: 500,
                ),
              ),
            ),
          ],
        ),
      ),
    );

Too small to scroll, unexpected behaviour
    return Scaffold(
      backgroundColor: Colors.grey,
      body: SafeArea(
        child: Column(
          children: <Widget>[
            Container(
              color: Colors.red,
              width: 500,
              height: 50,
            ),

            FadingEdgeScrollView.fromSingleChildScrollView(
              gradientFractionOnEnd: 0.9,
              child: SingleChildScrollView(
                controller: controller,
                scrollDirection: Axis.horizontal,
                child: Container(
                  color: Colors.red,
                  height: 200,
                  width: 100,
                ),
              ),
            ),
          ],
        ),
      ),
    );

In that second case, because child is only width 100, there is nothing to scroll, so it should NOT display the fade effect.
Thanks :)

I have the same problem, listview not scrollable because fit in the screen but fade displayed at the bottom.

@mponkin the problem is in fading_edge_scrollview.dart line 154 and 213.
_isScrolledToEnd is set to false by default and is changed with _onScroll but if it's not scrollable _isScrolledToEnd should be set to true in initState like _isScrolledToStart

@mponkin @Nico04
i used this in initState to fix the problem of fading_edge_scrollview.dart:
    WidgetsBinding.instance.addPostFrameCallback((_) {       if (_isScrolledToEnd == null &&           _controller.position.maxScrollExtent == 0) {         setState(() {           _isScrolledToEnd = true;         });       }     });
and removed isScrolledToEnd default value
  bool _isScrolledToEnd;

@dannyalbuquerque That worked for me. Are you going to raise a PR for this? If you are not i can raise a PR on your behalf, if you don't mind?

@georgeherby i didn't plan to raise a pull request. You can do it, no problem.

I have just realised that this solution does not work if the view can be resized by the user. As currently, the code you provided does not fire unless there is a scroll event and that is not triggered if you resize the window as for example if you resize the window (i am trying on a macOS app) the facemask does not appear or disappear until I scroll.
As a nasty workaround, I put inside the build function (as this triggers on screen build) some code for sorting this probably needs to be wrapped in a checker for Desktop/web (platforms that allow dynamic views sizing)
Ideally, I would have a listener for this but i don't think there is one for application resizing.
    if (_controller.hasClients && (kIsWeb || Platform.isWindows || Platform.isLinux || Platform.isMacOS)) {
      final offset = _controller.offset;
      final maxOffset = _controller.position.maxScrollExtent;
      if (maxOffset == 0 && offset == 0) {
        // NOT SCROLLABLE
        _isScrolledToStart = true;
        _isScrolledToEnd = true;
      } else if (maxOffset == offset) {
        // SCROLLABLE BUT AT END
        _isScrolledToStart = false;
        _isScrolledToEnd = true;
      } else if (maxOffset > 0 && offset == 0) {
        // SCROLLABLE BUT AT START
        _isScrolledToStart = true;
        _isScrolledToEnd = false;
      } else {
        // SCROLL IN PROGRESS
        _isScrolledToStart = false;
        _isScrolledToEnd = false;
      }
    }

I have found the place to put it :) didChangeMetrics.
PR coming soon :)

PR is merged and included to inversion 1.1.2. Thanks for cooperation :)


ocsinit: Create SCCs required for Rook

The OCSInitialization controller now creates the SecurityContextConstraints
required by Rook.

/hold
Till I can confirm SCCs get created and Rook and the CSI drivers run fine.
I can confirm that SCCs get created, and Rook runs. On creation of a StorageCluster, I get the mons up correctly. But the osd prepare jobs all fail. The failures don't seem to be a SCC issue, but is preventing further testing of the CSI drivers. This could also be because of the update to Ceph 14.2.3.

/hold cancel
The issue was with the Ceph 14.2.3. Reverting to 14.2.2 fixed it.


Email notification

Receiving an email notification for 2 functions:

Unread messages past a certain time interval as a forcing function to return back to the platform
Inviting/on-boarding new users not currently set up with an account

+1
The invitation part is part of a larger feature (#33)

Unread messages past a certain time interval

:+1:

+1


Multiapps config: undescriptive error in case of missing device config

Description
In a use case where a configuration is defined with an app in the new format (i.e. with an app or even apps field), but a device is not specified (rather, an explicit type is used - e.g. "type": "ios.simulator"), the resulted error is this:
Missing "binaryPath" property in the app config.

Which isn't helpful. Need to consider this use case in the config validation, and output a clearer error.

Yeah, will do. Thanks.

@d4vidi, could you provide an exact Detox config where this issue reproduces?
Unfortunately, I am not able to reproduce this according to the description.
Let's make bug reports less vague, ok? What would it have costed for you to paste an excerpt of Detox config back then, right? 😊

Hmm. IMO, the description is pretty clear 😄
You can try to edit one of Detox' self configs - have the device removed, and instead add a type field. Does it not reproduce this way? 😢

Resolved in 18.16.0.


Create a channel logger plugin

This relies on completion of #58 (web UI) first, in order to display the logs.
Ideally, I'd like the following features:

[ ] Log all messages sent to a channel
[ ] Log all joins/parts/quits
[ ] Log all nick changes
[ ] Timestamps on every action
[ ] Ability to permalink to any logged message
[ ] A nick list that shows who was online during the portion of the convo you are viewing

Logging should be quite easy using Cardinal's events. The web UI is the only tricky part currently.

wouldn't a regular txt log make sense too? I know a lot of pages that use them and it wouldn't require the web UI.
Parsing the nick list is actually not too easy (unless you just show the active conversation members).
I would add options to disable join/parts in the logs in the config.json.

@S0lll0s Parsing the nick list should actually be easy. A simple NAMES lookup will fetch the list, and from their you just listen for KICK/JOIN/PART/QUIT messages, all of which are emitted by the Event Manager. :)
I'm not opposed to creating a txt file as a first pass, but I'd definitely like this to be publicly viewable and hosted on a web UI at some point if the user so chooses.

I didn't mean the looking up names during logging, I meant extracting "current users online" information from a regular (text) log. As you want to store the info in a custom format / db, that issue is probably resolved by simply storing "user sessions" with a join-time/part-time schema and filtering that according to the current time (in a text look you would have to scan the whole text log to determine the users online at any time).


UART send break without any data

Hi,
I need to set up a UART connection for my project. The receiver waits for a specific 'Start Communication' pattern which looks like this:
//Tx Signal: --------------                 -------------------
//                         |                |
//                         |____0.025sec____|

In recent projects the pull down is done by sending break.
From specs the only way to send breaks is to use the uart_write_bytes_with_break function.
int uart_write_bytes_with_break(uart_port_t uart_num, const char *src, size_t size, int brk_len)

How is it possible to only send that pattern? It's important that the pull down time is exactly 0.025 sec.
thanks.

Maybe don't use UART at all. RMT is great for this kind of exact timing things. You'll have to implement UART yourself, but it's very easy. You will be constrained to the message length, though.
If you can downgrade "exactly" to something around +/- 10ms, then a task or timer with uart_write_bytes will do too.
Also, why doesn't uart_write_bytes_with_break work for you?

Hi,
thanks for your response.
It has to be UART. It's defined by K-Line Spec (10400 Baud, single wire interface)
Exactly means +/- 1ms. So uart_write_bytes won't be exact enough.
I cant use uart_write_bytes_with_break because it will pull up the line between data and break
-----            ---    --------
     |          |    |  |
      ----------      --
       Data          break

So the only possibility is to create my own UART driver?!

As far as I see UART always sends zeros in the break: https://github.com/espressif/esp-idf/blob/ff6a3b1a11032798565d7b78319444aa81881542/components/soc/esp32/include/soc/uart_reg.h#L738
But what is a zero is configurable: https://github.com/espressif/esp-idf/blob/master/components/driver/include/driver/uart.h#L259
Maybe you could attach to some UART interrupts and be able to set up these things on the fly?
Not sure if it's the only way, someone could have a better idea. Especially someone from Espressif.

https://esp32.com/viewtopic.php?f=13&t=1476

uart_set_line_inverse looks good. I can create a nice square wave signal.
With a little fine-tuning regarding the timing it should work.
Thank you for that idea.


dry-types version in gemspec

The gemspec restricts to:
'dry-types', '~> 0.12.0'

which prevents using the HEAD of types with validation now that types is at 0.13/1.0.0.beta.
Since the legacy hash schema api is still around, I am hopeful you can just loosen that restriction in validation/HEAD (without needing to make big code changes).

fixed with https://github.com/dry-rb/dry-validation/commit/14d2f1dce362df69d717ba9092171a49bfb4eb31


Anonymous login broken? | GDPR conformity

Hello everyone!
Your priorities looks like a fantastic tool and we are strongly considering it for our mobility project "Cities4People".
Anonymous login
1)I have an issue with the anonymous login though. As users have to login and provide their name and email address, I think the site would be required to have a GDPR statement (and at Signup a checkbox to agree to it) for use in Europe, right?
I cannot find a GDPR statement on the your priorities website though.
I thought we could bypass the problem by marking our group as "automatic anonymous login" + "allow anonymous users" - however the page remains unaccessable without logging in.
This is my anonymous test group: https://yrpri.org/group/1622
Am I doing something wrong - or is the anonymous login broken?
If it really is a bug, we could consider fixing it and make a pull request - would that be possible?

GDPR conform signup
I am not a specialist on the GDPR topic - however it seems to me that you would need a privacy declaration and a opt-in box where people agree to the use of their data and the receiving of emails.

We could even consider making a pull request for this.
Thank you for your help!
Andre

Hello Robin!
Wow!
Thanks for the fast and detailed answer.
Fantastic news about the GDPR statement + new signup form.
Thanks for the instructions on the auto login.
Thank you for offering your contact, we might be in touch a bit further down the road.
Best
Andre :)

@andredaa - the GDPR signup terms pull request is ready and we'll merge it tomorrow do around of QA and then launch it on the live server tomorrow night. https://github.com/CitizensFoundation/your-priorities-app/pull/21

Thank you!


http2 test fix

Fix the test on http2.

There is an issue in express-session https://github.com/expressjs/session/issues/888 , it call _implicitHeader on Http2ServerResponse, which is not exist. So I add a property named _implicitHeader on Http2ServerResponse in test file test/node/agency.js.
The test/support/express/responseDecorator.js call the package statuses in wrong way. So I fixed it.
All node version will try to test on http2 now.
There an confused test case in test/node/http2.js , I have no idea what it wanna test. So I skp it.

Codecov Report

Merging #1723 (b8bf5e8) into master (34c9ff4) will increase coverage by 7.32%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1723      +/-   ##
==========================================
+ Coverage   86.76%   94.08%   +7.32%
==========================================
  Files          14       14
  Lines        1133     1133
==========================================
+ Hits          983     1066      +83
+ Misses        150       67      -83

Impacted Files
Coverage Δ

src/node/index.js
93.64% <0.00%> (+0.37%)
:arrow_up:

src/node/http2wrapper.js
96.29% <0.00%> (+75.00%)
:arrow_up:

Continue to review full report at Codecov.

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


Add new tracking website

Describe your suggested feature
can you add anilist in the app for tracking because they are people like who use anilist
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with a source, I should be opening an issue in the sources repository.
[X] I have updated the app to version 1.1.14.
[X] I will fill out all of the requested information in this form.

https://github.com/LNReader/lnreader/pull/631
Available in the pre release repository, pending stable build


fix(aggregation): shorthand access for index 0

fixing unintended side effects of get$Shorthand(0) -
get$Shorthand(1..n) worked fine!
closes #124

lgtm ;)


add missing print_pids option documentation

It's not missing, it's not actually implemented in redbug.
iex(6)> :redbug.start('erlang:term_to_binary', [print_pids: true])
{:no_such_option, :print_pids}


Update CLI extensions available doc

Update CLI extensions available doc.
Triggered by Azure/azure-cli-extensions - TRAVIS_BUILD_ID=395930863
https://github.com/Azure/azure-cli-extensions/commit/a317e040a586f9924bc7e54548f868ca21ee8766

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/azure-cli-extensions-list.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Fix issue where linkified URLs were re-added

Fix #390.
The issue was we weren't adding the right class to the linkified URLs. This issue would have presented itself anywhere we linkify a URL and navigate via a pjax route.
I fixed the issue and pulled the common class and attrs out since it's repeated in a bunch of places.

Rebased on master.

Thanks for fixing so quickly ✨

You bet. Sorry I let that even slip in in the first place.


Update to cocoapod 1.1.1

The version on cocoapod is 1.0.3

🎉  Congrats
🚀  StatusProvider (1.1.1) successfully published
📅  November 2nd, 14:05


Enable RBAC model for Harbor

https://goharbor.io/docs/2.9.0/administration/managing-users/
Acceptance Criteria:

EDP user can only manage own artifacts in Harbor;
use OIDC approach;
align documentation and source code;

postpone for now


order by 多字段expression sql语句重写错误

Please answer these questions before submitting your issue. Thanks!
Which version of Sharding-Jdbc do you using?
<IP_ADDRESS>
Expected behavior
select
id, ugc_id, subject_id, subject_type, order_id, reply_user_count, upvote  from ugc_info_0
WHERE (  subject_id = ?
and subject_type = ?
and parent = ? )
AND  deleted = 0
order by upvote + 2 * reply_user_count DESC
Actual behavior
select
id, ugc_id, subject_id, subject_type, order_id, reply_user_count, upvote,
upvote + 2 * reply_user_count DESC AS ORDER_BY_DERIVED_0   from ugc_info_0
WHERE (  subject_id = ?
and subject_type = ?
and parent = ? )
AND  deleted = 0
order by upvote + 2 * reply_user_count DESC
Steps to reproduce the behavior
Please provide the reproduce example codes (such as github link) if possible.

不支持这样的sql。sharding jdbc用于处理面向互联网的海量数据。请先确定你的sql是否有可能和必要跑在基于两亿数据的查询。相信贵公司的dba不会同意这样的sql通过吧

@terrymanu  系统中涉及的表除了两亿多的数据外，也可能会存在小数据量的表，但是系统中引入sharding jdbc + mybatis后，sql语句的解析都会交给sharding-jdbc来处理，这样造成了对小表的排序查询也出现了异常。

参加faq第10个问题，我想在这个场景同样适用。
shardingjdbc.io/docs/01-start/faq/


Local developer environment god mode button

We need to add a button to the local dev environment, maybe on the account page next to the admin toggle, that will automatically do some of the things mentioned in this forum post:

Turn the user into a premium user so she can play the premium levels.
Give the user a ton of gems.
Give the user a ton of experience points.
Stop locking levels.
Stop locking items.

It will probably be a button which makes a request to the server to modify the User object for 1-3, and some client-side logic to respect the godMode flag for 1, 4 and 5, plus a bit of server-side logic to respect it for 1, also.

Did you mean a button like this?

Wouldn't it be better to use a toggle like with admin?

Yeah, just like that. It will take actions that we don't want to bother reversing (like adding gems), so we can just leave it as a button. But it doesn't matter too much, so if we wanted to make it as a checkbox that didn't fully undo itself, that'd be fine.

This should also make you an admin.  Then we could make users in a local dev env not admins by default, which is better for testing.

I have one quick question. What is the point of giving the user a lot of gems (# 2) if you stop locking all the items (# 5)?


Not Working

This is not working for me giving  results as matching for all the faces

This lib is build on top of OpenFace  ML.

I can't improve it for now and in nearest feature.


fix!: improve slug generation

will not remove periods from the permalink
will turn underscores into dashes
day and month will be padded with 0

Current dependencies on/for this PR:

main

PR #51   👈

This stack of pull requests is managed by Graphite.


Avoid creating plots on test discovery

When running pytest --collect-only (which happens for instance when you want to explore the tests in VSCode), some matplotlib plots are created. This means there is some code that is not within a (test) function, which slows down test discovery.

Does this happen when you run in the terminal? Looking through the tests I don't see anywhere this would happen. When I run pytest --collect-only from the terminal no figures are created and it claims to have collected all in .41 seconds.

Ohh hang on, sorry :expressionless: It's after I added the doctest-modules flag that some scripts were run...
So was a bit too fast posting this. Still, it would be nice to let pytest detect any potential doctests without error.


fix userspace panic while syncing headless svc and dns resolution

Remove log statement referencing a service's ClusterIP(s) while syncing headless services
Increase UDP connection timeout fixing DNS resolution issues.

Fixes: #335
Signed-off-by: Sanskar Jaiswal<EMAIL_ADDRESS>

/lgtm
/approve
Thanks @aryan9600!


[Dropdown] Fails to initialize if no click trigger is found

On init, dropdowns look for elements [data-toggle="id-of-dropdown"] and use that for aria-describedby. However, if no click trigger is found, the plugin fails to initialize because it can't set aria-describedby. Most likely that part should just fail silently and keep going.

After further review, I'm of the opinion that this should stay the way it is, for a couple reasons. The aria support is necessary for accessibility reasons, and, there needs to be an anchor point for positioning purposes. Otherwise, there's just a dropdown-pane floating aimlessly.


HANDLE cannot be passed between threads

Summary
In the latest 0.58 version, HANDLE cannot be passed between threads. In the case of CreateEvent, this seems like exactly what one would want/need to do. Any ideas?
Crate manifest
No response
Crate code
No response

See #3169


docs:  add section on integrating with UI component libraries

As a suggestion, it would be great if there were some docs on how to integrate with popular UI component libraries such as Shadcn or DaisyUi.  There are likely others.  Being able to quickly and easily integrate with such libraries is a great excelerator for creating beautiful websites.

+1

I will be adding peoples requests to the FreshNpm library. A lot of libraries has been requested, so may take some time for a specific one, but they will come. ;) More advanced packages will need documentation, and that will be a feature I will add soon...

any updates? crazy that shadcn doesn't work with Fresh, literally the only thing stopping me from using it

I haven't dug into this myself but someone seems to have cracked shadcn:
https://discord.com/channels/684898665143206084/991511118524715139/1234016602178064444
On Sun, 28 Apr 2024, 07:27 spxneo, @.***> wrote:

any updates? crazy that shadcn doesn't work with Fresh, literally the only
thing stopping me from using it
—
Reply to this email directly, view it on GitHub
https://github.com/denoland/fresh/issues/2219#issuecomment-2081353422,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJQX3W6EVQT6PRABPLRCMTY7SJF5AVCNFSM6AAAAABBS2HPN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGM2TGNBSGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Duplicate of https://github.com/denoland/fresh/issues/2219

This is #2219, @marvinhagemeister.
To be clear, this doesn't make much of a difference to me, I'm just reading through the recently updated issues list 🤷♂

🤦

any ideas?

Is there any follow-up?


Question: How z buffer range considered with different graphic API?

Metal depth goes from 0.0 at the near plane to +1.0 at the far plane, but opengl goes from -1.0 to 1.0.
I found the glm library  of the currrent version ref by oryol ,  method glm::frustum matrix will make z value goes from -1.0 to 1.0.
So If we use  oryol metal backend, and use glm library of this version,
pass projection matrix from glm::frustum to shader, will cause z value goes from -1.0 to 1.0?
I can't find any code that oryol will consider this issue, or just I missed something?

The shadow rendering setup in the Bullet-Physics samples has some example code of how to deal with that problem:
https://github.com/floooh/oryol-samples/blob/424f4bce7929bb6002753be3537cdb2033d8cc19/src/BulletPhysicsCloth/BulletPhysicsCloth.cc#L114-L125
However, this shouldn't be needed in normal rendering situations, because SPIRVCross (used in the oryol-shdc tool) adds a fix to vertex shaders to "normalize" the clip space between the different 3D API conventions so that rendering can happen with the same projection matrices, no matter what 3D backend is used.
https://github.com/KhronosGroup/SPIRV-Cross/blob/master/README.md#clip-space-conventions


Create a new Constructor function that creates transfer message with Metadata

Create a new constructor function that takes in metadata that gets included in the packet data struct. This should not replace the existing method to maintain backwards compatibility

I'd prefer to break API when merging into v6. We could create a new constructor, but I don't see a reason to maintain it long term. I think it makes more sense for pre v6 versions to expliticly create their packet data with:
packetData := transfertypes.FungibleTokenPacketData{
    ...
    Memo: memo,
}

Do we know which versions we're targeting for the backports?

Do we know which versions we're targeting for the backports?

v2.5.x, v3.4.x, v4.2.x and v5.1.x.

closed by #2305


Is it possible to PUT/POST application/json instead of application/x-www-form-urlencoded?

Hello,
I am setting up Her for a project.  So far, I have my custom middleware working and can get members and collections form our API.  When I update a model and call save on it though, it does a PUT, and in the logs I see the MIME type is application/x-www-form-urlencoded.  Is it possible to send JSON instead?
Thanks!

hi greg. you can use any faraday middleware with her. so in your case,
something like this should work
Her::API.setup url: 'https://api.foo.com' do |c|
  c.request :json

  # rest of your setup goes here.
end

On Mon, Oct 5, 2015 at 10:30 AM, Greg Lappen<EMAIL_ADDRESS>wrote:

Hello,
I am setting up Her for a project. So far, I have my custom middleware
working and can get members and collections form our API. When I update a
model and call save on it though, it does a PUT, and in the logs I see the
MIME type is application/x-www-form-urlencoded. Is it possible to send JSON
instead?
Thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/remiprev/her/issues/376.


[BugFix] Fix show tablet order by limit bug

What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes:
for the sql:
show tablet from test_basic order by datasize desc limit 1 \G;

we get the wrong result, the result not order by.
Problem Summary(Required):
we should handle order by first
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[x] 2.5
[ ] 2.4
[ ] 2.3

[FE PR Coverage Check]
:disappointed: fail : 1 / 2 (50.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/qe/ShowExecutor.java
1
2
50.00%
[1898]

@Mergifyio backport branch-3.0

@Mergifyio backport branch-2.5


ISPN-5783 Cache.put(null, null) leaks an implicit transaction

https://issues.jboss.org/browse/ISPN-5783

Pushed, thanks


Update quest-helper to v2.1.0

Adds Karamja Achievement Diary
Adds sections to sidebar to better organise helpers
Adds a generic helper for locating Mage Arena II bosses after that miniquest

added as #1381


Folders and files move to right unexpectly when reset accent color.

Description: It is a strange a bug. When I click reset button in accent color setting, the folders and files in file explore will move to rigth.
Reproduction: You can click reset button in accent color setting repeatedly to reproduce this bug.
Environment: Windows 10, Obsidian 1.34, Obsidianite (Dark and Light Mode), no plugin.

Take a look at Issue #89, there is a work around for this.

Fixed since v2.0.2 916f219


[decompiler] Fix rlet in top level and detect matrix and stack inline construction

Pull Request Test Coverage Report for Build 893913602

41 of 103 (39.81%)  changed or added relevant lines in 5 files are covered.
9 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.02%) to 69.678%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

test/offline/offline_test_main.cpp
0
1
0.0%

decompiler/IR2/Form.cpp
0
11
0.0%

decompiler/analysis/insert_lets.cpp
34
58
58.62%

decompiler/analysis/final_output.cpp
0
26
0.0%

Files with Coverage Reduction
New Missed Lines
%

decompiler/analysis/final_output.cpp
2
10.71%

goalc/listener/Listener.cpp
3
84.42%

decompiler/IR2/Form.cpp
4
74.58%

Totals

Change from base Build 893271006:
0.02%

Covered Lines:
36060

Relevant Lines:
51752

💛  - Coveralls


pythonPackages.qrcode: Fix "No module named pkg_resources" error

Motivation for this change
Right now qr will throw:
Traceback (most recent call last):
  File "/nix/store/1avr62jc76yjcsm6v0960mffxl7972a4-python2.7-qrcode-6.1/bin/.qr-wrapped", line 11, in <module>
    sys.exit(main())
  File "/nix/store/1avr62jc76yjcsm6v0960mffxl7972a4-python2.7-qrcode-6.1/lib/python2.7/site-packages/qrcode/console_scripts.py", line 36, in main
    from pkg_resources import get_distribution
ImportError: No module named pkg_resources

This fixes this by adding the setup-tools dependency.
Things done

[x] Tested build and execution on x86_64_linux
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Yep, that looks better, also needs to be backported to 19.09.


pedantic improvements (variables in ${}, printf instead of echo)

Hello,
Thanks for your contribution! I am not maintaining bish currently, but I appreciate the PR nonetheless.
I checked out your branch locally but it appears the new test is failing on my machine:
$ ./bish -r tests/twelve.bish
', line 1 token character at character '
Assertion failed: (false), function get_token, file src/Tokenizer.cpp, line 252.
Abort trap: 6

There also appears to be an extra file 1.bish that should be removed.

Oh gosh it's the CRLF again.


Flyway execution time is way longer with newer version of flyway

Which version and edition of Flyway are you using?
Flyway 7.10.0
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Command-line
Which database are you using? (Type & version)
Oracle 12.2
Which operating system are you using?
AIX and Linux
What did you do? (Please include the content causing the issue, any relevant configuration settings, the SQL
Just doing an info on a database
What did you expect to see?
I get the expected output but it takes much more time than with flyway 7.3.1 that we use currently
FLYWAY 7.3.1
BEGINNING: Tue Jun 22 09:31:01 EDT 2021
Flyway Teams Edition (unlimited schemas) 7.3.1 by Redgate licensed to ********* until 2023-10-01
Database: jdbc:oracle:thin:@//*********:1521/OLTP_HISTP (Oracle 12.2)
Schema version: 1
+-----------+-----------+-----------------------------------------------+----------+---------------------+----------+----------+
| Category  | Version   | Description                                   | Type     | Installed On        | State    | Undoable |
+-----------+-----------+-----------------------------------------------+----------+---------------------+----------+----------+
|           | 1         | << Flyway Baseline >>                         | BASELINE | 2021-06-21 10:51:04 | Baseline | No       |
| Versioned | 02.001.00 | modification structure table MVT              | SQL      |                     | Pending  | Yes      |
| Versioned | 02.002.01 | ajout de donnees table CTL UD TO UDE MAPPING  | SQL      |                     | Pending  | Yes      |
| Versioned | 02.003.00 | drop des vues inutiles                        | SQL      |                     | Pending  | Yes      |
| Versioned | 02.004.00 | drop des tables inutiles                      | SQL      |                     | Pending  | Yes      |
| Versioned | 02.005.00 | modification index table MVT USER DATA DIM 11 | SQL      |                     | Pending  | Yes      |
| Versioned | 02.006.01 | suppression de donnees tables MAPPING         | SQL      |                     | Pending  | No       |
+-----------+-----------+-----------------------------------------------+----------+---------------------+----------+----------+
END: Tue Jun 22 09:31:08 EDT 2021
FLYWAY 7.10.0
BEGINNING: Tue Jun 22 09:54:16 EDT 2021
Flyway Teams Edition (unlimited schemas) 7.10.0 by Redgate licensed to ***************** until 2023-10-01

Flyway Community database support extension 7.10.0 by Redgate
GCP Spanner/BigQuery database support (beta) 7.10.0 by Redgate
Database: jdbc:oracle:thin:@//**********:1521/OLTP_HISTP (Oracle 12.2)
Schema version: 1

+-----------+-----------+-----------------------------------------------+----------+---------------------+----------+----------+
| Category  | Version   | Description                                   | Type     | Installed On        | State    | Undoable |
+-----------+-----------+-----------------------------------------------+----------+---------------------+----------+----------+
|           | 1         | << Flyway Baseline >>                         | BASELINE | 2021-06-21 10:51:04 | Baseline | No       |
| Versioned | 02.001.00 | modification structure table MVT              | SQL      |                     | Pending  | Yes      |
| Versioned | 02.002.01 | ajout de donnees table CTL UD TO UDE MAPPING  | SQL      |                     | Pending  | Yes      |
| Versioned | 02.003.00 | drop des vues inutiles                        | SQL      |                     | Pending  | Yes      |
| Versioned | 02.004.00 | drop des tables inutiles                      | SQL      |                     | Pending  | Yes      |
| Versioned | 02.005.00 | modification index table MVT USER DATA DIM 11 | SQL      |                     | Pending  | Yes      |
| Versioned | 02.006.01 | suppression de donnees tables MAPPING         | SQL      |                     | Pending  | No       |
+-----------+-----------+-----------------------------------------------+----------+---------------------+----------+----------+
END: Tue Jun 22 09:56:29 EDT 2021

Closing as this is being dealt by official support, however feel free to leave comments here for others

After testing several versions between 7.3.1 and 7.10.0 we found that the issue is introduced in 7.9.0.
Adding the -skipCheckForUpdate option solved the performance issue


Suggested desturl calculation

On my implementation the url generation didn't work optimally as I used dates rather than page numbers to fetch the next page.  Since each new pull grabbed the next page link as well I simply changed the desturl calculation to fetch the href of the last opts.nextSelector on the page.  It works perfectly.  It might be a nice configurable option.
desturl = (typeof path === 'function') ? path(opts.state.currPage) : $(opts.nextSelector).last().attr('href');

Sorry to hear you're having trouble with Infinite Scroll.
Infinite Scroll v3 is out!. It's an all new re-write, so take a look at how to upgrade from v2.
You can set path to a function to return a string of the next page URL.
I recommend upgrading to v3. Please open a new issue if you run into trouble with Infinite Scroll v3. 🌈🐻


possibility to use the crate in no_std environments

Use alloc crate as dependency for dynamic memory. This allows to use the crate without std. As default, the feature alloc is enabled. This will enforce to use the crate as before. But it can be turned off to use it without the alloc stuff. Would allow using the easing functions in no_std environments.

Nice work! There's a lot of formatting changes but that's due to rustfmt, which I should have used from the start anyway. :slightly_smiling_face:
I still need to get #9 and #10 sorted out but once that's done I'll bump the version on crates.io to 1.1.


Saving paths in binary when importing font

Was discussing the problem on IRC and was advised to create an issue here about this.
Some paths to the original files are saved in the binary when importing a font, causing  problems when sharing the project with the rest of our team. Check out the link below for more details.
Original post https://godotdevelopers.org/forum/discussion/18094/what-is-the-correct-way-to-import-a-bitmap-font-we-get-load-errors#latest

Is there the same issue with other kinds of imported resources, like 3D scenes?

@bojidar-bg We just tried importing a simple 3D asset, adding it to a scene and push the project, and doesn't seem to be a problem there.
Just remembered, we are also using some imported translations files which are fine, only complains if the .csv file isn't included but that's of course something different and ok.
So far, just the fonts causing trouble here.

Related to #7248

@bojidar-bg ah perfect, we will give the temp solution addressed there a look, and if that solves our problem, ill go ahead and close this issue and throw an upvote over there instead so we don't have multiple issues for the same bug

I'd close the other one, as this is more general though... What is your opinion @godotengine/bugsquad

@bojidar-bg I think you are right

I think we at least should include the temporary solution somehow :) Always great with a quickfix

@Keetz you mean to resave font as tres?

@kubecz3k well, yea, there we go, the temporary solution is now in this thread too xD
But it's nice with the picture and everything, we for sure didn't think of saving as tres and editing the path in that file

Seems to occur only when importing on Windows

If it indeed happens only on windows, then the problem is either somewhere in the platform's filesystem management (esp. if there are other similar issues here and there which only happen on windows), or has something to do with / vs. \ and disk drives.

Can't reproduce this on Win7, maybe a Win10 issue

This is possibly also related to #6153

I was victim of this bug. Windows 7 64 bit.
Here is the *.fnt file that I created with ShoeBox: pxelfont.zip
There is 2 problems with it
1 - The importer creates it's own *.fnt (in binary) and *.png but the binary *.fnt still have reference to the old *.png created with ShoeBox.
2 - The reference itself is an absolute path so it really took me hours to debug why my android export wasn't working.

This method of importing will go away in Godot 3.0, and no change will happen for 2.x at this point

That's a shame. I'll try to fix it myself as it's a blocker for our game. @reduz any input/direction would be appreciated

I do believe it must be possible (and needed) to fix this in 2.1.x even if 3.0 will have a different import system.
IMO it's much better not to have an automatic reimport of fonts than to have their source path hardcoded in the file. So if someone comes up with a fix, please still make a PR so that we can review it for merging into 2.1 :)
Note also that #7248 documents a workaround to fix the issue (save as .tres, edit the path manually).
I guess a place to start looking at would be the font importing code: https://github.com/godotengine/godot/blob/master/tools/editor/io_plugins/editor_font_import_plugin.cpp

@akien-mga I'll do my best to solve it
About saving it in *.tres format, how do I do that? When I manually put a *.tres extension to the export filename godot complains about it should be *.fnt.

@tapir See https://github.com/godotengine/godot/issues/7248#issue-193475491 it's explained there.

First of all thank you for your report and sorry for the delay.
We released Godot 3.0 in January 2018 after 18 months of work, fixing many old issues either directly, or by obsoleting/replacing the features they were referring to.
We still have hundreds of issues whose relevance/reproducibility needs to be checked against the current stable version, and that's where you can help us.
Could you check if the issue that you described initially is still relevant/reproducible in Godot 3.0 or any newer version, and comment about it here?
For bug reports, please also make sure that the issue contains detailed steps to reproduce the bug and, if possible, a zipped project that can be used to reproduce it right away. This greatly speeds up debugging and bugfixing tasks for our contributors.
Our Bugsquad will review this issue more in-depth in 15 days, and potentially close it if its relevance could not be confirmed.
Thanks in advance.
Note: This message is being copy-pasted to many "stale" issues (90+ days without activity). It might happen that it is not meaningful for this specific issue or appears oblivious of the issue's context, if so please comment to notify the Bugsquad about it.

The 2.1 branch is no longer actively worked on by engine developers, unless critical fixes are needed for current games in production. As such we are now closing non-critical bug reports affecting only the 2.1 branch.
Please comment if this was incorrectly triaged and is still relevant in 3.x versions.


Upgrade Tibber library, support solar production

Description:
Upgrade Tibber library, support solar production
https://github.com/Danielhiversen/pyTibber/commits/master
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

Is this updated on the new update version 0.90.2?

No,  will be part of 0.91


BindingsRecorder is bug-1?

Hi,
I think "BindingsRecorder" class has a bug in function "String[] getBindings()"
`  String[] getBindings() {
final String[] result=new String[bindings.size()];
for (int i=0;i<bindings.size();i++) {
  Object binding=bindings.get(i);

  if (binding!=null) {
    result[i]=bindings.get(i).toString();
  }
  else {
    result[i]=""; // SQLCipher does not like null binding values
  }
}

return(result);

}
`
ref : android.arch.persistence.room.RoomSQLiteQuery

private constructor comment
because, 1 based indices... we don't want to offsets everything with 1 all the time.
ref method bindTo
for (int index = 1; index <= mArgCount; index++)

so modified code is : bindings.get(i+1)
refer below
`  String[] getBindings() {
final String[] result=new String[bindings.size()];
for (int i=0;i<bindings.size();i++) {
  Object binding=bindings.get(i+1);

  if (binding!=null) {
    result[i]=bindings.get(i+1).toString();
  }
  else {
    result[i]=""; // SQLCipher does not like null binding values
  }
}

return(result);

}
`

I think "BindingsRecorder" class has a bug in function "String[] getBindings()"

Do you have a test case that demonstrates the bug?

Some do not think as bug. It works right and is not crashed.
But code is not correct
When bound index 1 = 15 and index 2 = 20,  Sparse array variant - bindings is set [1, 15] [2, 20]
returned String[0] = "", returned String[1] = "15"

Closing this issue as not reproducible. If you come up with a test case that demonstrates the problem, attach it, and I can reopen the issue.