Scroll behaviour not working on body when no explicit height is set

For some reason, I can't get the scroll behaviour to work. Even in an absolute minimalist setup like this:
HTML:

drag me

JS:
import {polyfill} from "mobile-drag-drop";
// optional import of scroll behaviour
import {scrollBehaviourDragImageTranslateOverride} from "mobile-drag-drop/scroll-behaviour";
polyfill( {
    // use this to make use of the scroll behaviour
    dragImageTranslateOverride: scrollBehaviourDragImageTranslateOverride
} );
window.addEventListener( "touchmove", function() {
    // workaround to make scroll prevent work in iOS Safari > 10
} );
The dragging itself works fine though.
How can I get scrolling to work?
Thanks in advance!

Welcome and thanks for providing a small example.
I put up a stackblitz with your code and indeed - it's not scrolling 😞
After adding explicit overflow styling for the body element it started working.
You can play with it here https://stackblitz.com/edit/typescript-mobile-drag-drop-playground?file=style.css
Related source code is https://github.com/timruffles/mobile-drag-drop/blob/2b7ac0a254752ef0207a8e1ed2f573f427ca1c14/src/scroll-behaviour.ts#L90-L102
Maybe there is a better way to determine if an element is scrollable. Any hints and suggestions are greatly appreciated!

Unfortunately I can't get you example to work. Even with the overflow set, which would work for my current needs as a workaround, it is not scrolling on mobile (tested in Chrome on desktop simulated via dev tools and Chrome 66 on Android 7.1.1).

Well.. yeah the body element does not report the values I expected it to report. isScrollable check thus is failing.

So maybe findScrollableParent() should fall back to document.documentElement in case the detected parent is body. Since I didn't dig that deep into the polyfill code today, I can't tell if that would have any impact on other functionalities.

The main issue is that the body element does not have a height restriction which causes it to not really be overflowing. It works when limiting the max-height of the body.
https://stackblitz.com/edit/typescript-mobile-drag-drop-playground?file=style.css

So maybe findScrollableParent() should fall back to document.documentElement in case the detected parent is body. Since I didn't dig that deep into the polyfill code today, I can't tell if that would have any impact on other functionalities.

Yes, there needs to be some special handling for the body to make it "just work".

Oh boy, this special treatment of  and  has driven me nuts so many times, and today I can add another one to the list... :D
As a workaround I tend to set  and  to height: 100%; and  to overflow-x: hidden; overflow-y: auto;
With some CSS trickery, that will also workaround the problem the polyfill causes in my fixed header which includes a relative positioned div with margin auto that keeps jumping to the right when the polyfill kicks in.

I hear you!
The polyfill should enable it to just work so I flag this issue as a bug.
The workaround of setting height to 100% or 100vh comes with a drawback especially on mobile because of dynamic browser navbars that hide only on scroll of document - which can't happen when its limited to viewport size - effectively stealing screen estate from the user.

Maybe we can avoid any special workarounds on body and handle the documentElement differently as it's the root element! I've checked the current implementation and it falls short detecting the documentElement as scrollable.

Basically the documentElement should be detected as scrollable as soon as it's scrollHeight is larger than clientHeight
function findScrollableParent( el:HTMLElement ):HTMLElement {
    do {
        if( !el ) {
            return null;
        }
        if( isScrollable( el ) ) {
            return el;
        }
    } while( el = <HTMLElement>el.parentElement );
    return null;
}

function isScrollable( el:HTMLElement ):boolean {

    if( el.scrollHeight > el.clientHeight ) {

        if( el === document.documentElement ) {
            return true;
        }

        const cs = getComputedStyle( el );
        return cs.overflowY === "scroll" || cs.overflowY === "auto";
    }

    if( el.scrollWidth > el.clientWidth ) {

        if( el === document.documentElement ) {
            return true;
        }

        const cs = getComputedStyle( el );
        return cs.overflowX === "scroll" || cs.overflowX === "auto";
    }

    return false;
}

Looks like a neat solution. I'll give it a shot tomorrow and will report the result.

I just gave it a test and it works kind of. Scrolling to the top works like a charm but to the bottom doesn't. It seems like it doesn't detect that the edge of the scrollable element is reached and therefore doesn't set scrollIntensions.vertical to 1. I'll do some deeper digging.

So, the problem is in getElementViewportSize. I don't know why topLevelElements should be treated differently here. I just replaced the whole content within the function with just:
´return (axis === 0) ? el.clientWidth : el.clientHeight;` and it works like a charm.

After some further investigation, my solution above works for scrolling to the buttom. But this also leads to another problem. Since the "ghost" element is being placed via translate3d, it adds up to the scrollHeight of the body when it gets close to the edge which leads to the issue that isScrollEndReached() is always false and it keeps scrolling on and on. I don't have a solid suggestion as of yet on how to resolve this. One solution could be to store the scrollHeight and width of scrollableParentBounds only on dragStart instead of updating it on every move. But that could be an issue for applications that change the DOM via service workers or such (e.g. a chat).
Any ideas?

So finally after lots of testing and pulling my hair out on this, I got a solution for this which is working in my minimal example aswell as in the standard demo. Take a look at the last commit in my fork to see the changes.

Thx for your effort 👍
Can you do a pull request containing your changes?

Thank you for the help and the awesome polyfix!
I've created a pull request which you can find here:
https://github.com/timruffles/mobile-drag-drop/pull/132


[app] Fix tooltip in charts

This is another fix for the tooltip handling in the charts. This is
required, because sometimes it could happen that we get an error when we
tried to render the tooltip.

[x] I added a CHANGELOG entry for this change.
[ ] I adjusted the corresponding documentation for this change.
[ ] I adjusted the values.yaml file and the documentation for all values.

Codecov Report

Merging #387 (b2ca68b) into main (b9604c8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #387   +/-   ##
=======================================
  Coverage   45.26%   45.26%
=======================================
  Files         132      132
  Lines       10314    10314
=======================================
  Hits         4669     4669
  Misses       5567     5567
  Partials       78       78

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 b9604c8...b2ca68b. Read the comment docs.


wip: Enable monitor for NodePort BPF tests

To debug #8945.

This change is

test-me-please

Coverage increased (+0.04%) to 44.158% when pulling ea381ca591310a8873b9ccab5cc8aefbbef35bbe on pr/brb/nodeport-ci-dbg into cc01f5294ab4128c657518158e16423d962ed9b6 on master.

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

cilium_monitor output is no longer needed.


Unable to set deliver items stage 2

Running git-Spigot-f928e7a-e91aed8 (MC: 1.8.7) (Implementing API version 1.8.7-R0.1-SNAPSHOT) and quests 2.5.1, Vault 1.5.3, Citizens 2.0.16, Pex 1.23.3.
Basically when I add a second stage to a quest that requires me to deliver items back to the NPC I get this error when I select "Deliver items"
[09:13:28] [Server thread/ERROR]: Error handling conversation prompt
java.lang.NullPointerException
at me.blackvein.quests.util.ItemUtil.getDisplayString(ItemUtil.java:168) ~[?:?]
at me.blackvein.quests.prompts.CreateStagePrompt$DeliveryListPrompt.getPromptText(CreateStagePrompt.java:2058) ~[?:?]
at org.bukkit.conversations.Conversation.outputNextPrompt(Conversation.java:291) ~[spigot-1.8.7.jar:git-Spigot-f928e7a-e91aed8]
at org.bukkit.conversations.Conversation.acceptInput(Conversation.java:230) [spigot-1.8.7.jar:git-Spigot-f928e7a-e91aed8]
at org.bukkit.craftbukkit.v1_8_R3.conversations.ConversationTracker.acceptConversationInput(ConversationTracker.java:58) [spigot-1.8.7.jar:git-Spigot-f928e7a-e91aed8]
at org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer.acceptConversationInput(CraftPlayer.java:1034) [spigot-1.8.7.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.PlayerConnection$5.evaluate(PlayerConnection.java:984) [spigot-1.8.7.jar:git-Spigot-f928e7a-e91aed8]
at org.bukkit.craftbukkit.v1_8_R3.util.Waitable.run(Waitable.java:24) [spigot-1.8.7.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:732) [spigot-1.8.7.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:367) [spigot-1.8.7.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:657) [spigot-1.8.7.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:560) [spigot-1.8.7.jar:git-Spigot-f928e7a-e91aed8]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_25]
After getting this I did the following steps:
-Deleted the quests plugin folder and restarted
-Completely recreated the server
-Restarted my client
-Tried doing the deliver items at first stage (This actually worked)
Really bummed that it was working while I was testing and then broke while I was recording the tutorial.  Thoughts?

Continued testing with a Dev version (Quests-2.5.1-b89.jar) and I found out that this problem is raised when I attempt to set a GUI item display for accepting the quest.  If I set that, even with no lore or anything, I get this error.


link to ghpages from GitHub description

If I'm admin of repo, I can help modify these kinds of things.

done


dart fix does not apply to factory constructors

I wrote this transform:
version: 1
transforms:
  # Changes made in https://github.com/flutter/flutter/pull/73352
  - title: "Migrate to 'TextButton.icon'"
    date: 2021-01-08
    element:
      uris: [ 'material.dart' ]
      constructor: 'icon'
      inClass: 'FlatButton'
    changes:
      - kind: 'removeParameter'
        name: 'onHighlightChanged'
      - kind: 'removeParameter'
        name: 'textTheme'
      - kind: 'removeParameter'
        name: 'highlightColor'
      - kind: 'removeParameter'
        name: 'colorBrightness'
      - kind: 'replacedBy'
        newElement:
          uris: [ 'material.dart' ]
          constructor: 'icon'
          inClass: 'TextButton'

with the expectation that it would take this snippet of code:
var myIconButton = FlatButton.icon(
    key: UniqueKey(),
    icon: Icon(Icons.ten_k_outlined),
    label: Text('FlatButton'),
    onPressed: (){},
    onLongPress: (){},
    clipBehavior: Clip.hardEdge,
    focusNode: FocusNode(),
    autofocus: true,
    onHighlightChanged: (_) {},
    textTheme: ButtonTextTheme(),
    highlightColor: Colors.blue,
    colorBrightness: Brightness.dark,
  );

and transform it into this:
var myIconButton = TextButton.icon(
    key: UniqueKey(),
    icon: Icon(Icons.ten_k_outlined),
    label: Text('FlatButton'),
    onPressed: (){},
    onLongPress: (){},
    clipBehavior: Clip.hardEdge,
    focusNode: FocusNode(),
    autofocus: true,
  );

but none of the changes are being applied when it is run:
var myIconButton = FlatButton.icon(
    key: UniqueKey(),
    icon: Icon(Icons.ten_k_outlined),
    label: Text('FlatButton'),
    onPressed: (){},
    onLongPress: (){},
    clipBehavior: Clip.hardEdge,
    focusNode: FocusNode(),
    autofocus: true,
    onHighlightChanged: (_) {},
    textTheme: ButtonTextTheme(),
    highlightColor: Colors.blue,
    colorBrightness: Brightness.dark,
  );

There are other FlatButton transforms defined in the file, not sure if they are related. See WIP PR: https://github.com/flutter/flutter/pull/95641

cc @bwilkerson

Related to https://github.com/flutter/flutter/issues/95284


Website down

The Wiki and getting started website is down, didn't know where else to put this, so here you go lol

Works fine for me.
https://geckolib.com


947: Add validation the initiation object in payment submission requests

Added payment validation services to validate the initiation payment object
Added unit tests coverage
Moved the validation service from backoffice to obie package, because are used only in obie apis

DomesticVrpValidationService
RiskValidationService

Fix exchangeRateInformation, we not need to calculate mandatory fields it if the object sent by the TPP is null.

Issue: https://github.com/secureapigateway/secureapigateway/issues/947

Why do we need to implement the initiation deep equals? Can't we just use the generated equals method on the initiation objects? For example: uk.org.openbanking.datamodel.payment.OBWriteDomestic2DataInitiation#equals
I see there is logic to handle mandatory field checks as part of the validation, however these checks should have been done on the consent (along with all other field specific validations such as max length or regex pattern etcs) when it was submitted. The requirement at this point is just to check that the initiation on the consent matches the initiation being supplied in the payment submission.

Why do we need to implement the initiation deep equals? Can't we just use the generated equals method on the initiation objects? For example: uk.org.openbanking.datamodel.payment.OBWriteDomestic2DataInitiation#equals
I see there is logic to handle checking that mandatory consent fields have been supplied as part of the validation, however these checks should have been done on the consent (along with all other field specific validations such as max length or regex pattern etcs) when it was submitted. The requirement at this point is just to check that the initiation on the consent matches the initiation being supplied in the payment submission.
If OBIE make a non-breaking schema change and add an optional field to an existing initiation (OBWriteDomestic2DataInitiation for example), then after we re-generate the data model we need to remember to add the logic to the relevant validator. This is very brittle and will almost certainly be missed off at some point in the future.

We can't implement uk.org.openbanking.datamodel.payment.OBWriteDomestic2DataInitiation#equals, the equals implementation of xxxDataInitiation objects can't validate properly the object attributes because use Objects.equals(obj1, obj2) and this evaluation of equality method returns false because the objects have different class reference.
For example:
OBWriteDomestic2DataInitiation initiationConsent1 = aValidOBWriteDomestic2DataInitiation();
OBWriteDomestic2DataInitiation initiationConsent2 = aValidOBWriteDomestic2DataInitiation();
OBWriteDomestic2DataInitiation initiationConsent3 = initiationConsent1
initiationConsent2.equals(initiationConsent1); // false
initiationConsent3.equals(initiationConsent1); // true

Other reason is regarding with the reason to reject the payment when the validation fails, with the current implementation we can build a response with a coherent error reason with the field that doesn't match with the consent.

Why do we need to implement the initiation deep equals? Can't we just use the generated equals method on the initiation objects? For example: uk.org.openbanking.datamodel.payment.OBWriteDomestic2DataInitiation#equals
I see there is logic to handle checking that mandatory consent fields have been supplied as part of the validation, however these checks should have been done on the consent (along with all other field specific validations such as max length or regex pattern etcs) when it was submitted. The requirement at this point is just to check that the initiation on the consent matches the initiation being supplied in the payment submission.
If OBIE make a non-breaking schema change and add an optional field to an existing initiation (OBWriteDomestic2DataInitiation for example), then after we re-generate the data model we need to remember to add the logic to the relevant validator. This is very brittle and will almost certainly be missed off at some point in the future.

We can't implement uk.org.openbanking.datamodel.payment.OBWriteDomestic2DataInitiation#equals, the equals implementation of xxxDataInitiation objects can't validate properly the object attributes because use Objects.equals(obj1, obj2) and this evaluation of equality method returns false because the objects have different class reference.
For example:
OBWriteDomestic2DataInitiation initiationConsent1 = aValidOBWriteDomestic2DataInitiation();
OBWriteDomestic2DataInitiation initiationConsent2 = aValidOBWriteDomestic2DataInitiation();
OBWriteDomestic2DataInitiation initiationConsent3 = initiationConsent1
initiationConsent2.equals(initiationConsent1); // false
initiationConsent3.equals(initiationConsent1); // true

Other reason is regarding with the reason to reject the payment when the validation fails, with the current implementation we can build a response with a coherent error reason with the field that doesn't match with the consent.

Can you find me an instance in the specifications where the Payment Consent and Payment Submission object hold objects of different types? As far as I know, this will NEVER be the case.

I just ran this;
@Test
 public void testEquality(){
     OBWriteDomestic2DataInitiation initiationConsent1 = aValidOBWriteDomestic2DataInitiation();
     OBWriteDomestic2DataInitiation initiationConsent2 = aValidOBWriteDomestic2DataInitiation();
     OBWriteDomestic2DataInitiation initiationConsent3 = initiationConsent1;
     assertThat(initiationConsent2.equals(initiationConsent1)).isTrue();
     assertThat(initiationConsent3.equals(initiationConsent1)).isTrue();
 }

And it passed.
What do you mean "the objects have different class reference."?

Can you find me an instance in the specifications where the Payment Consent and Payment Submission object hold Intent objects of different types? As far as I know, this will NEVER be the case.

Ignore me! I ran a wrong test, you are right.


GPU Plugin giving glitch/square graphics in AMD Radeon R8 M445DX

Describe the bug
Graphics glitched when GPU plugin is activated.
To Reproduce
Steps to reproduce the behavior:

Get AMD Radeon R8 M445 DX (which is actually a name for a dual-graphics card. R5+R7).
Turn on GPU plugin.

Expected behavior
Glitchy graphics.
Screenshots
https://prnt.sc/q7smfw
Environment (please complete the following information):
-OS Windows 10 x64 Single Language
-RuneLite <IP_ADDRESS>
Additional context
This happened on MMORPG Tibia too and was something with OpenGL but the developers fixed I don't know how.

reopen if this is still an issue


Make RichProgressBar the default if rich is available

What does this PR do?
Continues #10912, #9647
Fixes #9580
Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
I made sure I had fun coding 🙃
cc @borda @justusschock @kaushikb11 @rohitgr7

Shouldn't this be labeled as "feature" and not "bug"?
Also I added breaking change, as users might be expecting tqdm even if they have rich installed in their environments

Sorry everyone. This PR was initially just used to reveal bugs that were fixed in the linked PRs. Since jobs don't run, I had to mark it ready. But the PR is actually not ready for review. It is merely a proof of concept.
There are many open questions regarding

how good is our rich implementation
how do we keep the same test coverage for both bars if tqdm is battle tested while now switching to a very untested rich implementation
performance

that need to be discussed first before we can make the switch.

@awaelchli could you check this one if you have time :)

I currently don't have the capacity to pursue this further.


Context Menu

A proper Valo theme for vaadin-context-demo would be awesome, too!

First iteration now done in b8b6aacd9604602b85a6db2cbca791d9fa505ea1
You can see an example here: https://cdn.vaadin.com/vaadin-valo-theme/2.0.0-alpha1/demo/context-menus.html
The contents of the context menu are not yet part of Vaadin elements, so I didn’t touch those styles yet.

Now we have vaadin-list-box available, so I change the example to use that. Considering this issue closed (in https://github.com/vaadin/vaadin-valo-theme/commit/7d809eeddabbf06f98f664a02969d78e47cd0998#diff-13d61350fd7db49d7ef6bf72f855039d)


Customize INFO log color

Hey,
I've just started playing around with updating the format of the logs depending on if the program logs to a file (non-interactive) vs. a terminal (interactive).
For logging to file it works great but when I want to log just the message to STDERR, the info logs don't really stand out from anything printed to STDOUT. This can be confusing to users.
So I was wondering about options to control coloring of the output - is it possible to customize the style of different log levels? Perhaps I could style the INFO logs in "blue" to make them stand out more
Thanks for a great package! 📦

Hi Robin, thanks for your interest and sorry for not following up here earlier. Nowadays coloredlogs supports custom styles for different levels, the documentation provides an example. This functionality can be used to color INFO differently from standard output (although the defaults have remained the same since you originally posted this).


Thorium Win7 - Crashing on Aliexpress

System: Ivy Bridge
OS: Windows 7 latest service pack and updates
Thorium versions 108 and 122 (AVX build)
Aliexpress made some change to their site recently which is causing Thorium to crash for me while browsing it.  This happened on Version 108, so I updated to version 122 but I still got the crash.  Then I created a new profile to rule that out and only installed ublock origin.  So maybe it's a combination of those things.
The symptom is that while browsing Aliexpress for a little bit, the browser becomes unresponsive and has to be forcibly closed...  Then I need to manually kill the thorium process in task manager.

@dribgnikcom Can you try the latest M109 release from this repo?
Also can you send me an exact URL that this happens on, so I can try to reproduce it on my end?

@Alex313031 - Hi Alex, thanks for the quick response.  It wasn't always this way -- they must have changed something on their page that's causing this behavior.
To replicate the issue - browse the listings, choose an item, scroll down, choose related items, open multiple tabs of related items, etc...
I'm also going to test on my Windows 10 AVX2 Haswell machine to see if it happens there too.

Strange, I can browse Aliexpress with no problem with my Thorium 109 AVX Win7. Just disabled UO on the page and it loads fine.

Strange, I can browse Aliexpress with no problem with my Thorium 109 AVX Win7. Just disabled UO on the page and it loads fine.

Yes -- you're right.  The problem is not unique to Thorium.  I download RobRich's AVX build of Chromium (v109.0.5412.0-r1069239-win64-avx) and got the same result...  you say you disabled UO -- hmmm maybe I'll give that a shot.
The way I easily reproduce the browser hanging is to go to an item, then scroll down, open a new tab with a recommended or related item, then open a new tab for a related item from that tab, and on and on until it crashes shortly after...
I still need to test this on other machines to see if it occurs there as well.

Ok, I am almost certain that it was JDownloader that was the cause...  I removed it and everything seems fine now...  and it would explain why the issue was persistent among different versions of Chrome as plugins (read: not extensions) persist between new user profiles.


Bump senzing from 3.2.0 to 3.3.0

See https://github.com/Senzing/senzingapi-runtime/issues/31

Pull requests:

https://github.com/Senzing/aws-lambda-cognito-authorizer/pull/26


Senzing stack built with Terraform

Demonstrate the Senzing stack using Hashicorp's Terraform

AWS Cloud Development Kit:  https://aws.amazon.com/cdk/  seems to be in the Terraform ecosphere.

This is a terraform build that is based on the CIS benchmark, which is typically seen as industry best practice https://github.com/nozaq/terraform-aws-secure-baseline

This is outside the scope and purpose of this community.


APP_DEPLOYMENT_ENV undefined in production build

Description
Environment variable APP_DEPLOYMENT_ENV is undefined when running the production build (npm run build && npm start), but works fine in development mode (npm run dev).
Steps to Reproduce

.env file exists with APP_DEPLOYMENT_ENV="production"
npm run dev - works fine
npm run build && npm start - fails with:

DEBUG: Raw process.env: { NODE_ENV: 'production', APP_DEPLOYMENT_ENV: undefined }
❌ Invalid environment variables: { APP_DEPLOYMENT_ENV: [ 'Required' ] }

Environment

Node.js: v22.12.0
npm: v10.9.0
pnpm: v9.14.2
Works in dev mode (npm run dev)
Fails only in production build

Could this be related to how environment variables are handled during the production build process?

Hi @foxlau thanks for creating the issue.
The build does not include the env vars which are set during the build process (running pnpm run build). When you run your application with pnpm run start it tries to read those environment variables from process.env, if they are not set, it fails with the above error.
During development (pnpm run dev), you dont see this error cause the react-router dev server is automatically trying to load an .env file to load them as environment variables. In production though, they should be set as actual environment variables.
If you want to test that out locally you can try to do:
pnpm run build
APP_DEPLOYMENT_ENV=production pnpm run start

or if you have dotenvx installed globally, you can run this to let dotenvx try to load env vars from an .env file like so:
pnpm run build
dotenvx run -- pnpm run start

On a production server/deployment you should set the environment variables according to the documentation of your chosen deployment platform.

Hi @thomasfr,
Thank you for your response. I have successfully solved the issue using dotenvx. Thanks a lot!


fix glitch duplicate jstree-icon in nested pages

Nested pages having their own children are shown in the site tree with a duplicate jstree-icon. I have no idea why there are two icons in this template file, however, by removing the first one the glitch doesn't happen.

https://github.com/silverstripe/silverstripe-framework/pull/6610 was supposed to have resolved this issue, have you tested on version 3.5.3? I can’t recreate it

No, sorry, I'm still at version 3.5.2

Thanks for confirming 👍


”unauthorized request" and "chathub not authorized".

I used the signature in the X-Sydney-Encryptedconversationsignature header from the create conversation response, URL-encoded it, and passed it as the sec_access_token to the chathub interface, but the chathub still returns "unauthorized request" and "chathub not authorized".

Due to recent bing API update, we might need to pass more cookies. Please refer to https://github.com/transitive-bullshit/bing-chat/pull/56/files/a4cd8089432ac75b15eb51b25a8f1154cac8d0f3#diff-eb0f70fdf73c5fc4372815575d2b38fd700baf4b9abe1b67738771563a70ce70 for complete solution.

Thanks for the hint @nikilagar. Well I'm not a pro in nodejs, but I think this is a good starting point:
https://github.com/tuhinpal/bingchat-api/pull/12/files

Good news by fiddling around trying to port the idea of catching the security-token from response (thanks forr @nikilagar for the hint) I've got it working locally and provided the patch (see link above) and provided a pull-request.
I've got a live-sign of GPT :-D


tests fail on linux/x86_64 with go 1.9

When running "go test" with go 1.9 (linux/x86_64, other architectures seem to work), the following failure occurs:
+ go test -compiler gc -ldflags '' github.com/sasha-s/go-deadlock
POTENTIAL DEADLOCK: Inconsistent locking. saw this ordering in one goroutine:
happened before
deadlock_test.go:44 go-deadlock.TestNoDeadlocks.func2.1 { a.RLock() } <<<<<
deadlock_test.go:55 go-deadlock.TestNoDeadlocks.func2 { }() }
happened after
deadlock_test.go:47 go-deadlock.TestNoDeadlocks.func2.1.1 { b.Lock() } <<<<<
deadlock_test.go:54 go-deadlock.TestNoDeadlocks.func2.1 { }() }
deadlock_test.go:55 go-deadlock.TestNoDeadlocks.func2 { }() }
in another goroutine: happened before
deadlock_test.go:47 go-deadlock.TestNoDeadlocks.func2.1.1 { b.Lock() } <<<<<
deadlock_test.go:54 go-deadlock.TestNoDeadlocks.func2.1 { }() }
deadlock_test.go:55 go-deadlock.TestNoDeadlocks.func2 { }() }
happend after
deadlock_test.go:44 go-deadlock.TestNoDeadlocks.func2.1 { a.RLock() } <<<<<
deadlock_test.go:55 go-deadlock.TestNoDeadlocks.func2 { }() }
Other goroutines holding locks:
goroutine 0 lock 0xc420014118
deadlock_test.go:47 go-deadlock.TestNoDeadlocks.func2.1.1 { b.Lock() } <<<<<
deadlock_test.go:54 go-deadlock.TestNoDeadlocks.func2.1 { }() }
deadlock_test.go:55 go-deadlock.TestNoDeadlocks.func2 { }() }
goroutine 0 lock 0xc4200160e0
deadlock_test.go:50 go-deadlock.TestNoDeadlocks.func<IP_ADDRESS> { c.Lock() } <<<<<
deadlock_test.go:53 go-deadlock.TestNoDeadlocks.func2.1.1 { }() }
deadlock_test.go:54 go-deadlock.TestNoDeadlocks.func2.1 { }() }
deadlock_test.go:55 go-deadlock.TestNoDeadlocks.func2 { }() }
FAIL	github.com/sasha-s/go-deadlock	0.003s

Could not reproduce it with go1.9rc1 linux/amd64, Xenial/docker/Mac.
....
2017/08/05 19:15:02 ****************
PASS
ok  	github.com/sasha-s/go-deadlock	0.987s

What versions are you using?

Added 1.9rc1 to travis-ci. Works. https://travis-ci.org/sasha-s/go-deadlock/jobs/261375190

That's strange, because both fedora builds of the package failed on x86_64 (and armhfp) since go was updated to version 1.9beta2.
If it helps, full build logs for the builds with failed tests are available at:

https://koji.fedoraproject.org/koji/taskinfo?taskID=20758842
https://koji.fedoraproject.org/koji/taskinfo?taskID=20989298

It seems the goroutine id detection https://github.com/petermattis/goid is broken in 1.9beta2.
I am inclined to wait till 1.9 lands -- maybe it would just work out of the box.
Or I'll fix it.

I just ran the tests again atop the latest git master of petemattis/goid (which should fix problems with go 1.9), and it works now ... Thanks for pointing me in the right direction, and sorry for the "Issue noise" :+1:


lilv_world_get() does not select translation values

lilv_world_get() just selects an arbitrary value (by using sord_get() directly) because it is designed for properties that only have one value.  However language tags screw this concept up, so it should probably select the best translation from the set of values if there are several.
See https://github.com/lv2/lilv/issues/31#issuecomment-622103204

b343813


Deprecation of 'deployUrl' will/has caused the HashLocation routing to break when the baseHref is not on the same domain

🐞 Bug report
Command (mark with an x)

[ ] new
[x] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] extract-i18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?
In v13 of Angular, the deployUrl was deprecated and users were encouraged to use the base tag (ie. baseHref) instead.
baseHref and the router only seem to work if the assets are served from the same domain as the index.html (ie. "the index file"). This greatly limits and even blocks some Angular applications.
There are timeswhen the actual index file of the app is hosted on a separate domain.
Description
Given the following criteria:

The build Angular app's assets are uploaded to a cdn.

Example: https://s3.cdn.com/my-angular-app/build-123/<contents-of-the-dist-folder>

The index.html file of the app is then "deployed" to a separate domain.

Example: https://s3.cdn.com/my-angular-app/build-123/index.html is moved to https://apps.mydomain.com/my-angular-app/index.html

The combined use of --deployUrl and --baseHref gives Angular apps the ability to do this.
However, this cannot be accomplished with only using the --baseHref option. The two outcomes:

if index.html uses --baseHref equal to the cdn (ie. https://s3.cdn.com/my-angular-app/...)

assets are able to load
route throws an error and does not load the app (see error below)

if index.html uses --baseHref equal to the "deployed" domain (ie. https://apps.mydomain.com/my-angular-app/)

assets cannot load because they are not uploaded to deployed domain

🔬 Minimal Reproduction
I created a minimum reproduction repo. It has a detailed README with setup and testing instructions. It also adds a little more context and clarity around the difference between a cdn url and the deployed url.

https://github.com/djhouseknecht/angular-deploy-url-repro

🔥 Exception or Error
Unhandled Navigation Error: SecurityError: Failed to execute 'replaceState' on 'History': A history state object with URL 'http://localhost:8080/fake-cdn/#/' cannot be created in a document with origin 'http://localhost:4200' and URL 'http://localhost:4200/thor/'.

Error is taken from the mini repo above

🌍 Your Environment

@angular-devkit/architect       0.1300.4
@angular-devkit/build-angular   13.0.4
@angular-devkit/core            13.0.4
@angular-devkit/schematics      13.0.4
@angular/cli                    13.0.4
@schematics/angular             13.0.4
rxjs                            7.4.0
typescript                      4.4.4

Anything else relevant?
Extra relevant information in the minimum repo. The question/concern comes down to:

If the deployUrl is removed, will there be another way to accomplish a similar behavior of deployUrl without breaking the router?

Duplicate of https://github.com/angular/angular/issues/43303

Addressing the Duplicate Issue
From the duplicate issue, it states that:

These are old techniques:

Hash location strategy, as you mentioned this is supported for old server setup and no a days most users should have transitioned towards the path location strategy.
CDN for assets only. This is also a relatively old technique which we don't recommand, we strongly recommand that the entire application is hosted on a CDN.

I would argue that albeity these are "old" techniques they are still very valid and have their place. For example:

Not all Angular users will have access to the server to setup the server rewrite rules for the "modern" path strategy.

In our use case, we are using Route 53 & cloudflare to host a S3 bucket for our organizations web apps.
These apps can be any framework that the individual teams choose. Given some federal restrictions and
other organization audit rules, it is unfesible to setup individual apps with specific routing rules.

All our assets and index files are already (technically) hosted on a CDN. One just has Route53 attatching it to a custom domain.

the more traditional "cdn" is an S3 bucket with cloudflare, ie:

https://{cloudflare-hash}.cloudflare.com/{app-name}/{build-number}/...

the "deployed" cdn has Route53 attatched to it so customers can load something like this:

https://apps.{our-domain}.com/{app-name}/#/

Given our DevOps setups and legal restrictions, the above solution works perfectly.
Also, a couple advantages of this setup:

It requires no extra server configuration for development teams to deploy or manage their web applications
(not to mention they can use whichever SPA framework they prefer).
We can deploy our apps' index.html file to any location on the "deployed" cdn and not have to worry about the server rules. For example:

We could have our prod version of the app deployed here:

https://apps.{our-domain}.com/{app-name}/#/

And then have a "beta" version deployed here for testing and beta customers to use:

https://apps.{our-domain}.com/{app-name}/beta/#/

We could do this with any url naming scheme we want because the assets are on the cloudflare CDN
and the Angular app's hash routing does not care what the window.location.pathname is.

Footnote: we set <base href=""> to window.location.pathname to get this method to work.

I could go into more detail, but I am mostly trying to share that the Hash routing and ability to load assets
from a separate CDN are huge advantages for us. The deployUrl made that possible and easy to configure.
My Current Solution
For anyone else coming here with the same question/issue, here is how we solved this for our angular apps
(using the suggestion here):
app.module.ts
/* other imports */
import { HashLocationStrategy } from '@angular/common';
import { Injectable } from '@angular/core';

@Injectable()
export class CustomLocationStrategy extends HashLocationStrategy {
  get baseHref () {
    return this['_baseHref'];
  }

  /**
   * Override this to use `APP_BASE_HREF` + '/#/' + desired angular route
   */
  override prepareExternalUrl (internal: string): string {
    const url = this.joinWithHash(this.baseHref, internal);
    return url;
  }

  private joinWithHash (baseHref: string, hashRoute: string): string {
    let url = baseHref || '/';

    if (!url.endsWith('/')) {
      url += '/';
    }

    if (!hashRoute.startsWith('#')) {
      url += '#';
    }

    url += hashRoute;

    return url;
  }
}

@NgModule({
  /* other stuff */
  providers: [
    /* tell the router to use the "deployed" cdn and not the `<base href="...">` value (which is the asset cdn) */
    { provide: APP_BASE_HREF, useValue: window.location.origin + window.location.pathname },
    /* use our new strategy to ensure we build out the correct urls for `window.location.pushState` (so it doesn't error) */
    { provide: LocationStrategy, useClass: CustomLocationStrategy }
  ]
})
export class AppModule { }

Then when we build:
ng build --configuration production --baseHref={our-cdn-url}

Bug/Question
Looking over the code for hash_location_strategy.ts, I am wondering why it handles the APP_BASE_HREF so differently then the Path location_strategy?
// hash_location_strategy.ts
override prepareExternalUrl(internal: string): string {
  const url = joinWithSlash(this._baseHref, internal);
  return url.length > 0 ? ('#' + url) : url;
}

// location_strategy.ts
override prepareExternalUrl(internal: string): string {
  return joinWithSlash(this._baseHref, internal);
}

For example, given:
<!-- index.html -->
<head>
  <base href="https://cdn.com">
</head>

And:
// app.module.ts
  providers: [
    { provide: APP_BASE_HREF, useValue: 'https://example.com/' }
  ]

And an Angular route to /home, the two strategies behavior like:

PathLocationStrategy respects the APP_BASE_HREF, ignores the document's baseHref, and builds:

https://example.com/home

HashLocationStrategy always uses the document's baseHref and adds APP_BASE_HREF to the beginning of the Angular route:

https://cdn.com/#/https://example.com/home
desired would be the same as PathLocationStrategy, just with a # between the Angular route and APP_BASE_HREF like:

https://example.com/#/home

@alan-agius4, I don't know a ton about the router's inner-workings aside from the research I've done into this issue,
but would it make sense to have the HashLocationStrategy build URLs the same as PathLocationStrategy does with
respects to the APP_BASE_HREF?
I'm not sure if this would break current hash based routers, but it seems reasonable to have these two strategies
behave the same in regards to the APP_BASE_HREF.


Creating conda environment as described in the contributing guidelines gives ResolvePackageNotFound error

MCVE Code Sample

Following the contributing to xarray guidelines I tried to create the xarray-test environment as follows:
# Create and activate the build environment
conda env create -f ci/requirements/py36.yml

Expected Output
Creates conda environment, such that conda activate xarray-tests can be used to activate it.
Problem Description

The creation of the conda environment fails, indicating ResolvePackageNotFound  error:
Collecting package metadata: done
Solving environment: failed

ResolvePackageNotFound:
  - pynio
  - cdms2

After some searching I tried to first create the conda environment and subsequently updating it
conda env update -f ci/requirements/py36.yml

but this resulted in the same error:
Collecting package metadata: done
Solving environment: failed

ResolvePackageNotFound:
  - pynio
  - cdms2

Output of xr.show_versions()
Doesn't make sense for this issue, does it?

Those packages don't exist on Windows. You need to use py37-windows.yml instead. I'll update the documentation to clarify.

Thanks for the fast response @crusaderky!


Error executing docker-compose up -d --build && docker-compose logs -f

I'd like to use the cardano-node from Daedalus. But there is not docs about how to do this.
Environment
The CLI can be used to gather generic information about your system to assist with support.
No installation is required thanks to npx
npx @cardano-graphql/cli system-info

v4.0.0
Alternatively, what release or Git revision are you using:
Platform

[ ] Linux / Ubuntu

Platform version:
Windows Subsystem Linux
Runtime

[ ] Node.js
[ ] Docker

Runtime version:
$ node -v
v14.15.4
$ docker -v
Docker version 20.10.7, build f0df350
$ docker-compose -v
docker-compose version 1.29.2, build 5becea4c

Steps to reproduce the bug
$ docker-compose up -d --build && docker-compose logs -f
Traceback (most recent call last):
  File "urllib3/connectionpool.py", line 677, in urlopen
  File "urllib3/connectionpool.py", line 392, in _make_request
  File "http/client.py", line 1277, in request
  File "http/client.py", line 1323, in _send_request
  File "http/client.py", line 1272, in endheaders
  File "http/client.py", line 1032, in _send_output
  File "http/client.py", line 972, in send
  File "docker/transport/unixconn.py", line 43, in connect
FileNotFoundError: [Errno 2] No such file or directory

The error you provided indicates a problem with the Docker install, or that it's not running. This might help https://stackoverflow.com/questions/64633015/problem-launching-docker-compose-python-modules-not-installed


Multi modal fusion

Is there any example on how to do a multi modal approach in Det3d? Like how to adjust the data loading pipeline and so on? I am mainly using the nuScenes dataset for now.

Never mind, found a way to access the camera images by extending the nuscenes.py

So other people might struggle less in the future, you need to add your custom entry like "camera_images" to the list in: det3d/torchie/parallel/collate.py.py:
e.g.:
if key in ["voxels", "num_points", "num_gt", "voxel_labels", "num_voxels",
"cyv_voxels", "cyv_num_points", "cyv_num_voxels", "camera_images"]:
Otherwise they will be converted back to a numpy array even if they were torch.Tensors before.


Outputs terraform Plan on PR

We make the changes on the group feel free to make improvements on top of that


Sourcery as a framework

Hi,
here at Bending Spoons we decided to leverage Sourcery as a way to generate some code for our applications.
To integrate, in the best possible way, Sourcery with our tooling we would like to embed it in our internal swift CLI.
We are in the process of understanding what is the best way to do so before start coding. We think that the best way would be to have Sourcery as a framework, similarly to Carthage and Swiftlint. Both those projects have a CLI and a Kit and all the functionalities are exposed through API.
What do you think about this approach? Is it something that you would considering doing? Do you suggest a different way to approach this problem?
Cheers
cc @lucaquerella

Hey, happy to hear that!
curious to hear what you guys are doing in your CLI?
I'm wondering what the advantage would be to use sourcery as a framework rather than using it as a CLI tool? What would you want to do with the framework approach that you can't with CLI?
I'm asking because my usual recommendation is to put sourcery as step in build phase as it prevents bugs when refactoring code.

Well basically we will
1 - have a single cli to ship (which will be triggered in a build phase)
2 - encapsulate the stencils in the CLI
In general our CLI automates a lot of internal tasks and we want to keep this approach even for things like code generation.
In general I think it makes sense to allow Sourcery to be also a framework that can be used from other libraries/utilities.

In general this shouldn't be hard because I keep CLI part contained in main.swift, the rest is just regular code that could go into a framework.
We are focusing on parsing and generation right now, but if you'd like to contribute the necessary changes to enable including as framework, I'm open to adding that option 👍
let me know if that's something you'd like to do and/or if anything is unclear

I will take a look and maybe post some questions here.
I guess I will make a PR when I'm done, right?

Yes

We are working on it.
We managed to separate SourceryKit from Sourcery.
The problem now is that when I try to install SourceryKit with Carthage in a test project I have some issues with codesigning.
They seems to be related to the usage of cocoapods. I'm not an expert of cocoapods and xcode stuff, so I don't really know what to do. I was also thinking to try to use Carthage as a dependency manager for Sourcery, but I don't know how much important is for you to continue to use CocoaPods
This is the error
CodeSign /Users/bolismauro/Library/Developer/Xcode/DerivedData/wk-fbjjquiqsufsfnflkoqlgrcxgebg/Build/Products/Debug/teystw4ghwrhergh.app/Contents/Frameworks/SourceryKit.framework/Versions/A
    cd /Users/bolismauro/Desktop/teystw4ghwrhergh
    export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

Signing Identity:     "-"

    /usr/bin/codesign --force --sign - --preserve-metadata=identifier,entitlements --timestamp=none /Users/bolismauro/Library/Developer/Xcode/DerivedData/wk-fbjjquiqsufsfnflkoqlgrcxgebg/Build/Products/Debug/teystw4ghwrhergh.app/Contents/Frameworks/SourceryKit.framework/Versions/A

Here you can find the project
https://github.com/bolismauro/Sourcery

@bolismauro even if I wanted I can't use carthage because Sourcery CLI is distributed in a binary form, and carthage doesn't support that.
So even if we are going to enable distributing it as a framework, cocoapods needs to stay for binary distribution, we can add carthage support for framework though.
take a look at how I setup provisioning in my travis / circle configuration, you'd need to empty it not put - there https://github.com/krzysztofzablocki/Sourcery/blob/master/.travis.yml

What were the issues? I was actually hoping that we will have that, so maybe I will pick it up.

It wasn't related to Sourcery itself.
We just decided that it was better to use Sourcery as a command line application rather than integrate it in the internal tool we have.

I'll reopen and will take a look at that some time later

@ilyapuchka I'm not entirely sold on using Sourcery as framework, especially because @kzaher is adding swift templates and thus killing the only use-case I have thought of as of today where framework might be useful to have

@krzysztofzablocki what do you mean by "swift templates"?

@bolismauro we are adding alternative templating output that uses real swift code in the template blocks, instead of simplified stencil

Oh very nice. I agree that with this feature most likely the framework won't be useful anymore since you will have a touring complete language anyway :)

@krzysztofzablocki @ilyapuchka Guys what about the swift templates?
I saw you shipped them but I'm not sure whether they are stable or not.
Our stencils are becoming hard to maintain because of the stencil language limitations and I was thinking to swap to swift ones

What limitations are you experiencing? have you modernized them? we added lots of filters that make it much easier to write nice templates, I wouldn't use Swift ones, they are more proof of concept

the biggest problem is that I have a lot of is/else that complicates the stencil because of the fact that some things are taken from the source code (e..g, variable name) OR from an annotation.
I guess set variable could help me in this case

@kylef said he's going to add support for regular variables in default filter soon, so you'll be able to things like annotation.jsonKey|default:property.name

that would be perfect

Really dont see the point for making this a framework with all different template types we have, closing to cleanup issues

@krzysztofzablocki
I'd really like to be able to use Sourcery as a framework and write true, compiled Swift, not a Swift template. This weekend and I cloned the repo and made my own template in Swift easily, it was a great developer experience:
struct Reducable: Template {
    let sourcePath = Path(#file)

    func render(_ context: TemplateContext) throws -> String {
        return context
            .types
            .implementing["Reducable"]
            .compactMap { $0 as? Enum }
            .filter { anEnum in
                !anEnum.methods.contains {
                    $0.isMutating
                    && $0.callName == "update"
                    && $0.parameters.count == 1
                    && $0.parameters[0].argumentLabel == "with"
                }
            }.map { anEnum in
                """
                extension \(anEnum.name) {
                    mutating func update(with action: Self.Action) {

                    }
                }
                """
            }.joined(separator: "\n")
    }

}

I just added it to the list of templates in Sourcery.swift:
fileprivate func templates(from: Paths) throws -> [Template] {
        return try templatePaths(from: from).compactMap {
          ...
        } + [Reducable()]
    }

Worked like a charm. It would be awesome to support this for reals. My current thought is that we could also include the Sourcery CLI source files in the .podspec declaration and a client could create their own code generation module in their project with a main.swift file that looks like this:

runCli(with: [MyCustomTemplate(), MyOtherCustomTemplate()])

Then they could simply run their own custom build script from the product's executable path.

I'm not as familiar with this kind of stuff, but curious why frameworks can't be supported for use with, say Carthage.
What would have to be done to get this to work?

@bradhilton we now have SourceryFramework via https://github.com/krzysztofzablocki/Sourcery/pull/715 so there's that
Our SwiftTemplates though are real compiled Swift, we just added couple of tags that make the string interpolation easier for templating, but its all compiled through normal swiftc so you could pretty much do what you are doing there


Question: moving the ocean

Hi
I'm working with large distances and to work around the floating-point precision limitations I am using this script http://wiki.unity3d.com/index.php/Floating_Origin to translate all objects in the scene so the camera stays near the scene's origin. The problem is that the Ocean does not move the same way and it is clearly visible from the waves when these translations happen.
So my question is what can I do to make this translation seamlessly with the Ocean. Any help will be appreciated.
Thanks in advance.

One thing to try might be to make that floating origin script do its thing before the ocean updates. So go to the Scrip Execution Order and make add floating origin and give it something like -200 as an order index.
Another thing to try would be to make this script move only a particular transform, and move everything you want moved under that transform. So make a world root and then this script only moves the world root. That would mean the script does not have to do a FindObjectsOfType(typeof(Transform)) call which is a pretty nasty thing to do at runtime.

I tried changing the execution order but it didn't work. Also the thing is that if I move the ocean's mesh the shader is rendering the waves on the exact same spot so it makes no difference if I move the ocean gameobject or not. Sorry If I explained it poorly.

Oh. Yeah.. this will probably take a significant amount of engineering to get working.
If you're game, there are two things that occur to me as first steps. Firstly i think worldPos_wt needs to somehow be compensated for whatever relative shift has been applied. I'm not sure what the exact operation is, or what kind of precision problems you'll encounter (probably the exact ones you're trying to avoid using that script..!?). The second thing is that _renderDataPrevFrame probably needs to be shifted (and maybe _renderData too). And anything else in the system that caches positions.
Oh and also collision readback requests - these store renderdata structs and probably need correction applied to the positions that they store, i guess?

Closing but if you run into particular issues you can post them and i'll give any thoughts i might have.

Similar question posted in #150


Screenplay support

Hello,
I am looking for the correct way to integrate Selenide with the Screenplay pattern.
The issue I am facing is that an actor must be explicitly give the ability to browseTheWeb and should never be able to just open a browser with the static Selenide methods.
What is the correct way to manually create and manage Selenide instances.
My code will be based on the following https://github.com/mkutz/shakespeare/tree/main/modules/selenium/src/main/java/org/shakespeareframework/selenium
But with selenide instead selenium

@jbadeau To use Selenide without static methods, you need to create instance of SelenideDriver. It has the same non-static methods as class Selenide has (open, $, $$ etc). See https://selenide.org/2018/10/10/selenide-5.0.0/
P.S. Sorry, your link opens "Page not found (Error 404)", but those articles of "Screenplay pattern" that I managed to find rather make me skeptical. The idea seems to me overrated. I believe you don't need any special framework to just write readable code.

We don't just use screenplay for browser testing. We use it for all types of testing. Web, API, DB, Spark, etc so we won't change just for web. Thanx, for the response. I was pretty sure SelenideDriver was the way but never hurts to check 😁

Sorry for my impoliteness, but it seems even more strange for me. The name "screen" like hints that the pattern is about screen, or the things the end-user can see on his monitor. It's not about DB, Api and Spark.
 :)

A better name for the pattern would prob be Playwrite but hey, it is what it is :p
The Screenplay Pattern uses the system metaphor of a stage performance where each test scenario is like a little screenplay describing how the actors should go about performing their activities while interacting with the system under test.
The "screen" in "screenplay" has nothing to do with the computer screen. On the contrary, the Screenplay Pattern is a general method of modelling acceptance tests interacting with any external interface of your system. In fact, the Serenity/JS implementation of the Screenplay Pattern can help you break free from UI-only-based testing!

Anyway, thanx for the cool lib.


Update how we show datacentres - fixes #317

This PR changes the how we present the data centre page to only allow green web staff to associate providers with a given datacentre.
Previously we allowed hosting providers to declare this connection, which we would validate afterwards, but this switches it around so that we only update information once we have had a request to update it, and approved the change.
What normal, non staff users see
With this PR merged in, regular users see something like this example provider. You can see hosting providers associated with the datacentre, but you can not change them. We link to a support form to request changes. Very few changes are made to datacentres each month (I only saw 6 in Sept) so this doesn't sound like it would create a massive support burden.

What green web staff see
Our internal admin staff see a similar view, but have the widget to make a change too now.

I've seen a failing test. Have converted to draft while I fix it later today

hi @tortila this is good for a quick review now. Danke!

hi @tortila - I've made the changes as you suggested.

 Update listing of how providers list how they are associated with datacentres


Superflore/rolling/2024 03 21 - Scarthgap

This is somewhat recent ros2-rolling where ros-image-core will build with yocto scarthgap. The receipe-bbappends have been removed from the previous versions and build up from scratch.
I guess there is still room for improvement to reduce the number of bbappends.
This should be merged into a scarthgap branch of meta-ros, I would recommend at least
@robwoolley

Thank you, you have impeccable timing! I have syncs for all the supported ROS distros and Yocto releases queued up here and was about to merge them to the next branches after lunch: https://github.com/robwoolley/meta-ros/pulls
However, I still have some failures for Scarthgap that I was about to look into. It looks like you have already provided the fixes.  I hope to review the PR and merge them in ASAP.  (possibly this afternoon)
Regards,
Rob

I reviewed all the commits and merged them into master-next: https://github.com/ros/meta-ros/commits/master-next/
Your fix for uncrustify was much better as it simplified things greatly.  I used the same approach of creating a new recipe for cpptoml to help simplify iceoryx-posh as well.
I found that I avoided some of the problems that were caused by CMake+Python by just upreving the rosidl-generator-py patch.  I still hit a problem with FindPython3, but this was fixed by following your recommendation of removing the older copy of the cmake recipe.  If there is anything I have overlooked with this approach that you were trying to solve, please let me know.
Lastly, I found that service-msgs had to be turned into a build dependency.  I was building for Raspberry Pi 4 and the msgs packages (like lifecycle-msgs and sensor-msgs) did not like it when I was trying to link the x86_64 library from service-msgs-native into the aarch64 binaries.
I like the other patches you included (removing unneeded patches, adding kas support, and GitHub Actions).   Since I can now build ros-image-core with just these commits, I would prefer to close this PR and review those under a new one.
Thanks again for this!  It came in right at the perfect time.

Hi @robwoolley ,
so please tell me, on which branch I should be working on. master-next? I can for sure also cross-compile to RPI.

Hi @DasRoteSkelett
I just merged master-next into master, so working on master should be fine now.  We are now fully up-to-date with the latest sync.  The image ros-image-core builds 100% and ros-image-world gets 99% of the way there with about 77 failures to investigate.  (ie 19858 tasks out of ~20000).
I think that covers everything in this PR.  I will go ahead and close it.  Please feel free to reopen it or create a new PR for anything I missed.
Regards,
Rob


Provide Rules access to the Persistent object they are executed on

This would allow access to the Persistent instance, possibly via the $this keyword by binding the Rule to the Persistent object, or another appropriate method.
This may require some changes to accommodate Rules intended to be run only on an array of data versus a Persistent object instance.

I think this is already resolved.


Use the common "CMD + K" shortcut to clear the log.

I use the Terminal.app a lot and when I do something new I often use CMD + K in order to clear the window.
It would be fantastic if I could use that shortcut to clear the log of the MidiMonitor.
Anyhow, thanks for making such a useful utility!

Glad you're finding it useful.
This should already work in the current version of MIDI Monitor, 1.4.1.  There is a menu command Events > Clear Events which has a shortcut Command-K.  That's been present since at least version 1.3 , released in 2012... so this has already been done for at least 10 years now.
If command-K doesn't work for you, does selecting that menu command work?  Do you have the current focus anywhere in particular (e.g. do you have a message selected, or one of the sources, or something else)?
Do you perhaps have a custom shortcut set up to handle Command-K?  Look in System Preferences, Keyboard, Shortcuts.

I'll check again. But if you say it's there then maybe I did oversee it.


support gcp provision

/hold
This is built on top of #546.

This PR has been rebased now that #546 has landed.
/hold cancel

/lgtm


Updated validations.py python script.

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
By adding an if block to check that username does'nt start with either of the forbidden characters.
Closes:#1
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[x] Tests pass
[x] Appropriate changes to README are included in PR

Updated validations.py python script


enable ToR switch routes via "Route" controller

The Route controller https://kubernetes.io/docs/concepts/architecture/cloud-controller/#route-controller feature of the cloud provider should add the following routes under the condition that the Facility has the "ibx" flag.
When this ToR route is not present, MetalLB or KubeVIP will not be able to configure BGP. https://github.com/equinix/cloud-provider-equinix-metal/blob/master/README.md#bgp
Effectively:
GATEWAY_IP=$(curl https://metadata.platformequinix.com/metadata | jq -r ".network.addresses[] | select(.public == false) | .gateway")
ip route add <IP_ADDRESS> via $GATEWAY_IP
ip route add <IP_ADDRESS> via $GATEWAY_IP

CPEM sets the metal.equinix.com/peer-ips annotation, which suggests that CPEM has some responsibility to ensure that the peer ips presented to pods is correct and actionable.  CPEM already activates BGP (via the EM API) on devices that do not have it enabled, perhaps this should be a function of the route controller.
Arguably, these routes should be persisted, but it should be sufficient for CPEM to activate the routes when they are missing and required.

I'm open to debate on where the responsibility of setting these routes should be. This issue takes the position that it should be in the CPEM and we can debate or accept that premise here.

it cannot. The Route controller, as described above, is presumed to do all of that in coordination with the cloud provider API. In the case of the routes above, these aren't cloud provider routes but on device routes. CPEM runs in a single place, not on every node.

CPEM sets the metal.equinix.com/peer-ips annotation, which suggests that CPEM has some responsibility to ensure that the peer ips presented to pods is correct and actionable

True, but it also sets metal.equinix.com/src-ip annotation, so that software can use that as the source when making a network connection.
kube-vip supports the above, reads the annotation and then sets the source IP for the peering packets to the correct IP, so it actually does not need the ip route add command in order to work; the annotations are enough.
metallb is a whole different beast. It is one of the only pieces of network software I have seen that doesn't have the ability to set the source IP when opening a socket. There has been a very longstanding request for it, as well as an open PR for annotations (1 year? 2 years? not sure). This is one of (several) reasons we recommend people use kube-vip if possible.

I'm open to debate on where the responsibility of setting these routes should be. This issue takes the position that it should be in the CPEM and we can debate or accept that premise here.

Understood. I think CPEM could take that responsibility if one of two things were true:

CPEM already ran as a DaemonSet - it doesn't, none does, and it adds a lot of complexity
CPEM could somehow direct (or trick) Kubernetes into creating these (like we do for the EIP routes) - it cannot

Given that kube-vip supports setting source route (as does bird and just about every other piece of bgp, or even general networking, software), and it would add a lot of overhead to try and add it to CPEM, I would shy away.
My $0.03 (inflation is really increasing).

kube-vip supports the above, reads the annotation and then sets the source IP for the peering packets to the correct IP, so it actually does not need the ip route add command in order to work; the annotations are enough.

In a recent demo, @thebsdbox and I needed to manually add the <IP_ADDRESS> and 2 routes for kube-vip.

CPEM already ran as a DaemonSet - it doesn't, none does, and it adds a lot of complexity

(we chatted about this part elsewhere, but I'll repeat here)
I took a look at https://github.com/kubernetes-sigs/cloud-provider-azure/blob/master/pkg/provider/azure_routes.go to see what they were doing. The size of this CCM is daunting.
They include the recommendation: ’It is recommended to run azure-cloud-controller-manager as Pods on master nodes.’ which suggests that the CCM pod does not run on worker nodes.  The Azure CCM manifests includes a DaemonSet called cloud-node-manager which I suspect may be how they execute local route modifications.  I don't know how the node-manager receives its instructions. In our case, it could be done through annotations.

True, but it also sets metal.equinix.com/src-ip annotation, so that software can use that as the source when making a network connection.

I think this point is lost on me. Is this to suggest that kube-vip should be taking advantage of this annotation to avoid the need for the static routes? Is this an feature kube-vip has today?

I think this point is lost on me. Is this to suggest that kube-vip should be taking advantage of this annotation to avoid the need for static routes? Is this a feature kube-vip has today?

I believe it is. @thebsdbox ?

(we chatted about this part elsewhere, but I'll repeat here)

That happened in https://github.com/equinix/cloud-provider-equinix-metal/issues/183.

metallb is a whole different beast. It is one of the only pieces of network software I have seen that doesn't have the ability to set the source IP when opening a socket. There has been a very longstanding request for it, as well as an open PR for annotations (1 year? 2 years? not sure). This is one of (several) reasons we recommend people use kube-vip if possible.

MetalLB recently received support for it: https://github.com/metallb/metallb/pull/902. It's not yet in a stable release, though - but I poked in the PR just now.

I do not believe it, it actually came in. We probably should update the CCM to support it.

Actually, we did, with release v3.4.0, which sets the right things for metallb. We can close this now.


Features at the bottleneck

Hi,
I noticed that in the code implementaion, there is a (232,) feature for each trajectory at each timestep. When scoring and classifying the difficulty of the trajectory we only have one score per trajectory, then in the contrastive loss step, how are anchors selected? Is it the average of all the features at each timestep of the same trajectory?
Thanks,
Arielle

Also, how did you obtain the net FDE for the ranking of challenging samples? Could you elaborate a little bit more on the testing configurations such as whether if it's minFDE_1 or minFDE_6 etc.


open wav file - errors.

Steps to reproduce

(How do you make the issue happen? Does it happen every time you try it?)
every tme
(Make sure to go into as much detail as needed to reproduce the issue. Posting your code here can help us resolve the problem much faster!)
Run this code:
`import speech_recognition as sr
r = sr.Recognizer()
with sr.AudioFile("english.wav") as source:
audio = r.record(source)

try:
s = r.recognize_google(audio)
print("Text: "+s)
except Exception as e:
print("Exception: "+str(e))
got this error:C:\Python27>python.exe speek001.py
Traceback (most recent call last):
File "speek001.py", line 3, in
with sr.AudioFile("english.wav") as source:
File "C:\Python27\lib\site-packages\speech_recognition_init_.py", line 200,
in enter
self.audio_reader = aifc.open(aiff_file, "rb")
File "C:\Python27\lib\aifc.py", line 952, in open
return Aifc_read(f)
File "C:\Python27\lib\aifc.py", line 347, in init
self.initfp(f)
File "C:\Python27\lib\aifc.py", line 298, in initfp
chunk = Chunk(file)
File "C:\Python27\lib\chunk.py", line 63, in init
raise EOFError
EOFError`
3. (If there are any files, like audio recordings, don't forget to include them.)
Expected behaviour
to show the text
(What did you expect to happen?)
Actual behaviour
(What happened instead? How is it different from what you expected?)
C:\Python27>python.exe speek001.py Traceback (most recent call last):   File "speek001.py", line 3, in <module>     with sr.AudioFile("english.wav") as source:   File "C:\Python27\lib\site-packages\speech_recognition\__init__.py", line 200,  in __enter__     self.audio_reader = aifc.open(aiff_file, "rb")   File "C:\Python27\lib\aifc.py", line 952, in open     return Aifc_read(f)   File "C:\Python27\lib\aifc.py", line 347, in __init__     self.initfp(f)   File "C:\Python27\lib\aifc.py", line 298, in initfp     chunk = Chunk(file)   File "C:\Python27\lib\chunk.py", line 63, in __init__     raise EOFError EOFError
(If the library threw an exception, paste the full stack trace here)

System information
(Delete all the statements that don't apply.)
My system is <Windows 8>. (For example, "Ubuntu 16.04 LTS x64", "Windows 10 x64", or "macOS Sierra".)
My Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:19:22) [MSC v.1500 32 bit (
Intel)] on win32 is . (You can check this by running python -V.)
My SpeechRecognition library version is . (You can check this by running python -c "import speech_recognition as sr;print(sr.__version__)".)
My PyAudio library version is <PyAudio-0.2.9> / I don't have PyAudio installed. (You can check this by running python -c "import pyaudio as p;print(p.__version__)".)
I installed PocketSphinx from . (For example, from the Debian repositories, from Homebrew, or from the source code.)

Hi @catafest,
Please upload the english.wav file referenced in the issue. Remember that WAV files must be in PCM WAV format.

You can convert the wav file to flac using the ffmpeg command line tools
ffmpeg -i ses.xxx-c: a flac sound.flac
I recommend that install ffmpeg from GitHub source, some libraries may be missing at other sources (libebur128 etc.)

This should no longer occur as of version 3.6.0.

I got these errors... will you please help me?
line 75, in
audio_to_text(str(audio))
line 54, in audio_to_text
with sr.WavFile(open(audio)) as source:  # use "test.wav" as the audio source
line 203, in enter
self.audio_reader = wave.open(self.filename_or_fileobject, "rb")
line 499, in open
return Wave_read(f)
line 163, in init
self.initfp(f)
line 128, in initfp
self._file = Chunk(file, bigendian = 0)
line 61, in init
self.chunkname = file.read(4)
line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 326: character maps to

Hi @alikhan2596,
This is a closed issue - please open a new one and fill in the issue template! It seems like your code is converting the WAV file into a string first, which is incorrect.

Hey @DHYANI112. this i a closed issue, so you can open a new one. Your file seems to suggest that the file is not available in the directory - so please check that.


Multidex problem

Hello, i got a problem, on cordova project with installed crosswalk and cordova-plugin-multidex. this plugin just enabled multidex supporting. On Android <5.0 versions my application crashing on launching phase.  When i try to run application without crosswalk application launch successfully. Dalvik log throw some errors:
Could not find class 'org.xwalk.core.XWalkActivityDelegate', referenced from method org.crosswalk.engine.XWalkWebViewEngine.
and some lines after
FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{ com.company.app/com.company.app.MainActivity }: java.lang.RuntimeException: Failed to create webview.

https://github.com/jwall149/cordova-multidex - plugin multidex


Add option for passing additional logging options to vega (e.g., vg2svg)

Currently, it doesn't appear possible to pass arguments to vg2svg and stderr is being written directly into a notebook environment by check_output_with_stderr. This also isn't suppressible as it's not a Python warning.
While it's possible subclass NodeSaver and vg2svg, well, it's a lot of work. As with embed_options, it'd be nice to be able to pass vega_cli_options or some similar list that would get passed through with the cmd into subprocess.run.
Ideally, this would be settable on alt.renderers.options as with embed_options (or maybe not, I'm just spitballing on the implementation).
Concretely, the issue motivating all of this is that when you have multiple renderers enabled, e.g., alt.renderers.enable("altair_saver", fmts=["html", "svg"]) you see warnings in your Jupyter notebook from the svg renderer shelling out to vg2svg (I think):

A companion fix might be to display stderr from the vega CLI commands via Python warnings, so that they could be suppressed if desired.

I made an attempt at piping errors through warnings – it's not hard to implement, but I don't think the result are all that useful.
I think the best fix here is to add options as in #52, but also to unconditionally hide stderr outputs that match "WARN Can not resolve event source", as it sounds like these will appear any time you save a chart with interactive features using the CLI. I don't think these warnings will ever be useful to users, and it would be nice to hide them by default.


Unfreeze tree sitter

The version we used was pretty old, there were lots of changes in tree sitter verilog which hopefully allow us to use the latest py tree sitter.
Ref: #4549

Seems to have helped.


Allow decimals in min-max filters

As a user, it is important to be able to query results with filter

Incident Wavelength  between 2.4 and 2.6 Angstrom

Currently it is not possible to insert decimals in the numeric filters. To be able to use the previous filter, I need to enter it as follow

Incident Wavelength between 240 and 260 pm

Would it be possible to allow decimals value for the following filters:

Incident Wavelength
Incident Photo Energy
Temperature
Pressure

Looks like that didn't quite do it.


Adding Attribute Modifiers

This is my initial stab at doing attribute modifiers.
The following modifiers exist:
Add
Multiply
Divide

The Attribute now keeps track of its BaseValue, an AdditiveMultiplier, a MultiplyModifier, and a DivideModifier.
Additive Multiplier starts at 0, Multiply and Divide start at 1.
When you apply an Add effect, it just adds or subtracts from the Additive value.
For Multiply/Divide, the same is true. If you apply an effect with a Multiply type and a value of 1, it will add 1 to the MultiplyModifier. This would result in doubling the value. Which is weird if you don't know it, but I think it's the easiest way to add this.
The actual Value calc is done with:
Value = (AdditiveModifier + (BaseValue * MultiplyModifier)) / DivideModifier;

(There are checks that happen before the calc to make sure Multiply/Divide modifiers aren't negative, and prevent divide by 0)
So say you have 100 base value, and you have a +1 mod to multiply and divide, you would get a total value of BaseValue.
Value = (0 + (100 * 2)) / 2
Value = 200 / 2
Value = 100

I think there's a few ways that Value calc can be done, and I'm not sure any one is objectively correct, but this is my first stab at it.

Obviously this works differently than my attribute modifier stacks that we've discussed in the past, but the one thing I think would be worth taking from those and applying here would be the optional MinValue and MaxValue I put on attributes.
While it's unlikely in most general use cases that this will become a problem, if anyone is doing something like "Attribute X is your stacking weapon power per-headshot, and then we take Attribute X's value and use it as the multiply modifier in the Damage attribute," you can definitely run into unexpected scenarios where a value gets outside of the range the devs expected it to live within. Having a MinValue and MaxValue which can be set basically just gives some easily-applied guardrails at the attribute level, rather than requiring it be handled case-by-case in the game logic itself.
Otherwise, this looks like a straightforward implementation. 👍

Closes #19

I agree with @Packetdancer about having boundaries to attributes instead of having to clamp them manually using OnAttributeChanged, that will make users code cleaner.
Thanks for the modifiers ! 🕺

It's not a good place to clamp, as if you want to Clamp to a value based on an Attribute, it gets messy. It is good to clamp for "breaking" values, like overflows.

Oh yeah I read that wrong, I see 👍


feat: bump flux to latest

fixes #140
fixes #139

One blocker I think here and a couple other asks. Have you run this on a branch to test the logic? Seems safe to run on a branch and at least echo things out and even create the PR if you want, we can always close it 🤷

will do this!


Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/ioBroker/ioBroker.vis-timeandweather

[ ] [E021] "licenses" in package.json are depricated. Please use only "license": "NAME" field.
[ ] [E105] Title should not have ioBroker in the name. It is clear, for what this adapter was created. Now: ioBroker Visualisation - time and weather Widgets
[ ] [E605] No actual year found in copyright. Please add "Copyright (c) 2013-2020 bluefox<EMAIL_ADDRESS>at the end of README.md
[ ] [E701] No actual year found in LICENSE. Please add "Copyright (c) 2020 bluefox<EMAIL_ADDRESS>at the start of LICENSE

Thanks,
your automatic adapter checker.

Do you need help fixing the bugs?


PR for Meditation-App with respect to issue#257

With respect to issue #257

@Vanshiii203 Kindly Check Now

ok di


Error: Cannot install angular-templates.

Remember, an issue is not the place to ask questions. You can use Stack Overflow for that, or you may want to start a discussion on the Meteor forum.
Before you open an issue, please check if a similar issue already exists or has been closed before.
When reporting a bug, please be sure to include the following:

[ ] A descriptive title
[ ] An isolated way to reproduce the behavior (example: GitHub repository with code isolated to the issue that anyone can clone to observe the problem)
[ ] What version of angular-meteor you're using, and the platform(s) you're running it on
[ ] What packages or other dependencies you're using
[ ] The behavior you expect to see, and the actual behavior

See here for more detail on what is expected of a bug report.
When you open an issue for a feature request, please add as much detail as possible:

[ ] A descriptive title
[ ] A description of the problem you're trying to solve, including why you think this is a problem
[ ] An overview of the suggested solution
[ ] If the feature changes current behavior, reasons why your solution is better

See here for more detail on what is expected of a feature request.

My bad, is this really the place where I should post this?

sorry about that<EMAIL_ADDRESS>has been release now


Support additional options as part of the Config

This commit adds the ability to add a closure suitable for adding
additional options. It is expected to allow someone to set global,
module or class level variables so they can pass changes/options
suitable for making decisions.
Solves #129
I've tried multiple names (additional_options, additional_opts_func, on, ...) and the only one that seems unambiguous is on_options.
I wonder if Kemal::Config is a good place to put it. I've noticed that other pieces for configuration land there and it seems strange to land option configuration in Kemal::CLI when the rest of the application options are stuffed into Kemal::Config.
Thoughts?

@benjolitz how about renaming this to extra_options?

This makes sense. But agree with @sdogruyol renaming it into extra_options. on_options sounds strange alone.

In case you'll one day want to merge this, it's better to have this on the config:
def extra_options(&@extra_options : OptionParser ->)
end

So on the client side it can be like this:
config.extra_options do |parser|
  parser.on(...)
end

That way that fun literal with the explicit type is not needed.
And instead of using a nil? check I'd do:
@config.extra_options.try &.call(opts)

Merging. Thanks @benjolitz 👍 Also thanks @asterite for nice tips.


Fixed #27179 -- Added parenthesis to KeyTransform for postgres JSONField

https://code.djangoproject.com/ticket/27179

buildbot, add to whitelist.

Closing per ticket. The parentheses are added in 2eb7d6e6d41480f21305fc6abe2f1a443491ddec.


Add RekeyLogHandler

r? @mmaxim

Just out of curiosity, why not put this logging code in RekeyUIHandler?

Because rekey ui handler only connected if electron is connected.

On Jul 15, 2016, at 3:41 PM, Mike Maxim<EMAIL_ADDRESS>wrote:
Just out of curiosity, why not put this logging code in RekeyUIHandler?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Makes sense! 👍


fix(StorageInsights): Regenerate component to add samples

Fixes #6147

@bshaffer , On regenerating the component, the gax version was updated in the composer. That update is causing the 2 of the tests in dev/tests/Unit/Command/AddComponentCommandTest fail as they are checking if the earlier version and this new version are equal or not.
I tried regenerating SecretManager as that is used as reference in the tests, that is also producing the updated gax version.

I fixed this issue https://github.com/googleapis/google-cloud-php/pull/6150/files


cocoapods: 1.6.2 -> 1.7.1

Also cocoapods-beta: 1.7.0.rc.2 -> 1.7.1.
Motivation for this change
https://github.com/CocoaPods/CocoaPods/releases/tag/1.7.1
Things done

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

[ ] NixOS
[X] macOS
[ ] other Linux distributions

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

I know cocoapods is usually targeted toward darwin, but I was able build and run pod on x86_64-linux
[16:35:49] jon@jon-workstation ~/projects/nixpkgs (cocoapods)
$ ./result/bin/pod --version
1.7.0

Thanks for checking! I suspect you can't get much further than checking version though as even just installing Pods relies on Xcode (cocoapods loads Xcode's private frameworks to write out project files for some harebrained reason).

Yea, i mean, it's just a ruby tool, so the tool itself makes sense it can run on linux. But just after that, it becomes very platform specific. Just thought it was funny.

Updated to 1.7.1, which was just released today.

This pull request has been mentioned on Nix community. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review-may-2019/3032/8


ddc screenshots

I want to add the screenshots link in README.
If you have good screenshots for ddc.vim, can you add it in this issue?

ddc.vim + nvim-lsp source

ddc with nvim-lspconfig source

Thanks.

ddc.vim + skkeleton

command line history completion with pum.vim
https://github.com/Shougo/pum.vim

fine-cmdline.nvim integration
https://github.com/VonHeikemen/fine-cmdline.nvim

ddc-dictionary completion
https://github.com/matsui54/ddc-dictionary

DDC with ministips, tags and around


toArray() on object types must return actual T[], not Object[] [HPPC-46]

There is actually a comment in the code about this (ObjectArrayList):

The actual value in this field is always Object[], regardless of the
generic type used. The JDK is inconsistent here too – {@link ArrayList} declares
internal Object[] buffer, but {@link ArrayDeque} declares an array of
generic type objects like we do. The tradeoff is probably minimal, but you should
be aware of additional casts generated by javac
when buffer is directly accessed - these casts may result in exceptions
at runtime. A workaround is to cast directly to Object[] before
accessing the buffer's elements.

but this can't stay this way indeed, it's weird. I'll look for a workaround.

Issue: HPPC-46 (migrated from JIRA), created by Dawid Weiss (@dweiss), resolved Feb 17 2011

Comment by Dawid Weiss (@dweiss) (migrated from JIRA)
Fixed in trunk.

Comment by Dawid Weiss (@dweiss) (migrated from JIRA)
There are two ways to solve this. One is to pass Class<KType> to all constructors of generic versions of collection classes (and store it as a field). Not worth it considering the gain would only be applicable to toArray() method (and perhaps to these JVMs that can infer primitive array type at runtime from their boxed counterparts).
Another solution is, unfortunately, to replace the signature of toArray with these:
Object[] toArray()
KType[]  toArray(Class<KType>) { redirects to toArray(KType[]) with proper new component type array object }
KType[]  toArray(KType[])
I'll go with the second option.


eliminate unneded clamp in narrow deblocking filters

An exhaustive check indicates that over the given parameter range, one of the clamp operations in the narrow deblocking filters is unneeded.

LGTM.
I think adding some asserts here and there can possibly help you ensure not to be thrilled to see more of same kinds?! :)

Asserts are a good idea; added.


Can I integrate it into my OC project and use it programmatically?

As for my works, I have to do everything programmatically.
I know there is way to configure those attributes on StoryBorad which is simple.
But I prefer do it by coding.
Thank you, Nice project!

https://github.com/Ramotion/animated-tab-bar/issues/25


Add Google OAuth settings to BFVirtualAssistant demo site

Project
Virtual Assistant
Description
Google OAuth isn't shown in linked accounts in our demo environment meaning Google Calendar scenarios couldn't be shown.
To Reproduce
Go to https://aka.ms/bfvirtualassistant and browse to Linked Accounts. Only Microsoft is shown

Expected behaviour

Add Google Services Provider so it shows up in linked accounts.

Add simple documentation steps on how to add Google once proven ;-)

Additional context

You can get Google oAuth information from here
Test by unlinking microsoft, link a (test) google calendar account with calendar items for today and ask a calendar question.

Part of #346 work

Completed


Add image & created to API task struct

Current coverage is 44.23% (diff: 100%)

Merging #138 into master will decrease coverage by 0.01%

@@             master       #138   diff @@
==========================================
  Files            16         16
  Lines          8905       8905
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           3940       3939     -1
- Misses         3952       3960     +8
+ Partials       1013       1006     -7

Powered by Codecov. Last update da48bf7...d38d495


Add functionality to the Record Audio node to start new job at end of recording

Hey Vrch, here's a patch to add a new toggle to your record_audio node. I hope the functionality is useful to others!
patch.patch
Changes
audio_nopes.py

Add a new control to the node itself, VrchAudioRecorderNode INPUT_TYPES

"new_generation_after_recording":  ("BOOLEAN", {"default": False}),

Pass the new control into process_audio()

def process_audio(self, base64_data, record_mode, record_duration_max, loop, loop_interval, shortcut, shortcut_key, new_generation_after_recording):

audio_nodes.js

Declare the new retrievable settings from beforeRegisterNodeDef()

const newGenerationWidget = currentNode.widgets.find(w => w.name === 'new_generation_after_recording');

Add some additional logic to stopRecording()

if(newGenerationWidget.value === true){
    console.log("New job kicked off from audio recording end.")
    // Locate the div container that holds the activation button
    const buttonContainer = document.querySelector('div[data-testid="queue-button"]');

    if (buttonContainer) {
        // Find the queue button using the data-pc-name attribute
        const queueButton = buttonContainer.querySelector('button[data-pc-name="pcbutton"]');

        if (queueButton) {
            queueButton.click();
        } else {
            console.warn("Queue button with data-pc-name='pcbutton' not found inside queue-button container");
            return;
        }
    } else {
        console.warn("Queue button container not found");
        return;
    }
}

This patch benefits me greatly, as I want to use it for continuously creating new renders as live audio is recorded.

@Nosewall Thanks very much for your contribution! I've reviewed and merged the patch (along with some other changes) into the ComfyUI Web Viewer release v1.0.17.


html-dialog-demos-test: Version is 94005 instead of version 100000.

Dear @ivy-sgi, we have found the following bug:
** Describe the bug**

The test project has not been updated to version 10, it is still 94005.

To Reproduce
Steps to reproduce the behavior:

Import HTML Dialog Demos from market into an Ivy 10.0.2, including the test project.
Watch out for compile errors.

** Describe the bug**

The test project has not been updated to version 10, it is still 94005.

To Reproduce
Steps to reproduce the behavior:

Import HTML Dialog Demos from market into an Ivy 10.0.2, including the test project.
Watch out for compile errors.

Expected behavior
No compile errors shall occur.
Screenshots
Additional context
ialog Demos. There are cases when it would be nice to know if the current version really works with my (offline) Designer.
Expected behavior
No compile errors shall occur.
The actual range of compatible versions of this HTML Demos Version is shown.
Screenshots
Additional context

Dear @phochstr Our dev team will fix it soon.

Hello @ivy-sgi
demo-projects are maintained by ivyTeam. You don't need to fix things here.
This issue already has been fixed one year ago:
https://github.com/axonivy-market/demo-projects/blob/release/10.0/html-dialog/html-dialog-demos-test/.settings/ch.ivyteam.ivy.designer.prefs


Training YOLONAS from scratch for using it in a commercial application

As far as I understand for the license, if I used pre-trained weights for training YOLONAS (fine-tune my model on my dataset), I cannot use it in commercial applications. Is it right?
If so, when training:
from super_gradients.training import models
model = models.get('yolo_nas_l',
                   num_classes=len(dataset_params['classes']),
                   pretrained_weights="coco"
                   )

how to change this and train it from scratch?

Hello, to get a model without pre-trained weights, you should remove the relevant part (pretrained_weights="coco"). This is applicable to any model.

Thanks, and what about "I used pre-trained weights for training YOLONAS (fine-tune my model on my dataset), I cannot use it in commercial applications. Is it right?"

If we use the pre-trained models for knowledge distillation to pre-train the Yolo-NAS from scratch, we're not strictly using the weights. In this case, can we get round the licence ?


[Feature Request]: Introduce Dependency Injection

Describe the solution you'd like
Use Dagger 2 for dependency injection.
Feature problem and its solution
This feature request aims to address the challenge of managing dependencies efficiently within the project. By integrating Dagger for dependency injection, developers can streamline the process of providing and managing dependencies throughout the application, enhancing modularity, testability, and maintainability.

@Vishwajith-Shettigar assigned

@Vishwajith-Shettigar any update?

@Qomfortzone Would you like to work on this issue? Start with the issue once the Architecture Pattern (MVVM) is introduced into the App

@javaman97 I'll do it just ping me once when MVVM is done.

@

@javaman97 I'll do it just ping me once when MVVM is done.

Let's wait today for @NitinSigilipelli otherwise you can start working on #28 as well

@Qomfortzone  You can start working on it once you finish #28

Can I work on it ?
Assign me

@MonuGit9 assigned


Tag with Spaces

I am using tags with space in it. So the text after the space goes to the next line but in the same block.
How to fix it??
 L.control.tagFilterButton({ 	data: ['tomato ketchup', 'cherry blossom', 'strawberry'],   filterOnEveryClick: true,     icon: '<i class="fa fa-pagelines"></i>', }).addTo( map );

I want the names (tag popUps) with spaces on the same line in my project i.e. 'Tomato Ketchup' And 'Cherry Blossom'.
Please guide me.
Thanks

i will check it

Thanks for your consideration.
I am also trying to fix it But I am kind of a newbie. But still I think something have to change in the javascript(leaflet-tag-filter-button.js) file where you use L.DomUtil.create in the  _preparePopup function. I try with some changes in my local copy of the code but nothing worked.

In this inspect shows the anchor tag (a) is separated and If a tag has Space in it goes to the next line but in same "li" of the list.
I share all this so it might help you start fast.
Thanks once again.

Finally I have got the solution. But Thanks anyway.

Hello, would you like to share your solve. You can send me pull request or comment the solve.

Hi, I am glad to help you.
I simply change a module in css file.
display: inline;/=======================    This is the problem inline-block     =================/
instead of (display: inline-block)
That works for me.


[Question] How to assign values at specific index for a local buffer?

I can achieve this with the buffers passed in to the function using tl.store & tl.load but if I pass a local buffer to those functions I get an exception thrown. Is there a way to convert to a pointer to use with store/load functions?
Code(similar to what I am trying to do):
@triton.jit
def test(data):
  temp = tl.zeros((16,), dtype=tl.float32)
  for i in range(0, 16):
    tl.store(temp + i, 2)

Exception thrown when passing local buffer to store function
Pointer argument of store instruction is <[16], fp32>

I don't think indexing into local buffer is supported yet, or even planned to support in the near future. There are similar discussions in past issues.


macOS arm build succeded but cannot be installed: Splitfire is damaged and cannot be opended

I never really tried the build from the CI because I'm using the macOS M1 for development. When I do, I got errors like so:

The build is succeed.
Doesn't happen if I build it with my laptop. Any clue?

https://github.com/tauri-apps/tauri-action/issues/866


added the typing test app

🛠 Fixes Issue (Number)
Issue No. : #888
✅ Check List (Check all the applicable boxes)

[🗸 ] My code doesn't break any part of the project (Zero Octave-Javascript-Projects).
[🗸 ] This PR does not contain plagiarized content.
[ 🗸] My Addition/Changes works properly and matches the overall repo pattern.
[🗸 ] The title of my pull request is a short description of the requested changes.

📷 Screenshots

Also add this project on cards.json and readme

@Astrodevil
I have updated the cards.json and readme.md. Please check and merge my PR


Trusted Root Certificate cleared always when restart the system

My certificate was cleared each and every time when I shutdown on restart the system. When I Open the system it always ask a popup "You are about to install a certificate from a certification authority(CA)", This popup asking me on daily.
So Today I started the machine and got the "you are about to install a certificate" window. I did not click yes or no. I just let that window sit there.
I opened IE and went to the location "Trusted Root Certificate Authority", but the Certificate  is not showing up under "Trusted".
Note :
I gave five years time to expire.

But the certificate was existed in "Personal" and "Intermedicate Certification Authorities" but not in "Trusted Root Certificate Authority"


Missing some RHEL packages after automated OS install for DVT

DVT has some required packages to be installed on RHEL.  You added several using this change:
https://github.com/open-power/op-test-framework/pull/258/commits/4d4b78c8454f30fa527676139933903105d19607
After doing a test automated install of Pegas 1.1 I noticed these packages were missing and should be included as part of the automated RHEL installation post processing for DVT.  Thanks!
nano
sysstat
rpm-build
gcc-gfortran
hdparm
tk
tcsh
lsof
python-devel
dtc
libX11-devel
mesa-libGLU-devel
freeglut-devel
ntpdate

Added remaining packages in commit https://github.com/open-power/op-test-framework/pull/263/commits/1c811b815a1f08743252dcbf9a93ed6131ea599e except dtc which currently redhat is not shipping in the packages.