Replace checkoutPath variable with sourceRoot/workspacePath variables

Merge / deployment checklist

[ ] Confirm this change is backwards compatible with existing workflows.
[ ] Confirm the readme has been updated if necessary.
[ ] Confirm the changelog has been updated if necessary.

A discussion on https://github.com/github/codeql-action/pull/607 made me realise that the variable name checkoutPath is used for two purposes:

resolving relative file paths (config file and queries)
the CodeQL source root for making  relative paths in the SARIF output

This pull request changes the variable name checkoutPath to be workspacePath when used for resolving paths, and sourceRoot whenever it is used as a CodeQL source-root.
There is a third use of the checkoutPath. It is passed to codeql as --search-path when running a custom query in the repository being analysed. I think this make little sense because it is very unlikely that the root folder of the repository we're analysing (or the workspace path) contains a query pack.
@adityasharad The discussion on https://github.com/github/codeql-action/pull/607 also made it clear that there is a slight inconsistency between the way the Action and the Runner handle the resolution of relative paths. The Runner resolves them with respect to the --checkout-path flag and the Action resolves them against ${GITHUB_WORKSPACE} (aka the working directory).
To make the Action and the Runner align better, I suggest we deprecate the  --checkout-path  flag and replace it with --source-root and --working-directory (both optional like --checkout-path and defaulting to .) . This should match the codeql cli terminology and in addition makes the Action and the Runner behave more similar.

Looks like a sensible renaming, thanks! That --search-path use should probably be --additional-packs, and could probably be more specifically scoped to the path of the custom query within the repo, but for now I agree with preserving it for simplicity.
As we discussed internally, let's hold off on deprecating the Runner's checkout-path flag for now, since it's widely used, in favour of giving users a path towards using the CLI instead.

@adityasharad shall we merge this PR?


Problem when i use the angular config file

When I use the -n flag with the angular config file my release messages it doesn't work.
My commits are not format
I don't use the -p flag because I want to custom the angular file.
and i got a template dir with angular templates

@the-smaug, can you please re-run conventional-github-releaser, but include the --verbose flag.
That should print out information about what conventional-changelog is doing.
Hopefully that flag, along with calls to console.log in your configuration file, will help you to determine whether you configuration is used by conventional-changelog, or not.

@the-smaug I'm closing out this issue for now, but if you have the time to help us pursue the issue, I can reopen it.


StringTie not creating output dir automatically

Hi,
I ran StringTie interactively (qrsh) on the JHPCE cluster and it would create the output directory but hang at that point. When I tried running StringTie via submitted jobs (qsub) the job would fail because the output directory was not created by StringTie. From the docs, I understand that StringTie does this step. Anyhow, simply creating the output directory before running StringTie solves the problem.
So, if you just don't want to support this small issue, simply update the manual.
Here is an example of the type of error I was getting (via qsub):
Error creating output file
/dcs01/ajaffe/Brain/derRuns/derSupplement/simulation/stringtie/sample1G1R1/outfile.gtf.tmp

where /dcs01/ajaffe/Brain/derRuns/derSupplement/simulation/stringtie existed already, but not the subdirectory sample1G1R1.
This is with StringTie version 1.1.2.
Best,
Leo

StringTie is indeed supposed to create the output directory, as described in the manual, and in my tests it does actually do it, so I suspect there is something fishy with the way I call mkdir() there which does not quite work as expected on a grid file system (session) like the one you are using. Ah, I see that I attempt to create the new directory with permissions 0775 and I neglected to check if the mkdir() call was actually successful -- this is definitely something I should fix, thank you for bringing it to my attention!
Just out of curiosity, what is the command line you used (what options) ?

The script I used is this one. The error popped up during the first StringTie run. That is:
stringtie ${fullpath} -o ${WDIR}/${libname}/outfile.gtf -p ${CORES} -G ${WDIR}/hg19-knownGene.GTF

Regarding the qrsh attempt, I was wrong. It does not hang, I simply
didn't wait enough for the job to complete. I realized this after
using the -v option and completed the test with a smaller GTF file
that the one I was using before.

So through qrsh  it actually created the output directory by itself, as expected?
Anyway, I've already made some adjustments to the mkdir() code, now it should be more explicit about any system errors and it's more conservative about the permissions requested for the created directory (I suspect it was a permission issue with those submitted jobs which failed for you). These adjustments should be in the next release..

Yes, on my most recent test qrsh actually created the output directory as expected. So the problem was only with qsub.
Thank you for addressing this small issue =)

Could you please try v1.2.0 of StringTie (we just released) on a small example and let me know if the new mkdir() code now works as it should with qsub ?

Hi,
Using version 1.2.1 I get the following error:
Warning: failed at mkdir(): No such file or directory
Error: cannot create directory /dcs01/ajaffe/Brain/derRuns/derSupplement/simulation/stringtie/sample1G1R1-no-assembly/!

That comes from using https://github.com/lcolladotor/derSupplement/blob/af6b329366181a978c3845843b846ffc0a2660da/simulation/stringtie/run-stringtie.sh#L198 which looks like this:
stringtie ${fullpath} -o ${WDIR}/${libname}-no-assembly/outfile.gtf -p ${CORES} -G ${MAINDIR}/gtf/chr17.gtf -b ${WDIR}/${libname}-no-assembly/ -e

The problem goes away by creating the directory manually before running stringtie (see https://github.com/lcolladotor/derSupplement/commit/d47d45fc220db62833b5ff5a0e95efc1759c0376).
I just removed the redudant -b info like you've told me before with commit https://github.com/lcolladotor/derSupplement/commit/5a758d7f0a887e34d388c6d638b8f55edf5f7c2c
Sorry for not checking back in a while.
Best,
Leo

Weird, not sure why mkdir() still fails under qsub, I have to take another look..
For now I can only comment related to the -b <output_dir> option,  it seems you want use the -B option (instead of -b) if you still want the ballgown tables, and they'll be written in the same output directory as the one specified by the -o option.

Yup, thanks! I noticed the -b vs -B issue as well (https://github.com/lcolladotor/derSupplement/commit/253f05415734d1f0e60632b476c0a94949efc1ed).

Hello gpertea,
I'd first like to thank you for providing such an amazingly fast and versatile RNA seq analysis tool. After upgrading to stringtie v1.2.0 / v1.2.1 I'm constantly getting error messages and empty output tables/no output tables at all. Neither the-b command nor the combination of -B and -o seem to work, it's always a

Error creating output file:

message. The error message that pops up when using the -b option provides a temporary directory while the -B/-o combination provides the folder specified by -o. I first assumed that the error might have something to do with the newly added --merge command in stringtie v1.2.0 but sadly, running the -b (or the -B/-o) option with a cuffmerge gtf-file results in the same error message.
On an additional note, I've never seen any temporary directory at all when using older versions of stringtie, but I don't know if this might help you resolving the (presumably) buggy ballgown output feature.
Regards,
Frederic

Wow this sounds like a more common issue than I thought!
Indeed since v1.2.0 I started using mkdtemp() to create the temporary directory and I have changed slightly the way the output files are managed - of course I have not encountered any problems with these changes on my system(s) (mostly RedHat based, on local or NFS shares, and some older OS X system).
Frederic, could you please provide me with more details about the system(s) where you are getting these errors? Also I'd like to know about the underlying filesystem - is it a network share of some sort, perhaps coming from a Windows server? (or whatever it is, it would be good to know).
If you prefer you can send this info directly to<EMAIL_ADDRESS>directly instead if posting it here.

It would be great if I could get some feedback on this issue with the new v1.2.2 version. I took another shot at the automatic path creation and I'd like to see if anyone still encounters any directory creation errors, and if so, please report here (or directly to me) the exact error message.

I am running stringtie-1.3.3b.Linux_x86_64 version.
Command used: /Programs/StringTie/stringtie-1.3.3b.Linux_x86_64/stringtie ../star/Sample_212a.Aligned.sortedByCoord.out.bam -o Sample_212a -p 5 -G /data/Human/GRCh37/gencode.v19.annotation.A.R.1.gtf --fr -f 0.01 -A gene -C -B -v
Error: Error creating output file Sample_212a
Does not matter, if I run it locally or on a cluster. StingTie keeps giving the same error.

Same problem with stringtie/2.1.0 on HPC
slurmstepd: error: Unable to create TMPDIR [/localscratch/golrokh.48950538.0]: Permission denied
slurmstepd: error: Setting TMPDIR to /tmp
However, when I am connected directly to a calculating node interactively, there is no error


https://drive.google.com/file/d/175qTPfFWSBw4b0VZmpuLO6BqE3WqHPPP/view

https://drive.google.com/file/d/175qTPfFWSBw4b0VZmpuLO6BqE3WqHPPP/view

Is there a question?

@karlkras put reactdatepicker in bottom part of the screen and open the dateselector, it gets opened on top of the field which is currect but change the month using the right left arrow and since for september 2018 to october 2018 the number of rows differ hence the react-datepicker-popper alignment gets misaligned, basically the transform: translate3d(100px, 255px, 0px) is not being updated hence once we try to select a date by clicking a date on this misaligned react-datepicker-popper it only corrects the alignment and the date doesnt gets selected, next click will only select the date as the first click went in vain to correct the alignment by updating the transform property, this is only happening when the date picker is placed in the bottom part of the screen and the datepicker gets opened on top of the field as there is no space below the field on the screen.

please refer to the video link for reproducing the issue.
https://drive.google.com/file/d/175qTPfFWSBw4b0VZmpuLO6BqE3WqHPPP/view


Badge alignment adjustment?

Is it possible to change the alignment of the badges when placed in a state card?

What do you mean? Could you provide a screenshot?

Default left alignment

Align to center

Added variables to theme this in 20171227


Add missing unittest

Hi @mike820324 , please help review~

uh... weird, the tui seems not modified but the test failed... I'll fix that..

Ohh.... it's screen length problem... I will find a way to bypass that!

Coverage increased (+1.8%) to 85.742% when pulling ea254b9edd47f0c7a6754d0152c4c405cae27c20 on unittest into 441c1240f6f1c37ad86ace148f9a27fdfcb6a4a4 on master.

Good catch, if every thing works fine, would you mind merging the two commits into one and force push to this PR?

Done~

Changes Unknown when pulling 5f21b59e6a7d49dad1cc12b96ab33c66f6660c4a on unittest into ** on master**.

Merged thanks


Flag users and memberships created by the Application object flow

When creating a new Application record to interact with the API layer, Bullet Train creates a user and membership that corresponds to the application. The issue is that when this user is removed from the team, the API will silently fail from then on. While there is a lot of power with this, it would be helpful to be able to programatically identify the user as an "Application" or "Platform" user, and potentially some safety guards around deleting those users without also removing the application.

@ssteffen Agreed, these memberships should not be removable.

@gazayas I think Membership should throw an exception if someone tries to delete a membership that has platform_agent_of_id and try to figure out how to use CanCanCan to mark those memberships as cannot :destroy.

(For context, Membership can't actually be deleted in-app, it can only have it's user_id attribute nullified.)

+1 also if you destroy the user before destroying the application, application#destroy_user will fair with an error undefined method 'destroy' for nil:NilClass (since the user doesn't exist anymore)

Ah, we never linked https://github.com/bullet-train-co/bullet_train-base/pull/85 here.
I'm also seeing that we can technically re-invite the application to the team once we remove them, which I personally don't feel is in line with the original logic to disallow platform application tombstoning. The membership shows up as archived because we delete the user via the platform application page, but maybe we just shouldn't show the membership at all once it's there.
I'll also look into safeguarding against a NoMethodError when the user isn't present.
@andrewculver, any specific direction you want to take with this one?

We can potentially at least add a CanCanCan role to the Re-invite to Team button if we want to keep application memberships on record.


Auto-update for packages related to 'healthcare-components-1.0.0-master-20200908-1'

Updates package 'Microsoft.Health.Abstractions' to version '1.0.0-master-20200908-1'
Updates package 'Microsoft.Health.Api' to version '1.0.0-master-20200908-1'
Updates package 'Microsoft.Health.Extensions.DependencyInjection' to version '1.0.0-master-20200908-1'
Updates package 'Microsoft.Health.Core' to version '1.0.0-master-20200908-1'
Updates package 'Microsoft.Health.Test.Utilities' to version '1.0.0-master-20200908-1'
Updates package 'Microsoft.Health.Client' to version '1.0.0-master-20200908-1'
Updates package 'Microsoft.Health.Extensions.BuildTimeCodeGenerator' to version '1.0.0-master-20200908-1'
Updates package 'Microsoft.Health.SqlServer' to version '1.0.0-master-20200908-1'
Updates package 'Microsoft.Health.SqlServer.Api' to version '1.0.0-master-20200908-1'

These changes will be merged in PR #1238.


Add cmakefile

Add CMakeLists.txt and use sleep_for() instead of Sleep().
Build tested on ubuntu 16.04.
(I don't know it works or not because I don't have the device)

LGTM!

I also checked MinGW(Windows)
$ pacman -S mingw-w64-x86_64-libusb

and it works!


Error coming up while using Component Layouter

I am using Component Layouter in one of my applications for better responsive design.
Application is working fine but sometimes an error is coming up.
Here is the attached screenshot.

Working on this now, stand by.


Reorder sections in DG - features

Codecov Report

Merging #245 (319b743) into master (eab4e42) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #245   +/-   ##
=========================================
  Coverage     68.15%   68.15%
  Complexity      745      745
=========================================
  Files            94       94
  Lines          2581     2581
  Branches        346      346
=========================================
  Hits           1759     1759
  Misses          763      763
  Partials         59       59

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 eab4e42...319b743. Read the comment docs.


Next Greater Element in Stack

I will implement the Next Greater Element problem in stack using C++ programming language.

Can I work on this issue under python or java.Please assign me  under GSSOC'2021

Hi I would like to solve problem using C++

Hey  @anubhavitis @dheerajkotwani
I am a GSSOC'21 participant(Discord Username -Oneway_Shruti(P)#9537)
I wish to contribute to Next Greater Element in Stack. I can write the code in C++ with a time complexity of O(n) and  also in python .Do consider assigning me on this.

I would like to work on this issue as a GSSoC'21 .Please assign this issue to me,I can solve it in c++ with proper explanation, comments and sample inputs and outputs.I will follow guidelines given for codebase and contributions.

Hello, I would like to contribute to this project in c++ language.
->with O(n) time complexity
->with O(1) space complexity
I am a GSsoc participant.

Hey @rudrakshi99  , @Tanya933  , @sayantan1413  , @SwarnimaShishodia  , @pallavidhere23
I would like to contribute to this project in c++ language with O(n) complexity.
Can you assign me this issue.
I am a gssoc participant - > (username - Sanjana(P)#0345)

Hey @rudrakshi99 , can I implement this in Python ?

Hey, I'm a GSSOC'21 participant. I would like to work on this issue in C++, please assign it to me.

I would like to work on this issue in c++, please assign it to me.

Hey, Can I contribute to this project as a part of GSSoC?

@tarun26091999  @rudrakshi99  , I'm a GSSOC'21 participant. I would like to work on this issue in C++, please assign it to me.

@pallavidhere23 do in java


Documentation for Table.select

Let's add more docs to Table.select! See Table.split for an example of a good docstring.

Hey @ericz82, it's great to have you on board. Please take on this issue and submit a pull request! Ping me if you have any questions.


simplify CrawlDispatcher.mainLoop()

I am pretty sure that this is the same operation, but much simpler, so we don't confuse ourselves every time we try to read this code

found the bug in this, incomplete, will re-fix later


build(main): release 1.4.5

:robot: I have created a release beep boop
1.4.5 (2024-09-27)
Continuous Integration

docker: Refactor Docker deployment workflow to make completion of image URLs in README.md before update repo description (9f27e9c)

Documentation

Small fixes in README.md (9f27e9c)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.4.5
:sunflower:


pgbouncer does not work with non-default dbs

If you create a non-default (i.e. in addition to the default "postgres") db, pgbouncer does not support it.
The current configuration relies on a user + function being present in the target db, but they're only set up for the postgres db.

closing as no longer relevant since we use supavisor


vir folder is not required

this folder has been created by the maintainers while creating virtual environment, this should not be uploaded
so, delete it  and add instructions in README.md for deleting the virtual environment folder before pushing

@chiraag-kakar @harshita2216 @amanjha8100 please assign this to me

this has made it like this

see the impact

you do not need it
check here How?

Please check the project channel. Thanks.

Hey @flyingsonu122 , really appreciate your suggestion to improve the project directory structure , however we cannot consider this as an issue for the following reasons :

Each Contributor is free to name virtual environment according to his/her choice.
Secondly it is the responsibilty of the contributor to include that virtual environment directory in the .gitignore file.

Practically it is not possible for the maintainers to change the vir for every contributor. As of now the existing vir directory  is not creating any issue as such as the LFS is enabled for this repository.
I hope you are clear with why we don't need this as an issue :)


IO Limits not working on zfs pool

Hi, just trying some limiting of containers. I have containers on zfs mirrored pool (created manually, not via lxd init) with two physical drives.
Created with simple zpool create zfs mirror sdb sdc
zpool status zfs
  pool: zfs
 state: ONLINE
  scan: scrub repaired 0 in 0h2m with 0 errors on Sun Jul  9 00:26:50 2017
config:

	NAME        STATE     READ WRITE CKSUM
	zfs         ONLINE       0     0     0
	  mirror-0  ONLINE       0     0     0
	    sdb     ONLINE       0     0     0
	    sdc     ONLINE       0     0     0

errors: No known data errors

zfs list
NAME                                                                          USED  AVAIL  REFER  MOUNTPOINT
zfs                                                                          21.6G  1.73T    19K  /zfs
zfs/containers                                                               17.7G  1.73T    19K  none
zfs/containers/logger-67                                                     17.7G  2.30G  17.7G  /var/lib/lxd/storage-pools/default/containers/logger-67
zfs/containers/master-67                                                     35.1M  20.0G   549M  /var/lib/lxd/storage-pools/default/containers/master-67
zfs/custom                                                                     19K  1.73T    19K  none
zfs/deleted                                                                    19K  1.73T    19K  none
zfs/images                                                                   3.83G  1.73T    19K  none
zfs/images/001d4b031b4e66c3e996885fe23223d73edcc36161f792a7ae5942822f366df0   496M  1.73T   496M  none
zfs/images/44022e76724b4baced6b6ad8d997b9e366147609f316fe4a0168de8171cc7f76   515M  1.73T   515M  none
zfs/images/584db839344bf0111dd63ae199e97684c9aba4e225cea9e1474b3951efa070c8   515M  1.73T   515M  none
zfs/images/80ae1d7015bfecab107a71aaf2fd2710875dabfd26947101181f32180140153e   515M  1.73T   515M  none
zfs/images/8b8136757d6da99266712d5d52e37b693f3f7ffc54cf23d486f1cab024dad44f   458M  1.73T   458M  none
zfs/images/900498fe0a6a52ffc51a25aae61755beb54f8da4c00873114b9e682809ece13f   482M  1.73T   482M  none
zfs/images/a3ec935cee7c4ac781c07618eb9bfcfaddfa573d8f82e988085333a8578013e3   457M  1.73T   457M  none
zfs/images/e3cea4f350c8f84177da5a45664f152b9ff07a3eeab9053e391e6bf6b063f4b1   482M  1.73T   482M  none
zfs/snapshots                                                                  38K  1.73T    19K  none
zfs/snapshots/logger-67                                                        19K  1.73T    19K  none

lxc storage list
+---------+-------------+--------+--------+---------+
|  NAME   | DESCRIPTION | DRIVER | SOURCE | USED BY |
+---------+-------------+--------+--------+---------+
| default |             | zfs    | zfs    | 14      |
+---------+-------------+--------+--------+---------+

lxc storage show default
config:
  source: zfs
  zfs.pool_name: zfs
description: ""
name: default
driver: zfs
used_by:
- /1.0/containers/logger-67
- /1.0/containers/logger-67/snapshots/postpandora
- /1.0/containers/master-67
- /1.0/images/001d4b031b4e66c3e996885fe23223d73edcc36161f792a7ae5942822f366df0
- /1.0/images/44022e76724b4baced6b6ad8d997b9e366147609f316fe4a0168de8171cc7f76
- /1.0/images/584db839344bf0111dd63ae199e97684c9aba4e225cea9e1474b3951efa070c8
- /1.0/images/80ae1d7015bfecab107a71aaf2fd2710875dabfd26947101181f32180140153e
- /1.0/images/8b8136757d6da99266712d5d52e37b693f3f7ffc54cf23d486f1cab024dad44f
- /1.0/images/900498fe0a6a52ffc51a25aae61755beb54f8da4c00873114b9e682809ece13f
- /1.0/images/a3ec935cee7c4ac781c07618eb9bfcfaddfa573d8f82e988085333a8578013e3
- /1.0/images/e3cea4f350c8f84177da5a45664f152b9ff07a3eeab9053e391e6bf6b063f4b1
- /1.0/profiles/app_br
- /1.0/profiles/master_br
- /1.0/profiles/privileged_br

profile used on master-67 (which i trying to limit io)
config:
  boot.autostart: "false"
  linux.kernel_modules: ip_tables, ip_vs
  security.privileged: "true"
description: Default master profile
devices:
  eth0:
    nictype: macvlan
    parent: bond0
    type: nic
  eth1:
    nictype: bridged
    parent: br0
    type: nic
  root:
    path: /
    pool: default
    type: disk
name: master_br
used_by:
- /1.0/containers/master-67

after creating the master-67 i have attached root directly to container with
lxc config device add master-67 root disk path=/ pool=default
and set limits with
lxc config device set master-67 root size 20GB
lxc config device set master-67 root limits.max 1MB

lxc config show master-67 --expanded:
architecture: x86_64
config:
  boot.autostart: "false"
  image.architecture: x86_64
  image.description: master
  image.name: master-image
  image.os: ubuntu
  image.release: xenial_
  image.variant: default
  linux.kernel_modules: ip_tables, ip_vs
  security.privileged: "true"
  volatile.base_image: 584db839344bf0111dd63ae199e97684c9aba4e225cea9e1474b3951efa070c8
  volatile.eth0.hwaddr: 00:16:3e:60:a3:84
  volatile.eth0.name: eth0
  volatile.eth1.hwaddr: 00:16:3e:b7:9f:6d
  volatile.eth1.name: eth1
  volatile.idmap.base: "0"
  volatile.idmap.next: '[]'
  volatile.last_state.idmap: '[]'
  volatile.last_state.power: RUNNING
devices:
  eth0:
    nictype: macvlan
    parent: bond0
    type: nic
  eth1:
    nictype: bridged
    parent: br0
    type: nic
  root:
    limits.max: 1MB
    limits.read: 1MB
    limits.write: 1MB
    path: /
    pool: default
    size: 20GB
    type: disk
ephemeral: false
profiles:
- master_br
stateful: false
description: ""

But inside container only the size limit is in action. When i try
time dd if=/dev/zero of=/testfile bs=1M count=100 conv=fsync
the results is like this (full speed of drives)
100+0 records in
100+0 records out
104857600 bytes (105 MB, 100 MiB) copied, 1.27948 s, 82.0 MB/s

real	0m1.282s
user	0m0.000s
sys	0m0.080s

at least lxc info:
config:
  core.https_address: <IP_ADDRESS>:8443
  core.trust_password: true
  images.auto_update_interval: "15"
api_extensions:
- storage_zfs_remove_snapshots
- container_host_shutdown_timeout
- container_syscall_filtering
- auth_pki
- container_last_used_at
- etag
- patch
- usb_devices
- https_allowed_credentials
- image_compression_algorithm
- directory_manipulation
- container_cpu_time
- storage_zfs_use_refquota
- storage_lvm_mount_options
- network
- profile_usedby
- container_push
- container_exec_recording
- certificate_update
- container_exec_signal_handling
- gpu_devices
- container_image_properties
- migration_progress
- id_map
- network_firewall_filtering
- network_routes
- storage
- file_delete
- file_append
- network_dhcp_expiry
- storage_lvm_vg_rename
- storage_lvm_thinpool_rename
- network_vlan
- image_create_aliases
- container_stateless_copy
- container_only_migration
- storage_zfs_clone_copy
- unix_device_rename
- storage_lvm_use_thinpool
- storage_rsync_bwlimit
- network_vxlan_interface
- storage_btrfs_mount_options
- entity_description
- image_force_refresh
- storage_lvm_lv_resizing
api_status: stable
api_version: "1.0"
auth: trusted
public: false
environment:
  addresses:
  - <IP_ADDRESS>:8443
  architectures:
  - x86_64
  - i686
  certificate: |
    -----BEGIN CERTIFICATE-----
 --
    -----END CERTIFICATE-----
  certificate_fingerprint: 67b7999476ec25dcfbf3fab2e399f9d243a9355b1fd4c24062efbac8b6deabe7
  driver: lxc
  driver_version: 2.0.8
  kernel: Linux
  kernel_architecture: x86_64
  kernel_version: 4.10.0-26-generic
  server: lxd
  server_pid: 3808
  server_version: "2.15"
  storage: zfs
  storage_version: <IP_ADDRESS>-2

lxd package versions 2.15-0ubuntu6-ubuntu16.04.1-ppa1
lxcfs 2.0.7-0ubuntu4-ubuntu16.04.1-ppa1
I have tried lvm, dir storage, btrfs and not able to make io limits work. Only the size limits.
Do i missed something in my config/setup or is it supposed to "not work" like this?

Hi,
There are a number of limitations for block I/O limits due to the way the kernel enforces them.
Unless ZFS on Linux improved things recently, they are effectively useless on ZFS as only a very very limited subsets of I/O operations actually hit that code path.
This is documented here: https://github.com/lxc/lxd/blob/master/doc/storage.md#zfs
For the other backends, they usually have more of an impact, but things like LVM or RAID can make them a lot less useful, see: https://github.com/lxc/lxd/blob/master/doc/storage.md#io-limits
This other issue highlights a problem with LXD 2.0.10 (so not affecting you) but also shows some working setups: https://github.com/lxc/lxd/issues/3515


Refactoring actions replace placeholders by code snippets but code snippets are only supported for code completion

https://github.com/apple/sourcekit-lsp/pull/481 replaced SourceKit placeholders (like <#code#>) by LSP snippets for code actions, which are used to represent SourceKit refactoring and diagnostic Fix-Its. But LSP snippets are only supported for code completion, not for code actions. This results in LSP snippets like ${1:code} being inserted into the editor.
Instead of replacing SourceKit placeholders by LSP placeholders, we should just remove them altogether from the code action response.
rdar://92447079

Implemented in https://github.com/apple/sourcekit-lsp/pull/489.


Picturepark has release the Picturepark Content Platform supporting OpenID Connect. The Picturepark DAM SAML integration still stands and is working just fine. How can the new Picturepark Content Platform be added?

Picturepark has release the Picturepark Content Platform supporting OpenID Connect. The Picturepark DAM SAML integration still stands and is working just fine. How can the new Picturepark Content Platform be added?
#53222 Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: db93166f-7835-1b68-2fd9-9056081f36cd
Version Independent ID: edc9212c-1858-0fe6-7dec-9cf7c8d30955
Content: Tutorial: Azure Active Directory integration with Picturepark
Content Source: articles/active-directory/saas-apps/picturepark-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@ladykraken I cannot create the issue on the desired page as I don't have an account in the SharePoint directory. can you pls fix this, so that I can create the doc update request as requested.

Originally posted by @Membaer in https://github.com/MicrosoftDocs/azure-docs/issues/53222#issuecomment-855940382

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: db93166f-7835-1b68-2fd9-9056081f36cd
Version Independent ID: edc9212c-1858-0fe6-7dec-9cf7c8d30955
Content: Tutorial: Azure Active Directory integration with Picturepark
Content Source: articles/active-directory/saas-apps/picturepark-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@Membaer
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

@Membaer can you please share your organizational email id so that we can add that in our portal? Once we add that in our portal, you will be able to join the portal and submit the request.
For open-id, you need to submit the separate request in our portal  with different name as "Picturepark" is already listed in the Azure AD gallery and we cannot publish two apps with same name. -

#please-close


Llama3.2-vision - fails to process png files

What is the issue?
Couldn't process image: "invalid image type: application/octet-stream"
Error: invalid image type: application/octet-stream
OS
Linux
GPU
Nvidia
CPU
AMD
Ollama version
3.2-vision 0.4.0-rc5

Also get this error on some jpg files as well:
Couldn't process image: "invalid image type: image/webp"
Error: invalid image type: image/webp

How are you calling the model?
$ file puppy.png
puppy.png: PNG image data, 366 x 555, 8-bit/color RGB, non-interlaced
$ (echo '{"model":"x/llama3.2-vision","messages":[{"role":"user","content":"describe this image","images":["' ; base64 -w0 puppy.png ; echo '"]}],"stream":false}') | curl -s localhost:11434/api/chat -d @- | jq
{
  "model": "x/llama3.2-vision",
  "created_at": "2024-10-28T00:21:18.795239901Z",
  "message": {
    "role": "assistant",
    "content": "The image features a small, white puppy sitting on a stone surface. The puppy is positioned in the center of the frame and faces to the right, with its head slightly turned towards the camera. It has short, fluffy fur that appears to be either pure white or very light-colored, making it difficult to discern any darker markings.\n\nThe puppy's ears are folded back against its head, giving it a cute and endearing appearance. A small red collar encircles its neck, adorned with a shiny gold bell that adds a touch of elegance to the overall scene.\n\nIn the background, the stone surface on which the puppy is sitting provides a subtle yet rustic contrast to the puppy's soft fur. The image is well-lit, suggesting that it was taken outdoors during the daytime or in a brightly lit indoor setting. Overall, the image presents a charming and intimate portrait of a small white puppy, capturing its innocence and playfulness."

There's an issue with passing image files via the CLI: https://github.com/ollama/ollama/issues/7386

Hmm..  This is getting even more interesting.
File 1
ISO Media, HEIF Image HEVC Main or Main Still Picture Profile
So, I saved it as .png and file <converted file>:
PNG image data, 3088 x 2320, 8-bit/color RGB, non-interlaced
And send it to ollama:
ollama run x/llama3.2-vision:latest "Describe image: <..>"
Added image '<..>'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

File 2:
Yes, it turned out to be a webp file.
RIFF (little-endian) data, Web/P image, VP8 encoding, 1024x1024, Scaling: [none]x[none], YUV color, decoders should clamp
I saved it as .jpg:
JPEG image data, JFIF standard 1.01, aspect ratio, density 1x1, segment length 16, baseline, precision 8, 1024x1024, components 3
Ollama output:
Error: POST predict: Post "http://<IP_ADDRESS>:39043/completion": EOF

I am using ImageViewer on Ubuntu 24 to convert.  Maybe this tool is no good?  I am getting decent results on a few other jpeg and png images.  I think I just happen to be feeding images of question source to Ollama.  The ones that work fine are ones that I downloaded from my own camera.

@pitimespi Sorry about this. Do you have the image itself for us to test?
The error is showing that it is a webp image not a PNG.
Would love to get the converted JPEG from you.

Does it work better if you use the interactive mode?
$ ollama run x/llama3.2-vision:latest
>>> Describe image: <path_to_image>

Might be related to https://github.com/ollama/ollama/issues/7362.

Does it work better if you use the interactive mode?

No.

When I get Error: POST predict: Post "http://<IP_ADDRESS>:39043/completion": EOF, I ran journalctl -u ollama --no-pager which showed ollama[1983902]: [GIN] 2024/10/27 - 20:14:37 | 200 |  2.946318763s |       <IP_ADDRESS> | POST     "/api/generate" which seems to confirm that the issue is in fact related to #7362.

Hitting /api/chat directly and passing base64 encoded strings worked for all images!  Should I just close this as a dup of 7362 then?

Interactive mode uses /api/chat so if you are still seeing problems there might be something else, so perhaps not a dupe of #7362.

It's returned from the runner:
https://github.com/ollama/ollama/blob/084929c29318c6a6604f1b01eb0a782cb31242ba/llm/server.go#L764
$ ollama:0.4.0-rc5 run x/llama3.2-vision describe this image: ./puppy.jpg
Added image './puppy.jpg'
Error: POST predict: Post "http://<IP_ADDRESS>:45799/completion": EOF

I think this is exactly the same as #7362

Austin indicates in https://github.com/ollama/ollama/issues/7388#issuecomment-2440385959 that his problem is not fixed by using 3.

@rick-github Well, maybe he could double-check that. Using https://github.com/ollama/ollama/issues/7362#issuecomment-2442862378 I can run jpg and png just fine.

I can confirm I no longer have the issues I mentioned above (well, I can work around them now).

Closing as all the remaining issues are known issues and are tracked elsewhere.


item detail table

barcode and price should be change while change the unit of item having alternative unit

[ ] while changing the unit barcode not changing respectively

issue closed


limit depth

hello!
good package!
but can you provide functionality to limit depth of ancestors or descendants or how i can do this by myself?

currently, no functionality to control depth. Maybe after some time, I will add this functionality.


Broken on latest nightly

$ rustc --version

rustc 1.27.0-nightly (2f2a11dfc 2018-05-16)

$ rustup --version

rustup 1.11.0 (e751ff9f8 2018-02-13)

$ cargo --version

cargo 1.27.0-nightly (9e53ac6e6 2018-05-07)

Rocket version:
0.3.10
error[E0023]: this pattern has 1 field, but the corresponding tuple variant has 2 fields
   --> /home/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/pear_codegen-0.0.16/src/lib.rs:317:9
    |
317 |         ExprKind::Block(block) => {
    |         ^^^^^^^^^^^^^^^^^^^^^^ expected 2 fields, found 1
error: aborting due to previous error
For more information about this error, try `rustc --explain E0023`.
error: Could not compile `pear_codegen`.

Fixed in https://github.com/SergioBenitez/Pear/commit/87dbd39949604bdc2ef051ab3888495d5aa52219 and released as 0.0.17. A cargo update should pull the new version and resolve your issue.

Random note (that doesn't have anything to do with the nightly change here):
0.0.x is semver-incompatible with 0.0.x+1 meaning it is impossible to release a semver-compatible update, like there is with 0.x.y (which is semver-compatible with 0.x.y+1).
I wish we never allowed 0.0.x version numbers, since they provide no benefits over 0.x.y, while removing the possibility of bugfix updates to the crate.

@eddyb While that's true according to the semver spec, Cargo treats them as semver compatible.

@SergioBenitez I remember @steveklabnik telling me something similar and my experience being the opposite. But maybe Cargo has changed at some point?
Are you talking from docs, or from experience, and if the latter, how recent?

The semver spec doesn't comment on ranges. It only comments on how to parse versions. Ranges are implemented by various implementations in various ways.
Semver does say

Major version zero (0.y.z) is for initial development. Anything may change at any time. The public API should not be considered stable.

However, most implementations say that 0.y is compatible with any 0.y.z but not with 0.(y + 1). This is because of how most people actually use x=0 versions in the wild.


Does it work with Angular Material ?

I am implementing UI using angular material, I wanted to add multi select drop-downs in my UI, I already used this with bootstrap, does it supports angular material ? if yes please provide any reference of the same.

+1

@harshaldhake Now angular material have added multi select dropdown [https://material.angularjs.org/latest/demo/select](check here)


Update Helix regular baseimages and VS2022 versions

Release Note Category

[X] Feature changes/additions
[ ] Bug fixes
[ ] Internal Infrastructure Improvements

Release Note Description
Update Scouting Release VS2022 from 17.6.5 to 17.6.6.
Update Scouting Preview VS2022 from 17.7.0 p5 to 17.7.0 p6.
Update Regular Preview VS2022 from 17.7.0 p3 to 17.7.0 p4.
Update baseimages.

Related task: https://dnceng.visualstudio.com/internal/_workitems/edit/5259


Adding expand/collapse buttons to nested lists

Nested list works good, but it does not allow to create tree-like view using it, because of lacking collapse/expand buttons. It there any way to achieve this or maybe to add it as a new feature?

@dukoo It's out of scope for this project.
This library handles the drag and drop via Sortable, and not anything else.
You could add a button that shows/hides the container.


Add UNIJOS

The University of Jos, Plateau State, Nigeria

@Nannim I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host fcepkn.fcep.edu.ng not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!

Apologies, I have redone the resolutions, Thank you.


Expose Function for Sanitizing JSON?

At work, I've written a function that sanitizes JSON if a key is not in an approved Set[String].
The function looks like:
def sanitize(json: Json, approvedList: Set[String], sanitizedValue: String): Json

If a JSON key is in the whitelist, then its value will be shown*; otherwise, the key's value will be sanitized, i.e. replaced with $sanitizedValue.
Example:
val json: Json = Json.obj( ("foo" := "bar"), ("bip" := 1234) )
val output: Json = sanitize(json, Set("foo"), "XXXX")

output would equal { "foo" : "bar", "bip" : "XXXX"} since bip is not in the approved list.
Please let me know if you're interested in such functionality, i.e. would welcome a PR.
Thanks
* - objects and arrays are handled differently.

Could you please let me know your thoughts, @travisbrown? Thanks

Thanks for proposing this. I don't really think it belongs in circe-core, but I've been thinking for a while that we should have a circe-extras module for stuff like this (it would have only a circe-core dependency, and would be for things that didn't quite make the circe-core cut). If someone wants to kick that off it'd definitely move faster than if it's left up to me.

If someone wants to kick that off it'd definitely move faster than if it's left up to me.

Thanks, Travis! If I propose such a change, I'll do so in circe-extras, as you noted.


NodeJS LTS 20 Support

NodeJS 18 LTS ended active support over a month ago although it still is receiving security updates. Node is pushing 20 LTS now on their website and on Windows, the winget package manager is actively trying to upgrade 18 to 20.
I propose adding support for the current mainstream v20 LTS.
When trying to set things up with 20, you get the following:
$ npm install
npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm<EMAIL_ADDRESS>npm ERR! notsup Not compatible with your version of node/npm<EMAIL_ADDRESS>npm ERR! notsup Required: {"node":">=18.10.0 <=18.18.2"}
npm ERR! notsup Actual:   {"npm":"10.2.3","node":"v20.10.0"}

Yeah, this is a duplicate of #5910. Github has been switching over slowly today and jobs have been intermittently failing. I think I have something that should work, but need to make sure it works on both 18 and 20.
I'm going to close this as a duplicate of that other issue.


Create wireframe for account info

todo:

[x] View Application Status
[x] Edit personal information
[x] Manage group
[x] View your housing assignment
[ ] Communication with housing administrators

Not sure if "communication with housing administrators" is needed here


SQL show frontends  display bug

Steps to reproduce the behavior (Required)
SHOW PROC '/frontends'\G
Expected behavior (Required)
LastHeartbeat,StartTime,Version
those three should show correct index,
now they all NULL
Real behavior (Required)
SHOW PROC '/frontends'\G

while the web can show it normally

StarRocks version (Required)
2.1.6 d44c230

You can use show frontends not SHOW PROC '/frontends'

We should take a consideration about the show proc command.


Accept both --no-input and --noinput

This makes it easier for users who may be used to one spelling or the other and brings these commands compatibility with Django built-in commands (which all accept either spelling).

@camilonova apologies if you're not the right person to ping, is there anything I need to do to get this merged? I'm not sure what the PR process is for this repo.

Thank you!


Mutually exclusive login between labman and qiita

Seems like a user can't log to both websites under the same username at the same time. At least not without being logged out.
Steps to reproduce:

Open a new browser window.
Login to labman with your username.
Login to qiita with the same username as in the previous step.
Interact with the qiita UI.
Go back to labman and interact with the UI, by now you will notice that most functionality is disabled and or will see errors as you have now been logged out.

This can be solved by using the same cookie secret on both servers when launching them.

Just tested this in maptest/qiita and is not happening. Also, after chatting with @ElDeveloper he remembers that this used to happen in his local install ... thus, closing.


Near Term Advanced Tasks

Font Rendering
Probably MSDF, how to generate glyphs from windows built-in fonts?
GPU k-Nearest-Neighbour Search Queries
Might be OK building the data structure on the CPU.
Voxelization
Hierarchical using Ray Query in AS vs Less Hierarchical Rasterization method.
Perfect Hashing (requires Voxelization)
Implement the Perfect Hashing paper, with out own spin of multi-scale perfect hashing (perfect hash voxel data with mip-maps).
IES profiles
Use a sampler1Darray or just a sampler2D to store isotropic IES emission profiles (do we need anisotropic?), pack all profiles for a scene into a single texture (since quantization will be identical).
Apply profile as a function of the NdotV (or in the case of anisotropic, TdotV and BdotV) at the point the emitter's surface is hit (allows for soft shadows and area emitters while also having a IES profile).
OBB Solid Angle Sampling
Build upon @sunho's work to get something usable for rejection sampling of arbitrary geometries.
OBB computation
Compute OBBs for Models.
kD-Tree Construction (requires OBB computation)
Split models using a kD-Tree into a collection of OBBs with less SAH than the OBB of the whole model.
Many Light Rendering (requires kD-Tree Construction and OBB Solid Angle sampling, might require Perfect Multi-Scale Hashing)
Find better ways to pick lights than just plain old CDF inversion according to surface area and emissive product.
Attenuated Shadow Rays (requires NEE and KHR_raytracing)
See if we can get perf gains (convergence per second) if we run anyhit queries with the single any-hit invocation per primitive and attenuate the contribution of the ray's payload by the hit primitive's BxDF "transmittance".
Basically stop thindielectric and roughdielectric from always killing our NEE rays.
ReSTIR on 3D Grid (requires Many Light Rendering and Perfect Hashing)
Basically Path Guiding for our NEE rays, also find a way to work the envmap product sampling into the mix.

New list as MSDF font, IES and OBB done
GPU k-Nearest-Neighbour Search Queries
Might be OK building the data structure on the CPU.
Voxelization
Hierarchical using Ray Query in AS vs Less Hierarchical Rasterization method.
Perfect Hashing (requires Voxelization)
Implement the Perfect Hashing paper, with out own spin of multi-scale perfect hashing (perfect hash voxel data with mip-maps).
OBB Solid Angle Sampling
Build upon @sunho's work to get something usable for rejection sampling of arbitrary geometries.
kD-Tree Construction (requires OBB computation)
Split models using a kD-Tree into a collection of OBBs with less SAH than the OBB of the whole model.
Many Light Rendering (requires kD-Tree Construction and OBB Solid Angle sampling, might require Perfect Multi-Scale Hashing)
Find better ways to pick lights than just plain old CDF inversion according to surface area and emissive product.
Attenuated Shadow Rays (requires NEE and KHR_raytracing)
See if we can get perf gains (convergence per second) if we run anyhit queries with the single any-hit invocation per primitive and attenuate the contribution of the ray's payload by the hit primitive's BxDF "transmittance".
Basically stop thindielectric and roughdielectric from always killing our NEE rays.
ReSTIR on 3D Grid (requires Many Light Rendering and Perfect Hashing)
Basically Path Guiding for our NEE rays, also find a way to work the envmap product sampling into the mix.


Fix inspector and gradient editor don't update when editing gradient

Fixes #33265

The original issue was fixed. Thanks for the contribution nonetheless.


Introduction to Powershell Write-Host

Proposal Submission
Introduction to Powershell Write-Host
Proposed article introduction
The output is displayed in the PowerShell console using the write-host cmdlet. You can change the text color and background color of the displayed output. Write-host does not treat the object as an object when it is supplied to the pipeline; instead, it treats it as a name parameter or value and simply shows output in the console.
Key takeaways
Parameters in Write-host
Write-host with -seperate
Write-host with -background color
Write-host with -no new line
syntax of Write-host
Merits of write-host in powershell
Article quality
In my article, I'll take the reader step by step to the introduction to Powershell Write-Host. I'll be using simple grammar in my article hence it will be beginner-friendly
References
N/A
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

@EssyH
Please be sure to use this topic suggestion form


Bump extension versions (#8674)

cherry picked from commit 9587edd8673ae636df247a071f8cf6f38e6acaa2

Merging to port to release/1.14 for the next build.

Oh, this is against release/1.14, so I'll port to master assuming it's not already there.

@kburtram It's already in master - I realized after I could have just sent you the commit to cherry pick yourself but figured I had already done the work so just left this one as is

And yes - I'll update the extensions gallery.


check if has access to view or edit, or both

I couldn't find this in the docs.
I'm making a discord bot to update some infos in a sheet. I want it to check if my service account has access to view or edit the sheet before it does anything. Right now if it doesnt have access it just stops my app, on both reading and writing.
im doing the authentication using a service account.
thanks.

To check it directly, I think you'd have to call the Drive API (rather than the sheets API) since that API is what handles permissions and sharing. It's on the to-do list to get some basic functionality working since it's often needed when dealing with sheets, but for the moment it is not supported.
I think if you just call doc.useServiceAccountAuth and wrap it in a try catch, you should be able to detect the permissions error if there is one. If that doesn't work, you should be able to just do a test reading some data. If you need to check for write access, you could do something like add and remove a sheet or a row, or add a note to a cell or something like that.
I assume things may be getting stuck because you're just not handling the errors.

After your answer I went looking for error handling.
I found this:
process.on('uncaughtException, err => {
    message.reply(`${err}`);
})

As I'm using your wrapper in a discord.js bot, I added that line inside the messageCreate event and it worked!
Sorry! I'm learning on my own. Still very new to everything. =)
Thanks <3


Access List + Restart = invalid Cert on all endpoints with access list applied

Checklist

Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
yes
Are you sure you're not using someone else's docker image?
yes
If having problems with Lets Encrypt, have you made absolutely sure your site is accessible from outside of your network?
na

Describe the bug
Per Title
To Reproduce
Create an access list that has an internal subnet white listed (i.e. <IP_ADDRESS>/8).
Apply it to endpoints and save with let's encrypt certificate.
Save.
Verify that it works without issue
Restart nginx proxy manager docker container
Close browser, open it again and go to same url
-- Results in invalid certificate and inspection shows that it's the dummy certificate.
Go into the endpoint
Save the endpoint without changes
Refresh browser
Works fine again.
Note that all endpoints that do not have an access list assigned work fine.
Expected behavior
Should survive restarts properly and apply the certs correctly without having to save the endpoints individually every time.
Operating System
Ubuntu 20.10

I can confirm this. As so far that the issue I am seeing is very similar.
(I am on the latest docker version 2.7.3)
Change an access list, by adding/removing an IP range on the access tab. Then all the proxies using that end point have invalid certificates. It appears this is because the region # Let's Encrypt in the data/nginx/proxy_host/00.conf is missing. Opening and saving the proxy restores the missing data.

Also confirmed that this bug still exists. I am using NPM version 2.8.1 from the jc21 docker image.
@Kareltje1980 solution was a fix for it, but I had to open 20+ proxies to fix it. But its not ideal.

I can confirm that this bug still exists in NPM version 2.9.6 hosted via docker.
@Kareltje1980 solution still works but is not ideal obviously.

Confirmed, I've got this issue too with ubuntu 20.04.2 LTS server as the docker host.
Upgraded to 2.9.7 and still experiencing the issue.

Still experiencing this issue in version 2.9.12. After editing an access list, all of the proxy hosts with that access list selected start using a self-signed certificate instead of the Let's Encrypt one. The workaround described by @Kareltje1980 appears to be working.

It still persist to this date. Latest docker image.

Hello, I faced to the same issue too with the version v2.9.14.

Same in v2.9.15

And Still in v2.9.18

Same here in v2.9.18. Thought I was loosing my mind!

At least it is not me alone having this issue. Is a fix ever coming out for this? I am on the latest version of Nginx, no issues other than this one known bug

Same here in v2.9.19, any help would be appreciated, thanks.

Hey! Any news on this?

nope.
still have problem, I think It is time to learn something else traefik for example.

wow this just happened to me. Debugged for quite a while.


Restrict length of logs

When executing the RUN command, %install magic or any other code that results in a big output to the notebook, restrict the number of lines printed. The overflow should be accessable via a scrollbar in the notebook.

This is something that can be done via Jupyter lab itself. Click to the left of an output to find the Enable Scrolling for Outputs option.
We can document this though.

Check if ipylab provides functionality to access this feature


More descriptive error if Laplacian is not passed.

Adds a more descriptive error if Laplacian is not passed to riemann_metric method while not breaking anything.

To make this work with python 3+ you need to put parenthesis around print statements:
print("Unexpected error: Missing laplacian.")
Can also just remove the = None for Laplacian so that it's now a required argument. This shouldn't break anything either.

Done.

Thanks Omar


No feature scaling.

It seems like there is no feature scaling in dataset.py (when the field type is float).

OK, we will add several common normalization methods.


Add Alpha (transparency) as an option to plotParameterestiamtePairs

eg
fitter.plotParameterEstimatePairs(['k1', 'k2'], markersize1=1, alpha=0.2)

Added alpha. Made options more flexible so can specify for plot and line in a plot.


MM-13618 Adding bot tags.

Summary
Adds bot badges in various places. (like the ones used for webhooks)
Some other minor bot accounts UI tweaks.
Ticket Link
https://mattermost.atlassian.net/browse/MM-13618
Checklist

[x] Added or updated unit tests (required for all new features)
[x] Has UI changes

Device Information
This PR was tested on: OnePlus 5, Android 9

Build Apps for PR label detected. Will generate the app if build succeeds (checks pass and no conflicts with base branch).

Android build App: https://releases.mattermost.com/mattermost-mobile-pr/PR-2669/PR-2669.apk)
iOS build App: itms-services://?action=download-manifest&url=https://releases.mattermost.com/mattermost-mobile-pr/PR-2669/PR-2669.plist

Build Apps for PR label detected. Will generate the app if build succeeds (checks pass and no conflicts with base branch).

Android build App: https://releases.mattermost.com/mattermost-mobile-pr/PR-2669/PR-2669.apk)
iOS build App: itms-services://?action=download-manifest&url=https://releases.mattermost.com/mattermost-mobile-pr/PR-2669/PR-2669.plist

Checked for BOT tag in the following areas:
- DM header
- GM Header
- Profile
- Channel side-bar (including Jump To)
- Flagged posts list
- Search results
- Pinned Posts
- Recent Mentions
- main input box auto-complete
- Rely thread input box auto-complete
- Search FROM: auto-complete
- Search IN: auto-complete
- Manage members list for channel - Missing here
- Add members list for channel - Missing here
RN issues found:

BOT tag missing when managing  or adding channel Members
Profile of a BOT does not show BOT description
Tapping BOT users' name from main or reply thread does not open profile as it does with non-BOT users.

Seems like a get a double push notification when a bot mentions me but I have no consistent repo steps for this (still investigating)
@crspeller  or @jasonblais please advise if any of these should be addressed as separate PRs

Build Apps for PR label detected. Will generate the app if build succeeds (checks pass and no conflicts with base branch).

Android build App: https://releases.mattermost.com/mattermost-mobile-pr/PR-2669/PR-2669.apk)
iOS build App: itms-services://?action=download-manifest&url=https://releases.mattermost.com/mattermost-mobile-pr/PR-2669/PR-2669.plist

All 3 issues have been resolved

BOT tag missing when managing or adding channel Members
Profile of a BOT does not show BOT description
Tapping BOT users' name from main or reply thread does not open profile as it does with non-BOT users.

Fixes were successfully tested on Android and iOS.
Looks good to me.  No other issues found.

Great. This is just waiting on @enahum then it's ready to merge.


Fixed IPv6 parsing for ASN origin lookups and added tests (#162 - ti-mo)

Coverage remained the same at 100.0% when pulling 1cd5a4251268d7cf4e449c027c84a27052285104 on dev into 3a083c75a44cd6814ac87b8894d47deac122ade5 on master.


R error :  Unknown parameter: nrounds

Error Message:

dtrain <- lgb.Dataset(as.matrix(train.data), label = train.label)
dtest <- lgb.Dataset(as.matrix(test.data), label = test.label)
params <- list(objective = "lambdarank", metric = "ndcg", ndcg_eval_at = 1,3,5,7,10, max_depth = 3, verbose = 1, num_threads = 10)
model <- lgb.train(params, data = dtrain, nrounds = 300, learning_rate = 0.1, early_stopping_rounds = 10, weight=train.weight, group = train.group)

[LightGBM] [Fatal] Unknown parameter: nrounds
Error in lgb.call("LGBM_DatasetCreateFromMat_R", ret = handle, private$raw_data,  :
api error: Unknown parameter: nrounds
Are there any errors in my parameter config??

I repace "nrounds" with "num_trees" or "num_iterations", even remove nrounds parameter, it doesn't work.

model <- lgb.train(params, data = dtrain, num_iterations = 300, learning_rate = 0.1, early_stopping_rounds = 10, weight=train.weight, group = train.group)
[LightGBM] [Fatal] Unknown parameter: nrounds
Error in lgb.call("LGBM_DatasetCreateFromMat_R", ret = handle, private$raw_data,  :
api error: Unknown parameter: nrounds
model <- lgb.train(params, data = dtrain,  learning_rate = 0.1, early_stopping_rounds = 10, weight=train.weight, group = train.group)
[LightGBM] [Fatal] Unknown parameter: nrounds
Error in lgb.call("LGBM_DatasetCreateFromMat_R", ret = handle, private$raw_data,  :
api error: Unknown parameter: nrounds

@klyan nrounds should work, I just test it.
Maybe you need to restart R.
And you also can try model <- lgb.train(params,  dtrain, 300, learning_rate = 0.1, early_stopping_rounds = 10, weight=train.weight, group = train.group)

I restarted R, But it still doesn't work for me.
R version 3.2.3 (2015-12-10) -- "Wooden Christmas-Tree"
Copyright (C) 2015 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

library("xgboost")
library("rjson")
library("stringi")
library("caTools")
library("lightgbm")
Loading required package: R6

Attaching package: ‘lightgbm’
The following objects are masked from ‘package:xgboost’:
getinfo, setinfo, slice

load("ligbm.RData")
params <- list(objective = "lambdarank", metric = "ndcg", ndcg_eval_at = 1,3,5,7,10, max_depth = 3, verbose = 1, num_threads = 10)
model <- lgb.train(params, data = dtrain, nrounds = 300, learning_rate = 0.1, early_stopping_rounds = 10, weight=train.weight, group = train.group)
[LightGBM] [Fatal] Unknown parameter: nrounds
Error in lgb.call("LGBM_DatasetCreateFromMat_R", ret = handle, private$raw_data,  :
api error: Unknown parameter: nrounds

@Laurae2 any ideas ? it seems the nrounds parameter is not captured correctly. Maybe the reason is the version of R is too old.
@klyan another problem is you cannot use early_stopping_rounds  if you don't pass the validation data in lgb.train .

@klyan and the weight and group is the parameter of lgb.Dataset, not the lgb.train.

@guolinke Seems the parameters passed in params are not correct (like ndcg_eval_at)

@kylan Can you provide a reproducible example so we can test?

@Laurae2 @guolinke
The fowllowing script is my code. The training data have 3 labels: 0 for view, 0.6 for click but not ordered, 1 for ordered. Then  I set the training weight 30 for ordered sample.
I have fixed the ndcg_eval_at, weight and group parameters in my code. Still doesn't work.
Thanks you very much!
library("xgboost")
library("rjson")
library("stringi")
library("caTools")
library("lightgbm")
csvdata <- read.csv("/data/pairwise/train1.csv",sep='\t')
csvdata1 <- read.csv("/data/pairwise/test.csv",sep='\t')
for(i in 5:ncol(csvdata)){
if(class(csvdata[,i]) == "factor"){
csvdata1[,i] <- as.numeric(as.character(csvdata1[,i]))
csvdata[,i] <- as.numeric(as.character(csvdata[,i]))
}
}
csvdata[is.na(csvdata)] <- 0
csvdata1[is.na(csvdata1)] <- 0
removecol <- c("modelscore","dpid","shop_id","label","real_order","groupcnt")
train.data <- csvdata[,which(!colnames(csvdata) %in% removecol)]
test.data <- csvdata1[,which(!colnames(csvdata1) %in% removecol)]
view：0 click_notorder：0.6 order：1
csvdata[csvdata[,"real_order"] == 0 & csvdata[,"label"] == 1,"real_order"] <- 0.6
csvdata1[csvdata1[,"real_order"] == 0 & csvdata1[,"label"] == 1,"real_order"] <- 0.6
train.label <- csvdata$real_order
test.label <- csvdata1$real_order
train.group <- unique(csvdata[,c("dpid","groupcnt")])
test.group <- unique(csvdata1[,c("dpid","groupcnt")])
train.group <- train.group[,"groupcnt"]
test.group <- test.group[,"groupcnt"]
train.weight <- rep(1,nrow(csvdata))
train.weight[csvdata$real_order == 1] <- 30
test.weight <- rep(1,nrow(csvdata1))
test.weight[csvdata1$real_order == 1] <- 30
dtrain <- lgb.Dataset(as.matrix(train.data), label = train.label, weight=train.weight, group = train.group)
dtest <- lgb.Dataset(as.matrix(test.data), label = test.label)
params <- list(objective = "lambdarank", metric = "ndcg", max_depth = 3, verbose = 1, num_threads = 10)
model <- lgb.train(params, data = dtrain, nrounds = 300, learning_rate = 0.1)

@klyan we cannot reproduce it since we don't have your data. you can use agaricus data:
data(agaricus.train, package = "lightgbm")
data(agaricus.test, package = "lightgbm")
train <- agaricus.train
test <- agaricus.test

Also, you can format your code for the better readability .
I also try some other cases, but still not met your problem.

@klyan updates ?

try nround=300

@guolinke  Sorry, it's too big to upload my data. And I try my data in latest R version in MacOS, get the same error. But python package is OK for me.(I have updated my code, above) . Thanks a lot!
@zheguzai100 'nround' doesn't work

@klyan can you try it without using group, and change objective to regression ?

@guolinke
Yes! it works!

lgb.unloader(wipe = TRUE)
makes both of them work

It seems that  somes errors in my environment

@Laurae2
It seems the R-package often have some random issues. maybe we should add the solution to the documents.

Maybe (one) of the reasons is the following code snipped from lgb.train:
if (sum(names(params) %in% c("num_iterations", "num_iteration",
        "num_tree", "num_trees", "num_round", "num_rounds")) >
        0) {
        end_iteration <- begin_iteration + params[[which(names(params) %in%
            c("num_iterations", "num_iteration", "num_tree",
                "num_trees", "num_round", "num_rounds"))[1]]] -
            1
    }
    else {
        end_iteration <- begin_iteration + nrounds - 1
    }

No matter if you pass nrounds in the params list or as a separate argument to lgb.train, you will always end up in the else branch and, if nrounds was specified in params, the default of 10 will be used.
Fixing this won't solve the problem, which is hidden in the call to LGBM_DatasetCreateFromCSC_R. But maybe it is still worth a look.


Create Merge_Two_Sorted_List.java

It will be helpful if you merge my pr.

I want to contribute to this, can you assign this to me?


Properties from files does not seem to be working.

Current Behavior
I'm trying to use the configtree as indicated in the reame.md documentation. (https://github.com/adorsys/keycloak-config-cli#configure-properties-values-through-files)
I attempted to create a property replacement using something like $(test.configtree.value) and I can verify that the property is loaded correctly however it does not seem to work.
Expected Behavior
I expect that the regular properties could be used in the substitution logic but it seem to generate errors.
I looked for a sample that used regular properties but I cannot find any in the documentation.  I only found system properties usage.
Steps To Reproduce
I modified one of the unit test to reproduce the issue. The changes are located in the following commit.

https://github.com/ianwallen/keycloak-config-cli/commit/ac0ff495099e6ad0122316ca5539f2bfcc963526

Environment

Keycloak Version: 16 based on unit test.
keycloak-config-cli Version: main branch
Java Version: [e.g. 11]

Anything else?
If it is identified that I'm doing the logic incorrectly then I would suggest that a unit test or other example be created to show how the properties from files is supposed to work.

Hi,
there is already a unit test to test system properties. If you take a look at https://github.com/adorsys/keycloak-config-cli#variable-substitution, you may see that
System Property:       $(sys:user.dir)

have a prefix sys. $(sys:test.configtree.value) should work while $(test.configtree.value) not.


[Feature Request?] Add file size limit when downloading

When I back up my channel, I figure out I had large files posted in channel (e.g., https://t.me/ethersdaily/1604). It is not a problem when back to local, but if we try to add file to GitHub, there is a file size limit (I think warning at 50M and block at 100M). I think it might be better if we can get chance to skip large files

For the record, this is completed by https://github.com/one-among-us/TelegramBackup/commit/3d1177130fca04404ce19a5dd39faba62ca2c2c3, released in v1.0.7


Load hydra examples without using example hydras.

+hydra/window-nav uses functions from hydra-examples.el but the file
is never loaded. Adding this does not actually define any hydras (this
would require hydra-examples-verbatim to be t), it just load the
utility functions to make the hydras defined in doom work.

Should I add in a binding as well? Maybe SPC w , with , being the convention for hydras (as doom does not have one yet)? I just assumed this was intentional and for the user to configure. But it would probably be more discoverable when bound.

Bindings in modules should be discussed with @hlissner. I personally think your suggestio would be a great fit!

I don't like that hydra-example is eagerly loaded (it pulls in hydra along with it at startup), and that its hydras aren't autoloaded. We'll have to define autoloads for them with :commands.

Just proposing it. Any convention is fine by me, I just think it should be easily reachable and uniform (and probably not a letter as it will likely clash with mnemonic key-bindings). Added the missing commands btw

I haven't yet decided a keybinding scheme for hydras yet, but I will merge this PR for the time being. Thanks for the help! (And sorry for the late response!)

No worries! PS: using . is fairly popular as well. Just food for thought while you're deliberating. I really don't have strong preferences when it comes to this as long as its consistent :)


How do I use snippets under ~/.config/nvim/snippets?

for some reason .lazy_load and .load only include custom plugins and doesn't include ~/.config/nvim/snippets.
The reason why I want to do this is because I develop in c/c++ and most snippet plugins provide snippets that look like this
while(...)
{
    ...
}

instead of
while(...) {
    ...
}

here are my configs
snippets/c.json:
{
	"sst": {
		"prefix": "sst",
		"description": "A standard starter template for a C program",
		"body": [
			"#include <stdio.h>",
			"",
			"int main (int argc, char *argv[]) {",
				"\t${1:printf(\"Hello world\");}",
				"\treturn 0;",
				"}"
		]
	}
}

require'luasnip/loaders/from_vscode'.lazy_load({ paths = {"~/.config/nvim/snippets"} })
opts = { noremap = false, expr = true }
map_key('i', '<C-k>', 'luasnip#expandable() ?  "\\<Plug>luasnip-expand-or-jump" : "\\<C-k>"', opts)
map_key('s', '<C-k>', 'luasnip#expandable() ?  "\\<Plug>luasnip-expand-or-jump" : "\\<C-k>"', opts)

local ls = require"luasnip"
local s = ls.snippet
local sn = ls.snippet_node
local t = ls.text_node
local i = ls.insert_node
local f = ls.function_node
local c = ls.choice_node
local d = ls.dynamic_node

ls.snippets = {
	['all'] = {
		s("trigger", t({"Wow! Text!", "And another line."}))
	}
}

replacing .lazy_load with .load changes nothing.
also: the "trigger" snippet works

I think you have to structure that folder just like eg. friendly-snippets does, ie. provide the package.json

Big thanks!!!! it worked
{
  "name": "dotfiles",
  "engines": {
    "vscode": "^1.11.0"
  },
  "contributes": {
    "snippets": [
      {
        "language": "c",
        "path": "./snippets/c.json"
      },
      {
        "language": "c",
        "path": "./snippets/ccpp.json"
      },
      {
        "language": "cpp",
        "path": "./snippets/ccpp.json"
      },
      {
        "language": "cpp",
        "path": "./snippets/cpp.json"
      }
    ]
  }
}

Nice! I'll put a note into the docs, the layout is not at all obvious :sweat_smile:

@pheonix9001 can i have your config and steps to setup? i couldn't make it to work.

https://gitlab.com/pheonix9001/dotfiles

what a timing. i just figure it out about a hour before your replay. thank you  anyway.
for those who didn't make it work, here is my config


Dtspo 17345 reinstate nagger

Jira link (if applicable)
https://tools.hmcts.net/jira/browse/DTSPO-17345
Change description

testing PR logic for slack message in cnp-azuredevops-library TF nagger

Checklist

[x] commit messages are meaningful and follow good commit message guidelines
[x] README and other documentation has been updated / added (if needed)
[x] tests have been updated / new tests has been added (if needed)
[ ] Does this PR introduce a breaking change

Plan Result (aat_cnp_dummy_library_test)
Plan: 0 to add, 0 to change, 0 to destroy.
Change Result (Click me)

Plan: 0 to add, 0 to change, 0 to destroy.

Plan Result (demo_cnp_dummy_library_test)
Plan: 0 to add, 0 to change, 0 to destroy.
Change Result (Click me)

Plan: 0 to add, 0 to change, 0 to destroy.

Plan Result (sbox_cnp_dummy_library_test)
Plan: 0 to add, 0 to change, 0 to destroy.
Change Result (Click me)

Plan: 0 to add, 0 to change, 0 to destroy.

Plan Result (perftest_cnp_dummy_library_test)
Plan: 0 to add, 0 to change, 0 to destroy.
Change Result (Click me)

Plan: 0 to add, 0 to change, 0 to destroy.

Plan Result (ithc_cnp_dummy_library_test)
Plan: 0 to add, 0 to change, 0 to destroy.
Change Result (Click me)

Plan: 0 to add, 0 to change, 0 to destroy.


🪲 Bug Report - privateDnsZoneLinks fails with index outbound error

Describe the bug
When trying to link a new virtual network to existing Private Dns Zone, the privateDnsZoneLinks module isn't able to extract the correct zone name. The error I see is as below
+++
{"code":"InvalidTemplate","message":"Deployment template validation failed: 'The template resource '[format('{0}/dnslink-to-{1}', split(parameters('parPrivateDnsZoneResourceId'), '/')[8], variables('varSpokeVirtualNetworkName'))]' at line '1' and column '1172' is not valid: The language expression property array index '8' is out of bounds.. Please see https://aka.ms/arm-functions for usage details.'.","additionalInfo":[{"type":"TemplateViolation","info":{"lineNumber":1,"linePosition":1172,"path":"properties.template.resources[0]"}}]}
+++
I passed parPrivateDnsZoneResourceId the following value
+++
/subscriptions/xxx/resourceGroups/rg-connectivity/providers/Microsoft.Network/privatelink.analysis.windows.net
+++
To Reproduce
Steps to reproduce the behaviour:

Invoke orchestration module hubPeeredNetwork by passing non-empty parPrivateDnsZoneResourceIds array

Expected behaviour
The script should not error out and allow new vnet to be linked to the input DNS zones. Simple fix is to change split index to 7 (instead of 8)
Screenshots 📷
If applicable, add screenshots to help explain your problem. Please feel free to blur/cover any sensitive information.
Correlation ID
A correlation ID really helps us investigate your issue further. Please provide one if possible. Details on how to find a correlation ID can be found here: Correlation ID and support
Additional context
Anything else we should know to help us troubleshoot this bug?

Hey @milind045
Thanks for the issue.
However I don't think you have supplied a correct resource ID as it's missing a resource type.
The resource ID should be: /subscriptions/xxx/resourceGroups/rg-connectivity/providers/Microsoft.Network/privateDnsZones/privatelink.analysis.windows.net
Note the privateDnsZones addition in the resource ID which makes the resource ID correct and the split function work as required.
Hope that helps.
Thanks
Jack

@jtracey93 You're right! I seem to have dropped one segment from the string while copying/ replacing the input params . Thanks for taking a look on a weekend!


[BP-1.20][FLINK-36451][runtime] Replaces LeaderElection#hasLeadership with LeaderElection#runAsLeader

This is the 1.20 backport of parent PR #25679

I accidentally added JDK11 code in master which makes the backports (a bit) trickier. See the fix in the diff


Make Honeycomb API endpoint configurable via env var

Currently, the API client is hard coded to assume https://api.honeycomb.io, which is an excellent default but prevents usage in Honeycomb-internal environments or via mocks for testing.

Clearly, more coffee is required.. the provider's initialization block supports api_url as an optional parameter.


New Tuner: BOHB

Support popular Tuner BOHB published recently, reference paper: https://arxiv.org/abs/1807.01774

Support popular Tuner BOHB published recently, reference paper: https://arxiv.org/abs/1807.01774
Nice feature.

Add BOHB Advisor in pr #910 . Done.

Add integration test for BOHB in pr #985


[Masthead v2.1.0]: Phase 2 - Tiered menu tab order is horizontal, should be top to bottom

Engineering info:

JIRA Ticket: https://jsw.ibm.com/browse/ADCMS-2583
JIRA Epic: https://jsw.ibm.com/browse/AEMSITES-177

Description

A follow-up phase 2 task from https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/9310
Tiered menu tab order is horizontal, should be top to bottom
See functional specs

Design Specs

Figma mockup - https://www.figma.com/file/35JfN0Sg4ltIIjM7jBDKMk/Navigation?node-id=2325%3A136628

@jkaeser Looks like you have the capability to work on this feature in this sprint and this is probably something that we can roll into phase 1 if feasible, however, let me know if that's not the case. Happy to keep this slated for Phase 2, if more work is involved.

Closing out this ticket as the work has already been covered in this PR (https://github.com/carbon-design-system/carbon-for-ibm-dotcom/pull/9829)


ignorePaths directive and binary_artifacts.yaml file are not documented

Either the ignorePaths directive and the binary_artifacts.yaml file which contains it are not documented or they are hidden too well. I find them in some internal Google documentation (which is how I managed to create this file: https://github.com/google/UIforETW/blob/main/.allstar/binary_artifacts.yaml) but they do not appear to be publicly documented.

The policy doc section https://github.com/ossf/allstar#binary-artifacts links to the config definitions https://pkg.go.dev/github.com/ossf/allstar/pkg/policies/binary#OrgConfig with the detailed config documentation. It is a priority for us to complete the policy docs, covered in #62


Unable to work with Spreadsheets or GridViews from DevExpress

Hi
I am trying to automate a WinForm application that is using DevExpress, I am getting issues to work with SpreadSheets or GridViews.
Basically the issue is that I am not able to get or set data to a specific row/column the only workaround is to create an Action and move the mouse to some coordinates, but this is not a good solution since our application may be running on different Screen Resolutions.
             _driver.Current.FindElementByName("FormContainer").Click();             var spread = _driver.Current.FindElementByAccessibilityId("spreadsheet");             Actions ac = new Actions(_driver.Current);             ac.MoveToElement(spread).MoveByOffset(-600, -220).Click().SendKeys("11").Build().Perform();
Can someone helping me on this?

Hi @eduarte,
Are you able to locate the XPath for the specific row/column? If so, you can iterate through the row/columns using that. You can locate the XPath using the new UI Recorder tool.

Please open a new ticket if you are still experiencing this issue.


RunUMAP Failing

Hi all, I have integrated samples and created UMAPs before with no issues, but for some reason when I add my latest set of samples, after RunUMAP I get:
Error: Please provide as many or more dims than n.components: 1 dims provided, 2 UMAP components requested.
When I run the same pipeline but without the latest sample set, there is no issue. Any help on this is very appreciated!
Sessioninfo:
R version 4.3.1 (2023-06-16)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Rocky Linux 8.8 (Green Obsidian)
Matrix products: default
BLAS/LAPACK: /global/software/openblas/0.3.23-gnu850/lib/libopenblas-r0.3.23.so;  LAPACK version 3.11.0
locale:
[1] LC_CTYPE=C.UTF-8       LC_NUMERIC=C           LC_TIME=C.UTF-8        LC_COLLATE=C.UTF-8
[5] LC_MONETARY=C.UTF-8    LC_MESSAGES=C.UTF-8    LC_PAPER=C.UTF-8       LC_NAME=C
[9] LC_ADDRESS=C           LC_TELEPHONE=C         LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C
time zone: America/Edmonton
tzcode source: system (glibc)
attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
other attached packages:
[1] Seurat_5.0.2       SeuratObject_5.0.1 sp_2.0-0
loaded via a namespace (and not attached):
[1] deldir_2.0-4           pbapply_1.7-2          gridExtra_2.3          rlang_1.1.1
[5] magrittr_2.0.3         RcppAnnoy_0.0.22       spatstat.geom_3.2-9    matrixStats_1.0.0
[9] ggridges_0.5.6         compiler_4.3.1         png_0.1-8              vctrs_0.6.3
[13] reshape2_1.4.4         stringr_1.5.0          pkgconfig_2.0.3        fastmap_1.1.1
[17] ellipsis_0.3.2         utf8_1.2.3             promises_1.2.1         tinytex_0.46
[21] purrr_1.0.2            xfun_0.40              jsonlite_1.8.7         goftest_1.2-3
[25] later_1.3.1            spatstat.utils_3.0-4   irlba_<IP_ADDRESS>          parallel_4.3.1
[29] cluster_2.1.4          R6_2.5.1               ica_1.0-3              stringi_1.7.12
[33] RColorBrewer_1.1-3     spatstat.data_3.0-4    reticulate_1.32.0      parallelly_1.36.0
[37] lmtest_0.9-40          scattermore_1.2        Rcpp_1.0.11            tensor_1.5
[41] future.apply_1.11.0    zoo_1.8-12             sctransform_0.4.1      httpuv_1.6.11
[45] Matrix_1.6-5           splines_4.3.1          igraph_1.5.1           tidyselect_1.2.0
[49] rstudioapi_0.15.0      abind_1.4-5            spatstat.random_3.2-3  codetools_0.2-19
[53] miniUI_<IP_ADDRESS>         spatstat.explore_3.2-6 listenv_0.9.0          lattice_0.21-8
[57] tibble_3.2.1           plyr_1.8.8             shiny_1.7.5            ROCR_1.0-11
[61] Rtsne_0.17             future_1.33.0          fastDummies_1.7.3      survival_3.5-5
[65] polyclip_1.10-6        fitdistrplus_1.1-11    pillar_1.9.0           KernSmooth_2.23-21
[69] plotly_4.10.4          generics_0.1.3         RcppHNSW_0.6.0         ggplot2_3.4.3
[73] munsell_0.5.0          scales_1.2.1           globals_0.16.2         xtable_1.8-4
[77] glue_1.6.2             lazyeval_0.2.2         tools_4.3.1            data.table_1.14.8
[81] RSpectra_0.16-1        RANN_2.6.1             leiden_<IP_ADDRESS>         dotCall64_1.1-1
[85] cowplot_1.1.3          grid_4.3.1             tidyr_1.3.0            colorspace_2.1-0
[89] nlme_3.1-162           patchwork_1.1.3        cli_3.6.1              spatstat.sparse_3.0-3
[93] spam_2.10-0            fansi_1.0.4            viridisLite_0.4.2      dplyr_1.1.3
[97] uwot_0.1.16            gtable_0.3.4           digest_0.6.33          progressr_0.14.0
[101] ggrepel_0.9.5          htmlwidgets_1.6.2      htmltools_0.5.6        lifecycle_1.0.3
[105] httr_1.4.7             mime_0.12              MASS_7.3-60

That error is emitted by the R package Seurat: https://github.com/satijalab/seurat/blob/656fc8b562d53e5d0cedda9e09d9dda81e8c00e9/R/dimensional_reduction.R#L182
So you would be better off opening an issue at https://github.com/satijalab/seurat/issues.


Error: functions.config() is not available

Hi!
big thank for this great sample!
i did npm install in all src, function and root of project, but
sudo firebase serve --only hosting,functions
FirebaseError: Error occurred while parsing your function triggers.

Error: functions.config() is not available. Please use the latest version of the Firebase CLI to deploy this function.
    at init (/home/valaoffice/functions-samples/isomorphic-react-app/functions/node_modules/firebase-functions/lib/config.js:46:19)
    at Object.config (/home/orloff/functions-samples/isomorphic-react-app/functions/node_modules/firebase-functions/lib/config.js:29:9)
    at Object.<anonymous> (/home/orloff/functions-samples/isomorphic-react-app/functions/index.js:28:29)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)

What's your firebase-functions and firebase-tools versions respectively? And which sample are you talking about?

sorry,
isomorphic-react-app,
<EMAIL_ADDRESS><EMAIL_ADDRESS>

when you look in functions/package.json, what does the version number next to firebase-functions say?

It needs to be at least v0.5.7 for config to be emulated properly. Filed https://github.com/firebase/functions-samples/issues/219 for the samples to be updated so they will work right away after cloning.
In the meanwhile, you can run this command inside the functions folder:
npm install --save firebase-functions@latest

Yes, after upgrade to
"firebase-functions": "^0.6.2"
it works properly!
Thanks!

Thanks for the update!


Type issues in webpack-merge

Unable to use devServer property inside webpack.config.ts, when writing webpack configuration in TS file.

[x] Using updated webpack-merge
[x] Using NodeJS v10.16
[x] Using Windows 10

While I'm in webpack-merge v4 with @types/webpack-merge, it was working fine. Now after updating webpack-merge to 5, I have removed the @types/webpack-merge(as per CHANGELOG). After that it is throwing TS error
Object literal may only specify known properties, and 'devServer' does not exist in type 'Configuration'.ts

webpack.config.dev.ts
import webpack from "webpack";
import { merge as webpackMerge } from "webpack-merge";
import baseConfig from "./webpack.common";
import paths from "../paths";

const config: webpack.Configuration = webpackMerge(baseConfig, {
	mode: "development",
	devtool: "#inline-source-map",
	devServer: {
		contentBase: paths.build,
		compress: true,
		open: true
	}
});

export default config;

@sdc224 Can you try adding @types/webpack-dev-server to your project as it extends webpack's regular types with the devServer bit?
Likely @types/webpack-merge was pulling that in. I should at least document this use case as I'm not sure if we should pull the types automatically given you likely want to manage webpack-dev-server types separately from webpack-merge.

@types/webpack-dev-server It is already added.

@types/webpack-dev-server version is 3.11.0

Ok, I'll check this better detail then. It might have to do with the way I wired Configuration together at the source and it's not picking up the dev server types for some reason.
I wonder if we should even go as far as to decouple Configuration from merge and treat it as a generic. You would then have to do something like <Configuration>webpackMerge(...).

Are you referring to this?
import { Configuration } from "webpack";
import { merge as webpackMerge } from "webpack-merge";
import baseConfig from "./webpack.common";
import paths from "../paths";
import WebpackDevServer from "webpack-dev-server";

const config = <Configuration & WebpackDevServer.Configuration>(
	webpackMerge(baseConfig, {
		mode: "development",
		devtool: "#inline-source-map",
		devServer: {
			port: 5000,
			contentBase: paths.build,
			compress: true,
			open: true
		}
	})
);

export default config;

@sdc224 Exactly. I haven't implemented the idea yet but it's the first thing that came to my mind.

Yes, that's why it is still showing the issue.

Can you tell me how it was working in @types/webpack-merge? Maybe we can implement the same here.

@sdc224 That's a good question. Let me research a bit.

@bebraw 😅. Are we going to get the fix in next release?

Yup, I'll find some way. 👍
It looks like @types/webpack-merge is doing simply import { Configuration } from 'webpack';. It feels like a subtle difference somewhere.

Ok thanks man, so quick responses 😄. Hoping to hear from you very soon.

@sdc224 Can you set up a small repository that shows the type error? At least VS Code seems to find the types properly against a simple config.

@sdc224 Here's my TS setup (no type errors): https://github.com/bebraw/webpack-merge-ts-debug . I imagine there's some difference I missed.

@bebraw Yes man, the catch is in the below line written in tsconfig.json
"include": ["src", "types"]

as your webpack config is outside of src, tsc doesn't find any error. However, if you proceed with VSCode, it will show you this error without any project config.

@sdc224 Can you set up a small repository that shows the type error? At least VS Code seems to find the types properly against a simple config.

You can go through this repository

Thanks for the repository.
I learned that if I set
import { Configuration as WebpackConfiguration } from "webpack";
import { Configuration as WebpackDevServerConfiguration } from "webpack-dev-server";

interface Configuration extends WebpackConfiguration {
  devServer?: WebpackDevServerConfiguration;
}

within webpack-merge type definition, it works. The problem is that this couples the utility with webpack-dev-server as well. I found the solution from https://github.com/DefinitelyTyped/DefinitelyTyped/issues/27570 .
I have to think more about this one. It's a little weird as @types/webpack-dev-server clearly injects its extension to webpack's Configuration object but it's not being picked up correctly for some reason. I think that's the core problem.

Here's another solution. Add this bit to the configuration:
import WebpackDevServer from "webpack-dev-server";

declare module "webpack" {
	interface Configuration {
		devServer?: WebpackDevServer.Configuration;
	}
}

The open question is why is this needed now?

@sdc224 I noticed your typeRoots field is in the wrong place. It should be behind compilerOptions. Moving it there doesn't change anything by the looks of it, though.
It's important to set that for ts-node to work correctly.
It feels like something else is missing as the dev server types aren't being applied with this change.

@sdc224 Would <Configuration>merge work for you? I think I could do the change without breaking backwards compatibility? Any better ideas?
I guess the other option would be to figure out why that webpack-dev-server configuration extension doesn't get applied in this particular case. It's tricky to say how to debug this, though.

Sorry for so late reply, was occupied on some problems.

Here's another solution. Add this bit to the configuration:
import WebpackDevServer from "webpack-dev-server";

declare module "webpack" {
	interface Configuration {
		devServer?: WebpackDevServer.Configuration;
	}
}

The open question is why is this needed now?

This is how I am doing right now 🤣

@sdc224 Would <Configuration>merge work for you? I think I could do the change without breaking backwards compatibility? Any better ideas?
I guess the other option would be to figure out why that webpack-dev-server configuration extension doesn't get applied in this particular case. It's tricky to say how to debug this, though.

@bebraw That merge is not working for me

@sdc224 I noticed your typeRoots field is in the wrong place. It should be behind compilerOptions. Moving it there doesn't change anything by the looks of it, though.
It's important to set that for ts-node to work correctly.

Surely I will look into this, I totally missed it

I started a branch with the generic. See https://github.com/survivejs/webpack-merge/blob/feat/ts-generic/test/merge.test.ts#L16 .
That said, it looks like webpack-dev-server is patching the type correctly even within this repository.
I wonder if we're looking at a TypeScript configuration issue here?

Hey peeps, expanding on the type issues, the types allow
import WebpackMerge from 'webpack-merge';

WebpackMerge.merge(...)

but returns (node:4415) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'merge' of undefined,
and trying to use as expected also return a TypeError.

@TheGrimSilence Can you change from
import WebpackMerge from 'webpack-merge';

to
import * as WebpackMerge from 'webpack-merge';

or
import { merge as WebpackMerge } from 'webpack-merge';

I had to change the exports to avoid const { default as merge } = require('webpack-merge') on CommonJS. That's why merge is a regular export now.

I started a branch with the generic. See https://github.com/survivejs/webpack-merge/blob/feat/ts-generic/test/merge.test.ts#L16 .
That said, it looks like webpack-dev-server is patching the type correctly even within this repository.
I wonder if we're looking at a TypeScript configuration issue here?

What do you think? Should we raise in webpack-dev-server?
I wonder how it was working in @types/webpack-merge in webpack-merge v4

Guys any update on this?

Hi,
I'm a bit stuck on this one as I'm not sure if the issue is on the typing side or something in TypeScript we don't understand.
Likely external type definitions are more powerful as they can model a bit more. I bet it's something "obvious" we are missing.

One thing I need to mention, I don't know any explanation for that, but for me it is right now working fine😅😅, I mean, working without any type errors

Similar issue there. Today just made a fresh yarn install for the existing project and got
TSError: ⨯ Unable to compile TypeScript:
webpack.dev.ts:8:39 - error TS2349: This expression is not callable.
  Type 'typeof import("/home/dzintars/code/front/.yarn/cache/webpack-merge-npm-5.0.9-c8179aa67c-7d31955ae5.zip/node_modules/webpack-merge/dist/index")' has no call signatures.

8 const config: webpack.Configuration = merge(common, {

    at createTSError (/home/dzintars/code/front/.yarn/$$virtual/ts-node-virtual-37c47ab5ad/0/cache/ts-node-npm-8.10.2-b4fe5a56b0-cd6e023e07.zip/node_modules/ts-node/src/index.ts:434:12)
    at reportTSError (/home/dzintars/code/front/.yarn/$$virtual/ts-node-virtual-37c47ab5ad/0/cache/ts-node-npm-8.10.2-b4fe5a56b0-cd6e023e07.zip/node_modules/ts-node/src/index.ts:438:19)
    at getOutput (/home/dzintars/code/front/.yarn/$$virtual/ts-node-virtual-37c47ab5ad/0/cache/ts-node-npm-8.10.2-b4fe5a56b0-cd6e023e07.zip/node_modules/ts-node/src/index.ts:578:36)
    at Object.compile (/home/dzintars/code/front/.yarn/$$virtual/ts-node-virtual-37c47ab5ad/0/cache/ts-node-npm-8.10.2-b4fe5a56b0-cd6e023e07.zip/node_modules/ts-node/src/index.ts:775:32)
    at Module.m._compile (/home/dzintars/code/front/.yarn/$$virtual/ts-node-virtual-37c47ab5ad/0/cache/ts-node-npm-8.10.2-b4fe5a56b0-cd6e023e07.zip/node_modules/ts-node/src/index.ts:858:43)
    at Module._extensions..js (internal/modules/cjs/loader.js:1277:10)
    at Object.require.extensions.<computed> [as .ts] (/home/dzintars/code/front/.yarn/$$virtual/ts-node-virtual-37c47ab5ad/0/cache/ts-node-npm-8.10.2-b4fe5a56b0-cd6e023e07.zip/node_modules/ts-node/src/index.ts:861:12)
    at Module.load (internal/modules/cjs/loader.js:1105:32)
    at Function.external_module_.Module._load (/home/dzintars/code/front/.pnp.js:17771:14)
    at Module.require (internal/modules/cjs/loader.js:1145:19)

I have Yarn PnP greenfield setup there:
» yarn why webpack-merge
└─ front@workspace:.
   └─ webpack-merge@npm:5.0.9 (via npm:latest)
» node --version
v14.7.0
» npm --version
6.14.7
» yarn --version
2.1.1
» tsc --version
Version 3.9.7

Not sure which update exactly causes this. Will leave this comment. Have installed all required @types, etc.

@dzintars Can you set up a small repository showcasing the error? Note that you should do import { merge } from 'webpack-merge' as I was forced to push the imports there.
I could expose merge as a default export, though, now that I think of it. That would show up as default in CommonJS but it would provide backwards-compatibility for TS so it sounds like a good idea.

@dzintars I added support for import merge from "webpack-merge" to 5.1.0 so now TS import is backwards-compatible.

@bebraw Good morning. :) Thank you very much! Seems at least my issue is solved with 5.1.0.

@dzintars Ok, cool. I think this issue is something else as webpack-dev-server doesn't seem to patch webpack type correctly for this specific case and it's still unclear why.


[Maestro cloud] Cloud failed to recognize a special character

Hi guys, do you know if the text '&' is recognized by the maestro cloud?
I tryed to run a test on the maestro cloud, utilizing an internationalization library, but the test that I send failed to recognize this text 'TERMS & CONDITIONS'. When I run the same test on my machine, the flow works perfectly.
appId: ${APP_ID}
---
- launchApp:
    clearState: true
- runScript:
    file: 'dictionary.js'
    env:
      appId: ${APP_ID}
# TC 4820 - Opening the app for the first time
- assertVisible:
    id: 'terms-title'
    text: ${output.dictionary.txtTermsAndConditions}
- assertVisible:
    id: 'terms-subtitle'
    text: ${output.dictionary.txtTermsAndConditionsSubtitle}
- assertVisible:
    id: 'terms-scrollview'
- assertVisible:
    id: 'button-disabled'

The maestro cloud have some limitation to recognize some characters?

I could not reproduce it.

maybe it's related to #1404


Is localForage abandoned ?

It does not seem to be maintained, last commit was a year ago

It is not: the core of localForage v1 is largely "feature-complete" but is extended by localForage plugins available in other repositories in the organisation: https://github.com/localForage/
The last commit was last month and there is continued issue and PR work, but because it's quite stable our plans for v2 are largely about internal refactoring. You can see the continued commits here: https://github.com/localForage/localForage/commits/master


Document Atomic types and objects via comments

closes #401

@reczkok I was also wondering that. I assume we don't want to duplicate the WGSL documentation though