nimble/ll: Certification fixes

lgtm so far :+1:

Lets review this part and try to merge it soon. Last patch is quite important.

fixed

in review of nimble/ll: Fix getting RPA from advertising instance It turns out we  could incorrectly set TxAdd flag under some circumstances. This is fixed and also we need to fix same  issue in two other places (c10b592, aab9795)


WIP: Add an MQTT Alert Handler

Required for all non-trivial PRs

[ ] Rebased/mergable
[ ] Tests pass
[ ] CHANGELOG.md updated
[X] Sign CLA (if not already signed)

Connect #1151
Required only if applicable
You can erase any checkboxes below this note if they are not applicable to your Pull Request.

[ ] TICKscript Spec updated

@nathanielc okay, I think this is ready for another look (I see that I need to rebase again though). I moved Topic into the argument for mqtt() at your suggestion. However, I needed to add two more parameters for QoS and Retained, since the more I read, the more it made sense to control those on an alert by alert basis.
Regarding testing, I've come up with three options:
I read through the spec a bit, and I think I can put together a minimal broker that handles connections and published messages for a QoS of 0, which is what we'd need for a minimal test.
Alternatively, we could wrap the client in an interface and substitute a mock. It seems like that should be possible, but I'm not quite sure how to do the substitution with the existing test machinery that's in place. I think this option is the best, since we're not testing that the MQTT client is implemented correctly.
If we don't want to go that route, we could install Mosquitto in the test containers... but that requires everyone that works on Kapacitor to have a broker running if they want to run the tests, which is kind of 💩 .

@nathanielc This should be ready for another look, if you get a chance

@timraymond  I am not quite done (still tracking down one bug), but I have added a commit that makes it so you have multiple mqtt's configured. I am also adding tests which are not quite passing yet but I figured I push this up before I disappear for the weekend. Take a look when you have a sec, no rush.

@timraymond All tests are passing and I have rebased and squashed commits. If it looks good to you then we can merge it.

@timraymond Can you add a CHANGELOG entry before merging?


Warn if factory constructor does not contain a return  statement

I just accidentally defined a factory constructor that created but failed to return an object:
  factory ParameterElementImpl.synthetic(String name, DartType type,
      ParameterKind kind) {
    ParameterElementImpl element = new ParameterElementImpl(name, -1);
    element.type = type;
    element.synthetic = true;
    element.parameterKind = kind;
  }

It would be great to get a warning if there is no return, or if the return doesn't have a value.

Dupe of #17121.


Font Ligatures

Hello,

VSCode Version: 1.20.1
OS Version: Windows 10
How can i activate font ligatures ?
In my font list, i have yet "Fira Code".
In the settings, i do this :
{
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
"editor.fontSize": 18
}
It does'nt work.
Best regards

Did you install Fira Code in your computer?

Instruction how to install Fira code can be found here: https://github.com/tonsky/FiraCode/wiki. The settings you list, if those are your user settings, seem correct.


added method: search

The search method was integrated into v1.2.1. If there is still interest in the other methods in this PR, let's talk through my comments above. Thanks for adding search to the mix!


Jest fails with storyshot webpack 4 and storybook alpha

Bug or support request summary
What did you expect to happen?
After running Jest with Storyshot add-on correctly installed, my test should pass and snapshot should be generated.
What happened instead?
After running Jest, I get this error Cannot find module '@storybook/react/dist/server/babel_config' from 'config-loader.js'

Steps to reproduce

Given the list of packages below
Install storybook-react and needed dependencies
Run jest

Please specify which version of Storybook and optionally any affected addons that you're running
package.json :
"@storybook/addon-actions": "^3.4.8",
"@storybook/addon-links": "^3.4.8",
"@storybook/addon-storyshots": "^3.4.10",
"@storybook/addons": "^3.4.8",
"@storybook/cli": "^3.4.10",
"@storybook/react": "^4.0.0-alpha.16",

"webpack": "^4.16.3",
"webpack-cli": "^3.1.0",
"webpack-dev-server": "^3.1.5",
"webpack-merge": "^4.1.3"

jest.config.js :
const registerRequireContextHook = require('babel-plugin-require-context-hook/register')
registerRequireContextHook()

module.exports = {
  // Fix JSDOM bug : See issue https://github.com/facebook/jest/issues/6766
  testURL: 'http://localhost/'
}

.babelrc :
{
  "presets": [
    ["env",
    {
      "targets": {
        "browsers": ["last 5 Chrome versions"]
      }
    }],
    "react",
    "stage-2"
  ],
  "env": {
    "test": {
      "plugins": ["require-context-hook"]
    }
  }
}

Try to upgrade @storybook/addon-storyshots to ^4.0.0-alpha.16.

I'm experiencing this issue on alpha.20.

Better have all the SB deps ofvthe same version. Do you @mAAdhaTTah. ?

I was also getting that error, but after updating it changed to the error below:
 FAIL  src/storyshots.test.js
  ● Test suite failed to run

    TypeError: Cannot read property 'getElementById' of undefined

      at Object.<anonymous> (node_modules/@storybook/react/dist/client/preview/render.js:42:31)
      at Object.<anonymous> (node_modules/@storybook/react/dist/client/preview/index.js:14:38)
      at Object.<anonymous> (node_modules/@storybook/react/dist/client/index.js:49:16)

This is the storyshot file:
import initStoryshots from '@storybook/addon-storyshots'

initStoryshots()

And the config.js
import React from 'react'
import { configure, addDecorator } from '@storybook/react'
import { withConsole } from '@storybook/addon-console'
import { withTests } from '@storybook/addon-jest'
import { host } from 'storybook-host'
import results from '../.jest-test-results.json'
import '../src/index.css'

addDecorator((storyFn, context) => withConsole()(storyFn)(context))
addDecorator(withTests({ results }))
addDecorator(host({
    align: 'center top',
    height: '80%',
    width: '80%',
  }))

const req = require.context('components', true, /.stories.js$/)

function loadStories() {
  req.keys().forEach((filename) => req(filename))
}

configure(loadStories, module)

These are the versions used by the project:
  "devDependencies": {
    "@babel/core": "^7.0.1",
    "@babel/runtime": "^7.0.0",
    "@storybook/addon-actions": "^4.0.0-alpha.21",
    "@storybook/addon-console": "^1.0.4",
    "@storybook/addon-jest": "^4.0.0-alpha.21",
    "@storybook/addon-links": "^4.0.0-alpha.21",
    "@storybook/addon-storyshots": "^4.0.0-alpha.21",
    "@storybook/addon-viewport": "^4.0.0-alpha.21",
    "@storybook/addons": "^4.0.0-alpha.21",
    "@storybook/react": "^4.0.0-alpha.21",
    "babel-core": "^7.0.0-bridge.0",
    "babel-loader": "^8.0.2",
    "babel-plugin-require-context-hook": "^1.0.0",
    "babel-preset-react": "^7.0.0-beta.3",
    "emotion": "^9.2.8",
    "enzyme": "^3.6.0",
    "enzyme-adapter-react-16": "^1.5.0",
    "enzyme-to-json": "^3.3.4",
    "eslint": "^5.5.0",
    "eslint-config-universe": "^2.0.0-alpha.0",
    "file": "^0.2.2",
    "flow-bin": "^0.80.0",
    "husky": "^1.0.0-rc.14",
    "jest": "^22.0.0",
    "jest-enzyme": "^6.0.4",
    "jest-expo": "30.0.0",
    "jest-localstorage-mock": "^2.2.0",
    "prettier": "^1.14.2",
    "react-error-overlay": "^4.0.1",
    "react-test-renderer": "^16.5.0",
    "require-context": "bojidar-bg/require-context",
    "storybook-host": "^5.0.0",
    "stylus-supremacy": "^2.12.3",
    "system": "^2.0.1"
  },

custom .babelrc that is inside the .storybook folder:
{
  "presets": ["react-app"],
  "env": {
    "test": {
      "plugins": ["require-context-hook"]
    }
  }
}

And the setupTest.js:
import React from 'react'
import enzyme from 'enzyme'
import Adapter from 'enzyme-adapter-react-16'
import 'jest-enzyme'
import 'jest-localstorage-mock'
import renderer from 'react-test-renderer'

import registerRequireContextHook from 'babel-plugin-require-context-hook/register'
registerRequireContextHook()

process.env.NODE_ENV = 'development'

enzyme.configure({ adapter: new Adapter() })

global.window = global;
window.addEventListener = () => {};
window.requestAnimationFrame = () => {
  throw new Error('requestAnimationFrame is not supported in Node');
};

BTW, it's an CRA that was not ejected.

The line your error is coming from is this:
var rootEl = _global.document.getElementById('root');

Looks like you don't have a document on a window...
Also, this line in your setupTest.js looks suspicious:
global.window = global;

Yeah, it was a version mismatch issue in this case.

@mAAdhaTTah sorry, would you elaborate what version is worng and what it should be? I am also still having the same issue
@igor-dv maybe should leave it open?

All of your @storybook packages need to be on the same rc version. You have "@storybook/addon-storyshots": "^3.4.11", which is what's causing your issue.

fixed thanks! @mAAdhaTTah


server/plugin: close DB on exit

Summary
Closing the DB per https://github.com/mattermost/mattermost-plugin-playbooks/pull/1895#issuecomment-1980174829

Codecov Report
Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 11.15%. Comparing base (f616f36) to head (fe12f58).

Files
Patch %
Lines

server/plugin.go
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #17      +/-   ##
==========================================
- Coverage   11.16%   11.15%   -0.02%
==========================================
  Files           9        9
  Lines         788      789       +1
==========================================
  Hits           88       88
- Misses        685      686       +1
  Partials       15       15

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Allow {{#or}} to accept variable arguments

Unable to generate new docs though.
https://github.com/assemble/handlebars-helpers/issues/203

I'm just wondering what the review process is for pull requests? I'm using my personal fork in my projects at the moment but it would be nice to use the NPM version

@spacedawwwg I just invited you to be a collab.

you also have publish rights on npm now

Unable to generate new docs though.

don't worry about docs. I can take care of that until we release the next version of verb. thx though

Great! If you want to try building the docs, you can do:
$ npm cache clean && npm i -g verbose/verb#dev verb-generate-readme && verb

If that fails, I can build it

Worked a treat!

On 15 Jul 2016, at 14:59, Jon Schlinkert<EMAIL_ADDRESS>wrote:
Great! If you want to try building the docs, you can do:
$ npm cache clean && npm i -g verbose/verb#dev verb-generate-readme && verb
If that fails, I can build it
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/assemble/handlebars-helpers/pull/219#issuecomment-232958068, or mute the thread https://github.com/notifications/unsubscribe-auth/ABnQ22ieVU_UjDybZIayV2O2zlx-Wdhlks5qV5IvgaJpZM4I98GH.

you're in business!

once you get verb working, it's addictive lol

I really like it! Just need to figure out how best to comment/document 'var_args' using it (not sure i've documented/commented it correctly yet)


StatefulSet diego-cell failed on CaaSP-4.*

Describe the bug
StatefulSet diego-cell fails on CaaSP4
To Reproduce
Install kubecf-2.5.3 onto SUSE CaaSP-4.*
Expected behavior
All pods incl. diego-cell do apply/start.
Environment

SUSE CaaSP-4.2 and CaaSP4.5

Additional context
kubectl get events
5m31s       Warning   FailedCreate statefulset/diego-cell create Pod diego-cell-0 in StatefulSet diego-cell failed error:
pods "diego-cell-0" is forbidden: unable to validate against any pod security policy:
[spec.initContainers[12].securityContext.privileged: Invalid value: true: Privileged containers are not allowed
spec.initContainers[26].securityContext.privileged: Invalid value: true: Privileged containers are not allowed
pod.metadata.annotations[container.apparmor.security.beta.kubernetes.io/bpm-pre-start-rep]: Forbidden: unconfined is not an
allowed profile. Allowed values: "runtime/default" spec.initContainers[27].securityContext.privileged: Invalid value: true:
Privileged containers are not allowed spec.containers[0].securityContext.privileged: Invalid value: true: Privileged containers are
not allowed pod.metadata.annotations[container.apparmor.security.beta.kubernetes.io/rep-rep]: Forbidden: unconfined is not
allowed profile. Allowed values: "runtime/default" spec.containers[1].securityContext.privileged: Invalid value: true: Privileged
containers are not allowed spec.containers[3].securityContext.capabilities.add: Invalid value: "NET_RAW": capability may not be
added spec.containers[3].securityContext.capabilities.add: Invalid value: "NET_ADMIN": capability may not be added
spec.containers[4].securityContext.capabilities.add: Invalid value: "NET_RAW": capability may not be added
spec.containers[4].securityContext.capabilities.add: Invalid value: "NET_ADMIN": capability may not be added
spec.containers[5].securityContext.capabilities.add: Invalid value: "NET_ADMIN": capability may not be added
spec.containers[3].securityContext.capabilities.add: Invalid value: "NET_RAW": capability may not be added
spec.containers[3].securityContext.capabilities.add: Invalid value: "NET_ADMIN": capability may not be added
spec.containers[4].securityContext.capabilities.add: Invalid value: "NET_RAW": capability may not be added
spec.containers[4].securityContext.capabilities.add: Invalid value: "NET_ADMIN": capability may not be added
spec.containers[5].securityContext.capabilities.add: Invalid value: "NET_ADMIN": capability may not be added]

Just to clarify - this is not fixed with kubecf-2.5.4. It's broken, still.

I've reproduced the problem with CaaSP 4.2 using vagrant-caasp and the current kubecf master branch.
A simplified repro is creating this stateful set:
apiVersion: apps/v1
kind: StatefulSet
metadata:
  name: pause
spec:
  serviceName: pause
  replicas: 1
  selector:
    matchLabels:
      app: pause
  template:
    metadata:
      labels:
        app: pause
    spec:
      serviceAccountName: default
      containers:
      - name: pause
        image: k8s.gcr.io/pause
        securityContext:
          privileged: true
          capabilities:
            add:
            - NET_RAW
            - NET_ADMIN


[PRODX-23053]: added proxies and licenses counts for synced namespaced

@stefcameron Should we show row for entity count if count === 0 ?

@stefcameron Should we show row for entity count if count === 0 ?

Yes. My thinking is that by showing the full list with counts, even at 0, but only for synced projects, it's now easy for the customer to get an overview of how many resources of each type are synced into the Lens Catalog for a given project.


update to findProgramAddressSync

Are there unit test scripts available ?
These changes are untested.
Changes
Checklist

[ ] UAT
[ ] Passes final QA checks

Thanks for the contribution. I just added a bunch of changes (See https://github.com/staratlasmeta/factory/pull/147). Can you rebase your branch to latest develop? I will have a look then. Happy to merge it.


using nucleo STM32L0

Hi!
I'm trying to flash nucleo stm32l053 with thetool but it fails.
I modified several files for this. I considered l053 as a L152 with some few changes like in stlink_common.h:
#define STM32_CHIPID_L053_R8 0x417
    {
        .chip_id = STM32_CHIPID_L053_R8,
                .description = "L053R8",
                .flash_size_reg = 0x1ff8007c,
                .flash_pagesize = 0x80,
                .sram_size = 0x2000, /*Not completely clear if there are some with 32K*/
                .bootrom_base = 0x1ff00000,
                .bootrom_size = 0x1000
    },

and also in stlink_common.c to ad L053 cpuid support.
Here is the message I have got:
2014-06-06T17:20:17 INFO src/stlink-common.c: Loading device parameters....
2014-06-06T17:20:17 INFO src/stlink-common.c: Device connected is: L053R8, id 0x10086417
2014-06-06T17:20:17 INFO src/stlink-common.c: SRAM size: 0x2000 bytes (8 KiB), Flash: 0x10000 bytes (64 KiB) in pages of 128 bytes
2014-06-06T17:20:17 INFO src/stlink-common.c: Attempting to write 9849 (0x2679) bytes to stm32 address: 134217728 (0x8000000)
2014-06-06T17:20:17 WARN src/stlink-common.c: unaligned len 0x2679 -- padding with zero
Flash page at addr: 0x08002600 erased
2014-06-06T17:20:18 INFO src/stlink-common.c: Finished erasing 77 pages of 128 (0x80) bytes
2014-06-06T17:20:18 INFO src/stlink-common.c: Starting Half page flash write for STM32L core id
2014-06-06T17:20:18 INFO src/stlink-common.c: Successfully loaded flash loader in sram
2014-06-06T17:20:18 ERROR src/stlink-common.c: lch target 0x8000000,fl->buf_addr  0x20000014, count 32, fl->loader_addr 0x20000000
2014-06-06T17:20:20 ERROR src/stlink-common.c: flash loader run error
2014-06-06T17:20:20 WARN src/stlink-common.c: l1_run_flash_loader(0x8000000) failed! == -1
2014-06-06T17:20:20 WARN src/stlink-common.c:
write_half_pages failed == -1
75/ 76 pages written
2014-06-06T17:20:21 INFO src/stlink-common.c: Starting verification of write complete
2014-06-06T17:20:21 ERROR src/stlink-common.c: Verification of flash failed at offset: 0
stlink_fwrite_flash() == -1
Looks like we cannot reset the cpu...and so we cannot flash it.
Do you have an idea where my problem coul come from?
Thanks
Ludovic

Hello, I get this error message also. Any idea on how to fix it?

Flash loaders have been reworked and should be fixed in v1.2.0 but there where still some issue left so best is to use currently from master if it doesn't work. When the problem still remains, feel free to open a new issue.


Sync published with master

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Deploy preview for docsdocker ready!
Built with commit ec0bcc68701404850712d8da56678afda15f012b
https://deploy-preview-8488--docsdocker.netlify.com


k8s: Fix CRDs Go code generation

Commit a9c509f1f7c738bbeb1565f83eb9da70941a22ba replaced execution of deprecated scripts with
k8s.io/code-generator/kube_codegen.sh. However, kube_codegen.sh doesn't generate
code on its own, but rather defines helper functions. To migrate to
kube_codegen.sh we'll need to call these functions from another script.
Additionally, it'll change with version 1.30 of k8s libraries - that's why I
opted to simply revert the change for now. When k8s libraries are updated to
1.30, the code generation scripts should be updated too.

I can create an issue so that we don't forget to update, to note that it's marked as deprecated if you want :)

@mtardy sure, feel free to open an issue. K8s dependencies are generally updated together with cilium/cilium, right?


FHIR Transcoder test cleanup

This PR ...
If you are suggesting a fix for a currently exploitable issue, please disclose the issue to the prime-reportstream team directly outside of GitHub instead of filing a PR, so we may immediately patch the affected systems before a disclosure. See SECURITY.md/Reporting a Vulnerability for more information.
Test Steps:

These are tests, they are just cleanup, this PR passing is really all that is needed

Changes
Just did some Kotlin cleanup in the tests
Checklist
Testing

[x] Tested locally?
[x] Ran ./prime test or ./gradlew testSmoke against local Docker ReportStream container?
[ ] (For Changes to /frontend-react/...) Ran npm run lint:write?
[x] Added tests?

Process

[ ] Are there licensing issues with any new dependencies introduced?
[ ] Includes a summary of what a code reviewer should test/verify?
[ ] Updated the release notes?
[ ] Database changes are submitted as a separate PR?
[ ] DevOps team has been notified if PR requires ops support?

Linked Issues

Fixes #issue 8249

To Be Done
Create GitHub issues to track the work remaining, if any

#issue

Specific Security-related subjects a reviewer should pay specific attention to

Does this PR introduce new endpoints? No

new endpoint A
new endpoint B

Does this PR include changes in authentication and/or authorization of existing endpoints? No
Does this change introduce new dependencies that need vetting? No
Does this change require changes to our infrastructure? No
Does logging contain sensitive data? No
Does this PR include or remove any sensitive information itself? No

If you answered 'yes' to any of the questions above, conduct a detailed Review that addresses at least:

What are the potential security threats and mitigations? Please list the STRIDE threats and how they are mitigated

Spoofing (faking authenticity)

Threat T, which could be achieved by A, is mitigated by M

Tampering (influence or sabotage the integrity of information, data, or system)
Repudiation (the ability to dispute the origin or originator of an action)
Information disclosure (data made available to entities who should not have it)
Denial of service (make a resource unavailable)
Elevation of Privilege (reduce restrictions that apply or gain privileges one should not have)

Have you ensured logging does not contain sensitive data?
Have you received any additional approvals needed for this change?

You need to fill out the PR description properly. Change the test to say just run the unit tests or verify the build passes.


Bug in the height of the text input when it is multiline

Description
When specifying the "multiline" and "numberOfLines" properties, the height of the text input acts differently in the new and old architecture.
In the new architecture the height remains the same as if the properties were not specified, while in the old architecture the height increases.
Steps to reproduce

Clone the sample repository.
Enable or disable the new architecture.
Run "yarn android".
Display the text input on the device.

React Native Version
0.76.3
Affected Platforms
Runtime - Android
Areas
Fabric - The New Renderer
Output of npx react-native info
System:
  OS: Windows 11 10.0.22631
  CPU: "(12) x64 AMD Ryzen 5 5600G with Radeon Graphics         "
  Memory: 4.79 GB / 29.79 GB
Binaries:
  Node:
    version: 20.14.0
    path: ~\AppData\Local\Temp\yarn--1732581775916-0.8361455801386266\node.CMD
  Yarn:
    version: 1.22.22
    path: ~\AppData\Local\Temp\yarn--1732581775916-0.8361455801386266\yarn.CMD
  npm:
    version: 10.7.0
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK:
    API Levels:
      - "28"
      - "30"
      - "33"
      - "34"
      - "35"
    Build Tools:
      - 30.0.3
      - 33.0.0
      - 34.0.0
      - 35.0.0
      - 35.0.0
    System Images:
      - android-23 | Google APIs Intel x86 Atom
      - android-29 | Google Play Intel x86 Atom
      - android-34 | Google Play Intel x86_64 Atom
    Android NDK: Not Found
  Windows SDK:
    AllowDevelopmentWithoutDevLicense: Enabled
    Versions:
      - 10.0.19041.0
      - 10.0.22000.0
      - 10.0.22621.0
IDEs:
  Android Studio: AI-241.18034.62.2411.12169540
  Visual Studio:
    - 17.10.34928.147 (Visual Studio Community 2022)
Languages:
  Java: 20.0.2
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli":
    installed: 15.0.1
    wanted: 15.0.1
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.76.3
    wanted: 0.76.3
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Stacktrace or Logs
It is not necessary, the application does not crash or fail.

Reproducer
https://github.com/cervisebas/react-native-bug-text-input
Screenshots and Videos
New Architecture

Old Architecture

Duplicate of this one: https://github.com/facebook/react-native/issues/46813


camelcase？

any plan to add camelcase support?

Yep. I'll add a plugin interface and implement a camelCase conversion as a plugin.

However, the conversion will be done for the SQL as well as the return value, as they are defined using the same interfaces. For example, if you have a table person_table with columns id and first_name, the conversion would work like this:
interface Person {
  id: string
  firstName: string
}

interface Database {
  personTable: Person
}

const db = new Kysely<Database>(...)

await db.selectFrom('personTable').select('id').where('firstName', '=', 'Sami')

So EVERYTHING needs to be converted to camelCase by the plugin, or else the type system won't work. Kysely won't allow the return value column names to be different from the ones used in the queries.

what's the generated sql for this query?
await db.selectFrom('personTable').select('id').where('firstName', '=', 'Sami')

will the above query build to this sql?
select id from person_table where first_name = 'Sami'

Yes.

that would be nice!

@xiaoyu-tamu I just added the first version of the plugin interface and a plugin called CamelCasePlugin

will try it later today.

Hi, @koskimas
I just tried it and it works as expected


Valhalla Must Use the Provided Timestamps

I'm not sure how we overlooked this, I feel like in an earlier version we were seeing changes when changing the timestamps on the input. In any case, to get the desired behavior, meaning we see elapsed time on the nodes of the response as a function of the time that passed between successive input locations, we need to tell Valhalla that that is what we want: https://github.com/valhalla/valhalla/blob/master/docs/api/map-matching/api-reference.md#costing-models-and-other-options
I know this is unintuitive, it seems like it should be default behavior but I can no longer remember the hysterical raisins that caused this to be. Seems like the first revision must have defaulted to costing time or not had support for timestamps at all and so rather than break that we chose to keep it as the default? Though I could totally see an argument that adding the time field to the input should trigger this behavior (if the time input is good).
Anyway, without this we are simply getting back the values that we already have stored in the graph for estimated speed which isnt what we want.

So we actually WERE pulling the estimated speeds out through Valhalla? 🤯

hahah yep


sidecar: Upload blocks from oldest

Ref: https://cloud-native.slack.com/archives/CK5RSSC10/p1571650833206600
It can happen during long network partition that uploaded blocks in the wrong order can cause compactor to miss one block during compaction. This results in overlapping blocks - compactor halts in that case. Read path works.
AC:

Sort local blocks based on min/max time
Optional: Add repair for verifier with vertical compaction - this will allow manual repair for those case (the alternative is to change a bit different meta to the overlapped block OR remove it)

Just to add some example:
in our case, we have 2 blocks: Block №1 (level=2) and block №2 (level=1) - compactor failed with error that these blocks overlapped.
Time ranges:
Block №1:
17-10-2019 00:00:00
17-10-2019 08:00:00

Block №2
17-10-2019 04:56:24
17-10-2019 06:00:00

Defenitelly, block №2 should be included to block №1, but it's not.
Root cause for compactor
Block №1 was compacted at 11:47:01, block №2 was uploaded at 14:36:12
Probably, root cause could be related with such errors (it was during 10min):
"level=warn ts=2019-10-17T08:50:25.558160695Z caller=shipper.go:333 msg="updating meta file failed" err="write /prometheus/thanos.shipper.json.tmp: no space left on device""

I'd like to work on this.


add DELIMITER to split env and uselessheader

sorry for last bad pull request, I add DELIMITER to split env and useless header for your last comment.

LGTM once you resolve above comments.


Cannot read property 'document' of undefined

Cannot read property 'document' of undefined: TypeError: Cannot read property 'document' of undefined
property 'document' of undefined
    at C:\Users\username\.vscode\extensions\s3ramsay.vscode-gtm-0.0.3\out\src\extension.js:48:88

VS Code v1.4

I think this is an issue with the VS.CODE plugin. Would you mind logging the issue there? The repository can be found here:
https://github.com/nexus-uw/vscode-gtm

Yes, you alright, @gradymke thanks


Unittest Failures: VaapiEncoderJpegTest/SimpleDataTest.Encode/*

On hardware that supports JPEG encode (e.g. SKL+), the VaapiEncoderJpegTest/SimpleDataTest.Encode/* unittests fail due to YAMI_ENCODE_BUFFER_TOO_SMALL.  This issue was mentioned in the commit message (bd64504b8b63d2f8f2d95955cee4574787f99d24) that added these tests.
Execute:
$ ./encoder/unittest --gtest_filter=VaapiEncoderJpegTest/SimpleDataTest.Encode/*
Output:
Note: Google Test filter = VaapiEncoderJpegTest/SimpleDataTest.Encode/*
[==========] Running 3 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 3 tests from VaapiEncoderJpegTest/SimpleDataTest
[ RUN      ] VaapiEncoderJpegTest/SimpleDataTest.Encode/0
libva info: VA-API version 0.39.3
libva info: va_getDriverName() returns 0
libva info: Trying to open /home/uartie/Work/workspace/media/install/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
vaapiencoder_jpeg_unittest.cpp:310: Failure
Value of: encoder.getOutput(&output, false)
  Actual: 4
Expected: YAMI_SUCCESS
Which is: 0
[  FAILED  ] VaapiEncoderJpegTest/SimpleDataTest.Encode/0, where GetParam() = "NV12" (3 ms)
[ RUN      ] VaapiEncoderJpegTest/SimpleDataTest.Encode/1
libva info: VA-API version 0.39.3
libva info: va_getDriverName() returns 0
libva info: Trying to open /home/uartie/Work/workspace/media/install/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
vaapiencoder_jpeg_unittest.cpp:310: Failure
Value of: encoder.getOutput(&output, false)
  Actual: 4
Expected: YAMI_SUCCESS
Which is: 0
[  FAILED  ] VaapiEncoderJpegTest/SimpleDataTest.Encode/1, where GetParam() = "I420" (2 ms)
[ RUN      ] VaapiEncoderJpegTest/SimpleDataTest.Encode/2
libva info: VA-API version 0.39.3
libva info: va_getDriverName() returns 0
libva info: Trying to open /home/uartie/Work/workspace/media/install/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
vaapiencoder_jpeg_unittest.cpp:310: Failure
Value of: encoder.getOutput(&output, false)
  Actual: 4
Expected: YAMI_SUCCESS
Which is: 0
[  FAILED  ] VaapiEncoderJpegTest/SimpleDataTest.Encode/2, where GetParam() = "YUY2" (3 ms)
[----------] 3 tests from VaapiEncoderJpegTest/SimpleDataTest (8 ms total)

[----------] Global test environment tear-down
[==========] 3 tests from 1 test case ran. (8 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 3 tests, listed below:
[  FAILED  ] VaapiEncoderJpegTest/SimpleDataTest.Encode/0, where GetParam() = "NV12"
[  FAILED  ] VaapiEncoderJpegTest/SimpleDataTest.Encode/1, where GetParam() = "I420"
[  FAILED  ] VaapiEncoderJpegTest/SimpleDataTest.Encode/2, where GetParam() = "YUY2"

The cause mentioned in bd64504:
...On appropriate HW, these tests currently fail because the
encoder does not report the correct max output size to the
client for sizes < 643 (w*h*3/2).  This needs to be fixed
in the encoder...

is a good hint.  643 is the exact size of the packed JPEG header.  Thus, the size of the header needs to be included in the max output size result.

Hi @uartie , we will check this after Q3 release

@wudping , Please help to verify this in skl+

okay, @xuguangxin

verify + 1


Add CharSequence support

Current coverage is 93.71%

Merging #41 into master will decrease coverage by -0.05% as of 7abcc31

@@            master     #41   diff @@
======================================
  Files           15      15
  Stmts          609     605     -4
  Branches       122     125     +3
  Methods          0       0
======================================
- Hit            571     567     -4
  Partial         19      19
  Missed          19      19

Review entire Coverage Diff as of 7abcc31

Powered by Codecov. Updated on successful CI builds.


[Bug] Feed is not automatically updated in time

For a while, my VRCX was able to refresh the feed in time, and even when my friends changed Avatars in Avatar world, VRCX was able to record all of their Avatars (at least I think all of them were recorded).
But in the recent time, my VRCX can't refresh the feed automatically in time (especially GPS and Avatar categories). It only refreshes when I manually click the "Refresh friends" button. At this time the time from the last Feed may be up to 20mins.

Seems like your web socket is failing to connect, clicking "Refresh friends" will attempt to reconnect but it looks like that didn't fix it. Open up the VRCX devtools window by pressing Ctrl + Shift + I then select the console tab and you should be able to see the error of it failing to connect there. Also if you are using a VPN you need to exclude both VRCX.exe and  CefSharp.BrowserSubprocess.exe.


feat: get white-list/black-list from configmap or a crd resource

Description
I would like to use the ingressroute to define our service, but our service is only for some clients, and every client has many different public IPs, if I set the white-list in the annotations, it will be a disaster for maintain the ingress!
so, I think ingress-controller get the white-list from configmap or a crd resouce, and set in the annotation like
k8s.apisix.apache.org/whitelist-source-range: configmap/white-list

that would be more friendly

I think you can just use the ip-restriction plugin.
You can define it through the ApisixPluginConfig resource, and then refer to it in the Ingress resource through plugin-config-name.

I think you can just use the ip-restriction plugin.
You can define it through the ApisixPluginConfig resource, and then refer to it in the Ingress resource through plugin-config-name.

thank you，I will try it.


URP Support

Can you update this to support URP? Its not so useful releasing tutorials for the old built in pipeline given that they have already said it will be deprecated, and that it is far less performant.
Please can you look at updating this to URP or provide basic steps on what is required to do that?

I'm exploring options for URP support, but there are problems related to recursive rendering that I haven't been able to figure out. Upgrading the project to support URP is likely to take a long time, as it's something I'm likely to release as a separate project alongside other changes, features and fixes. Unity's own tutorial on portals in Shader Graph might give you something to go on, if you're looking for just basic steps: https://www.youtube.com/watch?v=TkzASwVgnj8


Doesn't seem to work for Model #LS167

Not sure if anything has changed in the updated versions, but I can't seem to get this integration to work with my updated model.

Was wrong about this, looks like it was a configuration issue.


Test comments panel refresh

Refs: #142081

[ ] anyOS @sana-ajani
[ ] anyOS @lszomoru
[x] anyOS @roblourens

Complexity: 3
Create Issue

The comments panel as been given a refresh. There are new icons, not all comments are shown, and in general the view is more thread focused with the goal being to provide an overview of the comments and not full comments. The main idea behind not showing full comments is that the best place to show full comments is in the editor where you have the full context of the comment.
To verify:

Install the pre-release version of GitHub Pull Requests and Issues (instructions: https://github.com/microsoft/vscode-pull-request-github/wiki/Pre-release-Build). Browser is fine if you want.
Open a PR that you don't mind leaving comments in (You can open a PR from the "Pull Requests" view). Preferably one that has comments and replies from others too. If it doesn't, ask me or someone else to leave you a few comments + replies.
Open the "Comments" view (command "Comments: Focus on Comments View").
Since this is mostly a layout/display change, most of what needs to be verified is very opinion based. Verify the following:

You can understand what's going on in the "Comments" view.
The "Comments" view functions well as an overview of comments.
Alignment/size/colors/etc. looks good in "Comments" view.
When you add a reply to a comment, the "Comments" view updates and the update make sense.
When you add a new comment thread the "Comments" view updates and the update makes sense.

Looks great!


I18N - Indicate missing strings in the UI

Need to show strings that aren't resolved in get_text:

If missing in english, show as "XX <string> XX"
If missing in another language, show as "XX <english string> XX"

Pull request #5305 added support for marking strings in UI which did go through gettext when
a special server's settings is configured. This would allow us (developers) to see which parts of
UI still need adding support for i18n (for example right now model and attribute names).
As far as being able to see which strings that go through gettext have a translation available
and which don't -- I don't think we should really go down this road and be implementing this.
To see which strings in every particular language are translated and which are not, we can
simply look into translate.zanata.org.
Also, to actually implement what's being asked here, we'd really have to create our own implementation
of gettext in both ruby and javascript, which I think would mean additional maintenance of code.
Therefore I think this issue should be closed.

I am for closing this issue unless someone can describe the usecase that we need to support (and don't already). The functionality we have is the same Forman has.


Trying to convert Video into Images

I am trying to convert video into images using the below code, unfortunately, I am receiving FileNotFoundError. Wondering where should I create the folder. Also, I haven't mentioned the folder path there.
Code:
import ffmpeg
import os
try:
(ffmpeg.input('MyMovie49.mov')
.filter('fps', fps=2)
.output('images/%d.png',
video_bitrate='5000k',
s='64x64',
sws_flags='bilinear',
start_number=0)
.run(capture_stdout=True, capture_stderr=True))
except ffmpeg.Error as e:
print('stdout:', e.stdout.decode('utf8'))
print('stderr:', e.stderr.decode('utf8'))
Error:
Traceback (most recent call last):
File "FFMPEG.py", line 11, in
.run(capture_stdout=True, capture_stderr=True))
File "/home/falconheavy/miniconda3/envs/TFDev/lib/python3.7/site-packages/ffmpeg/_run.py", line 320, in run
overwrite_output=overwrite_output,
File "/home/falconheavy/miniconda3/envs/TFDev/lib/python3.7/site-packages/ffmpeg/_run.py", line 285, in run_async
args, stdin=stdin_stream, stdout=stdout_stream, stderr=stderr_stream
File "/home/falconheavy/miniconda3/envs/TFDev/lib/python3.7/subprocess.py", line 800, in init
restore_signals, start_new_session)
File "/home/falconheavy/miniconda3/envs/TFDev/lib/python3.7/subprocess.py", line 1551, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg': 'ffmpeg'

I'm just trying to get an example to run and getting the same.
FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'
I'm sorry to see there have been no replies to this.

Ok... found some info here https://github.com/kkroening/ffmpeg-python/issues/251


Wrong package for ChannelAwareMessageListener in SpringAMQPMessageSource (boot 2.1)

ChannelAwareMessageListener has been moved to org.springframework.amqp.rabbit.listener.api in Spring boot 2.1.

I noted this is based on the spring-rabbit version, not the spring-boot version (which was already on 2.1.2 for this repository). Regardless, I'll update the spring-rabbit version to the latest and adjust the import statements.

Closing this issue as it has been resolved in commit af4da86.


program crashes in qpop (lfq.c line 128)

Below is stack trace
test 85.,<PHONE_NUMBER>
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff6ff5700 (LWP 3588)]
0x0000000000400f0a in qpop (queue=0x603010, thrd=4143929088) at lfq.c:128
128	    tmp =queue->head->nptr->next;
(gdb) bt
#0  0x0000000000400f0a in qpop (queue=0x603010, thrd=4143929088) at lfq.c:128
#1  0x0000000000400a55 in consumer (_queue=0x603010) at test.c:46
#2  0x00007ffff7bc4182 in start_thread (arg=0x7ffff6ff5700) at pthread_create.c:312
#3  0x00007ffff78f147d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb)

Line 128 obviously misses NULL pointer checks:
 _next = queue->head->nptr->next;

Below condition is sufficient for cases when next is null for normal scenarios
if(head == tail) return NULL;
I think this crash happens when there is only one node in queue and both thread are executing qpop(),
first thread finds (head == tail) condition false and go ahead, mean while context switch happens and second thread also find this condition false and remove the  last node of queue ,Now queue is empty
Now when First will resume execution after if (head == tail ) condition and next will be null :(
This is all I have observed.

So a thread safety mechanism should be used there, right?

I am investigating this problem. I agree with you @pradeepgoswami90 , there is a node which acts as entry and the rest of nodes are accessed through that. When queue is empty, this condition : head->nptr == tail->nptr must be true, so when _next is NULL, it will return NULL and this problem won't happen.
This situation is happening on ARMv7 in my case.
0x00010e20 <+100>:	mov	r3, #0
0x00010e24 <+104>:	b	0x11008 <qpop+588>
0x00010e28 <+108>:	ldr	r3, [r11, #-32]
0x00010e2c <+112>:	ldr	r3, [r3]
0x00010e30 <+116>:	ldr	r3, [r3, #4]
=> 0x00010e34 <+120>:	ldr	r3, [r3, #4]
0x00010e38 <+124>:	str	r3, [r11, #-20]
0x00010e3c <+128>:	ldr	r3, [r11, #-32]
0x00010e40 <+132>:	ldr	r3, [r3]
0x00010e44 <+136>:	ldr	r3, [r3, #4]
I let you guys know about the progress.

I found a solution and will commit it shortly.
Thanks for your contributions .

I also tested it multiple times on x86_64 platform and there were no crashes.
@mitghi Thank for quick fix.


Is there any legal restriction to use google map tiles layer as tilesimage source

Is there any legal restriction to use google map tiles layer as tilesimage source?
eg. code:
 new ol.Map({layers: [ 		  new ol.layer.Tile({ 			source: new ol.source.TileImage({ 			url: '**https://maps.google.com/maps/vt/lyrs=p&hl=en&x={x}&y={y}&z={z}&s=Ga**', 			projection: 'EPSG:3857', 			wrapX: true 			}) 		  }) 		], 		target: 'map', 		view: new ol.View({ 		  center: [0, 0], 		  zoom: 2, 		  projection: 'EPSG:3857' 		}) 	  });

It is illegal. Refer to the terms of use.

Thanks for the update, could you please provide me an example or describe the procedure of using google maps with openlayers 4+, which can also support clustering?

It's illegal, so it is not supported in OpenLayers.


pen link down

To put it as simply as possible: I cannot visit your pen.

I need your help !

I need your help !

My honour. How can I help?

My honour. How can I help?

My honour. How can I help?

My honour. How can I help?

Add the codepen ?

Add the codepen ?

most certainly. I will take a look in a mo on the methods to creating a vue app on codepen as I have not a clue how to 😂.

most certainly. I will take a look in a mo on the methods to creating a vue app on codepen as I have not a clue how to 😂.

Aha ！https://github.com/Turkyden/vue-typical#contributors

Aha ！https://github.com/Turkyden/vue-typical#contributors

I need your help here.
I was reading the method to creating a Vue SFCs, and successfully created this: https://codepen.io/pen/editor/vue
however, it says on CodePen
Module not found: Error: Can't resolve<EMAIL_ADDRESS>in '/tmp/codepen/vuejs/src'

I cannot comprehend this part. can I use platforms other than codepen?

I need your help here.
I was reading the method to creating a Vue SFCs, and successfully created this: https://codepen.io/pen/editor/vue
however, it says on CodePen
Module not found: Error: Can't resolve<EMAIL_ADDRESS>in '/tmp/codepen/vuejs/src'

I cannot comprehend this part. can I use platforms other than codepen?

I cannot comprehend this part. can I use platforms other than codepen?

OK, codesandbox ?

I cannot comprehend this part. can I use platforms other than codepen?

OK, codesandbox ?


Experimental RFC 436 - cannot use generic prop as object key in template without props

Vue version
3.2.45
Link to minimal reproduction
https://github.com/cohlar/vue-rfc436/tree/prop_object_key_error
Steps to reproduce

Open in IDE with volar enabled or run vue-tsc (tested with versions 1.0.9 to 1.4.3)
TheWelcome component should show TS errors

What is expected?
Props defined with defineProps should be available in the template without the need to use const props = defineProps<...>() and props. before the prop name.
What is actually happening?
We must use const props = defineProps<...>() in the script and props. before the prop name in the template to get no error.
System Info
No response
Any additional comments?
This issue was initially raised in the volar repo and @johnsoncodehk proposed a "naive" solution.

FYI the fix proposed here doesn't pass the dts tests in core.


ScriptableObjects as Blueprints

Why not just generate scriptable objects and use them as blueprints? I slapped together some example of a code that could be generated:
// Everything should be generated.
using UnityEngine;
using Entitas;

// Level is the name of the context.
[CreateAssetMenu(fileName = "LevelBlueprint", menuName = "Entitas/LevelBlueprints", order = 1)]
public class LevelBlueprint : ScriptableObject
{
    [SerializeField] [SomeDrawer] private bool isTile;
    [SerializeField] [SomeDrawer] private bool isPath;
    [SerializeField] [AnotherDrawer] private TilePosition tilePosition;
    [SerializeField] [ThirdDrawer] private Prefab prefab;

    public void Apply(LevelEntity entity)
    {
        entity.isTile = isTile;
        entity.isPath = isPath;
        if (tilePosition.exists)
        {
            entity.AddTilePosition(tilePosition.x, tilePosition.z);
        }
        else if (entity.hasPosition)
        {
            entity.RemovePosition();
        }
        if (prefab.exists)
        {
            entity.AddPrefab(prefab.value);
        }
        else if (entity.hasPrefab)
        {
            entity.RemovePrefab();
        }
    }

    public Entity CreateEntity()
    {
        LevelEntity entity = Contexts.sharedInstance.level.CreateEntity();
        Apply(entity);
        return entity;
    }

    // Generated from components.
    [System.SerializableAttribute]
    private struct TilePosition
    {
        public int x;
        public int z;
        public bool exists; // Added to indicate if it is "null" since it can't actually be null.
    }

    [System.SerializableAttribute]
    private struct Prefab
    {
        public GameObject value;
        public bool exists; // Added to indicate if it is "null" since it can't actually be null.
    }
}

// Original component.
// public sealed class TilePositionComponent : IComponent
// {
//     private int x;
//     private int z;
// }

This one actually works, just put property drawers on top and it seems to be a fully-functioning blueprint with Unity serialization. No problems. Right?..

That's a good idea actually, If Blueprints are supposed to be a unity only thing but currently a blueprint is wrapped within a scriptableobject and draw using inspector code. This way you could load a blueprint from file and apply it that way as well.

You mean someone wants to use blueprints in non-Unity apps? If that is the case then current blueprints probably already work for them. In Unity, it is far better to have things serialized by Unity itself.
This one can be wrapped too, I imagine, but I would probably just implement this system this way for Unity as Entitas plugin. But I need help. I have no experience with reflection, so I think code generation will be hard for me.
Unless current blueprints can be as reliable and are easier to make work, and unless they also can serialize everything these can, I think this is a good way to go. These potentially support even refactoring with [FormerlySerializedAs].

Actually, game state saving and blueprint-integrated system seems pretty simple.

Generate serializable versions of all components.

Generate a class like a blueprint in the initial post but not Unity-specific, use it as C# blueprint.

Wrap one version of this class into ScriptableObject just like in the example above, for Unity blueprint.

Have a system that would serialize and deserialize either version into a set of entities.

Have a method that will serialize a list or a group of entities using these systems.

This would make a very easy to use runtime serializer out of the blueprint system.

Optionally, have a [SerializeComponent] or [DoNotSerializeComponent] attributes to mark components that you want to be serialized during runtime. But serialize all for the blueprints.

I'm sure it has something to do with "portability" here, but I've been studying Blueprints lately and thought about doing something like this myself since I noticed Blueprints don't currently support Unity undo operations and switching context erases all blueprint components!
This is really ridiculous and annoying, but I believe replacing the binary formatter should fix all that and I hope to help in this area eventually, but I still don't know enough about the system yet contribute anything. I have however at least been able to fix some aspects of the blueprint inspector already.

I think it can be portable by breaking down in 2-3 files and just using a ScriptableObject as a wrapper, but it might be easier to just generate Unity version separately. Internally they both would implement the same interface, so it is just a matter of one code generator addon for Unity. Blueprints are already pretty unity-specific at least partially.

Fyi, due to #390 I cannot work on blueprint related issues. Blueprints can become a community supported feature.

I think I have read in the chat that someone was implementing something like this. Whoever it was, please respond here if you have some progress or have it working already :smile:

@VladislavKostin Not sure but is it me or someone else?

@pixeption Idk, possibly, were you working on this, how is it going?

This would make a good Entitas Plus feature :)

It's not going anywhere for now. Should I close it? 😄

I still want this to happen because I now use scriptableobject as blueprint by manually create it.
so it will be awesome if I can generate it instead.
I really want to help on this if I can :D

@VladislavKostin sorry for late response
Actually I worked on something different, I don't want blueprint as scriptable object, I want to attach entitas components into GameObject (For example many game level require design on Editor for productivity).
At the end I gave up (although it can run) since it is contained many cheat code & limited when using Unity serialization.
Writing code to generate scriptable object as blueprint is not hard, you can check how blueprint generate in source code and do the same thing. (actually I learn a lot of reflection and code generation via entitas)

@pixeption Isn't it the same code though? Mine and what you tried to achieve? Just change   : ScriptableObject to  : MonoBehaviour and you can use it on game objects. And it is easy to implement yes. Problem is that for me it won't save any time doing so, but when someone will do this it will save time to a lot of people and improve workflow in the editor. Wink-wink nod-nod to @sschmid again :) It would be a great Plus/Pro/Delux feature.

@VladislavKostin It's actually difference.
Blueprint is like a template and can't change (if we change, we change all object), prefab does. I want to add entitas component just like monobehaviour did and with each different object, the number of components and values are difference.
I succeed at serialize entitas component using Unity Serialization via many tricks.
Here is a demo but i don't think this is a good approach, maybe I'll think about another approach

Had same idea was going to post it then saw this issue %)
The idea is Blueprint->Proto->Clone. Blueprint creates Entity Prototype, that can be Cloned.
Blueprint:ScriptableObject contains all Components of Context, and Flags field to filter display and creation.
Here is what I had in mind:
using System;
using System.Collections.Generic;
using Entitas;
using Entitas.Utils;
using UnityEngine;

namespace Assets.Custom.Scripts
{
    [CreateAssetMenu( menuName = "Custom/EntityBlueprint" )]
    public class EntityBlueprint: ScriptableObject
    {
        [SerializeField]
        private				List<Int32>				_componentFlags			= new List<Int32>(  );
        [SerializeField]
        private				HealthComp				_health					= new HealthComp(  );
        [SerializeField]
        private				PositionComp			_position				= new PositionComp(  );
        [SerializeField]
        private				ViewComp				_view					= new ViewComp(  );
        private				Entity					_proto;
        private				Entity					Proto
        {
            get
            {
                return _proto ?? ( _proto = CreateProto(  ) );
            }
        }

        public				Entity					CreateClone				(  )
        {
            return Contexts.sharedInstance.gameC.CloneEntity( Proto );
        }
        private				IComponent				GetComponent			( Int32 index )
        {
            switch ( index )
            {
                case 0: return _health;
                case 1: return _position;
            }
            return null;
        }
        private				Entity					CreateProto				(  )
        {
            var proto = Contexts.sharedInstance.gameC.CreateEntity(  );
            foreach ( var index in _componentFlags )
            {
                var component = GetComponent(index);
                var newComponent = proto.CreateComponent(index, component.GetType());
                component.CopyPublicMemberValues( newComponent );
                proto.AddComponent(index, newComponent);
            }
            return proto;
        }
    }
}


Rogue mistyped URL in documentation

Config
The above page has a link to jQuery docs animate page but it is incorrect and has an additional >
http://api.jquery.com/animate%3E

Two other examples
https://developer.mozilla.org/en-US/docs/CSS/transition-timing-function%3E - Dead link
https://modernizr.com%3E/ - another >
Finally
https://api.jquery.com/animate/#animate-properties-options%3E - Works but also has an additional > symbol

Thanks, fixed 👍


Switched to extra_requires for Python 2 specific requirements

Modern Python dependancy tooling as defined in PEP-508 should use environment markers for Python version specific requirements.
This allows the grpcio package to work with dependancy resolvers like poetry

Thank you for your pull request. Before we can look at your contribution, we need to ensure all contributors are covered by a Contributor License Agreement.
After the following items are addressed, please respond with a new comment here, and the automated system will re-verify.

User @a-musing-moose isn't covered by a CLA. They will need to complete the form at https://identity.linuxfoundation.org/projects/cncf

Regards,
CLA GitHub bot

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,976,356      Total (=)      1,976,356

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,770,407      Total (<)     10,770,414

 No significant differences in binary sizes

Thanks for the PR!
(Note to self: watch the distribtests suite on master to ensure Python distribtests pass on all platforms after this change)

Our distribtests are failing.  Does Python2 pick up extra_requires? https://source.cloud.google.com/results/invocations/d4d49c90-e863-4533-b000-ae8627d83023/targets/grpc%2Fcore%2Fmaster%2Flinux%2Fgrpc_distribtests/log

Apologies. Are you using a recent version of setuptools for the installation? I believe it needs to be fairly recent.
An alternative is to use environmental markers in the install_requires section: https://setuptools.readthedocs.io/en/latest/setuptools.html#declaring-platform-specific-dependencies. But again this requires as recent version of setuptools.

We have a bunch of docker images that we use to test our package installation: https://github.com/grpc/grpc/tree/master/tools/dockerfile/distribtest/
I'm not up to date with the state of affairs with setuptools but perhaps we could do both extra_requires and the current one?  I am open to most solutions as long as you can verify them to work with the dockerfiles under python_* directories under the URL above.

FYI https://github.com/grpc/grpc/blob/master/test/distrib/python/test_packages.sh is the test we run within those docker images.

Thanks @mehrdada. I will spend some more time on it today and make sure I can verify using the docker images.


Segmentation fault when parsing DCG clause

Trealla failed to parse following DCG clause:
:- initialization(main).

as --> [a], [b].

main :-
        phrase(as, [X, _]), write(X), nl, halt.

Backtrace:
Core was generated by `tpl foo.pro'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000055da5044b7d9 in list_remove (l=0x55da512b8d60, entry=0x55da512a44c0) at src/list.c:101
101                     entry->next->prev = entry->prev;
(gdb) bt
#0  0x000055da5044b7d9 in list_remove (l=0x55da512b8d60, entry=0x55da512a44c0) at src/list.c:101
#1  0x000055da5040acca in term_remove (s=0x55da512b8d50, n=0x55da512a44c0) at src/bifs.h:488
#2  0x000055da5040fabf in dcg_clause (l=0x7ffd93ab2b50, term=0x55da512b8d50) at src/parser.c:1469
#3  0x000055da50411db4 in lexer_finalize (l=0x7ffd93ab2b50) at src/parser.c:2181
#4  0x000055da50414203 in lexer_parse (l=0x7ffd93ab2b50, term=0x55da512b4ac0, src=0x55da512b5cf0 "", line=0x7ffd93ab0368)
    at src/parser.c:2658
#5  0x000055da504142f1 in lexer_parse (l=0x7ffd93ab2b50, term=0x0, src=0x0, line=0x7ffd93ab0368) at src/parser.c:2673
#6  0x000055da50414485 in lexer_consult_fp (l=0x7ffd93ab2b50, fp=0x55da512a40b0) at src/parser.c:2711
#7  0x000055da504147d5 in lexer_consult_file (l=0x7ffd93ab2b50, orig_filename=0x7ffd93ab57d4 "foo.pro") at src/parser.c:2772
#8  0x000055da50409c36 in trealla_consult_file (pl=0x55da51293010, filename=0x7ffd93ab57d4 "foo.pro") at src/trealla.c:1325
#9  0x000055da5040541c in main (ac=2, av=0x7ffd93ab3908) at tpl.c:363
(gdb)

Fix confirmed, thanks.


Github SSO

This is a great package, thanks for making it. It would be great to have Github SSO. I've started from the generic example in the examples directory, and changed the following variable
discovery_document: DiscoveryDocument = {
    "authorization_endpoint": "https://github.com/login/oauth/authorize",
    "token_endpoint": "https://github.com/login/oauth/access_token",
    "userinfo_endpoint": "https://api.github.com/user",
}

I created an Oauth app credential at https://github.com/settings/developers. I think I've set those right, but I'm unsure.
The login page appears and the callback is successfully called, but it produces an exception. It returns a code as a query parameter - presumably this code must be used to fetch the data. I'm looking for any help understanding this.
Logs below.

INFO:     <IP_ADDRESS>:49770 - "GET /callback?code=aaaadce9c40b108d33d1&state=17ef6b2e-4444-4a84-69a4-af21a2ce2e1f HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
File "/Users/adrian/github/test/github.py", line 41, in sso_callback
user = await sso.verify_and_process(request)
File "/opt/homebrew/lib/python3.9/site-packages/fastapi_sso/sso/base.py", line 178, in verify_and_process
return await self.process_login(code, request, params=params)
File "/opt/homebrew/lib/python3.9/site-packages/fastapi_sso/sso/base.py", line 214, in process_login
content = response.json()
File "/opt/homebrew/lib/python3.9/site-packages/httpx/_models.py", line 743, in json
return jsonlib.loads(self.text, **kwargs)
File<EMAIL_ADDRESS>line 346, in loads
return _default_decoder.decode(s)
File<EMAIL_ADDRESS>line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File<EMAIL_ADDRESS>line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

PR is #25

@tomasvotava Thank you so much!


meteor-tool OAuth issue

Hi,
I decided to create a new issue to track this rather than use the one on Meteor's repo.
I am running meteor-tool from a local copy of meteor <IP_ADDRESS> so that I can debug the OAuth flow with console.log. I am trying to see the same error as the one in https://github.com/meteor/meteor/issues/4497, but I cannot get past the authorize request step. I am looking mainly in the tools/meteor-services/auth.js file. When meteor-tool makes the first authorize request (sendAuthorizeRequest method), instead of getting back an authenticate redirect URI, I am getting back Invalid redirect URI.
Here is a sample authorize request:
https://www.meteor.com/oauth2/authorize?state=09300eff231a7ef9eb13eca34a777236&response_type=code&client_id=<APPID>&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2F_oauth%2Fmeteor-developer%3Fclose

I have tried other domains other than localhost, and have tried modifying my OAuth app on meteor.com to match each time, but no luck.
Does the OAuth provider have to exist on the public Internet and not just locally? Doesn't seem that it should, since everything works fine in a web browser via accounts-ui. What am I doing wrong?

I don't know if all of these are required, but I have following urls set as redirect urls for my package server on localhost:3000 :
http://localhost:3000
http://<IP_ADDRESS>:3000
http://localhost:3000/_oauth/meteor-developer?close
http://localhost:3000/_oauth/meteor-developer
But guess what, oAuth seems to work in meteor 1.2 (meteor tool 1.1.9). I need to do some more testing, but the problem might have been solved by changes in meteor tool.

Wow! Great!
I kept going anyway. I added those URLs, and it worked!
I also had to add accounts-meteor-developer to Stratosphere. Is that right? If so, should it be added as part of the repo?
Awesome. Getting excited now.

In the oauth branch I'd added accounts-meteor-developer in the imply section of the stratosphere:lib package (umbrella package): https://github.com/sebakerckhof/stratosphere/blob/oauth/packages/stratosphere_lib/package.js
Was this not sufficient are were you not using that branch?
Anyway, glad it is working. Now that oAuth is working I hope to add more security features and have a beta 2 by the end of the week if I can find some time to work on it. Maybe I'll make a script that automatically creates the database file, so the installation process will be much simpler.

Ah, ok. I was on the master branch so that makes sense. Security features sounds nice!


Change passsword form will not submit when user submits a second time

When a user submits a change password form, they remain on the change password page. If they submit the form a second time, even with proper values for 'old password' and 'new password', the form will not submit.
Possibly related to: #436

Fixed by #505


Unable to load .vsls.json file

Describe what happened:
What was your system configuration?
Product and Version: VSCode 1.72.2
OS Version: Windows
Live Share Extension Version: 1.05762
Target Platform or Language [e.g. Node.js]: TypeScript
Steps to Reproduce / Scenario:

Log into a Remote SSH session (remote system is Ubuntu)
Show All Commands (Ctrl + Shift P)
Select "Live Share: Start Collaboration Session (Shared)"
An error message appears in the bottom-right of the screen "Unable to load .vsls.json file"

Starting the other day, all my coworkers also started getting this same error.
Please attach logs to this issue:
You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue
I have tried exporting the logs. It shows me the save dialog, but it does not actually save the file.
Screenshots

For VS Code issues, attach verbose logs as follows:
As stated above, logs are not successfully exporting.

Hi, we recently reenabled the File Access & Visibility feature in VS Code:
https://learn.microsoft.com/en-us/visualstudio/liveshare/reference/security#controlling-file-access-and-visibility
There were some issues that have been resolved in the latest Live Share extension release: 1.0.5783
You could still encounter this warning if you have a .vsls.json file in your workspace, or folder, that is malformed or such. For reference, the link above contains a sample .vsls.json file. We've recently added the file path and error message to the notification. Hopefully this will help you resolve the warning if it still persists. I'm going to close this issue as fixed but please do reopen it if you're still encountering issues.


How to use Timer trigger with SDK 3.0

While trying to migrate our project from 2.x to 3.x and from framework to core, i found that the even after installing the mentioned packages, VS can't resolve TimerTrigger, neither the using Microsoft.Azure.WebJobs.Extensions; statement helps. How do we use the timer trigger in web jobs? Do we have to use the brute force approach and use something like Quartz.Net?

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

ID: a4500b14-64b4-4d1b-aae3-f0fd4dde85f2
Version Independent ID: 8fb75741-37b9-b45f-c0ca-9948ddaf1c06
Content: How to use the WebJobs SDK - Azure
Content Source: articles/app-service/webjobs-sdk-how-to.md
Service: app-service-web
GitHub Login: @ggailey777
Microsoft Alias: glenga

Thanks for the feedback! We are currently investigating and will update you shortly.

Hi @Rachitgupta1994 I used https://docs.microsoft.com/en-us/azure/app-service/webjobs-sdk-get-started as a guideline. I will say I'm not sure what other references your project has but after creating a new .net framework webjobs project, here's what I did.
My netfx project started out looking like this:
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net461</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.Azure.WebJobs.Extensions" Version="2.0.0" />
    <PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
    <PackageReference Include="quartz" Version="3.0.7" />
    <PackageReference Include="System.Spatial" Version="5.8.4" />
    <PackageReference Include="Microsoft.Data.Edm" Version="5.8.4" />
    <PackageReference Include="Microsoft.Data.OData" Version="5.8.4" />
    <PackageReference Include="Microsoft.Data.Services.Client" Version="5.8.4" />
    <PackageReference Include="Microsoft.WindowsAzure.ConfigurationManager" Version="3.2.1" />
    <PackageReference Include="WindowsAzure.Storage" Version="7.2.1" />
    <PackageReference Include="Microsoft.Azure.WebJobs.Core" Version="2.0.0" />
    <PackageReference Include="Microsoft.Azure.WebJobs" Version="2.0.0" />
    <PackageReference Include="Microsoft.Azure.KeyVault.Core" Version="1.0.0" />
  </ItemGroup>
</Project>

I unloaded the project and modified the csproj to
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp3.0</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.Azure.WebJobs" Version="3.0.4" />
    <PackageReference Include="Microsoft.Azure.WebJobs.Extensions" Version="3.0.1" />
    <PackageReference Include="quartz" Version="3.0.7" />
  </ItemGroup>
</Project>

I then modified Program.cs accordingly to https://docs.microsoft.com/en-us/azure/app-service/webjobs-sdk-get-started#create-the-host. to fix the compiler issues. In Functions.cs (shown below) I didn't have any red squiggles.
        public static void CronJob([TimerTrigger("0 */5 * * * *")] TimerInfo timer)
        {
            // Grab the Scheduler instance from the Factory
            NameValueCollection props = new NameValueCollection
                {
                    { "quartz.serializer.type", "binary" }
                };
            var factory = new StdSchedulerFactory(props);
            var scheduler = factory.GetScheduler().Result;
            scheduler.Start().Wait();
            Console.WriteLine("Cron job fired!");
            scheduler.Shutdown().Wait();
        }

Hope this helps. If not, let me know.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


mz_tol and rt_tol are not scan parameters

They're actually used for Top-N dynamic exclusion window, so should be removed from scan_params (when making ms2 scans)
https://github.com/sdrogers/vimms/blob/master/vimms/Controller/base.py#L72

Any suggestion as to where they should go?

These are just used for DEW exclusion, right? In which case they just belong to the TopN controllers? Or do they get picked up elsewhere?

Another spaghetti 🍝 code, sorry.
I started an initial attempt to get rid of these DYNAMIC_EXCLUSION_MZ_TOL and DYNAMIC_EXCLUSION_RT_TOL` parameters in the TopN controller. See this commit. That was the easy part.
Then I realised DYNAMIC_EXCLUSION_RT_TOL is actually used inside the simulated mass spec. It is stored to the self.current_DEW property of the mass spec.
        next_DEW = next_scan_param.get(ScanParameters.DYNAMIC_EXCLUSION_RT_TOL)
        ...
        if next_DEW is not None:
            self.current_DEW = next_DEW

which in turn is used for time sampling ...
        current_DEW = self.current_DEW
        current_scan_duration = self._increase_time(current_level, current_N, current_DEW, next_scan_param)
        scan.scan_duration = current_scan_duration

Will fix this as part of issue #46.


Unable to get returning id from insert query.

Your issue may already be reported! Please search on the issue track before creating one.
What version of Go are you using (go version)?
Which database and its version are you using?
Please provide a complete runnable program to reproduce your issue. IMPORTANT
Need to runnable with GORM's docker compose config or please provides your config.
package main

import (
	"github.com/jinzhu/gorm"
	"github.com/lib/pq"
)

func InsertInBulk(db *gorm.DB, modelArr []interface{}, excludeColumns ...string) error {
 db.LogMode(true)
	finalQuery = "INSERT INTO \"contacts\" (address, contact_label_id, country_code, created_by, created_date, email, logo, name, note, organization_id, owner_id, phone, sub_owner_ids, tenant_id, type, updated_by, updated_date, visibility_ids, visibility_type) VALUES ('fgfdgfd', '70', 'US', '46', '0:0:0.0'<EMAIL_ADDRESS>'cvxvx', 'n1', 'fdgdgsggbcvb', '5', '435', '458646468', '{45,64,34,5}', '4543', 'vbvcbcvbc', '78', '0:0:0.0', '{45,64,34,5}', 'sdfsdfsf'), ('', '0', 'SG', '0', '0:0:0.0'<EMAIL_ADDRESS>'', 'n2', '', '0', '0', '', '{0}', '0', '', '0', '0:0:0.0', '{0}', ''), ('', '0', 'SG', '0', '0:0:0.0'<EMAIL_ADDRESS>'', 'n3', '', '0', '0', '', '{0}', '0', '', '0', '0:0:0.0', '{0}', ''), ('', '0', 'SG', '0', '0:0:0.0'<EMAIL_ADDRESS>'', 'n4', '', '0', '0', '', '{0}', '0', '', '0', '0:0:0.0', '{0}', ''), ('', '0', 'IND', '0', '0:0:0.0'<EMAIL_ADDRESS>'', 'n5', '', '0', '0', '', '{0}', '0', '', '0', '0:0:0.0', '{0}', '') RETURNING id"
	var ids []int
	db = db.Exec(finalQuery)
	log.Print("ids = ",db.RowsAffected)
	db =db.Scan(&ids)
	log.Print("ids = ",ids)
	//var dd *sql.DB
	//dd.QueryRow()
	return err
}

Here im not able to get ids

Is there a reason you aren't using the Create function?

@jmburges yes becuase I'm not able to do BulkInsert using Create function.
And also not able to get full data from Create function

You should be able to get full data full Create, and supported bulk insert in v2

@jinzhu How can we get the full data from a Create? i haven't been able to find it through the documentation


checks/magic: index arguments from end

Fixes #186

@RTimothyEdwards Is this still correct? Shall we merge it?

@marwaneltoukhy :  Yes, I think it is still relevant and as I said above it makes more sense for the arguments to be counted from the end backwards.  Merging it should not affect script function.


Add d3.time.format.utc.multi

Per #5751, d3.time.format.utc has a multi property. I've added it and updated tests.

thanks! :+1:
I'll merge this pull request when travis ci passed.
please ping me if I forget merge this pull request.

Looks like it's good to merge whenever you're ready.

it merged. thanks!


.bubble modifier for v-model

What problem does this feature solve?
Mostly just a convenience.
It would allow the last example here: https://vuejs.org/v2/guide/components.html#Using-v-model-on-Components
...to work without losing the syntactic sugar of v-model.
Makes it usable with props as well, which is one way v-model can trip you up sometimes (getting prop mutation warnings if v-modeling a prop).
What does the proposed API look like?
v-model.bubble="value"
This would result in
v-bind:value="value"
v-on:input="$emit('input', $event)"

This is not possible without major refactoring in v2 because the template on the parent cannot change the render function on the children and it involves knowing the type of the child.
Some relevant conversations: https://github.com/vuejs/vue/issues/6216 https://github.com/vuejs/vue-next/issues/9


Proof of Concept: Post a comment

Issue: https://progress.opensuse.org/issues/114415
Usage:
./bot-ng.py -c /etc/openqabot --token abc --dry -c tests/fixtures/config/ inc-approve --incident 25842 --post-comment [--bot-name foobar]

To post an actual comment, remove the --dry, but beware that you might also approve the incident.
I think using the Commenter interface doesn't make much sense, as it currently expects a namespace argument for its constructor.
But if we are never going to use the comment subcommand, then we can rewrite the Commenter interface, of course.

rebased and added a small (still commented) test.


cf dev start failed on centos 7

I think this is identical to issue #109.  Issue #109 was closed without any comments or suggestions, so I am filing it again.
I tried to install cfdev on a centos 7 virtual machine under vmware.  Intel vt-x is enabled.  RAM is 8G and HD is 100G.
$ modprobe msr
$ rdmsr 0x3a
5

CF is installed according to the instruction for centos.
$ cf version
cf version 6.47.0+fc6aad7f8.2019-10-15

Now when I try to start cfdev, it always fails at the same location:
cf dev start -f pcfdev*.tgz
Downloading Resources...
Progress: |====================>| 100.0%
Setting State...
WARNING: PCF Dev requires 8192 MB of RAM to run. This machine may not have enough free RAM.
Creating the VM...
Starting the VM...
Fetching VM Address...
FAILED
cf dev start: unexpected end of JSON input

The log file shows:
$ cat $HOME/.cfdev/log/linuxkit.log
UEFI Interactive Shell v2.2
EDK II
UEFI v2.70 (EDK II, 0x00010000)
Mapping table
     BLK0: Alias(s):
          PciRoot(0x0)/Pci(0x1F,0x0)/Floppy(0x0)
     BLK1: Alias(s):
          PciRoot(0x0)/Pci(0x1F,0x0)/Floppy(0x1)
Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
Shell> [root@localhost log]

This is a fresh centos 7 installation with all the qemu packages installed.
For reference, cfdev version is:
$ cf dev version
CLI: 0.0.17
BUILD: 14 (b36c82e)

pas: 2.4.4
p.mysql: 2.5.3-build.7
p.redis: 2.0.1
p.rabbitmq: 1.15.5
p.spring-cloud-services: 2.0.7

hi
I have exactly the same issue, already spent 2 days trying to make it working but still fails.
All necessary (and also not mentioned like epel repo must be added for qemu-system-x86_64 to be in PATH) steps done.
many other suggestions from net tested - but no use
maybe it has something to do with this entry in messages:
Mar 15 07:06:26 localhost sudo:    root : TTY=pts/2 ; PWD=/root ; USER=root ; COMMAND=/bin/cat /var/lib/libvirt/dnsmasq/virbr0.status
file is empty
if you need more details I should check then let me know here

I tried with ubuntu 18.04.
extended memory to 16G on VM cause it was almost reaching 12G during startup (and failed).
After all it fails later when trying to deploy BOSH:

root@ubuntu:~# cf dev start
Downloading Resources...
Progress: |====================>| 100.0%
Setting State...
Creating the VM...
Starting the VM...
Fetching VM Address...
Waiting for the VM...
Deploying the BOSH Director...
FAILED
cf dev start: Failed to deploy the BOSH Director: Process exited with status 1

output files:
deploy-bosh.log
linuxkit.log

Compiling package 'health_monitor/c5a852ce964ec9a288577ec50f2092c42efe880f'... Skipped [Package already compiled] (00:00:03)
Compiling package 'nginx/5a68865452a3bdcc233867edbbb59c1e18658f6b'... Skipped [Package already compiled] (00:00:01)
Compiling package 's3cli/3097f27cb9356172c9ae52de945821c4e338c87a'... Skipped [Package already compiled] (00:00:01)
Updating instance 'bosh/0'... Finished (00:01:46)
Waiting for instance 'bosh/0' to be running... Failed (00:07:39)
Failed deploying (00:13:42)
Stopping registry... Finished (00:00:00)
Cleaning up rendered CPI jobs... Finished (00:00:00)
Deploying:
Received non-running job state: 'failing'
Exit code 1
root@ubuntu:~/.cfdev/log#

I apologize if this was not made clear earlier, but the only Linux distro that CF Dev is currently supported for is Ubuntu.

From the looks of your latest logs @ryzior, it looks like there were resource constraints during the provisioning process.

extended memory to 16G on VM cause it was almost reaching 12G during startup (and failed).

Are you trying to run cf dev start from within a VM? If so, that's also not supported. CF Dev spins up its own VM using native hypervisors. This is an intensive process and performance will greatly suffer when not running on native hardware.

hi
I started with ubuntu on VM (vmware player and vbox from oracle) after realized no hypervisor available on my Home version of  win10 (laptop). I tried centos 6 then 8 finally 7, then moved to my other pc cause my laptop 16G ram was unable to carry this load(12G vm is too much). there I started to work with centos 7 12G VM and then 16G then moved to ubuntu with same specs (16G ram and 4 cores). the speed was poor however I cannot blame my host which was utilized 25% cpu and 16 Gigs of RAM (out of 64). result you can see.
Anyway - I had no idea I cannot use VM at all (despite the system installed)
Fortunately my pc is 10 Pro - hypervisor available , installed , CF DEV installed but I have issues to connect to it. I can ping but cannot connect to 443 port. Switching off Norton firewall - no help.
Since it is now running on win 10 pro - I can investigate this , thanks for your clarifications about the limitations but as you can see this was the only way I could try to install DEV on lowend windows version :)
regards

If you're unable to resolve your connection issues, please make a separate issue.


switch to SQLitePCL.bundle_green

SQLitePCL.bundle_green is a batteries-included package which brings in SQLitePCL.raw and the necessary deps for SQLite-net users.

Looks good to me! Thank you as always sir.

Cool.  The bundle_green package 0.9.2 is now on nuget, so you can publish your updated nuget package whenever is convenient for you.


Help message is an abomination

The help message should be automatically created from variables, not static.

Improved in b0243c4b76492ec9f485e7163578f03928f82dcd.


[Snyk] Upgrade @hashgraph/sdk from 2.31.0 to 2.32.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade @hashgraph/sdk from 2.31.0 to 2.32.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 3 versions ahead of your current version.
The recommended version was released 23 days ago, on 2023-08-21.

Release notes

Package name: @hashgraph/sdk

2.32.0 - 2023-08-21What's Changed

Update the client constants file with the mainnet proxies by @ ochikov in #1780
Add method that queries the mirror node to get the actual num field by @ petreze in #1790
Add retry logic on grpc web errors by @ petreze in #1802
Add method handler by @ petreze in #1804
Comment out unavailable web proxies nodes by @ petreze in #1810
Fix deprecation and add comments by @ petreze in #1811

Full Changelog: v2.31.0...v2.32.0

2.32.0-beta.2 - 2023-08-18What's Changed

Comment out unavailable web proxies nodes by @ petreze in #1810

Full Changelog: v2.32.0-beta.1...v2.32.0-beta.2

2.32.0-beta.1 - 2023-08-08What's Changed

Update the client constants file with the mainnet proxies by @ ochikov in #1780
Add method that queries the mirror node to get the actual num field by @ petreze in #1790
Add retry logic on grpc web errors by @ petreze in #1802

Full Changelog: v2.31.0...v2.32.0-beta.1

2.31.0 - 2023-07-27What's Changed

Add logger tests by @ petreze in #1725
Change copyright year by @ petreze in #1738
Add handlers inside parsing methods from evm address by @ petreze in #1741

Full Changelog: v2.30.0...v2.31.0

    from @hashgraph/sdk GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Codecov Report
Patch and project coverage have no change.

Comparison is base (590446d) 76.65% compared to head (e2f10d2) 76.65%.

:exclamation: Current head e2f10d2 differs from pull request most recent head f78173e. Consider uploading reports for the commit f78173e to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1737   +/-   ##
=======================================
  Coverage   76.65%   76.65%
=======================================
  Files          39       39
  Lines        2913     2913
  Branches      584      584
=======================================
  Hits         2233     2233
  Misses        499      499
  Partials      181      181

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


cherry-pick #2006

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/retest

/lgtm

/test images
/test e2e-aws-metrics

/test e2e-conformance

/test e2e-conformance

/retest

/test e2e-conformance

/lgtm
/approve


Compatibility with plotly 5

Are there plans to update to a newer plotly API? A quick look at https://github.com/linkedin/greykite/search?q=plotly shows mainly plotly.offline, plotly.colors and plotly.graph_objs usage. Has the code changed in this regard since the version was restricted in https://github.com/linkedin/greykite/blob/master/setup.py#L23?

Hi @fleimgruber we are planning on a new release soon where we will upgrade the plotly version.
Kaixu

Hi @fleimgruber we just released greykite==0.3.0 which supports plotly>=4.1.2 including version 5.


uk can not calculate the right value

The code is about the paper "safety critical model predictive control with discrete time control barrier function", published in acc2021.

Why is it that when I run the program, the uk always cannot solve it? Is it a problem with initial condition setting? I would greatly appreciate it if you could provide an answer.

It seems that solver is not found instead of code problems.

Ok, thank you

I met the same problem, how to solve it?@junzengx14


Change boost::launch::deferred continuations to boost::launch::sync

Changed boost::launch::deferred continuations to boost::launch::sync. Also changed the default ResponseProcessor thread count("hazelcast.client.response.executor.thread.count") to 2 from 0.
Also added a new test testIssue753  to test the problem.
fixes #753

Windows test FAILed.

Windows test FAILed.

Windows test FAILed.

Windows test FAILed.

Windows test FAILed.

Windows test FAILed.

Linux test FAILed.

Linux test FAILed.

Linux test FAILed.

Linux test FAILed.

verify-windows

verify-windows

Linux test PASSed.

Linux test PASSed.

Windows test FAILed.

Windows test FAILed.

verify-windows

verify-windows

Windows test FAILed.

Windows test FAILed.

verify-windows

verify-windows

Windows test FAILed.

Windows test FAILed.

Windows test FAILed.

Windows test FAILed.

Linux test FAILed.

Linux test FAILed.

verify

verify

Linux test FAILed.

Linux test FAILed.

Windows test FAILed.

Windows test FAILed.

Linux test FAILed.

Linux test FAILed.

verify-linux

verify-linux

Windows test PASSed.

Windows test PASSed.

Linux test FAILed.

Linux test FAILed.

verify-linux

verify-linux

Linux test FAILed.

Linux test FAILed.

Linux test PASSed.

Linux test PASSed.

Windows test PASSed.

Windows test PASSed.

Windows test FAILed.

Windows test FAILed.

Linux test FAILed.

Linux test FAILed.

Linux test PASSed.

Linux test PASSed.

Windows test PASSed.

Windows test PASSed.

Linux test PASSed.

Linux test PASSed.

Windows test PASSed.

Windows test PASSed.

Linux test PASSed.

Linux test PASSed.

Windows test PASSed.

Windows test PASSed.

Linux test PASSed.

Linux test PASSed.

Windows test PASSed.

Windows test PASSed.


Update project ideas list item widget

Currently the idea list looks like this:

Now we need the following fields:
a) a project title/description
b) more detailed description of the project (2-5 sentences)
c) expected outcomes
d) skills required/preferred
e) possible mentors
f) expected size of project (90, 175 or 350 hour).
And if possible, an easy, intermediate or hard/difficult rating of each project.

bhaiya i am working on this , i am creating a updated design with demo fields, please provide me the details if you don't want me to use demo one...

Hey @notpritam , @chandansgowda , I can help out on the coding part since I have worked on NextJS beforehand.

Hey @chandansgowda , I have made a figma design file , see if u like it, i am also attaching a preview :


EasyCLA V2 API for Usage Metrics + Adoption page - Total Number of Repositories Donut Chart

For rendering this donut graph the web page will get following data from EasyCLA API.
Total repositories where EasyCLA is enforced

[x] Total number of Repositories
[ ] Percentage of GitHub Repositories
[ ] Percentage of Gerrit Repositories

Background
This data is needed for lfx-dev to implement this page.
Step 6 in the following PRD
https://confluence.linuxfoundation.org/pages/viewpage.action?pageId=42993133
User Story
As an employee of a company when I browse "Services" in CommunityBridge, I would like to see EasyCLA service, list out key relevant usage and adoption metrics related to that service.
Acceptance Criteria
API returns the metrics and information is rendered on LFX-Dev

API : GET {{apiserver}}/v4/metrics/total-count
This will return gerritRepositoriesCount, githubRepositoriesCount, repositoriesCount

Testing In Progress
Test Plan Link https://confluence.linuxfoundation.org/display/PROD/total-count
Bugs Logged #832, #835

Completed Testing and below is the status
Test Plan Link https://confluence.linuxfoundation.org/display/PROD/total-count
TestId 16 - TestId 27

@pranab-bajpai can we close this one out?

LF Staff pages were de-prioritized and redesigned with minimal metrics. Closing it.


Change early unlock penalty to fraction of remaining blocks

Slashing Penalty = number of remaining blocks / number of blocks in 4 years.

Not possible with current implementation of VeTokens, go with 50% but two different methods


Cartorapher ROS Map Tuning

Hi everyone,
I used cartographer on ubuntu 14.04 and ros indigo with an IMU and vlp16 to build a map with the offline launch file. The bag file I used is available here.
The map I have now is:

My launch,config, pbstream and urdf files are launch file,lua, pbstream and urdf. Please help me with what I can do to make this map better.

Closing for inactivity, we can't invest time to help you with your setup anymore unfortunately.


Store on and lock the of "family" for a "subset"

Discussion
We've been having the need to filter for an asset the available "looks" (specifically the latest versions) and list them to the artist. Currently there's no way, by subset, to know whether it contains a specific family so it requires.
To me personally, a subset is a specific family, and during its lifetime of existence it shouldn't change to house any versions of a different family. For example subset lookDefault would never get a version of family model if the first version was a look family, I would disallow it changing the family over its lifetime.
Problem
Currently listing all latest look families requires something along the lines of:
subsets = io.find({"type": "subset", "parent": asset_id})
looks = list()
for subset in subsets:
    versions = io.find({"type": "version", "parent": subset['_id']})
    has_look = any(x for x in versions if x['data']['family'] == "look")
    if not has_look:
        continue

   looks.append(subset)

print looks

Still, this would also allow that the subsets returned might possibly contain different families than a look. So one of the versions in the subset could in  practice be a camera family or model family.
By locking the subset to a specific family the subset presents itself more clearly to the artist, directly, plus it persists over time. Additionally this simplifies listing the looks for an asset to:
looks = io.find({"family": "look", "type": "subset", "parent": asset_id})

What do you think?

Thanks @BigRoy.
I read two problems here.

Finding versions by family is hard
Families should be stored in subset, not version

For (1), you could use the $in operator.
# All versions of family "mindbender.rig"
io.find({"type": "version", "data.families": {"$in": ["mindbender.rig"]}})

For (2), sure. That makes sense. Could we make it families though, as opposed to family?

For (2), sure. That makes sense. Could we make it families though, as opposed to family?

We could, sure. @aardschok what you think?

Perfect, enables a more broader search too!

@mkolar I'm wondering, are you already storing the families on the subset, or still storing it on the versions? I'm thinking about how we could implement this specific one without breaking backwards compatibility. :)

Re-enter this topic :P
Has anyone resolved this ?

I think we need new subset and version schema (version 3.0) for resolving this and maintain the backwards compatibility.


Fixing class link (deployed)

This PR is a follow up from https://github.com/githubtraining/reviewing-a-pull-request/pull/85

Closing and reopening this PR to force Learning Lab to synchronize the draft course version.


npm update

Automated changes by create-pull-request GitHub action

Affected by https://github.com/nrwl/nx/issues/8768.


Fix event header

Codecov Report

Merging #74 into master will decrease coverage by 0.16%.
The diff coverage is 73.33%.

@@            Coverage Diff             @@
##           master      #74      +/-   ##
==========================================
- Coverage   67.93%   67.76%   -0.17%
==========================================
  Files           6        6
  Lines         633      639       +6
==========================================
+ Hits          430      433       +3
- Misses        185      188       +3
  Partials       18       18

Impacted Files
Coverage Δ

src/caduceus/caduceus.go
5.96% <0%> (-0.13%)
:arrow_down:

src/caduceus/senderWrapper.go
90.43% <100%> (ø)
:arrow_up:

src/caduceus/outboundSender.go
83.27% <100%> (+0.18%)
:arrow_up:

Continue to review full report at Codecov.

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


upgrade gralde wrapper

TODO:

update the gradle wrapper
rename the resulting gradlew back to gr/gr.bat

Updating to Gradle Wrapper 6.0.1 breakes the kotlin plugin for versions lower than ~1.3.50. This means we would need to remove the tests that explicitly test against older versions of the kotlin plugin (I think the publish plugin is the only one having that).
Shall we still upgrade (I’m in favour)?

Fine with me


First attempt to implement module detection

Fixes #7
Depends on vaadin/vaadin-usage-statistics#11

This change is

Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion.

vaadin-development-mode-detector.html, line 101 at r1 (raw file):
Previously, limonte (Limon Monte) wrote…
From https://stackoverflow.com/a/16231055/1331425

You should set the src attribute after the onload event

You should also append the script to the DOM before attaching the onload event

That comment seems to be related to the jQuery stuff, actually.
See the working code example at https://github.com/LasaleFamine/polymer-lib-loader/blob/master/lib-loader.es6.js#L70

Comments from Reviewable

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable

Review status: all files reviewed at latest revision, 1 unresolved discussion.

vaadin-development-mode-detector.html, line 101 at r1 (raw file):
Previously, web-padawan (Sergey Kulikov) wrote…
That comment seems to be related to the jQuery stuff, actually.
See the working code example at https://github.com/LasaleFamine/polymer-lib-loader/blob/master/lib-loader.es6.js#L70

true that, verified in local sandbox.

Comments from Reviewable


Migrate SDL2 to SDL3

SDL3 reached the first pre-release last week, and since it will certainly reach the production status before Kivy 3.0.0 reaches it, makes sense to start the migration process.
A few things need to be re-organized, but SDL3 is a step forward.

Hi! @DexerBR just told me that SDL3 will have support for cameras, with the ability to capture video to a SDL texture!
https://youtu.be/MKM6-03iOPs?si=OZ0VLxVCoEHcpMQU
What are your thoughts on including that in Kivy?

What are your thoughts on including that in Kivy?

Is great that the SDL team is adding such a feature in SDL3, and that can certainly be one of our core providers for cameras (and feel free to propose changes).
But, from my perspective, in the past, we relied too much on features from SDL (like textinput), and that made it harder (or impossible, without touching SDL code) for us to fix long-standing bugs.
My goal, for the future, is to move the focus on platform-specific (and native) core providers, as that gives us more chances to quickly assess bugs and access new features. (this also means directly rendering to OpenGL/Metal texture to improve the performance, as my WIP POC for the AVFoundation core provider )
So, to summarize: If anyone wants to introduce the sdl camera provider, I will be happy to merge it, but I think we should look for alternatives (and improve the current ones)
PS: If you think something is missing on the current implementations (or we can do something better), feel free to open an issue, so we can triage it and schedule for 3.0.0

Hello! I hope you are well. I've been following this repository for a while now and I find it quite impressive. I'm genuinely interested in contributing more to this, as it represents a great opportunity for me to contribute to an open source project for the first time.
I would like to know if there is any way I can contribute to this refactoring of this migration from SDL2 to SDL3 that is being done?
Thank you for your time and I hope to hear from you soon!


[1.10.2] Universal Cables dont xfer power

I have the Ultime Universal Power Cable connected to a draconic creative rf power source whihc is then connected to a draconic Energy pylon feeding into a Draconic Power Storage system, but its not transmitting any power.  I also connected the cable to a Builder from RfTools an also no power is being receieved

Our tesla integrations are broken, we're working on it.

Im confused to what Tesla integrations have to do with it not being able to transfer any power at all form anything that produces rf

TGB, same issue with BDEW's Advanced Generators.  Reposting from:
https://github.com/bdew/generators/issues/132
Universal Cables from Mekanism don't want to attach to the RF producer in Adv Gens. EnderIO conduits work fine. The workaround is to place a Mekanism Energy Cube next to the RF producer and THAT works but they are of course output limited with even the largest cube in Mek being limited to 20k RF/t which is less than a fully built turbine setup [25k].
bdlib-<IP_ADDRESS>-mc1.10.2
generators-<IP_ADDRESS>-mc1.10.2
MC 1.10.2
Forge <IP_ADDRESS>1
Mekanism 1.10.2-<IP_ADDRESS>5
Thanks

Is RF working at all with the cables? I tried them with my mods, i tried with the machines in EnderIO and EU2... it doesn't seem to work at all.
I can use tesla to output into Mek cables, but then they still don't transfer the power to any RF based machine.

RF works if you place a Cube from Mekanism to gather the power then connect the Universal cable to the cube, the pic below is how i use it for EnvironmentalTech Solar power gen.


Downloading is very slow

Source information
Faslhd
Source language
Arabic
Steps to reproduce
؟؟
Expected behavior
؟؟؟
Actual behavior
؟؟؟
Aniyomi version
R6691
Android version
13
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

If this is an issue with the app itself, I should be opening an issue in the app repository.
Extensions have nothing to do with downloading.