Custom web part suddenly not available on newly created Modern Online site

Category

[x] Question
[ ] Typo
[ ] Additional article idea

Question
I've been creating sharepoint sites for internal use and I have this custom part I've made that adds our zendesk widget and hides some things with css. I have created multiple new sites recently and the part has always been available to immediately add to the page.
Just today I went to create yet another site, went to add the part, and it's not available. Looking at the part in the app catalog reveals no errors. I've googled a couple variations of the phrase 'custom web part not appearing' and not found anything helpful. The strange thing is that my random HelloWorld web part that I had started with IS available to add to the newly created site. I'm pretty confused as to why this newly created site can clearly use SOME custom parts, but not all?
Please help, feeling very lost as I have no errors to work on, just silent failure.

Lots of questions:

Did you install the app that contains the web part into the new site, or was the package deployed to all sites?
What type of site did you create that worked?
What type of site did you create that didn't work?
Was it just the one site, or multiple sites?
Did show up over time?
Did it happen for new sites that were created?

@iBrooks said

hides some things with css

BTW, that's considered DOM manipulation and is not supported.


Aternos arghh!!

I use aternos and it lags
pls help argh!!
??
!?!?!

lol

anyways>???>?>?

You should contact aternos support then. Here is the wrong place.

ok topic changed, how to use timings then?

/timings report on most platforms, but, once again, ask your software vender for support, this is not the place for support with timings themselves.

then why did aikar created aikar/timings

then can you please say where can I get support for aikar/timings ?

you're not asking for support with aikar/timings, you're asking for support reading a timings report produced from the software you're using, which is compatible with and rendered with the timings UI whose source code lives here.
Once again, speak to your software vender for support; i.e. if you're using paper, ask paper, if you're using sponge, ask sponge

now this makes sense, thanks


Unable to create Default InvalidSubscriptionId - Message="The provided subscription identifier XXX is malformed or invalid."

Versions
terraform:
terraform version
Terraform v1.7.0

azure provider:
terraform {
  required_providers {
    azurerm = {
      source  = "hashicorp/azurerm"
      version = ">= 3.74.0"
    }
  }
}

Module Version: 5.2.1
module:  Deploy-Default-Configuration https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/wiki/[Examples]-Deploy-Default-Configuration
Description : Error while running Default configuration module
Describe the bug
I am trying to create a Default configurations as per the article https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/wiki/[Examples]-Deploy-Default-Configuration with below change in the code
provider "azurerm" {
  features {}
  client_id                  = "SP_APP_ID"
  client_secret              = "SP_Secret"
  subscription_id            = "00000000-0000-0000-0000-00000000000" #Since I don't have subscription on my tenant I have given this to pass the tf authentication
  tenant_id                  = "My_tenant_id"
  skip_provider_registration = true  #Since I don't have subscription on my tenant I have given this to pass the tf authentication
}

Error :
│ Error: checking for presence of existing Subscription Template Deployment "pid-36dcde81-8c33-4da0-8dc3-265381502ccb_v5.0.0_0001_c417d5f4": resources.DeploymentsClient#GetAtSubscriptionScope: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="InvalidSubscriptionId" Message="The provided subscription identifier '00000000-0000-0000-0000-00000000000' is malformed or invalid."
│
│   with module.enterprise_scale.azurerm_subscription_template_deployment.telemetry_core[0],
│   on .terraform/modules/enterprise_scale/resources.telemetry.tf line 9, in resource "azurerm_subscription_template_deployment" "telemetry_core":
│    9: resource "azurerm_subscription_template_deployment" "telemetry_core" {

FYI - 231/232 resources are creation complete. Attached the terraform apply output.
Uploading default.module.enterprise_scale.txt…
New Bee Question - How to execute the the default module on the new tenant that don't have any MGs or subscriptions in place ?

I have replaced subscription_id  = "00000000-0000-0000-0000-00000000000" with one of the subscription id in our tenant. The problem is resolved. However, I can't see the Management Groups created in the tenant. Is it due to lack of permissions ?

The subscription deployment is the telemetry, you can disable this using input vars.
If the apply shows the MGs were created then they have been. Did you check the plan?

@matt-FFFFFF  how to disable it using input vars ?

No need to check further. Not an issue.


Your strategy just bets the on the bigger payout

Your strategy is very simple and you should state it outright. It bets on the higher payout at the time the bet is made. Your backtest is also inaccurate since it uses the final payout as the bet, but this is not known the time the bet is made.
You should make the strategy explicit in the README as it's simple to understand.
const bet = roundBullAmount < roundBearAmount ? 'bull' : 'bear';
https://github.com/xBidi/PancakeSwapBot/blob/main/src/bot.ts#L73

Hi
Yes and no, first of all the strategy used is a martingala with multiplier of 1.6, not 2
as in dont know the final payout at the time i place the bet you can configure an error % wich chnge the bet to random. In real testing around 30% of the time the multipliers change in the last 20 secs, so the backtest is more accurate

Great! Thanks for clarifying. Can you please add that to the README for others?


check for ssl https proxy

Added check for setup when behind ssl terminating proxy.

Thanks for the PR!


Make react-grid-layout work on react native

Describe the bug
I would be interested by a version of react-grid-layout which work on both reactjs than reactt native
Your Example Website or App
none
Steps to Reproduce the Bug or Issue
none
Expected behavior
none
react-grid-layout library version
all
Operating System Version
all
Browser
Other (add additonal context)
Additional context
nothing
Screenshots or Videos
nothing

Sorry, no plans to do this. I don't have the time. I'd review a PR.


Unable to install on FreeBSD

This looks like an interesting project! I was excited to try it out, but alas I cannot use it on FreeBSD.
# pipx install uv
Fatal error from pip prevented installation. Full pip output in file:
    /root/.local/pipx/logs/cmd_2024-03-14_01.48.57_pip_errors.log

pip failed to build package:
    uv

Some possibly relevant errors from pip install:
    error: subprocess-exited-with-error
    error: could not compile `pubgrub` (lib) due to 2 previous errors
    Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/root/.local/pipx/venvs/uv/bin/python', '--compatibility', 'off'] returned non-zero exit status 1

Error installing uv.

The log:
PIP STDOUT
----------
Collecting uv
  Downloading uv-0.1.19.tar.gz (560 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 560.4/560.4 kB 3.2 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: uv
  Building wheel for uv (pyproject.toml): started
  Building wheel for uv (pyproject.toml): still running...
  Building wheel for uv (pyproject.toml): still running...
  Building wheel for uv (pyproject.toml): still running...
  Building wheel for uv (pyproject.toml): still running...
  Building wheel for uv (pyproject.toml): finished with status 'error'
Failed to build uv

PIP STDERR
----------
  error: subprocess-exited-with-error

  × Building wheel for uv (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [178 lines of output]
      Running `maturin pep517 build-wheel -i /root/.local/pipx/venvs/uv/bin/python --compatibility off`
      🍹 Building a mixed python/rust project
      🔗 Found bin bindings
      📡 Using build options bindings from pyproject.toml
         Compiling proc-macro2 v1.0.79
         Compiling unicode-ident v1.0.12
         Compiling libc v0.2.153
         Compiling cfg-if v1.0.0
         Compiling autocfg v1.1.0
         Compiling version_check v0.9.4
         Compiling quote v1.0.35
         Compiling jobserver v0.1.28
         Compiling syn v2.0.52
         Compiling cc v1.0.90
         Compiling once_cell v1.19.0
         Compiling serde v1.0.197
         Compiling pin-project-lite v0.2.13
         Compiling memchr v2.7.1
         Compiling getrandom v0.2.12
<snip>
         Compiling crypto-common v0.1.6
         Compiling block-buffer v0.10.4
         Compiling crossbeam-epoch v0.9.18
         Compiling instant v0.1.12
         Compiling subtle v2.5.0
         Compiling mime v0.3.17
         Compiling owo-colors v4.0.0
         Compiling uv-warnings v0.0.1 (/tmp/pip-install-xjzv6y7u/uv_6b8aa8085de24aea9bc57d1db6ee026e/crates/uv-warnings)
         Compiling digest v0.10.7
         Compiling backoff v0.4.0
         Compiling crossbeam-deque v0.8.5
         Compiling pubgrub v0.2.1 (https://github.com/astral-sh/pubgrub?rev=addbaf184891d66a2dfd93d241a66d13bfe5de86#addbaf18)
         Compiling hyper-rustls v0.24.2
      error[E0562]: `impl Trait` only allowed in function and inherent method return types, not in trait method return types
         --> /root/.cargo/git/checkouts/pubgrub-4eebf9758cb3b340/addbaf1/src/solver.rs:264:30
          |
      264 |     ) -> Result<Dependencies<impl IntoIterator<Item = (P, VS)> + Clone>, Self::Err>;
          |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          |
          = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information

      error[E0562]: `impl Trait` only allowed in function and inherent method return types, not in `impl` method return types
         --> /root/.cargo/git/checkouts/pubgrub-4eebf9758cb3b340/addbaf1/src/solver.rs:372:30
          |
      372 |     ) -> Result<Dependencies<impl IntoIterator<Item = (P, VS)> + Clone>, Self::Err> {
          |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          |
          = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information

         Compiling rustls-native-certs v0.6.3
      For more information about this error, try `rustc --explain E0562`.
      error: could not compile `pubgrub` (lib) due to 2 previous errors
      warning: build failed, waiting for other jobs to finish...
      💥 maturin failed
        Caused by: Failed to build a native library through cargo
        Caused by: Cargo build finished with "exit status: 101": `env -u CARGO "cargo" "rustc" "--message-format" "json-render-diagnostics" "--manifest-path" "/tmp/pip-install-xjzv6y7u/uv_6b8aa8085de24aea9bc57d1db6ee026e/crates/uv/Cargo.toml" "--release" "--bin" "uv" "--" "-C" "link-arg=-s"`
      Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/root/.local/pipx/venvs/uv/bin/python', '--compatibility', 'off'] returned non-zero exit status 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for uv
ERROR: Could not build wheels for uv, which is required to install pyproject.toml-based projects

I assume this pertains to: https://github.com/rustls/hyper-rustls
Which as no issues regarding FreeBSD.
I'm no rust expert, but I've seen similar errors before when there's a new rust version that the code requires, and the package doesn't update the minimum rust required version. However, the actual issue could be totally different.
If the issue does seem to be with hyper-rustls, it seems like I should be able to reproduce it with cargo. If I can do that, I should be able to open an issue over there and link it to here.
Does this all sound good? Would I need to run something like cargo install hyper-rustls?
Thank you!

I think your Rust version is too low -- impl Trait is now allowed there, but wasn't until recently. Can you upgrade to rustc 1.76.0?

Gotcha, that does make sense. I'll see if I can update.

I could be missing this but it doesn't look like PubGrub has a minimum Rust version declared. Perhaps we should add one but regardless we require a newer version of Rust.

I do think having PubGrub state the version would be nice, although for most users it may not be an issue.
I meant building Rust from source, although it could also be my machine.

I meant building Rust from source, although it could also be my machine.

I believe you can get the official prebuilt Rust binaries for FreeBSD using RustUp. https://www.rust-lang.org/tools/install

I do think having PubGrub state the version would be nice, although for most users it may not be an issue.

If pubgrub set its MSRV, you would have gotten a better error message. The error message would have made it clear that the project would not work in less you upgraded your Rust. So the core of the problem would still be the same.

I don't think this is actionable for us.

For those looking for alternative solutions to this, uv can now be installed directly through pkg.
# pkg install uv
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        uv: 0.1.15_1

Number of packages to be installed: 1

The process will require 36 MiB more space.
11 MiB to be downloaded.

Proceed with this action? [y/N]: y
[dagster] [1/1] Fetching uv-0.1.15_1.pkg: 100%   11 MiB  11.1MB/s    00:01
Checking integrity... done (0 conflicting)
[dagster] [1/1] Installing uv-0.1.15_1...
[dagster] [1/1] Extracting uv-0.1.15_1: 100%


Fix ping tos size for v4.4.2

This commit: https://github.com/espressif/esp-idf/commit/f8a4504bc5d153439bd34f6544aab1244143f421 broke ping client because it fixed the size of the tos argument.

Closing as this was fixed in https://github.com/esp-rs/esp-idf-svc/pull/98


Allow to access content using the slug

At the moment, we can access contents using the ID, e.g.
https://cms.klaudsol.com/api/articles/1

To make API access more efficient, we want to access the contents via the slug:
https://cms.klaudsol.com/api/articles/how-to-run-shopify-cli-in-aws-cloud-9


Stop bundling virtualenv

Is there a reason this project bundles virtualenv?
https://github.com/python-zk/kazoo/tree/master/sw
It is referenced in the Makefile: https://github.com/python-zk/kazoo/blob/83b9f94e32594516a65cd90fcf4fc16a02156467/Makefile#L31
But I don't think it's needed anymore. For tests, tox handles all the venv's, and for development, modern python 3 already includes the venv module.
Note to self: If removing this, also remove these references to the sw folder:
https://github.com/python-zk/kazoo/search?utf8=✓&q=sw&type=
cc @harlowja / @bbangert as I think you two are most likely to know history here

I'm pretty sure (looking at the commit history) we used our own virtualenv copy to work around bugs in travis-ci (0cdb38186eeffe8306315f0ddf76dd003c753432). That's a 5+ year old bug which isn't around anymore.
I think it makes sense to instead rely on virtualenv being installed in the Python environment.
Inside the Makefile we could do something like:
GREENLET_SUPPORTED = yes
ifeq ($(findstring 3.,$(TRAVIS_PYTHON_VERSION)), 3.)
	GREENLET_SUPPORTED = no
	VENV_CMD = python -m venv .
else
	VENV_CMD = python -m virtualenv .
endif
ifeq ($(PYPY),yes)
	GREENLET_SUPPORTED = no
endif

And then later:
$(PYTHON):
	$(VENV_CMD)

That should keep the make / make test working under both Python 2 and 3.


autofocus on page-load should select any existing text

Since #365 turbolinks automatically focuses inputs with the autofocus attribute.
I think it would be more correct that any existing text in the focused input were to be selected on the focus event

Safari already does this, both on normal page loads and on Turbolinks page loads when .focus() is called.  Firefox and Chrome don't.  In general, we do everything we can to maintain native browser behavior, only actively fixing things that Turbolinks has broken (like setting the focus on elements with the autofocus attribute).  It isn't the role of Turbolinks to fix browser discrepancies.  The Safari behavior shows that if a browser wants autofocused elements to have existing text selected, Turbolinks isn't preventing it.  If you or anyone else ever find a case now or in the future where that isn't true, then we'll take action.  Just reopen the PR if you do.


Add support for UIScrollViews, UITableViews and UICollectionViews

Would it be possible to add support for scroll views to this library so we can replicate UI such as the apple maps/stock app drawer. There are a few library's that do this already such as PullUpController or FloatingPanel. However these library are either very large or do not use all the latest apple APIs such as UIPresentationControllers or UIPercentDrivenInteractiveTransition.

Yes, add support for that;)


Convert UsingCodeFixProvider use of IsAnalyzerSuppressed to configuration

Currently the behavior of UsingCodeFixProvider varies based on whether or not SA1200 is suppressed. The code fix should not rely on this type of configuration; the behavior should instead be exposed as an explicit option in stylecop.json.

I don't agree. The end user would not benefit from this. He/she would have to remember to correctly configure the stylecop.json file, besides enabling/disabling the desired analyzers. The goal of the current behavior is to generate correct code based on the analyzers enabled and that cannot be done more efficiently by adding a configuration setting.

:memo: I responded to this in #1747.


Problem with entities

I have a entity named "TestataProventivi". It'will be retrieved by the following statement :
public RetrieveResponse Retrieve(IDbConnection connection, RetrieveRequest request)
{
return new MyRetrieveHandler().Process(connection, request);
}
The statement give a SQL Error on IdAzienda a field that is listed in "TestataPreventivi".
How can bypass the error?
Simone

lol, what kind of error. Is this some guessing game?
just random answer off the top of my head: did u rebuild and T4 transform?

Thanks I solved my problem.
Simone Spagna
*CEO *
Omnialan di S&S SRLS ITC Unipersonale
Via Chiesanuova 17
46100 Mantova (MN)
http://www.omnialan.it - Http://www.omnialanstore.it
Il giorno mar 23 ott 2018 alle ore 22:45 Juraj Benadik <
<EMAIL_ADDRESS>ha scritto:

lol, what kind of error. Is this some guessing game?
just random answer off the top of my head: did u rebuild and T4 transform?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/volkanceylan/Serenity/issues/4022#issuecomment-432412590,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKne2dXtxCWy6WsKxXQc7rxCkRprNW47ks5un3_egaJpZM4X1aIc
.


Add settings.json option for turning jumplist population on and off

Description of the new feature/enhancement
I already use my own custom jumplist editor to put windows terminal profiles (just certain ones) into the jumplist for windows terminal, as well as other software, and other invocations of WT that are more complicated than just loading a profile. It would be nice in this version to be able to turn off the new built-in jumplist creation so my jumplist items don't get overwritten. Plus, I just don't need a jumplist for every profile in addition to the ones I've already manually set up.

This could be either an "enableJumplist": false option, or a per-profile "hiddenInJumplist": false setting, which would allow users to customise the jumplist without a 3rd party editor.

As long as "hiddenInJumplist" could go in the "defaults" profile section, and would not cause windows terminal to set an empty jumplist, that would work for me.

This isn't a terrible idea, but maybe it's something we should combine with #1571, rather than making it a part of each profile. Maybe in the future we'll want the customized new tab menu to appear in the jumplist rather than just the list of profiles.
Though, I suppose most actions won't really make sense from the jumplist, when they might in the new tab dropdown. Plus, I don't think we can do folders in the jumplist.
Maybe I've convinced myself that this should be a part of the profile :P

I'll keep this one open as a discussion. I think we need to land on a design first. :smile:


Update documents link of Popper. The older one is 404 now.

Please make sure these boxes are checked before submitting your PR, thank you!

[x] Make sure you follow Element's contributing guide (中文 | English | Español | Français).
[x] Make sure you are merging your commits to dev branch.
[x] Add some descriptions and refer relative issues for you PR.

Update documents link of Popper. The older one is 404 now.

没人维护吗？一个文档bug这么久还没人合啊


using with create-react-app generated webpack config..

Seems to be ignoring the magic comment. I assume there is something stripping it before it can be consumed by your plugin.. ? Any thoughts about where to start looking to make adjustments?
I have a fork of create-react-app that i'm modifying to generate a consumable react component / MFE that is loaded into a larger app shell. I am trying to keep the subs in the "create-react-app" ecosystem to lower our ongoing maintenance burden for tooling :)

more details..
module
// ...

export default Extension;
// this is a magic comment! do not remove, is required by https://github.com/ScriptedAlchemy/webpack-external-import
/*externalize:Extension*/

webpack.config.js.txt

Try it now, I made a few modifications.
I believe it was an issue with how splitChunks was getting merged in


[FLINK-22297][python] Perform early validation for the result of Pandas UDF

What is the purpose of the change
This pull request performs early validation for the result of Pandas UDF, e.g. ensure the result length is equal to the input length, validates the result type, etc
Verifying this change
This change added tests test_invalid_pandas_udf in test_pandas_udfs.py.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

@dianfu This is great!

@YikSanChan  :)


[v4.0.0-alpha.4] Sass parsing error: Unexpected character '@'

I'm attempting to add Sass support to a new installation of Storybook, but am running into the following error:
ERROR in ./ui/components/buttons/base/_index.scss
Module parse failed: Unexpected character '@' (4:0)
You may need an appropriate loader to handle this file type.
| // Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license
|
| @import 'deprecate';
|
| /**
 @ ./ui/components/buttons/base/buttons-stories.js 11:0-24
 @ ./ui/components/storybook-stories.js
 @ ./.storybook/config.js
 @ multi<EMAIL_ADDRESS><EMAIL_ADDRESS>./node_modules/webpack-hot-middleware/client.js?reload=true ./.storybook/config.js

Steps to reproduce
I believe I have the appropriate loaders installed and setup properly, but the error persists. I've attempted to setup my webpack.config.js in two ways: Full control mode and Full control mode + default.
const path = require('path')

module.exports = (baseConfig, env, defaultConfig) => {
  defaultConfig.module.rules.push({
    test: /\.scss$/,
    include: path.resolve(__dirname, 'ui'),
    use: [
      'style-loader',
      'css-loader',
      'sass-loader'
    ]
  })

  return defaultConfig
}

const path = require('path')

module.export = (storybookBaseConfig, configType) => {
  storybookBaseConfig.module.rules.push({
    test: /\.scss$/,
    include: path.resolve(__dirname, 'ui'),
    use: [
      'style-loader',
      'css-loader',
      'sass-loader'
    ]
  })

  return storybookBaseConfig
}

In both instances, I have switched use with loaders (per the docs) but the same error message appears. When I comment out @import 'deprecate' from the Sass file, the error appears on the next declaration, which is a standard CSS class declaration.
Other changes from the default setup include:
.storybook/config.js
import { configure } from '@storybook/react'

function loadStories() {
  require('../ui/components/storybook-stories')
}

configure(loadStories, module)

ui/components/storybook-stories.js
/**
 * Storybook Stories
 */

export { Button } from '../components/buttons/base/buttons-stories';

Please specify which version of Storybook and optionally any affected addons that you're running

storybook/addon-actions: "^4.0.0-alpha.4"
storybook/addon-links: "^4.0.0-alpha.4"
storybook/addons: "^4.0.0-alpha.4"
storybook/react: "^4.0.0-alpha.4"

Other installed packages

webpack: "4.0.0"
webpack-cli: "2.0.9"
style-loader: "0.19.0"
css-loader: "0.28.11"
sass-loader: "6.0.6"

So I think this is causing the scss file not to get matched by webpack:
include: path.resolve(__dirname, 'ui'),

@ndelangen yep, you're right; I was worried it was something this simple. Fixing this caused a couple other issues to occur, but I just worked through them successfully.

scss file not to get matched by webpack:    ,,  I  remove  " include: path.resolve(__dirname, "..")" ,my webpack.config.js
const path = require("path"); const includePath = path.resolve(__dirname, '..'); const genDefaultConfig = require('@storybook/react/dist/server/config/defaults/webpack.config.js'); // Export a function. Accept the base config as the only param. module.exports = (storybookBaseConfig, configType) => {   const config = genDefaultConfig(storybookBaseConfig);   // configType has a value of 'DEVELOPMENT' or 'PRODUCTION'   // You can change the configuration based on that.   // 'PRODUCTION' is used when building the static version of storybook.   // console.log(JSON.stringify(storybookBaseConfig, null, 4));   // Make whatever fine-grained changes you need   config.module.rules.push(       {     test: /\.(css|scss|sass)$/,     loaders: ["style-loader", "css-loader", "sass-loader"],     // include: path.resolve(__dirname, "..")   }   );   config.module.rules.push(   { test: /\.(png|woff|woff2|eot|ttf|svg)$/, loader: 'url-loader?limit=100000' }   );   // Return the altered config   console.log(JSON.stringify(config, null, 4));   return config; };

@zhsisusie that fix my problem too. Thanks!


How to work with Jest and AMD Modules?

Category

[x] Question
[ ] Typo
[ ] Bug
[ ] Additional article idea

Problem:
Jest doesn't officially support requirejs.
Question
How should we test a Webpart which has a dependency to an amd module (i.e. PeoplePicker) with Jest framework?
Test Reference Example
Use Case
Webpart which imports the React PeoplePicker. Test fails with error Cannot find module 'ControlStrings' from 'PeoplePickerComponent.js'
JestTestWebPart.ts
import * as React from 'react';
import { PeoplePicker } from "@pnp/spfx-controls-react/lib/PeoplePicker";

export default class JestTest extends React.Component<any, any> {
	public render(): React.ReactElement<any> {
		return (

People Picker

			<PeoplePicker context={null} titleText="Title" />

    	);
  }
}

jestTest.test.ts
/// <reference types="jest" />

import * as React from 'react';
import { configure, mount, ReactWrapper } from 'enzyme';
import * as Adapter from 'enzyme-adapter-react-15';
import JestTest from '../components/JestTest';

configure({ adapter: new Adapter() });

describe('Enzyme basics', () => {
    let reactComponent: ReactWrapper<any, any>;

   beforeEach(() => {
        reactComponent = mount(React.createElement(JestTest));
    });

    it('should has the correct title', () => {
        let cssSelector: string = 'h1';

        const text = reactComponent.find(cssSelector).text();

        expect(text).toBe("People Picker");
    });
});

So, I'm going to answer my question by myself:
As a workaround we mock components which can not be handled by jest.
Example: Mock PeoplePicker
jest.mock('@pnp/spfx-controls-react/lib/PeoplePicker', () => 'PeoplePicker');

And then use the ShallowWrapper from enzyme:
let reactComponent: ShallowWrapper<any, any>;
...
reactComponent = shallow(<JestTest/>);

This leads to a bunch of mocks but works in our case.
Hopefully Jest would support AMD Modules soon and spfx react 16 ;-)

thanks, @christianbueschi for following up with the answer as well, so closing this one.


Can we have more verbose release notes?

Hello, this is how release notes currently looks like in an automated PR that bumps new version:

Can we tag new release on github as well? It has a feature to auto-generate the contents:

Done.


"set pager=less" causes "Command:" prompt being displayed once email is seen

When pager variable is set to something else it causes neomutt to produce "Command:" prompt being displayed.
Relevant part of the config:
set pager=~/.config/neomutt/view_email.sh

and script view_email.sh:
#!/usr/bin/env bash

COLUMNS=${COLUMNS:-`tput cols`}
TMPFILE="$1"
ENCODING="${2:utf-8}"

# Need to copy the file because mutt will delete it before Vim can read it.
DIR=$(mktemp -d)
cp "$TMPFILE" "$DIR/preview"
TMPFILE="$DIR/preview"

if [ -z "$TMUX" ]; then
  nvim -R -m -n "+set fileencoding=$ENCODING" '+set filetype=mail' '+set nofoldenable' '+set nomodifiable'  "$TMPFILE"
elif [ "$COLUMNS" -gt 180 ]; then
  tmux split-window -p 50 -h \
    nvim -R -m -n "+set fileencoding=$ENCODING" '+set filetype=mail' '+set nofoldenable' '+set nomodifiable'  "$TMPFILE"
else
  tmux split-window -p 50 -v \
    nvim -R -m -n "+set fileencoding=$ENCODING" '+set filetype=mail' '+set nofoldenable' '+set nomodifiable'  "$TMPFILE"
fi

Version of Neomutt:
neomutt -v
NeoMutt 20180716
Copyright (C) 1996-2016 Michael R. Elkins and others.
NeoMutt comes with ABSOLUTELY NO WARRANTY; for details type 'neomutt -vv'.
NeoMutt is free software, and you are welcome to redistribute it
under certain conditions; type 'neomutt -vv' for details.

System: Linux 4.15.0-47-generic (x86_64)
ncurses: ncurses 6.1.20180127 (compiled with 6.1.20180127)
libidn: 1.33 (compiled with 1.33)
hcache backends: tokyocabinet, kyotocabinet, qdbm, gdbm, bdb, lmdb

Compiler:
cc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Configure options: --gpgme --pgp --smime --notmuch --lua --tokyocabinet --kyotocabinet --bdb --gdbm --qdbm --lmdb

Compilation CFLAGS: -g -O2 -std=c99 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__ -I/usr/include -I/usr/include/lua5.3  -DNCURSES_WIDECHAR -I/include -I/usr/include/ -I/usr/include/qdbm/ -isystem /usr/include/mit-krb5

Default options:
  +attach_headers_color +compose_to_sender +compress +cond_date +debug
  +encrypt_to_self +forgotten_attachments +forwref +ifdef +imap +index_color
  +initials +limit_current_thread +multiple_fcc +nested_if +new_mail +nntp +pop
  +progress +quasi_delete +regcomp +reply_with_xorig +sensible_browser +sidebar
  +skip_quoted +smtp +status_color +timeout +tls_sni +trash

Compile options:
  +bkgdset +color +curs_set +fcntl -flock +fmemopen +futimens +getaddrinfo
  +gnutls +gpgme +gss +hcache +homespool +idn -locales_hack +lua +meta
  -mixmaster +nls +notmuch -openssl +pgp +sasl +smime +start_color
  +sun_attachment +typeahead
MAILPATH="mailbox"
PKGDATADIR="/usr/share/neomutt"
SENDMAIL="/usr/sbin/sendmail"
SYSCONFDIR="/etc"

To learn more about NeoMutt, visit: https://neomutt.org
If you find a bug in NeoMutt, please raise an issue at:
    https://github.com/neomutt/neomutt/issues
or send an email to<EMAIL_ADDRESS>

The solution is to add this config:
set prompt_after = no

Upstream have added a note to the docs, which we'll merge shortly.


Unable to Export JAR Program

Exported JAR is not usable - need to evaluate if an issue with Mac support, changing build requirements to Java 8, or an issue with new libraries not being included properly.

Needing to reevaluate this issue; exported JARs appear to function correctly with the 0.4.0 preview build


Files no longer extractable outside directory

@tomdixon

lgtm - will give you a hand with converting to a private pod tomorrow


feat: enable phone validation w error msging

The type of this PR is: Feature

This PR resolves PURCHASE-2888
Description

I removed the feature flag dis/enabling showing a phone validation message. Any place using the Phone Input component (My Account, Saved Addresses, Consignments flow) is now wired up to validate the number via the Google Libphonenumber dependency.
Before saving a phone number we first check that the string is a valid phone number, preventing users from saving the form when the response is invalid.
PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have tested my changes on iOS and Android.
[x] I have added tests/stories for my changes, or my changes don't require testing/stories, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a changelog entry below or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

Removes feature flag and enables phone validation error messaging

iOS user-facing changes

Android user-facing changes

Dev changes

This PR contains the following changes:

Cross-platform user-facing changes (Removes feature flag and enables phone validation error messaging)

  Generated by :no_entry_sign: dangerJS against bf4f43ae3b17dcb528054e3b319eeae055e4755b


[feature]: Keploy front-end must have orange and white theme

Is there an existing feature request for this?

[X] I have searched the existing issues

Summary
The Front-end of keploy has a blue white and black color, which is very different from keploys theme color. Keploys front-end must contain orange white and black as the front-end theme color.
Why should this be worked on?
Every company or project must follow a color consistency for all aspects of their product whether it is website, documentation, or logo because it gives a better user experience to new users.

Hi Ankit,
Can you assign this task to me ?

Ok, @saksham140023 this issue is assigned to you.

@AnkitKumarvaid  will love to work on this. Please assign me this issue.

@AnkitKumarvaid will love to work on this. since this issue has been pending for a long time now kindly assign me this and I will fix this asap.

Sure, assigned to you.


Add statistics to view the spending/received/funding for each monetary account

You can now filter by account using the regular filter


Inheriting from a XAML page within the same project fails to compile in C++/WinRT with /std:c++20

Describe the bug
After upgrading to VS 17.0 Preview 2, inheriting from another XAML page within the same project results in a compile error when combined with /std:c++20 or /std:c++latest
Steps to reproduce the bug

Steps to reproduce the behavior:

Create a new UWP project using C++/WinRT
Set the langage version to C++ 20 or latest in project settings
Make MainPage unsealed in the IDL
Create a new XAML page in the project (named BlankPage in the rest of these steps)
Remove or rename the MyProperty property from BlankPage.cpp, BlankPage.h and BlankPage.idl to avoid conflicts with the base class
Make that page inherit from MainPage from IDL: runtimeclass BlankPage : MainPage (don’t forget import "MainPage.idl";)
Add #include "MainPage.h" to BlankPage.h
Update BlankPage.xaml to declare a root object of type local:MainPage instead of Page
Compile the project
Observe the 'to_abi': no matching overloaded function found error

Expected behavior
The code should compile correctly and run.
Screenshots

Version Info

NuGet package version:
This issue happens whether WinUI 2 is used or not.

Windows app type:

UWP
Win32

Yes
Yes (system XAML islands)

Windows version
Saw the problem?

Insider Build (xxxxx)

October 2020 Update (19042)
Yes

May 2020 Update (19041)

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop
Yes

Xbox

Surface Hub

IoT

Additional context
This happens with the Windows SDK version 22000.100, I think it needs to use the v143 toolset as well.
Developer Community issue: https://developercommunity.visualstudio.com/t/Inheriting-from-a-XAML-page-within-the-s/1491603?entry=myfeedback
Sample repro project: BlankApp1.zip (edit 2020-08-02: updated the zip, I somehow managed to upload a zip attempting to use a cppwinrt version that didn't exist on NuGet)

CC @RealTommyKlein @sotteson1

for MS folks this is http://task.ms/35009721

@ShashankNay and @RealTommyKlein FYI

Is there any chance of this being fixed in the 22000 SDK before the stable release of Windows 11 (or in a post-release servicing update to the 22000 SDK?)
I really do not want to be stuck using VS 2019 until the next major SDK release (which seems to be in late 2022, if the existing release cycle is anything to go by).

I spoke with sylveon offline, here's some more info:

the xaml compiler generates a class with two types in the hierarchy (one for each page backed by XAML code) that implement IComponentConnector (via implements<Self, IComponentConnector>)
to_abi (signature below) is called at some point internally by cppwinrt. but the C++ compiler can't figure out which template parameters to deduce, since there are two valid options (both impl::producer<MyBasePage, IComponentConnector> and impl::producer<HomePage, IComponentConnector>). This normally works out fine because winrt::implements is only used once in the entire inheritance hierarchy.

    template <typename I, typename D>
    impl::abi_t<I>* to_abi(impl::producer<D, I> const* from) noexcept

this was always invalid, and clang even rejects it in C++17 mode. increased standards compliance in VS 2022 made the issue surface in MSVC as well, when C++20 or C++latest mode is enabled
i rely on too many C++20 features to rollback to C++17 mode (even then, being stuck on C++17 is also a bummer)
see https://github.com/microsoft/cppwinrt/issues/990 and https://github.com/microsoft/cppwinrt/issues/993

Thanks for the report, took some time to look into this and make the right fix.  The fix will be available for Windows.UI.Xaml in an upcoming Windows Insider Preview SDK release (likely available late January or early February), and for WinUI 3/Windows App SDK it will be in the Windows App SDK 1.1 release.
Using this pattern (a Xaml control/page with an associated .xaml file deriving from another control/page with its own .xaml file) will now raise a warning if the compiler is able to detect it.  It's valid but inefficient as the base class's .xaml will be fully loaded, only to be overwritten by the derived class's .xaml content.

Thanks for the update, and the fix!
In my case, I have a UIElement property on the base page, bind a ContentPresenter to the property and then set [contentproperty] to point to this property in IDL. The result is that pages which inherit from it will not overwrite the base, but rather get ameliored by it. It's a useful pattern to share common behavior between pages, and doesn't result in innefficiency! I can understand the warning being there by default though, but I'd like a way to silence it for such use cases.
For example:
[contentproperty("InnerContent")]
unsealed runtimeclass BasePage : Windows.UI.Xaml.Controls.Page
{
    Windows.UI.Xaml.UIElement InnerContent;
    static Windows.UI.Xaml.DependencyProperty InnerContentProperty { get; };

    // some common logic here.
}

<Page x:Class="BasePage">
    <!-- Common logic here -->
    <!-- ... -->
    <ContentPresenter Content="{x:Bind InnerContent}" />
</Page>

Then, I inherit from BasePage
<BasePage x:Clase="DerivedPage">
    <!-- Content put here will show within BasePage's ContentPresenter -->
</BasePage>

Oh yeah, that design makes sense.  The warning is erring on the side of "don't shoot your foot off" performance-wise :smile:.
Xaml compiler warnings can be disabled with the SuppressXamlWarnings MSBuild property - it takes in a semicolon separated list of Xaml compiler warning codes (sans the WMC prefix) to suppress.  If you want to disable the new upcoming warning (WMC1508), you can add this to your project:
<PropertyGroup>
   <SuppressXamlWarnings>1508</SuppressXamlWarnings>
</PropertyGroup>

Perfect, thank you very much!

Hmm, I'm on the 22543 SDK and this issue still happens. @RealTommyKlein, is this expected?

@sylveon - strange, the fix is in the 22543 SDK.  Can you sanity-check this repro in your setup?  It should pass when the target SDK is 22543 (already set in the repro) and fail on earlier SDK versions, which is what I saw locally:
WUXCppWinRTDerivedXClass.zip

I had to do a clean build to force the XAML codegen to trigger again, merely upgrading the SDK still used the old codegen - my bad! The issue is resolved now, thanks :)


A small tweak in the build-mfem action

Use runner.os (possible values Linux, Windows, or macOS) instead of inputs.os which is passed by the user of this action and may be incorrect.

Sorry, I had master as the target branch. Now it is fixed to be v2.0.


RPI5: NVMe not detected after 1.11.1 Upgrade

Describe the bug
Hardware used:
• RPI5 8GB
• GeeekPi N04 M.2 NVMe to PCIe Adapter for Raspberry Pi 5 (https://www.amazon.com/dp/B0CRK4YB4C?psc=1&ref=ppx_yo2ov_dt_b_product_details)
• WD_BLACK 2TB SN850X NVMe (https://www.amazon.com/dp/B0B7CMZ3QH?ref=ppx_yo2ov_dt_b_product_details&th=1)
Note: Everything was working great with 1.11.0. I was booting from my microSD card.
After the upgrade, the NVMe is not detected and hence, Raspiblitz is asking me to start fresh. If I attempt to do so, it naturally fails because it cannot detect the NVMe drive.
I would like to resolve this in order to preserve the data on the drive and carry on with the upgrade vs. starting over.
To Reproduce
Steps to reproduce the behavior.
Debug file
If possible, please add a debug report. To do that, drag a text file with the debug report in here.
log.txt

The log.txt is the logs while you already try a fresh setup - when ssh in to a fresh sd card image can you CANCEL the setup menu to get to terminal and use the command debug - see details here: https://docs.raspiblitz.org/docs/faq#debug
Also if you flash an older v1.11.0 image and start with that - does it stil lwork?

Unfortunately, I'm unable to test this as I'm traveling. However, I suspect it won't fix the issue since the NVMe detection config is no longer on the SD card, especially in version 1.11.0.
Aug 6, 2024, 7:09 PM by @.***:

The log.txt is the logs while you already try a fresh setup - when ssh in to a fresh sd card image can you CANCEL the setup menu to get to terminal and use the command > debug>  - see details here: > https://docs.raspiblitz.org/docs/faq#debug
Also if you flash an older v1.11.0 image and start with that - does it stil lwork?
—
Reply to this email directly, > view it on GitHub https://github.com/raspiblitz/raspiblitz/issues/4681#issuecomment-2271651413> , or > unsubscribe https://github.com/notifications/unsubscribe-auth/A4I2JSMIZYIAKEPET6MPIB3ZQDYLTAVCNFSM6AAAAABMCBSH5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZRGY2TCNBRGM> .
You are receiving this because you authored the thread.> Message ID: > <raspiblitz/raspiblitz/issues/4681/2271651413> @> github> .> com>

i had the same problem with this board. I bought another one (Geekworm X1002 ) and that will do the job fine

Same here
3 Oct 2024 at 1:54 PM by @.***:

i had the same problem with this board. I bought another one (Geekworm X1002 ) and that will do the job fine
—
Reply to this email directly, > view it on GitHub https://github.com/raspiblitz/raspiblitz/issues/4681#issuecomment-2391113165> , or > unsubscribe https://github.com/notifications/unsubscribe-auth/A4I2JSM3DQIRDK7PIUSLDITZZUO6TAVCNFSM6AAAAABMCBSH5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJRGEYTGMJWGU> .
You are receiving this because you authored the thread.> Message ID: > <raspiblitz/raspiblitz/issues/4681/2391113165> @> github> .> com>

There are no recent changes in the dev branch of the build_sdcard.sh file that directly affect NVMe drive support since v1.11.0 .. so hard to say where this is coming from.
@tysecure can you try again with a v1.10.0 sd card and report if there gets detected again?


Add Vim8 Terminal support

As disccused in #38 , this PR adds support for the Vim8 Terminal feature.
This allows the user to discard tmux entirely and have everything handled inside Vim.
Before merging this PR, a few things need to be taken care of:

Further testing:

[x] Works correctly with Vim8 terminal since I've tested it myself

However, we still need to check whether my code did not break the existing tmux solution nor the Neovim terminal feature.

[ ] Tmux still supported
[ ] Neovim terminal still supported

Perhaps we should change the wording of the README a bit. With native terminal support in both Neovim and Vim, I don't think we should emphasize tmux support this much --- we should explain how this plugin works with no dependencies, but that we have optional support for tmux as well.
I actually changed the routine inside the code so that the native terminal feature is the default choice for the plugin. If a user wants to use tmux, they can effectively do:
let g:tidal_target = "tmux"

Likewise, since we now support native terminal for both Vim8 and Neovim, I think we should ditch the custom bash scripts altogether, or at the very least only refer to them in the tmux section. The installation should be as simple as possible, only requiring a simple
Plug "tidalcycles/vim-tidal"

Right now, having tmux as a dependency and requiring to run the makefile is too much.

That's all for now, I might think of other things later. Hope it's useful to some, don't hesitate to review, test or criticize the above.

@gmoe Thank you very much for taking the time to review my PR! I'll respond to your comments as I go about fixing them. I'm hoping to hear back from @munshkr as well.

Hi @flupe ! Thank you for sending this PR. I agree with your proposal of making tmux optional, now that  we have proper support of the terminal in both Vim 8 and Neovim. I'll test the tmux integration in a minute and comment if something else comes up.

This is looking great!
@flupe @munshkr could either of you give a summary of where this is at, or what work remains?
I love tmux, but this PR certainly seems like a much more conventional approach.

Thanks again for your work on this @flupe! Closing this PR as this work has landed as a part of #74.


Jesse: Watch moviesflix.axindia.in

Jesse requests the watch of the watch_keyword moviesflix\.axindia\.in. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Should be closed in favor of #9846

moviesflix\.axindia\.in has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Rejected by Jeff Schaller in Charcoal HQ. Reason: 'in favor of the broader #9846'


Misc. source comment typos

Found via codespell -q 3 using v1.12.0.dev0

Thanks. I don't really care  about an 80 char line limit in a config file :) Especially if it has even longer lines already.


Corrupted debug output in brew update

To help us debug your issue please explain:

What you were trying to do (and why)
doing a brew update
What happened (include command output)
The output begins with corrupted debug messages, and brew update completes successfully.

Failed to set filetime<PHONE_NUMBER> on outfile: errno 1
Failed to set filetime<PHONE_NUMBER> on outfile: errno 1
Failed to set filetime<PHONE_NUMBER> on outfile: errno 1
FaiFFlaaeiidll eetdod   tstoeo t s sefetitl  efftiiillmeeett ii1mm5ee1<PHONE_NUMBER>130345114 40o75n09 12o u otonF nfo iuolatuefit:l feiidellreer ::nt  ooee rr rrsnn1eoot
   f11i

letime<PHONE_NUMBER> on outfile: errno 1
FaFilaeidl etdo  tsoe ts efti lfeitliemtei m1e4<PHONE_NUMBER>185656 7o6n  Fooanui tlofeuidtl feit:ol e :s eetr refnriorl n1eo
 t1i
me<PHONE_NUMBER> on outfile: errno 1

Updated Homebrew from 021fe22e3c to ef1924e1f3.

Step-by-step reproduction instructions (by running brew commands)
brew update

brew config

HOMEBREW_VERSION: 1.5.4-46-gef1924e
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: ef1924e1f3f2becefe68e4ee6c3967eeee998fcf
Last commit: 30 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 0ae55471560ee89bb590f244354e5e3deb6d55ff
Core tap last commit: 5 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: --require-sha
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_NO_ANALYTICS: 1
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_NO_GITHUB_API: 1
HOMEBREW_NO_INSECURE_REDIRECT: 1
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.3.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/bin/ruby
Clang: 8.1 build 802
Git: 2.15.1 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Perl: /usr/bin/perl
Python: /usr/local/opt/python/libexec/bin/python => /usr/local/Cellar/python/2.7.13_1/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /Users/w/.rvm/rubies/ruby-2.4.1/bin/ruby
Java: N/A
macOS: 10.12.6-x86_64
Xcode: N/A
CLT: <IP_ADDRESS>.1.1492020469
X11: 2.7.6 => /opt/X11

brew doctor

Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: A newer Command Line Tools release is available.
Update them from Software Update in the App Store.

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected header files:
  /usr/local/include/jsmn.h

Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected static libraries:
  /usr/local/lib/libjsmn.a

Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  imagemagick

Warning: You have a curlrc file
If you have trouble downloading packages with Homebrew, then maybe this
is the problem? If the following command doesn't work, then try removing
your curlrc:
  curl https://github.com

Warning: Your XQuartz (2.7.6) is outdated.
Please install XQuartz 2.7.11 (or delete the current version).
XQuartz can be updated using Homebrew-Cask by running
  brew cask reinstall xquartz

Warning: Some keg-only formulae are linked into the Cellar.
Linking a keg-only formula, such as gettext, into the cellar with
`brew link <formula>` will cause other formulae to detect them during
the `./configure` step. This may cause problems when compiling those
other formulae.

Binaries provided by keg-only formulae may override system binaries
with other strange results.

You may wish to `brew unlink` these brews:
  gettext

This is the same issue as https://github.com/Homebrew/brew/issues/2921 which turned out to be remote-time in curlrc https://github.com/Homebrew/brew/issues/2921#issuecomment-317174254


Update ActScriptEditPage.xaml.cs

The fix for the issue in Script Action:
when Other interpreter is chosen then powershell and python files do not appear in drop down list.

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- Ginger/Ginger/Actions/ActionEditPages/ActScriptEditPage.xaml.cs  2

See the complete overview on Codacy

Closing as there is no update on this PR for a long time. If it is still relevant please reopen or start a new PR


Manifestv2 and better activity tracking

Not complete yet

running one last test before merge...

There we go, all good to merge hehe
Will publish to CF once merged too, but I wanna try getting a workflow working for CF pushing now that I've got that sweet build workflow done


Ensure that we show empty machine pools

Fixes #5773
For RKE2, when you scale down a machine pool, there are no machine deployments in that pool, so we don't show the machine pool.
This PR fixes this - fakeMachines has been updated to work correctly when there are no machine deployments in a pool
To test:

Bring up an RKE2 cluster with 2 machine pools.
In the 2nd pool, scale down the pool to 0
Verify that the pool is still shown as empty
Verify that you scan scale the pool back to 1

Note: There is a slight issue when scaling that the pool ordering changes briefly - I think this is minor and we can live with this.

@richard-cox This is a fix for the machine pools issue based on your suggestion in the other PR, which I have now closed in favour of this one, which is simpler.

Discussed with @richard-cox who has verbally approved


Realtime notification for the backend using SignalR

Or we can use HTML5 Web Workers, I did similar thing in on project last few months

Is this already implemented ?


Breaking Changes: Update Carthage to Version 0.31.1

Xcode 10 introduced an issue when using Carthage bootstrap that would produce a Could not find any available simulators for iOS during builds on the Cloud Build Machines. The issue was introduced as Apple changed the way they are listing available devices that Carthage was not handling.
Carthage released an update last night to fix this issue and can be found in Carthage version 0.31.1.
App Center is currently unusable while the Cloud Build Machines are still using the 0.30.0 version of Carthage. Please update as soon as possible!

@jeremycbutler The comments feature of our documentation is intended to enable customers to suggest changes to the docs or ask clarifying questions about the docs.
App Center support is provided directly from within the App Center portal. Any time you need help, just click the blue chat button in the lower-right corner of any page and our dedicated support team will respond. For additional information, see the App Center Help Center.

@jwargo Hey John!

@sstadelman hey!  Wassup?


missing files

hello, where are file form dataset folder?

Hello @vvidov, the files in the dataset directory can be found online and the author has included the URLs in the relevant chapter. You can refer to chapter 3 and 4 for the URLs to the dataset.
Closing the issue. Please feel free to reach out for any queries.

Hello, has Somebody tested that? Or IT IS how it was:)
On Tue, 18 Aug 2020, 08:54 gaurav-packt<EMAIL_ADDRESS>wrote:

Hello @vvidov https://github.com/vvidov, the files in the dataset
directory can be found online and the author has included the URLs in the
relevant chapter. You can refer to chapter 3 and 4 for the URLs to the
dataset.
Closing the issue. Please feel free to reach out for any queries.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PacktPublishing/raspberry-pi-computer-vision-programming/issues/1#issuecomment-675292226,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHQCJRKQNR7PUTYUGRRLI7LSBIQRNANCNFSM4PIS2KQQ
.

We do perform validation and verification of the code from our end.


chore: bump all packages versions

try to release with CI for precompiled binaries

@ia0 I'd like to merge that PR as a minor release.

@ia0 I'd like to merge that PR as a minor release. HDYT?

Sounds good to me.


[FEAT] Support storing original YAML string for app

Currently, when storing an application, wadm parses the YAML string into a manifest and stores the serialized version of that manifest. After validating that the manifest is in a proper shape, it would be great to store the entire original manifest string to preserve comments and the original form order.
For example, here's our HTTP hello world manifest:
apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
  name: rust-hello-world
  annotations:
    version: v0.0.1
    description: "HTTP hello world demo in Rust, using the WebAssembly Component Model and WebAssembly Interfaces Types (WIT)"
spec:
  components:
    - name: http-component
      type: component
      properties:
        image: file://./build/http_hello_world_s.wasm
      traits:
        # Govern the spread/scheduling of the component
        - type: spreadscaler
          properties:
            replicas: 1

    # Add a capability provider that enables HTTP access
    - name: httpserver
      type: capability
      properties:
        image: ghcr.io/wasmcloud/http-server:0.20.0
      traits:
        # Link the httpserver to the component, and configure the HTTP server
        # to listen on port 8080 for incoming requests
        - type: link
          properties:
            target: http-component
            namespace: wasi
            package: http
            interfaces: [incoming-handler]
            source_config:
              - name: default-http
                properties:
                  address: <IP_ADDRESS>:8080

After deploying, if you were to retrieve the manifest it would look something like this:
apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
  name: rust-hello-world
  annotations:
    version: v0.0.1
    description: "HTTP hello world demo in Rust, using the WebAssembly Component Model and WebAssembly Interfaces Types (WIT)"
spec:
  components:
    - name: http-component
      type: component
      properties:
        image: file:///path/to/build/http_hello_world_s.wasm
      traits:
        - type: spreadscaler
          properties:
            replicas: 1
            spread: []

    - name: httpserver
      type: capability
      properties:
        image: ghcr.io/wasmcloud/http-server:0.20.0
      traits:
        - type: link
          properties:
            target: http-component
            namespace: wasi
            package: http
            interfaces: [incoming-handler]
            source_config:
              - name: default-http
                properties:
                  address: <IP_ADDRESS>:8080

Not only are comments removed, but some new fields are added (which we can compensate for by better serialization skips. I think primarily it would be great to keep comments after deployment to remember context.

Still relevant, so bumping the stale for now


Test: Authentication provider registration API

Refs: https://github.com/microsoft/vscode/issues/88309

[x] macOS @roblourens
[x] linux @aeschli
[x] windows @rebornix
Complexity: 5

Create Issue

The milestone the registerAuthenticationProvider API and associated interfaces have been finalized.
Please read through the docs in vscode.d.ts and verify the descriptions make sense. Then, try to implement and register an AuthenticationProvider. If you're feeling extremely ambitious you could try to actually perform auth against a service, perhaps looking at the GitHub auth provider as an example. You could also simply create fake session data. The API should allow:

other extensions to use the provider to get sessions using vscode.authentication.getSession
other extensions to be able to create a new session with getSessions and the createIfNone flag
account information to be listed under the accounts menu for sessions returned by the extension

I successfully built an authentication provider for home assistant, it took me a while to understand how the API should be used but at the end it works pretty. Good work 🎉 .
While building the authentication provider (even after building one successfully), I'm confused how and when to specify which home assistant instance should users authenticate against. It seems the only solution is the authentication provider provide a quick pick to users to let them to choose the endpoint to use, and also embed the endpoint/instance info in AuthenticationSession.id and AuthenticationSessionAccountInformation.label , there isn't any other place for me to store the endpoint in the authentication session and share with third parties. It seems the work is left to extension authors. With this being said, the rest of the API are straightforward.


Fix 171

Fixes https://github.com/securesign/secure-sign-operator/issues/171.
Problem:
Operator uninstall means delete of all created resources - even the Role. The Role does not exists at the operator cleanup time so resources can't be deleted.
possible solutions

move the client-server to the operator-namespace and bound all resources to the operator deployment
:-1:  bring mess to the openshift-operators namespace
bound all CLI server resources to some cluster-wide resource
:-1:  resource cleanup is not very clear, cluster wide resources stay present in the cluster even after the operator removal (so as the CLI server)
Manage CLI server by securesign controller
:-1:  :-1:  I think this is not suitable for us - the cli-server should arise with the operator installation and disappear on the operator deletion, not with the securesign resource

I choose the solution nr. 2 the CLI server is bound to the securesign CRD.

@cooktheryan @osmman WDYT?

I'm good with this approach. @osmman any thoughts?


CHANGELOG, README, vectors

Moved vectors.iced into test files, not src
Updated README.md with some extra details
Added a basic changelog

👍


Set timeout on HttpClient

Product
Strawberry Shake
Is your feature request related to a problem?
When making requests using a Strawberry Shake-generated client library, we're hitting the default timeout of 100 seconds for the HttpClient class.
The solution you'd like
We'd like the ability to change the timeout value.

This can already be done with the HttpClientFactory.
https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient.timeout?view=net-7.0

Maybe I'm being dense, but where is the hook in Strawberry Shake that allows specifying that override? In the generated code I see the HttpClientFactory service being used to create a client, but I don't see a way for me to change it or provide my own factory.

builder.Services
    .AddMyClient()
    .ConfigureHttpClient(client =>
{
    client.BaseAddress = new Uri("http://my.server.url");
    client.Timeout = TimeSpan.FromSeconds(100);
});

Awesome, thank you.


Really Nice approach, do you support preview?

Previewing files? Currently, no. fff does have image preview through w3mimgdisplay or the framebuffer though.

Previewing files? Currently, no. fff does have image preview through w3mimgdisplay or the framebuffer though.

how to enable preview?

You just need to have w3mimgdisplay installed. Then you press i when the cursor is on top of an image file.

Ah ok sure, that works, but can I have preview right beside my files when I select the file, like ranger?

No, preview like that hasn't been implemented.

that would be really cool, maybe something like https://github.com/cirala/vifmimg


fzf integration as an alternative to telescope - closes #701

It seems to work. This is the most lua I have ever written, so it's probably all sorts of wrong.
For https://github.com/scalameta/nvim-metals/issues/701

lThanks for sending this in @ornicar! However, I wonder if it's even needed. A while back I added the commands() function that you can use with
require("metals").commands()

which will actually give you all of the commands metals knows about (minus the ones that are nvim-metals specific). A quick glance at the fzf-lua docs show me register_ui_select which will make vim.ui.select use fzf-lua and the commands() function is handled by whatever you have registered for vim.ui.select. What you have probably is a bit superior since it includes the extra couple commands for nvim-metals, but I still wanted to point it out. I don't have an issue merging this in this, especially if it's useful for those extra commands.

 I overlooked that. I'll close the PR then, let's not add unnecessary code.
It was a good learning experience for me nonetheless :+1:


Desynchronization of video and audio streams after audio processing

I have one SPTS stream with one video and one audio. I process audio in an external program via STDIN and STDOUT. At the output, I transform PCM audio into MPEGTS UDP Multicast
ffmpeg -threads auto -thread_type 1 -i "udp://<IP_ADDRESS>:1234?fifo_size=50000000&overrun_nonfatal=1" -f s16le -acodec pcm_s16le -ar 44100 -ac 2 -vn -sn -f wav pipe:1 | ./transform stdin stdout -stream_fs=44100 -stream_chans=2 -stream_bps=16 | ffmpeg -f s16le -ar 44100 -ac 2 -i pipe: -acodec mp2 -ac 2 -ab 192k -ar 44100 -f mpegts "udp://<IP_ADDRESS>:1234?pkt_size=1316
Then I do the "gluing" of the original video and the processed audio.
ffmpeg -threads auto -thread_type 1 -i "udp://<IP_ADDRESS>:1234?fifo_size=50000000&overrun_nonfatal=1" -i "udp://<IP_ADDRESS>:1234?fifo_size=50000000&overrun_nonfatal=1" -c copy -map 0:v -map 1:a -f mpegts "udp://<IP_ADDRESS>:1234?pkt_size=1316
It works, but there is a desynchronization of audio and video. The sound is 1 second ahead of the video.
With the help of tsp I make a delay
tsp -I ip <IP_ADDRESS>:1234 -P timeshift --packets 600 -O ip <IP_ADDRESS>:1234
And I "glue" the original video with audio with a delay.
By selecting the delay, I can achieve synchronization of sound and audio. But with the time of 1 day or more, desynchronization still occurs. Can I abandon such a scheme and use only TsDuck. If not, is it possible to synchronize timestamps to eliminate delays

Hi @gols1963 ,
You're doing the processing in a wrong way: The main problem is that the "timestamps" (the clock) is different when you "re-merge" the audio-video streams. If you want to do a perfect synchronization then you need to maintain the timestamps. The problem with the FFmpeg tool is that using the default values the timestamps are reseted from 0. So you need to use the "-copyts" parameter with all ffmpeg calls. If not, the last ffmpeg that merge the audio and video streams will include a delay between them.
Futhermore, I feel that your problem with the desynchronization after a day with TSDuck, it's also a problem from the ffmpeg process. Please check this<EMAIL_ADDRESS>In any case I recommend that you check your streams (after capturing the multicast to a file) with this tool: https://github.com/EricBerendsen/dvbinspector . Then you can check at low level the cause of your troubles.
I advise that the ffmpeg tool is very powerful. However, it lacks a robust support to generate conformant DTV streams. You can use it to compress/process/etc, but as a muxer it's preferable to use other tools.
I hope that at some time @lelegard (or another developer) will provide inside the TSDuck a robust mpeg-TS muxer and the basic PES tools. Then we'll have the necessary tools to use the couple FFMpeg+TSDuck as a ful replacement of a DTV headend.
Regards.


Image fixes, export text fixes, entry point fixes, remove video from overview

✌

@apfoerts : Thanks for your contribution! The author, @johnkemnetz, has been notified to review your proposed change.


Address comments of "Faster remote builds in Bazel 0.25"

@EricBurnett

friendly ping

Apologies for the delay, thanks for the ping - LGTM from my perspective.


Add zsh support to prompt.sh

Zsh has another method for formatting colors that must be added. See the
__git_ps1.sh script for how.

Hi, I tried your script for my zsh prompt and it didn't work and I tried to mess a bit but I didn't succeed to make it works.
It looks like this :


[BUG] 50 documents returned rather than top_k for VectorDB Tool using AI Search Connection

Describe the bug
In AzureML prompt flow studio, using the VectorDB lookup tool and connecting to AI Search, I set the top_k input value to 1. However, after a run of the flow, the output of the VectorDB lookup node shows 50 documents returned instead. I have tried various values for top_k but always receive 50 documents back.
How To Reproduce the bug
Steps to reproduce the behavior, how frequent can you experience the bug:

Create a chat flow with the following structure:

id: bring_your_own_data_chat_qna
name: Copilot Chat
inputs:
  chat_history:
    type: list
    default:
    - role: system
      content: You are an AI assistant that helps people find information.
    - role: user
      content: hi there this is a test
    - role: assistant
      content: Hello! How can I assist you today?
    is_chat_input: false
  chat_input:
    type: string
    default: What is the capital of Germany?
    is_chat_input: false
outputs: {}
nodes:
- name: embed_the_question
  type: python
  source:
    type: package
    tool: promptflow.tools.embedding.embedding
  inputs:
    connection: openai_connection
    deployment_name: text-embedding-ada-002
    input: ${inputs.chat_input}
  use_variants: false
- name: azure_ai_search_lookup
  type: python
  source:
    type: package
    tool: promptflow_vectordb.tool.vector_db_lookup.VectorDBLookup.search
  inputs:
    connection: ai_search_connection
    index_name: chunked
    text_field: text
    vector_field: embedding
    search_params:
      search: What is the capital of Germany?
    search_filters:
      filter: ""
    vector: ${embed_the_question.output}
    top_k: 1
  use_variants: false
node_variants: {}
environment:
  python_requirements_txt: requirements.txt

Run the flow and review the output of the azure_ai_search_lookup node
Notice that 50 documents are returned instead of 1(top_k)
Expected behavior
Only top_k amount of documents are returned from azure_ai_search_lookup node

Screenshots
Small snippet of the array of documents returned

Running Information(please complete the following information):

Azure ML prompt flow using automatic runtime

Additional context
N/A

Hi @dans-msft @Adarsh-Ramanathan , please help to take a look of this issue. @msha1026 we currently only track prompt flow SDK/CLI issues here. For portal UI bugs, please create an OCV in portal here:

Thank you for the speedy replies!
@Adarsh-Ramanathan I have tried the preview Index Lookup tool in AzureML studio, and that did resolve the issue. Thank you!
Is this preview tool also supported in VSCode? If so, what packages need to be installed in order to also run this in the VSCode prompt flow extension?
For reference, this is my local dev environment:
VSCode extension: 1.9.2
promptflow: 1.4.1
promptflow-tools: 1.1.0
promptflow-vectordb: 0.1.2

@msha1026, you might need to install pymongo as well - this should be an extra, but at present, is a required dependency. This is a known bug that will be fixed with the upcoming release. If you run pf tool list in your env, you should see a ModuleNotFoundError in the output complaining that pymongo wasn't found.

Thanks! In addition to pymongo, azureml-rag[search-documents] was also missing. This was the final package list that I had to install in order to get the tool working in VSCode:
promptflow[azure]
promptflow-tools
promptflow-vectordb
azureml-rag[cognitive-search]
pymongo

@Adarsh-Ramanathan is there a timeline on when the Vector DB Lookup tool will be officially deprecated? Is there also a timeline for when the upcoming release will be for the dependency fix?

@msha1026, the tools will be marked as deprecated with the next package release, although I don't have an exact timeline on decommissioning them altogether. The next release should be out this week, and that'll include the fix for the pymongo dependency.
WRT the other dependencies, they're bundled with the azure extra for promptflow-vectordb, if you install that extra, you should get all of those as transitive requirements.

Hi @msha1026 , When I tried the new preview Index I get the error like
promptflow._utils.tool_utils.DynamicListError: Unable to display list of items due to 'Error when calling function promptflow_vectordb.tool.common_index_lookup_utils.list_available_query_types: tool_ui_callback.<locals>.wrapped() missing 3 required positional arguments: 'subscription_id', 'resource_group_name', and 'workspace_name''. Please contact the tool author/support team for troubleshooting assistance.

I already have a .azureml/config.json with the below content.
{
  "subscription_id": "xxxxx",
  "resource_group": "rg-test",
  "workspace_name": "demo123"
}

@jayendranarumugam Our flow.dag.yaml looks different from yours. This is how ours looks:
mlindex_content: >
  embeddings:
    api_base: https://<azure-openai-name>.api.cognitive.microsoft.com/
    api_type: azure
    api_version: 2023-07-01-preview
    batch_size: '1'
    connection:
      id: /subscriptions/<sub-id>/resourceGroups/<rg-name>/providers/Microsoft.MachineLearningServices/workspaces/<azureml-wksp-name>/connections/<azure_openai_connection_name>
    connection_type: workspace_connection
    deployment: text-embedding-ada-002
    dimension: 1536
    kind: open_ai
    model: text-embedding-ada-002
    schema_version: '2'
  index:
    api_version: 2023-07-01-preview
    connection:
      id: /subscriptions/<sub-id>/resourceGroups/<rg-name>/providers/Microsoft.MachineLearningServices/workspaces/<azureml-wksp-name>/connections/<azure-search-connection-name>
    connection_type: workspace_connection
    endpoint: https://<azure-ai-search-name>.search.windows.net
    engine: azure-sdk
    field_mapping:
      content: <name_of_field_in_search_for_document_contents>
      embedding: <name_of_embedding_field_in_search>
      metadata: <name_of_field_in_search_for_document_id>
    index: <index_name>
    kind: acs
    semantic_configuration_name: null
queries: ${modify_query_with_history.output} #This is the unembedded query. This node should handle embedding the query for you
query_type: Hybrid (vector + keyword)
top_k: 3

Hi @msha1026 , When I tried the new preview Index I get the error like
promptflow._utils.tool_utils.DynamicListError: Unable to display list of items due to 'Error when calling function promptflow_vectordb.tool.common_index_lookup_utils.list_available_query_types: tool_ui_callback.<locals>.wrapped() missing 3 required positional arguments: 'subscription_id', 'resource_group_name', and 'workspace_name''. Please contact the tool author/support team for troubleshooting assistance.

I already have a .azureml/config.json with the below content.
{
  "subscription_id": "xxxxx",
  "resource_group": "rg-test",
  "workspace_name": "demo123"
}

I tried giving like below
    mlindex_content: azureml://subscriptions/xxx/resourcegroups/rg-test/providers/Microsoft.MachineLearningServices/demo123/jaymachinelearning/data/lime-yuca-33pkdyvm05/versions/1
    query_type: Hybrid
    top_k: 3
    queries: ${embed_the_question.output}

Still the same error from UI but when I tried the debug
024-02-01 09:55:43 +0000   51435 execution.flow     INFO     Node modify_query_with_history completes.
2024-02-01 09:55:43 +0000   51435 execution.flow     INFO     Executing node embed_the_question. node run id: 8861a96f-9c35-463d-934e-c89a1eeae5b0_embed_the_question_0
2024-02-01 09:55:43 +0000   51435 execution.flow     INFO     Node embed_the_question completes.
2024-02-01 09:55:43 +0000   51435 execution.flow     INFO     Executing node search_question_from_indexed_docs. node run id: 8861a96f-9c35-463d-934e-c89a1eeae5b0_search_question_from_indexed_docs_0
2024-02-01 09:55:43 +0000   51435 execution          ERROR    Node search_question_from_indexed_docs in line 0 failed. Exception: Execution failure in 'search_question_from_indexed_docs': (AttributeError) 'str' object has no attribute 'get'.
Traceback (most recent call last):
  File "/workspaces/demo/.venv/lib/python3.11/site-packages/promptflow/_core/flow_execution_context.py", line 194, in _invoke_tool_with_timer
    return f(**kwargs)
           ^^^^^^^^^^^
  File "/workspaces/demo/.venv/lib/python3.11/site-packages/promptflow/_core/tracer.py", line 220, in wrapped
    output = func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^
  File "/workspaces/demo/.venv/lib/python3.11/site-packages/promptflow_vectordb/tool/common_index_lookup.py", line 59, in search
    index = MLIndex(mlindex_config=mlindex_config)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspaces/demo/.venv/lib/python3.11/site-packages/azureml/rag/mlindex.py", line 111, in __init__
    self.index_config = mlindex_config.get("index", {})
                        ^^^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'get'

Did you ever managed to get this working? I am getting the exact same error when using an existing Prompt Flow in my vscode environment. My YAML definition looks exactly like the one posted as the response, I'm not sure where else the problem might be.

@pgr-lopes, you'll need to configure a default subscription/resourcegroup/workspace in your shell before attempting to configure index lookup:
az login
az account set --subscription <subscription_id>
az configure --defaults group=<resource_group_name> workspace=<workspace_name>

@DaweiCai FYI - we should be fetching these values from the config.json, instead of expecting users to configure the same information in two different ways.
@pgr-lopes, this issue is closed; can you please open a new one for us to track?


Find developer dir with xcode-select

It seems the wrong swift path was specified. After changing this locally, make succeeds on Xcode 7.2 and (presumably) 7.3

The swift_static change was made intentionally in PR #287.
I can build the current one just fine using Xcode 7.3 as well.

hmmm I'm pretty confused now. This is happening on both my laptop and desktop, could you grep for _SwiftObject in both the dirs?
this is what I get
mehdi-mbp:~ mehdi$ grep "_SwiftObject" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/*
Binary file /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/libswiftCore.dylib matches
Binary file /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/libswiftFoundation.dylib matches
grep: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64: Is a directory
mehdi-mbp:~ mehdi$ grep "_SwiftObject" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift_static/macosx/*
Binary file /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift_static/macosx/libswiftCore.a matches
Binary file /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift_static/macosx/libswiftFoundation.a matches
Binary file /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift_static/macosx/libswiftRuntime.a matches

I might also be in a weird place in that I've never built any Swift apps, so Xcode might not have initialized the directories as expected.

yea something definitely seems weird with my install, the travis build was fine: https://travis-ci.org/mmmulani/kwm/builds/122472619

my Xcode 7.3 was in a different directory and wasn't being picked up by the makefile. Switching to xcode-select or xcrun --show-sdk is the best approach imo


Upgrade SonarQube to 6.4 and plugins

Have you tested this version with FindBugs? According to plugin matrix, it stops working with 6.3

Sorry, please ignore this. Incorrect pull request base project.

Code is still submitted though for SonarQube 6.4 https://github.com/SonarQubeCommunity/sonar-findbugs/issues/84


Full process?

Can anyone please send me the full process of the chegg answer bot

dont know

yes


Add an icon with a higher resolution

Add an icon with a higher resolution 32x32, 48x48, svg.

Are you using the Chrome or Edge version of the Empty New Tab Page?
The max size of the new tab favicon that I was able to find in Chromium source code is 32x32. No 48x48 or svg.
For the Edge version, I do have an svg icon, I guess I could add it.


Move all integration tests to pyopencdms repo and ensure containers are ready before tests start executing

@faysal-ishtiaq we're trying to update the integration tests in opencdms-test-data (#43) - but we're running into problems with the database containers not being ready before the tests start running.  We could introduce a simple delay before running the tests or there may be some other approach we could take to check the containers are ready before running tests.
Any suggestions?

Also, do you agree that it would make sense to run the same pyopencdms integration tests in both the pyopencdms repo and here in the opencdms-test-data repo actions?
When imported and run from the opencdms-test-data repo, the integration test would run against the original SQL DDL production schemas and when running in their own repo (pyopencdms) the integration tests would run against the pyopencdms SQLAlchemy models.

@faysal-ishtiaq we're trying to update the integration tests in opencdms-test-data (#43) - but we're running into problems with the database containers not being ready before the tests start running. We could introduce a simple delay before running the tests or there may be some other approach we could take to check the containers are ready before running tests.
Any suggestions?

There are some db engine specific commands to check if database is ready, such as mysqladmin ping, pg_isready, but for our use-case we should also consider if the seeding is complete. So, probably we could write some scripts to check if we have everything we want before the tests start. Or simply sleep for about 30 seconds.

Also, do you agree that it would make sense to run the same pyopencdms integration tests in both the pyopencdms repo and here in the opencdms-test-data repo actions?
When imported and run from the opencdms-test-data repo, the integration test would run against the original SQL DDL production schemas and when running in their own repo (pyopencdms) the integration tests would run against the pyopencdms SQLAlchemy models.

yes, I agree.

@faysal-ishtiaq - would you be happy to:

[ ] move/combine all integration tests from this repo with the integration tests in pyopencdms
[ ] make the integration tests in pyopencdms run automatically in both repos with (slightly) different schemas depending on repo as discussed above
[ ] resolve #43 and #27 in this repo as part of the refactoring
[ ] propose a solution to ensuring that containers are ready before tests run

@chinedu117 - is your experience that a 30 second pause would not be sufficient to ensure that containers have time to finish initialising? Do you think we need a longer pause - or something more robust?

Yes, I will be happy to make the changes.

@faysal-ishtiaq - would you be happy to:
* [ ]  move/combine all integration tests from this repo with the integration tests in pyopencdms

* [ ]  make the integration tests in pyopencdms run automatically in both repos with (slightly) different schemas depending on repo as discussed above

* [ ]  resolve [Updates readme and integration tests #43](https://github.com/opencdms/opencdms-test-data/pull/43) and [fixed some routing on the readme file #27](https://github.com/opencdms/opencdms-test-data/pull/27) in this repo as part of the refactoring

* [ ]  propose a solution to ensuring that containers are ready before tests run

@chinedu117 - is your experience that a 30 second pause would not be sufficient to ensure that containers have time to finish initialising? Do you think we need a longer pause - or something more robust?

Currently the code sleeps for 300 seconds before running the tests. From my latest tests, 300 seconds (5 minutes) was sufficient to allow the containers to boot up.
Also, i considered that if we would want to make a test container, where we can use the docker-compose's depends rule to wait for the DB containers to be connection-readybefore we run tests , we would lose advantage of using GitHub Action's matrix strategy to test with different python versions.
The work around would be to make separate containers for each python version we want to test. I would find it cumbersome to maintain multiple Dockerfiles for the same purpose. Another side effect would be long wait times to build multiple python  containers for different python version.
I would suggest we find an optimum sleep time instead of building separate images for each python version.


[hotfix] Fix ESLint reviewdog issue

/cib hotfix eslint reviewdog issue

Branch 16-hotfix-eslint-reviewdog-issue created!


Appveyor CI

Continuous integration using Invoke-Build and AppVeyor
The motivation is trying to automate the testing process so we can catch problems early and often.

This is not quite ready yet. I'm still working out the configuration to get the CI working properly. I have to push commits to get it to rebuild :(

No problem.


Large number of emissive triangles cause Vulkan errors

What error is occurring? The size per light is 8 * 4 * sizeof(float) = 128Byte/Light -> ~120KB for 1000 lights We should easily be able to add 10000 lights -> ~1MByte.

Those errors occured on my system when roughly more than 1000 lights were added. At 1500 lights the errors only appeared atfter a few frames and at 7000 lights no frame at all would be rendered.
Originally posted by @KnightTec in https://github.com/Lachei/VulkanPBRT/issues/16#issuecomment-983858582

Looks to me as if the rendering time gets to high and thus the rendering job is cancelled without begin finished and thus the queue submission might not be marked as done...
Will test a large number of emissive triangles tomorrow morning...

Just checked with  over 2000 triangle lights on a rtx 2070. Besides low framerates no problem seem to have occured.
I would suggest to add a define which can switch the ligth sampling from importance sampling over the light strength on the surface(current solution) and a uniform sampling for a large amount of lights.
This would then avoid a complete search of the light array.
Aditionally to reduce variance we should consider a sampling of the light only based on the light strength. For this we have to store overall light strength of all lights together and an inclusive summation for the lights to then be able to search binary for the chosen light. Specifically the light sampling is then as follows:
sampleLight:
    float chosenLightStrength = randomFloat() * lightStrengthSum
    int lightIndex = binarySearch(lights, chosenLightStrength)
    return lightIndex

However for the beginning uniform sampling is sufficient i think.

I will have time to implement this tomorrow.

"Fix" for this should be implemented with #20.
At 800 area light sources the implementation automatically switches to a uniform sampling of the area lights. This reduces ray tracing times dramatically, however degrades convergence speed.
In the future the setting which sampling method should be used might get forwarded to a command line argument.


Womanium Final Assignment-Helarie Rose Medie Fah

PR Description
Pull Request for Quantum Walk algorithm

Hello @helarie98 !
Please read the instructions on submission again and resubmit using the correct format and location (here).
Thanks!

Dear Nadav
I have send it. Please see the link to the github:
https://app.reviewnb.com/Classiq/classiq-library/pull/402/files/
regards,
Helarie
On Sun, 4 Aug 2024 at 15:04, Nadav Ben-Ami @.***> wrote:

Closed #214 https://github.com/Classiq/classiq-library/pull/214.
—
Reply to this email directly, view it on GitHub
https://github.com/Classiq/classiq-library/pull/214#event-13755095353,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3ULLEMDPKZRCAOIVG3VSJTZPYRE7AVCNFSM6AAAAABLBGV3BGVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTG42TKMBZGUZTKMY
.
You are receiving this because you were mentioned.Message ID:
@.***>


I was verifying #869 and getting some weird results.
When I gen using the remote this I get in the header:
// Source: exercism/problem-specifications
// Commit: 196fc1a anagram: Rename duplicated test case description (#671)

There are some tracks that generate their test suits and use the description field as name for the test function/method.

* Bump version number
// Problem Specifications Version: 1.0.1

which ends up being a syntax error. The extended comment lines are not commented out. Generator confirms this:
$ go run exercises/anagram/.meta/gen.go
2017/09/30 15:24:51 [LOCAL] fetching anagram test data
2017/09/30 15:24:51 [LOCAL] No test data found
2017/09/30 15:24:51 [REMOTE] fetching anagram test data
2017/09/30 15:24:53 [REMOTE] source: https://raw.githubusercontent.com/exercism/problem-specifications/master/exercises/anagram/canonical-data.json
2017/09/30 15:24:53 [ERROR] format.Source failed. The generated source has a syntax error.
2017/09/30 15:24:53 [ERROR] output: /home/tml/projects/exercism-development/github.com/shaleh/exercism-go/exercises/anagram/cases_test.go
2017/09/30 15:24:53 8:1: expected declaration, found 'IDENT' There
exit status 1

When I run against the generator with a current local filesystem repo I get this:
// Source: exercism/problem-specifications
// Commit: 196fc1a anagram: Rename duplicated test case description (#671)
// Problem Specifications Version: 1.0.1

So I think when it pulls remote it pulls the entire commit message not just the first line and drops it into the template. Which if uncommented will cause a syntax error for Go.
I'm looking into this, but wanted to note it in case anyone sees the issue right away, and I want to ref the bug in #869.

Yep. I see the problem and it does occur with other exercises whose commit for canonical-data.json has more than a "single-line" in the message.  I checked rna-transcription for example, and it has the same problem when fetching the commit from the REMOTE repository -- result is a compile error.
The getRmote function will need an adjustment to correct the problem, as it uses a different method of obtaining the commit text than the getLocal function, which doesn't cause a compile error.
I can work on correcting this problem if you like. But if you are already there, then by all means go ahead with it.

Closed by #876


Occasional exit in wayland_client

kanshi occasionally exits with
Jul 22 06:38:29 dibooki kanshi[3148]: not a valid new object id<PHONE_NUMBER>), message head(n)

I assume this is https://gitlab.freedesktop.org/wayland/wayland/issues/86

This one is about multi-threaded clients. Not sure it's the same.

Me neither, but I think that its still a race between client and server and fundamentally more of a wayland-client/sway issue.

fwiw, I just saw this too:
not a valid new object id<PHONE_NUMBER>), message head(n)

I was running sway with -d if the logs would be useful (for my record, this happened around 13:58).
FWIW, I have an external monitor with an unreliable cable/connector and so the external monitor disappears from time to time, probably triggering this.


New version: GRUtils v0.3.2

Registering package: GRUtils
Repository: https://github.com/heliosdrm/GRUtils.jl
Created by: @heliosdrm
Version: v0.3.2
Commit: 073cff7959f8e7d428a83706140da01427a95e27
Reviewed by: @heliosdrm
Reference: https://github.com/heliosdrm/GRUtils.jl/commit/073cff7959f8e7d428a83706140da01427a95e27#commitcomment-35681142

Your new version pull request met all of the guidelines for automatic merging.
I will automatically merge this pull request during the next cron job.
If you want to prevent this pull request from being auto-merged, simply leave a comment.
(If you want to post a comment without blocking auto-merging, you must include the text [noblock] in your comment.)

On a separate note, I see that you are registering a release with a version number of the form v0.X.Y.
Does your package have a stable public API? If so, then it's time for you to register version v1.0.0 of your package. (This is not a requirement. It's just a recommendation.)
If your package does not yet have a stable public API, then of course you are not yet ready to release version v1.0.0.

[noblock]


 And some of our concerns.
Needs some editing and Feedback 🙏

I feel ya, the Puzzmo launch site (5 pages, roughly 3 weeks of work) was done in the next app router, made me think that RSC is still a long time away from being production ready.
Cool write up!

Thanks for the feedback y'all, merging.


Store UUID in public experiences correctly

This closes  #445
I noticed that it was only the passing of the uuid to the creation method that was missing to allow the moderation to work as expected. The second change was to then remove the potentially duplicate UUID that would be present when editing existing experiences.

This solution fixes the problem outlined in issue #445
Two possible long-term solutions were proposed (link to comment) I think that updating function call is the tidiest


Content of the readme is doubled

There is twice the content of the readme, ie. at its middle, we get the initial title and the same content...

That's embarrassing... fixed now, thanks!


Generic result type

[x] Considering a generic return type for withCardanoNode and withCardanoNodeDevnet in Convex.Devnet.CardanoNode

Wrong PR


cni updates

Proposed changes

Add ability to configure etcd backup
Add ability to manifests
Add ability to change cni
Add ability to add multiple ips or fqdns to the cluster cert. This fixes #43

Thank you for your contribution @devopstales .
All of the rke2 configuration options from https://docs.rke2.io/install/install_options/server_config/ should be already be functional using the rke2_config: block. I added some clarification around this in the example that should be merged in MR #54.
I also took your recommendation with the addition of the manifests directory. This should also be available when #54 is merged. Please check out that branch and let me know if this is sufficient.

Thanks @mddamato  it work grate. My only problem was with the k8s apiserver job. I added the host with its ip. Maybe it would be better to us ansible_hostname fact for kubernetes_api_server_host variable rather then inventory_hostname.

Thank you @devopstales for bringing this to my attention. We will fix this in the PR.


Updated PR template

Because we've set the merge queue to use the PR description as the commit message to main, it's not good to start the PR template with a commented block that PR makers don't have to remove. The new template makes the checklist visible at the end and indicates it should be deleted.

Good idea, added.


expose, test, and release our spark integration

we have checked in the code for our scala/spark/beaker integration, but it needs to be exposed and tested, and released.  see the attached screenshots of it in action.  it was implemented by our great intern @eric-heiden.

Here's the code: https://github.com/twosigma/beaker-notebook/pulls?utf8=✓&q=is%3Apr author%3Aeric-heiden


python: Port all Python tests to sqlc-gen-python

I gotta say, I really like this direction - and thank you for doing the yak-shaving tasks to make this happen.


os: nginx config now escapes $ in variables

Fixes the broken nginx config reported here and https://github.com/coreos/docs/issues/872
Previously, the $ was getting interpreted by nginx.
cc: @chancez

lgtm after comments


[RPM] obscure signature on jdk rpm pkgs

Hi, so for all three versions of jdk rpm packages there is an extra signature on jdk packages.
Look for yourself with: rpm -K --verbose rpmFileName
example outputs:
rpms/temurin-11-jdk-<IP_ADDRESS>.0.10-2.x86_64.rpm:
Header V4 RSA/SHA256 Signature, key ID 65f8f04b: NOKEY
Header SHA256 digest: OK
Header SHA1 digest: OK
Payload SHA256 digest: OK
MD5 digest: OK
rpms/temurin-11-jre-<IP_ADDRESS>.0.10-2.x86_64.rpm:
Header SHA256 digest: OK
Header SHA1 digest: OK
Payload SHA256 digest: OK
MD5 digest: OK
My issues are all connected to the first line in the jdk package output:

I keep getting me warnings about missing key when analyzing the rpm.
why is the signature even there? is that a legacy obsolete forgotten piece of code or an attempt of something new? There is no such thing with ojdk rpms

@karianna Hi, I myself am using fedora36, but the result is the same regardless of the rpm based operating system..


Using step definition with status undefined

Hi,
I need to used a step that returns undefined status in html cucumber report.
Which keyword can be use?
My version is:
com.intuit.karate
karate-apache
0.9.5
test
Thanks

this is not supported. you can try asking this question on stack overflow, maybe some cucumber expert can help you: https://stackoverflow.com/questions/tagged/karate


 This is non-trivial to do well, and is a longstanding issue, just adding this as a formal reminder and place for discussion.

maybe just hide the close button if tab-bar tabs width is less than ~240px?
firefox does that:

Looking at Chrome and Firefox, I kinda like the way Firefox handles crowded tabs:

Tabs shrink in width after there are too many to show without scrolling
Tabs have a minimum width before scrolling is enabled
Scrolling can be done with the mousewheel or buttons to the left and right of the tabs

Would be great if tabs could be dragged from one Beaker window into another, too.