We should update our DNS configuration to not use a wildcard for subdomains

note that you can visit https://subdomain-i-just-made-up.cantusdatabase.org. This should not be allowed.
We discovered this is a problem by looking in the Google search console, where we saw that Google is trying to index mass.cantusdatabase.org (which was temporarily set up for a short while several years ago). We need to prevent people (/agents, including Google's crawlers), so that Google doesn't try to send users to this site within its search results.

At the same time you can set up configurations for your dev and staging sites so that you can deploy dev.cantusdatabase and stage.cantusdatabase.

This is now fixed!


Ability to ignore fields and type using Jackson Annotations

As discussed in #87, fields and types may now be hidden in representations via Jackson (2.x) annotations

Ok, after thinking more about the idea, Jackson is quite used in real-world projects (as there is no final JSONB yet...). Will look into and merge this in (hopefully) a few days.
Thanks already!

Hi @sdaschner, I've just merged this PR with trunk so the merge should be automatic now. Let me know if you need anything else to get this accepted. Thanks

Thx!

:+1:

Fixed some minor issues, you might have a look at these :)


feature.vectorbase download files missing , error message unclear

https://feature.vectorbase.org/vectorbase.feature/app/workspace/analyses/DS_64ea3f9fb2
when trying to download... we get this error, probably because we dont have the files folder ready...
i asked for a clearer message in slack:
Ryan Doherty:
[@dfalke] I think the API will tell you which project IDs are present if you ask...?
Dave Falke:
I think the client just needs to handle this response better

old..


[WFLY-14815] Temporarily disable broken assertions so Undertow can be…

… upgraded (see UNDERTOW-1837)
Jira: https://issues.redhat.com/browse/WFLY-14815
Another PR will follow to fix the test, the PR will only pass with Undertow upgrade (containing UNDERTOW-1837 fix)

I'm going to merge this without waiting for CI to complete as the affected test and its testsuite module has already passed in all the running jobs.


change license to apache

we always use apache because we say we will in our funding.
please change asap, because we need for eLife submission.

i did it :)


httpie seems to be adding a \n to the end of redirected input

Checklist

[x ] I've searched for similar issues.
[x ] I'm using the the latest version of HTTPie.

What are the steps to reproduce the problem?

Make a HTTP request to an endpoint, using an arbitrary string as the request body. e.g. echo "hello" > HTTP POST -v url/post-endpoint
Make the same request using curl, adding the -X and -d flags to simulate the same request.

What is the expected result?
The request bodies should have the same content-length and content.
What happens instead?
The httpie request is larger by one byte, and looking at the packets, seems to have an added \n at the end.
This will be fine in most cases, but where content-length is strictly monitored this will cause errors that are somewhat tricky to debug.

Update for anyone else running into this: this isn't httpie's fault, it's echo's. echo -n to fix.


update packages

:x: Build TheIdServer 6.3.1-fix-dependencies1-0237 failed (commit https://github.com/Aguafrommars/TheIdServer/commit/8234bb1a44 by @)

:x: Build TheIdServer 6.3.1-fix-dependencies1-0240 failed (commit https://github.com/Aguafrommars/TheIdServer/commit/9ef32e177c by @)


ImportError: No module named core.parsing

After creating an environment, when I enter the command stlinspector . It throws an error,
from ..core.parsing import *
ImportError: No module named core.parsing

OS: Windows 10, Python: 2.7.9
@HendrikRoehm

Hi @amandalmia14, thanks for sharing. I have to investigate this error.
As far as I can see it you are using anaconda. Can you give me the list of commands you use to start the environment and install stlinspector in it?

@HendrikRoehm
I used conda create -n stl_inspector_test python=2.7.9 to create an environment in Anaconda.
After activating the environment, I installed pip install STLInspector

@amandalmia14 sorry for the delay. I will be able to dig deeper today. Have you found any helpful information in the meantime?

@HendrikRoehm No luck :(

I can reproduce the problem. The quickfix seems to be using stlinspector in development mode. You have to clone the code and follow the steps in doc/development.md with python setup.py develop.

Found the issue. We did not package all required python files into the distribution package. New version should be available via pip in some minutes.

New package version is available: pip install --upgrade stlinspector


Dropdown is way off under

Hi please see attached image.
The dropdown is way off down the screen and hidden under other controls.

@JAMAL0123 can you share some code and mainly how are you wrapping the PaperProvider

Hello, here is a sample code attached. Image from my iphone, expo go.
Web seems to look ok (but still off)
rnpd.zip


Lagg issue

I am having sever lagg issues, from what i can see its a mod loading soemthing my computer cant hanndle and the only thing i can se on opis is 300 soemthing loaded chunks tps is 20 across the board
this is the tracking Dimensions http://prntscr.com/9zo05x i have tryed purging but it goes straight back to supper lagg I know its one of the mods screwing something up but I cant figure it out someple please help me.. I'm going to test some other mods, I'm starting with TerraFirmaCraft_TNFC

All of that seems fine. Your render distance determines how many chunks are loaded. At 10 chunks it is 400 chunks surrounding, give or take. The fact that the TPS is 20 suggest that the issue is client side and will be either render issues or an issue with your java GC settings. My suggestion is to go read http://wiki.terrafirmacraft.com/Performance_Optimization for some JVM arguments for you client. Basically it is caused when java fills up the heap space where is stored temporary files it needs and has to empty it. If this isn't optimized (and by default java is crap at it) the client will lag in a regular pattern. If you open your F3 debug screen you will see the RAM used and allocated, the lag will correspond when the percentage drops.
Also don't fall into the trap that more RAM is better. You shouldn't set the allocation above 3 unless you are running high def textures or shaders, or if you are crashing with out of memory error.

I do have 6g of ram alocated i can put more if needed but that hjas never been the issue so i did some further digging and jsut was like f it and deleted the whole thing and reinstalled it and put on optifine and lowered some of the settings that would cause client side lagg and fixed my lagg problem but ty for the help : ) Oh and that number jumped to 2999 when i gave up XD so i knew something i had messed up or soemthing so eh : )

Hi!
The pack appears to be causing a memory leak, which is probably why you're seeing lag spikes. I set up a server ~12h ago and already the old-gen is completely full and the server is GC thrashing. I'm using this mod to help monitor:
http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2413629-prometheus-server-monitoring-integration
I have JVM flags set to dump a heap when the GC thrashing takes >80% of the JVMs execution time. Looking at the graphs that will be sometime today, so I should have much better information on what's leaking this evening.

Someone logged on and all the RAM that was being held live by ... something ... got GCd, so the server recovered. I will keep this thread updated. The container now has jmap in it, so i can grab dumps whenever.

OK, so it happened again and this time I got a heap. The problem seems to occur during the worldgen that occurs as players walk around. The heap dump I'm looking at has 7301 chunks loaded. 2545 are directly held live by a farseek.world.gen.structure.StructureGenerationChunkProvider and its loadedChunks hash map. Another 4756 are directly referenced by nothing in particular and appear to have leaked somehow -- this might explain how the server previously recovered. I'm wondering if they're using weak references or similar to keep things around and they can only be collected by a full GC rather than a CMS collection.
I will go and file an issue over there.

Thanks. I'll look into this a bit too. I also noticed that plant mega pack pushed an update due to a worldgen issue that caused crashes. I'll see if there are any crash logs posted publicly for that.

It seems that the rest of the loaded chunks have a path to the GC roots via a com.bioxx.tfc.Chunkdata.ChunkDataManager, but the reference from com.bioxx.tfc.Chunkdata.ChunkData to its "chunk" variable is not being recognised as retaining the net.minecraft.world.chunk.Chunk by MAT. That's irritating. It seems from the code over there that the chunk variable is declared final.
https://github.com/Deadrik/TFCraft/blob/master/src/Common/com/bioxx/tfc/Chunkdata/ChunkData.java
I don't know whether that is the reason why MAT doesn't think it's a dominator.

For the record, we're having a reasonable amount of luck using ProfMobius's Admin Commands Toolbox to pre-generate lots of chunks so players can go exploring.
http://mods.curse.com/mc-mods/minecraft/221584-admin-commands-toolbox
Anyone reading this should note that the /pregen commands all take chunk coords not block coords. Divide in game coords by 16, or you'll end up generating thousands of chunks more than you expect, nowhere near where you want them :-)

Yes that is a decent tool. We include WorldBoarder-Forge as an option in the server package to use for pregeneration. It is a tool we were comfortable with from use on mcpc+/cauldron servers and found it an intuitive, well documented and stable tool.
As for the rest, I've poked my collaborator as I don't have a programming background and am slower digesting things such as this.


Crash Help/ Is there a minimum WebView version requirement?

Since deploying a release that uses this solution, we're seeing a few crashes related to WebView.
The crashes stack trace is very minimal.
We're seeing mostly these backtraces:

#00  pc<PHONE_NUMBER>22b8e4  /data/app/com.google.android.webview-zMUjRZufGOV7-CbaGNRNTA==/base.apk!libmonochrome.so (offset 0x352000)

And a few of these:

#00  pc<PHONE_NUMBER>8835c6  /product/app/TrichromeLibrary/TrichromeLibrary.apk!libmonochrome.so (offset 0x645000)

StackOverflow posts suggest that this may be related to Web View version issue.
So the question is if this is indeed the case and if there's a minimum Web View version limitation.

Hi, i don't know what is triggering that issue. Please let us know if you find out more.


Improve ToolCollector to differentiate crashes and user_errors

and track tool version relative to these success stats.

Looks great, ready to go 🚀


Update ruler canvas on AnimationFrame (requires IE10+)

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Is your feature request related to a problem? Please describe.
Not really. I guess every performance issue is related to this.
Problem
Currently the ruler updates with a debounce function or when the editor ui refreshes. If you have many shapes and/or a weak device the ruler redrawing will start lagging.

A debounce function updates arbitrary, irregularly.
Calling refresh many times can result into too many irregular updates, creating CPU spikes.

The redrawing/resizing should only happen

on an event (it already does)
on a new frame
before the next Browser repaint

Suggestion
Using the Browser animation frame API we can update before a Browser repaint and really only when it is needed. No debounce required since we can cancel previous operations.
animationId = -1

someListener = function() {
    cancelAnimationFrame(animationId);
    animationId = requestAnimationFrame(function() {
        // do ruler updates here
    });
};

API availabe for: https://caniuse.com/#search=animationframe
Additional context
I"ve tested this on an unoptimized project and it dramatically improved the ruler smoothness and performance. I haven't looked into other parts of drawio, but I guess that resizing the sidebar can use the same technique since it will require some expensive operations such as validating the background of the graph view. This is an improvement, but the underlying problem why such an optimization has any effect in the first place is because there can be too many nodes in the DOM tree. A WebGL renderer would be the biggest performance improvement.

Also interesting

The API requestAnimationFrame() should be called for each animation-like function since they will be added internally to a callback list. Don't create a singleton where you combine-reduce all functions into one, it's counter productive.

The returned ID is unique to the particular request, not to the whole frame with all callbacks. If you need the whole frame you can pass DOMHighResTimeStamp to it.

Added, should be in the next release


V0.9.0

Support multi-task generation

Codecov Report

Merging #43 (761dd06) into main (99a6b14) will increase coverage by 0.15%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #43      +/-   ##
==========================================
+ Coverage   97.77%   97.93%   +0.15%
==========================================
  Files          22       24       +2
  Lines         853      918      +65
==========================================
+ Hits          834      899      +65
  Misses         19       19

Impacted Files
Coverage Δ

setup.py
0.00% <ø> (ø)

gusty/building.py
99.35% <100.00%> (+0.01%)
:arrow_up:

gusty/parsing/__init__.py
100.00% <100.00%> (ø)

tests/dags/multi_task/multi_python.py
100.00% <100.00%> (ø)

tests/test_multi_task.py
100.00% <100.00%> (ø)

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 99a6b14...761dd06. Read the comment docs.


Read content of the sqlite db from visual studio

Is there a way to read the content of the Sqlite database from visual studio and/or manually insert entries or delete them without running the application?
Sincerely

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 3ab6098a-39c7-151f-124b-f88aa62c4659
Version Independent ID: dc27c1e4-ff12-c1af-646a-c2617def0bcd
Content: Xamarin.Forms Local Databases - Xamarin
Content Source: docs/xamarin-forms/app-fundamentals/databases.md
Product: xamarin
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Hi @BrayanKhosravian
It can be done but it's not necessarily a quick solution.
https://forums.xamarin.com/discussion/93238/is-it-possible-to-view-the-contents-of-sqlite-database
https://stackoverflow.com/questions/33448255/how-to-browse-sqlite-data-in-xamarin


Intermittent CI fail: not landed before mission start

Recently, I saw that a CI failure where the integration test failed because arming failed because the system was not landed as it should have been before the mission was started:
[03:07:15|Info ] Starting mission. (mission.cpp:227)
[03:07:15|Debug] current: 0, total: 6 (mission_impl.cpp:1283)
[03:07:15|Info ] Mission status update: 0 / 6 (mission.cpp:219)
[03:07:15|Info ] Started mission. (mission.cpp:233)
[03:07:15|Debug] MAVLink: info: Takeoff to 10.0 meters above home. (system_impl.cpp:304)
[03:07:16|Debug] MAVLink: info: Takeoff detected (system_impl.cpp:304)
[03:07:19|Debug] current: 1, total: 6 (mission_impl.cpp:1283)
[03:07:19|Info ] Mission status update: 1 / 6 (mission.cpp:219)
[03:07:21|Debug] current: 2, total: 6 (mission_impl.cpp:1283)
[03:07:21|Info ] Mission status update: 2 / 6 (mission.cpp:219)
[03:07:21|Info ] Mission paused. (mission.cpp:313)
[03:07:26|Info ] Resuming mission... (mission.cpp:328)
[03:07:26|Info ] Mission resumed. (mission.cpp:337)
[03:07:27|Debug] current: 3, total: 6 (mission_impl.cpp:1283)
[03:07:27|Info ] Mission status update: 3 / 6 (mission.cpp:219)
[03:07:28|Debug] current: 4, total: 6 (mission_impl.cpp:1283)
[03:07:28|Info ] Mission status update: 4 / 6 (mission.cpp:219)
[03:07:30|Debug] current: 5, total: 6 (mission_impl.cpp:1283)
[03:07:30|Info ] Mission status update: 5 / 6 (mission.cpp:219)
[03:07:31|Debug] current: 6, total: 6 (mission_impl.cpp:1283)
[03:07:31|Info ] Mission status update: 6 / 6 (mission.cpp:219)
[03:07:31|Debug] MAVLink: info: Returning to launch (system_impl.cpp:304)
[03:07:31|Debug] MAVLink: info: RTL HOME activated (system_impl.cpp:304)
[03:07:31|Debug] MAVLink: info: RTL: climb to 519 m (30 m above home) (system_impl.cpp:304)
[03:07:33|Debug] MAVLink: info: RTL: return at 519 m (30 m above home) (system_impl.cpp:304)
[03:07:34|Debug] MAVLink: info: RTL: land at home (system_impl.cpp:304)
[03:07:38|Info ] Disarmed. (mission.cpp:252)
[03:07:38|Info ] Clearing mission. (mission.cpp:255)
[03:07:38|Info ] Mission accepted (mission_impl.cpp:171)
[03:07:38|Info ] System ready (mission.cpp:88)
[03:07:38|Info ] Creating and uploading mission (mission.cpp:89)
[03:07:38|Info ] Uploading mission... (mission.cpp:165)
[03:07:38|Warn ] Conflicting options set: fly_through=true and loiter_time>0. (mission_impl.cpp:760)
[03:07:38|Info ] Cleared mission, exiting. (mission.cpp:261)
[03:07:38|Debug] Send mission item 0 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 1 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 2 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 3 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 4 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 5 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 6 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 7 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 8 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 9 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 10 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 11 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 12 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 13 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 14 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 15 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 16 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 17 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 18 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 19 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 20 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 21 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 22 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 23 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 24 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 25 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 26 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 27 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 28 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 29 (mission_impl.cpp:1201)
[03:07:38|Debug] Send mission item 30 (mission_impl.cpp:1201)
[03:07:38|Info ] Mission accepted (mission_impl.cpp:171)
[03:07:38|Info ] Mission uploaded. (mission.cpp:173)
[03:07:38|Info ] Downloading mission... (mission.cpp:183)
[03:07:38|Debug] Requested mission item 0 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 0 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 1 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 1 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 2 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 2 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 3 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 3 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 4 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 4 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 5 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 5 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 6 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 6 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 7 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 7 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 8 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 8 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 9 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 9 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 10 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 10 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 11 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 11 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 12 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 12 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 13 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 13 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 14 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 14 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 15 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 15 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 16 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 16 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 17 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 17 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 18 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 18 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 19 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 19 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 20 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 20 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 21 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 21 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 22 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 22 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 23 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 23 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 24 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 24 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 25 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 25 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 26 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 26 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 27 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 27 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 28 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 28 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 29 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 29 (mission_impl.cpp:298)
[03:07:38|Debug] Requested mission item 30 (mission_impl.cpp:1023)
[03:07:38|Debug] Received mission item 30 (mission_impl.cpp:298)
[03:07:38|Debug] Assembling Message: 0 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 1 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 2 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 3 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 4 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 5 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 6 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 7 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 8 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 9 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 10 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 11 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 12 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 13 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 14 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 15 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 16 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 17 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 18 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 19 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 20 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 21 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 22 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 23 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 24 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 25 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 26 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 27 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 28 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 29 (mission_impl.cpp:899)
[03:07:38|Debug] Assembling Message: 30 (mission_impl.cpp:899)
[03:07:38|Info ] Mission downloaded (to check it). (mission.cpp:194)
[03:07:38|Info ] Arming... (mission.cpp:212)
../../../../src/integration_tests/mission.cpp:214: Failure
Expected equality of these values:
  arm_result
    Which is: 4-byte object <07-00 00-00>
  Action::Result::SUCCESS
    Which is: 4-byte object <01-00 00-00>

http://ci.px4.io:8080/blue/organizations/jenkins/mavlink%2FMAVSDK/detail/PR-850/40/pipeline/24

This has not happened in a long time, closing.


Docker-Compose Configuration

I have been using restic for a few months and today I've decided I want to make setting up restic on other computers as simple as possible in a secure and repeatable way. So I want to add a docker-compose configuration to the docker/ directory to make it simple to setup backups in many environments.
I can also include updates to the README.md with instructions for using docker-compose to configure restic.

While this is a nice idea (and I appreciate your offer to contribute), it feels to me that we should instead move the docker configuration stuff out of the restic repository to somewhere else. It's a way to run restic, but it's not the only way, so there will be other users who want to run restic in some other way and over time we'll accumulate all kind of stuff in the restic repo which has to be maintained.
Would you like to start a separate repo somewhere else? :)

I've prepared a docker compose file as well. Possibly we could group up? Mine's right here:
https://git.in-ulm.de/ulpeters/minio/src/master/restic

The docker-compose configuration seems to be highly specific to the target environment, so it's probably better suited for the recipes section of the forum.

In 2020 it was very generic, but I recently added support for Prometheus what bloated it up. If you like I can make a PR with a generic variant?

Thanks, but I'd prefer to keep it in the recipes section of the forum.


Fix import path for isPluginRequired and use correct built-ins

Relates to #3671

I guess you'd also want to mention in package.json that this change requires @babel/preset-env at ^7.4.0

I guess you'd also want to mention in package.json that this change requires @babel/preset-env at ^7.4.0

Good catch! I was a bit too quick. I have updated the PR now.

This PR becomes obsolete with the release of @babel/preset-env v.7.4.1.

Please update package.json to ^7.4.1 to avoid accidentally downloading 7.4.0


Add ExceptionDetector back into CKAN

Updated because people have been asking me :)

Looks good, merging with my thanks.


EOL precise

Marks precise as EOL'd!
precise!

Great timing 😜

LGTM, actually ,-)

I'm actually concerned there's no properly documented migration path from precise, though.  Especially since it looks like upgrading doesn't work; there needs to be documentation somewhere obvious so we don't get (quite as large) a torrent of bug reports.

Any thoughts towards migration?  @DennisLfromGA did you ever figure out a decent upgrade path?

OK at this point we should probably just merge this.

Sorry, I couldn't find a decent upgrade path, I tried and failed.
Going to almost any release from precise was problematic for me.


Button inside shadow-root is not disabled

Prerequisites

[X] I have read the Contributing Guidelines.
[X] I have not leaked any internal/restricted information like screenshots, videos, code snippets, links etc.

What happened?
If ix-button or ix-icon-button is disabled, button element inside shadow-root is enabled. I would expect it also to be disabled.

What type of frontend framework are you seeing the problem on?
Angular
Which version of iX do you use?
v2.2.1
Code to produce this issue.
<ix-button disabled class="m-1">Disabled button</ix-button>
<ix-icon-button icon="info" variant="Primary" disabled class="m-1"></ix-icon-button>

@petrakristova why do you expect this?

Because if assistive reader or test framework gets the button, it gives you false reading of the disabled state.


Macro imports become unavailable after exception

Environment

Elixir & Erlang/OTP versions (elixir --version): 1.17.2 / OTP27
Operating system: apple darwin
How have you started Livebook: Livebook Desktop
Livebook version (use git rev-parse HEAD if running with mix): 0.14.4
Browsers that reproduce this bug (the more the merrier): Firefox, Chrome
Include what is logged in the browser console: phx-* update events
Include what is logged to the server console: -

Current behavior

This is just an example but isn't specific to assert, it is the case whenever an exception is followed by an imported macro.
Expected behavior
The second assert call should succeed, like in IEx:
iex(1)> import ExUnit.Assertions
ExUnit.Assertions
iex(2)> assert 1 == 2
** (ExUnit.AssertionError)

Assertion with == failed
code:  assert 1 == 2
left:  1
right: 2

    lib/ex_unit/assertions.ex:413: ExUnit.Assertions.assert/2
    iex:2: (file)
iex(2)> assert 1 == 1
true

@sabiwara great catch, thank you!


Add dependency status via Gemnasium to README

The dependency status is an indicator of how up-to-date the project's gem dependencies are with the latest versions.

Cool! Thanks.

You're welcome. Thanks for the quick merge! :metal:


Replanning with trigger skipped markers

Currently replanning isn't useful for us, since it might skip event markers.
E.g., A robot run to the center line, then come back to shoot. During the first path it uses a vision algorithm and managed to get a note 1m closer, meaning that in the way back it'll start from there. In the way back there's a marker that turns on the shooter, but it'll be skipped and the robot won't shoot.
The suggested behavior is adding an option to ReplanningConfig to trigger all skipped event markers (in order).

No longer relevant as replanning was almost entirely removed in favor of leaving complex on-they-fly generation like that up to the user. A generalized PPLib solution caused a lot of hard to debug issues and doesn't work ideally for everyone.


Add service monitor

Overview
Add a Prometheus ServiceMonitor template and values.
What this PR does / why we need it
Closes #5
Special notes for your reviewer
Checklist

[x] Change log updated in Chart.yaml (see the contributing guide for details)
[x] Chart version bumped in Chart.yaml (see the contributing guide for details)
[x] Documentation regenerated by running make docs

Hi @sagikazarmark, thanks for reviewing. Will update shortly.

Hi @mkoertgen,
Is there smth missing in this PR? We are eagerly waiting for this 😄 Thx.

@dirien Not 100% sure. I updated outdated code changes.
If I understand correctly the check-workflow needs an approval to run.
@sagikazarmark Would you mind?

The DCO is on your side @mkoertgen you can git commit --amend -s and  git push the branch. Worst case, would be that you either need to squash your branch to a single commit or have to sign each commit. I prefer to squash.
So lets see what the maintainer will say!
Thanks for your effort, btw!

Thx for the clarification, @dirien. Merged master, squashed & signed-off.

I have another PR open in dex but I have the feeling, either the exising member are too busy to maintain the project in full extend or the upstream is slowly dying :(
Would volunteer to join the organization to help

hi @mkoertgen, did you had time to check the suggestion of @sagikazarmark?

Hi @dirien ,
No sorry, I have been busy over the week. Will update the PR this afternoon.

Hi @sagikazarmark ,
Can you point me to the contributing guide? Cannot find it.
Also I don't use "make" on a daily basis but I am familiar with helm-docs.
Bumping the version would be here?

https://github.com/dexidp/helm-charts/blob/83db6aec1634eea20e5850fda204ac4729fcedb9/charts/dex/Chart.yaml#L4

What version would you like it to be? Like 0.6.5 -> 0.7.0?
Look, I love to contribute but I feel stupid and lost here.
Would you mind taking over the PR and modify or close altogether at your convenience?

@mkoertgen I would say 0.7.0 as introducing a new resource is not a patch for me and justifies the minor version bump. But thats IMHO only.

@mkoertgen please see #73 and test it in your environment if possible.


Export image on demo website not working

When i click the "export image", it opens a new tab, but then nothing happens.
http://vincentgarreau.com/particles.js/#default

+1

+1

@rizkysyazuli try right click on canvas > Save as 😄


Support Discard for soft-deletes

This adds support for properly counting things when using the Discard gem for soft deletes.

I'm not sure this makes sense unless a default_scope is used (which isn't default or recommended).

Can you elaborate? I added this patch specifically because I didn't want to use default_scope with Discard.
As near as I can tell, this works fine without the default scope by:

decrementing the count before_discard
incrementing it before_undiscard
filtering on records where the discard_column is not null when reconciling counts

@reidab this makes sense to me; a soft-deleted model should still decrement the count. Released as 1.12.0. Thanks for your contribution!
Also @jhawthorn 👋 — small world!

:wave: :heart: @magnusvk Hope you're doing well!


Document using a custom CoreDNS image repository

Fixes kubernetes/kubeadm#821.

/assign @chenopis

/lgtm

@tengqm
this one is for 1.10 as it's a generic CoreDNS change, since CoreDNS is already available to the users.
however, we are switching to CoreDNS by default and all changes related to that should go against release-1.11. i'm actually about to start working on a PR for it and will attempt to cherry-pick/close other PRs and keep the work centralized...

/lgtm

thanks!
/lgtm

/approve


can't build

Error:Failed to resolve: com.android.support:support-emoji-bundled:26.0.0-beta1
Install Repository and sync project
Open File
Show in Project Structure dialog

Error:Failed to resolve: com.android.support:support-annotations:26.0.0-beta1
Install Repository and sync project
Open File
Show in Project Structure dialog

Error:Failed to resolve: com.android.support:support-emoji-appcompat:26.0.0-beta1
Install Repository and sync project
Open File
Show in Project Structure dialog

Error:Failed to resolve: com.android.support:appcompat-v7:26.0.0-beta1
Install Repository and sync project
Open File
Show in Project Structure dialog

Error:Failed to resolve: com.android.support:support-emoji:26.0.0-beta1
Install Repository and sync project
Open File
Show in Project Structure dialog

Gradle sync failed: Failed to find target with hash string 'android-O'

Nevermind, just figured out that I need the Android Studio 3 preview to download the required files with the SDK manager...


Snaps "Automatic refreshes" broke Cluster

Snaps feature  "Automatic refreshes" broke my lxd cluster.
Please see attached syslog files from the 3 servers and look for
lxd.daemon ... => Stop reason is: snap refresh

Server 1:
root@helix01:~# snap list
Name  Version  Rev   Tracking  Publisher   Notes
core  16-2.35  5328  stable    canonical✓  core
lxd   3.0.2    8701  3.0       canonical✓  -

Server 2:
root@helix02:~# snap list
Name  Version  Rev   Tracking  Publisher   Notes
core  16-2.35  5328  stable    canonical✓  core
lxd   3.0.2    8701  3.0       canonical✓  -

Server 3:
root@helix03:~# snap list
Name  Version  Rev   Tracking  Publisher   Notes
core  16-2.35  5328  stable    canonical✓  core
lxd   3.0.1    8028  3.0       canonical✓  -

At first i tried to reload the lxd daemon on all 3 servers, which worked for server 1 and 2 but not for server 3.
Trying to start lxd on server 3 outputted the following in debug mode:
root@helix03:~# sudo lxd --debug --group lxd
DBUG[09-18|11:05:37] Connecting to a local LXD over a Unix socket
DBUG[09-18|11:05:37] Sending request to LXD                   etag= method=GET url=http://unix.socket/1.0
INFO[09-18|11:05:37] LXD 3.0.1 is starting in normal mode     path=/var/snap/lxd/common/lxd
INFO[09-18|11:05:37] Kernel uid/gid map:
INFO[09-18|11:05:37]  - u 0 0<PHONE_NUMBER>
INFO[09-18|11:05:37]  - g 0 0<PHONE_NUMBER>
INFO[09-18|11:05:37] Configured LXD uid/gid map:
INFO[09-18|11:05:37]  - u 0 1000000<PHONE_NUMBER>
INFO[09-18|11:05:37]  - g 0 1000000<PHONE_NUMBER>
WARN[09-18|11:05:37] CGroup memory swap accounting is disabled, swap limits will be ignored.
INFO[09-18|11:05:37] Initializing local database
INFO[09-18|11:05:37] Initializing database gateway
INFO[09-18|11:05:37] Start database node                      address=<IP_ADDRESS>:18443 id=3
INFO[09-18|11:05:37] Raft: Restored from snapshot 92-745698-1537268305614
INFO[09-18|11:05:37] Raft: Initial configuration (index=77): [{Suffrage:Voter ID:1 Address:0} {Suffrage:Voter ID:2 Address:<IP_ADDRESS>:18443} {Suffrage:Voter ID:3 Address:<IP_ADDRESS>:18443}]
INFO[09-18|11:05:37] Raft: Node at <IP_ADDRESS>:18443 [Follower] entering Follower state (Leader: "")
INFO[09-18|11:05:37] LXD isn't socket activated
DBUG[09-18|11:05:37] Connecting to a local LXD over a Unix socket
DBUG[09-18|11:05:37] Sending request to LXD                   etag= method=GET url=http://unix.socket/1.0
DBUG[09-18|11:05:37] Detected stale unix socket, deleting
DBUG[09-18|11:05:37] Detected stale unix socket, deleting
INFO[09-18|11:05:37] Starting /dev/lxd handler:
INFO[09-18|11:05:37]  - binding devlxd socket                 socket=/var/snap/lxd/common/lxd/devlxd/sock
INFO[09-18|11:05:37] REST API daemon:
INFO[09-18|11:05:37]  - binding Unix socket                   socket=/var/snap/lxd/common/lxd/unix.socket
INFO[09-18|11:05:37]  - binding TCP socket                    socket=<IP_ADDRESS>:18443
INFO[09-18|11:05:37] Initializing global database
DBUG[09-18|11:05:37] Failed to establish gRPC connection with <IP_ADDRESS>:18443: 404 Not Found
DBUG[09-18|11:05:37] Failed to establish gRPC connection with <IP_ADDRESS>:18443: 404 Not Found
DBUG[09-18|11:05:37] Found cert                               k=0
DBUG[09-18|11:05:37] Failed to establish gRPC connection with <IP_ADDRESS>:18443: 503 Service Unavailable
DBUG[09-18|11:05:37] Failed to establish gRPC connection with <IP_ADDRESS>:18443: 404 Not Found
DBUG[09-18|11:05:37] Failed to establish gRPC connection with <IP_ADDRESS>:18443: 404 Not Found
DBUG[09-18|11:05:37] Found cert                               k=0
DBUG[09-18|11:05:37] Failed to establish gRPC connection with <IP_ADDRESS>:18443: 503 Service Unavailable
DBUG[09-18|11:05:38] Failed to establish gRPC connection with <IP_ADDRESS>:18443: 404 Not Found
DBUG[09-18|11:05:38] Failed to establish gRPC connection with <IP_ADDRESS>:18443: 404 Not Found
DBUG[09-18|11:05:38] Found cert                               k=0
DBUG[09-18|11:05:38] Failed to establish gRPC connection with <IP_ADDRESS>:18443: 503 Service Unavailable
DBUG[09-18|11:05:38] Failed to establish gRPC connection with <IP_ADDRESS>:18443: 404 Not Found
DBUG[09-18|11:05:38] Failed to establish gRPC connection with <IP_ADDRESS>:18443: 404 Not Found
DBUG[09-18|11:05:38] Found cert                               k=0
DBUG[09-18|11:05:38] Failed to establish gRPC connection with <IP_ADDRESS>:18443: 503 Service Unavailable
DBUG[09-18|11:05:38] Found cert                               k=0
INFO[09-18|11:05:38] Raft-http: Establishing new connection with <IP_ADDRESS>:18443
DBUG[09-18|11:05:38] Raft-net: <IP_ADDRESS>:18443 accepted connection from: <IP_ADDRESS>:54914
panic: wal frames txn 745700 (1): out of memory

trace:
2018-09-18 11:05:37.21763: fsm: restore=745698 start
2018-09-18 11:05:37.21763: fsm: restore=745698 database size: 4096
2018-09-18 11:05:37.21764: fsm: restore=745698 wal size: 267832
2018-09-18 11:05:37.21789: fsm: restore=745698 filename: db.bin
2018-09-18 11:05:37.21790: fsm: restore=745698 transaction ID:
2018-09-18 11:05:37.21846: fsm: restore=745698 open follower: db.bin
2018-09-18 11:05:37.21987: fsm: restore=745698 done
2018-09-18 11:05:38.62932: fsm: term=93 index=745701 cmd=frames txn=745700 pages=0 commit=1 start
2018-09-18 11:05:38.62945: fsm: term=93 index=745701 cmd=frames failed: wal frames txn 745700 (1): out of memory

goroutine 10 [running]:
github.com/CanonicalLtd/dqlite/internal/trace.(*Tracer).Panic(0xc4202c57c0, 0xfff699, 0x2, 0xc42062bd20, 0x1, 0x1)
	/build/lxd/parts/lxd/go/src/github.com/CanonicalLtd/dqlite/internal/trace/tracer.go:59 +0x12c
github.com/CanonicalLtd/dqlite/internal/replication.(*FSM).Apply(0xc420369300, 0xc420218150, 0x0, 0x0)
	/build/lxd/parts/lxd/go/src/github.com/CanonicalLtd/dqlite/internal/replication/fsm.go:84 +0x137
github.com/hashicorp/raft.(*Raft).runFSM.func1(0xc42030f870)
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/fsm.go:57 +0x15a
github.com/hashicorp/raft.(*Raft).runFSM(0xc42022cb00)
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/fsm.go:120 +0x2fa
github.com/hashicorp/raft.(*Raft).(github.com/hashicorp/raft.runFSM)-fm()
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/api.go:506 +0x2a
github.com/hashicorp/raft.(*raftState).goFunc.func1(0xc42022cb00, 0xc4204d63a0)
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/state.go:146 +0x53
created by github.com/hashicorp/raft.(*raftState).goFunc
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/state.go:144 +0x66

The problem was fixed by running "snap refresh" on server3.
I also attached syslog from lxd for the three servers.
syslog-helix01.txt
syslog-helix02.txt
syslog-helix03.txt

You need to upgrade Server 3 as well with snap refresh, to match the version of Server 1 and 2.

Hi thanks for your response.
As i already said at the end of my issue ticket i did that and the cluster is running again.
However i think there should be a readable message or something like that which states your version is not compatible and not an critical panic out of memory error message. ;-)
panic: wal frames txn 745700 (1): out of memory

Ok, so I think we can actually close this issue as everything mentioned here has actually been fixed.
The problem is that LXD 3.0.1 didn't have any of the fixes so this one upgrade was still a mess...
Things should go much much smoother when going to 3.0.3.
The panic I believe is because of 3.0.1 trying to talk to 3.0.2 where the database was changed to a different protocol and the old implementation didn't have much in the way of guarding for such changes.
The hang during upgrade that happened is also fixed starting with 3.0.2. LXD now has logic to automatically detect when another cluster node has updated to something more recent than itself and will self-initiate a snap refresh to get itself onto that version.
We've seen this at work when people starting upgrading from 3.4 to 3.5 and it seems to have been working mostly as intended (only had one report where a user had a stuck cluster member that wouldn't shut down and so was holding the cluster).


Initialize DiagnosticStore on register_diagnostic if it does not exist

Objective

Fixes #8782

Solution

Call init_resource on register_diagnostic so that a DiagnosticStore gets initialized if it does not exist.

@mockersf what do you think? You suggested this change.

This is a tricky behavior. Now, the user could forget to add the DiagnosticsPlugin without a panic.

Well... to be honest, I would suggest nuking the DiagnosticsPlugin completely. Its sole purpose is adding the resource (and also log system info), which is meaningless if you don't register a diagnostic. So the important part is registering a diagnostic, not adding the plugin which adds an empty resource, and it makes sense for me to move the focus from the plugin to the actual diagnostic.
I'm not sure how to read your tables, but registering a diagnostic before adding the DiagnosticPlugin will have zero impact / bug / anything.

I'm not sure how to read your tables

My concern was that the user would forget to add DiagnosticsPlugin, expect the behaviors from DiagnosticsPlugin and not see them and be surprised.
I didn't realize DiagnosticsPlugin doesn't add much behavior (so it's easy to know what is broken and how to fix it if you forgot to add DiagnosticsPlugin). In which case I think it's better to not fail if the user adds the diagnostics before the plugin.


Configuration of delimiters/etc does not work

There is just running wheel, see:

Steps to reproduce: Create task, Upload file, click on settings.

Problem with null value/empty string for custom encoding. Then solved


"Failed to update the monitor" after updating existing monitor config (and selecting notification channel)

After updating to Opensearch 2.0.0 (via Helm Chart 2.0.1), there is a new error in place:
On updating an existing monitor config, e.g. selecting a channel on a notification entry and click on "Update", the following message occurs:
[illegal_state_exception] Can't get text on a START_OBJECT at 1:1552
depending on the monitor config sometimes a different line number:
[illegal_state_exception] Can't get text on a START_OBJECT at 1:1536
steps to reproduce:

open existing monitor config and click "Edit"
scroll down to the triggers and extend the actions. Note that the "Channel" field is filled out with a channel name
do not change anything and click on "Update"
the error message occurs
reload the page
scroll down to the triggers and extend the actions. Note that the "Channel" field is NOT filled out any more (now: "Select Channel to notify")
click on "Update"
message Fix all highlighted error(s) before continuing. comes up
select a channel (hard to do, several clicks are needed, leaving the field seems to trigger the stuff!)
click on "Update" again. Sometimes it works, depending on how you selected the channel maybe. Can't tell in which cases.

So it seems like its related to the change from Alerting Destinations to Notifications Channels. Please have a look

Hi @olwe0002, looks like you are working on updating the monitor and this is more of alerting issue. Will transfer this issue to alerting repo.
@opensearch-project/transfer-request

thanks. Seems like this transfer did not work. So I created the issue there too - https://github.com/opensearch-project/alerting/issues/470 and will close it here.


allow for max in rep

Add max parameter for rep(0) and repAs(0).
Fixes #97

Codecov Report

Merging #132 (b8df77c) into main (ef350e0) will decrease coverage by 0.16%.
The diff coverage is 95.23%.

@@            Coverage Diff             @@
##             main     #132      +/-   ##
==========================================
- Coverage   94.74%   94.58%   -0.17%
==========================================
  Files           7        7
  Lines         875      886      +11
  Branches       78       74       -4
==========================================
+ Hits          829      838       +9
- Misses         46       48       +2

Impacted Files
Coverage Δ

core/shared/src/main/scala/cats/parse/Parser.scala
94.77% <95.23%> (-0.20%)
:arrow_down:

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 ef350e0...b1fb140. Read the comment docs.

Codecov Report

Merging #132 (b8df77c) into main (ef350e0) will decrease coverage by 0.16%.
The diff coverage is 95.23%.

@@            Coverage Diff             @@
##             main     #132      +/-   ##
==========================================
- Coverage   94.74%   94.58%   -0.17%
==========================================
  Files           7        7
  Lines         875      886      +11
  Branches       78       74       -4
==========================================
+ Hits          829      838       +9
- Misses         46       48       +2

Impacted Files
Coverage Δ

core/shared/src/main/scala/cats/parse/Parser.scala
94.77% <95.23%> (-0.20%)
:arrow_down:

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 ef350e0...b1fb140. Read the comment docs.

Also: maybe we should have an exactly method parsing exactly a given number (min == max). I think this can also override replicateA in Applicative.

Also: maybe we should have an exactly method parsing exactly a given number (min == max). I think this can also override replicateA in Applicative.

This is really great!
Thanks.

This is really great!
Thanks.


speed issue, 1FPS

It's giving me a speed of 0.7-0.8 s per image that amounts to 1FPS, which looks quite slow to me, what baffles me is that it gives this speed with both the single and multi threaded version, i am using Core i7-5500U , 2.4Ghz with 8 GB RAM CPU. is this behavior normal? if not what to do to improve it ?

Hmmm ...
That is indeed baffling - 1fps.
Just for sanity ... to ensure its not some issue with the handtracking code (or differences in implementation environment like #3 #5 and #6), it may be a good idea to compare this with the speed you achieve for  the basic tensorflow object detection api tutorial.  Similar FPS might suggest your development environment (CPU) as the reason for the slow speed.
One more thing, my test environment is a MacbookPro i7, 2.5GHz, 16GB Quad Core. I also have  compiled Tensorflow from source to ensure it is optimized for my cpu architecture (which makes tensorflow faster).
For other ways to optimize tensorflow, I think this link may be helpful.
https://www.tensorflow.org/performance/performance_guide
-V.

@victordibia Have you applied NMS to merge repeated bounding box? If you do that I think it may make a better performance in detection.

Happy to try it out.
What do you mean by NMS though? Any link you can share that describes it in more detail?
-V.

@victordibia In original repo, weiliu89 has applied NMS with a threshold of 0.45. you can find it in ssd_pascal.py.
# parameters for generating detection output.
det_out_param = {
    'num_classes': num_classes,
    'share_location': share_location,
    'background_label_id': background_label_id,
    'nms_param': {'nms_threshold': 0.45, 'top_k': 400},
    'keep_top_k': 200,
    'confidence_threshold': 0.01,
    'code_type': code_type,
    }

@Hzzone , thanks for the link, will look through it and post any updates I find.
Btw ... I am using some form of thresholding (variable score_thresh  in detect_multi_threaded.py ) already.
-V.

 The max fps I got is just 3. Any idea to improve it?

Hi Pharrell,
I have Tensorflow built on my mac from source.
https://www.tensorflow.org/install/install_sources
This enables Tensorflow better optimize computation using instruction sets
available on the mac.
This might help.
Another approach is to explore quantizing the model .... I have not tried
this yet, but it might be useful.
https://www.tensorflow.org/versions/r1.0/performance/quantization .
-V.
On Fri, May 18, 2018 at 4:50 AM, Pharrell Yang<EMAIL_ADDRESS>wrote:

I just cloned your repo and run the detect_multi_threaded.py on my
macbook pro (i7 2.4G, 16GB RAM). The max fps I got is just 3. Any idea to
improve it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/victordibia/handtracking/issues/10#issuecomment-390140617,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABea_1rEdCPls0e77d5_PAxYAwMoSkigks5tzotqgaJpZM4SAfEJ
.

I tried SSD detector (VGG16 as base) with dlib tracker for passenger counting and it disprove the saying on papers that "SSD is very fast" it shows me FPS = 0....  do you have any idea how can I make it fast to the extent that it can be used for real time passenger counting ..
Environment:


Quick sort in Python (#283)

Description
Quick sort implemented using Python
Fixes #283
Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] I have read the contribution guidelines before making this PR.
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented in my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation (Language folder or any other readme instructed to)
[x] My changes generates no new warnings
[x] I have added tests that prove my fix is effective or that my feature works

Perfect, Thanks for your contribution!


streams save xy point data to csv

may be useful in the future for more rapid triangulation that includes filtering out high reprojection error points...
save out with useful filename in structure of xy_trackername.csv or something like that. And realizing now that this could also work with setups that would push these calculations out into separate processes. You wouldn't even need to pass the data out of the process, just save it to disk.

[ ] tracker object has a name that is stored in the xy.csv data
[ ] tracker name stored during calibration  video recording..
[ ] tracker data also stored during playback of recorded stream

[ ] use with lock: to make sure multiple threads don't attempt to open the same file at the same time
some chatgpt sample:

import os.path
import pandas as pd
import threading

# Define the file path and DataFrame to be appended
file_path = 'data.csv'
df = pd.DataFrame({'A': [1, 2], 'B': [3, 4]})

# Create a lock object for synchronizing access to the file
lock = threading.Lock()

# Define a function to append the DataFrame to the CSV file
def append_to_csv():
    with lock:
        # Check if the file already exists
        if os.path.isfile(file_path):
            # If the file exists, append the DataFrame to it
            with open(file_path, 'a') as f:
                df.to_csv(f, header=False, index=False)
        else:
            # If the file does not exist, create a new file and write the DataFrame to it
            df.to_csv(file_path, index=False)

# Create multiple threads to run the function concurrently
threads = []
for i in range(10):
    t = threading.Thread(target=append_to_csv)
    threads.append(t)
    t.start()

# Wait for all threads to complete
for t in threads:
    t.join()

ignore all of the above... you can just run through the standard processing pipeline that includes passing the synchronizer to the video recorder. I want to also create a version of the video files that has the points...

ok..things appear to be working on this now....xy points getting produced. Probably should get a shorter sequence (and perhaps just with hands) to include in the long term testing so that things can run more quickly.

[ ] create test using mediapipe_calibration test data


Merge current dev branch to main

Many games have been played on the most recent version of dev branch codes with minimal issues.

works

:tada: This PR is included in version 1.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add missing calls to NewDisposeCapability AOs

This adds missing calls to NewDisposeCapability() in the NewFunctionEnvironment() and NewModuleEnvironment() AOs
Fixes #170
Fixes #173
cc: @tc39/ecma262-editors

This was approved by consensus at the July, 2023 TC39 Plenary, but still needs reviews from the editors and reviewers before I can merge.
@waldemarhorwat, @syg, @michaelficarra, @bakkot: can you please review?

Why do we store DisposeCapability Records instead of the [[DisposableResourceStack]] List directly?

DisposeCapability is used in all of the algorithms, which are shared between both using/await using and DisposableStack/AsyncDisposableStack. I originally had the list directly on the environment record and on DisposableStack, but the wording was confusing in the algorithms since you normally don't pass environment records and Objects interchangeably, and it was suggested that I instead abstract this through a Record type.

@waldemarhorwat, @syg: Could one of you look over this and approve if all seems good?


hossted cli should use system-wide variables file

All VMs have variables list stored in /opt/hossted/lib/vars.sh
they should be used as variables for work

Which variables are you reffering to ? I have set the environment variable when you install with the "installer" at get.hossted.com ( in c.hossted.com )

first of all API_URL is my concern


added bin script file + port settings from env variable

A minimal changes to make the package to run and configured as a global.
npm i -g https://github.com/noygal/linux-dash.git#feature/bin-v2.0
export PORT=8080
linux-dash

@noygal This is great. Please see @Simounet 's commit PR for some minor but important changes to the name of the environment variable: https://github.com/afaqurk/linux-dash/pull/407
It might be worth just copying his changes over to this branch. When you update your PR, I'll merge it in.

@afaqurk done!
btw what do you think about publish this on npm? If you don't want the hassle I don't mind doing it, even automate that whole thing so no manual labor would be required on your part.

@noygal That is a good thought but npm is a dependency package manager for Node.js and not intended to be an application distributor. Also, by introducing it there, it also puts the onus on the project to always be security conscious since npm will allow anything to be installed globally with little regard. Those are, to me, some compelling reasons not to introduce that surface area to Linux Dash's installation method.
That being said, how would you automate it?

@afaqurk
Actually npm is totally agnostic to nodejs, you can pretty much achieve any dev flow with it, regardless to your tech stack, every bin file noted in the package.json will be available from the command line if the module is installed globally (same behaviour as npm scripts, the only real different is the node_module location), I use those feature in all my nodejs cli tools.
As for the security risks in npm are well know for professional users and enterprise level apps uses private/local npm registry with code signing and verification, and if I could be honest, I don't think this is a major concern for the users of this project, maybe I just viewing it from my perspective as a nodejs developer, but for my it just a great little drop in for my local/dev/private servers, for production level application I always use dedicate tools/services.
For continues deployment, I know my way around jenkins, but I wanted to try out travis ci, seems pretty simple follow git hook + running npm publish.


feat: app as named exports

closes #361
TODO

[x] docs
[x] ~tests~

Blog app working with code of this PR


Delay in switching realm/accounts.

Issue
When user clicks on account item, there is some delay before UI reacts to that action (I mean loading screen pops in)
Related chat: https://chat.zulip.org/#narrow/stream/243-mobile-team/topic/realm.20switching.20delay
Related issue: #2720
@zulipbot claim

We can be calling the navigateToLoading first and remove the ACCOUNT_SWITCH handler from navReducers. (can be contined in @agzuniverse PR) This will ensure that we switch immediately.
A completely separate issue can be improving the speed of handling the switching.


Fixed postgres redis vice-versa logs display

Linked Issue(s)
Closes #471
Proposed changes (including videos or screenshots)
CLI now displays correct logs for Postgres and Redis.

 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.


fix(cve): add variable for configuring SecRequestBodyJsonDepthLimit

Signed-off-by: Felipe Zipitria<EMAIL_ADDRESS>
adds new variable with sane default

@theMiddleBlue Can you take a look at this one?

LGTM!


ERROR TypeError: this._overlay.position(...).flexibleConnectedTo is not a function

Bug:
There is error when clicking on tooltip:
ERROR TypeError: this._overlay.position(...).flexibleConnectedTo is not a function
Which versions of Angular, Material-Extended, OS, TypeScript, browsers are affected?
angular/cli: "^1.7.3",
angular/core: "^5.2.9",
angular/cdk: "^5.2.4",
"typescript": "^2.8",

@lucypoly
Please provide output from ng version.
If you're using v2 then this is only compatible with Angular CDK ^6.
Which version of this library are you using?

@joejordanbrown I got same error
** Package.json **
{
  "name": "angular-proj",
  "version": "0.0.0",
  "license": "MIT",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build --prod",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^5.2.11",
    "@angular/cdk": "^5.2.4",
    "@angular/common": "^5.2.0",
    "@angular/compiler": "^5.2.0",
    "@angular/core": "^5.2.0",
    "@angular/forms": "^5.2.0",
    "@angular/http": "^5.2.0",
    "@angular/material": "^5.2.4",
    "@angular/platform-browser": "^5.2.0",
    "@angular/platform-browser-dynamic": "^5.2.0",
    "@angular/router": "^5.2.0",
    "@material-extended/mde": "^2.0.1",
    "core-js": "^2.4.1",
    "rxjs": "^5.5.6",
    "zone.js": "^0.8.19"
  },
  "devDependencies": {
    "@angular/cli": "~1.7.3",
    "@angular/compiler-cli": "^5.2.0",
    "@angular/language-service": "^5.2.0",
    "@types/jasmine": "~2.8.3",
    "@types/jasminewd2": "~2.0.2",
    "@types/node": "~6.0.60",
    "codelyzer": "^4.0.1",
    "jasmine-core": "~2.8.0",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~2.0.0",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "^1.2.1",
    "karma-jasmine": "~1.1.0",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.1.2",
    "ts-node": "~4.1.0",
    "tslint": "~5.9.1",
    "typescript": "~2.5.3"
  }
}

Error code
TypeError: this._overlay.position(...).flexibleConnectedTo is not a function

@lucypoly @smartHasmukh
This issue is most likely related to you using Angular 5 when version 2 of this package is aimed towards Angular 6. You can try using an older version of this package or upgrading to Angular 6.


Only show cards in collection

It would be nice to have a setting that would make it so the only cards in the lists were ones in the user's collection.

+1

Duplicate of #414


Cannot resolve "button" component

Currently I have:
Assistant Core: core-2021.11.1
Operating System: 6.6
The component fails to load, claiming that it cannot find homeassistant.components.button
After I removed all the lines related to this, everything loads OK.
My guess is that the refresh by the button functionality was added, but somehow not all (older?) versions can work with that.

The Button integration was introduced in Home Assistant 2021.12.
I will updated the minimum HA release in HACS.

Got it - thanks!!!!
Will upgrade version later on. Great component, BTW!
With regards

Oleg Sherbakov

e-mail: @.***
@.***
cell:    +1<PHONE_NUMBER>
5407 Felter Rd, San Jose CA 95132
On Jan 7, 2022, at 10:03 AM, Daniel @.***> wrote:
The Button integration was introduced in Home Assistant 2021.12.
I will updated the minimum HA release in HACS.
—
Reply to this email directly, view it on GitHub https://github.com/danieldotnl/ha-multiscrape/issues/78#issuecomment-1007616412, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVPUMNM6QZQCKZ5MCGPOY3UU4TGDANCNFSM5LPILWAQ.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.


German-Translation - Found issues [1/2]

While checking translation files for Issue #7325 I found some bug in the German translation:
Power Launcher - Program Plugin
File

Line
english
Incorrect translation
Correct translation

53
Internet shortcut application
Tastenkombination für Internet (Anwendung)
Internetverknüpfung (Anwendung)

Power Launcher - Calculator Plugin
File

Line
english
Incorrect translation
Correct translation

35
Expression wrong or incomplete (Did you forget some parentheses?)
Ausdruck falsch oder unvollständig (haben Sie einige Klammern vergessen?).
Ausdruck falsch oder unvollständig. (Haben Sie einige Klammern vergessen?)

Image Resizer
File

Line
english
Incorrect translation
Correct translation

44
Encoding
Codierung
Kodierung

53
_Fallback encoder
_Fallbackencoder
_Ausweich-Kodierung

260
Ign_ore the orientation of pictures
Bildausrichtung ign_orieren
Bildausrichtung ignorieren

287
_Resize
Größ_e ändern
Größe ändern

Additional there are some translations that beginning with an underline. not sure if this is correct.
Shortcut Guide
File

Line
english
Incorrect translation
Correct translation

107
Shows a help overlay with Windows shortcuts when the Windows key is pressed.
Hiermit wird beim Drücken der Windows-Taste eine Hilfeüberlagerung mit Windows-Tastenkombinationen angezeigt.
Zeigt beim Drücken der Windows-Taste eine Hilfeübersicht mit den Windows-Tastenkombinationen an.

SettingsV2
Please see issue #7345.

cc: @enricogior

I'm not 100% sure, because I am not very familiar with the scripting language, but if I had to guess, those underscores mark accelerator keys. I do know a Visual Basic like scripting language that uses an ampersand.

I'm not 100% sure, because I am not very familiar with the scripting language, but if I had to guess, those underscores mark access keys. I do know a Visual Basic like scripting language that uses an ampersand.

Could be. I thought about that too.
But I wasn't sure if this is so.
Nevertheless line 44 and 53 in Image Resizer's localisation is not correct translated.

There will likely be many translation errors for each and every translated language. Is this the method to report all of them? I think not...

There will likely be many translation errors for each and every translated language. Is this the method to report all of them? I think not...

I don't create a PR because I don't have the environment for that and I didn't know if we get in trouble with the automatic translation system.
But in general you are right. I think we should have an quality check system and if possible an automated reporting and fixing/PR system.

I'm asking how we handle this bets.

need to verify what got put it.

@crutkas
Closing this issue because the tables are out of date and updating them needs to much work.


No way to register associated data assets when registering Model with SDKv2

azure.ai.ml:
1.4.0:
Linux 20xx:
3.10:
Describe the bug
We wan to register a trained model in the shared ML registry.
To Reproduce

Connect to workspace

# get a handle to the workspace
ml_client = MLClient.from_config(DefaultAzureCredential())
print(ml_client.workspace_name, ml_client.resource_group_name, sep='\t\t')

get registered data asset

data_asset_name = "file-dataset"
data_asset = ml_client.data.get(name=data_asset_name, version=1)

train an arbitrary model

register model with data asset

from azure.ai.ml.entities import Model
from azure.ai.ml.constants import AssetTypes
file_model = Model(
    path="mlflow-model/model.pkl",
    type=AssetTypes.CUSTOM_MODEL,
    name="local-file-example",
    description="Model created from local file.",
    # in sdk v1 there was an attribute called datasets
)
ml_client.models.create_or_update(file_model)

Expected behavior
There should be a way to attach data assets to the model just like with sdkv1 there was a datasets argument in run.register_model fucntion.

Ey, same problem here.
BR
E

Hello. I have met the same problem on my side

Hi, I have the same issue

Hi, we have the same problem

@obiii Thanks for bringing this up. Can you help explain the use case for which you want to attach data assets to the model?

@PratibhaShrivastav18
We have a typical machine learning model training scenario where we require the following capabilities:
Reproducibility: Ensuring that the exact data used for training the model is associated with the model. This is crucial for verifying results and conducting experiments consistently.
Traceability: Keeping track of which datasets were used for training the model. This is essential for monitoring jobs, auditing processes, and understanding the lineage of model development.
Convenience: Providing easy access to the associated datasets for future reference, re-training, or further analysis.
The fact that this was possible with SDKV1 and not possible with  SDKV2 (among alot of other missing features) makes us regret the migration now.

Hi @PratibhaShrivastav18 in here:
https://github.com/Azure/azure-sdk-for-python/issues/29429
This was reported and it was mentioned that it was in the backlog but not ETA yet. Is there any update on this?

Hi @PratibhaShrivastav18  @banibrata-de  any chance to look at this?
BR
E

Hi, SDK V2 unfortunately doesn't support this. We do have a backlog item but no ETA yet. I would encourage you to checkout this comment for a workaround while we work on prioritising this functionality.


remove resource setting for simulatedd metric-collector.

Not sure if this makes sense or not, but if I want to start up more simulated metric collectors, I need to remove the resource setting from the simulated metrics collectors.
Signed-off-by: morvencao<EMAIL_ADDRESS>

I am OK with this change. That is designed to run multiple metrics collector in a single node.
/lgtm


ENYO-866: Remove specification of 2.5-gordon branch.

Issue
We had previously been specifying the 2.5-gordon branch to checkout for Travis, as this was the only branch in the enyo repo that contained resolution-independence support.
Fix
With the pending merge / explosion, this should be removed as we should not have references to 2.5-gordon in other branches, and this should be functional shortly as resolution-independence support will be merged into master.
Notes
This will obviously fail Travis until resolution-independence support is merged into master, but we will likely need to accept this change first before the merge occurs. Blind faith by the integrator. :)
Enyo-DCO-1.1-Signed-off-by: Aaron Tam<EMAIL_ADDRESS>

Closing as this change has been cherry-picked into 2.5-upkeep and master.


How to use this library in a synchronous loop?

I have the following code
var tags = [];
for (let tagName of tagNames) {
  db.get('SELECT * FROM tags WHERE url = ?', [tagName], (err, row) => {
    tags.push(row);
  });
}

console.log(tags);

and tagName is an element of the array tagNames, which I am looping. tags is another array that I want to fill with the received data. But Because this is asynchronous, tags is always empty, when I want to use it. How do I do this correctly?

Switched to https://github.com/kriasoft/node-sqlite for promises


E: Unable to locate package libgdal30

Please share your system spec:
also did you have gdal before installing geocint, if so which version ?

Resolved


[SPARK-7068][SQL] Remove PrimitiveType

Test build #30810 has started for   PR 5646 at commit 01b673d.

LGTM pending Jenkins.

Test build #30810 has finished for   PR 5646 at commit 01b673d.

This patch passes all tests.

This patch merges cleanly.

This patch adds the following public classes (experimental):

protected[sql] abstract class NativeType extends DataType

abstract class NumericType extends NativeType

This patch does not change any dependencies.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/30810/
Test PASSed.


OTG RT 2.12: Change Device Name to be different from LAG Name

The test is failing because of below issue as LAG name and Device name are same. This fix will address the below issue.
=== RUN   TestDrain
isis_drain_test.go:341: Pushing config to ATE
isis_drain_test.go:342:
*** Pushing config to google-ondatra-keng:40051...
isis_drain_test.go:342: PushConfig(t) on ATE{Dims:Dims{Name:google-ondatra-keng:40051 Vendor:VENDOR_UNSPECIFIED HardwareModel: SoftwareVersion: Ports:map[port1:Port{Name:ixas120/89 Speed:SPEED_UNSPECIFIED CardModel: PMD:PMD_UNSPECIFIED} port2:Port{Name:ixas120/90 Speed:SPEED_UNSPECIFIED CardModel: PMD:PMD_UNSPECIFIED} port3:Port{Name:ixas120/91 Speed:SPEED_UNSPECIFIED CardModel: PMD:PMD_UNSPECIFIED}]}}: {
      "code": 3,
      "errors": [
        "error on request {\nconfig: {\n  ports: {\n    location: \"ixas120/89\"\n    name: \"port1\"\n  }\n  ports: {\n    location: \"ixas120/90\"\n    name: \"port2\"\n  }\n  ports: {\n    location: \"ixas120/91\"\n    name: \"port3\"\n  }\n  lags: {\n    ports: {\n      port_name: \"port2\"\n      ethernet: {\n        mac: \"02:aa:bb:02:00:02\"\n        mtu: 1500\n        name: \"LAGRx-2\"\n      }\n    }\n    protocol: {\n      choice: static\n      static: {\n        lag_id: 2\n      }\n    }\n    min_links: 1\n    name: \"lag2\"\n  }\n  lags: {\n    ports: {\n      port_name: \"port3\"\n      ethernet: {\n        mac: \"02:aa:bb:03:00:02\"\n        mtu: 1500\n        name: \"LAGRx-3\"\n      }\n    }\n    protocol: {\n      choice: static\n      static: {\n        lag_id: 3\n      }\n    }\n    min_links: 1\n    name: \"lag3\"\n  }\n  devices: {\n    ethernets: {\n      connection: {\n        choice: port_name\n        port_name: \"port1\"\n      }\n      ipv4_addresses: {\n        gateway: \"<IP_ADDRESS>\"\n        address: \"<IP_ADDRESS>\"\n        prefix: 30\n        name: \"ATEport1.IPv4\"\n      }\n      ipv6_addresses: {\n        gateway: \"2001:db8::1\"\n        address: \"2001:db8::2\"\n        prefix: 126\n        name: \"ATEport1.IPv6\"\n      }\n      mac: \"02:aa:bb:01:00:01\"\n      mtu: 1500\n      name: \"ATEport1.Eth\"\n    }\n    name: \"ATEport1\"\n  }\n  devices: {\n    ethernets: {\n      connection: {\n        choice: lag_name\n        lag_name: \"lag2\"\n      }\n      ipv4_addresses: {\n        gateway: \"<IP_ADDRESS>\"\n        address: \"<IP_ADDRESS>\"\n        prefix: 30\n        name: \"ATEport2.IPv4\"\n      }\n      ipv6_addresses: {\n        gateway: \"2001:db8::5\"\n        address: \"2001:db8::6\"\n        prefix: 126\n        name: \"ATEport2.IPv6\"\n      }\n      mac: \"02:aa:bb:02:00:01\"\n      mtu: 1500\n      name: \"ATEport2.Eth\"\n    }\n    isis: {\n      system_id: \"640000000002\"\n      interfaces: {\n        eth_name: \"ATEport2.Eth\"\n        metric: 10\n        network_type: point_to_point\n        level_type: level_2\n        advanced: {\n          auto_adjust_mtu: true\n          auto_adjust_area: true\n          auto_adjust_supported_protocols: true\n          enable_3way_handshake: true\n          p2p_hellos_to_unicast_mac: false\n        }\n        name: \"lag2IsisInt\"\n      }\n      basic: {\n        hostname: \"lag2-isis\"\n        enable_wide_metric: true\n        learned_lsp_filter: false\n      }\n      advanced: {\n        enable_hello_padding: true\n        max_area_addresses: 3\n        area_addresses: \"490001\"\n        lsp_refresh_rate: 600\n        lsp_lifetime: 1200\n        psnp_interval: 2000\n        csnp_interval: 10000\n        max_lsp_size: 1492\n        lsp_mgroup_min_trans_interval: 5000\n        enable_attached_bit: true\n      }\n      v4_routes: {\n        addresses: {\n          address: \"<IP_ADDRESS>\"\n          prefix: 24\n          count: 1\n          step: 1\n        }\n        link_metric: 10\n        origin_type: internal\n        redistribution_type: up\n        name: \"v4-isisNet-lag2\"\n        prefix_attr_enabled: false\n        x_flag: false\n        r_flag: false\n        n_flag: false\n      }\n      name: \"lag2-isis\"\n    }\n    name: \"lag2\"\n  }\n  devices: {\n    ethernets: {\n      connection: {\n        choice: lag_name\n        lag_name: \"lag3\"\n      }\n      ipv4_addresses: {\n        gateway: \"<IP_ADDRESS>\"\n        address: \"<IP_ADDRESS>\"\n        prefix: 30\n        name: \"ATEport3.IPv4\"\n      }\n      ipv6_addresses: {\n        gateway: \"2001:db8::9\"\n        address: \"2001:db8::a\"\n        prefix: 126\n        name: \"ATEport3.IPv6\"\n      }\n      mac: \"02:aa:bb:03:00:01\"\n      mtu: 1500\n      name: \"ATEport3.Eth\"\n    }\n    isis: {\n      system_id: \"640000000003\"\n      interfaces: {\n        eth_name: \"ATEport3.Eth\"\n        metric: 10\n        network_type: point_to_point\n        level_type: level_2\n        advanced: {\n          auto_adjust_mtu: true\n          auto_adjust_area: true\n          auto_adjust_supported_protocols: true\n          enable_3way_handshake: true\n          p2p_hellos_to_unicast_mac: false\n        }\n        name: \"lag3IsisInt\"\n      }\n      basic: {\n        hostname: \"lag3-isis\"\n        enable_wide_metric: true\n        learned_lsp_filter: false\n      }\n      advanced: {\n        enable_hello_padding: true\n        max_area_addresses: 3\n        area_addresses: \"490001\"\n        lsp_refresh_rate: 600\n        lsp_lifetime: 1200\n        psnp_interval: 2000\n        csnp_interval: 10000\n        max_lsp_size: 1492\n        lsp_mgroup_min_trans_interval: 5000\n        enable_attached_bit: true\n      }\n      v4_routes: {\n        addresses: {\n          address: \"<IP_ADDRESS>\"\n          prefix: 24\n          count: 1\n          step: 1\n        }\n        link_metric: 10\n        origin_type: internal\n        redistribution_type: up\n        name: \"v4-isisNet-lag3\"\n        prefix_attr_enabled: false\n        x_flag: false\n        r_flag: false\n        n_flag: false\n      }\n      name: \"lag3-isis\"\n    }\n    name: \"lag3\"\n  }\n}\n}: {\n  \"code\":  3,\n  \"kind\":  \"validation\",\n  \"errors\":  [\n    \"Device name \\\"lag2\\\" has been repeated at index 1.\",\n    \"Device name \\\"lag3\\\" has been repeated at index 2.\"\n  ]\n}"
      ]
    }

--- FAIL: TestDrain (0.01s)

Pull Request Functional Test Report for #2385 / a909f8c0bb7d70c818a0f9d457b272d16f472285
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

RT-2.12: IS-IS Drain Test

Cisco 8000E

RT-2.12: IS-IS Drain Test

Cisco XRd

RT-2.12: IS-IS Drain Test

Juniper cPTX

RT-2.12: IS-IS Drain Test

Juniper ncPTX

RT-2.12: IS-IS Drain Test

Nokia SR Linux

RT-2.12: IS-IS Drain Test

Openconfig Lemming

RT-2.12: IS-IS Drain Test

Hardware Devices

Device
Test
Test Documentation
Raw Log

Arista 7808

RT-2.12: IS-IS Drain Test

Cisco 8808

RT-2.12: IS-IS Drain Test

Juniper PTX10008

RT-2.12: IS-IS Drain Test

Nokia 7250 IXR-10e

RT-2.12: IS-IS Drain Test

Help

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1536

Relevant Lines:
3154

💛  - Coveralls

closing this PR as the fix is already part of main is fixed from another PR


Fix confilict between <parallel/algorithm> and nvcc

Should fix #2218.
It seems there is a conflict between gcc's <parallel/algorithm> and nvcc, at least in gcc 4.9.x

I have also fixed this in #2227
Thanks @windreamer

Hi, I'm not a user of xgboost but I'm experiencing the same problem when developing another project. Do you guys know what caused the conflict between <parallel/algorithm> and nvcc?

Hello,I'm not a user of xgboost and I also meet the conflict between <parallel/algorithm> and nvcc. The error messages are below:
/usr/include/c++/4.8/tr1/cmath(423): error: function "acosh(float)" has already been defined

/usr/include/c++/4.8/tr1/cmath(439): error: function "asinh(float)" has already been defined

/usr/include/c++/4.8/tr1/cmath(456): error: function "atanh(float)" has already been defined

/usr/include/c++/4.8/tr1/cmath(470): error: function "cbrt(float)" has already been defined

/usr/include/c++/4.8/tr1/cmath(486): error: function "copysign(float, float)" has already been defined

/usr/include/c++/4.8/tr1/cmath(505): error: function "erf(float)" has already been defined

/usr/include/c++/4.8/tr1/cmath(519): error: function "erfc(float)" has already been defined

/usr/include/c++/4.8/tr1/cmath(535): error: function "exp2(float)" has already been defined

/usr/include/c++/4.8/tr1/cmath(549): error: function "expm1(float)" has already been defined

/usr/include/c++/4.8/tr1/cmath(587): error: function "fdim(float, float)" has already been defined

/usr/include/c++/4.8/tr1/cmath(605): error: function "fma(float, float, float)" has already been defined

/usr/include/c++/4.8/tr1/cmath(621): error: function "fmax(float, float)" has already been defined

/usr/include/c++/4.8/tr1/cmath(637): error: function "fmin(float, float)" has already been defined

/usr/include/c++/4.8/tr1/cmath(656): error: function "hypot(float, float)" has already been defined

/usr/include/c++/4.8/tr1/cmath(672): error: function "ilogb(float)" has already been defined
...

And is there any solution to fix it? Any info will help, thanks!


Bump v14.2.0

Bump to v14.2.0. It does not look like there is interface changes. Nuget package is updated but not the interface used.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.55%. Comparing base (a4a3276) to head (97c7251).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #749      +/-   ##
==========================================
+ Coverage   70.52%   70.55%   +0.03%
==========================================
  Files         296      296
  Lines       43281    43264      -17
==========================================
+ Hits        30525    30526       +1
+ Misses      12756    12738      -18

Components
Coverage Δ

crashtracker
37.14% <ø> (ø)

crashtracker-ffi
8.67% <ø> (ø)

datadog-alloc
98.73% <ø> (ø)

data-pipeline
91.95% <ø> (ø)

data-pipeline-ffi
0.00% <ø> (ø)

ddcommon
83.46% <ø> (ø)

ddcommon-ffi
69.12% <ø> (ø)

ddtelemetry
59.10% <ø> (ø)

ddtelemetry-ffi
22.13% <ø> (ø)

dogstatsd
89.45% <ø> (ø)

dogstatsd-client
79.77% <ø> (ø)

ipc
82.86% <ø> (+0.10%)
:arrow_up:

profiling
84.30% <ø> (ø)

profiling-ffi
77.46% <ø> (ø)

serverless
0.00% <ø> (ø)

sidecar
38.00% <ø> (ø)

sidecar-ffi
0.00% <ø> (ø)

spawn-worker
50.36% <ø> (ø)

tinybytes
94.77% <ø> (ø)

trace-mini-agent
72.18% <ø> (ø)

trace-normalization
98.25% <ø> (ø)

trace-obfuscation
95.77% <ø> (ø)

trace-protobuf
77.67% <ø> (ø)

trace-utils
93.54% <ø> (+0.39%)
:arrow_up:

----
🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests


bastion tunnel does not accept concurrent connections

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

az network bastion tunnel

Describe the bug

Only a single connection can be handled at one time with the bastion tunnel.  All other attempts will block until the previous connection has closed.
This makes port forwarding for web applications unusable since the browser will typically have multiple connections open and only one will succeed.
To Reproduce

The easiest way to show this behaviour is to create a tunnel for ssh, e.g.
az network bastion tunnel --name bastion --resource-group $rg --target-resource-id $res_id --resource-port 22 --port 8822

Now, open two terminals and ssh to each, e.g.
ssh -p 8822 localhost

The second attempt will just hang and, if you close the first, it will connect.
Expected behavior

A tunnel should accept multiple connections.
Environment summary

Linux
Additional context

Here is a possible fix - https://github.com/edwardsp/azure-cli/commit/412a7198f6d2b4976552c2c0b4b3c33de35ef993 - although check the commit message as the threads are not joined and the cleanup is not called.
A workaround for creating a tunnel is to use az network bastion ssh.  Once connected, through ssh, you can create a tunnel through that ssh connection.  Type the three keys/characters: <Enter> <~> <C>.  You will then be given the ssh> prompt where you can create a tunnel as you would with an ssh command line, e.g. for forwarding the resource port 8888 to local port 8888 you would do:
paul@azvm:~$
ssh> -L 8888:localhost:8888

paul@azvm:~$

route to CXP team

This is closely related to https://github.com/Azure/azure-cli/issues/22562
Since this makes the bastion tunnel feature unusable for many basic applications, and @edwardsp already identified a workaround above, it would be great if someone could have a look in getting this fixed.
cc @matt-chan

@edwardsp Adding Service team to look into this.
@aznetsuppgithub Could you please look into this once you get a chance ?

Ran into this issue, again is there any progress on a fix ?

Hi @ltalirz @edwardsp,
As Microsoft doesn't seem to care much about this issue.
Here is a quick workaround, I tested and it works.
This works-around the issue :
https://stackoverflow.com/questions/72114013/howto-run-multiple-ssh-session-through-the-one-forwarded-port-port-redirectio
It's called SSH Multiplexing : https://en.wikibooks.org/wiki/OpenSSH/Cookbook/Multiplexing#Advantages_of_Multiplexing

A workaround that has successfully worked for me is as follows.

Forward the ssh port 22 from the remote machine to a free port on the local machine (such as 2222).

az network bastion tunnel \
--name [name] \
--resource-group [resource-group] \
--target-resource-id [target-resource-id] \
--resource-port 22 \
--port 2222

Connect to the forwarded port and forward 22 again to another free port (such as 2223).

# Execute once.
ssh -p 2222 -L 2223:<IP_ADDRESS>:22<EMAIL_ADDRESS>

Connect an arbitrary number of sessions on port 2223, i.e.,

# Execute as many times as desired.
ssh -p 2223<EMAIL_ADDRESS>
It does however seem odd that such hoop-jumping is required for quite standard functionality.

A workaround that has successfully worked for me is as follows.

Forward the ssh port 22 from the remote machine to a free port on the local machine (such as 2222).

az network bastion tunnel \
--name [name] \
--resource-group [resource-group] \
--target-resource-id [target-resource-id] \
--resource-port 22 \
--port 2222

Connect to the forwarded port and forward 22 again to another free port (such as 2223).

# Execute once.
ssh -p 2222 -L 2223:<IP_ADDRESS>:22<EMAIL_ADDRESS>

Connect an arbitrary number of sessions on port 2223, i.e.,

# Execute as many times as desired.
ssh -p 2223<EMAIL_ADDRESS>
It does however seem odd that such hoop-jumping is required for quite standard functionality.

This works perfectly for me.
The official instructions here did not work for me. It complained of port 22 being in use.

Still not answer from Microsoft ?
@yonzhan ?
@edwardsp
@aznetsuppgithub
This issue is starting to take a lot of time to fix and the bastion costs a lot of money.

As a more comprehensive solution, also addressing the poor reliability of az bastion tunnel (cf. #28367), the following supervisord configuration has worked for me. The first program starts the tunnel and kills all azure commands because az network bastion tunnel sometimes just hangs without error messages. The second program does the "inception" tunneling. The whole thing will restart if the second  program exits because az network bastion tunnel drops the connection. Pretty painful given that Bastion is a paid-for product.
[supervisord]
nodaemon=true

[program:az-bastion-network-tunnel]
startsecs = 5
startretries = 10
stdout_logfile = /dev/fd/1
stdout_logfile_maxbytes = 0
stderr_logfile = /dev/fd/1
stderr_logfile_maxbytes = 0
command = bash -c 'kill -9 `pgrep -f azure` || az network bastion tunnel \
    --name [name] \
    --resource-group [resource group] \
    --resource-port 22 \
    --port 2222 \
    --target-resource-id [target resource id]'

[program:inception]
startsecs = 5
startretries = 10
stdout_logfile = /dev/fd/1
stdout_logfile_maxbytes = 0
stderr_logfile = /dev/fd/1
stderr_logfile_maxbytes = 0
command = ssh -p 2222 -L [local port]:<IP_ADDRESS>:[remote port]<EMAIL_ADDRESS>

@tillahoffmann Why use supervisord and not systemd ? Just curious if it's better for managing the azure tunnel ?

I used supervisord because I'm more familiar with it. systemd probably also does the trick.

@aznetsuppgithub @navba-MSFT @yonzhan any news on this ? this is really painful issue that lot's of us are hitting.

@xpillons I recommend using other bastion such as OVH's bastion or using Sanzu it is less costy and work way better and is fully open source and also more responsive on bug reports.

@AkechiShiro thanks for your answer but I want an Azure Native solution.

@xpillons you can pay for a support ticket at Microsoft they might answer you about this issue

This is now fixed in v1.0.1 of the bastion extension.  Upgrade an existing installation with:
az extension update --name bastion

Will try thanks


Add netgen to install_requires

@drew-parsons and I have started packaging ngsPETSc for debian, and there it would be beneficial if netgen was listed explicitly as a dependency, rather than implicitly through ngsolve. We can't rely on the implicit dependency because ngsolve is not packaged yet on debian.

In particular, ngsPETSc explicitly imports netgen (e.g. in plex, for MeshMapping).  And that functionality can be useful without ngsolve, for instance when using utils.fenicsx to bring netgen meshes into dolfinx calculations.

Absolutely agree! Thanks for doing this!

Thanks @UZerbinati
I guess numpy should be added as well.
On the other hand pytest and pylint wouldn't be needed by end-users.  I think setuptools has a mechanism for distinguishing installation dependencies from development dependencies.  setup_requires perhaps  (used by h5py)


DB grows fast because of inefficient db structure

Describe the bug
In #46 a new db field ordermail_variablesin in s_plugin_adyen_order_payment_info is introduced and released 1.5.1. A lot of unnecessary data is saved in the db which causes a big table which has impact on the performance.
To Reproduce
Steps to reproduce the behavior:

place ~100000 orders
check db size of table s_plugin_adyen_order_payment_info
size > 2GB

Expected behavior
2 possible options:

dynamically retrieve order information
only save needed order information

@acampos1916 mail variables are only available during the creation process of Shopware 5
An alternative solution could be to clear the order variables from s_plugin_adyen_order_payment_info,
when the e-mail is sent.

Thanks @wannevancamp @bortefi I can see how this could lead to a huge database.
I like the idea of dynamically getting the variables when needed. Any pointers on how to do that?
We could also clear the data from the table when the email is sent but the above should be leaner.

Shopware will create the mail variables during saving of the order: \sOrder::sSaveOrder
these variables are used in

\sOrder::sendMail
\AdyenPayment\Subscriber\OrderEmailSubscriber
\AdyenPayment\Components\OrderMailService
Since they are only stored in a session variable a custom OrderMailVariableCollector or other sevice is best created to obtain the data like sOrder does during save.

Context of sOrderSave:
...
\sOrder::sSaveOrder
...
 $variables = [
            'sOrderDetails' => $details,
            'billingaddress' => $this->sUserData['billingaddress'],
            'shippingaddress' => $this->sUserData['shippingaddress'],
            'additional' => $this->sUserData['additional'],
            'sShippingCosts' => $this->sSYSTEM->sMODULES['sArticles']->sFormatPrice($this->sShippingcosts) . ' ' . $this->sBasketData['sCurrencyName'],
            'sAmount' => $this->sAmountWithTax ? $this->sSYSTEM->sMODULES['sArticles']->sFormatPrice($this->sAmountWithTax) . ' ' . $this->sBasketData['sCurrencyName'] : $this->sSYSTEM->sMODULES['sArticles']->sFormatPrice($this->sAmount) . ' ' . $this->sBasketData['sCurrencyName'],
            'sAmountNumeric' => $this->sAmountWithTax ? $this->sAmountWithTax : $this->sAmount,
            'sAmountNet' => $this->sSYSTEM->sMODULES['sArticles']->sFormatPrice($this->sBasketData['AmountNetNumeric']) . ' ' . $this->sBasketData['sCurrencyName'],
            'sAmountNetNumeric' => $this->sBasketData['AmountNetNumeric'],
            'sTaxRates' => $this->sBasketData['sTaxRates'],
            'ordernumber' => $orderNumber,
            'sOrderDay' => date('d.m.Y'),
            'sOrderTime' => date('H:i'),
            'sComment' => $this->sComment,
            'attributes' => $attributes,
            'sEsd' => $esdOrder,
        ];
...
$this->sendMail($variables);

Added to roadmap, will close.


Custom Error Page

Should have custom error pages like:

[ ] 404 page
[ ] 503 page
[ ] etc

hi @xHacker404 ,i will work on this :+1:

@SAzghour sure! any contribution is highly appreciated :)

@xHacker404, i don't register as admin with " python manage.py createsuperuser " command, not working, any suggestion :hammer:

@SAzghour  I dont know why are you unable to do that at your end. In my end, It is working fine. could you please provide me a snapshot?

@xHacker404 ,i want doing some customization on the admin panel :clock1: , but i'm not able to access as a superuser :confused:


PrettyPrint class in lattest Version

Hi All,
I have downloaded the version 4.11. I am trying to use PrettyPrint but can't find the class in the lattest version.
java.lang.ClassNotFoundException: net.logstash.logback.decorate.PrettyPrint
Try1) PrettyPrintingDecorator implements JsonGeneratorDecorator still throws the same error
<encoder class="net.logstash.logback.encoder.LogstashEncoder">
        <jsonGeneratorDecorator class="PrettyPrintingDecorator" />

Try2 Added <jsonGeneratorDecorator class="net.logstash.logback.decorate.PrettyPrint" />  no Luck

Apologies my Bad. Please close this issue.
Try1) working fine. The problem is I have updated console appender and forgot to update RollingFileAppender


raise validation error when importing file with invalid headers or wi…

Problem
resolves #1569
If you import a file with no headers via the Admin Console then there is no error message to the user, instead a blank confirm screen is shown and the import has no effect.
It would perhaps be better to show a valid warning message about no headers being present.
Solution
A file with invalid header or valid headers and no data will produce a Dataset instance of length 0. A form error is raised in this case.
Acceptance Criteria
Have you written tests? Yes
Have you included screenshots of your changes if applicable? Yes
Did you document your changes?

@matthewhegarty Is there any action that should be take regarding

I can't detect the source of this error.  It only occurs when running tox with python3.12.  Will keep looking into it.

The issue was caused by a DeprecationWarning in the xlsx library which is being buried.  It occurs when the -W error::DeprecationWarning is passed (hence why it occurs in tox).
As a workaround, I update the test to use a csv file instead of xlsx

All good - thanks Eric


 Now we apply the change globally as the 'parallel commit issue' is observed across other APIs too.

@bhyrava @chandra-k
@Vikash082 - can you check this PR, Do we need this changes ?

deepak, do we need this fix ? as service agent is single threaded and two REST requests wont happen in parallel. This must be due to some other reason, did we check if there was a session leak ?


Address Activiti backward compatibility issue

Description

The author of this pull request failed to include a description or DELETE this line.
Overview of Changes

N/A
Type of Change

N/A
Test Details

N/A
Additional Notes

N/A

You did it @jayantchaudhuri!
Thank you for signing the Anthem Opensource Software CLA.