Where is TopologyGrapher now?

What happened to ats.topology.grapher.TopologyGrapher?  There are some docs that aren't linked from the current docs, but they're still available at /latest if you go looking (though the page indicates it's for 4.0.1).  The page for TopologyGrapher is here, but I can't find it referenced in the 5.0.x documentation, and dir(ats.topology) doesn't have grapher listed:
Python 3.6.7 (default, Nov 27 2018, 20:59:50)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.2.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import pyats.topology.grapher
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-5ba41f10988a> in <module>
----> 1 import pyats.topology.grapher

ModuleNotFoundError: No module named 'pyats.topology.grapher'

In [2]: import pyats.topology

In [3]: dir(pyats.topology)
Out[3]:
['Device',
 'DeviceBase',
 'Interface',
 'InterfaceBase',
 'Link',
 'LinkBase',
 'Testbed',
 'TestbedBase',
 '__author__',
 '__builtins__',
 '__cached__',
 '__contact__',
 '__copyright__',
 '__doc__',
 '__file__',
 '__loader__',
 '__name__',
 '__package__',
 '__path__',
 '__spec__',
 '__version__',
 'bases',
 'device',
 'exceptions',
 'interface',
 'link',
 'loader',
 'schema',
 'testbed']

In [4]:

Was it completely removed in 5.0.x?  Is there an alternative, or is this functionality that I need to go build myself?
Thanks!

Apologies for the delay! the team had a long christmas holiday break :)
TopoGrapher used to be a built-in package into pyATS, but it had deep dependencies on system packages to be present (so it could generate PDF/graphs). For that, we removed it from built-in to be optional package instead. It looks like we didn't remove the documentation for it.
right now this optional package isn't released, but if that's something you're interested in, the team needs to internally discuss it.
Meanwhile, we'll update the documentation to reflect so

In case anyone else comes across this, topology.grapher has been fully deprecated and is not receiving any further support


Custom Passes ignored

Hello,
We are using 3 Custom Passes for the UI Blur (explained here: https://www.turiyaware.com/blog/unity-ui-blur-in-hdrp).
Here is an example:

UI_01 (Before Pre Refraction): All the UI elements, that can get blurred, such as backgrounds, etc.
UI_02 (Before Transparent): Blurring element, blurring UI_01.
UI_03 (Before Post Process): The UI elements that never get blurred such as texts over the blurring elements.

It is not possible for us to directly blur the background image as the blurring UI element over it is dynamic.
The custom passes are working in a normal camera. But when using the HD Camera UI, all the custom passes are ignored and the UI_02 is not blurring UI_01 anymore, but only the 3D scene beneath it.
Is it possible for the HD Camera UI to take the custom passes into account?
Thank you!

Hi. Did you found a solution? We have the same issue and are searching for an solution.


Atom crashes when trying to load a file

When I try open my webpack generated bundle.js file using Atom, it crashes every time.
I'm using the latest version of Atom with Ubuntu 16.04 and have tried running in safe mode, re-installing atom and tried opening the file with using another PC and it still crashed. The only time it doesn't crash is when I minify the file which is only 411.7 kB when un-minified.
Output from the terminal when the crash happens
/usr/bin/atom: line 98: 10962 Segmentation fault      (core dumped) nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
App load time: 580ms
Failed to get crash dump id.
Report Id:
Versions
Atom    : 1.8.0
Electron: 0.36.8
Chrome  : 47.0.2526.110
Node    : 5.1.1
Operating System: Ubuntu 16.04

How many lines does it have? Have you tried changing the extension to .txt (plain text) to see if it's the java grammar highlight at fault? Does it have any long lines?

There was just over 1500 lines in the file. I just tried changing the file extension from .js to .txt and that allowed the file to load. There was also some long lines in the file which when stopped atom from crashing. So when its trying to load a javaScript file with a long line, it will crash. But when I minify the entire .js file it will not crash.

Duplicate of #979, then. Long lines crashing Atom.


Port NuGet net46 fix to 2.1 and 2.2

NuGet doesn't have branches for 2.1 and 2.2 yet - we will need to port https://github.com/NuGet/NuGet.Client/pull/2287 to those branches when they open.

Merged to 2.1.500/2.2.100
https://github.com/NuGet/NuGet.Client/commit/42731e5ac2273616ad7075ff4fa8bdcbee7a7ccb


Android fix crash when requesting persistable permissions (mostly for ACTION_VIEW intent) #1

This is my current solution to #1. I would love for there to be a better way :/

thanks for the PR, to be honest i was thinking more or less the same thing, when I read your issue..
i guess if the app starting the intent does not provide a persistable permission ,there is no way to get it anyway.. so the best thing we could do is catch the exception?
but I would still use the "identifier" = fileUri .. no matter if we have a persistable permission or not.. (because it's still possible that we are able to write into it, if it's a public place on the sd card or something)

i'm just not sure how to know if we can access the file later.. I guess it's possible to check the ui scheme? because i'm pretty sure if it's a file:/// URI pointing to a location on the SD card, the app should be able to read it at all times (when it has the READ_EXTERNAL_STORAGE permission)

Starting in Android 7 you basically never have file:// URIs; instead you have content:// URIs (see here). The permissions on these are not necessarily persistable: you can access the URI while your app is open, but on next launch access will fail.
So it is necessary to know if takePersistableUriPermission succeeded or not.

makes sense.. i lean toward a boolean flag, because I think it would still be possible to read the file again using the "identifier" within the same session? not sure how long the "temporary permission" lasts?
maybe there is a way to ask for permissions at a later time.. the best thing I could find would be using the document chooser with EXTRA_INITIAL_URI
although it's a bit awkward API wise.. i guess I would keep Map<String, String> for now and just use "true" and do the type conversion in dart.. because i've been thinking about giving pigeon a try, so no need to do a lot of cleanup now..
btw. I figured out why this worked for me.. i always used the app itself to save a file (e.g. a .codeux file in the example app).. and then used the Files app to open those files.. that's why my app still had persistable permission for the file :-) I could only reproduce the crash once i've moved the file in the Files app ..(or created the file through some other means)

makes sense.. i lean toward a boolean flag, because I think it would still be possible to read the file again using the "identifier" within the same session? not sure how long the "temporary permission" lasts?

Sure, that sounds good. The permission lasts while the receiving process lives, so you can reopen as much as you want until you e.g. kill your app and relaunch it.

although it's a bit awkward API wise.. i guess I would keep Map<String, String> for now and just use "true" and do the type conversion in dart.. because i've been thinking about giving pigeon a try, so no need to do a lot of cleanup now..

OK, sounds good. I can update the PR with this.

btw. I figured out why this worked for me.. i always used the app itself to save a file (e.g. a .codeux file in the example app).. and then used the Files app to open those files.. that's why my app still had persistable permission for the file :-) I could only reproduce the crash once i've moved the file in the Files app ..(or created the file through some other means)

Yeah makes sense. My use case is quite different: my app is a viewer and never creates its own files, so I ran into this right away.

OK, sounds good. I can update the PR with this.

👍 would be great, just make it a Map<String, String> for now with like hasPersistablePermission or something.. (ie. meaning that the identifier is probably still identifying that file, just that it can't be accessed without acquiring permissions again) , i'll later try out if pigeon could make the messenger calls typesafe.
fwiw, on iOS it is called security scoped bookmark so hard to unify that naming.. but i'm also not completely sure if on iOS acquiring a security scoped bookmark could actually fail..

I force-pushed my changes last night. Let me know if you want the wording or anything changed.
The iOS one can fail but maybe only if you didn’t set your Info.plist entries correctly, so we can consider that a programmer error.

ups. missed your push.. thanks.. i've merged it, thanks
(it's now on pub as 1.1.1+2)


Strategies for handling flaky connections?

Based on code for HubConnection, an error is thrown if the connection does not have the correct ConnectionState when calling send.
My first thought was to check the connection state before making the call, but that property is private. This got me thinking: what is the strategy to handle flaky connections? Will the connection try to re-connect or is it up to the application to stop the connection and create a new one? If the connection reconnects, how can I get a notification that the connection is re-established again? Is there any documentation or discussions you can point me to? Thanks a bunch!

In the alpha the user has to do it manually, there's no concept of auto-reconnect, this will be coming later https://github.com/aspnet/SignalR/issues/1057. As of right now, when the disconnected event fires, you have to reconnect as connections aren't re-usable in the alpha.

Thanks, it makes a lot of sense. I think we can close this and I'll keep an eye on #1057 👍


Hover editor does not triggered upon embeds in Obsidian v1.0.0 (reading view)

After I update the obsidian, the hover editor does not triggered upon embeds in Obsidian v1.0.0 (reading view)

Thanks for reading

What version of Hover Editor are you using?

What version of Hover Editor are you using?

version  0.11.4

Are you using the Ctrl/Cmd key when hovering?  What are your Page Preview settings configured to use?
(Also, I assume you are referring to hovering over links contained in embeds, since as far as I know hovering embeds themselves doesn't do anything in reading mode, even in Obsidian 0.15.)

I use the Ctrl/Cmd key when hovering, and the buttons Page Preview settings are all on. But I may misunderstand the meaning of "Trigger hover preview on embeds". Sorry to bother you, and thanks for your patience. Here is what I want.

Actually, I'm hoping to use the hover function when I was reading the lists collected by 'dataview', since there may be some context I may need to read near the list. So I open the setting of the hover editor to see if there are any options that can implement this function. That's when I found the "Trigger hover preview on embeds" which I thought may trigger the hover preview over the content that was embedded (not over the link) in reading mode. However, I may misunderstand the meaning as you say "hovering embeds themselves don't do anything in reading mode". But thanks again! I love hover editor and thank you for creating it!

Ah, didn't realize you were using the embeds option - I actually forgot that option existed.  And I can now reproduce the problem.  It looks like there was an internal API change in Obsidian that broke this; some additional work will be needed to find out what and how to work around it.

This should now be fixed in the 0.11.6 release.

This should now be fixed in the 0.11.6 release.

Fantastic! Thank you very much!!! And wish you a wonderful day!!!!!

I'm sorry, but I still have a question: Is it possible to trigger hover preview on the lists collected by dataview? Cause I tested the embeds option, it works on embedded information using code like ![], but it didn't work on the lists collected by dataview.

♥♥♥ Thanks for your patience!

Here is the code I used in the picture up there
task
from "+ Encounters"

That would be something that would need to be added in Dataview, to generate the hover-link events Obsidian uses to trigger page previews.  (That is, if Dataview adds support for the built-in page preview, then it should work with Hover Editor as well.)

Okay, got it. Thanks a bunch! 😃


[New port] Add Triton port

Describe the pull request
This PR adds support for Triton

What does your PR fix?

Lack of  Triton port

Which triplets are supported/not supported? Have you updated the CI baseline?

All

Does your PR follow the maintainer guide?

Yes

Hi @NancyLi1013
I've tried again to port Triton to vcpkg. I made all the changes you suggested at https://github.com/microsoft/vcpkg/pull/17224
Can you give me a hand here. How can I see the output error in the CI to know what went wrong?
Thank you

@illera88 ,Thanks for your pr,
This is D:\buildtrees\triton\install-x64-windows-static-dbg-out.log
install-x64-windows-static-dbg-out.log
For other log files, you can click on the button I circled in yellow step by step to get the log you want

https://dev.azure.com/vcpkg/public/_build/results?buildId=67464&view=logs&j=878666d5-db33-5b27-9e7d-b0c7ee352005

https://dev.azure.com/vcpkg/public/_build/results?buildId=67464&view=artifacts&pathAsName=false&type=publishedArtifacts

@illera88 ,Thanks for your pr, This is D:\buildtrees\triton\install-x64-windows-static-dbg-out.log install-x64-windows-static-dbg-out.log
For other log files, you can click on the button I circled in yellow step by step to get the log you want

https://dev.azure.com/vcpkg/public/_build/results?buildId=67464&view=logs&j=878666d5-db33-5b27-9e7d-b0c7ee352005

https://dev.azure.com/vcpkg/public/_build/results?buildId=67464&view=artifacts&pathAsName=false&type=publishedArtifacts

thanks! I'll get into it

The error is weird:
it's complaining about not finding capston:
externalLibs.hpp(38): fatal error C1083: Cannot open include file: 'capstone.h': No such file or directory

but capstone is being added to the include path:
 -IC:\a\1\s\installed\x64-windows-static\include\capstone

@JonLiu1993 do you have any idea why this can be happening?

Hi @JackBoosY,
Maybe you know what could be failing.
thank you so much

The Config.cmake.in also needs to be fixed.

[51/59] : && /Library/Developer/CommandLineTools/usr/bin/c++ -pthread -g -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -static src/examples/cpp/CMakeFiles/ir.dir/ir.cpp.o -o src/examples/cpp/ir  src/libtriton/libtriton.a  /Users/vagrant/Data/installed/x64-osx/debug/lib/libz3.a  /Users/vagrant/Data/installed/x64-osx/debug/lib/libcapstone.a && :
FAILED: src/examples/cpp/ir
: && /Library/Developer/CommandLineTools/usr/bin/c++ -pthread -g -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -static src/examples/cpp/CMakeFiles/ir.dir/ir.cpp.o -o src/examples/cpp/ir  src/libtriton/libtriton.a  /Users/vagrant/Data/installed/x64-osx/debug/lib/libz3.a  /Users/vagrant/Data/installed/x64-osx/debug/lib/libcapstone.a && :
ld: library not found for -lcrt0.o

No idea where crt0.o comes from.

This port still have some cmake bugs, we should wait for the upstream to fix them completely.

Hi @JackBoosY 👋
I hope you had a good weekend.
I think the upstream problems have been solved at this point.

I will update this PR later.

When building triton[*]:x86-windows:
[1/81] "C:\PROGRA~2\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x86\cl.exe"   /TP -DBUILDING_DLL -DG:/23111/vcpkg/installed/x86-windows/debug/lib/python310_d.lib" -DG:/23111/vcpkg/installed/x86-windows/lib/python310.lib -DPYTHON_LIBRARIES=\"optimized -Ddebug -Dtriton_EXPORTS -IG:\23111\vcpkg\installed\x86-windows\include\python3.10 -IG:\23111\vcpkg\installed\x86-windows\include\capstone -IG:\23111\vcpkg\buildtrees\triton\src\14e2382e7a-dbfc11990e.clean\src\libtriton\includes -IG:\23111\vcpkg\buildtrees\triton\x86-windows-dbg\src\libtriton\includes -IG:\23111\vcpkg\installed\x86-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  -MDd /showIncludes /Fosrc\libtriton\CMakeFiles\triton.dir\api\api.cpp.obj /Fdsrc\libtriton\CMakeFiles\triton.dir\ /FS -c G:\23111\vcpkg\buildtrees\triton\src\14e2382e7a-dbfc11990e.clean\src\libtriton\api\api.cpp
FAILED: src/libtriton/CMakeFiles/triton.dir/api/api.cpp.obj
"C:\PROGRA~2\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x86\cl.exe"   /TP -DBUILDING_DLL -DG:/23111/vcpkg/installed/x86-windows/debug/lib/python310_d.lib" -DG:/23111/vcpkg/installed/x86-windows/lib/python310.lib -DPYTHON_LIBRARIES=\"optimized -Ddebug -Dtriton_EXPORTS -IG:\23111\vcpkg\installed\x86-windows\include\python3.10 -IG:\23111\vcpkg\installed\x86-windows\include\capstone -IG:\23111\vcpkg\buildtrees\triton\src\14e2382e7a-dbfc11990e.clean\src\libtriton\includes -IG:\23111\vcpkg\buildtrees\triton\x86-windows-dbg\src\libtriton\includes -IG:\23111\vcpkg\installed\x86-windows\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  -MDd /showIncludes /Fosrc\libtriton\CMakeFiles\triton.dir\api\api.cpp.obj /Fdsrc\libtriton\CMakeFiles\triton.dir\ /FS -c G:\23111\vcpkg\buildtrees\triton\src\14e2382e7a-dbfc11990e.clean\src\libtriton\api\api.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27045 for x86
Copyright (C) Microsoft Corporation.  All rights reserved.

Any ideas?

Already test all features in x86-windows and x64-windows-static.

Hi @JackBoosY
I made a change to the code so capstone is required to be installed with:
{
      "name": "capstone",
      "default-features": false,
      "features": [
        "arm",
        "arm64",
        "static-crt",
        "x86"
      ]
    },

static-crt capstone feature has not yet been merged into main but it is on its way. So please don't merge until that's done so we can test it properly.
Here  is the PR to add static-crt to Capstone for reference.

Hi @JackBoosY
I think now it is ready

All features are tested successfully in the following triplet:

x86-windows
x64-windows
x64-windows-static

Hi @JackBoosY and @JonLiu1993
I think this port is not working. When adding to CMakelists.txt:
 find_package(triton CONFIG REQUIRED)

It ends up with:
CMake Error at C:/Users/user/Documents/code/vcpkg/installed/x64-windows-static/share/triton/tritonConfig.cmake:53 (include_directories):
  include_directories given empty-string as include directory.
Call Stack (most recent call first):
  C:/Users/user/Documents/code/vcpkg/scripts/buildsystems/vcpkg.cmake:782 (_find_package)
  CMakeLists.txt:17 (find_package)

If I check C:/Users/user/Documents/code/vcpkg/installed/x64-windows-static/share/triton/tritonConfig.cmake:53
I can see:
# Z3 include directories
if (TRITON_Z3_INTERFACE)
    include_directories("")
endif()

Who creates tritonConfig.cmake? Why are the Z3 include directories empty?
Thanks


Add hotkey 'p' to open message info (profile) popover.

Awesome, thanks for working on this @lonerz!  I notice a few issues:
(1) The hotkey only works on the first message sent by a given user in a sender group (aka the one containing the user's avatar and name).  Presumably it should work on any message.
(2) We should add documentation for this.
Otherwise looks great!

@timabbott if p is pressed on a message that doesn't contain the user's avatar and name, should it open the message info popover of the first message in that sender group? I just felt it was kind of awkward to do that.

I think it can should "open the popover" corresponding to the current message.  There's currently no way to do that with the mouse, but I don't see a reason we couldn't change how the popover logic works to support this.  Basically we'd just look up the sender of the current message, rather than using the data-user-id (or whatever) that powers the existing popover.  We'll also need slightly different positioning logic; I would probably position it over the current message, not the first message in the group (which could in theory be off-screen).
So a bit more refactoring is needed.

OK cool. Will look into it.

@synicalsyntax is taking over.


How to enable the Headless backend?

Hi. The documentation on aquamarine is very poor. When there are no usable devices, the compositor crashes. How to use the Headless/Virtual backend instead? Thanks.

it's up to hyprland to accept headless-only environments, right now it doesn't because it's not what 99.9% of users want.
It's unrelated to aq.


Fix issue in filterInclusiveStart

filterInclusiveStart was excluding values smaller than the startkey.
Instead of only filtering out values exactly equal to startkey.
This fixes #20

This will fail on travis until #62 is merged.

Thanks! I'll rebase and let travis run again.

jshint fix, should be good now

Thanks for the help @nolanlawson


RFC: rename @tracepoint to @zone

I think the current macro name @tracepoint has some disadvantages:

It suggests that you are marking a single instantanous point in time. Natural usage of a "point" like trace would look like: foo()
 @tracepoint
 bar()

to take a "snapshot" of the current state of the system. Similar to how you take a stack trace.
It is a bit long.
It isn't really a terminology that I think is used in the tracy manual.

My suggestion is the name @zone. It indicates that we are marking a region (not an instant), it is shorter and the usage
@zone begin
    ...
end

maps very nicely to the C api names where you begin and end a zone. And zone is what the tracy manual seems to use for this concept.

What about @trace or @traceit?
My concern with @zone is that it's kind of a confusing name if you're not already thinking about profiling zones

My concern with @zone is that it's kind of a confusing name if you're not already thinking about profiling zones

Possibly, but you could use it as Tracy.@zone if you want to be explicit.


Segmentation tool generating completely blacked-out images

I have been attempting to use the hakai-segmentation tool to detect kelp in some orthomosaic images.
The tool has been running successfully, with this prompt after calling:
(env1) chet@RUSSELLCWW:/mnt/c/Users/chet.russell/Documents/imagery_project$ kom find-kelp PointRetreat59202220220613.tiff result.tif
/home/chet/miniconda3/envs/env1/lib/python3.9/site-packages/rasterio/__init__.py:220: NotGeoreferencedWarning: Dataset has no geotransform, gcps, or rpcs. The identity matrix be returned.
  s = DatasetReader(path, driver=driver, sharing=sharing, **kwargs)
/home/chet/miniconda3/envs/env1/lib/python3.9/site-packages/rasterio/__init__.py:230: NotGeoreferencedWarning: The given matrix is equal to Affine.identity or its flipped counterpart. GDAL may ignore this matrix and save no geotransform without raising an error. This behavior is somewhat driver-specific.
  s = writer(path, mode, driver=driver,
/home/chet/miniconda3/envs/env1/lib/python3.9/site-packages/hakai_segmentation/managers.py:92: UserWarning: Define the correct nodata value on the input raster to speed up processing.
  warnings.warn("Define the correct nodata value on the input raster to speed up processing.", UserWarning)
Processing:   9%|███████████████

It then completes the generation and leaves a completely black .tif image.
I have also attempted to process a .jpg image to a .jpg and .jpg to a .tif. Both of these had the same result.
Any idea of why this is happening?

Hmm. Perhaps the resolution is really different? I believe that all of our imagery had a resolution of, or finer than, 10cm/pixel.
Are you able to share the image with me to investigate?

Yep, no problem. I zipped the image and attached it.
I don't believe that the resolution is anywhere near 10cm/pixel, so that may be the issue.
PointRetreat59202220220613.zip
.

I think that's likely the issue. You could try to up-sample the image to 10cm and try again, and kom may be able to produce something from that. That way, at least the same extents would at least be getting fed to the classifier, although with significantly less detail

@tayden So I have been working on creating some more orthomosaic images with a resolution of 3cm/pixel, and processing them on a better machine. This time, the tool has been creating raster data perfectly. Thanks for the help!

Excellent, I'm glad it's working for you!


AttributeError: module 'hermit' has no attribute 'ui'

Hermit won't start
Traceback (most recent call last):
  File "/home/kirill/.local/bin/hermit", line 4, in <module>
    from hermit.ui import main
  File "/home/kirill/.local/lib/python3.6/site-packages/hermit/ui/__init__.py", line 1, in <module>
    from .main import main
  File "/home/kirill/.local/lib/python3.6/site-packages/hermit/ui/main.py", line 5, in <module>
    from .wallet import *
  File "/home/kirill/.local/lib/python3.6/site-packages/hermit/ui/wallet.py", line 8, in <module>
    from .repl import repl
  File "/home/kirill/.local/lib/python3.6/site-packages/hermit/ui/repl.py", line 12, in <module>
    from .toolbar import *
  File "/home/kirill/.local/lib/python3.6/site-packages/hermit/ui/toolbar.py", line 4, in <module>
    import hermit.ui.state as state
AttributeError: module 'hermit' has no attribute 'ui'

Operation system & version: [Windows 1903, WSL]
Python & pip versions: [pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)]
Terminal emulator: [bash.exe]

I run into the same issue as well on a new Ubuntu 18.04 LTS, when installing the pip package hermit:
# system dependencies
$ sudo apt install python3 python3-pip python3-venv libzbar0
$ python3 -m pip install --upgrade pip

# set python3 as default, just to be sure as bin/hermit uses "#!/usr/bin/env python"
$ sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1

# install
$ python -m venv ~/hermit-env/
(hermit-env) $ cd ~/hermit-env/
(hermit-env) $ python3 -m pip install hermit

# run
(hermit-env) $:~/hermit-env$ hermit
Traceback (most recent call last):
  File "/home/stadicus/hermit-env/bin/hermit", line 4, in <module>
    from hermit.ui import main
  File "/home/stadicus/hermit-env/lib/python3.6/site-packages/hermit/ui/__init__.py", line 1, in <module>
    from .main import main
  File "/home/stadicus/hermit-env/lib/python3.6/site-packages/hermit/ui/main.py", line 5, in <module>
    from .wallet import *
  File "/home/stadicus/hermit-env/lib/python3.6/site-packages/hermit/ui/wallet.py", line 8, in <module>
    from .repl import repl
  File "/home/stadicus/hermit-env/lib/python3.6/site-packages/hermit/ui/repl.py", line 12, in <module>
    from .toolbar import *
  File "/home/stadicus/hermit-env/lib/python3.6/site-packages/hermit/ui/toolbar.py", line 4, in <module>
    import hermit.ui.state as state
AttributeError: module 'hermit' has no attribute 'ui'

(can provide full logs if helpful)
Although there is not error message clearly stating this, it seems that Python 3.7 is required (see setup.py). I use the default versions of this Ubuntu release: Python 3.6.9 and pip 20.0.2. An update to Python 3.7 is tricky and not really supported.


ASPNETCORE_ENVIRONMENT : QA in launchSettings.json causes FluentAppBar display imporperly

🐛 Bug Report
If I change the ASPNETCORE_ENVIRONMENT variable from Development to QA in launchSettings.json, the layout of the FluentAppBar would should double icons in each FluentAppBarItem for some reason. I don't have any conditional logic in my Program. Cs to detect the environment yet. It looks like the FluentAppBar has some hard code logic only work in Development environment.
💻 Repro or Code Sample

Create a Fluent Blazor Web App using Fluent Blazor Web App template in VS2022.
Add FluentAppBar to MainLayout.razor so that it allow users to navigate to different pages
Make sure it run and work
Go to change the ASPNETCORE_ENVIRONMENT variable from Development to QA in launchSettings.json
Run the App again

🤔 Expected Behavior
It should work as the same way as ASPNETCORE_ENVIRONMENT = Development. The FluentAppBar should show properly in the same way as before.

Nothing is using the ASPNETCORE_ENVIRONMENT to make decision at this point
😯 Current Behavior
It shows the FluentAppBar with double icon, one is of Active Color and one is of Normal color, in each FluentAppBarItem

I guess the FluentAppBar may have some hard code UI logic only work in Development Environment.

It shows

instead of

💁 Possible Solution

🔦 Context

🌍 Your Environment

OS : Windows 11
Browser :  Microsoft Edge, Google Chrome
.NET 8.0 and Fluent UI Blazor library Version 4.5.1-preview)

That is really weird. There is nothing hard oded to the environment. Only thing it does is using some isolated CSS classes to set display status based on an Icon's state (hover, not hover).
Can you verify if the generated library css is the same on the two environments?

Hi Vincent,
Thank you very much for your help! It is very weird. When I change back the ASPNETCORE_ENVIRONMENT variable from QA to Development, it works again. However, when I change it to QA, it doesn't work. You can also reproduce it by following my above steps.

Hi Vincent,
Can you try directly modifying the lanuchSettings.json under the Properties folder of your Project? It is highly reproducible.

Here is the code I used to add the AppBar to the MainLayout.razor right after the project creation by VS2022.
<FluentLayout>
    <FluentHeader>
        TestApp
    </FluentHeader>
    <FluentStack Class="main" Orientation="Orientation.Horizontal" Width="100%">
        <FluentAppBar Style="height: 100%; background-color: var(--neutral-layer-2);" PopoverVisibilityChanged="HandlePopover" PopoverShowSearch="@_showSearch">

            <FluentAppBarItem Href="/AppBarDefault"
                              Match="NavLinkMatch.All"
                              IconRest="ResourcesIcon()"
                              IconActive="ResourcesIcon(active: true)"
                              Text="Resources" />
            <FluentAppBarItem Href="/AppBar"
                              IconRest="ConsoleLogsIcon()"
                              IconActive="ConsoleLogsIcon(active: true)"
                              Text="Console Logs" />

            <FluentAppBarItem Href="/StructuredLogs"
                              IconRest="StructuredLogsIcon()"
                              IconActive="StructuredLogsIcon(active: true)"
                              Text="Structured Logs" />
            <FluentAppBarItem Href="/Traces"
                              IconRest="TracesIcon()"
                              IconActive="TracesIcon(active: true)"
                              Text="Traces" />

        </FluentAppBar>
        <FluentBodyContent Class="body-content">

                @Body

        </FluentBodyContent>
    </FluentStack>
</FluentLayout>

    An unhandled error has occurred.
    Reload
    🗙

@code {

    private bool _showSearch = true;

    private static Icon ResourcesIcon(bool active = false) =>
        active ? new Icons.Filled.Size24.AppFolder()
               : new Icons.Regular.Size24.AppFolder();

    private static Icon ConsoleLogsIcon(bool active = false) =>
        active ? new Icons.Filled.Size24.SlideText()
               : new Icons.Regular.Size24.SlideText();

    private static Icon StructuredLogsIcon(bool active = false) =>
        active ? new Icons.Filled.Size24.SlideTextSparkle()
               : new Icons.Regular.Size24.SlideTextSparkle();

    private static Icon TracesIcon(bool active = false) =>
        active ? new Icons.Filled.Size24.GanttChart()
               : new Icons.Regular.Size24.GanttChart();

    private static Icon MetricsIcon(bool active = false) =>
        active ? new Icons.Filled.Size24.ChartMultiple()
               : new Icons.Regular.Size24.ChartMultiple();

    private void HandlePopover(bool visible) => Console.WriteLine($"Popover visibility changed to {visible}");
}

Please also make sure you Save the change rather than using hot reload, then when you rerun the project, it will show

It is highly reproducible for me.

Didyou close it on accident? Or did you solve the issue?

Sorry! Closed it by accident.

Thank Vincent!

Ok, not a library bug...See https://learn.microsoft.com/en-us/aspnet/core/blazor/fundamentals/static-files?view=aspnetcore-8.0#static-files-in-non-development-environments
Because your deviating from trhe standards, you need to make a change in Program.cs.  After line 4 add:
builder.WebHost.UseStaticWebAssets();

and it all starts working again.

Wow! It works! Thank you so much for your help, Vincent!


Fix links inside CONTRIBUTING.md

Hi,
I've gone through the CONTRIBUTING.md and see that some links are broken.
Please check if these changes are appropriate.
Thanks for an awesome library!

Any reason you closed this? The modifications lgtm.

My bad, I did not check this PR https://github.com/google/material-design-lite/pull/774
But I can fix few more that are missing inside that PR.

Ah, that isn't a big deal... at least it shouldn't be. Let's see. :smile:

I'll just manually resolve the conflicts myself.

That makes sense, thank you!


Unexpected breaking change for @function inside control directive

Upon updating from 3.4.x to 3.5.x I'm getting

Functions may not be defined within control directives or other mixins.

Specifically we're seeing the error because of https://github.com/Igosuki/compass-mixins/blob/master/lib/compass/functions/_lists.scss#L80
If we need to find a replacement, that's not the end of the world, but it seems like this should have necessitated a major version bump, or been a warning in the short term?

This project is an implementation of the Sass language. Our goal is to be 100% compatible with Sass. We're closing this issue since Ruby Sass produces the same output. In the future please confirm that LibSass' output differs from Ruby Sass before opening an issue.
If you wish to suggest features of file bugs in the Sass language please open an issue with Sass - https://github.com/sass/sass

The following code is not valid Sass
@if true {
  @function foo() {
    @return false;
  }
}

And will result in error you're seeing
Functions may not be defined within control directives or other mixins.

This didn't error previously due to a bug. The error is the correct behaviour.

Sorry, my mistake.


add ivesia.com to awfulrecruiters list (see desc)

Technically this is from the other side of the table (hiring manager - incoming) but still spray-and-pray nonetheless. I'm not specifically addressed by name, I'm BCC'ed, and it's a blanket catch-all email. See screenshot: http://i.imgur.com/KVG2hkk.png

bump


TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype float64 for variable None

I am running iGAN_main.py on Windows 10 with an NVIDIA GeForce GTX 980 with the following command
python iGAN_main.py --model_name outdoor_64
and have added the following lines to iGAN_main.py
import os
os.environ["THEANO_FLAGS"] = "device=gpu, floatX=float32, nvcc.fastmath=True"
and I receive the following error
TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype float64 for variable None
I have also added these THEANO_FLAGS to the .theanorc file and still receive this error. I have upgraded Theano to 0.9. Can someone please help me with this issue? I am happy to provide whatever further information is needed to solve this issue.

Have you tried the command suggested by README THEANO_FLAGS='device=gpu0, floatX=float32, nvcc.fastmath=True' python iGAN_main.py --model_name outdoor_64

i have the same problem with camdirigo. when run
 THEANO_FLAGS='device=gpu0, floatX=float32, nvcc.fastmath=True' python iGAN_main.py --model_name outdoor_64
in the terminal  . then i recevive the following error
'THEANO_FLAGS' 不是内部或外部命令，也不是可运行的程序或批处理文件。
Can someone please help me with this issue?

Have you tried the command suggested by README THEANO_FLAGS='device=gpu0, floatX=float32, nvcc.fastmath=True' python iGAN_main.py --model_name outdoor_64

I am also facing the same problem. Did you get any solution for this issue?


[SD-App] please add tobozo/M5Stack-Pacman-JoyPSP

https://github.com/tobozo/M5Stack-Pacman-JoyPSP

Add library requirements:
http://www.buildlog.net/blog/wp-content/uploads/2018/02/Game_Audio.zip

build broken (can't work from a fork)


chore!: update flutter_svg version in flame_svg to latest

Description
Current flutter_svg version is quite old: ^0.22.0. Updated to latest v1.0.3
Checklist

[ x ] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[ x ] I have read the Contributor Guide and followed the process outlined for submitting PRs.
[ ] I have updated/added tests for ALL new/updated/fixed functionality.
[ ] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[ ] I have updated/added relevant examples in examples.

Breaking Change

[ x ] Yes, this is a breaking change.
[ ] No, this is not a breaking change.

Related Issues

Thank you so much for the contrib!!
I wonder if this is a break change though? It seems that no external Flame API has been changed, am I missing something?

@erickzanardo You are correct no API changed. Perhaps I flagged it incorrectly. I flagged because this change would break my app build until I updated flutter_svg in all my packages that are using it

I wonder if there are any performance improvement in this version, that would be pretty nice!


Lightning decode api Failed to decode

Hi
Calling POST https://demo.lnbits.com/api/v1/payments/decode with the body
{
    "data": "lnbc1u1psh...q8t3wp2"
}

return "message": "Failed to decode"

Can you please try sending the invoice in a query parameter? ?data=lnbc1u1psh...q8t3wp2 and see if that solves it?

Hey @arcbtc, I think this is still an issue - can this potentially be reopened?
The response code is 200 OK even if the invoice could not be decoded.
I don't think it is a breaking change to adapt it and send 4xx or 5xx depending on what the underlying issue is.
What do you think?


Vanilla theme hooks

I did something. I'm pretty sure a lot of stuff is broken too.
-- disable theme functions
a = set_pre_theme(THEME.DWELLING, THEME_OVERRIDE.SPAWN_BORDER, function(theme)
  return true
end)

-- override theme functions
b = set_pre_theme(THEME.DWELLING, THEME_OVERRIDE.TEXTURE_DYNAMIC, function(theme, texture)
  if texture == DYNAMIC_TEXTURE.FLOOR and math.random() < 0.5 then
    return TEXTURE.DATA_TEXTURES_FLOOR_JUNGLE_0
  end
end)

-- fix things in post
c = set_post_theme(THEME.JUNGLE, THEME_OVERRIDE.SPAWN_EFFECTS, function(theme)
  if test_flag(state.presence_flags, 2) then
    state.camera.bounds_bottom = 56.5
  end
end)

--clear_theme_callback(THEME.DWELLING, a)
--clear_theme_callback(THEME.DWELLING, b)
--clear_theme_callback(THEME.JUNGLE, c)

Didn't look much thru this, but i believe you don't need separate hook functions for void, bool, uint8, uint32, you can just always have it as returning size_t, then then throw away the upper bits and cast it depending on the type you need, or for bool, you can just use bitwise
The only exception is float which needs to have separate function

Yeah I kinda saw that too when it was done, but it was already done 🤷🏻. Or could've probably used some kind of templates, but I'm dumb.

You can always suggest your optimizations in a fork, I won't be refactoring this before next week anyway.

So there is a bug that all the functions of the same signature just run the same hook, cause that's just how our vtable_hook works I guess.
using VoidFun = void(ThemeInfo * self);
hook_vtable<VoidFun>(
    theme, [](ThemeInfo* self, VoidFun* original)
    {   DEBUG("THREE");
        original(self); },
    0x3);
hook_vtable<VoidFun>(
    theme, [](ThemeInfo* self, VoidFun* original)
    {   DEBUG("FOUR");
        original(self); },
    0x4);
hook_vtable<VoidFun>(
    theme, [](ThemeInfo* self, VoidFun* original)
    {   DEBUG("FIVE");
        original(self); },
    0x5);

/* prints:
[debug] FIVE
[debug] FIVE
[debug] FIVE */

/* stupid workaround */

using VoidFun = void(ThemeInfo * self);
using VoidFun2 = void(ThemeInfo * self, void* random);
using VoidFun3 = void(ThemeInfo * self, bool crap);
hook_vtable<VoidFun>(
    theme, [](ThemeInfo* self, VoidFun* original)
    {   DEBUG("THREE");
        original(self); },
    0x3);
hook_vtable<VoidFun2>(
    theme, [](ThemeInfo* self, void* random, VoidFun2* original)
    {   DEBUG("FOUR");
        original(self, random); },
    0x4);
hook_vtable<VoidFun3>(
    theme, [](ThemeInfo* self, bool crap, VoidFun3* original)
    {   DEBUG("FIVE");
        original(self, crap); },
    0x5);

/* prints:
[debug] THREE
[debug] FOUR
[debug] FIVE */

Well I've spent days trying to figure out how to fix this hook so that you could define the vtable index at runtime and have multiple hooks with the same signature. This feature is scrapped.

I can fix that too once I'm at a PC, but you know that's a very volatile expectation for me these days. So just gotta have patience.

Now I see your issue, for the first time these are runtime values for the vtables. So it's not as trivial as I thought.

It seems to work. At least Jays example that sparked this problem is fixed.


Install New Yang Model

Hi, I have some experience working on Netopeer version 1. But now evaluating the Netopeer2.

I have installed new YANG model using sysrepoctl. when i do GET from cli, i do not find my model in capabilities ?  but i see as schema.
Not able to Edit config, is it because the module could not be figured in Capabalities ?
Working on a scenario where Netconf client would configure the attributes on the device. In Netopeer1  there was an option of TransAPI where i would integrate the device API inside TransAPI. How do i call the Device SDK API to configure attribute ?
Netopeer is already integrated with the sysrepo? but still do i need to write Plugins  ?

-Harish

Hi Harish,

What YANG version is your model? Only YANG 1.0 models are in capabilities and ietf-yang-library. The rest of the models can be read from ietf-yang-library data tree.
In sysrepo, all models are disabled by default. To enable it, there must be a client that is subscribed to its data. You can use examples/application_example for this purpose, just use your model name as a parameter. Then your model will be enabled (its startup copied into running) and also <edit-config> on it enabled.
You want to write your own sysrepo plugin/application, it is similar to a transAPI module. You can refer to the application_example I mentioned or read the relevant docs.
 You do not need to do anything more than before.

Regards,
Michal

Hi Michal,
YANG 1.1 file issues :-

I have a proprietary Yang version is 1.1 from my vendor Ericsson. So not
able to share, but attaching the screenshot of the error.
Trying to install using sysrepoctl but throwing up parsing error.
(Screen shot attached about error and also screenshot of the current
sysrepo version)

YANG1.0 clarifications:-

As suggested by you in the previous mail, i am using Application_Example
with module name. now i am able to do edit-config operation. here is the
scenario for my project
Netconf Client  ---> edit-config ---> Netconf Server (on device)----- >
candidate datastore --> call the device API to configure the attribute --->
device sends success ---> Netconf-Server sends success to Netconf Client
----> Netconf-Client sends COMMIT ---> Netconf Server ---> Sysrepo copies
Candidate to Running datastore.

Please let me know where is the place holder for calling Device API when
Clients do Edit-Config operation ?
-Harish
On Thu, Jul 12, 2018 at 3:18 AM Michal Vasko<EMAIL_ADDRESS>wrote:

Hi Harish,

What YANG version is your model? Only YANG 1.0 models are in
capabilities and ietf-yang-library. The rest of the models can be
read from ietf-yang-library data tree.
In sysrepo, all models are disabled by default. To enable it,
there must be a client that is subscribed to its data. You can use
examples/application_example for this purpose, just use your model
name as a parameter. Then your model will be enabled (its startup
copied into running) and also  on it enabled.
You want to write your own sysrepo plugin/application, it is
similar to a transAPI module. You can refer to the application_example
I mentioned or read the relevant docs
http://www.sysrepo.org/static/doc/html/dev_guidelines.html.
 You do not need
to do anything more than before.

Regards,
Michal
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CESNET/Netopeer2/issues/296#issuecomment-404414002,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHLPDi9Bc6nYDx6jjhXR7JneRHi1m6gbks5uFvgvgaJpZM4VLts0
.

--
Regards,
Harish Chalageri

Hi,
I cannot see the screenshot and it would be great if you could send me the model privately and I will see what I can do about the error.
In the data flow, you have a wrong idea about candidate datastore. The changes should be applied only once they are being written into running, it would be wrong to apply them sooner. What you want to do is to simply execute <edit-config> on running. If you then have a callback defined for the model (basically application_example code), sysrepo will call it and that way give you a chance to call device API and apply whatever changes are in the edit-config.
Regards,
Michal

Hi Michal,
please find the attached proprietary yang file and the xml used to do edit
config.
-Harish
On Mon, Jul 23, 2018 at 3:32 AM Michal Vasko<EMAIL_ADDRESS>wrote:

Hi,
I cannot see the screenshot and it would be great if you could send me the
model privately and I will see what I can do about the error.
In the data flow, you have a wrong idea about candidate datastore. The
changes should be applied only once they are being written into running,
it would be wrong to apply them sooner. What you want to do is to simply
execute  on running. If you then have a callback defined for
the model (basically application_example code), sysrepo will call it and
that way give you a chance to call device API and apply whatever changes
are in the edit-config.
Regards,
Michal
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CESNET/Netopeer2/issues/296#issuecomment-406966659,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHLPDrZ5nnMs7tp3ny5nMOYK6pObv97Oks5uJXwZgaJpZM4VLts0
.

--
Regards,
Harish Chalageri
1010113qci5100201251qci851002012511030200320500800100206050100900100001000100001010090falseack-sequential-scell-selection1020010050round-robinnone100falsefalse-10150600false

Hi,
I think I see the <edit-config> but no error nor YANG model. Please, do not forget you cannot attach files when replying via email, try to use GitHub interface directly.
Regards,
Michal

Hi Michal,
As mentioned in the previous mail, i cannot share yang to public as they
are proprietary. Please provide me your mail id where i can share the yang
file.
-Harish
On Wed, Aug 1, 2018 at 10:00 AM Michal Vasko<EMAIL_ADDRESS>wrote:

Hi,
I think I see the  but no error nor YANG model. Please, do
not forget you cannot attach files when replying via email, try to use
GitHub interface directly.
Regards,
Michal
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CESNET/Netopeer2/issues/296#issuecomment-409584907,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHLPDmp8ecloY9ov4Di3kX73OypKcvCVks5uMbSBgaJpZM4VLts0
.

--
Regards,
Harish Chalageri

Hi,
just use the one from my profile<EMAIL_ADDRESS>Regards,
Michal

Hi,
Is this problem solved? I have similar problem. I have installed a yang-version 1.1 model, but it is not seen in the capabilities (though I can access the model from client). How to fix this?
-Vivek

Hi Vivek,
as written in my first reply, YANG 1.1 modules are not supposed to be in the capabilities in hello message. They are, instead, in ietf-yang-library state data. So, what exactly is the problem?
Regards,
Michal

Hi Michal,
Thanks for quick response. I understand now that it is according to the standards. I can get the list of installed models in /ietf-yang-library:modules-state.
Regards,Vivek
On Friday, 22 March, 2019, 3:31:28 pm GMT+1, Michal Vasko<EMAIL_ADDRESS>wrote:
Hi Vivek,
as written in my first reply, YANG 1.1 modules are not supposed to be in the capabilities in hello message. They are, instead, in ietf-yang-library state data. So, what exactly is the problem?
Regards,
Michal
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


Feature Request: Lua UDF

Hi,
Thanks for your great project, are you planning to add Lua UDF support?
Sincerely,
EM

You mean the redis script command?

deep011 commented a day ago

You mean the redis script command?

Hi, yes, exactly, script, eval, evalsha.
Are you planning to implement this?
Sincerely,
EM


Allow specify columns to update

Allow specify columns to update in the methods save and saveit
If the specification is donde, the validations will not be trigged

@devMls what is this about? Can  you please create an issue and explain this, see: http://javalite.io/contributors
Also, please use the same format for commits "#123  Issue title - additional comments".

@devMls can  you please see my comments above? Just sending  commits is not helpful. Also, your code has no associated tests.

Hi.
I try to resolve this issue:
https://github.com/javalite/activejdbc/issues/238
Where vyemialyanchyk asking for a way to update only some fields, for avoid to get all record from database, or manage a clob field for update only a boolean.
With this functionality you can:
model.save("field1, field2");
I find this helpful, this week i will implement tests.

@devMls all commits must follow a pattern as I described above. Can you please:

Close this PR
Create a new PR and commit messages that follow the rules
Add tests around new functionality


汉字“蠹”的笔顺不对，请问应该怎么修正？

如题

The best place to change it would be https://github.com/skishore/makemeahanzi, but it looks like that hasn't been updated in awhile, so if you want to make a pull request to https://github.com/chanind/hanzi-writer-data directly as well with the fix that might be easiest!


Update: Include sample_name IRIDA-Next input column

Modified the template for input samplesheet.csv file to include the sample_name column in addition to sample in-line with changes to IRIDA-Next update as seen with the speciesabundance pipeline and staramrnf. What this means is that the output files and the sample name will be changed to sample_name if a sample_name is called. If arborator is being locally then the sample_name can be left blank.
Made a few changes:
- sample_name special characters will be replaced with "_"
- If no sample_name is supplied in the column sample will be used
- To avoid repeat values for sample_name all sample_name values will be suffixed with sample
- Tests to check that the variety of different sample_names work with the
PR checklist

[x] This comment contains a description of changes (with reason).
[x] If you've fixed a bug or added code that should be tested, add tests!
[x] Make sure your code lints (nf-core lint).
[x] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
[x] Add nf-test to test new feature
[x] Usage Documentation in docs/usage.md is updated.
[x] CHANGELOG.md is updated.
[x] README.md is updated (including new tool citations and authors/contributors).
[x] Tested out in IRIDA-Next locally

Next I will add some nf-tests specific to a samplesheet with sample_name column to make sure it behaves as expected.

As this is a IRIDA-Next feature, I ran it in IRADA-Next and it runs without any issue.

This looks really great. Thanks so much @sgsutcliffe for your work on this 😄 . I tested out in IRIDA Next and it all works.
In addition to the comment I made in-line, I'm wondering if, for some of the output (in particular for ArborView) we could have a column for both sample and sample_name?

That is, to add another column in the above output for sample which is filled in with the IRIDA Next identifier.
I believe this could be implemented by adding a new value to the metadata_headers and metadata_rows to pass to the MAP_TO_TSV process:
https://github.com/phac-nml/arboratornf/blob/da8ef921af1dcbf91a81f4ae730c9de0227b439e/workflows/cluster_splitter.nf#L77-L91
What do you think? Do you have any input on this @emarinier ?

I took a shot at it. 6a2cd79 Had to modify a lot of tests to accomodate the change.

Not sure what this update broke per se but it looks like the CI are failing due to locidex container not being loaded?
  Command error:
    Unable to find image 'mwells14/locidex:0.2.3' locally
    docker: Error response from daemon: Head "https://registry-1.docker.io/v2/mwells14/locidex/manifests/0.2.3": unauthorized: incorrect username or password.


Add a clear cache button in GUI.

Terasology's cache can get corrupted which can lead to the play and download button being greyed out. There should be a reset cache or some sort of button, for the less technically experianced. (as you have to delete the cache folder)

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/37747762-add-a-clear-cache-button-in-gui?utm_campaign=plugin&utm_content=tracker%2F715506&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F715506&utm_medium=issues&utm_source=github).

This would for instance help the recent situation where a few users who connected to Jenkins at a particular time with a particular launcher version ended up with a busted cache. Probably we'll find some way to likewise break the cache again in the future :-)

Planning to work on this issue as well as a few assorted (non-reported) fixes!
@skaldarnar: do you have a source for the other button icons(e.g. trash.png)? Don't see a mention in the license/README/related PR 😕

@rzats nice to hear. Let me know if you need some help or would like to have some general discussion on some things.
I need to double check for the icons, but I think created them myself (like the icons for the wiki).

Thanks! :)
I think something like fa-refresh or fa-clean would fit nicely (though have to doublecheck the license on the latter as it's a 'suggested' icon and not actually a part of FA).

I like fa-clean for the clear cache functionality. fa-refresh would be a good choice for a real "refresh" button (maybe in combination with offline mode/more connectivity options)

@rzats I indeed created the icons myself. I can add the SVG file along with a license note. Would you suggest to add a CREDITS file similar to the main project?

@skaldarnar: yes please 🙂 This can also contain the license for launcher flag icons (CC BY 4.0).


ED-PIC: Move Particle Boundaries

The particle boundaries are currently, due to the thetaMode that makes it possible that a particle boundary for the position components x and y is defined over a combination of both, e.g., a virtual r, defined on the mesh.
This is sub-ideal, since it forces all particles to use the same boundary conditions, which might not be the case. Examples: semipermeable walls, (re-)injector walls + reflection/open for other particle species, etc.
I propose therefore, for an upcoming version, to move the particleBoundary attributes down to a particle record attribute and to find a way to express the thetaMode boundaries (on the position) component-wise so things like r "open boundary"/"absorbing"/"reflecting" can be defined even on x, y, z components of each particle specie's position (or at an other place in the particle itself).

currentSmoothing is an other candidate that should be a particle attribute for each species that creates the (charged/neutral) current.

additionally, we could call absorbing boundaries open boundaries as in the fieldBoundary namings

"Open" boundaries sounds ambiguous to me.

It's actually not. Since the boundaries are all surfaces, open is used for open surface which is well defined what to expect (and implementation dependent on how it is done -> *Param).
(the same way we do not write reflectingSurface, reinjectingSurface, etc.)


DatePicker not showing initial value when using MomentAdapter

Bug, feature request, or proposal:
Bug
What is the expected behavior?
The datepicker should show the initial value when provided.
What is the current behavior?
It does not
What are the steps to reproduce?
https://stackblitz.com/angular/kbyqgkdyyjo?file=app%2Fdatepicker-moment-example.ts
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Latest Angular.
Chrome  69.0.3497.100
FireFox 62
Is there anything else we should know?
It is working here for some reason. https://material.angular.io/components/datepicker/overview#choosing-a-date-implementation-and-date-format-settings

It seems that for some reason the date picker is using NativeDateAdapter instead of MomentDateAdapter. The issue seems to be reproducible only in stackblitz. If I download the sample locally, it works as expected. This issue might be duplicate of #9780.

Looks like it, though i'm also experiencing this in my local project.

@robindijkhof Do you reproduce this issue when you download the stackblitz sample locally or in a separate local project?

A seperate project. But it has been a while ago and I haven't tested it again.

Really this is a problem with stackblitz https://github.com/angular/components/issues/12458. I recomened close this issue @andrewseguin


Fix suggestions when numArgs is set to rest

The initial use case for this was to fix suggestions for string arguments with numArgs set to rest. For example, if you had a command to spawn a vehicle, it would treat each part of the argument (separated by a space) as its own argument, which can cause issues when you want each part to be treated as the entire argument (e.g. if the vehicle name has spaces).
This kind of goes against what I had in mind when implementing numArgs though, and it also deviates from how other command frameworks treat this kind of thing. Going back to the vehicle example, it probably makes more sense for the argument to be a string without the numArgs option. At that point the user can just quote the string if the vehicle has a space in its name, e.g. vehicle spawn "Car Name"


Refactoring

Hello,
I moved some of this around for you as I thought I would help out. Something is up with your pre-commit hook as you're linting with standard and single quotes but it's not working.
I noticed that you're calling a loading screen but you can wrap that into a Higher Order Component so you don't need to duplicate it.

@imcodingideas this is great! Thank you! I noticed that you import component specifically. Is there an advantage to doing it this way? If so, I will definitely start doing it like that all the time.

@JesseRWeigel I was just trying to be consistent with your other components. I don't have another argument other than consistent.
Finally; let's not have components with both presentation, and data concern. Take a look at this when you get a chance: https://gist.github.com/chantastic/fc9e3853464dffdb1e3c

Thanks for the info! I am open to refactoring to separate data from presentation. It may not get done before launch though.


Handle https requests via JS

JS makes XHR requests through http only. It fails on https.
It should work on both.

It seems that it was a server problem, SF handles correctly https..
Still on track.


fix(component-links): allow overflow of the container

Closes #619
Revert the overflow prop originally set from the Wrap component that contains the component links (i.e. source code, theme, npm) to allow the boxShadow on focus and the transition on hover to not be clipped.
Clipping comes from the combination of overflow: hidden and negative margins, both set by the Wrap component.

@noobinthisgame good to check again!

@noobinthisgame alright, one more time! 😆


small whitespace fix

Fixes two whitespace issues I noticed when looking at this again for reference.

@gavanderhoorn @jproberge The Travis CI does not respond. The changes here are trivial (removing two spaces) and should not cause any issues. Can you have a look at this PR and merge it?


Select collection

I would like the possibility to show all collections of a database with a drop-down menu (so called variable in Grafana) and to select the desired collection from which I want the data to be displayed.
If I use the db.listCollections() the following error gets displayed: "Template variables could not be initialized: Failed to parse query - Invalid collection and operation syntax:Unknown operation undefined, only aggregate supported".
I've also tried "db.getCollectionNames()" and this also didn't deliver better results.
Any ideas?

Has it been resolved?

I have the same problem, can you tell me the solution


feat: revert "enabled snapshot by default"

Description
Reverts commit 96dff741
This is done to prevent adding such feature without additional study on the consequences. An ADR should be created before applying this change.

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[x] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[x] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] followed the guidelines for building modules
[ ] included the necessary unit and integration tests
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed ! in the type prefix if API or client breaking change
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

@bragaz Yeah, I'd love to.


'hasMore' error when using get_quote()

The KeyError 'hasMore' is printed out everytime I try to get quote information from a stock. It had worked perfectly fine for 2 months up until now. I'm not sure what that error means so I have no idea what the problem is. Is there a reason why get_quote() is doing this?

i'm having this same error with get_bars() too!! It was working 2 days ago and now every request stuck with this. Please help. Thanks

Duplicate of #68
It looks like a fix might be already merged to master branch now.


Add key handle helper methods to android api

Description
Introduce isValid and delete in TrifleApi for API parity in Android

no api for getting certs?


Improve JSON serialization performance on Linux

This change improves the performance of serializing objects to a Data, by using String concatenation to build the result, and then convert to a Data once.  This change was developed by @shmuelk and myself.
We may want to revisit this in the future as the performance of appending to Data improves.
Note, we initially used jsonStr.cString(using: .utf8) to create the Data, but in testing this seemed to leak memory (perhaps this is a bug): https://github.com/IBM-Swift/SwiftyJSON/pull/22
I've provided a microbenchmark to demonstrate the effect of these changes:
Before:
TestFoundation/TestNSJSONSerialization.swift:760: Test Case 'TestNSJSONSerialization.test_serialization_perf' measured [Time, seconds] average: 0.463, relative standard deviation: 3.143%, values: [0.485122, 0.469292, 0.439064, 0.447310, 0.455177, 0.482358, 0.455306, 0.468886, 0.468181, 0.461310], performanceMetricID:org.swift.XCTPerformanceMetric_WallClockTime, maxPercentRelativeStandardDeviation: 10.000%, maxStandardDeviation: 0.100
Test Case 'TestNSJSONSerialization.test_serialization_perf' passed (4.632 seconds).

After:
TestFoundation/TestNSJSONSerialization.swift:760: Test Case 'TestNSJSONSerialization.test_serialization_perf' measured [Time, seconds] average: 0.238, relative standard deviation: 8.555%, values: [0.235258, 0.234057, 0.224006, 0.257510, 0.248202, 0.241663, 0.209058, 0.259959, 0.204592, 0.261825], performanceMetricID:org.swift.XCTPerformanceMetric_WallClockTime, maxPercentRelativeStandardDeviation: 10.000%, maxStandardDeviation: 0.100
Test Case 'TestNSJSONSerialization.test_serialization_perf' passed (2.376 seconds).

The above results were collected on Ubuntu 16.04.  I obtained similar results on OS X.

@parkera I've removed the performance test from this PR, and I posted to the swift-corelibs-dev mailing list re. where it belongs.

@parkera Assuming you're happy with the changes, is there still time to get this (and #723) considered for inclusion in the 3.0.2 release?

@swift-ci please test and merge

Let's get this into master and then I'll check on the Swift 3.0.2 question.


[Bug Report] ISSUE with item options.

Describe the bug
Item Options didn't work. whatever i add nothing change.
Versions (please complete the following information):

Minecraft Server Version: 1.16.5-Purple
Plugin Version: <IP_ADDRESS>

*Do NOT say Latest use /version crazycrates in the console.
Pastebin any errors in console
Link: NONE
Issue
Item Options didn't work. whatever i add nothing change.
Screenshots
If applicable, add screenshots to help explain your problem.

I didn't find any relate errors in console
I have just tested both durability and custommodeldata for item, both of them doesn't work.
Here is the crate file https://pastebin.com/4htyrQKT

I didn't find any relate errors in console
I have just tested both durability and custommodeldata for item, both of them don't work.
Here is the crate file https://pastebin.com/4htyrQKT

Try to edit the config file instead of using itemAdder and make sure to check your yaml file with an online validator .

Yaml is totally fine for me, i used for 1 year. everything but item option not work for me.
Besides i have tried to delete all file make all resouce regenerate, the default crate file didn't work either, (yes i tried with only duraility option but still not works) it should not the issue with the config or somthing.
the custom model data works anywhere in my other plugin, like mmoitem or etc, it something wrong with ia stuff.

I didn't find any relate errors in console
I have just tested both durability and custommodeldata for item, both of them don't work.
Here is the crate file https://pastebin.com/4htyrQKT

Try to edit the config file instead of using itemAdder and make sure to check your yaml file with an online validator .

Yaml is totally fine for me, i used for 1 year. everything but item option not work for me. Besides i have tried to delete all file make all resouce regenerate, the default crate file didn't work either, (yes i tried with only durability option but still not works) it should not the issue with the config or somthing. the custom model data works anywhere in my other plugin, like mmoitem or etc, it probably not something wrong with ia stuff.

Does it work in the item section of the prizes?

No, it does not work anywhere. Material works fine with or without options.


PyPI Package

Out of curiosity, any reason this isn't on PyPI? I saw #11 but it didn't mention any particular reason.

Hello there, initially I made this script to learn python, so at that time I dont know much about pypi packaging, and since pip+git already does easy installation method, I don't bother reading pypi packaging...
But because now this hits 500 stars, I think I will make next version available from pypi...

Sounds great! If I can help with anything let me know.

Of course there's so much helps and ideas needed and are welcome :) ... But sorry if the code isn't commented and described properly, because I don't have degree in any programming related degree, I even forgot some variables that I made myself... I'll try to make it easier to other people to read them...

https://pypi.org/project/epr-reader/ <-- now on pypi


Compress on upload

Hello all...
At first, I would like to thank you for this great js!!
And at second.... I would like to know if there is a way to compress the file using gzip, I know that many browsers (almost all) implements gzip...

How about using something like https://stuk.github.io/jszip/ now?
Can this be integrated soon?

There will definitely not be any such library integrated into Fine Uploader as part of the core library. Zip compression is not appropriate for many files, such as images and videos (to name a few). But of course you are free to compress files however you see fit and then submit them to Fine Uploader.


Backport "Fix link resolving in scaladoc and fix invalid links in docs" to LTS

Backports #18465 to the LTS branch.
PR submitted by the release tooling.
[skip ci]

No regressions detected in the community build up to lts-18582.
Reference


🐛 [BUG]: node change events not triggered when removing nodes

Is there an existing issue for this?

[X] I have searched the existing issues and this is a new bug.

Current Behavior
Use this example from docs to delete a node from nodes array:
https://vueflow.dev/guide/node.html#removing-nodes-from-the-graph
<VueFlow :nodes="nodes" @nodes-change="() => console.log('nodes change')" @nodes-initialized="() => console.log('nodes initialized')">

Events nodes-change and nodes-initialized not emitted.
const { onNodesChange } = useVueFlow()

onNodesChange also not emitted
but the watcher
const { getNodes } = useVueFlow()
watch(getNodes, (nodes) => console.log('nodes changed', nodes))

react to the changes.

But when adding a node to the same nodes array, all of those events will be emitted
Expected Behavior
I expect that
onNodesChange and @nodes-change and @nodes-initialized (?)
will be emitted when deleting some nodes from array
Steps To Reproduce
https://vueflow.dev/guide/node.html#removing-nodes-from-the-graph
<script setup>
import { ref } from 'vue'
import { VueFlow, Panel } from '@vue-flow/core'

const nodes = ref([
  {
    id: '1',
    position: { x: 50, y: 50 },
    data: { label: 'Node 1' },
  },
  {
    id: '2',
    position: { x: 150, y: 50 },
    data: { label: 'Node 2' },
  }
])

function removeNode(id) {
  nodes.value = nodes.value.filter((node) => node.id !== id)
}
</script>

<template>
  <VueFlow :nodes="nodes">
    <Panel>
      <button type="button" @click="removeNode('1')">Remove Node 1</button>
      <button type="button" @click="removeNode('2')">Remove Node 2</button>
    </Panel>
  </VueFlow>
</template>

Relevant log output
No response
Anything else?
My use-case is, that i read-in the tree from a ordered list of items (that a part of a store), and when all nodes are initialized, i do some additional layouting with dagre library. That means, after each change of nodes property, i need to know if vue-flow nodes are initialized so that i can apply the dagre layout.
When i add nodes, @nodes-initialized event is fired, that seems to be useful to apply dagre layout. but this event is not emitted when removing nodes from nodes array.
No response

onNodesInitialized will not trigger when removing nodes.
Logically there is no reason to emit a node "initialized" event if a node is removed - no nodes were initialized (meaning a size was measured by resize observer).
Removing nodes create a change just as would be expected, so I can't reproduce that part of the problem and if it exists please provide a proper reproduction of the problem.

I overlooked one part which seems crucial for the explanation regarding this issue.
function removeNode(id) {
  nodes.value = nodes.value.filter((node) => node.id !== id)
}

when you use the function above to remove a node (which is a completely valid way to do it, mind you ^^), there won't be any changes created.
<VueFlow> will not try to track your nodes in react to filtering out a node by creating a change, communicating that back to you etc.
The function above does not go the path of creating a change.
The idea of onNodesChange is communicating changes triggered either internally, for example by pressing Backspace on a node to delete it, or through the use of helpers, for example removeNodes of useVueFlow, to the userland so you can decide (given you turn of automatic change application) whether those changes should even be applied or not.
So if you want onNodesChange to trigger in this case you would want to use this instead
const { removeNodes } = useVueFlow()

removeNodes(nodeId)

Looks like this needs to be documented more clearly to prevent this sort of misunderstanding and clearly explain what changes actually mean (it does not mean any change as explained above) and when these are communicated through the given events like onNodesChange.

Thanks for your quick answers.
The misleading part of that for me is, that pushing a new entry to the nodes array triggers onNodesChange, but removing not.

It does but if you inspect the change closely it's not a change of type add but a change of type dimensions which will always be generated for nodes that are mounted and rendered as these are created and pushed whenever a ResizeObserver measures dimensions of a node

Okay thanks, didn't realized that

is there a way to prevent a ndoe being deleted from the 'del' or 'bacjspace' key ?
I want some nodes always on the canvas


Script mode with code build?

Is it possible to use script mode for continuous deployment or it's only for local development?

hi @leolorenzoluis, could you elaborate on what you're looking to do? The TensorFlow Script Mode images are available publicly via Amazon ECR.

@laurencer I figured it out. It was just hard to find the public ECR images in the documentation.


[9.x] Adds renameKeys to the Collection

Adds the ability to rename some keys of an associative array collection without changing their order.
This is usually needed when we get some data from a source and want to expose it in a public API, but the keys are not very readable.
Following the previous PR #42657, this implementation is based on mapWithKeys with more tests covering edge cases.

Would not keyBy work for this?
$collection->keyBy(function ($value, $key) {
    $newKey = 'something';

    return $newKey;
});

It accepts a callback which receives the value and the current key.

@johanrosenson No that is totally a different thing. Check the tests at SupportCollectionTest@testKeyBy.

@imanghafoori1
ok, could you include an usage example in your original post so it's easier to quickly understand how this is supposed to be used?

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


Added check for date objects on strings

Hi,
I've added a check on the StringType to convert date instances (both Carbon and DateTime) to a JavaScript supported string.

Each app has very different requirements to date formatting (that's why DateTime has no __toString() method). We prefer staying close to PHP logic here and only convert things with __toString() method.


fix(sec): upgrade golang.org/x/net to 0.7.0

What happened？
There are 1 security vulnerabilities found in golang.org/x/net v0.0.0-20201021035429-f5854403a974

CVE-2022-41723

What did I do？
Upgrade golang.org/x/net from v0.0.0-20201021035429-f5854403a974 to 0.7.0 for vulnerability fix
What did you expect to happen？
Ideally, no insecure libs should be used.
The specification of the pull request
PR Specification from OSCS

See https://github.com/jesseduffield/lazydocker/pull/487


Minor Fix Suggestion for adding-a-license-to-a-repository.md repo

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository
What part(s) of the article would you like to see updated?
While adding a license in repo we must have to type "LICENSE.md" only to get option of choosing different LICENSE, typing "LICENSE" only won't work.
remove part which says "LICENSE or"

Additional information
No response

also adding screenshot of typed preview  "LICENSE.md" would be great


Fix 400 lint errors

Coverage increased (+0.5%) to 61.441% when pulling 1f393bb4f6e110cf40ddd57f7d95034902654f35 on lint into ef13c01086aea66b991b130efd6b224cdd31f04d on master.

Coverage increased (+0.5%) to 61.613% when pulling aaa8da26adb41d7874a6066bf619b6b5bd0d202b on lint into 0dd4d772064bbbd288b380f13bfaecb54eccdd04 on master.


[bug] ipc fallback issues

Describe the bug
Recently we merged pull/9038 to fallback to old postMessage ipc in case of errors in fetch when invoking commands.
It does fallback to postMessage, and it works if the tauri command return string, but if the command return JSON (any object) it never returns and the promise never full filled.
Reproduction (windows)
Create new project with
npx tauri init

Change tauri inside Cargo.toml to use latest tauri
tauri = { git = "https://github.com/tauri-apps/tauri", branch = "dev", features = [] }

Change tauri.conf.json so it will open twitter and fallback to postMessage due to CSP errors and expose global tauri
"app": {
  "withGlobalTauri": true
},
"windows": [
      {
        "fullscreen": false,
        "height": 600,
        "resizable": true,
        "title": "app",
        "width": 800,
        "url": "https://twitter.com/",
        "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.109 Safari/537.36"
      }
    ]

Add new command which returns json
#[tauri::command]
fn test() -> serde_json::Value { // window.TAURI.core.invoke("test")
  println!("test is called!");
  serde_json::json!({})
}

Start the app using npx tauri dev
Open dev tools and invoke test command window.__TAURI__.core.invoke("test")
Expected behavior
It should invoke test command, and the promise should resolve (fullfilled) with the empty object
Full tauri info output
WARNING: no lock files found, defaulting to npm

[✔] Environment
    - OS: Windows 10.0.22631 X64
    ✔ WebView2: 122.0.2365.92
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.75.0 (82e1608df 2023-12-21)
    ✔ cargo: 1.75.0 (1d8b05cdd 2023-11-20)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 18.17.1
    - npm: 9.6.7

[-] Packages
    - tauri [RUST]: git+https://github.com/thewh1teagle/tauri?branch=dev1#e9cb74ccf72b33d8dcf8d31ec12202bcff82dc4e (2.0.0-beta.13)
    - tauri-build [RUST]: no manifest (2.0.0-beta.10, 2.0.0-beta.10)
    - wry [RUST]: 0.37.0
    - tao [RUST]: 0.26.1
    - tauri-cli [RUST]: 1.5.9
    - @tauri-apps/api : not installed!
    - @tauri-apps/cli [NPM]: 2.0.0-beta.1

[-] App
    - build-type: bundle
    - CSP: unset

Stack trace
No response
Additional context
This PR added ipc fallback
https://github.com/tauri-apps/tauri/pull/9038
I suspect that the issue coming from protocol.rs and it doesn't handles JSON response correctly
Update
The following patch fixed the issue for me:
# tauri - patch which fix ipc fallback to postMessage due to csp issues on external webview
# Otherwise when tauri command return json the invoke promise command doesn't resolve - by github.com/thewh1teagle
# github.com/tauri-apps/tauri

diff --git a/core/tauri/src/ipc/protocol.rs b/core/tauri/src/ipc/protocol.rs
index 4b29c372b..59eb0490a 100644
--- a/core/tauri/src/ipc/protocol.rs
+++ b/core/tauri/src/ipc/protocol.rs
@@ -313,7 +313,7 @@ fn handle_ipc_message<R: Runtime>(message: String, manager: &AppManager<R>, labe

               match &response {
                 InvokeResponse::Ok(InvokeBody::Json(v)) => {
-                  if !(cfg!(target_os = "macos") || cfg!(target_os = "ios"))
+                  if !(cfg!(target_os = "macos") || cfg!(target_os = "ios") || cfg!(target_os = "windows"))
                     && matches!(v, JsonValue::Object(_) | JsonValue::Array(_))
                   {
                     let _ = Channel::from_callback_fn(webview, callback).send(v);

I have encountered the same issue. Has there been any progress from the official side?

closed by #10582

closed by #10582

I can confirm that the issue has been fixed,
also now we have nice warning about the fallback to postMessage.
Thanks!


allow use of can? and list APIs

Resolves [ch9584]
Add flexible API structure that respects overrides

for the can? method we need to check for a 'nil?' object since we can override methods without arguments


Remove the applikation namespace

[closes #530]
This was the last hold-out of the Applikation namespace, it was
originally used to prevent clashes with the Application namespace
and has gradually been replaced.
This renames the view model to better match the ApplicationResult
model that it inherits and provides a more descriptive name of
it's use.

👍  long needed :)


Gmapping, overlapped maps

-Robot: waffle Pi
-SBC: Raspberry Pi 3
OS installed in SBC: Raspbian
OS installed in Remote PC: Ubuntu 16.04 LTS (Xenial Xerus)
ROS version: 1.12.14
Hello,
I am creating a map using gmapping (SLAM) but during the operation, I get  overlapped
maps and the robot lost its pose many times and get the message "Scan Matching Failed, using odometry. Likelihood=0 "
Did anyone meet this problem before and found the solution?
Thank in advance

The Problem is SOLVED.
The problem was that I had not enough obstacles in the area where the map is corrupted. This area was wide enough for the robot to lose its POSE which leads to this problem. Then I only added some obstacles (carton boxes) in the empty area (the middle of the square in the map) and then I got an accurate map

Hi,
Thank you for sharing your experience.
Regards,
Kayman


Instructions to build after cloning

In the README there are instructions to install from latest commit:
cargo install --git https://github.com/EFForg/apkeep.git

But there is no instructions to build after cloning the repos. That is, I would like to clone the repo, tinker with it and build my modified version.
Can we have those instructions?
I'm not familiar with cargo.

Thank you, added a HACKING.md file in https://github.com/EFForg/apkeep/commit/86c7c9a8bc13332cd33502e03a108e32b878402b


Fix compilation error

Description
Core fails to start due to the following typescript compilation error:
Unable to compile TypeScript: ../../cloud/wfm-rest-api/src/WfmRestApi.ts (21,19): Expected at least 1 arguments, but got 2.

@JameelB - I couldn't reproduce this problem, but got your changes and it works as well..
What I think is that there is specific version of the definition that is broken.
I think it will be best to drop that as it gives no value.

Changes Unknown when pulling 69864b4b8a104ae7c67ec754ed8eddd3253a4158 on JameelB:fix-lodash-type-error into ** on feedhenry-raincatcher:master**.


Update user-mapping.xml.j2

attempt to change default upload directory to MyData, instead of /home/exouser
More detail here: https://gitlab.com/exosphere/exosphere/-/issues/1007

Changes have been integrated in MorphoCloudWorkflow through https://github.com/MorphoCloud/MorphoCloudWorkflow/commit/0d4db75b8dddf4c2d65be3fdf9bcb032b3557719 and propagated to MorphoCloudInstances through https://github.com/MorphoCloud/MorphoCloudInstances/commit/bc308ed0d8ad901e5e4f695b530ef7c6583e0d31


Determine ENS integration plan

To do:

[ ] Acquire an ENS domain. I think umbra.eth would be best, but we'd have to make an offer for it on OpenSea. I'm not sure how long that process takes so we should probably start that soon. Alternatively, we could buy another domain that is available.
[ ] Figure out best way to associate public key with an ENS subdomain, e.g. matt.umbra.eth should have a public key associated with it for the sender to read. It looks like web3 has getPubKey and setPubKey methods that might be useful. It also seems that the ENS PublicResolver implements EIP619 in order to resolve public keys. This PublicResolver contract also has get and set public key functions, which I assume are the same as the web3 functions (but I have not confirmed this)

Acquire an ENS domain. I think umbra.eth would be best, but we'd have to make an offer for it on OpenSea.

I think we're looking at this a little differently. Why do you see the need to have users register a specific subdomain for this?

Figure out best way to associate public key with an ENS subdomain, e.g. matt.umbra.eth should have a public key associated with it for the sender to read

What if we simply publish an ENS Text Record with a vendor specific umbra key, say vnd.umbra-v0 or something similar.  Then the user could sign a standard message and publish the signature to the text record.

I think we're looking at this a little differently. Why do you see the need to have users register a specific subdomain for this?

True, you are right that it can just be stored at your existing ENS name. I think I just defaulted to subdomains so users don't need to worry about whether or not they have an ENS name already.
Perhaps to keep it simpler for now we just require user's to have an existing ENS name, and later we can add support for a "we'll give you a subdomain to use if you don't have one" type of thing

What if we simply publish an ENS Text Record with a vendor specific umbra key, say vnd.umbra-v0 or something similar. Then the user could sign a standard message and publish the signature to the text record.

Text record would work too, so I'm not sure what the tradeoff is to consider here. Though I think it would be easier to publish the public key directly, instead of the signature? That way we don't need to recover the public key every time someone sends funds to that user

Text record would work too, so I'm not sure what the tradeoff is to consider here. Though I think it would be easier to publish the public key directly, instead of the signature? That way we don't need to recover the public key every time someone sends funds to that user

Ah, just saw your reasoning for this in #4. That makes sense, and sounds good to me. Ok, so let's do a text record signature then with some standard message to sign

True, you are right that it can just be stored at your existing ENS name. I think I just defaulted to subdomains so users don't need to worry about whether or not they have an ENS name already.

This is a good idea, but I think it's something you would build at the application layer, as opposed to into the base protocol.

Currently we require users to purchase and configure their own domain name. Potential feature for later is to get a domain such as umbra.eth and handle registration and configuration of <username>.umbra.eth for users

Outdated—will create a new issue to track ENS integration plan


left-sidebar: Make the sidebar responsive and resizable to handle long stream names

Fixes #16998
Testing plan:
I have tested it on laptop, and different screen sizes using the developer tools. Ran local frontend tests also.
GIFs or screenshots:

Commits currently named temporarily just understandable, once it get's ready to merge, I will squash and properly rename the commit message properly.
How it works
It actually first adds a strip and when you drag it as you resize a window on your desktop, it changes the css accordingly. It increases the margin right of middle columns and compose box, and increases the width of the left sidebar. Also added media rule so that it functions properly on all kind of devices.
What is left.

[x] The javascript has been put in the static/js/ui.js for now as suggested, some tests are failing due to listener, to be fixed.
[ ] Needs more comprehensive tests for this feature.
[ ] Set a min and max width i.e. a limit to the the width of the left sidebar.
[ ] Store the width in database at backend, so user need not change width everytime.

This PR aims to let a user adjust the width of left sidebar just like slack.
Relevant conversations are here

Thanks for working on this. I noticed this while testing in the browser. Also, please read https://zulip.readthedocs.io/en/latest/contributing/version-control.html#commit-messages to improve your commit messages.

Thanks for working on this. I noticed this while testing in the browser. Also, please read https://zulip.readthedocs.io/en/latest/contributing/version-control.html#commit-messages to improve your commit messages.

Thanks! will look into this and fix this soon.
Yeah sure, currently it is in WIP, so I wrote comments as such.
When this will be good to merge, I can squash and write the commit message properly.

Thanks! will look into this and fix this soon.
Yeah sure, currently it is in WIP, so I wrote comments as such.
When this will be good to merge, I can squash and write the commit message properly.

@amanagr Fixed it, the padding was different needed according to different browsers, checked on multiple browsers, and fixed it.
Now you can check.
@zulipbot I will take care :+1:

@amanagr Fixed it, the padding was different needed according to different browsers, checked on multiple browsers, and fixed it.
Now you can check.
@zulipbot I will take care :+1:

@Signior-X thanks for your effort. You idea is good.
This PR in its current state needs a lot of work to be done to be able to be merged. Important things to improve:

We should have a min and max left sidebar width so that the view doesn't break on too small or too large left sidebar widths.
The width of left sidebar set by user should persist across sessions. This would require adding a field in the UserProfile table.
The floating recipient bar doesn't resize with the left sidebar making it look very weird.

I am also not very optimistic about every piece of our UI interacting well with the left sidebar widths varying. Maybe we need a better approach for this? We can certainly wait to see if we get more demand for this feature and then invest in it.

@amanagr Yes, I agree. Still more needs to be done.

Yes, I asked for this a min and max width for the left sidebar.
This was also my idea, just waited for this.
It has been fixed now, it resizes with left sidebar. But yes, still it has some more to do as a left margin is provided by something to it which depends device to device, browser to browser.

Yes, let's wait if there will be more demand for this. I remember you added some commit to show big stream names in tooltip. So, yes wait for this. :+1:

Is there a plan to merge this PR?

No, though something like this might be a follow-up to the left sidebar redesign we're working on.


Version bump 0.1.0

Summary
Update to version 0.1.0 for release

Shoot, just noticed something -- looks like a bunch of the notebooks still have the provider host as localhost instead of gateway...

I'm going to submit a PR to update them (maybe we should patch that in?)

I wonder in what environment the localhost works.  I always have to change to gateway.

I think we should have it as env variable or something like that. And provide this env variable in notebook as "http://gateway:8000/".
GatewayProvider(
    host=os.environ.get("GATEWAY_HOST", "http://localhost:8000/")
)

You're going to test my grepping / sed skills with that one :smiley:

I want to make the password for the docker compose and the helm same, too.   But it can be next time.

@akihikokuroda which password(s)?

The password of the gateway.

For helm, would we change that in the keycloak password: https://github.com/Qiskit-Extensions/quantum-serverless/blob/0129ca95703adef53210256ea4ca45b08dca4fb0/infrastructure/helm/quantumserverless/values.yaml#L238 ?
I may be missing something obvious (been a long day :tired_face:), but that was the only user/passw0rd combo I saw in the values ...

@psschwei Yes, it seems correct.

ok, cool, thanks -- I'll update that in my PR too


Decommission old development "person" issuers

Now that BC Person credential can be obtained without an invite, it is time to decommission the old issuers that were set-up during intial development/pilot phases.
These are:

[x] bcvcpilot - in https://github.com/bcgov/trust-over-ip-configurations
[x] unverified person - in https://github.com/bcgov/essential-services-delivery

Start by scaling down the deployments, if there are no complains in a couple of weeks fully decommission the services.

Services have been scaled down, waiting until June 7th before fully decommissioning.

Services have been fully decommissioned.


Interface vs Struct

Thanks for this great library and your hardwork to make it great.
From https://pkg.go.dev/github.com/mxschmitt/playwright-go#pkg-index, the methods show out if the type is struct(like Playwright):
type Playwright
    func Run(options ...*RunOptions) (*Playwright, error)
    func (c *Playwright) Dispose()
    func (p *Playwright) Stop() error

But No method shows out if the type is defined as interface(like Page), we need to go to the type definition to find the available methods.
type Page

Is it possible to define the Page as struct?
type Page struct {
    // non export fields
}

func (*Page) Click(selector string, options ...PageClickOptions) error
func (*Page) Fill(selector, text string, options ...FrameFillOptions) error
... ...

What do you think about it?
Thanks.

Hi,
what is the reason, that you want to navigate to the underlying implementation? Probably to improve the documentation on go pkg?
The main reason why I did it like that was because I generate the interfaces to ensure I implement all the Playwright methods. I generate it basically out of the upstream API.
In Visual Studio Code e.g. it seems to work fine with auto completion etc.
I'm definitely open for feedback since this library is quite new, so I really appreciate it!

Yes, the type struct + methods definitely improves the documentation on  https://pkg.go.dev. For example, you can find all the available methods for http.Request are listed under type Request in https://pkg.go.dev/net/http.
Also Go's interface type tends to be small and for other types to implement them, like Stringer, Reader, Writer, etc. Maybe I'm wrong but I don't see any type implement Page interface or Frame interface.

Yes, the type struct + methods definitely improves the documentation on  https://pkg.go.dev. For example, you can find all the available methods for http.Request are listed under type Request in https://pkg.go.dev/net/http.
Also Go's interface type tends to be small and for other types to implement them, like Stringer, Reader, Writer, etc. Maybe I'm wrong but I don't see any type implement Page interface or Frame interface.

The main reasons why I choose interfaces was:

I can easily generate them and add documentation - as I do right now
I can ensure that I implement all upstream functions - the compiler ensures it

The downside of it is that:

We don't have a super rich documentation on go pkg side
The users are not able to navigate directory from the IDE the internal implementation (need to go over the implementors). But I think thats fine and not important.

I get your point, that interfaces should be small but also think that in this case the arguments for an interface outweigh.

The main reasons why I choose interfaces was:

I can easily generate them and add documentation - as I do right now
I can ensure that I implement all upstream functions - the compiler ensures it

The downside of it is that:

We don't have a super rich documentation on go pkg side
The users are not able to navigate directory from the IDE the internal implementation (need to go over the implementors). But I think thats fine and not important.

I get your point, that interfaces should be small but also think that in this case the arguments for an interface outweigh.

Thanks, maybe add detailed documents in the website later on.

Thanks, maybe add detailed documents in the website later on.

@mxschmitt @AngangGuo I think use struct is better for both user and maintainer.

I can easily generate them and add documentation - as I do right now

Actually, you can also generate code for structs, I don't understand why the only interface can do that.

I can ensure that I implement all upstream functions - the compiler ensures it

You can check this during the CI process, pretty easy to use reflect to list all the methods of a struct.
I suggest checking the code design of Rod, it may help.