not able to get secrets from vault by using vault plugins

fallowed as per the documentation from vault integration , but still flyway is not getting the flywayconfigs from vault

Could you provide more information?
What was your configuration? Can you provide a reproduction?

these are configs i have added in flyway.conf
flyway.plugins.vault.url=xxxxxx
flyway.plugins.vault.token=xxxxx
flyway.plugins.vault.secrets=flyway/flyway/configerationTest
these are i have placed in vault under secret name "configerationTest",
flyway.url=xxxxxx
flyway.user=xxxxx
flyway.password=xxxx
flyway/flyway/  these are the secret engine and path in vault.
now iam able to run the command ./flyway migrate but getting error
" ERROR: Unable to connect to the database. Configure the url, user and password! "
but all of the credentials are true.

Can you confirm that you are using Flyway Teams Edition?
Could you also confirm your Flyway version?
Could you run Flyway with -X to get debug output and share that too?

NO, i am not using teams edition
DEBUG: Loading config file: /home/ec2-user/flyway/flyway-8.5.12/conf/flyway.conf
DEBUG: Unable to load config file: /home/ec2-user/flyway.conf
DEBUG: Unable to load config file: /home/ec2-user/flyway/flyway-8.5.12/flyway.conf
DEBUG: Using configuration:
DEBUG: flyway.baselineOnMigrate -> true
DEBUG: flyway.baselineVersion -> 1.0.0
DEBUG: flyway.jarDirs -> /home/ec2-user/flyway/flyway-8.5.12/jars
DEBUG: flyway.locations -> filesystem:sql
DEBUG: flyway.plugins.vault.secrets -> flyway/flyway/credentialsTest
DEBUG: flyway.plugins.vault.token -> xxxxx
DEBUG: flyway.plugins.vault.url -> xxxxxx
DEBUG: Scanning for classpath resources at 'classpath:db/callback' ...
DEBUG: Determining location urls for classpath:db/callback using ClassLoader java.net.URLClassLoader@5a4041cc ...
DEBUG: Unable to resolve location classpath:db/callback
ERROR: Unexpected error
org.flywaydb.core.api.FlywayException: Unable to connect to the database. Configure the url, user and password!
at org.flywaydb.core.internal.configuration.ConfigurationValidator.validate(ConfigurationValidator.java:36)
at org.flywaydb.core.FlywayExecutor.execute(FlywayExecutor.java:112)
at org.flywaydb.core.Flyway.migrate(Flyway.java:124)
at org.flywaydb.commandline.Main.executeOperation(Main.java:272)
at org.flywaydb.commandline.Main.main(Main.java:181)
iam using flyway VERSION    " flyway-8.5.12"

The Vault integration is only available in the Teams Edition
If you're interested in trying it, you can get a trial key from here
If you choose to use it, do let us know how you get on and leave any feedback here


Retrieving neutral units only returns half the mineral patches.

I'm calling Observation()->GetUnits(Unit::Alliance::Neutral, {});  The list of results includes all geysers, but exactly 4 mineral patches (out of 8) per potential base location.  It seems like all minerals should be returned?
I've also tried using a filter, which returns the same.  Observation()->GetUnits(Unit::Alliance::Neutral, IsUnit(UNIT_TYPEID::NEUTRAL_MINERALFIELD));

Sorry, scratch that one -- apparently there are 6 different kinds of mineral fields, half are regular and half are something else.


GNOME Web doesn't appear in the results page

GNOME Web (also known as Epiphany) scores quite well at the HTML5 test:

3.2.2 gets 338 points plus 14 bonus points
3.4.1 gets 345 points plus 15 bonus points
3.5.90 (the development version) gets 363 points plus 15 bonus points

That's a similar score to recent versions of Firefox and Safari.
Would it be possible to have it appear in the "other browsers" and
"compare" tabs, as a desktop browser? (preferably as "GNOME Web", that's
its new user-visible name since 3.4.0)

I don't have the time to maintain Gnome Web as a separate browser on HTMLtest. But the browser itself and version updates will be accepted as a PR as long as it is frequently maintained. See https://github.com/WebPlatformTest/Data for more information.


docs(toolbar): spruce up the toolbar component examples

Screenshot of basic, colored, and multi-row toolbars included in toolbar-overview-example:

Looking to get initial feedback on this. Is this the sort of thing you're looking for to spruce examples up? Should there be more styling or complex interactions? I wasn't sure since the demo pages seem to start with "Basic usage" on the overview page and keep the fancier examples in the demo section.

Awesome, thanks for the feedback! I've added a couple more examples to toolbar-overview-example and then added it to the toolbar demo page in dev-app.

@jelbourn Is there anything else I should add to this PR or change?


ArangoSearch does not filter correctly

My Environment

ArangoDB Version:       3.12.2, <IP_ADDRESS>
Deployment Mode:       Single Server
Deployment Strategy:   Manual
Operating System:        Ubuntu 24.04 LTS
Total RAM in your machine:        32Gb
Disks in use:        SSD
Used Package:           Docker - official Docker library

Component, Query & Data
Affected feature:
arangosearch
AQL query (if applicable):
Performing this query on the arangosearch view returns one result on my dataset:
FOR v0 in `fix_view` SEARCH
    (v0.kinds == "azure_network_security_group" and
    v0.reported.security_rules.direction == "Inbound" and
    v0.reported.security_rules.access == "Deny")
RETURN v0

When I negate the last term, no result is returned:
FOR v0 in `fix_view` SEARCH
    (v0.kinds == "azure_network_security_group" and
    v0.reported.security_rules.direction == "Inbound" and
    v0.reported.security_rules.access != "Allow")
RETURN v0

I would have expected to see the same result again.
Logically: if access==Deny matches, this statement should also match: access!=Allow.
Dataset:
I included the view definition and the document in question in this zip archive.
view_bug.zip
Steps to reproduce

Create a collection called fix
Insert the document document.json into the fix collection.
Create a view using the definition in the zip archive
Perform the first query above and ensure it is returned
Perform the second query and see it is not returned

Problem:
Based on the data, both queries are logically equivalent and should return the same result.
Expected result:
Both queries return the result.

Hi @aquamatthias, thanks a lot for your question.
This behavior may be surprising for users, but you are getting fair results which you really asked for. I will explain it in details.
Please remember that we are talking right now about only one document (according to the attached dataset). Inside this document we have security_rules array of objects. In every object from this array we have field access equal either to "Allow" or "Deny".
Lets simplify our first query to highlight the import things. We will just search for reported.security_rules.access field.
FOR v0 in `fix_view` SEARCH
    v0.reported.security_rules.access == "Deny"
RETURN v0

This query literally asks for following: "Please give me documents, where field reported.security_rules.access is equal to Deny". As expected, we receive the only one document from our collection.
For this negation query
FOR v0 in `fix_view` SEARCH
    v0.reported.security_rules.access != "Deny"
RETURN v0

the explanation is also pretty straightforward:
"Please give me documents, where reported.security_rules.access field is not equal to Deny".
Our single document that we have can't fulfill the condition above. That is why 0 documents are returned.
If we will ask for value which is really missing from our document
FOR v0 in `fix_view` SEARCH
    v0.reported.security_rules.access != "SomeValue"
RETURN v0

we will indeed get the only one document and this will be expected.

security_rules is an array of objects, and there is at least one object where access is "Allow" and one where it is "Deny" in the document:
FOR v0 IN fix
  RETURN v0.reported.security_rules[*].access

[
  [
    "Allow",
    "Allow",
    "Allow",
    "Deny",
    "Allow",
    "Allow",
    "Allow",
    "Allow",
    "Allow",
    "Deny",
    "Allow",
    "Allow",
    "Allow",
    "Allow",
    "Allow",
    "Allow",
    "Allow",
    "Allow"
  ]
]

This means SEARCH v0.reported.security_rules.access == "Deny" as well as SEARCH v0.reported.security_rules.access == "Allow" match the document, but negating these search expressions does not match the document because it does have both values.

Thanks for answering my question, @alexbakharew and @Simran-B .
I can see how the mechanics can be described.
The behavior the user expects from flattening array values needs to be clarified and documented from my POV.
This uses the view and returns a result:
FOR a IN fix_view SEARCH  a.reported.security_rules.access == "Deny"  RETURN a

This uses the collection directly and does not return a result:
FOR a IN fix FILTER a.reported.security_rules[*].access =="Deny" RETURN a

The opposite is also true != "Allow" does not return anything for the view but the filter.
The filter statement allows me to define the desired behavior explicitly:
a.reported.security_rules[*].access ANY == "Deny"
a.reported.security_rules[*].access ALL == "Deny"
a.reported.security_rules[*].access NONE == "Deny"

With those modifiers, I can clearly define my expectations.
Which behavior is used for arangosearch?
Ideally, I could also add a modifier to my arangosearch query using any, all, or none.


Use handy PackageProvider to create this package

Codecov Report

Merging #77 (e6162df) into master (a396a08) will increase coverage by 7.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #77      +/-   ##
==========================================
+ Coverage   80.70%   87.74%   +7.03%
==========================================
  Files          11       10       -1
  Lines         368      310      -58
==========================================
- Hits          297      272      -25
+ Misses         71       38      -33

Impacted Files
Coverage Δ

src/masonite/inertia/providers/InertiaProvider.py
100.00% <100.00%> (ø)

src/masonite/inertia/config/inertia.py
100.00% <0.00%> (ø)

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 a396a08...e6162df. Read the comment docs.


Randomness in Frame Selection - CREMAD

Hi,
Thank you for the support in this repo. I noticed that on CramedDataset in get_item you pick each time randomly the frame that you are using through np.random.choice. I find that strange since this pytorch dataset is used both for training and testing. Eventually that would mean that in your training set you use  all images but on each datapoint a different one (I guess that would be a form of augmentation) and during test time there is some ambiguity to the results and possibly they could change with different seed. Am I missing something?

Hello, I have a similar problem with the frames selection. Noticed np.random.choice is used in the code, but select_index does not to be used. Does this setting need to be changed manually during training and testing phases?


@vinxi/react-server-dom 0.0.3 really old peerDependecies

Which project does this relate to?
Start
Describe the bug
Seems like Start relies on @vinxi/react-server-dom. Version 0.0.3 of @vinxi/react-server-dom has some really outdated peerDependencies that are throwing warnings during npm install:

Is this package absolutely necessary? If so, should I open a similar issue in the Vinxi repo or do you guys have a commuinication channel with @nksaraf ?
Thank you!
Your Example Website or App
any Start app
Steps to Reproduce the Bug or Issue
npm install
Expected behavior
no warnings for dependency mismatches
Screenshots or Videos
No response
Platform
Vite 6
React 19
Additional context
Works fine if I override:

Upon the merge and release of the changes in https://github.com/nksaraf/vinxi/pull/432, we can update the package in our repo.

Awesome. Is there a PR for react 18/19 as well? 🤭

Awesome. Is there a PR for react 18/19 as well? 🤭

One thing at a time 😅

Here's the copy and pastable fix:
"overrides": {
    "@vinxi/react-server-dom": {
      "react": "^19.0.0",
      "react-dom": "^19.0.0"
    }
  },

Thanks @HummingMind!


Comp-3 Function

duplicate issue to :
https://github.com/mlbelobraydi/TXRRC_data_harvest/issues/12


fix(window-state): manual default implentation, closes #421

fix #421

Wouldn't this cause the same issue in 421 but for undecorated windows?
Also, as far as i can see 421 will trigger the else branch because there's no existing config for that label, no?
(p.s. https://github.com/tauri-apps/plugins-workspace/pull/424)


maybe you need this great repo in ComfyUI

https://github.com/AIFSH/CosyVoice-ComfyUI

can you do sensevoice too ? thank you


setPageContextPrefetchCache() called on SSG page, with isBrilloutDocpress() false

Description
This is sometimes being triggered when using client-side navigation:
Uncaught (in promise) Error<EMAIL_ADDRESS>You stumbled upon a Vike bug. Go to https://github.com/vikejs/vike/issues/new and copy-paste this error. A maintainer will fix the bug (usually under 24 hours).
    at createErrorWithCleanStackTrace (createErrorWithCleanStackTrace.js:4:17)
    at assert (assert.js:54:27)
    at setPageContextPrefetchCache (prefetch.js:73:5)
    at prefetchPageContextFromServerHooks (prefetch.js:61:5)
    at async prefetch.js:212:21
    at async Promise.all (index 1)
    at async prefetchOnEvent (prefetch.js:199:5)

The assert() is the following from setPageContextPrefetchCache():
assert(isBrilloutDocpress()); // Ensure this API isn't used by anyone else

I also have random long delays in navigation, likely somewhere between page transition start and the onBeforeRender() hook, which I am currently trying to troubleshoot -- they may or may not be related.
Please let me know if you need more details to investigate/reproduce.

FWIW, this is the call stack at the assert():

Thank you, I see what's going on. Let me fix this.

Fix pre-released as 0.4.198-commit-77f6a27. Let me know if you still run into any issues.


Create Debian/Ubuntu package dataset

Create a package dataset for Debian/Ubuntu that maps file names to the package(s) that could have installed the files. Relates to #5 and #8 for determining how file names should be normalized to use as a "key" for lookups. We should also consider how we may want to split up the dataset into smaller chunks based on how it will be used (e.g. only includes, only binary files, etc).
Some potential sources of data for this are:

SQLite database from linux-package-analyzer
Contents-amd64 gzipped file from http://security.ubuntu.com/ubuntu/dists/ for noble or oracular (sources also may have interesting info to add); Debian equivalent is https://ftp.debian.org/debian/dists/stable-updates/main/

The package name given isn't the best one (usually contains version information in its name) -- in general the source package name is a better option that is more recognizable; though there are exceptions like libstdc++-12-dev comes from the gcc-12 source package (a few special cases for some well-known libraries like that may be needed.

Update/write script to output results as a sqlite database with an index generated on the file name for fast lookups.


Terminal in Visual Studio Code (git-bash as default) isn't printing entire HTML code

Issue Type: Bug
Using html-requests python package. When trying to print the html of a website to the terminal inside visual studio code it truncates it severly.
`
from requests_html import HTML, HTMLSession
new_session = HTMLSession()
r = new_session.get('https://www.sample-website.com')
print(r.html.html)
`
This is not a problem with the code or the package extensions as it will print the entire HTML when running directly from the git-bash terminal. I know its simple step to just move over to the terminal to run but the thing that makes VScode stand apart is its ease of use.
Thanks.
VS Code version: Code 1.41.0 (9579eda04fdb3a9bba2750f15193e5fafe16b959, 2019-12-11T18:37:42.077Z)
OS version: Windows_NT x64 10.0.18362
Extensions (3)

Extension
Author (truncated)
Version

code-runner
for
0.9.15

html-preview-vscode
geo
0.2.5

python
ms-
2019.11.50794

Please provide a screenshot illustrating the problem. See this wiki page for more info on how to report actionable terminal issues.


Additional UI-side validation for Ingress form

Original description below. Per the comments, there is no backend issue, but the ask is for UI to have additional validation to prevent these requests from going through until data is valid.
Rancher Server Setup

Rancher version: 2.6.2
Installation option (Docker install/Helm Chart):  Docker install

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc):  RKE1

Proxy/Cert Details:  self signed

Information about the Cluster

Kubernetes version:   v1.21.6
Cluster Type (Local/Downstream): Local installation via docker, 1x Rancher, 2x Worker Nodes

Describe the bug
I can't create an ingress.  No matter what value I use for "Name" I get the message:
Ingress.extensions "example.com" is invalid: [spec.rules[0].http.paths[0].path: Invalid value: "": must be an absolute path, spec.tls[0].hosts[0]: Invalid value: "": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')]
To Reproduce
Try to create an ingress and use any name.  Click create and the error message appears.
Result
The error Ingress.extensions "whatever" is invalid and the ingress is not created.
Expected Result
Create the ingress with the name given.
Screenshots
With example.com (like the error message even gives as a valid example):

With 'something-else':

With 'foo':

Additional context

@Sean-McQ This is good example of where the form validation work you are doing will help.

Looks like this was accidentally moved back to "to triage" somehow. Moving back to "To Test"

Test Environment:
Rancher version: v2.6-head b66dd0f
Rancher cluster type: HA
Docker version: 20.10

Testing:
Tested this issue with the following steps:

Create an ingress and use any name
Click create

Result
I was able to create ingress but I had to fill in the value where bar is, as shown below. Without that value I was running into the same error described in the bug. Is this the expected behavior? Will close/reopen based on @Sean-McQ comments

It looks like that value is only required if a certificate secret name is chosen. I should create a rule to catch that on the form and then pass it down to the array list to report it.


Check gofmt in Jenkins

Check gofmt in Jenkins.

TIL the test command. I've been using exit in a subshell until now. LGTM!


sample code to create datastore using disk uuid

I wasted a lot of time trying to get this code working, I am sure this sample code will help others. I posted question on how to use QueryVmfsDatastoreCreateOptions and other API's in various forums but got no response.

Closing the PR due to no updates from long time.
Please create new PR is this sample is required in list of samples here
Thanks


Add support for file indicator size and file occurrence creation

I've also added functionality to commit file actions.


HONOURED FOR DOING THIS COURSE.

[Enter feedback here]
I'm very thankful for doing this course. This certification will help for my career growth and better placements. The course mainly gives me knowledge of Azure and how it functions.
Thank you for Sponsoring this course Free.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f815c98d-c54b-a6cb-b77b-27c9fa99b3a3
Version Independent ID: f78699f2-a847-f5cc-54bb-2730faf0b755
Content: Build solutions with availability zones - Azure Architecture Center
Content Source: docs/high-availability/building-solutions-for-high-availability.yml
Service: architecture-center
Sub-service: azure-guide
GitHub Login: @EdPrice-MSFT
Microsoft Alias: edprice

@NihanthB Thanks for reaching out and providing feedback on Microsoft docs. Glad to know that it has helped you to understand azure services better and will be helping you in the near future.
I will go ahead and close this thread now.


 E.g., my check didn't hit on the "digital" typos. Afaiks these should be unique.

Thank you for the list of typos.  Went through them and verified that most have been addressed in  a previous commit:

spec/smdx/smdx_00010.xml:58:21: "Unkown" is a misspelling of "Unknown"
Fixed in pull request:  https://github.com/sunspec/models/pull/43

spec/smdx/smdx_00007.xml:106:40: "reponse" is a misspelling of "response"
Fixed in pull request:  https://github.com/sunspec/models/pull/43

spec/smdx/smdx_00004.xml:84:53: "specifed" is a misspelling of "specified"
Fixed in pull request:  https://github.com/sunspec/models/pull/43

spec/smdx/smdx_00004.xml:185:40: "reponse" is a misspelling of "response"
Fixed in pull request:  https://github.com/sunspec/models/pull/43

spec/smdx/smdx_00003.xml:74:53: "specifed" is a misspelling of "specified"
Fixed in pull request:  https://github.com/sunspec/models/pull/43

spec/smdx/smdx_00014.xml:32:55: "capabilites" is a misspelling of "capabilities"
Fixed in pull request:  https://github.com/sunspec/models/pull/43

spec/smdx/smdx_00305.xml:36:19: "Lattitude" is a misspelling of "Latitude"
Fixed in pull request:  https://github.com/sunspec/models/pull/43

spec/smdx/smdx_00501.xml:79:47: "producting" is a misspelling of "production"
Fixed in pull request:  https://github.com/sunspec/models/pull/43

spec/smdx/smdx_00502.xml:83:47: "producting" is a misspelling of "production"
Fixed in pull request:  https://github.com/sunspec/models/pull/43

spec/smdx/smdx_64020.xml:191:72: "writting" is a misspelling of "writing"
Fixed in pull request:  https://github.com/sunspec/models/pull/43

spec/smdx/smdx_64020.xml:196:72: "writting" is a misspelling of "writing"
Fixed in pull request:  https://github.com/sunspec/models/pull/43

The id's for model 64112 listed below are misspelled. However, because these are Symbol IDs we need to investigate if it's feasible to fix them now.

spec/smdx/smdx_64112.xml:35:20: "Ninty" is a misspelling of "Ninety"
spec/smdx/smdx_64112.xml:36:20: "Ninty" is a misspelling of "Ninety"
spec/smdx/smdx_64112.xml:224:18: "Ninty" is a misspelling of "Ninety"
spec/smdx/smdx_64112.xml:229:18: "Ninty" is a misspelling of "Ninety"

My bad. Didn't realized I was stuck in a detached head state and my pull wasn't effective. Please excuse me.

The way I look at these XMLs is that they are the definition of the mapping from the binary (registers and bit layouts) out of the devices and the functional meaning.
The IDs (i.e. like the "Ninty" situation) seem only to be used as the link between the block/point and the strings that describe them.
Changing these IDs (i.e. fixing the spelling errors) does not change this "binary to meaning" mapping.
So I propose we fix the "Ninty" and the "DiSCHARGE" examples as mentioned before here https://github.com/sunspec/models/pull/43#issuecomment-515760102 and again in this issue.

I was just thinking: The same holds for changing the type of the MAC from uint64 to eui48.
The bits and their meaning do not change.
So changing this in these XMLs can be done without any problems.

@nielsbasjes within the context of this repo I think that may be true.  But wouldn't the point ID be the sort of thing that anything using these XML files would be expected to identify the point by?  Regardless, there must be a path by which things can be corrected.  v2.0 + mapping from old IDs to new if nothing else.

Thank you for all of the input.  Turns out that mode 64112 is a vendor specific model and it is being hosted here.  We cannot change it.
A list of vendor extension ranges can be found under: https://sunspec.org/download/vendor-extensions/
I'm closing the issue for now.


Add optional support for TypeScript

The webpack config already lists .ts and .tsx as resolvable extensions, but it seems like the loader for ts is missing.

I think the npm-install-loader would be a good fit for this here! This would conditionally install a TypeScript loader & apply settings for it if-and-only-if CLI detects .ts files.

@lukeed Already at it :)

Great! I can help you if you need some @marvinhagemeister

In the meantime, you can drop in this plugin

@wub That's awesome! I guess this can be closed now.


Introduced diff-targets option

Current dependencies on/for this PR:

main

PR #129   👈

This comment was auto-generated by Graphite.


Add links to howtos and tutorials

@elisapaka more accurately this is "add howtos and full tutorials" (not just links to them).


ReferenceError: Card is not defined

Thank you for a great library.
I've encountered a bug when combining default and named exports of constants.
I have been able to reproduce it in your provided sandbox by modifying the Card.tsx file:

Add a named export (export const styles =).
Change the default exported component from a function to a constant.

See the code below.
import * as stylex from "@stylexjs/stylex";
import { globalTokens as $, spacing, text } from "./globalTokens.stylex";
import { colors } from<EMAIL_ADDRESS>import { tokens } from "./CardTokens.stylex";

type Props = Readonly<{
  title: string;
  body: string;
  href: string;
}>;

type TMobile = "@media (max-width: 700px)";

const MOBILE = "@media (max-width: 700px)" satisfies TMobile;
const REDUCE_MOTION = "@media (prefers-reduced-motion: reduce)";

const cardBgTransparent = `rgba(${$.cardR}, ${$.cardG}, ${$.cardB}, 0)`;
const CardBgTranslucent = `rgba(${$.cardR}, ${$.cardG}, ${$.cardB}, 0.1)`;
const cardBorderTransparent = `rgba(${$.cardBorderR}, ${$.cardBorderG}, ${$.cardBorderB}, 0)`;
const cardBorderHover = `rgba(${$.cardBorderR}, ${$.cardBorderG}, ${$.cardBorderB}, 0.1)`;

export const styles = stylex.create({
  link: {
    display: {
      default: "flex",
      [MOBILE]: "block",
    },
    alignItems: "center",
    justifyContent: "flex-start",
    flexDirection: "column",
    borderRadius: spacing.xs,
    backgroundColor: {
      default: cardBgTransparent,
      ":hover": CardBgTranslucent,
    },
    borderWidth: 1,
    borderStyle: "solid",
    borderColor: {
      default: cardBorderTransparent,
      ":hover": cardBorderHover,
    },
    color: "inherit",
    fontFamily: $.fontSans,
    padding: spacing.sm,
    transitionProperty: "background-color, border-color",
    transitionDuration: "400ms",
    [tokens.arrowTransform]: {
      // eslint-disable-next-line @stylexjs/valid-styles
      default: "translateX(0)",
      // eslint-disable-next-line @stylexjs/valid-styles
      ":hover": "translateX(4px)",
    },
    textAlign: "center",
    textDecoration: "none",
  },
  h2: {
    color: colors.blue3,
    fontSize: text.h4,
    fontWeight: 600,
    marginBottom: {
      default: spacing.xs,
      [MOBILE]: spacing.xxs,
    },
  },
  span: {
    display: "inline-block",
    transitionProperty: "transform",
    transitionDuration: {
      default: "200ms",
      [REDUCE_MOTION]: "0s",
    },
    transform: tokens.arrowTransform,
  },
  p: {
    margin: 0,
    opacity: 0.6,
    fontSize: text.p,
    textWrap: "balance",
    lineHeight: 1.5,
    maxWidth: "30ch",
  },
  dynamic: (color: string) => ({
    color: color,
  }),
});

const Card = ({ title, body, href }: Props) => {
  return (

        {title} →

{body}

  );
};

export default Card;

When inspecting the generated output it would seem that the const Card assignment is stripped from the output code.
(sandbox)

I am also seeing this on another sandbox example

A new release of the plugin has been uploaded to NPM.
The fix has been merged into PR #14

Fixed #14

Fixed #14


Wins not Parsing Args Properly with Spaces

Per another issue in kubernetes-sigs/sig-windows-tools wins will parse the --args flag by a space which makes it impossible to pass in args with spaces e.g. --interface=Ethernet2 0.

moving to rancher/wins https://github.com/rancher/wins/issues/9


Failed to run evaluate_kitti.py

When I run this script, it gets stuck at this point and stops responding. After debugging, I found that it gets stuck at the queue.get() step, but I don't have any clues on how to solve this issue. I hope the author can provide some assistance.

The dataloading process probably crashed because one of the expected files is not present. By default, the code expects the first sequence to be:

images: datasets/KITTI/dataset/sequences/00/image_2/*.png
poses: datasets/KITTI/poses/00.txt
intrinsics: datasets/KITTI/dataset/sequences/00/calib.txt

which should be what you get if you unpack the kitti odometry files under datasets/KITTI

Thanks, now my dataloading is fine, able to read data , but I have a new problem;

It will interrupt unexpectedly

I tried deleting and reinstalling the environment, but it seems that the situation has gotten worse.

It seems that there is a problem with the C++ part, but I don't know how to debug it.


RPC calls do not work across platforms

Even though raw messages seem to work across platforms (for this issue, consider a network of 2 nodes, my local laptop and a fractus node), RPC calls are broken. I tested derecho_caller_test.cpp and verified that the nodes segfault. This is probably because of some hard constraints around serialization of type_indexes. @etremel is going to say more about this.
It is worthwhile to note that my laptop has Ubuntu 18.04 with g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 and Fractus has 16.04 with g++ 7.3.0 (Ubuntu 7.3.0-21ubuntu1~16.04) . But, even Edward noticed this problem when he was testing on his local desktop and a Fractus node. He has Ubuntu 16.04 on his local machine and the same g++ version as on Fractus.
Years ago, we always wanted the same "binary" to be shipped to all the nodes. That's not realistic across platforms.

Perhaps they do not use the same endian representation or cache-line size.  Our form of RDMA assumes that the Derecho programs run on compatible hardware.

The specific problem here seems to be that the std::type_index component of the RPC Opcode is not interpreted correctly on the receiving side, leading it to fail when it attempts to look up a RemoteInvoker by comparing Opcodes. It's unsurprising that any minor difference in platforms (compiler, OS, environment) would cause a std::type_index to be deserialized incorrectly, because all we do to serialize and deserialize std::type_indexes is copy the raw bytes to the message buffer, then reinterpret those bytes as a std::type_index. Since std::type_index is an opaque internal type that contains pointers, this is inherently unsafe.
A better way to identify the Replicated Object class associated with a function Opcode would be to use the object's (mangled) typename, as returned by std::type_index::name(), rather than the entire std::type_index structure, since typenames are easily-serialized strings and not likely to change significantly between different minor versions of the compiler.

In Vsync,  this sometimes arose because of separate compilations.  I ended up mashing all the type signatures into a single 33-bit hash, and rejecting a join request if it didn’t match the one in use by the leader.

I think I might have mentioned this before, but type_index really isn't supposed to be serialized. We're getting away with it so long as the platforms are identical, but it's very very implementation-specific what happens when they're not. In particular, I'm worried that different versions of libstdc++ will treat these things differently.

When I read “isn’t supposed to be” I feel like I’m hearing about a guaranteed future bug.  Edward, why do you serialize this?  Matt, what should we be doing in the case Edward is looking at.
In Vsync, I actually used a map from type name to type.  C# types have string names, but in C# it works just as well to invent names, like an enumeration: DERECHO_INT_32, DERECHO_INT_64, … with small integer numerical values.  Easy to transmit, serialize correctly, and then you recover the types from the table…
In C++ we can get the same behavior with a switch statement, one case per type.  But we would need to know the set of types ahead of time, when we compile

We should be able to generate a unique integer per type introduced in the group constructor via this code snippet:
template <std::size_t init, typename T, typename T2, typename... seq> constexpr std::size_t index_translate_f() {   if constexpr (std::is_same<T, T2>::value)     return init;   else     return index_translate_f<init + 1, T, seq...>(); }
template <typename T, typename... seq> constexpr inline std::size_t index_translate = index_translate_f<0, T, seq...>();
This takes a type and a list of types, and returns an integer indicating which index into the list matched the requested type.
This assumes that the point at which we'd need a type index is somewhere where the list of types (from group) is in scope.  If there's no point like that, we'd need to either use virtual functions or store a closure which calls the indexing function.

There will be a related bug hiding in opcode generation for individual method calls.  I'm pretty sure that right now this relies on static initialization order, which is something that's not influenced by the libraries you link and thus is consistent across runs of the same binary.  But that's not guaranteed by the standard, so we should stop relying on it.  We can replace this opcode generation with one in which the opcode is a pair of the containing type "index" (generated as suggested in my earlier comment) and the position in the list of methods the class is registering.  i.e. the opcode (3,4) refers to the 3rd type (as passed into the group constructor), 4th method (in the order registered for that type).

To answer Ken's question, I wasn't the one who chose to serialize std::type_index when serializing Opcodes for RPC function invocations; I didn't write that code, so I don't know who made that decision. Ever since I noticed that we were serializing std::type_index as part of the Opcode in an RPC header I have thought that this was guaranteed to break at some point and wanted to replace it with something more portable, but since it was (at the time) working just fine I didn't have the time to fix it.
To answer Matthew's question, the list-of-replicated-types template parameter is not available anywhere outside the Group class, so it wouldn't be available in the Replicated and RPCManager classes, which is where Opcodes are sent and received. This is why we've been relying on std::type_index in the RPC subsystem to identify user-defined replicated objects: it's a unique identifier based on a typename that doesn't require the actual typename to be carried around in a template in order to use it. However, it looks like Replicated objects don't actually need to construct Opcodes on each RPC send, because once the Opcode for a function is constructed in the RemoteInvocable/RemoteInvoker constructors, it is saved as a class member and reused on every RPC message send. Furthermore, the RemoteInvocable constructors do get the type of the replicated class they are generating Opcodes for as a template parameter; they currently use this to construct the std::type_index that is saved in the Opcode for each RemoteInvocable. So if we can come up with a way to translate this template parameter into a unique integer at the time RemoteInvocable/RemoteInvoker is constructed, we won't actually need access to the type-to-integer function (or any templates) at the time RPC functions are called and handled.
Finally, when you say "opcode generation for individual method calls," what do you mean by "opcode"? I've been using Opcode to mean the struct that contains the set (type_index, subgroup_id, function_id, is_reply), but only one part of this (the function ID) is different per method. And as far as I can tell, function IDs, which are uint64's, are generated by the user when he/she registers RPC functions in the required register_functions() method - each function gets a "tag" template parameter, which is passed through to the RemoteInvocable constructor to be used as the FunctionTag element of the Opcode. So how is this relying on static initialization order?

Edward and I just discussed this and arrived at an elegant solution.  Anyone using RPC is specifying the proper replicated type.  So, we can use the macro trick to transform the typename X into the string X.  Having done so, we can do a constexpr hash on that string, thus obtaining a type-id that is independent of compilation order and that should be free of collisions.  Using this as the new definition of typeid would seemingly eliminate the bug!

Yes that would work. Though I thought the macro only contained the name of the method, with only the invocation still via a replicated. Though I suppose we could extend the macro to just capture both.
In response to my bug-waiting-to-happen warning, it looks like someone fixed that months ago. So all told this is going to end up just fine

Well, the RPC invocation uses the type, so the type is available in the RPC code.  The template defining replicated just needs to have a const property, at which point Edward would have the needed identifier.  And since we would use string hashing, this will be constant across platforms and compilers as long as the string hash is computed using the same constant expression...

As it turns out, template-expansion happens after macro-expansion; so if you're trying to capture the type-name of a template argument with a macro, you'll just get the name of the template parameter instead.  Right now we don't have a way of capturing the actual name of a type with just templates; the way the standard defines (puzzlingly) isn't constexpr-safe, and so can't run at compile-time.  I just talked this over with Edward, and we came up with a different solution based on my original suggestion: while we're still in the group constructor, we compute the index of our replicated type into the list of type parameters for the group.  We pass that along into the Replicated constructor, and use it in place of type_index.

I tested derecho_caller_test with two Fractus nodes and my laptop. All have Ubuntu 16.04. And it works!
I tested the same application with two Fractus nodes running Ubuntu 16.04 and one Fractus node running Ubuntu 18.04. And it works!
Then I tested on one node on Fractus running Ubuntu 16.04, one node on Fractus running Ubuntu 18.04 and one node on Cloudlab running Ubuntu 16.04 on an ARM machine. Some things work and some things FAIL. If I use the three nodes in order (node ids 0, 1 and 2 resp.) then it the first two nodes are able to talk to each other and run RPC functions. The third node throws an error failed to connect remote. nRead=-259. and all nodes exit as a result. When I change the order of the nodes so that node id 0 is still Fractus Ubuntu 16.04, node id 1 changes to the Cloudlab server and node id 2 is the Fractus 18.04 machine, then it again works!

When we use scatter gather, I bet there would be other things that would still fail.  Think of ARM sending to x86: unless Matt does some form of padding in his marshaller, with scatter gather his code  could easily generate a binary layout that the receiver can’t use for an upcall with arguments passed by reference.  Yet padding when not needed could be costly (it needs an extra verb).
Sent from my iPhone
On Nov 27, 2018, at 4:20 PM, Sagar Jha <notifications<EMAIL_ADDRESS>wrote:
I tested derecho_caller_test with two Fractus nodes and my laptop. All have Ubuntu 16.04. And it works!
I tested the same application with two Fractus nodes running Ubuntu 16.04 and one Fractus node running Ubuntu 18.04. And it works!
Then I tested on one node on Fractus running Ubuntu 16.04, one node on Fractus running Ubuntu 18.04 and one node on Cloudlab running Ubuntu 16.04 on an ARM machine. Some things work and some things FAIL. If I use the three nodes in order (node ids 0, 1 and 2 resp.) then it the first two nodes are able to talk to each other and run RPC functions. The third node throws an error failed to connect remote. nRead=-259. and all nodes exit as a result. When I change the order of the nodes so that node id 0 is still Fractus Ubuntu 16.04, node id 1 changes to the Cloudlab server and node id 2 is the Fractus 18.04 machine, then it again works!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/Derecho-Project/derecho-unified/issues/61#issuecomment-442221331, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AWDC7-1yKcl1D30rJfTTMtUmrxxYLjH8ks5uzaysgaJpZM4XxXtH.


[Checkpoint]Update fsdp.py to use local_offsets from DTensorSpec

Update fsdp.py to use local_offsets() from DTensorSpec.
Test:
python3 test/spmd/tensor/parallel/test_2d_parallel.py
python3 test/spmd/checkpoint/test_dedup_tensors.py
python3 test/spmd/checkpoint/test_fsdp_optim_state.py
python3 test/spmd/checkpoint/test_nested_dict.py
python3 test/spmd/checkpoint/test_traverse.py

Closed as fsdp.py is moved over to pytorch main. Will make the change there.


Is it possible to configure Envoy to not start listening until all upstreams is healthy?

Title: Is it possible to configure Envoy to not start listening until all upstreams is healthy?
Description:
We configured a static upstream cluster with active health check enabled, and we want Envoy to not start listening util the upstream is healthy.

Sorry, it seems that's not supported for now.


Apache Tika vulnerabilities

The version of Apache Tika currently used in the latest release has 2 known vulnerabilities: CVE-2022-25169 and CVE-2022-30126. The second one seems to be critical for the use-case in the project. Both issues are fixed in version 2.4.0.
If my assumption is correct, could we have a security fix release?

Thank you for reporting this @eugene-sy
we will see to update the library soon

fixed in version 1.8.1


Consider dropping PHP 5 support

PHP 7 has declare(strict_types=true), which is awesome, tbh.
We'd also be able to throw more specific exceptions.

1.0.0 => 5.5
2.0.0 => 7
:+1: :+1:

Doesn't PHP7 remove a lot of need for this with STH and RTH though?
On Fri, 26 Jun 2015 at 23:27 Gianluca Arbezzano<EMAIL_ADDRESS>wrote:

1.0.0 => 5.5
2.0.0 => 7
[image: :+1:] [image: :+1:]
—
Reply to this email directly or view it on GitHub
https://github.com/Roave/StrictPhp/issues/7#issuecomment-115908513.

Exactly. It mitigates also some of the code required in this repo.
On Jun 27, 2015 11:38 AM, "Gary Hockin"<EMAIL_ADDRESS>wrote:

Doesn't PHP7 remove a lot of need for this with STH and RTH though?
On Fri, 26 Jun 2015 at 23:27 Gianluca Arbezzano<EMAIL_ADDRESS>wrote:

1.0.0 => 5.5
2.0.0 => 7
[image: :+1:] [image: :+1:]
—
Reply to this email directly or view it on GitHub
https://github.com/Roave/StrictPhp/issues/7#issuecomment-115908513.

—
Reply to this email directly or view it on GitHub
https://github.com/Roave/StrictPhp/issues/7#issuecomment-115999394.

You mistake me.
When I have STH in my setters, then I no longer need boilerplate tests to check types, therefore I have very much LESS need for this library.
So basically making it PHP 6 only negates the main need for the library, therefore causing the world to implode.
:-1:

@GeeH this library verifies assignments at property level. STH are more about what I'm currently implementing in #20 (except that I went the extra mile to make it more awesome):

I am not an idiot, I understand what it does.
However, my point still stands, with the advent of PHP 6 I can simply create a setter around my object and STH which is a) production ready, and b) much easier than all that messing about in hyperspace.

@GeeH It's provide more features them STH as parameter interface jailing, which is awesome IMHO.
So this don't invalidate this library.

I'm not saying it invalidates the library, what I am saying is that is seriously limits the audience.

BTW - I was sitting with @Ocramius as he coded this, I know what the library does :wink:

Let me make myself clear:
Scenario One: PHP 7.x only

parameter/property protection is not so useful because I can easily protect parameters via STH/RTH
interfacing jailing useful
Target user-base = fair

Scenario Two: PHP 5.x (but runs on PHP 7 correctly)

parameter/property incredibly useful to PHP 5.x users because no STH/RTH
interface jailing userful
Target user-base = good

Note that property protection can't be achieved at language level ATM, because we don't have property accessors :sadpanda: :-(

@ocramius I get that, but here is the scenario
Mary is using PHP 7 and has public properties.
"OH! Look!" she exclaims, "I can either refactor my public properties to private, wrap them in type-hinted accessor methods and then use my unit tests to confirm I've caught all the places I need to change a property access to a method call... OR I can install this crazy voodoo reflection based cocktail of insanity that I will only be able to use in my tests and will give me no protection at run-time".
Mary decides to write the type hinted accessor methods.

@GeeH this library checks private state as well, but again, is not meant as drop-in type-safety engine for everything.
It is not providing type safety, it is providing fuckups-safety (so yes, it is an aid for Mary that is writing type-hinted accessors), so that she doesn't forget assigning something, or forgot a type hint, or had an expression th.
This is not a replacement for good coding, it is just an extra strict mode for development only.
Here's what the exact use-case for these failures looks like (in PHP 7):
/**
 * @param $age
 * mary forgot the type-hint due to old habits or IDE autocompletion without type
 */
public function __construct($age)
{
    $this->age = $age; // no type-cast because she assumes PHP 7
}

The check is applied on property assignment ($age is marked as int).
If I catch anyone using this library as a replacement for property accessors they are going to have a bad day because of me torturing them.
@GeeH you might want to make that clear in the docs, since it seems like you also confused the scope of this project.

Everything you say doesn't change the fact that usage is reduced in PHP7.

Also
/**
 * @param $age
 *  Mary didn't forget the type hint
 */
public function __construct(int $age)
{
    $this->age = $age; // yay, it's type cast
}
``

@GeeH this lib is not about providing the type-safety, it's about finding out where you forgot to provide it yourself (snippet of code you pasted is AFTER you corrected a StrictPhp failure)

OK OK OK OK OK OK
:microphone: :arrow_down:

After careful consideration, it is clear to me that there is no need for a PHP5 version of this library, as it is to be used in development environments only anyway.


Build produces generator functions but disables regenerator runtime

I'm trying to use the library with a build target of ie11 but the dist of react-query contains generator functions:
    var _ref2 = _asyncToGenerator(function* (pageVariables) {

It seems that @babel/plugin-transform-regenerator has been excluded in favour of fast-async and that in order to save on the bundle size (~1.5kb), the generator runtime has been disabled with the fast-async compiler option noRuntime: true.
To reproduce, build react-query and search for _asyncToGenerator in the resulting src bundle. Notice the function*. Then remove the compiler option of the fast-async config in .babelrc, rebuild and there are no function* in the generated output.

The latest version now uses babel-plugin-trasnform-async-to-promises as well. Enjoy :)


Update html_embed.py

Fixes error "TypeError: 'PosixPath' object is not subscriptable"

nice catch but i'd prefer something like
if instance(topack, Path):
   topack = topack.as_posix()
``` probably at start of loop
to be sure the vfs name is ok with "/" for html.


MINOR: refactor build method to extract methods from if statements

the build method is a little hard to follow, this aims to make it more readable by extracting code within if statements to methods.
ping @dguy @guozhangwang @mjsax

Merged to trunk


Bug: multiline = 1 causes all entries to be selected when using :FzfLua git_commits

RTFM Checklist

[X] I have searched exisiting issues / discussions
[X] I have read the Wiki including the Advanced section
[X] I have read man fzf / I am well versed in shell fzf

Operating system
Linux
Shell
fish
Neovim version (nvim --version)
NVIM v0.10.0
Fzf version (fzf --version)
0.53.0
Output of :lua print(os.getenv('FZF_DEFAULT_OPTS'))
--cycle --layout=reverse --bind ctrl-u:preview-half-page-up,ctrl-d:preview-half-page-down
Is the problem reproducible with mini.sh?

[X] My issue is reproducible with mini.sh
[ ] My issue IS NOT reproducible with mini.sh
[ ] I have not tested with mini.sh (not relevant, requires LSP, Windows, etc)

Fzf-lua configuration
require('fzf-lua').setup({
    defaults = { multiline = 1 },
})

Describe the bug / steps to reproduce
:FzfLua git_commits with multiline = 1 in the defaults table has a bug similar to #1252 except this time it seems like all git commits entries are selected at once and ctrl-n or ctrl-p don't do anything.

ty @brphilly, multiline needed to be disabled for all git pikcers that pipe shell commands directly, that inclues bcommits, tags and branches, should be fixed with https://github.com/ibhagwan/fzf-lua/commit/24a1616df5f27d1286e5113cf176693de4111d21.

Thanks for the fix and the great plugin!


I want a lesson resource selector component

Acceptance Criteria:

[ ] Checkbox
[ ] Text field that can change depending on situation (download is file type, share shows other information)
[ ] Story book only for now

https://www.figma.com/file/LSjbzdvHo17XqXGBRNJjQP/Old-%2F-new-content?type=design&node-id=83%3A59643&t=cXFoXinuMhZMeGPU-1

notion


Inline chat hunks don't disappear when rejected

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

VS Code Version: 1.95.1
OS Version: Linux

Steps to Reproduce:

Open the inline chat (ctrl +I) and sent a prompt that generates edits in multiple hunks
Discard one of the hunks

Instead of undoing the previous hunk edit when discarding it, the hunk is still visible and decorated as a diff, see screenshot:

Sorry for being inaccurate, this is happening on 1.95.1.


Not showing up under integrations

I have added this through HACS and confirmed that the files are showing up properly.  However, it does not show up in integrations after restarting HA.

It should show up as the "Minecraft Server". It overrides the built in one.
On Sat, Dec 11, 2021 at 3:28 PM Dimitri Berardi @.***>
wrote:

I have added this through HACS and confirmed that the files are showing up
properly. However, it does not show up in integrations after restarting HA.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jdeath/Bedrock-Homeassistant/issues/3, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEIVUALVZA4J7JI2AU2OHVTUQOYAHANCNFSM5J3MOUDQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Getting error after ipa processing when uploading iMessage app to iTunes.

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
Dear developer,

We have discovered one or more issues with your recent delivery for "XXXXXXXXXX". To process your delivery, the following issues must be corrected:

Invalid Messages Application Support - The MessagesApplicationSupport folder is missing and you have LSApplicationLaunchProhibited set to true in your Info.plist. Either rebuild your application using the current public (GM) version of Xcode or remove the LSApplicationLaunchProhibted key from your Info.plist and resubmit your application.

Invalid iMessage Application - Messages Only Applications must use a stub binary. Add MessagesApplicationSupport/MessagesApplicationStub beside your Payload directory in your IPA. MessagesApplicationSupport/MessagesApplicationStub must match the binary at StickyTrump.app/StickyTrump and have no post processing applied to it.

Once these issues have been corrected, you can then redeliver the corrected binary.

Regards,

The App Store team

Environment
✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.1

Ruby
2.2.4

Bundler?
false

Git
git version 2.9.3 (Apple Git-75)

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.12.1 (16B2657)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
true

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "1.111.0"

default_platform :ios

platform :ios do
  before_all do
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."

  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    match(type: "appstore", app_identifier: ["com.rtayal.MessageGame", "com.rtayal.MessageGame.MessagesExtension"]) # more information: https://codesigning.guide
    gym(use_legacy_build_api: true, scheme: "MessagesExtension", include_bitcode: false) # Build your app - more options available
    pilot(skip_waiting_for_build_processing: true)

    # sh "your_script.sh"
    # You can also use other beta testing services here (run `fastlane actions`)
  end

  desc "Deploy a new version to the App Store"
  lane :release do
    # match(type: "appstore")
    # snapshot
    gym(scheme: "MessagesExtension") # Build your app - more options available
    deliver(force: true)
    # frameit
  end

  # You can define as many lanes as you want

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md

# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer

`./fastlane/Appfile`
app_identifier "com.rtayal.MessageGame" # The bundle identifier of your app
apple_id "xxxxxxx" # Your Apple email address

team_id "CEBY93VF85"  # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

cert
1.4.4
✅ Up-To-Date

credentials_manager
0.16.2
✅ Up-To-Date

deliver
1.16.1
✅ Up-To-Date

fastlane
1.111.0
✅ Up-To-Date

fastlane_core
0.59.0
✅ Up-To-Date

frameit
3.0.0
✅ Up-To-Date

gym
1.12.1
✅ Up-To-Date

match
0.11.1
✅ Up-To-Date

pem
1.4.1
✅ Up-To-Date

pilot
1.12.1
✅ Up-To-Date

produce
1.3.2
✅ Up-To-Date

scan
0.14.2
✅ Up-To-Date

screengrab
0.5.6
✅ Up-To-Date

sigh
1.12.1
✅ Up-To-Date

snapshot
1.16.4
✅ Up-To-Date

spaceship
0.38.5
✅ Up-To-Date

supply
0.8.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

CFPropertyList
2.3.4

activesupport
<IP_ADDRESS>

addressable
2.5.0

babosa
1.0.2

bigdecimal
1.2.6

bundler
1.13.6

claide
1.0.1

cocoapods
1.1.1

cocoapods-core
1.1.1

cocoapods-deintegrate
1.0.1

cocoapods-downloader
1.1.2

cocoapods-plugins
1.0.0

cocoapods-search
1.0.0

cocoapods-stats
1.0.0

cocoapods-trunk
1.1.1

cocoapods-try
1.1.0

colored
1.2

commander
4.4.0

concurrent-ruby
1.0.2

credentials_manager
0.16.2

domain_name
0.5.20161129

dotenv
2.1.1

escape
0.0.4

excon
0.54.0

faraday
0.10.0

faraday-cookie_jar
0.0.6

faraday_middleware
0.10.1

fastimage
1.6.8

fastlane_core
0.59.0

fourflusher
2.0.1

fuzzy_match
2.0.4

gh_inspector
1.0.2

google-api-client
0.9.20

googleauth
0.5.1

highline
1.7.8

http-cookie
1.0.3

httpclient
<IP_ADDRESS>

hurley
0.2

i18n
0.7.0

io-console
0.4.3

json
1.8.1

jwt
1.5.6

krausefx-shenzhen
0.14.11

libxml-ruby
2.9.0

little-plugger
1.1.4

logging
2.1.0

memoist
0.15.0

mime-types
3.1

mime-types-data
3.2016.0521

mini_magick
4.5.1

minitest
5.4.3

molinillo
0.5.4

multi_json
1.12.1

multi_xml
0.5.5

multipart-post
2.0.0

nanaimo
0.2.3

nap
1.1.0

net-sftp
2.1.2

net-ssh
3.2.0

netrc
0.7.8

nokogiri
1.5.6

os
0.9.6

plist
3.2.0

power_assert
0.2.2

psych
2.0.8

public_suffix
2.0.4

rake
10.4.2

rdoc
4.2.0

representable
2.3.0

retriable
2.1.0

rouge
1.11.1

rubygems-update
2.5.2

rubyzip
1.1.7

security
0.1.3

signet
0.7.3

slack-notifier
1.5.1

sqlite3
1.3.12

terminal-notifier
1.7.1

terminal-table
1.4.5

test-unit
3.0.8

thread_safe
0.3.5

tzinfo
1.2.2

uber
0.0.15

unf
0.1.4

unf_ext
<IP_ADDRESS>

unicode-display_width
1.1.1

word_wrap
1.0.0

xcode-install
2.0.9

xcodeproj
1.4.1

xcpretty
0.2.4

xcpretty-travis-formatter
0.0.4

generated on: 2016-12-11

@fastlane-bot the issue is not related to code signing.

Any plans for fixing this issue?

@RishabhTayal i saw you setting use_legacy_build_api  disable it - don't use use_legacy_build_api  or set it to false
use_legacy_build_api  does not work for extensions like watch/imessages ...

It works! 💯


Implement PC Buttons and LEDs

This will just be for sending PC messages initially.

A MIDI channel should be decided on already, but if not, decide on it
PC buttons will change patches or presets
There should only be a single LED active at a time for the PC buttons.
When a PC button is pressed, all CC button states should go LOW before sending the MIDI message to change preset. No CC MIDI messages should be sent when switching state.
PC values should probably start at 1 (or 0?) and go in blocks of 6. Blocks will be implemented later with the StepUp and StepDown buttons
The current PC value should be displayed on the LCD

Here's some quick and dirty Ruby to calculate the number of banks and preset range per bank for a given number of PC buttons
PC_COUNT = 5

num_banks = 127.0/PC_COUNT
banks = (0..num_banks).to_a

banks.each do |bank|
  min = bank * PC_COUNT

  max =
    if min == 127
      127
    else
      m = min + (PC_COUNT - 1)
      m > 127 ? 127 : m
    end

  puts "Bank #{bank}: #{min} - #{max}"

# (0...PC_COUNT).each do |preset_multiplier|
#     preset = preset_multiplier + (bank * PC_COUNT)
#     break if preset > 127
#
#     puts preset
#end
end


classname in figcaption

First of all, thank you for the library! I'm using it to render HTML string from draft.js. When the string contains figure with image and image caption I got an error:
warning.js:33 Warning: Unknown DOM property classname. Did you mean className?
    in figcaption (created by Story)
    in figure (created by Story)
    in div (created by Story)
    in div (created by Story)
    in div (created by Story)
    in article (created by Story)
    in div (created by Story)
    in div (created by Story)
    in div (created by Story)
    in Story (created by StoryContainer)
    in StoryContainer (created by Connect(StoryContainer))
    in Connect(StoryContainer) (created by RouterContext)
    in div (created by _default)
    in div (created by _default)
    in div (created by _default)
    in _default (created by RouterContext)
    in div (created by App)
    in App (created by Connect(App))
    in Connect(App) (created by RouterContext)
    in RouterContext (created by Router)
    in Router
    in Provider
    in AppContainer

Any thoughts why this happens?

You get this warning with React 16 when you add the classname attribute to an element. Prior to v16, React had an attribute whitelist and it would strip out any attributes it didn't think were valid (such as classname). If you use the class attribute in your HTML strings react-html-parser will automatically convert it to className.

@wrakky thanx for answer :) but I think problem with react-html-parser because I use exactly className. And this errors appears only on component with react-html-parser and only if html string contain image. Please try to use my html string
"
Most people believe Christmas is a winter holiday, that requires some snow, fir-trees and permanent jingling. Still, there is a belief that it could be just as awesome in tropical environment with palms, mojito and sunbathing.

Christmas is also a time of the year when we opt for sophisticated and unusual meals, even when celebrating at home. If you are a bit of a gourmet you may find it curious to visit the Hong Kong food festival.

So let’s have a look at options to celebrate Christmas and New Year in a warm weather. Consider wearing shorts and flip-flops instead of a sweater with deer.

Taking a Cruise

This way of celebrating is great for those who want to embrace all the joys having very little time. You can combine relaxing on the deck with occasional sightseeing and shopping in new cities.

The decorated fir-trees are probably making funny jingling noises because of the waves. Ok, just kidding, modern cruise ships are not so sensitive. Still, make sure that you and your companions are not sea-sick.
"

This is the offending section:

That attribute should be class and not className. react-html-parser automatically converts all attributes to lowercase because React throws other warnings for unknown attributes that are in camel case, so this converts className to classname and then you get the warning about using classname instead of className that you are seeing.

I got it! Thank you!

Hi, thanks for the thread -
Does anyone know how I can transform classnames as variables?
EXAMPLE:
ReactHtmlParser('
My Heading')
not working...


WebSocket Connection Error in GraphBot SPFx Extension

Screenshots

Version

To determine what version of Web Chat you are running, open your browser's development tools, and paste the following line of code into the console.
[].map.call(document.head.querySelectorAll('meta[name^="botframework-"]'), function (meta) { return meta.outerHTML; }).join('\n')
If you are using Web Chat outside of a browser, please specify your hosting environment. For example, React Native on iOS, Cordova on Android, SharePoint, PowerApps, etc.

Describe the bug
I have the Microsoft GraphBot extention running in the SPFx site.
I am facing an issue with WebSocket
here is the issue in console error
WebSocket connection to wss://directline.botframework.com/v3/directline/conversations/conversation-id/stream-watermark' failed: Error during WebSocket handshake: Unexpected response code: 403
After the error in console we are losing the conversation history. Its throwing an error in directLine.ts file at line: 682. const ws = new WebSocket(this.streamUrl);
Please help me out to resolve it. I have search all but no results.
Steps to reproduce

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior

Additional context

[Bug]

hi @uppalapraveen Have you been able to confirm token/credentials or any other updates?

Hi @uppalapraveen We haven't heard back from you in some time. If you are still having this problem, please reopen the issue and address the questions we have posed. Thanks, and have a great day!

Thanks for the support Dana V...!
I have resolved the issue in other way by enabling the WebSocket as true.
Storing the conversation history in local storage and retrieving it back on some click events.
Its working for me perfectly..!


Make config dirs tunable

What

Make config dirs for both ambassador and envoy tunable via custom ENV CUSTOM_CONFIG_BASE_DIR. Defaults to current dir ($AMBASSADOR_ROOT) if not set

Also fixed a bug how the PYTHON_EGG_CACHE is set, it was not overwritable and was writing to root of the app while  the original intent was $APPDIR}/.cache

Why
This allows folks to eg. use tmpfs mounts on k8s when writing to read is not permitted.
Open
I didn't quite grasp why both envoy.json and envoy*.json is used, could be cleaned up if latter could be dropped.

Taking this one for the next 0.40.


Update ubuntu instructions in README.md

LGTM - let's close this one and open a new against https://github.com/thingsboard/thingsboard.github.io


Remove global app logic from Window.init

Description
This follows on #2056 (and includes its as well) and completes the removal of application-creation logic from the Window class, along with  the _napari_global_logo and related class attributes on the Viewer.
@Czaki, you expressed an opinion that all of this stuff should not be removed from Viewer, but i have a hard time understanding why global QApplication stuff needs to be there, and it makes our Viewer and Window objects clunkier.  I'd suggest that you just call get_app prior to instantiating the first Viewer in your application (essentially "claiming" the application as your own).
Please have a look at this PR and tell us if you are unable to accomplish what you need using some combination of  get_app, set_app_id,  and viewer.window._qt_window.setWindowIcon().  If not, please give me an example that I can use to understand the limitations.  Thanks
Type of change

[ ] Bug-fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

References

How has this been tested?

[ ] example: the test suite for my feature covers cases x, y, and z
[ ] example: all tests pass with my change

Final checklist:

[ ] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works

I only want to have possibility to prevent calling functions like setWindowIcon, setApplicationName and set_app_id to do this on my own

put yourself in the position of napari, can you not see the argument for removing these global app specific arguments from the (non-global) window?  why don't you want to have to call these functions?

If You decide to break behaviour  ...

what behavior do you see this as breaking?

I only want to have possibility to prevent calling functions like setWindowIcon, setApplicationName and set_app_id to do this on my own

put yourself in the position of napari, can you not see the argument for removing these global app specific arguments from the (non-global) window?  why don't you want to have to call these functions?

If You decide to break behaviour  ...

what behavior do you see this as breaking?

put yourself in the position of napari, can you not see the argument for removing these global app specific arguments from the (non-global) window? why don't you want to have to call these functions?

I wany to call these functions with my own set of parameters, not napari default one.

put yourself in the position of napari, can you not see the argument for removing these global app specific arguments from the (non-global) window? why don't you want to have to call these functions?

I wany to call these functions with my own set of parameters, not napari default one.

I'm still not following.  What's stopping you from calling these functions with your own set of parameters?

I'm still not following.  What's stopping you from calling these functions with your own set of parameters?

I'm still not following. What's stopping you from calling get_app with your own set of parameters?

Nothing. My wories in #2056 are conected with previous behaviour of seting icon and application idetifier on all Viewer constructor call.

I'm still not following. What's stopping you from calling get_app with your own set of parameters?

Nothing. My wories in #2056 are conected with previous behaviour of seting icon and application idetifier on all Viewer constructor call.

Nothing. My wories in #2056 are conected with previous behaviour of seting icon and application idetifier on all Viewer constructor call.

great!  sounds like you're ok with this then.

Nothing. My wories in #2056 are conected with previous behaviour of seting icon and application idetifier on all Viewer constructor call.

great!  sounds like you're ok with this then.

Ok, thanks @tlambert03 I think this is good to go. I will merge now, as I said above we can still adjust during our rc process!

Ok, thanks @tlambert03 I think this is good to go. I will merge now, as I said above we can still adjust during our rc process!


Ask for port while joining a cluster

I can change the port where lxd listend by f.i. using a presseded configuration:
cat presed.yaml | lxd init --pressed

But when I'm joining a second node to the cluster, this is what I'm asked:
IP address or FQDN of an existing cluster member:

Yes, I can put <IP_ADDRESS>:5555 and it works, but maybe you could include a reference to the port there?

Added, though I suspect we'll be dropping those options entirely in the near-ish future as we really want folks to use join tokens instead, those are much more secure and already include all addresses, ports and certificates.

Same for configuring the IP itself:
What IP address or DNS name should be used to reach this node? [default=<IP_ADDRESS>]: <IP_ADDRESS>:5555

That works.

we really want folks to use join tokens

can tokens be pre-calculated? we would like to fully automate this with bash or preferably ansible.

You can't pre-calculcate them but you can issue them with lxc cluster add NAME and then put the resulting token into your preseed.


Consistently use printOptions

The documentation makes reference to the ability to pass --printOptions, but this is not strictly observed in all transforms. Since these transformations can potentially affect hundreds of files, it might be annoying to not be able to change recast's defaults, like when it replaces all line-feeds with CRLF on Windows.
I tried to honor the existing format in each file with this PR. Since some conventions are not uniform among the existing transformations, I did not use the same format everywhere. Please let me know if you would like for me to adjust this PR as necessary.
I think it is worth noting that it may also be prudent to use something like Object.assign and merge the CLI and transform options, rather than just using the CLI options OR the transform's defaults.

Also, it is not possible for the existing tests to pass on a Windows environment, because the output will always include CRLF, diverging from the fixtures with LF. I can further add lineTerminator: '\n' to each of these transformations, which will allow them to succeed on any OS.

Thank you for this!


Does not work at the latest SDK.

Could you support the latest SDK version?

Running "flutter packages get" in flutwear...
The current Flutter SDK version is 0.4.4.
Because flutwear depends on wear any which requires Flutter SDK version >=0.3.1 <0.4.0, version solving failed.
pub get failed (1)

This issue is now resolved in version 0.1.0 released yesterday. Closing issue.


Question about callgraph

Hello, when I reproduced CVE-2019-14494 in Docker, I found that the generated callgraph did not seem accurate. I could not find the main function in the generated callgraph. Is this normal?

Hi, we use other tools to generate callgraphs and cannot guarantee their accuracy. Better callgraphs should improve the effectiveness of fuzzing.


[Q] Same metric but against multiple different x-axis

I wish to plot same metric, say train/loss but again two different x-axis, for example, step and tokens. This should appear as two different plots showing loss against steps and loss against  tokens. How do I do this?
Currently, I do:
wandb.define_metric("step")
wandb.define_metric("tokens")

wandb.define_metric("train/loss", step_metric="step")
wandb.define_metric("train/loss", step_metric="tokens")

However, it seems 2nd definition overwrites the first instead of treating it different.
I need to do this for a whole lot of metrics for tons of runs and so fudging around in wandb UX is not an option.

Internal GitHub User commented:
I wish to plot same metric, say train/loss but again two different x-axis, for example, step and tokens. This should appear as two different plots showing loss against steps and loss against  tokens. How do I do this?
Currently, I do:
wandb.define_metric("step")
wandb.define_metric("tokens")

wandb.define_metric("train/loss", step_metric="step")
wandb.define_metric("train/loss", step_metric="tokens")

However, it seems 2nd definition overwrites the first instead of treating it different.
I need to do this for a whole lot of metrics for tons of runs and so fudging around in wandb UX is not an option.

Hi @sytelus thank you for writing in! Just to confirm, are you doing something similar to the code snippet below:
import wandb

wandb.init(project='define-metric')

wandb.define_metric("step")
wandb.define_metric("tokens")

wandb.define_metric("train/loss", step_metric="step")
wandb.define_metric("train/loss", step_metric="tokens")

for i in range(10):
    log_dict = {
        "train/loss": 1 / (i + 1),
        "step": i**2,
        "tokens": i**4,
    }
    wandb.log(log_dict)

wandb.finish()

and then in the UI you only get one plot? this is currently the expected behavior as it creates one plot per y-axis metric, eg train/loss and not per x-axis variable. However, you could Add panel > Line plot in the App and plot against the other custom metric too. Would this not work for you?

Hi @sytelus we wanted to follow up with you regarding your support request as we have not heard back from you. Please let us know if we can be of further assistance or if your issue has been resolved.

Hi, I want to automatically create two plots for same y-axis but different x-axis. How can we do this using APIs (without having to use UX).

Hi @sytelus thank you for the additional context. You will need to log the plots under a different key. I have provided you with a code snippet to achieve this. Can you please try this and let us know if that works for you?
wandb.init(project='define-metric')

wandb.define_metric("step")
wandb.define_metric("tokens")

wandb.define_metric("train/loss_step", step_metric="step")
wandb.define_metric("train/loss_tokens", step_metric="tokens")

for i in range(10):
    log_dict = {
        "train/loss_step": 1 / (i + 1),
        "train/loss_tokens": 1 / (i + 1),
        "step": i**2,
        "tokens": i**4,
    }
    wandb.log(log_dict)

wandb.finish()

I see. This hack won't generate nice clean plots but it's good workaround for the current limitation. I really feel wandb needs API that allows to specify plots configuration separately. That is, you can log any (key, value) pairs but specify the plots configuration in init. The plot configurations should setup x-axis, y-axis, legends, multiple plots in same figure, order of plots etc.
Thanks for the response.

Hi @sytelus thank you for your valuable feedback, and good to hear that the current solution is meeting your needs for now. Your suggestion is greatly appreciated, and I will log it as a feature request for our engineering team to consider.
Currently, it's possible to achieve the desired functionality by utilizing the Reports API to create and configure the plots within the Reports section, rather than in the Workspaces. For further information, you can refer to our documentation page and find a helpful Colab example here.
Thank you once again for your input, and we'll keep you updated on any developments regarding this feature request.

Thanks. Reporting API is unfortunately not a solution. We do training runs and share it among large set of people so everyone can see what is going on. The plots needs to be configurable for each run.

Hi @sytelus just for your information, this has been filed as a feature request, and we will keep you updated on its progress here. Thank you for this suggestion!

Thanks.

Hi, wondering if there are any improvements in APIs for this very old feature request. Ability to plot metric against step, tokens and time is super basic ability that people need, in my opinion.

Regarding the original request here, it still isn't possible to use multiple x-axis variables against a y-axis metric. But last week we added support to allow use non-monotonic steps in the x-axis, so I was wondering if inverting x/y axes would help with this ask?

Hi @sytelus since we have not heard back from you, and the Workspaces API should address the request to perform this programmatically, we are going to close this request. If you would like to re-open the conversation, please let us know - and we would be more than happy to help any further!


Block multiplication of matrices.

I've wrote a function multiplying matrices by blocks. It should to be faster on larger matrices due to cache related issues of the simple multiplication function. It doesn't change the memory layout of the matrix.
I've tested the performance of both the simple (previous) and block multiplication of square matrices. For block size of 16 (it performed best on my computer) the block multiplication is outperforming the simple multiplication when matrix size is 32x32 and when the matrix size is 256x256 it's twice as fast as simple multiplication. I've copied the bench output at the end of this post.
PS: This is my first pull request, so i doubt it's well-formed. I wasn't sure if I had to raise an issue before making a pullrequest . Also I'm not sure if the code is readable enough.
 We are still in the early phase of the library, hence not filing an issue apriori is not a problem. I am merging this change. If any coding convention/readability related issue is there I will do it later.
BTW, my earlier idea was that do a block by block transpose of the matrix first and then do a column by column multiplication. I had done some testing related to that.  See for example in bench_multiply_transpose_simple benchmark. Is your new approach better?

I've made a quick bench and copied it in the end of this post. It seems transposing and then multiplying is good for smallish matrices. But for big matrices (larger than say 128-256 elements ) block multiplication is slightly faster.
I think it needs some more research and benchmarks (e.g. for rectangular matrices, for f32 and f64 and other CPU-s) for finding the optimal threshold for simple, transpose-then-multiply, block_multiply.
 So having block multiplication is justified for now. Here are some references for further study
https://en.wikipedia.org/wiki/Strassen_algorithm
https://en.wikipedia.org/wiki/Coppersmith–Winograd_algorithm
Not  sure if it's worth the effort to try implementing these. If yes, then we can test them for matrices of pretty large size like 1024 x 1024 or 2048 x 2048.

This Stanford paper http://cs.stanford.edu/people/boyko/pubs/MatrixMult_SURJ_2004.pdf compares both Strassen and Winograd algorithm and proposes a hybrid algorithm for better performance.


gulp and js

I realise this is not a helpdesk as such, but I figure this working, will be of great benefit to everyone else using the framework...
I'm trying to get gulp watch working with js files, and it just seems to run the scripts  task in an endless loop.  The task should concatenate any js file in  main/assets/js/**/*, create the scripts.js and then rename and minify.
instead it just loops and loops.  Dependencies have been installed using: npm install gulp-concat gulp-rename gulp-uglify --save-dev as shown on https://codehangar.io/concatenate-and-minify-javascript-with-gulp/
What is wrong in here?
The initial build creates the js files just fine - it seems the "watch" command creates the loop;
Again, feel free to decline to answer, but i really do think it will be of great help to anyone else.
Thanks in advance.
gulpfile.js.zip

edit: I've solved this by simply changing the dest path to be outside of the source path.
Anyone else wanting to use gulp to combine the js files in the framework can use this gulpfile instead.
gulpfile_fixed.js.zip

Hi @starchild thanks for posting this solution. We are looking into it and see if we can include it in the gulp file of the framework. The downside of this approach is that you cannot control the order of the js files.
For example, if you are importing the slideshow component, you would need to include the swipe-content component as well (and make sure to include its js before the one of the slideshow for it to work properly).
Did you find a solution for that as well? Thanks.

Hi,
The file I posted is already my amended version of the CH gulpfile.
I worked out that by default, gulp will concat the js files based on alpha-numeric order, so for example, all I had to do was rename the utils file to 1.0-utils.js and it would be at the top of the output.
I saw there is also https://github.com/sirlantis/gulp-order if you want to define manually, but I don't want to do that, and the simple numbering/file naming hack works best for me.
I saw there is also a plugin that can be used

I see. Thanks for posting your solution.


'package:flutter/src/material/dropdown.dart': Failed assertion: line 1260 pos 12: 'widget.items!.where((DropdownMenuItem item) => item.value == widget.value).length == 1': is not true.

Widget build(BuildContext context) {
    Map state = ref.watch(seatControlProvider);
    return (SafeArea(
      child: Scaffold(
        body: Column(
          children: [
            ...state["yourReservation"].asMap().keys.toList().map((value) {
              return Expanded(
                child: Column(
                  children: [
                    TextInput(
                      textController: listOfNameControllers[value],
                      hintText: "Please Enter Full Name",
                      iconData: Icons.person,
                    ),
                    const SizedBox(
                      height: 15,
                    ),
                    PhoneNumberInput(
                        phoneController: listOfPhoneControllers[value]),
                    const SizedBox(
                      height: 15,
                    ),
                    Expanded(
                      child: DropdownButton(
                          items: selectionList,
                          onChanged: (val) {
                            print(val);
                          }),
                    )
                  ],
                ),
              );
            })
          ],
        ),
      ),
    ));
  }

Hi @davidhailu0, you'll need to make sure that the values that you provide to the DropdownMenuItems are unique.
You'll also have to make sure that you're passing the values to the dropdownmenuitems as well as the dropdownbutton itself. See https://www.fluttercampus.com/guide/209/solve-dropdownbutton-errors-flutter/ for more ways you could fix this issue.
Closing as the assertion is correct.
Thank you

Hi @danagbemava-nc, Thank you for the quick response. The problem was fixed


In pulls.get, getting error 'mediaType' does not exist in type 'PullsGetParams'

Bug Report
Current Behavior
When trying to typescript-compile the below code, getting Argument of type '{ owner: string; repo: string; pull_number: any; mediaType: { format: string; }; }' is not assignable to parameter of type 'PullsGetParams'.
import { Application } from 'probot' // eslint-disable-line no-unused-vars

export = (app: Application) => {
  app.on('pull_request.opened', async (context) => {
    const issue = context.issue()
    const pr = await context.github.pulls.get({
      owner: issue.owner,
      repo: issue.repo,
      pull_number: issue.number,
      mediaType: {
        format: 'diff'
      }
    })

    console.error(pr)
  })
}

Expected behavior/code
Should be able to compile and run, according to docs from @octokit/rest: https://octokit.github.io/rest.js/
Excerpt:
const { data: diff } = await octokit.pulls.get({
  owner: "octokit",
  repo: "rest.js",
  pull_number: 123,
  mediaType: {
    format: "diff"
  }
});

Environment

Probot version(s): v9.5.0
Node/npm version: node v10.16.0
OS: macOS

The problem might be pull_number: any. Can you try this?
    pull_number: issue.number as number

The problem might be pull_number: any. Can you try this?
    pull_number: issue.number as number

Thanks for taking a look! I changed the code to your suggestion:
    await context.github.pulls.get({
      owner: issue.owner,
      repo: issue.repo,
      pull_number: issue.number as number,
      mediaType: {
        format: 'diff'
      }
    })

And I'm getting the following error:
No overload matches this call.
  Overload 1 of 2, '(params?: PullsGetParamsDeprecatedNumber | undefined): Promise<Response<PullsGetResponse>>', gave the following error.
    Argument of type '{ owner: string; repo: string; pull_number: number; mediaType: { format: string; }; }' is not assignable to parameter of type 'PullsGetParamsDeprecatedNumber'.
      Object literal may only specify known properties, and 'pull_number' does not exist in type 'PullsGetParamsDeprecatedNumber'.
  Overload 2 of 2, '(params?: PullsGetParams | undefined): Promise<Response<PullsGetResponse>>', gave the following error.
    Argument of type '{ owner: string; repo: string; pull_number: number; mediaType: { format: string; }; }' is not assignable to parameter of type 'PullsGetParams'.
      Object literal may only specify known properties, and 'mediaType' does not exist in type 'PullsGetParams'.

Thanks for trying, I'll look into it, might be a bug in @octokit/rest introduced in https://github.com/octokit/rest.js/releases/tag/v16.29.0

to see the fix, make sure to all sub dependencies are updated. When in doubt, try
rm -rf node_modules package-lock.json && npm install

You should see something like this
$ npm ls @octokit/rest
└─┬<EMAIL_ADDRESS>  └──<EMAIL_ADDRESS>

Thank you so much for the quick response and fix!


Rebellion update- added dashboard.css and minor changes for color

Missing dashboard.css and minor changes to bootstrap-select. Let me know of any issues whilst I have time!

Merged, thanks!


Fix: Incorrect logging of 'move' actions as 'reorder' when the target is an intended sibling

Small bug fix that was originally included in #7761 and later removed.

@ababic  I can replicate the issue but the behaviour is the same after I load the PR locally.
Not sure if I am missing something, I loaded the Bakerydemo, then moved the first blog sub-page to the blog parent (same location basically).
Screenshot - top one is after I applied the PR

Thanks for looking @lb! I should have been more clear in the description, but this error only presents when invoking Page.move() directly (the move view always passes the same/correct combination of arguments)


After being prompted about having to reinstall better discord. I now got a new popup with a new beta installer. Installed it.. Installation said it went ok. But nothing changes.

Same standard interface. The better discord settings options are there in the menu. When I choose a theme I previously created and activate it.. Nothing happens. This being on the latest updated windows 10 version of discord.
Nvm.. Apparently all previously created themes have to be redone as they are invalid

Issues regarding the client should be directed towards the respective repository.


Segmentation faults when running examples

$ sudo cargo run --example easylisten
  Downloaded bitflags v1.2.1
  Downloaded 1 crate (16.7 KB) in 0.72s
   Compiling bitflags v1.2.1
   Compiling pcap v0.9.2 (/home/wojtek/Workspace/pcap)
    Finished dev [unoptimized + debuginfo] target(s) in 1.40s
     Running `target/debug/examples/easylisten`
Using device wlp4s0
[1]    238107 segmentation fault  sudo cargo run --example easylisten

Running the example at different commits revealed that 327bb1a is the faulty one.

we should also test example in the CI

We should just test more as our code coverage is only 35-40% :-). The problem with testing these in CI is that they need to bind to an interface so one should explore how to do that. It 100% can be done in a docker container with veth pairs, but I haven't gotten around to it just yet as it's a lot of work.


Notebook error

Opening the first chapter file ch01.ipynb result in the following error:
"Unreadable Notebook: /home/antonio/libro-machine-learning/ch01.ipynb NotJSONError("Notebook does not appear to be JSON: '\n\n\n\n\n\n\n<html lang...")"
python version: 3.7 from anaconda distribution.

Hi there. This error typically happens if you incorrectly download the notebook. I.e., it looks like you used the browser's "save as" function to save the notebook, which will just save a copy of the HTML page and not the notebook itself.
There are many ways for downloading a notebook, I recommend the simplest one, i.e., downloadng the whole repo:

Thanks. I used a massive downloader plugin of the browser.


Dataset support required

Currently, we implicitly only support one dataset. We need to support an arbitrary number of datasets. This issue acts as a meta-issue and can be closed once all of the dependent issues have been resolved.

Choose a configuration mechanism suitable for multiple datasets (collections of reads and variants) and references. Issue #375 has been created for this. The server should insist on exactly one dataset being specified while the rest of the code is being updated.
Update the example data and the documentation to reflect this new structure.
Generalise backend.py to allow for multiple datasets. Important We do not need to support queries spanning multiple datasets, and should require exactly one dataset be specified. (A change in the schemas to make this official will be included any month now --- see ga4gh/schemas#253)

@jeromekelleher do we have a precise definition of what a dataset is (supposed to be)?  Why are datasets even necessary?  Couldn't one keep adding directories under /variants, etc. if one wanted to serve more variants?

It is not clear what a DataSet is to GA4GH.  The intention was not
documentation and it's use is inconsistent.  It's burred in reads.avdl,
but it appears to apply to other data types.
Might be worthwhile finding out who add this can get them to
document what it is.
Danny Colligan<EMAIL_ADDRESS>writes:

@jeromekelleher do we have a precise definition of what a dataset is (supposed
to be)? Why are datasets even necessary? Couldn't one keep adding directories
under /variants, etc. if one wanted to serve more variants?
—
Reply to this email directly or view it on GitHub.*

@diekhans, @jeromekelleher, @dcolligan So a Dataset was added as a logical grouping for a collection of one or more of the following - just think of a dataset as a study that was performed and which joins/groups all the relevant data associated with it:

ReadGroup
ReadGroupSet
VariantSet
FeatureSet

This first introduced in schemas PR #33, and is available at the following link:
https://github.com/ga4gh/schemas/pull/33
Hope it helps,
Paul

And yes you will need querying multiple datasets, especially for metadata among other things.  For a review of the different reasons why, below is a link to pull-request 253 from schemas:
https://github.com/ga4gh/schemas/pull/253
~p

Seems like @jeromekelleher filed a clarification issue a while back: https://github.com/ga4gh/schemas/issues/248

Fixed in #442


Fix mypy formatting issue

Running against the latest version of mypy gave the following error:
eventsourcing/domain/model/array.py:403: error: Not all arguments converted during string formatting
eventsourcing/domain/model/array.py:404: error: Not all arguments converted during string formatting

Seems like an easy fix 🤞

Pull Request Test Coverage Report for Build 2553

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 96.824%

Totals

Change from base Build 2551:
0.08%

Covered Lines:
8507

Relevant Lines:
8786

💛  - Coveralls


Extract duplicate code

Rebased on lego/master, extracted GetRecordName, and added test.
I couldn't find the aforementioned "generic" package, so I created dns/providers/internal/generic. Feel free to move this around.

Your PR is invalid because you rebased my commits.


Allow fly hijack specify container type of tasks using image_resource

What
fly hijack of a task
After concourse 1.3.0, with the deprecation of image in the tasks in favour of image_resource, the task images are treated as resources and the task might have a check container, a get container and a task container.
Because that fly hijack will gather three containers and ask which one you want to hijack.  This prevents you to automate the hijack command in a non-interactive way.
Observed behaviour
If you try to hijack a task with image_resource, an interactive prompt asking which container will appear:
$ fly -t hector hijack -j create-bosh-cloudfoundry/bosh-cli -b 4 -s run-bosh-cli ash
targeting https://deployer.hector.dev.cloudpipeline.digital

1: build #1, step: run-bosh-cli, type: check
2: build #1, step: run-bosh-cli, type: get
3: build #1, step: run-bosh-cli, type: task
choose a container:

Expected behaviour
We should be able to specify uniquely each container, for instance by passing the container type (e.g. -t task):
$ fly -t hector hijack -j create-bosh-cloudfoundry/bosh-cli -t task -b 4 -s run-bosh-cli ash
targeting https://deployer.hector.dev.cloudpipeline.digital

# ...

This'll be fixed by http://github.com/concourse/concourse/issues/629 - we're moving the check and get containers out to be related to the resource itself, not the build.


chore: upgrade to polkadot-v0.9.24

Signed-off-by: Gregory Hill<EMAIL_ADDRESS>Changes
https://github.com/paritytech/substrate/compare/polkadot-v0.9.20...polkadot-v0.9.24

https://github.com/paritytech/substrate/pull/10719
https://github.com/paritytech/substrate/pull/8783
https://github.com/open-web3-stack/open-runtime-module-library/pull/762
https://github.com/open-web3-stack/open-runtime-module-library/pull/754
https://github.com/open-web3-stack/open-runtime-module-library/pull/753

Notes

Always uses truncated account conversion (same behavior as on master)
Migrated jsonrpc to jsonrpsee
No use for OnNewTokenAccount && OnKilledTokenAccount
Added AssetAuthority as pass-through to EnsureRoot
ParachainMinFee always returns Some(u128::MAX)

Updated the XCM weights in runtime-tests based on similar updates to Acala. @sander2 if you have time I would appreciate some documentation on how to update these in the future. See my comment here for example, I've added some rough calculations how the xcm_fee is calculated but I'm still not sure where weight = 800_000_000 comes from.


This is the pull request for the design issues which i accidentally pushed into the previous scientific function part

The additional commits are for the debugging the deepsource: javascript issues ...... Those are present from the start of the code like no brackets in switch case , const reassign , undeclared variable like result application s etc .... I have solved those problems also .....

sir can you please check the conflicts and deepsource : javascript check faliure . i am confused what to do

please sir help me

JavaScript's eval() function is potentially dangerous and is often misused. Using eval() on untrusted code can open a program up to several different injection attacks. The use of eval() in most contexts can be substituted for a better, alternative approach to the problem.
refrence Code
const obj = { x: "foo" },
key = "x",
value = obj[key];
class A {
foo() {
// This is a user-defined method.
this.eval("var a = 0");
}
eval() { /* ... * / }

}

I'm On it

thank you sir

Again create a pull request now

thank you sir

i was just stucked in that step .... really appreciate your help sir . thank you


Crash when assigning object to belongs_to relation under certain conditions.

The following code crashes on Mongoid 2.4.2, and from the code it looks like it will in 3.0 as well.
class A
  include Mongoid::Document

  has_many :bs, :inverse_of => :a
end

class B
  include Mongoid::Document

  belongs_to :a, :inverse_of => :bs
  belongs_to :c, :inverse_of => :b
end

class C
  include Mongoid::Document

  has_one :b, :inverse_of => :c
end

a = A.new
b = B.new
c = C.new

b.c = c
b.a = a
b.c = c

Description of why this crashes from my gist on this:

What happens is that in response to b.a = a, in Mongoid::Relations::Bindings::Referenced::In#bind on line 32, b.metadata is set to the Metadata belonging to this Many relation. This causes b.referenced_many? to return true.
When b.c = c is called then, in Mongoid::Relations::Bindings::Referenced::In#unbind on line 62, b.referenced_many? is checked and found to return true, even though the :c relation is of the One kind. This in turn causes #delete(<Document>) to be called on the single Document, as if it were an Array. (Which it would have been in case of a Many relation.) This #delete call is interpreted as an attempt to delete the model, but that method expects a Hash of options, not a Document. When in the end #merge! is called on this supposed Hash, the scripts crashes as it was actually called on a Document.

Thanks for the detailed description... I love these. :)

<3

What is Document#metadata useful for, anyway, as it just refers to the metadata for the last-set belongs_to relation?

The metadata is used all over the place, most notably for embedded documents to get information on constructing atomic paths and selectors. I can see in the near future getting rid of that direct link off document since it ended up causing problems like this - I'll just need to find a better solution for everywhere it's used.