multi-schema + introspection: rename models and enums to avoid name collisions

Problem
When multiple enums/tables share a name, but are in different database schemas, we do not apply any renaming logic in introspection, leading to name collisions. The reasoning is that users will fix them after introspection, and re-introspection will keep the new names.
The problem with that reasoning is that disambiguating can get complicated, since we produce models/enums with exactly the same name in the Prisma schema, meaning that users need knowledge of the database schema that isn't expressed in the introspected schema in order to make the introspected schema correct.
Example
The following postgres catalog:
CREATE SCHEMA "first";
CREATE TYPE "first"."HappyMood" AS ENUM ('happy');
CREATE TABLE "first"."HappyPerson" (mood "first"."HappyMood" PRIMARY KEY);
CREATE SCHEMA "second";
CREATE TYPE "second"."HappyMood" AS ENUM ('veryHappy');
CREATE TABLE "second"."VeryHappyPerson" (mood "second"."HappyMood" PRIMARY KEY);
CREATE TABLE "second"."HappyPerson" (mood "first"."HappyMood" PRIMARY KEY);

introspects to the following schema:
        generator client {
          provider        = "prisma-client-js"
          previewFeatures = ["multiSchema"]
        }
        datasource db {
          provider = "postgresql"
          url      = "env(TEST_DATABASE_URL)"
          schemas  = ["first", "second"]
        }
        model HappyPerson {
          mood HappyMood @id
          @@schema("first")
        }
        model HappyPerson {
          mood HappyMood @id
          @@schema("second")
        }
        model VeryHappyPerson {
          mood HappyMood @id
          @@schema("second")
        }
        enum HappyMood {
          happy
          @@schema("first")
        }
        enum HappyMood {
          veryHappy
          @@schema("second")
        }

Would it be possible to detect name collisions and generate @@map attributes for those?

+1


Python HTTP V2 client library

Note: Though a test template is included, this PR doesn't activate testing. There are some bugs on the server side which should be fixed before enabling the testing.
The code changes can be used to reproduce the  failing cases.

You haven't set the HTTP_V2 build flag  for the python httpclient in the Dockerfile.client

@tanmayv25 the health bug was fixed in http-v2-fix and the inference segfault was fixed in http-v2-binary
I have tested your changes with these branches. Please re-run the CI as I have just added the HTTP_V2 build flag for the client build.

I will be enabling the L0_http_v2 tests in a separate PR.


apply_dimension: Clarification of behaviour

Process ID: apply_dimension
Describe the issue:
Documentation states:

The target dimension is the source dimension if not specified otherwise in the target_dimension parameter. The pixel values in the target dimension get replaced by the computed pixel values. The name, type and reference system are preserved.

There are three cases how the dimensions can change:
...
2. The source dimension is not the target dimension and the latter exists:
The number of dimensions decreases by one as the source dimension is dropped.
The target dimension properties name and type remain unchanged. All other dimension properties change as defined in the list below.

We don't understand how this is supposed to work.
For example what would the result be in the following case:
data = DataCube([[1,2],[3,4]], dimensions=("temporal", "band"))
apply_dimension(data=data, process, dimension="band", target_dimension="temporal") -> ?

good point, you can not just "drop" a dimension without describing how the values along that dimension are "reduced"

Yes, I think this was meant to say something like that:

The source dimension is not the target dimension. The target dimension exists with a single label only:
The number of dimensions decreases by one as the source dimension is "dropped" and the target dimension is filled with the processed data that originates from the source dimension.

So this is more a: move the data from source to target after processing it, but target must basically be empty / have a single label only.

Just wondering: what is the use case that makes this "target_dimension" feature in apply_dimension necessary? It can be implemented with drop_dimension + rename_dimension anyway, right?

I think the initial use-case was to "convert" data, e.g. you go in with a e.g. temporal dimension and your result is non-termporal data. So you'd need to specify another dimension that could hold the data. I think that is still valid.
As far as I know, apply_dimension was spec'ed before drop and rename were defined so the alternative was not present.


Something wrong in S3DIS.py

                 ` tmp = object_name[:-4].split('_')[0]
                    if tmp in self.name_to_label:
                        object_class = self.name_to_label[tmp]
                    elif tmp in ['stairs']:
                        object_class = self.name_to_label['Tree']
                    else:
                        raise ValueError('Unknown object name: ' + str(tmp))

                    # Read object points and colors
                    with open(object_file, 'r') as f:
                        object_data = np.array([[float(x) for x in line.split()] for line in f])

                    # Stack all data
                    cloud_points = np.vstack((cloud_points, object_data[:, 0:3].astype(np.float32)))
                    cloud_colors = np.vstack((cloud_colors, object_data[:, 3:6].astype(np.uint8)))
                    object_classes = np.full((object_data.shape[0], 1), object_class, dtype=np.int32)
                    cloud_classes = np.vstack((cloud_classes, object_classes))`

I use my own data which has the same format with s3dis data.When I debug, it shows:
tmp = {str}'Fence'
name_to_label = {dict:9}{0: 'Powerline', 1: 'LowVegetation', 2: 'Surface', 3: 'car', 4: 'Fence', 5: 'Roof', 6: 'Facade', 7: 'Shrub', 8: 'Tree'}
The keys of name_to_label are numbers, not str. So it arises a mistake.And the format of the value of name_to_label is str, so the format of 'object_class' is str,  object_classes = np.full((object_data.shape[0], 1), object_class, dtype=np.int32) is wrong! It can't be int32!


Bookmark Feature

I need a feature to show labels or bookmarks on the wave. like the Samsung audio recorder application, like a vertical line

@Miladn96 Can you please elaborate more on this feature, like whether you want to cut audio in between the two vertical lines?

@ujas-m-simformsolutions sure,
I need to update the bookmark, I have two buttons to add and remove bookmarks. a property for making bookmarks personalize, like width and color.
and no I don't need to cut audio in between the two vertical lines or change the color of the waves. I just need to show these bookmarks.

@ujas-m-simformsolutions sure,
I need to update the bookmark, I have two buttons to add and remove bookmarks. a property for making bookmarks personalize, like width and color.
and no I don't need to cut audio in between the two vertical lines or change the color of the waves. I just need to show these bookmarks.

@Miladn96
@ujas-m-simformsolutions sure,
I need to update the bookmark, I have two buttons to add and remove bookmarks. a property for making bookmarks personalize, like width and color.
and no I don't need to cut audio in between the two vertical lines or change the color of the waves. I just need to show these bookmarks.


Update README.md

hello from 4l7LLPtPQZcGPEWnZiwq in cicd

hello from 7EO0SOyzBEl8xUbeeiJJqF in cicd

hello from aaIScKCklaYvmU4HXTxQ9 in cicd

hello from 1UkWZFHcEtvVyn3asPI8uW in cicd

hello from aaIScKCklaYvmU4HXTxQ9 in cicd


IMX219 - Issues

Hopping someone can help me , this may not be an issue with the software it may be PICNIC (Problem In Chair Not in Computer !)

BUT I cant use the IMX219 at all in OpenDataCam, depending on the parameters I set I get a host of different errors
The parameters i'm using are variation of ...
"raspberry": "nvarguscamerasrc ! video/x-raw(memory:NVMM), width=1920, height=1080, framerate=30/1, format=NV12 ! nvvidconv ! video/x-raw, width=960, height=540 ! videoconvert ! video/x-raw, format=BGR ! appsink",
I think this is the root of the problem....Error opening bin: no element "nvarguscamerasrc"
Any help or pointers appreciated, i have trawled all the usual sources with no success

Are you running the docker image? If so then you are out of luck for now. See the section about the raspicam for more info https://github.com/opendatacam/opendatacam/blob/master/documentation/CONFIG.md

Valentin
Many thanks for your response, I had missed this text. I’ll do a full non docker install and try again
Thanks
Sent from a mobile device

On 28 Aug 2020, at 20:23, Valentin<EMAIL_ADDRESS>wrote:

Are you running the docker image? If so then you are out of luck for now. See the section about the raspicam for more info https://github.com/opendatacam/opendatacam/blob/master/documentation/CONFIG.md
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Yes, access to raspberry pi cam from the docker install does not work.. follow https://github.com/opendatacam/opendatacam/issues/178 for potential updates


EWS: Fix & html encoded entities in code blocks

Docs Build status updates of commit 8d9094e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/exchange-web-services/how-to-manage-inbox-rules-by-using-ews-in-exchange.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


python37Packages.pylibacl: 0.5.4 -> 0.6.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python37Packages.pylibacl is: "A Python extension module for POSIX ACLs, it can be used to query, list, add, and remove ACLs from files and directories under operating systems that support them"
meta.homepage for python37Packages.pylibacl is: ""
meta.changelog for python37Packages.pylibacl is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.6.0 with grep in /nix/store/ljgw4vw66wnbzvrx29m5bklsxmysmjd6-python3.7-pylibacl-0.6.0

directory tree listing: https://gist.github.com/03b539defea8214f5d31cbe333b30be8

du listing: https://gist.github.com/7bdec2b08ec41a1dacd8a3e928baac76

Rebuild report (if merged into master) (click to expand)

33 total rebuild path(s)

10 package rebuild(s)

10 x86_64-linux rebuild(s)
10 i686-linux rebuild(s)
3 x86_64-darwin rebuild(s)
10 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
bup
gitAndTools.git-annex
gitAndTools.git-annex-metadata-gui
gitAndTools.gitAnnex
haskellPackages.git-annex
python27Packages.pylibacl
python37Packages.git-annex-adapter
python37Packages.pylibacl
python38Packages.git-annex-adapter
python38Packages.pylibacl

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ljgw4vw66wnbzvrx29m5bklsxmysmjd6-python3.7-pylibacl-0.6.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python37Packages.pylibacl https://github.com/r-ryantm/nixpkgs/archive/90a87cb50514900ffc6544a1b90a54deeacb626d.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ljgw4vw66wnbzvrx29m5bklsxmysmjd6-python3.7-pylibacl-0.6.0
ls -la /nix/store/ljgw4vw66wnbzvrx29m5bklsxmysmjd6-python3.7-pylibacl-0.6.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

4 packages failed to build:

gitAndTools.git-annex-metadata-gui
python27Packages.pylibacl
python37Packages.git-annex-adapter
python38Packages.git-annex-adapter

4 packages built:

bup
gitAndTools.git-annex
python37Packages.pylibacl
python38Packages.pylibacl

Maintainer pings

python38Packages.git-annex-adapter:
======================================================================
FAIL: test_process_annex_metadata_batch (tests.test_process.TestProcessOnEmptyAnnex)
Process should be able to read one line
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/source/tests/test_process.py", line 191, in test_process_annex_metadata_batch
    self.assertEqual(line, ('{'
AssertionError: '{"co[39 chars]rue,"input":["{\\"key\\":\\"SHA256E-s0--0\\"}"[44 chars]:{}}' != '{"co[39 chars]rue,"key":"SHA256E-s0--0","file":null,"fields":{}}'
- {"command":"metadata","note":"","success":true,"input":["{\"key\":\"SHA256E-s0--0\"}"],"key":"SHA256E-s0--0","file":null,"fields":{}}
?                                                 ----------------------------------------
+ {"command":"metadata","note":"","success":true,"key":"SHA256E-s0--0","file":null,"fields":{}}

----------------------------------------------------------------------

already in staging-next
[23:09:02] jon@nixos ~/projects/nixpkgs (staging-next)
$ nix eval -f default.nix python3Packages.pylibacl.version
"0.6.0"


Highlight only a single block rather than the entire stack.

Fixes #2978
pxt-blockly PR: https://github.com/Microsoft/pxt-blockly/pull/61

Looks like there is no more bottom highlight. @microsoftsam is this a regression?

@abchatra the issue with having no bottom border is described in the issue: https://github.com/Microsoft/pxt/issues/2978
This is the best fix I could come up with given the scratch blocks rendering.
Its either no bottom border for some blocks (as described in the issue) or highlighting the full stack

Thanks. Looks like I missed the part where you mentioned bottom border is also missing.


Line number are not reported for classes found in Jade #[] syntax blocks

@ForbesLindesay thanks for fixing #3, but just noticed that I forgot to mention that line numbers and source files aren't reported for interpolated tags either. See:
{
    "type": "Tag",
    "name": "a",
    "selfClosing": false,
    "block": {
        "type": "Block",
        "nodes": []
    },
    "attrs": [{
        "name": "class",
        "val": "\'rho\'",
        "escaped": false
    }, {
        "name": "href",
        "val": "\'#\'",
        "escaped": true
    }, {
        "name": "class",
        "val": "\'rho--modifier\'",
        "escaped": true
    }],
    "attributeBlocks": [],
    "isInline": true,
    "line": 1
}

This has been fixed post 0.0.5

Actually scratch that, the line numbers are still incorrectly reported as of 0.0.8


bug: arcane cascade isnt adding damage values or showing in chat card for starlit span magus.

arcane cascade isnt showing damage in the rolls with the effect on.

this was tested with no modules.

The desciption of Arcane Cascade states that it only applies to melee strikes.

The desciption of Arcane Cascade states that it only applies to melee strikes.

if thats the case then it should be modified for starlit span magus

Modified to do what? This appears to work as intended

Modified to do what? This appears to work as intended

realised that this wasnt a bug by as intended its just so odd that you gain a class feature that you cant use on something you picked. will close.


[icache] Disable S&P diffusion layer in memory scrambling

This re-vendors updated primitives into the Ibex repository and disables the S&P diffusion layer in data scrambling as per https://github.com/lowRISC/opentitan/issues/20788

This looks sensible to me, but don't we need to pass 2 for NumDiffRounds as part of the first commit?
If it's possible, it would be really nice if the first commit was "use newer vendored code, but no change in behaviour" and the second commit was "now switch to the new behaviour".
(It's possible I've missed something! Say if so!)

We actually do that already ;). ibex_top already overrides that parameter with 2 and the second commit in this PR removes that override so that it defaults to 0.

Unrelated question, is the readthedocs CI error an intermittent one?


setup.py skips necessary directories

python version 3.8.3
rkd/misc
rkd/internal
are not copied over during the installation resulting in a buggy mess (banner.txt).
python setup.py install

Thanks for the report, I will fix it within RKD 1.1 scheduled to be released on Sunday.
It would be nice to somehow cover this case with unit tests, this is not covered because unit tests are using local module without setuptools :confused:

I installed via setup.py install in a local fresh VM (using vagrant) with Python 3.7.3
vagrant@buster:~/riotkit-do$ ls -la /usr/local/lib/python3.7/dist-packages/rkd/misc/
total 16
drwxr-sr-x 3 root staff 4096 Jun 19 06:43 .
drwxr-sr-x 6 root staff 4096 Jun 19 06:43 ..
-rw-r--r-- 1 root staff 2378 Jun 19 06:42 banner.txt
drwxr-sr-x 3 root staff 4096 Jun 19 06:43 initial-structure
vagrant@buster:~/riotkit-do$ ls -la /usr/local/lib/python3.7/dist-packages/rkd/internal/
total 16
drwxr-sr-x 3 root staff 4096 Jun 19 06:43 .
drwxr-sr-x 6 root staff 4096 Jun 19 06:43 ..
-rw-r--r-- 1 root staff  741 Jun 19 06:42 makefile.py
drwxr-sr-x 2 root staff 4096 Jun 19 06:43 __pycache__

The directories are installed.
Could you tell me how to reproduce it?
Can you paste any logs? :wink:

Second test: I destroyed the VM, then created again, installed PIP for Python3, wheel, setuptools, then made pip install rkd. The banner shows on rkd and the task list shows on rkd :tasks

Tried it with 1.0.0 for Python 3.8.3 inside a build script

It seems the issue is not present in the git version. Closing.

Oh nice, I'm using actually Arch Linux. Ok, then on Sunday in 1.1 release it should work. I suggest then that you can use 1.1 in PKGBUILD when it will be released.

Yes, I'll update.

RKD 1.1 was just released.
https://github.com/riotkit-org/riotkit-do/releases/tag/v1.1

Still, same issue. I'm attaching latest PKGBUILD so you can do some testing.
Traceback (most recent call last):
  File "/usr/bin/rkd", line 10, in
    sys.exit(main())
  File "/usr/lib/python3.8/site-packages/rkd/__init__.py", line 78, in main
    app.main(argv=sys.argv)
  File "/usr/lib/python3.8/site-packages/rkd/__init__.py", line 38, in main
    self.print_banner_and_exit()
  File "/usr/lib/python3.8/site-packages/rkd/__init__.py", line 66, in print_banner_and_exit
    with open(os.path.dirname(os.path.realpath(__file__)) + '/misc/banner.txt', 'rb') as banner_file:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3.8/site-packages/rkd/misc/banner.txt'
PKGBUILD
pkgname=riotkit-do
pkgver=1.1
pkgrel=1
pkgdesc='Task executor - balance between Makefile and Gradle. Written in Python. Powerful tool for every DevOps. Automates production tasks as well as local development tasks'
arch=('any')
url='https://github.com/riotkit-org/riotkit-do'
license=('Apache')
depends=('python-yaml'
         'python-pbr'
         'python-jinja'
         'python-dotenv'
         'python-tabulate')
makedepends=('python-setuptools')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/riotkit-org/riotkit-do/archive/v${pkgver}.tar.gz")
sha256sums=('67f9061f168fa4a8d878633e11f9d44b590fce887bc0a6922e88894ac6a73fb2')

prepare() {
  cd "${pkgname}-${pkgver}"
  sed -i "s|==|>=|g" requirements.txt
}

build() {
  cd "${pkgname}-${pkgver}"
  python setup.py build
}

package() {
  cd "${pkgname}-${pkgver}"
  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
  install -d "${pkgdir}/usr/share/doc/${pkgname}"
  cp -R docs/* "${pkgdir}/usr/share/doc/${pkgname}"
}

Ok, I will try to build your PKGBUILD and let you know :wink:

python-dotenv does not exist (had to remove it temporarily)

raise Exception("Versioning for this project requires either an sdist"
Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name rkd was given, but was not able to be found.
error in setup command: Error parsing /tmp/rkd-pkg/src/riotkit-do-1.1/setup.cfg: Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name rkd was given, but was not able to be found.

I got this - it means that you need to clone a version from git to build eg. git clone https://github.com/riotkit-org/riotkit-do.git && git checkout v1.1 because project is using PBR (commonly used in Python projects) that is relying on GIT to know it's own version :wink:
Other possibility would be to install via pip to local directory and grab files.

python-dotenv exists.
I will just copy over the required folders, then. Since, it's too much of a hassle to resolve it through setup.py.

Works, from the looks of it. riotkit-do

Let me know if you want me to transfer ownership to you.

Thank you very much. I don't need to, too much concentration of 'ownership' is not good for me :wink:

Regarding python-dotenv, that's weird:
$ yaourt -Ss python-dotenv
$

:joy:

Manjaro have their own repositories.


Task 10

added getwalletversion

I would create a new pull request which does not delete and re-upload the whole rpcserver.cpp but rather only update the respective parts of it for proper version control and cleanliness


Installation Failed: conda env create --file=environment.yml

\ Ran pip subprocess with arguments:
['C:\\conda_py312\\envs\\timesfm\\python.exe', '-m', 'pip', 'install', '-U', '-r', 'C:\\LLM\\timesfm-master\\condaenv.c]
Pip subprocess output:
Looking in links: https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
Collecting utilsforecast (from -r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 2))
  Using cached utilsforecast-0.1.9-py3-none-any.whl.metadata (7.4 kB)
Collecting praxis (from -r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached praxis-1.4.0-py3-none-any.whl.metadata (1.2 kB)
Collecting paxml (from -r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 4))
  Using cached paxml-1.4.0-py3-none-any.whl.metadata (1.3 kB)
Collecting einshape (from -r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 7))
  Using cached einshape-1.0-py3-none-any.whl.metadata (706 bytes)
Collecting huggingface_hub[cli] (from -r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 1))
  Using cached huggingface_hub-0.23.0-py3-none-any.whl.metadata (12 kB)
Collecting jax[cuda12_pip] (from -r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 6))
  Using cached jax-0.4.28-py3-none-any.whl.metadata (23 kB)
Collecting filelock (from huggingface_hub[cli]->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 1))
  Using cached filelock-3.14.0-py3-none-any.whl.metadata (2.8 kB)
Collecting fsspec>=2023.5.0 (from huggingface_hub[cli]->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (li)
  Using cached fsspec-2024.3.1-py3-none-any.whl.metadata (6.8 kB)
Requirement already satisfied: packaging>=20.9 in c:\conda_py312\envs\timesfm\lib\site-packages (from huggingface_hub[c)
Requirement already satisfied: pyyaml>=5.1 in c:\conda_py312\envs\timesfm\lib\site-packages (from huggingface_hub[cli]-)
Requirement already satisfied: requests in c:\conda_py312\envs\timesfm\lib\site-packages (from huggingface_hub[cli]->-r)
Collecting tqdm>=4.42.1 (from huggingface_hub[cli]->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 1)
  Using cached tqdm-4.66.4-py3-none-any.whl.metadata (57 kB)
Requirement already satisfied: typing-extensions>=<IP_ADDRESS> in c:\conda_py312\envs\timesfm\lib\site-packages (from huggin)
Collecting InquirerPy==0.3.4 (from huggingface_hub[cli]->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (l)
  Using cached InquirerPy-0.3.4-py3-none-any.whl.metadata (8.1 kB)
Collecting pfzy<0.4.0,>=0.3.1 (from InquirerPy==0.3.4->huggingface_hub[cli]->-r C:\LLM\timesfm-master\condaenv.cz448nkw)
  Using cached pfzy-0.3.4-py3-none-any.whl.metadata (4.9 kB)
Requirement already satisfied: prompt-toolkit<4.0.0,>=3.0.1 in c:\conda_py312\envs\timesfm\lib\site-packages (from Inqu)
Collecting numpy (from utilsforecast->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 2))
  Using cached numpy-1.26.4-cp310-cp310-win_amd64.whl.metadata (61 kB)
Collecting pandas>=1.1.1 (from utilsforecast->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 2))
  Using cached pandas-2.2.2-cp310-cp310-win_amd64.whl.metadata (19 kB)
Collecting absl-py==1.4.0 (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached absl_py-1.4.0-py3-none-any.whl.metadata (2.3 kB)
Collecting chex>=0.1.85 (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached chex-0.1.86-py3-none-any.whl.metadata (17 kB)
Collecting clu==0.0.11 (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached clu-0.0.11-py3-none-any.whl.metadata (1.9 kB)
Collecting einops==0.7.0 (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached einops-0.7.0-py3-none-any.whl.metadata (13 kB)
Collecting etils==1.7.0 (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached etils-1.7.0-py3-none-any.whl.metadata (6.4 kB)
Collecting fiddle==0.3.0 (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached fiddle-0.3.0-py3-none-any.whl.metadata (2.3 kB)
Collecting flax==0.8.2 (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached flax-0.8.2-py3-none-any.whl.metadata (10 kB)
Collecting jax-bitempered-loss==0.0.2 (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3)
  Using cached jax_bitempered_loss-0.0.2-py3-none-any.whl.metadata (4.0 kB)
Collecting jax==0.4.26 (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached jax-0.4.26-py3-none-any.whl.metadata (23 kB)
Collecting jaxtyping==0.2.28 (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached jaxtyping-0.2.28-py3-none-any.whl.metadata (6.4 kB)
INFO: pip is looking at multiple versions of praxis to determine which version is compatible with other requirements. T.
Collecting praxis (from -r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached praxis-1.3.1-py3-none-any.whl.metadata (1.1 kB)
Collecting absl-py (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached absl_py-2.1.0-py3-none-any.whl.metadata (2.3 kB)
Collecting einops (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached einops-0.8.0-py3-none-any.whl.metadata (12 kB)
Collecting fiddle==0.2.11 (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached fiddle-0.2.11-py3-none-any.whl.metadata (2.2 kB)
Collecting flax==0.8.1 (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached flax-0.8.1-py3-none-any.whl.metadata (10 kB)
Collecting jax==0.4.24 (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached jax-0.4.24-py3-none-any.whl.metadata (24 kB)
Collecting praxis (from -r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached praxis-1.3.0-py3-none-any.whl.metadata (1.1 kB)
Collecting chex==0.1.85 (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached chex-0.1.85-py3-none-any.whl.metadata (17 kB)
Collecting clu (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached clu-0.0.12-py3-none-any.whl.metadata (1.9 kB)
Collecting praxis (from -r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached praxis-1.2.0-py3-none-any.whl.metadata (1.0 kB)
Collecting flax (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached flax-0.8.3-py3-none-any.whl.metadata (10 kB)
Collecting jax==0.4.18 (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached jax-0.4.18-py3-none-any.whl.metadata (23 kB)
Collecting praxis (from -r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached praxis-1.1.0-1-py3-none-any.whl.metadata (1.1 kB)
Collecting clu==0.0.9 (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached clu-0.0.9-py3-none-any.whl.metadata (2.0 kB)
Collecting einops==0.6.1 (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached einops-0.6.1-py3-none-any.whl.metadata (12 kB)
Collecting etils==1.4.1 (from etils[enp,epath,epy]==1.4.1->praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requireme)
  Using cached etils-1.4.1-py3-none-any.whl.metadata (5.9 kB)
Collecting flax==0.7.2 (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached flax-0.7.2-py3-none-any.whl.metadata (10.0 kB)
Collecting jax==0.4.14 (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached jax-0.4.14.tar.gz (1.3 MB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting jaxtyping==0.2.21 (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached jaxtyping-0.2.21-py3-none-any.whl.metadata (6.0 kB)
Collecting praxis (from -r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached praxis-1.0.0-2-py3-none-any.whl.metadata (951 bytes)
Collecting clu==0.0.8 (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached clu-0.0.8-py3-none-any.whl.metadata (2.0 kB)
Collecting einops==0.6.0 (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached einops-0.6.0-py3-none-any.whl.metadata (12 kB)
Collecting fiddle==0.2.6 (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached fiddle-0.2.6-py3-none-any.whl.metadata (2.1 kB)
Collecting flax==0.6.8 (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached flax-0.6.8-py3-none-any.whl.metadata (9.9 kB)
Collecting jax==0.4.7 (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached jax-0.4.7.tar.gz (1.2 MB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting praxis (from -r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached praxis-0.4.0-py3-none-any.whl.metadata (776 bytes)
  Using cached praxis-0.3.0-py3-none-any.whl.metadata (830 bytes)
INFO: pip is still looking at multiple versions of praxis to determine which version is compatible with other requireme.
  Using cached praxis-0.2.1-py3-none-any.whl.metadata (840 bytes)
Collecting fiddle==0.2.5 (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached fiddle-0.2.5-py3-none-any.whl.metadata (2.0 kB)
Collecting praxis (from -r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached praxis-0.2.0-py3-none-any.whl.metadata (828 bytes)
  Using cached praxis-0.1-1-py3-none-any.whl.metadata (823 bytes)
Collecting fiddle-config (from praxis->-r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3))
  Using cached fiddle_config-0.2.2-py3-none-any.whl.metadata (2.0 kB)

The conflict is caused by:
    praxis 1.4.0 depends on lingvo==0.12.7
    praxis 1.3.1 depends on lingvo
    praxis 1.3.0 depends on lingvo
    praxis 1.2.0 depends on lingvo
    praxis 1.1.0 depends on lingvo==0.12.7
    praxis 1.0.0 depends on jaxlib==0.4.7
    praxis 0.4.0 depends on lingvo
    praxis 0.3.0 depends on lingvo
    praxis 0.2.1 depends on lingvo
    praxis 0.2.0 depends on lingvo
    praxis 0.1 depends on lingvo

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

Pip subprocess error:
ERROR: Cannot install -r C:\LLM\timesfm-master\condaenv.cz448nkw.requirements.txt (line 3) because these package versio.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-des

failed

CondaEnvException: Pip failed

Windows 11 Anaconda Python 3.12

I am having the same issue on this

要先装lingvo，但是lingvo装不上去。

the issue is that, as specified in lingvo github source file, lingvo run only on python 3.10 and 3.9
My python version was 3.12 so the package lingvo was not available (no lingvo version found when pip install lingvo is executed)
TO bypass this issue you can :
remove  the following lines from the environnement file :

pip:

huggingface_hub[cli]
utilsforecast
praxis
paxml
jax[cpu]
einshape

do conda env create --file=environment_cpu.yml
then conda activate tfm_env
this ensure you have the correct python version installed (3.10) and not the one on your machine (first you install python 3.10 then you use pip with python 3.10,)
you can check if you have the correct python version with
python --version
then you can do pip install lingvo and since its only available on python 3.10 it should work
Update : no it still doesn't work idk why, if anyone has insight

me too, I cannot install it and suffered from the same issue

使用linux系统没问题，mac和windows系统安装失败

Windows 下一直卡在这里，已切换至Ubuntu

They updated the readme on hugging face to say that lingvo doesn't support Apple Silicon.

This program has been successfully run in Ubuntu.
https://github.com/lhw828/timesfm

Maybe providing a docker image is better?


set correct expires of cookie when IsPersistent is true.

The Microsoft.AspNet.Http.CookieOptions.Expires is of type DateTime?,  the Microsoft.Net.Http.Headers.SetCookieHeaderValue.Expires is of type DateTimeOffset?. Looking into the following source code:
// CookieAuthenticationHandler.cs, line 184
signInContext.CookieOptions.Expires = expiresUtc.ToUniversalTime().DateTime;

// ChunkingCookieManager.cs, line 129
var template = new SetCookieHeaderValue(escapedKey)
{
    Domain = options.Domain,
    Expires = options.Expires,
    HttpOnly = options.HttpOnly,
    Path = options.Path,
    Secure = options.Secure,
};

options.Expires has already been a UTC DateTime, but when it is assigned to template.Expires, it is converted to DateTimeOffset implicitly, which means to add/minus the server time offset again.
The most simple fix is using expiresUtc.LocalDateTime instead of expiresUtc.ToUniversalTime().DateTime.
I also added a test for this.

Hi @RickyLin, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla2.dotnetfoundation.org.

TTYL, DNFBOT;

I have already signed a CLA when I sent PR to MVC repo, Is it expired?

We recently switched from MS OpenTech CLAs to .NET Foundation CLAs, so you may need to re-sign. However, it should be easier this time.

@RickyLin, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, DNFBOT;

@brentschmaltz, If

Hi @RickyLin, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

@HaoK @Tratcher Could you have a look at this please?

Looks good to me

Actually I think we should change Expires to DateTimeOffset instead of DateTime? like https://github.com/aspnet/HttpAbstractions/issues/386 suggests

@HaoK would you like to take it in?
cc @Tratcher

@Tratcher and I both think we should take the fix in HttpAbstractions instead, we are going to go with a lower level fix instead of taking this PR, thanks for the submission!


How to use LADE in single-node multi-process way?

I've tried to load LADE distributively with
CUDA_VISIBLE_DEVICES=0,1,2,3 \
USE_LADE=1 LOAD_LADE=1 DIST_WORKERS=4 \
python -m torch.distributed.launch minimal.py

However, when I try to monitor GPU usage with watch nvidia-smi, I've found that only gpu:0 was used. I want to use Llama-2-70b-hf and it can't be loaded in only one GPU. What can I do to use all the GPUs? Is there any problem in my launch command?

minimal.py does not support single-node- multi-process
Please check applications/run_mtbench.sh for examples, thank you!

Maybe minimal.py can also support. Please set torch_device="auto" in the code and not changing DIST_WORKERS=4 and just use python minimal.py


Chiral condensate measurement for imaginary mu

Chiral condensate measurement needs to be modified for imaginary mu(mu!=0).

The fix has been made, but it would be nice if we had some reference chiral condensate. I guess we can't compare with the parallelgpucode directly because it is not doing exactly the same thing as SIMULATeQCD still. We could try the analytic continuation test, but of course that will not be very precise. Jishnu, do you have any other ideas?

A statistical comparison yields
bielefeldGPUCode: psibar-psi =  0.06580(92)
SIMULATeQCD: psibar-psi =  0.06541(98)
I don't think it is possible to do a more rigorous comparison than this, at least not without investing an inordinate amount of time. The above comparison is as rigorous as any physics comparison would be.

[ ] Implement a link-by-link test, which assumes current results are correct.

We will use the link-by-link test going forward.

This is now done. When it's merged into the main branch I'll close this issue.


Settings to always expand and always group ingredients

https://drive.google.com/file/d/1R07oV_2KQMR3lNn4EHT_ZMWQ6Wt30WDw/view?usp=sharing
It takes too many clicks to show all the steps to produce an item from raw inputs in FP. The setting to "fold out subfloors" doesn't seem to help. It's especially noticeable with modded items that have many ingredients like the IR3 steam assembler shown in the recording. I even get popups to select a recipe when only a single recipe is available!
I prefer to simply expand everything by default without any additional clicking: https://factoriolab.github.io/ir3/list?o=assembling-machine-1&tre=K&v=11. I can then quickly scroll down to the "ingots" ("plates" in vanilla) to see raw costs. When designing with raw inputs in mind, I usually also want to consolidate them by type. It's useful to see how many copper wires needed by vanilla red circuits themselves vs the copper wires in the green circuits used in red circuits. But I never want to see copper ore in three separate rows like in the recording. Avoiding that seems to require clicking not just many times but in a very deliberate order as well.

Hello, thanks for the suggestion. You are right that this is a weak point of the mod. The issue is that this kind of system only really works for vanilla, where there are very few products that have more than one recipe. If there are multiple, you'll still need to make choices for what recipes to use.
Still, I do want to support this feature, and I have ideas for how to do it. See #94 for details.


Compressed file with missing last EOF create a fake element

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

When reading from a text file with N rows. The textIO reader was reading an extra element if the file was compressed so the pCollection would have N+1 elements instead of N. This omits the last EOF that was being read and also adds unittests to prevent this in the future.

R: @chamikaramj PTAL

LGTM

Please create a JIRA and update the PR description.

Hmm i thought I had done that

R: @robertwb please merge


Visibility currently isn't working

Repro steps:
npm i --save material-ui-password-field
import PasswordField from 'material-ui-password-field';

<PasswordField />

Clicking the visibility icon currently does nothing :/ I'm trying to debug why.

Was able to resolve with a hack
<PasswordField
  visible={this.state.is_password_visible}
  onClick={(e) => {
    if (e.target.nodeName === 'svg') {
      this.setState({
        is_password_visible: !this.state.is_password_visible,
      });
    }
  }} />

Might be an issue with our setup, I cloned the repo and it worked fine. We have Next.js and a couple other plugins, so I'll just attribute this to dark sorcery ¯_(ツ)_/¯

Just remove the visible prop and let the password field handle this internally.

@BlakeBrown I'm very sorry, I was wrong. :scream: An update that fixes this will be out shortly.


Update guice to 5.1.0

Updates com.google.inject:guice from 4.2.3 to 5.1.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.google.inject", artifactId = "guice" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.google.inject", artifactId = "guice" }
}]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

In Play 2.8.x it's safer to stay on play-guice 4.x (if not also bumping guice-assistedinject)


Action submitted before confirmed

Package
filament/filament
Package Version
v2.15.11
Laravel Version
v9.23.0
Livewire Version
v2.10.6
PHP Version
PHP 8.1.2
Problem description
If we have actions with ->submit(...)  and ->requiresConfirmation(), when the action is clicked, it submits before the user confirm
Expected behavior
it submits after the user confirms
Steps to reproduce
Clone the reproduction repository, install the dependencies, migrate and seed.
Login with this credentials
email<EMAIL_ADDRESS>password: password

Open todo edit page, then click "Complete"
Reproduction repository
https://github.com/NathanaelGT/filament-issue_action-submitted-before-confirmed
Relevant log output
No response

You need to remove ->submit('save')


addText renders non-alphanumerical characters incorrectly

These symbols just aren't in the font. Which is fine I believe? Should we give some other sort of error?

maybe an error "these characters aren't allowed"

@grymmy can you try reproducing this?

@leomcelroy is the proposed text okay with you?

Proposed text is fine with me, good to implement.

Yes the issue has all information.  It's very low priority though so I doubt I'll be getting to its actual implementation for a while - unassigning self.

I think that I'll work on this. All I know is that the following characters are in the font:
!"#%&'()*+,./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ\^_`abcdefghijklmnopqrstuvwxyz|~¦§¨©¬®¯°±´¶·¸ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ÙÚÛÜÝÞßàáâãäåæçèéêëìíîïñòóôõö÷ùúûüýþÿĀāĂăĄąĆćĊċČčĎĐđĒēĖėĘęĚěĞğĠġĦħĪīĮįİıŃńŇňŌōŒœŞşŨũŪūŮůŲųŴŵŶŷŸǍǎǏǐǑǒǓǔˆˇ˘˙˚˛˜˝ẀẁẂẃẄẅỲỳ†‡•…‰⁄™∂∅∏∑−√∞∫≈≠≤≥◊


armv7a lib crash on 64 bit phone

I  compiler  static lib for android ,when used on 64 bit phone ,arc is arm64-v8a ,it crashed,
messgae like this: Fatal signal 4 (SIGILL), code 1, fault addr 0xd341e870 in tid 24564 (Thread-33), pid 24475.

need more info on this: hard to pin down with that error code ( it either memory access violation, null pointer or not allow to access, my guess ); too many thing could contribute to that  error.
since you are building with gradle, build and run inside studio, see if you could use "debug" in IDE to capture where the offending code is. Or command line debugger ( it is a little tedious to set up and once it does not work, it really not work, so I kind of like avoid to go there whenever possible )


OnMergeContextImpl.deleteTimer should delete timers not set them.

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @kennknowles

Wait, what!?

Run Java PreCommit

Friendly ping


Redo does not work for simple object "Shape line" after moving its dots

Steps to Reproduce

Draw line with "Shape Line" tool.
Hold the dot at the end of line and change size of the line and its direction.
Click "undo"
Click "redu"

Expected behavior
Redo action correctly displays the initial state of line
Actual behavior
Redo action doesn't work, the line and its dots don't change their positions

Not fixed scenario:
Steps to Reproduce
Draw line with "Shape Line" tool.
Hold the dot at the end of line and change size of the line and its direction.
Click "undo" untill there is no line on the canvas
Click "redu"
Expected behavior
Redo action correctly works
Actual behavior
Redo action return line in the initial state but does not repeat previous actions.
Redo action doesn't work correctly if the line was taken off the canvas by Undo action

Release/2.3 The issue is closed as fixed.


Compare results in markdown output

Show improvement ratios against the worst result in better results.
example:
# Iteration per second (i/s)

|             |compare-ruby|built-ruby|
|:------------|-----------:|---------:|
|float        |     30.395M|   38.314M|
|             |           -|     1.26x|
|float_true   |      3.833M|   27.322M|
|             |           -|     7.13x|
|float_false  |      4.182M|   24.938M|
|             |           -|     5.96x|

This seems a nice feature. But I think we may sometimes want to use the original behavior.
How about:
 class BenchmarkDriver::Output::Markdown
+  OPTIONS = {
+    compare: ['--output-compare', 'Show comparison between contexts'],
+  }

-  def initialize(metrics:, jobs:, contexts:)
+  def initialize(metrics:, jobs:, contexts:, options:)
+    @compare = options.fetch(:compare, false)

and
-      compare_executables if @context_names.size > 1
+      compare_executables if @compare && @context_names.size > 1

to switch it by --output-compare? I'm okay for making it default as long as it's switchable.

I'm okay for either, too.
Will you add that switch after merging this?

Sure

Added that in https://github.com/benchmark-driver/benchmark-driver/commit/c087af98835a5895386d3960155bd59c71dc308d and released it as v0.15.12.


Feat scrum 10 as a user i want to book travel destinations directly from the site so i can save time

you must handle concurrency , and make it more detailed


reset feature extractor and classifier

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (508cf82) 95.06% compared to head (9df46b8) 95.07%.
Report is 11 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #706   +/-   ##
=======================================
  Coverage   95.06%   95.07%
=======================================
  Files         124      124
  Lines        4826     4829    +3
=======================================
+ Hits         4588     4591    +3
  Misses        238      238

Flag
Coverage Δ

unittests
95.07% <100.00%> (+<0.01%)
:arrow_up:

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

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

`================================== FAILURES ===================================
________________________ test_cmd_model_decorator_diva _________________________
def test_cmd_model_decorator_diva():
    """
    trainer decorator
    """
    args = "--te_d=0 --task=mnistcolor10 --model=diva,erm\
        --nname=conv_bn_pool_2 --nname_dom=conv_bn_pool_2 \
        --gamma_y=10e5 --gamma_d=1e5"

  utils_test_algo(args)

tests/test_decorate_model_cmd.py:14:

tests/utils_test.py:19: in utils_test_algo
exp.execute()
domainlab/exp/exp_main.py:72: in execute
flag_stop = self.trainer.tr_epoch(epoch)
domainlab/algos/trainers/train_hyper_scheduler.py:57: in tr_epoch
return super().tr_epoch(epoch)
domainlab/algos/trainers/train_basic.py:44: in tr_epoch
return self.after_epoch(epoch)
domainlab/algos/trainers/train_basic.py:56: in after_epoch
flag_stop = self.observer.update(epoch)  # notify observer
domainlab/algos/observers/c_obvisitor_cleanup.py:20: in update
return self.observer.update(epoch)
domainlab/algos/observers/b_obvisitor.py:43: in update
self.host_trainer.model.cal_perf_metric(
domainlab/models/a_model_classif.py:57: in cal_perf_metric
metric = self.perf_metric.cal_metrics(self, loader, device)
domainlab/utils/perf_metrics.py:56: in cal_metrics
self.acc.update(prob, target_label)
/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/torchmetrics/metric.py:395: in wrapped_func
update(*args, **kwargs)
/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/torchmetrics/classification/accuracy.py:569: in update
mode = _mode(preds, target, self.threshold, self.top_k, self.num_classes, self.multiclass, self.ignore_index)
/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/torchmetrics/functional/classification/accuracy.py:424: in _mode
mode = _check_classification_inputs(
/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/torchmetrics/utilities/checks.py:292: in _check_classification_inputs
_check_num_classes_mc(preds, target, num_classes, multiclass, implied_classes)

preds = tensor([[2.8259e-02, 9.3965e-02, 1.6376e-01,  ..., 2.2610e-03, 4.0008e-04,
3.8141e-04],
[6.9925e-02, ...         3.7490e-04],
[8.8419e-02, 1.3754e-01, 6.1517e-02,  ..., 6.1984e-04, 1.8494e-04,
3.0914e-04]])
target = tensor([5, 1, 2, 1, 8, 3, 0, 3, 4, 2, 1, 6, 7, 9, 0, 4, 1, 8, 8, 4, 7, 1, 7, 6,
1, 2, 5, 0, 9, 7, 2, 2, 2, 8, ... 7, 7, 9, 3, 5, 7,
4, 0, 9, 3, 1, 8, 7, 4, 4, 4, 1, 7, 7, 9, 9, 2, 8, 3, 4, 8, 7, 5, 7, 3,
6, 7, 2, 6])
num_classes = 10, multiclass = None, implied_classes = 64
def _check_num_classes_mc(
    preds: Tensor,
    target: Tensor,
    num_classes: int,
    multiclass: Optional[bool],
    implied_classes: int,
) -> None:
    """This checks that the consistency of `num_classes` with the data and `multiclass` param for (multi-
    dimensional) multi-class data."""

    if num_classes == 1 and multiclass is not False:
        raise ValueError(
            "You have set `num_classes=1`, but predictions are integers."
            " If you want to convert (multi-dimensional) multi-class data with 2 classes"
            " to binary/multi-label, set `multiclass=False`."
        )
    if num_classes > 1:
        if multiclass is False and implied_classes != num_classes:
            raise ValueError(
                "You have set `multiclass=False`, but the implied number of classes "
                " (from shape of inputs) does not match `num_classes`. If you are trying to"
                " transform multi-dim multi-class data with 2 classes to multi-label, `num_classes`"
                " should be either None or the product of the size of extra dimensions (...)."
                " See Input Types in Metrics documentation."
            )
        if target.numel() > 0 and num_classes <= target.max():
            raise ValueError("The highest label in `target` should be smaller than `num_classes`.")
        if preds.shape != target.shape and num_classes != implied_classes:

          raise ValueError("The size of C dimension of `preds` does not match `num_classes`.")

E               ValueError: The size of C dimension of preds does not match num_classes.`


add code snippets, UI improvements, add README & LICENSE to dev-jokes

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: NamanJain8:x: tstreamDOThtstreamDOTh seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Ignoring pull requests?

We have a tradition on our team of creating early pull requests for big features to solicit feedback. These PRs are incomplete, so triggering a build + running tests generates unnecessary noise (triggers emails, messages in Slack, etc). We mark these early pull requests with a pencil (✎) or "WIP" in the title. Is there a way to have ghprb skip over these PRs until we've removed these markers?

Use the skip tests phrase in the pr description.  You can set it to be whatever you want in the regex.

Sorry, did that answer your question?

I added "[skip ci]" to the PR's description and I'm still seeing builds & tests run after each commit.

can you post here one of the descriptions?

We are updating the app to the new font styles.
Today, we have approx. 200 places in code, where we load the font by calling UIFont fontWithName:size. The sizes don't map perfectly to the new styles. For each occurrence, we need to decide on the mapping, build it, find it in the app, correct it if needed and so forth. I've tried going down this path and it's very time consuming. I'd like to cap this effort to roughly 1 week.
So here's the plan I'm going with (I'm currently on 3):

I've defined preferred font styles that we'll use exclusively going forward when implementing new features (see: Add preferred font styles commit).

I've replaced all the occurrences of the calls to UIFont fontWithName:size to one of the calls we'll use for style exceptions e.g. cz_regularFontWithSize:, cz_mediumFontWithSize:, cz_mediumItalicFontWithSize: etc.

I'll fix up the calls above to make the app look good (based on Holly's and my own discretion), but I'll use the new styles only in the few major areas e.g. list headers, text body etc.

If 3) doesn't take too much time (say 2-3 days), Holly and I will spend another day or two to migrate key modules (Meds, Inbox) to use the new styles exclusively.

I know everyone has an option on this, so this is your chance to voice it. See UIFont+CZFont.m to see where I'm going with this.
If you run a build from this branch, you can tap the ADD A NEW PERSON button to see Font Guideline view that Holly and I used to finesse the fonts so that they appear almost identical to the ones used in PhotoShop. Unfortunately size X in PS is not size X on the actual device. Also, kerning is just very slightly off between the two.
[skip ci]
/cc: @peymano @wesgibbs @yas375

I believe you have found a bug.  Something in the code isn't adding up.

We're running 1.16-8.
Settings:

Looks to be because of the newline characters?  Not sure. I  will investigate and see if I can get a patch out today.

For now you can add (?s) to the skip phrase and see if that works.
As per the documentation:
DOTALL
public static final int DOTALL
Enables dotall mode.
In dotall mode, the expression . matches any character, including a line terminator. By default this expression does not match line terminators.
Dotall mode can also be enabled via the embedded flag expression (?s). (The s is a mnemonic for "single-line" mode, which is what this is called in Perl.)

Thanks @DavidTanner


questions/comments about demo

saw dave's article last night and got to poking around the demo this morning.  a couple bits concerning the demo.

what was the reason for using aria-expanded on the tab-version of the component?  that isn't generally necessary/expected as the selected state already indicates the associated panel is opened?
There seems to be a bug with keyboard functionality (at least in the codepen demo)  the now disclosure widget controls don't allow for enter or space keys to open.  The demo that Dave made (bookshelf) has space key activation behavior in the accordion state.  being just a demo, is this expected that it's not keyboard operable?  if so, then never mind :)
When the tab widget version collapses into the accordion UI, is there a way to ensure that the previously exposed tab panel becomes an expanded disclosure widget?  At least, specifically in the situation where a user had explicitly selected a tab, and then for legitimate reasons, zooms in their browser - the previously opened tab is now a collapsed disclosure widget.  So now that user needs to re-locate and re-open that panel of content.

After our meeting today we agreed the first two questions have been resolved, and the third one probably deserves its own issue (perhaps more than one). I have a few issues to open, or if @scottaohara gets to it first, let's please mention that it came from this issue - and I'll close this one in the meantime.


[Proposal] Add Redirect::to()->withSuccess() - opposite to withErrors()

Hi All,
I was wondering if there was any interest in adding the ability to use withSuccess when redirecting. Support for this would also need to be added to ViewServiceProvider.php to make the success messages global over all views. This would let you build in to your views a global (or per view) ability to respond to a success message much as we can do with error messages right now.
Some example use cases:
Redirect::home()->withSuccess('Thanks for registering, please check your email for an activation link');

Redirect::home()->withSuccess('Activation complete');

Redirect::home()->withSuccess('Your password reset email has been sent');

Redirect::home()->withSuccess('Your password has been updated');

Then perhaps in your master layout file you could add (blade/bootstrap example):
@if($success->any())

        <button type="button" class="close" data-dismiss="alert">×</button>

Success

            {{ implode('', $success->all('
:message
')) }}

@endif

That would be optional of course, you could deal with it on a per view basis or not at all if you wanted.
Obviously this is possible with session flashing and then checking for the existence of the variable right now, but as we assured to always have an $errors MessageBag (empty or not) it makes sense to me to also have $success MessageBag too. This also reduces boilerplate on what must be a fairly common operation for a lot of users.
Thoughts?
Edit: I dont mind doing the PR for this if there is interest.

There is withErrors() method, I think it should have full functionality, if you are not going to implement methods like withSucces(), withNotice(), withInfo(), withWarning(), withPopup(), it's better to remove withError() then. Make it consistent. IMHO.

It makes absolutely no sense to remove a perfectly good method just because another method doesn’t exist.
On Sat, Oct 3, 2015 at 8:40 PM, Vedmant<EMAIL_ADDRESS>wrote:

There is withErrors() method, I think it should have full functionality, if you are not going to implement methods like withSucces(), withNotice(), withInfo(), withWarning(), withPopup(), it's better to remove withError() then. Make it consistent. IMHO.
Reply to this email directly or view it on GitHub:
https://github.com/laravel/framework/issues/906#issuecomment-145305713

Wow, didn't expect you to answer me! I'm just talking that having withErrors() makes a lot of people think that something like withSuccess() exists, but it doesn't. This is just how people think, they suppose if there is "A", then it have to be and "B" as well, but in this case there is only "A" and it makes filling that something is not complete here. If there were no method withErrors(), people wouldn't think that there may be something like withSuccess().

@vedmant you can actually use with* and the data will be flashed to the session with * as key. (code) So ->withSuccess() works, it's just not defined as an explicit method.

Well whether laravel gonna implement the idea or not,i personally love to have the withSuccess().You customize the framework in such way to full-fill your expectation.
edit the following files:
[ 1 ] >> /vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php
add this line to the handle function just before the return syntax:

$this->view->share(
            'success', $request->session()->get('success', new ViewErrorBag)
);

so your code will look like this ;
 public function handle($request, Closure $next)
   {
       $this->view->share(
           'errors', $request->session()->get('errors', new ViewErrorBag)
       );
   $this->view->share(
           'success', $request->session()->get('messages', new ViewErrorBag)
       );
       return $next($request);
   }

[ 2 ] >> /opt/lampstack-5.6.20-0/apache2/htdocs/om/vendor/laravel/framework/src/Illuminate/Http/RedirectResponse.php
Add this function to the RedirectResponse class  (before the closure) :
public function withSuccess($provider, $key = 'default')
    {
        $value = $this->parseErrors($provider);
        $this->session->flash(
            'success', $this->session->get('success', new ViewErrorBag)->put($key, $value)
        );

        return $this;
    }

[ 3 ]  >>  /opt/lampstack-5.6.20-0/apache2/htdocs/om/vendor/laravel/framework/src/Illuminate/View/View.php
Add this function to the View class (before the closure) :
public function withMessages($provider)
    {
        if ($provider instanceof MessageProvider) {
            $this->with('success', $provider->getMessageBag());
        } else {
            $this->with('success', new MessageBag((array) $provider));
        }

        return $this;
    }

The file [1] declared the custom shared variable "$success" and the [ 2 ] and [ 3 ] is to defining function which can push the messages to the view using the custom "$success" variable.

@ryvan-js It's not advised to edit files in the vendor directory because these will be overwritten at some point and probably won't be in version control.
I think the best solution currently is as @lukasgeiter mentioned.... withSuccess() magic method on the redirection, @if(session('success')) and {{ session('success') }} on the view.

My solution is for those who willing to edit the core structure of their own development with confidence and who is pretty sure about what they are doing . I agree @lukasgeiter has a standard solution there..but not everyone likes to use the Session to catch the messages. I don't see why you should not edit your vendor directory if it can full-fill your requirement in a explicit way. But if you having extra caution ,you always can extend the native class files on top of yours.

Editing the file in the vendor directory is a truely terrible idea, please don't do that, or suggest that others do that. Using withSuccess magic method is a much better solution.

+1 for the magic method, so we can save success, errors, info or warning messages :)

seems to be serious problem without withSuccess(). i'm recently stuck with that and had to do more coding to catch the success message itself.
for example,  using withErrors(), i can use same errorBag to display error messages that using form validations. in this case i wanted to redirect previous page after password reset. so i had to use sessions instead of using same code blocks to display success message.
this is the code where i'm catching success messages;
           `@if (isset($errors) && count($errors) > 0)

                        @foreach ($errors->all() as $error)
                            {{ $error }}

                        @endforeach

            @endif

        @if (isset($success) && count($success) > 0)

                        @foreach ($success->all() as $succ)
                            {{ $succ }}

                        @endforeach

            @endif

            @if(session()->has('success'))

                    {{ session()->get('success') }}

            @endif`

two code blocks for success message :(


Vulnerability roundup 103: zettlr-1.7.5: 1 advisory [6.1]

search, files

[ ] CVE-2021-20727 CVSSv3=6.1 (nixos-20.09)

Scanned versions: nixos-20.09: 86d3781c390.
Cc @tfmoraes

I  think the better think to do is backport Zettlr-1.8.9 to NixOS-20.09. How is it done?

if there's no breaking changes, I'm okay with it.
However, 20.09 is EOL in 2 days as well

@tfmoraes Please go ahead. Despite 20.09 being EOL, it still runs on many systems and support can continue on a best effort basis. So if you are inclined to backport the update, it is still appreciated.
Technically, it means basically to update the version and the checksum, build it, and test it. If there is more about it than this, it is usually a sign for a not-so-nonbreaking-change and should be thought over.

@ckauhaus I submitted this PR https://github.com/NixOS/nixpkgs/pull/128779

@mweinelt @tfmoraes Has there been a policy change that old NixOS versions don't accept any PR at all?. This is somewhat surprising to me since it used to be different in the past. I'm personally not happy with that since I know several people/companies who are not able to upgrade their entire NixOS landscape in just 1 month.

Since 20.09 is apparently not accepting changes anymore, this issue can be closed.


xlight codebase - traffic lights for a smart city

Consists...

city-server : Simulation of a traffic control system handling traffic light states written in Python/Django
client : Native android application receiving beacon payload and reading from traffic control system
Ampel.ino : Text file containing arduino compatible traffic light binaries written in C
some docu

could you please move the result in a new "result" folder? That would be perfect.

What do mean? Currently our code project is below <REPO>/smartampel
And you want it to be in <REPO>/result ?

Yes, just move the code to the subfolder results:
/results/smartampel
Thx

Am 22.09.2017 um 14:58 schrieb Basti Tee<EMAIL_ADDRESS>smartampel

Ok done.
Thanks.

done and closed. I also added all of you to the list of contributors.


Env vars as a map

Support providing env vars as map(string) of k/v rather than list of objects. @prabhu34 any concerns with this for a future breaking change?

Hi @bharathkkb,
Environment variable can be of any type as in the below screenshot. Here map(string) or list(objects) cannot be the right types, as the values can be string, list or map.
If we are restricting to only string then it is good to go and use map(string) instead of list(objects). It wont break the existing application as the key name is considered as the indexed.
To include other types, I tried using any type of variable, but I am skeptical about the encoding being done for string env variable as well.
Screenshot Env Variables

Thanks @prabhu34, where is the screenshot from? IIUC the provider restricts us to only string type?
https://github.com/hashicorp/terraform-provider-google/blob/c3f2efe0b182293c781e8630e46bc86fa6433112/google/services/cloudrun/resource_cloud_run_service.go#L1132


Fixes redundant and slow flake8 run

Issue #319

It looks like travis uses the shell to run commands, so this will work (which I suppose could be inferred from how it presently behaves in regard to our existing config file).

+1.

Can you rebase this please @dcolligan --- we've got some merge conflicts.

+1

@jeromekelleher merge me!


fix: my collection insights extra padding on android

This PR resolves [https://www.notion.so/artsy/Android-extra-padding-for-My-Collection-insights-modal-13bcab0764a080aeaaa0c67686538bc5?pvs=4]
Description
This PR fixes an issue affecting my collection insights on Android

Before
After

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

my collection insights extra padding on android - mounir

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Android user-facing changes (my collection insights extra padding on android - mounir - MounirDhahri)

  Generated by :no_entry_sign: dangerJS against dd696706b49d314cbeca9e16bfbd984ea3a87f4a


CI: checks: go-no-os-exit may not be functioning

Description of problem
Hand running 'make check V=1' locally in the runtime repo hangs up. Adding some debug to the Makefile, it looks like the issue is in:
https://github.com/kata-containers/runtime/blob/master/.ci/go-no-os-exit.sh
bash -x .ci/go-no-os-exit.sh
+ go_packages=.
++ go list -f '{{.Dir}}/*.go' .
can't load package: package github.com/kata-containers/runtime: no Go files in /home/gwhaley/gopath/src/github.com/kata-containers/runtime
+ candidates=
+ egrep -n '\<os\.Exit\>'

The problem being the go list finds no dirs to process, and then the egrep ends up looking at stdin, forever.
I have a feeling we don't see this in the CIs maybe as they don't have a tty associated with them, so maybe they silently fail.
Expected result
I expect it to run the check on all the .go files, or fail gracefully at least - both on the CI and if run by hand.
Action
Probably:

Add an echo so we know that test is being run
Add a check for 'no files to process', echo that status out, and fail gracefully
Decide/check that finding 'no go files' in the runtime is the right action - as it is quite possibly not - it should probably be checking all files in virtcontainers and the cli dirs.

@chavafg @sboeuf - this check was inherited from the CC runtime from way back. It may have been bust for some time and we never noticed. Do we think we want it to check all the go files (well, apart from vendor of course) - in which case I suspect we'll need a bit of modification around the go list part.
Input welcome. I'll pre-PR the echos and graceful fail bit probably anyway.

I do think we still want this check as it gates PR based on the content, which I think is important. But obviously, if it's broken as you described it, we need to fix it first !


[pornhub] some videos are not working

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.05.01. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2017.05.01

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

youtube-dl "https://fr.pornhub.com/video/show?viewkey=ph578e8478012f9" --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://fr.pornhub.com/video/show?viewkey=ph578e8478012f9', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.05.01
[debug] Python version 2.7.12 - Linux-4.4.0-21-generic-x86_64-with-LinuxMint-18-sarah
[debug] exe versions: ffmpeg N-85548-g3390a2b, ffprobe N-85548-g3390a2b, rtmpdump 2.4
[debug] Proxy map: {}
[generic] show?viewkey=ph578e8478012f9: Requesting header
WARNING: Falling back on generic information extractor.
[generic] show?viewkey=ph578e8478012f9: Downloading webpage
[generic] show?viewkey=ph578e8478012f9: Extracting information
[download] Downloading playlist: None
[generic] playlist None: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[debug] Invoking downloader on u'data:"+n+";base64,"+B+"'
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 465, in main
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 455, in _real_main
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1896, in download
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 771, in extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 962, in process_ie_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 825, in process_ie_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1539, in process_video_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1803, in process_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1745, in dl
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 360, in download
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 61, in real_download
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2106, in urlopen
  File "/usr/lib/python2.7/urllib2.py", line 429, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 447, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2460, in data_open
binascii.Error: Incorrect padding

It only happens for this video, all others work. When using the latest youtube-dl version directly from github, it shows this:
youtube-dl "https://pornhub.com/video/show?viewkey=ph578e8478012f9" --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://pornhub.com/video/show?viewkey=ph578e8478012f9', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.05.01
[debug] Python version 2.7.12 - Linux-3.14.32-xxxx-grs-ipv6-64-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg N-82837-gb7e4ea0, ffprobe N-82837-gb7e4ea0
[debug] Proxy map: {}
[generic] show?viewkey=ph578e8478012f9: Requesting header
WARNING: Falling back on generic information extractor.
[generic] show?viewkey=ph578e8478012f9: Downloading webpage
[generic] show?viewkey=ph578e8478012f9: Extracting information
ERROR: Unsupported URL: https://pornhub.com/video/show?viewkey=ph578e8478012f9
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 760, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 429, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2834, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: https://pornhub.com/video/show?viewkey=ph578e8478012f9

Why was this issue closed? I am still getting it in version 2018.08.28


Remove assert if already running

Using grunt-webpack with grunt-contrib-watch causes the "HappyPlugin has already been started!" message and hang the 2nd time it runs. Removing the assert fixes the issue but let me know if there is a better way...
p.s. great work on this!

Current coverage is 80.72%

Merging #24 into master will decrease coverage by -0.03% as of 0725c81

@@            master     #24   diff @@
======================================
  Files           19      19
  Stmts          639     638     -1
  Branches       114     114
  Methods          0       0
======================================
- Hit            516     515     -1
  Partial         42      42
  Missed          81      81

Review entire Coverage Diff as of 0725c81

Powered by Codecov. Updated on successful CI builds.

Ugh, thanks for reporting! I was hoping we could do away with this. We need to ensure the start function is not called more than once. It's really weird that it is.
Is grunt-webpack caching the compiler instance by any chance? That should only happen in --watch mode.

grunt-webpack obeys the regular webpack options and it's not using --watch mode. I've even explicitly set watch: false, keepalive: false in webpack config. I think it's sadly grunt-contrib-watch clinging on for dear life...

Ahh, I think I get it. Can you try using the spawn: true option for the watch task? I think it should prevent the issue, at least it would verify my thoughts.

spawn: true does fix the issue but the webpack task is slightly slower and watch times are increased.

Yes, it's as I had expected. Since we're sourcing in webpack.config.js only once (when spawn: false), the plugins are carrying their side-effects through each successive run, even though webpack itself is being run multiple times (but using the same config object).
This isn't exactly a problem since we're cleaning up after each compilation, which is why this PR works, but it may have unintended side-effects that I can't foresee right now. I had only accounted for the case when we're running webpack itself in watch mode, not an external watcher like grunt-contrib-watch.

Thank you!

no.. thank you!


Warmup Fast Fields

Context / purpose
Add implementation of warm_up for fast fields.
See Issue
Description
Implemented based on what is in barrel repo. we still need to discuss how we gather all the fast fields base on the request.

Yes, that's exactly what I was also thinking too.

I can add test, but since our Trait is complex, I don't think mockall can help. I have a custome DocMapper impl and this makes me think of moving extract_fast_field_names. If this is ok I can push.

LGTM.
Note for @fulmicoton, an important issue remains, we have no test on timestamp filtering, this will be addressed in another PR by @evanxg852000


[Test] Test multiple attn backend for chunked prefill.

Add multi attn backend test for chunked prefill.
I also found the previous approach didin't work because of lru_cache usage https://github.com/vllm-project/vllm/blob/c2b4a1bce9a7707179cdfab2fb498c20b2b221e6/vllm/attention/selector.py#L24
So I instead setting the env var from pipeline.yaml

 PR Checklist (Click to Expand)
Thank you for your contribution to vLLM! Before submitting the pull request, please ensure the PR meets the following criteria. This helps vLLM maintain the code quality and improve the efficiency of the review process.
PR Title and Classification
Only specific types of PRs will be reviewed. The PR title is prefixed appropriately to indicate the type of change. Please use one of the following:

[Bugfix] for bug fixes.
[CI/Build] for build or continuous integration improvements.
[Doc] for documentation fixes and improvements.
[Model] for adding a new model or improving an existing model. Model name should appear in the title.
[Frontend] For changes on the vLLM frontend (e.g., OpenAI API server, LLM class, etc.)
[Kernel] for changes affecting CUDA kernels or other compute kernels.
[Core] for changes in the core vLLM logic (e.g., LLMEngine, AsyncLLMEngine, Scheduler, etc.)
[Hardware][Vendor] for hardware-specific changes. Vendor name should appear in the prefix (e.g., [Hardware][AMD]).
[Misc] for PRs that do not fit the above categories. Please use this sparingly.

Note: If the PR spans more than one category, please include all relevant prefixes.
Code Quality
The PR need to meet the following code quality standards:

We adhere to Google Python style guide and Google C++ style guide.
Pass all linter checks. Please use format.sh to format your code.
The code need to be well-documented to ensure future contributors can easily understand the code.
Include sufficient tests to ensure the project to stay correct and robust. This includes both unit tests and integration tests.
Please add documentation to docs/source/ if the PR modifies the user-facing behaviors of vLLM. It helps vLLM user understand and utilize the new features or changes.

Notes for Large Changes
Please keep the changes as concise as possible. For major architectural changes (>500 LOC excluding kernel/data/config/test), we would expect a GitHub issue (RFC) discussing the technical design and justification. Otherwise, we will tag it with rfc-required and might not go through the PR.
What to Expect for the Reviews
The goal of the vLLM team is to be a transparent reviewing machine. We would like to make the review process transparent and efficient and make sure no contributor feel confused or frustrated. However, the vLLM team is small, so we need to prioritize some PRs over others. Here is what you can expect from the review process:

 After the PR is submitted, the PR will be assigned to a reviewer. Every reviewer will pick up the PRs based on their expertise and availability.
 After the PR is assigned, the reviewer will provide status update every 2-3 days. If the PR is not reviewed within 7 days, please feel free to ping the reviewer or the vLLM team.
 After the review, the reviewer will put an  action-required label on the PR if there are changes required. The contributor should address the comments and ping the reviewer to re-review the PR.
 Please respond to all comments within a reasonable time frame. If a comment isn't clear or you disagree with a suggestion, feel free to ask for clarification or discuss the suggestion.

Thank You
 Finally, thank you for taking the time to read these guidelines and for your interest in contributing to vLLM. Your contributions make vLLM a great tool for everyone!

It doesn't change how it is tested locally because in that case, it just uses the default (same as master). But it'd be good to explain how to test different backends, so I will add comments to test files!

@simon-mo I found there's torch sdpa and rocm. I assume rocm doesn't make much sense and sdpa was for cpu? Do you suggest to add sdpa attn backend here?

I believe the torch version can serve as a reference implementation. And the rocm is triton based? Please try it and if not working then feel free to remove them.

SPDA -> it is not using GPU path anymore; https://github.com/vllm-project/vllm/commit/8afca50889bad6ad987c523c48c31fc52fcb72e4. So this PR won't cover it.
ROCM -> there was a bug with naive attention, and I fixed it in this PR.
None native attention seems to fail with odd issue
TypeError: got an unexpected keyword argument 'waves_per_eu'

So I didn't handle it

I think the failures are unrelated, and it may be caused by https://github.com/vllm-project/vllm/pull/4012

I think the failures are unrelated, and it may be caused by #4012

I also notice this error, I will process it  as soon as possible


⚠ Bofrost.de has degraded performance

In 3239eab, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 704 ms

Resolved: Bofrost.de performance has improved in 72b2ecd.


Fix ci

Drop testing on ruby 1.9.3
Ensure correct versions of nokogiri and activesupport are used, based on ruby version

Fixes #21

Fixes #18


docs: bump version to v2

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.2%) to 52.751%

Files with Coverage Reduction
New Missed Lines
%

internal/helm/chart/dependency_manager.go
2
90.1%

Totals

Change from base Build<PHONE_NUMBER>2:
0.2%

Covered Lines:
1726

Relevant Lines:
3272

💛  - Coveralls


Product detail

Status 200:

Status 404:

I think this page should be in storefront rather than backoffice

On Yas - StoreFront


remove old dweet code that wasnt used

Codecov Report

Merging #46 (d844912) into master (43c1567) will decrease coverage by 1.36%.
The diff coverage is 72.41%.

@@            Coverage Diff             @@
##           master      #46      +/-   ##
==========================================
- Coverage   33.64%   32.28%   -1.37%
==========================================
  Files          16       10       -6
  Lines        1275      982     -293
  Branches      132      110      -22
==========================================
- Hits          429      317     -112
+ Misses        823      655     -168
+ Partials       23       10      -13

Impacted Files
Coverage Δ

src/dredge_logger/dweetUpdater.py
19.51% <ø> (+19.51%)
:arrow_up:

src/dredge_logger/gui.py
0.00% <0.00%> (ø)

src/dredge_logger/setup.py
0.00% <ø> (ø)

src/dredge_logger/Log.py
43.67% <73.07%> (+43.67%)
:arrow_up:

src/dredge_logger/config.py
82.27% <100.00%> (+8.27%)
:arrow_up:

Tests/parse_json_test.py

Tests/parse_xml_test.py

Tests/testUtils.py

setup.py

Tests/csv_test.py

... and 6 more

Continue to review full report at Codecov.

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


Modify elements position and styles

Hi, nice component! , i'm trying to achieve something like this :

Is there any way to do this with actuall options ?
Thanks

@gonzalovp As of now you can't achieve that with the plugin. I recommend you fork the repo and modify the components/DoneButton.ios.js and components/DoneButton.android.js files to suit your needs.

@gonzalovp Did you ever figure out how to do this? I am looking into something similar.

Still no solution to this?


Command issue

==============================================================================
Task         : Sentry CLI Freestyle
Description  : Task for running the sentry CLI (1.0.5)
Version      : 1.0.5
Author       : Daniel Habenicht
Help         :
==============================================================================
C:\Windows\system32\cmd.exe /D /S /C ""C:\Program Files\nodejs\npm.cmd" run sentry --[MY COMMAND]"
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path D:\Tools\DevOps\Agent\_work\1\s\package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'D:\Tools\DevOps\Agent\_work\1\s\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

I have a feeling this plugin doesn't work any longer. Also the UI looks different than in your screenshot.

Can you provide a working example:

samples on how to 'login'
sample yaml file for azure pipeline

Wow this has been posted a long time ago, I'm facing the same issue. Has any one cracked this one?

Sorry, I haven't used this in along time. I will probably mark this package as deprecated.

Thanks for confirming.


os-frr: area setup for non default area types in OSPF

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
[x] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
[x] I have searched the existing issues and I'm convinced that mine is new.
[x] When the request is meant for an existing plugin, I've added its name to the title.
Is your feature request related to a problem? Please describe.
In a new setup a uplink router, we need to connect to an existing OSPF area. This area is defined as 'not-so-stubby-area' (nssa). All routers in one area need to use the same area configuration, so all routers including the opnsense boxes need to define the area as nssa in this case. The same might be true for other area types, too.
Describe the solution you'd like
In the current configuration pages, there is no way to define the area itself, just networks and interfaces (which might be linked to certain areas). IMHO the best but also most work intensive option is adding areas as first class objects next to interfaces and networks; the configuration pages for both can refer to the configured areas instead of entering the area as IP address or area number. This might also reduce typing errors.
The area configuration itself need to include e.g. a checkbox or radio box for the various configurable area types. It can also be used to define the redistribution option for announce other networks.
Describe alternatives you've considered
I'm currently using a manually edited ospfd.conf, but this solution is suboptimal and overwritten each time a configuration change is saved in the web interface.
I could also switch to static routes, but I consider area types an important feature of OSPF, and they should be added to the plugin.

Can you post the manually edited ospfd.conf and the one which get's generated (overrides it). I'm not sure if I can follow but the diff would certainly explain it :)

Two years later and it doesn't seem like anything has changed. Any way to force it to work - even if it it's manually in cli?

Any updates here?  This is pretty much required with any OSPF implementation on a firewall nowadays.


Is it a good idea to use latest version in all packages?

I see bulma was already in 0.6.1 but in @nuxtjs/bulma was just ^0.5.1.
Since you use a helper module, that means you didn't care about which version you
used but it should be the newest one.
I mean, if you want to use the older version, just look around how @nuxtjs/bulma
was made and specify the version when adding it, and no needs to send a issue or pr
for upgrading dependencies in @nuxtjs/modules anymore.
"dependencies": {
  "bulma": "latest"
}

https://github.com/nuxt-community/modules/blob/master/packages/bulma/package.json#L12

I think the modules should not depend these frameworks directly, maybe peerDependencies is a choice, we can let users add specific version dependency by themselves.

@clarkdo I agree with you, in that case, we would have to implement peerDependencies on all modules, right?

@anteriovieira Yeah, we may change it one by one and keep discussing. 😸

Okay, so I'm going to start with a pull request for  @nuxtjs/bulma :smiley:


Update for new PHP

which version of php?

which version of php?

PHP 8.0

@lessmore92 Code fails without this on Compile error

After some debugs based original js source code, i found the correct syntax for shorthand if in our case is $flag = $tag === false ? 0 : ($tag <= MAX_32_BIT_UNSIGNED_INT ? 1 : 2);


AAPT: error: resource android:attr/lStar not found.

Encountered the following issue while building an APK:
Execution failed for task ':netless_react-native-whiteboard:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action.
> Android resource linking failed.
ERROR: /Users/xxxxx/Desktop/practical/node_modules/@netless/react-native-whiteboard/android/build/intermediates/merged_res/release/values/values.xml:2722: AAPT: error: resource android:attr/lStar not found.

Found a same issue from other repo. May you give give it a try.
https://github.com/react-native-netinfo/react-native-netinfo/issues/636#issuecomment-1305823220


transientStorage functions

Pull Request adds TransientStorage functions to fe based on issue #978

@Hrushi20 you can test locally using cargo test or cargo test --features solc-backend
I forgot to mention that solc-rust will need to be updated from 0.8.22 to 0.8.24. this is usually a pretty straight forward task

Sorry for the late fix. Got caught up with other works.

Hey, how do I fix the broken tests?


Add latest to GitHub

It's a bit slack - I have a bunch of code that I still haven't added to github for this

Yep. I added it.
It's got SimpleInjector (nice!) and NLog/Common.Logging stuff to make it all easy to work with Moq.
This is a pretty basic app, and doesn't need DI, but my word this is good stuff for learning .. err.. more stuff.


Placeholder text of search attribute mapping is not displayed properly

Is your suggestion related to an experience ? Please describe.
Placeholder text of search attribute mapping is not displayed properly

Expected Behavior
Increase the width of the search attribute mapping field.

Verified in the new pack


device for sample points in absProblem

@ndem0 seems tests fails cuz there is not support for GPU on the machine the test are running...

Let's try to add in the workflow GPU tests, it seems that now they are not working.


ObjectWriteStreambuf Corrupted When Bytes Not Fully Uploaded

Does this issue affect the google-cloud-cpp project?
Yes
What component of google-cloud-cpp is this related to?
GCS
Describe the bug
The object write streambuf implements std::basic_streambuf and writes are performed using the streaming operator which triggers xsputn().  It makes a call to FlushRoundChunk and assumes that all bytes that aren't uploaded will be stored in current_ios_buffer_ and the internal stream pointers will get updated accordingly.
FlushRoundChunk makes a call to upload_session_->UploadChunk() and assumes that a good response means that all rounded_size bytes in buffers have been uploaded because they are later discarded.  The check here should probably just check that actual_next_byte < expected_next_byte.  and return an error if this isn't the case, though more complicated logic could be added to see if there is room in the buffer for the uncommitted bytes and stick them there and return success.
This issue is triggered (or at least made more prevalent) by [this commit](https://github.com/googleapis/google-cloud-cpp/commit/38d1d2a327dbbcb4c85e0cf88349c2a4fe143ed8 which started return OK when no bytes were committed.
To Reproduce
Very hard to do because it relies on very uncomon GCS behavior but here's how it's triggered (reach out to me internally for some logs that show this)
Steps to reproduce the behavior:

Create a resumable upload and start writing data.
Start writing bytes to the stream.
Either a) get GCS to partially upload the bytes or b) get GCS to return a retriable failure and then have reset_session succeed before the retry policy is exhausted in retry_resumable_upload_session.
Continue writing bytes to the stream.

The finalized object will be smaller than expected with a gap corresponding to the dropped bytes in 3.
Expected behavior
No dropped bytes.  The stream goes into a bad state if bytes are dropped, allowing the user to resume the session again and avoid corruption.
Operating system:
Na
What compiler and version are you using?
Na
What version of google-cloud-cpp are you using?
Head
Additional context
Add any other context about the problem here.

Update: short writes aren't caused by retry policy exhaustion as previously suspected.  Instead they are caused by relying on committed_size_ not being the same as session_->next_expected_byte() right after uploads are resumed.  This leads to this behavior:

Resume session mid-upload (N bytes committed).
Upload a chunk (size < N).
pre_operation_committed_size set to 0.
GCS returns an error.
Call the reset function.  This succeeds and returns committed_size = N
written is computed as N rather than 0.
PopFrontBytes removes up to N bytes which clears the input buffer.
The next write succeeds in uploading 0 bytes and success is returned.