'RuntimeWarning: divide by zero encountered in scalar divide' causing Axes rendering failure for axis values 0

Description of bug / unexpected behavior
When trying to render an Axes mobject, the code doesnt seem to handle 0 values for x_range/y_range. I am new to Manim and stumbled upon this exception(Not sure how you reached here, please file a bug report at https://github.com/ManimCommunity/manim/issues/new/choose) while trying different values.
Hope it helps
Expected behavior
I am expecting to not render the y axis at all by providing a (0,0,0) to the y_range for the Axes mobject, which should have been handled by the library
How to reproduce the issue

Code for reproducing the problem
# This code is running in a Jupyter Notebook cell, the only other cell run before this is for importing manim

%%manim -qm -v WARNING DrawAxes

class DrawAxes(Scene):
   def construct(self):
      axes = Axes((0,10,1),(0,0,0))
      self.play(Create(axes), run_time=5)
      self.wait()

Additional media files

Images/GIFs
Did not generate any media files

Logs
Terminal output

/Users/harmeetsingh/Documents/code/3b1bManim/manim/lib/python3.12/site-packages/manim/mobject/geometry/line.py:205: RuntimeWarning: divide by zero encountered in scalar divide
  return self.scale(length / self.get_length())
/Users/harmeetsingh/Documents/code/3b1bManim/manim/lib/python3.12/site-packages/manim/mobject/mobject.py:1222: RuntimeWarning: invalid value encountered in multiply
  lambda points: scale_factor * points, **kwargs
---------------------------------------------------------------------------
Exception                                 Traceback (most recent call last)
Cell In[2], line 1
----> 1 get_ipython().run_cell_magic('manim', '-qm -v WARNING DrawAxes', '\nclass DrawAxes(Scene):\n   def construct(self):\n      axes = Axes((0,10,1),(0,0,0))\n      self.play(Create(axes), run_time=5)\n      self.wait()\n')

File ~/Documents/code/3b1bManim/manim/lib/python3.12/site-packages/IPython/core/interactiveshell.py:2541, in InteractiveShell.run_cell_magic(self, magic_name, line, cell)
   2539 with self.builtin_trap:
   2540     args = (magic_arg_s, cell)
-> 2541     result = fn(*args, **kwargs)
   2543 # The code below prevents the output from being displayed
   2544 # when using magics with decorator @output_can_be_silenced
   2545 # when the last Python token in the expression is a ';'.
   2546 if getattr(fn, magic.MAGIC_OUTPUT_CAN_BE_SILENCED, False):

File ~/Documents/code/3b1bManim/manim/lib/python3.12/site-packages/manim/utils/ipython_magic.py:143, in ManimMagic.manim(self, line, cell, local_ns)
    141     SceneClass = local_ns[config["scene_names"][0]]
    142     scene = SceneClass(renderer=renderer)
--> 143     scene.render()
    144 finally:
    145     # Shader cache becomes invalid as the context is destroyed
    146     shader_program_cache.clear()

File ~/Documents/code/3b1bManim/manim/lib/python3.12/site-packages/manim/scene/scene.py:229, in Scene.render(self, preview)
    227 self.setup()
    228 try:
--> 229     self.construct()
    230 except EndSceneEarlyException:
    231     pass

File <string>:4, in construct(self)

File ~/Documents/code/3b1bManim/manim/lib/python3.12/site-packages/manim/mobject/graphing/coordinate_systems.py:1897, in Axes.__init__(self, x_range, y_range, x_length, y_length, axis_config, x_axis_config, y_axis_config, tips, **kwargs)
   1894     self.y_axis_config["exclude_origin_tick"] = False
   1896 self.x_axis = self._create_axis(self.x_range, self.x_axis_config, self.x_length)
-> 1897 self.y_axis = self._create_axis(self.y_range, self.y_axis_config, self.y_length)
   1899 # Add as a separate group in case various other
   1900 # mobjects are added to self, as for example in
   1901 # NumberPlane below
   1902 self.axes = VGroup(self.x_axis, self.y_axis)

File ~/Documents/code/3b1bManim/manim/lib/python3.12/site-packages/manim/mobject/graphing/coordinate_systems.py:1971, in Axes._create_axis(self, range_terms, axis_config, length)
   1954 """Creates an axis and dynamically adjusts its position depending on where 0 is located on the line.
   1955
   1956 Parameters
   (...)
   1968     Returns a number line based on ``range_terms``.
   1969 """
   1970 axis_config["length"] = length
-> 1971 axis = NumberLine(range_terms, **axis_config)
   1973 # without the call to _origin_shift, graph does not exist when min > 0 or max < 0
   1974 # shifts the axis so that 0 is centered
   1975 axis.shift(-axis.number_to_point(self._origin_shift([axis.x_min, axis.x_max])))

File ~/Documents/code/3b1bManim/manim/lib/python3.12/site-packages/manim/mobject/graphing/number_line.py:231, in NumberLine.__init__(self, x_range, length, unit_size, include_ticks, tick_size, numbers_with_elongated_ticks, longer_tick_multiple, exclude_origin_tick, rotation, stroke_width, include_tip, tip_width, tip_height, tip_shape, include_numbers, font_size, label_direction, label_constructor, scaling, line_to_number_buff, decimal_number_config, numbers_to_exclude, numbers_to_include, **kwargs)
    228 self.center()
    230 if self.include_tip:
--> 231     self.add_tip(
    232         tip_length=self.tip_height,
    233         tip_width=self.tip_width,
    234         tip_shape=tip_shape,
    235     )
    236     self.tip.set_stroke(self.stroke_color, self.stroke_width)
    238 if self.include_ticks:

File ~/Documents/code/3b1bManim/manim/lib/python3.12/site-packages/manim/mobject/geometry/arc.py:121, in TipableVMobject.add_tip(self, tip, tip_shape, tip_length, tip_width, at_start)
    119 else:
    120     self.position_tip(tip, at_start)
--> 121 self.reset_endpoints_based_on_tip(tip, at_start)
    122 self.asign_tip_attr(tip, at_start)
    123 self.add(tip)

File ~/Documents/code/3b1bManim/manim/lib/python3.12/site-packages/manim/mobject/geometry/arc.py:204, in TipableVMobject.reset_endpoints_based_on_tip(self, tip, at_start)
    202     self.put_start_and_end_on(tip.base, self.get_end())
    203 else:
--> 204     self.put_start_and_end_on(self.get_start(), tip.base)
    205 return self

File ~/Documents/code/3b1bManim/manim/lib/python3.12/site-packages/manim/mobject/geometry/tips.py:133, in ArrowTip.base(self)
    117 @property
    118 def base(self) -> Point3D:
    119     r"""The base point of the arrow tip.
    120
    121     This is the point connecting to the arrow line.
   (...)
    131
    132     """
--> 133     return self.point_from_proportion(0.5)

File ~/Documents/code/3b1bManim/manim/lib/python3.12/site-packages/manim/mobject/types/vectorized_mobject.py:1451, in VMobject.point_from_proportion(self, alpha)
   1448         return curve(residue)
   1450     current_length += length
-> 1451 raise Exception(
   1452     "Not sure how you reached here, please file a bug report at https://github.com/ManimCommunity/manim/issues/new/choose"
   1453 )

Exception: Not sure how you reached here, please file a bug report at https://github.com/ManimCommunity/manim/issues/new/choose

System specifications
System Details

OS (with version, e.g., Windows 10 v2004 or macOS 10.15 (Catalina)): MacOS Sonoma 14.5 (Apple MacBook M3 Pro)
RAM: 18Gb
Python version (python/py/python3 --version):  Python 3.12.0
Installed modules (provide output from pip list):

Package                   Version
------------------------- --------------
anyio                     4.4.0
appnope                   0.1.4
argon2-cffi               23.1.0
argon2-cffi-bindings      21.2.0
arrow                     1.3.0
asttokens                 2.4.1
async-lru                 2.0.4
attrs                     23.2.0
Babel                     2.15.0
beautifulsoup4            4.12.3
bleach                    6.1.0
certifi                   2024.7.4
cffi                      1.16.0
charset-normalizer        3.3.2
click                     8.1.7
cloup                     3.0.5
comm                      0.2.2
Cython                    3.0.10
debugpy                   1.8.2
decorator                 5.1.1
defusedxml                0.7.1
executing                 2.0.1
fastjsonschema            2.20.0
fqdn                      1.5.1
glcontext                 2.5.0
h11                       0.14.0
httpcore                  1.0.5
httpx                     0.27.0
idna                      3.7
ipykernel                 6.29.5
ipython                   8.26.0
isoduration               20.11.0
isosurfaces               0.1.2
jedi                      0.19.1
Jinja2                    3.1.4
json5                     0.9.25
jsonpointer               3.0.0
jsonschema                4.23.0
jsonschema-specifications 2023.12.1
jupyter_client            8.6.2
jupyter_core              5.7.2
jupyter-events            0.10.0
jupyter-lsp               2.2.5
jupyter_server            2.14.2
jupyter_server_terminals  0.5.3
jupyterlab                4.2.3
jupyterlab_pygments       0.3.0
jupyterlab_server         2.27.2
manim                     0.18.1
ManimPango                0.5.0
mapbox-earcut             1.0.1
markdown-it-py            3.0.0
MarkupSafe                2.1.5
matplotlib-inline         0.1.7
mdurl                     0.1.2
mistune                   3.0.2
moderngl                  5.10.0
moderngl-window           2.4.6
multipledispatch          1.0.0
nbclient                  0.10.0
nbconvert                 7.16.4
nbformat                  5.10.4
nest-asyncio              1.6.0
networkx                  3.3
notebook                  7.2.1
notebook_shim             0.2.4
numpy                     1.26.4
overrides                 7.7.0
packaging                 24.1
pandocfilters             1.5.1
parso                     0.8.4
pexpect                   4.9.0
pillow                    10.4.0
pip                       24.1.2
platformdirs              4.2.2
prometheus_client         0.20.0
prompt_toolkit            3.0.47
psutil                    6.0.0
ptyprocess                0.7.0
pure-eval                 0.2.2
pycairo                   1.26.1
pycparser                 2.22
pydub                     0.25.1
pyglet                    2.0.16
Pygments                  2.18.0
pyobjc-core               10.3.1
pyobjc-framework-Cocoa    10.3.1
pyrr                      0.10.3
python-dateutil           2.9.0.post0
python-json-logger        2.0.7
PyYAML                    6.0.1
pyzmq                     26.0.3
referencing               0.35.1
requests                  2.32.3
rfc3339-validator         0.1.4
rfc3986-validator         0.1.1
rich                      13.7.1
rpds-py                   0.19.0
scipy                     1.14.0
screeninfo                0.8.1
Send2Trash                1.8.3
setuptools                70.3.0
six                       1.16.0
skia-pathops              0.8.0.post1
sniffio                   1.3.1
soupsieve                 2.5
srt                       3.5.3
stack-data                0.6.3
svgelements               1.9.6
terminado                 0.18.1
tinycss2                  1.3.0
tornado                   6.4.1
tqdm                      4.66.4
traitlets                 5.14.3
types-python-dateutil     <IP_ADDRESS>40316
typing_extensions         4.12.2
uri-template              1.3.0
urllib3                   2.2.2
watchdog                  4.0.1
wcwidth                   0.2.13
webcolors                 24.6.0
webencodings              0.5.1
websocket-client          1.8.0

LaTeX details

LaTeX distribution (e.g. TeX Live 2020): I do not have a MacTex installation on this machine, the non zero values run and render the program. I can check again with the MacTex installed if needed
Installed LaTeX packages:

Additional comments
Screenshot -

Hmm, Axes is by default a two-dimensional coordinate system. If you just want one dimension, you should use a NumberLine instead.
The case of passing a "0-lengthx or y range toAxes` is somewhat odd, I am not sure it is worth to investigate how a clean solution for it can be implemented.

Hmm, Axes is by default a two-dimensional coordinate system. If you just want one dimension, you should use a NumberLine instead.
The case of passing a "0-lengthx or y range toAxes` is somewhat odd, I am not sure it is worth to investigate how a clean solution for it can be implemented.

Thanks for the suggestion @behackl , will be reading further on this as I have just started using the tool and was for sure not aware of the clean way of doing it. Reading the exception message felt that it will be good to report the edge case.
Can think of a scenario where the axes values are dynamically calculated based on some logic and are used to define Axes mobject. it's possible to hit this exception again if the values come out to be 0 at runtime

The case of passing a "0-lengthx or y range toAxes` is somewhat odd, I am not sure it is worth to investigate how a clean solution for it can be implemented.

Can we just raise an exception in the __init__, so that there is a better error message? Something like
x0, x, dx = x_range
if 0 in (dx, x0+x):
    raise ValueError("Axes does not handle x_range's of 0, maybe you wanted to use NumberLine instead?")


gschema fixes

When building Errands for Debian, I got this build test error:
==================================== 2/2 =====================================
test:         Validate schema file
start time:   15:12:49
duration:     0.01s
result:       exit status 1
command:      MALLOC_PERTURB_=228 /usr/bin/glib-compile-schemas --strict --dry-run /<<PKGBUILDDIR>>/data
----------------------------------- stderr -----------------------------------
/<<PKGBUILDDIR>>/data/io.github.mrvladus.List.gschema.xml:4:1  Error on line 4 char 1:
 A path, if given, must begin and end with a slash.  --strict was specified; exiting.

I was able to fix it by using a .in suffix for the gschema file that hasn't yet been configured (in other words, its PATH wasn't yet valid).
I happened to notice that the gschema file wasn't listed in po/POTFILES either so there's a second commit for that.

Hello! I only have .desktop file translatable on purpose :)

Ok, I'll make a separate merge proposal for translations


Network View - Default gene name label should have species name initials

This is how the default gene labels look like currently:

It makes it hard to guess the species of the genes (blue triangles). Much better would be to use one of the gene names that have the species name initials. Like this:

A biologist would immediately know which species these are from (eg Ta, Os, Zm, Hv, Bd, At etc). These names are available on most gene nodes and the syntax is usually initials of Latin species name (Xx) followed by the gene name: XxYYY or XxYyy
Update: Our label selection method can be extended with a primary criteria to match the regex pattern [A-Z][a-z][A-Z].* before applying the other criteria. @marco-brandizi

To extend the getBestName method with an additional criteria: capital-lower-capital-prefix. The other criteria preferred and shortest name can be applied afterwards. @marco-brandizi @jojicunnunni
https://github.com/Rothamsted/knetbuilder/blob/95d880d0cce7a7dc7645b7b07e2bc14579783e0a/ondex-base/core/base/src/main/java/net/sourceforge/ondex/core/util/GraphLabelsUtils.java#L242

@KeywanHP @marco-brandizi  Can we add an extra filter to omit the longer names by checking its length like ?
Is there any other better way to avoid the longer names ?
Optional preFixName = cns.stream ()
.filter ( item -> item.getName ().toLowerCase ().endsWith ( name.toLowerCase () ) )
.filter ( item -> item.getName ().length () < 10 )
.sorted ( (item1, item2) -> item2.getName().length() - item1.getName().length()).findFirst();

@jojicunnunni I thought we decided to write this together later today, as a form of code review.
Yes the current version could be made more reliable via length check, I'll show this an a few other improvements. But its main problem is that, if you have XyABCD, ABCD and DEF, the initial selection is DEF instead, so the prefixed one is never picked.
That's why I prefer to optionally add a sorting criteria on the name format, I can show it later, together with a few other things.
Meanwhile, it requires unit tests, I think there is already a class that tests these functions.

@jojicunnunni, I've pushed the changes started today. The method I ended up using is slightly different than a comparator, but essentially it's the same idea have a look.
Please, write a few tests:

take AbstractGraphLabelsUtilsTest and write a new test method (eg, testSpeciePrefixGeneNames()), inspired to something like testBestLabel(). In this, use the geneConcept field (instead of c), add some names like 'ABC', 'FoABC', AB and verify it picks FoABC.
Write another variant, eg, testSpeciePrefixGeneNamesWrongPattern(), where you have 'foAbc', in place of 'FoABC', and verify it takes AB in this case (ie, it matches the right pattern for prefixed names).

Remember that tests in this module are tricky: they're defined in AbstractGraphLabelsUtilsTest, but they're actually ran in the memory module, ie, you've to first mvn install on base and then mvn install|test on memory.
After that, we need to use getBestConceptLabelWithGeneSpeciePrefix() in the Cytoscape/JSON exporter, and finally test everything with Knetminer.

This works as intended, I believe.


Faulty type definitions inside useTrackPlayerEvents hook

Describe the Bug
The type definitions of the Event element within the useTrackPlayer hook throws type errors when ever the variable is used within the handler-function.
Steps To Reproduce
Copy the code below into your project:
You should see the trying to access .type yields a typescript error
useTrackPlayerEvents([
    Event.PlaybackTrackChanged,
    Event.PlaybackState,
    Event.PlaybackQueueEnded
], async (event) => {
    switch (event.type) {
        default:
            break;
    }
});

Code To Reproduce
See above or check it out here: https://snack.expo.dev/Fn0bynZZQ
Environment Info:
react-native track-player v3 and typescript v4

Additionally I think it would be great, if there was a useTrackPlayerEvent-hook (singular), which would allow handling each type of event atomically. I find it fairly messy to handle all event within in a single hook that needs type-casts for TS to not go mad. For example see the code below, I find it fairly unreadable.
    useTrackPlayerEvents([
        Event.PlaybackTrackChanged,
        Event.PlaybackState,
    ], async (event) => {
        switch (event.type) {
            case Event.PlaybackTrackChanged:
                const { nextTrack } = (event as PlaybackTrackChangedEvent)
                // ...
                break;
            case Event.PlaybackState:
                const { state } = (event as PlaybackStateEvent)
                ...
                break;
            default:
                ...
                break;
        }
    });

I would much prefer a hook like:
useTrackPlayerEvent(
   Event.PlaybackTrackChanged,
   (event: PlaybackTrackChancedEvent) => {
      ...
   })

Perhaps I will create a feature request later

@dcvz I used the latest sem-ver release. However I also just checked 3.1.0-a126bf1ff3186f9011415132d4de8df40d187472 and it seems to work in snack.expo.dev (error is still showing locally though, might be a cache issue though).
Sorry, didn't see that there was a nightly release (I usually check the releases on GitHub only)
When is 3.1.0 expected to be released?


Add ALWAYS and NEVER macros (from SQLite)

Adds ALWAYS, NEVER, and related macros from SQLite (as linked in the code comments) to help ensure fuzzers or unit tests that reach expected-unreachable code appropriately assert. This also excludes defensive code blocks from coverage metrics.

Coverage increased (+0.5%) to 99.479% when pulling a940ebe94c25fa20056582e416288e0fd9df2559 on isaacbrodsky:always-macro into 87de60bb5c88a72b09c7c8dca0c2df4e7ac1ddef on uber:master.

This looks great, I find the macros very readable and clear. Just to confirm:
* Using the `NEVER` or `ALWAYS` macros on a branch condition will properly exclude that branch from coverage?

Yes, you can find an example here: https://coveralls.io/builds/53603547/source?filename=src%2Fh3lib%2Flib%2FdirectedEdge.c#L282

* The drop in coverage in this PR is due to the macros exposing reachable branches we had previously excluded from coverage?

Yes, I had hoped this PR would increase coverage by being able to exclude some more branches we had not marked with exclusions, but rather it exposed they are reachable, and we should cover them via unit testing.

These macros are awesome!

@isaacbrodsky, this is maybe more of a conceptual question, but what if there were a user who was risk-tolerant but very interested in performance. Would it make sense for them to want to build a release version of the library that bypasses the defensive code (like we do in the coverage build)? Is that configuration possible, or should we allow for that?
Would that provide any potential performance benefit by skipping the defensive checks?

@isaacbrodsky, this is maybe more of a conceptual question, but what if there were a user who was risk-tolerant but very interested in performance. Would it make sense for them to want to build a release version of the library that bypasses the defensive code (like we do in the coverage build)? Is that configuration possible, or should we allow for that?
Would that provide any potential performance benefit by skipping the defensive checks?

I don't think that configuration is supported here. It would be possible to eliminate some conditional checks, but I would imagine the performance gain to be modest. We could add another CMake option that controls whether those are included or not that's separate from (probably defaulted from) the coverage option.

I don't think that configuration is supported here. It would be possible to eliminate some conditional checks, but I would imagine the performance gain to be modest. We could add another CMake option that controls whether those are included or not that's separate from (probably defaulted from) the coverage option.

Makes sense. And I don't think we need to make any changes here. That was just a conceptual question.


[ci] Spot instance limits

We are hitting spot instance limits in CircleCI. I hypothesize this is due to a lot of instances running just to be in the end skipped.
A few solutions:

Do a workflow computation step along with https://circleci.com/docs/dynamic-config/, although this would redundantly have to do dependency resolution.
Bump our resources.
Some third way to cut back on resource usage could be explored.

This seems to have subsided. However, keeping this open in case we want to go back to spot instances after turning on circleci runners


传说中的Linux高手是什么样的？

https://www.v2ex.com/t/86748

arch
addtoit.com
arm.com
arm.linux.org.uk
arndb.de
atomide.com
davemloft.net
de.ibm.com
dyn-67.arm.linux.org.uk
ellerman.id.au
elte.hu
fluff.org
free-electrons.com
gentoo.org
imgtec.com
kernel.crashing.org
kernel.org
linaro.org
linutronix.de
linux-foundation.org
linux-m68k.org
linux-mips.org
linux-sh.org
linux.vnet.ibm.com
mba.ocn.ne.jp
nvidia.com
pengutronix.de
ppc970.osdl.org
pwsan.com
ravnborg.org
redhat.com
samba.org
sunset.davemloft.net
suse.de
synopsys.com
tilera.com
uclinux.org
windriver.com
zeniv.linux.org.uk
zytor.com
block
fb.com
kernel.org
lst.de
•	Vielen Linuxern der ersten Stunde wird „LST” auch heute noch ein wohlbekannter Begriff sein. 创立于 1635 年。
kernel.org
linutronix.de
•	https://linutronix.de/
•	Die Linutronix GmbH ist einer der führenden Anbieter von Dienstleistungen rund um das Thema 'Linux im industriellen Umfeld'.
•	工业环境linux发行版供应商，德国
kernel
chello.nl
•	https://www.ziggo.nl/
•	Chello is the brand of internet service provider-activities of Liberty Global Europe (formerly UGC), a provider of broadband internet access via cable in Europe, with estimated 1.3 million customers across its markets.
elte.hu
gmail.com
goodmis.org
•	http://goodmis.org/
•	Kihon is a Japanese word commonly used in the Martial Arts representing the basic or foundation of techniques. Kihon Technologies Inc was founded in 2003 by Steven and Denise Rostedt.
•	Steven Rostedt has 13 years of experience as a professional in Computer Science. Working with companies like GE, IBM, Loral, Martin Marietta, Lockheed Martin and Siemens Germany. He was employed with TimeSys porting Linux to various MIPS, PowerPC, and ARM boards as well as adapting the changes to the Linux kernel for their needs.
•	After leaving TimeSys, Steven and his wife Denise started Kihon Technologies, and, ironically, TimeSys was their first customer. After that, Steven went to work in Germany for ten months with Siemens AG, customizing the Linux Kernel for their power plant generation control units.infradead.org
kernel.org
linutronix.de
linux.vnet.ibm.com
•	VNET is an international computer networking system deployed in the mid-1970s and still in current, but highly diminished use. It was developed inside IBM and provided the main email and file-transfer backbone for the company throughout the 1980s and 1990s. Through it, a number of protocols were developed to deliver email amongst time sharing computers over alternative transmission systems.
redhat.com
rustcorp.com.au
•	http://ozlabs.org/
•	Ozlabs is a group of Australian Open Source hackers with a long and venerable tradition.
sisk.pl
•	波兰域名
xmission.com
•	http://xmission.com/
•	From its early days as a private, Utah ISP to its current role as a global business Internet provider, XMission has expanded its technical offerings to include sophisticated hosting, business telephony and high speed connectivity solutions.
zeniv.linux.org.uk
•	FILESYSTEMS (VFS and infrastructure)
•	M:  Alexander Viro<EMAIL_ADDRESS>•	L<EMAIL_ADDRESS>•	S:  Maintained
•	F:  fs/*
net
davemloft.net
gmail.com
gondor.apana.org.au
google.com
holtmann.org
intel.com
kernel.org
linux-ipv6.org
medozas.de
narfation.org
netapp.com
netfilter.org
oracle.com
perches.com
ppc970.osdl.org
redhat.com
sipsolutions.net
strlen.de
trash.net
xmission.com
zeniv.linux.org.uk
samples
plumgrid.com
•	For organizations building private and public cloud, PLUMgrid provides multi-tenancy, security, scale and performance for their cloud’s virtual network infrastructure. Through automation, ease-of-use and agility, PLUMgrid makes the complex and large-scale production clouds possible.
•	The PLUMgrid Open Networking Suite for OpenStack, featuring the unique Virtual Domains, is a distributed software suite that gives cloud operators the ability to build a scalable cloud infrastructure and offer secure, multi-tenant, advanced network services to applications and users. PLUMgrid's technology enables cloud builders to leverage existing physical infrastructure reduce the provisioning time from weeks to seconds.
security
canonical.com
I-love.SAKURA.ne.jp
•	TOMOYO SECURITY MODULE
o	Tomoyo Linux is a MAC implementation for Linux that can be used to increase the security of a system, while also being useful purely as a systems analysis tool. It was launched in March 2003 and was sponsored by NTT Data Corporation until March 2012
o	Tomoyo Linux focuses on system behavior. Tomoyo Linux allows each process to declare behaviours and resources needed to achieve their purpose. When protection is enabled, Tomoyo Linux restricts each process to the behaviors and resources allowed by the administrator.
•	M:  Kentaro Takeda<EMAIL_ADDRESS>•	M:  Tetsuo Handa<EMAIL_ADDRESS>•	L<EMAIL_ADDRESS>(subscribers-only, for developers in English)
•	L<EMAIL_ADDRESS>(subscribers-only, for users in English)
•	L<EMAIL_ADDRESS>(subscribers-only, for developers in Japanese)
•	L<EMAIL_ADDRESS>(subscribers-only, for users in Japanese)
•	W:  http://tomoyo.sourceforge.jp/
•	T:  quilt http://svn.sourceforge.jp/svnroot/tomoyo/trunk/2.5.x/tomoyo-lsm/patches/
•	S:  Maintained
•	F:  security/tomoyo/
redhat.com
tools
huawei.com
intel.com
kernel.org
linux.intel.com
redhat.com
virt
arm.com
certs
redhat.com
Documentation
baylibre.com
chromium.org
csie.org
cyberdogtech.com
darmarIT.de
ffwll.ch
free-electrons.com
glider.be
gmail.com
hmh.eng.br
ideasonboard.com
intel.com
kernel.org
linaro.org
linux-fr.org
linux.vnet.ibm.com
lwn.net
nvidia.com
oracle.com
ppc970.osdl.org
profusion.mobi
redhat.com
roeck-us.net
sisk.pl
sntech.de
suse.de
us.ibm.com
xs4all.nl
zeniv.linux.org.uk
firmware
trippelsdorf.de
•	疑似个人域名
include
arndb.de
chello.nl
cisco.com
cs.wisc.edu
•	威斯康星大学麦迪逊分校
davemloft.net
•	netdev maintainer
elte.hu
ffwll.ch
•	http://blog.ffwll.ch/
•	Currently I work at Intel OTC on the graphics team, mostly creating havoc in the kernel driver part of our stack and tightly related parts.
•
•	I have been drm/i915 kernel maintainer for a few years, but handed that all off to a great new team. Still, the official git repo I maintain is at: http://cgit.freedesktop.org/drm-intel
gmail.com
gondor.apana.org.au
goodmis.org
google.com
holtmann.org
infradead.org
•	OpenConnect is an open-source software application for connecting to virtual private networks (VPN), which implement secure point-to-point connections.
•	It was originally written as an open-source replacement for Cisco's proprietary AnyConnect SSL VPN client,[2] which is supported by several Cisco routers. As of 2013, the OpenConnect project also offers an AnyConnect-compatible server,[3] and thus offers a full client-server VPN solution.
intel.com
iogearbox.net
•	http://iogearbox.net/
•	https://github.com/borkmann
kernel.org
linutronix.de
linux.intel.com
linux.vnet.ibm.com
lst.de
metafoo.de
netapp.com
netfilter.org
opensource.wolfsonmicro.com
oracle.com
perches.com
ppc970.osdl.org
redhat.com
rustcorp.com.au
sipsolutions.net
•	https://sipsolutions.net/
•	Johannes Berg
•	Benjamin Berg
sisk.pl
strlen.de
suse.cz
suse.de
trash.net
windriver.com
xmission.com
xs4all.nl
•	XS4ALL was founded by a group of internet pioneers in 1993. Since then it has grown to become the quality internet service provider for businesses and consumers in the Netherlands. XS4ALL stands for excellent service, secure, high-quality internet services and social engagement.
zeniv.linux.org.uk
ipc
bull.net
colorfullife.com
gmail.com
hp.com
openvz.org
parallels.com
•	Parallels Inc., a global leader in cross-platform solutions, makes it simple for customers to use and access the applications and files they need on any device or operating system. We help businesses and individuals securely and productively use their favorite devices and preferred technology, whether it’s Windows®, Mac®, iOS, AndroidTM, Chromebook, Windows Phone, Linux, Raspberry Pi or the Cloud. Parallels solutions enable seamless delivery of virtual desktops and applications to any device, running Windows on a Mac, Mac management with Microsoft SCCM, and remote access to PCs and Mac computers from any device. Parallels has offices in North America, Europe, Australia and Asia.
ppc970.osdl.org
redhat.com
stgolabs.net
•	http://blog.stgolabs.net/
•	https://github.com/davidlohr
us.ibm.com
xmission.com
zeniv.linux.org.uk
lib
gmail.com
gondor.apana.org.au
•	Debian，the Apache HTTP server project
•	CRYPTO API
•	M:  Herbert Xu<EMAIL_ADDRESS>•	M:  "David S. Miller"<EMAIL_ADDRESS>•	L<EMAIL_ADDRESS>•	T:  git git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
•	T:  git git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git
•	S:  Maintained
•	F:  Documentation/crypto/
•	F:  Documentation/devicetree/bindings/crypto/
•	F:  arch//crypto/
•	F:  crypto/
•	F:  drivers/crypto/
•	F:  include/crypto/
•	F:  include/linux/crypto
kernel.org
ppc970.osdl.org
•	The PowerPC 970, PowerPC 970FX, PowerPC 970GX, and PowerPC 970MP, are 64-bit Power Architecture processors from IBM introduced in 2002. When used in Apple Inc. machines, they were dubbed the PowerPC G5.
rasmusvillemoes.dk
•	.dk 域名为丹麦 (Denmark) 国家及地区顶级域
•	疑似个人开发者
windriver.com
•	风河，嵌入式行业重要供应者
zeniv.linux.org.uk
mm
cmpxchg.org
•	CONTROL GROUP (CGROUP)
•	M:  Tejun Heo<EMAIL_ADDRESS>•	M:  Li Zefan<EMAIL_ADDRESS>•	M:  Johannes Weiner<EMAIL_ADDRESS>•	L<EMAIL_ADDRESS>•	T:  git git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git
•	S:  Maintained
•	F:  Documentation/cgroup*
•	F:  include/linux/cgroup*
•	F:  kernel/cgroup*
•
•	CONTROL GROUP - MEMORY RESOURCE CONTROLLER (MEMCG)
•	M:  Johannes Weiner<EMAIL_ADDRESS>•	M:  Michal Hocko<EMAIL_ADDRESS>•	M:  Vladimir Davydov<EMAIL_ADDRESS>•	L<EMAIL_ADDRESS>•	L<EMAIL_ADDRESS>•	S:  Maintained
•	F:  mm/memcontrol.c
•	F:  mm/swap_cgroup.c
google.com
kernel.org
lge.com
•	http://www.lg.com/cn
•	LG，是家总部位于韩国首尔的跨国企业集团，主要经营范围包括电子与信息通信、家电和化学三大领域，旗下拥有 81 家集团企业
linux.intel.com
sgi.com
•	http://www.sgi.com/
•	SGI, Silicon Graphics International Corp., was originally founded as Silicon Graphics Inc. in the early 1980s by Jim Clark, a former Stanford University Professor, and a group of his Stanford graduate students. Clark was initially focused on developing a powerful semiconductor chip (called the Geometry Engine) that would allow small computers to produce sophisticated three-dimensional graphics. The idea was revolutionary because before this, graphics simulations were often (if not only) done on large mainframe computers.
suse.com
suse.cz
suse.de
scripts
canonical.com
gibson.dropbear.id.au
•	Dropbear is a full service startup development warehouse and incubator environment. We are a team of internet entrepreneurs, developers, designers and search marketing professionals that have the skill set to take an idea from paper and produce results thus turning an idea into reality.
•	Dropbear is a technical hub built on transparency, honesty and trust; not only do we continually develop our own products, we can also work with you to realize success for your business or startup.
gmail.com
jp.panasonic.com
•	日本松下
kernel.org
linux-m68k.org
•	http://www.linux-m68k.org/
•	Linux/m68k is the port of the Linux operating system to run on systems using Motorola's 68020, 68030, 68040 and 68060 microprocessors. Linux/m68k, like other Linux ports, is source compatible with Linux on other platforms.
mars.ravnborg.org
perches.com
•	Perch, makers of the clever do-it-yourself home monitoring software that repurposes old smartphones as security cameras, announced it has been acquired by Samsung Electronics yesterday.
ppc970.osdl.org
ravnborg.org
shadowen.org
socionext.com
•	Socionext is a new, innovative enterprise that designs, develops and delivers System-on-Chip products to customers worldwide. The company is focused on imaging, networking and computing that drive today’s leading-edge applications. Socionext combines world-class expertise, experience, and an extensive IP portfolio to provide exceptional solutions and ensure a better quality of experience for customers.
suse.cz
sound
gmail.com
intel.com
ladisch.de
•	https://ladisch.de/
•	openSUSE
metafoo.de
•	https://github.com/metafoo
•	ANALOG DEVICES INC ADV7180 DRIVER
•	M:  Lars-Peter Clausen<EMAIL_ADDRESS>•	L<EMAIL_ADDRESS>•	W:  http://ez.analog.com/community/linux-device-drivers
•	S:  Supported
•	F:  drivers/media/i2c/adv7180.c
•
•	ANALOG DEVICES INC ASOC CODEC DRIVERS
•	M:  Lars-Peter Clausen<EMAIL_ADDRESS>•	L<EMAIL_ADDRESS>(moderated for non-subscribers)
•	W:  http://wiki.analog.com/
•	W:  http://ez.analog.com/community/linux-device-drivers
•	S:  Supported
•	F:  sound/soc/codecs/adau*
•	F:  sound/soc/codecs/adav*
•	F:  sound/soc/codecs/ad1*
•	F:  sound/soc/codecs/ad7*
•	F:  sound/soc/codecs/ssm*
•	F:  sound/soc/codecs/sigmadsp.*
•
•	ANALOG DEVICES INC DMA DRIVERS
•	M:  Lars-Peter Clausen<EMAIL_ADDRESS>•	W:  http://ez.analog.com/community/linux-device-drivers
•	S:  Supported
•	F:  drivers/dma/dma-axi-dmac.c
•
•	ANALOG DEVICES INC IIO DRIVERS
•	M:  Lars-Peter Clausen<EMAIL_ADDRESS>•	M:  Michael Hennerich<EMAIL_ADDRESS>•	W:  http://wiki.analog.com/
•	W:  http://ez.analog.com/community/linux-device-drivers
•	S:  Supported
•	F:  drivers/iio//ad
•	F:  drivers/iio/adc/ltc2497*
•	X:  drivers/iio//adjd
•	F:  drivers/staging/iio//ad
•	F:  drivers/staging/iio/trigger/iio-trig-bfin-timer.c
opensource.wolfsonmicro.com
•	The community open-source website for Wolfson Microelectronics
•	Started in 1984 by David Milne and Jim Reid. Within a year the company had 20 employees and a deal with Fujitsu. Wolfson grew and floated on the London Stock Exchange in 2003 and be listed in the FTSE 250.
•	Both Milne and Reid had connections with the University of Edinburgh; Reid attained a First Class Honours degree in EEE, and Milne directed the Wolfson Microelectronics Institute at King's Buildings from 1973 to 1985.[2] In February, 2007, when Milne chose to step down, he was replaced in his CEO role by Dave Shrigley, previously Vice-President at Intel Corporation. His departure was one of a number of executive changes in late 2006, as Financial Director George Elliott also stood down.
perex.cz
•	The home of the leader of the advanced Linux sound architecture
ppc970.osdl.org
renesas.com
•	瑞萨电子，全球领先的半导体解决方案供应商瑞萨电子株式会社（TSE：6723）
sakamocchi.jp
•	Ubuntu 日本团队
suse.de
ti.com
•	德州仪器 http://www.ti.com/
•	As a global semiconductor company operating in 35 countries, Texas Instruments (TI) is first and foremost a reflection of its people. From the TIer who unveiled the first working integrated circuit in 1958 to the more than 30,000 TIers around the world today who design, manufacture and sell analog and embedded processing chips, we are problem-solvers collaborating to change the world through technology.
virginia.edu
•	http://virginia.edu/
•	弗吉尼亚大学（The University of Virginia）简称为 UVA，州立大学
usr
linux.vnet.ibm.com
mars.ravnborg.org
ppc970.osdl.org


How to keep Neotree open when press <Esc> to cancel window-picker selection.

As title. I'm from https://github.com/nvim-neo-tree/neo-tree.nvim/issues/221. The current behavior is that the neo-tree will get closed.

You can set close_floats_on_escape_key = false in your config and then use q to close instead.

@cseickel: Is it possible to map the behavior to <Esc> instead of q?

The q mapping should work regardless of whether close_floats_on_escape_key is true or false. Is it possible you have mapped q to something else in your config?

I just removed my mapping(I mapped it to none). But after that, I tried q and still got the same result: it closed the floating neo-tree.

I am very confused. The goal is to close Neo-tree with q, but not when you press <Esc>, isn't it? If so, this should do it:
  require('neo-tree').setup({
    close_floats_on_escape_key = true,
    -- You can control the `q` mapping at the global level
    window = {
      mappings = {
        ["q"] = "close_window",
      },
    },
   -- OR you can apply it for the "filesystem" source specifically
    filesystem = {
      window = {
        mappings = {
          ["q"] = "close_window",
        }
      },
    }
  })

Just don't map q to "none", because that will disable it entirely.

@cseickel:

[...] The goal is to close Neo-tree with q, but not when you press , isn't it? [...]

Not exactly. During the selection of the window-picker(those purple statuslines got shown) and press whatever(both q and <Esc> are OK) to cancel the selection and back to the neo-tree. But the neo-tree got closed in the demo below.
https://user-images.githubusercontent.com/24765272/163840677-9fb97bbd-9446-46c6-a961-f36a56c946f5.mov

OK, but what I was trying to say is that if you use <Esc> to cancel the window selection, but <Esc> also closes the window, then the solution is to make it so that <Esc> does not close the neo-tree window. Does this work correctly when close_floats_on_escape_key = false is set?

I always set close_floats_on_escape_key = false on every try. The following all have the same result:

<Esc> to none
<Esc> not set in the mappings
Either 1. or 2. combined with either q not set or q set to none.

I'm not sure where else to go with this. When I initiate the window picker and then hit Esc to cancel, it never closes the floating neo-tree window, no matter what my neo-tree settings are.
Maybe I'm misunderstanding. Can you give me a play by play of every key press so I can be sure I am testing the right thing?

@cseickel:
https://user-images.githubusercontent.com/24765272/163900172-861ae4bb-b4e6-4b47-b629-51c76cbc600c.mov

@nyngwang Sorry to just ignore this. The problem is that this doesn't happen for me at all. When I activate the window picker and then hit escape to cancel, it doesn't close my neo-tree window, even if Escape is currently configured to close it. This might be something that is unique to your config.

@cseickel: Probably because I was using position = 'float'. Anyway I have changed to use 'left'.

@nyngwang I'm sure it can't happen without using a float position, but I did actually try it with a floating window and still did not experience the issue.
This means it was probably something unique to your setup. If you are no longer using it in a way that causes this problem, I'll just close it.


DSR 3.0 Bugfix: Approved -> Failed Privacy Requests Don't Change Status

Closes #PROD-2005
Description Of Changes
Specifically, if manual request approval is required and the privacy request fails, the Privacy Request can get stuck in an approved state.  While I tested the "manual request approval" flag in development, the large majority of the "error" testing was done with no approval required.  Good find by Roger!
Code Changes

[ ]  Update the existing polling task that checks for Privacy Requests whose sub-tasks have all had a chance to run, but some are errored, and transitions the Privacy Request to "Error" to also look for the "Approved" status.
👉  Privacy Requests that are in-flight are expected to be in a "In-Processing" or "Approved" status, and I was only covering the first case.

Steps to Confirm

Setup DSR 3.0 and require manual request approval. The worker doesn't specifically need to be running here, you don't need parallelization to hit this case.

[execution]
require_manual_request_approval = true
use_dsr_3_0 = true

nox -s dev -- shell postgres
cd fides/clients
turbo run dev
Add a postgres integration in the frontend with a bad secret.
Submit a Privacy Request through the Privacy Center.
Previously, this would hang indefinitely in Approved.  Now, this will hang briefly, but at the next poll, (check your terminal), you should see something like:

“Polling for privacy requests awaiting errored status change”
Marking access step of pri_f1433833-31ed-4d6f-b5d9-e415f1e18b1a as error

This will mark the Privacy Request as errored.
Fix the secret
Reprocess the privacy request
It should complete

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
Documentation (not needed)
[x] Issue Requirements are Met
[x] Relevant Follow-Up Issues Created
[x] Update CHANGELOG.md

Verified the privacy request status is set to Approved and that the job detects the errored request

2024-04-29 08:51:42 2024-04-29 15:51:42.991 | DEBUG    | fides.api.service.privacy_request.request_service:poll_for_exited_privacy_request_tasks:190 - Polling for privacy requests awaiting errored status change
2024-04-29 08:51:43 2024-04-29 15:51:43.021 | INFO     | fides.api.service.privacy_request.request_service:poll_for_exited_privacy_request_tasks:233 - Marking access step of pri_f32ab96e-05a7-420f-abe9-0cd745d84014 as error

Reprocessed successfully!

I also verified that the request goes to error if the integration isn't fixed but the request is reprocessed.

Thank you for your review @galvana ⭐


proto: Rename DomainType trait to Protobuf

As discussed on our call yesterday, and towards fulfilling #654, in this PR I've:

Renamed the DomainType trait to Protobuf to clarify its purpose.
Kept it in the tendermint-proto crate, because it makes the most sense there.
Added a testable example of how to make use of the trait.

[x] Referenced an issue explaining the need for the change
[x] Updated all relevant documentation in docs
[x] Updated all code comments where relevant
[x] Wrote tests
[x] Updated CHANGELOG.md

Codecov Report

Merging #672 (3b2edd9) into master (0ad5f50) will not change coverage.
The diff coverage is 78.3%.

@@          Coverage Diff           @@
##           master    #672   +/-   ##
======================================
  Coverage    39.5%   39.5%
======================================
  Files         183     182    -1
  Lines       12871   12871
  Branches     2943    2943
======================================
  Hits         5095    5095
  Misses       7528    7528
  Partials      248     248

Impacted Files
Coverage Δ

proto/tests/unit.rs
88.3% <ø> (ø)

tendermint/src/account.rs
80.2% <ø> (ø)

tendermint/src/block.rs
15.5% <ø> (ø)

tendermint/src/block/header.rs
89.0% <ø> (ø)

tendermint/src/block/height.rs
67.2% <ø> (ø)

tendermint/src/block/id.rs
73.6% <ø> (ø)

tendermint/src/block/parts.rs
68.5% <ø> (ø)

tendermint/src/block/size.rs
0.0% <ø> (ø)

tendermint/src/chain/id.rs
70.7% <ø> (ø)

tendermint/src/consensus/params.rs
0.0% <ø> (ø)

... and 17 more

Continue to review full report at Codecov.

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


Fix Easychair link for OLS-3

Not sure if I've understood this right, but I thought the "Easychair" links on this page would take me to Easychair, but they both seem to go back to https://openlifesci.org/ instead — is that right?

Good spot, @jezcope and thankyou! 🌷


Having trouble logging in

I'm having trouble logging into the firebase app using github. It authenticates but I still cant get in

I just tried to log in now and it succeeded

I'm not sure why it's not working for me, its been going on for like a week now

@Nedu we stopped to use/support the web app a long time ago for several reasons, and one of them is because students frequently were having problems like yours.
We are now suggesting students to use Trello to track their progress. You can see more about it here.
If you have any doubt don't hesitate to ask.

HALO,
Am also finding problem with finding what to read, i registered for
computer science
Any help will be useful
Thanks
On Wed, Apr 5, 2017 at 5:40 PM, Eric Douglas<EMAIL_ADDRESS>wrote:

@Nedu https://github.com/Nedu we stopped to use/support the web app a
long time ago for several reasons, and one of them is because students
frequently were having problems like yours.
We are now suggesting students to use Trello to track their progress. You
can see more about it here
https://github.com/open-source-society/computer-science#how-to-track-and-show-your-progress
.
If you have any doubt don't hesitate to ask.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/open-source-society/computer-science/issues/395#issuecomment-291882716,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZjFkFvaz8gk5bgNX94lcn89pGccuuOqks5rs6f1gaJpZM4Mz9QT
.

Helllo @199522,
please read the   @ericdouglas comments.
"@Nedu we stopped to use/support the web app a long time ago for several reasons, and one of them is because students frequently were having problems like yours.
We are now suggesting students to use Trello to track their progress. You can see more about it here.
If you have any doubt don't hesitate to ask."


Ability to test go-langserver homebrew formula

As described in Add a test to the formula section, we need to add a basic test to make sure homebrew formula is successfully built and working. Ideally, would be nice to pass some file with HTTP messages as program's input and compare the output with the expected one. Some flag that returns 0 exit code is fine too.
I need it to complete I can install the Go LSP on my Mac using Homebrew
CC @mejamiewilson

@alexsaveliev you can replicate this test with a bit of bash and netcat. https://github.com/sourcegraph/go-langserver/blob/master/langserver/integration_test.go

@keegancsmith thanks, made it (#44)!
Note to self:

have a delay after sending initialize and before sending exit requests, otherwise you may see no data in stdio mode


Lack of Support for Viewing Content in Dark Mode for Black Theme or Plugins

At present, there is no available method or plugin support to view content in dark mode when using the Black theme in the VS Code extension. This limitation makes it difficult to work efficiently, especially for users who prefer or are accustomed to dark-themed environments, as the content appears unreadable or visually straining.
I would like to request the addition of a dark mode support feature or a compatible plugin that enhances the visibility of content while using the Black theme. The feature should ensure that text and UI elements are clearly distinguishable and easy to read, while maintaining the overall aesthetics of a dark mode environment.

Hi @dariopiyush. There is an option on the extension settings to change the color scheme.


Request URL removed when request is duplicated

Expected Behavior
I have created a request that is working fine and now I want to try something different with it, instead of modifying this one I duplicate it and modify the duplicate one with whatever other use case I want to target.
Both the original and the copy should work as expected.
Actual Behavior
The copy works just like the original did, it's exactly the same as expected. But the original request has now lost the URL, as in the url field is now empty. So I now have to go to the duplicate and copy the url and past it in the original.
Reproduction Steps

Create a request with the usual stuff, url, some headers, perhaps a body if necessary, etc
Duplicate the above request
Observe the duplicate contains all the fields from the original
Inspect the original request and notice it's missing it's url

Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
Duplicate used to work just fine, it's a regression introduced a few weeks ago.
Insomnia Version
2022.3.0
What operating system are you using?
macOS
Operating System Version
macOS Monterey 12.3.1
Installation method
Download from insomnia.rest
Last Known Working Insomnia version
Unsure

Hi @LunaticoCR, thank you for reporting this!
I'm not able to reproduce following your exact steps, neither when dealing with brand new requests on a Design Document nor a Request Collection.

The closest issue I remember being similar to this was https://github.com/Kong/insomnia/issues/3453 (which as a pending PR https://github.com/Kong/insomnia/pull/3804), but I'm not sure it's exactly the same you describe.
Are you able to share a collection or screenshots/video recording of this happening to you?

Hi @filfreire thanks for looking into this!
I see what you mean, I also couldn't reproduce it on a new collection. So maybe there's something in my collection that triggers this issue?  It's a really big collection with several environments and plenty of variables. Unfortunately it has loads of sensitive information so I can't share it. However I've copied one of the folders that doesn't have any sensitive information over to a new workspace and then exported that, I then reimported it and was able to reproduce.
Here's a video of the issue:
https://user-images.githubusercontent.com/2124383/167632357-46ffea09-27d2-45ac-980d-bfcc68c9d934.mov
To reproduce this yourself you can import this collection:
Insomnia_2022-05-10.json.zip
Then do the following:

Expand the Acl folder
Select the last request "Is Member of Acl? (admin for user3)" and notice it has a url
Press Cmd+D to duplicate
Click create (leave the request name the same)
Notice the new request has a url
Select the previous request and notice it now has no url

I hope this helps!

Cmd+D is mapped to Duplicate Request but also "Delete line under the cursor" so if your cursor is still in the url bar its deletes the line when you duplicate.
https://defkey.com/codemirror-shortcuts

My workaround was change the shortcut to Cmd+Shift+D

Hi folks, quick update, @gatzjames has given a shot at fixing it with https://github.com/Kong/insomnia/pull/4917 and https://github.com/Kong/insomnia/pull/4937
We'll update you here once a definitive fix is merge. In the meantime feel free to report any other issues! 🙇

Changing the shortcut to Cmd+Shift+D is great, but is there any progress on this issue?
I'm sure new users are going to have a hard time figuring out why the duplicate dialog deletes there request URL at the same time.

Hi everyone!
I was trying to duplicate some requests today and found the same bug when using CTRL + D. So I have tested it and found another bug regarding the same shortcut issue. When in the editor, clicking CTRL + D will delete the line where the cursor was set before and if a text block is selected, the whole block will be deleted when the shortcut is pressed.
Like @hunterwilhelm said, is there any progress by now?


Delete validate.async

validate and validate.async do the same thing. So validate  should return a Promise that is resolved if the validation passes and is rejected if the validation failed.

I want a non promise version since not everyone will want to code as if it was async.


Wrong severity mapping for native semgrep JSON parser

https://github.com/DefectDojo/django-DefectDojo/blob/612a0f682ae0a4e007196de4f438782464b3ae3d/dojo/tools/semgrep/parser.py#L67
I think this is really wrong, WARNING level should be the same as the SARIF level https://docs.oasis-open.org/sarif/sarif/v2.0/csprd02/sarif-v2.0-csprd02.html#_Toc10127839
And this should be Medium in my opinion... or High, and ERROR should be Critical, this is all very weird to me
@damiencarol let me know what you think ? I haven't tried to ingest SARIF yet but I think it would reflect issues better

IMO we should make the following changes:

Change SARIF "error" mapping to "High" from "Critical"
Change Semgrep "WARNING" mapping to "Medium" from "Low".

That would ensure both Semgrep/Sarif map High/Medium to the same severity values in DefectDojo

PR submitted: https://github.com/DefectDojo/django-DefectDojo/pull/6508

@Gby56 The issue can be closed


Add version: Keboola.KeboolaCLI version 2.2.1

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[X] Does your manifest conform to the 1.2 schema?

Microsoft Reviewers: Open in CodeFlow

@wingetbot run

@wingetbot waivers Add Validation-Executable-Error


Not working on iOS, can not connect with the device on iOS!

I have been trying to connect it an Epson Thermal Printer, the library works awesome with the android app, but I am not able to make it work with the iOS device.

May I know what is problem?
发自我的 iPhone

在 2019年1月2日，下午12:10，Shivansh Rajpoot<EMAIL_ADDRESS>写道：
I have been trying to connect it an Epson Thermal Printer, the library works awesome with the android app, but I am not able to make it work with the iOS device.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

You need to check the device address
发自我的 iPhone

在 2019年1月2日，下午2:23，Shivansh Rajpoot<EMAIL_ADDRESS>写道：
When I try to scan it lists a lot of devices with UNKNOWN name, so can not find which one is mine, even when I try to connect it with correct device, I am not able to print with it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

What device address are you referring to?
Could please help me out running it on iOS?

Em.... unknown device name because no name provided from the device, actually I don’t know the reason in detail. Have you got any idea? Or can you provide more about the device you are working with?
发自我的 iPhone

在 2019年1月2日，下午3:44，Shivansh Rajpoot<EMAIL_ADDRESS>写道：
What device address are you referring to?
Could please help me out running it on iOS?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I'm using an Epson TM-P20 Direct Thermal Printer - Monochrome - which is listed with proper name and pairing with the app on android, but on iOS everything breaks and example app does not even build for iOS on Xcode, can you check why is it not building on iOS?

I can build , what build issue your facing?
发自我的 iPhone

在 2019年1月2日，下午11:35，Shivansh Rajpoot<EMAIL_ADDRESS>写道：
I'm using an Epson TM-P20 Direct Thermal Printer - Monochrome - which is listed with proper name and pairing with the app on android, but on iOS everything breaks and example app does not even build for iOS on Xcode, can you check why is it not building on iOS?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

When I try ti build the example on Xcode it shows 'React/RCTBundleURLProvider.h' file not found', when i google for this error, and follow the instructions, new header file errors come up, could not find why is this happening? In the scheme for Build it lists three dependencies :- 1. React(missing), 2. bluetoothEscposPrinterExamples, 3. examplesTest(missing). Please provide an updated example if possible with latest ReactNative Version.

Upgraded the example to latest version using react-native-git-upgrade, stuck on 'RCTSubtractionAnimatedNode.h' file not found'.

That should not be the problem of this plugin, plz double check the upgrade guide of RN.
发自我的 iPhone

在 2019年1月3日，下午1:02，Shivansh Rajpoot<EMAIL_ADDRESS>写道：
Upgraded the example to latest version using react-native-git-upgrade, stuck on 'RCTSubtractionAnimatedNode.h' file not found'.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Please update the example for the latest version.
Also when I am using the code on a new RN project it does not connect at all, the app crashes when I tap on any row in the list!

@januslo are you able to help me out with this as I'm not able to connect with the printer on iOS?

"filtering only for specific uuid characteristics while searching" would return nothing, i have tried that before.

RNBluetoothEscposPrinter requires main queue setup since it overrides contantsToExport but doesn't implement requiresMainQueueSetup.
this should be a problem, will fix it as long as i got time to it.

RNBluetoothEscposPrinter requires main queue setup since it overrides contantsToExport but doesn't implement requiresMainQueueSetup.
this should be a problem, will fix it as long as i got time to it.

App crashes every time I try to connect with any device listed.

@januslo are you able to help me out with this as I'm not able to connect with the printer on iOS?
Are you able to see device's BT address on iOS as it lists only UUIDs on the iOS!
DEVICE_FOUND_EVENT only returns
{
device:
             {
                 address: "9DA2BF7F-1C4F-6B54-4297-C758C945B7E2"
                 name: "LSBand2"
             }
}

Also can you provide filtering only for specific uuid characteristics while searching?

Sorry? what is BT address? I see the UUIDs would be the same thing of the BT address, am i right? Hmmm... I am using that UUID to connect the device and success, you's the problem you meat ? I don't really know what are you talking about actually.

it perfectly work with my device , I can see the name, the uuids as address, connect  and print normally , so if crash, plz show me you crash report so that i can do more test

it perfectly work with my device , I can see the name, the uuids as address, connect and print normally , so if crash, plz show me you crash report so that i can do more test

Okay let me just create a crash report for you.

Could you specify which version of Xcode and iOS are you using?
Also the build system on the Xcode?

I have update my iOS code and demo (the part of scan function),you may have a check.
For the building issue, using legacy build would be my choice since we just update to Xcode 10 and still lots things to be adjust for that.
For the UNKNOWN name issue, you may have a check about here: https://stackoverflow.com/questions/45908137/corebluetooth-to-fetch-device-names-using-swift
I really don't know whether need to filter those empty data currently, or you may do that in your js code.
Besides, I have add a NSTimer to stop scanning to prevent scan executes infinity.

Thanks for the update!! Really appreciate your help! Will update yoi after testing and will close the issue asap!

besides , here is a part of package.json of the project i am woking with, you can see i am working with RN 0.57.1,  in the other hand, I have test with 0.57.8 as well:
 "dependencies": {
    "@januslo/react-native-wechat": "git+https://github.com/januslo/react-native-wechat.git",
    "mtils": "^2.0.3",
    "react": "^16.3.1",
    "react-native": "^0.57.1",
    "react-native-bluetooth-escpos-printer": "0.0.4",
    "react-native-camera": "^1.2.0",
    "react-native-check-box": "^2.1.3",
    "react-native-deprecated-custom-components": "^0.1.2",
    "react-native-fs": "^2.11.17",
    "react-native-image-picker": "^0.27.2",
    "react-native-local-barcode-recognizer": "0.0.2",
    "react-native-permissions": "^1.1.1",
    "react-native-picker": "^4.3.7",
    "react-native-qrcode-svg": "^5.1.1",
    "react-native-render-html": "^3.10.0",
    "react-native-splash-screen": "^3.1.0",
    "react-native-svg": "^6.5.2",
    "react-native-svg-charts": "^5.2.0",
    "react-native-swiper": "^1.5.13",
    "react-native-tab-navigator": "^0.3.4",
    "react-native-view-shot": "^2.5.0",
    "react-transform-hmr": "^1.0.4"
  },
  "devDependencies": {
    "babel-core": "6.26.3",
    "babel-jest": "23.4.2",
    "babel-preset-react-native": "4.0.0",
    "jest": "23.5.0",
    "react-devtools": "^3.3.3",
    "react-test-renderer": "16.0.0-alpha.6",
    "schedule": "^0.4.0"
  },

hmmmmm.... actually , I can just start a RN plugin project for that, it's not a complex job .

@januslo
I using react-native 0.52.0
printer- Mini termal printer
ESC-POS function to print.
I m getting stuck couple of weeks to print data in iOS. bluetooth scaling and pairing everything working perfectly.
after pairing success printText("Hello World") function. printer not responding(Printer mode is ON, No other devices is connected).

Code

      BluetoothManager.connect(9DA2BF7F-1C4F-6B54-4297-C758C945B7E2)
              .then((s) => {
                this.setState({
                  loading:false,
                  boundAddress:row.address,
                  name:row.name || "UNKNOWN"
              }, async () => {

                 await  BluetoothEscposPrinter.printText("Hello World\n\r",{
                     encoding:'GBK',
                     codepage:0,
                     widthtimes:3,
                     heigthtimes:3,
                     fonttype:1
                });

                     } )
              },(e)=>{
                  this.setState({
                      loading:false
                  })
                  alert(e);
              })

Help Me...!!

@FazilMuhammed @januslo somehow if you use the following code in iOS, then things are not working. So I have to remove it and things are working just fine.
await BluetoothEscposPrinter.printText(
    'Some Text',
    {// This parameter breaks iOS
      encoding: 'GBK',
      codepage: 0,
      widthtimes: 3,
      heigthtimes: 3,
      fonttype: 1,
    },
  );

@livingmine Can you share your code please.did you remove all parameters ??

@FazilMuhammed Yes, remove all parameters, all i have left is just the text to print. Something like this:
await BluetoothEscposPrinter.printText(     'Some Text',     {}   );

@livingmine Still also I cannot print in IOS, removed all parameters you said.any other solutions. only I need to print in IOS

any solution for this solution? I am also unable to pair Epson TMP20 on iOS


first pull

Very good issue , very very good issue !

lol ....i can understand your issue.

Smart Boi !


Feature: UI improvement of GitHub Contributor Comparison

Is your feature request related to a problem? Please describe.
we can enhance the ui of the GitHub Contributor Comparison , like the selection field is too long , and the width of the submit button is also more.
Describe the solution you'd like
i can improve the ui of this section so that it will look good and clean. So please assign this work to me.
Describe alternatives you've considered

Additional context

@sanjay-kv Sir i can work in this


inconsistent agent answer

System Info
i'm using newest langchain, python 3
so i try agent but got inconsistent answer, this is the output

the true answer is "Jalan lori tidak termasuk jalan umum". i try using retrieval with prompt without agent and got true answer too. so sometimes agent has inconsistent answer. how to prevent this?
Who can help?
No response
Information

[ ] The official example notebooks/scripts
[ ] My own modified scripts

Related Components

[ ] LLMs/Chat Models
[ ] Embedding Models
[X] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[X] Agents / Agent Executors
[X] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
i put example code below
my Agent Prompt

How To Call my Agent
agent_executor = initialize_agent(
        tools,
        llm,
        agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
        verbose=True,
        handle_parsing_errors=True,
        return_direct=True,
        agent_kwargs={
            'prefix':constant.PREFIX,
            'format_instructions':constant.FORMAT_INSTRUCTIONS,
            'suffix':constant.SUFFIX
        }
    )
    result = agent_executor.run(question)
    return result

Expected behavior
got true answer same with the documents

im using 0.251 version.
This is my current prompt
PREFIX = """Imagine you are a government employee responsible for ensuring compliance with government regulations and procedures. He is in charge of compiling, managing and updating the regulatory manual so that it is always relevant to the latest regulatory changes. Andi needs to ensure that the manual is easy to understand and accessible to all parties involved in carrying out their duties. dont try looking for answer to the website / internet. if you dont get the answer just give result 'Saya tidak tahu'. when looking for answer, you should access tools below:"""

FORMAT_INSTRUCTIONS = """use format like this:

Question: the input question you must answer
Thought: you should always think about what to do
Action: the action to take, should be one of [{tool_names}]
Action Input: the input to the action, should not search through internet. just use available tools
Observation: the result of the action
... (this Thought/Action/Action Input/Observation can repeat N times)
Thought: I now know the final answer
Final Answer: The final answer to the original input question. if on final answer have URL/Markdown just show it (dont try to remove special characters on Markdown). add source document when return the answer. source document from selected tool name."""

SUFFIX = """Begin!

Question: {input}
Thought:{agent_scratchpad}"""

how i put refining prompt to agent?


Config changes to reflect the default branch from master to main. Please merge to complete the default branch renaming job.

Auto branch renaming content.

Docs Build status updates of commit a2a50c4:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

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


resize when use apple pencil

There is an issue with apps that use PDF Viewer and Apple Pencil simultaneously.
When the pencil is activated, the PDF area is resized. This problem can be solved by giving "resizeToAvoidBottomInset: false" option inside Scaffold widget.
We request a change to include the resizeToAvoidBottomInset item when using the package.

@kaichii


KPI page

Closes https://github.com/united-manufacturing-hub/MgmtIssues/issues/1613

I assume this can be closed?

See https://github.com/united-manufacturing-hub/umh.docs.umh.app/pull/242


sensors connectivity package ver 0.1 in airapkgs and aira image

First release of sensors-connectivity repo with COM-port data reading example of source code. Testing with air pollution sensor NOVA PM sds011.

https://github.com/airalab/sensors-connectivity/pull/1 done , but should we add this package in airapkgs ? @PavelSheremetev @Vourhey @akru

I think it's no a problem to create a nixos service for the package. Enabling/Disabling the service would be as easy as:
services.connectivity.enable = true;

assuming we use default settings. And more advanced usage is
services.connectivity.enable = true;
services.connectivity.config = ''
  general:
    port: "/dev/ttyUSB0"  # COM port of the device
    read-interval: 300    # time between two measurements in seconds
    geo: ""               # Geo coordinates as latitude,longitude
  luftdaten:
    enable: true          # whether or not publish to https://luftdaten.info/
  robonomics:
    enable: true          # enable use of Robonomics Network
    result: true          # publish Result message
    demand: false         # publish Demand message
    model: ""             # Agent's model (IPFS hash)
    token: ""             # Ethereum address of ERC20 token
    lighthouse: ""        # Name of lighthouse, e.g. airalab.lighthouse.5.robonomics.eth
    validator: "0x0000000000000000000000000000000000000000"
    validatorFee: 0
  datalog:
    enable: false         # enable use of Datalog Robonomics subcommand
    path: ""              # path to Robonomics execution file
    suri: ""              # private key of publisher account
    remote: "wss://substrate.ipci.io"
    dump-interval: 3600   # time between two transactions in seconds
  dev:
    sentry: ""
'';


Add default params_to_tune for DateFlagsTransform, TimeFlagsTransform, SpecialDaysTransform, FourierTransform

Before submitting (must do checklist)

[x] Did you read the contribution guide?
[x] Did you update the docs? We use Numpy format for all the methods and classes.
[x] Did you write any new necessary tests?
[x] Did you update the CHANGELOG?

Proposed Changes
Look at #1221.
Closing issues
Closes #1221.

Codecov Report

:exclamation: No coverage uploaded for pull request base (automl-2.0@1303b33). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head be71e19 differs from pull request most recent head 28ee830. Consider uploading reports for the commit 28ee830 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff              @@
##             automl-2.0   #1228   +/-   ##
============================================
  Coverage              ?   7.69%
============================================
  Files                 ?     177
  Lines                 ?   10609
  Branches              ?       0
============================================
  Hits                  ?     816
  Misses                ?    9793
  Partials              ?       0

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


fix(error): display 500 server error when the api is not healthy (DEV-475)

resolves DEV-475

@mdelez wait with the review... these changes needs latest version of js-lib


add debug builds, asan and code coverage

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:


"axis" in Softmax changes by the description method in Keras.

I found the strange behavior when convert the keras model which includes softmax layer to onnx.
The axis in Softmax is different evenif same model, only difference is how to set activation in keras.
According to Keras Documentation, there are 2 ways to set activation function as follows.
2 lines description
model.add(Dense(64))
model.add(Activation('softmax'))

or
1 line description
model.add(Dense(64, activation='softmax'))

These should be same model. But, conversion results are different as follows.

"2 lines description" -> axis is set to -1.
"1 lines description" -> axis is set to 1.

I guess that this is due to how to call "apply_softmax" function.
When we use "2lines description" model, it seems apply_softmax is called in "activation.py".
In this case, arguments for axis is "-1" in "activation.py".
But, when use we use "1 line description" model, apply_softmax seems that it is called by "dense.py"
In this case, there is no arguments for axis. then, the parameter will use Defalut value(axis=1) in apply_softmax.
I'm not sure which is correct value, but, this should be same.

checked in PR which set axis=-1 in apply_softmax (default for keras). This should resolve the issue.

@jiafatom
Thanks for your update. I understood that 'axis = -1' is expected default value.
And, in this case, I think that it is necessary to modify in conv.py l.170-l.172 too.
Could you check if you need to modify the conv.py or not?
By the way, is there any reason to set axis = 1 as default in apply_softmax in onnx_ops.py(l.408)?
If my understanding is correct, you can modify only this file.

Just checked in code to modify conv.py (set axis=-1).
We should not change onnx_ops.py since this is for all convertors and onnx spec set axis=1 as default.


Is this lib abandoned?

Latest commit is from 2018, despite multiple open PR's and very actively used in popular libraries like testify.
@davecgh are you open to adding new maintainers to help keep this project alive?

Would be nice to get some feedback... maybe it's time to check out alternatives. Has anybody a good tip?

Are there any alternatives?

Seems @dajohi still active, kindly ping.

https://github.com/kr/pretty works for me.

I was wondering the same. I got here from Kubernetes YAML go.mod, and I'm astonished.
https://github.com/kubernetes-sigs/yaml/blob/11e43d4a8b9271a822a950dbf9b6ff15fe00fafc/go.mod#L6

One interesting maintained alternative: https://github.com/sanity-io/litter

I started to maintain a hard-fork a while back. I also did some optimisation work.
https://github.com/spewerspew/spew

I have been using this library for a while but recently the binary data print is interspersed with MISSING everywhere. Some change in the stdlib I am guessing. It's very annoying.

I started to maintain a hard-fork a while back. I also did some optimisation work. https://github.com/spewerspew/spew

we should chose a public for (e.g. spewerspew) and use that.


Fixes and improvements

This is a WIP.
Window buttons (macOS):

Fixes visible artifact on window resize
Window specific window buttons inset
Window buttons stay in place when the system theme changes
Adds the respecting command to the bindings API

Webview transparency (macOS):

Extension WebviewWindow.make_transparent() is now apply_transparency()
It now only makes the webview transparent and does not change the window itself.

This is still using an Apple internal implementation (private API) like before and the same as Tauri.
The difference here is that by not modifying the window background, we can use a material on the window and have shadows enabled since shadows for transparent windows cause artifacts and performance issues.
Window level (macOS):

Adds corresponding enum for NSWindowLevel

TODOs:

[ ] Implement window buttons inset for Windows 11 (22H2 and newer)
[ ] Implement native support for Snap Layouts using the recommended methods and APIs
[x] Add plugin config
[ ] Support RTL layout on macOS

Proposed configuration example:
  "plugins": {
    "decorum": {
      "windows": [
        {
          "label": "main",
          "windowButtons": {
            "insetX": 15.0,
            "insetY": 20.0,
            "supportRTL": true,
            "hide": ["zoom/maximize"] // "minimize/close/all"
          },
          "applyTransparency": true,
          "createOverlayTitlebar": true
        }
      ]
    }
  },

Side note: I'm not sure if this is accepted, but some files were using tabs over spaces, yarn and pnpm were also both used. I'd appreciate if I could get some guidance on which one to use for this project!

I love the changes! The PR is a little tricky to review give its size, possible to break it down into smaller ones? 😅

Of course! I didn't realize it got this large, how should we go about doing that?
I'm still focusing on finishing the implementation on macOS, then I'll look into Windows and Linux


Column not found: SQLSTATE error

Roles route
SQLSTATE[42S22]: Column not found: 1054 Unknown column '' in 'order clause' (SQL: select * from roles order by `` asc limit 12 offset 0) (View: $project_path\vendor\livewire\livewire\src\Macros\livewire-view.blade.php)
Permission route
SQLSTATE[42S22]: Column not found: 1054 Unknown column '' in 'order clause' (SQL: select * from (select permissions.* from permissions group by permissions.id) as permissions order by `` asc limit 12 offset 0) (View: $project_path\vendor\livewire\livewire\src\Macros\livewire-view.blade.php)

Reply  if anyone got the solution

I likely need a bit more context as to when you encountered this issue - what were you attempting to sort by? If this on the permissions index view?

Thank you @ryanscherler
Yes it is on permissions index views as well as on roles index view.

@manishlok I suspect you might be missing a migration? This could also be an issue with your PHP version / Eloquent? I cannot replicate this issue. I am going to close this out and if it comes up again I am happy to look into it more.

Sorry for bumping this issue but i have exactly the same problem.
It occurs when i created a role.
It seems that's the error came from the ordering method :
orderBy($this->sortField, $this->sortAsc ? 'asc' : 'desc')
in vendor/flament/filament/src/Http/Livewire/Permissions.php / Roles.php

@ndessenius Yikes is this a sneaky one - I cant seem to replicate it. 😞 If you have an idea of why it might be happening I would definitely appreciate the PR!


Twitch Mod Attributes

RE: Twitch Mod Attributes
Curious if anyone knows if this is something that is somehow exposed within the Twitch API or can be tied into the appropriate events in tmi.js in a future patch?

Here's some information Xangold gave. Currently tmi.js does not include PubSub because it's out of the scope for the module. There is a spin off module called tps.js (npm) (GitHub) that mzmiric5 is working on.

Thanks matey, most of this is all-new concepts in development for me so it's hard to keep up with. The links and info are most appreciated!


Add support for rich

I would like to discuss the possibility of adding support for rich.
Currently, using rich.logging.RichHandler as a logging handler breaks werkzeug logs because the latter forces ANSI codes directly in the log message.
Example Django logging configuration:
LOGGING = {
    "version": 1,
    "disable_existing_loggers": False,
    "formatters": {"rich": {"datefmt": "[%X]"}},
    "handlers": {
        "rich": {
            "class": "rich.logging.RichHandler",
            "formatter": "rich",
            "level": "DEBUG",
            # "markup": True",
        },
    },
    "loggers": {
        "werkzeug": {
            "handlers": ["rich"],
        },
    },
}

Console output on server startup and werkzeug logs when fetching the index (pin edited out):
[17:07:23] WARNING   * Running on all addresses.                                                                                _internal.py:225
                       WARNING: This is a development server. Do not use it in a production deployment.
           INFO      * Running on https://<IP_ADDRESS>:8000/ (Press CTRL+C to quit)                                                               _internal.py:225
           INFO      * Restarting with watchdog (inotify)                                                                                _internal.py:225
Performing system checks...

System check identified no issues (0 silenced).

Django version 4.0.2, using settings 'project.settings'
Development server is running at https://<IP_ADDRESS>:8000/
Using the Werkzeug debugger (http://werkzeug.pocoo.org/)
Quit the server with CONTROL-C.
[17:07:24] WARNING   * Debugger is active!                                                                                _internal.py:225
           INFO      * Debugger PIN: XXX-XXX-XXX                                                                                _internal.py:225
[17:07:28] INFO     [m<IP_ADDRESS> - - [15/Feb/2022 17:07:28] "GET / HTTP/1.1" 200 -[0m                                                               _internal.py:225
           INFO     [m<IP_ADDRESS> - - [15/Feb/2022 17:07:28] "GET /static/debug_toolbar/css/toolbar.css HTTP/1.1" 200 -[0m                           _internal.py:225
           INFO     [m<IP_ADDRESS> - - [15/Feb/2022 17:07:28] "GET /static/debug_toolbar/js/toolbar.js HTTP/1.1" 200 -[0m                             _internal.py:225
           INFO     [m<IP_ADDRESS> - - [15/Feb/2022 17:07:28] "GET /static/debug_toolbar/css/print.css HTTP/1.1" 200 -[0m                             _internal.py:225
           INFO     [m<IP_ADDRESS> - - [15/Feb/2022 17:07:28] "GET /static/debug_toolbar/js/utils.js HTTP/1.1" 200 -[0m                               _internal.py:225

This is expected as the docs explicitly put it

Rich logs won’t render Console Markup in logging by default as most libraries won’t be aware of the need to escape literal square brackets, but you can enable it by setting markup=True on the handler.

Enabling the commented out markup in the above configuration results in rich assuming everything inside square brackets is a tag (docs). Since these "tags" are not recognized, they are simply stripped away resulting in lost information.
[17:20:00] INFO     "GET / HTTP/1.1" 200 -[0m                                                                                _internal.py:225
           INFO     "GET /static/debug_toolbar/css/toolbar.css HTTP/1.1" 200 -[0m                                                                 _internal.py:225
           INFO     "GET /static/debug_toolbar/js/toolbar.js HTTP/1.1" 200 -[0m                                                                   _internal.py:225
           INFO     "GET /static/debug_toolbar/css/print.css HTTP/1.1" 200 -[0m                                                                   _internal.py:225
[17:20:01] INFO     "GET /static/debug_toolbar/js/utils.js HTTP/1.1" 200 -[0m                                                                     _internal.py:225

What are your thoughts on implementing a possible workaround?

I don't plan to change this. Seems like handling ANSI codes is something Rich should do, not something Werkzeug needs to change.


yaml-light issue on macos (arm?)

I cannot install v1.1 currently on my mac as the build fails on trying to build HsSyck which is a dependency of yaml-light.
I am not sure what the cause is, perhaps using clang instead of gcc. I tried various different ways of installing ghc, via nix, brew and ghcup without any success.
Here is a snippet of the beginning and end of the output:
Building library for HsSyck-0.53..
[1 of 1] Compiling Data.Yaml.Syck   ( dist/build/Data/Yaml/Syck.hs, dist/build/Data/Yaml/Syck.o, dist/build/Data/Yaml/Syck.dyn_o )

/var/folders/st/qcbnthv91yl5tg_z6_jvn8w80000gn/T/ghc60694_0/ghc_4.c:39:17: error:
     warning: incompatible pointer to integer conversion assigning to 'ffi_arg' (aka 'unsigned long') from 'HsPtr' (aka 'void *') [-Wint-conversion]
   |
39 | *(ffi_arg*)resp = cret;
   |                 ^
*(ffi_arg*)resp = cret;
                ^ ~~~~
1 warning generated.

[snip]

gram.c:656:16: error:  note: expanded from macro 'YYLEX'
# define YYLEX yylex (&yylval, YYLEX_PARAM)
               ^

syck/gram.c:51:17: error:  note: expanded from macro 'yylex'
   |
51 | #define yylex   sycklex
   |                 ^
#define yylex   sycklex
                ^
1 error generated.
`clang' failed in phase `C Compiler'. (Exit code: 1)
Error: cabal: Failed to build HsSyck-0.53 (which is required by
exe:agda2hs-mode from agda2hs-1.1 and exe:agda2hs from agda2hs-1.1). See the

I'm hoping to get rid of HsSyck and the yaml-light dependency, see #225.
You can try compiling these changes and see if this other library causes issues.

I have the same issue. The underlying problem is that the dependencies are seriously outdated, to the point that they qualify as unmaintained:

yaml-light — last upload at 2010-10-27
HsSyck — last upload at 2015-02-27

Yes, PR #189 got merged perhaps too hastily. Can you try again with current master? I just merged #225 which removes those outdated dependencies.

Can you try again with current master?

I have tried with the current master branch, and the result compiles on macOS with ghc-9.2.8:
$ cabal build
[…]
$ […]/agda2hs --version
Agda version 2.6.4-e4bca58
 - agda2hs backend version 1.2

If you ask me, I would recommend to deprecate agda2hs-1.1 on Hackage — the dependencies are just too old for this release on Hackage to be useful.

Well it is currently the latest release of agda2hs so I wouldn't want to deprecate it just yet. I will put the release of agda2hs 1.2 on the agenda and deprecate 1.1 as soon as it is released.


Cannot interpret custom type in a std::vector<>

I have a branch storing a class defined with, among other things, the following attribute:
std::vector<BDSOutputROOTEventCollimatorInfo>

Where BDSOutputROOTEventCollimatorInfo is defined with these:
  std::string componentName;
  std::string componentType;
  double      length;
  double      tilt;
  double      offsetX;
  double      offsetY;
  std::string material;
  double      xSizeIn;
  double      ySizeIn;
  double      xSizeOut;
  double      ySizeOut;

As this doesn't involve pointers or deeply nested custom types, I thought this should already work.
The error is
ValueError: cannot interpret branch b'Model.collimatorInfo' as a Python type

The interepretation is None:
m['Model.collimatorInfo'].interpretation is None  # True

I can provide an example root file.

Please do provide a file. I suspect the missing piece is std::string, and this type probably has a simple encoding (length + bytes), but I'd have to see it to be sure.

Thanks!
This is then probably related to issue #404 .
https://www.dropbox.com/s/1r2wpwacs52566z/output_collimator.root?dl=0

I got confused and thought that #404 was from you, the continuation of this issue. (I didn't realize that I was talking to two different people.) I'll check into yours as well, make a combined PR with their solutions, though I don't know just yet that they're the same issue. It is the case that std::string has been implemented; your problem is not that. However, #404 has something to do with walking up to a base class, and I don't see a base class (::) in your branch's name.
I'll take a look, though.

Quite a similar file! I guess you're using the same framework. However, your problem is different—even before putting in the correction for @rtesse, your m['Model.collimatorInfo'].interpretation was not giving me None—I think you had an old version of uproot, from before some other bug was fixed.
To be clear, I'm looking at the TTree named "Model" (@rtesse's TTree was named "Beam").
I find that all of these branches have non-None interpretations, but "Model.collimatorInfo" and "Model.collimatorIndicesByName" seem to be wrong because they don't successfully deserialize the data. I'm looking into that,  now.

(It's unrelated to #404, despite the files being so similar, because #404 was about not finding an interpretation due to a base class in the Beam TTree; the Model TTree doesn't have a base class in the way.)

I don't know how to interpret the Model.collimatorInfo branch. I suspect that it's a custom streamer, not strictly ROOT I/O. We've encountered this once before, in issue #373.
Here's why I don't think it's in ROOT format: we can look at the raw bytes of one entry of the branch by using the uproot.asdebug interpretation.
>>> t["Model.collimatorInfo"].array(uproot.asdebug)[0]
array([ 64,   0,   2, 155,  64,   9,   0,   1,   0,   0,   0,   7,   0,
         1,   0,   0,   0,   0,   2,   0,   0,   0,   0,   1,   0,   0,
         0,   0,   2,   0,   0,   0,   0,   1,   0,   0,   0,   0,   2,
         0,   0,   0,   0,   1,   0,   0,   0,   0,   2,   0,   0,   0,
         0,   1,   0,   0,   0,   0,   2,   0,   0,   0,   0,   1,   0,
         0,   0,   0,   2,   0,   0,   0,   0,   1,   0,   0,   0,   0,
         2,   0,   0,   0,  64,   0,   0,  48,   0,   9,   4,  83,  76,
        49,  69,  11,  87,  73,  78,  68,  79,  87,  95,  69,  88,  84,
        82,   9,  87,  73,  78,  68,  79,  87,  95,  73,  78,   3,  67,
        79,  76,   4,  83,  76,  49,  71,   4,  83,  76,  50,  71,   4,
        83,  76,  51,  71,  64,   0,   0,  37,   0,   9,   4, 114,  99,
       111, 108,   4, 114,  99, 111, 108,   4, 114,  99, 111, 108,   4,
       101,  99, 111, 108,   4, 114,  99, 111, 108,   4, 114,  99, 111,
       108,   4, 114,  99, 111, 108,  63, 174, 184,  81, 235, 133,  30,
       184,  63,  26,  54, 226, 235,  28,  67,  45,  63,  26,  54, 226,
       235,  28,  67,  45,  63, 172,  40, 245, 194, 143,  92,  41,  63,
       174, 184,  81, 235, 133,  30, 184,  63, 174, 184,  81, 235, 133,
        30, 184,  63, 174, 184,  81, 235, 133,  30, 184,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,  64,   0,   0,  44,
         0,   9,   5,  71,  52,  95,  78, 105,   5,  71,  52,  95,  84,
       105,   5,  71,  52,  95,  84, 105,   5,  71,  52,  95,  78, 105,
         5,  71,  52,  95,  78, 105,   5,  71,  52,  95,  78, 105,   5,
        71,  52,  95,  78, 105,  63, 147, 220, 103,  10, 107,  48, 232,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,  63, 116, 122, 225,  71, 174,  20, 123,  63, 156,
        40, 242, 103,  19, 219,  69,  63, 156,  40, 245, 194, 143,  92,
        41,  63, 151,  10,  61,  96, 218, 111, 141,  63, 156,  40, 245,
       194, 143,  92,  41,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,  63, 116, 122, 225,  71, 174,
        20, 123,  63, 156,  40, 245, 194, 143,  92,  41,  63, 137, 110,
       148, 243,  42,  93, 124,  63, 156,  40, 245, 194, 143,  92,  41,
        63, 147, 220, 103,  10, 107,  48, 232,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,  63, 116,
       122, 225,  71, 174,  20, 123,  63, 156,  40, 242, 103,  19, 219,
        69,  63, 156,  40, 245, 194, 143,  92,  41,  63, 151,  10,  61,
        96, 218, 111, 141,  63, 156,  40, 245, 194, 143,  92,  41,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,  63, 116, 122, 225,  71, 174,  20, 123,  63, 156,  40,
       245, 194, 143,  92,  41,  63, 137, 110, 148, 243,  42,  93, 124,
        63, 156,  40, 245, 194, 143,  92,  41], dtype=uint8)

Starting from the end and working backward (because I have the most uncertainty in headers; there are never any footers), I find that the last 28 (7 × 4) values are reasonable doubles.
>>> t["Model.collimatorInfo"].array(uproot.asdebug)[0][-7*4*8 : ].view(">f8")
array([0.01939546, 0.        , 0.        , 0.005     , 0.02749995,
       0.0275    , 0.0225    , 0.0275    , 0.        , 0.        ,
       0.005     , 0.0275    , 0.01241795, 0.0275    , 0.01939546,
       0.        , 0.        , 0.005     , 0.02749995, 0.0275    ,
       0.0225    , 0.0275    , 0.        , 0.        , 0.005     ,
       0.0275    , 0.01241795, 0.0275    ])

All of these numbers are the same order of magnitude, though they have different exponents—that doesn't happen by accident. They are 28 contiguous doubles.
Right before that, there are 7 strings, which happen to each have 5 characters plus a size byte, so 6 bytes each.
>>> t["Model.collimatorInfo"].array(uproot.asdebug)[0][-7*4*8 - 7*6 : -7*4*8].tostring()
b'\x05G4_Ni\x05G4_Ti\x05G4_Ti\x05G4_Ni\x05G4_Ni\x05G4_Ni\x05G4_Ni'

The data up to this point are:
>>> t["Model.collimatorInfo"].array(uproot.asdebug)[0][: -7*4*8 - 7*6]
array([ 64,   0,   2, 155,  64,   9,   0,   1,   0,   0,   0,   7,   0,
         1,   0,   0,   0,   0,   2,   0,   0,   0,   0,   1,   0,   0,
         0,   0,   2,   0,   0,   0,   0,   1,   0,   0,   0,   0,   2,
         0,   0,   0,   0,   1,   0,   0,   0,   0,   2,   0,   0,   0,
         0,   1,   0,   0,   0,   0,   2,   0,   0,   0,   0,   1,   0,
         0,   0,   0,   2,   0,   0,   0,   0,   1,   0,   0,   0,   0,
         2,   0,   0,   0,  64,   0,   0,  48,   0,   9,   4,  83,  76,
        49,  69,  11,  87,  73,  78,  68,  79,  87,  95,  69,  88,  84,
        82,   9,  87,  73,  78,  68,  79,  87,  95,  73,  78,   3,  67,
        79,  76,   4,  83,  76,  49,  71,   4,  83,  76,  50,  71,   4,
        83,  76,  51,  71,  64,   0,   0,  37,   0,   9,   4, 114,  99,
       111, 108,   4, 114,  99, 111, 108,   4, 114,  99, 111, 108,   4,
       101,  99, 111, 108,   4, 114,  99, 111, 108,   4, 114,  99, 111,
       108,   4, 114,  99, 111, 108,  63, 174, 184,  81, 235, 133,  30,
       184,  63,  26,  54, 226, 235,  28,  67,  45,  63,  26,  54, 226,
       235,  28,  67,  45,  63, 172,  40, 245, 194, 143,  92,  41,  63,
       174, 184,  81, 235, 133,  30, 184,  63, 174, 184,  81, 235, 133,
        30, 184,  63, 174, 184,  81, 235, 133,  30, 184,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
         0,   0,   0,   0,   0,   0,   0,   0,   0,  64,   0,   0,  44,
         0,   9], dtype=uint8)

The last 6 bytes, 64, 0, 0, 44, 0, 9 is clearly the header for a block. 6 bytes is very common for a header; it's usually an int and a short for fProcessID and fBits.
Okay, so far so good. There's a block of stuff, a bunch of zeros, and then another block of stuff, and the second block is clearly header + 7 strings, which each say G4_Ni (a material) + 7 × 4 doubles.
The streamer for this type is:
>>> f._context.streamerinfosmap[b"BDSOutputROOTEventCollimatorInfo"].show()
StreamerInfo for class: BDSOutputROOTEventCollimatorInfo, version=1, checksum=0x87ac4c05
  TObject         BASE            offset=  0 type=66 Basic ROOT object
  componentName   string          offset=  0 type=500
  componentType   string          offset=  0 type=500
  length          double          offset=  0 type= 8
  tilt            double          offset=  0 type= 8
  offsetX         double          offset=  0 type= 8
  offsetY         double          offset=  0 type= 8
  material        string          offset=  0 type=500
  xSizeIn         double          offset=  0 type= 8
  ySizeIn         double          offset=  0 type= 8
  xSizeOut        double          offset=  0 type= 8
  ySizeOut        double          offset=  0 type= 8

and here's the problem: there should be 8 doubles and the material string should be between the first 4 and the last 4. I'm seeing all of those values in there, but they're not in the order the streamer says they should be. This happened in issue #373 because that file (produced by FAIRoot) used Boost serialization inside the ROOT TTree. That Boost serialization put numbers and strings contiguously, but ROOT serialization of a non-split branch does not do that. It goes in the order of the streamer—and the streamer is our only guide for what order to expect things in.
If it's not following the streamer, then the C++ code that wrote this out is probably using a "custom streamer," possibly based on Boost but not necessarily. (A "custom streamer" is when C++ code writes its objects any way it wants, in a custom function, and the streamer object saved in the file is not meaningful. The only way to decode it is to run the custom C++ code.)
If your framework uses custom streamers, I can't help you for that branch. Sorry!

Wow, interesting!
Issue #404 was not from me, but he's in my group, we are all using BDSIM. Sorry for the confusion.
Regarding the custom streamer or the use of Boost, I will investigate, but so far I didn't find anything specific to that class.

@chernals Go ahead and reopen this issue if there's some new information I should consider. I'm just trying to get my head around which of these are still active, and as I last understood this one, we're lacking correct guidance from the streamer about how this branch is actually serialized.

At this stage I cannot say more, I looked in the code but I don't see why the streamer for this case would be wrong. However this is very low priority for us, so I suggest to let it go for now.

As it turns out, the error above is because I was unaware of ROOT's "memberwise splitting," and (if I said anything to the contrary above), it has nothing to do with Boost serialization. This same error came up in 6 different issues, so further discussion on it will be consolidated into scikit-hep/uproot4#38. (This comment is a form message I'm writing on all 6 issues.)
As of PR scikit-hep/uproot4#87, we can now detect such cases, so at least we'll raise a NotImplementedError instead of letting the deserializer fail in mysterious ways. Someday, it will actually be implemented (watch scikit-hep/uproot4#38), but in the meantime, the thing you can do is write your data "objectwise," not "memberwise." (See this comment for ideas on how to do that, and if you manage to do it, you can help a lot of people out by sharing a recipe.)