text:
Blank Settings - Solution: remove spaces in template path

I'd like to use the "Delete todos from previous day" feature, and if i understood correctly it should be accessible from the settings screen from Obsidian preferences Plugin Options, however that screen is totally blank for me when I select the plugin. There are no plugin settings loading for me for this plugin it seems. Is this normal?

Seems like a bug. Could you open the developer console and take a peek for me? It's showing for me.

This gets printed in console when i click on the plugin settings:
Uncaught (in promise) TypeError: Cannot read property 'path' of null
    at t.<anonymous> (app.js:1)
    at app.js:1
    at Object.next (app.js:1)
    at app.js:1
    at new Promise (<anonymous>)
    at o (app.js:1)
    at t.read (app.js:1)
    at RolloverSettingTab.getTemplateHeadings (eval at <anonymous> (app.js:1), <anonymous>:630:51)
    at RolloverSettingTab.display (eval at <anonymous> (app.js:1), <anonymous>:636:41)
    at t.openTab (app.js:1)

Hmmm... do you have the Daily Notes plugin, or the Periodic Notes plugin installed and enabled? If so, do you also have a template set for them? There should probably be some sort of check for this, but that's my best guess for now.

I use the Periodic notes plugin.. there is only a template set for Daily, not for the weekly or monthly. I just tried giving them a template in the Periodic notes settings but same behaviour still

Can you take a screenshot of your periodic or daily note settings? Here's a screenshot of what mine look like, and a screenshot of what the Rollover Plugin should look like

I tried toggling off weekly and monthly but no effect either.
And the rollover settings just to confirm:

Ok so I turned off the Periodic notes plugin and the Rollover settings are showing now. I tested and the "Delete todos from previous day" setting is now working as expected.
However there is no template to select for Template headings, even though I do have a Daily Note Template in the Periodic plugin:

And incase its relevant, the same error message continues to print in the console whenever i click on the Rollover settings in the sidebar.

I'm pretty sure I figured out the problem for you. It's because the plugin can't handle spaces in your template name/path. Try renaming with camelCase or template-dashes or whatever. Should work then.
Just tested it a bit and for some reason, one of the public obsidian api functions cannot handle files with spaces. I was able to escape the spaces (works on my Mac at least): path = path.replace(' ', '/ ').
Escaping the path allowed me to locate the template file, but for some reason I can't read the contents of the file using their vault.read() function. I'll take a look at it later when I got more time.

i removed the space and that did the trick. thanks for the help. i guess thats good enough of a solution on my end

I just tried messing around with some things and I got the bug happening, but something I did made it go away without actually changing any code. I'm guessing something to do with actually changing the path to the template. I turned off Periodic Notes, and turned on Daily Notes, and fiddles with some different templates, and then went back to Periodic Notes and messed with paths again. For some reason, it was able to detect the template file properly (even when it had spaces in it) after that. Not exactly sure how to fix it for now, so I'll just pin this thread for others who come here for now.

Hi! The functionality sounds very interesting as I spend some time doing exactly this task every morning when I create my new Daily Note.
When I first installed  the rollover plugin, I experienced the blank settings screen. I use Periodic Notes and have no spaces in the path/file names. After turning on and off the Periodic Notes Plugin several times, now the settings screen of Rollover does appear. But I still can not select any template.
What to do?

I had this problem also. In my case it was because I had the Daily Note template file location configured to /templates/daily_template.md That worked for creating new daily notes, but the to see settings in this plugin required removing the initial / from the template file location.

authors: KjellConnelly dcgk raybaxter usizu

repo: lumoe/obsidian-rollover-daily-todos


text:
Implement Mint Icons

[x] Add to UI
[x] Add to resource definition
[ ] Create example icons for example mints def

Removed "Warn if it's not all-or-none that has icons"

source: gharchive/issue

repo: lunarcloud/chief-mint-godot

license: MIT

license_type: permissive

license_source: github-api


text:
ltn12 should not export global table

https://github.com/lunarmodules/luasocket/blob/1fad1626900a128be724cba9e9c19a6b2fe2bf6b/src/ltn12.lua#L16-L19
module function exists in 5.1 (in 5.2 manual it is referenced as deprecated).
Still nobody nowadays expect that module exports globals.
Nor other (sub)modules of luasocket do that.

I agree this should be removed, but doing so will probably warrant a breaking release semver bump because it will not be a smooth upgrade path for anybody that was relying on this quirk.

A long time ago almost all Lua modules used to export a global. ltn12 is a module from that era and used in a lot of places. So yes I can guarantee you changing this will break code, it should be done in a major revision.

authors: alerque catwell johnd0e

repo: lunarmodules/luasocket


text:
translateResult cannot handle { message, messageValues }

although line [isIntlMessageWithArgs, ({ message, messageValues }) => formatMessage(message, messageValues)], should technically support it, pickByNotNil ruins everything :(

Will do

authors: tommmyy wafflepie

repo: lundegaard/validarium


text:
alt codes conflicting

First of all: Thank you for the development of this add-on, although I have not yet used it (just installed), it is an awesome concept that will get anki closer to supermemo
Is your feature request related to a problem? Please describe.
Beacause the add-on uses alt+ numbers
I tried to use alt codes 24-27 to get ↑↓→←
And I the following message appears Please select an Incremental reading Deck
Describe the solution you'd like
Maybe find a way to set an optional toggle setting to

wait to see if you press other number pad besides 2
Alt + 2 wait 2 seconds (if nothing happens) → activate the equivalent action on add-on
Alt + 2 + 4 → get the arrow simbol ↑

Describe alternatives you've considered
I found a way around this by using unicode on AutoHotKey (which I already used for the alt code. Alt+Shift+Up would give me ↑)
Additional context

I was using Edit field during review when noticed this while reviewing
In some way, this feature is related to #51

Just thought of another solution: find a way to block IR add-on alt keys while using edit fields during review add-on

repo: luoliyan/incremental-reading

license: ISC


text:
Buttons don't use the custom colors of the theme

When you change the theme colors, the buttons are unaffected by the change.
https://jsfiddle.net/tyd0m82n/1/

The theme colors can no longer be changed that way because the support ssr is working to change all the components and when ready to add the new methodology that is by stylus and change the global variables

Already all the components have support for the change of color by means of $ vs.theme, thank you very much for the contribution

authors: fergardi luisDanielRoviraContreras

repo: lusaxweb/vuesax


text:
how can I write a native plugin for luv.

I think luv should export more function to support native plugin, at least
lua_State* luv_state(uv_loop_t* loop);
// All libuv callbacks will lua_call directly from this root-per-thread state
uv_loop_t* luv_loop(lua_State* L);
are needed, because luv don't use uv_default_loop, so if neither of the function is exported, it is impossiable to write a plugin.
There is Nan in node to make write plugins easily, have you ever planned to implemnt it in luvit?

Luv is a C library, I'm not sure what you mean about a native plugin for it.
I assume you mean writing luvit extensions.  There are some instructions at https://github.com/luvit/lit/wiki/Publishing-Compiled-Code
The luv_state() and luv_loop function are already exported.  I can add them to the luv.h header if that helps any, but it doesn't affect the binary and what's available at all.
As far as Nan, there is no need.  The lua C API is super stable and easy to use already (unlike the V8 API used in node).  Also luajit even has full FFI support in core that's baked into the JIT engine and is super fast.

my meaning of plugin is just like node-serial or node-sqlite in node, i must implement some features in async mode or reimplement an exsisting lib in async mode. so i need function both in libuv and luv. there is no problem in linux but not in windows, because i can only use symbols exported explicitly.
so i think the makefile need some modification to export libuv functions in luv.
and luv.h header is redundent (the static declaration cause warnnings )as a lib, it can be divided into two parts.

Good point about windows and exports.  It should export the symbols now.  Let me know if this needs anything else.

authors: creationix mythay

repo: luvit/luv

license_source: bigquery


text:
[Feature-Request] Live Update of ImageManip Mesh

Start with the why:
RVC2's ImageManip is a great node that offers good flexibility on remapping the raw image. Currently we use it instead of StereoDepth node internal rectification logic for two reasons:

StereoDepth does not support custom camera model which we use
StereoDepth cannot handle images of different sizes

To make the mesh more useful, the ability to update the mesh after pipeline starts is desired? In that case we can dynamically tune the mesh (to adapt to changing calibration)
This is discussed there https://discuss.luxonis.com/d/3506-setwarpmesh-after-pipeline-starts/10
Move to the what:
there should be a inputConfig xlink available and we can send in a new mesh during runtime. with the new mesh, image manip node could update how remap looks dynamically.
Move to the how:
Probably can impose a few limitation for ease of implementation. for example, input and output image size remain fixed

@themarpe ^^

Its on our internal tracker, but would likely be more inline with v3 release

authors: MartinMotycka chengguizi themarpe

repo: luxonis/depthai-core


text:
[BUG] { Failed to compile layer "/ScatterND": unsupported layer type "ScatterNDUpdate"}

An error occurred while converting OpenVINO to a blob.
Failed to compile layer "/ScatterND": unsupported layer type "ScatterNDUpdate"

Link

@friend045 you'll have to file a bug over at OpenVINO for this. Cc: @tersekmatija


text:
Add spatial locations SPI example

Added spatial-location-calculator and spatial-mobilenet examples.
Depthai library has been updated to the latest.
Related PR:
https://github.com/luxonis/esp32-spi-message-demo/pull/7

I'm actually not up to speed on using SPI interface yet.  I need to get up/going on it.  So I'm thinking until I do probably @Erol444 and/or @jonngai would be good to review.  going to add them now as reviewers.

This coupled with onboard tracking will be huge!

I'm actually not up to speed on using SPI interface yet. I need to get up/going on it. So I'm thinking until I do probably @Erol444 and/or @jonngai would be good to review. going to add them now as reviewers.

I just formally added you as reviewer, the examples are almost 1:1 with the ones from depthai-python, except the output  is connected to SPI.

source: gharchive/pull-request

authors: Luxonis-Brandon szabi-luxonis

repo: luxonis/depthai-experiments


text:
Error to compile Multi_cam branchs (core,ros and ros examples)

I installed main brand without errors (but is not working on OAKD and RPI4)
So I'm trying install the multicam branch to make work OAKD-PRO-W with ov9782 color central sensor.
I installed the Depthai-core multi_cam_suport branch, the deptai-ros multi_cam brach and depthai_ros-examples multicam branch with this error.
Obviously I have installed the cv_bridge from apt, but I put the source into the workspace to compile it all together and find it, but it doesnt work either.
ubuntu@ubuntu:~/depthai_ws$ catkin_make -j3
Base path: /home/ubuntu/depthai_ws
Source space: /home/ubuntu/depthai_ws/src
Build space: /home/ubuntu/depthai_ws/build
Devel space: /home/ubuntu/depthai_ws/devel
Install space: /home/ubuntu/depthai_ws/install
####
#### Running command: "cmake /home/ubuntu/depthai_ws/src -DCATKIN_DEVEL_PREFIX=/home/ubuntu/depthai_ws/devel -DCMAKE_INSTALL_PREFIX=/home/ubuntu/depthai_ws/install -G Unix Makefiles" in "/home/ubuntu/depthai_ws/build"
####
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using CATKIN_DEVEL_PREFIX: /home/ubuntu/depthai_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/ubuntu/livox_ws/devel;/opt/ros/noetic
-- This workspace overlays: /home/ubuntu/livox_ws/devel;/opt/ros/noetic
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3")
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using Debian Python package layout
-- Found PY_em: /usr/lib/python3/dist-packages/em.py
-- Using empy: /usr/lib/python3/dist-packages/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/ubuntu/depthai_ws/build/test_results
-- Forcing gtest/gmock from source, though one was otherwise available.
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found PythonInterp: /usr/bin/python3 (found version "3.8.10")
-- Found Threads: TRUE
-- Using Python nosetests: /usr/bin/nosetests3
-- catkin 0.8.10
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 4 packages in topological order:
-- ~~  - cv_bridge
-- ~~  - depthai_ros_msgs
-- ~~  - depthai_bridge
-- ~~  - depthai_examples
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'cv_bridge'
-- ==> add_subdirectory(luxonis/cv_bridge)
-- Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython3.8.so (found version "3.8.10")
-- Found Boost: /usr/lib/aarch64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") found components: python
-- Found OpenCV: /usr/local (found suitable version "4.5.5", minimum required is "4") found components: opencv_core opencv_imgproc opencv_imgcodecs
-- Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython3.8.so (found suitable version "3.8.10", minimum required is "3.8")
-- +++ processing catkin package: 'depthai_ros_msgs'
-- ==> add_subdirectory(luxonis/depthai-ros/depthai_ros_msgs)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- depthai_ros_msgs: 6 messages, 2 services
-- +++ processing catkin package: 'depthai_bridge'
-- ==> add_subdirectory(luxonis/depthai-ros/depthai_bridge)
-- Found Boost: /usr/lib/aarch64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0")
-- Could NOT find cv_bridge (missing: cv_bridge_DIR)
-- Could not find the required component 'cv_bridge'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "cv_bridge" with
  any of the following names:

    cv_bridgeConfig.cmake
    cv_bridge-config.cmake

  Add the installation prefix of "cv_bridge" to CMAKE_PREFIX_PATH or set
  "cv_bridge_DIR" to a directory containing one of the above files.  If
  "cv_bridge" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  luxonis/depthai-ros/depthai_bridge/CMakeLists.txt:124 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/ubuntu/depthai_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/ubuntu/depthai_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed

Not sure. Looks like your installation of the CV bridge broke.

I just had installed main, and reinstalled from apt.
I did include the source in the workspace too,
everything failed with same error.

I checked my cv_bridge installation, upgraded via apt, and compiled darknet_ros and it compiled, so the cv_bridge is ok

Tried depthai-core muti_cam_suoport, with any combination of depthai- ros ans examples gives thw same error. Depthai-main, I guess it works as it was installed before

@FPSychotic  had you tried using ros-noetic-depthai before this ?

The new apt files? No , I didn't

@FPSychotic  can you try branch fix-find-package of depthai-ros ?

if you can confirm it. I will merge them to main

Yes I try it between the next two hours  and let you know.
If you want I try it in x86 let me know.

if you can confirm it. I will merge them to main

It worked now in 720p and 400p in OAK-D and looks fine, only that complaint about the IMU and the marker option when is on it looks do nothing, or I don't now what plug-in to use to visualize the marker.
It didn't work in OAK-D Pro W Dev, it says color sensor don't found.
Any chance this work with depthai-core multi_cam_support instead main to have any chance to make work the ov9782? I don't need even stereo only the rgb because it is fixed focus and fish eye and I need pair it with a 3D lidar to perform the VO and colorize lidar pointclouds.
My OAK-D is still failing randomly in 5.1V 3A power supplies, in the only ones that works consistent is with 5.2V and 4A. It does't work even with my Lenovo special charge USB port , I think you going to have more people with this problem, I hope that not, the camera gets quite hotter too compared with running other things, Maybe would be a good idea put a delay between the camera boot up and the NN process, I think al together make a spike of current that shutdown the usb3 communication.

if you can confirm it. I will merge them to main

Well this combination of branch if effectively fix the OAK-D issues, make two new issues.
First, it  breaks rtabmap, it looks the change in scale in rgb alignment, I guess done to fix the 400p issue, makes that the camera_info resolution is different to the one that arrives and rtabmap crash.
Second, the black bands come back, homography is not being applied, which again bring us to a previous issue that invent false points.
Both things are a step back, please take it in consideration before merge in main.

I think this is the line that make crash rtabmap, I guess camera_info is not taking that change, but really I don't know, is what I understand rtabmap is complaining
camRgb->setIspScale(1, 3);
            camRgb->setIspScale(2, 5);
        } else {

only that complaint about the IMU and the marker option when is on it looks do nothing

it is just a visualization for IMU. you can uncheck it to disable it.

It didn't work in OAK-D Pro W Dev, it says color sensor don't found.

On depthai-core use this branch multi_cam_manip_refactor and on depthai-ros-examples checkout ov9782 branch and use stereo_inertial_node. Currently only 720p works on that for RGB. I need to still work on 400p for RGB.

First, it breaks rtabmap, it looks the change in scale in rgb alignment, I guess done to fix the 400p issue, makes that the camera_info resolution is different to the one that arrives and rtabmap crash.

I will check on that.

Second, the black bands come back, homography is not being applied, which again bring us to a previous issue that invent false points.

Black band comes back because the RGB camera is 12MP and has different field of view. So to match its field of view depth map si slightly shrunk so there will be some empty space. We cannot do it such that yolo gets 416x416 resolution and crop the RGB sensor to match the same FOV to match the stereo at smaller resolution.

only that complaint about the IMU and the marker option when is on it looks do nothing

it is just a visualization for IMU. you can uncheck it to disable it.

It didn't work in OAK-D Pro W Dev, it says color sensor don't found.

On depthai-core use this branch multi_cam_manip_refactor and on depthai-ros-examples checkout ov9782 branch and use stereo_inertial_node. Currently only 720p works on that for RGB. I need to still work on 400p for RGB.

Ok , I will test only in 720p and tell you what I find  in case is useful for you.

First, it breaks rtabmap, it looks the change in scale in rgb alignment, I guess done to fix the 400p issue, makes that the camera_info resolution is different to the one that arrives and rtabmap crash.

I will check on that.

Second, the black bands come back, homography is not being applied, which again bring us to a previous issue that invent false points.

Black band comes back because the RGB camera is 12MP and has different field of view. So to match its field of view depth map si slightly shrunk so there will be some empty space. We cannot do it such that yolo gets 416x416 resolution and crop the RGB sensor to match the same FOV to match the stereo at smaller resolution.
The black bands came back with rgb alignment  turned off and I think I had NN desactivated too.
When there is RGB alignment ON, I have not black bands and the depth is ok and the pointclouds too,  it is probably because the 400p is cropped to 360p to align and cut the black bands off (just a theory), the problem is when it is working just like stereo, or you want colourize the pointclouds in grey to minimize CPU load(this is my case). If I use stereo_node , I think it was fine ,but I cannot use it as I lose some features as IMU.

I will test everything again (stereo nodes too to compare), and make pictures and videos if needed.
As you can see in this video with rgb alignment as it was in main last week worked ok, probably by such downgrade from 400 to 360

in normal mode. Black band at the corner is expected I think due to rectification unless you want to crop it off.
I think in DIscord you mentioned you don't want to crop it off.

Hi, I trie the branches you said me for oak-d-pro. you didn't specify one for depthai-ros so I tested with 3 of them,  multi_cam_supports fails with the next error:
`[ 77%] Building CXX object luxonis/depthai-ros-examples/depthai_examples/CMakeFiles/rgb_stereo_node.dir/ros1_src/rgb_stereo_node.cpp.o
In file included from /home/ubuntu/depthai_ws/src/luxonis/depthai-ros-examples/depthai_examples/ros1_src/rgb_stereo_node.cpp:14:
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros/depthai_bridge/include/depthai_bridge/BridgePublisher.hpp: In instantiation of ‘void dai::ros::BridgePublisher<RosMsg, SimMsg>::publishMetadata(std::shared_ptr<Tp>, const RosMsg&) [with RosMsg = sensor_msgs::Image<std::allocator >; SimMsg = dai::ImgFrame]’:
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros/depthai_bridge/include/depthai_bridge/BridgePublisher.hpp:416:13:   required from ‘void dai::ros::BridgePublisher<RosMsg, SimMsg>::publishHelper(std::shared_ptr<Tp>) [with RosMsg = sensor_msgs::Image<std::allocator >; SimMsg = dai::ImgFrame]’
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros/depthai_bridge/include/depthai_bridge/BridgePublisher.hpp:315:5:   required from ‘void dai::ros::BridgePublisher<RosMsg, SimMsg>::daiCallback(std::string, std::shared_ptrdai::ADatatype) [with RosMsg = sensor_msgs::Image_<std::allocator >; SimMsg = dai::ImgFrame; std::string = std::cxx11::basic_string]’
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros/depthai_bridge/include/depthai_bridge/BridgePublisher.hpp:358:45:   required from ‘void dai::ros::BridgePublisher<RosMsg, SimMsg>::addPublisherCallback() [with RosMsg = sensor_msgs::Image<std::allocator >; SimMsg = dai::ImgFrame]’
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros-examples/depthai_examples/ros1_src/rgb_stereo_node.cpp:149:39:   required from here
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros/depthai_bridge/include/depthai_bridge/BridgePublisher.hpp:368:38: error: ‘using element_type = class dai::ImgFrame’ {aka ‘class dai::ImgFrame’} has no member named ‘getLensPosition’
368 |         msg.lens_position = inFrame->getLensPosition() < 0 ? -1 : (inFrame->getLensPosition() / 255.);
|                             ~^~~~~~~
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros/depthai_bridge/include/depthai_bridge/BridgePublisher.hpp:368:77: error: ‘using element_type = class dai::ImgFrame’ {aka ‘class dai::ImgFrame’} has no member named ‘getLensPosition’
368 |         msg.lens_position = inFrame->getLensPosition() < 0 ? -1 : (inFrame->getLensPosition() / 255.);
|                                                                    ~^~~~~~~
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros/depthai_bridge/include/depthai_bridge/BridgePublisher.hpp:369:38: error: ‘using element_type = class dai::ImgFrame’ {aka ‘class dai::ImgFrame’} has no member named ‘getExposureTime’
369 |         msg.exposure_time = inFrame->getExposureTime();
|                             ~^~~~~~~
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros/depthai_bridge/include/depthai_bridge/BridgePublisher.hpp:371:36: error: ‘using element_type = class dai::ImgFrame’ {aka ‘class dai::ImgFrame’} has no member named ‘getSensitivity’
371 |         msg.sensitivity = inFrame->getSensitivity();
|                           ~^~~~~~
In file included from /home/ubuntu/depthai_ws/src/luxonis/depthai-ros-examples/depthai_examples/ros1_src/stereo_publisher.cpp:14:
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros/depthai_bridge/include/depthai_bridge/BridgePublisher.hpp: In instantiation of ‘void dai::ros::BridgePublisher<RosMsg, SimMsg>::publishMetadata(std::shared_ptr<Tp>, const RosMsg&) [with RosMsg = sensor_msgs::Image<std::allocator >; SimMsg = dai::ImgFrame]’:
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros/depthai_bridge/include/depthai_bridge/BridgePublisher.hpp:416:13:   required from ‘void dai::ros::BridgePublisher<RosMsg, SimMsg>::publishHelper(std::shared_ptr<Tp>) [with RosMsg = sensor_msgs::Image<std::allocator >; SimMsg = dai::ImgFrame]’
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros/depthai_bridge/include/depthai_bridge/BridgePublisher.hpp:315:5:   required from ‘void dai::ros::BridgePublisher<RosMsg, SimMsg>::daiCallback(std::string, std::shared_ptrdai::ADatatype) [with RosMsg = sensor_msgs::Image<std::allocator >; SimMsg = dai::ImgFrame; std::string = std::_cxx11::basic_string]’
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros/depthai_bridge/include/depthai_bridge/BridgePublisher.hpp:358:45:   required from ‘void dai::ros::BridgePublisher<RosMsg, SimMsg>::addPublisherCallback() [with RosMsg = sensor_msgs::Image<std::allocator >; SimMsg = dai::ImgFrame]’
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros-examples/depthai_examples/ros1_src/stereo_publisher.cpp:164:38:   required from here
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros/depthai_bridge/include/depthai_bridge/BridgePublisher.hpp:368:38: error: ‘using element_type = class dai::ImgFrame’ {aka ‘class dai::ImgFrame’} has no member named ‘getLensPosition’
368 |         msg.lens_position = inFrame->getLensPosition() < 0 ? -1 : (inFrame->getLensPosition() / 255.);
|                             ~^~~~~~~
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros/depthai_bridge/include/depthai_bridge/BridgePublisher.hpp:368:77: error: ‘using element_type = class dai::ImgFrame’ {aka ‘class dai::ImgFrame’} has no member named ‘getLensPosition’
368 | s_position = inFrame->getLensPosition() < 0 ? -1 : (inFrame->getLensPosition() / 255.);
|                                                     ~^~~~~~~
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros/depthai_bridge/include/depthai_bridge/BridgePublisher.hpp:369:38: error: ‘using element_type = class dai::ImgFrame’ {aka ‘class dai::ImgFrame’} has no member named ‘getExposureTime’
369 |         msg.exposure_time = inFrame->getExposureTime();
|                             ~^~~~~~~
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros/depthai_bridge/include/depthai_bridge/BridgePublisher.hpp:371:36: error: ‘using element_type = class dai::ImgFrame’ {aka ‘class dai::ImgFrame’} has no member named ‘getSensitivity’
371 |         msg.sensitivity = inFrame->getSensitivity();
|                           ~^~~~~~
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros/depthai_bridge/include/depthai_bridge/BridgePublisher.hpp: In instantiation of ‘void dai::ros::BridgePublisher<RosMsg, SimMsg>::publishMetadata(std::shared_ptr<Tp>, const RosMsg&) [with RosMsg = stereo_msgs::DisparityImage<std::allocator >; SimMsg = dai::ImgFrame]’:
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros/depthai_bridge/include/depthai_bridge/BridgePublisher.hpp:416:13:   required from ‘void dai::ros::BridgePublisher<RosMsg, SimMsg>::publishHelper(std::shared_ptr<Tp>) [with RosMsg = stereo_msgs::DisparityImage<std::allocator >; SimMsg = dai::ImgFrame]’
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros/depthai_bridge/include/depthai_bridge/BridgePublisher.hpp:315:5:   required from ‘void dai::ros::BridgePublisher<RosMsg, SimMsg>::daiCallback(std::string, std::shared_ptrdai::ADatatype) [with RosMsg = stereo_msgs::DisparityImage_<std::allocator >; SimMsg = dai::ImgFrame; std::string = std::_cxx11::basic_string]’
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros/depthai_bridge/include/depthai_bridge/BridgePublisher.hpp:358:45:   required from ‘void dai::ros::BridgePublisher<RosMsg, SimMsg>::addPublisherCallback() [with RosMsg = stereo_msgs::DisparityImage<std::allocator >; SimMsg = dai::ImgFrame]’
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros-examples/depthai_examples/ros1_src/stereo_publisher.cpp:209:42:   required from here
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros/depthai_bridge/include/depthai_bridge/BridgePublisher.hpp:368:38: error: ‘using element_type = class dai::ImgFrame’ {aka ‘class dai::ImgFrame’} has no member named ‘getLensPosition’
368 |         msg.lens_position = inFrame->getLensPosition() < 0 ? -1 : (inFrame->getLensPosition() / 255.);
|                             ~^~~~~~~
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros/depthai_bridge/include/depthai_bridge/BridgePublisher.hpp:368:77: error: ‘using element_type = class dai::ImgFrame’ {aka ‘class dai::ImgFrame’} has no member named ‘getLensPosition’
368 | s_position = inFrame->getLensPosition() < 0 ? -1 : (inFrame->getLensPosition() / 255.);
|                                                     ~^~~~~~~
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros/depthai_bridge/include/depthai_bridge/BridgePublisher.hpp:369:38: error: ‘using element_type = class dai::ImgFrame’ {aka ‘class dai::ImgFrame’} has no member named ‘getExposureTime’
369 |         msg.exposure_time = inFrame->getExposureTime();
|                             ~^~~~~~~
/home/ubuntu/depthai_ws/src/luxonis/depthai-ros/depthai_bridge/include/depthai_bridge/BridgePublisher.hpp:371:36: error: ‘using element_type = class dai::ImgFrame’ {aka ‘class dai::ImgFrame’} has no member named ‘getSensitivity’
371 |         msg.sensitivity = inFrame->getSensitivity();
|                           ~^~~~~~
In file included from /usr/include/c++/9/numeric:62,
from /usr/local/lib/cmake/depthai/dependencies/include/nop/base/map.h:21,
from /usr/local/lib/cmake/depthai/dependencies/include/nop/serializer.h:24,
from /usr/local/include/depthai-shared/utility/Serialization.hpp:9,
from /usr/local/include/depthai-shared/common/Point3f.hpp:7,
from /usr/local/include/depthai-shared/common/Extrinsics.hpp:6,
from /usr/local/include/depthai-shared/common/CameraInfo.hpp:4,
from /usr/local/include/depthai-shared/common/EepromData.hpp:7,
from /usr/local/include/depthai/device/CalibrationHandler.hpp:6,
from /usr/local/include/depthai/depthai.hpp:9,
from /home/ubuntu/depthai_ws/src/luxonis/depthai-ros-examples/depthai_examples/ros1_src/rgb_stereo_node.cpp:12:
/usr/include/c++/9/bits/stl_numeric.h:158:5: error: ‘_Tp std::accumulate(_InputIterator, _InputIterator, _Tp, _BinaryOperation) [with _InputIterator = __gnu_cxx::__normal_iterator<const float*, std::vector >; _Tp = long unsigned int; _BinaryOperation = nop::Encoding<std::vector<_Tp, _Alloc>, typename std::enable_if<(! nop::IsIntegral::value), void>::type>::Size(const Type&) [with T = float; Allocator = std::allocator; std::size_t = long unsigned int; nop::Encoding<std::vector<_Tp, _Alloc>, typename std::enable_if<(! nop::IsIntegral::value), void>::type>::Type = std::vector]::<lambda(const size_t&, const float&)>]’, declared using local type ‘nop::Encoding<std::vector<_Tp, _Alloc>, typename std::enable_if<(! nop::IsIntegral::value), void>::type>::Size(const Type&) [with T = float; Allocator = std::allocator; std::size_t = long unsigned int; nop::Encoding<std::vector<_Tp, _Alloc>, typename std::enable_if<(! nop::IsIntegral::value), void>::type>::Type = std::vector]::<lambda(const size_t&, const float&)>’, is used but never defined [-fpermissive]
158 |     accumulate(_InputIterator __first, _InputIterator __last, _Tp __init,
|     ^~~~~~~~~~
/usr/include/c++/9/bits/stl_numeric.h:158:5: error: ‘_Tp std::accumulate(_InputIterator, _InputIterator, _Tp, _BinaryOperation) [with _InputIterator = __gnu_cxx::__normal_iterator<const dai::Point2f*, std::vectordai::Point2f >; _Tp = long unsigned int; _BinaryOperation = nop::Encoding<std::vector<_Tp, _Alloc>, typename std::enable_if<(! nop::IsIntegral::value), void>::type>::Size(const Type&) [with T = dai::Point2f; Allocator = std::allocatordai::Point2f; std::size_t = long unsigned int; nop::Encoding<std::vector<_Tp, _Alloc>, typename std::enable_if<(! nop::IsIntegral::value), void>::type>::Type = std::vectordai::Point2f]::<lambda(const size_t&, const dai::Point2f&)>]’, declared using local type ‘nop::Encoding<std::vector<_Tp, _Alloc>, typename std::enable_if<(! nop::IsIntegral::value), void>::type>::Size(const Type&) [with T = dai::Point2f; Allocator = std::allocatordai::Point2f; std::size_t = long unsigned int; nop::Encoding<std::vector<_Tp, _Alloc>, typename std::enable_if<(! nop::IsIntegral::value), void>::type>::Type = std::vectordai::Point2f]::<lambda(const size_t&, const dai::Point2f&)>’, is used but never defined [-fpermissive]
In file included from /usr/include/c++/9/numeric:62,
from /usr/local/lib/cmake/depthai/dependencies/include/nop/base/map.h:21,
from /usr/local/lib/cmake/depthai/dependencies/include/nop/serializer.h:24,
from /usr/local/include/depthai-shared/utility/Serialization.hpp:9,
from /usr/local/include/depthai-shared/common/Point3f.hpp:7,
from /usr/local/include/depthai-shared/common/Extrinsics.hpp:6,
from /usr/local/include/depthai-shared/common/CameraInfo.hpp:4,
from /usr/local/include/depthai-shared/common/EepromData.hpp:7,
from /usr/local/include/depthai/device/CalibrationHandler.hpp:6,
from /usr/local/include/depthai/depthai.hpp:9,
from /home/ubuntu/depthai_ws/src/luxonis/depthai-ros-examples/depthai_examples/ros1_src/stereo_publisher.cpp:13:
/usr/include/c++/9/bits/stl_numeric.h:158:5: error: ‘_Tp std::accumulate(_InputIterator, _InputIterator, _Tp, _BinaryOperation) [with _InputIterator = __gnu_cxx::__normal_iterator<const float*, std::vector >; _Tp = long unsigned int; _BinaryOperation = nop::Encoding<std::vector<_Tp, _Alloc>, typename std::enable_if<(! nop::IsIntegral::value), void>::type>::Size(const Type&) [with T = float; Allocator = std::allocator; std::size_t = long unsigned int; nop::Encoding<std::vector<_Tp, _Alloc>, typename std::enable_if<(! nop::IsIntegral::value), void>::type>::Type = std::vector]::<lambda(const size_t&, const float&)>]’, declared using local type ‘nop::Encoding<std::vector<_Tp, _Alloc>, typename std::enable_if<(! nop::IsIntegral::value), void>::type>::Size(const Type&) [with T = float; Allocator = std::allocator; std::size_t = long unsigned int; nop::Encoding<std::vector<_Tp, _Alloc>, typename std::enable_if<(! nop::IsIntegral::value), void>::type>::Type = std::vector]::<lambda(const size_t&, const float&)>’, is used but never defined [-fpermissive]
158 |     accumulate(_InputIterator __first, _InputIterator __last, _Tp __init,
|     ^~~~~~~~~~
/usr/include/c++/9/bits/stl_numeric.h:158:5: error: ‘_Tp std::accumulate(_InputIterator, _InputIterator, _Tp, _BinaryOperation) [with _InputIterator = __gnu_cxx::__normal_iterator<const dai::Point2f*, std::vectordai::Point2f >; _Tp = long unsigned int; _BinaryOperation = nop::Encoding<std::vector<_Tp, _Alloc>, typename std::enable_if<(! nop::IsIntegral::value), void>::type>::Size(const Type&) [with T = dai::Point2f; Allocator = std::allocatordai::Point2f; std::size_t = long unsigned int; nop::Encoding<std::vector<_Tp, _Alloc>, typename std::enable_if<(! nop::IsIntegral::value), void>::type>::Type = std::vectordai::Point2f]::<lambda(const size_t&, const dai::Point2f&)>]’, declared using local type ‘nop::Encoding<std::vector<_Tp, _Alloc>, typename std::enable_if<(! nop::IsIntegral::value), void>::type>::Size(const Type&) [with T = dai::Point2f; Allocator = std::allocatordai::Point2f; std::size_t = long unsigned int; nop::Encoding<std::vector<_Tp, _Alloc>, typename std::enable_if<(! nop::IsIntegral::value), void>::type>::Type = std::vectordai::Point2f]::<lambda(const size_t&, const dai::Point2f&)>’, is used but never defined [-fpermissive]
make[2]: *** [luxonis/depthai-ros-examples/depthai_examples/CMakeFiles/rgb_stereo_node.dir/build.make:63: luxonis/depthai-ros-examples/depthai_examples/CMakeFiles/rgb_stereo_node.dir/ros1_src/rgb_stereo_node.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2311: luxonis/depthai-ros-examples/depthai_examples/CMakeFiles/rgb_stereo_node.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [luxonis/depthai-ros-examples/depthai_examples/CMakeFiles/stereo_node.dir/build.make:63: luxonis/depthai-ros-examples/depthai_examples/CMakeFiles/stereo_node.dir/ros1_src/stereo_publisher.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2157: luxonis/depthai-ros-examples/depthai_examples/CMakeFiles/stereo_node.dir/all] Error 2
[ 79%] Linking CXX executable /home/ubuntu/depthai_ws/devel/lib/depthai_examples/rgb_subscriber_node
/usr/bin/ld: warning: libopencv_core.so.405, needed by /usr/local/lib/libopencv_imgcodecs.so.4.5.5, may conflict with libopencv_core.so.4.2
[ 79%] Built target rgb_subscriber_node
make: *** [Makefile:141: all] Error 2
Invoking "make -j3" failed
ubuntu@ubuntu:~/depthai_ws$
`

The other two I tested are main and fix-find-package branches, they both failed with a different error

Im not busy so if you need I need test anything just let me know I will happy to test

Could be reproduced this error?

repo: luxonis/depthai-ros


text:
I have issue when running ros2 launch depthai_examples mobile_publisher.launch.py camera_model:=OAK-D

I recieved the following error,
Please help me to resolve this issue.
Thank you
When I am running
ros2 launch depthai_examples mobile_publisher.launch.py camera_model:=OAK-D
I have found the following issue,
I am running on Turtlebot4 which already have OAK-D-Pro camera.
[INFO] [launch]: All log files can be found below /home/asl/.ros/log/2022-09-07-16-07-35-324006-asl-ThinkPad-P15v-Gen-2i-38811
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [mobilenet_node-1]: process started with pid [38814]
[INFO] [robot_state_publisher-2]: process started with pid [38816]
[robot_state_publisher-2] Link oak-d_frame had 5 children
[robot_state_publisher-2] Link oak_imu_frame had 0 children
[robot_state_publisher-2] Link oak_left_camera_frame had 1 children
[robot_state_publisher-2] Link oak_left_camera_optical_frame had 0 children
[robot_state_publisher-2] Link oak_model_origin had 0 children
[robot_state_publisher-2] Link oak_rgb_camera_frame had 1 children
[robot_state_publisher-2] Link oak_rgb_camera_optical_frame had 0 children
[robot_state_publisher-2] Link oak_right_camera_frame had 1 children
[robot_state_publisher-2] Link oak_right_camera_optical_frame had 0 children
[robot_state_publisher-2] [INFO] [1662534455.487157898] [oak_state_publisher]: got segment oak-d-base-frame
[robot_state_publisher-2] [INFO] [1662534455.487199367] [oak_state_publisher]: got segment oak-d_frame
[robot_state_publisher-2] [INFO] [1662534455.487204565] [oak_state_publisher]: got segment oak_imu_frame
[robot_state_publisher-2] [INFO] [1662534455.487207841] [oak_state_publisher]: got segment oak_left_camera_frame
[robot_state_publisher-2] [INFO] [1662534455.487211131] [oak_state_publisher]: got segment oak_left_camera_optical_frame
[robot_state_publisher-2] [INFO] [1662534455.487214129] [oak_state_publisher]: got segment oak_model_origin
[robot_state_publisher-2] [INFO] [1662534455.487217267] [oak_state_publisher]: got segment oak_rgb_camera_frame
[robot_state_publisher-2] [INFO] [1662534455.487220341] [oak_state_publisher]: got segment oak_rgb_camera_optical_frame
[robot_state_publisher-2] [INFO] [1662534455.487223334] [oak_state_publisher]: got segment oak_right_camera_frame
[robot_state_publisher-2] [INFO] [1662534455.487226426] [oak_state_publisher]: got segment oak_right_camera_optical_frame
[mobilenet_node-1] terminate called after throwing an instance of 'std::runtime_error'
[mobilenet_node-1]   what():  No available devices
[ERROR] [mobilenet_node-1]: process has died [pid 38814, exit code -6, cmd '/home/asl/dai_ws/install/depthai_examples/lib/depthai_examples/mobilenet_node --ros-args --params-file /tmp/launch_params_5z7p28lu --params-file /tmp/launch_params_olkejha5 --params-file /tmp/launch_params_xdnqit6b --params-file /tmp/launch_params_gpexm_ko --params-file /tmp/launch_params_3paxzld4'].
^C[WARNING] [launch]: user interrupted with ctrl-c (SIGINT)
[robot_state_publisher-2] [INFO] [1662534580.784098941] [rclcpp]: signal_handler(signal_value=2)
[INFO] [robot_state_publisher-2]: process has finished cleanly [pid 38816]

your device is not detected.
Here is the troubleshooting steps,

Closing due to inactivity, if you think this should remain open, please tag me in a comment here.

authors: Kazimbalti Serafadam saching13


text:
network: provide #ifdefs for RTM_* requests

Closes #5090.
Signed-off-by: Christian Brauner christian.brauner@ubuntu.com

Please copy this into #5090.

repo: lxc/lxd


text:
VM Create and Launch

This PR adds basic VM support.
You can download a VM image and create a VM instance on a dir pool by doing:
lxc init ubuntu:18.04 c1 --vm -s mydirpool -p vmdefault

Or launch an empty one for PXE boot:
lxc init c1 --vm -s mydirpool -p vmdefault --empty

The vmdefault profile needs to have cloud init config to create a login user and password.

Testsuite passed

Testsuite passed

Testsuite passed

@stgraber this is ready for review now, features that are working:

VM create from image
VM start
VM console (using screen, not yet re-done that part)
Config driver generation and mounting (including adding lxd-agent if presence on the host system)
VM delete
VM update (needs more validation but you can edit config, profiles etc)
NIC bridge support

@stgraber I also have a question around disk size and whether we need to re-size the filesystem from the unpacked image to use the space allocated in the sparse image?

Testsuite passed

Testsuite passed

Testsuite passed

Testsuite passed

Testsuite passed

Testsuite passed

Testsuite passed

authors: lxc-jenkins tomponline


text:
Not a problem - but like people should know

https://arxiv.org/abs/2303.11366 Is a really cool paper about reflection in LLMs

That is after training on like 20 samples for 50 epochs on my 3090 on the 7B model.
User: [Topic or question]
Assistant Hypothetical Response: [Brief or simplified answer to the topic or question]
Agent Reflection: [Critique of the hypothetical response, highlighting the limitations, inaccuracies, or areas that need improvement or expansion, while providing guidance on how to address these issues in the revised response]
Bot Actual Response: [The natural and contextually appropriate answer to the topic or question, as generated by the advanced language model, which incorporates the suggestions and improvements from the agent reflection for a more comprehensive and accurate response]
This + training sets generated with this frame work seem to really improve the generations of these models with fairly limited training sets. Just thought i would share.

Nice to see you can get this from such a small sample set!

I have been keeping track of my datasets if anyone else wants to play they are here
https://docs.google.com/spreadsheets/d/1QSwJFiyzUQ6H1CloDmJWcHJfYiT7SVxfwBDOOcbvFEo/edit?usp=sharing
Thank you again for making this lovely tool.

repo: lxe/simple-llama-finetuner


text:
tracing: Zipkin support

Per an offline thread, we will do direct Zipkin support in Envoy and skip attempting to integrate with OT C++ library for now.
@RomanDzhabarov please sync with @adriancole and @rshriram to get a plan in place.

cc @fabolive

https://docs.google.com/document/d/1q3F_RVf6Rozn69KbqhrKknOZP9_17WH1RK3wIc7AnuE/edit?usp=sharing
Thanks Adrian for feedback! Sharing with more people. cc: @fabolive @rshriram

welcome to the doc :)

Thanks @adriancole . Just one question. Is it possible to push traces to remote Zipkin collectors via gRPC instead of JSON over HTTP? I am not sure if there is a gRPC api frontend to zipkin. For phase 1, JSON over http should suffice but in the long run, a gRPC interface might be helpful.
I do see that there is a Kafka/scribe adapter. Are these typically meant to run on the same host as Envoy, such that these adapters dump the traces into Kafka and the consumers pick it up on the other end? Or is it the case that Envoy would send these traces to a remote collector server with kafka backend [i.e. adding an extra hop before reaching elasticsearch/cassandra].

Thanks @adriancole https://github.com/adriancole . Just one question.
Is it possible to push traces to remote Zipkin collectors via gRPC instead
of JSON over HTTP? I am not sure if there is a gRPC api frontend to zipkin.
For phase 1, JSON over http should suffice but in the long run, a gRPC
interface might be helpful.

We don't often implement features no-one has asked for, and no-one has
asked for GRPC, yet. Care to raise an issue? There might be others
interested, too.
https://github.com/openzipkin/zipkin/issues/new

I do see that there is a Kafka/scribe adapter. Are these typically meant
to run on the same host as Envoy, such that these adapters dump the traces
into Kafka and the consumers pick it up on the other end? Or is it the case
that Envoy would send these traces to a remote collector server with kafka
backend [i.e. adding an extra hop before reaching elasticsearch/cassandra].

So in envoy, you'd have something similar to zipkin-reporter
https://github.com/openzipkin/zipkin-reporter-java which sends the spans
out-of-process after perhaps batching them. Here's the relationship:
http -> POST list of spans in thrift or json (to a zipkin server, or better
some load-balanced cluster of zipkin servers)
kafka -> send message to topic "zipkin" containing a list of spans in
thrift or json
scribe
https://github.com/openzipkin/brave/blob/master/brave-spancollector-scribe/src/main/resources/scribe.thrift
-> log(logentry[].category="zipkin"
logentry[].message=base64(thriftEncode(span))  scribe usually is
store-forward from localhost, but sometimes people point scribe directly at
a zipkin server listening on port 9410

scribe is essentially effectively, but since it was the first
transport, it still exists.

long story short is that if envoy wants to use kafka, it would need a kafka
producer library to send the span messages onto a topic. On the other side,
a zipkin collector would pull those messages.

I think it would be a good start using JSON over HTTP communication.
It should not have any perf implications as we'll buffer spans and flush every 5 or so seconds.
Historically we'd been doing this with LS (before switched to gRPC) and processing 100k+ spans per second (100% sample), with zipkin lower sampling rate it should have very minimal perf concerns.

Done!

cool. is there an example somewhere that wires this up?

Awesome! +1 for an example or docs :-)

Awesome! +1 great work!

Will upload that by this evening.
On Sun, May 14, 2017 at 6:57 AM Kamesh Sampath notifications@github.com
wrote:

Awesome! +1 great work!
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/lyft/envoy/issues/430#issuecomment-301304689, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AH0qd_kfXv9uhHosiVuy1HGq8V5eugN-ks5r5t4bgaJpZM4L3lqV
.

--
~shriram

@adriancole @timperrett @rshriram @fabolive yes it would be really amazing to have a full docker end to end example for tracing, service discovery, etc. I will open a separate GH on that.

authors: RomanDzhabarov adriancole kameshsampath mattklein123 rshriram timperrett

repo: lyft/envoy


text:
I cant acsess to current_user

I want access to current user in rails api but i get @current_user nil
I login in successfully in react-redux side, in rails side a get this error :

undefined method `wallets' for nil:NilClass

class Api::V1::WalletsController < ApplicationController
  # before_action :authenticate_user!
  def index
    # user = User.find(1)
    wallets = current_user.wallets
    render json: {

      wallets: wallets

    },
     status: 200
  end
  # def get_user(user_id)
  #   @user = User.find(user_id)
  # end
end

@Qasem-h why did you comment before_action :authenticate_user! ?

@MaicolBen Thanks for replay , If uncomment before_action :authenticate_user! i get  this error :
errors: ["You need to sign in or sign up before continuing."]
Application Controller
class ApplicationController < ActionController::Base
   include DeviseTokenAuth::Concerns::SetUserByToken
end

I use redux-token-auth package for client side , and login and register user successfully
But in in server side  Rails-api  i can't get current_user data
Devise Auth Token
DeviseTokenAuth.setup do |config|
  config.change_headers_on_each_request = false
  config.token_lifespan = 10.day
end

User Model
class User < ApplicationRecord
  # Include default devise modules. Others available are:
  # :confirmable, :lockable, :timeoutable and :omniauthable
  devise :database_authenticatable, :registerable,
         :recoverable, :rememberable, :trackable, :validatable
  include DeviseTokenAuth::Concerns::User

  has_many :user_wallets
  has_many :wallets, through: :user_wallets, dependent: :destroy

end

Rails server in port : 3001
Clinet server in port : 3000
gems :
gem 'devise-i18n'
gem 'devise_token_auth'
gem 'omniauth'
gem 'devise'

Routes
Rails.application.routes.draw do
  mount_devise_token_auth_for 'User', at: 'auth'
  namespace :api, defaults: { format: :json } do
    namespace :v1 do
     resources :wallets , only: [:index, :show]
    end
  end
end

@lynndylanhurley can you please see this issue ?

@Qasem-h This is more stackoverflow-kind of question than an issue, we have tons of issues, so please be patient.

react login without any error

I guess you receive the tokens correctly, right?
You need before_action :authenticate_user!, if you are still receiving errors, that means, you aren't logging correctly.

Also, you can check other issues that people had the same problem:
https://github.com/lynndylanhurley/devise_token_auth/issues/28
https://github.com/lynndylanhurley/devise_token_auth/issues/779

I Started new test project for DeviseAuthToken gem :
Why does not this work?
Only thing i get is this error :          "You need to sign in or sign up before continuing."
https://github.com/Qasem-h/DeviseAuthTokenTest

authors: MaicolBen Qasem-h

license: WTFPL


text:
Devise token auth not found routing error

My application is sending emails to confirm the new registration.
The client received that email and click the link. The account is confirmed and the client can sign in.
But if the user press again that link, he receives a routing error:
confirmations_controller.rb - line 29.
When the confirmation token is not found, we should get a proper message instead of a routing error.
The same is happening with password recover.

I created my own method to recover from errors when a 404 is raised from: api/v1/auth/confirmation/. In this way I can provide a nice error to the user.
Related with the edit password, I wasn't succeed because it is returning a 404 json.
I'm not so good in Rails. Another suggestions are welcomed.
I'm using devise_token-auth with ng-token-auth.

The following pull request:
Semantic Registrations Error Status Codes
#376
Solve the problem with registration link. The password link remain with problem when you click it for the second time.


text:
signOut not working

I'm using jToker alongside devise_token_auth, nothing but standard.
I can't logout using $.auth.signOut(). I got a 404 in the console, and when I curl the request I get
"errors":["User was not found or was not logged in."]
I found this SO post
http://stackoverflow.com/questions/32507637/why-am-i-unable-to-sign-out-using-devise-token-auth-and-curl
but I can't succeed with this method, and I think that jToker documentation is missing something or outdated.

I found the solution in @kunovski answer to this issue : https://github.com/lynndylanhurley/j-toker/issues/7
it was a problem of CORS configuration (server-side pb). I quote his answer:
You should do this:
Rails.application.config.middleware.insert_before 0, Rack::Cors do
  allow do
    origins 'example.com'

    resource '*',
      headers: :any,
      methods: [:get, :post, :put, :patch, :delete, :options, :head]
  end
end

Instead of:
Rails.application.config.middleware.insert_before 0, Rack::Cors do
  allow do
    origins 'example.com'
    resource '*',
      headers: :any,
      expose: ['access-token', 'token-type', 'client', 'expiry', 'uid'],
      methods: [:get, :post, :put, :patch, :delete, :options, :head]
  end
end

You still need expose: ['access-token', 'token-type', 'client', 'expiry', 'uid'] in there

repo: lynndylanhurley/j-toker


text:
why does addToCustomFormula appends to the current text instead of replacing it?

in builder.js, addToCustomFormula appends to the existing formula instead of replacing it. Is there a use case where this is useful?
My problem is that when I use the expedition dropdown to populate the custom formula field, and I want to change to a different expedition, it adds the formula of the second expedition to the field, so now the field has the formulas of both expedition #1 and #2. Those custom goal dropdowns should really just replace everything that was in that field.

It's mainly for the healing formula. I may want to make a Healer with :
`Maximize HP With (healing formula) > 8000
for instance.

authors: lyrgard pxcasey

repo: lyrgard/ffbeEquip


text:
Niveau 14 : Bouton qui bouge

Bouton qui bouge quand on veut le cliquer et il faut agiter le téléphone pour l'arrêter

Idée de nom : Knock it down


text:
解决方案检查

[X] 我已阅读常见问题(https://lyswhut.github.io/lx-music-doc/desktop/faq)，但没有找到解决方案
[X] 我已搜索issue列表(https://github.com/lyswhut/lx-music-desktop/issues?utf8=✓&q=)，但没有发现类似的问题

问题描述
可不可以添加一个功能：鼠标悬停在音量按钮上时可通过鼠标滚轮增减音量
描述你想要的解决方案
判断鼠标是否在音量按钮上，然后使用 scroll_event 监听鼠标滚轮，判断前滚增大音量后滚减小音量
描述你考虑过的替代方案
No response
附加信息
No response

已在 v2.9.0 新增

authors: lyswhut mhzun

repo: lyswhut/lx-music-desktop


text:
解决方案检查

[X] 我已阅读常见问题(https://lyswhut.github.io/lx-music-doc/mobile/faq)，但没有找到解决方案
[X] 我已搜索issue列表(https://github.com/lyswhut/lx-music-mobile/issues?utf8=✓&q=)，但没有发现类似的问题

问题描述
我的车机屏是飞歌，安卓4.2.2，内核3.4.35，无法安装任何版本
描述你想要的解决方案
希望增加旧版本安卓车机支持
描述你考虑过的替代方案
No response
附加信息
No response

上游依赖React Native已停止对于安卓4的支持

authors: aobowl helloplhm-qwq

repo: lyswhut/lx-music-mobile


text:
Pretrained checkpoints

Hi, thank you for sharing the awesome work! I'm wondering what's the difference between the checkpoints in the google drive and the links?

Hi, there is no difference for the models on Google drive and MPI drive. Just pick whichever link works for you.

Got it thank you!


text:
Bug: About Page line breaks

This PR addresses the about page line breaks identified by @georgiamoon in issue #205 .
I think when I originally migrated the content, I had some inadvertent line breaks in the about markdown.  This PR remedies that issue and combines all of the content in the "Why Measurement Lab" section into 1 paragraph, which I think is what the intent is.
The fix can be viewed on my fork.

This change is

Review status: 0 of 1 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Reviewed 1 of 1 files at r1.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from Reviewable

authors: georgiamoon shredtechular


text:
fix(ndt5/c2s): start upload when connection is ready

Continuation of https://github.com/m-lab/ndt-server/pull/170
Code uses the same pattern as found in https://github.com/m-lab/ndt-server/blob/master/testdata/unittest_client.js#L250-L291
FYI: @ryanrolds

This change is

Pull Request Test Coverage Report for Build 923

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 73.813%

Totals

Change from base Build 911:
0.0%

Covered Lines:
1446

Relevant Lines:
1959

💛  - Coveralls

authors: coveralls stephen-soltesz

repo: m-lab/ndt-server


text:
Refactor ndt7 Upload and Download handlers

This change refactors the ndt7 upload and download handlers by simplifying the results.File interface, and updating supporting functions to operate directly on archival data.
This change is in service of adding ndt7 prometheus metrics comparable to the ndt5_client_test_results_total and ndt5_client_test_errors_total metrics https://github.com/m-lab/ndt-server/blob/master/ndt5/metrics/metrics.go#L85-L98
Fixes: http://github.com/m-lab/ndt-server/issues/152

This change is

Pull Request Test Coverage Report for Build 1305

79 of 104 (75.96%)  changed or added relevant lines in 6 files are covered.
87 unchanged lines in 8 files lost coverage.
Overall coverage decreased (-3.8%) to 76.211%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

ndt7/download/sender/sender.go
0
1
0.0%

ndt7/saver/saver.go
1
3
33.33%

ndt7/handler/handler.go
61
83
73.49%

Files with Coverage Reduction
New Missed Lines
%

ndt5/c2s/c2s.go
1
72.32%

ndt7/upload/sender/sender.go
5
67.65%

ndt7/closer/closer.go
7
0%

ndt7/saver/saver.go
9
61.7%

ndt7/handler/handler.go
13
66.21%

ndt7/download/sender/sender.go
15
51.47%

ndt7/ping/ping.go
18
0%

ndt7/receiver/receiver.go
19
44.23%

Totals

Change from base Build 1299:
-3.8%

Covered Lines:
1589

Relevant Lines:
2085

💛  - Coveralls


text:
Use the new uuid library

Part of https://github.com/m-lab/uuid/issues/2

This change is

Pull Request Test Coverage Report for Build 496

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 62.34%

Totals

Change from base Build 494:
0.0%

Covered Lines:
778

Relevant Lines:
1248

💛  - Coveralls

authors: coveralls pboothe


text:
Remove pycountry

The large package size is causing the "Signature expired" error when deploying on a machine with a slow upload speed. As a quick fix I removed the pycountry requirement but I haven't added the lightweight fix used in my flask-ask-remove-pycountry branch. So for now it just reads the country code, not the country.

Why not just go ahead and merge your branch so we don't just lose this functionality?  Is there something wrong with it?

the other branch is for the flask version and I haven't tested it with the old Skill

I'll backport them I guess, otherwise the branches will diverge and there'll be a conflict when we go to merge back into master.
This is exactly the reason why I advocate master as a development branch.. I knew we'd be supporting two branches eventually.
Anyway, I'll make the changes on master and then @m0ngr31 can rebase the flask-ask branch to pull them into there.

Added the lightweight alternative and pushed it up.  @m0ngr31 will need to rebase flask-ask onto master to pull the changes into there.

The only thing I didn't like about your branch on the flask-ask PR is using # coding=utf-8
It's just a personal preference thing, but if we could avoid using that, I'd prefer that.

Thanks for integrating the lighter solution, I have just tested it and afraid it doesn't work.
Couple of things, deploy-to-lambda.py needs to include the ISO-639-2_utf-8.txt or it won't be uploaded.
if(os.path.isfile("ISO-639-2_utf-8.txt")):
  shutil.copy("ISO-639-2_utf-8.txt", app_name)

Testing the skill (with the txt file uploaded) gives the following error:
Syntax error in module 'wsgi': Non-ASCII character '\xc3' in file /var/task/kodi.py on line 987, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details (kodi.py, line 987)

I was getting this error on the Flask branch and is why I included # coding=utf-8. Sorry if it is not the best practice for defining the encoding type, but I think it is required to handle the non ascii characters.
(note that I didn't want to open this can of worms, especially for the old skill, so it might be easier (at least till 2.5) that the language response is muted)

Instead of punting the problem for the future, let's just fix it here.  The addition to deploy-to-lambda.py is a simple one.
But yes, specifying the character encoding does appear to be required (the pycountry package on my server here does this too).
@m0ngr31, do you know another way around this?  We could always put the offending method in a file by itself if you want, but that doesn't seem to actually help much.

#!/usr/bin/env python
# -*- coding: utf-8 -*-

also works

@m0ngr31, do you know another way around this? We could always put the offending method in a file by itself if you want, but that doesn't seem to actually help much.

We'll probably just have to play doing .encode('utf-8') on the strings.

Yeah.  I'll mess around with it more in a few hours.

I pushed my version up to the flask-ask branch based on @digiltd's code. Let me know if you guys run into issues.

Why not just rebase or cherry-pick?
Anyway, same problem as on master branch; but I'm looking at it now.

Yeah, that's my bad. I was just in the middle of getting rid of the PyBabel dependency and I didn't even think about it.

Just worried about a crazy merge back into master if we delay 2.5 much longer lol

Yes, I need to get this wrapped up soon. I feel bad for everyone still on the old versions.

Ok, so the culprit was in the comment:
looks up 3 character code in the dictionary e.g. fre|fra|fr|French|francais
Fixing and pushing up in a sec.

Should be fixed now.

@digiltd lemme know when you've had a chance to test again.  I'll close this then.

Believe this is now complete.

authors: digiltd jingai m0ngr31

license: mit


text:
Please add support to support https.

Now bilibili and acgvideo support https access, please support them to provide better privacy.

It all depends on what the API gives us.

It seems now most APIs could be invoked via https.

This project is discontinued becaise I don't have enough time to maintain this. Sorry.
But I will appreciate if you could write this patch and send me a PR.

#82

Merged #82

authors: cnbeining m13253 persmule


text:
move source code into a single directory

Not updated paths elsewhere -- this breaks things.

This is a big change that may introduce a lot of conflicts with any work that is ongoing in parallel. Please could we sync to merge this sooner rather than later? @arthurBarthe

One note -- the root scripts like cmip26.py aren't moved. They'll need imports updated.

Project is detected fine. CI is not green yet and the logs have more insight on what to fix, so I consider this ready to merge.

authors: dorchard raehik


text:
Fill in remaining TODOs in the README

The README has remaing TODOS, with some related to the use of mlflow. These should be addressed to make it easy for the user to understand the flow between the data processing step, training step and testing step.

This has been addressed over the past months

authors: MarionBWeinzierl arthurBarthe


text:
stats: list index out of range

[midas@midas ~]$ stats

stats for the last 24 hours:

Traceback (most recent call last):
  File "/home/miner/minotaur-src/minotaur.py", line 1022, in <module>
  File "/home/miner/minotaur-src/minotaur.py", line 795, in stats
  File "/home/miner/minotaur-src/stats.py", line 83, in get_logs_for_period
IndexError: list index out of range

minotaur.csv.zip

should be fixed in the next release


text:
Undefined when retrieving data saved using FaceID

When saving data using FaceID returns undefined when you use getItem.
Running the example inside this repository will be able to reproduce this issue. Clicking on "Add item using TouchID" and then trying to retrieve this data clicking on Get TouchID Data returns undefined.

Hi just want to bump this as this issue still occurs

authors: JeffreyLeeDave mCodex

repo: mCodex/react-native-sensitive-info


text:
Calling docker setup with invalid parameters returns 200 OK return

curl --verbose http://localhost:8080/estimate-co2?transport_mode=small_car

< HTTP/1.0 200 OK
< Content-Type: application/json
"Not enough information was provided to calculate CO2 estimate."

Also I would return { "error": "msg" } payload in this situation.

Fixed by #30

repo: maasglobal/sustainable-mobility-api


text:
midea_ac_886103000093 不可用

Describe the bug （描述一下问题）
A clear and concise description of what the bug is.
midea_ac_886103000093 不可用
Screenshots / Logs / Pcap File（屏幕截图/日志/抓包文件）
If applicable, add screenshots or your home-assistant log file or pcap file to help explain your problem.
请提交相关截图，日志，抓包让开发者能够更快的解决问题

Update of climate.midea_ac_886103000093 is taking over 10 seconds

Versions (版本信息)

Home Assistant version:
版本 | 2021.1.5
安装类型 | Home Assistant OS
Midea msmart version:

I think I have the same problem.

请试试新版本

try the new version

authors: AlessandroTischer jingcard mac-zhou

repo: mac-zhou/midea-ac-py


text:
Using self-compiled erlang does not work

Hi, I ran into an issue where mzbench could not find my self-compiled erlang which is only available in my user PATH variable. Unfortunately the value of the user PATH variable is discarded due to the source /etc/profile here:
https://github.com/machinezone/mzbench/blob/master/common_apps/mzbench_utils/src/mzb_subprocess.erl#L21
I made a hack where I removed the source /etc/profile which makes it work on my system:
https://github.com/larshesel/mzbench/commit/b9b40edcd9e3430b5f63fbcb15ecff175f83e04d
This is probably not the correct fix, and there's of course a good chance that maybe I'm just doing something wrong in the first place.

Can you try with -l option added to bash there (with source /etc/profile still deleted)? If that still works then we should consider changing from manually sourcing /etc/profile to relying on bash -l doing it by itself.

The -l option works for me. Change the commit so it looks like this: https://github.com/larshesel/mzbench/commit/e1bc28425d6327823f89e1b0c21f56f610bb135c

Hi @ethercrow, should I create a PR with the branch or do you think there are better ways at solving the issue?

sorry for slow reaction, we have committed this patch directly to master so there is no need for PR, thanks a lot for your contribution, feel free to create any pull requests to MZBench!

great - thanks a lot!

authors: ethercrow larshesel parsifal-47

repo: machinezone/mzbench


text:
Is the project still alive?

@maciejtreder I saw that your last commit was on April, 24. Is your project still alive?

Hello @mattmeye Unfortunately recent time I don't have a lot of time to maintain this project and add new functionalities. But, AFAIK it is still working with the recent Angular release.

authors: maciejtreder mattmeye

repo: maciejtreder/ng-toolkit


text:
Improve roxygen documentation

Sooner, rather than later, I should probably review and improve all roxygen documentation and make sure params and inheretParams are clean

Also, make sure param definitions are clean. I should update summarise_noise_data() and summarise_timer_data() to use compress_df instead of summ_data

I updated all of the summarise_() functions to use compress_df and improved (I think) roxygen documentation throughout. I did change a 1 or 2 argument names to hopefully clarify things e.g., I changed summ_data in parse_tag_list() and parse_code_ending() to data_to_parse to differentiate it from compress_df. Those functions can really be run on ANY data frame with a column "tag_id". I think there's still 1 or 2 places where we might standardize argument names, but I'm done for now.


text:
MP error correction

Hi,
Why you didn't applied BLESS on Mate pair data ?

Hi. We used a different error correction tool for MP reads because I believe BLESS works well with PE reads only.

So you are using only Nextclip for MP ?
Do you think it's worth running Trimmomatic after Nextclip ?

Yes we used Nextclip only for MP. No I don't think you need to run Trimmomatic, but my advisor always says try everything and see what you get. If you have time, you can do the following:

Trim with Nextclip only
Trim with Trimmomatic only
Trim with Nextclip followed by Trimmomatic

But I would just stick with one  trimming personally. At the least, you can compare the two trimming tools. Up to you! Option 3 is unusual in my opinion.

authors: ptranvan tarunaaggarwal


text:
Update the link to self

This got updated in https://github.com/macvim-dev/macvim/commit/d65c0f2016711dbbe5c0a1db8a752d2334e0240d

I don’t mind merging the change. I was going to update it when I push the next release out since that would contain the updated URL. Was there a reason you want that URL updated? I wasn’t aware that Sparkle would act any differently depending on what’s in the XML tag.

@ychin I opened it for consistency only.

authors: pusewicz ychin

repo: macvim-dev/macvim

license: Vim


text:
Please restore major version tag for github-workflows-kt

See https://github.com/krzema12/github-workflows-kt/issues/593#issuecomment-1370092424

@krzema12, if I understood you correctly, it should be fixed now: I've pushed a v0 tag into this repo.

Yes, perfect, thanks!

repo: madhead/intellij-http-client-action


text:
🛑 qBitTorrent UI is down

In 38cd718, qBitTorrent UI (https://qbittorrent.$BASE_URL_MADHOGS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: qBitTorrent UI is back up in 23bdc73.

repo: madhogs/upptime


text:
Issue Gallery

The menu to add a new gallery (3 vertical Points next to the plus) is missing.

I am surprised this has not come up before.  I will get this fixed.  Thank you.

FYI, this was fixed in the last release.  Just doing a little house cleaning.

repo: madoublet/respond


text:
Switch to Bulma

Rips out Bootstrap in favor of Bulma.
@Ry-Dowd, i've commented out most other css throughout the app so you have close to completely clean slate. The Bulma css should be available site-wide but the only place any of the classes are actually used so far is on listings/new, to replace some of the bootstap that used to be on that page. There are still a number of pages with bootstrap classes in the markup, but they shouldn't have any effect; we can clean them up as we touch those templates.
This makes all existing pages pretty unpresentable 😅 .
Also yanks the sidebar and navbar in anticipation of a new Bulma+Vue layout. @maebeale, i couldn't think of an easy way to set Ryan up and retain all the work you put into the layout. Definitely open to a different approach. Sorry!

This is great, @exbinary !!!!!

Merging into release branch v0.2.

authors: exbinary maebeale

repo: maebeale/mutual-aid


text:
aggregations not working

run aggregate in shell works.
run in mongojs on node ( with callback )
db.users.aggregate(
[
{ $project : {month_joined : { $month : "$createdAt" } } } ,
{ $group : { _id : {month_joined:"$month_joined"} , number : { $sum : 1 } } },
{ $sort : { "_id.month_joined" : 1 } }
]  , function(err, data) {
            console.log(err) ;
            res.status(200).send('data')
        }
     )

err
{ name: 'MongoError',
message: 'exception: pipeline element 0 is not an object',
errmsg: 'exception: pipeline element 0 is not an object',
code: 15942,
ok: 0 }

Had the same issue yesterday. Pass the pipeline objects as arguments instead of an array and everything will work like a charm:
db.users.aggregate(
{ $project : {month_joined : { $month : "$createdAt" } } } ,
{ $group : { _id : {month_joined:"$month_joined"} , number : { $sum : 1 } } },
{ $sort : { "_id.month_joined" : 1 } }, function(err, data) {
//...

See also pull request #204

Fixed by #204

authors: guruward saintedlama

repo: mafintosh/mongojs


text:
Add to Homebrew-Cask

Pull request opened at https://github.com/caskroom/homebrew-cask/pull/10572

@vinkla I am not familiar with homebrew-cask. What maintenance is required to keep versions there in sync with the latest release here?

Nothing really. You only have to push a new version number with a new sha256 key.
cask :v1 => 'playback' do
  version '1.1.0'
  sha256 'a9849a894e07e0b4f0c60095275752848117fb1d8e5de7781737bc03553fc708'

  url "https://github.com/mafintosh/playback/releases/download/v#{version}/Playback.app.zip"
  name 'Playback'
  homepage 'https://github.com/mafintosh/playback'
  license :oss

  app 'Playback.app'
end

If you guys later on have a defined URL for the latest version its possible to just write the following:
version :latest
sha256 :no_check

When this has been added it usually has no maintenance require what so ever.

Merged.

authors: maxogden vinkla

repo: mafintosh/playback


text:
Add comments for magic properties/methods

For example, in mageekguy\atoum\test, add following lines to easily use "virtual method" in IDE with auto completion. (Like Doctrine 1 base model generator)
/**

@property    mageekguy\atoum\asserter\generator  $assert
@method      mageekguy\atoum\asserter\generator  assert()
*/
abstract class test implements observable, adapter\aggregator, \countable
{
...
}

+1 Atoum really need that

@Steuf: i've forked atoum repo and started to add comments.
Don't hesitate to participe :)

Cool, I look at it when I have a little time ;)

This would really be great.
I have a lot of warning in my IDE. This would resolve those issues.

authors: Steuf Tharkun marmotz

repo: mageekguy/atoum


text:
Fix for Magento 1.9.2.2 / SUPEE-6788

Fixes #20

Missed the moved controller in my original commit, but I can verify this works with a custom admin path.

looks legit for me

authors: Flyingmana Silarn

repo: magento-hackathon/AsyncIndex


text:
Adding balena SDK and routes

This PR adds some basic device info routes + ui via the balena SDK, and adds routes for get/set/deleting environment variables on the device as well, to tee up UI being implemented.

Thanks for these, really exciting to see a whole new take on what this can do. It seems the possibilities are endless.
I'm not familiar with the SDK, does it reach out to the Balena online servers to retrieve the info? I'm wondering what happens if someone accesses the interface while the device is offline, is there error handling for that?

Yes, the SDK is essentially a node wrapper library that make calls to the Balena API which uses pine.js under the hood. Currently there is no way to get all the device info from the supervisor, the cloud holds it as the source of truth and resolves all that info back down to the supervisor. The next step after this PR is to add offline states to the UI. It's not an ideal situation, but it's what we have to work with today!

Note, I also added postman_collection.json for an easy way to test out these endpoints while developing

Couple of other changes pushed, it is worth a quick glance at the commits to see the changes.


text:
error loading script: animate.py, modulenotfounderror: no module named 'diffusers.modeling_utils'

I have installed stable diffusion with no errors before. now this error shows up. I guess it came with the auto update. can anyone help fix ... ty.

It says submit this to github for debugging purposes ...

Hi, please refer to #15 for windows installation.

authors: gexmbla zcxu-eric

repo: magic-research/magic-animate


text:
Problem: Instance admins/podmins can't find a pitch or any info they need

There is currently no mention of why a prospective admin would run an instance of any Magic Stone software, how to add their pod to the list of instances, or more basic information like system requirements or installation docs.

#43 Addresses for Ecko


text:
Raw SDL is not working

Describe the bug
I'm trying to generate the docs using the example "raw" SDL method:
export default {
  introspection: {
    /**
     * The raw type.
     */
    type: 'raw',

    /**
     * The raw SDL content.
     */
    content: 'type Query\n{\ttest: String\n}',
  },
}

But when it generates the docs it only shows the welcome page and no GraphQL types are visible. However, when I use "sdl" method, that is working correctly.
Reproduction
Use the following "introspection" setting as part of the magidoc configuration:
  introspection: {
    type: 'raw',
    content: 'type Query\n{\ttest: String\n}',
  },

Logs
No response
System Info
System:
  OS: macOS 13.6.1
  CPU: (12) arm664 Apple M2 Pro
  Memory: 46.45 MB / 32.00 GB
  Shell =: 5.9 - /bin/zsh
Binaries:
  Node: 18.14.2 - /usr/local/bin/node
  npm: 9.5.0 - /usr/local/bin/npm
Browsers:
  Chrome: 122.0.6261.129
  Safari: 17.1

Severity
Blocking all usage of Magidoc

Hey @ngagne, thank you for raising this issue. I have figured out the problem and deployed the fix as part of 4.2.0. Try it out and let me know if you face other issues. :slightly_smiling_face:

Thanks for the quick response @pelletier197, it's working great now!

repo: magidoc-org/magidoc


text:
Paar vragen

Ik vroeg mij af de API alleen werkt voor leerlingen of ook voor docenten.
Voor welke versie van magister is dit ?
Kan ik met deze api bijvoorbeeld alle berichten van "Vandaag"  ophalen of alle absenties/te laat van leerlingen opvragen ?
Thanks en keep up the good work  ;)

Ohoh deze dude wilt kinderen automatisch laten nablijven ofzo :san_marino:

Ohoh deze dude wilt kinderen automatisch laten nablijven ofzo :S

Hehe ik wil rapportages maken met third party libraries. Maar ik zie nog niet zo snel wat wel of niet kan en hoe de modellen precies werken

Je kunt in principe alle gegevens ophalen die je zelf als leerling kunt zien op de Magister website van jouw school. Enkel ontbreekt nog support voor het aanmaken of verwijderen van externe data (denk aan e-mails versturen). Dit is nog WIP en zal pas in de volgende versie komen.
Wat betreft de docenten: ik geloof dat zij nog de oude versie van Magister gebruiken (Silverlight). Wij bieden enkel ondersteuning voor de nieuwe Magister versie die tot dusver alleen nog toegankelijk is voor leerlingen. Mochten de docenten overschakelen naar Magister 6, dan zal hier uiteraard ook ondersteuning voor komen.
Samengevat kun je inderdaad de berichten van vandaag ophalen en alle absenties/te laat van leerlingen opvragen.
Overigens ben ik gisteren begonnen aan de nieuwe documentatie. Link staat in de readme.md.

thanks voor de antwoorden. Inderdaad de magister met alle functionaliteiten van docenten is dat ene rommel product met silverlight 🗡 .
Ik kan wel inloggen op magister 6 met een docenten account en ik zie wel het een en ander maar niet alle functionaliteiten natuurlijk.
Ik moet even begrijpen hoe je de modellen maakt want ik zie nu niet even snel hoe je dus absenties/te laat ophaalt.

Wil je de absenties/te laat ophalen van docenten of van leerlingen?

Van leerlingen...

Ok, je bracht mij even in verwarring door docenten erbij te betrekken.
Elk model staat gelijk aan één extern endpoint van Magister. Het fungeert dus als een soort brug. Hierbij worden handige functies meegeleverd die het ophalen en verwerken van de data vereenvoudigd.
Voor het ophalen van absenties ed. werken we met het Attendence model. Deze staat gelijk aan het externe endpoint personen/:id/absenties?van=:from&tot=:until. Alle modellen fungeren als een soort query builder. De :from en :until kunnen we dynamisch invullen met de where() functie.
use Magister\Models\Attendance\Attendance;

$attendances = Attendance::where('from', '2017-01-01')->where('until', '2017-02-01')->get();

De Magister website doet hier precies hetzelfde. In de front-end filteren zij vervolgens de verschillende typen absenties eruit (absent, te laat, ziek etc.). De get() functie verstuurt het daadwerkelijke request naar zijn Magister endpoint en slaat de data op in een Collection class. Dit is een class met een aantal handige functies voor het verder verwerken van de data. Zie https://github.com/magister-api/magister/blob/master/src/Magister/Services/Support/Collection.php voor alle functies beschikbaar.
Als we nu enkel de te laat op willen halen kunnen we de where() functie van de Collection class gebruiken.
use Magister\Models\Attendance\Attendance;

$attendances = Attendance::where('from', '2017-01-01')->where('until', '2017-02-01')->get();
$to_late = $attendances->where('Code', 'TL');

Hier komt binnenkort meer over in de documentatie.

new Magister\Magister("XXX","XXX","XXX");
use Magister\Models\Attendance\Attendance;
$attendances = Attendance::where('from', '2017-01-01')->where('until', '2017-02-01')->get();
$toolate = $attendances->where('Code', 'TL');
var_dump($toolate);
dit is het resultaat:
Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/magister/vendor/stanvk/magister/src/Magister/Services/Foundation/Bootstrap/MakeReplacements.php on line 29
object(Magister\Services\Support\Collection)#2 (1) { ["items":protected]=> array(0) { } }

Deze error heeft te maken met het inlog proces. Heb je de pagina geprobeerd te refreshen. Soms willen er nog wel eens problemen ontstaan mbt cookies.

Notice: Trying to get property of non - object in /Applications/MAMP / htdocs / magister / vendor / stanvk / magister / src / Magister / Services / Foundation / Bootstrap / MakeReplacements.php on line 29
object(Magister\ Models\ User) #58 (5) { ["primaryKey":protected]= > string(10)
"Persoon.Id" ["dates": protected] => array(1) {
[0] => string(13)
"Geboortedatum"
}["connection": protected] => NULL["attributes": protected] => array(4) {
["UuId"] => string(36)
"XXXXX" ["Persoon"] => array(12) {
["Id"] => int(xxxx)["Roepnaam"] => string(6)
"XXXXX" ["Tussenvoegsel"] => NULL["Achternaam"] => string(12)
"XXXXX" ["OfficieleVoornamen"] => string(6)
"XXXX" ["Voorletters"] => string(2)
"X." ["OfficieleTussenvoegsels"] => NULL["OfficieleAchternaam"] => NULL["Geboortedatum"] => string(10)
"XXXXX" ["GeboorteAchternaam"] => NULL["GeboortenaamTussenvoegsel"] => NULL["GebruikGeboortenaam"] => bool(false)
}["Groep"] => array(2) {
[0] => array(3) {
["Naam"] => string(6)
"Docent" ["Privileges"] => array(51) {
[0] => array(2) {
["Naam"] => string(12)
"Aanmeldingen" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[1] => array(2) {
["Naam"] => string(18)
"WachtwoordWijzigen" ["AccessType"] => array(4) {
[0] => string(6)
"Create" [1] => string(4)
"Read" [2] => string(6)
"Update" [3] => string(6)
"Delete"
}
}[2] => array(2) {
["Naam"] => string(11)
"EloOpdracht" ["AccessType"] => array(2) {
[0] => string(6)
"Create" [1] => string(4)
"Read"
}
}[3] => array(2) {
["Naam"] => string(13)
"Studiewijzers" ["AccessType"] => array(4) {
[0] => string(6)
"Create" [1] => string(4)
"Read" [2] => string(6)
"Update" [3] => string(6)
"Delete"
}
}[4] => array(2) {
["Naam"] => string(7)
"Bronnen" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[5] => array(2) {
["Naam"] => string(9)
"Berichten" ["AccessType"] => array(4) {
[0] => string(6)
"Create" [1] => string(4)
"Read" [2] => string(6)
"Update" [3] => string(6)
"Delete"
}
}[6] => array(2) {
["Naam"] => string(7)
"Profiel" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[7] => array(2) {
["Naam"] => string(9)
"Absenties" ["AccessType"] => array(3) {
[0] => string(6)
"Create" [1] => string(4)
"Read" [2] => string(6)
"Delete"
}
}[8] => array(2) {
["Naam"] => string(9)
"Afspraken" ["AccessType"] => array(4) {
[0] => string(6)
"Create" [1] => string(4)
"Read" [2] => string(6)
"Update" [3] => string(6)
"Delete"
}
}[9] => array(2) {
["Naam"] => string(18)
"Roosterwijzigingen" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[10] => array(2) {
["Naam"] => string(12)
"Instellingen" ["AccessType"] => array(3) {
[0] => string(6)
"Create" [1] => string(4)
"Read" [2] => string(6)
"Delete"
}
}[11] => array(2) {
["Naam"] => string(13)
"Keuzewerktijd" ["AccessType"] => array(3) {
[0] => string(6)
"Create" [1] => string(4)
"Read" [2] => string(6)
"Delete"
}
}[12] => array(2) {
["Naam"] => string(10)
"Ouderavond" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[13] => array(2) {
["Naam"] => string(9)
"Logboeken" ["AccessType"] => array(4) {
[0] => string(6)
"Create" [1] => string(4)
"Read" [2] => string(6)
"Update" [3] => string(6)
"Delete"
}
}[14] => array(2) {
["Naam"] => string(6)
"Lessen" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[15] => array(2) {
["Naam"] => string(11)
"Lesperioden" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[16] => array(2) {
["Naam"] => string(11)
"Medewerkers" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[17] => array(2) {
["Naam"] => string(16)
"LeerlingenOuders" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[18] => array(2) {
["Naam"] => string(16)
"Persoonsgegevens" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[19] => array(2) {
["Naam"] => string(36)
"MedewerkersOfficielePersoonsgegevens" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[20] => array(2) {
["Naam"] => string(27)
"LOOfficielePersoonsgegevens" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[21] => array(2) {
["Naam"] => string(17)
"LOContactgegevens" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[22] => array(2) {
["Naam"] => string(15)
"LOAdresgegevens" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[23] => array(2) {
["Naam"] => string(16)
"Examenresultaten" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[24] => array(2) {
["Naam"] => string(19)
"Terugkommaatregelen" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[25] => array(2) {
["Naam"] => string(5)
"Taken" ["AccessType"] => array(4) {
[0] => string(6)
"Create" [1] => string(4)
"Read" [2] => string(6)
"Update" [3] => string(6)
"Delete"
}
}[26] => array(2) {
["Naam"] => string(7)
"Studies" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[27] => array(2) {
["Naam"] => string(15)
"VerantwoordeLes" ["AccessType"] => array(4) {
[0] => string(6)
"Create" [1] => string(4)
"Read" [2] => string(6)
"Update" [3] => string(6)
"Delete"
}
}[28] => array(2) {
["Naam"] => string(10)
"Leerlingen" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[29] => array(2) {
["Naam"] => string(6)
"Ouders" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[30] => array(2) {
["Naam"] => string(12)
"Leerling-NAW" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[31] => array(2) {
["Naam"] => string(17)
"Leerling-huisarts" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[32] => array(2) {
["Naam"] => string(28)
"Leerling-medische-informatie" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[33] => array(2) {
["Naam"] => string(10)
"Ouders-NAW" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[34] => array(2) {
["Naam"] => string(14)
"Medewerker-NAW" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[35] => array(2) {
["Naam"] => string(20)
"Medewerker-NAW-prive" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[36] => array(2) {
["Naam"] => string(17)
"Leerling-mentoren" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[37] => array(2) {
["Naam"] => string(11)
"Persoonlijk" ["AccessType"] => array(4) {
[0] => string(6)
"Create" [1] => string(4)
"Read" [2] => string(6)
"Update" [3] => string(6)
"Delete"
}
}[38] => array(2) {
["Naam"] => string(7)
"Gedeeld" ["AccessType"] => array(2) {
[0] => string(6)
"Create" [1] => string(4)
"Read"
}
}[39] => array(2) {
["Naam"] => string(10)
"Prullenbak" ["AccessType"] => array(4) {
[0] => string(6)
"Create" [1] => string(4)
"Read" [2] => string(6)
"Update" [3] => string(6)
"Delete"
}
}[40] => array(2) {
["Naam"] => string(6)
"Vakken" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[41] => array(2) {
["Naam"] => string(12)
"Cijferinvoer" ["AccessType"] => array(4) {
[0] => string(6)
"Create" [1] => string(4)
"Read" [2] => string(6)
"Update" [3] => string(6)
"Delete"
}
}[42] => array(2) {
["Naam"] => string(20)
"ExamenAfnamemomenten" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[43] => array(2) {
["Naam"] => string(15)
"Docentlicenties" ["AccessType"] => array(3) {
[0] => string(6)
"Create" [1] => string(4)
"Read" [2] => string(6)
"Delete"
}
}[44] => array(2) {
["Naam"] => string(11)
"ToetsGemist" ["AccessType"] => array(2) {
[0] => string(6)
"Create" [1] => string(4)
"Read"
}
}[45] => array(2) {
["Naam"] => string(19)
"Leerling-resultaten" ["AccessType"] => array(1) {
[0] => string(4)
"None"
}
}[46] => array(2) {
["Naam"] => string(7)
"Groepen" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[47] => array(2) {
["Naam"] => string(9)
"Profielen" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[48] => array(2) {
["Naam"] => string(8)
"ILTCodes" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[49] => array(2) {
["Naam"] => string(24)
"BeschikbaareidOuderavond" ["AccessType"] => array(2) {
[0] => string(4)
"Read" [1] => string(6)
"Update"
}
}[50] => array(2) {
["Naam"] => string(12)
"Mededelingen" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}
}["Links"] => NULL
}[1] => array(3) {
["Naam"] => string(10)
"Klasdocent" ["Privileges"] => array(44) {
[0] => array(2) {
["Naam"] => string(12)
"Aanmeldingen" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[1] => array(2) {
["Naam"] => string(11)
"EloOpdracht" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[2] => array(2) {
["Naam"] => string(13)
"Studiewijzers" ["AccessType"] => array(4) {
[0] => string(6)
"Create" [1] => string(4)
"Read" [2] => string(6)
"Update" [3] => string(6)
"Delete"
}
}[3] => array(2) {
["Naam"] => string(7)
"Bronnen" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[4] => array(2) {
["Naam"] => string(9)
"Berichten" ["AccessType"] => array(4) {
[0] => string(6)
"Create" [1] => string(4)
"Read" [2] => string(6)
"Update" [3] => string(6)
"Delete"
}
}[5] => array(2) {
["Naam"] => string(7)
"Profiel" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[6] => array(2) {
["Naam"] => string(9)
"Absenties" ["AccessType"] => array(3) {
[0] => string(6)
"Create" [1] => string(4)
"Read" [2] => string(6)
"Delete"
}
}[7] => array(2) {
["Naam"] => string(9)
"Afspraken" ["AccessType"] => array(4) {
[0] => string(6)
"Create" [1] => string(4)
"Read" [2] => string(6)
"Update" [3] => string(6)
"Delete"
}
}[8] => array(2) {
["Naam"] => string(18)
"Roosterwijzigingen" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[9] => array(2) {
["Naam"] => string(12)
"Instellingen" ["AccessType"] => array(3) {
[0] => string(6)
"Create" [1] => string(4)
"Read" [2] => string(6)
"Delete"
}
}[10] => array(2) {
["Naam"] => string(13)
"Keuzewerktijd" ["AccessType"] => array(3) {
[0] => string(6)
"Create" [1] => string(4)
"Read" [2] => string(6)
"Delete"
}
}[11] => array(2) {
["Naam"] => string(10)
"Ouderavond" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[12] => array(2) {
["Naam"] => string(9)
"Logboeken" ["AccessType"] => array(4) {
[0] => string(6)
"Create" [1] => string(4)
"Read" [2] => string(6)
"Update" [3] => string(6)
"Delete"
}
}[13] => array(2) {
["Naam"] => string(6)
"Lessen" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[14] => array(2) {
["Naam"] => string(11)
"Lesperioden" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[15] => array(2) {
["Naam"] => string(11)
"Medewerkers" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[16] => array(2) {
["Naam"] => string(16)
"LeerlingenOuders" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[17] => array(2) {
["Naam"] => string(16)
"Persoonsgegevens" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[18] => array(2) {
["Naam"] => string(36)
"MedewerkersOfficielePersoonsgegevens" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[19] => array(2) {
["Naam"] => string(27)
"LOOfficielePersoonsgegevens" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[20] => array(2) {
["Naam"] => string(17)
"LOContactgegevens" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[21] => array(2) {
["Naam"] => string(15)
"LOAdresgegevens" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[22] => array(2) {
["Naam"] => string(16)
"Examenresultaten" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[23] => array(2) {
["Naam"] => string(19)
"Terugkommaatregelen" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[24] => array(2) {
["Naam"] => string(5)
"Taken" ["AccessType"] => array(4) {
[0] => string(6)
"Create" [1] => string(4)
"Read" [2] => string(6)
"Update" [3] => string(6)
"Delete"
}
}[25] => array(2) {
["Naam"] => string(7)
"Studies" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[26] => array(2) {
["Naam"] => string(15)
"VerantwoordeLes" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[27] => array(2) {
["Naam"] => string(10)
"Leerlingen" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[28] => array(2) {
["Naam"] => string(6)
"Ouders" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[29] => array(2) {
["Naam"] => string(12)
"Leerling-NAW" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[30] => array(2) {
["Naam"] => string(17)
"Leerling-huisarts" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[31] => array(2) {
["Naam"] => string(10)
"Ouders-NAW" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[32] => array(2) {
["Naam"] => string(14)
"Medewerker-NAW" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[33] => array(2) {
["Naam"] => string(11)
"Persoonlijk" ["AccessType"] => array(4) {
[0] => string(6)
"Create" [1] => string(4)
"Read" [2] => string(6)
"Update" [3] => string(6)
"Delete"
}
}[34] => array(2) {
["Naam"] => string(7)
"Gedeeld" ["AccessType"] => array(2) {
[0] => string(6)
"Create" [1] => string(4)
"Read"
}
}[35] => array(2) {
["Naam"] => string(10)
"Prullenbak" ["AccessType"] => array(4) {
[0] => string(6)
"Create" [1] => string(4)
"Read" [2] => string(6)
"Update" [3] => string(6)
"Delete"
}
}[36] => array(2) {
["Naam"] => string(6)
"Vakken" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[37] => array(2) {
["Naam"] => string(20)
"ExamenAfnamemomenten" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[38] => array(2) {
["Naam"] => string(15)
"Docentlicenties" ["AccessType"] => array(4) {
[0] => string(6)
"Create" [1] => string(4)
"Read" [2] => string(6)
"Update" [3] => string(6)
"Delete"
}
}[39] => array(2) {
["Naam"] => string(11)
"ToetsGemist" ["AccessType"] => array(1) {
[0] => string(4)
"None"
}
}[40] => array(2) {
["Naam"] => string(7)
"Groepen" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[41] => array(2) {
["Naam"] => string(9)
"Profielen" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[42] => array(2) {
["Naam"] => string(8)
"ILTCodes" ["AccessType"] => array(1) {
[0] => string(4)
"Read"
}
}[43] => array(2) {
["Naam"] => string(24)
"BeschikbaareidOuderavond" ["AccessType"] => array(1) {
[0] => string(4)
"None"
}
}
}["Links"] => NULL
}
}["Links"] => array(0) {}
}["relations": protected] => array(0) {}
}

Stuur me anders maar even een berichtje op Gitter.

Momenteel even druk dus ik kom nog er op terug. Lijkt op een probleem specifiek aan jou.

authors: Kickwood jonkootje khawtf

repo: magister-api/magister


text:
set a custom header through a filter?

Heya, great work on vamp! I'm evaluating it and have a question:
Is it possible to set a custom HTTP header with a filter?
If not, would you be open for the feature? And could you point me in the right direction on implementing it?

Hi Redmar,
thanks for evaluating Vamp and giving your feedback, much appreciated!
Could you give us more info on what you are trying to achieve, ie what is your use-case?
cheers!

Currently we're setting X-Frame-Origin settings globally on the edge (i.e. haproxy) in our current setup.

Ok, so you want to use Vamp to set your HTTP header. Vamp router uses Haproxy under the hood, so you can use the same ACL definitions you are already using, ie:
http://vamp.io/documentation/reference/routings_and_filters/
Does this help you?

tnx for the quick responses, i'll just try to get it to work on my dev env first.

@redmar This is not a feature yet in the Vamp DSL, and there is quite a difference between setting response headers and request headers. For now, you can "hard "set a header on the response on the edge HAProxy by simple editing the template Vamp Router uses for creating the eventual Haproxy config file. If you look at https://github.com/magneticio/vamp-router/blob/master/configuration/templates/haproxy_config.template you'll see some headers we set our selves, i.e. http-response set-header X-Vamp-Server-Name %s

Thanks! was already looking for that template :-)

Does this help for now?

authors: olafmol redmar tnolet

repo: magneticio/vamp-router


text:
errno-lib could not be loaded!

errno-lib could not be loaded!   I did not find the errno-lib file in the directory.

Version?

authors: evernightking magnusja

repo: magnusja/libaums


text:
integration 'luchtmeetnet' does not have a version key in the manifest file and was blocked from loading

The plugin worked for a while. For sometime I get this error message when HA starts:
2021-11-01 22:14:29 ERROR (SyncWorker_1) [homeassistant.loader] The custom integration 'luchtmeetnet' does not have a version key in the manifest file and was blocked from loading. See https://developers.home-assistant.io/blog/2021/01/29/custom-integration-changes#versions for more details

@johan-de-jong Can you please test the code that I have put in the Pull Request?

Hi, Yes will do

@johan-de-jong Can you please test the code that I have put in the Pull Request?

@bouwew The plugin works again for me. Thanks!

authors: bouwew johan-de-jong magtimmermans