Build fails on production environment

I am not able to build on Netlify. The module works in development environment, but it fails on Netlify when NODE_ENV is set to production:

✖ Nuxt Fatal Error                                       │                              │

Error: Cannot find module '@nuxtjs/color-mode'           │
Require stack:                                           │
<EMAIL_ADDRESS>
"devDependencies": {
    "@nuxtjs/color-mode": "^2.1.1",
}

On Netlify my NODE_VERSION is 14.

@retroriff do you mind explaining how you fixed this issue if you did? I am facing the same problem

The problem was that i have manually set NODE_ENV in the environment variables which was disabling dev deps installs WARNING: The environment variable 'NODE_ENV' is set to 'production'. Any 'devDependencies' in package.json will not be installed. Hope this helps anyone who faced the same problem.


Removed unnecessary @Local annotations and their respective imports

Following @rafaelweingartner 's findings in PR #714 that many spring beans contained an @Local annotation, we've decided to remove said annotations and their imports seeking a reduction of a few hundred lines of useless code.

Hi @critofolini, I think that there is a problem in your PR in class: SecurityGroupManagerImpl

@cristofolini, could you squash your commits into a single one?

@rafaelweingartner Done.


Possible to automatically merge a PR?

I don't know if I accidentally merged a PR, or if this extension automatically triggered a merge. I'm guessing I accidentally merged the wrong PR, but, I'm curious, does it seem even remotely possible that this extension incidentally merge a PR? Does this extension even contain code that can cause a PR to merge? (jquery selector for merge button, some api endpoint that triggers merge?)

We do have code to merge a PR, but only after the user clicks "Merge" in the first place: wait-for-checks
The only way for this to have happened, by mistake, due to Refined GitHub:

Click "Merge" while CI is running
Click "Cancel"
❌  Refined GitHub forges to cancel the CI observer


Delete entity

Physical or virtual?
I think media should always do physical and the URL is /api/media/id/content which is the location returned by the POST (upload) method.

From RFC 2616

A successful response SHOULD be 200 (OK) if the response includes an entity describing the status, 202 (Accepted) if the action has not yet been enacted, or 204 (No Content) if the action has been enacted but the response does not include an entity.

Let's do physical delete for now.


Rendering issue with flipped+rotated child canvas entities

Hi,
I've noticed a re-rendering issue when you attach a flipped+rotated canvas child entity to a parent entity. Not sure if I'm doing something wrong or if it's a legit bug, but here is a small demo: http://pastie.org/private/bsq9ixp6fkqzuxylmr70g
Let me know if there is any other information I could provide that might be helpful.

Thanks for the report!  There was a bug with setting the canvas context -- it could produce some really weird graphical glitches when entities were both flipped and rotated, and I'd assume that's what you're seeing.
Luckily, it was fixed in the develop branch by #839.  You can test the most recent beta build to make sure that the issue is gone.  (But make note of the breaking changes, in case they affect your game.)

Just checked it out and it does indeed fix the issue for me. Thanks!


⚠ Bofrost.fr has degraded performance

In 7e97047, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 927 ms

Resolved: Bofrost.fr performance has improved in 96da2f5.


Scala interop improvements

See https://github.com/rstudio/sparklyr/issues?q=is%3Aopen+is%3Aissue+label%3Ascala-interop.
Creating this issue to track and consolidate discussion, and targeting for 0.9 to make sure we get them triaged. I suspect some of these would require major refactoring in the invoke() mechanism but some might be easy to work around.
cc @schlichtanders @javierluraschi
@schlichtanders - If you're still working on sparklyr extensions, could you describe the use cases to help prioritize?

after I started using sparklyr in R as interface to Spark I came accross the following usecases where I needed to fall back to Scala Spark:

defining extra UserDefinedFunctions (simple scala interface)
reimplement things in Scala, because of memory/performance issues
adapt Scala SparkML Models to get access to internal intermediate computation results
write new Scala SparkML Models

All of those things written in Scala I would like to have easy access to from R side. Instead of writing a new R-Interface for everything written on Scala side (and adapt it for every change on Scala side) I very soon realized that it should be far easier to just call the Scala utilities directly from R.

In principle that is right, however, the Scala-R compatibility was much more restricted than I expected. This is mainly due to implicit values / parameter constraints which many Scala functions require. They work seamlessly on Scala side because of the compiler, however on R side Scala is only interfaced in runtime so that you have to pass them explicitly as additional function parameters.
One other systematic difference is that in Scala functions are often defined on objects with def, however this is hardly accessible from R. Defining functions anonymously with val and an anonymous  function circumvents this however it is quite annoying to think about which functions might be used in R and which are fine to write as def.
In addition to this compile-time vs runtime difference between Scala vs R there have been a couple of other more concrete issues which have been reported and are now also labeled as "scala-interop".

In total the current interface between R and Scala complicated the Scala development too much for now (many of these problems just never occur in pure scala development). My road ended at developing 100% in Scala.


Assertj must include commons-lang3 copyright notice to comply with its license

Describe the bug
https://github.com/assertj/assertj-core/pull/2685 introduced code borrowed from org.apache.commons.lang3, so you must include NOTICE in both source and binary re-distributions of assertj (see https://github.com/apache/commons-lang/blob/master/NOTICE.txt, https://github.com/apache/commons-lang/blob/master/LICENSE.txt#L37-L38).

Thanks for raising this, @vlsi.
Adding a NOTICE file is not a problem from my point of view, but we could also have a custom and simpler implementation as we don't target all the use cases commons-lang supports.

Hi @khmarbaise, may I ask your opinion about this topic?
To solve #2685, we've taken some methods from commons-lang and added them to the AssertJ codebase:
https://github.com/assertj/assertj-core/blob/befef07f172031847cbdd7a7e0622d52a64a9033/src/main/java/org/assertj/core/internal/Strings.java#L1360-L1445
Both AssertJ and commons-lang are licensed as Apache 2.0. Would a NOTICE file with the following statement be enough to properly recognize the work attribution?
This product includes software developed at
The Apache Software Foundation (https://www.apache.org/).

Would a NOTICE file with the following statement be enough to properly express the work attribution?

One more thing is to add would be adding the following to the source redistribution of AssertJ https://github.com/apache/commons-lang/blob/master/src/main/java/org/apache/commons/lang3/StringUtils.java#L2-L15 (e.g. assertj-core-...-source.jar on Central)

Sorry for the late response... my personal opinion is this is sufficient. Yes... but I'm not a lawyer...

commons-lang code is no longer used.


ManifestSummary popover heigh max to 100vh in small viewport

Changes in this pull request
The root popover, ManifestSummary, expands beyond the bounds of the page in small viewports. See https://github.com/contentauth/c2pa-js/issues/93. This change makes #container flex flow column layout so in cases where #content-container is larger than #container, the 'view more' button stays on screen.
https://github.com/contentauth/c2pa-js/assets/7935599/57d2857c-5d95-42de-b509-fe92502803be
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)

Checklist

[x] All applicable changes have been documented
[x] Any TO DO items (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment

Hmm, I'm realizing there may be a way to do this more sustainibly by using floating-ui size.


catalina.properties

Why we don't just skip all jar :
tomcat.util.scan.DefaultJarScanner.jarsToSkip=*.jar

Hi
Sorry for the late respond, kind of busy. Can you give me some more context about what you need  the project to do?

I want to boost the start-up of tomcat instance by skipping the TLD scan which explained in this article https://wiki.apache.org/tomcat/HowTo/FasterStartUp
But supprisingly I found in catalina.properties that you didn't skip all jars
https://github.com/mikelasla/alfresco/blob/master/assets/tomcat/catalina.properties
Please, could you explain that for me?
Thanks

That's the default value for tomcat.util.scan.DefaultJarScanner.jarsToSkip on Tomcat 7.0.69
I need to override catalina.properties file just to set the shared.loader property needed by Alfresco to configure the application from outside the war, nothing else.

@mikelasla Thanks


Add versioning of dependencies to avoid implicit upgrades and also for reproducibility

At the moment, there's only one version of the image on Docker Hub and that's been set to :latest i.e. sha256:0c4e97a. Typically one would be able to specify the version that you want to avoid implicit upgrades (especially since we intend to use this in a production environment). I think this would be a hard requirement before https://github.com/aviggiano/redis-roaring/issues/64 can be closed.
And so I have been trying to build the Docker image for myself so that I can lock in the versions and noticed a few things:

The dependencies specified as submodules in the deps/ are pointing to really old versions:

CRoaring @ fd6f6ff - 4th Sep 2018, latest tag is v0.4.0 (12 Oct 2021, so outdated, see fd6f6ff...v0.4.0)
hiredis @ 3d8709d - 6th Jan 2018, latest tag is v1.0.2 (7 Oct 2021, so outdated, see 3d8709d...v1.0.2)
redis @ 58f79e2 - 10th May 2017, latest tag is 6.2.6 (4 Oct 2021, so outdated, see 58f79e2...6.2.6)
sds @ 8dc8d6f - 29th Aug 2018, latest tag is 2.0.0 (25 Jul 2015, so outdated, see 8dc8d6f...2.0.0)

The Dockerfile is always pulling the latest Redis. This implicitly means we're implicitly pulling the latest non-rc image i.e. redis:6.2 or redis:6.2.6 or 6.2.6-bullseye etc (not entirely sure how it chooses).
https://github.com/aviggiano/redis-roaring/blob/4fa6e4ebebe72cea5d23b4791812e09d4973d35c/Dockerfile#L1
The .configure.sh script builds the module against the outdated packaged dependencies. Since we don't have git submodule update --remote it uses the SHA checked out against the submodule. I don't think adding --remote would be the solution as that would update the submodule to HEAD of the main branch (which is another implicit upgrade).
https://github.com/aviggiano/redis-roaring/blob/4fa6e4ebebe72cea5d23b4791812e09d4973d35c/configure.sh#L6
And so it seems that we're the Docker build process builds the module against old dependencies but then we have an current version of the Redis server (from the upstream Docker image specified in FROM).

On that last point you can see that the packaged Redis in the image from the upstream image is current ...
$ docker run -it aviggiano/redis-roaring:latest /bin/bash
Unable to find image 'aviggiano/redis-roaring:latest' locally
latest: Pulling from aviggiano/redis-roaring
7d63c13d9b9b: Pull complete
a2c3b174c5ad: Pull complete
283a10257b0f: Pull complete
7a08c63a873a: Pull complete
0531663a7f55: Pull complete
9bf50efb265c: Pull complete
0f3cbd753d42: Pull complete
f1fa3f8174da: Pull complete
365e8424e270: Pull complete
Digest: sha256:0c4e97accbf6821b828b46aef0b77572b6d3866b6fb3b17e9f0ffd527f8cbeb3
Status: Downloaded newer image for aviggiano/redis-roaring:latest

root@1a621edf40ad:/data# redis-server --version
Redis server v=6.2.6 sha=00000000:0 malloc=jemalloc-5.1.0 bits=64 build=1527eab61b27d3bf

But the results of the build are different ...
root@1a621edf40ad:/tmp/redis-roaring# ls -l dist/
total 28424
-rwxr-xr-x 1 root root  472048 Feb 16 10:45 libredis-roaring.so
-rwxr-xr-x 1 root root 3209632 Feb 16 10:45 redis-benchmark
-rwxr-xr-x 1 root root   30688 Feb 16 10:45 redis-check-aof
-rwxr-xr-x 1 root root 7304368 Feb 16 10:45 redis-check-rdb
-rwxr-xr-x 1 root root 3402152 Feb 16 10:45 redis-cli
-rwxr-xr-x 1 root root 7304368 Feb 16 10:45 redis-sentinel
-rwxr-xr-x 1 root root 7304368 Feb 16 10:45 redis-server
-rw-r--r-- 1 root root   57819 Feb 16 10:45 redis.conf

root@1a621edf40ad:/tmp/redis-roaring# ./dist/redis-server -v
Redis server v=999.999.999 sha=58f79e2f:0 malloc=jemalloc-4.0.3 bits=64 build=8708dba438881529

root@1a621edf40ad:/tmp/redis-roaring# git log
commit 4fa6e4ebebe72cea5d23b4791812e09d4973d35c (grafted, HEAD, origin/master, origin/HEAD, master)
Author: Antonio Viggiano<EMAIL_ADDRESS>Date:   Wed Nov 10 09:17:12 2021 -0500

    Update README.md

I thought of using the exact SHA of the Docker image with something like this ...
FROM aviggiano/redis-roaring:1.15.3-alpine@0c4e97accbf6821b828b46aef0b77572b6d3866b6fb3b17e9f0ffd527f8cbeb3

But I'm not sure that is reliable either as I the Dockerfile used to build that image doesn't seem to be similar to the one in this repository.

There's a step in there that makes it look like we're copying in other files into the image ...
COPY file:df205a0ef6e6df8947ce0a7ae9e37b6a5588035647f38a49b8b07321003a8a01 in /usr/local/bin/

Hi @itskingori
Thank you for the interest in this project and for submitting this issue
I'm currently on vacation but I'll take some time to review this issue as soon as I get back.
If you have a PR feel free to submit it!
Get back to you soon

@aviggiano That's alright. Check out https://github.com/aviggiano/redis-roaring/pull/99 when you get back.

@hadrianvalentine @zacblazic Just tagging you guys so that you're in the loop.


Add new relay

hey grunch, I am not sure I want to add any other default relays at the moment, as these get added to the user's relays if they create their account and add a relay via astral. will likely be parsing down this list in the future.

hey @grunch just wanted to let you know that wss://relay.grunch.dev was added to one of the relay options in astral (its just not one of the defaults).

great, thanks


Program fails to update

VSCode Version:  1.24?  Trying to update to 1.25
OS Version: Windows 10 Pro

Steps to Reproduce:

I simply tried to update and got an error message that it failed, suggesting to open an issue and attach a file (which is hopefully the right one).
Sorry, there is no step 2 ... I have to install the new version as the old one is no longer installed.

This is the second time it happens when I try to update VS code.  I believe that a similar issue also happened when I tried to update another program lately. It might be caused by some Windows settings - or perhaps by Malwarebytes and/or CCleaner who are running in the background, doing some monitoring.  Sorry that I cannot be more helpful.  See the file attached.

Does this issue occur when all extensions are disabled?: Yes/No
N/A
operation_log.txt

Sorry, I believe that I might have attached the incorrect file in my report.
vscode-inno-updater.log

I have encountered a problem with the update today. There is a folder called '-' under the path.
I modified the extensionAllowedProposedApi of Microsoft VS Code\resources\app\product.json.
This is the update log
vscode-inno-updater.log

You seem to have #47841.
Please read this comment if you can provide more detail: https://github.com/Microsoft/vscode/issues/47841#issuecomment-393101777
Please read this one to disable background updates: https://github.com/Microsoft/vscode/issues/47841#issuecomment-395017687
Also read this one to provide feedback on our new user setup: https://github.com/Microsoft/vscode/issues/47841#issuecomment-399941682


Fix underflow in scrolling

When window was smaller than whole display
scrolling by small step could cause underflow
in the offset computation.

@yuri91 Hi, can you please take a look?

@yuri91 Hi, can you please take a look?


mb_convert_encoding() Definition Needs to Check for Existing Definitions

mb_convert_encoding() method is currently being defined in the global scope.  If a definition of it has already been defined by another library, it needs to not try to redefine it.
Original conflict found between Patchwork and symphony/polyfill-mbstring when running composer update.

Will be fixed in v1.3.0 see #55
Meanwhile, please ensure that you allow v1.3 in your composer.json file to get this next version.

Fixed in v1.1.31, v1.2.6 and v1.3.0


[Question]: Release planned ?

What happened?
Hi, very nice package you got there. We are interested in using it (and possibly contribute). I see the readme has information in not yet released stuff (namely Clickbar\AgGrid\Requests\AgGridSetValuesRequest). Do you guys plan on a new release soon, or should we just for our own ?
Cheers,
How to reproduce the bug
composer require the package
Package Version
0.2.1
PHP Version
8.2
Laravel Version
10
Which operating systems does with happen with?
No response
Notes
No response

Nevermind, we are going another route for the filtering. Nice package though!


Disable tab throttling

Summary
This flags were added to default config:
'--disable-background-timer-throttling'
'--disable-backgrounding-occluded-windows'
'--disable-renderer-backgrounding'

Test plan
I created a test to make sure that everything is okay with launch.args.
fixes https://github.com/smooth-code/jest-puppeteer/issues/137

Thanks!


Using env vars in custom ssh sessions

In case someone logs in to the device though their own-run SSH, and need the resin-specific env vars.
 Front conversations

Documented here: https://docs.resin.io/runtime/runtime/#using-resin-ssh-from-the-cli


metrics(ticdc): add db metrics

What problem does this PR solve?
Add metrics about leveldb sorter. Also it fixes misplace Peer Message planes.
Issue Number: ref #3227
Check List
Tests

Manual test (add detailed scripts or steps below)

Release note
None

Codecov Report

Merging #4148 (5ed8c24) into master (08da001) will increase coverage by 0.1574%.
The diff coverage is 65.1162%.

Flag
Coverage Δ

cdc
58.9393% <67.8571%> (+0.2945%)
:arrow_up:

dm
52.2385% <45.1923%> (-0.0161%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #4148        +/-   ##
================================================
+ Coverage   55.1722%   55.3296%   +0.1574%
================================================
  Files           485        489         +4
  Lines         59829      60454       +625
================================================
+ Hits          33009      33449       +440
- Misses        23484      23616       +132
- Partials       3336       3389        +53

/merge

/run-verify-test

/run-kafka-integration-test

/run-dm-integration-test


conda install -y -c Quantopian zipline=1.1.0 PackageNotFoundError

Dear Zipline Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment

Operating System: Darwin ws 16.5.0 Darwin Kernel Version 16.5.0: Fri Mar  3 16:52:33 PST 2017; root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64
Python Version: Python 3.4.5 :: Continuum Analytics, Inc.
Python Bitness: 64
How did you install Zipline: conda
Python packages:

# packages in environment at /Users/stallman/anaconda/envs/py34:
#
alembic                   0.7.7                    py34_0    Quantopian
bcolz                     0.12.1              np110py34_0
bottleneck                1.0.0               np110py34_1
cachetools                1.1.6                    py34_0    Quantopian
click                     6.7                      py34_0
contextlib2               0.5.4                    py34_0
cyordereddict             0.2.2                    py34_0    Quantopian
cython                    0.25.2                   py34_0
decorator                 4.0.11                   py34_0
empyrical                 0.2.0                    py34_0    Quantopian
intervaltree              2.1.0                    py34_0    Quantopian
logbook                   0.12.5                   py34_0    Quantopian
mako                      1.0.6                    py34_0
markupsafe                0.23                     py34_2
mkl                       11.3.3                        0
multipledispatch          0.4.9                    py34_0
networkx                  1.11                     py34_0
numexpr                   2.6.0               np110py34_0
numpy                     1.10.4                   py34_2
olefile                   0.44                      <pip>
openssl                   1.0.2k                        1
pandas                    0.17.1              np110py34_0
pandas-datareader         0.2.1                    py34_0
patsy                     0.4.1                    py34_0
Pillow                    4.1.0                     <pip>
pip                       9.0.1                    py34_1
psycopg2                  2.7.1                     <pip>
python                    3.4.5                         0
python-dateutil           2.6.0                    py34_0
pytz                      2017.2                   py34_0
readline                  6.2                           2
requests                  2.13.0                   py34_0
requests-file             1.4.1                    py34_0
scipy                     0.17.1              np110py34_1
selenium                  3.4.0                     <pip>
setuptools                27.2.0                   py34_0
six                       1.10.0                   py34_0
sortedcontainers          1.4.4                    py34_0    Quantopian
sqlalchemy                1.1.5                    py34_0
sqlite                    3.13.0                        0
statsmodels               0.6.1               np110py34_1
TA-Lib                    0.4.10                    <pip>
tk                        8.5.18                        0
toolz                     0.8.2                    py34_0
wheel                     0.29.0                   py34_0
xz                        5.2.2                         1
zipline                   1.0.2               np110py34_0    Quantopian
zlib                      1.2.8                         3

Now that you know a little about me, let me tell you about the issue I am
having:
Description of Issue

What did you expect to happen?
What happened instead?

Here is how you can reproduce this issue on your machine:
Reproduction Steps
conda install -y -c Quantopian zipline=1.1.0
Fetching package metadata ...........

PackageNotFoundError: Package not found: Conda could not find '

Sincerely,

Hi @gnuhub. You're getting this error because we have not yet built OS X conda packages for the latest zipline release. At some point we'll have to add that but for now using zipline 1.0.2 or zipline master should work fine.


Allow subdomain in 'project init --domain'

I want to set up a project using subdomain 'archer.reinvent-trivia.com', to reduce blast radius from the root domain reinvent-trivia.com.
I get:
$ archer project init --domain archer-test.reinvent-trivia.com
Looks like you are using a workspace that's registered to project clares-demos. We'll use that as your project.
Error: get domain details for archer-test.reinvent-trivia.com: UnsupportedTLD: reinvent-trivia.com tld is not supported
	status code: 400, request id: 5d2bd74a-f6df-463a-86e2-245c824876ab

I'm guessing this is splitting on the first period it finds, and assuming the format is 'domain.tld' vs 'subdomain.domain.tld'?

Oh that’s a good point. Perhaps we can loosen up to check to make sure you have a hosted zone with the right name.


[web] WIP/RFC Sketch out another idea for handling API 401s

Do not merge.
Another experiment - this one includes a wrapper type around the request errors, making the difference between HandledError and UnhandledError more explicit.
I’ve only implemented it for one request, the Request.Project.list one, to see whether it could work (that’s why there’s a second transition function at the moment).
It changes the signature of the Request.Project.list function to return the request Task rather than the Request itself, so that it can include the failure handling.
I’ve also played around with using a generic LoadFailed msg to display error content rather than the ProjectsLoaded (Ok …) and ProjectsLoaded (Err …) approach, which has duplicated error handling for each page.
Just experimenting anyway - the previous PR included a bit of dodgy Result.Err unpacking which this avoids, but it still might not be the right answer :)

Great work!
Now we just need to handle sub-pages, but I've used this and it seems to work great for the root pages :).

Do not merge.

Request ignored! Merging!


After "container init" standby sometimes hangs at initial wal segments

The problem manifests in standby log repeating lines like the following endlessly:
2016-04-20 17:31:00.340 CEST,,,31825,,5717a0b4.7c51,6,,2016-04-20 17:31:00 CEST,,0,LOG,00000,"invalid record length at 0/56000140",,,,,,,,,""
2016-04-20 17:31:00.353 CEST,,,31825,,5717a0b4.7c51,7,,2016-04-20 17:31:00 CEST,,0,LOG,00000,"restored log file ""000000010000000000000056"" from archive",,,,,,,,,""

The wal_archive looks fine, and is streaming replication data, but closer inspection and comparison with another archive shows that an early segment file is corrupted.

The problem is most likely how the wal_archive is seeded with files from standby/pg_xlog in function
container_init(). The last segment copied over should be renamed to *.partial, otherwise pg_receivexlog assumes it is complete.
The same problem may exist in container_resync().
A workaround is to stop wal_archive, find the broken segment, rm all newer ones, and rename it manually to *.partial, and then start wal_archive again. This only works as long as the upstream server still has all the wal files.

Fixed with #9.


ppc64le: Issue with gcc-12 and gcc-13

Solution to issue cannot be found in the documentation.

[X] I checked the documentation.

Issue
gcc -o t t.c -mcpu=native
cc1: error: unrecognized argument in option '-mcpu=native'
cc1: note: valid arguments to '-mcpu=' are: 401 403 405 405fp 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620<PHONE_NUMBER> 7450 750 801<PHONE_NUMBER> 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc e500mc64 e5500 e6500 ec603e power10 power3 power4 power5 power5+ power6 power6x power7 power8 power9 powerpc powerpc64 powerpc64le rs64 titan

Installed packages
# packages in environment at /home/raji/anaconda3/envs/gccissue:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
binutils_impl_linux-ppc64le 2.40                 hba8546e_0    conda-forge
bzip2                     1.0.8                h7b6447c_0
ca-certificates           2024.2.2             h0f6029e_0    conda-forge
gcc                       13.2.0               hb8c6617_3    conda-forge
gcc_impl_linux-ppc64le    13.2.0               h7908001_5    conda-forge
kernel-headers_linux-ppc64le 3.10.0              h1da2f99_10
ld_impl_linux-ppc64le     2.40                 hfa29eb9_0    conda-forge
libffi                    3.4.4                h4a02239_0
libgcc-devel_linux-ppc64le 13.2.0             hf1adbf4_105    conda-forge
libgcc-ng                 13.2.0               h31ea8bd_5    conda-forge
libgomp                   13.2.0               h31ea8bd_5    conda-forge
libsanitizer              13.2.0               h0849fd4_5    conda-forge
libstdcxx-ng              13.2.0               h0849fd4_5    conda-forge
libuuid                   1.41.5               hf118e41_0
ncurses                   6.4                  h4a02239_0
openssl                   3.2.1                ha17a0cc_1    conda-forge
pip                       23.3            py310h6ffa863_0
python                    3.10.13              h112ed23_0
readline                  8.2                  hf118e41_0
setuptools                68.0.0          py310h6ffa863_0
sqlite                    3.41.2               hf118e41_0
sysroot_linux-ppc64le     2.17                h302c3fa_10
tk                        8.6.12               h7e00dab_0
tzdata                    2024a                h04d1e81_0
wheel                     0.41.2          py310h6ffa863_0
xz                        5.4.2                hf118e41_0
zlib                      1.2.13               hf118e41_0

Environment info
     active environment : gccissue
    active env location : /home/raji/anaconda3/envs/gccissue
            shell level : 2
       user config file : /home/raji/.condarc
 populated config files :
          conda version : 22.9.0
    conda-build version : 3.22.0
         python version : 3.9.13.final.0
       virtual packages : __linux=4.18.0=0
                          __glibc=2.28=0
                          __unix=0=0
                          __archspec=1=ppc64le
       base environment : /home/raji/anaconda3  (writable)
      conda av data dir : /home/raji/anaconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-ppc64le
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-ppc64le
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/raji/anaconda3/pkgs
                          /home/raji/.conda/pkgs
       envs directories : /home/raji/anaconda3/envs
                          /home/raji/.conda/envs
               platform : linux-ppc64le
             user-agent : conda/22.9.0 requests/2.28.1 CPython/3.9.13 Linux/4.18.0-513.24.1.el8_9.ppc64le rhel/8.9 glibc/2.28
                UID:GID : 1011:1011
             netrc file : None
           offline mode : False

Please format your error string correctly (using triple backticks), and provide the information requested in the issue template (conda list and conda info).

@h-vetinari updated the description

You are mixing packages between channels (conda-forge & Anaconda main), which is not supported. Every conda-forge feedstock (as well as the docs, obviously) contains the instructions to do:
conda config --add channels conda-forge
conda config --set channel_priority strict

Do that an then either update or recreate your environment. Then let us know if the problem still persists and I'll be happy to reopen the issue. In the meantime I'm closing this as not actionable.

@h-vetinari Can you please reopen the issue?  I have update the information with new environment.

This is blocking pytorch torch.compile workflow as we use -mcpu=native.
https://github.com/pytorch/pytorch/blob/main/torch/_inductor/codecache.py#L1394


Origin isn't being used to prefix the links

I'm developing a website to host on github pages, so I need to set a full address like macabeus.github.io/ryujinx-catalog/ as the prefix for all links.
But even setting it on elder.config.js or server.prefix such as:
module.exports = {
  origin: 'https://macabeus.github.io/ryujinx-catalog/',

module.exports = {
  origin: 'https://macabeus.github.io/',
  server: {
    prefix: '/ryujinx-catalog',

It isn't being used to prefix any links. For instance, the builder generates <link rel="stylesheet" href="/style.css" instead of <link rel="stylesheet" href="macabeus.github.io/ryujinx-catalog/style.css".

How to fix it?
Edit
Related: https://github.com/Elderjs/elderjs/issues/43

I stumbled across this issue as well, while trying to use elderjs to generate a static page for gitlab pages.
Basically I get to store files under a domain like https://jfowl.fspages.org/my-elderjs-site/.
The current docs, as interpreted by me, suggest to adjust the config in the following way
module.exports = {
  origin: 'jfowl.fspages.org/',
  [...]
  server: {
    prefix: 'my-elderjs-site/',
  },
}

when I run npm run build however, the prefix is not applied.
This is because most links are generated through helpers.permalinks.someSiteThingy({slug: 'foo'}).
According to https://github.com/Elderjs/elderjs/blob/master/src/utils/permalinks.ts#L10:
const permalinks = ({ routes, settings }) =>
  Object.keys(routes).reduce((out, cv) => {
    const prefix = settings.server && settings.server.prefix ? settings.server.prefix : '';
    // eslint-disable-next-line no-param-reassign
    out[cv] = (data) => `${prefix}${routes[cv].permalink({ request: data, settings })}`;
    return out;
  }, {});

it tries to pull the prefix from the server settings and prepend it to the url.
But!
https://github.com/Elderjs/elderjs/blob/master/src/Elder.ts#L84
this.settings.server = initialOptions.context === 'server' && this.settings.server;

during initialization, if the context isn't 'server', the server settings are gone.
Building however is always done with the context "build", so settings.server === false and the prefix disappears.
@nickreese was there a rationale behind not including the server's prefix in the build process?

I stumbled across this issue as well, while trying to use elderjs to generate a static page for gitlab pages.
Basically I get to store files under a domain like https://jfowl.fspages.org/my-elderjs-site/.
The current docs, as interpreted by me, suggest to adjust the config in the following way
module.exports = {
  origin: 'jfowl.fspages.org/',
  [...]
  server: {
    prefix: 'my-elderjs-site/',
  },
}

when I run npm run build however, the prefix is not applied.
This is because most links are generated through helpers.permalinks.someSiteThingy({slug: 'foo'}).
According to https://github.com/Elderjs/elderjs/blob/master/src/utils/permalinks.ts#L10:
const permalinks = ({ routes, settings }) =>
  Object.keys(routes).reduce((out, cv) => {
    const prefix = settings.server && settings.server.prefix ? settings.server.prefix : '';
    // eslint-disable-next-line no-param-reassign
    out[cv] = (data) => `${prefix}${routes[cv].permalink({ request: data, settings })}`;
    return out;
  }, {});

it tries to pull the prefix from the server settings and prepend it to the url.
But!
https://github.com/Elderjs/elderjs/blob/master/src/Elder.ts#L84
this.settings.server = initialOptions.context === 'server' && this.settings.server;

during initialization, if the context isn't 'server', the server settings are gone.
Building however is always done with the context "build", so settings.server === false and the prefix disappears.
@nickreese was there a rationale behind not including the server's prefix in the build process?

@jfowl I opened a PR fixing it. Maybe it could be useful for you

@jfowl I opened a PR fixing it. Maybe it could be useful for you

@jfowl @macabeus In early versions of Elder.js there were checks against settings.server in a few places in the code that is why the this.settings.server is overwritten.
I'm completely open to this refactor we just need to make sure things aren't breaking, especially plugins.
More thoughts on the PR.

@jfowl @macabeus In early versions of Elder.js there were checks against settings.server in a few places in the code that is why the this.settings.server is overwritten.
I'm completely open to this refactor we just need to make sure things aren't breaking, especially plugins.
More thoughts on the PR.

@jfowl @macabeus I've included full implementation details in the PR. It is a bigger change than you'd think change because writing files to the right location is tricky, permalinks underpin the entire system, and there are edgecases in lots of areas.
That said, if one of you tackles it I'm happy to review it.

@jfowl @macabeus I've included full implementation details in the PR. It is a bigger change than you'd think change because writing files to the right location is tricky, permalinks underpin the entire system, and there are edgecases in lots of areas.
That said, if one of you tackles it I'm happy to review it.

@jfowl @macabeus #128 should fix this issue.

@jfowl @macabeus #128 should fix this issue.


[FEATURE] Performance improvement by asymmetric quantization Quantize+FC

Description
This PR introduces a pass that transforms oneDNN operators pair quantize->FC so that oneDNN performs faster u8s8s32 inner_product instead of slower s8s8s32.
This is possible due to asymmetric quantization.
This pass is re-calculating the bias (b'=b-shift*w) and it tells the quantize operator to shift the input values to positive. In prototype we used shift value of 128 but now the shift is by min_calib_range to better utilize the quantized range.

This feature is by default enabled and it can be disabled by environment flag MXNET_DISABLE_SHIFTED_QUANTIZATION=1.
I also fixed linter errors include_what_you_use.
Checklist
Essentials

[x] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage
[ ] Code is well-documented

Current data:
Bert large samples per second:
Current Samples per second: 69.706
Previous Samples per second: 69.5381
Current with disabled shifted quantization: Samples per second: 69.6905

Bert large accuracy
with enabled: {"exact_match": 81.73131504257331, "f1": 89.42690117757154}
with disabled: {"exact_match": 81.84484389782403, "f1": 89.49955637348324}

@mxnet-bot run ci [ci/jenkins/mxnet-validation/clang, ci/jenkins/mxnet-validation/edge, ci/jenkins/mxnet-validation/unix-cp, ci/jenkins/mxnet-validation/unix-gpu]

@mxnet-bot run ci [clang, edge, unix-cpu, unix-gpu]

@mxnet-bot run ci [unix-cpu, windows-cpu]

@mxnet-bot run ci [centos-gpu, unix-cpu, windows-cpu, windows-gpu]

@mxnet-bot run ci [windows-cpu]

@mxnet-bot run ci [windows-cpu]

@szha can we merge it and open next PR based on this? @akarbown is on vacation.


KeyError: 'dataset'

When I tried to run segmentation by prompt through web, the console showed the error blow.
I use ubuntu 22.04, with a 16G 3080 gpu, 32G ram.
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/home/fqye/projects/lang-segment-anything/venv/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 408, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "/home/fqye/projects/lang-segment-anything/venv/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__
    return await self.app(scope, receive, send)
  File "/home/fqye/projects/lang-segment-anything/venv/lib/python3.10/site-packages/fastapi/applications.py", line 292, in __call__
    await super().__call__(scope, receive, send)
  File "/home/fqye/projects/lang-segment-anything/venv/lib/python3.10/site-packages/starlette/applications.py", line 122, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/home/fqye/projects/lang-segment-anything/venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 184, in __call__
    raise exc
  File "/home/fqye/projects/lang-segment-anything/venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "/home/fqye/projects/lang-segment-anything/venv/lib/python3.10/site-packages/starlette/middleware/cors.py", line 83, in __call__
    await self.app(scope, receive, send)
  File "/home/fqye/projects/lang-segment-anything/venv/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
    raise exc
  File "/home/fqye/projects/lang-segment-anything/venv/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "/home/fqye/projects/lang-segment-anything/venv/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
    raise e
  File "/home/fqye/projects/lang-segment-anything/venv/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
    await self.app(scope, receive, send)
  File "/home/fqye/projects/lang-segment-anything/venv/lib/python3.10/site-packages/starlette/routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "/home/fqye/projects/lang-segment-anything/venv/lib/python3.10/site-packages/starlette/routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "/home/fqye/projects/lang-segment-anything/venv/lib/python3.10/site-packages/starlette/routing.py", line 66, in app
    response = await func(request)
  File "/home/fqye/projects/lang-segment-anything/venv/lib/python3.10/site-packages/fastapi/routing.py", line 273, in app
    raw_response = await run_endpoint_function(
  File "/home/fqye/projects/lang-segment-anything/venv/lib/python3.10/site-packages/fastapi/routing.py", line 192, in run_endpoint_function
    return await run_in_threadpool(dependant.call, **values)
  File "/home/fqye/projects/lang-segment-anything/venv/lib/python3.10/site-packages/starlette/concurrency.py", line 41, in run_in_threadpool
    return await anyio.to_thread.run_sync(func, *args)
  File "/home/fqye/projects/lang-segment-anything/venv/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
  File "/home/fqye/projects/lang-segment-anything/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
    return await future
  File "/home/fqye/projects/lang-segment-anything/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run
    result = context.run(func, *args)
  File "/home/fqye/projects/lang-segment-anything/venv/lib/python3.10/site-packages/gradio/routes.py", line 271, in api_info
    return gradio.blocks.get_api_info(config, serialize)  # type: ignore
  File "/home/fqye/projects/lang-segment-anything/venv/lib/python3.10/site-packages/gradio/blocks.py", line 504, in get_api_info
    serializer = serializing.COMPONENT_MAPPING[type]()
KeyError: 'dataset'

it seems to be gradio problem. I upgraded gradio manually to 3.37 and it works now.


Maven Central Android Gradle deploy example. Sign issue

Discussed in https://github.com/jreleaser/jreleaser/discussions/1679

Originally posted by LionZXY June 26, 2024
I couldn't find any example for deploy an Android library on Maven Central via jreleaser+gradle.
I tried to do it myself, but unfortunately I'm stumped. I can't figure out how jReleaser signs the files. I get a file signing error when I try to release an Android library:
pkg:maven/uk.kulikov/slf4j2-timber@0.2?type=aar Missing signature for file: slf4j2-timber-0.2-javadoc.jar
pkg:maven/uk.kulikov/slf4j2-timber@0.2?type=aar Missing signature for file: slf4j2-timber-0.2-sources.jar
pkg:maven/uk.kulikov/slf4j2-timber@0.2?type=aar Missing signature for file: slf4j2-timber-0.2.aar
pkg:maven/uk.kulikov/slf4j2-timber@0.2?type=aar Missing signature for file: slf4j2-timber-0.2.module
pkg:maven/uk.kulikov/slf4j2-timber@0.2?type=aar Missing signature for file: slf4j2-timber-0.2.pom

Here you can see how I configured the plugin
The questions proper are:

Where to see/set debug point where files are signed for Deploy?
Why does Maven Central tell me that the files are not signed?

Also: pomchecker is broken and doesn't work correctly on aar:
[ERROR] Unknown packaging: aar @ line 13, column 14

Created by mistake, moved discussion to Discussions


Make sizes and font properties globally available

Setting font sizes and properties on custom elements needs manual style adaptions and copying of values. It would be an interesting take to make general styles available. This could be something easy like exporting styles of a text element or providing them through a theme.

Hey @HorstMumpitz, can you give me an example of the manual style adaptations and copying you need to make to it gets more clear what you mean?

Sure. Let's assume that I want to provide custom text input elements. In the current situation font-sizes and properties have to be configured with custom CSS like.
import React from 'react';
import View from '@allthings/elements/atoms/View';
import { css } from 'glamor';

const styles = {
  input: css({
    'fontSize': 18,
    'borderWidth': 0,
    'margin': 5,
    'width': '100%',
    'outline': 'none'
};

export class TextInput extends React.Component {
  render() {
    return (
      <View>
        <textarea {...styles.input} />
      </View>
    )
  }
}

But some properties could be part of elements or the Theme. Please take a look on the changed font size.
import React from 'react';
import View from '@allthings/elements/atoms/View';
import { availableSizes } from '@allthings/elements/atoms/Text';
import { css } from 'glamor';

const styles = {
  input: css({
    'fontSize':  availableSizes.xl,
    'borderWidth': 0,
    'margin': 5,
    'width': '100%',
    'outline': 'none'
};

Such a mechanism provides two advantages:

Constants provided by Elements are the ground truth and avoid magic numbers in code
When parts of the styling within Elements change code maintenance gets reduced.

@HorstMumpitz we are now exporting a function to create text styles. https://github.com/allthings/elements/pull/154/files#diff-54fdd351ae2ad12ed1c3da9c1025262d
I think this will also fix this?

👍 Thank you for fixing. Looks good to me.


Add ligratures for emacs-lisp-mode

It's a bit daring to propose changes for languages you don't know... But I did it anyways. I just want my few lines of config to be prettier...
Please double check every symbol and keyword... I simply guessed most of them since I'm not familiar with Lisps at all :D
Could also add () as a False symbol tho I doubted maybe that's a pushing... So I didn't

Hi! Thanks for the PR, but I am not accepting default ligature configurations for lisps, because lisps tend to be much better structured than other languages, I feel they bring a lot less value to the table. I leave it to the user to implement if they want them. Thanks for the PR in any case!


[Bug?] user_agents in Opera contains IE user_agents

After inspecting the user_agents used in data/browsers.json, I notice that there are Internet Explorer user agents under Opera.
# browsers.json in "internet explorer"
"internet explorer": [
        "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; AS; rv:11.0) like Gecko",
        "Mozilla/5.0 (compatible, MSIE 11, Windows NT 6.3; Trident/7.0;  rv:11.0) like Gecko",
        "Mozilla/5.0 (compatible; MSIE 10.6; Windows NT 6.1; Trident/5.0; InfoPath.2; SLCC1; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729;
         .NET CLR 2.0.50727) 3gpp-gba UNTRUSTED/1.0",
        ...
]

# browsers.json in "opera"
"opera": [
        ...,
        "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; ja) Opera 11.00",
        "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; en) Opera 11.00",
        "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; pl) Opera 11.00",
       ...
]

This is causing some issues as some websites do not support IE anymore.

yea, the strings are too old. It's actually a valid Opera user agent string. But nobody is using MSIE 8.0 and/or Windows NT anymore.
This will be fixed if we update to a newer data source. Related: https://github.com/fake-useragent/fake-useragent/issues/109


Add .pre-commit-config.yaml and codespell_word, fixed spellchecks accordingly

Added a .pre-commit-config.yaml and fixed spelling errors
Added a GitHub action to automatically check for spelling errors

Oooo neat, thanks!


Add Draconium enhancement

Hello,
Let me start off by saying that i love this mod and the different variations/improvements that keep coming out. I am almost sure that you are working to add draconium ore chunks to Creatio but, i did not see it in the to do list. So are you going to add it and when will the next update be (if you can say) no rushing just wondering.
Thank you.

I am unaware of any current plans to add draconium (but you can add it using the json system). Hard to balance such an unbalanced material.
Updates are not scheduled, and tend to be done on a "as it is ready" basis.


Make globally defined HTTP clients global in BBEs

Description:
$subject

I am closing these as we have done the BBE revamp.


Fix lfpt install on MacOS

Since September, lftps have been moved to homebraw/boneyard :
https://github.com/Homebrew/homebrew-core/pull/4956
http://stackoverflow.com/questions/39633159/homebrew-cant-find-lftp-formula-on-macos-sierra

Thanks for the PR @Mikadoh !
@godrei please check this

@godrei @viktorbenei
ltfp is back in brew standard repo and has been removed from boneyard
So my fix isn't working any more and need to be reverted ;-)


internationalization: Localize dates.

Implemented date localization using native Intl object.

Wrote a function named get_localized_date_or_time_for_format that takes the current user's locale and uses the standard Intl.DateTimeFormat function from JS Internationalization API. By default, it formats dates "MMM dd, yyyy" in the American format.
Changed uses of format to get_localized_date_or_time_for_format.
Changed string formatting as needed in timerender.ts.
Fixed tests. Added internationalization to some test cases.

Tested on my local development server, with some random languages.
Fixes #23987.

Screenshots and screen captures:

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

This is awesome, thanks so much for picking this up! I posted a few comments here and answered your questions in https://chat.zulip.org/#narrow/stream/9-issues/topic/translation.20tags.20missing.3F/near/1488276.

I did some manual testing (in English), and everything looks good to me!
I generally wasn't able to tests older dates (in settings panels, Recent conversations, etc.), e.g. from over a year ago, as we don't have this sort of data pre-populated in the dev environment and I wasn't sure how to get it / whether it was worth the effort. So we should probably test-deploy on CZO and go from there.

[ ] "Date joined" in user profile is not localized. Should be fixed.

I tweaked the comments for the new functions to explain their purpose and role in the code base a bit more authoritatively.
I also noticed a major visual bug that this introduces with at least one language, which I posted about here: https://chat.zulip.org/#narrow/stream/9-issues/topic/translation.20tags.20missing.3F/near/1497790
Since I think that'll benefit from some visibility in discussion. Other than that issue (and auditing for similar issues), I think this is basically ready to merge from a code perspective.
I should also comment that normally for a project like this, I'd usually expect a series like this to be split out as multiple commits. I'm not sure what the best structure would be -- one option would be for each component that's being migrated (after the first one introduces the framework), with each one having the tests that it adjusts present in the right commit, and an explanation of any quirks/behavior changes/things a reviewer should understand specific to that change in each of those commits. It's kinda a pain to split something like this after the fact (though I'd probably be able to do it in 15 minutes with careful use of git checkout -p) -- but can have pretty minimal overhead if one writes the code in separate commits in the first place.

I tweaked the comments for the new functions to explain their purpose and role in the code base a bit more authoritatively.

Thanks a lot! Explanation looks great!

I should also comment that normally for a project like this, I'd usually expect a series like this to be split out as multiple commits

Thank you for the detailed explanation. I read about it in the documentation, but I forgot some of it in the process as the issue size changed from medium to extra large :) . It seems to me that it takes a little time to adapt to the accepted approaches we have in Zulip. However, I will try to do my best ;)

This still appears to have display issues for some date/time in some languages; @amanagr FYI:

One idea that we could consider for merging this PR would be to just hardcode the locale as English for now (perhaps only in that message feed code path, with an static/js/message_list_view.js), such that we can integrate all the restructuring work and improvements for other code paths, and then do a much smaller PR that addresses the

@timabbott, I totally agree!


ir-iterator: fix interprocedural

We do not correctly handle inteprocedural analyses especially backwards

Define a return node as a Block at the end of a call fallthrough edge, possibly create dummy blocks for this purpose
Make reverse interproc iterator visit the end of the returning function after a return node

I've implemented a version that uses a dummy block for call return notes, https://github.com/UQ-PAC/bil-to-boogie-translator/compare/main...ir-iterator-interproc, from an IL / translation perspective these should be indistinguishable from regular blocks, but I'm a bit uneasy about adding child classes of block, and using a subclass for what is essentially a flag.


Example generating sketch file from command line

For an example like basic-setup, can we get documentation on how to create a sketch file without needing an open document in sketch?
Not sure if it's support yet, but ideally without invoking sketch at all and just writing to the sketch file format directly.

Unfortunately it's not possible as far as I know :(
Internally at Airbnb we have a script that opens Sketch if it's not currently open, renders, and saves the document which is useful for rendering on CI — not quite ready to release that code yet though.

Apologies for reviving an old thread, but - any chance that code was open-sourced? We would love to be able to do this!


Copy SPM Sources into Book-Global Sources

This could be a very barebones solution for https://github.com/playgroundbooks/playgroundbook/issues/21
Assuming a Package.swift file specifying libraries to be used these can be copied into the .playgroundbook after being fetched by SPM.
It seems to me that SPM is the most straightforward option for including libraries in a playground book as well as having the least caveats associated with it.
A couple of tweaks to make this more useful could be:

[ ] Allow more granular destinations (chapter or page) to be specified in YAML
[ ] Copy into source playgrounds to support work in Xcode

This is great, thanks! Could you add a note to the readme about this, as well as a line in the changelog? Thanks again :bow:

Very cool! Is this ready to merge then?

Should be good to go!

Cool, I'll get this released ASAP.

Should be pushed as 0.6.0, let me know how it goes, and thanks again!


First characters are not displayed when focus is lost from an overpopulated field

Affected versions

Latest Nightly 82.0a1
Firefox 81.0b8

Affected platforms

Ubuntu 18.04 64bit
MacOS 10.15
Windows 10 64bit

Steps to reproduce

Open the following http://foersom.com/net/HowTo/data/OoPdfFormExample.pdf
Click inside the Given Name field and overpopulate the field so the first characters are hidden
Click outside of the field

Expected result

First characters are displayed at the beginning of the field when the focus is off that field.

Actual result

Characters entered at the start of the field are hidden from view, although printing or saving the pdf will display the first characters as expected.

Regression range

Not a regression since this did not work on a build where this feature was enabled in Nightly.

Additional Notes

Other form editors don't suffer from this issue (Acrobat, Foxit, Chrome).
Gif showing the issue:

Suggested severity

I my opinion this should have the S4 severity, it is an inconvenience when editing the pdf, but it's not visible after printing, saving the pdf.

Fixed by the PR above.

This has caused a regression for Safari currently being tracked here: https://github.com/mozilla/pdf.js/pull/13224#issuecomment-817613652


Cannot encode decimal with precision more than 16

Unable to process file /path/to/file.parquet

org.apache.avro.AvroTypeException: Cannot encode decimal with precision 17 as max precision 16 in field field_name
	at org.apache.avro.generic.GenericDatumWriter.addAvroTypeMsg(GenericDatumWriter.java:198)
	at org.apache.avro.generic.GenericDatumWriter.writeField(GenericDatumWriter.java:231)
	at org.apache.avro.generic.GenericDatumWriter.writeRecord(GenericDatumWriter.java:210)
	at org.apache.avro.generic.GenericDatumWriter.writeWithoutConversion(GenericDatumWriter.java:131)
	at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:83)
	at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:73)
	at uk.co.hadoopathome.intellij.viewer.fileformat.ParquetFileReader.toByteArray(ParquetFileReader.java:132)
	at uk.co.hadoopathome.intellij.viewer.fileformat.ParquetFileReader.getRecords(ParquetFileReader.java:105)
	at uk.co.hadoopathome.intellij.viewer.FileViewerToolWindow$2.doInBackground(FileViewerToolWindow.java:193)
	at uk.co.hadoopathome.intellij.viewer.FileViewerToolWindow$2.doInBackground(FileViewerToolWindow.java:184)
	at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: org.apache.avro.AvroTypeException: Cannot encode decimal with precision 17 as max precision 16
	at org.apache.avro.Conversions$DecimalConversion.validate(Conversions.java:141)
	at org.apache.avro.Conversions$DecimalConversion.toFixed(Conversions.java:105)
	at org.apache.avro.Conversions$DecimalConversion.toFixed(Conversions.java:65)
	at org.apache.avro.Conversions.convertToRawType(Conversions.java:247)
	at org.apache.avro.generic.GenericDatumWriter.convert(GenericDatumWriter.java:107)
	at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:81)
	at org.apache.avro.generic.GenericDatumWriter.writeWithoutConversion(GenericDatumWriter.java:145)
	at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:83)
	at org.apache.avro.generic.GenericDatumWriter.writeField(GenericDatumWriter.java:221)
	... 14 more

Hello please can you provide a bit more information? What is the schema for field_name?

Yes sure. It's longitude data and type is DECIMAL(16, 15). The parquet is created by other tool automatically and TBH do not know why 16,15. Is the type issue?

I'm afraid so, the plugin just uses the standard avro-parquet parser to read data, and so it looks like one value has a precision of 17 when the type restricts it to 16. Are you able to read this file using parquet-tools (https://pypi.org/project/parquet-tools/)?

Yes. That's why I created an issue without checking the type of the field. parquet-tools is able to read that parquet file without any issue, even without any warning about the type mismatch.

parquet-tools uses Apache Arrow underneath which is better-supported than avro-parquet these days, but sadly not available in Java and IntelliJ plugins can't be written in Python. If there's a decimal with 17 precision being stored in a field with a limit of 16 then I'd expect an error. I'm afraid this won't be fixed in this plugin unless a new version of avro-parquet fixes it.

Thank you very much for explanation.


workflow_run event does not show the annotated test results

I see that you have an commit input which we should point to a SHA in case of using workflow_run.
The workflow_run event by default run on the last default branch commit.
Why is that needed? How can I make it work?
PS: The actions works fine on PR and push events.

You can see how the sha1 hash is retrieved here: https://github.com/mikepenz/action-junit-report/blob/main/src/main.ts#L79-L80
It is required for the APi to create checks:
https://github.com/mikepenz/action-junit-report/blob/main/src/main.ts#L111-L117
or:
https://github.com/mikepenz/action-junit-report/blob/main/src/main.ts#L142-L153
If you do not require a new additional check generated, but only care about annotations you may use the new api: annotate_only which will only create the annotation, but not a check.

Closing due to inactivity.


improvementReturn -1 to neredis if report olap table row count for new table is not done for all tablets. (#40457)

backport: https://github.com/apache/doris/pull/40457

run buildall

run buildall

run p0


Permission problem when restoring the backup

Hi,
I'm in the process of restoring the last backup (20160419), I was following the indications described here and I think there is something missing to make it work.
The execution of the command ght-restore-mysql fails when running the LOAD DATA INFILE statements as the user created for the new schemata does not include the corresponding permission.
I solved it with something like:
GRANT FILE ON *.* TO 'ghtorrentuser'@'localhost';
Maybe the problem appears only with specific database configurations. In my case, I'm using MySQL Commnuity Server 5.6.25 on Linux.

In the instructions on how to reload the files there is a step to grant ALL privileges to the importing user. As can be seen in the MySQL GRANT reference this also includes the FILE privilege.
I think the process is OK, the problem is probably local to your own installation of MySQL.

Ops! I see. Strangely, the grant all privileges did not work in my machine as expected.
I guess the issue can be closed then. Thanks!


what would something validate, and then crash on to_dict?

Hi,
Is there any good reason to have a document validate, and then when to_dict() is called, receive a validation error such as XMLSchemaChildrenValidationError?
See below, thanks.
import xmlschema as xs

SCHEMA_FILE = "xsd.xsd"
SCHEMA = xs.XMLSchema(SCHEMA_FILE)
with open('../sample-input/xml.xml', mode="r") as fi:
    xml_file_content = fi.read()

print(SCHEMA.is_valid(xml_file_content))

# In [21]: True

Then with the to_dict() I get the error:
d = SCHEMA.to_dict(xml_file_content)

#XMLSchemaChildrenValidationError: failed validating <Element '{http://domain.com/service/xmlobj}Value' at 0x7fc12115c6d8> with XsdElement(name='Boolean').
#
#Reason: The child n.1 of element 'Value' has a unexpected tag 'Integer'. Tag 'Boolean' expected.
#
#Schema:
#
#    <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Boolean" type="my_value_boolean" />
#
#Instance:
#
#  <Value xmlns="http://domain.com/service/xmlobj">
#              <Integer>+00000000</Integer>
#  </Value>
#

Relevent portion of the xsd:
<xs:complexType name="my_detail">
  <xs:sequence>
    <xs:element name="Name" type="xs:string"></xs:element>
    <xs:element name="Value">
      <xs:complexType>
        <xs:choice>
          <xs:element name="Boolean" type="xs:boolean" />
          <xs:element name="Integer" type="xs:int"     />
          <xs:element name="Decimal" type="xs:decimal" />
          <xs:element name="Code"    type="xs:string"  />
        </xs:choice>
      </xs:complexType>
    </xs:element>
  </xs:sequence>
</xs:complexType>

a sample xml portion:
...clip...
          <Detail>
            <Name>SomeNameValueThingy</Name>
            <Value>
              <Integer>+00000000</Integer>
            </Value>
          </Detail>
...clip...

So the problem seems to be in groups.py:474. For each type in the choice element we try parsing that type. If parse was successful, we yield its result. If not, we try next element. If all types was tried without success, we yield an error.
The problem arise when validation == 'strict'. Instead of yielding an error, the parser throws it and this if at line 475 cannot capture it.
A possible (and probably the most efficient) solution is to wrap subparsing into try-except statement.

@brunato ping? This really slows my project.

I'm looking on that.
Anyway the problem is a the generation of a validation error when the instance data is valid. With validation == 'strict' the decoder throws immediately in order to have a complete traceback (anyway it would throws into the top level function decode()).
The think the problem is on child_index value (1) that is not propagated (so the decoder retries and generates an error).  Still investigating why.

Same issue here. Workaround for now is to .decode(...,,validation='lax').

Yes, it was only a wrong parameter. The fix is available with the version 0.9.21.
Maybe the iter_decode_children method has become too complicated and I thought to rewrite this without generator functions (passing result_list as argument and index into a context object or a list...). Maybe for the next version.
Thanks


Drop Python 3.6 support in Linux.

I use this action from maturin new, and the linux job failed as the following error message.
error: failed to run custom build command for `pyo3-ffi v0.16.0`

Caused by:
  process didn't exit successfully: `/home/runner/work/cotton2k/cotton2k/target/release/build/pyo3-ffi-d1bffb9111c972d8/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-env-changed=PYO3_PRINT_CONFIG

  --- stderr
  error: the configured Python interpreter version (3.6) is lower than PyO3's minimum supported version (3.7)
warning: build failed, waiting for other jobs to finish...
error: build failed
💥 maturin failed
  Caused by: Failed to build a native library through cargo
  Caused by: Cargo build finished with "exit status: 101": `cargo rustc --message-format json --manifest-path python/Cargo.toml --release --lib --`
Error: The process '/usr/bin/docker' failed with exit code 1

Please try maturin v0.12.10-beta.6:
- uses: messense/maturin-action@v1
  with:
    maturin-version: v0.12.10-beta.6

Hello, I still have this issue with maturin v0.14. I followed the examples in this repository and it seems that I have an equivalent setup, but still I get the error.
Do you know how could I fix it?
My workflow looks like this:
jobs:
  linux:
    runs-on: ubuntu-latest
    defaults:
      run:
        shell: bash
        working-directory: ${{ env.CJLIB_PY_PATH }}
    strategy:
      fail-fast: false
    steps:
      ...
      - uses: actions/setup-python@v4
        with:
          python-version: "3.9"
          architecture: x64
      - name: Build wheels
        uses: PyO3/maturin-action@v1
        with:
          maturin-version: v0.14.0
          target: x86_64
          manylinux: auto
          working-directory: cjlib_py
          args: --release --out dist -m Cargo.toml

Use args: --release --out dist -m Cargo.toml -i 3.9, setup-python action doesn't affect manylinux build in docker container.


Could not locate repository

Trying to follow the tutorial here:
https://nextjs.org/learn/basics/create-nextjs-app/setup
I can't get past the first step "Create a Next.js app".
Tried running the following command:
npx create-next-app@latest nextjs-dashboard --example https://github.com/vercel/next-learn/tree/main/dashboard/starter-example --use-pnpm
I get the following error:
Could not locate the repository for "https://github.com/vercel/next-learn/tree/main/dashboard/starter-example". Please check that the repository exists and try again.
This has nothing to with rate limits, as running curl -I https://api.github.com/users/octocat returns headers of
x-ratelimit-limit: 60
x-ratelimit-remaining: 59

Hi fdterr,
Do you have installed PNPM , because its important : npm install -g pnpm
Then you can running this command : npx create-next-app@latest nextjs-dashboard --example "https://github.com/vercel/next-learn/tree/main/dashboard/starter-example" --use-pnpm
If you have some problems with this command, try to fork this repository :  https://github.com/vercel/next-learn/
Then you can execute this command : npx create-next-app@latest nextjs-dashboard --example URL_OF_THE_FORKED_REPO --use-pnpm
normally, URL_OF_THE_FORKED_REPO is  https://github.com/fdterr/next-learn/tree/main/dashboard/starter-example,
The "/tree/main/dashboard/starter-example" after the repo-url is VERY IMPORTANT
With smile,

ImTemane

If you are using the VPN, close it!

I had the same issue, and it disappeared after I closed vpn.
It's really weird.


add Complete command

autocomplete support using racer
Installation

Install racer https://github.com/phildawes/racer
clone rust source https://github.com/rust-lang
configure env variable
Option + ESC to trigger autocomplete

Can't get around having to set the RUST_SRC_PATH variable but if you provide a locations array with the likely path of racer in requiredCommands you can likely skip the need to set TM_RACER for most everyone. (/usr/local/binand perhaps /opt/local/binif it's installable from MacPorts.)

@infininight Nice idea, a default path will be fine for most of people.

This is awesome, thank you so much!!!!!!! :tada: :balloon:
As @infininight recommended, I removed the deprecated require_cmd.rb and set some default locations (including where cargo install is likely to put binaries by default; racer seems like an ideal candidate to start recommending the use of cargo install soon).
Also added the instructions you provided to the readme (thank you thank you thank you!) and merged it all in!!!!


Add Texture-based Scripted Particle Systems

Use the scripted particles implemented since my Sub fork, but use textures so that UV coordinates can be modified.
This could be useful for item point displays, to render them in one draw call instead of who knows how many.

done


⚠ Bofrost.hr has degraded performance

In 618a8e7, Bofrost.hr (https://www.bofrost.hr) experienced degraded performance:

HTTP code: 200
Response time: 2604 ms

Resolved: Bofrost.hr performance has improved in 289a95c after 6 minutes.


Users

In GitLab by @doddzilla on Sep 9, 2019, 10:57
See the guide for implementation details.

Done.


Fixes #1053 - Syntax error in http_hop launcher

@johneiser Thanks for this! Please provide a description in future PR's.


fixing bug where slack messages would split on each character if no newline existed

to: @austinbyers
cc: @airbnb/streamalert-maintainers
size: small
Background
We observed issues with the SlackOutput where many thousands of attachments could be included with a message.
Changes

Fixing an issue with message splitting that was a result of the message not containing any new line characters (or no new line characters within the max message size limit).
If new lines do not exist in the range, we will fall back on splitting on the last space in the chunk of text.
If neither space nor new lines exists in the chunk of text, we will split on the max message size, ignoring delimiters altogether.
Simplifying the attachment generation code significantly.

Testing

Adding tests for the various characters (or lack there of) we can split one (new line, space, none).
Adding test for the max attachment logging as well.

lol if there was anything I expected you to comment on, it was that @austinbyers fixed!


Fixed customlocation parsing for connecting DC

Bug: SQL MIAA create was not taking the custom location from its data controller
Solution: Connecting DC was not properly parsing out the custom location from the metadata. Fixed regex and now it works fine.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 42.164%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/arc/src/ui/dialogs/connectControllerDialog.ts
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
28201

Relevant Lines:
62431

💛  - Coveralls


Add a poll GET function

This required some restructuring of the exports but functionality wise
it behaves the same. Tests are included.
Let me know if you'd like any changes that resolve conflicts with the way you want things to work.

Hmm I think I would prefer this:
function create(options) {

}

function get(id) {

}

create.create = create;
create.get = get;

module.exports = create;

Althought create.create = create looks really weird but looks like it is perfectly valid syntax, lol.

There you go.
Im also working on voting as per https://github.com/KenanY/strawpoll/issues/2 for you, i'll throw a separate PR to you later.

@rfox90 Great work :) landed as https://github.com/KenanY/strawpoll/commit/b96711d0e09ea9e61871f9961ba31aaa63f0dc5c. Adding you as a collaborator (just follow these guidelines).


eval result on visdrone test set when using VisDrone2018-MOT-toolkit

Hello, I really like your paper, but I have a question. Regarding the validation script on the VisDronedataset, are you using the py-motmetrics library for validation instead of the official VisDrone matlab toolkil？(https://github.com/VisDrone/VisDrone2018-MOT-toolkit) I tested your model and obtained an MOTA of 55.9, but when using the MATLAB library, the MOTA is only 50.2. It seems that there may be some differences in the validation process between the two libraries, and I haven't found the reason.

Sorry for the late reply. I am working on LLM and MLLM now, and I am losing some details of this paper. But it seems we did use the py-motmetrics library for evaluation to align with other MOT datasets in this repo. We will update the results with the VisDrone toolkit if available.


Temporary ban (kickChatMember until_date)

Hi,
there is a way to temporary ban a user from specific chat?
As described in https://core.telegram.org/bots/api#kickchatmember for until_date parameter.
Thanks a lot!

I'm also interested

Another interested here

v0.30.0 supports specifying additional parameters for TelegramBot#kickChatMember(). For example,
const ms = require("ms");

bot.kickChatMember(chatId, userId, {
    until_date: Date.now() + ms("7 days"),
});

Perfect! Thanks!

@GochoMugo
sorry but after lots of tests your example seems does not work :(
It ban successfully but until 'forever' instead of one week.
How can i fix that?
bot.kickChatMember(message.chat.id, message.reply_to_message.from.id, {until_date: Date.now() + ms("1m")}).then(function (result) {     console.log("ok"); });

Ok! Solved :D
until_date: Date.now() + ms("7 days") return unix in milliseconds, but is a mistake.
Telegram api needs "unix time" but not in ms, so it can be fixed with:
until_date: Math.round((Date.now() + ms("7 days"))/1000)
This issue can be closed now.

in my case, however much you add the line you mention, there is no way to keep the restriction for X days
This is my code:
if (msg.chat.type.toString().toLowerCase()=="supergroup"){
	if (msg.reply_to_message.from.username == undefined){
		bot.getChatMember(msg.chat.id, msg.from.id).then(function(data) {
	if ((data.status == "creator") || (data.status == "administrator")){
			bot.kickChatMember(msg.chat.id, userid, {until_date: Math.round((Date.now() + ms(1523059200))/1000)}).then(function(result){
				bot.deleteMessage(chatId, messageId);
				bot.sendMessage(msg.chat.id, firstname + " has been banned")
	})}
		})
	}
}

Time based in Unix
{until_date: Math.round((Date.now() + ms(1523059200))/1000)})

I still give polling error

Debug with:
bot.on('polling_error', function(error) {
	console.log(error);
});

It works, is it possible to store the blocking time in buttons?
Thanks in advance. Great Job

It's a bit complicated but you can save in a database then get whenever you need.

Could you dispense with the database and store it in a JSON?


chore: file name in storage matches the event uuid

:bulb: Motivation and Context
I was looking at the logs and trying to find the event id based on the logs but they don't match, they should
#skip-changelog
:green_heart: How did you test it?
matching the ids
:pencil: Checklist

[X] I reviewed the submitted code.
[ ] I added tests to verify the changes.
[ ] I updated the docs if needed.
[X] No breaking change or entry added to the changelog.

YOLO since i need this to debug something else.


Move tools to aspnet/EntityFramework.Tools

Resolves #6500

:sheep::it:

Updated. Microsoft.EntityFrameworkCore.Design (and the Reverse Engineer tests) are staying.


BatchSize should be equal or greater

https://github.com/Open-NET-Libraries/Open.ChannelExtensions/issues/47

Look closely at the code.  It cannot be greater than the full amount as that would indicate a full batch.
This part of the code is highly synchronized to ensure batches are not greater than the size.


Issue with kafka transport

Hi All,
I am using libbgpstream to process route-view live kafka stream
Broker: stream.routeviews.org:9092
Topic: routeviews.linx.6939.bmp_raw
After around 7+ hours it fails as shown below where it looks like broker connection is down.
Is this expected behavior of routeviews brokers or there is a known issue as I am missing the configurations ?
%5|1677031859.110|REQTMOUT|rdkafka#consumer-1| [thrd:GroupCoordinator]: GroupCoordinator/0: Timed out HeartbeatRequest in flight (after 10803ms, timeout #0)
%4|1677031859.110|REQTMOUT|rdkafka#consumer-1| [thrd:GroupCoordinator]: GroupCoordinator/0: Timed out 1 in-flight, 0 retry-queued, 0 out-queue, 0 partially-sent requests
2023-02-21 18:10:59 36417: bs_transport_kafka.c:144: ERROR: Local: Timed out (-185): GroupCoordinator: 1 request(s) timed out: disconnect (after 30037413ms in state UP)
2023-02-21 18:11:09 36417: bs_transport_kafka.c:144: ERROR: Local: Host resolution failure (-193): GroupCoordinator: Failed to resolve 'stream.routeviews.org:9092': Temporary failure in name resolution (after 10012ms in state CONNECT)
%4|1677031880.132|COMMITFAIL|rdkafka#consumer-1| [thrd:main]: Offset commit (unassign) failed for 1/1 partition(s): Local: Host resolution failure: routeviews.linx.6939.bmp_raw[0]@2453347383
%5|1677031907.343|REQTMOUT|rdkafka#consumer-1| [thrd:stream.routeviews.org:9092/bootstrap]: stream.routeviews.org:9092/0: Timed out FetchRequest in flight (after 60344ms, timeout #0)
%4|1677031907.343|REQTMOUT|rdkafka#consumer-1| [thrd:stream.routeviews.org:9092/bootstrap]: stream.routeviews.org:9092/0: Timed out 1 in-flight, 0 retry-queued, 0 out-queue, 0 partially-sent requests
2023-02-21 18:11:47 36417: bs_transport_kafka.c:144: ERROR: Local: Timed out (-185): stream.routeviews.org:9092/0: 1 request(s) timed out: disconnect (after 30086656ms in state UP)
2023-02-21 18:11:47 36417: bs_transport_kafka.c:144: ERROR: Local: All broker connections are down (-187): 2/2 brokers are down
2023-02-21 18:11:47 36417: bs_transport_kafka.c:330: ERROR: Unhandled Kafka error: Local: Timed out: GroupCoordinator response error: Local: Timed out
2023-02-21 18:11:47 36417: bgpstream_parsebgp_common.c:551: ERROR: Could not refill buffer

This feels like connectivity issues on your end. I have services that consume from this stream for weeks/months without issue.

@alistairking - Thanks for the reply.
Well I am suspecting the same and trying out with latest librdkafka library (v2.0.2) to confirm the same.
Are there any probable logs which I can enable on librdkafka end to confirm the network latency ?


Review server security

The server seems to have some security problems: for instance, the hashing function in locMapCommon.js is using salting incorrectly, which leaves our user accounts vulnerable to dictionary attacks if someone gets their hands on the list of hashed passwords. Somebody should figure out how the server handles security and authentication so that we can find potential issues and fix them.

The comments in the code are kinda misleading because the function is actually used to hash email addresses rather than passwords. In my opinion the source needs a lot of refactoring before new features like individual salts would be wise to add. The code in locMapRESTAPI.js (handling authorization and signing up) is simply awful.

Please reopen this against the lokki-server repo.

It could be wise to spend a little bit of time to find specific security issues that could be improved, and opening specific issues for each.

Closing this because this is a constant task and there were already some improvements. Future security tasks should be more specific.


round_to: Implement Internal round argument

implement round_to argument for round the calculate mean and stdev according to #25

Screenshot of Pass the Unit Test

@mhdzumair This is fantastic. It's definitely more robust doing it this way, great suggestion and implementation. I specially liked the flake8 linting, the flake8 linter test is on the way to being added to github actions so in the meanwhile this was an important contribution. Thank you so much! Is it fine with you being mentioned as a contributor when I release the next version of the library?
:)

yes fine with me bro.


Typo in doc

Codecov Report

Merging #167 into master will decrease coverage by 6.38%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #167      +/-   ##
==========================================
- Coverage    80.2%   73.81%   -6.39%
==========================================
  Files          34       36       +2
  Lines         293      317      +24
  Branches        2        2
==========================================
- Hits          235      234       -1
- Misses         58       83      +25

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 b48665f...e8d7dfd. Read the comment docs.


Changes between 6.1.x and 6.1.4-patchtest

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] Any dependent changes have been merged and published in downstream modules
[ ] Any variable changes have been validated to be backwards compatible

@anuj-apdev I"m closing this one. Please raise a separate PR for test fixes. Doesn't necessarily has to go in one giant PR.


[Bug]: Date Picker not usable for Selecting Birth Date, despite this use case being advertised.

Describe the bug
Has anyone actually tried to use the date picker for selecting your bith date?

It's basically impossible, because you can't select the year.
Affected component/components
Date Picker, Calendar
How to reproduce
Obvious
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
all browsers

Before submitting

[X] I've made research efforts and searched the documentation
[X] I've searched for existing issues

For anyone looking for a solution, here is a small modification to the component that works for me.

<Calendar
    selected={field.value}
    onSelect={field.onChange}
    disabled={(date) => date > new Date() || date < new Date("1900-01-01")}
    captionLayout="dropdown"
    toYear={2010}
    fromYear={1900}
    classNames={{
        day_hidden: "invisible",
        dropdown: "px-2 py-1.5 rounded-md bg-popover text-popover-foreground text-sm  focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 ring-offset-background",
        caption_dropdowns: "flex gap-3",
        vhidden: "hidden",
        caption_label: "hidden",
    }}
    initialFocus
/>

really nice @johanneskares I guess I took a hard route and just used another component. Tremendously helpful!

 captionLayout="dropdown"
    toYear={2010}
    fromYear={1900}
    classNames={{
        day_hidden: "invisible",
        dropdown: "px-2 py-1.5 rounded-md bg-popover text-popover-foreground text-sm  focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 ring-offset-background",
        caption_dropdowns: "flex gap-3",
        vhidden: "hidden",
        caption_label: "hidden",
    }}

its fine but when you select calendar and re-open , its reseted. how can we fix it?

@johanneskares its fine but when you select calendar and re-open , its reseted. how can we fix it?

https://react-day-picker.js.org/basics/navigation
you have to pass the current field value to the defaultMonth prop.

it would be great when this works for range too...
if i change the date in the caption it changes for both calendar views...

This is a great ticket and solution, thank you!

Thanks! Hopefully the calendar can work as expected with the property captionLayout='dropdown' with an update.

feel free to use this variant. you will need react-day-picker v9 or above:
https://github.com/shadcn-ui/ui/pull/4421
I think this is better UX than a Select Dropdown, it is inspired by: https://material.angular.io/components/datepicker/overview

For anyone looking for a solution, here is a small modification to the component that works for me.

```ts
 date > new Date() || date < new Date("1900-01-01")}
    captionLayout="dropdown"
    toYear={2010}
    fromYear={1900}
    classNames={{
        day_hidden: "invisible",
        dropdown: "px-2 py-1.5 rounded-md bg-popover text-popover-foreground text-sm  focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 ring-offset-background",
        caption_dropdowns: "flex gap-3",
        vhidden: "hidden",
        caption_label: "hidden",
    }}
    initialFocus
/>
```
I'm happy to create a PR to add this as a variant.

As a stopgap solution this works great, hope the new calendar is ready soon.

If you're looking for something fancier and more functional, give this a try.
https://shadcn-datetime-picker-xi.vercel.app/
https://github.com/huybuidac/shadcn-datetime-picker
https://github.com/user-attachments/assets/7441e1ef-f03f-42a0-ab52-023dfa4e0f75

I recently came across a requirement, was asked to allow for the date to be typed as well, not just have a select calendar, I have yet to see that being mentioned in here...

I recently came across a requirement, was asked to allow for the date to be typed with keyboard as well, not just have a select calendar, I have yet to see that being mentioned in here...

first version
https://shadcn-datetime-picker-pro.vercel.app/?path=/story/datetime-picker--date-time-input-picker
https://github.com/user-attachments/assets/aa081186-a6cb-4d15-ac44-2aac3b2e052e

Have you tried using it inside a form? I did a custom input as well but one of the issues I found latter was if I fill the input, then delete a couple of letters, I ended up having 1 of 2 problems (depending on how I handled the change event):

Since Date objects have no in between, it's either a valid Date or undefined, on submit the default values of react-use-form would take over and reset the input to empty date (if the user wanted to correct 1 segment, the user would have to start typing from scratch).
On submit, instead of the above, the input would reset to the previous valid value, unless the user deleted all characters of the input.

Basically in my case the form's control value and the input would be out of sync, and ended up having to transform the date into a date string.

@huybuidac Does that include support for only date as well? what about only time input?

you can use format = "hh:mm:ss"

@huybuidac Does that include support for only date as well? what about only time input?

you can use format = "hh:mm:ss"

What would be the output data type? I doubt it would also be a date (assuming a time zone unaware time).

@huybuidac Does that include support for only date as well? what about only time input?

you can use format = "hh:mm:ss"

What would be the output data type? I doubt it would also be a Date Object (assuming a time zone unaware time).

any timezone you want

Have you tried using it inside a form? I did a custom input as well but one of the issues I found latter was if I fill the input, then delete a couple of letters, I ended up having 1 of 2 problems (depending on how I handled the change event):

Since Date objects have no in between, it's either a valid Date or undefined, on submit the default values of react-use-form would take over and reset the input to empty date (if the user wanted to correct 1 segment, the user would have to start typing from scratch).
On submit, instead of the above, the input would reset to the previous valid value, unless the user deleted all characters of the input.

Basically in my case the form's control value and the input would be out of sync, and ended up having to transform the date into a date string.

may work https://shadcn-datetime-picker-pro.vercel.app/?path=/story/datetimepicker--date-time-input-picker-in-form
If you have any issues or ideas, create them in my repo. I'll handle them if I can.

@huybuidac Does that include support for only date as well? what about only time input?

you can use format = "hh:mm:ss"

What would be the output data type? I doubt it would also be a Date Object (assuming a time zone unaware time).

any timezone you want

What I'm saying is a whole Date object for a time input feels like a bit much, what if you only want the time part?

What I'm saying is a whole Date object for a time input feels like a bit much, what if you only want the time part?

Like some other libraries, your logic should handle hh:mm:ss a format.
Alternatively, you can store the string value as hh:mm on the server, then merge it into a date object on the FE.
https://ant.design/components/time-picker


fix: Improve usefulness of 'group by status' and 'sort by status'

Types of changes

Changes visible to users:

[x] Bug fix (prefix: fix - non-breaking change which fixes an issue)

Issue/discussion: #3030

[x] Documentation (prefix: docs - improvements to any documentation content for users)

Internal changes:

[x] Tests (prefix: test - additions and improvements to unit tests and the smoke tests)

Description

Make group by status and sort by status use StatusType, instead of just caring whether the status symbol was a space or not.
This means that the group by status behaviour now matches that stated in the documentation.
sort by status docs was never very specific, but the behaviour is an improvement, and still fits with the docs.

Motivation and Context

Fix #3030

How has this been tested?

Automated tests
Manual testing in demo vault

Checklist

[x] My code follows the code style of this project and passes yarn run lint.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.

Just the updating of a snippet

[x] My change has adequate Unit Test coverage.

Terms

[x] My contribution follows this project's contributing guide
[x] I agree to follow this project's Code of Conduct

This is how I did manual testing:
# 3030

- [-] #task DONE - CANCELLED ❌ 2024-09-24
- [x] #task DONE ✅ 2024-09-24
- ["] #task TODO Make dentist appt #life/health
- [ ] #task TODO

it should show as TODO but is showing under DONE

## grouping

```tasks
group by status reverse
group by status.name
group by status.type
path includes {{query.file.path}}
```

## sorting

```tasks
sort by status
sort by function task.lineNumber
path includes {{query.file.path}}
```


Last commit made rubocop formatter stop working

https://github.com/nvimdev/guard.nvim/commit/5a20e74cc828aa019cf323c18a68b95bbc39802f
Now, when i save, just don't happen nothing.  The problem with the other issue: https://github.com/nvimdev/guard.nvim/issues/20
is that while is formatting, i can edit the document, and when the formatting is done, is just revert.  Is more annoying than a real bug.
The idea is just prevent to edit the formatter is running.  But now, with this commit, is just don't format anymore :(.
Calling the GuardFormat manually format correctly the buffer but don't remove the diagnostics.

update and now you can use ft('javascript, tyscript'):fmt('prettier')

update and now you can use ft('javascript, tyscript'):fmt('prettier')

i didn't understand your anwser, this PR is about something totally different

I know but this issue fix just now. and answer #18 in there.


Integration not available after installing in HACS

Just went to install this today and it downloads and installs in HACS just fine. Reboot the HA server multiple times but the Jellyfin integration never shows up to add. There's nothing at all available in the standard integration page via HA to install this.

Works for me...

Dunno what changed but it's working now. Wasn't the only user with this issue but seems it's working. Maybe the repo was temporarily down.


MSI Installer

Fallback option where MSIX doesn't work (Windows Server primarily).

Merging right away so that I can work on the release workflow integration.


[#927] added parity bit operation

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

hey @j83305, did you mean to put the HexDump grouping commits into this PR? If they're unrelated, please could you open a separate PR for those changes?

@d98762625 my mistake, thanks for pointing that out, I'm moving them to a new PR

Hey pls merge this request, @d98762625 has reverted the hex dumb commit. I would like this feature :-)


Is it possible to run on public CIs?

Essentially every function used here is not available in just the LabVIEW Run-Time https://zone.ni.com/reference/en-XX/help/371361N-01/lvprop/propmethnosuprtrte/
Including Printing, VI Icons, etc so need the Development Environment. Can we use something like AppVeyor?

self-closing stale issue 👍