Updates README.md with svg badge

Codecov Report

Merging #129 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #129   +/-   ##
======================================
  Coverage    27.4%   27.4%
======================================
  Files           4       4
  Lines         478     478
======================================
  Hits          131     131
  Misses        347     347

Continue to review full report at Codecov.

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


Rewrite README to account for kimification

Now that we have kimify(), we can eliminate a lot of the Python forms in the README examples, as they might be confusing

Why dont you follow anyone on github?


Transforming data with .subscribe not working

Hi,
I'm trying to transform a CSV file...
name,subject,company id
a,b,1
c,d,2
e,f,3

...to an array of JSON objects...
[
{specialId: 1}, {specialId: 2}, {specialId: 3}
]

After reading the docs, I came up with this:
const csv = require('csvtojson');

const options = {
  checkType: true,
};

let requiredHeaderKey = '';

async function readAndTransform () {
  return csv(options)
    .fromFile('index.test.csv')
    .on('header', header => {

      for (const col of header) {
        const canonicalizedCol = col.replace(/\s/g, '').toLowerCase();
        if (canonicalizedCol === 'companyid') {
          requiredHeaderKey = col;
        }
      }

      if (requiredHeaderKey === '') {
        throw 'No Id column found in csv file';
      }

    })
    .subscribe(jsonObj /*, index: */ => {
      const transformedObj = {
        specialId: jsonObj[requiredHeaderKey],
      };
      return new Promise (resolve => {jsonObj = {...transformedObj}; resolve ();});
      // jsonObj = { ...transformedObj };

    })
    .on('data', (jsonObject) => {
      const o = jsonObject.toString();
      console.log(o);
    })
  ;
}

async function doIt () {
  await readAndTransform();
}

doIt();

The .header event works fine, but when looking at the jsonObject in the data event handler, I'm seeing the original JSON object and not the transformedObj created in .subscribe.
Am I doing something wrong?
Thanks,
Jeff

Well. Why you want to use .subscribe along with data event?
in .subscribe you can transform and use the data right?
data event does not support async call so it is very much not used..

Ah... I was using 'data' to sanity test my changes, but I think I've misunderstood the purpose of .subscribe. Got it now.
Thanks!


Added support for ignoring stdout/stderr via stdio

In uber/image-diff#23 we need support for ignoring stdout to prevent buffering a large unused image into memory. child_process.spawn supports this via setting ignore in stdio:
https://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options
https://nodejs.org/api/child_process.html#child_process_options_stdio
When this is set, process.stdout is no longer accessible. As a result, buffered-spawn's current implementation breaks. This PR repairs that. In this PR:

Added tests against stdio setting ignore for stdout and stderr
Added support for process.stdout and process.stderr not existing

Thanks!

Whoo, thanks for the quick land/release =)


O365 CDN Invalid nonce key configuration

Category

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

Expected or Desired Behavior
SPFx webpart/extension solution package JavaScript scripts loaded successfully on SharePoint modern page from Office 365 CDN default origin (*/CLIENTSIDEASSETS) enabled on a tenant.
Below is a sample from working tenant

Observed Behavior
SPFx webpart solution package is successfully deployed to AppCatalog and all resources appear in the ClientSideAssets library. Finally, SPFx solution is successfully installed on the target site collection. After adding webpart on the canvas we see the following results. Here on the screenshot you can see that SharePoint tries to access resources from CDN, but it results to 406 error code.
Below is a sample from NOT working tenant

Some inspection in Fiddler, here we can see an error message that is not very clear what exactly wrong.

Steps to Reproduce

Enable O365 CDN using PowerShell Cmdlet, so that we have the final settings as bellow

Deploy SPFx solution package to the AppCatalog, here is what I have in my tenant

When deployment completed, i could see that resources are added to the ClientSideAssets library. Here is the proof.

Create a team site (classic or modern, it doesn't matter).
Install SPFx solution from the AppCatalog to the target site collection.

When it is added to the site, there is no errors in the App Details page. here is a screenshot

Add custom webpart from the SPFx solution to the modern page, open DevTools in the Chrome and switch to the network tab, from here you can see a lot requests with 406 errors when trying to access resources from the public cdn.

Have the same exact error message on my tenant. No solution yet.
{"HttpStatus":"NotAcceptable","ErrorMessage":"Invalid nonce key configuration","ErrorCode":406001}

Just being super clear - the configuration is for a public CDN, correct?  My understanding was that the nonce for a request to a CDN was only for private configurations.  Is it possible that the configuration was changed in some form?  If you request private configurations, what comes back?

@patmill , yes, that is the configuration for the public CDN, we don't yet have a private CDN configured. As shown in my screenshots, all requests to the CDN start with  the base path https://publiccdn.sharepointonline.com///<resource_relative_path>. It seems to me, that there are some some problems with the propagation to the public CDN.

@VesaJuvonen , maybe there is some news on this issue?

Are you using a O365 developer account? I had the same issue (the error output was the same) when using a O365 developer account tenant.
I have repeated the same steps on a fresh regular trial tenant and everything worked as expected.

For me no developer account (production tenant), public cdn. The issue is only with this particular tenant, not other tenants I manage. I created a ticket with MS support.

I'm experiencing the same issue in my tenant:

Public CDN enabled with default origins
Assets provisioned from the solution package to ClientSideAssets and accessible via the doc lib URL
Accessing the same assets via the Public CDN URL results in a 406 and prevents the web part from loading

Any update on this? We are experiencing the same issue in our newly created tenant.

Files are accissible through the style library
Accessing the same files through the public CDN results in 406: "Invalid nonce key configuration"

Same issue on newly create dev tenant

I lost hope for an answer, issue is still actual for me.

Have the same exact error message on my tenant. Nobody found a solution ? it's really really annoying -_- and very blocking.

Just touching base.  We've got a repro of this with full logs, and see what is happening.  Working on "why" and "how to get it to work".

Just started seeing this on our production tenant. The Public CDN has been working for months and is just now having problems. This has a pretty big impact since we have started using SPFx pretty extensively. It also seems pretty inconsistent depending on the network used to access the tenant - in some cases assets will load and in others fails with the above error.

We are investigating this issue. For now - you can make your samples and solutions to work by disabling the CDN as that will then automatically instruct SharePoint to serve the assets from the app catalog. This does NOT require any changes on your sppkg files/solutions as long as you are using the "asset packaging" which was released with SPFx 1.4.

Same issue on a development tenant. Disabling the public CDN in this tenant worked, but is only a temporary solution.
We have now the first production tenant with the same problem.

We should have this now sorted out in the server side. We do apologize for the massive delay on getting this fully fixed. We would like to get through still confirmation from anyone who had the issue that it's not being resolved. This was only impacting a subset of tenants, so we are having a hard time verifying this end-to-end from our end, so your input would be highly welcome. Thanks for your input advance.

I will test it on our development tenants on this friday and then report the result.

@VesaJuvonen - Set one of my dev tenants back to CDN enabled, waited for 'configuration pending' to go away on the origins, and confirmed that the JS files are now being served up correctly via publiccdn.sharepointonline.com
Thanks!

As we have got now confirmations on the issue getting fixed, will close this one. We do apologize for the issue and have now made actions to avoid similar issues in future.


Update toc.xml

Add solutionarea element

We can reopen this anytime or make changes from the latest TOC...


[feature] Add feature from version 4.6.0

See https://github.com/socketio/socket.io/releases/tag/4.6.0
Notably:

Promise-based acknowledgements
Connection state recovery

this would be very nice


Idea: Author avatars should use title instead of (or in addition to) alt

Improvement Idea: Add the title attribute on the author bubbles in the "Contributors to this page" section, instead of (or in addition to) the current alt attribute.
Why: Currently only alt is present, which is available to someone using a screen reader or someone nosy like me inspecting the DOM, but not to someone mousing-over an avatar curious to know the authors' names.

^ no tooltips!

How else would I know to thank @orta ? 😁

hah, yeah, makes sense

@orta friendly bump, does this need assignment? Hoping it would be a pretty simple code change somewhere

Sure, it's OSS, you're welcome to do it

Happy to! Could you point me at the right file(s)?
-Craig (mobile)

From: Orta Therox @.>
Sent: Tuesday, March 15, 2022 2:41:02 AM
To: microsoft/TypeScript-Website @.>
Cc: Craig Kovatch @.>; Author @.>
Subject: Re: [microsoft/TypeScript-Website] Idea: Author avatars should use title instead of (or in addition to) alt (#1818)
Sure, it's OSS, you're welcome to do it
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/TypeScript-Website/issues/1818#issuecomment-1067762236, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACTWJEPJ5YVZDL3JRGZ2W6DVABLK5ANCNFSM44XKHRDA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>

I'd recommend cloning the codebase and searching for "contributors to this page"


Update ACK runtime to v0.16.4

Issue #, if available: https://github.com/aws-controllers-k8s/community/issues/1159
Description of changes:

Latest runtime release brought in aws-sdk EC2 API additions. These additions were resources that could not be auto-generated; therefore, adding them to ignore in generator.yaml.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/lgtm


fix(mergify): do not wait for deprecated Cloud Build

Motivation
Cloud Build was recently removed, and Mergify is expecting a result from a non-existing action.
Solution
Remove cloud build check from Mergify's as a requirement for speculative checks.
Review
@conradoplg

The macOS job took 90 minutes to fetch the parameters, and the command didn't actually output any logs.
(I think it usually outputs info-level logs, but maybe the defaults are different for an example command.)
https://github.com/ZcashFoundation/zebra/runs/5146825555?check_suite_focus=true#step:12:13
So I restarted the CI jobs.


[UG] Proposed improvements for Section 3.5 find

Summary
Example

This provided example could be difficult to replicate. We can consider simplifying this command, maybe only providing two types of keywords so that users can easily replicate this command.
Source: https://ay2122s2-cs2103t-t09-1.github.io/tp/UserGuide.html#35-locating-a-task-find
Description
Can possibly remove "supplied by you" at the end, as it is provided at the start:

If a PRIORITY is supplied by you, Harmonia finds the tasks whose priority matches it.

Example in the find command is to be kept to illustrate how find can be used with multiple predicates


Add sounding for the sorting visualization

I would like to add audibilization, but I don't know if it's possible without harming the frame rate or anythink alike.
I appreciate your help!

Hey,
I'd like to try working on this enhancement!
Thanks

Hey,
I'd like to try working on this enhancement!
Thanks

Hello,
So I have successfully added the background music, but do you want the sound to sync with the way the algorithm goes about with the visualization? If you anything specific in mind, please let me know, I'll try incorporating that.
Thanks!

Hello,
So I have successfully added the background music, but do you want the sound to sync with the way the algorithm goes about with the visualization? If you anything specific in mind, please let me know, I'll try incorporating that.
Thanks!

@bansaljas Hey, it would be really cool if the sound were synced with the sorting, if you manage to do this I appreciate.

@bansaljas Hey, it would be really cool if the sound were synced with the sorting, if you manage to do this I appreciate.

Sure, I am trying to figure that out!

Sure, I am trying to figure that out!

Hey!
So after checking and experimenting, I figured that pygame doesn't provide a mechanism to sync the sound with the visualization. For that we'll have to create different sound files using a third party audio editing app. So should I just update the code which adds the background sound?
Let me know, thanks!

Hey!
So after checking and experimenting, I figured that pygame doesn't provide a mechanism to sync the sound with the visualization. For that we'll have to create different sound files using a third party audio editing app. So should I just update the code which adds the background sound?
Let me know, thanks!

@bansaljas That will be harder than I thought. Its not necessary to add background sound.

Okay then! Thanks :)

@bansaljas I am closing this issue now! I appreciate your help, if you want to become a "oficial" contributor just make a pull request with some irrelevant commit.


Error testing react components

I'm testing a react HOC which checks if there's a token present in localstorage or not. If there is, it redirects the user to the Home component else the user will be redirected to the Login component.
However, i'm getting this strange error in the last test where it tests for calling componentDidMount

SecurityError
at HistoryImpl._sharedPushAndReplaceState (node_modules/jsdom/lib/jsdom/living/window/History-impl.js:87:15)
at HistoryImpl.pushState (node_modules/jsdom/lib/jsdom/living/window/History-impl.js:69:10)
at History.pushState (node_modules/jsdom/lib/jsdom/living/generated/History.js:72:31)

app.test.js
import React from 'react';
import { shallow, mount } from 'enzyme';
import { expect } from 'chai';
import sinon from 'sinon';

import App from '../containers/App.jsx';

describe('<App />', () => {
  beforeAll(() => {
    global.localStorage = {
      i2x_token: 'someToken',
      getItem() {
        return 'someToken';
      }
    };
  });

  it('renders without exploding', () => {
    shallow(<App />);
  });

  it('renders children when passed in', () => {
    const wrapper = shallow(
      <App>

      </App>,
   );
    expect(wrapper.contains(
)).to.equal(true);
  });

 it('calls componentDidMount', () => {
    sinon.spy(App.prototype, 'componentDidMount');
    const wrapper = mount(<App />);
    expect(App.prototype.componentDidMount).to.have.property('callCount', 1);
    App.prototype.componentDidMount.restore();
  });
});

`
app.jsx
import React, { Component } from 'react';
import { browserHistory } from 'react-router';

class App extends Component {
  componentDidMount() {
    if (localStorage.i2x_token) {
       browserHistory.push('/home');
    } else {
      browserHistory.push('/');
    }
  }

  render() {
    return (

        {React.Children.toArray(this.props.children)}

    );
  }
}

App.propTypes = {
  children: React.PropTypes.node,
};

export default App;

package.json
  "dependencies": {
    "express": "^4.15.2",
    "react": "^15.4.2",
    "react-dom": "^15.4.2",
    "react-router": "3.0.0",
    "whatwg-fetch": "^2.0.3"
  },
  "devDependencies": {
    "babel-core": "^6.24.1",
    "babel-jest": "^19.0.0",
    "babel-loader": "^7.0.0",
    "babel-polyfill": "^6.23.0",
    "babel-preset-es2015": "^6.24.1",
    "babel-preset-react": "^6.24.1",
    "chai": "^3.5.0",
    "cross-env": "^3.1.3",
    "css-loader": "^0.28.0",
    "enzyme": "^2.8.2",
    "eslint": "^3.19.0",
    "eslint-config-airbnb": "^14.1.0",
    "eslint-plugin-import": "^2.2.0",
    "eslint-plugin-jsx-a11y": "^4.0.0",
    "eslint-plugin-react": "^6.10.3",
    "file-loader": "^0.11.1",
    "jest": "^19.0.2",
    "moment": "^2.18.1",
    "moment-timezone": "^0.5.13",
    "node-sass": "^4.5.2",
    "react-addons-test-utils": "^15.5.1",
    "sass-loader": "^3.2.0",
    "sinon": "^2.1.0",
    "style-loader": "^0.16.1",
    "webpack": "^2.2.1",
    "webpack-dev-server": "^2.4.2"
  }

Hi, sorry, we can't debug this code:

It uses syntax that does not work in Node.js. We don't support whatever exotic runtime you're using that processes import statements.
It has tons of third party dependencies. We can only debug issues with jsdom. Please create a minimal example that does not use any third party code. A good example is https://github.com/tmpvar/jsdom/issues/1779.

As such I'm closing this, but happy to reopen if you can provide a minimal example.
I'll work on issue template so this is clearer for other contributors.

Looks like everyone else is also using what you claim an 'exotic runtime'
#1372


Update pricing to match MAU

Thanks for the update, @michaelmairegger! Suggesting a change here that swaps the authentications explanation with MAU explanation.

@mmacy Thanks

@michaelmairegger : Thanks for your contribution! The author(s) have been notified to review your proposed change.

This doc was deleted, so I'm closing this request.


[relationships] add edge mount  relationship between Hashicorp vault and k8's secrets

Notes for Reviewers
This PR fixes #
Signed commits

[x] Yes, I signed my commits.

🥇

@deepak4566, could you please provide a working proof of this PR? A screen recording would be preferred.

If you're considering setting up a Mount relationship, I found this resource helpful: https://www.hashicorp.com/blog/injecting-vault-secrets-into-kubernetes-pods-via-a-sidecar.
It offers guidance on injecting Vault secrets into Kubernetes pods via a sidecar. Just a heads-up, this is just one reference among many available. Feel free to explore other documentation and resources as well.

Have you tested this relationship? Does it mutate the implicated components as expected? Are you able to deploy Vault and bind the Secret successfully with this relationship?
@deepak4566, please demo this at tomorrow's Meshery Dev meeting. Add the agenda, if you would.

Have you tested this relationship? Does it mutate the implicated components as expected? Are you able to deploy Vault and bind the Secret successfully with this relationship?
@deepak4566, please demo this at tomorrow's Meshery Dev meeting. Add the agenda, if you would.

i think at present this relationship doesnt work , before this relationship between secrets i think there is need of some other relationships like mount service account jwt token to vault and role , and many more .


sysmonUnitTests fail on Ubuntu 22.04

There were no issues building SysinternalsEBPF or SysmonForLinux, but the sysmonUnitTests fails to get Process.ProcessName.  I've done some light testing and everything else appears to work.  I tried looking for an event that includes ProcessName, but I can't find it in my other sysmon logs or in the docs.
/home/XXX/SysmonForLinux/test/linuxRules.cpp:262: Failure
Expected equality of these values:
  strcmp( pName, test.match )
    Which is: -109
  0
/home/XXX/SysmonForLinux/test/linuxRules.cpp:262: Failure
Expected equality of these values:
  strcmp( pName, test.match )
    Which is: -109
  0
/home/XXX/SysmonForLinux/test/linuxRules.cpp:262: Failure
Expected equality of these values:
  strcmp( pName, test.match )
    Which is: -109
  0
[  FAILED  ] Process.ProcessName (83 ms)

Ending with:
[==========] 19 tests from 4 test suites ran. (641 ms total)
[  PASSED  ] 18 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] Process.ProcessName

 1 FAILED TEST

same issue here, any updates?

@adriankaylor - With the latest changes to Sysmon, I'm not able to reproduce this anymore. Could you try and let me know if it reproduces for you?

This should now be fixed.


Update Haskell.gitignore

When working with several different Haskell Source Codes, several executable are created; Executables are the only files that commonly do not have an extension. (ELF/Mach-O)
Though on second thought I have been hasty and forgotten about the no extension HACK/CONTRIBUTE/README/et al.
I apologize.


Error trying to generate file on Atom 0.204.0 (Fedora 22)

Hi,
I receive an error message: "ReferenceError: path is not defined" when I tried to generate PlantUML file.
To fix it I add
path = require('path')

To the file: lib/file-utils.coffee, and it works.
If you can add it to update the package would be great.

Thx. I already opened an issue for this: #2 . Therefor I'm closing this, plan is to release a fixed version over the weekend.


Create or Update an Array via Checkboxes

I am trying to create an array from a clicked checkboxes. I was hoping I could click on a checkbox and its value gets added to the array called in the #articles div. Unfortunately every sprig code combination results in nothing being replaced.
{% set assetsArray = assetsArray ?? [] %}

{% set assets = craft.entries({section: 'someSection', limit: 5}) %}
	{% for asset in assets %}
		<input sprig s-replace="#articles" type="checkbox" s-trigger="click" name="assetsArray[]" value="{{ asset.id }}"/>
		{{ asset.title }}
	{% endfor %}

	{% set ids = assetsArray %}
	{% for asset in assetsArray %}x{% endfor %}

I threw your code into the Sprig Playground and each time I check a checkbox, I see another x, so it appears to be working in the latest version of Sprig.

I just tried in the playground and it works as you said. Why not the browser on its own. Did I miss step?

I tried Safari, Chrome, and Firefox.

Can you ensure you have Sprig set up and working in general with a quick test?
Value: {{ test ?? 0 }}
<button sprig s-val:test="1">Test</button>

Ok, I see what was wrong. I was writing this code on a blank twig page without it being part of a block that extended the main craft site.
Adding it to a block made it work as intended.
Thanks!

You can use Sprig that way too, but then you need to register the script manually.

So I hate coming to github and not seeing the end solution after a back and forth with the developer. My code above was just the general idea to get me past an unrelated issue and could confuse future viewers.
Here's the solution that worked. It's still general(and certainly not Dry), but can be adjusted for your needs.
I wanted to build an array  of ids from checking and unchecking boxes.
{% set checkboxArray = checkboxArray ?? [] %}

	{% set checkboxes = craft.entries({section: 'someSection', limit: 5}) %}
	{% for checkbox in checkboxes %}
		<input sprig s-replace="#outPut" type="checkbox" s-trigger="click" name="checkboxArray[]" value="{{ checkbox.id }}"/>
		{{ checkbox.title }}
	{% endfor %}

	{% set ids = [] %}
	{% for item in checkboxArray %}
		{% set ids = ids|merge([item]) %}
	{% endfor %}

	{% set entries = craft.entries({id: (ids)}) %}
	{% if entries %}
		{% for entry in entries %}
			{{ entry.title }}
		{% endfor %}
	{% endif %}


Support for domainUrn on DO K8s clusters, node pools

Hello! I'm looking to organize my DigitalOcean resources into a DO project with Pulumi.
I understand that we create a DO project and manage its child resources by passing domain URNs from various resources into a Project like this:
import * as dio from "@pulumi/digitalocean";

const myDomain = new dio.Domain(
  "my-domain",
  { name: "my-domain.com" },
  { protect: true }
);

new dio.Project(
  "my-project",
  {
    description: "",
    environment: "Production",
    name: "My Project",
    purpose: "Web Application",
    resources: [
      myDomain.domainUrn,
      // other resource domain URNs go here too
    ]
  },
  { protect: true }
);

However, I'm having trouble getting the domain URN for the digitalocean.KubernetesCluster and digitalocean.KubernetesNodePool as they don't seem to be exposed on those types.
Is it possible to expose these so I can use Pulumi to add my cluster to my DO project? Thank you for taking a look.

Hi @mplewis
I jsut spoke with the DO team about this and they will expose it on their side soon so we should pick it up with the next code update from upstream
Paul


open my project use Multi-root Workspaces  debug app get the error

when i use Multi-root Workspaces and debug my app，i got  that error：
zsh:1: command not found: yarn The terminal process "zsh '-c', 'yarn run web:watch'" failed to launch
but when i use single Workspaces it work well

Could you share the debug launch configuration with us?

Could you share the debug launch configuration with us?

// A launch configuration that compiles the extension and then opens it inside a new window
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
	"version": "0.2.0",
  "compounds": [
    {
      "name": "Debug webview-jupiter",
      "configurations": [
        "Run Extension",
        "Run Webview"
      ],
      "presentation": {
        "order": 0
      }
    }
  ],
	"configurations": [
		{
			"name": "Run Extension",
			"type": "extensionHost",
			"request": "launch",
			"args": [
				"--extensionDevelopmentPath=${workspaceFolder}"
			],
			"outFiles": [
				"${workspaceFolder}/dist/**/*.js"
			],
			"preLaunchTask": "templates:webview build"
		},
    {
      "name": "Run Webview",
      "request": "attach",
      "type": "node",
      "preLaunchTask": "npm: web:watch"
    },
		{
			"name": "Extension Tests",
			"type": "extensionHost",
			"request": "launch",
			"args": [
				"--extensionDevelopmentPath=${workspaceFolder}",
				"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
			],
			"outFiles": [
				"${workspaceFolder}/out/**/*.js",
				"${workspaceFolder}/dist/**/*.js"
			],
			"preLaunchTask": "tasks: watch-tests"
		}
	]
}

@alexr00 the error message originates from the prelaunchTask

@KingJch can you share your tasks.json file?

@alexr00
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
"version": "2.0.0",
"tasks": [
{
"label": "templates:webview build",
"type": "npm",
"script": "extension:watch",
"problemMatcher": [
"$ts-webpack-watch",
"$tslint-webpack-watch"
],
"isBackground": true,
"presentation": {
"reveal": "never",
"group": "watchers"
},
"group": "build"
},
{
"type": "npm",
"script": "watch-tests",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never",
"group": "watchers"
},
"group": "build"
},
{
"label": "tasks: watch-tests",
"dependsOn": [
"npm: watch",
"npm: watch-tests"
],
"problemMatcher": []
}
]
}

Thank you! @KingJch if you run yarn run web:watch from the VS Code integrated terminal manually does it work?

@alexr00 it work

I'm not able to reproduce the issue. My steps:

Make a multiroot workspace
Make sure one of the folders in the workspace has a launch.json file with a launch config with a prelaunch yarn/npm task.
Select that launch config and debug.

@KingJch can you provide a few more details please:

What operating system are you using?
How did you launch VS Code?


Improper generated enum values

Hi @elringus ,
There is a problem with enum values handling in the bootsharp. Let's say, I have the following backend:
public enum Foo
{
	Value1 = 1,

	Value2 = 2
}

public static partial class Program
{
	public static void Main ()
	{
	}

	[JSInvokable]
	public static Foo Test() => Foo.Value1;
}

It generates the following definitions:
const Global = {
    ...
    test: () => deserialize(getExports().Program.Test()),
    Foo: { "0": "Value1", "1": "Value2", "Value1": 0, "Value2": 1 }
};

So
console.log(Global.test() === Global.Foo.Value1);

prints false
Thank you!

Yep, this is one of the breaking changes mentioned in #123.

Ah, my bad, you're assigning custom enum indexes in C#. I'm probably hot handling that when generating JS enums. Will look into that, thanks for the report!


Add temporary patch to fix CoreFX tests

Can OSX leg be ignored for this?

Can OSX leg be ignored for this?

Yes.  It appears this is expected.


Not launching

Since atom updated to 1.54, it doesn't launch anymore under Ubuntu 18.04.5 LTS.
It does not launch neither from visual interface, neither from command line.

Can you try installing  the deb package (without snap)

Can you try installing  the deb package (without snap)

I had the same problem and installed the deb package, all is working now.
The problem must be when you install it with snap.

I had the same problem and installed the deb package, all is working now.
The problem must be when you install it with snap.

Indeed, it's working when installing from the deb package.
Thanks!

Indeed, it's working when installing from the deb package.
Thanks!


--port is broken

Do you want to request a feature or report a bug?
If the issue is a bug report, please provide the steps to reproduce it. Please include the actual command causing the issue if applicable.
http-server --port 3001
What did you expect to happen?
Server should treat http-server --port 3001 exactly like http-server -p 3000
I actually made the PR that did this. It happened here: https://github.com/http-party/http-server/pull/468
What actually happened? Please include the actual error trace and / or stack trace if applicable.
http-server uses the default port: 3000
If the issue is a feature request, what is the motivation / use case for it?
Tell us about your environment
macOS

http-server version:
0.11.1
Platform:
macOS
Other information (related issues, suggestions for a fix, etc):

@BigBlueHat could you please let me know how I might fix this issue? I think the new argv parser is broken

I haven't been able to replicate this on Ubuntu 18.04.3.

@x4th I have fixed an error in the issue description, are you using -p or --port ? I am able to configure the port using -p but not with --port

Using --port.

@x4th thanks for your help! May I ask which version of http-server are you using?

I just cloned it from here, master branch, version 0.11.1.

@x4th by cloning this repo, I also have no issue. However after installing it via npm the issue is present

first thing I found on osx. I can reproduce. -p works find though

From @johnstonmatt's comment, a new release on NPM is needed? The latest one on NPM was 2 years ago.

This should be fixed now, please reopen if this is still happening on v13


*@[LIVESTREAMs.!]Tyler Denny vs. Hamzah Sheeraz Fight Live Boxing Today Game In 21 September 2024

Tyler Denny vs. Hamzah Sheeraz live On Saturday, 21 September, 2024, was buzzing with anticipation
as it played host to Tyler Denny vs. Hamzah Sheeraz. Boxing were on the card, promising fans an
evening filled with excitement, skill, and raw athleticism. Watch Tyler Denny vs. Hamzah Sheeraz Live
Stream!
🅻🅸🆅🅴🔴▶ CLICK HERE TO WATCH LIVE ONLINE
🆆🅰🆃🅲🅷🔴▶ CLICK HERE TO LIVE STREAM
DETAILS:
Tyler Denny vs. Hamzah Sheeraz fight date, start time
Date/Time: Saturday 09.21.2024 at 02:00 PM ET
U.S. Broadcast: Pay Per View
Preliminary Card: DAZN
Promotion: Matchroom Boxing
Ownership: Matchroom Sport
Co-Promoter: Queensbury Promotions, Boxxer, Wasserman
Venue: Wembley Stadium
Location: Wembley, London
The Tyler Denny vs. Hamzah Sheeraz action kicked off with the preliminary fights, where up-andcoming talents showcased their skills and determination in the cage. These young fighters, eager to
make a name for themselves, gave it their all, delivering fast-paced and action-packed bouts that set the
tone for the evening.
Tyler Denny vs. Hamzah Sheeraz As the main card got underway, the intensity in the arena reached
new heights. The matchups were carefully selected to pit some of the most promising amateur Boxing
fighters against each other, ensuring competitive and entertaining fights for the fans in attendance.
Several fights stood out as highlights of the evening. From intense grappling exchanges to striking
battles, these bouts had the crowd on the edge of their seats. Each fighter demonstrated their dedication,
heart, and skill, leaving everything in the cage.
The co-main events were particularly memorable, with fighters showcasing their evolving talents and
determination to climb the ranks in the world of Boxing. The back-and-forth action had the crowd
roaring with excitement, as each fighter pushed their limits to secure victory.
The main event of Tyler Denny vs. Hamzah Sheeraz was a highly anticipated matchup that had fans
eagerly awaiting the action. The atmosphere was electric as the two top amateur Boxing fighters made
their way to the cage. Both fighters were determined to prove themselves and claim victory in front of
the passionate crowd.


Create vCenter-contrail-fabric-integration-blueprint.md

Blueprint spec for VMware (vSphere) integration with contrail fabric manager

We should not be merging GitHub pull requests. This repo is managed via Gerrit code review and the GitHub repo should be purely a mirror of Gerrit.


Make sure to hide all backgrounds upon completion of the animations

Fixed backgrounds mode does not make the directional views invisible upon the completion of the animation, causing incorrect rendering. This patch addresses the issue.

Hey,
I understand the issue, but it's due to the fact that the row background is transparent. I'm doing that in the example for easier testing.
If you set the background to a solid color, it will cover the latest visible background after the animation ends.
In case you really want to use a transparent background, I think it's probably better to call setDirection(SwipeDirections.DIRECTION_NEUTRAL, false); in the onAnimationEnd and make a small tweak there to prevent any NullPointerExceptions.

Just a little note: Android listview dev suggest to spare resource and avoid background if not needed.
Another note: if I'm not mistaken, default row view has transparent background so I suggest that the standard behavior is to handle it, whichever solution you chose :)

In this particular case you do need a solid background for the swipe to look good. I noticed the problem when I enabled multi-select on the list view and realized that the use of non-fully opaque color to indicate selection exhibits this problem.

I pushed a version of your patch with the commit that closed this merge request. I'll probably push this to maven central tomorrow.
I do appreciate contributions like these :-)

Thanks!


Access the GlobalKey outside of the widget

Hi @fayeed,
How can I access the GlobalKey<FlutterMentionsState> _textFormFieldKey = GlobalKey<FlutterMentionsState>(); outside of the widget please ?
I would like to give the key a TextEditingController value when initiated & be able to clear() its value.

Check issue #13.


Doesn't working record at MacOS 12.1 (21C52)

macOS version: 12.1 (21C52)
Kap version: Version 3.5.1 (<IP_ADDRESS>3)
Steps to reproduce

Let's open application
Select area: manual or window
Press start record

Current behaviour

Freeze UI
Error after trying to record

Expected behaviour
Recording
Workaround

https://user-images.githubusercontent.com/25321664/149967631-9c918806-c856-4b38-b544-76801ac83d46.mov

Hi there, thanks for submitting an issue. This is a duplicate of #1059, and so I will close that in order to keep track in the original issue.


Adjust telemetry for some events

For #8254

Codecov Report

Merging #9049 into master will decrease coverage by 0.35%.
The diff coverage is 30%.

@@            Coverage Diff             @@
##           master    #9049      +/-   ##
==========================================
- Coverage   56.96%   56.61%   -0.36%
==========================================
  Files         550      550
  Lines       28969    28974       +5
  Branches     4377     4374       -3
==========================================
- Hits        16503    16403     -100
- Misses      11566    11670     +104
- Partials      900      901       +1

Impacted Files
Coverage Δ

src/client/telemetry/index.ts
86.48% <ø> (ø)
:arrow_up:

...ascience/interactive-ipynb/nativeEditorProvider.ts
54.1% <0%> (-1.14%)
:arrow_down:

src/client/datascience/constants.ts
99.66% <100%> (ø)
:arrow_up:

...atascience/interactive-window/interactiveWindow.ts
19.16% <50%> (-0.17%)
:arrow_down:

src/client/testing/serviceRegistry.ts
49.09% <0%> (-47.28%)
:arrow_down:

src/client/testing/codeLenses/main.ts
40% <0%> (-30%)
:arrow_down:

src/datascience-ui/interactive-common/tokenizer.ts
35% <0%> (-30%)
:arrow_down:

src/client/datascience/jupyter/jupyterUtils.ts
64.7% <0%> (-29.42%)
:arrow_down:

...t/datascience/jupyter/jupyterDataRateLimitError.ts
50% <0%> (-25%)
:arrow_down:

src/client/formatters/serviceRegistry.ts
75% <0%> (-25%)
:arrow_down:

... and 19 more

Continue to review full report at Codecov.

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


[v4] Better utils and factory

Currently PaymentsUtils are useful, but could be better. Two additional features are needed:

[x] Get fee rate recommendation (for when the full payments config isn't available)
[x] Provide an address standardization/normalization method (to replace the deprecated address standardization service we currently use)

And PaymentsFactory would be more useful if it had the following because then applications would only have to declare coin-payments as an explicit dependency instead of all of the packages.

[x] Method to instantiate PaymentsUtils and BalanceMonitor
[x] Manage connections and reuse them across instantiated objects

Additionally, there's a bunch of repeated methods and code in certain places that should be moved around to reduce maintenance overhead and effort required to add new coins.
This PR is pretty massive, so a good starting point would be to look at the core interface changes, everything else is ultimately implementing that:

PaymentsUtils
PaymentsFactory

 Coin payments v4


Fix shader crashes when passing array.length to functions

Fixed incorrect handling of array length function:

Fixed shader crash when passing that function to array:

Thanks!


Canvas Quality

When the image is rendered to the canvas, is there a way to adjust the quality like rendering to the image.  I added the quality: 0.5, to the megapix.js (mpImg.render(resCanvas1, { maxWidth: 300, maxHeight: 300, quality: 0.5 });) but it does not change.  I ask because I am using .toDataURL("image/jpeg") to send the canvas to my php page to save on my server.

Hi,
What would be the best optimised quality value?
Actually i have set mine as 0.5 and width of image rendered is 590px; Yet the image seems a bit noisy.


Create a GitHub CI action for publishing releases to crates.io

Should be done automatically when a new tag is pushed.

In fact, this scheme should be adopted for all of esp-idf-sys, esp-idf-hal, embedded-hal and esp-idf-svc as well.

And while we are at it, perhaps a CI action on each commit to master and for PRs, checking if the build is successful, as well as for clippy warnings.

Solved with https://github.com/ivmarkov/embuild/commit/1839246bcf5acb5400a0c598f367f951803f5046


Table to 2 point Line Fails with single coordinate input in Pro 1.3

Table to 2 point Line Fails with single coordinate input in Pro 1.3.  See error below.
Start Time: Thursday, December 08, 2016 10:19:44 AM
Running script TableTo2PointLine...
Adding LONG field JoinID
Adding unique row IDs...
Formatting start point...
Formatting end point...
Connecting start point to end point as GEODESIC...
Joining fields from input table to output line features...
Start Time: Thursday, December 08, 2016 10:19:50 AM
Failed to execute. Parameters are not valid.
ERROR 000308: Invalid field type
Failed to execute (JoinField).
Failed at Thursday, December 08, 2016 10:19:50 AM (Elapsed Time: 0.06 seconds)
Completed script TableTo2PointLine...
Failed to execute (TableTo2PointLine).
Failed at Thursday, December 08, 2016 10:19:50 AM (Elapsed Time: 5.87 seconds)

Need more info:

What input file?
What input field?
Please provide steps to reproduce the problem.

fix verified


Gitea: Cursor not visible in div.CodeMirror-scroll

Describe the bug
When I want to edit an issue in gitea I cant see the cursor at all.
Theme Install Method (Don't skip)
-Plan installation
Application Info (Don't skip)

1.16.0

To Reproduce

Open an Issue
Type something in comment or issue description
Dont see the cursor

Expected behavior
The cursor is white... and blinks
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Used to be a Problem in gitea..
Adding this to your stylesheet apparently helped.
.CodeMirror-cursor {
  border-color: var(--color-text) !important;
}

** Screenshots
Actual

Excpected ( css from above )

Pushed a fix to dev. Please test develop.theme-park.dev

Pushed a fix to dev. Please test develop.theme-park.dev

It now works :)


Nested flex container – text-align

text-align (in that case center) stops working if you start nesting flex containers e.g. http://codepen.io/verpixelt/pen/vLNymo
If you remove display: flex from the flex children (line: 40), text-align: center works as expected.
Either I overlook something or this is really a bug. Happy to hear your feedback.

text-align is working fine in your example. The problem is that the <div> wrapping the text itself is aligned to the left because it's a flex item. If you inspect the element in your example with the developer tools you should be able to see what's going on.

It works, if I set width: 100% on the mentioned div. I was under the impression, that even if display: flex is applied on a flex-child it would act like a block level element and automatically occupy the whole available width.

If an element is a flex item, then its size is governed by the result of the flex layout algorithm. It's not just going to be 100% wide by default.


Add all task to the board

Every task of the WBS needs to be translated into a card

Bobby did not finished this task, but we are closing it.


[Android]  After enabling autofillHints, the keyboard automatically hide after entering the first letter

Steps to reproduce
run this code on a physical Android device (with autofill data populated), then input a letter.
Expected results
Do not auto-hide keyboard
Actual results
the keyboard auto hide
Code sample
import 'package:flutter/material.dart';

void main(List<String> args) {
  runApp(
    MaterialApp(
      home: Scaffold(
        body: Center(
          child: TextField(
            autofillHints: [AutofillHints.name],
          ),
        ),
      ),
    ),
  );
}

Screenshots or Video
No response
Logs
No response
Flutter Doctor output
Doctor output
Doctor summary (to see all details, run
flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.6, on
    macOS 15.1.1 24B91 darwin-arm64,
    locale zh-Hans-CN)
[✓] Android toolchain - develop for
    Android devices (Android SDK version
    34.0.0)
[✓] Xcode - develop for iOS and macOS
    (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] VS Code (version 1.95.3)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!

@jiagengArctuition
What android device does this occur on ? Can you provide make and model of it ? Does it occur with Gboard or default keyboard ?
Also, please try to upgrade to latest stable and re-run your scenario to check if the behavior still persist or not.

@darshankawar I tried Gboard, and indeed it doesn't have this issue. However, both the system's built-in Sogou input method and the installed WeChat input method have this problem.

@darshankawar I tried Gboard, and indeed it doesn't have this issue. However, both the system's built-in Sogou input method and the installed WeChat input method have this problem.

@jiagengArctuition
Did you try to upgrade to latest stable to check if the issue persist or not ?

@darshankawar Yes, this issue also exists in the latest version 3.24.5

@jiagengArctuition
What Android device are you using that shows this issue ? I verified on S10+ with which the name is autofilled and I am able to input letter after it properly, but with Chinese input language, I am unable to see the autofill hints showing up. Can you provide us a short video ?

@darshankawar My Android phone is OnePlus 9, I'm using WeChat Input Method, and this is my screen recording.
https://github.com/user-attachments/assets/6b7338ed-07b6-44ee-9358-c828cc243dc1
Here are the download links for WeChat Input Method and Sogou Input Method. They are the most popular input methods in China. And they work normally when used in other applications.
https://z.weixin.qq.com/web/changelog/android
https://apkdl.sogouimecdn.com/wapdl/android/apk/SogouInput_12.0.1_android_sweb.apk

Thanks for the update. I installed the Sogou input keyboard on S10+ device and using it, was able to replicate the reported behavior on latest sdk versions.
stable : 3.24.5
master : 3.27.0-1.0.pre.710


ios build: Work around "signing requires development team" build error

Discussion:
https://chat.zulip.org/#narrow/stream/48-mobile/topic/.22signing.20requires.20development.20team.22.20build.20error/near/1472486

If you'd like to tweak the comment or the code, then before you merge, please make sure pod install gets run to update the podfile checksum in Podfile.lock. I'm happy to do that if you want. 🙂

(Tested in development, and this built fine for a simulator and the physical iPhone I usually use for development, including after doing the "Clean build folder" action from the Xcode GUI.)

Thanks for sorting this out! Looks good -- please merge at will.

Thanks for the review and help with the investigation! Done.


Fixing snowpack for use in Next.js and hopefully webpack in general

I think the problem is that I only have an ES modules output...what I should really have is an ES modules output and a completely plain es5 output. So the package.json will point main to the es5 output and module to the ES modules output.
I am thinking this will solve the issues with Next.js and webpack in general.

The way to achieve this will probably be to use Snowpack with two configuration files...one will do the normal Snowpack build, the other will do a webpack build. Use @snowpack/plugin-webpack

Also, to get the yarn start to work, I believe it is the same error...
so just make a non-commonjs or non-es-modules, just straight javascript build and all of these issues should disappear


feat: openapi config override

Description
This PR fixes #961
Summary
This PR does add openapi config override feat
PR Checklist
Please ensure that:

[x] The PR contains a descriptive title
[x] The PR contains a descriptive summary of the changes
[x] You build and test your changes before submitting a PR.
[x] You have added relevant documentation
[ ] You have added relevant tests. We prefer integration tests wherever possible

Pre-Commit Instructions:

[x] Ensure that you have run the pre-commit hooks on your PR.

how does this work with subrouters?

how does this work with subrouters? The user would already have all endpoints in the openapi.json, I presume. it currently handles them.

@VishnuSanal , yes. Subrouters should not have the ability to override openapi


Update nf-winuser-enablenonclientdpiscaling.md

@xanather : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@xanather, thanks for submitting this correction.


Adding DragDropContext just breaks everything

Just added DragDropContext to my topmost component:
import HTML5Backend from 'react-dnd/modules/backends/HTML5';
import { DragDropContext } from 'react-dnd';

@DragDropContext(HTML5Backend)
export default class App extends React.Component {
   ...
}

On rendering got this:
Uncaught TypeError: Cannot read property 'hasOwnProperty' of undefined
ReactElementValidator.js:157:27

Discouraging.
Feeling myself dumb, but am I doing something wrong?

Actually, even if have a single component with one lonely  inside, the same happens.

Please check if you have two Reacts in the compiled bundle.
It's a common problem with NPM. (Hopefully to be solved in NPM 3).
See here for more info: https://medium.com/@dan_abramov/two-weird-tricks-that-fix-react-7cf9bbdef375
It's definitely not a React DnD issue.

Indeed.
"peerDependencies": {  "react": ">=0.13.0 <0.15.0 || 0.14.0-beta1" } was resolved to 0.14.0-beta1.
It seems to be my package manager problem (jspm in case), because with just npm install react-dnd I have 0.13.3 installed.
Fixed it with shrinkwrap. Thank you for advice.

No problem, glad it helped!


Rollup

I use Rollup to bundle my code. I use it so I can organize a project's code as ES6 modules. I can't seem to find a way to import Hyperx with Rollup. I've successfully used other NPM modules with Rollup, so I'm assuming its something about how hyperx is getting exported.
I'd like to be able to do the following:
import {hyperx} from  'hyperx'
const html = hyperx(h)
// etc

But I'm not having any luck.
I am using rollup-plugin-commonjs with rollup, so that's not the issue:
commonjs({
  include: 'node_modules/**'
})

But when I build, I get this error in the console:
Error: 'hyperx' is not exported by node_modules/hyperx/index.js

Any idea how to be able to use hyperx with Rollup like a normal ES6 module?

Hmm, I haven't used Rollup with Choo, but given that we only ever expose
commonJS modules, perhaps
https://github.com/rollup/rollup-plugin-commonjs would
be the right solution?
On Thu, Sep 14, 2017 at 6:24 AM Robert Biggs<EMAIL_ADDRESS>wrote:

I use Rollup to bundle my code. I use it so I can organize a project's
code as ES6 modules. I can't seem to find a way to import Hyperx with
Rollup. I've successfully used other NPM modules with Rollup, so I'm
assuming its something about how hyperx is getting exported.
I'd like to be able to do the following:
import {hyperx} from  'hyperx'const html = hyperx(h)// etc
But I'm not having any luck.
I am using rollup-plugin-commonjs with rollup, so that's not the issue:
commonjs({
include: 'node_modules/**'
})
But when I build, I get this error in the console:
Error: 'hyperx' is not exported by node_modules/hyperx/index.js
Any idea how to be able to use hyperx with Rollup like a normal ES6 module?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/choojs/hyperx/issues/54, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWles1Mw0iPJwH_P8ilrfo9FnY66zl9ks5siKptgaJpZM4PXCDk
.

Actually, I am using rollup-plugin-commonjs and usually it just works for commonjs modules. I'll take another look at my setup after a couple of ☕☕

Have you tried using the default export? It looks to me like hyperx is using module.export and not exports.hyperx.
import hyperx from  'hyperx'

Yup. Tried that and got:
Error: 'default' is not exported by node_modules/hyperx/index.js

Did you try
import * as hyperx from 'hyperx';

With
import * as hyperx from 'hyperx'

I get:
Error: Cannot call a namespace ('hyperx')

Finally found the solution, thanks to a thread by Rich Harris on Gitlab. For Rollup to be able to import and bundle hyperx with other ES6 module imports you need to have the rollup-plugin-commonjs configured like this. Notice the ignoreGlobal: true part.
commonjs({
  include: 'node_modules/**',
  ignoreGlobal: true
})

Maybe you guys should put something in your docs about using Hyperx with Rollup for other people using it with ES6 imports so they don't go through what I just did.


[CI] Disable package diff

Description of changes:
Disabling package diff feature, follow-up PR will be put out in some days to enable it again.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Previous CI Run
Current CI Run

botocore==1.34.128
botocore==1.34.129

boto3==1.34.128
boto3==1.34.129

tifffile==2024.5.22
tifffile==2024.6.18

botocore==1.34.128
botocore==1.34.129

boto3==1.34.128
boto3==1.34.129

tifffile==2024.5.22
tifffile==2024.6.18


VolkswagenIDVehicleSensor has the wrong class.

Version of the custom_component

Installation method (hacs / manual)
HACS
Installation method of hass (venv, docker, hassio,...)
Hassio
Describe the bug
VolkswagenIDVehicleSensor has the wrong class.
Debug log

Logger: homeassistant.components.sensor
Source: components/sensor/__init__.py:528
Integration: Sensor (documentation, issues)
First occurred: 12:10:14 (1 occurrences)
Last logged: 12:10:14

Entity sensor.electra_last_trip_average_electric_consumption (<class 'custom_components.volkswagen_we_connect_id.sensor.VolkswagenIDVehicleSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None or one of 'total', 'total_increasing'; Please update your configuration if your entity is manually configured, otherwise report it to the author of the 'volkswagen_we_connect_id' custom integration

This maybe an issue because as far as i can see all VolkswagenIDSensor and VolkswagenIDVehicleSensor are initialsed with SensorStateClass.MEASUREMENT if the sensor itself has declared an native_unit_of_measurement
which is not possible if the sensor is of device_class=SensorDeviceClass.ENERGY
https://github.com/mitch-dc/volkswagen_we_connect_id/blob/c7f95c458e5b31a468703dab8d46f5746bfdb741/custom_components/volkswagen_we_connect_id/sensor.py#L525-526
fix maybe skipping device_class=SensorDeviceClass.ENERGY from initialising with SensorStateClass.MEASUREMENT but with state_class=SensorStateClass.TOTAL

okay this would work as a workaround until a more generic fix would be available otherwise this is very specific to this one code path, thoughts @mitch-dc or @pdcastro?
--- a/custom_components/volkswagen_we_connect_id/sensor.py
+++ b/custom_components/volkswagen_we_connect_id/sensor.py
@@ -430,8 +430,8 @@ VEHICLE_SENSORS: tuple[VolkswagenIdEntityDescription, ...] = (
     VolkswagenIdEntityDescription(
         key="lastTripAverageElectricConsumption",
         name="Last Trip Average Electric consumption",
-        native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
         device_class=SensorDeviceClass.ENERGY,
+        state_class=SensorStateClass.TOTAL,
         value=lambda vehicle: vehicle.trips["shortTerm"].averageElectricConsumption.value,
     ),
     VolkswagenIdEntityDescription(

I can make an MR if you think this would be sufficient.

Not seeing the issue now, so assuming fixed.


Facilitate user defined reaction rates

Source mesh currently has hard-coded reaction rates that assume:

relationship between ion temperature and plasma parameter s
relationship between ion density and plasma parameter s
DT fusion reaction rates based on ion temperature and density

Users need to provide a mechanism for defining their own relationship between ion temperature and density as a function of the plasma parameter, s.  Users may also want to use a different fusion reaction rate formula, either by selecting the fuel and we provide some standard rate as a function of T, n, or an even more flexible approach.

Has this been addressed?

Closed by #129


Error when breadcrumb is clicked

Even this error occurs, it seems working well, I am not sure what is the reason for this error...

I found this error does not occur in this version of source code. https://github.com/UNDP-Data/geohub/commit/7ad2fe60027a23800419f4cf870ffe78e5301adf

Looks like bug in sveltekit according to this chat in discord
https://discord.com/channels/457912077277855764/1047220469750841424/1047220469750841424.

I saw in Discord, this error occurs from v565. But it still has same error when I reverted sveltekit to 564 through PR #881


Failed resolve plugin

Tried using the plugin on my own project and got the following error. same error appeared when tried example project avro-scala-demo
sbt.librarymanagement.ResolveException: unresolved dependency: com.sksamuel.avro4s#sbt-avro4s;1.0.0: not found

I don't believe sbt 1.0 is supported yet (https://github.com/sksamuel/sbt-avro4s/issues/16), which might be the source of your error.


Generate screenshot using flutter test integration_test command

Use case
Hi team, we're currently building a Flutter project, and we have integration test additional requirements as below:

Generating JUnit report for all integration test case
Generating screenshot on the last frame of each integration test case

Proposal
For generating JUnit report, we are using junitreport and it works as intended using flutter test command.
But for generating screenshot, we can only do that using flutter drive command based on this article.
So, in order to generate screenshot and to generate the JUnit report, we need to run the integration tests twice, using flutter test and flutter drive. But, it will surely cause flakiness because the data we provide for integration test is real data from backend.
Is there any way for us to generate the screenshot using flutter test only? So we only run the test once and get the JUnit report and the screenshot in one shot.
Thanks! we hope you guys consider our proposal.

Hi @mrhabibi, Thanks for filing the issue. You can run integration tests using flutter test <path to tests> too, would that solve your issue?

Do you think it can generate screenshot @maheshmnj ? Can you share how to the code doing it?

@fadhlimaulidri what I meant is you could run the same integration tests with flutter test, if you are looking for code for taking a screenshot in integration test then please take a look here https://github.com/flutter/flutter/tree/master/packages/integration_test

Hi @maheshmnj, I'm in a team with @fadhlimaulidri, thanks for your response.
I got your point, so for generating screenshot, we need to use flutter drive command, right?
So, let me change my question: How could we generate JUnit report using flutter drive command?
Because what we need is to generate JUnit report AND the screenshot simultaneously, but we can only generate the screenshot using flutter drive, whereas we need to generate ke JUnit report too, but we couldn't use junitreport because it uses flutter test instead.
Do you have any advice? Thanks.

Thanks for the update what I meant was we could run integration test using flutter test command. I did running the sample integration tests using flutter test and it works. But when generating a screenshot it seems to throw the exception.

code sample
main.dart
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        title: 'Flutter Demo',
        theme: ThemeData(
          primarySwatch: Colors.blue,
        ),
        home: const MyHomePage(
          title: 'Drawer demo',
        ));
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);
  final String title;
  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  void _openDrawer() {
    draweKey.currentState!.openDrawer();
  }

  void _openEndDrawer() {
    draweKey.currentState!.openEndDrawer();
  }

  final GlobalKey<ScaffoldState> draweKey = GlobalKey<ScaffoldState>();

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      key: draweKey,
      drawer: const DrawerWidget(),
      endDrawer: const DrawerWidget(),
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
          child: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          ElevatedButton(
              onPressed: _openDrawer, child: const Text('open Drawer')),
          const SizedBox(
            height: 20,
          ),
          ElevatedButton(
              onPressed: _openEndDrawer, child: const Text('open EndDrawer'))
        ],
      )),
    );
  }
}

class DrawerWidget extends StatefulWidget {
  const DrawerWidget({Key? key}) : super(key: key);

  @override
  State<DrawerWidget> createState() => _DrawerWidgetState();
}

class _DrawerWidgetState extends State<DrawerWidget> {
  @override
  Widget build(BuildContext context) {
    return Drawer(
      child: Column(
        children: <Widget>[
          DrawerHeader(
              decoration: BoxDecoration(
                color: Theme.of(context).primaryColor,
              ),
              child: const Center(child: Text('Drawer Header'))),
          const Expanded(
              child: Center(
            child: Text('Drawer Content'),
          ))
        ],
      ),
    );
  }
}

integration_test/main_test.dart
import 'package:flutter/material.dart';
import 'package:test_app/main.dart' as app;
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';

void main() {
  final binding = IntegrationTestWidgetsFlutterBinding.ensureInitialized()
      as IntegrationTestWidgetsFlutterBinding;

  group('Drawer integration tests', () {
    testWidgets('The drawer can be launched programmatically',
        (WidgetTester tester) async {
      final Finder drawerButton = find.text('open Drawer');
      final Finder endDrawerButton = find.text('open EndDrawer');

      await tester.pumpWidget(app.MyApp());
      expect(find.byType(Drawer), findsNothing);
      expect(drawerButton, findsOneWidget);
      expect(endDrawerButton, findsOneWidget);
      await binding.convertFlutterSurfaceToImage();

      // Trigger a frame.
      await tester.pumpAndSettle();
      await binding.takeScreenshot('screenshot-1');
    });
  });
}

logs
mahesh@Maheshs-Air-M1 test_app % flutter test integration_test
Running "flutter pub get" in test_app...                            3.0s
00:06 +0: loading /Users/mahesh/Desktop/test_app/integration_test/drawer_test.dart                                                             R00:08 +0: loading /Users/mahesh/Desktop/test_app/integration_test/drawer_test.dart                                                      1,894ms
00:24 +0: loading /Users/mahesh/Desktop/test_app/integration_test/drawer_test.dart
00:28 +0: loading /Users/mahesh/Desktop/test_app/integration_test/drawer_test.dart                                                         3.5s
Xcode build done.                                           19.7s
00:35 +1: /Users/mahesh/Desktop/test_app/integration_test/drawer_test.dart: Drawer integration tests Drawer should open/close by simulating a horizontal drag
Size(390.0, 844.0)
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following TestFailure was thrown running a test:
Expected: no matching nodes in the widget tree
  Actual: _WidgetTypeFinder:<exactly one widget with type "Drawer" (ignoring offstage widgets):
mahesh@Maheshs-Air-M1 test_app % flutter test integration_test/main_test.dart
00:06 +0: loading /Users/mahesh/Desktop/test_app/integration_test/main_test.dart                                                               R00:07 +0: loading /Users/mahesh/Desktop/test_app/integration_test/main_test.dart                                                        1,302ms
00:22 +0: loading /Users/mahesh/Desktop/test_app/integration_test/main_test.dart
00:28 +0: loading /Users/mahesh/Desktop/test_app/integration_test/main_test.dart                                                           5.2s
Xcode build done.                                           20.4s
00:34 +0: Drawer integration tests The drawer can be launched programmatically
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following MissingPluginException was thrown running a test:
MissingPluginException(No implementation found for method captureScreenshot on channel
plugins.flutter.io/integration_test)

When the exception was thrown, this was the stack:
#0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:175:7)
<asynchronous suspension>
<asynchronous suspension>
(elided one frame from package:stack_trace)

The test description was:
  The drawer can be launched programmatically
════════════════════════════════════════════════════════════════════════════════════════════════════
00:34 +0 -1: Drawer integration tests The drawer can be launched programmatically [E]
  Test failed. See exception logs above.
  The test description was: The drawer can be launched programmatically

00:34 +0 -1: Some tests failed.
mahesh@Maheshs-Air-M1 test_app %

Labeling it as a proposal to support taking a screenshot using flutter test

hello all, is there update on this? Can we take screenshot with flutter test cmd? Thanks


Invalid Filters when doing multiple filters with JS SDK

Hey, I have an issue when i do multiple filter.
Here is my code :
async function getCurrentLesson(lessonSlug: string) {
  const data = await pocketbase.collection("enrolledLesson").getFullList({
    expand: "lesson,user",
    filter: `lesson.slug = "${lessonSlug}" & user = "tt4r03d33ggqfw9"`,
  });
  return data;
}

I know do filter using URL and i need to encode the URL, but here, i don't know where is the Problem

The SDKs will take care for the encoding for you, but I think the above filter is incorrect because the "AND" operator should be && (double ampersand).
If that's not the case, feel free to let me know and I'll investigate it further.


Querying empty archival memory causes archival_memory_search to crash when local

Describe the bug
See: https://github.com/cpacker/MemGPT/pull/400#issuecomment-1804732257

Fixed in #402


Document payload testing

https://issues.redhat.com/browse/DPTP-2644
/cc @openshift/test-platform

/payload 4.10 nightly informing

https://issues.redhat.com/browse/DPTP-2644

/retest

/retest

/retest


Include IT test cases in build pipeline

Include IT test cases in build pipeline. I have included IT run during gulp ci

Intentionally the test cases are commented. Vipin will fix the test cases on subsequent PRs

We wont be able to integrate IT in build pipeline


crypto.subtle

Expected Behavior
Link to the documentation or explain the expected outcome of following the documentation.
Actual Behavior
Explain what actually happens when you follow the documentation.
Section that requires update
Provide a link to the page that needs an update and be specific about which section requires the update.
Additional information
Any other details or screenshots you think are relevant.

@Tobats1992 _

Howdy @Tobats1992, looks like we don't have quiet enough info to act on this issue, so going ahead and closing for now.
Feel free to re-open with more specific instructions and we can look at solving your issue.


Add a way for DevHome to get repository provider icons.

Suggested new feature or improvement
In the repo config page, each provider type should have an icon for users to easily identify the type.  Extensions today have no way of doing this.  Something needs to be added to allow the extensions to give their icon to DevHome.
Scenario
Repo config and widgets.
Additional details
No response

Fixed in #1809 and further improved in #1847.


Multi lang alignment

Added ability to supply multiple and any combination of languages for alignment at the time of build and without the need to edit Dockerfile.
Use for example LANG="pl fr en"

This Dockerfile change follows https://github.com/jim60105/docker-whisperX/issues/24.
With that said, either problem is at my end or it just causes whisperx to fail - investigating.

The error is raised by whisperx:
whisperx: error: unrecognized arguments: ./a2.wav

I have no good explanation why adding more aligned models causes it as it shouldn't. As per understanding WhisperX should pick up other models when specific language is discovered.
Looking at changes at Dockerfile level - it does what suggested.
Any ideas on why it has such a negative impact on WhisperX?
Full output:
/venv/lib/python3.10/site-packages/pyannote/audio/core/io.py:43: UserWarning: torchaudio._backend.set_audio_backend has been deprecated. With dispatcher enabled, this function is no-op. You can remove the function call.
  torchaudio.set_audio_backend("soundfile")
/venv/lib/python3.10/site-packages/torch_audiomentations/utils/io.py:27: UserWarning: torchaudio._backend.set_audio_backend has been deprecated. With dispatcher enabled, this function is no-op. You can remove the function call.
  torchaudio.set_audio_backend("soundfile")
torchvision is not available - cannot save figures
usage: whisperx [-h] [--model MODEL] [--model_dir MODEL_DIR] [--device DEVICE] [--device_index DEVICE_INDEX] [--batch_size BATCH_SIZE] [--compute_type {float16,float32,int8}] [--output_dir OUTPUT_DIR] [--output_format {all,srt,vtt,txt,tsv,json,aud}] [--verbose VERBOSE] [--task {transcribe,translate}]
                [--language {af,am,ar,as,az,ba,be,bg,bn,bo,br,bs,ca,cs,cy,da,de,el,en,es,et,eu,fa,fi,fo,fr,gl,gu,ha,haw,he,hi,hr,ht,hu,hy,id,is,it,ja,jw,ka,kk,km,kn,ko,la,lb,ln,lo,lt,lv,mg,mi,mk,ml,mn,mr,ms,mt,my,ne,nl,nn,no,oc,pa,pl,ps,pt,ro,ru,sa,sd,si,sk,sl,sn,so,sq,sr,su,sv,sw,ta,te,tg,th,tk,tl,tr,tt,uk,ur,uz,vi,yi,yo,zh,Afrikaans,Albanian,Amharic,Arabic,Armenian,Assamese,Azerbaijani,Bashkir,Basque,Belarusian,Bengali,Bosnian,Breton,Bulgarian,Burmese,Castilian,Catalan,Chinese,Croatian,Czech,Danish,Dutch,English,Estonian,Faroese,Finnish,Flemish,French,Galician,Georgian,German,Greek,Gujarati,Haitian,Haitian Creole,Hausa,Hawaiian,Hebrew,Hindi,Hungarian,Icelandic,Indonesian,Italian,Japanese,Javanese,Kannada,Kazakh,Khmer,Korean,Lao,Latin,Latvian,Letzeburgesch,Lingala,Lithuanian,Luxembourgish,Macedonian,Malagasy,Malay,Malayalam,Maltese,Maori,Marathi,Moldavian,Moldovan,Mongolian,Myanmar,Nepali,Norwegian,Nynorsk,Occitan,Panjabi,Pashto,Persian,Polish,Portuguese,Punjabi,Pushto,Romanian,Russian,Sanskrit,Serbian,Shona,Sindhi,Sinhala,Sinhalese,Slovak,Slovenian,Somali,Spanish,Sundanese,Swahili,Swedish,Tagalog,Tajik,Tamil,Tatar,Telugu,Thai,Tibetan,Turkish,Turkmen,Ukrainian,Urdu,Uzbek,Valencian,Vietnamese,Welsh,Yiddish,Yoruba}]
                [--align_model ALIGN_MODEL] [--interpolate_method {nearest,linear,ignore}] [--no_align] [--return_char_alignments] [--vad_onset VAD_ONSET] [--vad_offset VAD_OFFSET] [--chunk_size CHUNK_SIZE] [--diarize] [--min_speakers MIN_SPEAKERS] [--max_speakers MAX_SPEAKERS] [--temperature TEMPERATURE] [--best_of BEST_OF]
                [--beam_size BEAM_SIZE] [--patience PATIENCE] [--length_penalty LENGTH_PENALTY] [--suppress_tokens SUPPRESS_TOKENS] [--suppress_numerals] [--initial_prompt INITIAL_PROMPT] [--condition_on_previous_text CONDITION_ON_PREVIOUS_TEXT] [--fp16 FP16]
                [--temperature_increment_on_fallback TEMPERATURE_INCREMENT_ON_FALLBACK] [--compression_ratio_threshold COMPRESSION_RATIO_THRESHOLD] [--logprob_threshold LOGPROB_THRESHOLD] [--no_speech_threshold NO_SPEECH_THRESHOLD] [--max_line_width MAX_LINE_WIDTH] [--max_line_count MAX_LINE_COUNT]
                [--highlight_words HIGHLIGHT_WORDS] [--segment_resolution {sentence,chunk}] [--threads THREADS] [--hf_token HF_TOKEN] [--print_progress PRINT_PROGRESS]
                audio [audio ...]
whisperx: error: unrecognized arguments: ./a2.wav

Try to change ./a2.wav to a2.wav?

Close #25


Potential replicator performance bottle neck

Description:
Batcher on Android always calls processNow() with delay which could be 0.5 or 1.0 sec. However, Batcher on iOS does not always call processNow() with delay. Especially documents count is equal or more than capacity, iOS version process immediately, but Android version still process with delay.
TODO: Need to investigate deeper.
iOS
- (void) processNow {
    _scheduled = false;
    NSArray* toProcess;
    NSUInteger count = _inbox.count;
    if (count == 0) {
        return;
    } else if (count <= _capacity) {
        toProcess = _inbox;
        _inbox = nil;
    } else {
        toProcess = [_inbox subarrayWithRange: NSMakeRange(0, _capacity)];
        [_inbox removeObjectsInRange: NSMakeRange(0, _capacity)];
        // There are more objects left, so schedule them Real Soon:
        [self scheduleWithDelay: 0.0];
    }

    __unused id retainSelf = self;  // Prevent _processor block from deallocating me (#508)

    _processor(toProcess);
    _lastProcessedTime = CFAbsoluteTimeGetCurrent();
}

- (void) queueObjects: (NSArray*)objects {
    if (objects.count == 0)
        return;
    if (!_inbox)
        _inbox = [[NSMutableArray alloc] init];
    [_inbox addObjectsFromArray: objects];

    if (_inbox.count < _capacity) {
        // Schedule the processing. To improve latency, if we haven't processed anything
        // in at least our delay time, rush these object(s) through ASAP:
        NSTimeInterval delay = _delay;
        if (CFAbsoluteTimeGetCurrent() - _lastProcessedTime >= _delay)
            delay = 0.0;
        [self scheduleWithDelay: delay];
    } else {
        // If inbox fills up, process it immediately:
        [self unschedule];
        [self processNow];
    }
}

Android
    private void processNow() {

        Log.v(Log.TAG_BATCHER, this + ": processNow() called");

        scheduled = false;
        List<T> toProcess = new ArrayList<T>();

        if (inbox == null || inbox.size() == 0) {
            Log.v(Log.TAG_BATCHER, this + ": processNow() called, but inbox is empty");
            return;
        } else if (inbox.size() <= capacity) {
            Log.v(Log.TAG_BATCHER, "%s: inbox.size() <= capacity, adding %d items from inbox -> toProcess", this, inbox.size());
            while (inbox.size() > 0) {
                try {
                    T t = inbox.take();
                    toProcess.add(t);
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
            }
        } else {
            Log.v(Log.TAG_BATCHER, "%s: processNow() called, inbox size: %d", this, inbox.size());
            int i = 0;
            while (inbox.size() > 0 && i < capacity) {
                try {
                    T t = inbox.take();
                    toProcess.add(t);
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
                i += 1;
            }
            Log.v(Log.TAG_BATCHER, "%s: inbox.size() > capacity, moving %d items from inbox -> toProcess array", this, toProcess.size());
        }

        if(toProcess != null && toProcess.size() > 0) {
            Log.v(Log.TAG_BATCHER, "%s: invoking processor %s with %d items ", this, processor, toProcess.size());
            processor.process(toProcess);
        } else {
            Log.v(Log.TAG_BATCHER, "%s: nothing to process", this);
        }
        lastProcessedTime = System.currentTimeMillis();

        // in case we ignored any schedule requests while processing, if
        // we have more items in inbox, lets schedule another processing attempt
        if (inbox.size() > 0) {
            Log.v(Log.TAG_BATCHER, "%s: finished processing a batch, but inbox size > 0: %d", this, inbox.size());
            int delayToUse = delayToUse();
            Log.v(Log.TAG_BATCHER, "%s: going to process with delay: %d", this, delayToUse);
            ScheduledFuture pendingFuture = workExecutor.schedule(processNowRunnable, delayToUse, TimeUnit.MILLISECONDS);
            pendingFutures.add(pendingFuture);
        }
    }

    public void queueObjects(List<T> objects) {

        Log.v(Log.TAG_BATCHER, "%s: queueObjects called with %d objects. Thread: %s", this, objects.size(), Thread.currentThread());
        if (objects.size() == 0) {
            return;
        }

        Log.v(Log.TAG_BATCHER, "%s: inbox size before adding objects: %d", this, inbox.size());

        inbox.addAll(objects);

        if (inbox.size() >= capacity) {
            Log.v(Log.TAG_BATCHER, "%s: calling scheduleWithDelay(0)", this);
            if (!isCurrentlyProcessing()) {
                // we only want to unschedule and re-schedule immediately if we
                // aren't currently processing, otherwise we'll end up in a situation where
                // the things currently processed get interrupted and re-scheduled,
                // and nothing ever gets done.  at the end of the processNow() method,
                // it will schedule tasks if more are still pending.
                unscheduleAllPending();
                scheduleWithDelay(0);
            }
        } else {
            int suggestedDelay = delayToUse();
            Log.v(Log.TAG_BATCHER, "%s: calling scheduleWithDelay(%d)", this, suggestedDelay);
            scheduleWithDelay(suggestedDelay);
        }
    }

Experimental results with using performance2/Test06_PullReplication.java and performance2/Test07_PushReplication.java
Condition: 1000 docs  1KB/doc
Push replication

w/o fix  => 4987.00ms
w fix => 2636.00ms

Pull replication

w/o fix  => 6118.00ms
w fix => 3619.00ms

Next Step: Run Unit Test and also test with CBL Java
Note from @pasin : https://github.com/couchbase/couchbase-lite-java/issues/25


Fix code execution vulnerability by switching to yaml.safe_load

Ref: https://github.com/yaml/pyyaml/issues/5

Merged, thanks - I'll update the pypi and git tags shortly


Lost bcc from my desktop wallet

dear supporter!
my wallet was lost huge amount of bcc automatically!
Could you track the recieved address that got bcc from my wallet
the address is:
8Js4RzjHXvd6FoGW5rwJDPAHVwaoaZcTtN
Help me!

If transaction or amount doesn’t show up in desktop wallet that doesn’t mean you have lost. Make sure your wallet is 100% sync with bitconnect blockchain.
Follow this guide to sync your wallet: https://bitconnect.co/bitconnect-learning/77/how-to-solve-synchronization-issue-on-the-desktop-wallet


it is possible to run grunt-lib-phantomjs with phantom 2.0.0?

hello, I need run jasmine tests against phantom 2.0.0 (due to IndexedDB support). grunt-contrib-jasmine 0.9.2 uses grunt-lib-phantomjs 0.7.1. I manually downloaded, build and replace the binary from:
.node_modules/grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/bin/phantomjs
to the newly compiled 2.0.0 version, but now when I run the specs it just print the initial message and stay opened, doing nothing:
Running "jasmine:test" (jasmine) task
Testing jasmine specs via PhantomJS
no errors, so I wonder what could be wrong with this approach.

I had to run grunt-lib-phantomjs with PhanthomJS 2.0 because of memory leak issues in the older version of PhantomJS.
It seems that at the moment PhantomJS 2.0 is not stable enough and I had some issues with running it in a Linux environment.
If you still want to use PhantomJS 2.0 you can use the following unofficial forks of grunt-contrib-jasmine-phantomjs and grunt-lib-phantomjs I created:
https://www.npmjs.com/package/grunt-contrib-jasmine-phantomjs2-unofficial
https://www.npmjs.com/package/grunt-lib-phantomjs2-unofficial

Hello,
PhantomJS 2.1 was released this week. Is it possible to upgrade? :)

https://www.npmjs.com/package/phantomjs

@flozz
se e #96

merged


add new server creds

        Not After : Apr 11 07:21:42 2024 GMT

would be good to start putting new clients on new creds anyway, to be able to obsolete old client creds

what needs to be done for this
make a new CA
make new server cert with CA
make new client certs with CA and server cert
deploy stacked certificate to server containing old and new CA
something something new and old server certs?
do we need to ensure that attrs on client certs match attrs on server cert or CA?
https://community.openvpn.net/openvpn/wiki/Using_Certificate_Chains


Events from axios not showing

I am fetching from axios a reservations array and pass it to data in the component. I can see the array filled on mutableEvents, but view/events array is empty.
To render the calendar in component I just use:
<vue-cal
    style="height: 500px"
    :events="reservations"
    ></vue-cal>

Where should I look to fix it?

Hi @Catmal,
That's interesting, can you show the format of the events you pass to vue-cal? what you have in reservations array.
You can console.log the events that vue-cal receive on view-change for instance (https://antoniandre.github.io/vue-cal/#ex--emitted-events):
<vue-cal
    style="height: 500px"
    :events="reservations"
    @view-change="logEvents"
    ></vue-cal>

// In your vue component:
methods: {
    logEvents({ events }) {
        console.log(events)
    }
}

Cheers.

If I log events as you suggested I get this. Also by using @view-change I was getting nothing so I used @ready instead.

This is data section:

This is how reservations are formatted. Title and content are strings and start and end are datetime (generated in RoR  with PosgreSQL).

This is the whole component:
<template>

RESERVATIONS

    <vue-cal
    style="height: 500px"
    :events="reservations"
    ></vue-cal>

</template>

HI @Catmal,
I can't find out which is the actual events array of your reservation from your screenshots.
Please just paste here one of the event as it is passed to vue-cal.
I am convinced that you don't respect the expected format of the event.
Please read the documentation again and try in this example to put your extracted events.
https://codepen.io/antoniandre/pen/rPzWOJ

The problem was indeed the format of start and end fields. Once I changed their format in the json the events showed up. Thanks for the help.

That's great, all good then!
Glad it's solved.


Refactor how constraint violations are handled

Refactor out the usage of exceptions as a means of returning information
about constraint violations.
Tablet.prepareMutationsForCommit threw an exception if constraint
violations were found in any mutations and the tablet server was
available for write. Information about the violations were pulled from
the exception for logging and any additional commit preparation. Using
the exception as a means of control flow is an anti-pattern.
Wrap the CommitSession in TabletMutationPrepAttempt that contains all
identified violations and non-violators and explicitly check and handle
any violations in the main body of pertinent functions in TabletServer.
TConstraintViolationException.java is no longer used. Delete it.
Fixes #824

I added some unit tests for TabletMutationPrepAttempt. If you like, I will also tackle adding some unit tests for the modifications to Tablet.prepareMutationsForCommit if they are not already covered by another test.

@keith-turner thanks for the changes, they've been merged.

Merged b9505a6a36a97dc9c029f6621648e83e8f867507


Multithreaded Migration and the implicit lock ?

I am asking this based on the article http://preshing.com/20160222/a-resizable-concurrent-map/ not based on the code. If you coordinate multithreaded migration with a lock, the whole thing can't be fully concurrent anymore (by definition ?).
Also you write: "In the current version of Linear, even get calls don’t read from the new table until the migration is complete." That sounds like a (b)lock to me, if your get API  does not want to return the redirect marker.
My current belief is, that you have to do things optimistically otherwise, you lose being concurrent.

Hi Nat,
The lock that's located in the Table is only used for DCLI (double-checked lazy initialization). It's taken when the TableMigration object has not been created or is not visible yet. We can't directly control when the TableMigration object becomes visible. It's up to the hardware. But once the TableMigration object is visible to all threads (via the jobCoordinator), threads can participate in the migration without taking that lock.
That said, I also use locks elsewhere. There's a (striped) lock in SimpleJobCoordinator::participate, for example. SimpleJobCoordinator is a general-purpose class that allows multiple threads to wait until work becomes available. The lock is used so that the thread can wait on a condition variable. I experimented with alternatives like Windows events and Linux futexes, but ended up settling on condition variables to keep it simple. Perhaps more scalability could be achieved if one of those alternatives is used.
Notice that I don't use the word "lock-free" on my blog much these days. I've been sticking with "concurrent". "Concurrent" is a different word from "lock-free" or "non-blocking". The way I think of it is that every operation (or class method) has a beginning and an end. If two threads are inside two method calls at the same time, they're concurrent. Simple as that. They might block internally, or they might not. Some people consider it a big priority to remain non-blocking, for interrupt handlers and stuff. I come from game development, so I don't care so much about the blocking property, especially if threads block only rarely. I just want my concurrent data structures to be scalable and fast. And Junction has performed decently in my limited benchmarking so far (but could likely be improved).
You're probably right that you have to do things optimistically if you want to remain non-blocking. I think that's why Cliff Click does so many things optimistically.
In the current version of Linear (and all Junction maps), yeah, get calls participate in the migration if they discover one in progress. Since I published Junction, I've started to think it would be better to let gets (not sets) pass through, without participating in the migration. It's kind of funny because I made it safe for this, but didn't actually try it yet.

Yes. In my head up to an hour ago  concurrent was synonymous for lock-free. I also didn't understand from the article, that get participates in the migration, which confused me. I thought it a bit strange to do so much work to make it almost lock-free, but then not to go the extra mile.
Since I needed a concurrent map like this just this weekend (but as you know in C), I stole the ideas and wrote it in C. As I wrote it optimistically, I didn't need a lock.   (My get also migrates BTW)
In the end the hashtable turns out to be wait-free. On the negative side, there can be some superflous but ephemeral mallocs. (Actually, coming to think of it, I could probably mitigate this by looking ahead if the CAS is known to fail)
The structure is similiar to yours, there is an active "storage" and one waiting to be built.
struct mulle_concurrent_hashmap
{
   mulle_atomic_pointer_t   storage;
   mulle_atomic_pointer_t   next_storage;
   struct mulle_allocator   *allocator;
};

Here is a the migration code. The actual copying of the hash table entries in _mulle_concurrent_hashmapstorage_copy is probably exactly the same as yours.
static int  _mulle_concurrent_hashmap_migrate_storage( struct mulle_concurrent_hashmap *map,
                                                       struct mulle_concurrent_hashmapstorage *p)
{
   struct mulle_concurrent_hashmapstorage   *q;
   struct mulle_concurrent_hashmapstorage   *alloced;
   struct mulle_concurrent_hashmapstorage   *previous;

   assert( p);

   // acquire new storage
   alloced = _mulle_concurrent_alloc_hashmapstorage( (p->mask + 1) * 2, map->allocator);
   if( ! alloced)
      return( -1);

   // make this the next world, assume that's still set to 'p' (SIC)
   q = __mulle_atomic_pointer_compare_and_swap( &map->next_storage, alloced, p);
   if( q != p)
   {
      // someone else produced a next world, use that and get rid of 'alloced'
      _mulle_allocator_free( map->allocator, alloced);  // ABA!!
      alloced = NULL;
   }
   else
      q = alloced;

   // this thread can partake in copying
   _mulle_concurrent_hashmapstorage_copy( q, p);

   // now update world, giving it the same value as 'next_world'
   previous = __mulle_atomic_pointer_compare_and_swap( &map->storage, q, p);

   // ok, if we succeed free old, if we fail alloced is
   // already gone. this must be an ABA free (use mulle_aba as allocator)
   if( previous == p)
      _mulle_allocator_free( map->allocator, previous); // ABA!!

   return( 0);
}

The two "tricks" here are:

at one point of time you acquire 'p'. Then you find out, that you need to migrate. You keep it around until you have migrated. If it's still valid in the end, then the migration is complete. Otherwise you abort the migration and try anew.
the next_world can only be changed, if it's the old world so to speak.

That's pretty cool Nat. Glad Junction could serve as inspiration. It looks like you always double the size of the destination table. In doing so, I think you sidestep a couple of issues. One is the possibility of overflowing the destination table during migration. Junction deals with that by supporting multiple source tables and adding the old source and old destination as new sources.
You planning to publish it?

If you want, you can have the code (and possible put it into junction). It will be part of my Objective-C runtime, which will get released eventually (BSD license), but when I don't really know.


87 feat add more address types

feat: Adding new address types;

Upgrading the @ensdomains/address-encoder to v1.1.2;
Adding new address fields (BTC, OPT, ARB1, MATIC);
Editing setAddr parameters to decode all addresses, including BTC;
Adding new coins in the getEnsDomainsData function(BTC, OPT, ARB1, MATIC);

@lgahdl and @eduramme can you help me understand how we can make this ensData.ts file cleaner?


Please reexport sonic_rs::value::RawValue

Is your feature request related to a problem? Please describe.
I use serde_json as alias name for sonic-rs so I don't need to modified rs code
#serde_json = { version = "1.0.108", features = ["raw_value"] }
serde_json = { version = "0.2", package = "sonic-rs" }

but I get error
error[E0412]: cannot find type `RawValue` in module `serde_json::value`
  --> src/main.rs:86:41
   |
86 |     data: Option<&'a serde_json::value::RawValue>,
   |                                         ^^^^^^^^ not found in `serde_json::value`
   |
help: consider importing this struct
   |
1  + use serde_json::RawValue;
   |
help: if you import `RawValue`, refer to it directly
   |
86 -     data: Option<&'a serde_json::value::RawValue>,
86 +     data: Option<&'a RawValue>,

Describe the solution you'd like
can sonic-rs export RawValue to both sonic-rs::RawValue and sonic-rs::value::RawValue path?
Describe alternatives you've considered
Additional context

thanks, we will re-export it

sonic-rs 0.3.0 released and removed RawValue.
We can replace &'a RawValue with LazyValue<'a>, just as examples: https://github.com/cloudwego/sonic-rs/blob/main/examples/lazyvalue.rs


Add initial Ztunnel Grafana dashboard

This introduces a new dashboard, but also a new config-as-code mechanism
for building dashboards. I would like all dashboards to be built this
way long term, but don't expect a mass migration in the short term.
Part of https://github.com/istio/istio/issues/50127

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
98a49998e8999ef4e4bbf52661974a34b9f795e1
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
98a49998e8999ef4e4bbf52661974a34b9f795e1
link
true
/test lint

gencheck_istio
ffbc6a2a43a5c6a66cccacd4bcb4d223fb6d34f2
link
true
/test gencheck

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-test_istio
b14967e338d3c480f281a911936b53c12ea9d005
link
true
/test release-test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-test_istio
0306a3f612c965f2e1a5bb0fa14cd1e4cacc1c38
link
true
/test release-test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-test_istio
7ad68b8e07942730d454055a27e15c4b5cf7ff55
link
true
/test release-test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-test_istio
0533595bfed3f25892e60def7ce113056fc05efa
link
true
/test release-test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-test_istio
0533595bfed3f25892e60def7ce113056fc05efa
link
true
/test release-test

integ-pilot-istiodremote_istio
6f2d3f43ae333fe7ea55c9f1772e6361e13e59f2
link
true
/test integ-pilot-istiodremote

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-test_istio
0533595bfed3f25892e60def7ce113056fc05efa
link
true
/test release-test

integ-pilot-istiodremote_istio
6f2d3f43ae333fe7ea55c9f1772e6361e13e59f2
link
true
/test integ-pilot-istiodremote

integ-pilot-istiodremote-mc_istio
6f2d3f43ae333fe7ea55c9f1772e6361e13e59f2
link
true
/test integ-pilot-istiodremote-mc

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.