Qt signals only work with classes deriving from QObject

Simple example:
from PyQt5.QtCore import pyqtSignal, QObject

# replace `object` with `QObject` to fix
class Signaller(object):
    signal = pyqtSignal(str)

    def trigger(self, msg):
        print("emitting: {}".format(msg))
        self.signal.emit(msg)

def receiver(msg):
    print("received: {}".format(msg))

signaller = Signaller()
signaller.signal.connect(receiver)
signaller.trigger('hello')

Traceback:
Traceback (most recent call last):
  File "try.py", line 17, in <module>
    signaler.signal.connect(receiver)
TypeError: Signaler cannot be converted to PyQt5.QtCore.QObject in this context

In this case Signaller would be an implementation of a block, for example, which would derive from a Block base class. Behind the scenes, we'd need this base class to inherit from QObject depending on the backend messaging system. A proof-of-concept solution can be seen here.
Although the solution seems to work, I'm a little concerned with playing around this deep in the mud when I don't fully grok PyQt's internals.

I actually really like that solution. It looks like QObject's  sole purpose is at the lowest level abstraction for messaging, so I think this is fine (see docs). We also have other classes that we expect to send messages within the Experiment, so we may want to abstract out a get_message_handler_base_class so we can add the appropriate inheritance for Task, Stream, and whatever else needs it as DRYly as possible.

Relevant PyQt mailing list thread: https://www.riverbankcomputing.com/pipermail/pyqt/2017-February/038805.html

I put a really simple prototype base class for the emitter and receiver pair here
I think the basic structure will work. I need to setup enough other things that I can test. I think for QT based messaging, it's the emitter/receiver that should inherit for QObject so they can use signals/slots if that's still necessary.
We need to decide about how the user sets the back ends for each experiment. We talked about a global state. We could also put it as a kwarg in the Experiment object/subclass, which will probably end up being effectively a singleton.

Pretty sure we've figured this out.


MLJ compliant docstrings!

Need to do a get checkout on source code to allow for correct git blame output before this is ready to be merged :)

Codecov Report

Merging #22 (a1699d5) into dev (c37e01c) will decrease coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev      #22      +/-   ##
==========================================
- Coverage   88.04%   87.97%   -0.07%
==========================================
  Files           7        6       -1
  Lines         184      183       -1
==========================================
- Hits          162      161       -1
  Misses         22       22

Impacted Files
Coverage Δ

src/bm25_transformer.jl
87.80% <100.00%> (ø)

src/count_transformer.jl
88.00% <100.00%> (ø)

src/tfidf_transformer.jl
87.50% <100.00%> (ø)

src/MLJText.jl

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Closing in favour of #23


Cursor position error

When the real cursor position is not at the start of the overlay preview. The cursor will jump to the end of the overlay.
For example:

the cursor will keep jumping to the end of the overlay.
Another similar situation:

the cursor's real position is after :, but it will jump to the end of the completion.
To reproduce:
emacs -Q -l test.el test.py

;; test.el
(package-initialize)

;; straight.el initialization
(defvar bootstrap-version)
(let ((bootstrap-file
       (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
      (bootstrap-version 6))
  (unless (file-exists-p bootstrap-file)
    (with-current-buffer
        (url-retrieve-synchronously
         "https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el"
         'silent 'inhibit-cookies)
      (goto-char (point-max))
      (eval-print-last-sexp)))
  (load bootstrap-file nil 'nomessage))

(add-to-list 'package-archives
             '("melpa" . "https://melpa.org/packages/"))

;; Location of my use-package git clone
(add-to-list 'load-path "~/.emacs.d/.local/straight/repos/use-package/")
(require 'use-package)

(use-package copilot
  :straight (:host github :repo "zerolfx/copilot.el" :files ("dist" "*.el"))
  :ensure t)

(add-hook 'prog-mode-hook 'copilot-mode)

It seems that this happens when the first character of the completion is a newline and the code is attempting to set the cursor property on the newline character. :thinking:

Is this the same issue reported with Typescript? https://github.com/copilot-emacs/copilot.el/issues/165
I often have issues with the cursor jumping in TS files, but that issue was closed as stale a while back.

I still have the same problem on latest master so upvoted this issue.

I'll look into this!

If it helps, here’s another reproduction of the issue that happens for me all the time. Here after if  I type ( instead of hitting tab because I want to write something other than the suggestion. The ( does not show behind the suggestion, but it’s there and later appears after what I type. This is typescript-mode with lsp-mode. Everything should be latest version, I suppose.
https://github.com/copilot-emacs/copilot.el/assets/531910/b4bb41fa-834b-4586-8055-ca2e38f2cb63

Same here, with typescript-mode (happens without lsp-mode / eglot). Colons, parentheses, braces are all affected.

It happens in python model as well, that sometimes the cursor is placed at the end of the suggestion instead of the beginning. E.g. in the following image the last character input by my was ":", the rest was filled in by copilot and the cursor is shown at the end of the suggestion, instead of the beginning:

I'm also experiencing this in Python.


Any plan to support more in acvp_cap_kas_ffc_set_scheme()?

Currently libacvp only allows  'dhEphem' for kas_ffc, and its kdf option only allows 'noKdfNoKc'. If registers with 'kdfNoKc', the registration will fail with:
{
"error": "Validation error(s) on JSON payload.",
"context": [
"KAS-FFC-Component-1.0: KdfOption are required."
]
}
]
***ACVP [ERR][acvp_register:1947]--> Failed to send registration
***ACVP [ERR][acvp_run:3201]--> Failed to register with ACVP server
Any plan to extend the support to this?
Also acvp_cap_kas_ffc_set_scheme() currently only handles 2 items in ACVP_KAS_FFC_PSET
unsigned int set;
ACVP_PARAM_LIST *sha;
Any plan to extend the support to the 3rd item:
ACVP_KAS_FFC_MAC *mac;
Thanks.
Harry

Hello,
There are several places in the library where certain features are not supported for algorithms that are - we have internal stories to track improving our documentation on this.
I'll look into the possibility and feasibility of this specific instance when I have some time in the next week or so.
Thanks for the find,
Andrew

Barry/Andrew, from playing around with the KAS_FFC I noticed that the ACVP documentation appears to support both Full and Partial public key validation as part of the "Function Types":
Excerpt:

fullVal - IUT can perform full public key validation ( [SP800-56a]
section <IP_ADDRESS>.1 / <IP_ADDRESS>.3)

partialVal - IUT can perform partial public key validation (
[SP800-56a] section <IP_ADDRESS>.2 / <IP_ADDRESS>.4)

I notice that your code only support the fullVal as defined in ACVP_KAS_FFC_FUNC_FULL which appears to work okay. I added the "partialVal" in the appropriate places in your code but the ACVP server rejected this parameter. Do you know if the ACVP server currently supports the Partial Validation scheme at the moment? Is this why it is not currently in your code?
Thanks!

The server supports everything in the specs as far as I know, unless there is an open feature request.  Our client supports what we had time to implement so far. Cisco does not fund us to to work on the client full time and we've prioritized those features required by our internal customers for their FIPS validations.
The server may be rejecting that because the registration options are different for that compared to what is in our app_main.c registration. I'd recommend comparing what you are generating to what is in the spec if you have not already.
Regards,
Barry

Sure, I completely understand. I just thought I would pick your brains before hitting up NIST. The JSON code going to the server appears good.
Thanks.

Seems like this is an issue with the server:
https://github.com/usnistgov/ACVP/issues/409
ACVP should update their docs to remove the "partialVal" parameter option.

You guys might want to take a look at the updated spec that ironically is dated today:
https://usnistgov.github.io/ACVP/draft-hammett-acvp-kas-ffc-sp800-56ar3.txt
-- Table 3 removes the "mode" parameter (optional before) which would make ACVP_KAS_FFC_MODE_COMP now invalid (no "component" tag needed). Also, I noticed that ACVP_KAS_FFC_MODE_NOCOMP wasn't supported anyway by the server (returns rv=16: No matching capability found).
-- Table 3 also changed the revision from "1.0" to "Sp800-56Ar3"
-- Table 3 added fields "iutId" and "domainParameterGen" (domain with values)
Ironically, "partialVal" is still present -- maybe the update they have scheduled today @5:00pm on the demo server corrects this point?

Hello,
We have a story internally to track improving our documentation of what features are and aren't supported; I have completed some work on this but it is a lower priority at this time (digging through the spec and comparing to our codebase is more time consuming than it may sound!)
As this issue has been open for a while and we have this on our radar, I will be closing it for now.
Thanks,
Andrew


Adding a known issue in v4.5.0

Everyone is facing the latest installation issue at latest release v4.5.0, so it's batter to put under known issue, so that one can know just from here

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Well another pull request already merged ...!


API update for more cleanup

User API

Authentication in AWS-style signing
GET|PUT|DELETE /job/<job-id>
GET|PUT|DELETE /app/<appname>
GET /jobs
GET /apps
GET /u/<username>

Watch

/u/<username> in WebSocket

Admin API

GET|PUT|DELETE /u/<username>
GET /u
GET /status /ping

DELETE /job/<job-id> : https://github.com/retz/retz/commit/12f015d9895f078630cf8b7e7aac819820141bbf
GET /app/<appname> : https://github.com/retz/retz/commit/89a240b6cd25831f9155a0eaaca55ee8712152c6

It's unlikely to work on Admin API, or watch. Instead a local JMX port will be opened and an admin CLI tool will communicate with server to administrate users ( #51 ). Also, there'll be few need on watching user's status via WebSocket.


Trispectrum computation for connected non-Gaussian 3x2pt covariance

Hi,
I am trying to compute the cNG covariance for 3x2pt; for the trispectrum, I use the method  ccl.halos.pk_4pt.halomod_Tk3D_cNG (which is referenced in the CCL v3 documentation but does not seem to be in the actual v3.0 release; I cloned the master branch instead), but when computing the galaxy-galaxy lensing (in this example, this is the trispectrum I'll use for the GLGL covariance block, G=galaxy, L=lensing) I get the error:
Computing trispectrum for cNG, probe combination LLLL
Computing trispectrum for cNG, probe combination LLGL
Computing trispectrum for cNG, probe combination LLGG
Computing trispectrum for cNG, probe combination GLGL
Traceback (most recent call last):
  File "/export/NAS/cosmo/data/davide.sciotti/Spaceborne/jobs/SPV3_magcut_zcut_thesis/bin/main_SPV3_magcut_zcut_thesis.py", line 858, in <module>
    cov_dict = covmat_utils.compute_cov(general_cfg, covariance_cfg,
  File "/home/cosmo/davide.sciotti/data/Spaceborne/bin/covariance.py", line 372, in compute_cov
    cov_ng_ccl_3x2pt_10D_dict = get_cov_ng_pyccl(general_cfg, covariance_cfg, which_ng_cov, ell_dict)
  File "/home/cosmo/davide.sciotti/data/Spaceborne/bin/covariance.py", line 176, in get_cov_ng_pyccl
    cov_ccl_3x2pt_dict_8D = pyccl_cov.compute_cov_ng_with_pyccl(general_cfg['fid_pars_dict'], probe,
  File "/home/cosmo/davide.sciotti/data/Spaceborne/bin/pyccl_cov.py", line 412, in compute_cov_ng_with_pyccl
    tkka_dict = initialize_trispectrum(cosmo_ccl, which_ng_cov, probe_ordering, pyccl_cfg, p_of_k_a=None,
  File "/home/cosmo/davide.sciotti/data/Spaceborne/bin/pyccl_cov.py", line 119, in initialize_trispectrum
    tkka_dict[A, B, C, D] = tkka_func(cosmo=cosmo_ccl,
  File "/home/cosmo/davide.sciotti/software/anaconda3/envs/spaceborne/lib/python3.10/site-packages/pyccl/halos/pk_4pt.py", line 1558, in halomod_Tk3D_cNG
    tkk += _halomod_trispectrum_2h_22(cosmo, hmc, np.exp(lk_arr), a_arr,
  File "/home/cosmo/davide.sciotti/software/anaconda3/envs/spaceborne/lib/python3.10/site-packages/pyccl/halos/pk_4pt.py", line 745, in _halomod_trispectrum_2h_22
    i32 = hmc.I_1_2(cosmo, k_use, aa, prof3, prof2=prof2,
  File "/home/cosmo/davide.sciotti/software/anaconda3/envs/spaceborne/lib/python3.10/site-packages/pyccl/halos/halo_model.py", line 375, in I_1_2
    uk = prof_2pt.fourier_2pt(cosmo, k, self._mass, a, prof,
  File "/home/cosmo/davide.sciotti/software/anaconda3/envs/spaceborne/lib/python3.10/site-packages/pyccl/halos/profiles_2pt.py", line 149, in fourier_2pt
    raise ValueError("prof and prof2 must be equivalent")
ValueError: prof and prof2 must be equivalent

Note that this does not seem to be an issue for the LLGL term, for which prof3 != prof4. This is the code I'm using:

  halo_profile_dict = {
      'L': halo_profile_nfw,
      'G': halo_profile_hod,
  }
  prof_2pt_dict = {
      ('L', 'L'): ccl.halos.Profile2pt(),
      ('G', 'L'): ccl.halos.Profile2pt(),
      ('L', 'G'): ccl.halos.Profile2pt(),
      ('G', 'G'): ccl.halos.Profile2ptHOD(),
  }

  # store the trispectrum for the various probes in a dictionary
  tkka_dict = {}

  for row, (A, B) in tqdm(enumerate(probe_ordering)):
      for col, (C, D) in enumerate(probe_ordering):
          if col >= row:
              print(f'Computing trispectrum for {which_ng_cov}, probe combination {A}{B}{C}{D}')

              if which_ng_cov == 'SSC':
                  tkka_func = ccl.halos.pk_4pt.halomod_Tk3D_SSC
                  prof_2pt_args = {}
              elif which_ng_cov == 'cNG':
                  tkka_func = ccl.halos.pk_4pt.halomod_Tk3D_cNG
                  prof_2pt_args = {
                      'prof13_2pt': prof_2pt_dict[A, C],
                      'prof14_2pt': prof_2pt_dict[A, D],
                      'prof24_2pt': prof_2pt_dict[B, D]
                  }
              else:
                  raise ValueError(f"Invalid value for which_ng_cov. It is {which_ng_cov}, must be 'SSC' or 'cNG'.")

              tkka_dict[A, B, C, D] = tkka_func(cosmo=cosmo_ccl,
                                                hmc=hmc,
                                                prof=halo_profile_dict[A],
                                                prof2=halo_profile_dict[B],
                                                prof3=halo_profile_dict[C],
                                                prof4=halo_profile_dict[D],
                                                prof12_2pt=prof_2pt_dict[A, B],
                                                prof34_2pt=prof_2pt_dict[C, D],
                                                p_of_k_a=None, lk_arr=k_arr_tkka,
                                                a_arr=a_arr_tkka,
                                                extrap_order_lok=1, extrap_order_hik=1, use_log=False,
                                                **prof_2pt_args)

Am I missing something?
Also, the computation of this term is extremely slow (and I need 6 trispectra for all the independent probe combinations); do you have any idea on the minimum acceptable number of points for the a and k grids?
Thanks a lot!

I (very partially) answer myself, in case anyone might need this: the trispectrum computation time for 100 redshift values and 512 k values is about 5 hours. The GLGL issue is still present, though.

@davidesciotti I'm not able to reproduce this issue. This is my code:
import pyccl as ccl
import numpy as np

cosmo = ccl.CosmologyVanillaLCDM()
mdef = ccl.halos.MassDef200c
nM = ccl.halos.MassFuncBocquet16(mass_def=mdef)
bM = ccl.halos.HaloBiasTinker10(mass_def=mdef)
cM = ccl.halos.ConcentrationDuffy08(mass_def=mdef)
hmc = ccl.halos.HMCalculator(mass_function=nM, halo_bias=bM, mass_def=mdef,
                             log10M_max=15., log10M_min=10, nM=32)
pM = ccl.halos.HaloProfileNFW(mass_def=mdef, concentration=cM)
pG = ccl.halos.HaloProfileHOD(mass_def=mdef, concentration=cM)
pMM = ccl.halos.Profile2pt()
pGM = ccl.halos.Profile2pt()
pGG = ccl.halos.Profile2ptHOD()

# Not too many ks to make it fast just for this test
k_arr = np.geomspace(1e-4, 100, 16)
lk_arr = np.log(k_arr)
a_arr = np.linspace(0.3, 1, 8)

p1, p2, p3, p4 = pG, pM, pG, pM
ccl.halos.pk_4pt.halomod_Tk3D_cNG(cosmo=cosmo, hmc=hmc,
                                  prof=p1, prof2=p2, prof3=p3, prof4=p4,
                                  prof12_2pt=pGM, prof13_2pt=pGG, prof14_2pt=pGM,
                                  prof32_2pt=pGM, prof24_2pt=pMM,
                                  lk_arr=lk_arr, a_arr=a_arr)

Can you check if you still see this problem?

Hi @damonge, thanks for the reply.
Sorry if I didn't report immediately, @carlosggarcia helped me solve the issue some days ago: in my code, I probably mixed the arguments for halomod_Tk3D_cNG and I passed an insufficient number of profXX_2pt arguments. Here's the corrected version, which runs smoothly for the 3x2pt case:

          elif which_ng_cov == 'cNG':
              tkka_func = ccl.halos.pk_4pt.halomod_Tk3D_cNG
              additional_args = {
                  'prof12_2pt': prof_2pt_dict[A, B],
                  'prof13_2pt': prof_2pt_dict[A, C],
                  'prof14_2pt': prof_2pt_dict[A, D],
                  'prof24_2pt': prof_2pt_dict[B, D],
                  'prof32_2pt': prof_2pt_dict[C, B],
                  'prof34_2pt': prof_2pt_dict[C, D],
                  'p_of_k_a': None,  # TODO pass object? anyway, None takes the pk stored in cosmo
              }

Thanks for the support and sorry for the false alarm!


Audit fix: text is invisible while webfonts are loading

font-display should be used here.

The 3s timeout seems to give the best user experience. Using font-display: block to formalize it.


HazelcastAsyncMap should not rely on executeBlocking()

Current implementation of HazelcastAsyncMap uses executeBlocking() for all its method.
I wrote a small prototype showing how to hook into Hazelcast ICompletableFuture. See: https://github.com/jerrinot/vertx-hazelcast/commit/26374717c4d77c57768c03a8fc417fa82d86c1a4
This way you do not consume a thread per each in-flight operations. The prototype relies on casting into ICompletableFuture, however this is very unlikely to change in future versions of Hazelcast and if there is a change then it will be caught be tests anyway.
Would you accept a Pull Request with a changeset similar to the one I linked?
Any kind of feedback is welcome!

That would be great.
I'm worried about loosing the compatibility with version of Hazelcast not having this async API. I can't remember when they added it. If it was added after 3.4, definitely a go.
So, I would love having a PR with such a feature !

@cescoffier: that's great to hear! I am actually from Hazelcast and we are not going to break this  anytime soon:) We are planning to refine the contract of async methods to return ICompletableFuture instead of a regular Future. We just need to do it in a way which will not break binary compatibility.
Any advice how to prevent excessive creation of VertxExecutorAdapter ? Is it possible to store it inside vert.x Context?

This is great, but I am concerned that we will be relying on a hidden API that has no guarantee of forward or backward compatibility.
I suggest for now we keep the old integration using executeBlocking, and allow usage of the private API as an option. When Hazelcast make the async API public and provide compatibility guarantees for it we can get rid of the old integration.

@purplefox: thanks for feedback!
what's the best way to add the switch? Would a new implementation of AsyncMap  make sense to you?

Two implementations of AsyncMap sound reasonable, but I'll defer to the core team on this for their decision, as I'm just a guy in the community these days :)

I think having 2 implementation and a switch to pass from one to the other one would be a reasonable approach.

:+1:

PR merged.


Unit test errors when building

I'm trying to build and run into unit tests error. I see this on both Mac and Windows. As the Mac is my main dev machine I list that environment:
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100)
Maven home: /usr/local/maven
Java version: 1.7.0_71, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.10.3", arch: "x86_64", family: "mac"
The errors are in RundeckClientTest. Surefire report in this gist:
https://gist.github.com/andham/c4029512e4833836319a

you might try adding to /etc/hosts to point rundeck.local at localhost
i'm also updating use of betamax for testing, I think with java 7 we can change from "rundeck.local" to just specify "localhost" for tests

Justed tested latest on master, which seems to include the fixes you talk about, and the unit tests now work fine (on a Windows machine).


Switch to Sym-H index from pyspedas and update of the links.

Addressing #34

I quick update of the Jupyter notebooks. The static image (from omniweb) was replaced by SYM-H index obtain by pyspedas. The image stooped working because it was based on the omniweb cache. Also a few links were update in the text of the notebooks. The corresponding issue can be closed after the merge.


Rate calculation

As a user I want to see my ‘Rate’ on ‘My habits’ page.
Mockup: Profile

Activity
Points

Acquired habit per 14 days
20

Acquired habit per 21 days
30

Acquired habit per 30+ days
40

Days of habit in progress
1 point per 1 day

Created news
20

Added tips & tricks
10

Comment or reply
2

Like comment or reply
1

Share news or tips & tricks
10

First 5 achievements
20

First 10 achievements
30

First 15 achievemens
40

First 20 achievements
50

Acceptance Criteria:

User can see ‘Rate’ based on his/her activities
When user acquired habit by himself, he/she gets the appropriate
points amount
When user acquired habit together with friends, he/she gets the
appropriate points amount multiplied by number of friends who
were involved
If the habit was NOT acquired user does not get any points from
acceptance criteria 2 or 3
User gets 1 point for each day of habits in progress
Points from acceptance criteria 5 saves even if habit was NOT
acquired
User gets 20 points for each created news
User gets 10 points for each created tips&tricks
User gets 2 points for each comment or reply for a comment
User gets 1 point for each like of comment or reply for a
comment
User gets 10 points for share news or tips&tricks on his/her
social networks
User gets appropriate points amount for number of
achievements he/she successfully passed

Need to add calculation for achievment and habits and sharing


[DEV-2485] Frankencoin Pay: Alchemy, EVM, Payment

This is the first step of the Frankencoin Pay functionalities:

Alchemy WebHook
New Tables: AssetAccount, AssetTransfer, PaymentRequest, TransactionEvm
Payment Methods: Lightning, Ethereum, Arbitrum, Optimism, Polygon, Base

It's not finished yet, but it's a working version for playing around, testing and improving ...

bin gespannt 🤩


Contributors Page

The current file contributors.js showcases all the cards in a hardcoded format!
Make a new component called card.jsx/js and move the code to produce the card in there. (it should take details as it props)
Use this card component to populate the details of contributors using contributors.js which return the list of contributors

Hello @abhu-A-J !
I want to work on this issue. Can you please assign it to me ?

Hello @abhu-A-J !
I want to work on this issue. Can you please assign it to me ?

Go for it


Research: Try sandwich pngs to create a sticker

Seems to work fine. In the future, if needed we can use pngs


Missing support for topic in data transfer protocol

Is any short-term plan, to support 'topic' in data transfer, or not?
For example in swiftSDK, I can send data+topic to participant(s):
https://github.com/livekit/client-sdk-swift/blob/08229eb195e17743d10f08534a4d39e9b2bd1905/Sources/LiveKit/Participant/LocalParticipant.swift#L261-L275
and receive data+topic as delegate:
https://github.com/livekit/client-sdk-swift/blob/08229eb195e17743d10f08534a4d39e9b2bd1905/Sources/LiveKit/Protocols/RoomDelegate.swift#L119-L122
In rust-sdks you can find the "topic" string, but it is very weak:
https://github.com/search?q=repo%3Alivekit%2Frust-sdks topic&type=code

Fixed by https://github.com/livekit/rust-sdks/pull/256


Add "Row Limit" to First Operator rollups to prevent

I noticed you can't add a Row Limit to a First operator rollup - you get the error message that "Row Limit: Row Limit is only supported on Last and Concatentate operators." (side note: there's a typo in that error message, an extra t in Concatenate)
We have a rollup that uses a First operator on CreatedDate, and I want to add a row limit because obviously if I need the first record, I don't need to pull in all of the other child records after that, a First with limit 1 would be sufficient, even.
I'm looking in particular to do this because of records with over 50k rows (yes, I know this isn't recommended, no this isn't something we can change right now) where they will fail without a row limit. (error message: First error: dlrs:Too many query rows: 50001)
I originally wondered if perhaps I can't add that because that's how First operator rollups in DLRS already work/that's built in for those- but I tested on a record with over 50k rows and the rollup failed because of the "Too many query rows" error.
I'm not sure how I'm supposed to effectively get around this too many query rows error in this use case without the ability to add a row limit to the rollup. I'd like this functionality so I can be unblocked here.

Actually - do Row Limits even prevent the "too many query rows" error? I just tried this again with a rollup where I was able to use a Last operator, using a row limit of 1, and I still got the "too many query rows" error when I tried to run a full calculate on a single record that I know has over 50k children. That doesn't make sense to me; with a row limit of 1, this shouldn't be pulling all 50k children.

I think we probably need to add some use of the Limits.getLimitQueryRows() and Limits.getQueryRows() to catch this. Re the use of LIMIT still generating the too many rows - suspect yes it's due to first opening the query cursor, then applying the limit, hence if there's >50k records it'll still give an error.
Definitely a valid enhancement...

DLRS doesn't apply the row limit at the query level. SOQL doesn't allow "only retrieve x records per parent" so there isn't a way to reduce the number of records read from the database easily using that technique.
You would need to use an action that can perform an aggregation on the value; such as MAX, COUNT, etc... as those will usually reduce the number of records delivered by the SOQL query.
Resolving this can be difficult depending on what value you're trying to display, if you provide more details on your configuration then maybe we can work through how to best set it up for your situation.


multiple outputs

How to use code to output multiple streams?

Solved

How did you solve? @iwanlebron


Allow Percentile to be used as a selector in InfluxQL.

Allow this type of query:
> insert cpu,host=server01 value=2
> insert cpu,host=server02 value=3
> insert cpu,host=server03 value=4
> select percentile(value, 50), host from cpu
name: cpu
---------
time                                        value   host
1460489980728867428     2       server02

Currently you get this:
> select percentile(value, 50), host from cpu
ERR: error parsing query: mixing aggregate and non-aggregate queries is not supported

Not sure if it makes sense to have percentile be a selector. It doesn't map to a specific host, does it? For example if you had:
host1 val=10
host2 val=20
host3 val=20
host4 val=30

Which host would the 50 percentile return?

I assume these are at the same time? I would guess it would choose host2, but I admit that it's not exactly the best answer. I think the same might apply to first() and last() though too since it's not clear which tag it should choose when a GROUP BY is not used and the timestamps are the same. It just chooses something at the moment.
I think min() and max() would also run into the same problem too.

@jsternberg ah you're right. Ok, carry on, guess we should just have some clearly defined order of operations for if multiple points have the exact same time. first of the ascending sort order of whatever the thing is?

We probably should, but I think we've left it as non-deterministic for now because of speed. It might be just best to say in the documentation, "If the tag wasn't specified in the GROUP BY then it's non-deterministic which one you'll get."
We could make selectors deterministic though. Non-deterministic helps speed up aggregate calls though. We could also only make it deterministic if an auxiliary point has been selected.


Doubly check the manual flag

Currently the manual is only checked before attaching the event
listener, making it hard to reliably set the flag without jumping
through hoops and special cases if Prism is bundled together with
other scripts into a single script file.
Change to check the flag once before attaching the event listener
and once again before actually highlighting to support setting it
after the Prism initialization has run.
see discussion starting at:
https://github.com/PrismJS/prism/pull/1087#issuecomment-274959529

Quoting from the discussion in the issue:

We can; we would break BC for people using the old document.removeEventListener('DOMContentLoaded', Prism.highlightAll) method of removing auto-highlighting, as now the callback we're attaching won't be just Prism.highlightAll.

and

Fine by me; if we do that, we should document that somewhere though. Is the CHANGELOG enough or should we include a "how to disable auto-highlighting" somewhere?

Should I make some other adjustments anywhere? /cc @mAAdhaTTah

Misunderstood the requirement to not touch anything outside of components/ and did not run gulp. Now fixed and force pushed.

This pull request is the only PR that is not labeled at all, so it looks like it might have slipped through the cracks. Can you take a look, please?

I think we definetly need the doc and should put this on your front page in the basic usage section (preferably above the CDN section).

This can simply go into index.html?

This can simply go into index.html?

Yes.
I didn't notice it already mentioned data-manual. What an attentive reader I am...
In that case, just Prism.manual and how data-manual affects Prism.manual is enough.

In that case, just Prism.manual and how data-manual affects Prism.manual is enough.

Okay, I've added the docs as well. Let me know if there's something else I forgot!

Just need to resolve the conflicts.

Just need to resolve the conflicts.

@mAAdhaTTah I've rebased my branch onto PrismJS:master and resolved the conflicts.

Thank you for contributing @TimWolla!


♻ Do not use DatabaseWrapper directly in add_db_connection

https://github.com/django/django/blob/679212a47ac3e22a6fbb6ee3cd4c09f29aae8b5d/django/utils/connection.py#L56
https://github.com/django/django/blob/679212a47ac3e22a6fbb6ee3cd4c09f29aae8b5d/django/db/utils.py#L191
Using a specific DatabaseWrapper seems to be unneeded, this might be important if we want to add support for databases other than sqlite and postgres.

Shouldn't add_db_connection be in lamindb-setup actually?

@fredericenard said this is needed at some point! I'm not sure why.

https://laminlabs.slack.com/archives/C04T2TQC7LL/p1695315236292569

@falexwolf this lets django do exactly the thing that Fred suggests to do manually but in a more correct way, i.e. django infers database wrapper automatically. You can check the code in the links, it does exactly that.

@fredericenard https://github.com/laminlabs/lamindb/blob/main/docs/transfer.ipynb
this notebook
setting connections.settings  instead of connections allows to provide a db config. The links to the relevant code in django are in the post.

Shouldn't add_db_connection be in lamindb-setup actually?

Yes, let's discuss this! But that will be another PR.


Relic stats do not take into account the limits on bonus stats due to item level increases

An example from a test MCH run
Relic stats:
(Main Hand, Skill Speed, 6)
(Main Hand, Determination, 136)
(Main Hand, Critical Hit Rate, 142)

This isn't possible as is, the closest you can get is 5 skill speed instead of 6, due to the way bonus stats from increased item level work.

I'm aware. It's rather complicated to solve that, but it's on my to-do list. Thanks.

Idea:
The stat mapping from 240 to >240 relics is necessarily non-surjective. The currently used step function gives us a piece-wise linear function s(s_b) = s_b + \sum_i c_i H(t_i - s_b) where H is the Heaviside step function.
This structure allows us to create the following model:
For each relic stat s create a SOS2 set with variables mu_1, ..., mu_n where n is the amount of segments.
Add a constraint \sum_i mu_i = 1
Force x-axis choice between two segments using x_s = \sum_i mu_i t_i and y-axis using y_s = \sum_i mu_i f(t_I)
This should give you 240 allocations in x and 275 stats for solving in y.

This should also be helpful for #13, although that's a tad more complicated

This is solved, but I have issues with the GLPK integration. It works fine with Gurobi:
Gear:
Deathlocke Lux
Alexandrian Circlet of Aiming
Augmented Shire Conservator's Coat
Alexandrian Gloves of Aiming
Augmented Shire Conservator's Hose
Alexandrian Thighboots of Aiming
Alexandrian Belt of Aiming
Alexandrian Earrings of Aiming
Alexandrian Neckband of Aiming
Augmented Shire Conservator's Bracelet
Augmented Shire Conservator's Ring
Alexandrian Ring of Aiming
Proto Ultima Ring of Aiming
Materia:
(Head, Alexandrian Circlet of Aiming, Savage Might Materia V, 2)
(Body, Augmented Shire Conservator's Coat, Savage Might Materia V, 2)
(Hands, Alexandrian Gloves of Aiming, Savage Aim Materia V, 2)
(Legs, Augmented Shire Conservator's Hose, Savage Aim Materia V, 2)
(Feet, Alexandrian Thighboots of Aiming, Savage Aim Materia V, 2)
(Waist, Alexandrian Belt of Aiming, Savage Might Materia V, 1)
(Ears, Alexandrian Earrings of Aiming, Savage Aim Materia V, 1)
(Neck, Alexandrian Neckband of Aiming, Savage Might Materia V, 1)
(Wrists, Augmented Shire Conservator's Bracelet, Savage Aim Materia V, 1)
(Right Ring, Alexandrian Ring of Aiming, Heavens' Eye Materia V, 0)
(Right Ring, Proto Ultima Ring of Aiming, Savage Aim Materia V, 1)
(Left Ring, Augmented Shire Conservator's Ring, Savage Might Materia V, 1)
Relic stats:
(Main Hand, Skill Speed, 5)
(Main Hand, Determination, 136)
(Main Hand, Critical Hit Rate, 142)
(Main Hand, Accuracy, 1)
Food:
Priestly Omelette
Allocated stats:
[Dexterity, 35]
Result stats with food:
[Physical Damage, 77]
[Dexterity, 1605]
[Skill Speed, 418]
[Determination, 965]
[Critical Hit Rate, 1168]
[Accuracy, 700]
Result stat weight: 3098.841

Fixed another bug where I was limiting by the wrong stat cap (in the end, the 240 stat cap matters, after all)
Gear:
Deathlocke Lux
Alexandrian Circlet of Aiming
Augmented Shire Conservator's Coat
Alexandrian Gloves of Aiming
Augmented Shire Conservator's Hose
Alexandrian Thighboots of Aiming
Alexandrian Belt of Aiming
Alexandrian Earrings of Aiming
Alexandrian Neckband of Aiming
Augmented Shire Conservator's Bracelet
Augmented Shire Conservator's Ring
Proto Ultima Ring of Aiming
Materia:
(Head, Alexandrian Circlet of Aiming, Savage Might Materia V, 2)
(Body, Augmented Shire Conservator's Coat, Savage Might Materia V, 2)
(Hands, Alexandrian Gloves of Aiming, Savage Aim Materia V, 2)
(Legs, Augmented Shire Conservator's Hose, Savage Aim Materia V, 2)
(Feet, Alexandrian Thighboots of Aiming, Savage Aim Materia V, 2)
(Waist, Alexandrian Belt of Aiming, Savage Might Materia V, 1)
(Ears, Alexandrian Earrings of Aiming, Savage Aim Materia V, 1)
(Neck, Alexandrian Neckband of Aiming, Savage Might Materia V, 1)
(Wrists, Augmented Shire Conservator's Bracelet, Savage Aim Materia V, 1)
(Right Ring, Augmented Shire Conservator's Ring, Savage Might Materia V, 1)
(Left Ring, Proto Ultima Ring of Aiming, Savage Aim Materia V, 1)
Relic distribution:
(Main Hand, Skill Speed, 5)
(Main Hand, Determination, 115)
(Main Hand, Critical Hit Rate, 120)
Relic stats:
(Main Hand, Skill Speed, 5)
(Main Hand, Determination, 136)
(Main Hand, Critical Hit Rate, 142)
Food:
Priestly Omelette
Allocated stats:
[Dexterity, 35]
Result stats with food:
[Physical Damage, 77]
[Dexterity, 1605]
[Skill Speed, 418]
[Determination, 965]
[Critical Hit Rate, 1168]
[Accuracy, 699]
Result stat weight: 3098.841


relative imports not supported with i18n

Please provide us with the following information:

OS?

Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Windows 10

Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:
$ ng --version
angular-cli: 1.0.0-beta.19-3
node: 6.9.1
os: win32 x64

Repro steps.

Was this an app that wasn't created using the CLI? What change did you do on your code? etc.

Added baseUrl for relative imports
Relative import in a component, e.g. import { TermsAndConditions} from 'app/termsandcondition'
ng serve works fine.
Adding i18n attribute and running ng-xi18n:
$ ng-xi18n
Error: Unexpected value 'TermsAndConditions' exported by the module 'SharedModule'

@rolandoldengarm can you open this on https://github.com/angular/angular instead? The CLI doesn't yet have i18n integration.


refactor: remove INotifier

A couple comments but generally pretty good! I like adding it to the helper class - keeps it reusable!

Comments all make sense! I've asked for clarification on one of them

A couple comments but generally pretty good! I like adding it to the helper class - keeps it reusable!

@tdashworth - implemented remaining change


GameUserSettings.ini file being overwritten on start

Hi,
I've read the closed issues on this problem, but I'm having the same issue...
My config file is overwritten each time I run the server, I commented out the server config lines in /etc/arkmanager/arkmanager.cfg as suggested in the closed issues, but the problem persists...
Fresh system-wide install of server tools
my arkmanager.cfg is here:  http://pastebin.com/CpqkYdNZ
Can anyone provide any guidance?  Thanks.

Hrm, looks like the problem was I was overwriting the entire GameUserSettings.ini file with a config from http://ini.arkforum.de/
Appended the stuff from the ini generator to the stuff the server tools kept creating, seems to be working OK now.


bump k8s version in AKS due to 1.26 reaching EOL

Context
AKS moves fast with Kubernetes versions released https://learn.microsoft.com/en-us/azure/aks/supported-kubernetes-versions?tabs=azure-cli#aks-kubernetes-release-calendar. Thus, we need to follow in order to have the CI running. Currently, the CI is failing since 1.26 is not supported any more.
What needs to get done
Bump k8s version from 1.26 to 1.28 since it's the latest supported version in for CKF. Note that we could also do 1.29 since in https://github.com/canonical/bundle-kubeflow/issues/756 we evaluated that 1.29 is compatible with k8s.
Definition of Done
AKS workflows use 1.28 version

Katib UAT fails but it failed previously as well https://github.com/canonical/bundle-kubeflow/issues/893
Training-operator UAT starts to failing after bumping k8s version https://github.com/canonical/bundle-kubeflow/issues/894
We need to investigate more


API: PR #9452 made breaking changes

Gitea version (or commit ref): v1.12.5
Git version: does not matter
Operating system: linux (docker on CentOS)
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[x] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[x] No, but just because I haven't found any user with more than 30 repos

Log gist:

Description
PR #9452 added pagination to several API calls.
This change was meant to be non-breaking, but as @richmahn already mentioned in the PRs comments, it is!
Even when not using pagination in the API query the default pagination (DEFAULT_PAGING_NUM) is used, which defaults to 30.
In my use case this breaks the jenkins plugin, which caused my jenkins instance to delete jobs....
Currently worked around that by setting DEFAULT_PAGING_NUM to 999, but I think we should prevent others from stumbling on this..
@SpaWn2KiLl @zeripath

There is a pull request to https://github.com/jenkinsci/gitea-plugin/pull/25 fix this.

I was sure that this was a duplicate but I can't quite find the issue related to this.

@PhilippHomann If you have an issue with a specific api pleace create an issue.
Since v1.12.x has been released quite some time, adding a breaking changes lable to the pull wont make anything different.
I'll close this issue because I can not detect a specific issue nor some proposal - hope #9452 didn't breace too mouch for you :)

Fine for me as I found a workaround until the plugin is patched.
Just wanted to report that issue as I haven't found one in giteas issues that prevents someone else from doing long research :)


chore: add baseline storage golden files [ggj]

Storage has several generation-time edge cases (e.g. messages named Object, which cause a naming collision in Java). This will also be used as a baseline diff for #803.

LGTM, though I'm a bit concerned by the amount of baseline files (if there are too many it is hard to make sense of them and most likely peoploe will just start blindly updating them, insetad of carefully checking for differences in case of regression.

This is primarily because Storage is relatively newer to GAPICs (AFAIU), and these should have been added to catch #760 as well. But if we're eventually confident that the unit tests are sufficient, or we have a general way to catch such naming conflicts, feel free to remove them at a later point.


Cancellation failed in browser

go to vscode.dev
create python file
type from typing import ClassVar
do find all reference on ClassVar

Expect: no error
Actual:
[Error - 2:22:11 AM] Request textDocument/references failed.
  Message: Request textDocument/references failed with message: Cancellation over SharedArrayBuffer doesn't support cancellation events
  Code: -32603

no regression.

We must be listening for a cancelled event somewhere. That's what causes that error to show up. Likely some new code added a listener.

This issue has been fixed in prerelease version 2024.1.103, which we've just released. You can find the changelog here: CHANGELOG.md


update_page should not require parent_id

The update_page method in confluence should not require a parent_id.  It looks like the examples/confluence-update-page.py also isn't expecting a required parent_id.
I've modified the method to work with a parent_id for old code, and not require it for new code (why I didn't move the named param with default value to the end).
Thanks!
Nick

Thank you very much! :)


Add sum method

Fixes #8
Using internal reduce function call

oops, looks like I'm late to the party :D

@artplan1 Hey Artem, thank you for the PR!
Your implementation is what I'm looking for: pass-through method on the collection proxy, actual implementation in the collection itself and added tests.
I really appreciate your work! Thank you very much!


Do we should pay for the wiring diagram?

I cannot find the wiring diagram in the resource list. I am puzzled by the problem of wiring. So does it mean we should pay for this diagram?

Is this a duplicate of
Wiring Diamgram is missed #6
?

Duplicate on #6

I run the project  as graduation project  with some modifications   if any one want help   connect to me  for free  by email<EMAIL_ADDRESS>


gifs

I have issue when I perform the log command:

docker logs -f orderer4.example.com
It gives me an error message"
Error response from daemon: configured logging driver does not support reading"

How can I fix this issue?
Thanks,


Exclude Object Type: Always Encrypted Column Master Keys and Column Encryption Keys

I'm not seeing an option to exclude these two object types. Is it possible to do so with sqlpackage?

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

ID: ac30c0d5-990b-1114-cb66-d6bbb789b698
Version Independent ID: 9432dace-7676-2a86-485a-dd5bc6568e86
Content: SqlPackage.exe - SQL Server
Content Source: docs/tools/sqlpackage.md
Product: sql
Technology: tools-other
GitHub Login: @pensivebrian
Microsoft Alias: broneill

@pokorourk -- thank you for your question.  Please consider these resources:

DBA Stack Exchange
Stack Overflow

You are welcome to add this issue here:

SQL Server Feedback

I am closing this issue now.  You are welcome to @ mention me for any followup.
We hope to hear from you again.


Fix two typos (from uanble to unable).

Description

I corrected two typos (from uanble to unable).

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

GitHub Issue/PRs

Screenshots (if appropriate):
How Has This Been Tested?

Checklist:

[x] I have read the CONTRIBUTING document.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
Testing
[ ] I have added tests to cover my changes.
[ ] All relevant new and existing integration tests have passed.
[ ] A full integration testsuite with all test that can run on my environment has passed.

@rafaelweingartner Oh, thanks. How kind you are!

@Carrot031 can you force a push? Travis did not understand that we changed the base branch to 4.11, and it trying to run smoke tests of 4.9

@rafaelweingartner I pushed -f just now.

Travis passed, but Jenkins will not until we merge some other PR. I will merge this one as it is a simple change in log messages.


Weekly build triage for the week starting Saturday 2023/07/29

This week's build triage summary:

Date
Day
JDK Version
Pipeline
Pass/Build Fail/Test Fail
Pass/Preventable/Unpreventable

2023/08/04
Friday
JDK8
Link
11/0/0
11/0/0

2023/08/03
Thursday
JDK11
Link
10/2/0
11/7/8910

2023/08/04
Friday
JDK17
Link
8/2/1
11/7/8910

2023/08/04
Friday
JDK21
Link
10/0/0
11/7/8910

Note: "Test Fail" is for when all the "build" jobs passed (build, sign, installer, etc) but one of the test jobs failed and the
status propagated upstream to the build job. Note that "unstable" test job status can be considered a pass, as these are
triaged in more detail here.
Comment template:
Triage breakdown for <Weekday>
List of failures:
<link to failing job>
<Problem summary>
New/Existing Issue: <Issue link>
Preventable: Yes/No
Repeat as needed.

Triage breakdown for Thursday/Friday
List of failures:
https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-aix-ppc64-temurin/267/

New/Existing Issue:
Preventable: Yes/No
https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-alpine-linux-x64-temurin/238/

New/Existing Issue:
Preventable: Yes/No
https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk17u/job/jdk17u-aix-ppc64-temurin/278/

New/Existing Issue:
Preventable: Yes/No
https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk17u/job/jdk17u-linux-s390x-temurin/250/

New/Existing Issue:
Preventable: Yes/No
https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk17u/job/jdk17u-mac-x64-temurin/269/

New/Existing Issue:
Preventable: Yes/No


Should gulp-jekyll be blacklisted?

First let me say I'm a fan of Gulp's opinionated blacklisting.
Can you elaborate on the Jekyll blacklist? I want to use Jekyll as part of a Gulp stream, something like jade -> jekyll -> (maybe other HTML transforms like useref ->) htmlmin. Jekyll seems equivalent to Sass in that it's basically a complex Ruby-based preprocessor (of HTML instead of CSS). Using spawn(), I'll need to run jade, write to disk, trigger Jekyll, write to disk, and trigger htmlmin; a Grunt-like workflow that I'm trying to avoid.

Closing this because the plugin page has been rewritten and integrated with our main website: https://github.com/gulpjs/gulpjs.github.io
The blacklist isn't currently applied to the new plugin page. It is still used by --verify but that might change soon.


Fix some type annotations that diverged.

Stop deferring type annotation validation to prevent further divergence.
Prevent the migrations_test from modifying migrations in place.
Update documentation on how to create the database.
Don't validate migration_id in migrations/init.py.

@googlebot I signed it!

Done.


Add Control.exception.evaluate equivalent

I'm moving our codebase to use annotated-exceptions and we have the following:
expectError :: a -> Test.Expectation
expectError = flip Hspec.shouldThrow Hspec.anyErrorCall . Exception.evaluate

I'm just starting to understand annotated-exception, so not quite sure how to make this work yet.
I think if evaluate existed my migration path could just be changing the import though.
If so, I think this would be useful for the library since other users likely find themselves in similar situations.

Seems reasonable! I think a first pass implementation would be like
evaluate :: (NFData a, HasCallStack, MonadIO m) => a -> m a
evaluate a = withFrozenCallStack checkpointCallStack $ liftIO $ Control.Exception.evaluate a

if you want to bake that in, or make a PR


[BUG]Claim blocks would increase while resize the claim in the opposite direction

Description
When I resize the claim to make a corner to a opposite direction, the claim size will change to a negative value, and I cannot select this claim with wood stick, but it still remain in /claimlist, and the problem is after this operation my total blocks amount was increased！
Steps
1) here I wrap a area to show how its happened, this area is 32x16;

/Playerinfo this time

2) create a claim between gold block and redstone block(which size is 16x16);

3) resize this claim by right click the gold block with shovel then right click diamond block;

4) be told resize successful；
5) problem appeared:

Version
[GP] Running GriefPrevention 1.12.2-<IP_ADDRESS>9
[GP] Running SpongeForge 1.12.2-2611-7.1.0-BETA-2990
[GP] Running luckperms 4.1.54

Suggestion
if a claim's size is under 0, then delete it and cost with abandoned return rate


Version param

Implement --version option for cli.
See https://github.com/pryorda/vmware_exporter/issues/154

Codecov Report

Merging #280 (fb23c64) into main (802240c) will increase coverage by 1.27%.
The diff coverage is 83.87%.

@@            Coverage Diff             @@
##             main     #280      +/-   ##
==========================================
+ Coverage   80.29%   81.56%   +1.27%
==========================================
  Files           4        4
  Lines         873      879       +6
==========================================
+ Hits          701      717      +16
+ Misses        172      162      -10

Impacted Files
Coverage Δ

vmware_exporter/defer.py
97.22% <ø> (ø)

vmware_exporter/helpers.py
72.72% <20.00%> (+11.53%)
:arrow_up:

vmware_exporter/vmware_exporter.py
81.40% <96.00%> (+0.30%)
:arrow_up:

vmware_exporter/__init__.py
100.00% <100.00%> (ø)

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 a202941...fb23c64. Read the comment docs.


Add 404 Page Component

Issue: #65
Changes Made

Created a NotFound.jsx component: This component displays a 404 error message along with a brief explanation and a button to redirect users back to the homepage.
Styled the 404 page using Tailwind CSS: Implemented responsive design with flexbox layout, appropriate typography, and hover effects for buttons.
Updated routing: Modified the main routing setup in App.jsx to include a catch-all route that renders the NotFound component for invalid URLs.

@Anuj3553, the NotFound page has been added. You can now merge it into the main repository.

Well done @saurabh-dev-vns


test:  fix several assertions

These were found during submodule update. See each commit for details.
---- git::use_the_cli stdout ----
running `/projects/rust/build/aarch64-apple-darwin/stage2-tools/aarch64-apple-darwin/release/cargo check -v`
thread 'git::use_the_cli' panicked at tests/testsuite/git.rs:2872:10:

---- expected: tests/testsuite/git.rs:2854:18
++++ actual:   stderr
   1    1 | [UPDATING] git repository `[ROOTURL]/dep1`
   2    2 | [RUNNING] `git fetch --verbose --force --update-head-ok [..][ROOTURL]/dep1[..] [..]+HEAD:refs/remotes/origin/HEAD[..]`
   3    3 | From [ROOTURL]/dep1
   4      -  * [new ref]         HEAD       -> origin/HEAD
        4 +  * [new ref]                    -> origin/HEAD
   5    5 | [LOCKING] 2 packages to latest compatible versions
   6    6 | [CHECKING] dep1 v0.5.0 ([ROOTURL]/dep1#[..])
   7    7 | [RUNNING] `rustc --crate-name dep1 [..]`
   8    8 | [CHECKING] foo v0.5.0 ([ROOT]/foo)
   9    9 | [RUNNING] `rustc --crate-name foo [..]`
  10   10 | [FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s

Update with SNAPSHOTS=overwrite

---- publish_lockfile::note_resolve_changes stdout ----
running `/projects/rust/build/aarch64-apple-darwin/stage2-tools/aarch64-apple-darwin/release/cargo generate-lockfile`
running `/projects/rust/build/aarch64-apple-darwin/stage2-tools/aarch64-apple-darwin/release/cargo package --no-verify -v --allow-dirty`
thread 'publish_lockfile::note_resolve_changes' panicked at tests/testsuite/publish_lockfile.rs:247:10:

---- expected: tests/testsuite/publish_lockfile.rs:234:27
++++ actual:   stderr
   1    1 | [PACKAGING] foo v0.0.1 ([ROOT]/foo)
   2    2 | [ARCHIVING] Cargo.lock
   3    3 | [UPDATING] `dummy-registry` index
   4    4 | [NOTE] package `multi v0.1.0` added to the packaged Cargo.lock file, was originally sourced from `[ROOT]/foo/multi`
   5    5 | [NOTE] package `patched v1.0.0` added to the packaged Cargo.lock file, was originally sourced from `[ROOT]/foo/patched`
   6    6 | [ARCHIVING] Cargo.toml
   7    7 | [ARCHIVING] Cargo.toml.orig
   8    8 | [ARCHIVING] src/main.rs
   9    9 | [PACKAGED] 4 files, [FILE_SIZE]B ([FILE_SIZE]B compressed)
  10      - [WARNING] no (git) Cargo.toml found at `target/tmp/[..]/foo/Cargo.toml` in workdir `[..]`
       10 + [WARNING] no (git) Cargo.toml found at `build/[HOST_TARGET]/stage2-tools/[HOST_TARGET]/tmp/cit/t2393/foo/Cargo.toml` in workdir `/projects/rust/`

Thanks!
@bors r+

:pushpin: Commit fb56fffbb107a10ff43773195827fa4b405370fa has been approved by ehuss
It is now in the queue for this repository.

:hourglass: Testing commit fb56fffbb107a10ff43773195827fa4b405370fa with merge 814f91854ac754e69240aca1ceb25b3a90ef9564...

:sunny: Test successful - checks-actions
Approved by: ehuss
Pushing 814f91854ac754e69240aca1ceb25b3a90ef9564 to master...


The documentation could be a bit clearer

There are disparities betwen the yaml illustration and the descriptions.  Some are simply a matter of case and spaces, which I'm not listing, but others are arbitrarily different, and others are missing in one place or the other.  And, one wonders, why not make them an exact match, so there is no ambiguity?
In these, the description title and it's probable matching key are shown:
Workspace or project path -> xcWorkspacePath
Xcode developer path -> xcodeDeveloperDir
Signing style -> signingOption: 'nosign' # Optional. Options: nosign, default, manual, auto
This one is a bit special: the description has multi-word phrases for each option, highlighted, as if those were
what one is to use; the yaml shows single terms.  Which is it?
Create app package -> packageApp?  In the yaml listing, this isn't commented-out, and no value shown.
Maybe optional, true if you want it?
Export arguments -> exportArgs
Destination type -> destinationTypeOption
Simulators -> destinationSimulators
Devices -> destinationDevices
Arguments -> args
Publish test results to Azure Pipelines/TFS -> publishJUnitResults
This is listed in the text description, but not shown in the yaml listing:
Output directory
These are in the yaml illustration, but not in the descriptions:
exportTeamId
provisioningProfileName
destinationPlatformOption
The pair Destination platform -> destinationPlatform exists, but no description of
destinationPlatformOption is given.
Thanks.

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

ID: 36460c87-c713-0930-461b-92da65e415e6
Version Independent ID: 047d39f1-481b-c135-36e9-6cfc1cc92e99
Content: Xcode build and release task - Azure Pipelines
Content Source: docs/pipelines/tasks/build/xcode.md
Product: devops
Technology: devops-cicd
GitHub Login: @DavidStaheli
Microsoft Alias: dastahel

@lbrownell-gpsw Thank you for the feedback!
You make some interesting points which I will forward on to the author.
Since there is nothing outwardly "wrong" with the documentation I will be closing the issue.  Please comment below if you have any further suggestions.
FYI @davidstaheli

Nothing wrong, you say.  Pretty lax standards at MS these days; then again, it was a bit hard to read, due to how the form on the doc page ported it to a github issue.
So, let's try that again...
For these, the item on the left is the title in the description; on the right, what's shown in the yaml example.
Signing style -> signingOption: 'nosign' . # Optional. Options: nosign, default, manual, auto
Besides style vs. option, the description has multi-word phrases for each option, highlighted, as if those were what one is to use; the yaml shows single-word options. Which is it, single-word or multi-word?
Create app package -> packageApp
In the yaml listing, this isn't commented-out as are the rest of the items, and no value is shown...which is required, that's a key-value pair with no key.  So that's illegal yaml.
These are in the yaml illustration, but not in the descriptions.  Self-documenting I suppose, but why leave these out?

exportTeamId
provisioningProfileName

On this one:

destinationPlatformOption
The pair Destination platform -> destinationPlatform exists, but no description of
destinationPlatformOption is given.

@lbrownell-gpsw Thank you for the clarification.

I've been beating my head against the wall for days, trying to interpret the document. Opening up this comment is what made it make sense for me.
The signingOption is particularly counter-intuitive and its documentation is particularly misleading.
Can we please fix the issues so the next non-iOS developer trying to do an iOS build isn't led astray the way I was?


Cannot extract files that are over 2-3 MB in size.

Trying to extract the models in the win32 directory, and i assume this will also will happen with win32reboot, and nothing happens.
I've done manual extraction but the program seems to just... reboot? or crash out.
This also happens with the file list when trying to extract it via those.
Nothing is extracted at all and all it does is say that it did extract it.
It does extract files that are under 2 MB, i assume.  I've tried it with a 3000 kb file and it failed to work but it will work with a 1000 kb file.

Do you know the specific file name?
Also, when the csv file is output with the "Export Filelist" function, is the contents of the file output?


Refactor archival workflow

Refactor archiver workflow, handler and pump so that they can handle arbitrary archive requests.
Use metrics scope instead of metrics client for archiver handler and pump
Rename existing method and struct name to be more specific.
Add replay workflow history test to ensure workflow backward compatibility.

Coverage decreased (-0.02%) to 69.434% when pulling 394293f7ba4576b638cfaa671cfdadaf87d6393c on yycptt:archival-workflow-refactor into 0f2d7f11b058f8e985a832826c00361d2372bc39 on uber:master.


[Bug]: Cannot construct neo4j knowledge graph with embeddings

Bug Description
There seems to be a disconnect between the knowledge graph construction and using embeddings when using an external graph store (such as neo4j in this case).
I am trying to construct a neo4j knowledge graph, when calling 'from_documents', I set the include_embeddings=True.
When I use the index to query, the logs will print 'index not constructed with embeddings', even though it was.
However, when I use a 'SimpleGraphStore' and persist the storage context locally it works fine, and utilizes the embeddings.
I have multiple thousands of documents so persisting locally and loading the index for each request is not feasible. How can I use neo4j knowledge graph and also utilize embeddings?
Version
0.9.5
Steps to Reproduce
username = "neo4j"
password = "<pw>"
url = "<url>"
database = "neo4j"

graph_store = Neo4jGraphStore(
    username=username,
    password=password,
    url=url,
    database=database,
)

storage_context = StorageContext.from_defaults(graph_store=graph_store)

llm = AzureOpenAI(engine="GPT4x32k", model="gpt-4-32k")

embedding_llm = AzureOpenAIEmbedding(
    model="text-embedding-ada-002",
    deployment_name="Embedding",
    api_key=os.getenv('OPENAI_API_KEY'),
    azure_endpoint=os.getenv('AZURE_OPENAI_ENDPOINT'),
    api_version=os.getenv('OPENAI_API_VERSION'),
)

service_context = ServiceContext.from_defaults(embed_model=embedding_llm, llm=llm)

index = KnowledgeGraphIndex.from_documents(
    docs,
    storage_context=storage_context,
    service_context=service_context,
    include_embeddings=True
)

NEW SESSION
index = KnowledgeGraphIndex.from_documents(
    [],
    storage_context=storage_context,
    service_context=service_context,
    include_embeddings=True
)

query_engine = index.as_query_engine(
    include_text=True,
    response_mode="tree_summarize",
    embedding_mode="hybrid",
    similarity_top_k=5,
)

response = query_engine.query(
    "<query>"
)

**LOGS:**
WARNING:llama_index.indices.knowledge_graph.retrievers:Index was not constructed with embeddings, skipping embedding usage...

Relevant Logs/Tracbacks
No response

@dosu-bot
If I specify an external vector store (cog search, for example), and pass the vector & graph store to storage context, then run this code:
index = KnowledgeGraphIndex.from_documents(
    docs,
    storage_context=storage_context,
    service_context=service_context,
    include_embeddings=True
)

Only the graph store is created. Is it possible to construct graph with embeddings and use external stores (not local. like neo4j and cog search)?

running into the same problem.
trying to store embeddings along with the nodes in neo4j..
I can see in logs that the embeddings are gnerated, but they dont seem to be stored
Here is my code
from llama_index.core import KnowledgeGraphIndex, StorageContext, ServiceContext
from llama_index.readers.web import SimpleWebPageReader
from llama_index.graph_stores.neo4j import Neo4jGraphStore
from langchain_openai import ChatOpenAI
from llama_index.embeddings.openai import OpenAIEmbedding

documentUrls = ["http://some-random-url"]
openAIApiKey = "MY_OPEN_AI_API_KEY"
LLAMA_GRAPH_STORE = Neo4jGraphStore(
        username="myUsername",
        password="myPassword",
        url="neo4jUrl")

llm= ChatOpenAI(model="gpt-3.5-turbo-16k", openai_api_key = openAIApiKey)
embedLLM = OpenAIEmbedding( model="text-embedding-3-large",api_key=openAIApiKey)

storage_context = StorageContext.from_defaults(graph_store=LLAMA_GRAPH_STORE)
service_context = ServiceContext.from_defaults(llm=llm, embed_model=embedLLM)
documents = SimpleWebPageReader(html_to_text=True).load_data(documentUrls)

KnowledgeGraphIndex.from_documents(
            documents=documents,
            show_progress=True,
            storage_context = storage_context,
            service_context = service_context,
            include_embeddings = True
        )

I can see embeddings being generated in output

but cant find them in my local neo4j


Show slowest tests

Summary
Allow to display slowest tests for a given assembly.
Background and Motivation
On our internal test runs we have an option to display slowest tests. I think this would be a useful feature to provide to users.
Proposed Feature
Add a --show-slowest or --show-slowest-test option.

To de defined: should this be a core feature or an extension feature?
I think that because this is not linked to any external deps/service this could be a built-in feature but we could think about having it directly as some external package it we are planning to connect it to some service (AzDO?).
@MarcoRossignoli if I am not mistaken, nothing prevents us (technically) to have this feature as core (built-in) feature and to potentially have some extensions that would enrich this feature (e.g. connection to some history service), right?

I would personally do not add "questionable" service built-in. UX falls already in that bucket but we need to show something and we're giving our taste.
I would keep as an extension.
Slowest test is also a not well defined concept. Hypothetical fixture system, init feature etc...are affecting the concept of slowest? If my custom adapter group by "group of tests with a category" and I want to measure that group? Some other esoteric framework could implement different concept regarding timing, personally I would not add in the core lib but in an extension where we ship "our" idea of slowest.


Consul ACL Token is not available with Config Data API when using consul with vault (consul backend)

Please see https://github.com/spring-projects/spring-boot/issues/25705 for details.
Opening here as I'm not sure what changes (if any) are needed in Spring Boot to support this request. Perhaps there's some deeper integration between spring-cloud-vault and spring-cloud-consul needed?

Any updates on this issue? It will be nice to get a fix for this given how different legacy and config data api processing is and moving forward with spring boot upgrades will be easier if had this fix.

I think the problem originates from the design of the Config Data mechanism. There are two relevant phases:

Discovery and resolution of ConfigDataResource. ConfigDataLocationResolverContext exposes access to the Properties Binder to let Config Data components inspect configuration properties.
Loading of all discovered ConfigDataResource. Each resource is loaded.

Once all resources are loaded, PropertySources are added to Spring's Environment and additional (contributed) configuration properties can be accessed.
In your arrangement, Consul required properties that are contributed by Vault, however, at the time when collecting the config for the Consul integration, neither Vault was accessed nor are any properties visible from Vault's ConfigData contribution.
@philwebb would it be possible to refine Spring Boot's loading mechanism to resolve a Config Data location first, load its ConfigData and then proceed with the next Config Data location?

@mp911de I think so, but it's likely to be risky so I'd rather not do it in the existing releases. I've opened https://github.com/spring-projects/spring-boot/issues/28849


Some issues about training and validation processes

Hi Mr Thomas
First of all, than you for your amazing work，I used your work to separate the ground from the non-ground in the forest region，and  I‘ve got a mIou 80.32.
I have some issues about training and test processes.
I noticed that when reading the dataset, it will put all the rooms together，according to my understanding, the training is carried out on the whole, through in _ radius this parameter to select a region on the whole, this region is a ball. Then the “potential value“ is used to ensure that all regions can be calculated. The epoch _ steps parameter is used to control the number of balls selected in an epoch.
With regard to the test process, it adds a voting mechanism to select the best result by traversing the entire test area many times.Whether the rest part of test process is similar to the training process ?
Is my understanding correct ? If there is an error please correct.
Finally, I ' m sorry for my bad English, I hope you can understand my meaning, I hope I can get your systematic reply about how the training and testing process works,
Thanks

by the way,where can I control the epochs of test?

Hi @BruceWayne233,
Thanks for your interest in my code. I am happy to hear that it performed well on forest ground detection.

I noticed that when reading the dataset, it will put all the rooms together, according to my understanding, the training is carried out on the whole, through in _ radius this parameter to select a region on the whole, this region is a ball. Then the “potential value“ is used to ensure that all regions can be calculated. The epoch _ steps parameter is used to control the number of balls selected in an epoch.

Your understanding is correct except for one small detail. If epoch_steps = 500, it is equivalent to selecting 500 batches, which means approximatively 500 x batch_num balls in an epoch.

With regard to the test process, it adds a voting mechanism to select the best result by traversing the entire test area many times.Whether the rest part of test process is similar to the training process ?

Yes the test process follows the same strategy, using potential values. the number of spheres picked in the test process is controlled by validation_size instead of epoch_steps.

Hi Mr Thomas
wow,I am excited to get your response so quickly.
the iou of ground is around 68，the iou around non_ground is around 91, I want to make the model to handle the ground point perform better.
This is part of this data.

Intuitionally, I think using a larger in _ radius and a smaller grid _ subsampling may help this problem ( with enough memory ), but it also needs to be controlled between 50. The parameters I currently use are
in _ radius = 1.2
grid _ subsampling = 0.03
The parameters are not changed.
How will you handle this problem ? I sincerely want your advice.
By the way,this problem may seem silly，Will all test results be saved in the ply file after the test is completed ? For example, I use area5 as the test data, will all the test results be written back to area5.py ? If so, how do I show this result by cloud compare( showing the label I predicted ) ?
Thank you again so timely reply, wish you all good.

Intuitionally, I think using a larger in _ radius and a smaller grid _ subsampling may help this problem ( with enough memory ), but it also needs to be controlled between 50. The parameters I currently use are
in _ radius = 1.2
grid _ subsampling = 0.03

Ok so from what I see, it seems that a larger in_radius would indeed help with the results, it would help the network catch more features from the trees. In your case, I would try something like 3 meters, and a corresponding first_subsampling_dl of 8 cm. You can try to have a bigger ratio between the two values by reducing the batch_num to 3 or 4 (I would not advise getting lower than 3 though). You can try out multiple values for these parameters and compare the results with the plot_convergence.py script.
https://github.com/HuguesTHOMAS/KPConv-PyTorch/blob/73e444d486cd6cb56122c3dd410e51c734064cfe/plot_convergence.py#L779-L784

Will all test results be saved in the ply file after the test is completed ? For example, I use area5 as the test data, will all the test results be written back to area5.py ? If so, how do I show this result by cloud compare( showing the label I predicted ) ?

If you choose area5 as the test data, there will be a folder created when training the network at your_root_folder/results/Log_YYYY-MM-DD_HH-MM-SS  (corresponding to the date of the training). In this folder you will find the network logs, checkpoints, and the validation results. New area5.ply files will be saved every 50 epochs with the current validation results. You can just load them with CloudCompare they contain the predictions

Hi Mr Thomas
Thank you sincerely for your advice on how to choose parameters.

If you choose area5 as the test data, there will be a folder created when training the network at your_root_folder/results/Log_YYYY-MM-DD_HH-MM-SS (corresponding to the date of the training). In this folder you will find the network logs, checkpoints, and the validation results. New area5.ply files will be saved every 50 epochs with the current validation results. You can just load them with CloudCompare they contain the predictions

To verify that I understand correctly，when I run test_models.py, every 50 epochs I will get a ply file in the folder Log_YYYY-MM-DD_HH-MM-SS（corrrsponding to the date of the training） ? Do I understand it correctly?
Another question is why the epoch number is 50  ? Where can this parameter be controlled ?
Finally, thank you very much for your help and wish you all the best

Hi Mr Thomas
Antoher quick question,do I need to set the in_radius for test proce?  Will it keep the same parameters as the training procss?
If  I have to manual setting，how could I set it?
Thank you very much for your help and wish you all the best


Fix precision definition in Telegraf configuration

https://community.influxdata.com/t/telegraf-precision-parameter-parsing-in-agent-configuration/24002/7
https://github.com/influxdata/telegraf/issues/10734

Description of precision is much better now! I am fine with the new description.


Potentially spurious static type computation in the Analyzer

Consider the following code:
extension on int? {
  int? operator+(int? other) {
    if (this != null && other != null) {
      return this! + other;
    } else {
      return null;
    }
  }
}

int test(int? x) {
  return ++x ?? 10;
}

The expected static type of ++x is int?, given the return type of operator+. However, the Analyzer reports the following warning:
warning - qwerty.dart:12:17 - The left operand can't be null, so the right operand is never executed. Try removing the operator and the right operand. - dead_null_aware_expression

I hope you don't mind me chiming in. I did some debugging and it seems this is where the nullability from int? gets lost: https://github.com/dart-lang/sdk/blob/main/pkg/analyzer/lib/src/dart/resolver/prefix_expression_resolver.dart#L231-L232

I hope you don't mind me chiming in.

No, we don't mind. We welcome all contributions. Thanks for digging into this and letting us know what you found!

https://dart-review.googlesource.com/c/sdk/+/392905


[Codegen][NFC] Move encoding related containers to Dialect/Codegen/Utils

The revision moves MaterializeEncodingInfo struct and TileSwizzle struct to compiler/Codegen/Dialect/Codegen/Utils/Utils.[h|cpp]. It is a preparation for https://github.com/iree-org/iree/issues/17924 because they are how we define layouts in data-tiling and we're going to expose the layouts to EncodingAttr.
The revision also updates the namespace in  GPUTileSwizzleUtils.[h|cpp], which follows the convention; a typo in license. They are all created in 2024, so the year should be 2024: https://github.com/iree-org/iree/commit/740e301d61e18a5833e1a2d75b476ae850f8c17e

I do not like to have IREE::Codegen:: prefix after we move it to the other folders.. Perhaps we can forward some declares like mlir/Support/LLVM.h, then we wont be bothered in the compiler/Codegen/* anymore?

I do not like to have IREE::Codegen:: prefix after we move it to the other folders.. Perhaps we can forward some declares like mlir/Support/LLVM.h, then we wont be bothered in the compiler/Codegen/* anymore?

Yeah, that sounds like a nice cleanup to do at some point. The Flow namespace also adds a lot of chars in many of the pre-codegen files.


Error in py_call_impl(callable, dots$args, dots$keywords) :    ValueError: Buffer has wrong number of dimensions (expected 1, got 2)

Unless my input (data) has equal row and column numbers, I receive this error. Am I doing something wrong?

dim(data)
[1] 8910   41

traceback()
4: stop(structure(list(message = "ValueError: Buffer has wrong number of dimensions (expected 1, got 2)",
call = py_call_impl(callable, dots$args, dots$keywords),
cppstack = structure(list(file = "", line = -1L, stack = c("/d0/home/rasmusr/R/x86_64-pc-linux-gnu-library/4.0/reticulate/libs/reticulate.so(Rcpp::exception::exception(char const*, bool)+0x78) [0x7f66e414eea8]",
"/d0/home/rasmusr/R/x86_64-pc-linux-gnu-library/4.0/reticulate/libs/reticulate.so(Rcpp::stop(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)+0x27) [0x7f66e414ef17]",
"/d0/home/rasmusr/R/x86_64-pc-linux-gnu-library/4.0/reticulate/libs/reticulate.so(py_call_impl(PyObjectRef, Rcpp::Vector<19, Rcpp::PreserveStorage>, Rcpp::Vector<19, Rcpp::PreserveStorage>)+0x52d) [0x7f66e416109d]",
"/d0/home/rasmusr/R/x86_64-pc-linux-gnu-library/4.0/reticulate/libs/reticulate.so(_reticulate_py_call_impl+0x95) [0x7f66e4149f15]",
"/usr/lib/R/lib/libR.so(+0xf9290) [0x7f6715177290]", "/usr/lib/R/lib/libR.so(+0x13940c) [0x7f67151b740c]",
"/usr/lib/R/lib/libR.so(Rf_eval+0x180) [0x7f67151c1670]",
"/usr/lib/R/lib/libR.so(+0x14548f) [0x7f67151c348f]", "/usr/lib/R/lib/libR.so(Rf_applyClosure+0x1c7) [0x7f67151c4257]",
"/usr/lib/R/lib/libR.so(+0x13a909) [0x7f67151b8909]", "/usr/lib/R/lib/libR.so(Rf_eval+0x180) [0x7f67151c1670]",
"/usr/lib/R/lib/libR.so(+0x14548f) [0x7f67151c348f]", "/usr/lib/R/lib/libR.so(Rf_applyClosure+0x1c7) [0x7f67151c4257]",
"/usr/lib/R/lib/libR.so(+0x13a909) [0x7f67151b8909]", "/usr/lib/R/lib/libR.so(Rf_eval+0x180) [0x7f67151c1670]",
"/usr/lib/R/lib/libR.so(+0x14548f) [0x7f67151c348f]", "/usr/lib/R/lib/libR.so(Rf_applyClosure+0x1c7) [0x7f67151c4257]",
"/usr/lib/R/lib/libR.so(Rf_eval+0x353) [0x7f67151c1843]",
"/usr/lib/R/lib/libR.so(+0x148613) [0x7f67151c6613]", "/usr/lib/R/lib/libR.so(Rf_eval+0x572) [0x7f67151c1a62]",
"/usr/lib/R/lib/libR.so(Rf_ReplIteration+0x23a) [0x7f67151f539a]",
"/usr/lib/R/lib/libR.so(+0x177761) [0x7f67151f5761]", "/usr/lib/R/lib/libR.so(run_Rmainloop+0x48) [0x7f67151f5818]",
"/usr/lib/rstudio-server/bin/rsession(+0x887166) [0x557db1872166]",
"/usr/lib/rstudio-server/bin/rsession(+0x8632ad) [0x557db184e2ad]",
"/usr/lib/rstudio-server/bin/rsession(+0x7c666) [0x557db1067666]",
"/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f6713456b97]",
"/usr/lib/rstudio-server/bin/rsession(+0x9fe4a) [0x557db108ae4a]"
)), class = "Rcpp_stack_trace")), class = c("Rcpp::exception",
"C++Error", "error", "condition")))
3: py_call_impl(callable, dots$args, dots$keywords)
2: densMAP$fit_transform(data) at densmap.R#54
1: densMAP(data, verbose = T)

sessionInfo()
R version 4.0.2 (2020-06-22)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.4 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1
locale:
[1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8     LC_MONETARY=en_US.UTF-8
[6] LC_MESSAGES=en_US.UTF-8    LC_PAPER=en_US.UTF-8       LC_NAME=C                  LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
other attached packages:
[1] magrittr_1.5         optparse_1.6.6       reticulate_1.16-9000
loaded via a namespace (and not attached):
[1] fastmatch_1.1-0             plyr_1.8.6                  igraph_1.2.5                splines_4.0.2               BiocParallel_1.22.0
[6] GenomeInfoDb_1.24.2         ggplot2_3.3.2               scater_1.16.2               urltools_1.7.3              digest_0.6.25
[11] htmltools_0.5.0             GOSemSim_2.14.0             viridis_0.5.1               GO.db_3.11.4                memoise_1.1.0
[16] limma_3.44.3                annotate_1.66.0             graphlayouts_0.7.0          matrixStats_0.56.0          sccore_0.1
[21] enrichplot_1.8.1            prettyunits_1.1.1           colorspace_1.4-1            blob_1.2.1                  rappdirs_0.3.1
[26] ggrepel_0.8.2               pagoda2_0.1.1               xfun_0.15                   dplyr_1.0.0                 crayon_1.3.4
[31] RCurl_1.98-1.2              jsonlite_1.7.0              scatterpie_0.1.4            genefilter_1.70.0           brew_1.0-6
[36] survival_3.2-3              glue_1.4.1                  polyclip_1.10-0             gtable_0.3.0                zlibbioc_1.34.0
[41] XVector_0.28.0              DelayedArray_0.14.0         BiocSingular_1.4.0          Rook_1.1-1                  SingleCellExperiment_1.10.1
[46] BiocGenerics_0.34.0         scales_1.1.1                DOSE_3.14.0                 DBI_1.1.0                   edgeR_3.30.3
[51] Rcpp_1.0.5                  viridisLite_0.3.0           xtable_1.8-4                progress_1.2.2              gridGraphics_0.5-0
[56] dqrng_0.2.1                 bit_1.1-15.2                europepmc_0.4               rsvd_1.0.3                  stats4_4.0.2
[61] httr_1.4.1                  getopt_1.20.3               fgsea_1.14.0                RColorBrewer_1.1-2          ellipsis_0.3.1
[66] pkgconfig_2.0.3             XML_3.99-0.4                farver_2.0.3                locfit_1.5-9.4              ggplotify_0.0.5
[71] tidyselect_1.1.0            rlang_0.4.7                 reshape2_1.4.4              later_<IP_ADDRESS>               AnnotationDbi_1.50.1
[76] munsell_0.5.0               tools_4.0.2                 downloader_0.4              generics_0.0.2              RSQLite_2.2.0
[81] ggridges_0.5.2              stringr_1.4.0               fastmap_1.0.1               yaml_2.2.1                  knitr_1.29
[86] bit64_0.9-7                 tidygraph_1.2.0             purrr_0.3.4                 dendextend_1.13.4           ggraph_2.0.3
[91] mime_0.9                    scran_1.16.0                DO.db_2.9                   xml2_1.3.2                  compiler_4.0.2
[96] rstudioapi_0.11             beeswarm_0.2.3              tibble_3.0.3                statmod_1.4.34              tweenr_1.0.1
[101] geneplotter_1.66.0          stringi_1.4.6               lattice_0.20-41             Matrix_1.2-18               vctrs_0.3.1
[106] pillar_1.4.6                lifecycle_0.2.0             BiocManager_1.30.10         triebeard_0.3.0             BiocNeighbors_1.6.0
[111] data.table_1.12.8           cowplot_1.0.0               bitops_1.0-6                irlba_2.3.3                 httpuv_1.5.4
[116] conos_1.3.0                 GenomicRanges_1.40.0        qvalue_2.20.0               R6_2.4.1                    promises_1.1.1
[121] gridExtra_2.3               vipor_0.4.5                 IRanges_2.22.2              MASS_7.3-51.6               SummarizedExperiment_1.18.1
[126] rjson_0.2.20                DESeq2_1.28.1               cacoa_0.1                   S4Vectors_0.26.1            GenomeInfoDbData_1.2.3
[131] parallel_4.0.2              hms_0.5.3                   clusterProfiler_3.16.0      grid_4.0.2                  tidyr_1.1.0
[136] DelayedMatrixStats_1.10.1   rvcheck_0.1.8               ggforce_0.3.2               base64enc_0.1-3             Biobase_2.48.0
[141] shiny_1.5.0                 tinytex_0.24                ggbeeswarm_0.6.0

That's odd ... will look into it shortly, thanks!

Hi @rrydbirk so sorry that it took me so long to get to this. I've been looking into the issue to see if the entire R wrapper was compromised because of an update we made, but that does not seem to be the case. Do you mean that it only works for you when you input a square matrix? Would you be able to send me (at least a subsample) of the input data you are trying to use?

@ashwinn226 I just run the example codes in python3, It seems that the number of rows in the input array cannot exceed 4000, otherwise  densmap will report the error,

import densmap
from sklearn.datasets import fetch_openml
from sklearn.utils import resample
digits = fetch_openml(name='mnist_784')
subsample, subsample_labels = resample(digits.data, digits.target, n_samples=7000, stratify=digits.target, random_state=1)
emb, ro, re = densmap.densMAP().fit_transform(subsample[0:3000,:])
emb, ro, re = densmap.densMAP().fit_transform(subsample[0:4000,:])
emb, ro, re = densmap.densMAP().fit_transform(subsample[0:4100,:])
Traceback (most recent call last):
File "", line 1, in
File "/Users/lvdekang/densvis-master/densmap/densmap/densmap_.py", line 2027, in fit_transform
self.fit(X, y)
File "/Users/lvdekang/densvis-master/densmap/densmap/densmap_.py", line 1794, in fit
self._search_graph.transpose()
File "/Users/lvdekang/miniconda3/envs/site/lib/python3.7/site-packages/scipy/sparse/lil.py", line 437, in transpose
return self.tocsr(copy=copy).transpose(axes=axes, copy=False).tolil(copy=False)
File "/Users/lvdekang/miniconda3/envs/site/lib/python3.7/site-packages/scipy/sparse/lil.py", line 462, in tocsr
_csparsetools.lil_get_lengths(self.rows, indptr[1:])
File "_csparsetools.pyx", line 109, in scipy.sparse._csparsetools.lil_get_lengths
ValueError: Buffer has wrong number of dimensions (expected 1, got 2)

Hi there, I think I'm having the same issue as well.
If this is useful to anyone, I found that one possible workaround is to change 2 lines in densmap_.py (1737 and 1853 in the version I'm currently using) that seem to specifically test whether the data has 4,096 or more rows:
if X.shape[0] < 4096: (at 1737)
if y.shape[0] < 4096: (at 1853)
I changed them to some arbitrarily high number greater than the number of rows in my matrix/data frame and it seemed to run in 1 minute or less for my 5000 x 10 data matrix.
I did have to delete/refresh the precompiled versions of densmap_.py in the 'pycache' folder for it to take effect, though.

Wow great find ... I have no memory of putting those lines in there, will look into what's going on.

Also facing this issue, looks like behavior is caused by differences between implementations of nearest neighbors search between small and large datasets.

Thanks all for patience. There was some issue with scipy's LIL sparse matrix type, and I just switched to CSR matrices, and this seems to have fixed the issue.


Add repository to package.json

It is good when repository is visible here: https://www.npmjs.com/package/pinia-plugin-persistedstate

oh heck, i completely forgot about that while documenting things. Thanks for noticing!


GH-259: Add pause/resume to KafkaMessageSource

Resolves https://github.com/spring-projects/spring-integration-kafka/issues/259
Enable pause/resume on the polled consumer.
cherry-pick to 3.1.x

Gary, any ideas why does test fail on Travis:
org.springframework.integration.kafka.outbound.KafkaProducerMessageHandlerTests > testOutboundWithTimestampExpression FAILED
    org.opentest4j.AssertionFailedError at KafkaProducerMessageHandlerTests.java:248

?

Looks like that fixed it.

Doh! I merged it without squashing 😢
Something is wrong in my relationships with this project...

... and cherry-picked to 3.1.x as https://github.com/spring-projects/spring-integration-kafka/commit/5a7c5dd7b077552e35f56d6d4d4f754508c95cdc after squashing and resolving conflicts.


Add Linguini Localization

This is a behind the scene update, it replaces Fluent.Net with Linguini (the Code Pasta ;) )
Keep in mind, Linguini is much stricter with regards to Fluent compatibility, so it will yell if you try to pass files that used to work before.
That said, I checked the files by CnP on Fluent playground (https://projectfluent.org/play/) so the errors reported are actual errors and not false positives.
Depends on https://github.com/space-wizards/RobustToolbox/pull/1760

You must add a funny blue rat to merge this PR, sorry.

Does this count:
https://i.pinimg.com/originals/e8/01/49/e801493d8099d44b98089ff9c668409a.jpg

@PaulRitter Agreed, removed the Toolbox.


Handle core text right and center alignment

Allows text to be right and center aligned.  Also adds a test app for coretext, currently with the single alignment test.

@ms-jihua is added to the review. #Closed

@mnithish is added to the review. #Closed

TEST(CoreGraphics, CTLineGetOffsetForStringIndex) {

We should be able to add additional unit tests that verify the new line breaking changes you made.

Refers to: tests/unittests/CoreText/CTLineTests.mm:64 in 15e7c14. [](commit_id = 15e7c1445a23d43ef112e6f7f2a5ae160fd14bed, deletion_comment = False)

:clock1:

:clock1:

ping

Date: Tue, 16 Aug 2016 10:44:26 -0700
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [Microsoft/WinObjC] Handle core text right and center alignment (#873)
ping
—
You are receiving this because you commented.


feature: process output files into columnar data store

Task:
Integrate the output processing code from Antonia's paper, ensuring it follows the style of the rest of the package.

closed by #15


Add Futura Medium as a font, please

I have decided not to add this font since I am close to hitting the file size limit for the theme and there are similar fonts already in the theme. However, I have added the ability to add your own fonts easily locally through the latest patch. Hopefully, this should suffice! :)


Remove listener when mongos destroyed

Not all of the listeners were being removed when a server was closed, causing a memory leak on reconnect.
This removes the serverDescriptionChanged listener when a server has been closed.
NODE-1216

nice!


Qt: Do not require mkDerivation

Motivation for this change
The return of #71089.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

The documentation is now up-to-date and I have integrated some recent changes to developerBuild. I am re-running the NixOS tests, and then I will consider this "ready".

The documentation is now up-to-date and I have integrated some recent changes to developerBuild. I am re-running the NixOS tests, and then I will consider this "ready".

do you mind squashing related commits? Mostly looking at the ~6 fixup commits for qtbase-setup-hook.sh

do you mind squashing related commits? Mostly looking at the ~6 fixup commits for qtbase-setup-hook.sh

Tests pass, so I'll clean up the commit history and we'll be good to go.

Tests pass, so I'll clean up the commit history and we'll be good to go.


fix findParentLink

findParentLink doesn't properly handle elements that don't belong to the document tree, which could cause error when user remove an element in click event handler.
Example: https://jsfiddle.net/toruta39/ysdvsnLt/1/

thanks


Provide help command for the cli tool

Objective
Provide a help command on the cli tool.
Why?
It makes the cli more approachable for the users and is a best practice 😸

Fixed by pull request #22


Identify sections under Docs that need new videos and content

Tyler T to lead - support from Intiser and Anthony
Tied to issue
Need developer team support for enhanced content on technology documentation (Pub.dev) @VJag @murali-shris

@TylerTrott can you outline next steps so the team has context and clarity around this issue?  @aannttoo mentioned its tied to issue #43 from a content perspective.  I tagged @murali-shris and @VJag.

https://docs.google.com/spreadsheets/d/1r-zgcWoTPPFrcS1ksC5UG6zZGwN1UnAlKFUzg2Ei3LI/edit#gid=741364376

Next step is to work on content for all these gaps identified.


 It is impossible for a human to review these compiled files.

So how can we fix the loader issue ?

Since the a new major version of the library is in the works that uses a very different build system (Vite 4) this issue should be solved. Feel free to have a look at it in the next branch, or try it out by installing @phosphor-icons/vue@next in your project.
Your PR seems to have changed all components from using the the nullish coalescing operator to the OR operator. Note that this is not correct, since the OR operator uses the right hand value as soon as the left hand value is falsy. This means that it would also fall back to the injected values when a size is 0 for example, which should not be valid behavior since the user explicitly set the size to 0 for a reason.


NextjsSite: image optimizer function can't download image (AccessDenied)

Images going through the optimizer function are broken in the latest version of SST (2.0.28). jpg & png (and possibly more) are affected. SVGs are not.
Cloudwatch log:
ERROR	Failed to download image AccessDenied: Access Denied
    at throwDefaultError (file:///var/task/index.mjs:16751:24)
    at deserializeAws_restXmlGetObjectCommandError (file:///var/task/index.mjs:25060:49)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async file:///var/task/index.mjs:15801:24
    at async file:///var/task/index.mjs:40984:22
    at async file:///var/task/index.mjs:40022:42
    at async file:///var/task/index.mjs:33931:22
    at async file:///var/task/index.mjs:38771:24
    at async downloadHandler (file:///var/task/index.mjs:52986:24)
    at async imageOptimizer2 (file:///var/task/index.mjs:14849:11)

⚠ Downgrading to v2.0.27 fixed the issue.
Minimum code to repro: https://github.com/raibima/img-opt-bug-repro
Manual repro steps:

Create a next js site npx create next-app repro
Initialize SST (drop in mode) npx create sst && npm install
Load an image using Nextjs Image component `<Image
Deploy app npx sst deploy --stage prod

Great catch! SVGs aren't affected b/c they are vectors and don't need to go through any optimizations.


Automatically upgrade tools managed by sdk and binenv

Extend upgrade script to automatically detect new versions of tools/programs/libraries managed by sdk and binenv and install them in one go with other package manages.

[ ] Automatically upgrade sdk tools
[x] Automatically upgrade binenv tools

automatic binenv upgrade added by 0867efedf002197c7fd39f5872504b6b7ca98e25

automatic sdk upgrade (excluding java) added by 343944f4e63987b4147798e3a753be59aefe4e00


Make test setup accessible externally

Hey there I changed the test scripts so everything can be accessed externally. And cors is enabled. This allows for easier development of gravity tools.

Thanks for this!


Setting passcode

Can we use SmileLock to set/reset the user passcode?
Request someone to give me an example if possible.

Smile-Lock is only a UI component, you have to make set/reset the user passcode UI by yourself.


Safer old input binding when multiple forms on page

This is a bugfix for old input binding when there are multiple forms on a page.
Use case:

You have two forms on a page, and both have bound data.
When you submit one form with validation errors, the other form will not respect bound data, because of the blanket hasOldInput() check (which is not form specific, as the whole request might contain old input from one form, but not the other).

This fix checks the old input provider on a key-by-key basis, rather than doing a blanket hasOldInput() check for all forms on page.

I think you'll find this introduces an issue where you'll get forms that are partially filled with bound model input and partially filled with old input.
Doing a blanket check on the whole form was intentional to prevent that problem.
You'll notice it specifically if you have a checkbox, and the model binding checks that checkbox, but then the user unchecks it and submits the form but has a validation error in another field.
You'd expect that checkbox to remain unchecked, since that's the state the form was in when submitted, but because you are checking at the field level, no old input will be present for the checkbox and it will instead inherit it's value from the bound model.

Yeah I just ran into that with checkboxes.
There were 2 failures:

1) OldInputTest::testOldInputOnCheckboxTakesPrecedenceOverDefaultToChecked
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'<input type="checkbox" name="published" value="1">'
+'<input type="checkbox" name="published" value="1" checked="checked">'

/Users/jesseleite/Code/form/tests/OldInputTest.php:220

2) OldInputTest::testOldInputOnRadioTakesPrecedenceOverDefaultToChecked
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'<input type="radio" name="published" value="1">'
+'<input type="radio" name="published" value="1" checked="checked">'

Is it possible to discern which form has the old input, rather than assuming it for all forms on page?  After all, if you submit one form, you'll only get the old input from that submitted form, not the other.

I think we'd have to come up with some sort of new namespacing mechanism or some way to detect that there's multiple forms on a page.
I expect it would involve some pretty significant work honestly. We'd probably want to use a separate form builder instance for each form, and have each builder namespace it's old input somehow, which would probably mean you couldn't just use Laravel's redirect()->back()->withErrors() stuff either.

Going to close this and mess with form namespacing.  Will PR separate if I get it working 👍

Coverage decreased (-7.5%) to 87.268% when pulling 2869ca73184717001522b479ae11b9508c2ba21c on JesseLeite:bugfix-safer-binding into da9e21cf150d6356add0646d0242fcd1bdaabf81 on adamwathan:master.

Coverage decreased (-7.5%) to 87.268% when pulling dfacc7f55f3c56f3a0359c6d468a4b25742acc74 on JesseLeite:bugfix-safer-binding into da9e21cf150d6356add0646d0242fcd1bdaabf81 on adamwathan:master.

Coverage remained the same at 94.762% when pulling 626fe7852f958488f4023d781150754df95e5e41 on JesseLeite:bugfix-safer-binding into da9e21cf150d6356add0646d0242fcd1bdaabf81 on adamwathan:master.