Is it possible to add custom button as an option or attribute to the directive?

Hi,
Many thanks for this handy directive.
I want to use this directive in one of my project but I am not sure whether it is possible to add custom button as option or attribute to directive element.

hi @umutphp, you definitely can add custom buttons. You just have to listen for the the event vjs-video fires after the player is ready. Below is some sample code on how you can add a custom button using the vis-video icon fonts. Note this is using the video.js 5.x API:

scope.$on('vjsVideoReady', function (e, data) {
    //data contains `id` and `vid` and controlBar

    var VjsButton = videojs.getComponent('Button');
    var MyNewButton = videojs.extend(VjsButton, {
        constructor: function() {
            VjsButton.call(this, data.player);
        }, // notice the comma

        handleClick: function(){
            // Do your stuff
        }
    });
    var buttonInstance = new MyNewButton();
    buttonInstance.addClass("vjs-icon-circle");

    data.controlBar.addChild(buttonInstance);
});

Take a look at this codepen example for a working example.
Let me know if that makes sense!

Many thanks for the quick answer :). It really worked for my case.

Hi @LonnyGomes ,
Is it possible to place the custom button just after the play button?
I could not find anything about button order or place in the documentation.

hi @umutphp, currently no but that sounds like a great feature request!
Seems like you would need to pass in a name, an event handler and a className for the style. Does that sound about right?

Hi @LonnyGomes;
Yes, It sounds good to have such a feature.
Actually, I need fast forward and backward buttons. I think these buttons should be in default configuration.

The more I think of this, I wonder if it would be better for things like adding custom buttons to be offloaded into a video.js plugin. And perhaps vjs-video can be extended to easily add plugins. For your purposes, I found a plugin that seems to do what you're looking for here.


:shrug:

hi

The following commits do not follow the format "KEY-123:"
Where KEY is one of the following project keys: MP
9048a5030138fed2da2c10c0b947be8ec0abe9d5 by spencer portée4c86c484d306646c3a6cf81be4659fcf47b1ee0a by spencer portée7193220eebc9309340c40a4e362a85aa7a9b3a11 by spencer portée7362cc4211df3814bb6336cd460117ed649fd70a by spencer portée

The following commits do not follow the format "KEY-123:"
Where KEY is one of the following project keys: MP
9048a5030138fed2da2c10c0b947be8ec0abe9d5 by spencer portée4c86c484d306646c3a6cf81be4659fcf47b1ee0a by spencer portée7193220eebc9309340c40a4e362a85aa7a9b3a11 by spencer portée7362cc4211df3814bb6336cd460117ed649fd70a by spencer portée

The following commits do not follow the format "KEY-123:"
Where KEY is one of the following project keys: MP
9048a5030138fed2da2c10c0b947be8ec0abe9d5 by spencer portée
4c86c484d306646c3a6cf81be4659fcf47b1ee0a by spencer portée
7193220eebc9309340c40a4e362a85aa7a9b3a11 by spencer portée
7362cc4211df3814bb6336cd460117ed649fd70a by spencer portée

The following commits do not follow the format "KEY-123:"
Where KEY is one of the following project keys: MP\n\n9048a5030138fed2da2c10c0b947be8ec0abe9d5 by spencer portée
4c86c484d306646c3a6cf81be4659fcf47b1ee0a by spencer portée
7193220eebc9309340c40a4e362a85aa7a9b3a11 by spencer portée
7362cc4211df3814bb6336cd460117ed649fd70a by spencer portée

The following commits do not follow the format "KEY-123:"
Where KEY is one of the following project keys: MP
9048a5030138fed2da2c10c0b947be8ec0abe9d5 by spencer portée
4c86c484d306646c3a6cf81be4659fcf47b1ee0a by spencer portée
7193220eebc9309340c40a4e362a85aa7a9b3a11 by spencer portée
7362cc4211df3814bb6336cd460117ed649fd70a by spencer portée

The following commits do not follow the format "KEY-123:"
Where KEY is one of the following project keys: MP
9048a5030138fed2da2c10c0b947be8ec0abe9d5 by spencer portée
4c86c484d306646c3a6cf81be4659fcf47b1ee0a by spencer portée
7193220eebc9309340c40a4e362a85aa7a9b3a11 by spencer portée
7362cc4211df3814bb6336cd460117ed649fd70a by spencer portée


Harbor init containers seem really slow

We should investigate why the init containers in the Harbor related pods are so slow; they seem to run for multiple minutes.

What are these doing?
Can we do something to speed them up?

Closing: doesn't seem to be an issue any longer


Support for ZodUndefined type

I'm wondering if that would be possible to support the ZodUndefined type? I would expect to just ignore the field when generating the OpenAPI schema.

To provide more context, I have a lot of discriminatedUnion where the discriminant can indeed be undefined. So I need to add z.undefined() to that field instead of just omitting it. Otherwise the discriminatedUnion throws an error.

Also, I guess ZodNever type could behave the same way

I would expect ZodUndefined and ZodNever fields to just be ignored and not included in the openapi document. Do you aggree with this? How feasible is it?

Has zod fixed the support for that yet? I recall it not working properly

No, they event planning on deprecating the discriminatedUnion function in favor of a more flexible switch function. But that's out of this issue's scope :)

That sounds reasonable to me. Should be relatively easy to implement


fix(bal-date): Year and Month functionality off

Current Behavior

The first year and month are always highlighted

Disabled months can be selected

On first opening the user has to click twice to select a date

Expected Behavior

Only current month and year should be highlighted
Disabled months / years should not be selectable
First click should trigger selection

Steps to Reproduce
Regular usage
Version
15.1.0
Browsers
Firefox, Chrome, Safari, Microsoft Edge
Device
No response
Code Reproduction URL
No response
Additional Information
No response
Code of Conduct

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

/cib


show nothing if an item has no date

if an item has no date, show nothing (instead of "No Date")
if an item does have a date, show: "Description, Date"
related: #78

What's wrong with "No date"?
The title is currently "Description - Date" if there's an interesting description, so otherwise this is WAI.

since there is no description, "1945" on its own is not understandable... "No date" on its own is also no clear... "Street scene 42nd & 5th ave" or "Street scene 42nd & 5th ave, 1945" is best in both cases in our opinion

"1945" and "No Date" are both pretty clear :)
If the description is "Street scene", it will be shown. The only titles that are suppressed are pure cross streets, e.g. "Manhattan: 42nd and 5th Ave"

we really do not mind that redundancy... it does not look redundant right now (for us) because when you click an image/point you forget what you had clicked on and then the text (eg "42nd Street btwn 5 & 6 av")  gives you context.

I'm fine putting the text back in the top area, which is currently blank. I don't want to put it back in the image details area, which is already way too crowded.

sure... i dont really know what the "top area" is but as long as there is that text...

Closing in favor of #82.


Repository URL for dependency?

Hello!
I am trying to install the connector on an AEM Cloud instance through a CM pipeline. I've added the proper dependencies to the codebase, but what is the URL to the repository that holds this dependency?
I would assume it would be at the below link but it does not appear to be.
https://repo.maven.apache.org/maven2/com/brightcove/
Thanks.

The package can be hosted in a private repository manager or if you are a Brightcove customer, please reach out to their support to get access to our hosted version.


Introduce explicit type PointId (instead of Int) in DiscreteDomain.

So far PointIds were simply represented as Ints. In this PR we introduce an explicit type (value class) PointId. This makes method signatures more clear and avoids confusion when there are several different types of Ids, such as for example in ASMs, where we have to distinguish between PointId and ProfileId.
Besides introducing the type PointId, we also introduce a type ProfileId in the ASM classes.

I agree. This reduces confusion especially in the case of active shape models.
This was also a good occasion to learn more about value-classes :)  (to really leverage them we just have to make sure never to stack the domain points into an array to avoid allocation)


Standardize version number placement

Issue: BOM-3041
Description:
Standardize Python version number placement in init.py

@connorhaugh Actually We are going to run a cleanup job for semantic release workflow and that workflow will need the current version of the package so we need it to be at some standard place for all repos so that we have a single source where we can look in each repo i.e. the 'init' file. Now for the question about why this approach, I will link a discussion here ARCH-BOM-DISCUSSION
Hope it clears any concerns from your side.


fix: broken internal links result schema update

Issue: https://jira.corp.adobe.com/browse/SITES-25870
Linked PR for reporting: https://github.com/adobe/spacecat-reporting-worker/pull/47
Audit result schema updated to match with broken internal links with some differences.
Updated schema for broken internal links audit result:
 {
    url_to: 'https://www.example.com/article/dogs/breeds/choosing-an-irish-setter',
    url_from: 'https://www.example.com/article/dogs/just-for-fun/dogs-good-for-men-13-manly-masculine-dog-breeds',
    traffic_domain: 100,
  },

broken internal links result schema:
{
       "url_suggested": "https://www.petplace.com/article/cats/pet-health/cats-and-mating",
       "url_to": "https://example.com/broken-page",
       "title": "Example Page Title",
       "url_from": "https://referrer.com/referring-page",
       "traffic_domain": 50000
}

Note:

url_suggested field is not implemented yet.
title is not available from RUM data (checked RUM bundles), so excluded
At this moment, fully adhering to schema suggested in "Opportunity Data Model" proposed document isn't possible, because we will have to update the Audit common code, which is used application wide and will need to be done and tested separately for all audit types.

Please ensure your pull request adheres to the following guidelines:

[x] make sure to link the related issues in this description
[x] when merging / squashing, make sure the fixed issue references are visible in the commits, for easy compilation of release notes

Related Issues
Thanks for contributing!

:tada: This PR is included in version 1.32.10 :tada:
The release is available on:

v1.32.10
GitHub release

Your semantic-release bot :package::rocket:


How much "Stream" should we use?

Summary
kinda late to be asking this but I'm slightly confused of how much of our code should utilize Stream?
Description
In Lab 7, we are told to use Java Streams for our method implementations. But are we expected to only use stream methods and do everything in the pipeline or can we use other additional things or data structures? :sweat_smile:

Hi, for question 3, I was thinking of using reduce in the function. For example, the reduce would compare a value with the value before it and the value after it, but this would require 3 parameter inputs, and ternary conditional operators, is there any way I could input 3 parameters into stream functions?

@zxgoh I don't think that Stream can take 3 inputs, but not sure. Maybe one way to do it is that from 1 integer i, based on what u mentioned, you can access array[i-1] and array[i+1].

Hi, for question 3, I was thinking of using reduce in the function. For example, the reduce would compare a value with the value before it and the value after it, but this would require 3 parameter inputs, and ternary conditional operators, is there any way I could input 3 parameters into stream functions?

@zxgoh I don't think that Stream can take 3 inputs, but not sure. Maybe one way to do it is that from 1 integer i, based on what u mentioned, you can access array[i-1] and array[i+1].

@zxgoh yep! as mentioned, you can't really pass in multiple parameters - one workaround is to create a helper class that can hold 3/4 values, and update them using a process function that you can then call inside reduce
Your code will look something like this:
Helper Class
class Helper {
    private final int sum;
    // insert your other values here
    ...
    Helper process(Helper h2) {
        // construct a new helper class that has your updated values
        return new Helper(...)
    }
}

Main
stream.map(x -> new Helper(x))
    .reduce(new Helper(), (r1, r2) -> r1.process(r2))
    ...

Hi, for question 3, I was thinking of using reduce in the function. For example, the reduce would compare a value with the value before it and the value after it, but this would require 3 parameter inputs, and ternary conditional operators, is there any way I could input 3 parameters into stream functions?

@zxgoh I don't think that Stream can take 3 inputs, but not sure. Maybe one way to do it is that from 1 integer i, based on what u mentioned, you can access array[i-1] and array[i+1].

ahh i see, i tried that method of accessing the array instead and it worked, thanks!


Emit st2.generic.actiontrigger	when action/wf is requested/scheduled/running

SUMMARY
It is better for uses to have choice that st2.generic.actiontrigger be emitted not only on action complete, but when an action or workflow is transitioned into requested/scheduled/running state.
ISSUE TYPE

Feature Idea

Detail / Background / Motivation
While I was trying to implement a Slack notification at both start and end of the workflow, I noticed that st2.generic.actiontrigger is only emitted when the workflow reaches LIVEACTION_COMPLETED_STATES, which makes me hard to implement a notification for the start of the workflow.
My idea is to use st2.generic.actiontrigger and write a rule that hook state=running|succeeded by criteria, then run a Slack sendMessage action. I think this is the best approach and design because the target workflow that will be notified on start/end is completely separated from any of the notification code. So notification part is like an aspect and we can weave that into any workflow you like by writing a rule. I can clearly keep a separation of responsibility principle. Some examples:

All those configuration parameters needed for notification like tokens, channels, etc does not exist in the workflow code itself
The notification rules can even be placed in a different pack and separated from the release cycle of those core workflows (which are tend to be more important than notifications since they do real business logic)
If you want to weave notification, then you don't need to modify the target workflow. All you need is to write a rule. This makes us easy to add notification to the exchange pack workflows.

This is fairly easy to implement, but an impact to performance needs to be considered. So I think it is better to have a new config parameter and make this feature opt-in, like this.

Thanks for the feedback - I think that's a reasonable future request (and putting it behind a feature flag / config option is also a good idea).

I believe this is complete with #4315 and #4330.

Yep - thank you.


Request opc server's nodes information

I would like to know if there is a way to request all nodes from an opc endpoint without using the entire Industrial IoT Edge architecture. I only have the following modules in my solution: opc-publisher, twin and discovery modules.
I've already discovered an endpoint in discovery module and I'd like to have access to that server's nodes. How can I access this information without integrating any other services or solutions?
I read the documentation and I know that you can use a web interface or a rest-api, but for that I need other services, right? Is there no way to request this information by direct methods or any other solution?

Release 2.9.0 preview 2 of OPC Publisher was just released. It supports the OPC Twin API without cloud services.  Documentation will be provided soon.


Changed all faulty links to original ones Issue number #1921

[x] New code has 100% test coverage
[ ] (If applicable) The prose documentation has been updated to reflect the changes introduced by this PR
[ ] (If applicable) The reference documentation has been updated to reflect the changes introduced by this PR

Description
This pull request is to let you know that the faulty link of "https://docs.starliteproject.dev/1/release-notes/changelog.html" is now replaced with the correct link so as to remove the error of "404 Page not found"
Close Issue(s)
Closes #1921

Please fix the links on the v1.51 branch within the docs source. The changes made within this PR would be overwritten with the next deployment.

@provinzkraut I didn't see this anywhere else in the code, am i going blind? 🤣
Searching https://github.com/search?q=org%3Alitestar-org+starliteproject&type=code, and searching in the 1.51 branch returned nothing

So, I think what's happened here is that the links are all correct in the source, and this is simply a deployment gone wrong. It seems that for some reason the build was not triggered when it should have been. I'll check this out.

So, I think what's happened here is that the links are all correct in the source, and this is simply a deployment gone wrong. It seems that for some reason the build was not triggered when it should have been. I'll check this out.

Not really. The logic requires adjustments in multiple places. The actual plugin stuff is rather simple and small - no need for two plugins at all.
We might refactor this in the future of course, or simply kill pydantic v1 support in our V3.

@Goldziher I think you might have replied to the wrong issue ;)

@Goldziher I think you might have replied to the wrong issue ;)

🤦♂

It is fixed now by the newest deployment (=

@all-contributors add @RavanaBhrama for docs


TypeError: Object input.css has no method 'includes'

Not sure why this is failing. Apparently input is not defined as a file.
tbuck:Desktop $ react-native-css input.css output.js
React-native-css - v1.2.2

/usr/local/lib/node_modules/react-native-css/build/index.js:28
		if (input.includes('scss')) {
		          ^
TypeError: Object /Users/tbuckley/Desktop/input.css has no method 'includes'
    at Object.parse (/usr/local/lib/node_modules/react-native-css/build/index.js:28:13)
    at Object.<anonymous> (/usr/local/lib/node_modules/react-native-css/bin/react-native-css:20:6)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:906:3

@TimBuckley I have taken out support for sass. I will be updating the library soon to include sass again. Can you use css files for now? I will be doing a release later this evening.

@TimBuckley Thank you, I will be adding a fix now.

Thanks @sabeurthabti!

@TimBuckley
Hi. Can you test the new version for me, I added sass support too.
uninstall current verison
npm uninstall react-native-css -g

npm install<EMAIL_ADDRESS>-g

And I made changes to the CLI, you have to pass in the flags (-i and -o).
react-native-css -i input.css -o output.js

Looks like a typo of build/index.js as buidl/index.js  in bin/react-native-css.
tbuck:css-test $ react-native-css -i input.css -o output.js

module.js:340
    throw err;
          ^
Error: Cannot find module '../buidl/index.js'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/usr/local/lib/node_modules/react-native-css/bin/react-native-css:2:11)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)

@TimBuckley yeah - https://circleci.com/gh/sabeurthabti/react-native-css/30

tested<EMAIL_ADDRESS>

@TimBuckley tested tested<EMAIL_ADDRESS>- all bugs should be fixed.

Looks like those problems are solved. Thanks!

@TimBuckley  thanks for taking time to test those :dart:


Uncaught StandardMaterial needs to be imported before as it contains a side-effect required by your code

I created a minimal example demonstrating the problem. Error message: Uncaught StandardMaterial needs to be imported before as it contains a side-effect required by your code

PlayCode: https://playcode.io/1528851
Plunker: https://plnkr.co/edit/JJD64RaJCGBMW4rw?opreview

<!DOCTYPE html>

    <meta charset="utf-8">
    <title>Example</title>

    <canvas id="renderCanvas" width="400" height="400"></canvas>

I'm sorry. That's my fault. I had to import:
import { StandardMaterial } from<EMAIL_ADDRESS>
<!DOCTYPE html>

    <meta charset="utf-8">
    <title>Example</title>

Issue

Topic

    <canvas id="renderCanvas" width="400" height="400"></canvas>


Player teleport to already loaded area outside view

When a player gets teleport to an already generated area which is outside his view the chunk is invisible or even not there and the player falls into the void.
See "Player teleport no chunk #1529" and

To reproduce try this code, you need to execute the "test" command 3 times for second teleport outside your view
public static void main(String[] args) {
    System.setProperty("minestom.chunk-view-distance", "6");

    var server = MinecraftServer.init();

    InstanceContainer instance = MinecraftServer.getInstanceManager().createInstanceContainer();
    instance.setGenerator(unit -> unit.modifier().fillHeight(0, 40, Block.GRASS_BLOCK));

    MinecraftServer.getGlobalEventHandler().addListener(PlayerLoginEvent.class, event -> {
        event.setSpawningInstance(instance);
        event.getPlayer().setRespawnPoint(new Pos(0.0, 42.0, 0.0));
    });

    Command command = new Command("test");

    final boolean[] check = {false};
    command.setDefaultExecutor((sender, context) -> {
        if (sender instanceof Player player) {
            if (check[0]) {
                player.teleport(new Pos(10000.0, 42.0, 10000.0));
            } else {
                 player.teleport(new Pos(0.0, 42.0, 0));
            }
            check[0] = !check[0];
        }
    });
    MinecraftServer.getCommandManager().register(command);

    server.start(new InetSocketAddress("<IP_ADDRESS>", 25565));
}

Not sure how to fix this myself, but here's some potentially useful info.
The root of the issue seems to be with ChunkUpdateLimitChecker, as called by this method in Player:
    protected void sendChunkUpdates(Chunk newChunk) {
        if (chunkUpdateLimitChecker.addToHistory(ChunkUtils.getChunkIndex(newChunk))) {
            final int newX = newChunk.getChunkX();
            final int newZ = newChunk.getChunkZ();
            final Vec old = chunksLoadedByClient;
            sendPacket(new UpdateViewPositionPacket(newX, newZ));
            ChunkUtils.forDifferingChunksInRange(newX, newZ, (int) old.x(), (int) old.z(),
                    MinecraftServer.getChunkViewDistance(), chunkAdder, chunkRemover);
            this.chunksLoadedByClient = new Vec(newX, newZ);
        }
    }

When teleporting for the 3rd time, the chunk (0, 0) is in the limit checker's history array, and it's not re-sent. If the above method is modified to no longer keep track of chunk update history, the bug no longer occurs and the chunk appears as it should on the client.


Set up runnable backend/twitter-bot project

The following tasks must be done:

Project source repository which can be check out and instantly run on local server
A step-by-step README.md documentation showing how to run and implement the code

Project set up successfully with auto deployments.


⚠ PrivateHD has degraded performance

In b025187, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 5187 ms

Resolved: PrivateHD performance has improved in e6f7389.


Prettify our JSON dumps

Fixes #669.

Hmm, I'm apprehensive about this change as it causes the size of our json dumps to grow significantly.

I'm also 👎  on this

For my app (which uses about 28 scopes making credentials pretty large), a file created without the patch is 3,926 bytes. A file created with the patch is 4,404 bytes.
So growth is ~12.1%. What if we made this a non-default argument to to_json()? Would that be preferable?
FWIW, service account credentials downloaded from console.developers.google.com and generated via API are pretty printed.


Navbar to provide only minimum elements in Figma

Discussion with Ashley Sonntag. Shall we provide only max/hideable placeholders on Navbar?

@madelyn-leet Please check the comments regarding autolayout on the right element. It does not align properly.


TST:special:Add partial tests for nrdtrimn and nrdtrisd

Reference issue
Related : #19953
What does this implement/fix?
Adds partial tests for special functions.
It seems to me that the generic testing infra we have right now is not suitable for customization of parameter domains and it is a bit convoluted. It takes quite some investigation to see what is going on and debugging what failed. Hence I think there is domain expertise needed for the rewrite of the testing suite.
But at least it is better than nothing for now.

Failures don't seem relevant.

Ah yes looks like I used the wrong branch for fixes. Will fix

Let me get this in so we don't have merge conflicts for other additions, thanks @steppi !


Tapping Moves Entire Content

When I set enableRevert & enableSensorRevert to false,
How to reproduce
run the example app
Steps to reproduce the behavior:

set enableRevert & enableSensorRevert to false
tap on counter widget or FAB
see the content tilt and the FAB gets moved away from your finger

Expected behavior
I want the FAB to be able to move around and be tappable without moving or moving the content. so it can move independently and still interact.
i do want to be able to move the counter widget by panning around. maybe have a "disable" control option or something?
maybe this is just a limitation of the example. perhaps some other use case examples would be beneficial. there are a ton of use cases such as revealing hidden content, panning content around, and dropping a ball into a hole (target)
iPhone 12

Hi~ @jtkeyva, Thanks for the suggestion.
Is this the effect you need?

Tapping when enableRevert or enableSensorRevert is false will not cause tilt.
FAB can be moved around and the rest of the content doesn't tilt with it (hypothetical example, mainly showing the competition of gestures).

https://github.com/AmosHuKe/flutter_tilt/assets/32262985/4053d6c5-5e6a-49a4-8d52-a74c6c225bcd

Hi thanks. Yes and when tapping on the "container" was causing it to tilt was well. Is there a feature to set tap to false?
That is a cool example. It also shows a feature that i wanted to try... have content off screen that becomes visible when you tilt or swipe to reveal. So in your instance, how would the FAB be off screen upon load? Then you can tilt to reveal it?
Very cool!

@jtkeyva

Yes and when tapping on the "container" was causing it to tilt was well. Is there a feature to set tap to false?

Currently, Quick Tap cannot gracefully handle gesture competition.
Tilt can only be triggered by moving and long-pressing.

So in your instance, how would the FAB be off screen upon load? Then you can tilt to reveal it?

Upgrading to version 2.0.4
You can try this sample:
Code sample
import 'package:flutter/material.dart';

import 'package:flutter_tilt/flutter_tilt.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Tilt Demo',
      theme: ThemeData(
        primarySwatch: Colors.brown,
      ),
      home: const TiltDemo(),
    );
  }
}

class TiltDemo extends StatefulWidget {
  const TiltDemo({super.key});

  @override
  State<TiltDemo> createState() => _TiltDemoState();
}

class _TiltDemoState extends State<TiltDemo> {
  int _counter = 0;

  bool enableGestureTouch = true;
  bool enableGestureHover = true;
  bool enableGestureSensors = true;

  Offset position = const Offset(-25, -25);

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: const Color(0xFFFFFFFF),
      body: Center(
        child: Tilt(
          borderRadius: BorderRadius.circular(24),
          tiltConfig: TiltConfig(
            angle: 20,
            enableRevert: false,
            enableSensorRevert: false,
            enableGestureSensors: enableGestureSensors,
            enableGestureHover: enableGestureHover,
            enableGestureTouch: enableGestureTouch,
          ),
          lightConfig: const LightConfig(
            minIntensity: 0.1,
          ),
          shadowConfig: const ShadowConfig(
            minIntensity: 0.05,
            maxIntensity: 0.4,
            offsetFactor: 0.08,
            minBlurRadius: 10,
            maxBlurRadius: 15,
          ),
          childLayout: ChildLayout(
            inner: [
              Positioned(
                top: 200,
                child: TiltParallax(
                  size: const Offset(-20, -20),
                  child: Text(
                    '$_counter',
                    style: const TextStyle(fontSize: 20),
                  ),
                ),
              ),
              Positioned(
                bottom: position.dy,
                right: position.dx,
                child: TiltParallax(
                  size: const Offset(35, 35),
                  child: Listener(
                    onPointerDown: (e) {
                      setState(() {
                        enableGestureTouch = false;
                        enableGestureHover = false;
                        enableGestureSensors = false;
                      });
                    },
                    onPointerMove: (event) {
                      setState(() {
                        position -= event.delta;
                      });
                    },
                    onPointerUp: (event) {
                      setState(() {
                        enableGestureTouch = true;
                        enableGestureHover = true;
                        enableGestureSensors = true;
                      });
                    },
                    child: SizedBox(
                      width: 50,
                      height: 50,
                      child: FloatingActionButton(
                        onPressed: _incrementCounter,
                        tooltip: 'Increment',
                        child: const Icon(Icons.add),
                      ),
                    ),
                  ),
                ),
              ),
            ],
          ),
          // onGestureMove:
          //     (TiltDataModel tiltDataModel, GesturesType gesturesType) {
          //   print('--- onGestureMove ---');
          //   print(tiltDataModel.areaProgress);
          //   print(gesturesType.name);
          // },
          // onGestureLeave:
          //     (TiltDataModel tiltDataModel, GesturesType gesturesType) {
          //   print('--- onGestureLeave ---');
          //   print(tiltDataModel.areaProgress);
          //   print(gesturesType.name);
          // },
          child: const MyHomePage(title: 'Flutter Tilt Demo'),
        ),
      ),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return SizedBox(
      width: 250,
      height: 450,
      child: Scaffold(
        backgroundColor: const Color(0x206D6E6F),
        appBar: AppBar(
          title: Text(
            widget.title,
            style: const TextStyle(fontSize: 18),
          ),
        ),
        body: const Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              Text(
                'You have pushed the button this many times',
                style: TextStyle(fontSize: 10),
              ),
            ],
          ),
        ),
      ),
    );
  }
}

@AmosHuKe thank you! that gives me a good head start :) and yes, tapping bug is now fixed :)


Track CCLA Whitelist Requests

Summary
Track CCLA Whitelist Requests
Background
Currently, an email is sent when a corporate user navigates to the contributor console and requests to be whitelisted. Once this email is sent, the EasyCLA system is unable to track the process of the request. Stakeholders have requested that we add the ability to save the request details and later present the request to the Project/Company CLA Managers for review/action.
User Story
As a corporate contributor, I would like the Project/Corporate CLA manager to review my whitelist request.
As a CLA Manager, I would like to see my Project/Corporate whitelist requests within the Corporate Console.
As a CLA Manager, I would like to dismiss/delete a given whitelist request within the Corporate Console.
Tasks
Backend

[x] Create a database table, index, infra config for DEV, STAGING, and PROD deployment. Suggested table columns include: Project ID/Project Name, Repository, Company ID/Company Name, Requestor info (such as ghid, gh email, and any other details we can grab from GH auth flow), status (pending, dismissed), version, date/time created, date/time updated, dismissed
Type of request (e.g. whitelist request)
[x] Create an API endpoint to add/create whitelist requests
[x] Create an API endpoint to search/fetch requests (to support UX for LF Admin and CLA Managers)
[x] Create an API endpoint to delete/dismiss requests (to support UX for LF Admin and CLA Managers)
[x] Update API event log with the request and dismissal actions

Frontend

[x] Update the CLA service interface to allow the UX to create a new whitelist request for a given Project/Company
[x] Update the CLA service interface to allow the UX to fetch the whitelist requests for a given Project/Company
[x] Update the CLA service interface to allow the UX to dismiss/delete a whitelist requests for a given Project/Company
[x] Update the contributor console to save the whitelist request when a contributor makes the request
[x] Update the corporate console to show the list of whitelist requests for a given project/company
[ ] Update the corporate console to allow the CLA manager to dismiss/delete a whitelist request for a given project/company

Acceptance Criteria

Unit Tests added and running in CI
Functional Tests updated to cover feature, if applicable
Demonstrate the set of capabilities to the product team while the code is running in the STAGING environment.

References
N/A

@prasannamahajan - I think we still need to add a hook to add an entry on the Contributor Console - correct?  This issue is:

Users are not authenticated in the Contrib Console
Because of this, we can not make the authenticated API request to create WL request

Please confirm.  We need to figure out a solution to this.

Yes. @dealako
We cannot make authenticated request as we do not use lf authentication on contributor console.
We do use github authentication on contributor console during signing flow. But that is present in python backend where as addCclaWhitelist Request is present in go backend.

@dealako We also have to create api to accept cclaWhitelistRequest.
This can be done by whitelisting user by email or github_username.

Testing In Progress
Logged bugs #782, #780, 779, #768, #657, #596, #593, #588, #581,


Can't run AppImage

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.1 LTS
Release:	22.04
Codename:	jammy
Another-Redis-Desktop-Manager.1.5.9
Trace:
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[30453:1211/003830.903576:FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn't usable. Goodbye.
[1]    30453 trace trap (core dumped)  ./Another-Redis-Desktop-Manager.1.5.9.appimage

Here is something like that too:
[sergey@serenity bin]$ ./Another-Redis-Desktop-Manager.1.5.2.AppImage
(node:1213657) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron.  See https://github.com/electron/electron/issues/23506 for more information
[1213657:0124/162140.534893:FATAL:gpu_data_manager_impl_private.cc(445)] GPU process isn't usable. Goodbye.
Ловушка трассировки/останова (стек памяти сброшен на диск)

Forced to use rdm for a while.

try ./Another-Redis-Desktop-Manager.1.5.2.AppImage --no-sandbox every time.
or run sudo sysctl kernel.unprivileged_userns_clone=1 once and then reopen Another

this may caused by GPU issues in linux

try ./Another-Redis-Desktop-Manager.1.5.2.AppImage --no-sandbox every time.
or run sudo sysctl kernel.unprivileged_userns_clone=1 once and then reopen Another

--no-sandbox is work fine, thank you.

try ./Another-Redis-Desktop-Manager.1.5.2.AppImage --no-sandbox every time.
or run sudo sysctl kernel.unprivileged_userns_clone=1 once and then reopen Another

thank ,"  Linux Mint  "  run  Another-Redis-Desktop-Manager.1.5.2.AppImage  has  same problem ,use --no-sandbox . it work. and appear the interface


please support flux1-dev-bnb-nf4

Hi, have you tried this type of model? I only listed models that I have personally tested, but others might work as well.

@Minamiyama Thanks, for testing I will add them to the supported models in README.


Installing instruction with Docker

Hi,
Can we install this repo using Docker also? Also, I had tried to install this repo with the laradock but didn't make it. It would be nice if you kindly show the procedures. Looking forward, thanks.

Pull the latest dev branch and then from root of the project run
docker-compose up -d

app will run on localhost:80 (your port 80 should be free)
if you want to use any other port than change the APP_PORT=8080  variable in .env file
Let me know if you need any other help

Thank you for your kind support. This command worked like charm, after migrate: refresh I've managed to log in to the app successfully. It seems, from the container bash "$ composer install" is woking but the "npm" is not. Looking forward.
root@cc3cbf31ba8b:/var/www# npm -v
bash: npm: command not found

npm is not installed in the php container, you can install it inside the container, i'll update the docker config soon to make it available by default


Rename segment load wait parameter

Rename waitTillSegmentsLoad parameter to waitUntilSegmentsLoad in the code and console for better clarity.

This PR has:

[ ] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[ ] added documentation for new or modified features or behaviors.
[ ] a release note entry in the PR description.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

Can you please add a release note in the PR description.


Issue with exporting data to CSV in Grav's Data Manager plugin

Hello,
I am currently experiencing an issue with exporting data to CSV in Grav's Data Manager plugin. Whenever I try to export the data, I receive the following error message:
"Server Error
Sorry, something went terribly wrong!
0 - Failed to save file /var/www/grav/tmp/data-manager/63f732fe7c6fc.csv/
For further details please review your logs/ folder, or enable displaying of errors in your system configuration."
I am running Grav on a web browser and I previously had no issues exporting data to CSV.
Can someone please help me troubleshoot this issue?
Thank you in advance for your assistance.

Most likely your folder is not writable by the webserver.
Check this out: https://learn.getgrav.org/17/troubleshooting/permissions

Do you think it has to do with trying to save the file with an appended "/" to the end of it? Look at this other issue discussed:
https://github.com/getgrav/grav-plugin-data-manager/issues/43#issuecomment-1147121498

Thanks everyone


Adds air-conditioner icon

Icon Request

Icon name: air conditioner
Use case: for smart home applications, using on hotel/booking pages/apps
Originates from: #683
Screenshots of similar icons:

I'm not sure about this icon, but well designed.
I think they mostly use a snowflake for air conditioning.
Checked on the internet here are some examples.
Airbnb:

Booking.com:

@ericfennis Yeah, I kind of agree, I even suggested snowflake in #683. :)
Not sure if this has any other use cases, maybe it makes sense to have a unique icon in smart home apps, where snowflake could also stand for other appliances e.g. fridge, freezer etc.
(Then again, thermometer-snowflake could still work there I think).

@karsa-mistmere Tnx for the explaination. You have a point.
Maybe we should rename this to: air-vent-grille or something. Because can also be used for other things with air. For example air-ventilation.


Allow Best Reviewer freeform

Somehow, I declared that we'd try Best Reviewer nominations. Since you can't pick from a list of entries as a Best Reviewer (because non-entrants may vote and review too), I'll need a special textbox for that.

I added the Best Reviewer textbox. Been lotta work. Perilous too - I had to remember to include it in the export as well! But all is good now.


Manually insert RenderEntity / reverse extract

What problem does this solve or what need does it fill?
The new retained render world allows (and, forces) synchonizing entities between both worlds. This can be done via the entity_sync_system() with the SyncToRenderWorld component, but there's no way to manually insert the RenderEntity component on an entity of the MainWorld. The reverse is possible; you simply use the extract phase to read the RenderEntity from the main world, and write the MainEntity in the render world. But since there's no (as I know) "reverse extract" where the render world is read-only and the main world can be mutated, it's impossible to manually insert the RenderEntity into the main world with custom logic.
What solution would you like?
One of:

Have a ReverseExtract phase at the end of rendering, and helper system param to do render->main sync.
Allow the extract phase to mutate the main world (incidentally, this allows stealing resources from main to render without copying them, which can't be done simply if the main world is immutable, and requires workarounds like interior mutability).

What alternative(s) have you considered?
I'm kind of stuck because I looked at entity_sync_system() and it's using a hard-coded hook into the SubApp, where it's explicitly called before the extract(main, render) call. Since I can neither 1) read the existing SubApp::extract function (to be able to call it from a custom one which would replace it); nor 2) add a second custom extract function to the render app, as a consequence I cannot install my own sync system with custom logic because I would overwrite the default Bevy one and break all extract systems.
Additional context
I'm trying to convert Hanabi to use the retained render world, and need to sync the particle effect on the main world and the cache one on the render world, both pointing to each other. I believe this should greatly simplify/clarify the code, by leveraging ECS to store the data instead of custom containers, and allow more granular and clear systems to operate on partial effect data (as opposed to know, few systems doing many different things on one giant blob of data per effect). However I want to run custom logic when creating the render app entity, because I only want to do so if the main world component passed a few basic validations, to prune potentially invalid effects. I also hate having that SyncToRenderWorld marker component which is unrelated to my library, and is redundant with the fact all entities with my particle component should already synchronize by design. Finally, the SyncWorldPlugin says the sync is done at the very beginning of the frame, but I want this sync done just before extract, because I don't want to incur a one frame delay on newly spawned effects.

I don't have strong feelings here, but @pcwalton or @tychedelia might. If you can come up with a non-breaking solution here I'll make sure it gets into a 0.15 point release.

Re-thinking about this, I think part of my answer is in my question 🤡 since I found the entity_sync_system() is called right before extract, so the sentence in the docs "at the very beginning of the frame" is misleading (should read "of the render frame"), but indeed the entities are sync'ed once you start extraction and after the main world ticked.
For the requirements, I forgot to mention that several components on the render entity contain references to GPU resources, so I need a hook to read those before the entity and its components are despawned. Otherwise I will have GPU memory leaks. I didn't look into the observers API; maybe there's a way to do that?
As for the minimal non-breaking solution, I think adding the ability to inject a custom pre-extract system via e.g. SubApp::add_pre_extract() or be able to replace the default one with an override which calls it (so, needs read access on replace, maybe SubApp::set_extract() should return the previous function?).

Yeah, OnRemove observers (or hooks) will work perfectly to catch the memory leaks.

As for the minimal non-breaking solution, I think adding the ability to inject a custom pre-extract system via e.g. SubApp::add_pre_extract() or be able to replace the default one with an override which calls it (so, needs read access on replace, maybe SubApp::set_extract() should return the previous function?).

Can we expose a system set to allow you to inject logic at the right time?

Can we expose a system set to allow you to inject logic at the right time?

Well, I believe that's what #16862 would do? Or are you thinking about something else @alice-i-cecile? This is a bit specific because it needs mutable access to both the main and render worlds, so I don't think a normal system registered inside an existing schedule would allow that, would it?


radix?

Radix (optimized Trie) isn't on your list? would be nice to add it as well... thanks!

It is on my list. But since I am currently re-writing low-level version of Tries (not completely dynamic but very fast and lean in memory), I am waiting to finish this before working on radix trees. However, if you feel confident you can develop a fully dynamic radix tree for the library, don't hesitate to open a PR. I will gladly review it and help you add the structure to the library. Do you need it for a particular use case or just for reference (I admit I usually only implement structures I actually use in my work)?

As ref, the radix tree should be listed in the looooong #15 list.


Add button to directly navigate from Landing page to Track/Blog Page

PR Fixes:

User navigation from the Landing page to Track/Blog Page

Resolves #637
Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I assure there is no similar/duplicate pull request regarding same issue

Before

After


lsp features

[ ] completions

[ ] context-sensitive completions
[ ] completion for identifiers in current document
[ ] completion for against identifiers in introspection

[ ] hovers

[ ] table/column info
[ ] signatures for user-defined functions
[ ] signatures for postgres built-in functions

[ ] diagnostics

[ ] detect trailing/missing comma
[ ] error when referencing undefined

[ ] schemas
[ ] tables
[ ] columns

[ ] type mismatches

[ ] for equality [cannot compare uuid to int]
[ ] for functions [function expected uuid, received

[ ] go to definition

everything is currently blocked by needing a parser
options:

parse using emscripten build of libpg-query

@cybertec-postgresql/pg-query-emscripten (uses pg v13 parser, pglite uses v15)

parse using wasm build of treesitter
parse using textmate grammar included with vscode/monaco?

may also be blocked by https://github.com/microsoft/language-server-protocol/issues/1264


Improvement : enabling multiline mode

Hi,
Not really a bug but this would be a nice improvement to a nice and neat package.
Thanks for the job so far !
Regards

Should be really great !


Remove the visualizer

Description
The old visualizer is obsolete and its code base isn't maintained anymore. The designer provides a much richer experience. We do not need to continue carrying the baggage of that old code. We should remove references to the visualizer from the site and remove the visualizer code from GitHub.

Done!


Support typhoeus 1.3.0

Typhoeus::Response::Header becomes delegated class instead of Hash
subclass from 1.3.0.

Awesome. Thank you!

Released as version 3.1.0


Add E2E tests on web

I'll be taking over this issue

Done in https://github.com/Expensify/react-native-live-markdown/pull/337


Add: Pyjamas

Thank you! I just noticed while packing my stuff for congress that it was missing, didn't have a chance to include it till now though


feat: DoH3 resolver

With recent changes made in #161 and refactoring that followed in #163, it is now easy to add new resolvers.
This PR adds an experimental DNS-over-HTTP/3 resolver on top of the #163. Its implementation depends on quic-go module, as Go's STL is not ready for HTTP/3 yet.
To use the resolver one should replace the following line of code:
https://github.com/Ledorub/SpoofDPI/blob/e29f02d596df8f7355f8280c5622aa508ce89159/dns/dns.go#L38
with:
		dohClient:     client.NewDOH3Resolver(addr),

I used it for a day, and for me it was less stable and performant than the default DoH resolver. Some lookups take 100+ ms to resolve, some fails with timeout. It is not clear, what causes the issues. Is it a calling code, HTTP client & transport configuration or the quic-go module.

Please correct me if I'm wrong, but isn't DoH3/DoQ is a pretty bad idea for anti-censorship since they specifically use port 8853 and would not masquerade as well with HTTPS traffic on 443?

isn't DoH3/DoQ is a pretty bad idea for anti-censorship

As far as I am aware of, DoH3 and DoQ are not the same thing. DoQ relies on Quic as a transport-level protocol, which is built on top of UDP and uses UDP port 853, while DoH3 relies on HTTP, which happens to be HTTP/3, which in turn uses Quic as transport.

@xvzc I was going to pull the changes from origin/dev to fork to rebase this branch on top of them, but the dev branch is gone from the main repo. Are both #161 and #163 scrapped?

OMG i for got to merge it. i still have it in my local i will resolve and merge it to the main now

Ok, I pushed my local copy to the fork's branch in case you need it.

It's done but i actually had to overwrite the conflicted files because there was too much conflict with current main branch. I'm so sorry about this.


fixed master.yaml for reboots

Without the -, that step fails on reboot, and invalidates the whole flannel unit.
I experienced this on Azure and aws.

Thanks for the fix. Our lawyers say that we can't take even simple changes like this without a signed CLA on file. CONTRIB.md explains the process.

Thanks, I understand:-)
I'll look into that process stuff tomorrow.

Can you change all cloud-configs for master, and not just this one?

@chanezon are you in MS Open Tech?  I believe we're already have a CLA from them.

@brendanburns I saw the CLA, and I'm not part of OpenTech. I'll ask our Lawyer today.
In the meantime, @jeffmendoza or @ahmetalpbalkan maybe one of you can create a similar PR (it's one character long) and submit it:-)

I'll take care of it.
On Feb 13, 2015 6:05 PM, "Patrick Chanezon"<EMAIL_ADDRESS>wrote:

@brendanburns https://github.com/brendanburns I saw the CLA, and I'm
not part of OpenTech. I'll ask our Lawyer today.
In the meantime, @jeffmendoza https://github.com/jeffmendoza or
@ahmetalpbalkan https://github.com/ahmetalpbalkan maybe one of you can
create a similar PR (it's one character long) and submit it:-)
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/4362#issuecomment-74297815
.

Thank you @pires!

Thank you @chanezon. Nice catch.

Closing this since it seems that it no longer needs merging


Let extension be stateless

@lepture @VeryCB Please review it. Thanks.

failed

@lepture fixed

LGTM cc @VeryCB

LGTM


adding explicit permissions

following https://stackoverflow.com/questions/73687176/permission-denied-to-github-actionsbot-the-requested-url-returned-error-403


feat(message-list): added disableOnYReachWhenNoScroll property

PerfectScrollbar by default fires onYReachStart and onYReachEnd events
even when there is no scrollbar at all.
"disableOnYReachWhenNoScroll" property disables this behavior.

:tada: This PR is included in version 1.6.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:

How can Upload image/docs??


HAWQ-458. Wrongly judge validate connection context progress for failing to acquire resource

git error cause another commit involved


testing e2e_mask_rcnn_V_39_FPN_2x.yaml get low mAP

hi @stigma0617
when i test the e2e_mask_rcnn_V_39_FPN_2x.yaml using the trained model from provided link, it only get 0.005 for bbox and 0.005 for mask. it seems that it miss some weights from the stem.

@zimenglan-sysu-512
thanks for pointing out.
I update the download link


Added quiet mode

Added a new optional flag inside the options which when set to true will disable the logging information.

Logging is handled by Grunt. If you want to reduce the logging you can use Grunt's CLI options http://gruntjs.com/using-the-cli.
If the current logging is not done using the correct options, then please open a new PR with the proper changes using the updated logging methods http://gruntjs.com/api/grunt.log.

Created a new PR using the grunt.verbose function.
Thanks.


apply loop unroll trick

Check List:

[x] You have run ./mvnw verify and the project builds successfully
[x] Tests pass (./test.sh <username> shows no differences between expected and actual outputs)
[x] All formatting changes by the build are committed
[x] Your launch script is named calculate_average_<username>.sh (make sure to match casing of your GH user name) and is executable
[x] Output matches that of calculate_average_baseline.sh
[x] For new entries, or after substantial changes: When implementing custom hash structures, please point to where you deal with hash collisions (line number)

Benchmark 1: ./calculate_average_abeobk.sh
Time (mean ± σ):      1.310 s ±  0.004 s    [User: 0.002 s, System: 0.005 s]
Range (min … max):    1.303 s …  1.318 s    10 runs
This version is faster on 8 threads (1.53s -> 1.31s),
but slower than previous version on 36 threads (0.56s -> 0.627s)

Nice!
Benchmark 1: timeout -v 300 ./calculate_average_abeobk.sh 2>&1
  Time (mean ± σ):      1.964 s ±  0.016 s    [User: 0.002 s, System: 0.003 s]
  Range (min … max):    1.935 s …  1.973 s    5 runs

Summary
  abeobk: trimmed mean 1.9700661416200003, raw times 1.93466153562,1.9687762126200001,1.9683303976200002,1.97309181462,1.9733764866200003

Leaderboard

| # | Result (m:s.ms) | Implementation     | JDK | Submitter     | Notes     |
|---|-----------------|--------------------|-----|---------------|-----------|
|   | 00:01.970 | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_abeobk.java)| 21.0.2-graal | [Van Phu DO](https://github.com/abeobk) | GraalVM native binary, uses Unsafe |


Wrong resolve argument in nested types

Hello !
I have the following resolvers, (schema created with makeExecutableSchema)
const resolvers = {
  Muation: {
    viewerMutation: (_, args, context) => {
      book: () => {
          author: ({id}) => getAuthorForBook(id)
      }
    },
  },
}

And I am trying to do something like this:
const logMiddleware = {
  Muation: {
    viewerMutation: async (resolve, parent, args, context, info) => {
      book: () => {
          author: ({id}) => {
               console.log('request author for book:', id)
               return resolve(root, {id}, context, info)
          }
      }
    },
  },
}

But I am getting an issue, the resolve inside author is not calling getAuthorForBook.
I would have expected to find a resolver argument on author but nested types seem to behave differently from root types (under Mutation or Query)
Is this a normal behavior ?

I am having a similar issue

Hi @hassenc @theluk 👋 ,
Thank you for being so patient with this issue. I have the capacity to help you with the problem; I only need the reproduction CodeSandbox or something similar. This way, I can help you more quickly.

This was first CodeSandbox , spend almost two hours, looks like that I was able to recreate issue.
.https://codesandbox.io/s/nice-hypatia-y0dro?file=/app.js
https://y0dro.sse.codesandbox.io/graphiql
when I don't use shield all players are returned
when I use,  I get an issue

@maticzav

Hi @hassenc @theluk 👋 ,
Thank you for being so patient with this issue. I have the capacity to help you with the problem; I only need the reproduction CodeSandbox or something similar. This way, I can help you more quickly.

Maybe this helps?


TH1D class methods values, allvalues, variances, allvariances return lists, not arrays

I think they should return numpy arrays instead of lists. numpy is strict dependency for uproot, so it would be ok to return arrays. Returning arrays is more efficient, perhaps they can be views even into the memory of the TH1D object.

uproot has fast components and slow components: fast when reading a TTree basket into an array, slow when parsing headers of objects. Reading histograms is squarely in the latter category. When uproot starts up, it doesn't even know how to deserialize a histogram— it has to generate a class from the streamers it finds in the ROOT file header. That generated code is a plodding sequence of calls to struct.unpack. The bin contents are a minority of the data at the end of the object.
Histograms return lists because histograms are lists. uproot has to follow the ROOT class hierarchy because its classes are defined by streamers. All TH* classes are subclasses of a TArray*, which I've made a subclass of the Python list as the most idiomatic choice. There are many other situations where TArrays are used, and something with all the properties of a list is the right choice in those cases.
I could change the definition of uproot.rootio.TArray to be a class that behaves like a list but internally keeps a view of the raw array, so that histograms can return this. (Note: the raw array is big-endian.) Due to all the muck that has to be done earlier (deserializing all the things attached to the histogram), it would only make a performance difference for the biggest histograms, like a big TH2. Without subclassing list, I'd have to write all the methods to emulate a list. (Maybe there's something in containers.abc I could use.)
It can be done, but it doesn't seem like the reward to effort is high. Is it?

This is followed up by issue scikit-hep/uproot-methods#18 and PR scikit-hep/uproot-methods#21. We agreed not to change the internal representation of TArray*, only the outputs of these methods as an API thing. Therefore, no changes need to be made to the uproot library itself and I can close this issue.


Macro errors in working code (rust-analyzer master, 90ccf4f5adf)

Tried with 5fe8cb1fb (current master).
Cargo.toml:
[package]
name = "macro_test"
version = "0.1.0"
authors = []
edition = "2018"

[dependencies]
futures = { version = "0.3", default-features = false, features = ["std", "async-await"] }
tokio = { version = "0.3.6", features = ["time"] }

main.rs:
use futures::future::Fuse;
use futures::select;
use tokio::time::Sleep;

fn main() {}

async fn _test(mut x: Fuse<Sleep>, mut y: Fuse<Sleep>) {
    select! {
        () = x => {},
        () = y => {},
    }
}

Error:

Duplicate of https://github.com/rust-analyzer/rust-analyzer/issues/6835.

Duplicate of https://github.com/rust-analyzer/rust-analyzer/issues/6835.


Version 2.4.6 won't connect to Hidden Access Points

Hardware
ESP32
Firmware version
v2.4.6
Application version
v2.4.6
What happened? What did you expect to happen?
After updating to firmware 2.4.6 I started having issues getting the ESP32 to connect to my IoT network, which is a hidden WiFi network with some of the more modern WiFi features turned off so it plays more nicely with IoT devices. It seems like the logic for reconnecting to WiFi has changed, and if the SSID doesn't appear in a scan list then it never attempts to reconnect.
When you add a hidden network to an Android phone there is a checkbox to mark the network as hidden, I think to solve this exact problem. It forces a reconnect attempt, regardless of whether the network appears in a scan. Do you think a checkbox like this would be possible to implement?
How to reproduce it (step by step)
1. Setup v2.4.5 on a WiFi network with a hidden SSID
2. Update the firmware to v2.4.6
3. The SoftAP will be started and the device will not connect

Logs
No response

Just want to approve the issue. Im also using a hidden IoT network

There are many more networks out there with mesh and beamforming as reflected by the periodic disconnects for other users.

Ironically my hidden IoT network was created was to improve connection stability by disabling all of the fancy modern stuff and leaving just a bog-standard WIFi network! It's been rock-solid until now.

If the ability to ensure the strongest AP on the SSID is hampered then I am afraid that hidden SSIDs won't be supported.

Roaming between APs almost never works on hidden SSIDs regardless of the device, but if there is only a single AP then roaming is irrelevant. It's just a different connection strategy and it's a shame that it's not all abstracted away by the ESP32 libraries.

Can I suggest adding a comment to the release notes for anyone else updating, to warn them about this change in behaviour. It was not obvious what the issue was on my end, and I spent quite a bit of time re-flashing the update and banging my head against the wall about why it would no-longer connect to my WiFi.

I am currently looking at bypassing the autoReconnect and SSID optimization using a checkbox on the network tab.  The network connectivity stuff for the ESP32 has been a bit of a bugger.  I believe most of it stems from the lack of protocol support for mesh networks which probably didn't exist at any appreciable level when the radio was developed.  I believe there are probably some hardware restrictions with it.

Can I suggest adding a comment to the release notes for anyone else updating, to warn them about this change in behaviour. It was not obvious what the issue was on my end, and I spent quite a bit of time re-flashing the update and banging my head against the wall about why it would no-longer connect to my WiFi.

It was never my intent to make hidden SSIDs not work.  The intent was to make sure that the ESP32 connected to the strongest AP when it was available.   The issue with many was that when their network rebooted it would connect to the first AP that came up.  Unfortunately, this was often the master router.   If they had additional APs then the ESP32 would end up bound to the wrong AP.
I will add a note to the release notes indicating that in v2.4.4+, hidden networks can be an issue.

I managed to bypass all of the network scanning when connecting to the SSID.  Please install pre-release v2.4.7 and check the checkbox below.

Just installed 2.4.7 pre-release, and that option seems to be working for me. Thank you for implementing a fix so quickly!

I am going to close this one for now let me know if you need anything else.


Initial Commit

Pull Request Template
script name -
clock.py
What have you Changed
Added script for clock module with clock, stopwatch, and timer
what you changed in the codebase.write here
Issue no.(must) - #264
Self Check(Tick After Making pull Request)

[x] This issue was assigned to me.
[x] One Change in one Pull Request
[x] My file is in proper folder
[x] I am following clean code and Documentation and my code is well linted with flake8.
[x] I have added README.md and requirements.txt with my script

If issue was not assigned to you Please don't make a PR. It will marked as invalid.
Join Us on Discord:- https://discord.gg/JfbK3bS
acknowledgement

[x] I have tested the script and distributing it under MIT license.

please, Change the folder name to lower case.

The name has been changed


Gateway imposes 10k limit on POST body

POST bodies to an openwhisk gateway route are squashed for attachments larger than 10 kilobytes. There is no error, the payload is silently squashed. Worse, the entire payload is squashed if any part of it results in the payload as a whole exceeding 10 kilobytes.
The underlying OpenWhisk action is still invoked, but with an empty payload.

Thank you for bringing this to our attention, we are currently looking into a solution for this.

here is a test. if you run test.sh 5 you get a PASS (exit code 0), and if you run for any value greater than 10*1024, you get FAIL (exit code 1)
apigwtest.zip

@starpit This was happening because the default in-memory buffer size for nginx is set to just 8K. I've increased the buffer size to 1M to fix the problem.

thanks @alexsong93 for the quick fix!!
is the fix in production?

has this fix been promoted to production? i'm still seeing the >10k squashing effect. thanks

@mhamann Have the new changes made its way to the prod/ys1 stacks?


Not compatible with Py3k?

I've tried running this on a Python 3 project and I got the following error:
  File "-deleted-/lib/python3.4/site-packages/django_baker/management/commands/bake.py", line 54
    print app_label, model_names
                  ^
SyntaxError: Missing parentheses in call to 'print'

Seems like there is not reason to support Python 2 and Python 3, is this project still in active development? If so I can work on a pull request if desired.

Fixed.


[KeyVault Keys] [KeyVault Secrets] v4.0.4 Challenge based authentication hotfix

This PR updates @azure/keyvault-keys and @azure/keyvault-secrets to version 4.0.4. It includes a fix for the issue #9005, which consists in ensuring that parallel requests load the already cached credentials appropriately.
I'm using the same base branch as the one used for the previous hotfix (4.0.3): https://github.com/Azure/azure-sdk-for-js/tree/hotfix/keyvault-challengeAuth-keys-secrets-4.0.3
The fix in greater detail
PR to master: https://github.com/Azure/azure-sdk-for-js/pull/9059
The recent hotfix showed an outstanding bug now that the cache is working correctly: Multiple async requests running at the same time quickly fail rather than re-using the credentials of the first authenticated.
This fix ensures that anytime we receive a response that indicates that authentication is necessary we update the original request with the available credentials and send it again, even if we already had a valid token and challenge in memory.
I also refactored the logic to make it easier to follow, so that future changes can be made more straightforwardly.
Changes in this PR unrelated to KeyVault
The base branch, used in the last hotfix, is currently broken due to rush install unexpectedly changing dependencies and breaking the build.
These changes consist of:

Pinning api-extractor to 7.7.11
Setting strictPeerDependencies to false on the rush.json file.

These changes are unrelated to the fixes. Though since rush install should work over time, this base branch is being currently used to investigate what seems to be a bug in our Rush setup.

So, this PR is green, but I'm waiting for @xirzec 's approval on #9059, and on Mike Harder's thumbs up on my build fix in this PR.

/check-enforcer evaluate

@sadasant, Please update the PR description with the reasons for making non Keyvault related changes in this PR

@mikeharder In a hot fix branch, can we disable building of packages that are not related to the fix being made? If there is a way we can add exceptions to other packages in rush.json, then things get much simpler. One shouldnt need to update dependencies in every package in the hot fix branch in order to get a fix published for 1 package

@ramya-rao-a

@sadasant, Please update the PR description with the reasons for making non Keyvault related changes in this PR

Done! 🌞 Feedback appreciated.

/check-enforcer evaluate

/check-enforcer evaluate


Exported to R3F Gives Error: Cannot set properties of undefined (setting 'value')

https://codesandbox.io/s/vkx82s?file=/src/Scene.js
This scene works fine when exported in React, but in the case of R3F, it gave me this error:

Should be fixed in version 0.9.102 of @splinetool/loader


Errors during OverflowToolbarButton initialisation

OpenUI5 version: 1.108.0, but seems to be present in every version I tried
Browser/version (+device/version): latest firefox, chrome
Any other tested browsers/devices(OK/FAIL): -
URL (minimal example if possible): https://jsfiddle.net/vfej4wdb/
Steps to reproduce the problem:

Open the example
Check the console

What is the expected result?
No errors
What happens instead?
The toolbar button causes these errors:
"ManagedObject.apply: encountered unknown setting 'pressed' for class 'sap.m.OverflowToolbarButton' (value:'false')"
"ManagedObject.apply: encountered unknown setting 'overflow' for class 'sap.m.OverflowToolbarButton' (value:'true')"
Any other information? (attach screenshot if possible)
The button seems to work fine

sap.ui.vk.ContainerBase is passing the wrong properties to the sap.m.OverflowToolbarButton settings. But this issue cannot be handled here on GitHub since sap.ui.vk modules are is not part of the OpenUI5 repo. For modules available only in SAPUI5, a customer incident needs to be created. According to the API reference, incidents regarding sap.ui.vk.ContainerBase/MapContainer should have the component "CA-UI5-VTK" assigned.


Problem with multiple pickers

I have a page with three date fields arranged vertically.
So I have three date pickers arranged vertically.
When I open the top date picker, the rectangles for the two lower pickers show through as white rectangles hiding the dates in those positions under them. As I have arranged them the second date picker rectangle down sits just over the Month area and although not visible appears to sit over the right hand date arrow because that arrow does not respond to mouse clicks.

This seems to be related to #89

I also see this happens also with the plunkr demo.


Create Player Party Container Class

This class should have everything to identify a player party.

PlayerId from platfromAPI
Associated Party Entity
MobileParty
NetPeer

Replace any dictionaries/hashmaps that coordinate these with an array/list of these classes.

No, dont


.NET 6 support

Added native support for .NET 6.
I haven't tested if .NET Framework will still work with this.

Something i've been neglecting to do, and .NET framework still works fine. thanks!


Fetch Ratings Error: Unable to fetch your song ratings.

Thanks for the report.
Which page are you on when you get the errors?

Also, does it happen on all pages (with a songs list) or just some of them?

I believe the error is raised 3 times per played song and, as far as I can tell, only occurs under songs in my library.

Though I couldn't reproduce part of the issue (I couldn't get the error to appear), but I did see failed requests to fetch the ratings as part of the queue / history feature.
Looks like something in MusicKit JS has changed, which caused a lot of issues with the ratings feature in the queue list. I've now disabled loading ratings for the queue list and disabled the play history since much of it wasn't working correctly.
Please let me know if you stop seeing the issue. This will still need more work, but hopefully should remove the annoying popup.

I think I've fixed up the different scenarios where these errors occur, so if this issue re-occurs, please re-open and I'll investigate it more.
(related #84)


No available SASL mechanisms, verify that the configured authentication module is working

Hello,
I have setup the prosody config to be like so,
VirtualHost "meet.myserver.com"
           authentication = "matrix_user_verification"
           app_id = "meet.myserver.com"
           uvs_base_url = "http://<IP_ADDRESS>:3000"

When i try to do a video call, prosody issues a warning
bosha67b1ca4-cf64-40f7-aba8-de4974004a82        warn    No available SASL mechanisms, verify that the configured authentication module is working
Also, i dont see a call being made to the UVS running on <IP_ADDRESS>.
Any idea what could be the issue?
Here is the full log
Jun 26 23:53:18 startup info    Hello and welcome to Prosody version 0.11.9
Jun 26 23:53:18 startup info    Prosody is using the select backend for connection handling
Jun 26 23:53:18 general info    Starting speakerstats for conference.meet.myserver.com
Jun 26 23:53:18 speakerstats.meet.myserver.com:speakerstats_component     info    No muc component found, will listen for it: conference.meet.myserver.com
Jun 26 23:53:18 speakerstats.meet.myserver.com:tls        info    Certificates loaded
Jun 26 23:53:18 portmanager     info    Activated service 's2s' on [*]:5269, [::]:5269
Jun 26 23:53:18 focus.meet.myserver.com:tls       info    Certificates loaded
Jun 26 23:53:18 portmanager     info    Activated service 'c2s' on [*]:5222, [::]:5222
Jun 26 23:53:18 portmanager     info    Activated service 'legacy_ssl' on no ports
Jun 26 23:53:18 auth.meet.myserver.com:tls        info    Certificates loaded
Jun 26 23:53:18 localhost:tls   info    Certificates loaded
Jun 26 23:53:18 meet.myserver.com:auth_matrix_user_verification   info    uvs_base_url = http://<IP_ADDRESS>:3000
Jun 26 23:53:18 meet.myserver.com:auth_matrix_user_verification   info    No uvs_auth_token supplied, not sending authentication headers
Jun 26 23:53:18 meet.myserver.com:auth_matrix_user_verification   info    uvsSyncPowerLevels = false
Jun 26 23:53:18 portmanager     info    Activated service 'http' on [*]:5280, [::]:5280
Jun 26 23:53:18 portmanager     info    Activated service 'https' on no ports
Jun 26 23:53:18 meet.myserver.com:tls     info    Certificates loaded
Jun 26 23:53:18 internal.auth.meet.myserver.com:tls       info    Certificates loaded
Jun 26 23:53:18 conference.meet.myserver.com:tls  info    Certificates loaded
Jun 26 23:53:18 conference.meet.myserver.com:token_verification   error   'app_secret' or 'asap_key_server' must be specified
Jun 26 23:53:18 conference.meet.myserver.com:muc_domain_mapper    info    Loading mod_muc_domain_mapper for host auth.meet.myserver.com!
Jun 26 23:53:18 conference.meet.myserver.com:muc_domain_mapper    info    Loading mod_muc_domain_mapper for host localhost!
Jun 26 23:53:18 conference.meet.myserver.com:muc_domain_mapper    info    Loading mod_muc_domain_mapper for host speakerstats.meet.myserver.com!
Jun 26 23:53:18 conference.meet.myserver.com:muc_domain_mapper    info    Loading mod_muc_domain_mapper for host internal.auth.meet.myserver.com!
Jun 26 23:53:18 conference.meet.myserver.com:muc_domain_mapper    info    Loading mod_muc_domain_mapper for host conference.meet.myserver.com!
Jun 26 23:53:18 conference.meet.myserver.com:muc_domain_mapper    info    Loading mod_muc_domain_mapper for host focus.meet.myserver.com!
Jun 26 23:53:18 conference.meet.myserver.com:muc_domain_mapper    info    Loading mod_muc_domain_mapper for host meet.myserver.com!
Jun 26 23:53:18 speakerstats.meet.myserver.com:speakerstats_component     info    Hook to muc events on conference.meet.myserver.com
Jun 26 23:53:18 general info    Starting conference duration timer for conference.meet.myserver.com
Jun 26 23:53:18 conferenceduration.meet.myserver.com:conference_duration_component        info    Hook to muc events on conference.meet.myserver.com
Jun 26 23:53:18 conferenceduration.meet.myserver.com:tls  info    Certificates loaded
Jun 26 23:53:18 conference.meet.myserver.com:muc_domain_mapper    info    Loading mod_muc_domain_mapper for host conferenceduration.meet.myserver.com!
Jun 26 23:53:18 guest.meet.myserver.com:auth_token        error   'app_id' must not be empty
Jun 26 23:53:18 guest.meet.myserver.com:tls       info    Certificates loaded
Jun 26 23:53:18 conference.meet.myserver.com:muc_domain_mapper    info    Loading mod_muc_domain_mapper for host guest.meet.myserver.com!
Jun 26 23:53:21 c2s563765b1ddc0 info    Client connected
Jun 26 23:53:21 c2s563765b1ddc0 info    Stream encrypted (TLSv1.2 with ECDHE-RSA-AES256-GCM-SHA384)
Jun 26 23:53:21 c2s563765b1ddc0 info    Authenticated as<EMAIL_ADDRESS>Jun 26 23:53:21 c2s563765b83900 info    Client connected
Jun 26 23:53:21 c2s563765b83900 info    Stream encrypted (TLSv1.2 with ECDHE-RSA-AES256-GCM-SHA384)
Jun 26 23:53:21 c2s563765b83900 info    Authenticated as<EMAIL_ADDRESS>Jun 26 23:53:33 mod_bosh        info    New BOSH session, assigned it sid 'dd96ebbc-5f4c-4283-b726-c661168138bf'
Jun 26 23:53:33 boshdd96ebbc-5f4c-4283-b726-c661168138bf        warn    No available SASL mechanisms, verify that the configured authentication module is working

Hi,
do you have fixed this issue? I am currently configuring Matrix using our Jitsi server and ran into the same issue.
Thanks in advance!

Hey, everybody!
I have the same Prosody error. And I don't see any UVS calls either


Consistency between shortnames and URLs, or kebab-case vs camelCase

Currenlty, Shortnames only allow downcased characters and dashes. However, most properties currently use snakeCase.
For example, the https://atomicdata.dev/properties/isA has a path ending of isA but a shortname of isa, which I considered replacing with is-a.
I think a better way to go is to use kebab-case everywhere.

Argument against kebab-case: it doens't work well in JSON strings:
resource.keyName.value
// vs
resource["key-name"].value