docs: moving forward with this library

Reason/Context
Fortunately, the project is initialized and we can discuss the API of this library here.
Description
Here is a draft of the API as well as the proposed Report structure.
After finalizing the API and report structure, I will open a pull request with these changes in the README.md file.
Usage
Node.js
import { Optimizer } from '@asyncapi/optimizer';
import { parse } from '@asyncapi/parser';
let asyncApiDocument = parse(`
asyncapi: 2.0.0
info:
  title: Streetlights API
  version: '1.0.0'

channels:

  smartylighting/event/{streetlightId}/lighting/measured:
    parameters:
      #this parameter is duplicated. it can be moved to components and ref-ed from here.
      streetlightId:
        schema:
          type: string
    subscribe:
      operationId: receiveLightMeasurement
      traits:
        - bindings:
            kafka:
              clientId: my-app-id
      message:
        name: lightMeasured
        title: Light measured
        contentType: application/json
        traits:
          - headers:
              type: object
              properties:
                my-app-header:
                  type: integer
                  minimum: 0
                  maximum: 100
        payload:
          type: object
          properties:
            lumens:
              type: integer
              minimum: 0
            #full form is used, we can ref it to: #/components/schemas/sentAt
            sentAt:
              type: string
              format: date-time

  smartylighting/action/{streetlightId}/turn/on:
    parameters:
      streetlightId:
        schema:
          type: string
    publish:
      operationId: turnOn
      traits:
        - bindings:
            kafka:
              clientId: my-app-id
      message:
        name: turnOnOff
        title: Turn on/off
        traits:
          - headers:
              type: object
              properties:
                my-app-header:
                  type: integer
                  minimum: 0
                  maximum: 100
        payload:
          type: object
          properties:
            sentAt:
              $ref: "#/components/schemas/sentAt"

components:
  messages:
    #libarary should be able to find and delete this message because it is not used anywhere.
    unusedMessage:
      name: unusedMessage
      title: This message is not used in any channel.

  schemas:
    #this schema is ref-ed in one channel and used full form in another. the library should be able to identify and ref the second channel as well.
    sentAt:
      type: string
      format: date-time`
);
let optimizer = new Optimizer(asyncApiDocument);
let report: OptimizerReport = await optimizer.getReport();
/*
the `report` value will be:
{
  ReuseComponents: [
    {
      path: '#/channels/channel1/smartylighting/event/{streetlightId}/lighting/measured/message/payload/properties/sentAt',
      action: 'ref',
      refTo: '#/components/schemas/sentAt'
    }
  ],
  RemoveComponents: [
    {
      path: '#/components/messages/unusedMessage',
      action: 'remove',
    }
  ],
  MoveToComponents: [
    {
      //move will ref the current path to the moved component as well.
      path: '#/channels/smartylighting/event/{streetlightId}/lighting/measured/parameters/streetlightId',
      action: 'move',
      moveTo: '#/components/parameters/streetlightId'
    },
    {
      path: '#/channels/smartylighting/action/{streetlightId}/turn/on/parameters/streetlightId',
      action: 'ref',
      refTo: '#/components/parameters/streetlightId'
    }
  ]
}
 */
let optimizedDocument = optimizer.getOptimizedDocument({rules: {ReuseComponents: true,RemoveComponents: true,MoveToComponents: true }})
/*
the `optimizedDocument` value will be:

asyncapi: 2.0.0
info:
  title: Streetlights API
  version: '1.0.0'

channels:

  smartylighting/event/{streetlightId}/lighting/measured:
    parameters:
      streetlightId:
        $ref: "#/components/schemas/streetlightId"
    subscribe:
      operationId: receiveLightMeasurement
      traits:
        - bindings:
            kafka:
              clientId: my-app-id
      message:
        name: lightMeasured
        title: Light measured
        contentType: application/json
        traits:
          - headers:
              type: object
              properties:
                my-app-header:
                  type: integer
                  minimum: 0
                  maximum: 100
        payload:
          type: object
          properties:
            lumens:
              type: integer
              minimum: 0
            #full form is used, we can ref it to: #/components/schemas/sentAt
            sentAt:
              $ref: "#/components/schemas/sentAt"

  smartylighting/action/{streetlightId}/turn/on:
    parameters:
      streetlightId:
        $ref: "#/components/schemas/streetlightId"
    publish:
      operationId: turnOn
      traits:
        - bindings:
            kafka:
              clientId: my-app-id
      message:
        name: turnOnOff
        title: Turn on/off
        traits:
          - headers:
              type: object
              properties:
                my-app-header:
                  type: integer
                  minimum: 0
                  maximum: 100
        payload:
          type: object
          properties:
            sentAt:
              $ref: "#/components/schemas/sentAt"

components:
  parameters:
    streetlightId:
      schema:
      type: string
  schemas:
    #this schema is ref-ed in one channel and used full form in another. library should be able to identify and ref the second channel as well.
    sentAt:
      type: string
      format: date-time`
 */

API
Constructor
new Optimizer(document)
document is a mandatory object that is parsed with @asyncapi/parser:
Methods
getReport() : OptimizerReport
getOptimizedDocument([options]) : string

options: this is an object that contains all of the options that we can pass in getOptimizedDocument. right now we have only rules here but maybe in the future we can have other options as well.

rules: using rules object different optimization types can be enabled or disabled.

ReuseComponents if set to true, optimizer will apply all of ReuseComponents changes from report. (default: true)
RemoveComponents if set to true, optimizer will apply all of RemoveComponents changes from report. (default: false)
MoveToComponents if set to true, optimizer will apply all of MoveToComponents changes from report. (default: true)

@derberg @jazzyarchitects Any input would be appreciated especially with report object structure.

@KhudaDad414 Great work! Some my thoughts:

please don't use capitalized names for options ReuseComponents, RemoveComponents etc. it should be started with lower reuseComponents. In JS only classes, const, global variables should start with with upper case. It should be done for options and also for fields in return value of getReport function - in report object
I very like approach with shape of items in the result object like:

      path: '#/channels/channel1/smartylighting/event/{streetlightId}/lighting/measured/message/payload/properties/sentAt',
      action: 'ref',
      refTo: '#/components/schemas/sentAt'

but I have two problems:
- should we use resue than ref to be consistent with other action names? Ref is better for me, but I only ask for consistency. Lets see what other people think.
- I don't think so that we should merge in the "move" array the items with ref. I think that we should add these refs in the reuse array but with some description/annotation something like: Ref is created from move array etc. :)

all options for rules in the getOptimizedDocument functions should be by default true. The user should be able to make the given rule as false. Of course then rules should be merged with default ones and passed by user. There you can use https://github.com/jonschlinkert/merge-deep package to deep merge.
I'm also thinking if we should make all methods as async functions. If someone will have several specs to optimize, then be able to optimize every document in parallel.

awesome stuff:

agree with @magicmatatjahu on options names
definitely love the structure of the report object!
same concerns on reuse and ref. When I looked at the report first, I was like, "this needs to be consistent" and then I saw the comment from @magicmatatjahu. I always value consistency more so prefer reuse
I'm actually ok that ref was in the same location as move because it is clear what change was done for a given option. It will be confusing for the users when they will decide to use only moveToComponents and ref will not be in the report.
If someone will have several specs to optimize, then be able to optimize every document in parallel I don't think we need to care atm because the main use case is that users do it in a pipeline for a single document. For batch optimizations, we need a real use case imho.
I think that we should by default also parse spec this is optional, for or the GSoC related libraries, when not needed, I said skip parser because the current intention is that these are all libraries for the UI and CLI where AsyncAPI docs are already parsed

I agree with Łukasz, these two last aren't need, we can make issues and see if someone from community will want this features :)

Nice report structure @KhudaDad414.
In addition to the consistency part mentioned in the previous comments, IMO it would be more awesome if the objects in each of the three arrays have the same structure. One of the objects have moveTo field and one has refTo. While this might not be a deal breaking thing, from what I have seen, having a single structure format helps when the output is consumed or parsed by some strictly typed languages.
Secondly, would it be a better parsing experience from a consumers point to have only a single array and segregate based on different actions (@derberg , @magicmatatjahu would like to hear your thoughts on this)?

Another suggestion, how about a chained interface?
const results =  await optimizer.getReport(); // Which can return an object of say `Report` class
results.apply({rules: })

it would be more awesome if the objects in each of the three arrays have the same structure. One of the objects have moveTo field and one has refTo

as you suggested, for consistency it would be a good idea to change moveTo and refTo to another name like target. In that case, if we have another type of optimization in the future, it can use path, action, target structure.

Secondly, would it be a better parsing experience from a consumers point to have only a single array and segregate based on different actions.

@jazzyarchitects It's a some idea, but there is a one problem: if someone will operate on this array, will have to check on every item the kind of operation - move to, ref to etc. even if array will be segregated, so object with reuse..., remove... move... etc is a better shape for me, but of course I don't think so that it will be hard to change it in the future, so we can discuss about it :)

Another suggestion, how about a chained interface?

There is a some solution. I have no opinion on this, because both the chained functions and normal functions will be good here.

as you suggested, for consistency it would be a good idea to change moveTo and refTo to another name like target. In that case, if we have another type of optimization in the future, it can use path, action, target structure.

Please, don't forget about document (of course in the next PRs) the shape of object in the docs/Readme.md, especially target :)

How about:
{
  ReuseComponents: [
    {
      path: '#/channels/channel1/smartylighting/event/{streetlightId}/lighting/measured/message/payload/properties/sentAt',
      refTo: '#/components/schemas/sentAt'
    }
  ],
  RemoveComponents: [
    {
      path: '#/components/messages/unusedMessage',
      remove: true
    }
  ],
  MoveToComponents: [
    {
      path: '#/channels/smartylighting/event/{streetlightId}/lighting/measured/parameters/streetlightId',
      moveTo: '#/components/parameters/streetlightId'
    },
    {
      path: '#/channels/smartylighting/action/{streetlightId}/turn/on/parameters/streetlightId',
      refTo: '#/components/parameters/streetlightId'
    }
  ]
}

I just had a thought: what's the point of having action if I can figure it out through the key name
anyway, I think the best way is to think about it from the point of view of the user that will read the report in the UI and the JS code that will parse the report. In the end, you will not print the Map to the user, right?
as a user, I want to:

have all optimizations grouped by the rule name so I know which rule I can ignore
I want to see how my document will look like after applying all the rules (will use getOptimizedDocument) + I want a view of change one by one, so not only JSON pointers but visually see the specific part of the document before and after, to understand the change

now, is it better if it will be no action or there will be action, or there will be ref or reuse?
you will figure it out the best during integrating the library in CLI or UI.
Conclusion: I suggest pick the best structure you think based on our feedback, implement, and then integrate and make improvements that will make your integration code nicer 😄 The good thing is that it is a library in the development phase, the structure of the report may change frequently, so better I think is to pick something that you think should be good and then iterate improvements.
Thoughts?


Enable previous EDA forecasts to be used in 3denvar experiment

For an example, see /glade/scratch/guerrett/pandac/guerrett_3denvar_OIE120km_PreviousEDALeave20.

Thanks @jjguerrette for adding this function,  I can run 3denvar by using your members:
/glade/scratch/guerrett/pandac/guerrett_eda_3denvar_NMEM20_LeaveOneOut_OIE120km/CyclingFC/*****/mem****/mpasout.yyyy-mm-dd_hh.00.00.nc.

But if I switch to run “eda_3denvar” (setenv DAType eda_3denvar) using the same workflow, I got failure info:
/glade/scratch/jban/cylc-run/jban_eda_3denvar_NMEM20_LeaveOneOut_OIE120km/log/job/20180415T0000-06/CyclingDA/02/job.out
fixedEnsBType: Undefined variable.

Am I missing something in the setting?

@jjguerrette , thank you. Both of 3denvar and eda_3denvar work now.


How can I disable dynamic clock in terminal pane?

I don't need clock.
How can I disable it?

Go to package settings. Enter a space (or some other status token) in 'Status bar text' field.


[Bug]: ollama list is called, even if ollama is not used

Your minimal.lua config
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "--single-branch",
    "https://github.com/folke/lazy.nvim.git",
    lazypath,
  })
end
vim.opt.runtimepath:prepend(lazypath)

-- Your CodeCompanion setup
local plugins = {
  {
    "olimorris/codecompanion.nvim",
    dependencies = {
      { "nvim-treesitter/nvim-treesitter", build = ":TSUpdate"},
      "nvim-lua/plenary.nvim",
      "nvim-telescope/telescope.nvim",
      {
        "stevearc/dressing.nvim",
        opts = {},
      },
    },
    config = function()
      require("codecompanion").setup({
        strategies = { -- Change the adapters as required
          chat = "openai",
          inline = "openai",
        },
      })
    end,
  }
}

require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

-- setup treesitter
local ok, treesitter = pcall(require, "nvim-treesitter.configs")
if ok then
  treesitter.setup({
    ensure_installed = "all",
    ignore_install = { "phpdoc" }, -- list of parser which cause issues or crashes
    highlight = { enable = true },
  })
end

Error messages
Error: could not connect to ollama app, is it running?
Health check output
codecompanion: require("codecompanion.health").check()
codecompanion.nvim report ~

Log file: /home/sev/.repro/state/nvim/codecompanion.log
OK nvim-treesitter installed
OK plenary.nvim installed
OK dressing.nvim installed
WARNING edgy.nvim not found
OK curl installed

Log output
Error: could not connect to ollama app, is it running?
Describe the bug
I would expect, if I'm not using ollama at all, for CodeCompanion to not attempt to call io.popen 'ollama list' on line 4 of lua/codecompanion/adapters/ollama.lua, or at least expect and ignore the Error log message.
Instead, it draws the error text into my window, wherever the cursor is, requiring a Ctrl-L to redraw every time I open nvim.

Reproduce the bug

Install CodeCompanion exactly as recommended, even with the minimal.lua config
Open an existing file

Final checks

[X] I have made sure this issue exists in the latest version of the plugin
[X] I have tested with the minimal.lua config file above and still get the issue

Thanks for spotting this!  Fix should improve performance too.


PHP version to kanboard

Dear
Which is the minimum version of php that I´ll need to implement kanboard on a "Red Hat Enterprise Linux Server release 6.6"?
Thanks for your atention.

see documentation:
https://github.com/fguillot/kanboard/blob/master/doc/requirements.markdown


JBEHAVE-1345 Add BeforeStep/AfterStep lifecycle steps

The changes have been added to master branch: 66173d384cf8eb4b4d48512ae8fd53853d56d416


Utk implementation

WIP: TODO
account.defined?
switch it so make a code comment that this make it hyku compatible.

devise has a generator that pulls in the views for you to edit yourself. if you dont have them, then they will use their own by default. we should do that with allinson flex. this code  is too aggressive and ignores any overrides done within the app.


Different error values

Hello,
Sometimes some requests cause an error, then HTML code of the Instagram page is wrapped as an error. And it may be not useful because to understand the reason of actual error we need to check it f.e via Contains function.
Maybe we should have some errors as the global variables and return them?

Okay. We are working as soon as possible in a new Instagram API.
We are grateful for your issue request. We are going to implement it in the new API.

@kemics would love for your help on this ^. So far I have ErrNotFound and ErrLoggedOut.

@jaynagpaul , I would love to, but I've got only NotFound and LoggerOut too


oanda-api-v20/oandapyV20/endpoints/pricing.py - STREAM example does not work.

Would someone be able to provide a sample code with PriceStream() working on Python for the v20? (found the example)
Website (https://oanda-api-v20.readthedocs.io/en/latest/endpoints/pricing/pricingstream.html) and in this GitHub should probably be updated.
Cheers
import oandapyV20
from oandapyV20 import API
import oandapyV20.endpoints.pricing as pricing
accountID = "..."
api = API(access_token="...")
params = {"instruments": "EUR_USD,EUR_JPY"}
r = pricing.PricingStream(accountID=accountID, params=params)
rv = api.request(r)
maxrecs = 100
for ticks in r:
    print(json.dumps(R, indent=4),",")
    if maxrecs == 0:
       r.terminate("maxrecs records received")

Try this one:
import os
import argparse
import json
from oandapyV20 import API
from oandapyV20.endpoints.pricing import PricingStream
class Streaming:
"""Script for streaming of rates
Example use: streaming.py --inst EUR_USD --inst EUR_JPY
Can be one or more instruments
Will keep going until stopped or error occurs
"""
# Get credentials from .env
access_token = os.getenv("TOKEN")
accountID = os.getenv("ACCOUNT_ID")

# Parser for tickers
parser = argparse.ArgumentParser(prog="streaming")
parser.add_argument("function", type=str, action="store", nargs=1)
parser.add_argument("-i", "--instruments", type=str, action="append")
args = parser.parse_args()

# Generate for the api-calls
api = API(
    access_token=access_token, environment=os.getenv("OandaEnv"), request_params={}
)

r = PricingStream(
    accountID=accountID, params={"instruments": ",".join(args.instruments)}
)

# Continious streaming of rates
while True:
    try:
        for R in api.request(r):
            R = json.dumps(R)
            print(R)

    except Exception as e:
        print("Error occured: {}\n".format(e))
        break

Should work flawless with Python 3.7


SyntaxError: $HOME/.babelrc: Error while parsing JSON

🐛 Bug Report
Jest fails to run when you got somewhere in any of your parent paths a broken .babelrc file.
To Reproduce
Create a bad .babelrc in your $HOME, for example: echo '{' > ~/.babelrc
Create a module and a test, from Jest getting started docs:
sum.js
'use strict';

function sum(a, b) {
  return a + b;
}
module.exports = sum;

sum.test.js
const sum = require('./sum');

test('adds 1 + 2 to equal 3', () => {
  expect(sum(1, 2)).toBe(3);
});

Run npx jest and you'll get:
FAIL  ./sum.test.js
  ● Test suite failed to run

    SyntaxError: /home/flc/.babelrc: Error while parsing JSON - Bad object at line 2 column 1 of the JSON5 data. Still to read: ""

      at error (node_modules/json5/lib/json5.js:56:25)

Expected behavior
Expected Jest to run without problems and show a passing test.
Link to repl or repo (highly encouraged)
https://github.com/fernandocanizo/jest-bug-report
Run npx envinfo --preset jest
Paste the results here:
$ npx envinfo --preset jest
npx: installed 1 in 1.12s
(node:11581) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '1' of null
    at a.run.then.e (/home/flc/.npm/_npx/11581/lib/node_modules/envinfo/dist/cli.js:2:96634)
    at <anonymous>
(node:11581) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:11581) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Since previous command seems to be broken I'm adding this extra info:
$ npx --version
10.2.0
$ node --version
v8.11.1
$ npx jest --version
23.1.0

I'm adding also a log with the steps to reproduce using my linked repository above:
$ git clone https://github.com/fernandocanizo/jest-bug-report.git
Cloning into 'jest-bug-report'...
remote: Counting objects: 7, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 7 (delta 0), reused 7 (delta 0), pack-reused 0
Unpacking objects: 100% (7/7), done.

$ cd jest-bug-report/

$ npx jest
npx: installed 510 in 10.503s
 PASS  ./sum.test.js
  ✓ adds 1 + 2 to equal 3 (4ms)

Test Suites: 1 passed, 1 total
Tests:       1 passed, 1 total
Snapshots:   0 total
Time:        0.913s
Ran all test suites.

$ echo '{' > ~/.babelrc # creates broken Babel config file

$ npx jest
npx: installed 510 in 11.309s
 FAIL  ./sum.test.js
  ● Test suite failed to run

    SyntaxError: /home/flc/.babelrc: Error while parsing JSON - Bad object at line 2 column 1 of the JSON5 data. Still to read: ""

      at error (../.npm/_npx/12635/lib/node_modules/jest/node_modules/json5/lib/json5.js:56:25)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        0.891s, estimated 1s
Ran all test suites.

Additional notes: this was a hard to hunt issue because it was totally unexpected to me that a file not relevant to my repository would affect Jest behavior. Also the stack trace was bigger on the real project where this happened first, showing reference to babel-core and some other modules which had nothing to do with my actual project since it's a pure Nodejs back-end REST API with no Babel and nothing related to the stack trace shown.

@cpojer should we stop looking for babelrc above config.rootDir?

yeah sounds good

This is actually not Jest looking for a babelrc above the rootDir, but Babel itself.
Babel 7 stops looking at a package.json (https://github.com/babel/babel/pull/7358), which should be good enough to resolve this problem once it's out.
On a side note, babel-jest might need a change to the getBabelRC algorithm used for the cache key to make it aware of package.json files for Babel 7, although this would only cause a false cache hit in some very niche scenarios.
Example:
Before = .babelrc with content x above package.json
After = .babelrc with same context x below package.json
=> Cache hit, although the transform before runs without a .babelrc, while the one after runs with .babelrc x.

check for empty config files and delete them if not needed.


default momentum with start=100

refer to #151

fast test breaks on an instance with very small epsilon relative to distance matrix used. In that setting, 100 iterations is not enough for solution to be in a reasonable "bassin" and momentum rule diverges.... Maybe an interesting modification to consider would be to only enable adaptive momentum when iterate already has low error.

propose to fix this by introducing an error_threshold parameter that checks whether error has converged sufficiently to ensure momentum helps. Set that value conservatively at 1e-1 for now.

Codecov Report

Merging #155 (773b631) into main (fb778fc) will decrease coverage by 5.82%.
The diff coverage is 83.33%.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #155      +/-   ##
==========================================
- Coverage   89.81%   83.98%   -5.83%
==========================================
  Files          51       51
  Lines        5046     5053       +7
  Branches      512      514       +2
==========================================
- Hits         4532     4244     -288
- Misses        390      658     +268
- Partials      124      151      +27

Impacted Files
Coverage Δ

ott/core/sinkhorn.py
97.33% <60.00%> (-0.75%)
:arrow_down:

ott/core/momentum.py
93.10% <100.00%> (+1.43%)
:arrow_up:

ott/core/discrete_barycenter.py
15.58% <0.00%> (-70.13%)
:arrow_down:

ott/tools/segment_sinkhorn.py
43.75% <0.00%> (-56.25%)
:arrow_down:

ott/tools/sinkhorn_divergence.py
61.81% <0.00%> (-32.73%)
:arrow_down:

ott/tools/soft_sort.py
69.90% <0.00%> (-25.25%)
:arrow_down:

ott/core/segment.py
75.00% <0.00%> (-25.00%)
:arrow_down:

ott/core/gw_barycenter.py
74.50% <0.00%> (-22.55%)
:arrow_down:

ott/geometry/pointcloud.py
68.91% <0.00%> (-14.96%)
:arrow_down:

ott/geometry/graph.py
81.69% <0.00%> (-12.68%)
:arrow_down:

... and 21 more

Observed that momentum can be too agressive even for "hard" instances. Fall back on an even more conservative setup were adaptive momentum is only considered after 300 iterations, with a lower error_threshold.


Showcasing auto-changelog

This PR is only meant to showcase auto-changelog capabilities for automating CHANGELOG.md.
overall: works great locally (see generated CHANGELOG.md), but how to use it from github actions?
PROS:

customizable (can use custom template and config, can exclude CI commits, can include unreleased changes)
works without having to use conventional commits (for reference: https://github.com/marketplace/actions/auto-changelog only works with conventional commits)

CONS:

only updates after a PR has been merged (tried to put together a prototype github action for that)

Checklist

[ ] Update CHANGELOG.md

So the CHANGELOG.md file in this PR is entirely auto-generated from the auto-changelog package?
Can you explain how it chooses the summary sentence?
I don't suppose it is able to sort things into categories? (back-compatability changes, bug fixes, new features, etc)?

The summary sentences are actually from the merge comment and not the title that I assumed.
Categories can be also created using keywords from the merge comment like "document", "fix", "break"

Currently the CHANGELOG.md is being updated by running auto-changelog from the command line:
auto-changlelog

uses the changelog_template.hbs where the categories can be defined
uses the .auto-changelog file where the run configurations for auto-changlelog can be defined (e.g. what commits to filter)

The summary sentences are actually from the merge comment and not the title that I assumed.

Are you able to customize where it infers that summary from then? The merge commit message, while I suppose it could be customized via CLI call, isn't typically modifiable from the web interface

Maybe I wasn't clear, but I meant the comment that is usually the title of PR just right before you'd merge a PR:

Maybe I wasn't clear, but I meant the comment that is usually the title of PR just right before you'd merge a PR:

You were clear, but somehow in all this time I never realized you can modify that part of the message from the web interface, thanks for pointing that out.
Only downside I see now is what if something was merged without having done that? Are there easy ways to fix it retroactively? It's common enough for the person opening the PR to forget to add something to the CHANGELOG.md, I could see it be just as common for whoever performs the merge to forget to do it as well

I think it gets more complicated when we are not replacing the whole changelog. Manual entries can be kept if we are using auto-changelog --prepend to only add the most recent updates at the top:
auto-changelog --prepend --starting-version <latest_version_tag> --> this should be called once after a new version is released because prepend is just adds and not replaces.
If we wanted to update the changelog more frequently, then one could write only the unreleased changes to stdout with:
auto-changelog --unreleased-only --stdout
and then copy it manually back to changelog? But doing things manually sounds contradictory.

From meeting today - So very very close, but consensus seems to be that some amount of manual effort would be needed to use this, at which point the gain from the automatic side gets negated so we might as well just keep manually writing the changelog as we have been.


Implement physics/vectormath.js

Progress:

[x] Multiply by scalar
[ ] Divide by scalar
[ ] Add vectors
[ ] Subtract vectors
[ ] Find magnitude of a vector

Please add any questions or comments below.

Postponed


[improve][io] Use SinkContext.fatal in elastic search connector

Motivation
We have introduced the SinkContext.fatal method in https://github.com/apache/pulsar/pull/21143
This PR use this fatal method to handle the elastic sink connector exception correctly.
Modifications

Use SinkContext.fatal to throw connector exception
Add state to the ElasticSearchClient

Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

Codecov Report

Merging #21204 (45ed5f3) into master (b10eed6) will increase coverage by 36.41%.
Report is 17 commits behind head on master.
The diff coverage is 71.42%.

@@              Coverage Diff              @@
##             master   #21204       +/-   ##
=============================================
+ Coverage     36.80%   73.21%   +36.41%
- Complexity    12195    32469    +20274
=============================================
  Files          1698     1887      +189
  Lines        130396   140157     +9761
  Branches      14253    15428     +1175
=============================================
+ Hits          47988   102612    +54624
+ Misses        76079    29454    -46625
- Partials       6329     8091     +1762

Flag
Coverage Δ

inttests
24.15% <ø> (+0.07%)
:arrow_up:

systests
24.81% <0.00%> (-0.22%)
:arrow_down:

unittests
72.49% <71.42%> (+40.49%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

...che/pulsar/io/elasticsearch/ElasticSearchSink.java
75.75% <55.55%> (+75.75%)
:arrow_up:

...e/pulsar/io/elasticsearch/ElasticSearchClient.java
78.82% <100.00%> (+78.82%)
:arrow_up:

... and 1451 files with indirect coverage changes


[1.3.13] Init blank project puts SE SDL in schema folder, pull puts it in code folder

 Issue by kbrandwijk
Monday Sep 11, 2017 at 21:34 GMT
Originally opened as https://github.com/graphcool/cli/issues/210

 Comment by timsuchanek
Tuesday Sep 12, 2017 at 09:32 GMT

That's due to the backend needing to adopt the schema folder. Onhold until then.

 Comment by kbrandwijk
Tuesday Sep 12, 2017 at 10:52 GMT

Is there a related backend issue that could be linked here?

 Comment by timsuchanek
Tuesday Sep 12, 2017 at 11:35 GMT

Not yet, we're discussing it currently how it should be structured. As soon as we have that, I'll update this

 Comment by sorenbs
Tuesday Sep 12, 2017 at 12:18 GMT

Keep in mind that this is a short term concern. Eventually we want to support general types in the types.graphql file as described in https://github.com/graphcool/graphcool/issues/543

Fixed 😄


Record project sensitivity when project is created

Just have a check box for if the project is sensitive. Description: "Protects language projects that are at risk"
optionally show a banner recommending users use an alias for the project name.

[ ] add column and data
[ ] migrate existing data (out of scope of this issue)

related to #578
The Paratext registry has a similar feature, take a look at their message in the UI

Here's what the paratext registry does for this. You can read about it in the help docs also.

I don't think we need test or training because that's covered in the retention policy. So a checkbox might be better suited, and we can include some similar warnings, I also like the idea of requesting a review for sensitive projects. But that's way down the road. For now we just want to design a UI to record this.
With the DB design we need to keep in mind that all our existing data needs to default to unknown for sensitive projects. We do not want to default to either public or sensitive as we're unsure.

The docs linked above are for registry managers.
Here are the docs for normal users that want to register a project.
They include a link to the additional steps link seen in the screenshots.


Updating templates webjob to consume new templates build

Updating templates webjob so that

Deletes all tag folders for next except for default. This way next always points to templates dev
Executes the template build if present in templates next and master branch
Executes the template build for all tag 1 and above, if build is present
clones tags below 1

@ahmelsayed @alrod  can you take a look?


update Environment subtitle copy

Fixes

https://issues.redhat.com/browse/HAC-2791
Description

Updates text for Environment subtitle
Type of change

[ ] Feature
[x] Bugfix
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Screen shots / Gifs for design review

How to test or reproduce?

Browser conformance:

[ ] Chrome
[ ] Firefox
[ ] Safari
[ ] Edge

/approve


⚠ Turnos 24x7 has degraded performance

In 03ea9da, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1497 ms

Resolved: Turnos 24x7 performance has improved in c26e3c1.


chap 6 deleted

@dmitsot thank you for the very useful repo. Recently chap 6 got deleted. should we expect an update on this chapter?

Dear Imran, I will upload the file immediately. I apologist for that. Indeed I am preparing a new version with corrections and updated code. Some of the functions have been deprecated in last version of SciPy.

Dear @dmitsot. thank you for the prompt response. looking forward. I am using it for teaching Numerical Computing to CS students. I must say, the book as well the accompanied notebooks not only nicely cover the background, provide theoretical foundation at reasonable depth but also dive deeper into the practical hands on aspects of computational math. By going through this material, I believe, CS students will know the depth of "Computational mathematics" and not just its name.


Search editor always expand 'search details'

Expect:

when search mode == "reuseEditor", the state of ''search details'' should not changed
when search mode == "newEditor", the state of "search details" should work as same as the "view" mode

Currently, the Search editor always expand 'search details'. This behavior is not consistent with 'view' mode.

It works the way I expect if:

set search mode to "view"
set key shortcut "Cmd+Shift+F" to "Open Search Editor"


Bring distance (approach+exit/descent), elevation gain/loss and estimate duration into stat block for canyon

Might also be nice to filter by these.

Tracked on the backend at https://github.com/OpenCanyon/api/issues/19


enable PCB antenna on Particle boards

Without this initialization code no antenna is selected, and Bluetooth signal quality is at least 7 dBi less than it could be.
Also added a patch for the unrelated test failure.
  When somebody fixes that I'll rebase and resubmit.

@pabigot if the same skyworks PA/LNA in use you can use the BLE controller's dynamic PA/LNA control, see https://github.com/zephyrproject-rtos/zephyr/pull/12832

@cvinayak maybe, but that patch doesn't seem as clear about what it's doing.  There will need to be an ability to control selection of PCB and u.FL antenna based on the target configuration, but it should be outside the BLE infrastructure since Particle devices are also used in non-BLE networks.
In any case, this code is what I'm using in my fork, and I just wanted to get something upstreamed since the devices perform very poorly without enabling the antenna.

@pabigot ok.. I misread SKY13351, as its mere RF switch, you are right its not related to BLE radio events.
Nit-pick, preferrably use GPIO APIs instead of CMSIS calls, so new contributors can re-use (copy) implementation when they are adding new boards having SKY13351 to other SoCs.

@mike-scott @cvinayak switching to the Zephyr GPIO driver is a fair request, but upstreaming this isn't a priority to me so it's not going to happen anytime soon.  For whatever that's worth.
There's precedent for bypassing it (reel_board) if you'd rather see this in sooner.
IMO the correct approach would be to have a switch driver that ensures the switch isn't left in an undefined state, but that's way to much work.

@pabigot
I have a new version of this series:

Rebased on today's master
Dropped first patch as it was already merged
Using Zephyr GPIO APis with board.h files for clarity on the GPIO port/pin names
Blended it into the existing boron board.c which sets up the serial buffer for the modem

See last 2 commits here: https://github.com/mike-scott/zephyr/tree/issue/14123
Consider reviewing and reposting here?

@mike-scott Please open a PR with your solution; I'll review that and close this one.  Replacing this with yours seems too confusing.

@pabigot ok, I can submit it in a new PR.  Mainly, I wanted you to know it's based on your initial work here.  So thanks for getting it started.


0.130.4 causes FATAL ERROR: database disk image is malformed (11)

Describe the bug
Aug 26 08:30:58 raspberrypi evcc[5220]: [main  ] FATAL 2024/08/26 08:30:58 database disk image is malformed (11)
Steps to reproduce

...Update from 0.130.3 to 0.130.4
Configuration details
...

Log details
Aug 26 08:30:58 raspberrypi evcc[5220]: [main  ] FATAL 2024/08/26 08:30:58 database disk image is malformed (11)

What type of operating system are you running?
Linux
Version
0.130.4

See #15686


Adds prerequisite checks to allow/disallow changing widget types

Fixes #6563

cc: @xavijam

Fine by me ;)


no issue, just OMG THANK YOU

Looks like they closed commenting on this
https://github.com/microsoft/vscode/issues/54492
After new update, VSCode started closing app on CTRL-W when no editors are open.  AGAIN.  It took me forever the last time to override all the default CTRL-W mappings.  I followed all the directions on that issue 54492 thread, and still no.  Most likely because they reintroduced the bug feature AGAIN.
You saved me the next three hours of banging my head against the desk.

I'm glad it helped you =)


Fix missing $joinMap in AbstractQueryConverter

In AbstractQueryConverter::getParentJoinIdForVirtualColumnJoin method, $joinMap variable is missing.
So we never enter in last elseif isset($joinMap[$parentAlias]['processed'])
And when we have 2 joins in a virtual_fields the second join is not added in DQL
Example:
# src/Oro/Bundle/AccountBundle/Resources/config/oro/entity.yml
oro_entity:
    virtual_fields:
        Oro\Bundle\AccountBundle\Entity\Account:
            contactInformation:
                query:
                    select:
                        expr:         emails.email
                        return_type:  string
                    join:
                        left:
                            - { join: entity.defaultContact, alias: defaultContact }
                            - { join: defaultContact.emails, alias: emails, conditionType: 'WITH', condition: 'emails.primary = true' }

Need for fix this https://github.com/oroinc/crm/pull/346

Thank you for your pull request.
It looks like this may be your first contribution to an Oro, Inc. open source project, in which case you'll need to sign a Contributor License Agreement (CLA) at http://www.orocrm.com/contributor-license-agreement/
If you've already signed the CLA, it's possible we don't have your GitHub username or you're using a different email address. GitHub uses the email address you set in your local Git configuration to associate commits with your GitHub account. Please sign the CLA again using the correct GitHub username and email address or see this help article on setting the email on your git commits.
Once you've signed the CLA, please allow for some time for the submission to be processed.


Add initial API for security

Handle bearer tokens to begin with

Related to https://github.com/hey-api/openapi-ts/issues/231


Frontend page isn't displayed correctly

Hi!
Firstly, thanks a lot for your custom theme for YOURLS!
We can already enjoy using it in admin mode. But still, could you help to fix the issue with the incorrect displaying of the frontend-page? Somehow it's displayed incorrectly
YOURLS version 1.9.2

I have the same problem but the program has not been maintained for a long time, dear friend have you solved the problem?

This problem is mainly a php version problem I switched php version from 8.0 to 7.4 and it works fine!

find the header.php
delete line 15:
save
ctrl + F5
try it

+1


required documentaion for TIME_DOMAIN and FREQUENCY_DOMAIN data in amplitude method

right now , we have
https://p5js.org/reference/#/p5.Amplitude
which shows only either frequency domain amplitudes or time domain amplitudes .
for standard FAST FOURIER TRANSFORM of audio data ,
two domains are important

TIME DOMAIN DATA
2.FREQUENCY  DOMAIN DATA

see here , this is one of my proud repo on my github ( UI yet to be inhanced )
https://endurance21.github.io/AudioVisualiser1/
1.select one sound from local computer and see the visualisation ,
i have clearly simulated , both
see the snapshot ::

TIME DOMAIN amplitudes
FREQUENCY DOMAIN amplitudes

https://p5js.org/reference/#/p5.Amplitude
it should mention both of these domain data

TIME DOMAIN DATA
2.FREQUENCY  DOMAIN DATA

@therewasaguy
is this two things

time domain and
2.frequency  domain data is mentioned somewhere else on the project?
if not
please guide me
how to get started to solve this issue ?


full image display on website header

Environment (please complete the following information):

OS (e.g., Windows 10):
Extension version (e.g., 1.2.3):

Describe the bug:

Repro steps:

Expected behavior:

Additional context:

Can you explain more what you mean by that? Do you mean the tab preview? The in-built browser has no tabs.


puzzle in sbt 1.0.0-m4

I want to updated my all sbt plugins into 1.0.x, some I did some test/try works.
example code from:
http://www.scala-sbt.org/1.0/docs/Plugins.html
steps
import sbt._
import Keys._

object SpawnLarvaePlugin extends AutoPlugin {
    object autoImport {
        val obfuscate = TaskKey[Seq[File]]("Obfuscates files.")
        val obfuscateLiterals = SettingKey[Boolean]("Obfuscate literals.")

        lazy val baseObfuscateSettings: Seq[Def.Setting[_]] = Seq(
            obfuscate := {
                Obfuscate(sources.value)
            },
            obfuscateLiterals in obfuscate := false
        )

        lazy val helloCommand = Command.command("hello") { (state: State) =>
            println("Hi!")
            state
        }
    }

    import autoImport._
    override def requires = sbt.plugins.JvmPlugin
    override def trigger = allRequirements
    override val projectSettings = Seq(commands += helloCommand) ++
    **inConfig**(**Compile**)(baseObfuscateSettings) ++
      **inConfig**(**Test**)(baseObfuscateSettings)
}

object Obfuscate {
    def apply(sources: Seq[File]): Seq[File] = {
        Seq[File]()
     }
 }

problem
[info] Packaging C:\Users\marsx\projects\zagara\tools\spawn_larvae\target\scala-2.11\sbt-1.0.0-M4\spawn_larvae-0.0.1-sources.jar ...
[info] Done packaging.
[info] Wrote C:\Users\marsx\projects\zagara\tools\spawn_larvae\target\scala-2.11\sbt-1.0.0-M4\spawn_larvae-0.0.1.pom
[info] :: delivering :: io.marsdigital#spawn_larvae;0.0.1 :: 0.0.1 :: release :: Fri Mar 17 21:30:38 CST 2017
[info]  delivering ivy file to C:\Users\marsx\projects\zagara\tools\spawn_larvae\target\scala-2.11\sbt-1.0.0-M4\ivy-0.0.1.xml
[info] Main Scala API documentation to C:\Users\marsx\projects\zagara\tools\spawn_larvae\target\scala-2.11\sbt-1.0.0-M4\api...
[info] Compiling 1 Scala source to C:\Users\marsx\projects\zagara\tools\spawn_larvae\target\scala-2.11\sbt-1.0.0-M4\classes...
[error] C:\Users\marsx\projects\zagara\tools\spawn_larvae\src\main\scala\io\marsdigital\tools\SpawnLarvaePlugin.scala:35: not found: value inConfig
[error]     inConfig(Compile)(baseObfuscateSettings) ++
[error]     ^
[error] C:\Users\marsx\projects\zagara\tools\spawn_larvae\src\main\scala\io\marsdigital\tools\SpawnLarvaePlugin.scala:35: not found: value Compile
[error]     inConfig(Compile)(baseObfuscateSettings) ++
[error]              ^
[error] C:\Users\marsx\projects\zagara\tools\spawn_larvae\src\main\scala\io\marsdigital\tools\SpawnLarvaePlugin.scala:36: not found: value inConfig
[error]       inConfig(Test)(baseObfuscateSettings)
[error]       ^
[error] C:\Users\marsx\projects\zagara\tools\spawn_larvae\src\main\scala\io\marsdigital\tools\SpawnLarvaePlugin.scala:36: not found: value Test
[error]       inConfig(Test)(baseObfuscateSettings)
[error]                ^
[error] C:\Users\marsx\projects\zagara\tools\spawn_larvae\src\main\scala\io\marsdigital\tools\SpawnLarvaePlugin.scala:35: not found: value inConfig
[error]     inConfig(Compile)(baseObfuscateSettings) ++
[error]     ^
[error] C:\Users\marsx\projects\zagara\tools\spawn_larvae\src\main\scala\io\marsdigital\tools\SpawnLarvaePlugin.scala:35: not found: value Compile
[error]     inConfig(Compile)(baseObfuscateSettings) ++
[error]              ^
[error] C:\Users\marsx\projects\zagara\tools\spawn_larvae\src\main\scala\io\marsdigital\tools\SpawnLarvaePlugin.scala:36: not found: value inConfig
[error]       inConfig(Test)(baseObfuscateSettings)
[error]       ^
[error] C:\Users\marsx\projects\zagara\tools\spawn_larvae\src\main\scala\io\marsdigital\tools\SpawnLarvaePlugin.scala:36: not found: value Test
[error]       inConfig(Test)(baseObfuscateSettings)
[error]                ^
[info] No documentation generated with unsuccessful compiler run
[error] four errors found
[error] four errors found
[error] (spawn_larvae/compile:doc) Scaladoc generation failed
[error] (spawn_larvae/compile:compileIncremental) Compilation failed
[error] Total time: 2 s, completed 2017-3-17 21:30:40
expectation
notes

Looks like you're using InConfig instead of inConfig.
Also I believe in M4 we still had some things moved to a sbt.Import object. Those are back on the sbt package object now.
We'll release a more up to date prerelease of sbt 1 soon.

inConfig also compile error, I see doc 1.0, say taskKey and settingKey, but also fail. So I change into TaskKey and SettingKey, it works. But inConfig did not.

Don't read the 1.0 docs :)
taskKey and settingKey are different to TaskKey and SettingKey. I think you're missing import sbt.Import._ for M4.
But what you really need is to wait a second while we get you a real prerelease that you can test against and open against.
Therefore, I'll close this, but I'll come back and let you know when that happens.
Thank you for working on us by trying out sbt 1.


Show most recently updated chats into the top of the list

Need to move scroll of the chats list to the top, once new message was created


Rumble Should be Added to Standard Functions

The idea is that an enable-able, configurable-intense rumble should be added to things across the tools.
Examples:

hand is in range of pickable
hand collides
flying (to simulate jetpack or the like)
grapple shoot/attach
on landing a fall
on jumping

I intend to work on this now that #40 / #190 are merged

Owh these would be nice additions for sure!

Note to self, in pseudocode:
dictionary<event_name: string, { magnitude: float, hands: Hands, remaining_secs: float, pausable: bool }>

set(event_name: string, magnitude: float, hand := Hands.Both, duration := -1.0, pausable := true) -> void
    // todo add to the dictionary

_process(delta: float) -> void:
    // todo rumble value for each hand is the highest magnitude for that hand
    // if paused, filter out (pausable == false)
    // if nothing, reset rumble for the hand to 0

Maybe provide a helper method for folks, like myself, that are writing a game that does both xr and normal - to convert the magnitude from the standard input system rumble's weak/strong magnitudes into a single one.

combine_magnitudes(weak: float, strong: float) -> float:
    if strong > 0.001:
        return 0.5 + clamp(strong/2, 0.0, 0.5)
    else:
        return clamp(weak/2, 0.0, 0.5)

Starting work over at lunarcloud:feature/191_rumble

Seems like the Godot4 rumble may be https://docs.godotengine.org/en/latest/classes/class_xrnode3d.html?highlight=XRNode3D#class-xrnode3d-method-trigger-haptic-pulse but the docs on this API is not great

Discussed with @Malcolmnixon , we should wait for Godot XR Tools 4.3.x development to start, as using the new static variable syntax will simplify the implementation greatly for rumble-generating nodes finding the rumble manager.

working on the code in a godot 4 branch. Demo progressing...
https://github.com/lunarcloud/godot-xr-tools/tree/feature/191_godot4_rumble


async methods

add asynchronus methods like SendMessageAsync
with Task parallel library

That can be a good enhancement. Thanks.

then its easier to wait for reply;
await SendMessageReply(...);


How to support unification for custom types?

Hello, first of all thanks for taking the time to write this library!
I am interested in implementing unification for lists however I a having trouble understanding how to go about this. More specifically I am baffled by State being parameterized by a single type.
Are we supposed to add a single "Term" type and implement Unif for it?
I think I would like to have something like this:
struct Term {
    Num(i64),
    List(Vec<Box<Term>>)
}

How would I go about implementing the Unif trait for it? I am having trouble forwarding the unification to the i64 implementation since it changes the type of the state return. Am I going about this wrong?

I'm afraid I haven't looked at this for over 3 years.  I'm surprised it even compiles.  If I remember correctly, you need to implement the Unif trait for whatever type you want to use.  If I have some free time I'll try to take a look at it.


Remove configuration container/tab from broker-details page

remove configuration tab from broker details page as the details within it are already available at other pages of the project.

Closed as completed.


[BUG] Item:MimeType seems invalid

https://developer.android.com/media/platform/motion-photo-format#item_element
In the official doc of Motion Photo, there is only Mime attribute, not MimeType.
https://github.com/ente-io/motion_photos/blob/f1ec3d35d5cee2ec1c098b5ca276f311a96d800a/lib/src/constants.dart#L13

Thank you for pointing this issue.
Surprisingly, in our current samples, we have never encountered a case where we needed to look up this attribute, as most of the motion photo samples were detected in the previous steps.


Localize mobile app

localize mobile app along with language switcher and fixed tests
Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

Please follow conventional commit specification.

Yaa not for merging,  just a draft PR for complete feature review. I will create PR's in chunks for merging so that It will be easy for review of code

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

345 of 545 (63.3%)  changed or added relevant lines in 33 files are covered.
4 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.9%) to 73.274%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/ui/views/projects/featured_projects_view.dart
4
5
80.0%

lib/ui/views/groups/components/member_card.dart
2
4
50.0%

lib/ui/views/groups/edit_group_view.dart
9
11
81.82%

lib/ui/views/groups/new_group_view.dart
9
11
81.82%

lib/ui/views/profile/edit_profile_view.dart
11
13
84.62%

lib/ui/views/authentication/components/auth_options_view.dart
4
7
57.14%

lib/ui/views/profile/profile_view.dart
9
12
75.0%

lib/locale/language_picker.dart
12
16
75.0%

lib/ui/components/cv_typeahead_field.dart
0
4
0.0%

lib/ui/views/authentication/login_view.dart
10
14
71.43%

Files with Coverage Reduction
New Missed Lines
%

lib/ui/views/authentication/forgot_password_view.dart
1
72.46%

lib/ui/views/authentication/login_view.dart
1
78.16%

lib/ui/views/authentication/signup_view.dart
1
72.53%

lib/ui/views/projects/edit_project_view.dart
1
0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.9%

Covered Lines:
4192

Relevant Lines:
5721

💛  - Coveralls

@pavanjoshi914 Can you please create multiple PRs for different sections. Currently this PR is huge and reviewing it is difficult.

@pavanjoshi914 Can you please create multiple PRs for different sections. Currently, this PR is huge and reviewing it is difficult.

Yes ! @Nitish145  as I already mentioned this PR is created so that mentors can curl them and review the complete localized product as we are late in merging PR's in chunks. for merging, I will also create separate PR's for merging


Roll Engine from b265cb742c86 to 959cf2d8747e (1 revision)

https://github.com/flutter/engine/compare/b265cb742c86...959cf2d8747e
2021-12-14<EMAIL_ADDRESS>Roll Skia from ecbad283619c to e3c0d7356c05 (1 revision) (flutter/engine#30318)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


routes with backslash \ are not resolved.

Describe the bug
By RFC 3986 and RFC 1738, backslash in URL is allowed (or resp. should be encoded). So Repro should work. But instead it throws error.
Related to: https://github.com/sveltejs/kit/issues/3341#issuecomment-1014573551
Reproduction
https://stackblitz.com/edit/sveltekit-ewdree?file=src/routes/w\w.svelte
System Info
System:
    OS: Linux 5.11 Ubuntu 20.04.3 LTS (Focal Fossa)
    CPU: (8) x64 Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz
    Memory: 1.17 GB / 15.45 GB
    Container: Yes
    Shell: 5.0.17 - /bin/bash
  Browsers:
    Chrome: 97.0.4692.71
    Firefox: 96.0
  npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.10
    @sveltejs/kit: next => 1.0.0-next.218
    svelte: ^3.44.0 => 3.45.0

Used Package Manager
npm
Logs
> Executing task: npm run dev <

><EMAIL_ADDRESS>dev
> svelte-kit dev

 > .svelte-kit/dev/generated/manifest.js:5:14: error: Could not resolve "../../../src/routes/w/w.svelte"
    5 │   () => import("../../../src/routes/w/w.svelte")
      ╵                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

> Build failed with 1 error:
.svelte-kit/dev/generated/manifest.js:5:14: error: Could not resolve "../../../src/routes/w/w.svelte"
.svelte-kit/dev/generated/manifest.js:5:14: error: Could not resolve "../../../src/routes/w/w.svelte"
    at failureErrorWithLog (/mnt/sda1/Programovanie/HTTP/test/node_modules/esbuild/lib/main.js:1493:15)
    at /mnt/sda1/Programovanie/HTTP/test/node_modules/esbuild/lib/main.js:1151:28
    at runOnEndCallbacks (/mnt/sda1/Programovanie/HTTP/test/node_modules/esbuild/lib/main.js:941:63)
    at buildResponseToResult (/mnt/sda1/Programovanie/HTTP/test/node_modules/esbuild/lib/main.js:1149:7)
    at /mnt/sda1/Programovanie/HTTP/test/node_modules/esbuild/lib/main.js:1258:14
    at /mnt/sda1/Programovanie/HTTP/test/node_modules/esbuild/lib/main.js:629:9
    at handleIncomingPacket (/mnt/sda1/Programovanie/HTTP/test/node_modules/esbuild/lib/main.js:726:9)
    at Socket.readFromStdout (/mnt/sda1/Programovanie/HTTP/test/node_modules/esbuild/lib/main.js:596:7)
    at Socket.emit (events.js:400:28)
    at Socket.emit (domain.js:475:12)
The terminal process "bash '-c', 'npm run dev'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

But why would you create a file with a \ in its name? What's the use case?

 > .svelte-kit/dev/generated/manifest.js:5:14: error: Could not resolve "../../../src/routes/w/w.svelte"
    5 │   () => import("../../../src/routes/w/w.svelte")
      ╵                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This manifest file is generated by SvelteKit, which converted the backslash to a forward slash. Closing as it's not related to Vite.

Though I think this is an issue like any other, it's very niche and without a usecase, it's hard to justify spending development time to fix the bug.


how to load pre-trained model?

How to use a pre-trained model on my own video dataset? can you tell me ?

@hx173149 can you help me ?

README has shown the download URL of my pretrained model and it can be used immediately with the tf.restore() API, maybe you should read it more carefully...
Top-1 accuracy of 72.6% should be achieved for the validation dataset with this code and pre-trained from the sports1M model. You can download my pretrained UCF101 model and mean file from here: https://www.dropbox.com/sh/8wcjrcadx4r31ux/AAAkz3dQ706pPO8ZavrztRCca?dl=0
Cheers~


263 | Ugly Number | Python

Title - 263. Ugly Number
What will change - Adding solution
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code
[ ] Improving Code
[ ] Improving Documentation
[ ] Bug Fix

Programming Language
Please add/delete options that are not relevant.

[x] Python
[ ] C++
[ ] Java
[ ] SQL

[x] Assigned to @aniakubik

Please assign to me also

I'd love to be assigned to this please!


fix: scripts not running unless click script in scripts folder [APE-634]

What I did
changed the suffix to be able to detect / from subdirectories to fix bug where subdirectory scripts would not run unless there was a click script in the /scripts/ folder.

fixes: #1302
fixes: APE-630
How I did it
detects / in the suffix in order to see if it is in the main scripts folder or is in a subdirectory, then returns the suffix accordingly
How to verify it
will add tests for this
Checklist

[x] All changes are completed
[x] New test cases have been added
[x] Documentation has been updated

@sabotagebeats test would be good to see for this

@fubuloubu sounds good! working on that.

test added

tests passing, ready for review.


Update LOCALIZATION_CONTRIBUTORS

Summary
Details and comments

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@wakarasi Please follow Step 5 and 6 to complete the process. Thank you.


FIX-#2991: Improve performance of map metadata calculation

Resolves #2991
Signed-off-by: Devin Petersohn<EMAIL_ADDRESS>
What do these changes do?

 Is the issue fully resolved?

Has the performance got better? Is the issue fully resolved?

@YarShev the issue is partly resolved. There are cases where dtypes are being calculated and materialized when they should not be. That belongs in another PR because it does not affect map.


Implements Mean Variance and Black Litterman Optimization C# Portfolio Construct Models

Description

Changes ExpectedStatistics in MVOFA

All regression tests now

Removes unnecessary constructor arguments in ReturnsSymbolData
Tide up code and add method summaries.

How Has This Been Tested?
Regression tests.
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Non-functional change (xml comments/documentation/etc)

Checklist:

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] My branch follows the naming convention bug-<issue#>-<description or feature-<issue#>-<description>

See related issues/PRs:
https://github.com/QuantConnect/Lean/pull/2304
https://github.com/QuantConnect/Lean/pull/2294
https://github.com/QuantConnect/Lean/issues/1998
https://github.com/QuantConnect/Lean/issues/2219


Swagger UI not available

Describe the bug
The Swagger UI is not available as the response has 404 status code.
To Reproduce
Steps to reproduce the behavior:

Visit https://api.adoptium.net/swagger-ui as pointed by https://api.adoptium.net

Expected behavior

Displays Swagger UI for the API documentation

Screenshots

Device (please complete the following information):

OS: macOS 11.6
Browser: Chrome
Version: 93.0.4577.82

Additional context
N/A

I was just about to report this, spotted the same.

The link to the OpenAPI specs are also 404ing
https://api.adoptopenjdk.net/openapi

just realised, that's the old adoptopenjdk site, I'll look to PR this repo with an update to the README

I've found the swagger UI, it's actually hosted here:
https://api.adoptium.net/q/swagger-ui/
Maybe that was a change via a Quarkus upgrade that moved it?

Opening the equivalent Open API URL redirects to the swagger UI
https://api.adoptium.net/q/openapi/
Using curl you get the Open API spec in yaml format e.g.
$ curl https://api.adoptium.net/q/openapi/

---
openapi: 3.0.3
info:
  title: v3
  description: ""
  version: 3.0.0
servers:
- url: https://api.adoptium.net
- url: https://staging-api.adoptium.net
tags:
- name: Assets
- name: Binary
- name: Installer
- name: Release Info
- name: Version
paths:
  /v3/assets/feature_releases/{feature_version}/{release_type}:
    get:
      tags:
      - Assets
      summary: Returns release information
      description: List of information about builds that match the current query
      operationId: searchReleases
      parameters:
      - name: feature_version
.
.
.

I think we have a couple of options, fix references to point to the new location or override in the Quarkus smallrye config
e.g.
quarkus.smallrye-openapi.path=/swagger-ui

I'm unsure what dependencies exist against the Swagger API already so maintaining the existing structure feels safest - we should add also add a test though to ensure it doesn't move again without us realising.
Some info on how this works can be found here: https://quarkus.io/guides/openapi-swaggerui

Just spotted there's also the following config option that should be considered
quarkus.swagger-ui.path=/swagger-ui

Good work, thanks Nick. Does look like an unintended config change. Best liaise with @johnoliver to agree on the right fixes.


Update quest-helper 4.0.0

This adds the basis for player made quests, such as:

RuneliteNpcs to talk to and examine
Quest steps for NPCs
Tracking of player quest states
Interactable items

This is demonstrated in Cook's Helper.
Main things I think worth considering with this PR:

Item pickup changes the text of "Walk" to something else (Pick up). Doesn't interact with the actual behaviour of walk
NPC replacement keeps the original clickbox of the original NPC, but the menu option is still moved about

Does this PR supersede #4067? (I'm aware both are hold-for-release since they're awaiting API changes to be released)

It will supersede it yes, I can close that one now.


Use splitext to get extension and compare lowercase

Fixes https://github.com/Diaoul/subliminal/issues/861
@morpheus65535 can you test this please?

I'Ve tested it myself and it work. Thanks!

splitext() is specifically written for returning the extension

Yes, but that's not needed. The only required change was to add lower before endswith.


Not able to configure Ticker price update ^^

Hi again.
I'm trying to make price update from cryptopia api works with mpos.. but no way!
I have in config:
$config['price']['enabled'] = true;
$config['price']['url'] = 'https://www.cryptopia.co.nz/';
$config['price']['target'] = 'api/GetMarket/100';
$config['price']['currency'] = 'BTC';
executing the query on browser
https://www.cryptopia.co.nz/api/GetMarket/100
i get:
{"Success":true,"Message":null,"Data":{"TradePairId":100,"Label":"DOT/BTC","AskPrice":0.00000196,"BidPrice":0.00000193,"Low":0.00000189,"High":0.00000208,"Volume":2430233.51621936,"LastPrice":0.00000198,"BuyVolume":35588695.18387695,"SellVolume":60413458.24151218,"Change":-1.98,"Open":0.00000202,"Close":0.00000198,"BaseVolume":4.73218882,"BuyBaseVolume":25.59819524,"SellBaseVolume":12225600.22362245},"Error":null}
But in the ticker logs i get only this:
2018-05-18 14:27:03 - INFO --> Running periodic tasks to update database values for GUI access
2018-05-18 14:27:03 - INFO --> | Method                    |           Value |  Runtime | Status | Message                                                                          |
2018-05-18 14:28:02 - INFO --> Running periodic tasks to update database values for GUI access
2018-05-18 14:28:02 - INFO --> | Method                    |           Value |  Runtime | Status | Message                                                                          |
2018-05-18 14:29:02 - INFO --> Running periodic tasks to update database values for GUI access
2018-05-18 14:29:02 - INFO --> | Method                    |           Value |  Runtime | Status | Message                                                                          |
What I am doing wrong?

$config['price']['enabled'] = true;
$config['price']['url'] = 'https://www.cryptopia.co.nz';
$config['price']['target'] = '/api/GetMarket/DEM_BTC';
$config['price']['currency'] = 'BTC';
Chose market for your coin

That didnt worked for me :(

Is cryptopia ticker implement in include/classes/tools.class.php?

Yes, cryptopia included in tools.class.php
private function getApiType($url) {
if (preg_match('/coinchoose.com/', $url)) {
return 'coinchoose';
} else if (preg_match('/btc-e.nz/', $url)) {
return 'btce';
} else if (preg_match('/cryptopia.co.nz/', $url)) {
return 'cryptopia';
} else if (preg_match('/cryptorush.in/', $url)) {
Btw, I tried with other exchanges, like bittrex and yobit... but same results .
Hashrate in dashboard is correct, but I'm using different keys from memcache becouse I'm running several instances of mpos with several coins... do I need to use custom memcache keys somewhere else?
Ty!

In global.inc.php $config['memcache']['keyprefix'] = 'mpos_dot';
But strange that in log no output.
Cronjobs work fine?

Yes, already have a different key for every coin there.
And yes.. cronjob executing every minute without problems... but in the tickerupdate log there is nothing
2018-05-19 4:40:03 - INFO --> Running periodic tasks to update database values for GUI access
2018-05-19 4:40:03 - INFO --> | Method                    |           Value |  Runtime | Status | Message                                                                          |
2018-05-19 4:41:02 - INFO --> Running periodic tasks to update database values for GUI access
2018-05-19 4:41:02 - INFO --> | Method                    |           Value |  Runtime | Status | Message                                                                          |
2018-05-19 4:42:03 - INFO --> Running periodic tasks to update database values for GUI access
2018-05-19 4:42:03 - INFO --> | Method                    |           Value |  Runtime | Status | Message                                                                          |
2018-05-19 4:43:03 - INFO --> Running periodic tasks to update database values for GUI access
2018-05-19 4:43:03 - INFO --> | Method                    |           Value |  Runtime | Status | Message
Super strange :(

Try to run manual mpos/cronjobs/tickerupdate.php
And check permissions to it.
I think it’s not running, because no output to logs

/pools/egulden/cronjobs$ ls -l tickerupdate.php
-rwxrwxrwx 1 mpos mpos 2602 abr 23 20:37 tickerupdate.php
ah! I found this error now in logs:
PHP Fatal error:  Uncaught Error: Call to undefined function curl_init() in /home/mpos/pools/chauchera/include/classes/tools.class.php:43
Stack trace:
#0 /home/mpos/pools/egulden/include/classes/tools.class.php(113): Tools->getApi('https://www.cry...', '/api/GetMarket/...')
#1 /home/mpos/pools/egulden/cronjobs/tickerupdate.php(43): Tools->getPrice()
#2 {main}
thrown in /home/mpos/pools/egulden/include/classes/tools.class.php on line 43

sudo apt-get install curl

Yes, trying that, I'm using php 5.6 so I installed
sudo apt-get install php5.6-curl
but still getting same error..
looking on that now...

For several directories for pid file of crons add to cronjobs start lines “parameter -d coinname”
Like this *  *    * * *   root /var/www/cryptopool.gq/mpos-maza/cronjobs/run-statistics.sh -f -d maza

Well.. i'm still getting the same error
Uncaught Error: Call to undefined function curl_init() in /home/mpos/pools/egulden/include/classes/tools.class.php:43
I installed curl and activated the extension in php.ini
extension=curl.so
restarted apache
but still the same :/

I’m learning too)


New_logo_files

Hi, I uploaded all the files you need to use a new logo wherever you want. I wish you all the best with your project!
Closes #122

@Pelikens Thank you so much, love the logo!


skizze-cli - Help command

We could implement a help command much in the way redis-cli does which displays the current version, and help:
> help
redis-cli 3.0.6
Type: "help @<group>" to get a list of commands in <group>
      "help <command>" for help on <command>
      "help <tab>" to get a list of possible help topics
      "quit" to exit

Implemented in e3de7548ecf5452d41c235d196410199211e046d


Explain the difference between the official directive and this one

https://vuejs.org/v2/guide/custom-directive.html
The documentation show a simple directive, and the first commit of this repo matched it.
However the directive in this repo got more complex, what are the added value(s) of this directive over the documented one?
https://github.com/byteboomers/vue-autofocus-directive/blob/master/src/vue-autofocus-directive.js
(performance? correctness?) as I do not understand the changes

Hello,
This directive additionally supports using a dynamic value to trigger the focus.

That's pretty much it.

Thank you


Replace characters for filters are numbers

Coverage remained the same at 100.0% when pulling ea9c2d2689c31bf27d75f700374fe10fdbf0b0ff on brunoosilva:master into 5249d57a0ffac2438d6dc40701ab611d8c363f9b on the-darc:master.

Coverage remained the same at 100.0% when pulling ea9c2d2689c31bf27d75f700374fe10fdbf0b0ff on brunoosilva:master into 5249d57a0ffac2438d6dc40701ab611d8c363f9b on the-darc:master.

Coverage remained the same at 100.0% when pulling ea9c2d2689c31bf27d75f700374fe10fdbf0b0ff on brunoosilva:master into 5249d57a0ffac2438d6dc40701ab611d8c363f9b on the-darc:master.


docs - add shields images

docs - add shields images

Codecov Report

Merging #45 (aa60fc2) into main (bf2a41e) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #45   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           43        43
=========================================
  Hits            43        43

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 bf2a41e...aa60fc2. Read the comment docs.


Verbose being off crashed bot when calling banned module

When I called something from the NSFW module in a banned channel, and verbose was off, it crashed the bot. however, when verbose was on it worked fine

which command were you running? I cannot reproduce.

I was calling ~hentai from a channel which I banned the use of NSFW module from


Error message says parenthesis when it means bracket

Program: https://code.world/#P60QcgblSNtx_Pa_JEqGNGg
Message:
program.hs:9:62: error:
    parse error
    • Are you missing a parenthesis?

See #1404 for a related mistake.  Looking at the source would be a great way to avoid these kinds of mistakes.


Fix redirect stdout to file not work.

Fixes https://github.com/emqx/nanomq/discussions/1018

It was removed long time ago ...
And the point is  we need to call 'fflush(stdout)' .

I pretty much sure debug_msg is still there


fix issue causing missing transcoders

What does this pull request do? Explain your changes. (required)
This PR fixes an issue that caused a couple of transcoders to disappear from the transcoders view.
Specific updates (required)

Applies a filter to the transcoders graphql query so that it only fetches all registered transcoders, so that none of the registered transcoders get left off the first page of results.

How did you test each of these updates (required)
Tested locally and confirmed I can now see the missing transcoders.
Does this pull request close any open issues?
#434
Screenshots (optional):
Missing transcoders are appearing again while testing locally:

Yeah, that's right. As soon as the transcoder set increases to a number greater than 100, we'll want to implement pagination on the frontend.

Looks good!


ceph-config: do not use osds_per_device literally

Fixes: https://github.com/ceph/ceph-ansible/issues/3135
Signed-off-by: Andrew Schoen<EMAIL_ADDRESS>

So this is not going to work at all. The ceph.conf file is needed to define journal sizing, and it is optional in bluestore for block.db sizing. The command is still wrong because --filestore needs to be passed in and it isn't.
At this point I would recommend to do a "best guess" of number of OSDs should be roughly the length of devices

@neha-ojha @jdurgin would it be OK to default here to the number of devices to infer the number of OSDs? The caveat being that 10 HDDs and 1 SSD would produce 9 OSDs, not 11.

@neha-ojha @jdurgin would it be OK to default here to the number of devices to infer the number of OSDs? The caveat being that 10 HDDs and 1 SSD would produce 9 OSDs, not 11.

The only solution I can think of here that might be more accurate is to write a temporary ceph.conf and then point the ceph-volume command at it so we could retrieve the number of OSDs and then use that information to render the correct configuration file. This might be too much of a hassle though.

For now I think the best solution is to count devices and multiply by osds_per_devices for a best guess estimate. We've cut http://tracker.ceph.com/issues/36088 to add functionality into ceph-volume that will allow us to get the number of osds without the need for a ceph.conf. Once that's complete we can change things here.
This branch is now passing ceph-volume tests again: https://jenkins.ceph.com/job/ceph-volume-scenario/951

@andrewschoen @alfredodeza sounds good to me.


Determine auth scheme

Going with JWT w/ JWS signing (ECDSA SHA-256. Requires a .pem private key for signing tokens. Expiry will initially be set to four hours.

There's currently a stub private key being used at backend/config/private.pem. This shall not be used in staging or production environments, and is intended for local development only.


How to create pool for coin

Hello ELCASH!
I need to create a pool to mine coins. But I can't create pool now.
Can you help me?

Hello.
Current mining activities of Electric Cash (ELCASH) are coordinated in a controlled setting and not open for the general public to participate in. As plans for mining activities are planned to open up more in the future, the ELCASH team will announce any such developments.


Update New-SPAccessServicesDatabaseServer.md

Fill in placeholders

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/New-SPAccessServicesDatabaseServer.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


python, with version 0.2.9.post3 error in receiving a LN payment

When receiving a payment.
creation of invoice -> OK
when the invoice is paid, the payment is actually received, but in log i see:
breezerbot   | thread 'tokio-runtime-worker' panicked at /home/runner/work/breez-sdk/breez-sdk/libs/target/x86_64-unknown-linux-gnu/release/build/breez_sdk-20ebd4003cca3cf5/out/breez_sdk.uniffi.rs:4732:25:
breezerbot   | callback failed. Reason: AttributeError("'NoneType' object has no attribute 'decode'")
breezerbot   | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

this error seems random. sometimes happens and sometimes not

@massmux Are you capturing breez sdk logs? It would help to try and see where that tokio-runtime-worker is panicking.

i am using 0.2.9.post3 python lib, installed with pip

@massmux I'm publishing 0.2.9.post4
The CI for 0.2.9.post3 was inadvertently run on a different commit id than sdk version 0.2.9.
Hoping that will fix the issue.

@massmux let me know whether 0.2.9.post4 works correctly.

@JssDWt ok i tested with 0.2.9.post4 as suggested.
when receiving a payment i still get:
breezerbot   | thread 'tokio-runtime-worker' panicked at /home/runner/work/breez-sdk/breez-sdk/libs/target/x86_64-unknown-linux-gnu/release/build/breez_sdk-2497059bfe672e60/out/breez_sdk.uniffi.rs:4732:25:
breezerbot   | callback failed. Reason: AttributeError("'NoneType' object has no attribute 'decode'")
breezerbot   | note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
the payment anyway is gotten but the error is raised

Hi @massmux
Can you point in your BreezerBot repo where you think the error is occurring, maybe in the event handling?
It would be great if you could add logging of the SDK so we can see what's going on.
Something like (excuse syntax errors):
class SDKLogStream(breez_sdk.LogStream):
    def log(self, l):
        if l.level != "TRACE":
            print(f"[{l.level}] {l.line}")

 ...

 class Wallet(AddressChecker):
    def __init__(self):
        ...
        breez_sdk.set_log_stream(SDKLogStream())

@massmux several things have been fixed in the bindings recently.
Can you please check if you're still seeing this in the latest v0.2.12?

Ok thanks, i will check the 0.2.12 python package then

Any news @massmux ?

Please reopen if you continue to have issues @massmux


New version: Ryujinx.Ryujinx.Ava version 1.1.1163

Pull request has been created with komac v2.0.3 :rocket:
Microsoft Reviewers: Open in CodeFlow

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping @Exorcism0666, I'll get a notification.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

/AzurePipelines run

Automatic Validation ended with:

No errors to post.

(Automated response - build 707.)


Traceback (most recent call last): File "D:/tjwork/pythonproject/pythonProject/RFIDtest/rfopencv.py", line 15, in import mediapipe as mp File "D:\softwareDevelop\python\Anocoda\Anacoda\lib\site-packages\mediapipe_init_.py", line 16, in from mediapipe.python import * File "D:\softwareDevelop\python\Anocoda\Anacoda\lib\site-packages\mediapipe\python_init_.py", line 16, in from mediapipe.python._framework_bindings import resource_util ModuleNotFoundError: No module named 'mediapipe.python._framework_bindings'  Process finished with exit code 1

Pls help with this ...
Actually I was trying to convert .py to .exe
When I run the exe file its shows the error
No module named mediapipe_framework_bindings

Hi @mdhuzaifapatel, Could you please provide the steps to reproduce the above error. Thanks!

Someone Please help

Similar https://github.com/google/mediapipe/issues/2162#issuecomment-876830557 ?


haskellPackages.cpython: pin to python 3.11

Description of changes
The CPython package breaks with the new Python 3.12 unicode API and requires an upstream fix. For an intermediate solution, I've pinned the Python version to 3.11.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Looks good. Extra points if you don’t forget to remove it. :D


Version: 1.95.2 (Universal) Commit: e8653663e8840adaf45af01eab5c627a5af81807 Date: 2024-11-07T11:07:22.054Z Electron: 32.2.1 ElectronBuildId: 10427718 Chromium: 128.0.6613.186 Node.js: 20.18.0 V8: 12.8.374.38-electron.0 OS: Darwin arm64 24.1.0

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

VS Code Version:
OS Version:

Steps to Reproduce:

Version: 1.95.2 (Universal)
Commit: e8653663e8840adaf45af01eab5c627a5af81807
Date: 2024-11-07T11:07:22.054Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.1.0

solve and rectify all corrections

/needsMoreInfo

In my vs code can't run the program and facing the filed issue it will open
node.js and add configuration
On Sat, Nov 9, 2024, 11:46 PM vs-code-engineering[bot] <
@.***> wrote:

Thanks for creating this issue! We figured it's missing some basic
information or in some other way doesn't follow our issue reporting
guidelines https://aka.ms/vscodeissuereporting. Please take the time to
review these and update the issue.
Happy Coding!
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/233492#issuecomment-2466381749,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BLTSOEJCOJ6V4J7NY2R2OJ3Z7ZGRLAVCNFSM6AAAAABRPJ4C6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWGM4DCNZUHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thanks for taking the time to open an issue. We don't have enough information here to provide any meaningful assistance.  Please take a look at our contribution guidelines and feel free to report back once you have that information. You may also want to look at some other issues in this repo for inspiration. Thanks!


Alacritty msg create-window is not focused

When using Alacritty and having it already run in the background, creating a new alacritty window with alacritty msg create-window results in the new window not being focused (except for when the old focus was already on an alacritty window). You can see this behavior in the following recording:
https://github.com/koekeishiya/yabai/assets/17625341/8f4319a6-812a-4732-ba85-5e97c67c2f81

When using Alacritty and having it already run in the background, creating a new alacritty window with alacritty msg create-window results in the new window not being focused (except for when the old focus was already on an alacritty window). You can see this behavior in the following recording:

@braun-steven - in the same boat - did you end up finding a solution to this? tried some scripting around attempting to grab the most recent window but to no avail....

The following in skhd did resolve the issue most of the time but I didn't bother too much and went back to iterm2 at some point:
# Open alacritty window:
# 1. try to use an exisiting alacritty server to create a new window (fastest)
# 2. if that fails, open the alacritty app
# 3. sleep shortly, such that yabai is able to detect the change (new window)
# 4. focus on latest alacritty window (window with highest id). This fixes an issue where if the focus was previously not on an alacritty window (e.g. safari), the new window would open but the focus stays on the old window (e.g. safari)
# cmd - return : alacritty msg create-window || open -na /Applications/Alacritty.app && sleep 0.5 && yabai -m window --focus $(yabai -m query --windows | jq '[.[] | select(.app == "Alacritty")] | max_by(.id) | .id')

Thanks for the response @braun-steven! That's exactly the pathing I was going with last night, minus the sleep which I had a feeling I needed to throw in. I'll give it a try, thanks mate! Been enjoying alacritty for the past year or so and would rather not switch at the moment, but i get it. Have a great rest of your Sunday.

works like a charm! For anyone reading and using nushell you can throw the whole pathing into a script and call it a la lalt - return : bash ~/.config/skhd/open_alacritty.sh. Otherwise just throw it inline as suggested.
#!/usr/bin/env bash

focus_window () {
    WINDOW_ID=$(yabai -m query --windows | jq '[.[] | select(.app == "Alacritty")] | max_by(.id) | .id')
    yabai -m window --focus "${WINDOW_ID}"
}

if ! pgrep -f "alacritty" > /dev/null 2>&1; then
    open -na /Applications/Alacritty.app
else
    alacritty msg create-window && sleep 0.1 && focus_window
fi

I've found that a 500ms sleep gives a bit too much of a delay to feel smooth and anything less than 100ms can occasionally miss and focus the last existing window - but at least for now on my machine 100-200ms gives almost completely consistent operation, though that may need to be adjusted for a safer range depending on machine and load...
Anyway - thanks @braun-steven - classic simple sleep was really all that was needed to be tweaked 🙏

I'm having the same problem with wezterm after updating to OSX 14. I added the following based on @braun-steven's hack:
cmd - return : wezterm start --always-new-process & sleep 0.2 && yabai -m window --focus $(yabai -m query --windows | jq '[.[] | select(.app == "wezterm-gui")] | max_by(.id) | .id')

For some reason I needed &, not && -- with the latter, it would not focus the new windows.
I also found that a sleep of 0.1 consistently selected the wrong window, often causing a disorienting workspace shift.
This still feels pretty fragile, as @colehpage I imagine it will periodically fail under load, but I also found 0.5 to be noticeably laggy.

@rcorre yeah 100% on the fragility here, it's going to be super system/load dependent. I should have updated here, but I ended up switching to 0.2 and for the past week or so and things have been ~95% accurate focus wise. Testing with some higher sleeps might get you closer to 100% but the lag gets pretty noticeable quickly and I'm very okay with a very occasional prev focus slip to get things snappy the rest of the time. Good shout though for others 👍

Use a signal to avoid delay/lag/timing issues..
cmd - return : yabai -m signal --add event="window_created" label="alacritty-new-window" app="^Alacritty$" action="yabai -m window \$YABAI_WINDOW_ID --focus && yabai -m signal --remove alacritty-new-window" && (/Applications/Alacritty.app/Contents/MacOS/alacritty msg create-window || open -na /Applications/Alacritty.app)

Ahh @koekeishiya the man himself, thanks for chiming in mate. Looks straightforward but I'll give it a try when I get home, appreciate the input.

Thanks @koekeishiya, that's an improvment.
Does closing this mean yabai can't/won't handle this?
The workaround is certainly better but still feels somewhat clunky, and doesn't handle if I e.g. launch a GUI app from the terminal.

I think this is a newly introduced macOS bug. yabai has never initiated a change in application/window focus without user-input.
Personally I have not experienced this issue with software that I use (although I managed to reproduce this Alacritty issue).
I don't believe this is something that should be fixed through a yabai code change.
The next version of Sonoma should be released in a couple of days; let's see if the issue has been resolved there, and if not I might look into a more general fix.

Updated command in case you are "spamming" the hotkey to create multiple terminal windows; the last one should be the final focus in this solution:
cmd - return : (LABEL=$(uuidgen) && yabai -m signal --add event="window_created" label="$LABEL" app="^Alacritty$" action="yabai -m window \$YABAI_WINDOW_ID --focus && yabai -m signal --remove $LABEL") && (/Applications/Alacritty.app/Contents/MacOS/alacritty msg create-window || open -na /Applications/Alacritty.app)

Works great from my end, thanks for taking the time @koekeishiya - using a signal make a lot of sense, had a feeling that was an option in there somewhere, should have dived into the docs a bit further, but good to know moving forward. Will be curious to see if it's even an issue after the next sonoma release, will keep eyes peeled 👍


Update version: IliasHad.makerlapse version 1.2.6

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/114975&drop=dogfoodAlpha

@wingetbot run


Token Limitation

Is your feature request related to a problem?
For some complex tables, the structure information of the table exceeds the token limit, the conversation could not proceed and gpt continuously returns incorrect and incomplete content. What are the solutions to this problem?
Describe the solution you'd like
Solve the token limitation problem.
Additional context
No response

We now provide uses to selectively choose the table.
We don't have near term plan to workaround the token limit with the hope that the limit will be increased significantly as the model matures.


Windows installer dependencies.wxs checked in?

I've been looking at the Windows installer.
Some distant Utopian build system will just run generate-dependencies.sh to create dependencies.wxs, so I guess it doesn't necessarily need to be checked in - but it would be handy for keeping track of changing dependencies. Is the plan is to keep it? If so I suggest sorting the entries to make the diffs usable.
Also, I needed to add -i to the grep. I'll add a PR if the following is ok:
for f in `ldd ${GOPATH}/bin/gcp-windows-connector.exe | grep -i -v Windows | sed s/" =>.*"// | sed s/"\t"// | sort`

Finally, if ldd is working for you in MSYS2, don't upgrade. It was recently broken but the fix isn't out yet.
I'm using cygcheck instead for now, and had to modify the sed regex:
for f in `cygcheck ${GOPATH}/bin/gcp-windows-connector.exe | grep -i -v windows | sed s/"[^\]*[\]"//g | sort`

The change sounds good to me.
I think leaving dependencies.wxs checked in makes sense.
Generally with build systems, I have always tried to avoid having the build system do dependency checking at build time or any sort of dynamic installer builds (e.g. InstallShield's "Extract at Build"), because of problems it creates.  First, the dependencies determined are dependent upon the build machine setup.  If you build on a 32-bit Win7 machine, it's possible the dependencies turn out to be different than if you're building on a 64-bit Win10 machine.  It also often places the requirement that your build machine can actually execute the binaries it's building, which is not always something you want, and in the Windows world, that can mean that your build has to run elevated, which implies often that your unit tests run elevated, which can result in unintended test behavior.
While a lot of those wouldn't necessarily be problems with this project, it's still something I try to avoid.  But I definitely like tools that can be run at a developer's desk and make their jobs easier.  I also like having the file in source control so you can see differences, and make sure that any added dependencies are really intentional.  It's harder to detect those issues if it's all automated.

Yes, all good points - thanks for your insight. My dev environment is not conducive to quick check-ins, but I'll get around to it eventually unless someone else does first. ; - )


Docker - Allow OpenMetadata service to reach services in host machine

Feature
If users want to test the OpenMetadata webhook and if they have a service running in host machine we won't be able to reach that service at all
Describe the task
A clear and concise description of what the bug is.

Hello @harshach , As per documentation for Docker, this can be achieved by using host.docker.internal or gateway.docker.internal as hostname.
Reference - https://docs.docker.com/desktop/mac/networking/#use-cases-and-workarounds