sudo showmethekey-gtk  not working: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

my laptop: ubuntu 22.04, wayland, ibus-input-method, I installed showmethekey from source with compiling

❌ sudo showmethekey-gtk  just shows the Usage and main UI

But if I click Close,  both ui exit and not working.
and the terminal is full of repeated messages as below

(showmethekey-gtk:361882): GLib-GIO-CRITICAL **: 03:05:03.717: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed
Segmentation fault

if I start with showmethekey-gtk, no ui shows. and the terminal error message is

Gdk-Message: 03:24:59.079: Error 71 (Protocol error) dispatching to Wayland display.

✅ sudo showmethekey-cli works;     👉🏻  showmethekey-cli shows no permission

Don't run GUI with sudo, and what's your gtk4 version/wayland version?

Also your mesa version and your GPU type, maybe it's a mesa version: https://gitlab.gnome.org/GNOME/mutter/-/issues/1195

gtk-launch --version

3.24.33

gtk4-launch --version

4.6.6

wayland uses default built-in  ubuntu 22.04 and gnome

may I am not using mesa.

because I  manual installed NVIDIA GPU and force to use it.

I am not sure whether I am using mesa

user1@localhost~/Documents$ glxinfo | grep Mesa
client glx vendor string: Mesa Project and SGI
    Device: Mesa Intel(R) Graphics (ADL-S GT1) (0x4688)
OpenGL renderer string: Mesa Intel(R) Graphics (ADL-S GT1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.0.5
OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.0.5
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.0.5

here is my wayland info using util https://gitlab.freedesktop.org/ofourdan/wayland-info

user1@localhost:~/Documents$ wayland-info
interface: 'wl_compositor',                              version:  5, name:  1
interface: 'wl_drm',                                     version:  2, name:  2
interface: 'wl_shm',                                     version:  1, name:  3
   formats: 'XB4H'(0x48344258) 'AB4H'(0x48344241) 'XR4H'(0x48345258) 'AR4H'(0x48345241) 'XB30'(0x30334258) 'AB30'(0x30334241) 'XR30'(0x30335258) 'AR30'(0x30335241) RGB565 'XB24'(0x34324258) 'AB24'(0x34324241) XRGB8888 ARGB8888
interface: 'wl_output',                                  version:  2, name:  4
   x: 0, y: 0, scale: 2,
   physical_width: 380 mm, physical_height: 210 mm,
   make: 'BOE', model: '0x09bf',
   subpixel_orientation: unknown, output_transform: normal,
   mode:
   	width: 2560 px, height: 1440 px, refresh: 60.000 Hz,
   	flags: current preferred
interface: 'zxdg_output_manager_v1',                     version:  3, name:  5
   xdg_output_v1
   	output: 4
   	name: 'eDP-1'
   	description: 'Built-in display'
   	logical_x: 0, logical_y: 0
   	logical_width: 1712, logical_height: 963
interface: 'wl_data_device_manager',                     version:  3, name:  6
interface: 'zwp_primary_selection_device_manager_v1',    version:  1, name:  7
interface: 'gtk_primary_selection_device_manager',       version:  1, name:  8
interface: 'wl_subcompositor',                           version:  1, name:  9
interface: 'xdg_wm_base',                                version:  4, name: 10
interface: 'zxdg_shell_v6',                              version:  1, name: 11
interface: 'gtk_shell1',                                 version:  5, name: 12
interface: 'wp_viewporter',                              version:  1, name: 13
interface: 'zwp_pointer_gestures_v1',                    version:  3, name: 14
interface: 'zwp_tablet_manager_v2',                      version:  1, name: 15
interface: 'wl_seat',                                    version:  5, name: 16
   name: seat0
   capabilities: pointer keyboard
   keyboard repeat rate: 33
   keyboard repeat delay: 500
interface: 'zwp_relative_pointer_manager_v1',            version:  1, name: 17
interface: 'zwp_pointer_constraints_v1',                 version:  1, name: 18
interface: 'zxdg_exporter_v1',                           version:  1, name: 19
interface: 'zxdg_importer_v1',                           version:  1, name: 20
interface: 'zwp_linux_dmabuf_v1',                        version:  4, name: 21
   formats:
   'XB4H'(0x48344258), modifier: 0x00ffffffffffffff
   'AB4H'(0x48344241), modifier: 0x00ffffffffffffff
   'RG16'(0x36314752), modifier: 0x00ffffffffffffff
   'XR30'(0x30335258), modifier: 0x00ffffffffffffff
   'AB30'(0x30334241), modifier: 0x00ffffffffffffff
   'AR30'(0x30335241), modifier: 0x00ffffffffffffff
   'XB24'(0x34324258), modifier: 0x00ffffffffffffff
   'XR24'(0x34325258), modifier: 0x00ffffffffffffff
   'AB24'(0x34324241), modifier: 0x00ffffffffffffff
   'AR24'(0x34325241), modifier: 0x00ffffffffffffff
interface: 'zwp_keyboard_shortcuts_inhibit_manager_v1',  version:  1, name: 22
interface: 'zwp_text_input_manager_v3',                  version:  1, name: 23
interface: 'wp_presentation',                            version:  1, name: 24
   presentation clock id: 1 (CLOCK_MONOTONIC)
interface: 'xdg_activation_v1',                          version:  1, name: 25

Are you sure you are directly getting output from your NVIDIA GPU? I see you are using a Laptop version, most laptop attaches output to integrated GPU, so your desktop and most applications are running on the Intel one and uses Mesa.

Close as no response, feel free to reopen this if you get new update.


setting style for panel

Hi,
I have an accordion with a panel. How do i set the style for the panel here.
@using (var a = Html.Bootstrap().Begin(new Accordion("DashboardItem").ActivePanel(1)))
{
    using (a.BeginPanel("Vendor"))
    { }
}

In the above i want to set the style of the panel to panel-success. How do i do this?
thanks,
Vanitha

Currently this is not supported by BMVC. I'll put this for the next release

Addeed an overload to BeginPanel method that takes PanelStyle enum:
using (a.BeginPanel("Vendor", PanelStyle.Danger))
{ }

Please get latest.


[Q] How to properly create keywords using header styles?

Trying to resolve this bug in the Editor I found out that the manual's index has some keywords in the wrong order, where e.g. "General settings" and other big titles cannot be found by auto search. On the other hand, it seems, some of the subtitles are displayed as if they were first-level titles instead.
An example of what I am speaking about:

Notice how "Android" is displayed as a first-level topic, but "Editor preferences" as a second level (should be first instead); or "Basic properties" displayed as a first level topic, but "General Settings" as a second level (should be first).
Comparing the pages which work with those that don't, it seems like the ## header should be used for a top level and ### for second level. Using # header breaks the keyword level in the index. Is this correct? I'd like to clarify this before making any edits and breaking things more.

Comparing the pages which work with those that don't, it seems like the ## header should be used for a top level and ### for second level. Using # header breaks the keyword level in the index.

@morganwillcock I think you already told me this a billion times but I forgot...

I found this:
https://github.com/adventuregamestudio/ags-manual/issues/96#issuecomment-533751459

I think you are correct that it must be ## and ### but I don't remember why... I found my original GeneralSettings before I deleted and undo the splitting of SettingUpTheGame on the first time and it was using ## and ###... I just adjusted it. Need to find out which other pages I broke...

I think this is resolved.

To create an H2 style heading without an index entry, use the alternate H2 markup.

I think this was because of how the Sphinx plug-in was working. For Pandoc I'm not sure there would be a difference between the markup styles: the metadata comes from the internal state after the Markdown syntax is read so there shouldn't be any difference.

I think this was because of how the Sphinx plug-in was working. For Pandoc I'm not sure there would be a difference between the markup styles: the metadata comes from the internal state after the Markdown syntax is read so there shouldn't be any difference.

@morganwillcock this means we could have deeper nesting of headers? Like H4 and lower? Is there any limits on what goes in the index and what doesn't ?

It is technically possible but the current setup effectively restricts it to two levels, and those are set as H2 and H3.
For the CHM index, anything that needs to be looked up by the Editor needs to be at the top level, unless the linking process get smarter. So anything defining script syntax needs to only be at the top level. Anything else needs to keep the top level clear of anything that could cause name collisions with script syntax, and also not cause naming collisions between individual pages. Avoiding collisions is why sub-headings on non-scripting pages are a sub-item in the index but that means you cannot find the sub-headings alphabetically in the index.
## heading
    ### sub-heading 1
    ### sub-heading 2

So an additional level is possible but the increase in vertical space would probably make the scrolling of the index harder to use (too small a scroll-bar widget and too much motion per step of the widget).
For the website index there is no restriction needed at the top level and naming collisions are avoided by joining the main page title onto the end of the subtitle. This means you can find the sub-headings alphabetically.
### sub-heading 1 (## heading)
### sub-heading 2 (## heading)

The formatting here would need to be change to accommodate more levels.
So the current setup is generally to try and avoid problems for all use cases. I think a good solution probably needs to split the indices between scripting syntax and other content so that there is no confusion about what the entry is for, but the CHM viewer doesn't support that.

The script keywords are all H3 level, yet they are in the first level index. Is it because they are additionally marked by quotes (e.g. script_function), or there's some extra trick?

Yes, the first inline code element within the header overrides the header name and indicates it is describing a part of the scripting API.


One click plan creation points to a 404

I'm not sure if this is just how the test site is configured, but clicking on the "Create a New Plan" icon from the DMP Templates page (https://dmponline-test.dcc.ac.uk/public_templates) goes to a 404

Potential knock on issue from org issue, as no defaults set

This looks good to me. @pherterich or @magdalenadrafiova do you want to confirm?

Works well!


port velocity controller

TODO

[x] port main functions
[x] port dynamic_reconfigure-functions

The dynamic reconfigure function is ported as the service callback.
The callback is set like this.
set_param_res_ =
  this->add_on_set_parameters_callback(std::bind(&VelocityController::paramCallback, this, _1));

The parameters are set using the set_double_param_if_changed() function defined locally in the paramCallback().

Still need to wait to merge for the timeout issue of tf_listener

@fred-apex-ai Could you review this?

@fred-apex-ai Thank you for your review! I replied and closed for some topics. Still some of them are open, and please check my comment.
Also, it would be nice if you can check the implementation of the paramCallback() as the porting of the dynamic reconfigure function.

@TakaHoribe Will it be ready to merge after adding this TODO comment?
https://github.com/tier4/Pilot.Auto/pull/27#discussion_r508923492

@mitsudome-r Not yet. I also need to modify the waitForTransform. Working on it now.

@fred-apex-ai I updated and replied to your reviews. Could you check them?

@fred-apex-ai I have an exception issue.
When I run the velocity_controller, I've got this exception. It occurs only once after the initial pose is published.
[velocity_controller-1] terminate called after throwing an instance of 'tf2::LookupException'
[velocity_controller-1]   what():  Failed to transform from base_link to map

How to reproduce this is below.
$ ros2 launch velocity_controller velocity_controller.launch.xml

$ ros2 launch simple_planning_simulator simple_planning_simulator.launch.xml

$ rviz2

Then, publish initialpose in the Rviz.

@nnmm Do you have an idea? Is it perhaps because tf first needs to create the integral tree representation, so a lookup only works on the 2nd message?

The waitForTransform() throws that exception? No, I have never had that happen. I can take a closer look later.

@TakaHoribe I took over your approach into https://github.com/tier4/Pilot.Auto/pull/52 and didn't get an exception on the first lookup. Should I continue to investigate or did you resolve the issue in the meantime?

@fred-apex-ai Sorry, I couldn’t have an enough time to investigate it today. Your implementation is almost same as mine, and if it doesn’t give the exception, the problem is maybe in a different place than WaitForTransform() in the velocity_controller.
Ill take this issue. Thank you for your testing.

@fred-apex-ai I tested with the mpc_follower, and the error didn't occur. One difference is you don't use the returned value from the waitForTransform().
In my code, I get the transform like this.
auto tf_future = tf_buffer_.waitForTransform(input, output, tf2::TimePointZero,
    tf2::durationFromSec(0.0), [](auto &) {});
const auto status = tf_future.wait_for(timeout);
if (status == std::future_status::ready) {
      transform = tf_future.get();  // this causes the  tf2::LookupException
}

In your code,
// in the blockUntilVehiclePositionAvailable()

auto tf_future = tf_buffer_.waitForTransform(input, output, tf2::TimePointZero,
    tf2::durationFromSec(0.0), [](auto &) {});
const auto status = tf_future.wait_for(timeout);
if (status == std::future_status::ready) {
     return;
}

// Then updateCurrentPose(),

transform = tf_buffer_.lookupTransform("map",
    "base_link", rclcpp::Time(0));  // this doesn't causes any exception.

Your code works correctly, so I just change to use your way. Still don't know why tf_future throws exception even the tf is available.
I also tested adding the tf_future.get() here in the mpc_follower, then it caused the same exception.

@fred-apex-ai I have applied your method. Could you review this again?
The functions blockUntilVehiclePositionAvailable() and updateCurrentPose() have been rewritten. It's easier to see the actual code than the difference.

@fred-apex-ai I keep the blockUntilVehiclePositionAvailable function since canTransform and lookupTransform gives a warning with high frequency until the map->base_link tf is available. See https://github.com/tier4/Pilot.Auto/pull/27/commits/ef61c2a77e43bd86afb2ac73f50ae14c57555c48 . (Also changed the timeout sec from 5s to 1s since it is just a sleep duration, not timeout.)
Except for this, almost the same as the mpc. After your look, I'll merge this PR.

@TakaHoribe Ok, it's fine to me. I noticed that message in the terminal as well. THe MPC follower will emit that, so our solutions now aren't 100 % identical but that's ok. Ready for merge finally! It's been a long ride with this PR

@fred-apex-ai Thank you for your cooperation for a long time!


demo/bug: snn_demo

Describe the bug
AttributeError: module 'dynadojo.systems' has no attribute 'SNNSystem'
To Reproduce
Steps to reproduce the behavior:

Go to demos/systems/snn_demo.ipynb
Run the demo cell by cell
Error occurs when 3rd cell is run

Expected behavior
Plot should generate according to the inputs.

from dynadojo.systems.snn import SNNSystem


NU1012 dependency conflict. microsoft.entityframeworkcore 1.1.0 expected microsoft.extensions.logging >= 1.1.0 but received 1.0.0

Installing EFCore 1.1.0 with asp.net core application with full .net framework gives the following error:

NU1012 dependency conflict. microsoft.entityframeworkcore 1.1.0 expected microsoft.extensions.logging >= 1.1.0 but received 1.0.0
Further technical details
EF Core version:1.1.0
Operating system: Windows 10
IDE: Visual Studio 2015 with update 3

It looks like you're using ASP.NET Core 1.0 with EF Core 1.1. This is not a supported scenario. Please make sure you're using the same version for each.
If you accept being unsupported, you can probably work around this by adding an explicit dependency on the higher version of the conflicting packages to your project.json.


IncHashSlotCount fix

What is the purpose of the change
修复索引槽位已使用统计问题，IncHashSlotCount的增加应该是判断这个槽位为空的时候才应该进行+1操作，如果查询发现不为空，即代表之前这个槽之前已经被占领了，就不应该进行IncHashSlotCount增加操作。
Brief changelog
IndexFile putKey(final String key, final long phyOffset, final long storeTimestamp) 进行了修改
XX
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

@zhhlovely  ci err, fix firstly. Besides, I thought the hashSlot is the number of slot


More general systematics in Firecrown

More general systematics in Firecrown
Modifications to Firecrown and CCL to allow a broader class of systematics, including nonlinear IA, nonlinear biasing, and baryons.
Contacts: @jablazek @tilmantroester @chrgeorgiou
Day/Time:
Main communication channel:
GitHub repo:
Zoom room (if applicable):
Goals and deliverable

Plan for API and needed firecrown functionality.
Modifications to CCL, as needed
Minimal working version for TATT model

Resources and skills needed

Firecrown and CCL experts
Python
Analysis experience to ensure that most use cases will be covered (e.g. 3x2)

Detailed description
[add additional details  about the project]

10am Tutorial on Firecrown, given by Tilman Troester.
Zoom Room 5 and Randall 2246

See PR resulting from this sprint: https://github.com/LSSTDESC/firecrown/pull/198


[BUG] Migrations don't skip init.py file

Describe the bug
If migration directory has the init file in it, it will be executed as a migration file and marked in the migration history as a migration node.
Expected behavior
Skip the init file and not treat it as a migration.

Hi! Thank you for the catch. It is reasonable


Update coursier version to 2.0.16-158-gbdc8669f9

This fixes some property activation for Maven dependencies, which may cause resolution failures for newer JavaFX dependencies.
See https://github.com/coursier/coursier/pull/2176

Seems to work fine against this dependency!

Seems to work fine against this dependency!

Great. Thanks for testing!


Tooltip manager with option to close all other tooltips when a new one is opened

Have a tooltip manager that automatically closes all other tooltips when a new tooltip is opened.

Does it mean that we give up on the idea of having multipole tooltips open at the same time? Or we give it up just for now?

Only for now, to have a better product while working on having multiple tooltips.
Closed with commit cba8cba in features/add-customizable-tooltips


MARS-105 Greedy Algorithm

What changes were made:
Implemented Greedy Unlimited + Limited (1 pixel only) algorithm
Added getPath() to Algorithm abstract class, with accompanying implementations in all algorithms I can see in dev
Added getHeight() and getWidth() utility functions to terrainMap
What are the relevant JIRA tickets:
MARS-105, kind of MARS-112, though I will keep the latter open for work with A*
How can these changes be tested(test #?):
Several tests added, see prefix "testGreedy" in AppTest
Comments:
Includes diagonal movement, as discussed in meeting

@sapols
Based on your comments, my plans are to remove the TerminalOutput changes and figure something out for getPath() before findPath() for recursive A*. It looks like most of the concerns are with the implementation of getPath(), but those comments warrant discussion, so I am holding off on those for now.


cannot find package "github.com/pierrec/lz4/v4"  # The Version4 v4

main issue
[dasm@dev-machine1 art-cli]$ go build main.go
../github.com/mholt/archiver/lz4.go:8:2: cannot find package "github.com/pierrec/lz4/v4" in any of:
/usr/local/go/src/github.com/pierrec/lz4/v4 (from $GOROOT)
/home/dasm/go/src/github.com/pierrec/lz4/v4 (from $GOPATH)

Seems to not be a problem anymore :thinking: Working fine here.


Adding state and city selection

Is there any plan to add state or city selection to this plugin?

@luyzdeleon there is not. Not all countries sub-divide that way, and even if you could find a reasonable compromise (counties instead of states/provinces), the list of every city in the world would be excessive to manage.


Retry failed initial metadata fetches (closes #903)

@hyperlink I've probably got more work to do to get tests passing etc., but hopefully this seems like a reasonable approach.


[WIP] Update api 0.1.0

Updated service catalog API version to schema version 0.1.0
Changes

locked js API client version to patch releases only (Bugfixes etc.)
Pagination data is not stored yet. Will come later when we actually start paginate. It will required some redux store changes.

waiting for https://github.com/ManageIQ/topological_inventory-api-jsclient/pull/4 to update the topological API calls.


Residual convergence graph - intuition

Hi, I'm adding this as an issue here because I'm not sure where to discuss these things. Please let me know if there is a better place.
In any case, I've been working on a golden angle radial real-time flow sequence with a temporal TV constraint. I started thinking about convergence, so I made a few plots of the convergence measures that the ADMM optimization outputs (rnorm and snorm). One example can be found in the link below.
https://imgur.com/1sQ8XPl
The left plot shows the convergence measures as a function of the total number of CG iterations performed (i.e. what you specify with the -i option), up to 1000 iterations. The lambda value is set to something that gives the best results I could get so far. The rho factor is dynamic, but I set it close to what it usually converges to for my problem, and it settles within the fest few iterations.
I can see some different "phases" here:

A rapid decay phase (0-100 or so)
A slower decay phase (100-400)
A "chaotic" phase (400-850)
A sharp drop (~850)
Very slow decay (850-1000)

So my question is this - is there some kind of intuition or knowledge to be gained from this? Can we explain the different phases? Can we use that knowledge to improve the optimization? Is it ADMM-specific, MRI-specific, or is it due to the combination of the two?
It might also be completely meaningless, but I thought I should at least show it.
Cheers,
Johannes

The right place for discussing this is the mailing list. On Github only few people will see it and everything will get lost if we move somewhere else.

OK, I'll move it there.


exception: cannot import name Opener

--
Spinal Cord Toolbox (master/9b1aeac9634f706e6673e3b1384099745816325a)
Running /home/jcohen/sct/scripts/sct_pipeline.py -f sct_deepseg_sc -d /home/jcohen/data/sct_testing/small/ -p "-i t2s/t2
s.nii.gz -c t2s" -p "-i t2/t2.nii.gz -c t2" -cpu-nb 255
Configuring sentry report
sentry is set!
Testing started on: 2018-05-17 23:36:46
SCT version: git-9b1aeac9634f706e6673e3b1384099745816325a-master-dev
OS: linux (Linux-3.10.0-693.11.6.el7.x86_64-x86_64-with-centos-7.4.1708-Core)
Hostname: cdr497.int.cedar.computecanada.ca
CPU Thread on local machine: 32
    Requested threads:       255
Running with python concurrent.futures's ProcessPoolExecutor
RAM: MemTotal:       131913192 kB
total        used        free      shared  buff/cache   available
Mem:         128821       20844       66090        1977       41886      101725
Swap:             0           0           0

Command(s):
  sct_deepseg_sc -i t2s/t2s.nii.gz -c t2s
  sct_deepseg_sc -i t2/t2.nii.gz -c t2
Dataset: /home/jcohen/data/sct_testing/small/
Test integrity: 0
  Total number of subjects: 1
Waiting for results, be patient
ucl_gmsegChallenge16_02 -i t2s/t2s.nii.gz -c t2s generated an exception: cannot import name Opener
1/2: ucl_gmsegChallenge16_02 done
Error on line 356
local variable 'result' referenced before assignment
Traceback (most recent call last):
  File "/home/jcohen/sct/scripts/sct_pipeline.py", line 356, in run_function
    all_results.append(result)
UnboundLocalError: local variable 'result' referenced before assignment

sorry-- wrong project ;-)


Cannot find debug info with gdb using debug build -g

Reproducing steps:

Add debugging option in Makefile
vim Makefile add -g option in CXXFLAGS
Recompile cpp code
run make clean and make
Run gdb
gdb --args ./build/rv32jit build/aes.elf

Error message shown as follows:
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./build/rv32jit...
Dwarf Error: DW_FORM_strx1 found in non-DWO CU [in module /home/livlig/ypaskellPlayground/rv32jit/build/rv32jit]
(No debugging symbols found in ./build/rv32jit)
(gdb)

Hi @ypaskell ,
Based on the error message you provided and the version of gdb you're using, it seems that this issue may be caused by gdb versions older than 10.1 not supporting DWARFv5. I suggest trying to update your gdb to a newer version to see if that resolves the problem. Here are some references for your information: GDB < 10.1 can't read clang's DWARF v5

Thank you @visitorckw. It worked.

GDB got stuck when I set any break points and when I run start commands
GNU gdb (Ubuntu 10.2-0ubuntu1~20.04~1) 10.2
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./build/rv32jit...
(gdb) break Execute

<system got hang here>

Before proceeding, it's necessary to disable link-time optimization (LTO) and ensure a debug build. Refer to the changes below:
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 include mk/common.mk

-CXXFLAGS := -O2 -flto -Wall -Wextra -Wno-c99-designator
+CXXFLAGS := -Og -g -Wall -Wextra -Wno-c99-designator
 CXXFLAGS += -I src
 CXXFLAGS += -std=gnu++20 -fno-rtti -fexceptions
 LDFLAGS :=

Tested with GDB <IP_ADDRESS>30907-0ubuntu1.
$ gdb -q --args build/rv32jit build/aes.elf
Reading symbols from build/rv32jit...
(gdb) b main
Breakpoint 1 at 0x2bf5d: file src/main.cpp, line 9.
(gdb) r
Starting program: /home/jserv/compiler/rv32jit/build/rv32jit build/aes.elf
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, main (argc=2, argv=0x7fffffffe198) at src/main.cpp:9
9	    if (argc < 2) {


Unable to locate the specified class: Session.php

Not sure if im only the one experiencing this, but after an upgrade to 3.x we are getting this error
$autoload['drivers'] =array('session');

Session is a library, not a driver. So, it's not a bug.

This has come up on the forum, which is the proper place to get help with CodeIgniter.

Check Once on this Codeigniter(your CI root folder)\system\libraries\Session.php  is exists or not, if not download a new codeigniter with the same version you are using and just copy the session.php to your running root directory.

Session is a library, not a driver. So, it's not a bug.

It works either way.

This has come up on the forum, which is the proper place to get help with CodeIgniter.

... and not only on the forums. There's 8 other issues here with titles containing the same error message, if not exactly matching this one.
Use the search bar people.

Check Once on this Codeigniter(your CI root folder)\system\libraries\Session.php is exists or not, if not download a new codeigniter with the same version you are using and just copy the session.php to your running root directory.

Not only will this not solve the problem; it will make it worse - in the 99% case, system/libraries/Session.php existing is the problem.


Missing newline character in string concatenation in file ‘PromptLibrary.cs’

examples/typechat.examplesLib/PromptLibrary.cs
-      PromptSection section = $"Use precise date and times RELATIVE TO CURRENT DATE: {now.ToLongDateString()} CURRENT TIME: {now.ToLongTimeString()}";
+      PromptSection section = $"Use precise date and times RELATIVE TO CURRENT DATE: {now.ToLongDateString()} CURRENT TIME: {now.ToLongTimeString()}\n";
       section += "Also turn ranges like next week and next month into precise dates";

Thank you for reporting this. I have merged in the fix.


NO MERGE: Verify this jenkins build kick off

Description

Related issue and scope

[ ] I opened an issue to propose and discuss this change (#????)

My changes affect the following components

[ ] API
[ ] Controller
[ ] Message Bus (e.g., Kafka)
[ ] Loadbalancer
[ ] Invoker
[ ] Intrinsic actions (e.g., sequences, conductors)
[ ] Data stores (e.g., CouchDB)
[ ] Tests
[ ] Deployment
[ ] CLI
[ ] General tooling
[ ] Documentation

Types of changes

[ ] Bug fix (generally a non-breaking change which closes an issue).
[ ] Enhancement or new feature (adds new functionality).
[ ] Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

[ ] I signed an Apache CLA.
[ ] I reviewed the style guides and followed the recommendations (Travis CI will check :).
[ ] I added tests to cover my changes.
[ ] My changes require further changes to the documentation.
[ ] I updated the documentation where necessary.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/OpenWhisk-Playground/63/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/OpenWhisk-Playground/65/

can we close this now?


publish to conda-forge

Now that pint-xarray is on PyPI, we should also publish it to conda-forge. Before I do that: @xarray-contrib/pint-xarray-devs, does anyone want to help me maintain that package?

I'd be glad to help in maintaining that package the longer-term going forward (though my ability to help will be a bit hampered in the coming month still)...hopefully that's okay!

no worries, there shouldn't be much to do in the next few months. I just would like to avoid being the only maintainer. Same also for RTD, I guess?

Same also for RTD, I guess?

Sounds good! Admittedly, I haven't worked with RTD before, so I may need to do a little bit more reading up on that.

well, there's not much to read up on, the only thing you can do with the web interface you can't do with the configuration file is to activate / deactivate tags and branches, and rerunning their builds. There's more, of course, but that's something that can be figured out once it's needed.
The only issue is that you would have to sign up (it is possible to sign up using Github, though).

pint-xarray is now available on conda-forge


Make options for actions reusable

Currently, there is a lot of duplication in regards to option type definitions.
Advantages:

Code reduction for action dependencies.
Code reduction for actions map, possibly even automatic wiring.
Code reduction for loggers and easier transition to event-based logging (#53).

Disadvantages

Tighter coupling. Right now the actions are pretty much agnostic to everything else, since each defines its own interface.
Separating dependencies and 'normal' options introduces knowledge about the application structure into the actions. This is not too bad, since the interface of each action is already really specific.
An additional module and local dependency per action. In order to keep the footprint of these dependencies to a minimum, each option type will be defined in its own file (e.g. ExecOptions in actions/types/exec.ts).

While right now, the dependencies of each action look very much like other actions, this does not have to always be the case. I think having the actions remain independent of each other is a good choice. Reuse should only happen within a particular layer of the application. The preferred architecture would be:

Individual actions that do not depend on other modules, except for static dependencies (e.g. deno/std).
A runner interface that wires the actions together and produces event-based output. This is the layer in which dependencies between actions are defined. Here, we redefine the option types (without dependencies) and reuse them for defining the event types.
A CLI interface on top of the runner interface. It knows the names of actions in the context of the wiring and derives text-based output from the events.


"No such file or directory"

Mathews-MacBook-Pro:GroupmeStats MatLefkofsky$ python retrieve_msgs.py <MY_ACCESS_TOKEN> -g "MY_GROUP_NAME"
I keep returning no such file or directory...How can i fix this.  I am trying to pull all of the messages from one group and return them in a CSV that i can then run the stats program on.  Thanks.

You need to be in the same directory as the program "retrieve_msgs.py".
You also need to pass in the Token. See the Readme.

same problem. I whited out my Token but when i pass it through it returns the token followed by the colon and the same error.

Can you type "ls" and "python -V" show me the screenshot?

Oh, don't put brackets around your access token. That should do it.

sorry to be a pest...
that just returns a

...and then its like i have an open text field to type anything and have to quit out of terminal to try it again. Theres no CSV returned or anything at all returned really.

I don't think you're entering the right command. Please show me a screenshot?

I think i'm entering it correctly.  Ive tried naming the parameters also and no luck. The "all direct messages" and "all groupme messages" commands are working for me but the specific group one just is not.  Thanks for your time also

You're using the wrong quotation mark for "Fantasy". The left one needs to be changed.

Were you able to run the code?

Changing the left one didn't work--but changing both quotations around fantasy to single quotes did. Thanks!

My last question is how would i see the average length of a user's post and also the average amount of likes on a user's post? I couldn't find this in the help section of the run_stats file.

Glad it worked. And sorry, that's not a feature right now. You can probably try using Excel to do the first task from the entire message dump.

No problem. I just thought average length of a user's message was a feature because its listed in the 'Example usage:'

Oh you're right it is. Just add "--average" to the command and it should work.

Thanks so much for all the help before.  I am curious if there is a way to see the top X amount of posts in terms of amount of favorites in a certain group?

Yup, just merged the feature added by mathieurolfo. Try it now. You will need to sort it on Excel afterwards for top X.


Unauthorized access sends a 200 response with a 403 error in it

Hi,
I just discovered this bundle yesterday but I noticed that whenever I use a voter to remove access to a particular response, the overall response of my request is a 200, and the body contains a
{
    "errors": [
        {
            "message": "Access Denied.",
            "code": 403
        }
    ]
}

This is very not cool to catch :smile:. Is there any way to make the controller return a 403 response so that it can be properly catched ?
Thanks !

I have the same issue, did you found what's wrong?
Do you also are on SF4?

Symfony 3.4
This issue is invalid as your separate queries should not have a global error code if only of them is unauthorized. So this pretty much looks like a fundamental design this.


Moderators aren't whitelisted automatically

Cardinal uses Bukkit's built-in whitelister, not a custom one.

we do use a custom whitelister https://github.com/twizmwazin/CardinalPGM/blob/master/src/main/java/in/twizmwaz/cardinal/command/WhitelistCommands.java
most of it was made by OCN devs but it has been editied for our needs and I plan to make some additions to it also using @ShinyDialga45 unofficial OCN api. I will also implement this

@CaptainElliott really? O_o
Why does https://github.com/twizmwazin/CardinalPGM/blob/master/src/main/java/in/twizmwaz/cardinal/command/WhitelistCommands.java#L52 refer to Bukkit.getServer().reloadWhitelist()? Can you set a custom whitelist object in Bukkit?

@dentmaged I'm sorry, I thought you just meant using the default white list stuff.
But there is really no other way to do a whitelist, especially since the api bukkit has is so flexible

If this was done, could it be made via a permission node? This way it can also be applied for other ranks, or removed if you don't want it.

@Eudaldca I think it may use rank.isStaffRank();


vkcube segfault / assertion failed

https://github.com/krh/vkcube
Note that vkcube has at least one known bug: https://github.com/krh/vkcube/issues/25
I'm still making this issue because the assertion seems unrelated.
Running it with a release build segfaults:
VK_ICD_FILENAMES=~/amd_icd64.json vkcube
1 physical devices
vendor id 1002, device name AMD Radeon (TM) RX 480 Graphics
[1]    29146 segmentation fault (core dumped)  VK_ICD_FILENAMES=~/amd_icd64.json vkcube

Running it with a debug build fails an assertion:
vkcube: /home/chris/oldhome/build/amdvlk-git-debug/src/llvm-amdvlk/lib/IR/Instructions.cpp:299: void llvm::CallInst::init(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, const llvm::Twine&): Assertion `(i >= FTy->getNumParams() || FTy->getParamType(i) == Args[i]->getType()) && "Calling a function with a bad signature!"' failed.

gdb log with full backtrace: gdb.txt

Hi @ChristophHaag , the issue is not seen with the latest driver. Could you please have a try?


Split loading script into two functions

One for loader, one for splitter

This will permit us to use the same code for cross validation

Solved in b683578.


[$500] Web - The app is freezing after switching tabs, and the performance of the tab navigator seems to be quite poor

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: <IP_ADDRESS>
Reproducible in staging?: y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by:  @situchan
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1699629011502749?thread_ts=1699456424.016869&cid=C01GTK53T8Q
Action Performed:

Go to staging.new.expensify.com
Tab on Fab menu
Select Request Money
Navigate through the tabs

Expected Result:
The app is not freezing after switching tabs, and the performance of the tab navigator should be good
Actual Result:
The app is freezing after switching tabs, and the performance of the tab navigator seems to be quite poor
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/93399543/1e304330-c689-4e09-8fbd-8b627a8e817b
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01c6d30dd934f349b1
Upwork Job ID:<PHONE_NUMBER>278329856
Last Price Increase: 2023-11-10

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

Removing Deploy blocker per the comment  https://expensify.slack.com/archives/C01GTK53T8Q/p1699637937484459?thread_ts=1699456424.016869&cid=C01GTK53T8Q

Awaiting proposals

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~0108d5ebd2889d3ebf

@mananjadhav @greg-schroeder @stitesExpensify what do you guys think?

I'll review this later today.

Thanks for the proposal @davidnormo. I can se you've mentioned about TabNavigator.web.js. I can't identify how we derived to this conclusion.

The animations are being run by @react-navigation/material-top-tabs which uses react-native's animated library. I can't find any extra state that is changing that is causing additional work. It just appears that the application is too "heavy" for this animation on web.

Also the root cause seems to be unclear. Can we be specific about what's causing the delay? and then also elaborate on the solution?
@stitesExpensify @mountiny do you think this is a good candidate for the #vip-newdot-performance ?

This is recent regression. First of all, we should find offending PR.

Yep I think this would be great for the Performance project
I think this started with the RNW upgrade

Not sure who is working on this - is this going to be worked on internally or no?

@greg-schroeder it will be worked on externally as part of that VIP project.

Waiting for proposals then

@mountiny do we need to do anything to get this picked up besides having it be a part of the GH project?

@stitesExpensify We can call it out in the performance room. I will do it

Hi, I am Kacper from Callstack and I would like to investigate that issue!

Okay assigned to @kacper-mikolajczak, not overdue Melvy

Draft PR is up

I am not sure why overdue label was added when @greg-schroeder posted a response yesterday. Anyway the draft PR is up, and will start reviewing once it is ready.

Yeah, not sure why Melvin is getting so touchy

Hi folks! As an explainer to the PR, I wanted to post a quick summary in order to be on the same page with introduced changes.
Problem
Request money screen transitions lag heavily on web.
Investigations
For web, react-navigation and react-native-web use Animated which does not support web's native animation APIs. In order for animations to work, the library updates react values via requestAnimationFrame that schedules the update on each frame. Unfortunately, this means that many commits are triggered on every frame, which beyond a certain point of screen complexity are not possible to be processed in a meaningful time frame.
Currently, there are two animations taking place - one is regular screen's content horizontal translation and the second is responsible for animating TabBar properties. In this investigation I've tried to find out which parts of the MoneyRequestSelectorPage (a component behind Request money) impact the performance the most.
All of the measurements were made when navigating between Manual and Scan screens without CPU throttling at 165Hz refresh rate, but what matters the most is the general pattern and relative gains, not necessarily absolute values.
Main branch (default)
The main branch is used as a representative sample of the current state. Here are the profiling results of navigating:

number of commits: ~4k
frame time: 50-70ms

An onUpdate from Animated is being called many times in a single rAF invocation, which is triggering recursive calls of updateFiberRecursively.

Animations disabled (baseline)
As we can see from the default profiling trace, there is a lot going on in each frame. In order to see if animations are the root cause, they were disabled in this run, which will serve as a baseline for further improvements:

number of commits: 36
profiling trace time: ~150ms

No content
In order to rule out the impact of the tabs content, I rendered them without any children (() => null). The results tell that it is not the main issue.

Default TabBar
ReactNavigation comes with a default TabBar component, that was used in place the custom one to see the difference. It looks like the our custom bar TabSelector is quite impactful. It is probably due to the heavy animations that are taking place whenever we switch the tabs.

Solution
The problem seems to be going deeper than the app itself, although there is a lot to cover here as well. With that in mind, I've reached out to the React Navigation folks to understand what we can do to fix the root cause.
In the meantime, I would suggest temporarily disabling Tabs animations on web-based platforms. It would not cut out any functionality while significantly helping with UX.
I am attaching the recordings with comparison of how the app behaves with animations disabled.
The fix in its current form is available in the PR with addition of a few tweaks to how the animations are being handled.
https://github.com/Expensify/App/assets/62747088/2101102d-5829-45bf-9477-b3803f4de11c
https://github.com/Expensify/App/assets/62747088/58611105-72e8-4c13-b75e-96b16ccf4389
As always, I am open to your ideas and feedback - let me know what you think. Thanks a lot! 👍

Proposal
Please re-state the problem that we are trying to solve in this issue.
Transitions between Tabs become laggy after a few clicks
What is the root cause of that problem?
In the new chat selector page we use the TabSelector component  as a prop inside the OynxTabNavigator component
This TabSelector gets rerendered everytime we click on a tab so after some clicks, the transitions become very slow.
This issue affects all components that use the TabSelector

NewChatSelectorPage
MoneyRequestSelectorPage
IOURequestStartPage

What changes do you think we should make in order to solve the problem?
we need to use React.memo on the TabSelectorItem:
to do so we need to add this line:
    const MemoizedTabSelectorItem = React.memo(TabSelectorItem);

and change this
https://github.com/Expensify/App/blob/fa87f8bb98aa960f71584e188cbaee5c091bb0f0/src/components/TabSelector/TabSelector.js#L131
to
<MemoizedTabSelectorItem

Linked PR is in final review stages, @mananjadhav you're up!

Yes currently reviewing the code.

Hello team just wondering if you are still accepting proposals here and i just noticed that my proposal was hidden to off topic.
can you please elaborate why is off topic as far as I understand the seamless navigation is the purpose here and I attached a video for it. Just wanted to know
Thanks

This issue already has an assigned contributor and PR in review, so we’re
not accepting any new proposals. That’s why I marked the proposal as off
topic.
Website https://we.are.expensify.com/ | Newsletter
https://we.are.expensify.com/media
On Tue, Dec 19, 2023 at 1:43 AM Abdelrahman Khattab <
@.***> wrote:

Hello team just wondering if you are still accepting proposals here and i
just noticed that my proposal
https://github.com/Expensify/App/issues/31190#issuecomment-1856591632
was hidden to off topic.
can you please elaborate why is off topic as far as I understand the
seamless navigation is the purpose here and I attached a video for it. Just
wanted to know
Thanks
—
Reply to this email directly, view it on GitHub
https://github.com/Expensify/App/issues/31190#issuecomment-1862266610,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHAGNBODF4HFMAWGXDQE4RLYKFAQPAVCNFSM6AAAAAA7GP4NEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRSGI3DMNRRGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks @greg-schroeder  for the reply, I see that in the PR we are mentioning that we are disabling the animation till the root cause is addressed,

This PR aims to refactor animations and temporarily disable them on web-based platforms until root cause is addressed in React Navigation

I think the solution that I raised mentions the root cause of the laggy animations and solves it without disabling the animation, that's why it might be worthy to assess it (maybe in another issue since the current issue is already assigned to a contributer).

@abzokhattab Thanks for your feedback! I think we're happy with the direction we're going for now but certainly keep your eyes peeled for related issues labeled External and Help Wanted to contribute to in the future.

Pu this on hold for https://github.com/Expensify/App/pull/32764

@kacper-mikolajczak Are we making changes in the PR? Let me know when this is ready for review again.

@kacper-mikolajczak Are we making changes in the PR? Let me know when this is ready for review again.

Hi @mananjadhav, PR is under review here https://github.com/Expensify/App/pull/33841
Pretty me know if need any help

This is not being paid today given the deploy blocker

Okay so there was another deploy blocker related to this? Seems https://github.com/Expensify/App/issues/34377 is still open...

@greg-schroeder I wouldn't call it a deploy blocker because we intentionally disabled animations.
wdyt @mountiny @stitesExpensify ?
Also this is ready for payout.

@greg-schroeder I think I am up for partial compensation.
@mountiny can verify this.

@greg-schroeder I think I am up for partial compensation.
@mountiny can verify this.

Agreed with @shubham1206agra here.
I don't think we have any offending PR as this was a performance issue, and we disable the animation as a solution. Neither do I think we need a regression test for this one.

@mananjadhav @shubham1206agra I can see you both have reviewed the PR. I agree there was no regression, but I feel like you should divide the reward of $500 in this case, its not clear to me now why both c+ were needed

@mountiny More info here on why @shubham1206agra got involved and where we committed for the partial payout.
I think $250 each is fine for me.

Thank you for the link, I agree $250 each sounds fair!

@greg-schroeder Can you add a payment summary comment for us to raise a request?

$250 payment approved based on this comment. That is sufficient.

Sorry, yeah okay so the final breakdown was:
@mananjadhav $250
@shubham1206agra $250

@greg-schroeder I didn't received any payment for the same.

Sorry, this was confusing @shubham1206agra - paying you here: https://github.com/Expensify/App/issues/35793

@greg-schroeder Accepted offer.


Garbled program names when using concurrent jest tests

When this repo's tests are run concurrently (the default Jest option), around 5% of the time a test will fail because the program name is garbled:. The error looks like this: Program file data not available for ��w�ld<PHONE_NUMBER>1111111111111111111112).
Logging reveals that the program name is fine when startInner is called in JS, but the name is already garbled when logged at the top of the Rust start function. So it seems to be a problem with sending the string from JS to Rust.
When you use the --runInBand Jest flag this doesn't happen.
I tried reproducing with just an async function that takes an AddedProgram[] parameter like the start function does, but the strings in this function never got garbled in testing.
This could be specific to Jest or it may happen with other testing frameworks.

Hi @kevinheavey, we've also been running into this issue. Did you have a chance to look into this further? Thanks!

Is this the fault of solana-program-test? I've been using --runInBand and it happens way more than 5% of the time, my error rate is closer to 50%.


Where is meta_prompt_agent_dialogue.txt?

Thank the authors for the great work!
I am currently attempting to replicate the single and multi-turn interview evaluations and have encountered a couple of issues that I hope you could help clarify:

Code Discrepancy: In eval_utils.py, line 357, the code snippet seems to mistakenly include an extra "gpt-3.5-turbo". Should it be updated to response = decoder_for_openai(self.model_name, prompt, max_length, temperature, apikey=API_KEY)?
Missing File: I am unable to find the meta_prompt_agent_dialogue.txt file as mentioned here. The file prompt_agent_dialogue.txt available in the repository does not seem to match the expected content. Could you please provide guidance on where I might locate the meta_prompt_agent_dialogue.txt file?

Thank you very much!

Hi, thanks for raising this issue!

For the eval_utils.py, line 357,  it should be decoder_for_local_chat. It is implemented to evaluate open-source models as baselines. You can use LocalCharacter for SFT models.
meta_prompt_agent_dialogue.txt  should be replaced by agent_meta_prompt_sft.txt file, which is under data/seed_data/prompts/

I apologize for these typos and will update the files to fix them. Since the evaluation code is initially separated from our training data construction code, it may have some unchanged typos.
If you have any new questions, feel free to ask!

Thank you for clarifying!


Change error type when accessing relations

Hi! I noticed when accessing a relation through the function, it returns Result<T,  &'static str>
Would it be better to have it return crate::RelationNotFetchedError?
this would allow crates such as anyhow to work while, the current workaround is to map the error
    let product = server
        .product()
        .map_err(|e| anyhow::anyhow!(e))?;

could be written as
    let product = server.product()?

maybe the error could include the field name too to get somehting like  crate::RelationNotFetchedError(&'static str)

I'm open to the idea of returning a different error type, I'm just a bit puzzled as to how this would help with anyhow. I prefer to use thiserror usually. Would RelationNotFetchedError need to implement anyhow::Error?

Would RelationNotFetchedError need to implement anyhow::Error?

no, it just needs to implement std::error::Error, this can be done using thiserror too, similar to NewClientError and Error already do it
The best way would be just to make it another variant variant in the Error enum.
making it like this
#[derive(Debug, Error)]
pub enum Error {
    #[error("Error executing query: {} - {}", .0.as_known().map(|k| k.error_code.to_string()).unwrap_or("Unknown".to_string()), .0.message())]
    Execute(user_facing_errors::Error),

    #[error("Error serializing query result: {0}")]
    Serialize(#[from] serde_value::SerializerError),

    #[error("Error deserializing query result into return type: {0}")]
    Deserialize(#[from] serde_value::DeserializerError),

    // this is the new error
    #[error("Attempted to access {0} but did not fetch it using the .with() syntax")]
    RelationNotFetched(String),
}

The best way would be just to make it another variant variant in the Error enum.

I don't think I want to do this since that enum is only for errors that occur during query execution, but I'm down to make a separate struct and implement Error on it. Kicking myself for not doing it sooner haha.

Yeah I'm just found out that the Error struct is in a different crate haha, probably should have checked that before mentioning it.
I can try making a pr for it now if its fine

I just implemented this on rev = "6d379e1a7353bd5237623f4d74d09454d84541f6", would you mind trying it out and making sure it behaves how you'd expect?

Is prisma-engines supposed to be over 400mb?

Yeeeeeah it's a big repo

Thanks!,
Yep, can confirm, works perfectly.


Broken on nixos-unstable

This overlay is broken on nixos-unstable concerning everything that uses withPlugins:
error: attribute 'withPlugins' missing

       at /nix/store/3i9vpcjk78i7pf6kic3m2bqry2n9lw9h-source/plugins/havsfunc/default.nix:47:20:

           46|
           47|   checkInputs = [ (vapoursynth.withPlugins propagatedBuildInputs) ];
             |                    ^
           48|   checkPhase = ''

I think I managed to track down the commmit that broke it.
https://github.com/NixOS/nixpkgs/commit/2c1c79dce66571f97ba5c2a2b1c1175745ec7d79
It seems to me that it's now picking up the python package instead of the acual one that has withPlugins.
I don't know how to debug further, since my knowledge around nixpkgs is still sparse.
Repro for nix repl
Working:
((import (builtins.fetchTarball { url = "https://github.com/NixOS/nixpkgs/archive/cdb6dc2928e911abc441fc2b3a15a0c7530a913b.tar.gz"; }) { overlays = [ (import (builtins.fetchTarball "https://github.com/tadeokondrak/vs-overlay/archive/master.tar.gz")) ]; }).vapoursynthPlugins.havsfunc)

Broken:
((import (builtins.fetchTarball { url = "https://github.com/NixOS/nixpkgs/archive/2c1c79dce66571f97ba5c2a2b1c1175745ec7d79.tar.gz"; }) { overlays = [ (import (builtins.fetchTarball "https://github.com/tadeokondrak/vs-overlay/archive/master.tar.gz")) ]; }).vapoursynthPlugins.havsfunc)

Thanks for the quick reply.
https://github.com/tadeokondrak/vs-overlay/pull/9 Also fixes it on my end.
I really appreciate this project. I'll try to contribute some packages that are still missing once i'm more versed in vapoursynth and nix.


Generate source for loaded snippets.

This is essentially another approach at storing a snippets source, less generic than #719, and only focused on source, not general metadata.
Major differences:

store data per-snippet (map id -> data). I think this is the right approach because we can get the line a snippet is defined on for lua and snipmate, and I'd say that makes the additional required storage worth it
less generic. Can only store source for snippets, but not any metadata. I think this is fine, since I'm not sure what other metadata might be interesting. If I'm wrong, and there is more useful metadata to attach, we could implement source using a more generic interface, later.

I've also written a pretty cool consumer for the metadata:
https://user-images.githubusercontent.com/41961280/225597134-8a2c01a4-ac1f-4ccb-9197-32ef753de969.mp4
It finds the range of the snippet via treesitter for lua and vscode, and fully via attached source-data (we know start and end of the snippet-definition since we do the parsing fully ourselves, and can thus provide this info) for snipmate
Missing:

[x] Documentation
[x] Tests

I think we need better explanation what's going on tha video. Do you generate new snippet from selection or jump to the snippet definition? I'm puzzled. :roll_eyes:

😅😅
I jump to the source of the current snippet


Sort by ascending values

I noticed that the default output is sorted descending.
It has been a long time since I last worked with PS, so I am not aware how to resort the tree later on.
If you know I would be happy for advice, otherwise I would propose a sorting flag, or to make the default sort ascending, as that would mimik the default windows explorer sorting behaviour.
Cmd I've run: Get-PSTree -Directory

Now that you've rewritten in C#, shouldn't it be easy to sort it ascending by default now? I'm guessing here but wondered if you thought about it. The link to the stack code is broken now by the way.


Sandpaper animation bug

Describe the Bug
Minor rendering bug involving sandpaper and the sanding animation
This probably occurs in the forge version too, but I haven't tested that
Reproduction Steps

Take multiple sandpapers and start sanding rose quartz
Switch between sandpapers while still sanding
Animation glitches and stays, until you switch back to that sandpaper, start sanding and stop sanding

Expected Result
Sandpaper shouldn't render as being used if not used
Screenshots and Videos
https://user-images.githubusercontent.com/57140941/235560981-029ed6ef-ab83-44e3-b29e-3146d150f334.mp4
Crash Report or Log
No response
Operating System
Windows 10
Mod Version
0.5.0i
Minecraft Version
1.19.2
Other Mods
No response
Additional Context
No response

This bug also occurs when switching to any item while sanding
You can drop the sandpaper afterwards, and the bug will still persist

same as forge

Upstream issue created at: https://github.com/Creators-of-Create/Create/issues/6115


[hotfix] rename pylintrc

https://github.com/tensorflow/tensorflow/pull/55453
The test fails because the name of pylintrc has changed to an incorrect name.
pylintrc is correct name.
https://github.com/tensorflow/tensorflow/blob/500065b9806bd7eff874841142ae0fb4f3e57d9c/.github/workflows/pylint-presubmit.yml#L48

my pr is failed because this problem. https://github.com/tensorflow/tensorflow/pull/54455


Project: Spin the bottle

What does this PR do?
Project: Spin the bottle
Related PRs and Issues
#414
Have you read the Contributing Guidelines?
Yes

@huyhoang8398 Add a README.md file with it. Make a good readme file such that beginners could understand. Add some screenshots also

@huyhoang8398 Add a README.md file with it. Make a good readme file such that beginners could understand. Add some screenshots also

I updated the readme with the instructions, can you review my PR

@huyhoang8398 Resize the image as it's too big. Add Documentation and resources used. Also, add future aspects of the app.

@huyhoang8398 It's perfect now. Thank you so much for your contribution. Keep Contributing!

Give a star if you liked our repo.

@kunal299 Thank you very much. Take care!


Add params to playground cmd

--source optional param to use a custom github path for playgvround react app.

Fixed in https://github.com/kubiklabs/wasmkit/pull/36


feature(button): added new component with ripple HOC

Codecov Report

Merging #16 into master will decrease coverage by 2%.
The diff coverage is 96.77%.

@@         Coverage Diff          @@
##           master   #16   +/-   ##
====================================
- Coverage     100%   98%   -2%
====================================
  Files           2     4    +2
  Lines          57   150   +93
  Branches        5    13    +8
====================================
+ Hits           57   147   +90
- Misses          0     3    +3

Impacted Files
Coverage Δ

packages/button/index.js
100% <100%> (ø)

packages/ripple/index.js
96.25% <96.25%> (ø)

Continue to review full report at Codecov.

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


Responsive Design Implementation

Issue:
To ensure the website is accessible across various device types (desktop, tablet, mobile), the design should be responsive. Using Tailwind CSS, we need to ensure that components adjust and display properly across varying screen sizes.
Acceptance Criteria:
The website should display correctly on desktop, tablet, and mobile views.
Tailwind CSS's responsive utilities should be utilized to adjust styles based on the device's viewport size.
There should be no horizontal scrolling on any standard device.

This is something we can do throughout the build process as we tackle each issue. Impossible to do this issue in one foul sweep and I think we're all responsible for this.


Fix: Manually-specified variables were not used by the project.

The following variables were set in the CMakeLists.txt, however, they were not used by the LLVM project build:
LLVM_USE_CRT_DEBUG
LLVM_USE_CRT_RELEASE

Lets run TC tests


Internet Explorer

I started using this service and it has been great. Thank you.
Is there any way it can be made to work on Internet Explorer too?
I get this error on IE11:
Error executing JavaScript
[internet explorer  windows #1-0] javascript error: Error executing JavaScript
[internet explorer  windows #1-0]     at WebdriverAjax.setup at node_modules/wdio-intercept-service/index.js:41:22)
Appreciate any hints.

Is there any specific polyfill I can add to get around this?

It might be solved by the new version 4.1.0. Please try!

I tried with 4.1.0 still the same error:
Error executing JavaScript
at WebdriverAjax.setup (/node_modules/wdio-intercept-service/index.js:41:22)
at Browser.next [as setupInterceptor] (/node_modules/@wdio/utils/build/monad.js:116:27)
at loadQB (/trackstar.selenium.js:10:11)

Then this must be another issue. It's sad that IE also doesn't report back the JS error. I don't have much time to look into this (especially as I don't have IE11 handy to test with). Please be patient, I will look into this eventually (or, feel free to dig deeper yourself - that would help tremendously).

if it helps, I have been using v3.1.1 with no issue on IE11.

@j-shiels Well that might help indeed:
https://github.com/chmanie/wdio-intercept-service/compare/v3.1.1..v4.1.1#diff-5b8399b464e5e69f1be47740b4ce82de
I think it's the dangling comma. I'll make a change.

Try version<EMAIL_ADDRESS>I feel like it should work again.

YES, 4.1.2 works for IE. Thanks a lot.


Per agent statistics

Currently the controller aggregates all the results from all the agents.
This would be nice if the statistics could be reported by agent. Ideally this could be dumped in a file in json format (one json per agent's statistics).
Implementation-wise I guess that a json.dumps of the Stats instance each time it is received by the controller is enough.
I think we can wait for @avankemp to PR this since I know he wrote some code for that :)

Indeed I've added a --output option to the controller to get the results per agent dumped in a given file. Just have to check few things and I will PR it :)

Currently (v2.2.1) controller can output statistics for every single agent in the experiment.
For now only latency stats is dumped. I think we should the whole TestResult for each agent since calling to_dict on a test result would easily serializable into a json string.


Huge battery drain [iOS 14.4 iPhone SE1]

Avoid duplicates

[x] Bug is not mentioned in the FAQ
[x] Bug is not already reported in another issue

Technical details

Device name: iPhone SE 1. Generation
iOS Version: 14.4.2
App Version: 1.15.1

Describe the bug
There is a huge battery drain over night. The phone is charged to nearly 100%, but not connected to a charging cable over night. In the morning the battery is down to 0% and the phone switched off.
Steps to reproduce the issue

Install CWA
Charge to 100%
Wait 6 to 8 hours, while doing nothing with the phone
Look at the battery status:

If I click on the details for each hour, there is only the "Begegnungsmitteilungen" mentioned. And as you can see on the screenshot, there is really a huge drain from 10pm to 6am without doing anything.

Expected behaviour
For a comparison, I've deleted the CWA and if you then look at the battery status:

It seems quite normal. The capacity went down from 50% to 40% or something similar over night. This should be the expected behavior, even with CWA installed.
Possible Fix
Can't tell
Additional context
Just to say, not sure if the problem was initiated from an iOS update (14.4) or a CWA update. Can't reproduce this, because I have no backups with older iOS versions (or CWA. versions). The only thing I can say, if I delete the app, the battery drain is gone. And it happens with two phones (both iPhone SE 1.Generation). One of those two phones has a new battery (5 months old), so the battery itself is ok.

Related issues are:
#1823
#1664
#912
#937
#671

Internal Tracking ID: EXPOSUREAPP-6013

Hi,
both images shows a diagramm for 29.03. can you explain the different of the two screenshots?

As I mentioned, there are two phones in our household. I deleted the app on the second phone (second screenshot). I've tried it on both phones, but I have no screenshots (just these two for this morning)
Can try it again next night and delete the app again on the first phone, and charge it again to 100% for a better comparison, and make then an additional screenshot.

Internal Tracking ID: EXPOSUREAPP-6013

Hey @tzschies
First of all, it is normal that during the night/if the phones not used "Begegnungsmitteilungen" show 100% used, since no other apps were running.
It would be perfect if you could do what you said in https://github.com/corona-warn-app/cwa-app-ios/issues/2290#issuecomment-809119192.
Please do it as follow:

Charge both phones to 100%
Activate flight mode
Switch WLAN and Bluetooth back on again
Wait for the said 6-8 hours
Report back here

Please also let us know:
iOS 14.4.2 on both phones?
Original or replaced batteries?
Battery health of the two phones (can be found in the settings)
Thank you very much!
Related issues are:
#1823
#1664
#912
#937
#671

@tzschies
Could you give us an update wether you still experience this?

Hey @tzschies, are you still experiencing battery problems on iOS 14.6 which can be nailed down to CWA?

I think this issue is obsolete and we should follow up in #2849.

@Ein-Tim True, I'm closing

Corona-Warn-App Open Source Team


how to do bayes factors on t-values from regressions

right now we are using the df as N_1 in a one-sample t-test.

The ttest.tstat function in the BayesFactor package handles this for us (you just leave out n_2 for a one-sample test)


Errors:Could not load 'base_config'

When i use metaseq-api-local to launch bb3_30B model, i meet the error:
hydra.errors.MissingConfigException: In 'config': Could not load 'base_config'.

Could you post the full stacktrace here?

When i use metaseq-api-local to launch bb3_30B model, i meet the error: hydra.errors.MissingConfigException: In 'config': Could not load 'base_config'.

how you reshar the BB3 30B consolidated.pt ?


Docs.MS Release Updates for Azure.Extensions.AspNetCore.Configuration.Secrets

Update docs metadata and targeting for release of Azure.Extensions.AspNetCore.Configuration.Secrets

Docs Build status updates of commit 6af0f09:
:warning: Validation status: warnings

File
Status
Preview URL
Details

api/overview/azure/extensions.aspnetcore.configuration.secrets-readme.md
:warning:Warning
View
Details

api/overview/azure/extensions.aspnetcore.configuration.secrets-readme.md

Line 2, Column 1: [Warning-title-missing] Missing required attribute: 'title'. Add a title string to show in search engine results.
Line 2, Column 1: [Warning-ms-prod-and-service] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 9, Column 16: [Warning-ms-prod-technology-invalid] Invalid value for 'ms.technology': 'azure' is not valid with 'ms.prod' value 'azure'.
Line 11, Column 13: [Warning-ms-service-subservice-invalid] Invalid value for 'ms.service': 'extensions'.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.
Line 58, Column 1: [Suggestion-preserve-view-not-set] Did you mean to link to a specific version? If so, add &preserve-view=true to the URL: https://docs.microsoft.com/aspnet/core/fundamentals/configuration/?view=aspnetcore-3.1

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


How to modify index management policies

Is there any documentation on how to manage index lifecycles within the solution? I can see some examples of the rollover policy in siem-on-amazon-opensearch-service/source/lambda/deploy_es/data.ini. Would you recommend editing it there or would you recommend editing it in OpenSearch after the deployment?
For example, I'd like to delete all logs in OpenSearch after 30 days.

See this document, https://docs.aws.amazon.com/opensearch-service/latest/developerguide/ism.html
Or you can also edit the policy with the GUI if you have OpenSearch Service v1.1 or higher.
Editing data.ini is not recommended. This is because upgrading the SIEM template will overwrite this file as well.

@alexbaileyuk were you able to setup LifeCycle policy?
I've added, keep testing..
  "template": {
    "settings": {
      "index.plugins.index_state_management.policy_id": "ilm-s3access-size-policy",
      "index.plugins.index_state_management.rollover_alias": "my-log-aws-waf"
    }
  },

@4sm-ops sorry no we didn't. Eventually we moved away from this solution and chose elastic cloud. We have our own log shipping solution and have replaced Lamdba with EC2 which is more cost effective at our price bracket.


[R2] Update changelog

This had started to lag behind.
In the future, we'll create PRs updating the changelog as part of our release process, which should prevent this from happening again.

Can you add "Add worker bindings for multipart uploads". This was released a few days ago, and wasn't in the changelog because these changes go through workerd.


Add uninstall command

An uninstall command should exist that removes all files that it needs to (or can) so that it's easier to remove the daemon,.

I tried to do it #28

I think this can be closed...


#197 Return JSON error if user hasn't rights

Connect to #197
@AndriyBaibak 3:00

@roma-ilnitsky JSON isn't returned if subscriber try to enter to /admin

@AndriyBaibak 30 minutes

@romach thanks for review ) I will be fix it )

@romach done
@AndriyBaibak 0:30

@roma-ilnitsky All right, but there are some funny things
@AndriyBaibak 30 min

@vaa25 I always confuse these words )

+PASSED
@AndriyBaibak 10 min

+PASSED
@AndriyBaibak 30 minutes


[WIP] test: Wait a few more seconds for the rebalance to happen

Rebalancing now happens around 5 seconds after the heartbeat
Signed-off-by: Free Ekanayaka<EMAIL_ADDRESS>

Testsuite passed

Testsuite passed

jenkins: test this please

jenkins: test this please

jenkins: test this please

Testsuite passed


How to read a decimal column MySql

Hello
If my column in MySQL has the type DECIMAL(10,2). What datatype should I use in Rust to read it?
Using f64 or f32 yields
thread 'actix-rt|system:0|arbiter:2' panicked at 'called `Result::unwrap()` on an `Err` value: ColumnDecode { index: "\"price\"", source: "mismatched types; Rust type `f32` (as SQL type `FLOAT`) is not compatible with SQL type `DECIMAL`" }', src/data.rs:146:41

Thanks!

There are two different options. One listed in this section and one in the next

@abonander Can close.


docs: Netlify deployment docs

✅ Checklist

[x] I have followed every step in the contributing guide (updated 2022-10-06).
[x] The PR title follows the convention we established conventional-commit
[x] I performed a functional test on my final commit

Changelog

Adds deployment instructions for Netlify.
Uses the Vercel deployment doc as a template.
Includes a brief explanation with a few links to explain why someone might choose to use Netlify as their deployment provider.

Screenshots

💯

This looks well written and thorough, and I like the idea of having instructions for more than one cloud provider, especially in light of the recent twitter debates about Vercel's "monopoly" on Next.js
I probably won't have time to test/reproduce the steps in the guide this week. Would be happy to merge if someone else can try it and confirm they got it working by following the description.


SAK-46769 skip category assignment if Gradebook does not use categories

Thanks @bgarciaentornos, I added a comment


"stack exec atom" under Windows doesn't work

According to this: https://github.com/atom-haskell/haskell-ghc-mod/wiki/Using-with-stack
"stack exec atom" should work. But it gives:

C:\Users\Home\AppData\Local\atom\bin\atom: createProcess: invalid argument (Exec format error)

There is really such file, but it is only 1Kbytes in size.
Windows 10 x64

So I gather it doesn't work in 'regular mode', i.e. without stack exec? In most cases, it should.
As for stack exec atom itself, you just probably need to specify full path to atom executable. I have no idea where it's installed on your system, but you can probably figure that out.
F.ex.: stack exec "C:\Program Files\Atom\atom.exe"

Yes, it is not working in "regular mode". And it is not working using stack
like that:
stack exec "C:\Users\Home\AppData\Local\atom\app-1.7.3\atom.exe"
It is by default installed there on Windows 10.
2016-05-04 11:16 GMT+03:00 Nikolay Yakimov<EMAIL_ADDRESS>
So I gather it doesn't work in 'regular mode', i.e. without stack exec?
In most cases, it should.
As for stack exec atom itself, you just probably need to specify full
path to atom executable. I have no idea where it's installed on your
system, but you can probably figure that out.
F.ex.: stack exec "C:\Program Files\Atom\atom.exe"
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/atom-haskell/haskell-ghc-mod/issues/137#issuecomment-216778840

Then you'll have to explain what isn't working in more detail. It's probably unrelated to the whole stack exec thingy.
Also, what ghc-mod version do you use? <IP_ADDRESS> is strongly recommended. <IP_ADDRESS> also works somewhat. Earlier versions either don't support stack, or aren't supported by ide-haskell.

ghc-mod is <IP_ADDRESS>
There is no problem to install other plug-ins in Atom.
What information do you need? I'll be glad to help with finding that. May
be it cannot find "coffee" compiler because of wrong environment variables?
2016-05-04 12:14 GMT+03:00 Nikolay Yakimov<EMAIL_ADDRESS>
Then you'll have to explain what isn't working in more detail. It's
probably unrelated to the whole stack exec thingy.
Also, what ghc-mod version do you use? <IP_ADDRESS> is strongly recommended.
<IP_ADDRESS> also works somewhat. Earlier versions either don't support stack,
or aren't supported by ide-haskell.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/atom-haskell/haskell-ghc-mod/issues/137#issuecomment-216806192

"ide-haskell" plug-in is installing without problems. So it is something
related to "language-haskell" I think.
2016-05-04 17:16 GMT+03:00 eng. Vassil Ognyanov Keremidchiev <
<EMAIL_ADDRESS>
ghc-mod is <IP_ADDRESS>
There is no problem to install other plug-ins in Atom.
What information do you need? I'll be glad to help with finding that. May
be it cannot find "coffee" compiler because of wrong environment variables?
2016-05-04 12:14 GMT+03:00 Nikolay Yakimov<EMAIL_ADDRESS>
Then you'll have to explain what isn't working in more detail. It's
probably unrelated to the whole stack exec thingy.
Also, what ghc-mod version do you use? <IP_ADDRESS> is strongly recommended.
<IP_ADDRESS> also works somewhat. Earlier versions either don't support stack,
or aren't supported by ide-haskell.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/atom-haskell/haskell-ghc-mod/issues/137#issuecomment-216806192

Wait, what? I'm lost now. What are you talking about?

Oh. I see. https://github.com/atom-haskell/language-haskell/issues/73. I missed that.

Ops, my fault! I had written to wrong project.
This issue here is for the documentation itself about Windows.
stack exec "C:\Users\Home\AppData\Local\atom\app-1.7.3\atom.exe"
did run Atom editor, but I cannot test it without atom-haskell/language-haskell#73

stack exec "%USERPROFILE%\AppData\Local\atom\app-1.7.3\atom.exe"

will work for all users

FYI, it's on wiki. So you should be able to edit it, I think.

Done!


Missing part in quickstart guide, part 6

I'm submitting a bug report
Current behavior
here https://angular.io/docs/ts/latest/tutorial/toh-pt6.html there is no part about
import { Http, Response } from '@angular/http';
..
constructor (private http: Http) {}
currently it's not working
Expected/desired behavior
working step by step guide with all the code from Live demo.

Not really sure if I follow.
Could you give more details?

Today i finish the guide  and so working solution in the chapter end. Problem was in my expectation of all parts of code covered in text, not only at the end in review like in previous parts. Notice about this at the end will be useful.
Anyway I succeed with the guide, so closing case.


Add a RoboHUD control.

Use the PyREPLTextEditView for this. When it has focus, make it 10-20 lines tall. When it doesn’t have focus, make it 2 lines tall. Use the HUD colors, not the REPL colors.

RoboHUD has been retired.


Re-add subnetwork argument to launch-gce-image

Re-adding the subnetwork argument to the launch-gce-image command.
Tested this locally by launching a new GCE image.

Thanks Krishnan.  Can you add some context to the commit message?  It's not clear why you're adding the argument but not handling it in the code.

👍


Flaw in the GQ -> LQ data acquisition pagination logic

Impact of the bug
WMAgent
Describe the bug
We received a report of lack of pressure in the condor pool - via MM this morning - and the reason was that the agents were no longer acquiring work from the global workqueue.
How to reproduce it
Very specific scenario, but apparently caused by ~5k ACDCs injected into the system yesterday (likely a correlation of target sites and very high priority).
Expected behavior
When the agent is running the GQ to LQ data acquisition (where "data" here is a workqueue element), the expected behavior and logic is:

it has to iterate over the GQE in slices/pages
whenever the target number of elements is found (passed in the query string as num_elem), stop iterating in the CouchDB list function and return data to the client
keep iterating through the elements until the whole data is exhausted, or until num_elem are found.

So, for this issue, we need to correct how pagination is done to ensure that the list workRestrictions will receive all the required pages from the view function availableByPriority, instead of passing over only the first page and returning results to the end user.
Additional context and error message
The agent uses availableWork() method to pull work from GQ to the LQ. A few options are defined:
https://github.com/dmwm/WMCore/blob/master/src/python/WMCore/WorkQueue/WorkQueueBackend.py#L446-L471
including the use of skip and limit, to act as a pagination over all the global workqueue elements and evaluate them into pages (slices).
This call gets mapped to something similar to (from the couchdb log):
GET /workqueue/_design/WorkQueue/_list/workRestrictions/availableByPriority?
include_docs=true&
descending=true&
resources=%7B%22T2_CH_CERN%22%3A+20975.0%2C+%22T2_CH_CERN_P5%22%3A+187....5.0%7D&
limit=1000&
num_elem=1000&
team=%22production%22&
skip=0

From a discussion with CouchDB experts, one of the suggestions they made to make that view usage more efficient was to modify the availableByPriority view to yield something like:
        emit([doc.Priority, doc.Team], {"_id" : doc["_id"]});

and then call that view with a query string like: startkey=[“teamname”]&endkey=[“teamname”,{}]. This would filter out elements for a given team (extremely efficient for relval, for instance). Close to 0 benefit for production agents though.


Summary row gets hightlighted in all grids, Fixes #2163

Hoist P/R Checklist
Pull request authors: Review and check off the below. Items that do not apply can also be
checked off to indicate they have been considered. If unclear if a step is relevant, please leave
unchecked and note in comments.

[x] Caught up with develop branch as of last change.
[x] Added CHANGELOG entry, or determined not required.
[x] Reviewed for breaking changes, added breaking-change label + CHANGELOG if so.
[x] Updated doc comments / prop-types, or determined not required.
[x] Reviewed and tested on Mobile, or determined not required.
[x] Created Toolbox branch / PR, or determined not required.

If your change is still a WIP, please use the "Create draft pull request" option in the split
button below to indicate it is not ready yet for a final review.

Pull request reviewers: when merging this P/R, please consider using a squash commit to
collapse multiple intermediate commits into a single commit representing the overall feature
change. This helps keep the commit log clean and easy to scan across releases. PRs containing a
single commit should be rebased when possible.

Looks good to me - makes sense to separate the total rows from the tree styling mode like this. 👍


Parsing date with different timezone 'Z' is returning previous date

Describe the bug
Parsing the HH:mm along with timezone should give same date. But is returning previous date
To Reproduce
Steps to reproduce the behavior:
> moment()
Moment<2021-11-16T02:46:30+08:00>   # current date time

> moment(`10:00`, "HH:mm:ss")
Moment<2021-11-16T10:00:00+08:00>

> moment(`+05:30 10:00`, "Z HH:mm:ss")
Moment<2021-11-15T12:30:00+08:00>  # actual 1

> moment(`+05:30 10:00`, "Z HH:mm:ss").utcOffset("+05:30")
Moment<2021-11-15T10:00:00+05:30>  # actual 2

Expected behavior
Today's date is 16. So parsing as below should give "2021-11-16T12:30" instead of "2021-11-15T12:30"
> moment(`+05:30 10:00`, "Z HH:mm:ss")
Moment<2021-11-16T12:30:00+08:00>  # expected 1

Also parsing as below should give "2021-11-16T10:00" instead of "2021-11-15T10:00"
> moment(`+05:30 10:00`, "Z HH:mm:ss").utcOffset("+05:30")
Moment<2021-11-16T10:00:00+05:30>  # expected 2

Desktop (please complete the following information):

OS: Mac OS
Node 14
Version 2.29.0

Moment-specific environment

The time zone setting of the machine the code is running on Singapore Time
The time and date at which the code was run Moment<2021-11-16T02:46:30+08:00>
Other libraries in use TypeScript

Please run the following code in your environment and include the output:
> console.log((new Date()).toString())
Tue Nov 16 2021 03:07:07 GMT+0800 (Singapore Standard Time)
> console.log((new Date()).toLocaleString())
16/11/2021, 03:07:15
> console.log((new Date()).getTimezoneOffset())
-480
> console.log(moment.version)
2.29.0

same problem. any solution ?


Update README.md

List of packages updated.
Alternative installation with environment.yml described.

Thanks!


Revert WL-1890: back out mobile stuff for sign up tool

Talking to Adam, If we need to back out the mobile stuff in sign up and it's not simply a matter of reverting these Jiras, we need a new Jira which I'll create


Acceptable arguments for 'navi info' are not discoverable

Using Navi 2.13.0 on Ubuntu 20.04.
The acceptable arguments for the navi info subcommand are not discoverable from the command-line.
The output from navi info doesn't help:
error: The following required arguments were not provided:
    <info>

USAGE:
    navi info <info>

For more information try --help

Nor does the output from navi info --help:
navi-info 2.13.0
Shows info

USAGE:
    navi info <info>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

ARGS:
    <info>

Great ! Thanks, and happy new year !

Great ! Thanks, and happy new year !


Paste into ConEmu mangles text

Description of the problem or steps to reproduce
When pasting text into micro (either copied from micro or outside of micro), the text gets mangled.

I tried the temporary fixed listed here , but that didn't help.
Tested the same in both PowerShell and CMD windows and the results were as expected.
Specifications

Commit hash: c51f849
OS: Windows 10 Version 1909 Build 18363.657
Terminal: ConEmu 191012 [64]

Had the same problem, running on PowerShell Core (the standalone app) for the moment, and works just fine.

Had the same problem, running on PowerShell Core (the standalone app) for the moment, and works just fine.

I'm not able to move to PowerShell Core at the moment. However, this also occurs in a CMD prompt as well.

I've got this in Windows Terminal too. Really annoying.


UI behaviour when resizing window

Minor issue where the view panel of the UI gets cut off when the window is resized to the minimum size.

Issue is resolved with PR #117


Unexpected tab close

If you got 2 windows and completely close all tabs in this window, the other window's current tab will be closed.

hmm, that's interesting! I'll look into it!

more detailed scenario:
window 1 opens and running sidebar with many tabes.
another window only opens google hangout.
cmd+w close hangout chat, hangout chat window does not disappear as usual.
click on close of hangout window, also results in the tab in window 1 closed.
This problem does not exist before Vertical Tabs installed.
but it has a limited case to reproduce maybe not a big issue.

Thanks for reporting the issue and providing a reproducible case! I'll look into it!

after disabling the plugin, this problem is still there, so I think the problem is not from the plugin, but chrome... so maybe is not a proper repo to create this issue.


Lobby service

1 aspect is to have rooms be public or private
and.... if public
can we get a method to list of all public rooms ?

I've renamed this issue to "Lobby service", as that seems more in line with what you're looking for.
The scope of matchmaking is to automate the match finding process, i.e. users enter a matchmaking queue and are matched with others in the queue based on some specified criteria (number of players, skill level, geography, etc).


Parsing subscripts

Resolves #447
This PR adds support for subscripts. Probably there are some edge cases that I missed and annotations parsing is a bit clumsy due to limited data from SourceKit.
The limitation of SourceKit is that for subscripts it exposes structures only for parameters. Everything else we have to parse manually. Subscript is parsed when encountering structure of parameter type outside any method structure. If subscript has several parameters, subsequent parameters are parsed and added to the last subscript added to currently processed type.

          1 Error

:no_entry_sign:
Any changes to library code need a summary in the Changelog.

          1 Warning

:warning:
Big PR

  Generated by :no_entry_sign: Danger

@ilyapuchka feel free to merge this after dealing with danger comments, I think Anton is sick so its fine with just my review

@krzysztofzablocki @ilyapuchka hi guys. Sorry, yep. I'm still not fully recovered

@Antondomashnev no worries, get better! :)


Laravel 11.x Shift

This pull request includes the changes for upgrading to Laravel 11.x. Feel free to commit any additional changes to the shift-111549 branch.
Before merging, you need to:

Checkout the shift-111549 branch
Review all pull request comments for additional changes
Run composer update (if the scripts fail, try with --no-scripts)
Clear any config, route, or view cache
Thoroughly test your application (no tests?, no CI?)

If you need help with your upgrade, check out the Human Shifts.

:information_source: To slim down the Laravel installation, Laravel 11 no longer includes most of the core files previously included in the default Laravel application. While you are welcome to publish and customize these files, they are no longer required.
Shift takes an iterative approach to removing core files which are not customized or where its customizations may be done elsewhere in a modern Laravel 11 application. As such, you may see some commits removing files and others re-registering your customizations.

:information_source: Shift detected customized options within your configuration files which may be set with an ENV variable. To help keep your configuration files streamlined, you may set the following variables. Be sure adjust any values accordingly per environment.
APP_LOCALE=de
APP_TIMEZONE=Europe/Berlin
BCRYPT_ROUNDS=10
CACHE_STORE=file
DB_CHARSET=utf8mb4
DB_COLLATION=utf8mb4_unicode_ci
DB_CONNECTION=mysql
MAIL_MAILER=smtp
QUEUE_CONNECTION=sync
SESSION_DRIVER=file

Note: some of these may simply be values which changed between Laravel 10 and Laravel 11. You may ignore any ENV variables you do not need to customize.

:information_source: Laravel 11 no longer requires you to maintain the default configuration files. Your configuration now merges with framework defaults. Shift streamlined your configuration files by removing options that matched the Laravel defaults and preserving your true customizations. These are values which are not changeable through ENV variables.
If you wish to keep the full set of configuration files, Shift recommends running artisan config:publish --all --force to get the latest configuration files from Laravel 11, then reapplying the customizations Shift streamlined.

:information_source: Shift updated your dependencies for Laravel 11. While many of the popular packages are reviewed, you may have to update additional packages in order for your application to be compatible with Laravel 11. Watch dealing with dependencies for tips on handling any Composer issues.
The following dependencies were updated by a major version and may have their own changes. You may check their changelog for any additional upgrade steps.

[ ] laravel/sanctum

:warning: The BROADCAST_DRIVER, CACHE_DRIVER, and DATABASE_URL environment variables were renamed in Laravel 11 to BROADCAST_CONNECTION, CACHE_STORE, and DB_URL, respectively.
Shift automated this change for your committed files, but you should review any additional locations where your environment is configured and update to the new variable names.

:information_source: Starting with Laravel 10, PHP type hints were added within classes included in a Laravel application. In an effort to modernize your code, Shift automated this change where Laravel strictly specifies a type. If you prefer not to type hint your code you may revert this commit by running: git revert 9982343f

:information_source: The base Controller class has been marked as abstract in Laravel 11, with its traits and inheritance removed. This is to prevent using this base controller directly and to use facades instead of the trait methods.
Shift detected your base controller did not have any public methods, so it was safe to mark as abstract. However, since you may be using trait methods within your controllers, Shift did not remove them. If you know you are not using any trait methods or want to refactor to facades, you may remove them manually.

:information_source: Laravel 11 now updates the timestamp when publishing vendor migrations. This may cause problems in existing applications when these migrations were previously published and ran with their default timestamp.
To preserve the original behavior, Shift disabled this feature in your database.php configuration file. If you do not have any vendor migrations or have squashed all of your existing migrations, you may re-enable the update_date_on_publish option. If this is the only customization within database.php, you may remove this configuration file.

:x: Many first-party Laravel packages no longer automatically load their migrations. Instead you need to publish their migrations to your application. Shift detected you are using Sanctum. You may run the following command to publish their migrations:
php artisan vendor:publish --tag=sanctum-migrations

:warning: Laravel 11 now includes a database driver for MariaDB. Previously the MySQL driver offered parity with MariaDB. However, with MariaDB 10.1, there are more database specific features available. If you are using MariaDB, you may want to evaluate this new mariadb driver after completing your upgrade to Laravel 11.

:tada: Congratulations, you're now running the latest version of Laravel!
Next, you may optionally run the following Shifts to ensure your application is fully upgraded, adopts the latest Laravel conventions, and easier to maintain in the future:

Laravel Fixer automatically updates your code to the latest Laravel conventions.
Tests Generator intelligently generates model factories, HTTP Tests, and configuration for your application.
CI Generator intelligently generates CI jobs to lint PHP, check code style, and run tests, including Dusk.

You may also use the Shift Workbench to automate common tasks for maintaining your Laravel application.


How do I find the implementation of baseline used in the paper?

Only the implementations of MF, lightgcn, and DR-GNN were seen in this repository，
where can i get the sota models like InvCF(WWW23)、GraphDA(SIGIR23)、APDA(SIGIR23)

Thank you for your interest in our work. All the comparison methods mentioned in our paper use the code provided by the original papers. You can find the repository addresses and specific implementation details in the original papers.