freebsd 13.2 installation pynitrokey

Python 3.9.18
rustc 1.71.0
pipx-py39-pynitrokey-0_4_43.log

hidapi:
pkg info hidapi
hidapi-0.14.0
Name           : hidapi
Version        : 0.14.0
Installed on   : Mon Oct 16 13:04:19 2023 MSK
Origin         : comms/hidapi
Architecture   : FreeBSD:13:amd64
Prefix         : /usr/local
Categories     : comms
Licenses       : GPLv3 or BSD3CLAUSE
Maintainer<EMAIL_ADDRESS>WWW            : https://github.com/libusb/hidapi
Comment        : Library to access USB HID-class devices
Options        :
        DOCS           : on
Shared Libs required:
        libiconv.so.2
Shared Libs provided:
        libhidapi.so.0
Annotations    :
        FreeBSD_version: 1302001
        build_timestamp: 2023-09-08T14:05:04+0000
        built_by       : poudriere-git-<IP_ADDRESS>20831
        port_checkout_unclean: no
        port_git_hash  : 940c99edb
        ports_top_checkout_unclean: no
        ports_top_git_hash: 96f645c64
        repo_type      : binary
        repository     : G
Flat size      : 167KiB
Description    :
HIDAPI is a platform independent library that allows applications to
work with USB HID-Class devices.  While it can be used to communicate
with standard HID devices like keyboards, mice, and joysticks, it is
most useful when used with custom (Vendor-Defined) HID devices.

WWW: https://github.com/libusb/hidapi

I'm trying with and without capston4 installed:
capstone4-4.0.2
Name           : capstone4
Version        : 4.0.2
Installed on   : Tue Dec  5 11:10:09 2023 MSK
Origin         : devel/capstone4
Architecture   : FreeBSD:13:amd64
Prefix         : /usr/local
Categories     : devel
Licenses       : BSD3CLAUSE
Maintainer<EMAIL_ADDRESS>WWW            : http://capstone-engine.org/
Comment        : Multi-platform, multi-architecture disassembly framework
Shared Libs provided:
        libcapstone.so.4
Annotations    :
        FreeBSD_version: 1302001
        build_timestamp: 2023-09-12T02:16:59+0000
        built_by       : poudriere-git-<IP_ADDRESS>20831
        cpe            : cpe:2.3:a:capstone-engine:capstone:4.0.2:::::freebsd13:x64
        port_checkout_unclean: no
        port_git_hash  : 6d8eb021b
        ports_top_checkout_unclean: no
        ports_top_git_hash: a1dccfe49
        repo_type      : binary
        repository     : G
Flat size      : 18.7MiB
Description    :
Capstone is a lightweight multi-platform, multi-architecture disassembly
framework.

Features:
 * Supported architectures: ARM, ARM64 (aka ARMv8), Mips, PowerPC & X86
 * Clean/simple/lightweight/intuitive architecture-neutral API
 * Provide details on disassembled instruction (called "decomposer")
 * Provide some semantics of the disassembled instruction, such as list of
   implicit registers read & written.
 * Implemented in pure C language, with bindings for Python, Ruby, C#, Java,
   GO, OCaml & Vala available.
 * Native support for Windows & *nix (including MacOSX, Linux, *BSD & Solaris)
 * Thread-safe by design
 * Distributed under the open source BSD license

WWW: http://capstone-engine.org/

Most likely it should call gmake instead of make on FreeBSD. On the other hand, I'm not sure if this should be handled on the upstream side rather that on FreeBSD Ports side.

I don't know for pipx, but you could do in the pynitrokey dir
LIBCAPSTONE_PATH=/usr/local/lib flit install

Newer pynitrokey versions no longer depend on capstone so this should no longer be a problem.  Please open a new issue if you run into installation problems with the current release.


@Slf4j(topic = MyClass.MY_TOPIC_NAME) is broken

Migrated from Google Code (issue 665)

Duplicate of #2469, already fixed by #2503


Improve documentation for largest-first algorithm.

Related Issue
https://github.com/input-output-hk/cardano-wallet/issues/1382
Summary
This goal of this PR is to improve the documentation of the largest-first algorithm and the readability of the implementation.
Documentation Improvements

[x] Provides Haddock documentation for the largestFirst function.
[x] Revises existing the Haddock documentation for the atLeast function.
[x] Revises existing the Haddock documentation for the ErrCoinSelection type.
[x] Revises descriptions of test fixtures, so that terminology used is consistent with the documentation.

Related Code Improvements

[x] Adjusts the names of constructors for ErrCoinSelection, so that terminology used is consistent with the documentation.
[x] Revises function largestFirst to:

[x] Use a single where clause to define all constants rather than a sequence of monadic let bindings.
[x] Use a pure constant with pattern guard to define the error condition rather than a sequence of monadic when clauses.
[x] Use names amountRequested and amountAvailable, making it obvious that these values are directly comparable.
[x] Use names outputsDescending and utxoDescending, making it obvious that these values refer to lists in descending order.

very nice description of algorithm!

Thanks! I hope that it will also seem clear to people that have never read the code before. In the future, we can also ask people unfamiliar with these algorithms to give feedback.

I hope the code refactoring is ok not only from the point of view of unit tests but also some regression tests we have in cardano-wallet repo.

That is a very good point. However, we should still be covered by this integration test when cardano-wallet eventually becomes a consumer of the cardano-coin-selection library. (I'm assuming we will leave that integration test in place.)


failed to sync this node

scheduler-controller提示failed to sync this node ["<IP_ADDRESS>/cpu_usage_max_avg_1d"]: can not annotate node
原因是prometheus记录的规则没数据
要怎么解决这个问题呢

Does your prometheus have this metrics name cpu_usage_max_avg_1d  in the prometheus rule? @vb3328998

有这个指标名称，我找到原因了，默认安装的prometheus的node exporter 规则有问题，已经解决了，谢谢


Fix reference to LICENSE in README.md

Dedicated to our anonymous contributor @x448. Thanks for alerting us to this broken link!
Ref: #4014
Signed-off-by: Phil Estes<EMAIL_ADDRESS>

Codecov Report

Merging #4018 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4018      +/-   ##
==========================================
- Coverage   42.64%   42.64%   -0.01%
==========================================
  Files         130      130
  Lines       14763    14764       +1
==========================================
  Hits         6296     6296
- Misses       7548     7549       +1
  Partials      919      919

Flag
Coverage Δ

#linux
46.01% <ø> (-0.01%)
:arrow_down:

#windows
38.22% <ø> (-0.01%)
:arrow_down:

Impacted Files
Coverage Δ

remotes/docker/pusher.go
0% <0%> (ø)
:arrow_up:

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 cbf3ee0...0dd6d24. Read the comment docs.


add Syntalos readme

@bendichter How in depth should this ReadMe be? Should it include full tutorials on usage?

@CodyCBakerPhD

convert the raw intan signals without LFP processing or spike sorting

Can we make a pipeline that has the ability to convert all of these components?

@bendichter A one-shot script for that would require the use of the pickle interfaces however, are you OK with that? Otherwise that script is designed to include that data after a quick-save (partial NWBFile)

@CodyCBakerPhD Yes I'm fine with a pickle interface. An even better solution would be if you could read from a previously created NWB file using NwbSortingExtractor

@bendichter That is exactly what the current external script does. The "quick-save" makes a partial NWBFile with sorting and LFP information, the script only converts and fills in the rest


explicitly check for named parameters in the generated value-list sql

Do we need to throw the exception and catch it? Would we just call parseError() directly when we detect the missing param?

Yeah, could do it that way too.


Upgrade to Go 1.22

Things to do (please add more!):

Update Makef and Docker files to use/require go 1.22.0 for builds.
Change all go.mod files with the go 1.22 directive.
We often use reflect.TypeOf(), but in most cases we should change to the new reflect.TypeFor[] generic function.

There are a few PRs to go through before this issue can be closed.

/assign @liamfallon

The PR for the Nephio repo is not merged yet.


Addition of Scroll-to-Top Button #79

@Aaryanb45 This is back to home button
we need scroll to top button
the button should only appear when we scroll down a bit and after clicking on it should scroll to top
for example like this:
https://github.com/MastanSayyad/Visual-Sort/assets/101971980/34c01a0f-5416-42a4-bb6d-f1791355ce7b

@Aaryanb45 Yeah Great

@Aaryanb45 The task was that hard, but as it was your first time and you have put your time and energy in it, I can give you 10 more points (more than that will get unfair for other contributors)


Not working

Hello, for some reasons jpterm does not work after I installed it.
After I open a notebook with it, it does not allow me to edit the cells or run them in any way.
Am I doing something wrong?

Hi, it's not implemented yet :smile:
#27 will allow to execute cells, but I think that for editing notebooks I will wait for Texual to implement TextArea.

My mistake. Looking forward to it!

General comment: I found it unclear from the documentation that jpterm isn't fully-featured yet.  The note in nbterm's README made me think jpterm was ready for daily use.

Yes, I should mention in the README that jpterm is a work in progress.


Fix race condition in DiskCache trimmer causing DirectoryNotFoundException

Prerequisites

[x] I have written a descriptive pull-request title
[x] I have verified that there are no overlapping pull-requests open
[x] I have verified that I am following matches the existing coding patterns and practise as demonstrated in the repository. These follow strict Stylecop rules :cop:.
[x] I have provided test coverage for my change (where applicable)

Description
This fixes issue https://github.com/JimBobSquarePants/ImageProcessor/issues/794 by catching exceptions thrown while enumerating files from directories that are deleted while the cache trimming is executed (e.g. by another server running a concurrent cache trimming job or manually deleting the directory).

Looks like RecursivelyDeleteEmptyDirectories() still throws DirectoryNotFoundExceptions, as the directory is deleted if it has no subdirectories/files and then tries to get its parent folder:
https://github.com/JimBobSquarePants/ImageProcessor/blob/8498d14566241a10c25df37b4c7fe79ad646b675/src/ImageProcessor.Web/Caching/DiskCache.cs#L577-L584
I think this whole method can be removed, as the cache trimmer already reverses all paths and therefore could do a single check (without recursively traversing to parent directories).


Fixing overflows in the calender and workout widgets

I have tried to fix some some overflows in the Calendar and Workouts widgets and also some changes in the AppBar in the main page where there is the Calender
so instead of doing
AppBar(
  backgroundColor: backgroundColor.withOpacity(0.75),
)

i found it really nice to just let the backgroundColor to be trnsparent and make the elevation 0 like this
AppBar(
  elevation: 0,
  backgroundColor: Colors.transparent
)

@0RaMsY0 as @jorre127 mentioned, new PRs need to be merged into the alpha branch. And your PR contains too many changes. Can we minimize that and only tackle the overflow issue? If you want to update the UI, create a separate issue for that. UI should not be updated without discussion.
And as discussed in the discussion thread, please first tackle the calendar page issue.

@0RaMsY0 ok


ValueError: Dimension 1 in both shapes must be equal, but are 3 and 4 for 'Assign_564' (op: 'Assign') with input shapes: [2048,3], [2048,4].

Hi pplonski,
 I try to dump network to plain text file, I have pre generated model.json and hdf5 file, when I used your command I get the following errors:

ValueError: Dimension 1 in both shapes must be equal, but are 3 and 4 for 'Assign_564' (op: 'Assign') with input shapes: [2048,3], [2048,4].
Could you help me resolve this error, thank you

Hi! It is hard to say, have you tried to run network dump with example network? What keras version are you using and which backend?

Hi, I tired, but I have my customed model, I need to be able to run it in c++, I can'r generate network dump using my customed model, How can I make a prediction function in my c++ model?

it is hard to say where is the problem, maybe it is problem with keras version or you are using layers that are not implemented in keras2cpp.


Note about the categorical_crossentropy?

Hi,
I'm not sure but the documentation about categorical_crossentropy seems to be not compatible with the tensorflow one.
I mean just had a look at the documentation about loss functions i. e.
https://keras.io/losses/#available-loss-functions
and at the end there is a note about the categorical_crossentropy.
There is such a sentence:
"Note: when using the categorical_crossentropy loss, your targets should be in categorical format (e.g. if you have 10 classes, the target for each sample should be a 10-dimensional vector that is all-zeros expect for a 1 at the index corresponding to the class of the sample)."
So I understand that the only possible target is e.g. [0, 0, 1, 0, 0]?
But in the tensorflow documentation about softmax_cross_entropy_with_logits  we have (https://www.tensorflow.org/api_docs/python/tf/nn/softmax_cross_entropy_with_logits)
"While the classes are mutually exclusive, their probabilities need not be. All that is required is that each row of labels is a valid probability distribution."
which I understand means that such a target is possible [0.0, 0.75, 0.25, 0.0, 0.0]?
categorical_crossentropy is defined in https://github.com/tensorflow/tensorflow/blob/r1.1/tensorflow/contrib/keras/python/keras/backend.py and indeed returns softmax_cross_entropy_with_logits.
Am I missing something (if yes then I'm really sorry)?
Best wishes
Dawid

From what I understand, if you pass from_logits = False (default behavior), then the only possible targets are of the form one-hot encoding i.e.  [0, 0, 1, 0, 0]. However, if you pass from_logits = True, then Keras just calls TensorFlow softmax_cross_entropy() function. There I think a target such as [0.0, 0.75, 0.25, 0.0, 0.0] is fine. However, I may be wrong since I did not read its C code to find out how softmax_cross_entropy() is implemented in TensorFlow.

@parag2489 I guess your right, I have not noticed the from_logits flag but still I would say that the Note about categorical_crossentropy in
https://keras.io/losses/#available-loss-functions
is misleading because it does not mention from_logits (that is probably why I got confused).

from_logits has nothing to do with targets and one-hot encoding. targets can be continuous in any case. It defines how the output (predictions) are interpreted:

Yes, I understand that. I had only one doubt. When from_logits = False, we should get minimum value when pred == target. When I recalculated it now, I did get the minimum value when pred == target. Maybe, I did some mistake when I calculated it earlier.

@gokceneraslan you have used the following target = [0.2, 0.2, 0.6] and that is my point. In https://keras.io/losses/#available-loss-functions is is said that target should be

in categorical format (e.g. if you have 10 classes, the target for each sample should be a 10-dimensional vector that is all-zeros expect for a 1 at the index corresponding to the class of the sample)

I think that this is missleading since from what you say (and what is written in the tensorflow docs) target can be any valid probability distribution.

It's just to tell people that instead of integer labels like [2, 3, 1] use [[0,0,1,0], [0,0,0,1], [0,1,0,0]]. If you look up the definition of cross-entropy, it's clear that both output and target are probability distributions.


HHH-17269 - Add hibernate.boot.allow_jdbc_metadata_access

https://hibernate.atlassian.net/browse/HHH-17269

Squashed, rebased and integrated upstream.


Add support for secondary MARC-to-instance mapping for fields not managed by the system mapping

Provide facility to specify additional mapping from MARC fields/subfields to FOLIO instance fields not normally controlled by the MARC-to-Instance map in FOLIO, eg.:

Statistical codes
Administrative notes
Cataloged date
Tags

This should be in addition (optional) to the tenant mapping, not a replacement mapping file.

Alternative approach is to support supplementing MARC bibs with delimited file data using the same record identifier.


TypeError raised in add_basemap() as shown in Geopandas contextily docs

When I tried to reproduce the contextily example
ax = df_wm.plot(figsize=(10, 10), alpha=0.5, edgecolor="k")
cx.add_basemap(ax, zoom=12)

on the GeoPandas website I get the same error that is visible on the docs website (see attached screenshot)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[7], line 2
      1 ax = df_wm.plot(figsize=(10, 10), alpha=0.5, edgecolor="k")
----> 2 cx.add_basemap(ax, zoom=12)

File ~/checkouts/readthedocs.org/user_builds/geopandas/conda/latest/lib/python3.12/site-packages/contextily/plotting.py:134, in add_basemap(ax, zoom, source, interpolation, attribution, attribution_size, reset_extent, crs, resampling, zoom_adjust, **extra_imshow_args)
    130     left, right, bottom, top = _reproj_bb(
    131         left, right, bottom, top, crs, "epsg:3857"
    132     )
    133 # Download image
--> 134 image, extent = bounds2img(
    135     left, bottom, right, top, zoom=zoom, source=source, ll=False, zoom_adjust=zoom_adjust
    136 )
    137 # Warping
    138 if crs is not None:

File ~/checkouts/readthedocs.org/user_builds/geopandas/conda/latest/lib/python3.12/site-packages/contextily/tile.py:265, in bounds2img(w, s, e, n, zoom, source, ll, wait, max_retries, n_connections, use_cache, zoom_adjust)
    262 arrays = Parallel(n_jobs=n_connections, prefer=preferred_backend)(
    263     delayed(fetch_tile_fn)(tile_url, wait, max_retries) for tile_url in tile_urls)
    264 # merge downloaded tiles
--> 265 merged, extent = _merge_tiles(tiles, arrays)
    266 # lon/lat extent --> Spheric Mercator
    267 west, south, east, north = extent

File ~/checkouts/readthedocs.org/user_builds/geopandas/conda/latest/lib/python3.12/site-packages/contextily/tile.py:670, in _merge_tiles(tiles, arrays)
    668 for ind, arr in zip(indices, arrays):
    669     x, y = ind
--> 670     img[y * h : (y + 1) * h, x * w : (x + 1) * w, :] = arr
    672 bounds = np.array([mt.bounds(t) for t in tiles])
    673 west, south, east, north = (
    674     min(bounds[:, 0]),
    675     min(bounds[:, 1]),
    676     max(bounds[:, 2]),
    677     max(bounds[:, 3]),
    678 )

TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'

How can I fix that?
Thanks

Thanks for the report! I will need to investigate what is going on as I am not able to reproduce this locally using the latest environment.

Thank you! If it helps: by adding specifically the provider it works:
    # this works
    cx.add_basemap(
        ax, crs="EPSG:32629", source=cx.providers.OpenStreetMap.Mapnik
    )

I am generating different maps with different bounding box of data. It fails in just some of the cases, so the issue might be region-dependent.

I've just noticed that the error doesn't show up anymore in the docs but it is still raised locally in my code.

I think it is caused by some network error or a server error we do not properly catch. I still wasn't able to reproduce but from the traceback, I suppose we get None instead of an array of values representing tile at some point which shall raise an informative error rather than this one. But in any case, I don't think there's a fix for this as I don't believe it is caused by contextily. The best solution you can hope for is a better error message.

Wanted to add on here that I am also getting this same error. Happens for some gdfs I am plotting and not for others (seems to be the ones with larger geographic footprints cause the error). Would love any solution, as add_basemap is pretty much unusable for me now!

@hanksnowdon Can you share your reproducible example? I still wasn't able to get a reliable example to debug the issue.

Sure @martinfleis ! Data is downloaded from Chicago Transit Authority website here: https://data.cityofchicago.org/dataset/CTA-L-Rail-Stations-Shapefile/vmyy-m9qj/about_data
import geopandas as gpd
import contextily as cx
import matplotlib as plt

current_l = gpd.read_file('../CTA_RailStations/CTA_RailStations.shp').to_crs('EPSG:32616')
cx.add_basemap(current_l.plot(), crs = current_l.crs.to_string())

plt.show()

error:

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[171], [line 6](vscode-notebook-cell:?execution_count=171&line=6)
      [3](vscode-notebook-cell:?execution_count=171&line=3) import matplotlib as plt
      [5](vscode-notebook-cell:?execution_count=171&line=5) current_l = gpd.read_file('Data/CTA_RailStations/CTA_RailStations.shp').to_crs('EPSG:32616')
----> [6](vscode-notebook-cell:?execution_count=171&line=6) cx.add_basemap(current_l.plot(), crs = current_l.crs.to_string())
      [8](vscode-notebook-cell:?execution_count=171&line=8) plt.show()

File ~/gis-env/lib/python3.11/site-packages/contextily/plotting.py:134, in add_basemap(ax, zoom, source, interpolation, attribution, attribution_size, reset_extent, crs, resampling, zoom_adjust, **extra_imshow_args)
    [130](https://file+.vscode-resource.vscode-cdn.net/gis-env/lib/python3.11/site-packages/contextily/plotting.py:130)     left, right, bottom, top = _reproj_bb(
    [131](https://file+.vscode-resource.vscode-cdn.net/gis-env/lib/python3.11/site-packages/contextily/plotting.py:131)         left, right, bottom, top, crs, "epsg:3857"
    [132](https://file+.vscode-resource.vscode-cdn.net/gis-env/lib/python3.11/site-packages/contextily/plotting.py:132)     )
    [133](https://file+.vscode-resource.vscode-cdn.net/gis-env/lib/python3.11/site-packages/contextily/plotting.py:133) # Download image
--> [134](https://file+.vscode-resource.vscode-cdn.net/gis-env/lib/python3.11/site-packages/contextily/plotting.py:134) image, extent = bounds2img(
    [135](https://file+.vscode-resource.vscode-cdn.net/gis-env/lib/python3.11/site-packages/contextily/plotting.py:135)     left, bottom, right, top, zoom=zoom, source=source, ll=False, zoom_adjust=zoom_adjust
    [136](https://file+.vscode-resource.vscode-cdn.net/gis-env/lib/python3.11/site-packages/contextily/plotting.py:136) )
    [137](https://file+.vscode-resource.vscode-cdn.net/gis-env/lib/python3.11/site-packages/contextily/plotting.py:137) # Warping
    [138](https://file+.vscode-resource.vscode-cdn.net/gis-env/lib/python3.11/site-packages/contextily/plotting.py:138) if crs is not None:

File ~/gis-env/lib/python3.11/site-packages/contextily/tile.py:265, in bounds2img(w, s, e, n, zoom, source, ll, wait, max_retries, n_connections, use_cache, zoom_adjust)
    [262](https://file+.vscode-resource.vscode-cdn.net/gis-env/lib/python3.11/site-packages/contextily/tile.py:262) arrays = Parallel(n_jobs=n_connections, prefer=preferred_backend)(
    [263](https://file+.vscode-resource.vscode-cdn.net/gis-env/lib/python3.11/site-packages/contextily/tile.py:263)     delayed(fetch_tile_fn)(tile_url, wait, max_retries) for tile_url in tile_urls)
    [264](https://file+.vscode-resource.vscode-cdn.net/gis-env/lib/python3.11/site-packages/contextily/tile.py:264) # merge downloaded tiles
--> [265](https://file+.vscode-resource.vscode-cdn.net/gis-env/lib/python3.11/site-packages/contextily/tile.py:265) merged, extent = _merge_tiles(tiles, arrays)
    [266](https://file+.vscode-resource.vscode-cdn.net/gis-env/lib/python3.11/site-packages/contextily/tile.py:266) # lon/lat extent --> Spheric Mercator
    [267](https://file+.vscode-resource.vscode-cdn.netgis-env/lib/python3.11/site-packages/contextily/tile.py:267) west, south, east, north = extent

File ~/gis-env/lib/python3.11/site-packages/contextily/tile.py:670, in _merge_tiles(tiles, arrays)
    [668](https://file+.vscode-resource.vscode-cdn.net/gis-env/lib/python3.11/site-packages/contextily/tile.py:668) for ind, arr in zip(indices, arrays):
    [669](https://file+.vscode-resource.vscode-cdn.net/gis-env/lib/python3.11/site-packages/contextily/tile.py:669)     x, y = ind
--> [670](https://file+.vscode-resource.vscode-cdn.net/gis-env/lib/python3.11/site-packages/contextily/tile.py:670)     img[y * h : (y + 1) * h, x * w : (x + 1) * w, :] = arr
    [672](https://file+.vscode-resource.vscode-cdn.net/gis-env/lib/python3.11/site-packages/contextily/tile.py:672) bounds = np.array([mt.bounds(t) for t in tiles])
    [673](https://file+.vscode-resource.vscode-cdn.net/gis-env/lib/python3.11/site-packages/contextily/tile.py:673) west, south, east, north = (
    [674](https://file+.vscode-resource.vscode-cdn.net/gis-env/lib/python3.11/site-packages/contextily/tile.py:674)     min(bounds[:, 0]),
    [675](https://file+.vscode-resource.vscode-cdn.net/gis-env/lib/python3.11/site-packages/contextily/tile.py:675)     min(bounds[:, 1]),
    [676](https://file+.vscode-resource.vscode-cdn.net/gis-env/lib/python3.11/site-packages/contextily/tile.py:676)     max(bounds[:, 2]),
    [677](https://file+.vscode-resource.vscode-cdn.net/gis-env/lib/python3.11/site-packages/contextily/tile.py:677)     max(bounds[:, 3]),
    [678](https://file+.vscode-resource.vscode-cdn.net/gis-env/lib/python3.11/site-packages/contextily/tile.py:678) )

TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'

@hanksnowdon that works fine on my side :(

I really don't know how to fix an issue that I can't reproduce. My sense is that it is related to corrupt tile downloads which may be related to the change of the default tiles we did in autumn. Because as reported above, changing the tiles have resolved it for some people. But how to get around this, not sure yet.

Getting the same error with Contextily 1.6 running on Python 3.8.19. Also fixes the problem by adding a source parameter. With a geodataframe, the error only occurs when plotting more than ~200 rows - no specific rows seemed to trigger the error, just the number of rows.


IE10 11 select arrow svg fix

Windows 7 64
IE 11

IE 11 applied fix

also works in other browsers, on mobile too, I didn't test on Safari 7+ (not a mac user)
here a nice convertor http://codepen.io/yoksel/details/JDqvs/ thanks to the creator
the code sure doesn't look nice but is compatible with all browsers including IE10 and 11

Browser compatibility is the best. Thanks!


⚠ RPC server - xDai has degraded performance

In 27eeda2, RPC server - xDai ($XDAI_RPC_URL) experienced degraded performance:

HTTP code: 403
Response time: 100 ms

Resolved: RPC server - xDai performance has improved in c2a935f.


[FEAT]:  Flowise APi

What would you like to see?
Do you have a Template to create a Custom Endpoint for your AnythingLLM ? I want to create a way to use Flowise API https://docs.flowiseai.com/using-flowise/api - and have it work with your AnyhtingLLM framework. ?

I wrote this code. import os
import time
import logging
import json
from flask import Flask, request, jsonify, Response, stream_with_context
import requests
from typing import Dict, Any
Set up logging
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s')
logger = logging.getLogger(name)
app = Flask(name)
Configuration
FLOWISE_API_URL = os.getenv('FLOWISE_API_URL', 'http://localhost:3333/api/v1/prediction')
FLOWISE_API_KEY = os.getenv('FLOWISE_API_KEY', 'secret-key')
CHATFLOW_ID = os.getenv('CHATFLOW_ID', 'b6f12e2a-49e3-4930-a19a-500b1179ddd9')
Log environment variables to verify they are set correctly
logger.debug(f"FLOWISE_API_URL: {FLOWISE_API_URL}")
logger.debug(f"FLOWISE_API_KEY: {FLOWISE_API_KEY}")
logger.debug(f"CHATFLOW_ID: {CHATFLOW_ID}")
Model information
GETUPD8_MODEL = {
"id": "Getupd8",
"object": "model",
"created": int(time.time()),
"owned_by": "getupd8-owner"
}
SECOND_MODEL = {
"id": "SecondModel",
"object": "model",
"created": int(time.time()),
"owned_by": "secondmodel-owner"
}
def convert_to_flowise_format(data: Dict[str, Any]) -> Dict[str, Any]:
"""Convert OpenAI format to Flowise format for both chat and completion."""
logger.debug(f"Input data: {data}")
if 'messages' in data:
    # Chat format
    question = next((msg['content'] for msg in reversed(data['messages']) if msg['role'] == 'user'), '')
    history = [
        {'role': 'apiMessage' if msg['role'] == 'assistant' else 'userMessage', 'content': msg['content']}
        for msg in data['messages'][:-1]  # Exclude the last user message as it's the current question
    ]
else:
    # Completion format
    question = data.get('prompt', '')
    history = []

flowise_data = {
    'question': question,
    'history': history
}
logger.debug(f"Converted Flowise format: {flowise_data}")
return flowise_data

def convert_to_openai_format(flowise_response: Dict[str, Any], is_chat: bool) -> Dict[str, Any]:
"""Convert Flowise response to OpenAI format for both chat and completion."""
logger.debug(f"Flowise response: {flowise_response}")
# Extract the assistant's response from the Flowise response
assistant_message = flowise_response.get('text', '')

if is_chat:
    openai_format = {
        'id': 'chatcmpl-' + os.urandom(4).hex(),
        'object': 'chat.completion',
        'created': int(time.time()),
        'model': 'Getupd8',
        'choices': [{
            'index': 0,
            'message': {
                'role': 'assistant',
                'content': assistant_message
            },
            'finish_reason': 'stop'
        }],
        'usage': {
            'prompt_tokens': -1,
            'completion_tokens': -1,
            'total_tokens': -1
        }
    }
else:
    openai_format = {
        'id': 'cmpl-' + os.urandom(4).hex(),
        'object': 'text_completion',
        'created': int(time.time()),
        'model': 'Getupd8',
        'choices': [{
            'text': assistant_message,
            'index': 0,
            'logprobs': None,
            'finish_reason': 'stop'
        }],
        'usage': {
            'prompt_tokens': -1,
            'completion_tokens': -1,
            'total_tokens': -1
        }
    }

logger.debug(f"Converted OpenAI format: {openai_format}")
return openai_format

def process_request(data: Dict[str, Any], is_chat: bool):
logger.info(f"Processing {'chat' if is_chat else 'completion'} request")
model_id = data.get('model', 'Getupd8')

if model_id == SECOND_MODEL['id']:
    # Return a static response for the second model
    static_response = {
        'id': 'chatcmpl-' + os.urandom(4).hex(),
        'object': 'chat.completion',
        'created': int(time.time()),
        'model': SECOND_MODEL['id'],
        'choices': [{
            'index': 0,
            'message': {
                'role': 'assistant',
                'content': 'This is a static response from the second model.'
            },
            'finish_reason': 'stop'
        }],
        'usage': {
            'prompt_tokens': -1,
            'completion_tokens': -1,
            'total_tokens': -1
        }
    }
    return jsonify(static_response)

flowise_data = convert_to_flowise_format(data)
headers = {
    'Content-Type': 'application/json',
    'Authorization': f'Bearer {FLOWISE_API_KEY}'
}

stream = data.get('stream', False)
logger.debug(f"Stream mode: {stream}")

try:
    if stream:
        def generate():
            with requests.post(f"{FLOWISE_API_URL}/{CHATFLOW_ID}", json=flowise_data, headers=headers, stream=True) as response:
                logger.debug(f"Streaming response from Flowise API")
                assistant_message = ""
                for line in response.iter_lines():
                    if line:
                        decoded_line = line.decode('utf-8')
                        logger.debug(f"Received line: {decoded_line}")
                        flowise_response = json.loads(decoded_line)
                        assistant_message += flowise_response.get('text', '') + "\n"
                        openai_response = convert_to_openai_format(flowise_response, is_chat)
                        yield f"data: {json.dumps(openai_response)}\n\n"
                final_response = {
                    'choices': [{
                        'index': 0,
                        'message': {
                            'role': 'assistant',
                            'content': assistant_message.strip()
                        },
                        'finish_reason': 'stop'
                    }],
                    'usage': {
                        'prompt_tokens': -1,
                        'completion_tokens': -1,
                        'total_tokens': -1
                    }
                }
                yield f"data: {json.dumps(final_response)}\n\n"
                yield "data: [DONE]\n\n"
        return Response(stream_with_context(generate()), content_type='text/event-stream')
    else:
        logger.debug(f"Sending request to Flowise API: {flowise_data}")
        response = requests.post(f"{FLOWISE_API_URL}/{CHATFLOW_ID}", json=flowise_data, headers=headers)
        response.raise_for_status()  # Raise an exception for HTTP errors
        logger.debug(f"Received response from Flowise API: {response.text}")
        flowise_response = response.json()
        openai_response = convert_to_openai_format(flowise_response, is_chat)
        logger.debug(f"Converted OpenAI response: {openai_response}")
        return jsonify(openai_response)
except requests.exceptions.RequestException as e:
    logger.error(f"Request to Flowise API failed: {e}")
    return jsonify({"error": "Request to Flowise API failed"}), 500

@app.route('/v1/chat/completions', methods=['POST'])
def chat_completions():
logger.info("Received request to /v1/chat/completions")
return process_request(request.json, is_chat=True)
@app.route('/v1/completions', methods=['POST'])
def completions():
logger.info("Received request to /v1/completions")
return process_request(request.json, is_chat=False)
@app.route('/v1/models', methods=['GET'])
def list_models():
logger.info("Received request to list models")
return jsonify({
"object": "list",
"data": [GETUPD8_MODEL, SECOND_MODEL],
})
@app.route('/v1/models/<model_id>', methods=['GET'])
def retrieve_model(model_id):
logger.info(f"Received request to retrieve model: {model_id}")
if model_id == GETUPD8_MODEL['id']:
return jsonify(GETUPD8_MODEL)
elif model_id == SECOND_MODEL['id']:
return jsonify(SECOND_MODEL)
else:
return jsonify({"error": "Model not found"}), 404
if name == 'main':
logger.info("Starting Flask application")
app.run(debug=True, port=3334)
--- trying to make it work but when I run it... i get the respose back from Flowise 2024-06-28 15:31:28,096 - DEBUG - Flowise response: {'text': 'Hello! How can I assist you today?', 'question': 'Hello', 'chatId': 'be9c0230-5b8b-452c-b562-34657f75aed8', 'chatMessageId': 'b200060f-2b1c-4773-a08c-fef921ba5d1a', 'sessionId': 'be9c0230-5b8b-452c-b562-34657f75aed8'}
2024-06-28 15:31:28,097 - DEBUG - Converted OpenAI format: {'id': 'chatcmpl-59dde35d', 'object': 'chat.completion', 'created':<PHONE_NUMBER>, 'model': 'Getupd8', 'choices': [{'index': 0, 'message': {'role': 'assistant', 'content': 'Hello! How can I assist you today?'}, 'finish_reason': 'stop'}], 'usage': {'prompt_tokens': -1, 'completion_tokens': -1, 'total_tokens': -1}}
2024-06-28 15:31:28,097 - INFO - <IP_ADDRESS> - - [28/Jun/2024 15:31:28] "POST /v1/chat/completions HTTP/1.1" 200 - --- but nothing shows up in the Chat

but when it runs nothing  ends up in the chat window

2024-06-28 15:31:28,097 - DEBUG - Converted OpenAI format: {'id': 'chatcmpl-59dde35d', 'object': 'chat.completion', 'created':<PHONE_NUMBER>, 'model': 'Getupd8', 'choices': [{'index': 0, 'message': {'role': 'assistant', 'content': 'Hello! How can I assist you today?'}, 'finish_reason': 'stop'}], 'usage': {'prompt_tokens': -1, 'completion_tokens': -1, 'total_tokens': -1}}
2024-06-28 15:31:28,097 - INFO - <IP_ADDRESS> - - [28/Jun/2024 15:31:28] "POST /v1/chat/completions HTTP/1.1" 200 -

Are you using streaming? I presume you are using the Generic OpenAI connector for chatting?

yes, I am trying to use the generic openAI connector for now but i would love to make a custom connector so we dont have to do this weird convertion.

But you end goal is basically just to connect to some flowise process endpoint to process a chat, correct?

Yes, Specially I would like to use Anything as the front end for Flowise and then use a few different flows as Models.

Basicially I can get the response out.. but no matter what I try i can't get AnythingLLM to show the response from Flowise.

Are you using streaming? I presume you are using the Generic OpenAI connector for chatting?

Thanks to this Question i was able to Figure out my issue and got it working.

I think issue for an integration with flowise still makes sense though

I think issue for an integration with flowise still makes sense though

I completely agree I searched for hours there is NO frontend GUI offering it yet. (hence we trying to figure it out myself). Flowise allows anyone to make Complete Flows that would take hours to try to implement on a coding end. My use case is to be able to assign a few different Flows as "Models" so that Clients can Choose what Function or Information path they want to follow. for instance . Choose Fee Calcuation and it will Do any Fee Calcuations and focus on that or if they want to Ask questions about a Certain Chapter.. it would specialize in that chapter. and since Flowise now offers Agents and Flows like that the possiblity is pretty endless what you could build with it.. and yet it lacks a good frontend with user control and Various other things.

Are you using streaming? I presume you are using the Generic OpenAI connector for chatting?

Thanks to this Question i was able to Figure out my issue and got it working.

What was the solution? Do you mind sharing? There doesn't seem to be an obvious guide for converting an Flowise endpoint to an openai compatible endpoint.

Are you using streaming? I presume you are using the Generic OpenAI connector for chatting?

Thanks to this Question i was able to Figure out my issue and got it working.

What was the solution? Do you mind sharing? There doesn't seem to be an obvious guide for converting an Flowise endpoint to an openai compatible endpoint.

I shared the python script that i wrote in the discord. https://discord.com/channels/1114740394715004990/1248104856732827658 but mainly the solution was to create a middlewear server that just takes the OPENAI compatible input run the Flowise api and convert it back to openai. but it seems to be working on the lowest level but hopefully eventually we will get a full use solution in the near future.


Default addon blueprint never called when using denali install

This code never runs: https://github.com/denali-js/core/blob/master/commands/install.ts#L73
The blueprints object doesn't have the record, and eslint and babel are all messed up..
Logs:
△ ~/sandbox/lft-api DEBUG=@denali-js/cli:blueprint denali install @denali-js/typescript                                           ⇡ master :: 11h19m :: ⬡
cli v0.1.1 [local] | denali v0.1.1 [local]
✔ Addon package found
✔ Addon package installed
  @denali-js/cli:blueprint discovering available blueprints from [ @denali-js/core, @denali-js/typescript, @denali-js/eslint, @denali-js/babel ] addons +0ms
  @denali-js/cli:blueprint looking for blueprints in /Users/iradchenko/sandbox/lft-api/node_modules/@denali-js/core/dist/blueprints +1ms
  @denali-js/cli:blueprint found 9 blueprints for @denali-js/core: [ acceptance-test, action, initializer, migration, model, orm-adapter, resource, serializer, service ] +22ms
  @denali-js/cli:blueprint looking for blueprints in /Users/iradchenko/sandbox/lft-api/node_modules/@denali-js/typescript/dist/blueprints +0ms
  @denali-js/cli:blueprint found 1 blueprints for @denali-js/typescript: [ default ] +8ms
  @denali-js/cli:blueprint looking for blueprints in /Users/iradchenko/sandbox/lft-api/node_modules/@denali-js/eslint/dist/blueprints +0ms
  @denali-js/cli:blueprint found 1 blueprints for @denali-js/eslint: [ default ] +1ms
  @denali-js/cli:blueprint looking for blueprints in /Users/iradchenko/sandbox/lft-api/node_modules/@denali-js/babel/dist/blueprints +0ms
  @denali-js/cli:blueprint found 1 blueprints for @denali-js/babel: [ default ] +1ms

Here is the blueprints object:
{ 'acceptance-test':
   { [Function: ResourceBlueprint]
     blueprintName: 'acceptance-test',
     description: 'Generates a blank acceptance test',
     longDescription: 'Usage: denali generate acceptance-test <name>\n\nGenerates a blank acceptance test, suitable for testing your app end-to-end with simulated HTTP requests and responses.',
     params: '<name>',
     dir: '/Users/iradchenko/sandbox/lft-api/node_modules/@denali-js/core/dist/blueprints/acceptance-test' },
  action:
   { [Function: ActionBlueprint]
     blueprintName: 'action',
     description: 'Generates a new action class & unit tests',
     longDescription: 'Usage: denali generate action <name> [options]\n\nGenerates an action with the given name (can be a deeply nested path), along with unit test stubs.\n\nGuides: http://denalijs.org/master/guides/application/actions/',
     params: '<name>',
     flags: { method: [Object] },
     runsInApp: true,
     dir: '/Users/iradchenko/sandbox/lft-api/node_modules/@denali-js/core/dist/blueprints/action' },
  initializer:
   { [Function: InitializerBlueprint]
     blueprintName: 'initializer',
     description: 'Generates a blank initializer',
     longDescription: 'Usage: denali generate initializer <name>\n\nGenerates a blank service class.\n\nGuides: http://denalijs.org/master/guides/application/initializers/',
     params: '<name>',
     dir: '/Users/iradchenko/sandbox/lft-api/node_modules/@denali-js/core/dist/blueprints/initializer' },
  migration:
   { [Function: MigrationBlueprint]
     blueprintName: 'migration',
     description: 'Generates a database schema migration',
     longDescription: 'Usage: denali generate migration <name> [options]\n\nGenerates a new blank migration. The filename will include the current Unix timestamp to ensure proper sorting and execution order when running migrations.\n\nGuides: http://denalijs.org/master/guides/data/migrations/',
     params: '<name>',
     dir: '/Users/iradchenko/sandbox/lft-api/node_modules/@denali-js/core/dist/blueprints/migration' },
  model:
   { [Function: ModelBlueprint]
     blueprintName: 'model',
     description: 'Generates a blank model',
     longDescription: 'Usage: denali generate model <name> [options]\n\nGenerates a blank model, along with a serializer for that model, and unit tests for both.\n\nGuides: http://denalijs.org/master/guides/data/models/',
     params: '<name>',
     dir: '/Users/iradchenko/sandbox/lft-api/node_modules/@denali-js/core/dist/blueprints/model' },
  'orm-adapter':
   { [Function: ORMAdapterBlueprint]
     blueprintName: 'orm-adapter',
     description: 'Generates a blank ORM adapter with stubs for all the required methods',
     longDescription: 'Usage: denali generate orm-adapter <name> [options]\n\nGenerates a new ORM adapter with stubs for all the required adapter methods. Note: this is typically an advanced use case (i.e. using a niche, specialty database). You should check to make sure there isn\'t already a Denali addon that implements the ORM adapter you need.\n\nGuides: http://denalijs.org/master/guides/data/orm-adapters/',
     params: '<name>',
     dir: '/Users/iradchenko/sandbox/lft-api/node_modules/@denali-js/core/dist/blueprints/orm-adapter' },
  resource:
   { [Function: ResourceBlueprint]
     blueprintName: 'resource',
     description: 'Generates a model, serializer, CRUD actions, and tests for a resource',
     longDescription: 'Usage: denali generate resource <name> [options]\n\nGenerates a complete, end-to-end RESTful resource scaffold. This includes a Model to represent the data, a Serializer to determine how to send it over the wire, CRUD actions for manipulating the resource, and tests for all of the above.',
     params: '<name>',
     dir: '/Users/iradchenko/sandbox/lft-api/node_modules/@denali-js/core/dist/blueprints/resource' },
  serializer:
   { [Function: SerializerBlueprint]
     blueprintName: 'serializer',
     description: 'Generates a blank serializer',
     longDescription: 'Usage: denali generate serializer <name> [options]\n\nGenerates a blank serializer for the given model.\n\nGuides: http://denalijs.org/master/guides/data/serializers/',
     params: '<name>',
     dir: '/Users/iradchenko/sandbox/lft-api/node_modules/@denali-js/core/dist/blueprints/serializer' },
  service:
   { [Function: ServiceBlueprint]
     blueprintName: 'service',
     description: 'Generates a blank service',
     longDescription: 'Usage: denali generate service <name> [options]\n\nGenerates a blank service class.\n\nGuides: http://denalijs.org/master/guides/application/services/',
     params: '<name>',
     dir: '/Users/iradchenko/sandbox/lft-api/node_modules/@denali-js/core/dist/blueprints/service' },
  default:
   { [Function: DenaliBabelBlueprint]
     blueprintName: 'default',
     description: 'Generate the default .babelrc and install babel plugins',
     dir: '/Users/iradchenko/sandbox/lft-api/node_modules/@denali-js/babel/dist/blueprints/default' },
  'undefined:default':
   { [Function: DenaliEslintBlueprint]
     blueprintName: 'default',
     description: 'Generate the default .eslintrc and installs the babel-eslint parser',
     dir: '/Users/iradchenko/sandbox/lft-api/node_modules/@denali-js/eslint/dist/blueprints/default' } }

So it finds the blueprints, but probably adds them incorrectly.
Looks like clobberedBlueprint (https://github.com/denali-js/cli/blob/master/lib/blueprint.ts#L146) doesn't have an addon attribute.
The issue is here: https://github.com/denali-js/cli/blob/master/lib/blueprint.ts#L132
The code uses the one with default, which doesn't have addon set.
@davewasmer

Yea, this is a change in the new namespaced packages - they all now define their default blueprint as default rather than $ADDON_NAME. I made this change to hopefully reduce potential confusion (default seems a little clearer, although I'm open to other names - maybe something like post-install?).
The CLI still needs to be updated to handle the different name, and I think this also exposed a latent bug you are seeing where clobbered blueprints don't get correctly namespaced because it seems like the aren't properly retrieving the addon name.


feat: ability to start devimint from existing state

I need a way to verify certain behaviors manually between versions, etc. Similiar to upgrade tests etc.
It occurred to me that it should be possible to just start devimint skipping all the DKGs and other setups, and it should be relatively easy. So I implemeted it.
One blocker that I've hit was inability to tell fedimintd to use certain URL to connect to bitcoind, instead of whatever was added to the config. I made new env variables that can be used to force bitcoind kind&url. The way existing env vars are working is confusing (they are only used as a default for DKG, so I renamed them while at it (with backward-compat.  of course).
Another blocker was that on killing devimint, we send kill -9 right away, which makes bitcoind not get any chance to flush database to disk, and thus lose block history. All other daemons get really upset about it.  A bit slower (fedimimtd takes some time to shutdown), but works, and seem better. We can fix & improve with time.
The implementation is a bit meh, but can be improved with time. I would also like to modularize the setup so e.g. test that doesn't need LND, or electrs, etc. does not need to start them, and can configure it via builder.
Testing
Start devimint e.g. like this:
> just devimint-env
...
2024-04-13T04:29:23.013121Z  INFO fm::devimint: Devimint data dir path=/tmp/devimint-3321804-158

Stop it, and then start it again, but skip the setup.
env FM_TEST_DIR=/tmp/devimint-3321804-158 FM_SKIP_SETUP=true RUST_LOG=fm::devimint=debug just devimint-env

It takes it sweet time as LND Gateway blocks on LND starting to return route hints, but works.

Lots of consensus item processing going on in the failed CI run 🤔

Need to debug what did I break exactly.

2024-04-15T22:22:19.728654Z  INFO address{payload=DepositAddressPayload { federation_id: FederationId(2aa93c5cc9fd7efe19d223482f78491078937c9659cb8f258776423ccf1cd2e7) }}: fm::net::blockchain: Bit
coind error JSON-RPC error: RPC error response: RpcError { code: -4, message: "Only legacy wallets are supported by this command", data: None }, retrying

Seems like something about this change made bitcoind return Only legacy wallets are supported by this command on gw trying to peg-in and create deposit address.

Switched to jj, pushed this (with fixes :crossed_fingers:) as  #4971


Fix #868

Fixes #868

This is reverting a commit, right? Which one?

Yes, it reverts a line from 81eb9ea12c322b8b966779ec2e170820e06c5eb7

Paging @acrisci for comment

@kobezda can you provide detailed steps to reproduce the issue?

@acrisci Steps to reproduce:

Install sway from git on a gentoo hardened installation
run sway
Without opening any windows, change workspace
I'm not sure how much more detailed I can get, it happens every time on my system.
System details are in the issue, here's full emerge --info output:
emerge_info.txt

I can't reproduce this issue but I'm on Fedora. I'll have to dig a little deeper then. Can anyone else reproduce this issue?

I haven't heard of anyone else having this problem yet. I'm suspecting it's because of some hardening feature in my toolchain... See https://wiki.gentoo.org/wiki/Hardened/Toolchain - most look like they can be enabled on Fedora via compile-time gcc flags.

Can anyone try to reproduce with -fPIE -fstack-protector? Here's a patch for CMakeLists.txt:
cflags-hardened.patch.txt

I can indeed reproduce the issue only with that patch applied. I give this priority and find the root cause of the problem tomorrow.

Any progress on this, @acrisci?

For whatever it's worth I am able to reproduce the problem with the CMake patch and the fix by reverting that line. I tried tracing through all the focus logic but the root cause of this problem didn't jump out at me.


add auto-scroll to serial monitor (wifi settings)

calibration process for IMU like MPU9250 and BMI160 prints lot of text to serial monitor, and user should keep monitoring serial output.
but due to lack of auto-scroll, the user have to keep scroll down while rotating tracker. this is quite annoying because the user should keep eyes on both tracker and serial output and scroll bar. and the user can easily miss new line on serial monitor because it is outside of the window. auto-scroll will solve this problem.

Fixed in the new GUI https://github.com/SlimeVR/SlimeVR-GUI


Consuming the stats file

I am trying to access the name of one bundle in another bundle, and thought the stats file might be used for that.
The problem however, is that the stats file is only written to dist, so when requiring/importing it in one of my bundles, webpack crashes:

Module not found: Error: Can't resolve './stats.json'

Any idea how this can be fixed? Perhaps only read the file runtme somehow?

Interesting use case. My intention was only to allow other processes consume bundles generated by webpack. Never intended the library to allow a different plugin in the same webpack process to consume the stats file so I don't think we'd add features to enable this case but if you or someone has a simple/clean proposal that enables this without making the actual use case more complex, I think we can add it.

Closing for now.


Cannot use AMQP protocol over a basic tier subscription

OS and version used:
Raspberry Pi 3 Model B+
Raspbian GNU/Linux 9 (stretch)
Linux raspberrypi 4.14.34-v7+ #1110 SMP Mon Apr 16 15:18:51 BST 2018 armv7l GNU/Linux

Python runtime used:
Python 2.7.13

SDK version used:
azure-iothub-device-client==1.4.2
libboost1.62-all

Description of the issue:

Instantiating an IoTHubClient with a basic tier connection string and then trying to send a message gets it stuck in a loop of fail and retry that is based on the retry policy. The same problem happens for any other server communication (the only other is the connection_status_callback since we are on a basic tier subscription).  The error is present both through AMQP and AMQP_WS, but not any other protocol.
Code sample exhibiting the issue:
from iothub_client import IoTHubClient, IoTHubTransportProvider, IoTHubMessage

connection_string = "a basic tier iothub subscription"
protocol = IoTHubTransportProvider.AMQP
client = IoTHubClient(connection_string, protocol)

def send_confirmation_callback(message, result, user_context): pass

message = IoTHubMessage("whatever")
client.send_event_async(message, send_confirmation_callback, 0)

Console log of the issue:
Error: Time:Tue Aug 21 14:18:17 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_amqp_messenger.c Func:process_state_changes Line:1428 messagesender reported unexpected state 4 while messenger is starting
Error: Time:Tue Aug 21 14:18:17 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_amqp_twin_messenger.c Func:on_amqp_messenger_state_changed_callback Line:1608 Unexpected AMQP messenger state (x509-gw5, TWIN_MESSENGER_STATE_STARTING, AMQP_MESSENGER_STATE_ERROR)
Error: Time:Tue Aug 21 14:18:17 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_amqp_device.c Func:device_do_work Line:1031 Device 'x509-gw5' twin messenger failed to be started (messenger got into error state)
Error: Time:Tue Aug 21 14:18:17 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_amqp_common.c Func:IoTHubTransport_AMQP_Common_Device_DoWork Line:1133 Failed performing DoWork for device 'x509-gw5' (device reported state 6; number of previous failures: 0)
Error: Time:Tue Aug 21 14:18:17 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_amqp_messenger.c Func:process_state_changes Line:1428 messagesender reported unexpected state 4 while messenger is starting
Error: Time:Tue Aug 21 14:18:17 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_amqp_twin_messenger.c Func:on_amqp_messenger_state_changed_callback Line:1608 Unexpected AMQP messenger state (x509-gw5, TWIN_MESSENGER_STATE_STARTING, AMQP_MESSENGER_STATE_ERROR)
Error: Time:Tue Aug 21 14:18:17 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_amqp_device.c Func:device_do_work Line:1031 Device 'x509-gw5' twin messenger failed to be started (messenger got into error state)
Error: Time:Tue Aug 21 14:18:17 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_amqp_common.c Func:IoTHubTransport_AMQP_Common_Device_DoWork Line:1133 Failed performing DoWork for device 'x509-gw5' (device reported state 6; number of previous failures: 1)
Error: Time:Tue Aug 21 14:18:17 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_amqp_messenger.c Func:process_state_changes Line:1428 messagesender reported unexpected state 4 while messenger is starting
Error: Time:Tue Aug 21 14:18:17 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_amqp_twin_messenger.c Func:on_amqp_messenger_state_changed_callback Line:1608 Unexpected AMQP messenger state (x509-gw5, TWIN_MESSENGER_STATE_STARTING, AMQP_MESSENGER_STATE_ERROR)
Error: Time:Tue Aug 21 14:18:17 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_amqp_device.c Func:device_do_work Line:1031 Device 'x509-gw5' twin messenger failed to be started (messenger got into error state)
Error: Time:Tue Aug 21 14:18:17 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_amqp_common.c Func:IoTHubTransport_AMQP_Common_Device_DoWork Line:1133 Failed performing DoWork for device 'x509-gw5' (device reported state 6; number of previous failures: 2)
Error: Time:Tue Aug 21 14:18:18 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_amqp_messenger.c Func:process_state_changes Line:1428 messagesender reported unexpected state 4 while messenger is starting
Error: Time:Tue Aug 21 14:18:18 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_amqp_twin_messenger.c Func:on_amqp_messenger_state_changed_callback Line:1608 Unexpected AMQP messenger state (x509-gw5, TWIN_MESSENGER_STATE_STARTING, AMQP_MESSENGER_STATE_ERROR)
Error: Time:Tue Aug 21 14:18:18 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_amqp_device.c Func:device_do_work Line:1031 Device 'x509-gw5' twin messenger failed to be started (messenger got into error state)
Error: Time:Tue Aug 21 14:18:18 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_amqp_common.c Func:IoTHubTransport_AMQP_Common_Device_DoWork Line:1133 Failed performing DoWork for device 'x509-gw5' (device reported state 6; number of previous failures: 3)
Error: Time:Tue Aug 21 14:18:18 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_amqp_messenger.c Func:process_state_changes Line:1428 messagesender reported unexpected state 4 while messenger is starting
Error: Time:Tue Aug 21 14:18:18 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_amqp_twin_messenger.c Func:on_amqp_messenger_state_changed_callback Line:1608 Unexpected AMQP messenger state (x509-gw5, TWIN_MESSENGER_STATE_STARTING, AMQP_MESSENGER_STATE_ERROR)
Error: Time:Tue Aug 21 14:18:18 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_amqp_device.c Func:device_do_work Line:1031 Device 'x509-gw5' twin messenger failed to be started (messenger got into error state)
Error: Time:Tue Aug 21 14:18:18 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_amqp_common.c Func:IoTHubTransport_AMQP_Common_Device_DoWork Line:1133 Failed performing DoWork for device 'x509-gw5' (device reported state 6; number of previous failures: 4)
Error: Time:Tue Aug 21 14:18:18 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_amqp_common.c Func:IoTHubTransport_AMQP_Common_DoWork Line:1612 Device 'x509-gw5' reported a critical failure; connection retry will be triggered.
Info: Preparing transport for re-connection
Error: Time:Tue Aug 21 14:18:18 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransportamqp_methods.c Func:iothubtransportamqp_methods_unsubscribe Line:891 unsubscribe called while not subscribed
Error: Time:Tue Aug 21 14:18:18 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_amqp_common.c Func:on_amqp_connection_state_changed Line:772 amqp_connection was closed unexpectedly; connection retry will be triggered.
Error: Time:Tue Aug 21 14:18:18 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_amqp_messenger.c Func:process_state_changes Line:1428 messagesender reported unexpected state 4 while messenger is starting
Error: Time:Tue Aug 21 14:18:18 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_amqp_twin_messenger.c Func:on_amqp_messenger_state_changed_callback Line:1608 Unexpected AMQP messenger state (x509-gw5, TWIN_MESSENGER_STATE_STARTING, AMQP_MESSENGER_STATE_ERROR)
Error: Time:Tue Aug 21 14:18:18 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_amqp_device.c Func:device_do_work Line:1031 Device 'x509-gw5' twin messenger failed to be started (messenger got into error state)

@alex007sirois just to be clear have you tested this only with a basic tier subscription or also on a standard tier? and only basic tier fails?

@pierreca Yes, on a standard tier there is no problem, but with a basic tier it always fails. And there is no way to know if we are connecting to a basic or standard tier in code.

OK, looking at the error message more closely it looks like it's trying to establish twin links and twins aren't available in the basic tier. I think it might be a behavior of the C SDK that we need to alter. I'm going to reach out to the right people, I have a local repro, I'll keep you posted here!

With the Python v2 reaching General Availability we are recommending users move away from the v1 SDK.  We will be closing the v1 SDK issues whose features are covered by the v2 release.  Feel free to open an new issue if you find an issue with the v2 SDK.
Thank you for your patronage

@alex007sirois, thank you for your contribution to our open-sourced project! Please help us improve by filling out this 2-minute customer satisfaction survey


Update css-hyphens.json

updated blog post resource link from defunct Fontdeck blog to an authorised mirrored post on clagnut.com

Thanks!


test(choicefield): add test validating uif-type binding works

Added test & demo to validate uif-type binding on isolated scope to @ to allow string interpolation.
Closes #445.

Coverage remained the same at 97.594% when pulling 327a8a19539558516f4c7a1008d712f5a75d3003 on andrewconnell:issue445-choicefieldResponsiveType into 8829fc627cd19914293cfa64f9461cc801d5bead on ngOfficeUIFabric:dev.


variable renaming should take into account ES6 property value shorthand

Renaming from the IDE is not safe if the renamed variable is used to initialize an object with the ES6 property value shorthand syntax.
Example:
interface IFoo {
   foo: string
}
const foo = "hello";   // <- rename foo into foo1
const bar: IFoo = { foo };

if on the IDE I rename foo into foo1 (at line 4), then the code will break because bar now has a property named foo1 which does not exist in its interface:
const bar: IFoo = { foo1 };

Ideally the IDE should be smart enough and modify the code in:
const bar: IFoo = { foo: foo1 };

I think https://github.com/Microsoft/TypeScript/issues/15787 should cover this issue.

@ikatyang yes, and it also covers the opposite case of destructuring from an object, so I'm closing this.


Questions regarding Issue #24690

Describe the request
Follow Up questions regarding Issue #24690.
Additional context
Is there a timeframe available, in which the Issue #24690 will be implemented into the system? There is currently no Build ID assigned to the Issue. Also I would like to know how the current solution looks like.

From what I checked, it recently went in, a month ago. There is no plan for backport, as such it's going to be available in the next major, v25.


Should 'Delete Node' be called 'Delete Note'?

Please select the area your Bug applies to. (Multiple selections are Possible)

[ ] Onboard. Initial vault setup and import/export pods
[ ] Create. Note creation, lookup, snippets and templates
[ ] Retrieve. Backlinks, references, graph view
[ ] Structure. Refactoring, multi-vault and schemas
[ ] Publish. Sharing your repo with the world
[x ] Misc (Choose this if your not sure)

Describe the bug
Is this command misnamed?
Expected behavior
Expect this to be called Delete Note as Create Note, Rename Note.
Desktop (please complete the following information)

Version [e.g. 47]

Yes, I think we're trying to be too clever here :) Will definitely consider a rename. @jonathanyeung pointed out the same thing recently.


added some bootsrap classes to login page

Fixes #1253
Describe the changes you have made in this PR -
added some bootsrap classes to align the show password button
Screenshots of the changes (If any) -

@nitin10s  can you please review?

Coverage decreased (-47.3%) to 36.968% when pulling 639e2e1510f3cb5616abb7e08141398f4a8a47f9 on abstrekt:login into 80483a97cc419aee463a26605f00f91277533990 on CircuitVerse:master.

@MrBartusek merging this PR as the changes are minimal. Please update the previously opened issue with required new changes. Thank You

@satu0king I don't really have anything to change. In my opinion eye icon should be inside textbox but I still don't know @nitin10s point.


Thumb movements

Hi,
I was trying to implement your library and there was an issue. if I select minDistance as 0 then I can't be able to move THUMBS if one is over the other.
What do I recommend?
I recommend let the Thumbs move freely. It doesn't matter if one is start thumb or end thumbs. You can handle the logic when a thumb changes from being start to end. I don't know if I am understandable. English is not my native language.

Hi
Could you give me an example where you need to minDistance was equal to 0?

Yes, why not?
I'll show you 2 examples:

The first one is when I need minDistance as 0 because

When the user can choose a value between 1 and 8 and inclusive can only indicate a value. That is, you can choose from 1 to 3, or 2 to 5, as you could choose from 1 to 1 because he is simply interested in that value.
Example of my simple-range
<me.bendik.simplerangeview.SimpleRangeView
                android:id="@+id/pointsRange"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginEnd="@dimen/spacing_lg"
                android:layout_marginLeft="@dimen/spacing_lg"
                android:layout_marginRight="@dimen/spacing_lg"
                android:layout_marginStart="@dimen/spacing_lg"
                android:layout_marginTop="@dimen/spacing_md"
                app:activeLineColor="@color/greenText"
                app:activeLineThickness="2dp"
                app:activeThumbColor="@color/greenText"
                app:activeThumbRadius="12dp"
                app:activeTickColor="@color/greenText"
                app:count="8"
                app:end="8"
                app:lineColor="@color/grayRangeLine"
                app:lineThickness="2dp"
                app:minDistance="0"
                app:showActiveTicks="false"
                app:showFixedTicks="false"
                app:showLabels="false"
                app:showTicks="false"
                app:start="0"
                app:tickColor="@color/greenText" />

The second one is when minDistance is mora than 0. It could be high but anyway the problem indicated exists. How is possible?

See this example:
<me.bendik.simplerangeview.SimpleRangeView
                android:id="@+id/priceRange"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginEnd="@dimen/spacing_lg"
                android:layout_marginLeft="@dimen/spacing_lg"
                android:layout_marginRight="@dimen/spacing_lg"
                android:layout_marginStart="@dimen/spacing_lg"
                android:layout_marginTop="@dimen/spacing_md"
                app:activeLineColor="@color/greenText"
                app:activeLineThickness="2dp"
                app:activeThumbColor="@color/greenText"
                app:activeThumbRadius="12dp"
                app:count="1000"
                app:end="1000"
                app:lineColor="@color/grayRangeLine"
                app:lineThickness="2dp"
                app:minDistance="10"
                app:showActiveTicks="false"
                app:showFixedTicks="false"
                app:showLabels="false"
                app:showTicks="false"
                app:start="0"
                app:tickColor="@color/greenText" />

In this case the COUNT is too big then the minDistance causes the same problem as if it were zero because of its proximity between the two thumbs.
Tell me if I am right or if you need something else don't hesitate to ask me

Ok. I understand what you mean. I will implement this feature soon.
Thank you for your contribution to the development of this library.

Don't worry, it is just an Idea. At this moment I am very bussy. But later I could help you to add features if you don't have any problem :D


BUG on CC0026: When there is a dynamic don't raise a diagnostic

This code:
Microsoft.CodeAnalysis.CSharp.CSharpExtensions.TryGetSpeculativeSemanticModel(semanticModel, originalExpression.SpanStart, (dynamic)GetSemanticRootForSpeculation(replacedExpression), out speculativeModel)

Will raise CC0026 incorrectly.
If you call it like an extension method, like this:
semanticModel.TryGetSpeculativeSemanticModel(originalExpression.SpanStart, (dynamic)GetSemanticRootForSpeculation(replacedExpression), out speculativeModel)

This call will fail because of the dynamic argument that will not allow binding to the extension method on runtime.
@sqdavid is working on it.

CC0026 is now disabled by default until we fix it.

Maybe this test can help
[Fact]
public async Task WhenCallExtensionMethodWithDynamicArgumentHasNoDiagnostics()
{
    const string source = @"
using System;
using System.Collections.Generic;
using System.Linq;

namespace ConsoleApplication1
{
    class ExtensionTest
    {
        void method()
        {
            var list = new List<int>() { 5, 56, 2, 4, 63, 2 };
            dynamic dList = list;
            Console.WriteLine(Enumerable.First(dList));
            //Console.WriteLine(dList.First());
        }
    }
}
";
    await VerifyCSharpHasNoDiagnosticsAsync(source);
}

If nobody is working on it, I have solved it.

@sqdavid Go ahead.

I've just created the PR #231
Please review it.


pypi package incomplete, cant run tests due to issing files, readme also missing

Should be fixed now that I added a MANIFEST.in file in f7bf69a711ed8.


[2.0-preview] Fix reauthentication without the overhead of extra health check

Cherrypicked from master (https://github.com/Alluxio/alluxio/pull/8406)
Original description:
In 2.0 RC1 we employed an extra health check for block worker client to make sure authentication kicks in if gRPC channel reconnects to a new worker. It introduced some overhead especially for small random reads. This change revert the previous fix and force reauthentication by informing the block worker client pool to drop the cached client when the client is disconnected.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/2063/
Test PASSed.


Fix windows builds by using posix path for all dirs in nuxt.config

Summary
This attempts to produce consistent results when working with dir paths on Windows, Linux, and macOS by using path.posix for all values specified for dir.
The Nuxt documentation doesn't specify much regarding formatting for dir values but I was able to identify an issue with imports repeating (e.g. require('..\\shell\\store\\shell\\store\\index.js')) in the generated Nuxt output when dir has paths specified in the Windows-style. Always deferring to the posix-style resolves this issue allows for building Dashboard on Windows.
Signed-off-by: Phillip Rak<EMAIL_ADDRESS>

Codecov Report
Base: 36.84% // Head: 36.74% // Decreases project coverage by -0.10% :warning:

Coverage data is based on head (369bb13) compared to base (48da4a3).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7234      +/-   ##
==========================================
- Coverage   36.84%   36.74%   -0.11%
==========================================
  Files         987      987
  Lines       17786    17794       +8
  Branches     4586     4589       +3
==========================================
- Hits         6553     6538      -15
- Misses      11233    11256      +23

Flag
Coverage Δ

e2e
47.12% <ø> (-0.15%)
:arrow_down:

merged
36.74% <ø> (-0.11%)
:arrow_down:

unit
5.16% <ø> (-0.01%)
:arrow_down:

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

Impacted Files
Coverage Δ

shell/nuxt.config.js
0.00% <ø> (ø)

shell/mixins/metric-poller.js
77.77% <0.00%> (-22.23%)
:arrow_down:

shell/plugins/steve/mutations.js
36.17% <0.00%> (-10.64%)
:arrow_down:

shell/utils/poller.js
75.00% <0.00%> (-10.00%)
:arrow_down:

shell/plugins/dashboard-store/mutations.js
58.27% <0.00%> (-7.95%)
:arrow_down:

shell/utils/gc/gc.ts
27.50% <0.00%> (-3.34%)
:arrow_down:

shell/plugins/dashboard-store/actions.js
51.72% <0.00%> (-2.69%)
:arrow_down:

shell/models/provisioning.cattle.io.cluster.js
63.09% <0.00%> (-0.95%)
:arrow_down:

shell/utils/validators/index.js
30.32% <0.00%> (-0.82%)
:arrow_down:

shell/utils/create-yaml.js
86.14% <0.00%> (-0.74%)
:arrow_down:

... and 5 more

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@rak-phillip I believe this can go into master now


Question about NMS

Hi, thank you for your nice work.
I have question about the nms filtering.
Have other works also applied nms filtering during evaluation?
As far as I know, QPIC doesn't use nms filtering.
I'm curious if this is the correct basis for a fair comparison.

Such NMS operation is proposed in our previous work CDN, which also provided an ablation study about NMS. It shows that NMS only improves the mAP by 0.4%.


Swift Version

I made a Swift version of the TGCameraViewController example and I'd be cool to add on the Read.me: https://github.com/lfarah/TGCameraViewControllerSwift

An example project has been added to the repo now. Thanks!


Release Google.Cloud.BigQuery.Migration.V2 version 1.4.0

Changes in this release:
New features

Add IServiceCollection extension methods for client registration where an IServiceProvider is required. (commit 022fab2)

Created release for Google.Cloud.BigQuery.Migration.V2-1.4.0


v0 gopkg release doesn't generate messages properly

It looks like the v0 gopkg release recommended in the readme doesn't generate messages properly. It might be best to just suggest using the Github directly or possibly updating the gopkg v0 release instead?
Cool library by the way, thanks to you and the contributors for publishing it :)

Oh, I see what's going on. It exists in the github version as well, but it's an intermittent issue so it doesn't always show up.
writeHeader isn't retrieving the headers in the correct order here, so it's outputting a message like the following:
 Mime-Version: 1.0
Content-Type: multipart/mixed;
 boundary=a796d952ceeb72f2d67d664a27d5e6671935ae240753bc5bac5b9ba290e3
To<EMAIL_ADDRESS>From<EMAIL_ADDRESS>Subject: message subject here

--a796d952ceeb72f2d67d664a27d5e6671935ae240753bc5bac5b9ba290e3
Content-Type: multipart/alternative;
 boundary=fb81b69ff86c807cb14b35f7e154cecda8e9cff180e89feac42b0f97acc6

--fb81b69ff86c807cb14b35f7e154cecda8e9cff180e89feac42b0f97acc6
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Text message body here.
--fb81b69ff86c807cb14b35f7e154cecda8e9cff180e89feac42b0f97acc6--

--a796d952ceeb72f2d67d664a27d5e6671935ae240753bc5bac5b9ba290e3--


Question

Hello, can you please tell me what code editor and theme are you using?

Sure, i am using Visual Studio Code with theme called "Tokyo Night" but i am working on my own VS code theme 😊

Sure, i am using Visual Studio Code with theme called "Tokyo Night" but i am working on my own VS code theme 😊

Thanks :)) i will test it for sure.

Thanks :)) i will test it for sure.

any girls in chat ?

any girls in chat ?


PR: Add an icon browser

This adds a utility to browse all the available icons from the current QtAwesome installation.  You can also copy the name and python code to instantiate the selected icon.
After installing, you can run it from the command line with qta_icon_browser

Thanks for this @JasonGilholme ! This is a great addition to QtAwesome.
I will get back to you later today with a review!
Cheers

Some comments:

Could we add the copy options on right click on top of each item?
Could we make add some shortcuts for the same actions? Maybe enter for one and shift+enter for the other?
Could we make the search case insensitive?

Some other nitpicks that could go for another PR or if you have some time?
We could add a listwidget to list the Icon Groups with checkboxes (to select/unselect some icons)
We could improve the search so that it is fuzzy. You could use something like this:
https://github.com/spyder-ide/spyder/blob/master/spyder/utils/stringmatching.py#L50
We could add a small test that at least runs the app and closes it after a while with pytest-qt I can give you some pointers if you need.
Thanks again!

We also need to update the README with a screenshot and details on how to use it :-)

Could we add the copy options on right click on top of each item?
Could we make add some shortcuts for the same actions? Maybe enter for one and shift+enter for the other?
Could we make the search case insensitive?
Could we sort the items? I see fa at the start and at the end

I've addressed the above comments.

Some other nitpicks that could go for another PR or if you have some time?

We could add a listwidget to list the Icon Groups with checkboxes (to select/unselect some icons)
We could improve the search so that it is fuzzy. You could use something like this:
https://github.com/spyder-ide/spyder/blob/master/spyder/utils/stringmatching.py#L50

I'm happy for that to go in another MR - here's some other ideas for a more advanced version of this:

Preview pane on the right hand side that shows a larger version of the icon
Additional settings to control values for the various kwargs to .icon() - color, color_active etc
Control for the python namespace - support import qtawesome as qta for example.

We could add a small test that at least runs the app and closes it after a while with pytest-qt I can give you some pointers if you need.

If you've got something handy that'd be good.

Thanks again!

No problem - it's a useful utility that was missing from my workflow. I'll update the README.txt on the next push too.

Updated the readme and added a screenshot.  Squashed all the commits too.

Something like this... did not test it.  You will need to update CI services to install pytest-qt

"""
Tests for QtAwesome Icon Browser.
"""

# Third party imports
from qtpy.QtCore import QTimer

# Local imports
from qtawesome import IconBrowser

@pytest.fixture
def browser(qtbot):
    browser = IconBrowser()
    qtbot.add_widget(browser)
    browser.show()
    return browser

def test_browser(qtbot, browser):
    def close():
        browser.close()

    timer = QTimer()
    timer.timeout.connect(close)
    timer.setSingleShot(2000)
    timer.start()

if __name__ == "__main__":
    pytest.main()

So as to not delay this PR longer further, should I update the existing CI configs to drop python-3.5 and add python-3.7/8 . ??  Similar to what's going on in this PR:  https://github.com/spyder-ide/qtawesome/pull/132

@JasonGilholme I created this PR https://github.com/spyder-ide/qtawesome/pull/135 which moves everything to use github actions, which makes things much easier on our side.
It should be ready to merge soon. As soon as it is merged, please merge with master so we can merge this PR.
Thanks for the patience with this :-)

Awesome.  Yeah, no problem.

Updated to provide some simple font collection filtering.

Cool, please merge with master so new CI can run. Thanks!

Updated and passed tests.

Thanks for this contribution! Merging


[cluster-test] Reload faucet account on every tx emit job

(1) Faucet account data can get stale and needs to be reloaded between jobs
(2) Cluster might not be healthy on cluster test startup and it might not be possible to load faucet account at that time

@bors-libra r+

:pushpin: Commit da083ff has been approved by ankushagarwal

:hourglass: Testing commit da083ff30e72ab76d5223d93dcd4a7edee7fca34 with merge 35901d2f913f9e124fd0d7e3f45dc73564232dfd...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: ankushagarwal
Pushing 35901d2f913f9e124fd0d7e3f45dc73564232dfd to master...


Group by modified datetime and count records

OrientDb: 2.0.10
Studio
Is there a better way to group by all records by a datetime and count the records?
Don't works
select Created.format('yyyy-MM-dd') as cd from Node where SponsoredBy.Mid = '55965ccbd94706fc1e3f50c3' group by Created

But this works:
select count(*) from (select Created.format('yyyy-MM-dd') as cd from Node where SponsoredBy.Mid = '55965ccbd94706fc1e3f50c3') group by cd

Does exist any way without these extra step? I always think in big datasets.
These kind of querys can be optimized. What does make the new parser better?

Could you provide the explain output of the query:
select Created.format('yyyy-MM-dd') as cd from Node where SponsoredBy.Mid = '55965ccbd94706fc1e3f50c3'


Updated Rate us Page

Hello Project Admin
Fixed Mobile View of RateUs Page as i have mentioned it in this issue #894
Kindly Please go through this PR @varshith257
https://github.com/user-attachments/assets/e9a205a6-c07c-4e96-a759-fd27a5c99f99

@sailaja-adapa Can you fix merge conflicts and tag me?

@varshith257  I solved the conflicts kindly go through this PR

@sailaja-adapa Again here we got merged conflicts 😅

Ohh ok I will update sorry @varshith257

@varshith257 Check once now

@sailaja-adapa I see most of code has been deleted. Is it done while fixing merge conflicts?

I Created another css file for Rate Us page so i removed some code in style.css @varshith257

@sailaja-adapa Why deleted?

@varshith257 I raised another PR for this issue and you also Merged that so I closed this PR


More Features

do you have any future plans regarding this package?
Maybe getBSSID (endpoint) for ex?
I suggest BSSID because is usually very useful when working in some environment where there are lots of endpoints but all have the same SSID

That's a great idea. I'll look in to it.  Feel free to offer a PR if you have code handy.
Thanks for the suggestion!

@L3V147H4N - I have just pushed up code that allows you to get the BSSID in both iOS and Android.  I've tested it on iOS but, unfortunately, I do not have an Android device to test it on (the SSID and BSSID feature does not work on the simulator).
Could you give it a test on whatever OS you are working on when you have a moment?  I haven't tagged the feature in a release yet so you'll have to pull from master directly in your package.json.

Sure, I'm working with this package today so I'll give it a test 👍

Just tested with latest RN (0.43.4) in my Xperia Z3+ with android 7.0 and it works :3 ready to publish to npm :) 👍

once is one npm you can close this issue, many thanks for the quick reply and codding :)

npm updated, thanks again for the suggestion!


Consolidate three screens into one screen

For a more efficient interview and as an attorney fills out our form, we want to consolidate three separate screens into one. Screen/Question ID's are as follows: " information on events or issues", "events or issues" and "notice to all other parties".

We have managed to consolidate the screens titled "information on events or issues" and "events or issues". We cannot figure out how to consolidate "notice to all other parties".


Does this plugin works with Pinia < v1?

Description

I'm wondering if this plugin works with Pinia < v1?
I could not find any cases in the documentation,

Thank you

Hi, it wasnt meant to work with Pinia v1. (actually this plugin was created because there was no plugin compatible with v2 at the time). It is not properly explained in the documentation but stated in the peerDependencies with "pinia": ">=2.0.0"

i see, do you know any plugin that could work with pinia < v1 @prazdevs ?
thank you

I never used pinia<1  as they were not considered stable, and I would definitely not recommend using it for this reason.
My guess if you want something that works is to look into older pinia documentation, and take inspiration from this plugin to create a local plugin and persist data in your project.


1.0.1 causes script error on startup

With today's Trackmania/Openplanet update (Sep 28th 2022), the plugin has been reported to cause in-game script errors on startup.

It's therefore been blocked by Openplanet in the current version so it won't be loaded - it'll probably need some investigation to figure out what needs to be fixed exactly.

fixed in c04e881


Separate Compiled Code missing for some VIs

Some VIs do not have "Separate compiled code from source file" checked, which leads to the files being modified when opened on a different platform (I guess using 32-bit LabVIEW is not the norm here?).
I could easily change these and mark them all, but that will probably cause merge conflicts since the files might be in various unrelated places and then annoy everyone else trying to work in this repository :/
I'll add the checkbox to any files that I actually modify, but I'm opening the issue in case this repository has a period of time (e.g. releases?) when everyone is likely to not have open branches, in which case perhaps the files could be mass-ticked?
Alternatively, is there some preferred strategy for handling this? (Or are the files intentionally not separated from compiled code?)

@chrisb2244  I guess we all wanted to have the check box enabled for all VIs. I like your point about making the change when we want to change that VI for other purposes, and before the next release maybe @ccifra does the check for all.
Yes, Merging is a pain!


@validate_call on instance method of class with __slots__ raises "AttributeError: object attribute is read-only"

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
When the @validate_call decorator is applied to an instance method of a class with __slots__ set, calls to the instance method raise an AttributeError:
Traceback (most recent call last):
  File "./test_validate_call.py", line 25, in <module>
    c.any_instance_method()
  File "./.venv/lib/python3.8/site-packages/pydantic/_internal/_validate_call.py", line 118, in __get__
    object.__setattr__(obj, self._name, result)
AttributeError: 'ClassWithSlots' object attribute 'any_instance_method' is read-only

This error is not raised when using the @validate_arguments decorator instead of @validate_call.
Example Code
from pydantic import validate_call

class ClassWithSlots():
    __slots__ = {}

    @validate_call
    def any_instance_method(self):
        pass

c = ClassWithSlots()
c.any_instance_method()

Python, Pydantic & OS Version
pydantic version: 2.3.0
        pydantic-core version: 2.6.3
          pydantic-core build: profile=release pgo=true
                 install path: ./.venv/lib/python3.8/site-packages/pydantic
               python version: 3.8.10 (default, May 26 2023, 14:05:08)  [GCC 9.4.0]
                     platform: Linux-5.15.0-83-generic-x86_64-with-glibc2.29
     optional deps. installed: ['typing-extensions']

Hi @PeterL4,
Thanks for your question! What's happening here is that when you use the @validate_call decorator on your method, internally, Pydantic is attempting to wrap that function in a ValidateCallWrapper and call setattr on the the object to reassign the function name to be associated with the new, wrapped function.
When you define __slots__ as an empty set, that prevents access to __dict__, which is required for assigning instance vars on object instances (which is what Pydantic is trying to do).
One quick workaround is the following:
from pydantic import validate_call

class ClassWithSlots():
    __slots__ = {'__dict__'}

    @validate_call
    def any_instance_method(self):
        pass

c = ClassWithSlots()
c.any_instance_method()

Let me know if this works for your use case. If not, we can get more creative 😄.

The history of why we introduced setattr is in the PRs https://github.com/pydantic/pydantic/pull/6406 and https://github.com/pydantic/pydantic/pull/6431
The motivation was for equality of decorated methods as well as performance. Ideally we can rework to keep these properties but avoid needing to mutate the object.

@PeterL4,
Thanks for your patience. I've just merged a fix that should resolve this issue. The change will be included in the next release 😄.


We need a well defined list of compelling "clinical pulls" that SHR enables

From<EMAIL_ADDRESS><EMAIL_ADDRESS>On Behalf Of Sleeper, Harry A.
Sent: Saturday, June 25, 2016 7:07 AM
To: standard-health-record-10x-list US Standard Health Record Design<EMAIL_ADDRESS>Cc: Quina, Andre C<EMAIL_ADDRESS>Walonoski, Jason A<EMAIL_ADDRESS>Subject: SHR "Clinical Pulls" List
We need a well defined list of compelling "clinical pulls" that SHR enables in the SHR-10x brief.
EG, ...

Complete, merged, accurate patient health records at each patient-clinician encounter.

Reduced EHR data entry burdens

Reduced gaps in the patient health record through tracking SHR completeness

...
N-3. Rapid progress toward the "hands-free", auto-documenting, conversational patient-clinician encounter (SHR_grammar simplifies Nurse Echo).
...
N. Increased patient participation in their care with increased patient services acting on their SHR.
Joey/Susan------Can you help here?
We also need "patient pulls" and "payer pulls".
...H

Structured primarily for medical, public health, and self-care rather than structured primarily for billing:

  Computable: clinician seeing patient can pull together in one place all information relating to a certain care need (vs now clinician has to page through stacks of individual entries organized by date. Often the clinician spends time typing/dictating a summary of those findings to serve as a reference for the future)

  Interoperable: ditto #1 across systems (hospitals, ambulatory, EMS, public health clinics, vital statistics functions, pharmacies, prisons, etc)

  Interoperable within a system. In June I visited a hospital with 143 separate computer systems.  I’m sure some were billing, HR, and ordering etc but most were clinical.

  Patient engagement supported as a design feature by providing access from the beginning vs added into select modules along the way

  Integration of SDOH as a primary focus rather than as a list in the “social history” component of the EMR.

  Utility for community based interventions: neighbors get care in different systems. With interoperable systems hot-spotting and focused community interventions can be supported.

-Susan


Fix warnings in SearchCriteria implementation

Warnings related to field initialization order, comparison of std::size_t with -1, ...

Fixed all warnings (not only in SearchCriteria), last commit cf9156dfb27dab2b290ca67df74d042eb7498da6


PAT may require 'workflow'

Just a note that I discovered today that the PAT may require the 'workflow' scope if the rebase involves workflow files.
I got this error with a PAT that didn't have that:
Run peter-evans/rebase@v1
1 pull request(s) found.

Checking out head ref 'master'.
Setting committer to match the last commit on the head ref.
Rebasing on base ref 'master'.
Pushing changes to head ref 'master'
  /usr/bin/git push --force-with-lease b4f7c8ae-a1f5-47a5-8259-8f104f9f538c HEAD:master
  To https://github.com/pdeffendol/JsonToEnvironmentConverter
   ! [remote rejected] HEAD -> master (refusing to allow a Personal Access Token to create or update workflow `.github/workflows/dotnetcore.yml` without `workflow` scope)
  error: failed to push some refs to 'https://github.com/pdeffendol/JsonToEnvironmentConverter'
  Error: The process '/usr/bin/git' failed with exit code 1

Hi @flcdrg
Thanks for noting this. I was aware of this requirement but failed to include it in the readme. I've updated the readme with this information. 👍


Fix output.scheme notation

This looks like a copy-paste typo. I updated the description to match the related key.
I bumped the chart minor version as no code has changed.

@mplewis thanks for the PR, even though this is a typo fix, you still need to update the chart version in Chart.yml

@mplewis
Please bump the chart version to latest. Thank you.

I can do that. Sorry for the delay.
On Fri, Oct 25, 2019 at 9:01 AM zanhsieh<EMAIL_ADDRESS>wrote:

@mplewis https://github.com/mplewis
Please bump the chart version to latest. Thank you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/helm/charts/pull/17147?email_source=notifications&email_token=AAN6RZTDCW5ZN75AVOAAQNDQQMC6HA5CNFSM4IW53LT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECIUBFQ#issuecomment-546390166,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAN6RZXVBDXWCYSUDFIFC23QQMC6HANCNFSM4IW53LTQ
.

--
Matt Lewis
mplewis.com |<PHONE_NUMBER>

@zanhsieh I have bumped the minor version. Please let me know what else you need.

/check-dco
/ok-to-test

@mplewis
Would you sign all commit to DCO please?

@zanhsieh Sorry about that. I've force pushed to this branch so all commits are signed.

/lgtm


🌐 Update Chinese translation with highlighted content for Tutorial - Body docs/zh/docs/tutorial/body.md

Fix code highlight lines and add two tips.

Great! As this was approved by @waynerv, I'll take it right away. 🤓
Thank you @maoyibo! 🍰

Hum, as the branch was removed, I can't update this PR to see if there are any new changes, so I'll have to close it and wait for some new PR with the same (or other) changes. 😅


Shouldn't the BaseType context use https?

https://github.com/spatie/schema-org/blob/5ef641ba97a82aecab9cbe7fff26662912dbade0/generator/templates/static/BaseType.php#L15-L18

@sebastiandedeyne this is solved!?


Attempt to Fix Build

Attempts to fix the build by downgrading requests and modifying a decorator

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Dev

change webpack4

Coverage increased (+4.02%) to 59.311% when pulling f6ebd8bebd38cfe908ce40aa2e6259d46e4dbad3 on dev into a6b25d8cf14caf6478d988e0e4219e89a144ca06 on master.