Added documentation support to parameters

Additional documentation can be added to a parameter by providing a documentation hash.
params do
  optional :first_name, type: String, documentation: { example: 'Jim' }
  requires :last_name, type: String, documentation: { example: 'Smith' }
end

Previous discussion in this issue.

I know this is a very old PR, but it's important to note that examples on parameters are only supported in OpenAPI v3, which grape does not support. If you add an example on a param using this, and then run the resulting spec through any OpenAPI validator tool, it will fail. IMO, grape should only allow valid OpenAPI v2 documentation, until it supports v3 properly.

@mscrivo Want to add something in the README wrt OpenAPI versions?

@mscrivo Want to add something in the README wrt OpenAPI versions?

What would we say though? I'd prefer if people didn't hit this kind of thing in the first place and have to look in the README for some explanation. I'm thinking we need something that validates any documentation grape spits out against an OpenAPI v2 validator as a PR check, if that's at all possible.

I'd prefer someone contribute to v4 migration too! But it could just say something like "Note: Grape currently supports  OpenAPI x.y. See #xyz for adding v3 support."


Downgrade sqlite to 1.6.292

I saw the upgrade in this PR and wondered if that could cause a problem and it did. The WPF sample throw an exception when trying to open mbtiles. Apparently there were api changes between 1.6 and 1.8. This is not according to semver but happens a lot.
BruTile.MbTiles was compiled against 1.6.292. The nuget refers to that version:
https://www.nuget.org/packages/BruTile.MbTiles/

In general I think we should upgrade a package if we have a specific reason for it. There are many packages that are not compatible with each other, sometimes because of api changes sometimes because of bugs in higher or lower versions. In the javascript world this is even a bigger problem. Sometimes it is hard to find any set of packages that works for all needed features.
Note, a 'specific reason' can be that everyone else is using version x, so if we do too that makes it easier for our users. So upgrading now and then is a good also.
And if we upgrade lets do it after a major release, not while in the release candidate (RC) phase.

I saw the upgrade in this PR and wondered if that could cause a problem and it did.

Maybe you should be a bit stricter in your reviews. If a PR breaks the CI build and you wonder whether it could cause problem, the appropriate reaction would be to utter your concerns, do further checks or request further checks from the author.
In fact I saw the CI breakage and planned to look into it. But before I managed to do that, you just merged it.


Exit with a non-zero exit code when we skip a command in the entrypoi…

…nter.
Changes
When an early step fails, our entrypointer correctly skips all subsequent steps.
Unfortunately, the containers currently exit with 0 which may be interpreted as
these steps having successfully completed.
Fixes #1439
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[x] Includes tests (if functionality changed/added)
[X] Commit messages follow commit message best practices

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task to build and release this image.

Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.
Release Notes
Steps now exit with an exit code of 1 if they are skipped because a previous step failed.

/lgtm

/test pull-tekton-pipeline-integration-tests

/test pull-tekton-pipeline-integration-tests

/test pull-tekton-pipeline-integration-tests

/lgtm


[Firefox] layout.css.zoom.enabled

To be reviewed
https://developer.mozilla.org/en/docs/Web/CSS/zoom
Firefox nightly 125.0a1: buggy. not working

Info dated 2024.04.30
Firefox 126 (Released 2024-05-14)
tested in 126.0b7; Still Buggy

The glitch was due to Comment View Model not Firefox.


v0.0.13

[x] https://github.com/henomis/lingoose/pull/150
[x] add drop and delete index methods https://github.com/henomis/lingoose/pull/153
[x] switch to openai tools and update models https://github.com/henomis/lingoose/pull/156
[x] Add HF text to image models support https://github.com/henomis/lingoose/pull/157
[x] implement lingoose thread using openai as LLM backend https://github.com/henomis/lingoose/pull/158

[x] improve loaders interface
[x] rag must have pluggable loaders based on regexp (extension, URL, etc.) map[string]Loader
[x] upgrade cohere-go v1.1.0 and implement chat/generate
[x] rewrite documentation

⚠ This PR is an huge update! I'm considering to release v0.1.0

due to the huge amount of feature in this issue, I released v0.1.0 :rocket:


'GitHub' link on pythonhosted docs is broken

Repro:

Load http://pythonhosted.org/gpiozero/
Click on 'GitHub' at bottom-left
On both Firefox and Chrome, this does not go to GitHub...

To be clearer, it does not anywhere!

I've noticed this. Guess it's a bug in the mkdocs template. The "Edit on GitHub" link at the top works but the logo link in the bottom doesn't.
@d0ugal where's the codebase for the readthedocs theme?

@bennuttall the original rtd theme is based here: https://github.com/snide/sphinx_rtd_theme but I'm not sure if that's the one pythonhosted is using as it's intended for use on rtd itself (which has a lot more in the bottom left as can be seen in the rest-docs experimental output: http://gpiozero.readthedocs.org/)

@bennuttall https://github.com/mkdocs/mkdocs/tree/master/mkdocs/themes/readthedocs

A) Is it possible for http://pythonhosted.org/gpiozero/ to now redirect to http://gpiozero.readthedocs.org/ ?
B) There's still a couple of links to http://pythonhosted.org/gpiozero/ on https://pypi.python.org/pypi/gpiozero/1.1.0

Moved to readthedocs - issue fixed

There's still two 'documentation' links on https://pypi.python.org/pypi/gpiozero/1.1.0 which link to http://pythonhosted.org/gpiozero/ - can they be fixed? (Never having added a project to PyPI myself, I've no idea how/where those links are set.)

Ah, yes, that's because pypi and pythonhosted are tied. I'm not sure I can remove them but I'll see if I can.

Hmm. I can't see a way to remove those links.


Updated build instructions and fixed spelling errors

When compiling this error occurred: "CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name."
Doing some research I found that I needed g++ so I added that to the readme and made some of the build instructions more clear about where the cmake command needed to be run from. The spelling corrections were a quick fix.

That could make it a little more simple for those who have never compiled anything before. I already had gcc but not g++ which caused my initial error.

That last commit should make it a but more clear about exactly what the user needs to do. Does this look better to you? without changing it to build-essentials since the person is only going to copy/paste that section of the readme anyway when installing dependencies?

Yep, that's fine.


Add different language support

Old StyleCop plugin for VisualStudio had different languages support.
For example, it suggested different documentation text for properties depending on project language.
Current StyleCopAnylyzers uses English only to validate documentation text.

I think this is a duplicate of #1143.

Yes, it's a duplicate. I'm very sorry, I should have searched existing issues more carefully.

@yodasad I don't mind duplicates. If you can't find something just ask (or create an issue) and we'll point you in the right direction. :smile:


Exception in console with weird jQuery in isMiddleTier()

Describe the bug
Related to issue 649
Uncaught TypeError: Cannot read property 'prototype' of null
    at isMiddleTier (iframeResizer.contentWindow.js:1258)
    at callFromParent (iframeResizer.contentWindow.js:1273)
    at processMessage (iframeResizer.contentWindow.js:1280)
    at receiver (iframeResizer.contentWindow.js:1293)

Specifically, what pukes is the  ('jQuery' in window && 'iFrameResize' in window.jQuery.prototype) at .prototype
To Reproduce
Use the crazy website page i'm trying to iframe
Expected behavior
No console exception?
Desktop (please complete the following information):

OS: OSX
Browser Chrome

That's very strange, are you loading in jQuery?


Added suggested commands to JShell sample

As requested, here's the commands we have for JShell.

@sjmaple Any chance of adding this fantastic list to the already existing - https://github.com/AdoptOpenJDK/jdk9-jigsaw/blob/master/session-3-jshell/README.md

Yeh, I think ordering of the Set isn't consistent... maybe :)
Thanks -- Simon
On 14 August 2017 at 21:13, mani<EMAIL_ADDRESS>wrote:

@neomatrix369 requested changes on this pull request.
LGTM apart from the duplicate mentioned in the comment
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AdoptOpenJDK/jdk9-jigsaw/pull/81#pullrequestreview-56189712,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADLz3iuUtt10Kfy_Ax2e4HV0i6H34jPsks5sYKp9gaJpZM4O2eN3
.

@sjmaple I'll merge this now and merge the two lists together to make one resource for JShell. Thanks plenty for sharing it with us.


Can't select port

I was using create react app, decided to use serve since its what it recommends at the end, but since I usually have something running on port 5000, I wanted to use another port. However that didn't work
MacOS Sierra
Node: v7.9.0
Serve: v5.1.4
Command:
serve -s -p6000 build
I closed things and serve -s build seemed to work on port 5000

It seems the browsers detect port 6000 as an unsafe port so they refuse to connect to it (see this for chrome and this for safari)
Using another port should solve the problem:
serve -s -p6001 build
serve -s -p5999 build

You should also leave a space after the flag name: -p 6001


fix a test-only memleak

Scope & Purpose
Fix a memleak that occurred only in AQL bit functions test code.
This does not affect any users, and does not need to be fixed in other versions.

[x] :hankey: Bugfix (requires CHANGELOG entry)
[ ] :pizza: New feature (requires CHANGELOG entry, feature documentation and release notes)
[ ] :fire: Performance improvement
[ ] :hammer: Refactoring/simplification
[ ] :book: CHANGELOG entry made

Backports:

[x] No backports required

Testing & Verification

[x] This change is a trivial rework / code cleanup without any test coverage.
[x] The behavior in this PR was manually tested

Link to Jenkins PR run:
http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/13691/

Tests blue.

Tests blue.


Added to body assembly and PCB wiring documentation

Added two images and accompanying text for the main body assembly and PCB wiring. Main body image is for the 'bearing support structures' and PCB wiring shows the power headers connected to end components.

I'm going to close this pull request. I'll work on another one with the figure numbers corrected.

I believe I closed this by accident, so I'm reopening it.


Using from Fragment raises : ERROR_IMAGEVIEW_CONTEXT

Using universal-image-loader-1.1.1.jar
Using android support package
Main activity is a FragmentActivity containing a ViewPager.
ViewPager contains Fragments.  Fragment contains ListView.
When I attempt to use ImageLoader from the Fragment ListViews Adapter I receive the logged exception
ImageView context must be of Activity type
from
public class ImageLoader ...
private void tryRunOnUiThread(Runnable runnable) {
Context context = imageLoadingInfo.imageView.getContext();
if (context instanceof Activity) {
((Activity) context).runOnUiThread(runnable);
} else {
Log.e(TAG, ERROR_IMAGEVIEW_CONTEXT);
imageLoadingInfo.listener.onLoadingFailed(FailReason.WRONG_CONTEXT);
}
}

Thanks for bug!
Can you clarify one thing: do you imflate your ImageView or create it in code? If you create it in code then how do you do it?


Merge loader capability (ldscope & ldscopedyn) with the CLI & remove the loader as a separate entity

Objectives:

don't fork/exec ldscope from scope - makes debugging easier
remove the need to create/parse/learn arguments for two different binaries
remove need to exec ldscope as child and read stdout/stderr to get response
reduce complexity for users
unify logging between scope and ldscope so you can run scope logs and see all log output

Concerns:

need to run a utility binary in a namespace?

files used by the loader (and in some cases, shared with the library):

scope.c
scope_static.c
setup.c
utils.c
os.c
plattime.c
ns.c
loaderop.c

Things to move to Go code:

attach
detach
running the application

The work done to close this issue was merged from this PR.
There are several fundamental changes to the use of appscope, and the development of appscope that are described below:
From a user's perspective

no ldscope or ldscopedyn executables anymore
ldscope --attach is now scope --ldattach
ldscope --detach is now scope --lddetach
--passthrough run/attach option (is now handled by the constructor) now works with -z also (replaces traditional ldscope usage). You cannot scope run --passthrough anymore. Must scope --passthrough.
ldscope.log is now libscope.log
removed the ldscope --help menu

From a development perspective

the ldscope help menu (now, the scope developer help menu) now appears in docs/Help.md
the ldscope options (now, the scope constructor options) are documented at the top of cli/main.go
the loader code is now run from the constructor of the scope cli appllication (in order to run in a single threaded environment. this is important, because loader commands like run, attach, detach and a few others, require namespace switches which can only happen in a single threaded environment. once go main starts, the go runtime has started which means the application is now multithreaded - calls like setns won't work).
the loader code has been separated from the library code. loader code now exists in src/loader.

loader tests have been moved to /test/unit/loader
library tests have been moved to /test/unit/library
the build for the loader and the library is now split into three targets (libloader.a, scopedyn, libscope).
the build for the tests for the loader and the library is now split into two targets (libtest, loadertest) and now followed by (runtest).

the ldscopedyn (now, scopedyn) executable is now a tiny executable (160kb) that is bundled into scope.
scopedyn is only bundled into scope; not scope and ldscope.
libscope.so is only bundled into scope; not scope and ldscope.
scopedyn is almost entirely abstracted from the user: it it self-extracted from scope into memory and executed from memory. it is not extracted to disk by scope or by any scope command.
there is a diagram in docs/Execution.md that represents the new workflow for scope execution.
we are now able to attach to a process from static scope

the previous approach was to locate libc in the current process, calculate an offset for dlopen, then locate libc in the remote process, use the offset to find the address of dlopen in the remove proc.
the new approach is: because we are doing this from a static scope there is no libc in the current process' maps file. therefore, we open proc/self/exe to get the elf image of the current executable, and in that elf image we locate dlopen. once we locate dlopen we calculate an offset and go from there.

Concerns

The binary size has increased from ~33MB to 57MB, as a result of removing UPX compression (to resolve #1252)

note: removing debug symbols from the library/loader build had no noticeable impact on file sizes.

Continuing the model of including scopedyn with scope in order to use dlopen (required to load static go apps) maintains a number of complexities (bundling, extracting, running from memory). It would be more ideal to write our own loader. See https://github.com/criblio/appscope/issues/1246 for more info.


Docs: Creating tree-shaking able library with webpack

feature
Can you describe in documentation how to create library with es-modules with webpack?
What is the current behavior?
tree-shaking does not work with libraryTarget: commonjs
browser version, Node.js version, webpack version and Operating System.
webpack@latest (3.6.0)

webpack.config.js example:
{
  // ...
  output: {
    path: path.resolve(__dirname, 'build'),
    library: 'lib',
    filename: 'main.js',
    libraryTarget: 'commonjs',
  }
  externals: {
    react: {
      root: 'React',
      'commonjs-module': 'react',
      commonjs2: 'react',
      commonjs: 'react',
      amd: 'react',
    },
  },
  plugins: [
    new UglifyJsPlugin({ sourceMap: true })
  ]
}

It's better to not bundle libraries. Stay with a modular version of it, better written in ESM.
If you don't want this: https://rollupjs.org/ allows to bundle ESM to ESM.

I want to do not bundle, but I cannot. Can you suggest correct direction?
project/src/index.js:
import React from 'react';
import { foo } from 'lib';
console.log('lib', foo());

It transpiles to:
...... console.log('lib', Object(__WEBPACK_IMPORTED_MODULE_1_lib__[\"a\" /* foo */])()); ........
And I got an error: Uncaught TypeError: Object(...) is not a function
project/webpack.config.js:
//...
  {
    test: /\.jsx?$/,
    // exclude: /node_modules/,
    include: [conf.paths.src, ...conf.paths.include], // contains path to *lib*
    use: [
      { loader: 'babel-loader', options: babelLoaderOptions },
    ],
  },
//...

lib/src/index.js:
import React from 'react';
export { default as foo } from './foo';
export { default as bar } from './bar';
...

lib/package.json:
{
    // ...
    main: 'src'
}


Rules Report Export - filtering does not reduce object table content

Exporting a rules report filtered by IP address contains all network and service objects of the unfiltered report.
Should also be checked for other report types.
RSB Report Tab also seems to not take filter line into account

@abarz722 might be a topic for you


Prevent editor from weirding out when expanding big object tree

The toolbar would sometimes disappear, and the whole editor would look
jittery when having a lot of objects in a group, and then
expanding/collapsing it in the object tree.

gif showing the issue: https://i.imgur.com/Y0IeiR0.gifv


ZIP resources not working

Description
OBJMC Resourcepack not working in a ZIP archive. Minecraft doesn't see it.
Environment:

Operating System: Win 7
Game Version: 1.20.4

Are you sure that the zip you have don't have a folder before the resource pack itself ?
And on another note, the current version of Objmc is compatible with minecraft version after 1.20.4.

Yes, I archived everything correctly, according to the rules. As for the version, I downloaded an old version of the script that supports 1.20.4. Everything works well in the unzipped form.

Could you provide the log of your client when you try to load the rp ?

Link on RP, if need: click

The problem turned out to be in the backup file with the extension .jso.
It is very strange that it worked in folder mode, without an archive,
I thought that minecraft ignores files without .json in models.
Anyway, this is a problem of my inattention, thanks for the help.


REVIEW ONLY: Initial changes for core to knack conversion

This is a feedback gathering PR for the work I've currently done to support converting azure.cli.core to knack. In the future, PRs will be made against the branch so we have the normal workflow.
Definitely don't merge this PR!  Once people have had time to review it, I'll close it.

@tjprescott, I don't know the knack mechanism too much, but JFYI, main logics in _profile.py should not be shared by other CLIs, though you can still convert for code consistency.

Thanks for the feedback! Closing for now.


Synchronous Calls?

Hello,
Once again, I would like to express my total appreciation for this project!  Very happy to see someone put this together (and even more surprised that it's not a first-class component to the MVC framework).
It appears that this project currently produces asynchronous operations.  Which is great if you are not managing async/tasks within your application.  However, some of us have components that do manage this for us (and are also, um, apprehensive, towards async to begin with... beware of zombies. :)) and prefer synchronous calls.  It would be great if this project supported them.  I would be interested in making this happen with a pull request if that would help.
If this is an easy existing setting that I am overlooking that would be great to know, too.
Thank you,
Michael

Resolved in #33


feat: create organisation by users

How should this be manually tested?

Try accessing the /api/v1/organisations route as an authorized user (Bearer Token).
Submit a valid request to create an organisation.
The expected result is to get a 201 Created response with the organisation details.
Error responses to check:

403 Unauthorized if the user is not authenticated.
422 Unprocessable Entity if there are validation errors.
400 Bad Request if the organisation name already exists.

Checklist of what you did

[x] Implemented authentication middleware to ensure the user is authenticated using JWT.
[x] Created the /api/v1/organisations endpoint to handle organisation creation.
[x] Added input validation for all supplied fields in the request body.
[x] Implemented error handling for various scenarios including name conflicts, validation errors, unauthorized access, and internal server errors.
[x] Ensured the response structure is consistent for successful and error scenarios.
[x] Added unit tests and e2e tests for all the features as described more in the reference issue below.

Reference Issue
https://github.com/hngprojects/hng_boilerplate_java_web/issues/21

@lurldgbodex @Fifetoyi kindly confirm the new changes.

Just increased migration file version.

LGTM

@lurldgbodex @Fifetoyi @Am0du all ci test are passing now, and got two lgtm.
Time to merge?


Hotifx: Add time manually adds time in nanoseconds

The add time manually form adds the time as nanoseconds but it should be seconds.
This issue is reported by @gsantner (#2211 (comment)).
For more information please have a look at @gsantner comment: #2211 (comment)

LGTM

Codecov Report

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

@@           Coverage Diff           @@
##           master    #2499   +/-   ##
=======================================
  Coverage   27.85%   27.85%
=======================================
  Files          83       83
  Lines       16825    16825
=======================================
  Hits         4686     4686
  Misses      11464    11464
  Partials      675      675

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 35b473d...b3fd467. Read the comment docs.

LGTM

Wrong report from drone, was successful so I'm merging it https://drone.gitea.io/go-gitea/gitea/573


ASGI req.stream is iterated until completion despite client disconnect

At the time of writing, setting req.stream to an async generator results in being iterated by the framework until completion (or, obviously, until an exception is raised) regardless whether the client has already disconnected. The SSE code path already has a mechanism to poll and detect the http.disconnect ASGI message.
This issue intersects with #1808, however this one proposes that the framework should detect the disconnect event and stop iteration itself, as it is done for the SSE case. Maybe both cases could be generalized that setting resp.sse would simply set the Content-Type and resp.stream, and further streaming would use the same logic?

A simple test app from Gitter used by @vytas7 to debug the current behaviour:
import asyncio
import logging
import uuid

import falcon.asgi

# NOTE(vytas): Useful since ASGI otherwise has nothing like wsgierrors.
logging.basicConfig(
    format='%(asctime)s [%(levelname)s] %(message)s', level=logging.INFO)

class RequestID:
    async def process_request(self, req, resp):
        req.context.request_id = str(uuid.uuid4())

class EventStream:
    async def on_get(self, req, resp):
        async def emitter():
            try:
                for i in range(1, 30+1):
                    logging.info(f'<{req.context.request_id}>: i=#{i}')
                    await asyncio.sleep(1)

                    yield f'Hello! (#{i})\n'.encode()
            finally:
                logging.info(f'<{req.context.request_id}>: generator exiting')

        resp.content_type = falcon.MEDIA_TEXT
        resp.stream = emitter()

    async def on_get_sse(self, req, resp):
        async def emitter():
            try:
                for i in range(1, 30+1):
                    logging.info(f'<{req.context.request_id}>: i=#{i}')
                    await asyncio.sleep(1)

                    if i % 2 == 1:
                        yield falcon.asgi.SSEvent(json={'i': i}, retry=5000)
                    else:
                        # Just an empty "ping" event
                        yield falcon.asgi.SSEvent()
            finally:
                logging.info(f'<{req.context.request_id}>: generator exiting')

        resp.sse = emitter()

app = falcon.asgi.App(middleware=[RequestID()])

events = EventStream()
app.add_route('/stream', events)
app.add_route('/sse', events, suffix='sse')

I think it would make sense to unify the logic.
I don't think this would classify as a breaking change

In ASGI, we probably should also cancel the task that is returning the response too. I am not too aware of the the ASGI/async python or Falcon internals to comment on how the response is run in an event loop and cancellation semantics.
I've been trying out some other web frameworks to see how they handle disconnections in ASGI, and seems like Quart will cancel the task (usually, ~2 seconds after, even though there is a single client) and Sanic won't do anything and continue like Falcon to try to send the response. I can't really understand Django's async/asgi support enough to figure out how to even write a test program.

Quart
import asyncio
from quart import Quart

app = Quart(__name__)

@app.route('/')
async def hello():
    return 'hello'

async def emitter():
    for i in range(1, 30+1):
        app.logger.error(f'Emitting event: i=#{i}')
        await asyncio.sleep(1)
        yield bytes((f"somedata {i} \r\n\r\n").encode())

@app.route('/events')
async def sse():
    return emitter(), {
        'Content-Type': 'text/event-stream',
        'Cache-Control': 'no-cache',
        'Transfer-Encoding': 'chunked',
    }

app.run()

Sanic

import asyncio
import logging
from sanic import Sanic
from sanic.response import stream

logging_format = "[%(asctime)s] %(process)d-%(levelname)s "
logging_format += "%(module)s::%(funcName)s():l%(lineno)d: "
logging_format += "%(message)s"

logging.basicConfig(
    format=logging_format,
    level=logging.DEBUG
)
log = logging.getLogger()

app = Sanic('stream_test')

async def emitter(resp):
    for i in range(1, 30+1):
        log.error(f'Emitting event: i=#{i}')
        await asyncio.sleep(1)
        await resp.write(bytes((f"somedata {i} \r\n\r\n").encode()))

@app.route("/", methods=["GET"])
async def test(request):
    return stream(emitter)


Add docker support to run the tests

This was handy to run the all matrix of tests locally and could help others.
On the other hand I would totally understand if you don't like the Docker dependency or don't want to maintain something like this ✌

I like this idea too.
On Fri, 5 Oct 2018, 10:22 belugame<EMAIL_ADDRESS>wrote:

I really like this idea, and it's very lightweight.
Could you add a sentence to your readme additions that one can also use
tox without docker to run them? I just don't want to leave the impression
that one does need docker to do it.

Reply to this email directly, view it on GitHub
https://github.com/James1345/django-rest-knox/pull/122#issuecomment-427300865,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAkjeo1Ei-NmINKNw5NuVUZybqveKIU1ks5uhyTkgaJpZM4XHHhB
.

@belugame the Docker volume mount seems to be struggling with permissions, it can be due to a lot of different things... Also keep in mind that containers are just namespacing things,

It may just be that for some reason you have some permissions fuckup in your .tox dir.

I tried to create such a use case on my laptop, see below:
┌─[john][mbp-john][/tmp/test-dck]
└─▪ docker run --rm -v $(pwd):/hello/ -w /hello themattrix/tox mkdir test
┌─[john][mbp-john][/tmp/test-dck]
└─▪ ls -l
total 0
drwxr-xr-x  2 john  wheel  64  5 oct 13:33 test
┌─[john][mbp-john][/tmp/test-dck]
└─▪ sudo chown root test/
┌─[john][mbp-john][/tmp/test-dck]
└─▪ docker run --rm -v $(pwd):/hello/ -w /hello themattrix/tox mkdir test/fail
mkdir: cannot create directory ‘test/fail’: Permission denied

It clearly fails when the host mounted dir is owned by root while docker is run by my user "john".
Can you check if there is something weird with the permissions for .tox/log/tox-1.log.
May I ask which platform you are on? Which filesystem? Anything exotic like an NFS mount or something?
As a last resort, could you try removing the .tox directory completely and run the script again?

And I added the note in the readme.

I wiped the folder .tox and restarted the script, but it did not help. :-/
[local-docker-run-tests ✔] [~/repos/django-rest-knox]$ rm -rf .tox                  [INS]
[local-docker-run-tests ✔] [~/repos/django-rest-knox]$ ./docker-run-tests.sh        [INS]
Traceback (most recent call last):
  File "/.pyenv/versions/3.7.0/lib/python3.7/site-packages/py/_error.py", line 66, in checked_call
    return func(*args, **kwargs)
PermissionError: [Errno 13] Permission denied: '/django-rest-knox/.tox'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/.pyenv/versions/3.7.0/bin/tox", line 11, in <module>
    sys.exit(cmdline())
  File "/.pyenv/versions/3.7.0/lib/python3.7/site-packages/tox/session.py", line 39, in cmdline
    main(args)
  File "/.pyenv/versions/3.7.0/lib/python3.7/site-packages/tox/session.py", line 45, in main
    retcode = Session(config).runcommand()
  File "/.pyenv/versions/3.7.0/lib/python3.7/site-packages/tox/session.py", line 369, in __init__
    config.logdir.ensure(dir=1)
  File "/.pyenv/versions/3.7.0/lib/python3.7/site-packages/py/_path/local.py", line 530, in ensure
    return p._ensuredirs()
  File "/.pyenv/versions/3.7.0/lib/python3.7/site-packages/py/_path/local.py", line 512, in _ensuredirs
    parent._ensuredirs()
  File "/.pyenv/versions/3.7.0/lib/python3.7/site-packages/py/_path/local.py", line 515, in _ensuredirs
    self.mkdir()
  File "/.pyenv/versions/3.7.0/lib/python3.7/site-packages/py/_path/local.py", line 465, in mkdir
    py.error.checked_call(os.mkdir, fspath(p))
  File "/.pyenv/versions/3.7.0/lib/python3.7/site-packages/py/_error.py", line 86, in checked_call
    raise cls("%s%r" % (func.__name__, args))
py.error.EACCES: [Permission denied]: mkdir('/django-rest-knox/.tox',)](url)

Hey @belugame, that's disappointing 😞
There is clearly an issue with your Docker daemon...
Are you using Docker in other scenarios?
Did you ever witness writing successfully to a volume mount before?
And also from before:

May I ask which platform you are on? Which filesystem?

I'm 100% sure this is a Docker or OS related issue as it works on my Mac using Docker for mac and on my Ubuntu box using regular Docker binary.

I have tried it on two machines running Ubuntu 16.04, Docker version 18.06.1-ce, build e68fc7a
Filesystems are ext4. I do use several other docker containers with volumens on them, have not seen this error before.

I realise now that I have been running this only on my Mac since day 1...
I was able to reproduce on the linux box indeed...
Will look into it 👍

@belugame: I think it should work now, could you please try again?

works like a charm! :+1:


Remove MariaDB support

The goal of eventyay talk, tickets and video is to run on a common stack. Therefore remove MariaDB support after PostgreSQL support is implemented.
Compare changes in the PR here https://github.com/pretix/pretix/pull/3381/files

still on?


[BUG] Connect-pnponline -S is not working any more

I use the following URL for various scripts
Connect-PnPOnline -S -Url https://xxx-admin.sharepoint.com -ClientID xxxxx -Credentials $spoCredential
This hasn't worked for a few days. I get the following error message:
"Parameter set cannot be resolved using the specified named parameters. One or more parameters issued cannot be used together or an insufficient number of parameters were provided."
If I use the URL without -S (Connect-PnPOnline -Url https://xxx-admin.sharepoint.com -ClientID xxxxx -Credentials $spoCredential), then in my script at the point:
Set-PnPUserProfileProperty -Account $User -PropertyName $SPOPropertyName -Values $ADUserPropertyValue
I get the error:
This process requires that you manage your own data or have administrator rights
My account spoadmin is a Sharepoint admin.
I use Powershell 7.4.5 with PnP Powershell 2.12.0
How can I solve my problem?
Which operating system/environment are you running PnP PowerShell on?

[x] Windows

Same issue i am facing? any help would be highly appreciated


Not working image

https://github.com/algosup/2024-2025-project-2-serious-game-team-6/blob/9021e066f36249fecd8c0534df150d22448fc5ba/Documents/FunctionalSpecifications/gameDesign.md?plain=1#L73
Dead link to an image

All images links are dead

Fixed 😁


Can't select Paddy layer group

Bug report
Actual behavior:
When i try to select the Paddy layer group from the artboard (not from layer list) it selects it for a one second and then deselects it.
Problem occurs when Paddy group is nested inside another group.

Paddy version: 1.0.4
Sketch version: 48.2

I came here to report a possibly related issue.
I have three symbols in a group with Tabgroup [0h t]-name in it. The Tabgroup is nested within another group itself.

Same here, but also happens when directly select a layer on the Artboard: Always need to select it twice, because it gets deselected 0,5 seconds after the first time.

Hey all – did the latest update (v1.0.5) fix this?

Seem to be fixed

Awesome. Thanks @ziyafenn


[ Oppia Web ] Scripts for runnning frontend tests in Docker Setup

Add Scripts for running frontend tests in the Docker setup Wiki.

Reference Wiki to be Update :- Link

Duplicate https://github.com/oppia/oppia-web-developer-docs/issues/225


no longer necessary to call AIService super().start/stop/cancel(frame)

Please describe the changes in your PR. If it is addressing an issue, please reference that as well.

Closing. Same reason as https://github.com/pipecat-ai/pipecat/pull/853


Allow users to know when tools are added

This is helpful if apps want to assign settings as soon as tools are added.
Assigned to @ldanzinger.
@lsmallwood and @ldanzinger to review.
Changes for v.next to allow the tool manager to notify watchers when tools are added. This goes along with https://github.com/Esri/dynamic-situational-awareness-qt/pull/283.

This is the v.next cherry pick PR for https://github.com/Esri/arcgis-runtime-toolkit-qt/pull/299


operator ccnfs-operator (7.24.34)

/pipeline restart operator-release-pipeline

/pipeline restart operator-release-pipeline


Windows Defender detect RunCat as Trojan

As my topic describe, the Windows Defender detects RunCat has a malicious code Trojan:Win32/Zpevdo.B

@SunatP
I released ver 1.6 and attached a compressed zip file. Could you try to install this? I hope fixed this issue...

Ok for V1.6 it's solved the problem


[Request] Project MMO Compatibility

Project MMO is a mod where you can level up different skills (agility, combat, farming, cooking, smithing, etc.) and you get better and better perks as you level.
So specifically, it would be great if crockpots gave cooking XP. Also, the perk of the cooking skill is that you get an increased chance of extra outputs as you level. So it would be great if crockpots also supported that.
There is an API listed about 3/4 of the way down this page although I'm not sure how helpful it could be to you.

I'd like this too, as I use both Crockpot and PMMO in my pack.

This would be awesome to have. As an addon to this it could be great if some dishes were tied to having a certain cooking level, so that you would need to "practice" cooking to get to the good meals


Re-pin TypeScript protoc generator.

The latest build was failing for me locally, I'm not sure how it passed CI.
Test plan
See the CI go green, and manually verify the job actually builds the TS part

I'm not sure how it passed CI.

Hmm, this is weird, I can take a look at this later, we should probably fix this sooner rather than later.

I pushed a commit that should have failed the typecheck job but it succeeded

Opened a followup issue https://github.com/sourcegraph/scip/issues/113


Toyota: Send ACC_HUD immediately on fcw

There's a noticeable delay between when fcw triggers on openpilot and when the car starts to display it. ACC_HUD should be sent immediately after fcw is triggered.
Only affects TSS-P cars with the DSU unplugged.

Do you know what the maximum rate is the car might send this message itself in a FCW event?

Do you know what the maximum rate is the car might send this message itself in a FCW event?

Car sends this immediately in an fcw event, it can be sent at 100hz without noticeable issues on my Prius.

Was testing sending LKAS_HUD at 100hz recently, it was fine. I actually have a harsh FCW from an old drive, let me see what the car did there

Oh haha I see a commit that moved create_fcw_command from the same if block as the ui command with send_ui, however, send_ui was not copied to that new if statement. So this was a regression. Thanks for the PR!


[GPII-4077]: Use bundler with Stackdriver, second try

First time I somehow didn't realize that we run gcp-unit-tests directly on worker machine and not in docker, this PR fixes it.
There are 5 spots in the code where exekube image is being used, and I noticed that we periodically forget to bump image version in one or another place (terraform-fmt-check was still using 0.8.0 until now).

LGTM 👍

There are 5 spots in the code where exekube image is being used, and I noticed that we periodically forget to bump image version in one or another place

Yeah, this is pretty unfortunate. Perhaps we should try to remove this duplication, or at least add some automated check for it.

Thanks for the reviews!
@stepanstipl I wrote a script to check for exekube versions and added it to CircleCI config (#487).


containerd installed with unsupported version when deploying on Hetzner Cloud

What happened?
Deploying a cluster (on Hetzner Cloud and Ubuntu 20.04) with kubernetes 1.23.7 results in containerd version 1.4.13 to be installed by kubeone instead of the available v1.6.6.
NAME                                       STATUS   ROLES                  AGE    VERSION   INTERNAL-IP   EXTERNAL-IP       OS-IMAGE             KERNEL-VERSION      CONTAINER-RUNTIME
pretty-k1-cluster-control-plane-1          Ready    control-plane,master   58m    v1.23.7   <IP_ADDRESS>      167.xxx.xxx.xxx   Ubuntu 20.04.4 LTS   5.4.0-122-generic   containerd://1.4.13
pretty-k1-cluster-control-plane-2          Ready    control-plane,master   58m    v1.23.7   <IP_ADDRESS>      168.xxx.xxx.xxx   Ubuntu 20.04.4 LTS   5.4.0-122-generic   containerd://1.4.13
pretty-k1-cluster-control-plane-3          Ready    control-plane,master   58m    v1.23.7   <IP_ADDRESS>      167.xxx.xxx.xxx   Ubuntu 20.04.4 LTS   5.4.0-122-generic   containerd://1.4.13
pretty-k1-cluster-pool1-56bf86bd86-cjzml   Ready    <none>                 56m    v1.23.7   <IP_ADDRESS>      167.xxx.xx.xxx    Ubuntu 20.04.4 LTS   5.4.0-122-generic   containerd://1.4.13
pretty-k1-cluster-pool1-56bf86bd86-nzmcx   Ready    <none>                 56m    v1.23.7   <IP_ADDRESS>      167.xxx.xx.xxx    Ubuntu 20.04.4 LTS   5.4.0-122-generic   containerd://1.4.13

There is a routine in the code to add the official docker repo, install the newest version of containerd and pin the release: https://github.com/kubermatic/kubeone/blob/06b17b7f7ab7baaef41ee60773ee0ebbed9750ca/pkg/scripts/render.go#L153 but this somehow is not succeeding, as the output clearly shows version 1.4 is being applied:
[168.xxx.xxx.xxx] Reading package lists...
[168.xxx.xxx.xxx] + sudo apt-mark unhold containerd.io
[168.xxx.xxx.xxx] containerd.io was already not hold.
[168.xxx.xxx.xxx] + sudo DEBIAN_FRONTEND=noninteractive apt-get install --option Dpkg::Options::=--force-confold --no-install-recommends -y 'containerd.io=1.4.*'
[168.xxx.xxx.xxx] Reading package lists...
[167.yyy.yyy.yyy] Reading package lists...
[167.yyy.yyy.yyy] + sudo apt-mark unhold containerd.io
[168.xxx.xxx.xxx] Building dependency tree...
[168.xxx.xxx.xxx] Reading state information...
[167.yyy.yyy.yyy] containerd.io was already not hold.
[167.yyy.yyy.yyy] + sudo DEBIAN_FRONTEND=noninteractive apt-get install --option Dpkg::Options::=--force-confold --no-install-recommends -y 'containerd.io=1.4.*'
[167.yyy.yyy.yyy] Reading package lists...
[168.xxx.xxx.xxx] The following NEW packages will be installed:
[168.xxx.xxx.xxx]   containerd.io
[168.xxx.xxx.xxx] 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
[168.xxx.xxx.xxx] Need to get 23.7 MB of archives.
[168.xxx.xxx.xxx] After this operation, 110 MB of additional disk space will be used.
[168.xxx.xxx.xxx] Get:1 https://download.docker.com/linux/ubuntu focal/stable amd64 containerd.io amd64 1.4.13-1 [23.7 MB]
[167.yyy.yyy.yyy] Building dependency tree...
[167.yyy.yyy.yyy] Reading state information...
[167.yyy.yyy.yyy] The following NEW packages will be installed:
[167.yyy.yyy.yyy]   containerd.io
[167.yyy.yyy.yyy] 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
[167.yyy.yyy.yyy] Need to get 23.7 MB of archives.
[167.yyy.yyy.yyy] After this operation, 110 MB of additional disk space will be used.
[167.yyy.yyy.yyy] Get:1 https://download.docker.com/linux/ubuntu focal/stable amd64 containerd.io amd64 1.4.13-1 [23.7 MB]
[168.xxx.xxx.xxx] Fetched 23.7 MB in 0s (54.9 MB/s)
[168.xxx.xxx.xxx] Selecting previously unselected package containerd.io.
[168.xxx.xxx.xxx] (Reading database ...

We can circumvent this for the worker nodes created by the machine controller with the terraform option
operatingSystemSpec = {
          distUpgradeOnBoot = true
}

however the control plane nodes still will be deployed with the old version.
v1.4.13 is EoL and not supported by current kubernetes versions any more.
Expected behavior
Either the latest containerd version should be installed or the version should be configurable in the kubeone.yml explicitely
for both, control plane and worker nodes.
How to reproduce the issue?
Deploy cluster at Hetzner Cloud with this kubeone.yml given below. kubeone apply -f kubeone.yml -t ../terraform/tf.json -v
What KubeOne version are you using?
# kubeone version
{
  "kubeone": {
    "major": "1",
    "minor": "4",
    "gitVersion": "1.4.5",
    "gitCommit": "a56d5566abef82bbc632b0356bcc9b72cfe752cf",
    "gitTreeState": "",
    "buildDate": "2022-07-12T09:29:32Z",
    "goVersion": "go1.18.1",
    "compiler": "gc",
    "platform": "linux/amd64"
  },
  "machine_controller": {
    "major": "1",
    "minor": "43",
    "gitVersion": "v1.43.3",
    "gitCommit": "",
    "gitTreeState": "",
    "buildDate": "",
    "goVersion": "",
    "compiler": "",
    "platform": "linux/amd64"
  }
}

Provide your KubeOneCluster manifest here (if applicable)
apiVersion: kubeone.k8c.io/v1beta2
kind: KubeOneCluster
versions:
  kubernetes: '1.23.7'
cloudProvider:
  hetzner: {}
  external: true
clusterNetwork:
  kubeProxy:
    skipInstallation: true
  cni:
    cilium:
      enableHubble: true
      kubeProxyReplacement: strict

What cloud provider are you running on?
Hetzner Cloud
What operating system are you running in your cluster?
Ubuntu 20.04 image from Hetzner

This is as expected. KubeOne 1.4 uses containerd 1.4. The upcoming KubeOne 1.5 will use containerd 1.5. KubeOne currently doesn't support containerd 1.6 because there are some breaking API changes (see #2076 for more details).
I'll check tomorrow internally if we can upgrade containerd to 1.5 for KubeOne 1.4. containerd 1.6 will be probably supported only in KubeOne 1.6 (planned for the end of 2022 or the start of 2023).

Got you! Seems i got confused by a the 3 months old bump in #2020 but just realized it is not incorporated in the quite new 1.4.5 as it seems to be based of 1.4 release branch.
Bumping to containerd 1.6 is not required necessarily, kubernetes 1.23.x just needs a supported containerd version (1.5.8+ seems to be good for now), so we are looking forward either for KubeOne 1.5 or containerd v1.5 with KubeOne 1.4.x in the meantime.

This is fixed with the KubeOne 1.4.6 release: https://github.com/kubermatic/kubeone/releases/tag/v1.4.6


Documentation updates

What kind of change does this PR introduce?
Documentation update.
Fixes #9
Fixes #18
#46
What is the current behavior?
A lot of stuff is not documentated.
What is the new behavior?

[x] Null-safety

Platform
Email Auth
Provider Auth
Database
Realtime
Storage

Android
✅
✅
✅
✅
✅

iOS
✅
✅
✅
✅
✅

macOS
✅

✅
✅
✅

Windows
✅

✅
✅
✅

Linux
✅

✅
✅
✅

@dshukertjr Do you think I should add any more thing to the README?

@bdlukaa Hmm, can't think of any at the moment, but will bring it up with you if I ever do have one!


Mocha might crash on unit testing failure randomly

This is hard to provide reproduce code, but we get mocha randomly crashed if there is unit testing failure.
We have +700 test cases. From time to time, mocha just died silently without any error message. By looking up the reported log, we know there is some unit testing failure. However, since mocha died before spit out the details of assertion statements, we don't know why the unit test case fail.
Is there any way to make mocha dump test case failure info into log file?
For the time being, we just change
https://github.com/mochajs/mocha/blob/master/lib/reporters/spec.js#L74 to be like
  runner.on('fail', function(test, err) {
    cursor.CR();
    console.log(indent() + color('fail', '  %d) %s'), ++n, test.title, err);
  });

So that there is failure reason even mocha crashed.

Sorry, I know this is a bit late. Is it possible something is killing the process, and mocha can't recover? E.g. something like a process.exit being hit.

I'm seeing the same behavior in my mocha tests.  I use mocha/wd/chai
I'm using grunt to start mocha with mocha.run  Also I run multple passes with .run as I need to run the tests with a different browser configuration for use with saucelabs.
When mocha dies there is no output to indicate why there is a failure.  We are running through a bash console so debugging is limited.

I am running the test with Mocha & Chai , and facing same issue
Random test are failing though i am using promise :
it(" ", function(done){
done();
});
Any suggestion around would be helpful
Note : Have seen the console.log(result of previous test) is displayed in next test

This is an old issue and not reproducible => closing.
To isolate bugs with current version of Mocha:

use --allow-uncaught option which aborts process upon uncaught exception.
we have known issues with failing reporters silently aborting process.
Use --no-diffs to exclude diff generating bugs, or choose another reporter eg MIN .


ValueError: 'shape' elements cannot be negative

Describe the bug
Hi, I'm running cvxvpy on a big data set here at work, and all of a sudden I get the following error message:
Traceback (most recent call last):
  File "C:/git/RAP.Muni.Optimizer.Api/DTC_Testing.py", line 821, in DTC_MultiRunner
    prob.solve(solver=cvx.CBC, maximumNodes=12000, maximumSeconds=220)
  File "C:\Users\aardem\AppData\Local\Continuum\anaconda3\lib\site-packages\cvxpy\problems\problem.py", line 362, in solve
    result = solve_func(self, *args, **kwargs)
  File "C:\Users\aardem\AppData\Local\Continuum\anaconda3\lib\site-packages\cvxpy\problems\problem.py", line 787, in _solve
    data, solving_chain, inverse_data = self.get_problem_data(solver, gp)
  File "C:\Users\aardem\AppData\Local\Continuum\anaconda3\lib\site-packages\cvxpy\problems\problem.py", line 512, in get_problem_data
    data, inverse_data = solving_chain.apply(self, verbose_aa = self.verbose_aa)
  File "C:\Users\aardem\AppData\Local\Continuum\anaconda3\lib\site-packages\cvxpy\reductions\chain.py", line 99, in apply
    problem, inv = r.apply(problem)
  File "C:\Users\aardem\AppData\Local\Continuum\anaconda3\lib\site-packages\cvxpy\reductions\dcp2cone\cone_matrix_stuffing.py", line 222, in apply
    params_to_problem_data = extractor.affine(expr_list)
  File "C:\Users\aardem\AppData\Local\Continuum\anaconda3\lib\site-packages\cvxpy\utilities\coeff_extractor.py", line 90, in affine
    num_rows)
  File "C:\Users\aardem\AppData\Local\Continuum\anaconda3\lib\site-packages\cvxpy\cvxcore\python\canonInterface.py", line 246, in get_problem_matrix
    (V, (I, J)), shape=(constr_length*(var_length+1), param_size_plus_one))
  File "C:\Users\aardem\AppData\Local\Continuum\anaconda3\lib\site-packages\scipy\sparse\compressed.py", line 106, in __init__
    other = self.__class__(coo_matrix(arg1, shape=shape))
  File "C:\Users\aardem\AppData\Local\Continuum\anaconda3\lib\site-packages\scipy\sparse\coo.py", line 185, in __init__
    self._shape = check_shape((M, N))
  File "C:\Users\aardem\AppData\Local\Continuum\anaconda3\lib\site-packages\scipy\sparse\sputils.py", line 321, in check_shape
    raise ValueError("'shape' elements cannot be negative")
ValueError: 'shape' elements cannot be negative

It's impossible for me to share the underlying data since it's confidential customer data.
How can we try to find the root case of the problem?
To Reproduce
I simply run
prob = cvx.Problem(objfun, constraints=conslist)
prob.solve(solver=cvx.CBC, maximumNodes=12000, maximumSeconds=220)

Expected behavior
All I need is a solution (feasible or unfeasible) but I get a bug / error message.
Output
If applicable, include program output. If reporting a program crash, please include the entire stack trace.
Version

OS: Windows 7
CVXPY Version: version = "1.1.0a1"

Additional context
Add any other context about the problem here.

Issue #826 had very similar output. Can you follow the instructions in https://github.com/cvxgrp/cvxpy/issues/826#issuecomment-536477724 and report back what you see for len(V), len(I), etc..?
Sent with GitHawk

sure, working on this right now

Sorry for my simple question, but I believe the code has changed quite a bit.
It doesn't seem I can len(problemData.V).
Shall I just check for the size of "V" right after I see V = np.concatenate(V) ?

I managed to print a few variables. This is what I see when I print the len of variables V,I,J,A at the very end of function   get_problem_matrix():

'len(V)'    -> 7174
'len(I)'    -> 7174
'len(J)'    -> 7174
'A.getnnz()'    -> 7174
A has dimension:  84 KB

thoughts? Thank you Riley

Hmm. It's surprising that the data is so small. What's max(I) and max(J)?

len(V)    -> 7174
len(I)    -> 7174
len(J)    -> 7174
max(I)   =  7533.0
max(J)   =  0.0

Those results indicate that the matrix in question is a column vector (max(I) + 1 == 7534 rows, max(J)  + 1 == 1 columns). I suspect that get_problem_matrix is being called more than once, and that the information you've posted so far is only for the first call. My guess is that the information here is for the objective function only, and that the data (V,I,J) for the constraint matrix is much larger.
Can you actually modify the code for get_problem_matrix to include a print statement for length V and max(I), max(J)? That way we can see all calls to the function, up until you encounter this error. The thing to modify would be
C:\Users\aardem\AppData\Local\Continuum\anaconda3\lib\site-packages\cvxpy\cvxcore\python\canonInterface.py

in between lines 244 and 245. While you're at it, it might be good to just print out constr_length*(var_length+1) and param_size_plus_one as well.

As you guesses, get_problem_matrix  is called multiple times indeed.
1st time:
len(V)    -> 7174
len(I)    -> 7174
len(J)    -> 7174
max(I)   =  7533.0
max(J)   =  0.0
constr_length*(var_length+1)  =  11717
param_size_plus_one  =  1
A.getnnz()    -> 7174
A has dimension:  84 KB
2nd time:
len(V)    -> 259798
len(I)    -> 259798
len(J)    -> 259798
max(I)   =<PHONE_NUMBER>.0
max(J)   =  0.0
constr_length*(var_length+1)  =  -2130626490
param_size_plus_one  =  1
3rd time:
len(V)    -> 7174
len(I)    -> 7174
len(J)    -> 7174
max(I)   =  7533.0
max(J)   =  0.0
constr_length*(var_length+1)  =  11717
param_size_plus_one  =  1
A.getnnz()    -> 7174
A has dimension:  84 KB
4th - last time:
len(V)    -> 259798
len(I)    -> 259798
len(J)    -> 259798
max(I)   =<PHONE_NUMBER>.0
max(J)   =  0.0
constr_length*(var_length+1)  =  -2130626490
param_size_plus_one  =  1
So I guess this actually means this is a real big data issue?

What I find strange is that if a slightly reduce the problem (I remove 10 constraints out of a total of ~ 900), an optimal solution is found in about 45 seconds, but with such an incremental step, we get this issue

Thanks for providing the values. It looks like the integer-overflow is actually occurring with the product constr_length*(var_length+1) = -2130626490. It's going to be hard for us to help more without having access to at least the overall structure of the problem.
If possible, could you provide us with scrubbed problem data? For example, the code used to generate the LP, but replace every single numeric constant with the value 1.0 (even if this creates an infeasible or unbounded LP).

happy to do my best to provide the data, but I would please need more guidance in what exact data you need. Apologizes for asking but I don't understand what you mean with
'For example, the code used to generate the LP, but replace every single numeric constant with the value 1.0 (even if this creates an infeasible or unbounded LP)."

I had similar problem few months ago, and I think this problem originates from numpy sparce matrices that cvxpy is using.  I don't remember the details, but somewhere we call reshape function with -1 parameter. Numpy then calls np.prod function that fails on windows machines if the integer product goes beyond 2^32.  This problem happens only in Windows OS and doesn't effect Linux systems.  I suggest that to fix this the matrix reshape dimension should be calculated beforehand, and by not using -1 parameter. If someone want's to replicate this error good way is to use inpainting example in cvxpy.org. Use image size ~512 to replicate because smaller images might not fail.

Thanks very much for your comment @otukka! We'll give that fix a shot, as part of the larger effort to release v1.1.

@andrea83ny sorry for not replying sooner. My earlier remark was really just to ask if there was any way for you to share the code used to generate your problem.
You mentioned that the problem contains confidential data, but perhaps you can simply remove that data? Presumably the confidential data is simply numeric in nature (for example, a numeric value for some kind of budget, which appears in a constraint). If that is the case, then it would still be helpful for us to see the code even if you modified it to generate nonsense optimization problems (i.e. you could make a hypothetical "budget" value equal to -1). The only thing we'd really need is that the problem we see has the same sparsity pattern as the problem you're trying to solve. For example, if you had a constraint A @ x == b where A is a SciPy sparse matrix, then it would not really help to provide us with code that replaced A by a dense numpy array.

Already solved it.
See  https://github.com/cvxgrp/cvxpy/issues/826#issuecomment-648618636

Per @YongchangHu's comment, @BlankCanvasStudio's corroboration of that comment, and PR #1074, I belive this issue is fixed on CVXPY's master branch. Anyone who is still experiencing problems please let us know.


Opening a story from the feed should not trigger a new loading

On staging.busy.org, if i look a feed and open a story, there is a loading to load the story while on busy.org the story open instantly without loading.

Duplicate of #1222. Fixed in #1229.


B: Handle API Revert Result

API Revert Result. part of #65  #99
{
"error": {
"code": "globalblocking-ipblocked-range",
"info": "'''Your IP address is in a range which has been blocked on all wikis.''' The block was made by [//meta.wikimedia.org/wiki/User:Jon_Kolbert Jon Kolbert] (meta.wikimedia.org). The reason given is ''[[NOP|Open Proxy]]: Webhost: Contact [[m:Special:Contact/stewards|stewards]] if you are affected ''. * Start of block: 2019-07-23T12:01:56 * Expiration of block: 2021-01-23T11:01:55 You can contact [//meta.wikimedia.org/wiki/User:Jon_Kolbert Jon Kolbert] to discuss the block. You cannot use the "Email this user" feature unless a valid email address is specified in your [[Special:Preferences|account preferences]] and you have not been blocked from using it. Your current IP address is <IP_ADDRESS>, and the blocked range is <IP_ADDRESS>/16. Please include all above details in any queries you make.",
"*": "See https://en.wikipedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes."
},
"servedby": "mw1347"
}

Currently under discussion on https://meta.wikimedia.org/wiki/User_talk:Jon_Kolbert#Heroku_IP_Range_Blocked

Waiting for Cloud VPS


Changed screenshots as they the options have changed

Changed screenshots as they the options have changed

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/8886

@JohanFreelancer9 Please copy review

@JohanFreelancer9

@robmazz Please merge this PR. Thanks

@yogkumgit and @msbemba  - closing, this topic needs other changes associated with the screenshot updates and the screenshots need to conform to MS style for screenshot sizing and styling. Will keep issue open and update, thanks.


Is there a way to purge a queue?

I have looked and I saw that i can delete the subscription and create a new one with the same name and configuration.
I see that stackdriver shows getSize of unacked messages for 5 minutes and than it drops to 0.
In the api it says it should be 120 seconds max.
  try {
            const subscriptionMetadataArr = await pubSub.subscription(queue).get();
            const subscription = subscriptionMetadataArr[1]; // configuration
            // remove the subscription and create another one with the same name
            await pubSub.subscription(queue).delete();
            const topic = pubSub.topic(subscription.topic);
            // Create the same subscription with the same name and configuration
            await topic.subscription(subscription.name).create({...subscription});
        } catch (err) {
            throw err;
        }

@slavoroi Which GCP Pub/Sub metric are you referring to from this table?


Shortcut for cases when a servlet/filter is added programmatically

Windows Build 1114 is now running using a merge of 8044ff92582a7c61435463df85585a09acce32f3

Windows Build 1114 outcome was SUCCESS using a merge of 8044ff92582a7c61435463df85585a09acce32f3
Summary: Tests passed: 2492, ignored: 369 Build time: 0:14:23

Windows Build 1119 is now running using a merge of 8044ff92582a7c61435463df85585a09acce32f3

Windows Build 1119 outcome was FAILURE using a merge of 8044ff92582a7c61435463df85585a09acce32f3
Summary: Tests failed: 2 (2 new), passed: 2490, ignored: 369 Build time: 0:13:07
Build problems:
Failed tests detected
Failed tests
io.undertow.server.security.SpnegoDigestAuthenticationTestCase.testDigestSuccess: <no details avaliable>

io.undertow.server.security.SpnegoDigestAuthenticationTestCase.testDigestSuccess{proxy}{https}: <no details avaliable>


Support for CZMQ 3.x?

I'm curious what the status of CZMQ 3.x support is in rbczmq. I'm interested in working with some of the classes introduced in 3.x (specifically zactor and zgossip). If support is non-trivial to add (I haven't done much with FFI, so I'd rather not assume anything about complexity), is there anywhere that I could focus my time to assist?
On a related tangent, it looks like ffi-rzmq has gone into maintenance-only mode (within the last week or so) in favour of this project. It looks like rbczmq is the left as the main library for developing (C)ZMQ-based applications in Ruby. Exciting! ^_^

thanks for flagging @colstrom . I added Ruby 2.2 support back in December an shipped a new release after not having had much time to work on the binding during 2014. It's glue between libzmq, czmq and Ruby via the MRI C extension APIs, so there's no FFI here.
As a first step, mind if I take a look at the API diffs between 2.x and 3.x first, then propose some extensions here, with a preference for ones that don't require modification (just additions) to the existing binding. That way we can release small changes for testing and feedback and maintain backwards compat as much as possible for existing users.
Alongside that, documentation needs some love too. And the security features (curve etc.), but I think it's a smaller error surface to handle them after API differences, OR consider security API additions as part of the czmq 2.x to 3.x upgrade.
Thoughts?

Sounds like a sane plan. A 10km view of the changes looks something like this:
It looks like zauth, zbeacon, zmonitor, zproxy, and zthread were merged into zactor. Since those usually got bundled anyways, that's a cleaner expression of intent for a lot of cases. They haven't been removed, though they are deprecated. That should make the transition somewhat easier.
zctx and zsocket were deprecated in favour of the new context-less zsock, which is a nice improvement from a Ruby perspective (contexts always felt like C-isms seeping into Ruby). Along with this is deprecation of zsockopt in favour of zsock_option meant to play nice with zsock.
zmutex is deprecated now, I assume since it was primarily useful with the also-deprecated zthread.
There are a few new items, zgossip intends to address service-discovery problems, and looks useful in propagating configuration state changes as well.
The release notes mention a zrex class for regular expressions? I have no idea what the intended use case is for that.
I can look at cooking up some example docs, and I'll take a skim over the existing documentation to see where it needs the most love. Is there a preference for more implementation-focused (RDoc/YARD-style) or more example-driven with documentation of why user X might care about the functionality they're reading about? I guess I'm trying to identify the audience of the missing docs.
As for the security API additions, they don't seem tightly coupled with 3.x (they seem to be carried forward from 2.x). Important, but might be easier to implement without the API shifting underneath them.

Sounds good. Thanks for the detailed layout :-)

@colstrom I don't know the status of this, but if you're still looking for support, you might wanna take a look at CZTop. It supports zactor, zbeacon, zauth, zmonitor, zproxy through nice Ruby classes, and also CURVE.

@paddor I'll give that a spin, thanks!


Offcanvas Hardcoded focusout event

I would like to use the offcanvas sort of like a modal,   but every time a click on something external to the offcanvas it loses focus and so it gets hidden.
It could be useful if the offcanvas could be used this way and not just like a mobile menu.
Suggested change (i don't know if is a best practice but you'll get the gist)
adding a function sort of like this
removeLoseFocusListener(){
   EventHandler.off(this._element, EVENT_CLICK_DISMISS, this.hide)
}

Looking at the source code   _addEventListeners  on line 209
https://github.com/twbs/bootstrap/blob/main/js/src/offcanvas.js#L209
I can see that EVENT_CLICK_DISMISS is hardcoded,  and there is no way to remove this listener if unwanted via settings.
_addEventListeners() {
    EventHandler.on(this._element, EVENT_CLICK_DISMISS, SELECTOR_DATA_DISMISS, () => this.hide())

    EventHandler.on(this._element, EVENT_KEYDOWN_DISMISS, event => {
      if (this._config.keyboard && event.key === ESCAPE_KEY) {
        this.hide()
      }
    })
  }

@devsorice  please can you provide a 'working' example of your problem with replication steps?
PS: The EVENT_CLICK_DISMISS  applies only if you click on  SELECTOR_DATA_DISMISS

Like a said it's not like a bug or something.
I managed to get it working for my needs by commenting //this.hide();
but it would be nice if it would be an option for it
this is from the dist version (from the npm package)
https://github.com/twbs/bootstrap/blob/main/js/dist/offcanvas.js
  EventHandler__default['default'].on(document, EVENT_CLICK_DATA_API, event => {
        const target = SelectorEngine__default['default'].findOne(getSelectorFromElement(event.target));

        if (!this._element.contains(event.target) && target !== this._element) {
          //this.hide();
        }
      });


Unattended mode doesn't work when IP-specific HTTP bindings are present

If an ip is assigned to multiple sites it asks if you want to assign it with a confirmation for each header, this is if you do it manually, but there seems to be no option to automate this if done via scripts, or is there a command line to automate this process.

I'm not sure if that whole big warning screen is still needed, given the changes to the way bindings are created/updated, but I haven't gotten around to testing if that's true.

Basically they implemented it on solidcp but the bindings need to be set to * to work, else the script is run via powershell and it seems it freezes at that point where it asks for the confirmation, and then times out, so it prevents us from using static ips assigned to the websites. Is there a way to override the confirmations somehow
From: WouterTinus<EMAIL_ADDRESS>Sent: Saturday, October 7, 2017 11:54 AM
To: Lone-Coder/letsencrypt-win-simple<EMAIL_ADDRESS>Cc: kdovale<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [Lone-Coder/letsencrypt-win-simple] ip binding issue (#591)
I'm not sure if that whole big warning screen is still needed, given the changes to the way bindings are created/updated, but I haven't gotten around to testing if that's true.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Lone-Coder/letsencrypt-win-simple/issues/591#issuecomment-334923825 , or mute the thread https://github.com/notifications/unsubscribe-auth/AG9DThATjRZc-cOteGzz6qXPTiqdZRS_ks5sp0pSgaJpZM4PwpT5 .  https://github.com/notifications/beacon/AG9DTt0tD9d33jiaKQwyi8a5grGbN6QKks5sp0pSgaJpZM4PwpT5.gif

This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Yes. it's possible to detect running in unattended mode and not ask the question, but what should be the behaviour then?
Defaulting to the 'safe' choice wouldn't help in your case, and all the bad stuff that this warning is about doesn't make me feel confident to default to unsafe choice. That's why I'd like to do some testing first.

Hi,
Understandable. If I manually run it and accept it applys the certs correctly, but I hear your concern. Obviously we are using SNI on 2016  but there might be ppl using 2008r2 or similar then there is an issue.
I was under the impression that SNI wouldn’t be an issue, so maybe check for SNI and allow it only then once the parameter was applied.
From: WouterTinus<EMAIL_ADDRESS>Sent: Saturday, October 7, 2017 2:50 PM
To: Lone-Coder/letsencrypt-win-simple<EMAIL_ADDRESS>Cc: kdovale<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [Lone-Coder/letsencrypt-win-simple] Unattended mode doesn't work when IP-specific HTTP bindings are present (#591)
Yes. it's possible to detect running in unattended mode and not ask the question, but what should be the behaviour then?
Defaulting to the 'safe' choice wouldn't help in your case, and all the bad stuff that this warning is about doesn't make me feel confident to default to unsafe choice. That's why I'd like to do some testing first.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Lone-Coder/letsencrypt-win-simple/issues/591#issuecomment-334932974 , or mute the thread https://github.com/notifications/unsubscribe-auth/AG9DTp69PG1LIb8KcpFrVx-XpuWtcC_Vks5sp3N_gaJpZM4PwpT5 .  https://github.com/notifications/beacon/AG9DTg0dQMz_as4HNYSiUvt2C8PuUwj9ks5sp3N_gaJpZM4PwpT5.gif

This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


Resin deploy can show progress bar at 100% for quite a while

This makes for a confusing UI, as the progress bar works it's way to 100%, then hangs for a while.
 Front conversations

@pimterry Do you think if we got the builder to reply before buffering the image it would be better? Or do you want to handle this solely on the CLI side?

I haven't looked into it at all yet, and there's a good few CLI bugs higher in the queue, so I'm not really up to speed here. It sounds like you're saying that the builder could return success before it's actually succeeded though, which I'd rather avoid (what happens if buffering and uploading to the registry fails?).
Any other builder improvements that would give us more progress feedback to work with though would certainly be useful.

The builder wouldn't report success at first, it's not able to at that point (for the reasons you state). It could report something though, along the lines of "buffering image" etc, just to show that something is actually going on. We could maybe even get progress of the buffering sent back to the CLI actually, as long as the content-length header is sent.

Ah, nice, yes, getting progress info back would be fantastic, and we should indeed be able to provide content-length to make that happen.


added new quote

Added a new Quote in data.json .

please add your fav quote, not your own quote.


Support Security specs

In a swagger file, you can specify:
securityDefinitions:
  jwtAuth:
    type: apiKey
    name: Authorization
    in: header
security:
  - jwtAuth: []

and the Sagger edito and other things will help you authenticate. It also specifies to the user which authentication mechanism you want to use.
Also, it seems possible to list the security per action or resources..
It seems that would be a great addition to the DSL, having some sort of SecurityDefinition(func() {} and Security("method") somewhere, wouldn't it ?
Refs: http://swagger.io/specification/#securityDefinitionsObject

Agreed! it is on the roadmap. It's not just about generating the right Swagger output though, adding the ability to describe the auth model to the goa design also means updating the other generators (controllers, clients etc.) to take advantage of it.

yeah.. could be done in two steps though.. right now I'm hooking the auth middlewares myself.. and I like the fact that things are not forced on me.. especially regarding authentication.. but being able to keep the swagger file in sync with what I'm doing.. that's what I really need.
Once I've implemented auth, it'd be super annoying to be required to annotate the swagger.json after-the-fact..

I was thinking.. maybe we could declare some Security("method") and produce a main.go that would service.RegisterSecurity("method", middleware) .. and there you could plug in the method you want, it wouldn't impose the mechanism, just that it supports goa.Middleware ... and then it could make sure all the endpoints where the DSL was applied, indeed go through that "method" middleware.
That would work I think..


Allow passing a promise for the value to expect

We should support passing a promise as an argument like so:
expect(page.$('input')).toBeChecked()

Just thinking loud, the user needs to await the expect then and internally we await the first argument to get the ElementHandle from a Promise.


Psych::DisallowedClass: Tried to load unspecified class: Time with Psych v4

On psych 4.0, the following error is raised:
Psych::DisallowedClass: Tried to load unspecified class: Time
After accessing a serialized schedule on an AR model, such as:
serialize :schedule, IceCube::Schedule
Works fine with Psych 3.3.2

Hey @jeffblake, this sounds very much like an issue with Psych 4.0 rather than IceCube.
I'm not sure what you're expecting us to do with this? If you have a failing test for this gem, or a change you want to suggest, then please submit a PR.

Hi @pacso Here's an example fix: https://github.com/sparklemotion/mechanize/pull/589/files
https://github.com/ruby/psych/issues/503

Hi again @jeffblake
I've created a new PR for the latest Ruby, and have replicated the issue you've mentioned. Thanks for pointing it out ... will get a fix sorted before the next release.

@jeffblake - could you possibly test with the branch from PR #521 please?

@pacso My tests pass! Thanks.

Great, thanks for checking! I'll merge it now :)

Can we get a rubygems release for this? ❤

+1 for a release

Bump for release please.

Hey everyone.
We have a problem in terms of cutting a release at the moment. One of the previous commits fixed a bug, but introduced another. By rolling it back we remove the new bug, but reintroduce the old one. Neither is a viable option really.
I've been struggling for time recently, but should be able to dedicate myself to fixing this soon. Once done we'll cut a new release and get both bugs sorted properly.
Sorry for the delay!

It would be great if there was a release available for this; is there anything I can do to help? 🤞


[Headless] Do not register headless font manager and shaper

What does the pull request do?

This PR removes headless font manager and text shaper registration from the AvaloniaHeadlessPlatform initialization if UseHeadlessDrawing is set to false. Without this change we were getting a mismatch of registered services.
What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues

Fixes: #10332

You can test this PR using the following package version. 11.0.999-cibuild0030063-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]


Failed connect to github.com:443 when behind Proxy

npm ERR! git clone https://github.com/Glavin001/Coffee-Formatter.git fatal: unable to access 'https://github.com/Glavin001/Coffee-Formatter.git/': Failed connect to github.com:443; No error
all the time i get this error. i CAN install other packages, but not atom-beautify cause of this shit formatter package

"Connect to api.github.com:443 [api.github.com/<IP_ADDRESS>] failed: connect timed out"
Every time I want to share my work via Phycham in GitHub I got the above error. I used to do that before but after deleting my repository and trying to recreate via 'Share project on github', it keeps on giving that error.

wut?? whats the connection with this repo?

not fix yet

Facing Same Issue.

same issue.

same issue. I'm behind a proxy.

git clone https://github.com/mininet/mininet.git
Cloning into 'mininet'...
fatal: unable to access 'https://github.com/mininet/mininet.git/': Failed to connect to github.com port 443: Connection timed out

@wuming79 Try setting strict-ssl to false:  https://github.com/atom/apm#behind-a-firewall

(C:\Users\Administrator\Anaconda3) C:\Users\Administrator\Desktop\Mask_RCNN-mast
er>git clone https://github.com/matterport/Mask_RCNN.git
Cloning into 'Mask_RCNN'...
fatal: unable to access 'https://github.com/matterport/Mask_RCNN.git/': Failed t
o connect to github.com port 443: Connection refused

You need to configure Git to use your proxy settings by running this command in your terminal or command line.
git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080
Where proxyuser and proxypwd are your credentials, and proxy.server.com:8080 is the server name and port you connect to.

You need to configure Git to use your proxy settings by running this command in your terminal or command line.
git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080
Where proxyuser and proxypwd are your credentials, and proxy.server.com:8080 is the server name and port you connect to.

This solved my issue

just disable antivirus & firewall or
convert https to http

git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080
Didn't work for me on ubuntu 18.02
git config --global --unset http.proxy
Worked well

me also
git config --global --unset http.proxy
worked well

Had a similar issue, did an nslookup on github.com and that sorted me out.
nslookup github.com

fatal: unable to access 'https://github.com/myrepository/': Failed to connect to github.com port 443: Timed out
Could some one please help me out
Thanks in advance

same issue, but look like we can use SSH link instead of https to clone

You need to configure Git to use your proxy settings by running this command in your terminal or command line.
git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080
Where proxyuser and proxypwd are your credentials, and proxy.server.com:8080 is the server name and port you connect to.

This worked for me

This worked for me also
git config --global --unset http.proxy

This worked for me also
git config --global --unset http.proxy

@amitleuva1987 where to use this command? command prompt ?
btw i am on windows 10

yes, hit this command on command prompt.
Btw, when I faced the issue, it was a temporary block from ISP. My ISP blocked certain websites, that was the reason that I was not able to use git commands. After few hours, it was resolved.
I don't really need to use that command.  I would suggest you to check the same. If its' an ISP issue, you would also face issues surfing github.com over the browser.

Could you please tell me how  you solve the block from ISP?
I have met the same issue.


Binding Windows's Left and Top property doesn't work.

Hi.
I binded a Window's Left and Top properties to a ViewModel, and set         WindowStartupLocation="Manual".
However it's doesn't work.
I debugged into this line , and notice that because I binded the Left and Top, their values are always Double.NaN, so WindowManager always set its startup location to center.

Replicated, thanks!

Note to self: check for bindings on the Top and Left properties using BindingOperations.GetBinding.

Fixed in 1.1.21.


exec format error

This repo is affected by the exec /bin/drone-git-push: exec format error message for those using :latest on x86_64 because latest is tagged for arm64 only.
See here and here for issues on drone-ssh and drone-scp respectively.

For now you can either use appleboy/drone-git-push:0.2.2 to pin the last release with an amd64 image, or use appleboy/drone-git-push:linux-amd64 for the latest available amd64 image.

Thanks for the solution. I have added :linux-amd64 tag and it is working again.

@garymoon Fixed. Please try the latest tag.

I can confirm this is fixed, thanks @appleboy!


"Music Library" menu item text undefined after last update

OS:  Windows 10, English language
GPMDP Version: 3.4.3
Issue Descriptions:
The "Music Library" menu item text undefined after last update.
https://imgur.com/a/W3xS6

This is actually an issue with the actual google play music website, not the app itself. Go to https://play.google.com/music/listen?u=0#/now and open the menu and you'll see it's the same there.

You're right.


add counting animation at about us fix issue #265

Related Issue
fix issue #265
Description
Now Added a counting animation to the 'About Us' page to display values when scrolling.
Type of PR

[ ] Bug fix
[X] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes]
video:-
https://github.com/user-attachments/assets/46108caa-76d4-4143-a079-6b3ddb9f7e7f
Checklist:

[X] I have performed a self-review of my code
[X] I have read and followed the Contribution Guidelines.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[X] I have commented my code, particularly in hard-to-understand areas.

Additional context:
[Include any additional information or context that might be helpful for reviewers.]
I am a Gssoc Contributor.

@Agarwalvidu Please check and merge it!


refactor(turboServer): use of PORT env variable

I'm concerned that using an env variable so generic as PORT could lead to a hard to track down error if someone uses another action that also uses PORT.
https://github.com/felixmosh/turborepo-gh-artifacts/blob/985e228d924df5bc0cbba735de374e0e5f8e2138/src/turboServer.ts#L11

What is you suggestion? To use something kike TURBO_PORT?
it will be considered as breaking change

Name spacing under TURBO_ seems like it might be a bad idea. Also, this is just an idea of a concern. I didn't run into an issue with it. I just noticed it while reading the code base and had a thought I wanted to share.
CACHE_SERVER_PORT? Kinda long, but very specific.

I think that we should tackle the issue before solving it.
Let's see if someone have an issue with it

If I'm not mistaken, every action step on a workflow runs on isolated process, so environment variables are not shared as documented here:

The steps of a job share the same environment on the runner machine, but run in their own individual processes. To pass data between steps in a job, you can use inputs and outputs

My understanding is that unless you pass the env map for each action explicitly, they won't share any environment variables implicitly.

@brunojppb you are right, when env vars are used, you should specify the value of it each step that uses them.


fix(build): inline sources so map files work without the /src directory

this is going to drastically increase the size of the package we out put... so I'm holding off on it for now. Ideally we find a better solution.

Closing as this will bloat the distributed package, creating copies of the sources in each of the module formats we support.

Coverage remained the same at ?% when pulling 290e85e567546acfb95663f64ba2c8786f9f0a73 on jasonaden:fix_map_sources into ba2f58686128c910a3391b0ace697b34d8542b78 on ReactiveX:master.


AS5048A-Arduino

Added calculation of the average median of 16 measurements (algorithm).
Modernized Read and Write functions.
Added features:

RotationRawToAngle
AbsoluteAngleRotation
GetAngularMinutes
GetAngularSeconds
LinearDisplacementRack
LinearMotionHelicalGear
quickSort
DummyOperNoInf
ProgAbsolAngleZeroPosit
printErrors

Thanks for all the hard work @Dmitry-Chernikov! I've thought on this a lot and I think unfortunately I cannot accept this PR because this project is in english rather than russian and I do not want to end up with bi-lingual comments.
I suggest you keep your fork as a russian language version, or please feel free to re-open with english comments and I'll review.
Thanks again!

Hello, well, I will translate the comments and descriptions of the library into English, the work on the library has not yet been completed, changes will be made.

Hello, well, I will translate the comments and descriptions of the library into English, the work on the library has not yet been completed, changes will be made.

benhowes welcome comments corrected.


no an issue - text size

really love the base.. thx for sharing.. learned a loot again.. but can you tell me where to change the font and textsize of menu etc..

https://github.com/designer1337/csgo-cheat-base/blob/5b72b65733edc0834831e200cfacfbcbc695a617/dependencies/utilities/renderer/renderer.cpp#L6

interfaces::surface->set_font_glyph(render::fonts::watermark_font, "Tahoma", 12, 500, 0, 0, font_flags::fontflag_dropshadow);

yea i just found it :D before u wrote it haha.. but thx!


Does not support 3D LUT.

texture0\Assets\fox\effect\gr_pic\reflection_planes_nomip_rgba32.ftex unpacks to a DDS instead of a volume texture.

Are you sure it isn't a DDS with volume flags?

Not sure. According to the Fox shader source code the BRDF uses 3 LUTs, one
labeled a Texture3D and we believe with decent certainly that LUT, aka
g_lut2 is that reflection_plane texture. What is the difference between a
3d texture and a texture with volume flags?
On Sun, Aug 20, 2017, 6:36 PM Atvaark<EMAIL_ADDRESS>wrote:

Are you sure it isn't a DDS with volume flags?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Atvaark/FtexTool/issues/9#issuecomment-323616481, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AM3QQ9gzIhUQQmvsS_KtNx0L_YsBErmeks5saLTXgaJpZM4O8sq5
.

Oh, I see what you mean. Sorry, it should be a dds but it doesn't seem to have all of the slices, just one. That's what I mean.

Would you mind uploading the files somewhere?
Maybe the ftex file doesn't have depth values set or isn't of type 0.

Sure. Here is the code. Not sure if you know HLSL or not, but this shows it
should be this one and it should be a 3D texture.
half lookupSpecularPower( float HN, half roughness, half anisoRoughness )
{ float3 uv ; uv.x = saturate( HN ); uv.y = roughness ; uv.z =
anisoRoughness ; uv.xyz http://uv.xyz = uv.xyz http://uv.xyz * uv.xyz
http://uv.xyz ; float4 correctParam = float4( 63.0/64.0, 15.0/16.0,
0.5/64.0, 0.5/16.0 ); uv.xyz http://uv.xyz = uv.xyz http://uv.xyz *
correctParam.xyy + correctParam.zww ; half2 value = TFetch3DH( g_lut2,
SamplerLinearClamp, uv.xyz http://uv.xyz ).xy ; value.xy = value.xy *
value.xy ; return value.x / value.y ; }
On Mon, Aug 21, 2017, 2:39 AM Atvaark<EMAIL_ADDRESS>wrote:

Would you mind uploading the files somewhere?
Maybe the ftex file doesn't have depth values set or isn't of type 0
https://github.com/Atvaark/FtexTool/blob/83e7c25f9f9f7d485d2ffbae0953aac473aa5919/FtexTool/FtexDdsConverter.cs#L30
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Atvaark/FtexTool/issues/9#issuecomment-323658860, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AM3QQ4reFi3kALUP5XWq6qmzPMqZDerLks5saSYfgaJpZM4O8sq5
.

I was talking about the ftex/ftexs files that are apparently missing dimensions when converted to DDS.

Yes. They were attached.
On Mon, Aug 21, 2017, 2:01 PM Atvaark<EMAIL_ADDRESS>wrote:

I was talking about the ftex/ftexs files that are apparently missing
dimensions when converted to DDS.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Atvaark/FtexTool/issues/9#issuecomment-323811350, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AM3QQ_48WpeMveQ69RpwKbHXEWYFQXL6ks5sacXmgaJpZM4O8sq5
.

Github drops email attachments. You have to either host them somewhere externally or attach them when replying directly on Github.

Sorry this has taken so long. Here is the .ftex and here is the .ftexs

Didn't mean to close it.

The ftex files is actually just 128x128x1. But the converted DDS file should have the volume flag set and the A8R8G8B8 pixel format.

So it's a volume texture with 1 slice? Odd.
On Mon, Aug 21, 2017, 2:58 PM Atvaark<EMAIL_ADDRESS>wrote:

The ftex files is actually just 128x128x1. But the converted DDS file
should have the volume flag set and the A8R8G8B8 pixel format.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/Atvaark/FtexTool/issues/9#issuecomment-323823765, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AM3QQ3dlVf9l4VpTTAxZa6HOoGttUJLyks5sadNtgaJpZM4O8sq5
.

Hello everybody!
I'm new here.
I just registered here because I seem to have a similar problem.
Let me try to explain this as briefly as I can.
Here's the default original file, from the game (PES 2018) : http://www19.zippyshare.com/v/YO2wksv1/file.html
I converted it to DDS, edited in Photoshop, but I don't know which options to select when I want to export it back to DDS in order to then convert it to FTEX.
In the previous year version, I could save the LUT as DDS with the following format:
<IP_ADDRESS>f ABGR 128 bpp | floating point
Volume Texture
Generate Mipmaps
And the game would simply read that DDS by itself. But this year they changed the file formats to FTEXs so I need to convert the DDS to FTEX in order for the game to read the LUT file.
I hope you can help me out!
THANKS A LOT!

Please see the other issues for PES related problems.