Update alert doc

Coverage remained the same at 34.276% when pulling 79428e1af3c48f8dfae8e18649e9acf511f9eeb2 on zhiyuhe/alert_doc into 869e14f89893e119ec8099febb52b9d18bdf0c7e on master.


Replace react-test-renderer

This removes react-test-renderer.
I split the XAxis test to two to test highstock separately.
With this change tests should pass with react 19 too.

@whawker do you think this could be merged? It is not urgent though.

@whawker can we merge this too<EMAIL_ADDRESS>just came a couple of weeks ago.


Links: Jump links with background modifier have insufficient contrast

Describe the bug
Jump links with background modifier (grey background on mobile) fail Lighthouse checks with "Background and foreground colors do not have a sufficient contrast ratio."
This was previously mentioned at https://github.com/cfpb/design-system/issues/902#issuecomment-661332012:

The documented pattern for jump links with a grey background fail accessibility contrast check, according to the WebAIM contrast checker. a-link__bg uses jump-link_bg which is defined as@gray-10, which is #e7e8e9, and the link color is #0072ce, which gives a contrast ratio of 3.98:1. The threshold for "normal text" is 4.5:1.
@huetingj suggests we should be using @gray-5 instead (#f7f8f9), which is what is being used on the Bureau structure page. This passes the contrast check with a ratio of 4.59:1, and it turns out this is happening due to custom CSS in cfgov-refresh that sets overriding styles on the BS elements.
In chat we discussed a path forward of modifying a-link__bg to instead use @gray-5, and then removing the customization from the BS page. @anselmbradford does this seem reasonable?

Since that time we've redesigned the BS page to no longer use this pattern. A quick check of the nightly crawl shows that we have no pages on cf.gov right now that use a-link__bg.
This error causes failures in the nightly Lighthouse accessibility checks we run on the design system, and has since #1188 a few weeks back. I'm not sure why this was passing previously if this has been an issue for a while. That PR bumped the version of Lighthouse we use to its 7.0 release, which includes an upgrade of the underlying axe-core library from 3.5.5 to 4.1.1. A quick look at the axe-core release notes shows a few contrast-related changes, but I'm not sure which one could be changing how Lighthouse treats this case.
To Reproduce
In Chrome, run a Lighthouse Accessibility audit using the Mobile device. You will see the error "Background and foreground colors do not have a sufficient contrast ratio." for the span.a-link_text in <a class="a-link__bg">.
Screenshots

👍 gray 5! 👍

Opened a PR to make the change: #1203


How to use custom .usd files？

Hi,
thanks for great work!
We are following the work of ReKep, which was built based on the work omnigibson, and we would like to work on building our own simulation environment here as well.
Using the Robot Grasping Demo example（grasping_mode_example.py）, we added our object to the scene, and when we loaded our custom .usd file there was a problem, as shown in the code and the video.
"""
Example script demo'ing robot manipulation control with grasping.
"""
import torch as th

import omnigibson as og
from omnigibson.macros import gm
from omnigibson.sensors import VisionSensor
from omnigibson.utils.ui_utils import KeyboardRobotController, choose_from_options

GRASPING_MODES = dict(
    sticky="Sticky Mitten - Objects are magnetized when they touch the fingers and a CLOSE command is given",
    assisted="Assisted Grasping - Objects are magnetized when they touch the fingers, are within the hand, and a CLOSE command is given",
    physical="Physical Grasping - No additional grasping assistance applied",
)

# Don't use GPU dynamics and Use flatcache for performance boost
gm.USE_GPU_DYNAMICS = False
gm.ENABLE_FLATCACHE = True

def main(random_selection=False, headless=False, short_exec=False):
    """
    Robot grasping mode demo with selection
    Queries the user to select a type of grasping mode
    """
    og.log.info(f"Demo {__file__}\n    " + "*" * 80 + "\n    Description:\n" + main.__doc__ + "*" * 80)

    # Choose type of grasping
    grasping_mode = choose_from_options(options=GRASPING_MODES, name="grasping mode", random_selection=random_selection)

    # Create environment configuration to use
    scene_cfg = dict(type="Scene")
    robot0_cfg = dict(
        type="Fetch",
        obs_modalities=["rgb"],  # we're just doing a grasping demo so we don't need all observation modalities
        action_type="continuous",
        action_normalize=True,
        grasping_mode=grasping_mode,
    )

    # Define objects to load
    table_cfg = dict(
        type="DatasetObject",
        name="table",
        category="breakfast_table",
        model="lcsizg",
        bounding_box=[0.5, 0.5, 0.8],
        fixed_base=True,
        position=[0.7, -0.1, 0.6],
        orientation=[0, 0, 0.707, 0.707],
    )

    chair_cfg = dict(
        type="DatasetObject",
        name="chair",
        category="straight_chair",
        model="amgwaw",
        bounding_box=None,
        fixed_base=False,
        position=[0.45, 0.65, 0.425],
        orientation=[0, 0, -0.9990215, -0.0442276],
    )

    box_cfg = dict(
        type="PrimitiveObject",
        name="box",
        primitive_type="Cube",
        rgba=[1.0, 0, 0, 1.0],
        size=0.05,
        position=[0.53, -0.1, 0.97],
    )
    # our object
    leg1_cfg = dict(
        type = "USDObject",
        name= "square_table_leg1",
        usd_path= f"/home/furniture-bench/furniture_bench/assets/furniture/mesh/square_table/square_table_leg1.usd",
        scale= 2.0,
        position = [0.59, -0.1, 0.97],
    )

    # Compile config
    cfg = dict(scene=scene_cfg, robots=[robot0_cfg], objects=[table_cfg, chair_cfg, box_cfg,leg1_cfg])

    # Create the environment
    env = og.Environment(configs=cfg)

    # Reset the robot
    robot = env.robots[0]
    robot.set_position_orientation(position=[0, 0, 0])
    robot.reset()
    robot.keep_still()

    # Make the robot's camera(s) high-res
    for sensor in robot.sensors.values():
        if isinstance(sensor, VisionSensor):
            sensor.image_height = 720
            sensor.image_width = 720

    # Update the simulator's viewer camera's pose so it points towards the robot
    og.sim.viewer_camera.set_position_orientation(
        position=th.tensor([-2.39951, 2.26469, 2.66227]),
        orientation=th.tensor([-0.23898481, 0.48475231, 0.75464013, -0.37204802]),
    )

    # Create teleop controller
    action_generator = KeyboardRobotController(robot=robot)

    # Print out relevant keyboard info if using keyboard teleop
    action_generator.print_keyboard_teleop_info()

    # Other helpful user info
    print("Running demo with grasping mode {}.".format(grasping_mode))
    print("Press ESC to quit")

    # Loop control until user quits
    max_steps = -1 if not short_exec else 100
    step = 0
    while step != max_steps:
        action = action_generator.get_random_action() if random_selection else action_generator.get_teleop_action()
        for _ in range(10):
            env.step(action)
            step += 1

    # Always shut down the environment cleanly at the end
    og.clear()

if __name__ == "__main__":
    main()

This is the code where we add the object:
 # our object
    leg1_cfg = dict(
        type = "USDObject",
        name= "square_table_leg1",
        usd_path= f"/home/furniture-bench/furniture_bench/assets/furniture/mesh/square_table/square_table_leg1.usd",
        scale= 2.0,
        position = [0.59, -0.1, 0.97],
    )

The results of the run are as follows:

Screencast from 2024年10月14日 15时38分28秒.webm
We found that our object passes through the table and does not produce realistic physics (collision like the red cube), so we would like to know how to load our .usd file that can produce the same collision effect as the red cube?
The .usd file provided by our open source repository：object  .usd file link,
Looking forward to your reply~

You shoud start a vanilla Isaac Sim and open your custom USD file.
Then you will need to add Rigid Body API to each link of the object, and add Collision Body API to each collision mesh of each link.

Thank you for your reply.
When we add Rigid Body API to the object in a vanilla isaac sim, the steps as below:
1 open one_leg.usd file
2. select  the object
3. add -->Physics -->Rigid Body with Colliders Preset
4. save the .usd file
as show the video
2024年10月15日 屏幕视频 19时07分52秒.webm
Then we can generate real collision effect in isaac sim, as show below:
2024年10月15日 屏幕视频 19时19分54秒.webm
Then we load it  in omnigibson, the object becomes transparent, but the effect can be seen in the UI by displaying the physical collision, as shown in the video below:
Screencast from 2024年10月14日 15时38分28秒.webm

Now I don't know if there is a problem adding the rigid body api in isaac sim or a problem loading the .usd in omnigibson or if there is a problem with the original .usd file that ultimately leads to incorrect results.
I hope to get your reply and guidance, thanks again~

You can verify the result if you can, the original .usd file is here: https://github.com/clvrai/furniture-bench/tree/main/furniture_bench/assets/furniture/mesh/square_table

Hello.
I found that in the .usd file saved after adding the rigid collision api to an object in isaac sim, the visual ->Purposes for each mesh is default; as show the bellow image:

But when loaded in omnigibson, this property changes to guide, so that only the collision lines are visible, not the meshes. as show the bellow image:

So, did omnigibson do something to the .usd file that caused the property to change?
What should I do to keep the original properties?
Hope to get your reply and answer, thanks again.


⚠ Bofrost.com has degraded performance

In b82c423, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 520 ms

Resolved: Bofrost.com performance has improved in 8035de8 after 7 minutes.


Add action flag

Pull reuqest for @Cloudianry/Base
What does this PR solve?
Add action flag
Final checklist

[x] JSdoc - Add proper docstrings based on our PHP implementation
[x] JSdoc - Hide private functions using @private
[x] Implementation is aligned with PHP Reference(If different, please specify why)
[x] Tests - Add proper tests to the added code

This looks good, two questions "

How we'll be able to reuse - these are all FlagAction and some flags may be used as part of other actions. I see fl_layer_apply and fl_cutter are not here, presumably because they're used differently as part of other actions - but that means that whoever is using them is not reusing the flag code here (so a bit of string templating is duplicated - f_whatever).
Who's in charge of the dot concatenation? e.g. fl.layer_appy.cutter? does this happen when generating the string? We need to make sure that flags don't overwrite each other, as they're the only param that can exist in the same component more than once.

@nitzanj  Good point there,
This is the way we use fl_layer_apply
...new Param('fl', 'layer_apply')

Clearly this will come up with your Cutter example as something that will require change.
I'm not sure it's blocking for now, as it'll be addressed later.
Regarding your second question, that entire syntax is currently residing on the Action itself, through a method called addFlag
  addFlag(flag: Flag): this {
    const existingFlag = this.params.get('fl_');
    flag.paramValue.setDelimiter('.');

    if (existingFlag){
      existingFlag.addValue(flag.paramValue);
    } else {
      this.params.set('fl_', flag);
    }

    return this;
  }

If we're moving this functionality to the Transformation Level, this needs to be properly addressed.
@strausr we should have a test that tests multiple flags on the ImageLevel
I'm not entirely sure what you mean about the same flag existing in the same component, surely something like this can't exist, right?
/fl_foo.foo.foo/ or fl_foo,fl_foo


Nvidia Nano RealSense Install - E: Unable to correct problems, you have held broken packages.

Required Info

Camera Model
T235 and D435

Firmware Version
JetPack 4.3 - L4T 32.3.1

Operating System & Version
Ubuntu 18.04 LTS

Kernel Version (Linux Only)
Linux 4.9.140-tegra aarch64

Platform
NVIDIA Jetson

SDK Version
v2.23.0

I just downloaded and Flashed my Nano with the latest release JetPack 4.3 and tried installing from
https://github.com/IntelRealSense/librealsense/blob/master/doc/installation_jetson.md  and am getting the attached error.
Nvidia Nano RealSense SDK Install.txt

@tmichals hello, based on the attached log it seem that a 3rd-part package or its dependencies are broken:

libgtk-3-dev but it is not installable

Try one of the Ubuntu method to rectify it, e.g:
sudo apt-get update –fix-missing
sudo dpkg –configure -a
sudo apt-get install -f

JetsonHacks must have fixed the library or I corrected something that I was doing wrong.   I used the latest JetsonHacks Realsense install and it worked.


Question regarding the code in main_moco.py

Hi,
I am pretty new to DDP and I am wondering what is the purpose for the following line:
https://github.com/facebookresearch/moco/blob/3631be074a0a14ab85c206631729fe035e54b525/main_moco.py#L268

it ensures the model is only saved by one process (instead of saved 8 times by each process)


don't force platforms

I'm surprised to see you've forced platforms in /lib/index.js line 584:
var platform = this._platforms[this.options.currentPlatform];

this.options.currentPlatform is set to the currentPlatform, and it prevents using a 32bit executable on 64bit osx or windows, when both support it.
You can atm build what you want, but you can't run it.
What I want to do, is nw.run() in my 64bit machine and let it load the 32bit executable, as the options.platforms states in the nw config object.

What I could suggest is as simple as this, at line 30:
currentPlatform: options.currentPlatform | detectCurrentPlatform(),

allowing people (like me) to set a currentPlatform in the options, allowing us to do what we want, even if we risk breaking our local code because of bad platform detection (that's our problem :p)

for information, this is the code I'm running to build what I want: https://github.com/butterproject/butter-desktop/blob/master/gulpfile.js#L36-L61

Hello @vankasteelj,
the currentPlatform argument is already available.
This snippet runs the 32bit executable on Win8.1 64bit:
var NwBuilder = require('nw-builder');

var options = {
    files: './*',
    platforms: ['win32'],
    currentPlatform: 'win32', // used for the run command
};

var nw = new NwBuilder(options);
nw.on('log', console.log);

nw.run().then(function() {
    console.log('finished');
});

Your commit changes the default value for currentPlatform (which is only used if no value was passed).
If the value is directly passed, it worked in my use case and it should also work on *nix.
That is why I think this issue is already solved.

Sorry no one got back to you on this until now. @marc136 is correct. I have tweaked it a little bit (https://github.com/nwjs/nw-builder/commit/c0b664a39dbaefeda4d1aeb3fd1549abf2e34532) though. Previously, if you select to run an osx32 build (using platforms) and we detect you're on osx64, then it would fail. But now, we'll also try osx32 if you're on osx64. Same goes for Windows.


Feature/templater file

Allow creating day planner from templater file in file mode

This sounds similar to my use case but i am going about it a  different way.
I am using templater to create the template for dayplanner, through a button on a daily dashboard.  Am trying to find the obsidian command necessary for this it should be something like.
(Going to butch this but i need something like this)
tp.command('Day Planner", "link_day_planner")

Any ETA on this feature?

@jimmiemunyi it looks like there hasn't been a commit in 13 months, I don't think this is maintained anymore. Looks like @paletteOvO has forked and updated semi-recently, you might try that: https://github.com/paletteOvO/obsidian-day-planner


commandsToSkipShell is not fully functional

Issue Type: Bug
Some keybindings are ignored by commandsToSkipShell regardless of the commands themselves.
I'm attempting to map the vscode commands workbench.action.navigateLeft and workbench.action.navigateRight to alt+i and alt+o, respectively. This was pretty straightforward with the following changes to keybindings.json:
{
  "key": "alt+o",
  "command": "workbench.action.navigateRight"
},
{
  "key": "alt+i",
  "command": "workbench.action.navigateLeft"
},

This works as expected when I'm in the context of editors and I'm able to easily switch between editors.  However, when my focus is on the integrated terminal, nothing happens when I use these keybindings.
I've added these two commands to terminal.integrated.commandsToSkipShell in settings.json but that seemed to have no effect. Nothing happens when I press alt+i or alt+o from within the integrated terminal.
"terminal.integrated.commandsToSkipShell": [
  "workbench.action.navigateLeft",
  "workbench.action.navigateRight"
]

I'm on a linux system using bash as my shell. It seems like maybe bash is capturing my keystrokes before vscode has the opportunity to interpret them, but I don't know how to verify if that's happening or how to change it if it is. Any help would be appreciated.
VS Code version: Code - Insiders 1.62.0-insider (bd6e614cda22c947b7c3e1ebef1cc591071731de, 2021-10-19T10:11:04.609Z)
OS version: Linux x64 5.14.10-200.fc34.x86_64
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (8 x 2100)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 1

Memory (System)
15.37GB (0.21GB free)

Process Argv
--crash-reporter-id f1ddec8c-33af-4562-a380-3fb1853be895

Screen Reader
no

VM
0%

DESKTOP_SESSION
i3

XDG_CURRENT_DESKTOP
i3

XDG_SESSION_DESKTOP
i3

XDG_SESSION_TYPE
x11

Extensions (7)

Extension
Author (truncated)
Version

python
ms-
2021.10.1336267007

vscode-pylance
ms-
2021.10.1

jupyter
ms-
2021.10.1001358390

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.3

remote-ssh
ms-
0.65.8

remote-ssh-edit
ms-
0.65.8

(1 theme extensions excluded)

I'm using bash on Linux so there are definitely some differences in our environments.  I don't have terminal.integrated.allowMnemonics set.  Here's my full settings.json file if it helps:
{
    // General editor settings
    // "files.autoSave": "off",
    "files.autoSave": "onFocusChange",
    "git.ignoreLegacyWarning": true,
    "editor.fontSize": 13,
    "editor.fontFamily": "'Source Code Pro', monospace",

    // Vim Settings
    // This line allows remapping Caps Lock to Escape
    "keyboard.dispatch": "keyCode",
    "vim.disableAnnoyingNeovimMessage": true,
    "vim.enableNeovim": true,
    "vim.textwidth": 79,
    "vim.autoindent": true,
    "vim.ignorecase": true,
    "vim.smartcase": true,
    "vim.surround": true,
    "vim.useSystemClipboard": true,
    "vim.leader": ",",
    "vim.insertModeKeyBindings": [
        {
            "before": ["j", "k"],
            "after": ["<Esc>"]
        }
    ],
    "vim.normalModeKeyBindingsNonRecursive": [
        {
            "before": ["j"],
            "after": ["g", "j"]
        },
        {
            "before": ["k"],
            "after": ["g", "k"]
        },
        {
            "before": ["down"],
            "after": ["g", "j"]
        },
        {
            "before": ["up"],
            "after": ["g", "k"]
        }
    ],

    // Python settings
    "python.linting.enabled": true,
    "python.linting.enabledWithoutWorkspace": false,
    "python.linting.pylintEnabled": false,
    "python.linting.pycodestyleEnabled": false,
    "python.linting.flake8Enabled": false,
    "python.linting.flake8Path": "/usr/bin/flake8",

    // Attempt at navigation; probbaly buggy
    // Allows for use of, for example, Ctrl-F in vim
    "vim.useCtrlKeys": true,
    "python.languageServer": "Pylance",
    "breadcrumbs.enabled": true,
    "editor.minimap.enabled": false,
    "workbench.colorTheme": "Nord",
    "telemetry.enableTelemetry": false,
    "files.watcherExclude": {
        "**/.git/objects/**": true,
        "**/.git/subtree-cache/**": true,
        "**/node_modules/*/**": true
    },
    "window.customMenuBarAltFocus": false,
    "window.enableMenuBarMnemonics": false,
    "window.titleBarStyle": "custom",
    "terminal.integrated.sendKeybindingsToShell": true,

    "macros": {
        "normalAndUp": [
            "extension.vim_escape",
            "cursorUp"
        ],
        "normalAndDown": [
            "extension.vim_escape",
            "cursorDown"
        ],
        "normalAndLeft": [
            "extension.vim_escape",
            "cursorLeft"
        ],
        "normalAndRight": [
            "extension.vim_escape",
            "cursorRight"
        ],
        "singleEditor": [
            "workbench.action.joinAllGroups",
            "workbench.action.closeSidebar"
        ]
    },
    "markdown-preview-enhanced.previewTheme": "one-dark.css",
    "workbench.editorAssociations": {
        "*.ipynb": "jupyter-notebook"
    },
    "notebook.cellToolbarLocation": {
        "default": "right",
        "jupyter-notebook": "right"
    },
    "jupyter.askForKernelRestart": false,
    "editor.cursorSurroundingLines": 5,
    "cSpell.enabled": false,
    "window.zoomLevel": 1,
    "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
    "workbench.editor.enablePreview": false,
    "python.venvPath": "/data/jmreinh/virtualenvs"
}

Arg, the issue is with the setting terminal.integrated.sendKeyBindingsToShell.  I forgot what I was doing where I set that to true, but if I set it to false (or remove the line from my settings.json file as the default is false) then things work as expected.
I should have removed all of my custom settings and tested before opening this ticket.  I'll close it now.


ADBDEV-4939: Add assertions to return from dynamic_cast.

Add assertions to return from dynamic_cast.
dynamic_cast may return NULL, so I added assertions.

Maybe group multiple asserts like in https://github.com/arenadata/gpdb/pull/822#issuecomment-1953496854 to avoid large diff?

Maybe group multiple asserts like in #822 (comment) to avoid large diff?

reordered


[FEATURE] Add Search Functionality

🎇 Description
As mentioned in README.md, we can allow users to search for records through queries and filters.
🖼 Screenshots
No response

I would love to work on this. @KiranAminPanjwani Can you please assign this to me?

Sure, please proceed.😇

I'm no longer working on this. So if anyone wants to take this, please go ahead


[BEAM-2020] Remove Coder.asCloudObject and related methods

These methods belong in the Dataflow module.
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[x] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @lukecwik

LGTM, assuming tests pass this can be merged.

Coverage decreased (-0.09%) to 70.32% when pulling c830662d08dbe93c4e20cf5ba2a7e784e162d428 on tgroh:remove_as_cloud_object into 3ae94413000299908af06c712d9238023b099526 on apache:master.

retest this please

Coverage decreased (-0.6%) to 69.838% when pulling 8ad6f6283017ae3c27941c419a02f1bbbe967f9d on tgroh:remove_as_cloud_object into 3ae94413000299908af06c712d9238023b099526 on apache:master.

Opened #2825 as a rebase of this on top of apache/master

Coverage decreased (-0.2%) to 69.692% when pulling 16b2212a306e4af36b97e3ab780e3e75ca4831a7 on tgroh:remove_as_cloud_object into 43443c94f5933698ec49648abd9e939eda0a7460 on apache:master.

Coverage decreased (-0.2%) to 69.703% when pulling 16b2212a306e4af36b97e3ab780e3e75ca4831a7 on tgroh:remove_as_cloud_object into 43443c94f5933698ec49648abd9e939eda0a7460 on apache:master.

Coverage decreased (-0.1%) to 69.721% when pulling 085c73fa4fbf9e85a48db1b9d87ebe3d761f21c7 on tgroh:remove_as_cloud_object into c2c89eda9d6110414548d7131214cfd9946b3a13 on apache:master.

This is going to need a new worker to be able to handle the TimerOrElementCoder

Built beam-master-20170502 which includes TimerOrElementCoder translator, please update worker and retest.

Done
On Tue, May 2, 2017 at 4:16 PM, Lukasz Cwik<EMAIL_ADDRESS>wrote:

Built beam-master-20170502 which includes TimerOrElementCoder translator,
please update worker and retest.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/pull/2806#issuecomment-298787495, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAaPKpeZtSxzWNZv83WDd1aTxrZwLlm-ks5r17lQgaJpZM4NNc28
.

Coverage increased (+0.01%) to 69.869% when pulling d46fbdf5ba7fbc8008903bfc9ed3d54b1b45507e on tgroh:remove_as_cloud_object into c2c89eda9d6110414548d7131214cfd9946b3a13 on apache:master.

woot, merged


[Event Request] Events to add new entities for CRM Integration

I put this on the ideas site (https://experience.dynamics.com/insider/public-profile/ideas/dynamics-financials/ID0004561) but this site seems to be a better place.
This document outlines the code you need to add (in NAV) for integrating new entities with CRM. https://docs.microsoft.com/en-us/dynamics-nav/walkthrough--customizing-microsoft-dynamics-crm-integration-in-dynamics-nav This still applies with BC but it doesn't completely work in the extension model. Some of the code has some events or can be handled with new objects, but not all of it. Specifically: Codeunit 5150 Integration Management, Function CreateIntegrationPageList Codeunit 5334 CRM Setup Defaults, Function ResetConfiguration Codeunit 5334 CRM Setup Defaults, Function GetCRMTableNo Codeunit 5334 CRM Setup Defaults, Function GetTableIDCRMEntityNameMapping Can we have some events added in these functions, or the functions that call these?

Please be specific and provide definition of events you need.

@AlexanderYakunin  would it make more sense to field your request to the team who engineered the CRM connector for BC/NAV? They would know best on any and all missing aspects that makes life difficult for extending the CRM capabilities via AL. Any event gaps would be best identified by those who engineered the product. In my opinion that feedback shouldn't come from a second-hand source (something may be missed).
I too ran into similar challenges. Most notably, event pubs not currently present in COD5150 as well as the inability to extend a base CRM entity table from AL.
The current design makes it difficult (if not impossible in some cases) to extend the CRM capabilities in BC/AL with regards to custom field and/or entity mappings.
The online BC documentation available does not go into any details above and beyond configuring the core product for CRM connectivity. link: https://docs.microsoft.com/en-ca/dynamics365/business-central/marketing-integrate-dynamicscrm

You might also want to have a look at this issue: https://www.yammer.com/dynamicsnavdev/#/Threads/show?threadId=1207545665

Hi
Thanks for raising this question. We have realized that we have some gabs in how to extend our CRM (Sales) integration and CDS overall. Beside raising more events in our code, we also need to enable partners to create tables of type CRM as extensions.
To be honest I do not know when we will have this in place, but hopefully I will be able to post an update in Q1 2019
Thanks
Anders

@AndersLarsenMicrosoft I'm a little lost on your last comment. VS Code (I'm on AL Language 2.0.56865) allows me to create new table objects where TableType = CRM. I don't get any intellisense errors on neither the TableType nor ExternalName property, nor any errors on the CRM-specific field properties (ExternalName, ExternalAccess, ExternalType).
According to this github issue, it should be possible to create new CRM tables for BC targeted for both internal and external provided you're not using an old version of AL Language.
The only issue I encounter (besides event pubs missing in the CRM codeunits) is when I try to "Extend" an existing CRM table (which is not possible).


Reduce log messages

Reduce some log messages by defining common messages as debug.
Thank you for your software. This is really useful.

The 'Force Update' might be contentious because some people want the progress to be shown during tasks without having debug info.

Wont the progress updates still show, just without the "force update..." string? Lets try
Can you push to docker:cpu?

It's a docker limitation, it will update semi randomly (usually on
complete).  Or you can just UPDATE=True, I'll push it either way.  This was
a way to force reliable updates like the native whisper on CLI.
On Sun, Aug 25, 2024 at 7:16 PM Jayden @.***> wrote:

The 'Force Update' might be contentious because some people want the
progress to be shown during tasks without having debug info.
Wont the progress updates still show, just without the "force update..."
string? Lets try
Can you push to docker:cpu?
—
Reply to this email directly, view it on GitHub
https://github.com/McCloudS/subgen/pull/113#issuecomment-2309115894, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APJACQJP6T4IOAVQWAHR4ADZTJ6YFAVCNFSM6AAAAABNCPMIKCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBZGEYTKOBZGQ
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


RDKTV-1694: HDMI do not display resolution

Reason for change: Added support for videoStreamInfoUpdate
event
Test Procedure: Check thunder events are fired
whenever video mode changes
Risks: None
Signed-off-by: Deekshit Devadas<EMAIL_ADDRESS>

will add a new one.  Abandon


Added setInvoiceNumber() method to the API code

Added one setter method to set the invoice number property

Thanks for the contribution!


Does SGP40 have a python handler?

Does SGP40 have a python handler?

Sorry @hnwangkg-ezio I don't really get what you are asking for. What are you trying to achieve? Do you ask if there is a Python library to use the SGP40 sensor?
We provide Python libraries for the SVM40 evaluation kit (which contains an SGP40 sensor) for UART and I2C:

https://pypi.org/project/sensirion-i2c-svm40/
https://pypi.org/project/sensirion-shdlc-svm40/

I'll close this due to inactivity. Feel free to reopen if you have any further issue.


Ignore certain fields for @updatedAt

Problem
For example, I have a status field and an update_time field, and when I change the status value, I expect that the value of the update_time field will not be automatically updated.
model envs {
  id          Int         @id @default(autoincrement())
  update_time DateTime    @default(now()) @updatedAt
  value       String      @default("")
  status      Int      @default(1)
}

Suggested solution
@updatedAtIgnoreFields(['status'])

Pro-tip: you can manually opt-out from updatedAt is updated by providing prisma we the previous value.
I.e:
const env = await prisma.envs.findFirst({})

const envUpdated = await prisma.envs.update({
    where: {
       id: env.id
    },
    data: {
        status: "new status",
        update_time: env. update_time
    }
})

Hey @SuperManito, can you clarify please:
@updatedAt triggers whenever an part of the model is updated. Are you asking for a way to have the @updatedAt attribute to only be used when certain values are affected in .update queries? (i.e. a feature request? the way this is working in your issue is currently intended)

My project uses a unified prisma encapsulation operation method and has multiple data models. It is difficult for me to find another way to solve this requirement.

It is difficult to solve this problem using a where statement because it is too cumbersome to customize.

Pro-tip: you can manually opt-out from updatedAt is updating by providing prisma with the previous value.
I.e:
const env = await prisma.envs.findFirst({})

const envUpdated = await prisma.envs.update({
    where: {
       id: env.id
    },
    data: {
        status: "new status",
        update_time: env.update_time
    }
})

// envUpdated.update_time should be the same as env.update_time

Though would this fire off 2 queries?  I'm not familiar with Prisma internals.

It would be nice to have something like this @updatedAtIgnoreFields(['status']) as part of Prisma schema, in many cases you don't want to update updatedAt or update_time field automatically on all date field updates. And doing separate query just to get the value of current updatedAt is not optimized and good idea.

I think using Prisma is to facilitate development and simplify the data processing process. Therefore, I directly targeted the operation API of the relevant database towards the application API. Many of the business interfaces in my project use a Prisma client API, such as update or updateMany, to modify multiple field data in a data table. And updateAt attribute creates convenience for fields such as 'update time'. But as I mentioned earlier, due to business needs, it is not suitable to associate all record updates with the updateAt attribute due to business needs. I think the cost of customizing this requirement is actually much higher than not using updateAt attribute.

I used translation software, and perhaps the wording in some places is not quite appropriate.

Hey @SuperManito, can you clarify please:
@updatedAt triggers whenever the model is updated at all. Are you asking for a way to have the attribute to only be used when certain values are affected in queries? (i.e. a feature request? the way this is working in your issue is currently<EMAIL_ADDRESS>
I think using Prisma is to facilitate development and simplify the data processing process. Therefore, I directly targeted the operation API of the relevant database towards the application API. Many of the business interfaces in my project use a Prisma client API, such as update or updateMany, to modify multiple field data in a data table. And updateAt attribute creates convenience for fields such as 'update time'. But as I mentioned earlier, due to business needs, it is not suitable to associate all record updates with the updateAt attribute due to business needs. I think the cost of customizing this requirement is actually much higher than not using updateAt attribute.

I used translation software, and perhaps the wording in some places is not quite appropriate.


Issues with ExpoLinearGradient in Windows and MacOS M1

What's going on?
Ive been trying to run emulator for Android on a Windows 11 and for IOS on a Mac M1 using ignite-cli 7.10.9 -> Both systems show errors with the "ExpoLinearGradient" stopping the process.
The project was created as native cli (without --expo)
For M1, everything was installed clean, no preset on the system.
Using ignite-cli 7.0.6 (on an old project) in windows is working as expected, also on fresh project using ignite-cli 7.10.2 as stated in this issue https://github.com/infinitered/ignite/issues/1936, and launches the Android emulator and USB device properly.
Am I missing something...?
Steps to reproduce

Install application (ignite-cli new MyApp)
Enter the folder and run "yarn android"
Alternatively to step 2, "yarn ios" is also failing

npx ignite-cli doctor results (M1 results):
System
  platform           darwin
  arch               arm64
  cpu                8 cores      Apple M1
  directory          mobile       /Users/nestor/Projects/mobile

JavaScript (and globally-installed packages)
  node               16.15.0      /opt/homebrew/opt/node@16/bin/node
  npm                8.5.5        /opt/homebrew/opt/node@16/bin/npm
    expo-cli         5.4.4
    npm              8.8.0
    typescript       4.5.5
    yarn             1.22.18
  yarn               1.22.18      /opt/homebrew/bin/yarn
  pnpm               -            not installed

Ignite
  ignite-cli         7.10.9       /Users/nestor/.npm/_npx/e31027f3785124a8/node_modules/.bin/ignite
  ignite src         build        /Users/nestor/.npm/_npx/e31027f3785124a8/node_modules/ignite-cli/build

Android
  java               -            not installed
  android home       -            undefined

iOS
  xcode              13.1
  cocoapods          1.11.3       /opt/homebrew/bin/pod

Somehow seems related to https://github.com/infinitered/ignite/issues/1936

I am also having this exact issue

Having this issue on creating ignite app for vanilla React Native.
npx ignite-cli doctor results (Windows 11 results):
System
  platform           win32
  arch               x64
  cpu                12 cores     Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
  directory          bhara        C:\Users\name

JavaScript (and globally-installed packages)
  node                  16.13.2      C:\Program Files\nodejs\node.EXE
  npm                   8.1.2        C:\Program Files\nodejs\npm.CMD
    expo-cli            5.4.4
    yarn                1.22.17
  yarn                  1.22.18      C:\Users\name\node_modules\.bin\yarn.CMD
    create-next-app     12.1.4
    create-strapi-app   4.1.7
  pnpm                  -            not installed

Ignite
  ignite-cli         7.10.9       C:\Users\name\AppData\Local\npm-cache\_npx\e31027f3785124a8\node_modules\.bin\ignite.CMD
  ignite src         build        C:\Users\name\AppData\Local\npm-cache\_npx\e31027f3785124a8\node_modules\ignite-cli\build

Android
  java               11.0.15      C:\Program Files\Common Files\Oracle\Java\javapath\java.EXE
  android home       -            C:\Users\name\AppData\Local\Android\Sdk

locked down "expo-linear-gradient" to version "11.0.3", works for me.
in the package.json:
"expo-linear-gradient": "11.0.3",

locked down "expo-linear-gradient" to version "11.0.3", works for me.
in the package.json:
"expo-linear-gradient": "11.0.3",

This works for me.

Thank you,
Couldn't test it yet but looks like a good fix. Closing.


Constant crashing when right-clicking on album art

Hi, I've been having an issue for several days where if I right click on the album art within an artist tab, the panel will immediately crash and produce this error message:
Error: Spider Monkey Panel v1.3.1 (GraphicBrowser v1.2.3b18 by Ottodix)
AppendMenuItem failed:
WinAPI error:
AppendMenu failed with error (0x0):
Function failed, but returned a SUCCESS error code, which is usually caused by a bugged WinAPI. One such case is when process runs out of GDI handles and can't create a new GDI object.
File: JStheme_common.js
Line: 1880, Column: 58
Stack trace:
createGenrePopupMenu@JStheme_common.js:1880:58
on_mouse_rbtn_down@WSHgraphicbrowser_trackinfos.js:6501:25
I've tried fresh reinstalling foobar and my components several times to no avail. Upon fresh install I'm able to right click on the album art as the media library populates but as soon as it's finished scanning and all my artists are imported that's when the crashing starts happening. I appreciate any help you might be able to give me and thank you for your time!

1.3.1 is an old version. Try using 1.5.2 instead and see if the problem still persists.


Placedholder type search page

Fixes #2645.
I haven't been able to get this website to build locally 😡 so this is a bit of an estimation / draft for now. You'll have to let me know how it looks. 😄

The local build may be fixed by #2473

My issues were around canvas not being able to build. I don't have access to my windows laptop just now but have been meaning to check if it's Mac specific before reporting.

Thanks @JoshuaKGoldberg! Can you paste some of your failing build output? We’re trying to remove things that frequently cause local build issues (hence #2619), and I wasn’t aware of this one. We’ve recently had local builds working on both Mac and Windows.

@navya9singh can you see if you’re able to check this locally? Thanks!

Agh, the deployment isn’t going to work on PRs from forks. @orta knew this over two years ago, but Azure still hasn’t done anything about it 😠 https://github.com/Azure/static-web-apps/issues/1

Welp, I can't figure out why localization copy isn't working locally. But here's what I have:

LGTM, ship it 🚀

Thanks for your ping-patience while I use this PR to debug the preview environments workflows 😄

Yooooo 😎


[BUG] - dialog actions dont work when editing a record

Description
When editing a record for a model that has a dialog action defined the action does not work and a TypeError: open is not a function error is thrown
Reproduction URL
n/a
Reproduction steps
1. Create a dialog action for a model
2. edit a record in that model
3. select the created action

Next router
App router
Next Admin version
6.0.0
Screenshots
No response
Next Admin options
actions: [
    {
      id: 'exportAsJson',
      title: 'Export Json',
      type: 'dialog',
      component: <ExportComponent />,
    },
  ]

Logs
Unhandled Runtime Error
TypeError: open is not a function

Call Stack
onClick
<EMAIL_ADDRESS>(18:1)
handleEvent
<EMAIL_ADDRESS>(4:1)
React
HTMLUnknownElement.callCallback
node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (20565:1)
Object.invokeGuardedCallbackImpl
node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (20614:1)
invokeGuardedCallback
node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (20689:1)
invokeGuardedCallbackAndCatchFirstError
node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (20703:1)
executeDispatch
node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (32128:1)
processDispatchQueueItemsInOrder
node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (32160:1)
processDispatchQueue
node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (32173:1)
dispatchEventsForPlugins
node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (32184:1)
eval
node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (32374:1)
batchedUpdates$1
node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (24953:1)
batchedUpdates
node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (28844:1)
dispatchEventForPluginEventSystem
node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (32373:1)
dispatchEvent
node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (30141:1)
dispatchDiscreteEvent
node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (30112:1)

Browsers
Chrome

Hi, thank you for opening a file. Please let us know how you are using this action feature. Do you need a data object? Do you need a data object with all the relationships included? What do you use/display in your dialog box?
There is currently an issue with using of the action dialog in the form, and we're looking for the best solution. In the meantime, you seem to want to use a JSON export, for that, you can still use :

"classic" action:  https://github.com/premieroctet/next-admin/blob/a20b10f40afe5ec8f3c26baa05fad1ac6b29e4d5/apps/example/options.tsx#L157-L165
export system (list only) : https://github.com/premieroctet/next-admin/blob/a20b10f40afe5ec8f3c26baa05fad1ac6b29e4d5/apps/example/options.tsx#L179-L183

We're working on this patch 🚀

Thanks.
The action I'm creating is to export only the current/selected records (dialog actions also dont seam to show in the upper action menu on the list view when items are selected) for data.
As for on the edit page the same data that is passed in when calling from the list view would be a good start, ideally the starting data and the current data (if fields have ben edited) would be good.
I'm also using the exports as you have mentioned. (note - having the url field able to be a function that returns a url would also be great)

Hello,
We have just released v6.0.1.
There is a fix for this problem, you can now use the dialog action in lists and forms. Your dialog component can access an array of the involved objects, where an object has its own scalars and those of its relations (2-deep relationship). In the case of a form action, this component will get an array containing a single element (the current object).
Thanks for the issue, and please let us know what you think 🚀.


Allow prioritizing or filtering by country

I'm using this addon for Spanish and there are multiple types of pronunciation from different countries, I want to filter out pronunciations by Spain and prioritize audio from Mexico. I think something that responds to a url query would be great, like http://localhost:8770/?reading=leer&country[]=mx&country[]=col for filtering only mexico and colombia. I think a similar interface in configs would be great too similar to preferred_usernames.
Given that we already have show_country, this shouldn't be too difficult to implement 🤞

oops wrong repo. my bad


SDDC v1.21 Fails on Server 2016 Datacenter

When executing an SDDC via the Toolbox v1.1 on Server 2016 Datacenter, the process fails at "Phase 4 - Compacting files for transport" with the following error:
Show-Error : 2023-06-29T13:36:54 : Error creating the ZIP file!
Content remains available at C:\Users\XXXX\HealthTest\ - cmdlet was cancelled
At C:\Program Files\WindowsPowerShell\Modules\PrivateCloud.DiagnosticInfo\PrivateCloud.DiagnosticInfo.psm1:3429 char:9
+         Show-Error("Error creating the ZIP file!`nContent remains ava ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Show-Error

This process has been attempted on multiple Server 2016 Datacenter nodes with the same result. Running SDDC v1.21 on Server 2019 Datacenter results in no errors.
At this time, we're unable to generate SDDCs for Server 2016 deployments.

Can you help me understand where you got SDDC v1.21? We are currently on v1.1.37

When launching the toolbox:

Select option "5) Log Collector"
Load "Log Collector"
Select option "1) Azure Stack HCI/S2D logs (SDDC)"
Version in the corner says "v1.21 RunSDDC By: Jim Gandy". A screenshot has been attached.

That does help. That part of the code is from the Microsoft portion of this tool. Can you try to run the primary code base from https://github.com/PowerShell/PrivateCloud.DiagnosticInfo
If you still have this issue, raise it on that repository.

You are correct. There is an issue with the Microsoft portion of the tool. I will submit a bug report there. Thank you.


markdown lexer fails on fenced code bocks of type raw

for example, the following produces the indicated error:
$ echo '```raw
hi
```' | pygmentize -l md

*** Error while highlighting:
TypeError: cannot use a bytes pattern on a string-like object
   (file "/home/nick/src/pygments/pygments/lexers/special.py", line 87, in get_tokens_unprocessed)
*** If this is a bug you want to report, please rerun with -v.
```raw

I believe this happens because the markdown lexer will parse the fenced code and see "raw" which invokes the RawTokenLexer which I don't think is meant to be used like a normal lexer (see https://github.com/pygments/pygments/blob/master/pygments/lexers/special.py#L45-L49)
You can see this in the wild using this README.md:
https://github.com/netdata/netdata/blob/master/collectors/perf.plugin/README.md
This repo has nearly 50k stars and over 4.5k forks so it seems pretty reasonable to handle this kind of issue.

Perhaps the fix here is to not have an alias for RawTokenLexer? (https://github.com/pygments/pygments/blob/master/pygments/lexers/special.py#L58)
I'm not familiar with why this exists, but it's not clear why you'd want to expose RawTokenLexer for filename matching, and letting it be exposed in this way allows it to match as a lexer in a variety of contexts.
Or perhaps it shouldn't have a binary regex? What's the motivation for swapping from string input in the interface to a lexer to binary strings? To me (naive about what's going on here) that seems like a violation of the interface.

As a workaround, I tried a monkey patch in my application that seemed to work:
old_rtl = LEXERS["RawTokenLexer"]
new_rtl = (old_rtl[0], old_rtl[1], (), old_rtl[3], old_rtl[4])
LEXERS["RawTokenLexer"] = new_rtl

I'm not suggesting this is the fix, but it shows that this does indeed avoid the issue. I believe this makes MarkdownLexer treat the raw fenced code block case the same as it would an unrecognized language.
I'm not familiar enough with RawTokenLexer to know why it needs to be recognized with the "raw" alias. It seems like this is a pygments internal utility, not meant to be used for general language parsing.

Thanks for the report. I'm fixing the string/bytes issue for the next 2.7 release, and for 2.8 we'll remove the alias.


REGEX_REPLACE character classes not matching correctly

My Environment

ArangoDB Version:        3.11.6
Deployment Mode:       Single Server
Deployment Strategy:   ArangoDB Starter in Docker
Infrastructure:               own
Operating System:        Linux 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Total RAM in your machine:        15Gb
Used Package:              Docker - official Docker library

Component, Query & Data
Affected feature:
AQL REGEX_REPLACE
AQL query (if applicable):
RETURN REGEX_REPLACE("apples and oranges", "\s", "")

Steps to reproduce

execute AQL query

Problem:
AQL Query
RETURN REGEX_REPLACE("apples and oranges", "\s", "")

returns "apples and oranges" instead of  expected "applesandoranges"
Workaround using AQL Query
RETURN REGEX_REPLACE("apples and oranges", "[ ]", "")

returns the expected result "applesandoranges"

I believe you need to escape slash..using:
RETURN REGEX_REPLACE("apples and oranges", "\\s", "")
works...

see:
https://docs.arangodb.com/3.12/aql/functions/string/#regular-expression-syntax

...Well not sure what I was thinking...
Thanks for pointing out my mistake!
Indeed that snippet works perfectly fine in my version as well.


Add option to use GPU

Fixes: #57

Perhaps for consistency with MLJ we should use https://github.com/timholy/ComputationalResources.jl and the hyper-parameter should be called acceleration? See https://alan-turing-institute.github.io/MLJ.jl/dev/acceleration_and_parallelism/
Would MLJFlux training with acceleration=CUDALibs() play well with MLJ acceleration options for evaluate! and tuning?
@OkonSamuel Be good to have your input,  maybe even a code review, if you have time.

@ayush-1506 Thanks. This is awesome.!!!
@ablaom i don't see why this won't with evaluate or tuning (We need to test this to make sure there are no glitches).
The only issue i can foresee is when using Cudalibs() with CPUThreads() in evaluate and we should be able to modify code at MLJBase to catch that case.

@OkonSamuel Thanks. This looks good. @ayush-1506 What do you think?

The only issue i can foresee is when using Cudalibs() with CPUThreads() in evaluate and we should be able to modify code at MLJBase to catch that case.

👍

(We need to test this to make sure there are no glitches).

I'm going to rebase this PR onto the dev branch for testing purposes.

Thanks for the review @OkonSamuel ! The changes should solve this issue. If someone had GPU access, would love your thoughts.
cc @ablaom


install issue: [ERROR] Class "Rector\Doctrine\Set\PHPOfficeSetList" not found

Hi,
I'm new to rector. I'm trying to use it to convert some php-excel programs to phpspreadsheet.
The basic installation instructions don't work.
Here is what I did:
-created a new folder and install using the command : composer require rector/rector --dev  (see image 1)
-created a rector.php file with the content copied from the install page (see image 2)
-created a src folder and put an excel report to be processed
-ran the command : vendor\bin\rector process src (see image 3)
I get this error : [ERROR] Class "Rector\Doctrine\Set\PHPOfficeSetList" not found
What did I missed ? This is on windows 10 with wamp server. See attached screen captures.
Thank you

.

that's typo in readme, you can use :
use Rector\PHPOffice\Set\PHPOfficeSetList;


[backport] Fix some typo

Backport of #2523

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit df5298f12ae527d84c0057cea5ec49489bfc457c, target branch v6) succeeded!

LGTM.


Updates to ILA

This started as a simple return both a below post attachment array and the ILA array.
Next was the ILA code was not handling non approved attachments in a graceful way (simply ignored them, left bad attach code in place), this now will present a pending approval image.  Renamed the action_no_attach method to action_text_to_image, since its used for both attachment missing and awaiting activation string, and added some features.
Next while testing ILA, there were a few edge problems, like if someone used a width attribute on a file attachment, plain [attach]tags[/attach] were not working.  detecting the no approved status was problematic, and a several other tag creation issues.
To fix the problems and not make the ILA code overly complex, and still not working in all cases, I chose to add a new feature to the BBC Parser. to overcome the way the parser builds the tags.  Short explanation:
For a tag with parameters say [attach width=300]x[/attach],  First the parameter attr values are determined, like width=300 and then it will do a swap/replace to replace any {width} tags in the defined ATTR_CONTENT.  Next, it will run any ATTR_VALIDATE function and take those results and substitute for any $1 strings in the ATTR_CONTENT value.   This allows a context tag like <img style="{width}" datalightbox="$1">... to render.
The short coming is for something like ILA, which has to deal with images and files and thumbnails and links, a single ATTR_CONTENT can not be built.  Currently the ILA the tag is a confusing template of $1's and {parms} which had sneaky open quotes but when all was combined made a valid html tag.  But this has major short comings when you have to build image and non image tags.  You could make ATTR_CONTENT  just be $1 and build the entire tag in the validation function, but the short coming there is you can't get at the {param} values the parser created since they don't exist as substituion strings in ATTR_CONTENT .
To help with the above I added a new code attribute to the Code class that Parsebbc will use.  The new Code param is Codes::ATTR_RESET] which will take a string like {width}~{height}~{type}  This allows the true final context tag to be dynamically set.
What happens internally, Parsebbc will render this "reset" tag as the tags ATTR_CONTENT and then pass the results to any ATTR_VALIDATE function (defined by the bbc tag) which in turn can use them to build a final ATTR_CONTENT which simply points back to the reference &variable we set.  I think you could just use $1 as well and skip having the reference pointer and just return the completed tag ( I may check that now).
Now each [attach] tag gets a Codes::ATTR_RESET] value that corresponds to the parameters it accepts, parsebbc does its thing and parses those values then sets them to the tag being rendered.  That rendered tag is passed to the validation function with itself returns the completed string back to ATTR_CONTENT  which then becomes the rendered tags content back in parsebbc.
TLDR I added a single line of code to parsebbc and a new optional attr tag to Code:: which allows us to remove a bunch of crud in ILA and make it more robust.  I wanted to detail the why it was done since I will forget by next week!

Saving you the 😧 When a better / cleaner way is thought of we can make a new PR

A bit late to the party, but :+1: !


Use getter/setter in OidcConfiguration

Hi,
I have an small fix for OidcConfiguration that makes proper use of properties using its getter/setter methods instead of access directly to the variables .

OK. Is it a bug you found somewhere or you want to override some of the getters?

Hi,
Kind of both, I found there was a problem in the keycloack implementation due to the way it was accessing some properties and I decided to fix all of them in order to allow all properties to be overrode.

OK. Thanks.


po

[Enter feedback here]

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

ID: 332d4357-1097-6085-f3c3-1d0aedc020fe
Version Independent ID: 45ba6545-4d5b-000f-fd76-601cf936676e
Content: Interfaces - C# language specification
Content Source: standard/interfaces.md
Product: dotnet-csharp
Technology: csharp-spec
GitHub Login: @dotnet-bot
Microsoft Alias: wiwagn

Hi @Kongpcmail
It looks like this was opened by mistake. I'll close it. If there's more feedback, open a new issue, or add a new comment here.


[CCI] Repushing a clean branch with project docs

Critical Changes
Changes
Creates a command cci project doc which docs up all project specific tasks to an RST file.
Issues Closed

Why do you prefer a new cci project doc command instead of adding a --project-only flag to the cci task docs command?

@davisagli I did this because I want it to be documentation at the project level, task doc implies that it will only document the tasks but in reality this project doc task will have more than tasks.

@jofsky I wasn't necessarily asking you to go ahead and remove "cci project doc". That makes sense that if there are multiple types of things to be documented, it would be helpful to have one command to do it all instead of several.
But before you make more changes, there's one other thing I want to make sure I understand, which is: How do you anticipate using this project docs feature? Is it something that individual users of cci will run? Is it something that you as the release engineer will run and then commit the generated docs to the project repository? If the latter, will it be a challenge to keep the docs up to date over time?

@jofsky - We will also want to ensure that running tests doesn't have any side effects. Currently these tests would overwrite  any existing project_tasks.rst file.

@jofsky - We will also want to ensure that running tests doesn't have any side effects. Currently these tests would overwrite any existing project_tasks.rst file.

@Br4nd0R how do you suggest we deal with this?

@jofsky - Easiest route would probably be to @patch(cumulusci.cli.cci.open) on any tests that are writing output.  You may have to explicitly define the context manager __enter__ to return a mock object too (which is what f will get the value of in calls to f.write().
You can then assert the open() was called with the correct filename as well.

I'll let @davisagli give this the final rubber stamping. Thanks for making those changes!


Fixe text area

Get text area working on file tool so it rendered correctly

This has been fixed.


Remove unnecessary .npmignore

Because package.json has files field. 9ffcb39b32d183b713013480dbc0b8b973f3fca5

Fixed in https://github.com/isaacs/node-glob/commit/b185987e1c8d6d192b538b194be768d0f844f40e


Links with single quotes don't work properly

URLs don't work when contain single quote/apostrophe.
Headers like this:
# Do's and don'ts
will render properly but they will generate link like this:
http://docs.itad.apiary.io/introduction/do's-and-don'ts
I guess the issue is with hash sign. When clicked, user is sent to the top of the page.
Similarly, when actions contain single quotes, the action isn't opened when clicked.

Hey,
I have been able to reproduce the issue and it is now internally tracked in Apiary.
I'll get back to you when it will be solved.
Thanks for the report!

Apiary internal tracking ticket – Permalinks with quotes do not work properly


Move collectCoverageData into CoverageCollector so it can be re-used.

This will let us re-use that code from fuchsia_tester.dart.
Tested by running the stocks example tests with coverage collection before and after.
.lcov files are identical.

@cbracken has context on this

Thanks!


[BUG] rtmpdump exited with code 1 - viki.com

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.11.18. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2016.11.18

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)

:~# youtube-dl www.viki.com/videos/1066308v-who-are-you-school-2015-episode-7 -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'www.viki.com/videos/1066308v-who-are-you-school-2015-episode-7', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.11.18
[debug] Proxy map: {}
WARNING: The url doesn't specify the protocol, trying with http
[viki] 1066308v: Downloading video JSON
[viki] 1066308v: Downloading video streams JSON
[viki] 1066308v: Downloading m3u8 information
[debug] Invoking downloader on u'rtmps://viki.fcod.llnwd.net/a7881/e2/mp4:1066308v/1066308v_high_480p_1505190538.mp4?e=1479722624&h=b8a57908d7d36ce16dd448387fbd17ca'
[download] Destination: Who Are You - School 2015 - Episode 7-1066308v.mp4
[debug] rtmpdump command line: rtmpdump --verbose -r 'rtmps://viki.fcod.llnwd.net/a7881/e2/mp4:1066308v/1066308v_high_480p_1505190538.mp4?e=1479722624&h=b8a57908d7d36ce16dd448387fbd17ca' -o 'Who Are You - School 2015 - Episode 7-1066308v.mp4.part' --resume --skip 1
[rtmpdump] RTMPDump v2.4
[rtmpdump] (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
[rtmpdump] DEBUG: Parsing...
[rtmpdump] DEBUG: Parsed protocol: 4
[rtmpdump] DEBUG: Parsed host    : viki.fcod.llnwd.net
[rtmpdump] DEBUG: Parsed app     : a7881/e2
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMPS
[rtmpdump] DEBUG: Hostname : viki.fcod.llnwd.net
[rtmpdump] DEBUG: Port     : 443
[rtmpdump] DEBUG: Playpath : mp4:1066308v/1066308v_high_480p_1505190538.mp4?e=1479722624&h=b8a57908d7d36ce16dd448387fbd17ca
[rtmpdump] DEBUG: tcUrl    : rtmps://viki.fcod.llnwd.net:443/a7881/e2
[rtmpdump] DEBUG: app      : a7881/e2
[rtmpdump] DEBUG: live     : no
[rtmpdump] DEBUG: timeout  : 30 sec
[rtmpdump] DEBUG: Failed to get last keyframe.
[rtmpdump] DEBUG: Closing connection.
[rtmpdump] 0 bytes
[rtmpdump] RTMPDump v2.4
[rtmpdump] (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
[rtmpdump] DEBUG: Parsing...
[rtmpdump] DEBUG: Parsed protocol: 4
[rtmpdump] DEBUG: Parsed host    : viki.fcod.llnwd.net
[rtmpdump] DEBUG: Parsed app     : a7881/e2
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMPS
[rtmpdump] DEBUG: Hostname : viki.fcod.llnwd.net
[rtmpdump] DEBUG: Port     : 443
[rtmpdump] DEBUG: Playpath : mp4:1066308v/1066308v_high_480p_1505190538.mp4?e=1479722624&h=b8a57908d7d36ce16dd448387fbd17ca
[rtmpdump] DEBUG: tcUrl    : rtmps://viki.fcod.llnwd.net:443/a7881/e2
[rtmpdump] DEBUG: app      : a7881/e2
[rtmpdump] DEBUG: live     : no
[rtmpdump] DEBUG: timeout  : 30 sec
[rtmpdump] DEBUG: Failed to get last keyframe.
[rtmpdump] DEBUG: Closing connection.
ERROR: rtmpdump exited with code 1
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/bin/youtube-dl/main.py", line 19, in
youtube_dl.main()
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 444, in main
_real_main(argv)
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 434, in _real_main
retcode = ydl.download(all_urls)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1791, in download
url, force_generic_extractor=self.params.get('force_generic_extractor', False))
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 705, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 758, in process_ie_result
extra_info=extra_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 705, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 751, in process_ie_result
return self.process_video_result(ie_result, download=download)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1435, in process_video_result
self.process_info(new_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1699, in process_info
success = dl(filename, info_dict)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1641, in dl
return fd.download(name, info)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 353, in download
return self.real_download(filename, info_dict)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/rtmp.py", line 202, in real_download
self.report_error('rtmpdump exited with code %d' % retval)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 162, in report_error
self.ydl.report_error(*args, **kargs)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 568, in report_error
self.trouble(error_message, tb)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 530, in trouble
tb_data = traceback.format_list(traceback.extract_stack())
Thank you for your help.

That has worked very well up until this week.


catberry frontend

There is an ongoing idea to use Catberry for frontend part of our application. We need someone who will research possible ways of integrating it.

Related to #112

@ForNeVeR so what are we going to as a client site language? Scala.js again?

Well, at a first look it seems that the Catberry application consists of a bunch of various nodejs-like modules that will be rendered by server (and somehow packed for client). Also there is a small piece of server code that serves all the components.
We can choose any technology we like to implement this, but there may be some problems. I'll introduce you the most realistic and painless options I see.

JavaScript.

ES6. That's more interesting but it is the same old JavaScript with some improvements. Node.js today don't support it but we can use a translator to compile ES6 to node-supported ES5. IMHO it can be used bit only as last resort when all other options fails.

Scala.js. It is interesting option when you want to implement some really complex algorithms. In all other cases I think it could be too overengineered. Is has a big overhead comparing to native JS. Also there is a problem with debug - generated code is very long and trust me, you will not find even a piece of your written code in that gigantic generated JS bundle.
And as we want to deploy and debug server code too (maybe even in some weird nodejs environments) this becomes a problem for us.

CoffeeScript. Mr @Svoloch would like it but personally I can see only little improvements over native JS. But at a good side it generated clean and debuggable code. I think currently it could even be preferred over ES6.

TypeScript. I really like that and see no problems with writing code in it. It has strict enough type system and the generated code is also very clean and can be easily debugged.

Purescript. As a last and funny option, I propose using of a Haskell-inspired Purescript language.  We may try though if you feel funny mood.

Personally I'd choose number 5 but I think that I'm a little biased here so let's discuss them all.

@ForNeVeR thank you very much for such a great detailed review! I'm ok with TypeScript. :)


Enhancing the contributor Section and Structuring

Description
The goal is to enhance the Contributor section of the README and improve its structure for better clarity and presentation. This may involve updating contributor information, adding images or badges, and reformatting the layout for better readability.
Affected Pages:

[x] README.md
[ ] Installation Guide
[ ] Configuration Guide
[ ] Other (please specify)

Type of Documentation Change

[x] Update existing documentation
[ ] Add new documentation
[ ] Remove outdated or redundant documentation
[ ] Other (please specify)

Additional Context
The current Contributor section may lack visual appeal or sufficient organization. A more structured and visually engaging layout can highlight the contributions of individuals more effectively. Possible suggestions could include adding badges, aligning contributor details, or grouping by contribution types. If applicable, screenshots can be shared to show the before and after state of the Contributor section for reference.
Suggested Improvements

Reformat Contributor Section: Use a grid layout to make the section visually appealing and organized.
Add Images: Display contributor GitHub avatars with a consistent size.
Include Links: Add links to each contributor's GitHub profile directly.
Use Badges: Include badges that showcase contributions such as "Maintainer," "Top Contributor," or specific GitHub activity (stars, forks).
Group Contributors: Categorize contributors based on the type of contribution (e.g., code, documentation, design).
Include Automation: Consider using GitHub tools like all-contributors to automate the addition and maintenance of contributors.

Feel free to tweak any part based on your specific requirements!

ADD GSSOC EXT 24 AND HACKTOBERFEST AND assign me this task @Vignesh025

Hey @alo7lika , you can proceed!

Hey @alo7lika , you can proceed!

assign me as well as add labels GSSOC EXT 24 AND HACKTOBERFEST


Document that validators must manually enable their validators

Some confusion on the Discord occurred where people didn't realize that they needed to manually set the "enabled" flag to true in the generated validator template. We should document this better, perhaps even noting it in the output of the template generation command?

Just add there a sentence - Switch enabled flag...

@zbuc the existing documentation actually looks pretty good to me, tbh. thanks for pointing it out :)

Added a line to the docs https://github.com/penumbra-zone/penumbra/commit/aac0924b117cbe1da772bd5f0f528101d2cc3799


Calendar add double click event and custom object variable ( under day object) to read/write custom data for day

What problem does this feature solve?
1、Click day to manage work plan; Double click day to manage work summary or other.
2、i can deal day data (such as work plan array for some day) in click event direct, only init day's data once, not need to query day's data from database or array at every click event
What does the proposed API look like?
1,add nzDblClickDay event
2,add day.data variable to save custom day's data for every day

import { Component } from '@angular/core';

@Component({
  selector: 'nz-demo-calendar-content',
  template: `
    <nz-calendar [nzLocale]="'zh-cn'">
      <ng-template #dateCell let-day>
        <nz-badge [nzStatus]="'success'" [nzText]="'Sunday'" *ngIf="(day.date|date:'EEE')==='Sun'"></nz-badge>
        <nz-badge [nzStatus]="'processing'" [nzText]="'Saturday'" *ngIf="(day.date|date:'EEE')==='Sat'"></nz-badge>
      </ng-template>
      <ng-template #monthCell let-month>
        <nz-badge [nzStatus]="'success'" [nzText]="'This Month is Sep'" *ngIf="month.index==11"></nz-badge>
      </ng-template>
    </nz-calendar>`,
  styles  : []
})
export class NzDemoCalendarContentComponent { }

you can add dbclick to day template as you wish


test: :white_check_mark: add test for github_education class

Description
Adds test for the github_education using unittest
Resolves: #805
Checklist

Before submitting this pull request, kindly verify that the ensuing checkpoints have been reached.

[x] Have you adhered to the repository's defined coding convention rules?
[x] Have you updated the 'documentation.md' file with the method/function documentation?
[x] Have you sent a message along with the result or response?
[x] Have you used the try-catch technique?
[x] Has the method/class been added to the documentation (md file)?

Screenshots

I certify that I have carried out the relevant checks and provided the requisite screenshot for validation by submitting this pull request.
I appreciate your contribution.

Great work @inclinedadarsh !!
Do not forget to

Share your contribution on socials and tag Clueless 🫂
Give this repository a star ✨
Follow Clueless Community on GitHub ✅


Running state not synchronising after restarting Rancher server

Rancher Version:
v1.1.0-dev3 (planning upgrade this weekend)
Docker Version:
1.10 or 1.11 (not important I think)
OS and where are the hosts located? (cloud, bare metal, etc):
Centos 7, KVM VM on Nutanix
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single node, Internal DB
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:
Start a container on the cluster.
Back up the Cattle database using mysqldump
Stop the above container.
Restore the Cattle database and restart Rancher server
Results:
The above container is still marked as running
Expected:
The above container should be marked as stopped
Full details at https://forums.rancher.com/t/running-state-not-synchronising-after-restarting-rancher-server/3485

We should do a sync with the actual host every 5 minutes, so after awhile does the container get reported correctly?

I don't have an environment I can play with during working hours. Even test gets used by the developers. I am planning to upgrade another Rancher environment this weekend so will re-test this.

@kevin-thorpe Keep me updated if you are able to re-test this.

Closing out, if you ever get a repro with a modern version of rancher, please do reopen or file a new issue.


PLAYBACK_RATE_CHANGED event is not getting triggered

Hi,
I just found a possible bug, the event PLABACK_RATE_CHANGED is not getting triggered when the user changes the playback rate, instead the SHOW_POPUP gets triggered (That is ok, because you need to open a column to select your desired playback rate). but not the playback rate event.

The event is triggered correctly. You can test it from the javascript debug console:
// Assuming the first paella core instance is loaded and ready:
__paella_instances__[0].bindEvent(__paella_instances__[0].Events.PLAYBACK_RATE_CHANGED, () => console.log("pb rate changed"))

// Then you can manually change the playback rate with the following line:
await __paella_instances__[0].videoContainer.setPlaybackRate(0.75)

If you have encountered a case where the event is not sent, please attach an example.
Did you mean that the user tracking plugin (paella-user-tracking) does not have the PLAYBACK_RATE_CHANGED event defined? In that case, please make sure to submit issues to the correct repository following the contribution guidelines at the paella player website.

Hi @ferserc1 thanks to look into this.
The bug is not inside the paella-user-tracking plugin, but in paella-core, I figure out when I was developing the Matomo plugin, It does not trigger the playback rate change.
I realize that @miesgre  has updated user tracking. I will check it out.

I'm sorry, but paella-core IS triggering the event. You can check it even in the paellaplayer.upv.es website:

Enter the main page
Open the JavaScript terminal
Type the following code to register the event

__paella_instances__[0].bindEvent(__paella_instances__[0].Events.PLAYBACK_RATE_CHANGED, () => console.log("pb rate changed"))

Play the video, set another playback rate an see the development console


Usefull flags added

Hello again
i made flag, for possibility of custom gems install
also, leave some pry gems be defoult
if start with out flags nothig changes, as was needed
but not there is the way to solve hollywars at the begining

Thanks for the PR, but there are too many changes here for us to consider.
Suspenders is a reflection of the tools that we use at thoughtbot, and as such, we don't usually add new gems until we've tried them out internally. Thanks for bringing rails_db to our attention -- we'll check it out.


Plugin is being disabled

What issue do you have? Please be as thorough and explicit as possible.
Plugin is disabled. Error is log below.
Details of your setup.

Do you use (1) Homebridge UI-X (2) Homebridge CLI or (3) HOOBS?
(1) Homebridge UI-X

Which version of Homebridge/HOOBS do you have?
v1.3.4

Which platform do you run Homebridge/HOOBS on (e.g. Raspberry Pi/Windows/HOOBS Box)? Please also mention your version of Node.js/NPM if known.
Raspberry Pi

Which version of this plugin (homebridge-ewelink) do you have? Has the issue started since upgrading from a previous version?
v7.1.0 Not sure when it started

Which eWeLink devices do you have that are causing issues? Please include product models if applicable.

Please paste any relevant logs below.

[21/07/2021, 16:36:53] [eWeLink] Initializing eWeLink platform...
[21/07/2021, 16:36:53] [eWeLink] Initialising plugin v7.1.0 | Node v14.17.2 | HB v1.3.4...
[21/07/2021, 16:36:54] [eWeLink] ***** Disabling plugin. *****
[21/07/2021, 16:36:54] [eWeLink] ***** Cannot read property 'includes' of undefined at /usr/lib/node_modules/homebridge-ewelink/lib/index.js:230:47. *****

Hi,
In your ewelink config i think you may have some entries for outletDevices that need to be moved to singleDevices.
if you need assistance please post your ewelink config here and i can make the needed change.
Thanks!

Thanks, that was it!


REFACTOR-#3539: align read_fwf with read_csv

Signed-off-by: Myachev<EMAIL_ADDRESS>
What do these changes do?

[ ] commit message follows format outlined here
[ ] passes flake8 modin
[ ] passes black --check modin
[ ] signed commit with git commit -s
[x] Resolves #3539
[ ] tests added and passing
[ ] module layout described at docs/developer/architecture.rst is up-to-date

@vnlitvinov please review

@devin-petersohn can we merge the PR?

@devin-petersohn I rewrote the code based on your comments :) please review

Blocked by #3684


Seems like lazy rendering breaks selectedTabKey

I have the following component:
 <Tabs selectedTabKey={selectedTabKey} items={tabItems} />

Where selectedTabKey = 1 and the tabItems array has 2 elements, with keys 1 and 2. When I render the tabs component, no tabs contents are rendered. I have to click either tab 1 or 2 to trigger rendering of content.

I'll check it today. Sorry for this

Ok seems that my Tabs component is rendering twice. On first render, selectedTabKey = -1 and therefore doesn't map to any of the tab keys. So this explains why no content is rendered.
I have an async request that resolves (apollo client) a little later after the initial render. At that point, the Tabs component is re-rendered, with selectedTabKey = 1. Interestingly, the Tabs component doesn't seem to respect selectedTabKey re-render.

Retracting. This is my mistake. Sorry if you spent anytime looking at it.


Travis CI integration

Create account at https://travis-ci.org
Select "Enable for Chatette repository"
Open options for repository:

Add environment variables (like I have, except CODECOV_TOKEN, and don't forget to replace "meiblorn" with you nickname):

You are done.

When you complete these steps, then after you will push new tag, new releases for PyPI and Docker Hub will be created.
Example:
git tag v1.2.5
git push --tags
-> Travis CI builds project, pushes it to PyPI and Docker Hub. So no need to push it manually anymore.
** MAGIC **

I don't have the time to make a docker hub account right now, so I'm putting this pull request on hold. I'll reopen it when I have more time, for now, I made a small integration with Travis CI services.


Misleading Dimlet Workbench Text

It states that it extracts the dimlets out of realised dimension tabs, when in reality, it extracts the modules from dimlets.

Oops. I'll fix that.

Fixed next version


Migrate ballerinax/java.jdbc into ballerina/java.jdbc

Purpose
This PR migrates following module:

ballerinax/java.jdbc -> ballerina/java.jdbc

Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Need to fix the following issue.
ballerina-jdbc-build.log


Expand the scope and capability of column type conversion

Fixes gh-133
Fixes gh-149

Ping.

@gibson042 LGTM.
Merging. Thank you for contribution.


off behaves differently than nodejs

#262 mentioned that the on method is consistent with nodejs, but I found that the off method is inconsistent with nodejs.
{ "eventemitter3": "5.0.1" }

const ee = new EventEmitter()

ee.on('x', console.log)
ee.on('x', console.log)

ee.emit('x', 1) // print 1 twice

ee.off('x', console.log)

ee.emit('x', 1)
// expect: should print 1 once
// actual: no print

See

The removeListener method removes all matching listeners, not only the first.

off is an alias for removeListener.


Using automated install for  Nginx 1.21.3 - Nginx does not start after successfull build and install - Ubuntu Impish

sudo nginx -t
nginx: [emerg] dlopen() "/usr/lib/nginx/modules/ngx_pagespeed.so" failed (/usr/lib/nginx/modules/ngx_pagespeed.so: undefined symbol: pthread_mutex_consistent_np) in /etc/nginx/modules-enabled/50-mod-pagespeed.conf:1
nginx: configuration file /etc/nginx/nginx.conf test failed
Content of /etc/nginx/modules-enabled/50-mod-pagespeed.conf
load_module modules/ngx_pagespeed.so;
Nginx Error log:
2021/10/04 15:52:07 [emerg] 68172#0: dlopen() "/usr/lib/nginx/modules/ngx_pagespeed.so" failed (/usr/lib/nginx/modules/ngx_pagespeed.so: undefined symbol: pthread_mutex_consistent_np) in /etc/nginx/modules-enabled/50-mod-pagespeed.conf:1

Hi
As far as I can see, pthread_mutex_consistent_np is defined in pthread.h file, provided by OS.
In a Centos 7 distro the path is /usr/include/pthread.h

Hi, ok, the error message sounds like it is included in pagespeed.so. So what's the problem? Is pagespeed.so using something which is depreciated or is this a bug in the new pthread.h version?
Ubuntu 21.10 (relevant part):
extern int pthread_mutex_consistent (pthread_mutex_t *__mutex)
     __THROW __nonnull ((1));
# ifdef __USE_GNU
#  ifdef __REDIRECT_NTH
extern int __REDIRECT_NTH (pthread_mutex_consistent_np, (pthread_mutex_t *),
			   pthread_mutex_consistent) __nonnull ((1))
  __attribute_deprecated_msg__ ("\
pthread_mutex_consistent_np is deprecated, use pthread_mutex_consistent");
#  else
#   define pthread_mutex_consistent_np pthread_mutex_consistent
#  endif
# endif
#endif

Ubuntu 20.04:
/* Declare the state protected by MUTEX as consistent.  */
extern int pthread_mutex_consistent (pthread_mutex_t *__mutex)
     __THROW __nonnull ((1));
# ifdef __USE_GNU
extern int pthread_mutex_consistent_np (pthread_mutex_t *__mutex)
     __THROW __nonnull ((1));
# endif
#endif

Hi
Pagespeed uses #includes <pthread.h> and maybe (I don´t know) uses this function, if in new version is deprecated.... maybe @oschaaf must take a look

Same with 22.04 LTS. I have removed pagespeed now from Nginx due to missing maitenance

see https://github.com/apache/incubator-pagespeed-ngx/issues/1743

https://github.com/apache/incubator-pagespeed-ngx/issues/1760

Hello Guys, any help in fixing the problem?
"nginx: [emerg] dlopen() "/usr/share/nginx/modules/ngx_pagespeed.so" failed (/usr/share/nginx/modules/ngx_pagespeed.so: undefined symbol: pthread_mutex_consistent_np) in /etc/nginx/nginx.conf:2
nginx: configuration file /etc/nginx/nginx.conf test failed"
I am running nginx version: nginx/1.22.1 and ubuntu version 22.04.
Thanks


Allow to release a development version of an orb with a custom tag

Describe Request
In the old orb tools version (10.x), it was possible to create a development release of an orb with a custom version tag, e.g. dev:<branch-name>. This allowed for easy testing of changes in an orb without having to bump the orb version after every commit to an orb, AND to have a master branch which always published the dev:alpha version.
With the current Orb version, this is a bit more troublesome. There are now 2 tags created:

dev:alpha
dev:<SHA1>

We could use the dev:alpha tag when working on a branch, however it might be overridden by a pipeline run by another branch. And we would also loose the possibility to use the dev:alpha tag to always get the latest (not released) orb version from master.
I see 2 possible solutions to achieve what I would like:

Depending on the branch that the publish job is run from, create a different tag. For master, use dev:<SHA-1>, for other branches, use dev:<branch_name> (taken from the CIRCLE_BRANCH env var. This is however a bit opinionated, and potentially not backwards compatible.
Allow to specify the additional tag. through a new property e.g. pub-dev-tag By default, the dev:<SHA-1> tag could be used, which preserves backwards compatibility. With the new property, a custom tag can then be specified for versions published from a branch.

Supporting Documentation Links
The documentation still refers to branch versions for a development orb: https://circleci.com/docs/orb-concepts/#development-orbs

Just to be sure, is the goal to test the orb in other existing repositories? In Orb tools 12 we are aiming to do away with the need for publishing development orbs at all, to make testing easier for open-source contributions. Publishing to a tag would still be possible but removing publishing means we do not need an API token for the building portion of the orb, meaning we could run forked PRs and allow the tests to fully run as they are no longer blocked by this access.
https://github.com/CircleCI-Public/orb-tools-orb/pull/181

Multi-tag support confirmed added to #181

Thanks a bunch! 🙏


Shutdown subscription after exactly 30 minutes

Instead of relying on the progressively growing and random resubscribe interval simply check the time since the first re-subscription attempt.
The resubscribe interval is chosen at random, and even in the terminal state, a resubscription potentially happens below 30 minutes (in the final progression the resubscription time is chosen at random between 27 and 92 minutes). This means that in theory we shutdown the subscription much later than actually intended.

It seems that the callback provided time is "made up", and doesn't reflect the actual resubscription time, e.g.:
2024-09-04 10:20:59.046 (Dummy-2) CHIP_PROGRESS [chip.native.DMG] Will try to resubscribe to 01:0000000000000001 at retry index 5 after 29988ms due to error src/protocols/secure_channel/CASESession.cpp:560: CHIP Error 0x00000032: Timeout
2024-09-04 10:20:59.047 (MainThread) INFO [matter_server.server.device_controller] <Node:1> Previous subscription failed with Error: 50, re-subscribing in 21192 ms...
...
2024-09-04 10:21:29.035 (Dummy-2) CHIP_PROGRESS [chip.native.DMG] OnResubscribeTimerCallback: ForceCASE = 1

(the actual resubscribe time was after ~29.9s, so the value provided by the SDK, not the Python callback)
This change just removes the Python callback provided time, it is useless currently.


Qml essentials

This PR resolves #21 by introducing the qml-essentials module.
Various adjustments were needed and further cleanups required.
However, I would suggest to have that treated in a separate PR.

Hello @stroblme! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file app/app.py:

Line 104:80: E501 line too long (87 > 79 characters)

In the file app/pages/1-training.py:

Line 52:80: E501 line too long (83 > 79 characters)
Line 68:80: E501 line too long (85 > 79 characters)
Line 86:80: E501 line too long (92 > 79 characters)
Line 110:80: E501 line too long (88 > 79 characters)
Line 126:80: E501 line too long (89 > 79 characters)
Line 150:80: E501 line too long (82 > 79 characters)
Line 151:80: E501 line too long (94 > 79 characters)
Line 435:80: E501 line too long (80 > 79 characters)
Line 465:80: E501 line too long (80 > 79 characters)
Line 571:80: E501 line too long (85 > 79 characters)

In the file app/pages/2-expressibility.py:

Line 45:80: E501 line too long (89 > 79 characters)
Line 55:80: E501 line too long (83 > 79 characters)
Line 85:80: E501 line too long (85 > 79 characters)
Line 143:80: E501 line too long (84 > 79 characters)
Line 159:80: E501 line too long (85 > 79 characters)
Line 191:80: E501 line too long (81 > 79 characters)
Line 209:80: E501 line too long (88 > 79 characters)
Line 360:80: E501 line too long (86 > 79 characters)

In the file app/utils/entangling.py:

Line 141:80: E501 line too long (81 > 79 characters)

In the file app/utils/expressibility.py:

Line 159:80: E501 line too long (82 > 79 characters)

In the file app/utils/instructor.py:

Line 50:80: E501 line too long (82 > 79 characters)
Line 181:80: E501 line too long (83 > 79 characters)

Hello @stroblme! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
* In the file [`app/app.py`](https://github.com/cirKITers/mind-the-qapp/blob/b932250c6d6c699281a5d1f2a08f5f9d8ed8c25b/app/app.py):

Line 104:80: E501 line too long (87 > 79 characters)

* In the file [`app/pages/1-training.py`](https://github.com/cirKITers/mind-the-qapp/blob/b932250c6d6c699281a5d1f2a08f5f9d8ed8c25b/app/pages/1-training.py):

Line 52:80: E501 line too long (83 > 79 characters)
Line 68:80: E501 line too long (85 > 79 characters)
Line 86:80: E501 line too long (92 > 79 characters)
Line 110:80: E501 line too long (88 > 79 characters)
Line 126:80: E501 line too long (89 > 79 characters)
Line 150:80: E501 line too long (82 > 79 characters)
Line 151:80: E501 line too long (94 > 79 characters)
Line 419:80: E501 line too long (80 > 79 characters)
Line 449:80: E501 line too long (80 > 79 characters)

* In the file [`app/pages/2-expressibility.py`](https://github.com/cirKITers/mind-the-qapp/blob/b932250c6d6c699281a5d1f2a08f5f9d8ed8c25b/app/pages/2-expressibility.py):

Line 45:80: E501 line too long (89 > 79 characters)
Line 55:80: E501 line too long (83 > 79 characters)
Line 85:80: E501 line too long (85 > 79 characters)
Line 143:80: E501 line too long (84 > 79 characters)
Line 159:80: E501 line too long (85 > 79 characters)
Line 191:80: E501 line too long (81 > 79 characters)
Line 209:80: E501 line too long (88 > 79 characters)
Line 517:80: E501 line too long (81 > 79 characters)

* In the file [`app/utils/entangling.py`](https://github.com/cirKITers/mind-the-qapp/blob/b932250c6d6c699281a5d1f2a08f5f9d8ed8c25b/app/utils/entangling.py):

Line 131:80: E501 line too long (81 > 79 characters)

* In the file [`app/utils/expressibility.py`](https://github.com/cirKITers/mind-the-qapp/blob/b932250c6d6c699281a5d1f2a08f5f9d8ed8c25b/app/utils/expressibility.py):

Line 160:80: E501 line too long (82 > 79 characters)

* In the file [`app/utils/instructor.py`](https://github.com/cirKITers/mind-the-qapp/blob/b932250c6d6c699281a5d1f2a08f5f9d8ed8c25b/app/utils/instructor.py):

Line 46:80: E501 line too long (82 > 79 characters)
Line 138:80: E501 line too long (83 > 79 characters)

Comment last updated at 2024-08-16 09:01:37 UTC

ignoring pep as line length is set to 88 in .flake8 and >88 affects html style python where readability would suffer from restructuring

There are some issues left which i.m.O. should be treated in a separate PR.
Also switching to expressibility and entangling capability implementation from qml essentials.


Added visuals

Added some screenshots for #3

@nizam19, Thanks a lot for your interest in contributing to Rough Drift!
Using screenshots to showcase the game is a great idea, and I think it helps Rough Drift a lot already.
But the screenshots you've added seem to be from an older version (0.1.5) where as the current version available is 0.1.7.
If you can, please consider downloading the latest version from https://sriharsha2000.itch.io/roughdrift and update the screenshots.

@nizam19, Thanks a lot for your interest in contributing to Rough Drift! :smiley:
Using screenshots to showcase the game is a great idea, and I think it helps Rough Drift a lot already.


Store config change actions on prepare, trigger on activate

@hmusum please review.
This will enable automatic reindexing in self-hosted Vespa as well, whenever a schema change is activated. FYI @bratseth.

I suppose this will break the system tests that assume reindexing must be triggered by the user.
It should also be accompanied by an update to the reindexing documentation.
I want to get started on those before I merge this.

Ah, I forgot, the maintainer that redeploys is in the node repository, so this will only make reindexing ready automatically, but to start it, a new, manual deployment still has to be made in self-hosted.


Update documentation

Codecov Report

Merging #628 (bc7ca81) into main (93ea956) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #628   +/-   ##
=======================================
  Coverage   85.20%   85.20%
=======================================
  Files         307      307
  Lines       27433    27433
=======================================
+ Hits        23373    23374    +1
+ Misses       4060     4059    -1

Impacted Files
Coverage Δ

lib/ffi/src/closure.rs
100.00% <0.00%> (+3.22%)
:arrow_up:

Continue to review full report at Codecov.

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


When rerunning Ace, don't reset the current tab.

Current behavior:
Current tab: Violations
Click "Rerun"
Tab switches to "Summary"
I would rather not have the view reset. The selected tab should still be "Violations".

Fixed via https://github.com/daisy/ace-gui/commit/88cc03d330796327b5de7648d64a670515d9191c


Draw sample counts per line in source code

We want to include sample counts and percentages when showing source code
and dissassembly view. This PR aims that. For that, we are creating a
widget to be in the right, where we show that information.
This PR is only to start getting some comments, more commits are coming.
What is left:

A few TODO.

Make the pop-up window bigger

Create a top-widget where we draw titles for every column ("Samples",
"Function" & "Total").

Populate the view with real info (currently only function column
has the correct information, the other columns are displayed with
fake info).

There is an issue when zooming-in a lot (not a regression, sadly).

Related to http://b/159809330 from Source Code feature.
To test: Simply run CodeViewerDemo.
Screenshot with sample info, only to show how it looks:

I know that everyone did LGTM, but I'm asking for re-reviews. Sorry for that.
New changes:

Addressed comments and TODO/bugs
We are using real data
We have a top_bar_widget now
The pop-up windows is bigger

Change I need to do tomorrow:

Rebase on Henning's PR to include optional data (and not draw any number)

Change I won't do:

Problem with zoom-in a lot (will set a bug tomorrow)


Change sqlx-sqlite to check for uniqueness error instead of checking for existence

Currently, the sqlx-sqlite store has an issue with databases running using the WAL journal if multiple requests come in at the same time, causing a "database is locked" error. The sequence is roughly this:

Two connections call SqliteStore::create, at the same time.
Concurrently, they both call SqliteStore::id_exists. Both lock the database for reading and sets their "end mark" to the current database state.
Connection 1 calls save_with_conn first and commits its transaction. This upgrades its lock to a write lock and advances the database state - connection 2's end mark is still before this update.
Connection 2 calls save_with_conn. It attempts to upgrade its read lock to a write lock, but fails since the database has been modified since the read lock was acquired, and sqlite returns a "database is locked" error.

This patch fixes the issue by removing the if_exists check and instead attempts to insert the ID, check if the insert fails with a uniqueness error, and regenerate the ID if so. With this, all connections immediately lock the database for writing and will wait for each other to finish before inserting. It should also be more performant in the common case of the generated ID being unique.

I think the latest commit on main should address the test failures.

Thank you!


VS code does not work smoothly

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.90.1
OS Version: Ubuntu 24.04

Steps to Reproduce:

Open Vs code
Hover over files. It feels super slow and buggy.

For now I have reverted to a previous release using sudo snap revert code

I believe this is related:  https://github.com/microsoft/vscode/issues/215546.
As you discovered, reverting VS Code to 1.90.0 appears to be workaround.

/duplicate https://github.com/microsoft/vscode/issues/212494

/duplicate https://github.com/microsoft/vscode/issues/212494