Added flashing RPM LED's for pit limiter

RPM lights flash yellow if the limiter is enabled. flashes on for half second, off for half second.
I have tested this by reverting if (!(ir_EngineWarnings.getInt() & irsdk_pitSpeedLimiter)) but have not tested it by enabling the pit limiter in sim. I do not have access to my pc with iRacing installed. Please test that the if statement works when enabling/disabling the limiter in sim. If it doesn't, then OverlayDDU.h line 261 needs looking into. If there are any other issues, I can look into them.

I think I played around with irsdk_pitSpeedLimiter back then trying to do something similar, but it didn't quite work the way I expected. Please let me know once someone has had the chance to test this and I'll be happy to review/merge.

I also committed a small change adding a lap counter to the standings overlay. So this PR also covers issue #9

I am having no luck with fixing my issue #22... I am unable to diagnose it and therefor unable to test any features. I will leave it as is for now for someone else to test before I make any further changes.

This pull request now also includes the commit 8a9221c which fixes issue #14 (thanks to them for fixing it but not creating a pull request).
I have tested the pit limiter now and everything is working as expected. Tested in 60Hz and 30Hz mode.

Should be good for this pr to be merged. Will close issues #18 #9 and #14

a4d3118 reverts laps on leaderboard, as this would create a conflict with the @frmjar fork.


Builtin HTML, CSS and JS preprocessors like in CodePen

I work with html documents most of the time, and i like vscode a lot in that way, especially builtin emmet. But recently i found out that it's easier for me to work with HTML, CSS and JS in CodePen actually, because of popular already builtin preprocessors like HAML, SCSS, TypeScript. I know that vscode supports these via extensions, but to setup everything properly takes some effort, whereas in CodePen you get them "for free" (without using ruby or js) + realtime preview of changes made to the document.

https://github.com/microsoft/vscode/issues/12080 goes in the same direction.
What CodePen is is a server that watches files, runs build scripts and has a web server running http://livereload.com/ is something similar that also runs on a local machine.
VSCode is foremost a code editor and typically we keep out of build scripts and running servers. It's also hard to decide which live preview server technology to choose.
But this is a good extension opportunity.


Why remove the global?

It was great to be able to fire IronRouterProgress.start() and .done() when performing heavy tasks on the client. We built a large app that worked with this very nicely. From a usability perspective, it's great to be able to use the exact same visual motif to represent busy work on the client regardless of whether it's a navigation between routes or a long server call on the same route ... etc. Now that it's meticulously hidden, I will need to fork and brutalize. Why was this great feature removed?

Any update on this? Is this project dead?


Getting only single account data instead of multiple accounts

I'm trying to fetch the accounts and transactions data from a file but I'm facing 2 issues listed below.

In our file there are some extra data named checksum and this is causing issue, but after removing the checksum lines I'm also not getting correct data explained in point 2.

Only last transaction's account information is coming and all the other transactions data are coming under this single account.

I have tried all of your 3 processes, getting same issue in all.
Sample file with checksum:
Sample_BT_Test.txt
Sample file without checksum:
Sample_BT_Test_Checksum.txt
Output JSON file:
output.txt
Here you can see all the transactions data are coming in one single account.
Please help and guide to identify and fix the issue.

Hello!
How was this completed? I'm facing the same problem. Under "account_identification" field I only see the last account
Regards


⚠ Spryr has degraded performance

In e6ff585, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 5848 ms

Resolved: Spryr performance has improved in 11a65a2 after 11 minutes.


chore: types import shorted

types import in both VOnboardingStep and VOnboardingWrapper can be short

thank you @ngtive, I appreciate your support 🙏 ❤


Remove dev dependency on ecschema-metadata from backend

Causes cospaces to uselessly need it.

Whats the issue this causes with cospaces? Wouldnt it be better to add that pkg to your cospace? Just trying to reduce the number of deps you need to build core-backend and whatever else youre using?

Whats the issue this causes with cospaces? Wouldnt it be better to add that pkg to your cospace? Just trying to reduce the number of deps you need to build core-backend and whatever else youre using?

Yes, I worked hard to remove that dependency, and all if its dependencies, so i don't have to include/build them. It is completely backwards for backend to depend on that.


KeyError: 'LowPolyInterior_Pumpkin'

When I run create_traj_pumpkin, I get a bug:
Traceback (most recent call last):
File "/media/ps/7890d249-37e9-43de-b60c-084f829a18df/LEGENT/scripts/create_traj_pumpkin.py", line 25, in
tasks = generate_tasks()
File "/media/ps/7890d249-37e9-43de-b60c-084f829a18df/LEGENT/scripts/create_traj_pumpkin.py", line 16, in generate_tasks
object_id = {instance['prefab']: i for i, instance in enumerate(scene['instances'])}['LowPolyInterior_Pumpkin']
KeyError: 'LowPolyInterior_Pumpkin'

The bug has been resolved. The reason was an update in the scene generation implementation.

Thank you!


docker module: incompatible with docker-py 1.2.x

See here and here for more details. Workaround is installing an older version of docker-py:
  tasks:
    - name: Install docker-py
      pip: name=docker-py version=1.1.0

And it could be set with pip_version_docker_py.
I'm not sure about a proper way to solve this. One of the solutions could be setting default pip_version_docker_py  to 1.1.0 if ansible version is below some value.

This was addressed in issue #40 and PR #41.
Use a parameterized role, and set pip_version_docker_py to 1.1.  It was decided that since this is a transient issue in upstream packages that is due to be resolved, the default behavior should be to use the latest package, and the workaround to manually set a lower package version in the interim.


Make Reports 508 Compliant

💡 Summary
Ensure reports are screen-reader accessible.
Motivation and context
See https://github.com/cisagov/ScubaGear/issues/93.
Implementation notes
See https://github.com/cisagov/ScubaGear/pull/962.
Acceptance criteria

[ ] Reports are 508 compliant.

ScubaGear issue for adding missing aria labels: https://github.com/cisagov/ScubaGear/issues/972


epsa:Fixed issue #403

Related Issue

Closes: #403
Description of Changes

Checklist:

[x] My code adheres to the established style guidelines of this project.
[x] I have conducted a self-review of my code.
[x] I have included comments in areas that may be difficult to understand.
[x] I have made corresponding updates to the project documentation.
[x] My changes have not introduced any new warnings.

Screenshots

Original
Updated

Please provide any necessary screenshots to illustrate the changes made.
please merge the pr @anmode

@ePSA-eJya UI is not exact same :

Size is very large see.
Arraw hover effect and how it is behaving.
check: https://grabtern-new-frontend.vercel.app/

Yeah....I haven't fixed that yet....will do that today

Yeah....I haven't fixed that yet....will do that today My files got lost....so I lost track

oh no!! np. take your time

UI of search bar can be improved ( rounded corner and bar is so large too. and make search icon as black)
one more thing it would be small change our new theme color is :

@anmode

ok updated with develop! I hope build problem will be solved

https://github.com/anmode/grabtern-frontend/assets/88332977/b276e585-a2a9-4812-afcf-9e6c0831b163
There is container I think.. which is creating problem and distorting UI.
see the new theme it is clean

@muhammadjufry could you review please

It is degrading UI see.. I can't accept.
what you can do... copy whole testimonial code from repo i provided and make that work here!

@ePSA-eJya if you neeed we can have meet.. ping me on discord

@ePSA-eJya ?

yes....i was busy last week .....have begun work.........will update in 2 days

@anmode i think i wont be able to contine on this issue. its getting to complicated. 😞


Linux version thinks smash_arc isn't there when it is

I have installed the .NET Core 3.1 runtime successfully (which the Linux instructions default the commands to 6.0, you should note you have to edit Microsoft's commands and replace 6.0 with 3.1.)
However, nowhere in the readme or download is smash_arc mentioned, so I assume the .so files included were enough. However, clearly I need to download more as the program does not launch and says something from it is missing. Am I supposed to have more than this single .so file that was included in your download?

Unhandled exception. System.DllNotFoundException: Unable to load shared library 'smash_arc' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libsmash_arc: cannot open shared object file: No such file or directory    at SmashArcNet.RustBindings.ArcLoadLabels(String path)    at SmashArcNet.HashLabels.TryLoadHashes(String path)    at ArcExplorer.ViewModels.MainWindowViewModel..ctor() in C:\Users\Jonathan\Documents\GITHUB\ArcExplorer\ArcExplorer\ViewModels\MainWindowViewModel.cs:line 201    at ArcExplorer.App.OnFrameworkInitializationCompleted() in C:\Users\Jonathan\Documents\GITHUB\ArcExplorer\ArcExplorer\App.axaml.cs:line 30    at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__139_0(Object state)    at Avalonia.Threading.AvaloniaSynchronizationContext.<>c__DisplayClass5_0.<Post>b__0() in /_/src/Avalonia.Base/Threading/AvaloniaSynchronizationContext.cs:line 33    at Avalonia.Threading.JobRunner.Job.Avalonia.Threading.JobRunner.IJob.Run() in /_/src/Avalonia.Base/Threading/JobRunner.cs:line 178    at Avalonia.Threading.JobRunner.RunJobs(Nullable1 priority) in //src/Avalonia.Base/Threading/JobRunner.cs:line 37
at Avalonia.X11.X11PlatformThreading.CheckSignaled() in //src/Avalonia.X11/X11PlatformThreading.cs:line 149
at Avalonia.X11.X11PlatformThreading.RunLoop(CancellationToken cancellationToken) in //src/Avalonia.X11/X11PlatformThreading.cs:line 245
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken) in //src/Avalonia.Base/Threading/Dispatcher.cs:line 62
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args) in //src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 117
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode) in //src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 148
at ArcExplorer.Program.Main(String[] args) in C:\Users\Jonathan\Documents\GITHUB\ArcExplorer\ArcExplorer\Program.cs:line 11
`

Every Linux build is tested prior to release, so all the necessary files are there. ArcExplorer 0.14 opens just fine for me on Ubuntu 21.04. Which version of Linux are you using?

Ubuntu 20.04

Since you have confirmed all needed files are included, I have chnaged the title.

I'll see if I can reproduce this on a clean install of Ubuntu 20.04.

I'm able to reproduce this on my end on a Linux VM. I'll let you know if I figure out why this isn't working.

@Roadhog360 This should be fixed on the latest release (1.4.1). It's working fine for me on a clean install of Ubuntu 20.04. Let me know if you're still having issues.

Phew, thanks. I was worried you wouldn't be able to get the same issue. Hopefully you're able to find a fix, thanks for checking it out.

That would be great. Thanks

Seems the new release fixes it, I can open, and extract files just fine.

Since this is closed now, is it okay if I ask if there are any better alternatives to Toolbox? It seems to run in Wine, but only the 32-bit version and I noticed import previews just don't work, I have to actually replace or add the image to see how it looks.

That's not on topic for this repository. You're better off asking on the switch toolbox repo itself. The short answer is that nothing else does most of the features of Switch Toolbox. The code in switch toolbox isn't particularly portable, sadly.
If you just want to make convert nutexb files on linux, there are some WIP command line tools written in Rust that work with a bit more development work. If people are interested, I may work on patching img2nutexb to fully support all the nutexb files in Smash Ultimate. It can be compiled for a lot of platforms like windows, mac, etc.
tool: https://github.com/jam1garner/img2nutexb
library: https://github.com/jam1garner/nutexb


topmost hides popup modal

Hello!
Having topmost enabled on an application also hides any popup modals it creates. Is there any way around this?

(If I paste into iTerm and have iTerm set to topmost, this popup is obscured by the terminal window!)

There is already functionality implemented to deal with this situation: https://github.com/koekeishiya/yabai/blob/master/src/window_manager.c#L1335
This issue seem to appear for some windows that we to my knowledge are unable to set the window layer for - or they are not reported to us as windows being created. I'm not sure if this is fixable.

I'm unable to reproduce this in the latest version.


Sprint 02 Retrospective

Discuss what has been completed (update product backlog) (5 minutes)
Discuss what obstacles exist & collaboratively how to solve them (5 minutes)
Discuss what we will work on individually or in pairs (5 minutes)
Check that everyone has run the git command to replace their push origin master:

git remote set-url --push upstream no_push

Go through merging pull requests (15 minutes)

Merging: postponed till tomorrow where we will meet and go through the code together.
Socket IO: implemented successfully with the appropriate angular routing.
Angular Client: UI now responsive and we have access to the song object when a user clicks "Add song to playlist" button


Include Plugin Management Scripts into the Vanilla image

Eventiually I would like to make jenkins4eval/jenkinsfile-runner extensible in classic Docker ways, and plugin management is one of the common features there. The image used to include the plugin management scripts to include Declarative Pipeline, but it was removed in https://github.com/jenkinsci/jenkinsfile-runner/pull/187 .
It would be nice to restore bundling of plugin management scripts into the image. Then it can be documented for #189

@oleg-nenashev To clarify - we want to add install-plugins.sh to image to support plugin.txt file and plugins already added by maven move to this file, right?

@wpater Right. It might be also interesting to add https://github.com/jenkinsci/plugin-installation-manager-tool instead of the CLI tool. We can allow such experiment in this image, because the tool will land in the main image at some point. CC @stopalopa @slide


OpenCVConfig.cmake keeps old OpenCV_CONFIG_PATH in CMake cache

Hi everybody,
this issue regards a system with coexisting OpenCV 2 and OpenCV 3.
OpenCV 2 system install at /usr
OpenCV 3 manual install at /usr/local/opencv/3.1.0
State you have a CMake project  which find_package() OpenCV 2.4 like this:
find_package(OpenCV 2.4 REQUIRED)
you cleanly build it and ${OpenCV_CONFIG_PATH} equals to /usr/share/OpenCV.
When changing your CMakeLists.txt on the already built project to
find_package(OpenCV 3 REQUIRED) ,
${OpenCV_CONFIG_PATH} still equals to /usr/share/OpenCV,
although it should equal to /usr/local/opencv/3.1.0/share/OpenCV.
This affects setting the wrong ${OpenCV_INCLUDE_DIRS} and thus crashes the build.
I located the bug in this line:
https://github.com/Itseez/opencv/blob/master/cmake/templates/OpenCVConfig.cmake.in#L114
get_filename_component(OpenCV_CONFIG_PATH "${CMAKE_CURRENT_LIST_FILE}" PATH CACHE)
Removing the CACHE should fix the problem, since currently it will not be overwritten, when already in cache. Reading from the comment above the line ${OpenCV_CONFIG_PATH} must equal to the path of the current file and thus not rely on CACHE.
system information

OpenCV version: 2.4 AND 3.1 (coexisting)
Host OS: Linux (Ubuntu 14.04), but should be ANY
CMake: ANY

code to reproduce
I took the following code to produce the bug:
cmake_minimum_required (VERSION 2.8.11)
project (opencv-cmake-find-bug)
LIST(APPEND CMAKE_PREFIX_PATH /usr/local/opencv/3.1.0/share/OpenCV)
MESSAGE(WARNING "prefix ${CMAKE_PREFIX_PATH}")

MESSAGE(WARNING "install path ${OpenCV_INSTALL_PATH}")
MESSAGE(WARNING "config path ${OpenCV_CONFIG_PATH}") # if this is in cache, find_package() below won't overwrite it

find_package(OpenCV 2.4 REQUIRED) # change this to 3 after running cmake once
MESSAGE(WARNING "version ${OpenCV_VERSION}")
MESSAGE(WARNING "install path ${OpenCV_INSTALL_PATH}")
MESSAGE(WARNING "config path ${OpenCV_CONFIG_PATH}") # look at the output of this message
MESSAGE(WARNING "include dirs ${OpenCV_INCLUDE_DIRS}")
MESSAGE(WARNING "libs ${OpenCV_LIBS}")

I'd be happy to file a pull-request if you agree that the current behavior is not intended.
Cheers!

All CMake variables are binded to some scope and usually not available in parent scopes. Also CMake hasn't native support for "global" variables.
So CMake "cache" is frequently used to simulate "global" variables.
Windows find_package process uses 2 staged OpenCVConfig.cmake (2 files):

outer stage is just a wrapper which detects MSVC and platform
nested stage uses "CACHE" to popup actual value to outer script

I believe these behaviours should be fixed somewhere in this PR: #5980

Thanks Alex,
looks like your PR fixes this issue. I vote for merging it :+1:
Cheers

@herr-biber PR #5980 is merged. Does it work for you?


add automatic timed traffic lights

people spend a tone of time to add timed traffic lights. i suggest to add a default time traffic lights which allows one road to go through at a time and automatically modifies the turning lanes all with one click would be a massive help.

please assign to me.

If possible:

Make it work with left hand traffic, not just right hand traffic
Factor in things like priority signs and junction restrictions
Handle things like lane connectors and lane arrows

@aubergine10

Make it work with left hand traffic, not just right hand traffic

of course!

Factor in things like priority signs and junction restrictions

there are no priority signs when there is traffic lights. so nothing to do here. U turns are same as left turns.

Handle things like lane connectors and lane arrows.

lane arrows will be separated using code from #537 .  Lane connectors are too complicated for what I had originally in mind. I just wanted something simple and effective. people always can make further modifications. If you have something cool in mind though I am totally up for it! adding lane connectors all over is going to create a big mess. furthermore if the next junction is too close we should avoid lane connections and let cars choose their lane.
Taking the amount of traffic on each lane into account might also be a good Idea but it may prove to be too difficult. I will see what I can do.

there are no priority signs when there is traffic lights. so nothing to do here. U turns are same as left turns.

TMPE has existing option to factor in the TMPE priority signs at traffic lights: Vehicles follow priority rules at junctions with timed traffic lights on Policies tab in mod options.
For example, priority signs could tell the default traffic light config which 'route' gets prioritised at the junction, The order of priority would be:

Priority sign = highest priority
Yield sign = medium priority
Stop sign = lowest priority

If no priority signs are checked, road UI category (or number of lanes or speed?) could be used to determine prioritisation of routes entering the junction?

I just wanted something simple and effective

Agreed. We can add extra features later (including the stuff about prioritisation I mentioned above).

Made some progress with time traffic light.
Ctrl+click creates a default (recommended by none other than me!) timed traffic light. see pictures bellow:

There are two more steps of course

if would be a good idea to create automatic timed traffic lights for multi nodes like a green wave #278 or something. but not in this issue.
Now I need to handle cases where its 3 segments or 5 or more segments. they all use the same concept though. one side can go at a time, the road to its right can only turn right.
Ideas are welcome!

And I WILL remember to separate turning lanes as necessary by the timed traffic lights. its a good thing I have a code for that already!

It is not a good idea to have a mode that bans left turns. for that simple traffic light would do just fine.

I think that default you made is quite sensible and provides a good start.
The only other default I'd like to have is with the addition of banned left turns. Like this:
If there's two roads "in front" of each other (with sensible margin of error) where both have left turning banned, then use a template that provides green light forward for those at the same time instead of one at a time.
Is that doable for this PR? Does it need a different PR (due to complexity)?
Also,
@kianzarrin With such little amount of time between messages, please just edit the previous one.... I get an e-mail for each message you send.

@brunoais

The only other default I'd like to have is with the addition of banned left turns

As I said before:

It is not a good idea to have a mode that bans left turns. for that simple traffic light would do just fine.

so yeah timer traffic light is unnecessary when left turns are banned. Just use a default one.

Alright. Fair enough.

I also was thinking of the template thing :)
I can even provide some default templates.
If there is only two segments that ban left turns I recommend:
1- to use the auto timed traffic light  to set things up and then make simple modifications.
2- use templates. The built-in ones can even modify lane arrows.
3- ban left turns then use the default timed traffic lights. I can add a feature to read lane arrows and use them as guideline for creating timed traffic lights.
I don't recommend this:
Add a complex state machine that confuses people. Keep in mind there are some other possibilities to like dedicated short step for turning left.

I like these two:

The built-in ones can even modify lane arrows.

I can add a feature to read lane arrows and use them as guideline for creating timed traffic lights.

Sure thing! Get this sorted out and I will be waiting for the followup PR \o/

What should I do about one way roads. So far I do this:

two options:
1- two roads can turn into the same one way road in one traffic cycle as in the picture above.
2- write extra code to make sure only one road turns into it at any given traffic light cycle.

@kianzarrin Don't invest too much work into making the UI pretty, the UI will be reviewed and reworked, possibly already this year. Make the simplest UI changes as much as possible.

@kvakvs

@kianzarrin Don't invest too much work into making the UI pretty, the UI will be reviewed and reworked, possibly already this year. Make the simplest UI changes as much as possible.

I am not touching the UI at all.

I am almost done with this. In debug mode its a bit slow. but even in release mode and in extreme cases it can take a moment(half a second) to insert the custom traffic lights.
I did some tests to determine what is slowing it down: my code or the interface. So I disabled most of my code (so that it just puts traffic lights without calculations) and felt no improvement in speed. So the interface is to blame.

Feature ideas:
Service vehicles get to go first.
store timed traffic lights. (that requires some changes to the option page.

Wiki documentation:
Quick setup
Are you not interested in spending ages to setup a timed traffic light?  Then don't worry ... you CAN have it both ways! Just press CTRL-click on a junction and TMPE creates a basic timed traffic light on that junction for you:

It automatically allocates dedicated turning lanes where possible.
at each step it gives a green light to one road (to go to all directions). so the total number of steps equals the number of roads connected to the junction.
It allows the road to the left to turn right only (where possible).
the traffic light rotates clockwise at each step.
one way roads are taken into consideration.
for the time being the quick setup only works on one junction at a time. In future we may consider the idea of [https://en.wikipedia.org/wiki/Green_wave green wave]

T junction has 3 steps.  One road gets a green light to all directions at each step while another road will be able to go straight or turn right.

4 road junction has 4 steps. one road gets a green light to all directions at each step while the road to its left can turn right only.

In this T junction because there is a one-way road, it was possible to make it 2 steps.

Thanks for the docs :) Few questions:

Just press CTRL-click on a junction and TMPE creates a basic timed traffic light on that junction for you

I assume they need the timed traffic lights tool active for that to happen?

It allows the road to the left to turn right only (where possible).

Please elaborate. Are you referring to the left segment of the main road? And if so, does that only apply at t-junctions? Or is it something else?

@aubergine10

I assume they need the timed traffic lights tool active for that to happen?

Isn't that implied since this is going to be in the page for timed traffic light tool?

Please elaborate. Are you referring to the left segment of the main road?

I replaced 'road' with 'entry to the junction' to avoid confusion. I didn't use the term segment because I think its to low level (computer level) of a concept which should be hidden from user. If you think I should use segment instead please tell me. Entry though might be more accurate since segments without entries to the junction do not get a traffic light

does that only apply at t-junctions? Or is it something else?

In the example pictures I have demonstrated how it works both for cross junction and T junction
The real logic is:
at each turn One entry (to the junction) gets all green light (green light to all directions) while the road whose turn is the next turn (in a clock wise direction) will only get to turn toward the right-most direction (that means turn right if there is a segment to the right, otherwise for example in a T junction go straight).
Unfortunately I did not mange to find a way to explain this in plain language to the user so I decided to show it in the pictures.

Isn't that implied since this is going to be in the page for timed traffic light tool?

Not when there's three different tools with a traffic light icon on the TM:PE menu bar. It needs stating explicitly (from docs perspective). In the UI a mention can be made in the button tool tip and/or the adviser text that appears when button is first clicked.

I didn't use the term segment because I think its to low level (computer level) of a concept which should be hidden from user.

Generally, I would agree, however in C:SL community it does seem that segment is a widely understood term. While it's a mid-level term, which is also used at low-level (code), remember that users build their roads segment by segment so they are already familiar with concepts such as nodes and segments.
I think where it becomes too low-level is when we have to start differentiating between different kinds of segments and, in particular, nodes. But even there we will still have to expose users to some of the more advanced terminology to comprehend functionality where necessary. To that end, I've been chipping away at a glossary of terms for nodes, segments, lanes.

Unfortunately I did not mange to find a way to explain this in plain language to the user so I decided to show it in the pictures.

Pictures are always the best choice so keep doing that 👍

Note: There aren't many images in the github wiki due to a long-standing bug with GitHub Desktop (which I just checked and is still there). I was waiting to see if they fixed it, as storing images in the wiki would be ideal (it's separate to the main code repo), and I wanted to ensure that if we started doing that users with limited knowledge of github, thus github desktop users, would be able to work with it. Sadly, bug still not fixed. Maybe we need to use imgur or have a central issue where we can dump images in the interim?

This is awesome!!
Shouldn't this be "default" traffic light behavior?

I suspect this would cover a lot (if not all?) of what is in #324 as well.
Regarding making it default: Currently this is using TM:PE timed traffic lights, which are heavier than vanilla in terms of computations required. If it works well in practice, we could maybe look at hard-coding a sequence somehow so that it would be fast enough to use by default.

Im wondering, if i change lane connectors or lane arrows after this, will it automatically adjust? And how about segment upgrading to another type of road?


Server Error 500 when Saving Docs

Maybe you guys can help me figure this out. I get seemingly random 500 Internal Server errors in Grav. This issue only affects the content writing portion of Grav. I've done test cases and isolated some triggers:

Images. Removing images fixes the issue for some articles. Doesn't for others.
Character count. This affects new pages. Adding more than 500 characters (estimate) is a trigger.
Content. For some pages, I couldn't get around the 500 error without removing all content. Adding a single character and saving will trigger the 500 error.

I created a test case spreadsheet. Here's the link: https://docs.google.com/a/kmapsystems.com/spreadsheets/d/1DoDLRpripwSY-tElDf2ub1KKU6-yw3LN_l5wRaJCPbM/edit?usp=sharing
Whenever I run into an error, I log it in this spreadsheet. If you need any other info, please let me know.
Thanks!
Sarto

Hmm this sounds very recognizable.

If you're on a server, can you try replicating this issue locally, to help identify if the problem is related to a server setting, or not?

It is on a server but replicating the issue locally isn't an option. The server is hosted. Do I have any other options?

We did also recently update the Grav base and admin UI.

I've never seen this problem so my guess is it's specific to the server, but that's just my guess, and easiest thing would be you setting up Grav in a local MAMP or similar setup, and copy the user/ folder of the live site there, so the site is replicated local, and you can see yourself if the issue is reproducible.

Ok, here's an example of text that I cannot save in Grav's admin UI.
https://docs.google.com/a/kmapsystems.com/document/d/1twi_oLBskT16GV5FW5vyeKOOk8U-CgKuQkezdhFvqVs/edit?usp=sharing
The red highlighted text triggers errors in Grav. Maybe it's a specific word or phrase or even formatting that I'm not picking up? Can you take a look and possibly see if you can enter the text into a Grav article and save it without errors.
Thanks so much!
Sarto

You mind just pasting the text here, or making the document publicly accessible?

[toc]
You can manage all active programs and drafts within the Programs tab of your Admin Console. Edit, Clone, Delete, Activate or Disable a program right from this page.

Edit your Program
Once you have created a Program, you can always go back and update any pages or rewards. Follow these steps to editing your program:

In your Admin console, click on the Programs tab.
Select the name of the program you want to edit. This should take you to the Program page.
In the lower half of the page is the Edit Pages section. Select the Edit button next to the section you want to edit.

!!! If you are looking to make changes to your site setup, you can access those pages in Settings.
---------------START OF ERROR----------------------------------
Clone your Program

To copy an existing program in its entirety, use the Cloning option by selecting the "Clone" button under the Actions column. This will create a new draft program that is a copy of the program you selected.

Other Actions

Remove an active program or draft by selecting the orange "Delete Button" and confirm the deletion. You can also deactivate a program by selecting the "Move to Draft" button. This will disable all URLs and move the program to Draft Programs.

Activate Program or Make Program Inactive - If you have not activated your program, this button will make it active and publicly accessible. If your program is already active, this button will "turn off" your program and make it no longer accessible.
View Details - This takes you to the Program page. There you can view your member and referral count, edit your program pages, and view integration options.
Clone - Clones your program and creates a copy. This copy will be in your drafts.
Default - Only available for activated programs. Makes program your default program.
Delete - This will delete your program from your account. It and all the data in it will no longer exist.

Here's a txt file:
Managing Programs.txt

Nothing wrong, I don't see any issue here.
Unless the problem is the image, which I don't have.
Same issue if you remove the images from the text?

Could it be related to file permissions? I remember I had some random 500 errors on pages where new or updated content didn't had the correct permissions (iirc: permissions were root:root whereas I needed grav:root)

I think the issue did have something to do with permissions. I ended up contacting the server host about it and the issue was fixed. Thanks for your help and support guys, I really appreciate it!
I made sure to vote for Grav for the 2016 CMS Critics Award. Good luck guys :)

Good to hear that! Would be nice to know what was wrong about them, if someone else has a similar issue

@ghostinhershell Do you know what the server host had to change in order to fix this? I'm having very similar issues and have tried everything I can on my end. Thanks

I was able to get this sorted out with my hosting provider. They said it was a ModSecurity issue:

Looks like you're tripping a ModSecurity rule when you add the content, which is blocking the request and resulting in the 500 error.
The particular rule you're hitting is common among Wordpress sites, so I'll go ahead and whitelist it to prevent this from happening again.

Worked like a charm!


Improve BlockWorker and LocalBlockStore APIs

APIs like accessBlock lockBlock, unlockBlock in BlockWorker are just
wrappers on the corresponding LocalBlockStore APIs that are specific to
LocalBlockStore. Using the LocalBlockStore APIs directly and removing the
wrapper APIs in BlockWorker.

Rename LocalBlockStore.lockBlock to pinBlock. The API is supposed to
be indicating future block read access and is intended to avoid eviction.
Currently the underlying implementation in TieredBlockStore is still using
locking and the API still returns lockId. But changing the API to indicate
that such strong guarantee is not necessary for all implementations. In the
future this function should just return void.

Rename LocalBlockStore.unlockBlock to unpinBlock and remove Exceptions not thrown.

Remove BlockWorker.INVALID_LOCK_ID. Using OptionalLong to represent lockId.
Invalid lock is represented as OptionalLong.empty(), making special case
handling explicit.

alluxio-bot, merge this please


Installation instructions

Hello
Could you let me know how to install the plugin, please?  I'm a web developer and I use the HTML5 + PHP-flavoured version of NetBeans.  I've read the installation instructions in your wiki but they don't mean much to me - I've never installed a downloaded plugin before and I've never developed one either - and NetBeans' plugin installer doesn't recognise any of the files in the project.
Many thanks,
Dan

Those installation instructions seem to be aimed more at building and running the plugin from source, while it sounds like you're simply trying to install a release version.
In this case:

Download the .nbm file for the latest version from the Releases page
Open NetBeans, select Tools > Plugins
Switch to "Downloaded" tab and click "Add Plugins..."
Browse to and select the .nbm you downloaded
Click "Install"

If all went well, NetBeans should then prompt you to restart and activate the plugin. Everything else from this point will work based on .editorconfig files in your project folder. Keep in mind you'll need to make sure NetBeans itself is running with Java 8 in order for this to work.
Hope that helps.. :)

@ZaLiTHkA - I could not have put it better. Thank you very much!
@danbettles - Just let me know if there are still uncertainties.

Thank you very much, @ZaLiTHkA; that did help.
Both: would you like me to add those instructions to the Wiki because they should be beneficial to others.
Thanks again.

Only a pleasure. I'm all for the idea of sharing knowledge and I've been doing software testing and writing user manuals for about 7 years now, so it's practically second nature for me these days.
To be honest, I think this project's wiki could actually do with a bit of TLC.. I'd be quite happy to build a nice wiki structure for you guys if you would like? This is something I'd have to do outside of my working time though (8:00am - 4:30pm, GMT+2).

@danbettles: Good idea! We will add it to our wiki.
@ZaLiTHkA: We would be really happy if you would like to work on our wiki. Are you already allowed to edit it or do you need extra permissions?

No need to change settings, I just checked now and I can edit the wiki.
The default options for GitHub projects is to allow anyone to edit the wiki pages, unless you select the "Restrict editing to collaborators only" option in the project settings.

Cool! Then you are ready to go. :dancer: Feel free to edit it. Will mention you then in our collaborators section. :+1:

I got a bit distracted this evening, so unfortunately I got to this a bit later than I was planning to, however I have extended the plugin installation instructions a bit.
I'll go through all the pages over the next couple days, creating links between them and removing consolidating information where applicable (such as the "Plugin Development" and "Releasing" pages).
@bennyn, if you're happy with the installation instructions, then I think this issue can be closed. :)

@ZaLiTHkA, I am more than happy. Your description is really good and I like your Markdown styling. :+1: Great to have you on board!
I will close this issue here now. Thanks @danbettles for your feedback!


[Silabs] Add gn arg to configure NVM3 for efr32 platform

Add two new gn arg(sl_nvm3_nvm_size and sl_nvm3_cache_size) to configure NVM3 for silabs efr32 platform.
Developers can analyze their storage needs to adjust these two parameters, which can improve storage efficiency.
Especially after https://github.com/project-chip/connectedhomeip/pull/35480, developers would like to adjust these two parameters.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@jmartinez-silabs  This is a minor change, I hope you can help review it. Thanks.


Allow AnimController to support any target

The AnimController was written specifically to support GLB animations. However we would like to leverage the system toward controlling arbitrary targets in PlayCanvas.
This PR includes the following changes:

introduce a general concept of animation target 'path' strings which specify what is being animated
provide a method of escaping the target path segments so we can safely combine arbitrary path segments
extract the code which 'binds' paths to target elements from the AnimController - this is called the AnimBinder
allow the binder to provide the function which actually sets the resulting animation value on the target (since targets can be arbitrary)
update the engine GLB viewer (the graphing visualization made use of internal AnimController structures before).
update the animation component to correct set clip's speed and playing flag.

A summary of the anim API:
// Interpolation
pc.INTERPOLATION_STEP       // step between curve values
pc.INTERPOLATION_LINEAR     // linearly interpolate between curve values
pc.INTERPOLATION_CUBIC      // perform cubic interpolation between curve values

// AnimData
animData = pc.AnimData(dimension, data:number[]);
animData.dimension      // number of values per element (1 for 1d values, 3 for 3d values etc)
animData.data           // list of numbers or Float32Array

// Curve
animCurve = pc.AnimCurve(paths:string[], key/input:number, value:number, interoplationType);
animCurve.paths         // the paths that will be targetted by this curve data
animCurve.input         // the input array
animCurve.value         // the output array

// Track
animTrack = pc.AnimTrack(name, duration, inputs:AnimData[], values:AnimData[], curves:AnimCurve[]);
animTrack.name          // name of the track
animTrack.duration      // duration in seconds
animTrack.inputs        // list of input (time/key) arrays
animTrack.outputs       // list of output (value) arrays
animTrack.curves        // list of curves

// Clip
animClip = pc.AnimClip(track, time, speed, playing, looping);
animClip.name           // name of the clip
animClip.track          // track data
animClip.playing        // whether the clip is currently playing
animClip.time           // current clip time
animClip.speed          // play speed of the clip
animClip.loop           // whether the clip loops (either forwards or backwards) or not
animClip.blendWeight    // blend weight for this clip [0..1]
animClip.blendOrder     // order in which this clip should be blended with other clips
animClip.play()         // reset time and enable playing
animClip.stop()         // reset time and disable playing
animClip.pause()        // disable playing
animClip.resume()       // enable playing
animClip.reset()        // reset time

// Setter
AnimSetter = function(value:number[]);

// Target
target = new pc.AnimTarget(func:AnimSetter, type:'vector'|'quaternion', components:number);
target.func             // the setter function which takes as argument the updated animation value
target.type             // specifies the data type for this target
target.components       // the number of components expected for this target (ideally should match the number of components in the attached curves)

// Binder
pc.AnimBinder.joinPath(pathSegments:string[])       // helper function to escape an array of segments and join them into one string
pc.AnimBinder.splitPath(path)                       // helper function to unescape a split a path string into its segments
animBinder.resolve(path)                            // called by the AnimController to resolve a path string to an instance of AnimTarget
animBinder.unresolve(path)                          // called by the AnimController when the path is no longer active (no curves reference this path)
animBinder.update(deltaTime:number)                 // called by the AnimController to give the binder a chance to perform frame update

// Controller
controller = new pc.AnimController(binder);
controller.numClips             // number of clips attched to the controller
controller.addClip(clip)        // add a clip to the controller, new target paths will get resolved by the binder.
controller.removeClip(index)    // remove the clip at the specified index
controller.removeClips()        // remove all clips from the controller
controller.getClip(index)       // get the clip at the specified index
controller.findClip(name)       // returns the first clip with the given name or null if no such clip exists
controller.update(deltaTime)    // update all clips, blend them and set the resulting values on the AnimTargets

In the PR description, can you summarize the API this PR is intended to introduce (even though it's private for the moment)?

Would it be better to have:
controller.clips.length instead of controller.numClips
controller.clips[index] instead of controller.getClip(index)
This would map more closely to:
entity.children.length
entity.chidren[index]

AnimController's clips array is not a simple list of clip instances. The controller stores a structure per clip which includes input and output data. Is there a way of providing the interface you suggest without exposing the array directly?

Could the controller have:
controller.clips
controller._inputs // private
controller._outputs // private

Could have, however won't users be tempted to do controller.clips.push()?

Also, added two missing bits - AnimSetter and AnimTarget

Users could have the same temptation for entity.children but I've never seen anyone make that mistake.

The AnimController could keep an array of clips just for exposing to clients. Then if a client pushes or modifies the array accidentally AnimController will remain unaffected.
Though this might actually -hide- user bugs and perhaps throwing errors is actually preferable.

One other comment - are we happy with the naming of animData.dimension? Altneratives:
animData.dimensions // Plural
animData.components

Exposed AnimController.clips, renamed dimension->dimensions and updated API docs above.

AnimData' has dimensionsandAnimTargethascomponents`. Is this naming difference justifiable?


Logs filled with ingress api version deprecation warnings

Do you want to request a feature or report a bug?
Bug
What did you do?
Executing traefik 2.2.0-rc4 on kubernetes 1.17.2, logs are filled with
{"level":"warning","msg":"Ingress ns/ingress: the apiVersion 'extensions/v1beta1' is deprecated, use 'networking.k8s.io/v1beta1' instead.", "time": "..."}

This warning is printed out at least once per second.
I've updated all the ingresses to networking.k8s.io/v1beta1 api version, but nothing has changed.
What did you expect to see?
No warnings.
Output of traefik version: (What version of Traefik are you using?)

Running on kubernetes 1.17.2

Hi @overheadhunter
I'm sorry, I fixed it on master instead of v2.2, it will come in the coming days.

Closed by #6624.


Fix/dashboard mentor issues

Fixed mentor dashboard issue
Fixed customer support issue

Fixing User dashboard and More option behaviour
fixing More icons behaviour, it should close and that tab to be open ( as i mentioned on whatsapp)
Creating Delete icon, which will call delete api and here's that api:/api/mentors/deleteListedSession


LPE altitude drift

@jgoppert I just got a log from a user who is reporting considerable height drift during his flight.
Below you can see a plot which compares raw baro alt with gps alt and the estimated height.
Note that the baro / gps solutions are very close to the initial altitude at the end, however, the estimated height was suspect to a large drift.
Log: http://logs.uaventure.com/view/6Joqho5BrqD5vfoVPY9AUT

Something is very wrong with this log, there is no filter watch dog or estimator 0 states. I think we need to make sure these are working so I can diagnose the problem further, the problem may also be related to why this logging wasn't being recorded.

Here is a recent log of LPE to compare, in this one we were flying outdoor with lidar and experienced a 50 m jump in GPS altitude from the sensor, which did cause our altitude to drift, but it recovered.
http://logs.uaventure.com/view/QdoUvByZrRHA2YLTxvZBTA
This flight was based on the 1.3.0rc1 release.

@jgoppert Yeah, I've been wondering why the filter states are not published, almost wanted to open an issue for that. So do you have any idea what the problem is?

Is logging working for ekf2 on master? If it is, then I'm guessing there was a change to the pub interface and lpe needs to be updated or somehow a recent trivial change (see stack smashing and param src removal patches) I haven't flown yet with those patches.

I will build and fly master to diagnose this on Friday night.

I haven't been able to reproduce the altitude drift, see attached log and image:

http://logs.uaventure.com/view/9zJWm66UET9J4p4wRnq32W
I was able to reproduce the logging issue. I resolved this by commented out the isfinite checks on the estimator status. The numbers all appear finite after the initial estimator pub so this seems odd that it fixed it.

I think this is might be due to a bad calibration of the pressure/gps offsets at boot, if you look at this plot, it looks like the global position altitude is converging to the GPS altitude.

The only way for me to say conclusively is another complete log of this event. I can't reproduce it on my end.

@jgoppert what is the condition to initialize LPEs altitude estimate? Does GPS lock have to be good?

@LorenzMeier 10 readings with eph < 3, n_sat >= 6
Maybe epv and lock type should also be a requirement?
https://github.com/PX4/Firmware/blob/master/src/modules/local_position_estimator/sensors/gps.cpp#L55

You should certainly also factor those two in, yes.

Log of gps stats over drift flight:

Log of gps stats over recent flight of master:

You can see that EPV was very high for this drift flight, so the offset theory may be reasonable, I'm adding that check as well as fix and creating a PR after I flight test.

This isn't even running LPE, SYS_MC_EST_GROUP = 0.0
This is an INAV bug. You can see it even in the log parameters. I just noticed it because Ilia gave me all the files off of his sdcard and I noticed that they were never running lpe
PID COMMAND                   CPU(ms) CPU(%)  USED/STACK PRIO(BASE) STATE
0 Idle Task                  106873 57.016     0/    0   0 (  0)  READY
1 hpwork                       4714  2.944   844/ 1592 192 (192)  w:sig
2 lpwork                        775  0.294   572/ 1592  50 ( 50)  READY
3 init                         1667  0.000  1324/ 2496 100 (100)  w:sem
243 sdlog2_writer                  33  3.238  1140/ 2040  95 ( 95)  w:sem
90 gps                           350  0.196   804/ 1192 220 (220)  w:sem
92 dataman                        29  0.000   660/ 1192  90 ( 90)  w:sem
118 sensors                      4994  2.845  1724/ 1992 250 (250)  w:sem
120 commander                    3234  1.766  3220/ 3592 140 (140)  READY
121 commander_low_prio            499  0.000   788/ 2992  50 ( 50)  w:sem
127 px4io                        5155  3.042  1060/ 1392 240 (240)  w:sem
137 mavlink_if0                  1485  0.686  2356/ 2792 100 (100)  READY
138 mavlink_rcv_if0                72  0.000  1192/ 2096 175 (175)  w:sem
145 mavlink_if1                  1182  0.686  2356/ 2792 100 (100)  READY
146 mavlink_rcv_if1                12  0.000   988/ 2096 175 (175)  w:sem
180 sdlog2                       1858  3.140  2996/ 3392 177 (177)  RUN
215 attitude_estimator_q         9158  5.495  1996/ 2496 250 (250)  w:sem
221 position_estimator_inav      4192  3.434  4828/ 5296 250 (250)  w:sem
230 mc_att_control               5205  3.238  1228/ 1496 250 (250)  w:sem
235 mc_pos_control               1681  1.079  1180/ 1896 250 (250)  w:sem
239 navigator                     270  0.686   940/ 1296 105 (105)  w:sem


CLI filtering/matching test case sections

First of all, thanks a lot for this library!
I was curious if there was a mechanism to list/match sections contained within test cases. Sections are a very convenient way to handle test setup/teardown, but the unfortunate drawback is that sections can't be run in isolation as far as I can tell.

Hi! There is currently no way to do this. Filtering a test case to only run certain sections would be possible, without too much cost, but figuring out the filtering syntax and how it meshes with the existing test case filtering will require some thinking.
As for listing sections, that would also be possible but with a big caveat: it would require actually executing all the test code. Indeed, sections aren't known when entering a test case, they are discovered as the test code executes and encounters SECTION blocks. To bypass this, we'd need some sort of introspection (reflexion) on the code of the test case, and that's not likely to happen anytime soon! In the meantime, it could be implemented in the naive way, executing the code, but that's going to be too slow for most applications, and also risks executing failing REQUIRE*()  checks that fail and abort... I suspect that's not going to be practical.
I know it's tempting to have one big test case with lots of sections in it :) But my advice here is, if you start it feel the need to execute only one section, then it's probably a sign that you should create a different test case. You can factor out the common code the old fashioned way, with functions and classes.

For the filtering syntax, I was thinking that something simple would be to use a . access pattern. For example, a test case named Foo with sections S0, S1, and S2 could be filtered using Foo.S0 to run only the section S0 of test case Foo. This has the drawback of possibly colliding with tests that have a ., but given that . is used as a special symbol in the case of tags, it's not unreasonable to expect that . behaves differently in the test naming case also. I feel like . subsection handling is far too natural to consider anything more complicated (although I could be persuaded of course, this is just my gut reaction). You can imagine that *-based pattern matching could apply to the test case prefix in addition to the section suffix (if present).
Agreed that providing test section listing support might be too much trouble than what it's worth.

For reference, Catch2 does this with a separate CLI option --section .... If this is implemented in snitch, we will want to follow the same CLI API to benefit from IDE integrations etc.


Can't install from PyPi

  Could not find a version that satisfies the requirement pyfacegraph>=0.0.36 (from django-facebook-api) (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4)
  No matching distribution found for pyfacegraph>=0.0.36 (from django-facebook-api)```

There is open issue https://github.com/colinhowe/pyFaceGraph/issues/13 for this.
You can solve problem by install right version of pyfacegraph manually:
-e git+https://github.com/iplatform/pyFaceGraph#egg=pyFaceGraph

Just commit new version without pyfacegraph dependancy, but with https://github.com/pythonforfacebook/facebook-sdk. But the same situation with versions. Required version 1.0.0-alpha. Try install from repo
-e git+https://github.com/iplatform/pyFaceGraph#egg=pyFaceGraph


Please ensure make only builds binaries and does not run the test suite

Hi,
In most build trees make is expected to build the binaries taking into account any dependencies whereas make test actually runs any tests of the code.
In Vitess this behaviour is not respected. It's not a big thing but if you want to build the code only you have to type make build rather than just make, and make builds the software but also runs the local test suite.
I would therefore suggest that for consistency with other software build processes the default make target make only builds the source and make test runs the test suite.
If you want to provide a hint for people (this is good as I've been bitten by issues in the past with failed tests) to run the tests then after completing the build step adding a hint to do the build might be appropriate. I guess something along the lines of:
whatever_make_target_this_is:
     ...
     echo "Build completed successfully. Please ensure all tests work by running `make test` as failing to do so may lead you to spending more time diagnosing any issues."

Good point. I've created https://github.com/youtube/vitess/pull/3199 to fix it.
I did not add a message to the "build" target though because "make test" is already mentioned in our docs.


🐛 Bug Report: Sonarqube Plugin Not Rendering Content

📜 Description
Setup followed from docs, using this in app-configuration
sonarqube:
  instances:
    - name: default
      baseUrl: https://sonarqube.myorg.org
      apiKey: xxxxx

and the annotation on the entity as follows:
  annotations:
    sonarqube.org/project-key: myprojectkey

The backend returns 200 with an empty response, so I would expect to see some kind of error/warning if there was a setup issue.
I have also tested out the api calls that the plugin makes internally to the sonarqube API, and they have returned the expected data, so the issue is not with my sonarqube instance/ it's setup.
Not sure how else to debug this my side so raising this issue here.
👍 Expected behavior
It should render the sonarqube entity card with the data for the given project
👎 Actual Behavior with Screenshots

👟 Reproduction steps
Follow setup steps of sonarqube plugin
📃 Provide the context for the Bug.
No response
🖥 Your Environment
No response
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

👋 thanks for this! Can you share the request and response from your browser to the backend? The config looks correct.

Interestingly today this does have content in the response - must have tweaked something as yesterday I was seeing it blank. Still have the same result in the app though

Hi @backstage/sda-se-reviewers 👋🏻 , do you have any recommendations for @stu039 ? He wants to contribute with a fix 🙂

Hi, we had the same problem - the issue is that the sonarqube-backend plugin returned 200 to the frontend even though sonarqube responded with 401 unauthorized (we had to check the sonarqube access log to find out). In our case, we used the wrong credentials, I suggest you double check the creds as well :)

Hey @stu039,
I think the peace of code that needs to be improved is this one right here:
https://github.com/backstage/backstage/blob/8e741a1bd29b92c767e9b308f151d10468be1980/plugins/sonarqube-backend/src/service/sonarqubeInfoProvider.ts#L305-L308
That function should additionally be handy to figure out what the sonarqube api returns right now in your case :)

I was facing a similar issue. I had initially used a Global analysis token as an apiKey in Backstage, I later changed that to a User token and it worked for me


Some questions

Hi, I have some questions concerning your code:
1 - In train_generator() function of train.py script (line 69 to 269), you create your batches using buffers x_buffer and h_buffer. You initialize them at the beginning of your code and then fill them with new audio / feature data. My question refers to lines 135-136 and 178-179 :
x_buffer = np.concatenate([x_buffer, x], axis=0)
h_buffer = np.concatenate([h_buffer, h], axis=0)
Initially, x_buffer and h_buffer are empty. However, by iterating on files, it is possible that  x_buffer and h_buffer contains data from the previous wav file. In this case, you will concatenate data from two different audios, which can affect training quality. Is it voluntary ?
2 - In the same script, at lines 472 - 474, your loss doesn't take into account of the receptive field of the WaveNet. It may be because your shift size when creating batches is equal to batch_length and not batch_length + receptive_field, but I wanted to be sure of this choice concerning the loss calculation.
3 - Finally, this last question is open. Have you thought about training WaveNet on mel-spectrograms, like tacotron 2 paper ? Apparently, training on mel-spectrograms allow a better audio quality during synthesis.
Cheers,
Julian

Hi Mr. Julian.
Thank you for your questions.

Yes. I know the problem, but I think in the case of speaker-dependent model, it is not a serious problem. Also, each utterance has silence parts at the begging the end so that I think it does not affect the next utterance so much even if different utterances are concatenated. If you are worried about it, you can easily change to initialize the buffer every time or use utterance batch.

Yes. We use batch_length + receptive_field samples as a batch not to take receptive field parts into account loss calculation.

Now, we are trying to directly use stft spectrogram or mel spectrogram. It seems to be nice. (We do not care about F0 analysis error.) I will brush up my code to be able to select the feature type. And I also have tried MoL loss training, but it is a little bit difficult to train comparing with cross entropy loss (especially, in the case of small amount of the data). If I find the nice training setting, I will integrate it into this repository :)

Thanks @kan-bayashi and @patrickltobing for your answers.
1 - As @kan-bayashi said, it may be caused by the fact that audio contains silences at the beginning and the end, so incoherence caused by concatenation is smoothed. Since audio quality is very nice when using this training procedure, changing the code to be perfectly consistent may not bring a big improvement to the audio generation.
2 - @patrickltobing has a good point concerning the starting receptive_field that is not taken into account in the loss. I will try to see the impact of left padding.
3 - It's true that MoL loss must be used when a lot of examples are available in the training set. For the moment, only training on CMU Artic data is not sufficient enough, but making a big model may solve the problem.
Looking for the next commit concerning the mel-spectrogram training :)

Hi @julianzaidi.
I implemented mel-spectrogram recipe.
If you are interested, please try it.

Thanks for the feedback @kan-bayashi ! I have launched a training, code seems to work properly. The update with new pytorch version is really nice.
I have just one question concerning the pre-processing part of your code. You don't seem to use any noise shaping technic on your audios. You marked "TODO" in the corresponding section but why don't you use the same noise shaping technic than the one used with WORLD features ?

@julianzaidi Yes, same noise shaping technique can be applied. But current implementation uses MLSA filter which make filter from mel-cepstrum,  so that it is necessary to modify the filter design part. Now I’m trying to implement it.

@kan-bayashi hi the result is very good ! but generate is slowly! do you plan implement the parallel wavenet! thanks!

@kan-bayashi that may be better and more coherent indeed :)
@maozhiqiang parallel WaveNet is a solution, but it requires a (very) good teacher WaveNet and a lot of computation for training (I don't know your resources but mine are limited). Take a look at this NVIDIA github repo,  it is for "standard" WaveNet and reaches real time generation.

@julianzaidi thanks!

@julianzaidi I implemented noise shaping with stft-based mcep in mel-spectrogram recipe. Now all of the recipes can use noise shaping technique :)
@maozhiqiang As @julianzaidi said, it requires a lot of resources, but it is worth to try. I want to implement.

Thanks a lot @kan-bayashi for all your work :) I will try this !


Tanzer chokes on HTTP POSTs longer than readsize

If a HTTP POST that is longer than readsize (defined with tanzer::server::constructor) is sent, tanzer doesn't switch to the "write" state until the remote client closes the connection.

I've come up with a "workaround", although at this point I'm not sure if this is the intended behavior or not.
Compare Content-Length from "tanzer::message::length" with the data you've read, and when it matches, reset the socket with "tanzer::session::reset write"

Hi there!
Sorry for the late response; I've been on vacation lately!
If you happen to have a very small sample of code that can reproduce this problem, I'll see what I can do to make the behavior more sane, and document it accordingly.
Thanks!


What is the difference from version 4.1.3 and 4.2?

Submit your question
What is the context of your question

[ ] Learning Pathways Content

What is your question

What is the difference from version 4.1.3 and 4.2? and is there difference in content?

Hi @FadyJaradat
Content Updates and Version Updates occur separately and details for each can be viewed at the below locations.
Content Updates
Version Updates

Closing as no response has been received for 30 days past the given information


Add WebSocket Ping/Pong

This closes #187. Since browser clients do not implement WebSocket control frames, the native ping/pong mechanism is unavailable. it is left to the client/server protocol vendors to develop their own solution. This gives native clients the ability to make smarter healthcheck functions to determine the liveness state of the socket. For example, Tricordarr currently does a simple check based on the WS state https://github.com/jocosocial/tricordarr/blob/main/src/libraries/Network/Websockets.ts#L84-L91.
It is entirely possible this is a solution in search of a problem. On-board I feel like the auto reconnection library in Tricordarr seemed to work pretty well since roaming to an area with bad network closed the socket and it attempted to reconnect a few times before giving up. But I don't have specific anecdotes to confirm or deny this.

From my testing, both Chrome and Safari will respond to Ping frames sent from the server.

If we need the server to send control frames, ws.pingInterval = TimeAmount.seconds(60) is a better way to do it. The WebSocket implementation in Vapor has support for ping/pong control frames, including 'onPing' and 'onPong' callbacks that tell you when you when each type of control frame is received.

The Notification socket does not implement the onText nor onBinary handler; if there are incoming data messages from clients on the notification socket, the server isn't configured to receive them. I couldn't find anywhere that we send any data on the Notification socket other than 'SocketNotificationData' which happens at https://github.com/jocosocial/swiftarr/blob/15a6a32736735a3c793f0a5d68666b975b4d21af/Sources/swiftarr/Helpers/WebSocketStorage.swift#L60C1-L75C1.

Also, I'm not an expert on network protocols, but it appears that the WS implementations on iOS and in Safari and Chrome employ TCP keepalive, as all these clients detect when the socket has unexpectedly closed and hasn't sent a close packet (e.g. I kill the server process) and the clients detect the closure without trying to send any application-level data.
My understanding is that TCP keepalive is considered less reliable due to things like web proxies, where keepalive could only tell you that your connection to the proxy is still running but a WS-level ping would actually hit the server. I don't think this would be an issue on boat, but my past record of being correct when I think, "of course the boat's network wouldn't do that" isn't great.

I don't see any use case in the server needing to initiate sending control frames (a la ping) to clients. Server doesn't care if you're connected or not other than if you have a NotificationSocket or FezSocket within the appropriate WebSocketStorage.
Traefik is the expected termination point for any TCP connection from a client to the server while on board. Traefik to Swiftarr communication should be nearly 100% reliable. What happens between client and Traefik is where we get spicy.
Thinking out loud from the client perspective of implementing this healthcheck method, I'd need something like this:
function wsHealthCheck() {
  if socket.state != open {
    return false;
  }
  socket.sendMessage({type: ping, info: ping, contentID: abc123});
  # async/await some interval like <=5 seconds for a response
  if socket.receivedMessage.type == .pong {
    return true;
  }
  # default case should be that the socket is unhealthy
  return false;
}

In Tricordarr this likely involves some Promise() voodoo that I don't fully grok. The more I think about this the more I'm "meh" on the entire feature. If you think this could be useful I'm game to implement it. But if not I think I'm ok closing this and leaving it dormant until some future day when we have more real-boat information to inform our opinions.

I am going to close this until a more concrete need comes up.


Accessing member variable is not consistent

Perhaps this is user error, but we're not able to get/set member variables as expected.
> hi
> x = {a=0, b=0}
> x.a <- 42

> x.a
0
> x
{a=42, b=0}

It works fine with newPrim(), thought the values are then not default initialized to zero.
> x = newPrim()::{a:int, b:int}
> x.a <-42

> x
{a=42, b=65543}
> x.a
42

Yeah, this is down to an issue with the way that LLVM treats constants (usually good where we can optimize code knowing the value of these constants).  We could change the back-end to always allocate mutable memory locations for constants, though it would block constant optimization and might slightly penalize latency-critical code that uses constants (since it would have to go to memory where it might otherwise use immediate values).

FWIW, there's also "newPrimZ" to allocate fixed-length mutable memory that's zero-initialized:
> m=newPrimZ()::{x:int,y:int}
> m.x<-42

> m
{x=42, y=0}

(Most code shouldn't have stuff like this, things generally are nicer with hobbes as a "query language".)

Why are we able to partially mutate the 'constant'? I can see the first syntax creating a constant and the second one create a mutable object on the stack, but it seems in the first case then you shouldn't be able to assign to it. NB., it is being used to setup a complicated match expression.

The reason it's allowed is that mutability isn't tracked in the type system.  A long time ago, I'd considered using a monad to distinguish the two modes, but I had already heard so many complaints about the more limited type system (just structural algebraic types and constraints) being "difficult to understand" so I left it alone.  It would be worth considering.
You're using it to generate a match expression, like as text?  Or you're using a structure with guards and you want to change a field to change the behavior of the match?
I guess for now, newPrim or newPrimZ would be the way to go for that case.

Suppose we want to classify people if they are a child, adult or retired based on age, but depending on where the person lives these ranges are different. So first we setup some age range objects and then use those ranges in a match. Using newPrimZ works fine and we just need to remember to use the shorter initialization only for immutable objects.

Thanks Kalani, that explains a lot, just one more question: why in first case, when we print the constant x, it actually shows the mutated value of x.a?

LLVM works in mysterious ways, but my guess is that LLVM owns the block of constant memory and we're able to write into it just like with any other memory.  However, because it has decided that the memory is constant, then it's free to replace code referencing that data with immediate values wherever it wants.
Sometimes it does that replacement, sometimes it doesn't.
I'm working on a low-level replacement for LLVM, should be able to better point to file/line for questions like this in the future (but still will need to distinguish constant and mutable data as Brian suggested).


Support for validation against req.files

Hey Christoph,
First of all thanks a lot for the nice job you've made so far with express-validator. ;)
I've just added the the possibility to validate against req.files. I wanted to ask you how I should behave about the tests. I've seen that you're using node-request for testing the http requests, but I'm not sure whether it supports file uploading. In that case I'd be happy to write some tests, too.
Best,
David

Closing as this was partially implemented and @dapids hasn't responded in almost a year. Please open a new PR if you would like to add your change to updateParams.


Dapr Actors should not use BinaryFormatter

Expected Behavior
Dapr does not rely on deprecated features, or parts of .NET with known security vulnerabilities.
Actual Behavior
Dapr uses BinaryFormatter - which will throw an exception by default for web projects in .NET 5.
See: https://github.com/dotnet/designs/pull/141
This step is part of a long term plan to obsolete and remove BinaryFormatter from the framework. For .NET 5 it would be possible for a user to opt-in and allow it to function.
We should do the right thing and update any functionality that uses BinaryFormatter so that users aren't stung by this when they create their first .NET 5 Dapr project.
Steps to Reproduce the Problem
Build a .NET 5 Dapr Actors Application
Trigger a codepath that uses RemoteException: https://github.com/dapr/dotnet-sdk/blob/ea51561f497dae80f411300f3399202715249330/src/Dapr.Actors/Communication/RemoteException.cs

Ideas
We had a discussion with @grabyourpitchforks on our options here.
The major concern is that BinaryFormatter or any other mechanism that constructs arbitrary types can easily be used as a remote code execution vulnerability.  There's a proposal to build a general purpose safe serialization model for exceptions in .NET: https://github.com/dotnet/runtime/issues/43482 - unfortunately this is just a proposal and not something we can start using.
Do nothing - continue using BinaryFormatter
The major drawback of this is that be broken by default in .NET 5. It doesn't improve the security situation and we would leave users in a broken state immediately when they create a new project.
.NET does not allow libraries to control feature switches like this because the application author needs to understand the security risks and make the decision. Changing the defaults for users is not something we can do.
Throw a single ActorException type and don't serialize full exception details
This is the fallback case today when the server's exception type can't be serialized.
We'd include the exception message and name of the original exception type so that it's still possible to handle different cases using catch (...) when (...)
Try to implement our own serializer with limitations that avoid security flaws
Any approach to implement our own serializer will need to avoid numerous security risks to handle polymorphism correctly. We would need to build our own opt-in system for tracking which types can be serialized as well as our own allow-list of framework-provided exception types. Due to the size and amount of moving pieces this does not viable.
Decision
Ultimately we decided on option 2 - to simplify what we're sending over the wire to the minimum and revisit this scenario when the general purpose exception serialization mechanism is available in .NET.


Fixes #348 - adds missing unit

Changes

Fixes #348 - adds missing unit.
Re-generates grunt files.

Review

@sebworks
@jimmynotjim

Preview
No change.
Notes

The calculation in unit() seems to not care whether the unit is correct or not. It appears to get coerced to pixels anyway, but for clarity this should be updated.

:+1:


console.log({'<' + '/div>'}); not erroring on codespaces

Prerequisites

[X] I have searched existing issues to ensure the bug has not already been reported

[X] I have written a descriptive issue title

Versions
Only tested on latest versions as of Dec 19, 2023
Description
It doesn't seem like the xss vsCode extension is working. Additionally I don't think the xss-scan command is working as it does not seem to catch very obvious xss vulnerabilities (see below)

Steps to Reproduce

Open https://github.com/kitajs/minimal-example?tab=readme-ov-file in a codespace
paste in console.log(<div>{'<' + '/div>'}</div>);

Expected Behavior
The above should error based on what I have read in the readme here but it does not seem to have any effect.

Latest ts-html-plugin is smart enough to detect 'a' + 'b' results into 'ab', which is a string literal and should not be typed. Just updated the readme to fix this problem.


Conditionally show an input field based on its value in the FieldArray

Is it possible to render various widgets component for a field in the FieldArray based on its value?
const renderCities = ({ fields }) => { ... };
....
<FieldArray name="cities" component={renderCities} />

So it's possible to get a field value in the "renderCities" function?

Try using getFormValues selector.
Docs


How to use "many" and set proper test name at the same time?

Hello,
I really like the feature "many" (which runs unstable tests multiple times), but didn't find the way to set the test name and "many" at the same time
many 3 "Test something, do something" &&& fun _ ->
//test body

Unfortunately there is not one.
let many count f =
    let lastSuite = incrementLastTestSuite()
    [1 .. count] |> List.iter (fun _ -> lastSuite.Manys <- Test(null, f, lastSuite.TotalTestsCount)::lastSuite.Manys)

The current many uses incrementLastTestSuite which is private so you can't quickly add your own.
If you like I can add it for you and do a new nuget build.

Yes please, that would be great.

You can download the latest page here once its been indexed by nuget!
https://www.nuget.org/packages/canopy/0.9.40
nmany 5 "awesome test" (fun _ ->
    url "http://www.google.com"
)

Thanks a lot! Works great so far

Anytime, enjoy!


UsbDk_StopRedirect　need open UsbDk device link?

I have a question about this code:UsbDk_StopRedirect
In fact, it can stop redirection without using this operation.

HI,
Can you please reconfigure https://github.com/daynix/UsbDk/blob/master/.appveyor.yml in your repo to send notifications to you instead of<EMAIL_ADDRESS>Thanks.

Sorry, I didn't understand the question. What do you refer to as "it"?
Thanks.

I'm sorry about this, but I have changed it now.

I mean, no such code, this function can run normally, so I want to ask about the function of this code.

@sameehj  Yes, I think so.

You are right, can you please send a pull request that resolves this?

Note that this is not a 'local variable'. This is an object with constructor that raises exception in case it can't access the driver from the helper at the moment of the call. It also creates additional handle on the driver's device file which is closed when the UsbDk_StopRedirect procedure is fully completed. Such referencing is typical to protect the flow from corner cases. I would revert the commit until there is more serious reason to remove this reference than just 'Stop redirect works without it'.

I would revert the commit and rename the variable to reflect the actual functionality that happens during its creation.


Nice Describe

df.describe is often something I reach for:
In [157]: df = pd.read_csv("iris.csv")

In [158]: df.describe()
Out[158]:
       sepal_length  sepal_width  petal_length  petal_width
count    150.000000   150.000000    150.000000   150.000000
mean       5.843333     3.057333      3.758000     1.199333
std        0.828066     0.435866      1.765298     0.762238
min        4.300000     2.000000      1.000000     0.100000
25%        5.100000     2.800000      1.600000     0.300000
50%        5.800000     3.000000      4.350000     1.300000
75%        6.400000     3.300000      5.100000     1.800000
max        7.900000     4.400000      6.900000     2.500000

Might be nice to have this has part of dask

Closed by #725.


Address some usability issues with service affinity rules

@alena1108 @cjellick Can you review?  The drone TF looks unrelated

LGTM

LGTM

Son confirmed the build failure is from unrelated failures. Merging.


Lozad with varied-size images in multiple columns (masonry)

I am trying to use Lozad for a very image-heavy art portfolio - https://www.cooperlovano.design/new-bianca/ -  where the client wants a masonry grid (2-3 columns depending on browser size).  But how do I do this when each thumbnail is a variable size, corresponding to the aspect ratio of the image?
Is there a way of implementing lozad to work on grids of images like this, in which columns are made based on varying image sizes? In a way where the whole grid does not shift when each images is lazy loaded?
Thank you for your time, love this script

What about using flexbox? Tried to load the on my mobile, but that was a no-go. Too heavy to load.

@UisgeBeatha436 thanks for your response~
I haven't looked too far into flex because having the masonry effect to work vertically (with variable heights) seemed like it would get tricky..  To avoid this behavior:

I'd have to set a hard coded container height and use flex-flow: column wrap; plus recalculate the container heights for various window widths. If that's the only solution that's ok, if I can find something that would work the currently implemented column-wrap property that would be better.
And damn haven't had that problem on my phone, I don't think flex would help that because on mobile they are already loading in one column (so lozad should be working fine and without this column wrapping issue)

Hi,
Have a look at my gallery, based on Mansory lay-out. Framework is MDBootstrap Jquery. Hope this helps.
https://www.uisge-beatha.eu/fotos-en-videos-rondom-uisge-beatha/fotoalbums


Remove unused images from docs

It looks like these may have been created during the initial docusaurus project instantiation.

Coverage remained the same at 94.465% when pulling b35c5dcf76578d82a63b1c681346e7360cf1c171 on cody-remove-unused-images into 6ef488b1aba04a9aaf7cb8c6edb9e0ca0829aa46 on main.


acitool needs a README

Was just about to reference acitool from my minimal containers repository but realized it had no README file.

@brianredbeard Like you want a README.md here: https://github.com/appc/spec/tree/master/actool?

Yup, or documentation somewhere for the tool that doesn't require downloading, compiling, and running just to get a sense of how to use it.


deepL pro support

Hi,
The url of the deepL support is of free api but the pro url is different
https://www.deepl.com/pro-api?cta=header-pro-api

Thank you,

Thanks for the feedback! Support for DeepL Pro users will be added later.

Hi,
DeepL Pro is supported in v2.9.0.


Fix Kafka 1.0 compatibility issue in brave

Fix : https://github.com/openzipkin/brave/issues/568

This was tested locally in Kafka 0.9 and 1.0.

thanks @ImFlog


TEST-#1985: optimize common test dataset

Signed-off-by: Anatoly Myachev<EMAIL_ADDRESS>
What do these changes do?

[x] commit message follows format outlined here
[x] passes flake8 modin
[x] passes black --check modin
[x] signed commit with git commit -s
[x] Resolves #1985
[x] tests added and passing

@anmyachev I don't think it's a good idea to combine float and nan into a single dataset. It's a common case when something doesn't work with nan values and that tests marked as xfail. But in that case, we still want to run that test with float data.
However, it's just my opinion, let's wait for some others
@devin-petersohn @gshimansky

@anmyachev I don't think it's a good idea to combine float and nan into a single dataset. It's a common case when something doesn't work with nan values and that tests marked as xfail. But in that case, we still want to run that test with float data.
However, it's just my opinion, let's wait for some others
@devin-petersohn @gshimansky

At the moment, "float_with_nan" dataset does not cause problems anywhere. If in the future there are any problems with the processing of this value, then you can simply use dropna method before check.
By the way, if we remember that skipna occurs very often in Pandas api, then we can conclude that the situation when nan value is encountered in the dataset occurs quite often.

@dchigarev thanks for review!

part of #2008

Thanks @anmyachev this is very nice!