custom:grid-view-strategy example doesn't work

Hello
I tried your example of custom:grid-view-strategy for update but I have not the same result as custom:update-view-strategy

Hey sorry my bad! I just threw that together for the release notes without testing and forgot that the grid-view-strategy does not support the domain key 😄
I just updated the Release notes with a working example: https://github.com/itsteddyyo/strategy-pack/releases/tag/1.0.0
You can now copy the code and it should work 😄
But i just noticed it is not ideal as the grid-view-strategy filters out hidden entities by default. It is probably what you want but i want to give the user the maximum control. I will push a new feature the next few days where you will to have to insert an include filter to all rows in the grid-view-strategy 😄 Keep an eye out for it as it will be an Breaking Change to that config (it will still work but hidden and disabled entities would be shown).

Just pushed Version 1.1.0 that provides the change i mentioned with the new include filter 😄
The config should look like this for the grid-view-strategy if you want something like the update-view-strategy 😄
strategy:
  type: custom:grid-view-strategy
  config:
    rows:
      - title: Other
        card:
          type: tile
          entity: $entity
          hide_state: true
          features:
            - type: update-actions
              backup: ask
        filter:
          include:
            - type: domain
              value: update
          exclude:
            - type: disabled_by
              comparator: match
              value: .*
            - type: hidden_by
              comparator: match
              value: .*
            - type: integration
              comparator: in
              value:
                - unifi
                - hacs
                - esphome
                - mqtt
      - title: UniFi
        card:
          type: tile
          entity: $entity
          hide_state: true
          features:
            - type: update-actions
              backup: ask
        filter:
          exclude:
            - type: disabled_by
              comparator: match
              value: .*
            - type: hidden_by
              comparator: match
              value: .*
          include:
            - type: domain
              value: update
            - type: integration
              value: unifi
      - title: HACS
        card:
          type: tile
          entity: $entity
          hide_state: true
          features:
            - type: update-actions
              backup: ask
        filter:
          exclude:
            - type: disabled_by
              comparator: match
              value: .*
            - type: hidden_by
              comparator: match
              value: .*
          include:
            - type: domain
              value: update
            - type: integration
              value: hacs
      - title: ESPHome
        card:
          type: tile
          entity: $entity
          hide_state: true
          features:
            - type: update-actions
              backup: ask
        filter:
          exclude:
            - type: disabled_by
              comparator: match
              value: .*
            - type: hidden_by
              comparator: match
              value: .*
          include:
            - type: domain
              value: update
            - type: integration
              value: esphome
      - title: Zigbee
        card:
          type: tile
          entity: $entity
          hide_state: true
          features:
            - type: update-actions
              backup: ask
        filter:
          exclude:
            - type: disabled_by
              comparator: match
              value: .*
            - type: hidden_by
              comparator: match
              value: .*
          include:
            - type: domain
              value: update
            - type: integration
              value: mqtt
icon: mdi:test
path: test
title: Test

@sebfar9172 Does this work for you? 😄


FLUID-5550: Update 'getting started' tutorial with current best practices

@acheetham in the (PickAComponentType.md)[https://github.com/acheetham/infusion-docs/blob/FLUID-5550/src/documents/tutorial-gettingStartedWithInfusion/PickAComponentType.md] file there seem to be a wording issue for the modelComponent type "model component: for components that will have maintain abstract data model".

@acheetham on the RendererComponents.md page, under the Example: Currency Converter section there is a list being rendered as code.
"responding to changes in the model by updating the converted amount
refreshing the display when the result is updated."

@acheetham there is a bit of inconsistency with the examples used. It starts with reference to a barograph and visuallizer but then switches to currency conversion. It would be better if they were all the same theme. Maybe change the first couple to be about currency conversion too.

merged at 8f48aa9cbd25aa098291f1c2e88d58a3088079cf


Database error when updating tasks status

INFO:root:Processing analysis data for Task #111
ERROR:root:Exception when processing task ID 111.
Traceback (most recent call last):
File "./process.py", line 59, in autoprocess
ar.get()
File "/usr/lib/python2.7/multiprocessing/pool.py", line 558, in get
raise self._value
AssertionError
DEBUG:lib.cuckoo.core.database:Database error setting status: (DataError) (1265, "Data truncated for column 'status' at row 1") 'UPDATE tasks SET status=%s WHERE tasks.id = %s' ('failed_processing', 111L)
INFO:root:Processing analysis data for Task #111
ERROR:root:Exception when processing task ID 111.
Anyone encountered this kind of error?

It falls under #Pending_results maintenance.

Submit sample, process_result should be separate thread
process.py -dr -p 10 auto

once the analysis task is done.
2015-02-05 09:57:11,115 [lib.cuckoo.core.scheduler] DEBUG: Released database task #112 with status True
2015-02-05 09:57:11,115 [lib.cuckoo.core.scheduler] INFO: Task #112: analysis procedure completed
exception will occur on process.py

Thanks of reporting.
I can't reproduce your bug so more information are needed (i.e. are you running latest master release, the issue happens for every task, do you tried to clean and delete the database).

I running latest master release with --clean db feature.
Still producing the bug.
DEBUG:lib.cuckoo.core.database:Database error setting status: (DataError) (1265, "Data truncated for column 'status' at row 1") 'UPDATE tasks SET status=%s WHERE tasks.
id = %s' ('failed_processing', 1L)
INFO:root:Processing analysis data for Task #1
ERROR:root:Exception when processing task ID 1.
Traceback (most recent call last):
File "./process.py", line 59, in autoprocess
ar.get()
File "/usr/lib/python2.7/multiprocessing/pool.py", line 558, in get
raise self._value
AssertionError

python cuckoo.py --clean
python cuckoo.py -d
python process.py -dr -p 10 auto

malware sha256=7b217450c2b15609025d09ade7580f38b20912d0b4f961eadb3dad3148feab5d

upon checking the db,
'UPDATE tasks SET status='failed_processing' WHERE tasks.id = 1'
but status type is  enum('pending','running','completed','reported','recovered')

This is an update.
Already did setup latest cuckoo revision, with mysql connection and process_result=off
Still having problem on auto process.
INFO:root:Processing analysis data for Task #3
ERROR:root:Exception when processing task ID 3.
Traceback (most recent call last):
File "./process.py", line 59, in autoprocess
ar.get()
File "/usr/lib/python2.7/multiprocessing/pool.py", line 558, in get
raise self._value
AssertionError
/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/default.py:436: Warning: Data truncated for column 'status' at row 1
cursor.execute(statement, parameters)

Thanks, i will check tomorrow with the same setup.

I am also having a similar issue.  Maybe it is related to the @classlock decorator?
2015-02-10 08:51:52,782 [lib.cuckoo.core.scheduler] INFO: Task #1: analysis procedure completed
INFO:root:Processing analysis data for Task #1
DEBUG:lib.cuckoo.core.database:Database error listing tasks: This result object does not return rows. It has been closed automatically.
WARNING:sqlalchemy.pool.QueuePool:Error closing cursor: (2014, "Commands out of sync; you can't run this command now")

Guys, it doesn't happen to me, so i need some help to reproduce this. More details you give, better is. Which db? Does It happen random? Does it happen at the first analysis or the 1000nd? How many sample do you run to triggger it?

Setup:

Latest master release of cuckoo
./cuckoo.py --clean
Conf/cuckoo.py: process_result = off
Machine: ESX having 10 machines waiting for analysis task.
./cuckoo.py -d and the other tab will ./process.py -drp 10 auto

Btw, im using mysql as my database.
mysql  Ver 14.14 Distrib 5.6.19, for debian-linux-gnu (x86_64) using  EditLine wrapper

Does It happen random?

No. It happened to me by the time cuckoo finished the analysis.

Does it happen at the first analysis or the 1000nd?

Every analysis.

How many sample do you run to triggger it?

I can duplicate it using any sample.

I probably can help a bit here, the problem is process.py is putting some analisys as "failed_processing"... a status wich is not correctly inserted into the ENUM in the database, here, have a look: https://github.com/cuckoobox/cuckoo/blob/master/lib/cuckoo/core/database.py#L273
=)

Uhm it could be, I tested it with sqlite which is not enforcing enum as mysql

@supahal Is it fixed now for you?

Should be fixed / solved with our commits related to the locking on Database().
Please re-open if the problem occurs again after 1.2 release.


mauihybrid solution with all plataforms even without maui

Could someone please post the instructions so that a solution with Avalonia Maui Hybrid has Windows and browser projects without Maui Hybrid (use Maui would have to be conditional in the main project, for example) etc etc.
This would allow where Maui is not supported the programmer to create their own solutions.
Thank you very much in advance

You have to create separate projects for Windows and browser projects. It's simply a limitation of the SDK.
In .NET 8 it's going to be possible though, but also out of the scope of anything MAUI related. We do have plans to have some single-project support for simple apps.

You have to create separate projects for Windows and browser projects. It's simply a limitation of the SDK. In .NET 8 it's going to be possible though, but also out of the scope of anything MAUI related. We do have plans to have some single-project support for simple apps.

I dont want an sigle project solution.
I want an solution like avalonia does today, with one project in net7 and other projects one per plataform, but with conditional to use maui hibrid only in android and ios projects and conditional for mai project to only use maui wen target is android and ios but not for windows or browser.

You have to create separate projects for Windows and browser projects. It's simply a limitation of the SDK. In .NET 8 it's going to be possible though, but also out of the scope of anything MAUI related. We do have plans to have some single-project support for simple apps.

Uno does this, in uno i can have maui/mobile and others plataforms in same solution

This worked for me
change shared project with conditions to use maui only if target is IOS or android
in windows or other platforms projects dont use any maui things, make your api similar to maui essentials yourself
`

net8.0
enable
latest
true

<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android' or $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
	<UseMaui >true</UseMaui>
	<UseMauiEssentials>true</UseMauiEssentials>
	<SkipValidateMauiImplicitPackageReferences>true</SkipValidateMauiImplicitPackageReferences>
</PropertyGroup>

<ItemGroup>
	<AvaloniaResource Include="Assets\**" />
</ItemGroup>

<ItemGroup>
	<PackageReference Include="Avalonia" Version="11.0.999" />
	<PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.999" />
	<PackageReference Include="Avalonia.Fonts.Inter" Version="11.0.999" />
	<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />

	<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
	<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.0.999" />
</ItemGroup>

<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android' or $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'" >
	<PackageReference Include="Avalonia.Maui" Version="11.0.5" />
	<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.3" />
</ItemGroup>

`

THIS WORKED LIKE A SHARM !!!!!!
with this shared project csproject file you also have Browser project compiling in avalonia maui hybrid solution
also note that we are using nuget.config with avalonia nightly builds (see avalonia docs) to get avalonia 11.0.999
because avalonia 11.0.6 are getins java erros in android and net6 referencies that dont exist in net8-android
and in browser we are using avalonia 11.0.6 with browser target, because avalonia nightly are geting erros in browser project...
`

 < Project Sdk="Microsoft.NET.Sdk"  >
	< PropertyGroup >
		< TargetFramework > net8.0 < /TargetFramework  >
		< Nullable > enable < /Nullable >
		< LangVersion > latest < /LangVersion >
		< AvaloniaUseCompiledBindingsByDefault > true < /AvaloniaUseCompiledBindingsByDefault >
	<  /PropertyGroup  >

	< Choose >
		< When Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android' or $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'" >
			< PropertyGroup  >
				< UseMaui >true</UseMaui >
				< UseMauiEssentials >true< /UseMauiEssentials >
				< SkipValidateMauiImplicitPackageReferences  >true <  /SkipValidateMauiImplicitPackageReferences >
			< /PropertyGroup >

			< ItemGroup >
				< PackageReference Include="Avalonia" Version="11.0.999" / >
				 < PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.999" / >
				< PackageReference Include="Avalonia.Fonts.Inter" Version="11.0.999" / >

				< PackageReference Include="Avalonia.Maui" Version="11.0.5" / >
				< PackageReference Include="Microsoft.Maui.Controls" Version="8.0.3" / >

				< !  -- Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration. -- >
				< PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.0.999" / >
			< /ItemGroup >
		< /When >
		< Otherwise >
			< ItemGroup >
				< PackageReference Include="Avalonia" Version="11.0.6" / >
				< PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.6" / >
				< PackageReference Include="Avalonia.Fonts.Inter" Version="11.0.6" / >

				< ! -- Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration. --  >
				< PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.0.6" /  >
			< /ItemGroup >
		< /Otherwise >
	< /Choose >

	< ItemGroup >
		< AvaloniaResource Include="Assets\**" / >
	< /ItemGroup >

	< ItemGroup >
		< PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" / >
	< /ItemGroup >
 < /Project >

`


How to map key for select completion candidate with ctrl-n and ctrl-p?

The tag is :editor.keys.hinting.active, but what's the command?

This should give you a hint:
https://github.com/LightTable/Emacs/blob/master/emacs.keymap#L86-L91

Exactly what I'm looking for!


AUMS access issues

Describe the bug
The application crashes as we try to access the AUMS after installing the latest updates
To Reproduce
Steps to reproduce the behavior:

Open the application.
Click on the AUMS tab to access it.
The application crashes immediately.

Expected behavior
Access of AUMS with the features of attendance, marks, grades, and resources ( as mentioned in the update)
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS:
Android Studio Version

Smartphone (please complete the following information):

Device: Samsung Galaxy J7 nxt
OS: One UI

Additional context
Add any other context about the problem here.

@italiyak1 I'm aware of the issue. Some weird bug due to encryption. Will be rolling out an update by tonight.


Scan 4 photos and stops

Running on unraid docker. I have all my photos in the /var/lib/librephotos/photos directory. When I run a scan it's scans 4 pictures then stalls. Takes a docker restart and it will scan another 4 photos and stalls. I've seen the few other issues related to this but their issues seem to be connected to using some kind of network share. That's not my case.

We have the bug template for a reason. Please fill it out, otherwise I can't help you.


Morphing Cube Animation

Hello !
I am GSSOC'22 contributor. I would like to perform this task. This the cube which gives 3D effect and also the cube is converted into circular flash cards. Kindly assign me this task.
Thank you !

Issues for new projects will be assigned next week. This week we are only focussing on improving the existing ones. You can raise this issue / reopen it next week.

Please reopen this issue and assign it to me.


Pragma line for Nit

When generating Nit code, one might want to include some pasted content inside.
The question is what syntax to use?
The one of C C++ C# is known but conflicts with comments
https://gcc.gnu.org/onlinedocs/cpp/Line-Control.html
https://msdn.microsoft.com/en-us/library/34dk387t.aspx
var a = 1
#line 50 somefile
print 1

Unused US-ASCII printable characters in Nit : $&^

Nit source files with the word pragma in them:
$ egrep -r '[^_]pragma' lib src contrib
src/compiler/compiler_ffi.nit:		# The real function MUST be compiled only once, #define pragma only protect the compiler, not the loader
contrib/online_ide/setup/mode-nit.js:			regex : "^\\s*#(if|else|elif|endif|define|undef|warning|error|line|region|endregion|pragma)"
contrib/online_ide/sources/nit_mode_for_ace/lib_ace_mode/nit_highlight_rules.js:			regex : "^\\s*#(if|else|elif|endif|define|undef|warning|error|line|region|endregion|pragma)"


wizard/activation key: remove a useEffect

In the CreateImageWizard component, choosing which source to use is already taken cared of (see https://github.com/RedHatInsights/image-builder-frontend/blob/1456861e630ecc3faa1c1a1f6411cea26ad51f00/src/Components/CreateImageWizard/CreateImageWizard.js#L435) Thus it seems safe to remove the piece of code that is initializing the same area of the form state.

well this doesn't work for now :sweat_smile:

Would you mind converting this to a .tsx in this PR? It might have some implications on your useEffect refactor, but will give us more confidence in the refactor and now is a good time since you are familiar with the code.


reply with requested protocol version

Android at the moment uses protocol version 0 and ios protocol version 1 (at sdk 51). I had some issues with the ios updated process that seem to be working now, when replying with the requested protocoll version.
Technically just echoing the version as in this solution is of course not the best, but it is a very low effort fix that works for now.

Thanks!! 😊


Inserting a grid item at the location of an user's click

Describe the solution you'd like
I'd like to be able to right click an empty area of the grid and click "insert a dashboard" here. Thoughts on how I'd achieve this?
I know Vue Grid Layout uses its own row/column layout, so I would need to somehow translate (x, y) coordinates of the click (from the browser) into (row, col) coordinates. I'm not sure how to do this.
Describe alternatives you've considered
I've succeeded at inserting a dashboard into a hard-coded place in the grid (row 0, column 0). However, users would need to move the dashboard to the desired location in the grid, once it's created

can get the cursor-pointer positiondx = cursor-pointer.pageX - container.offsetX
dy = cursor-pointer.pageY - container.offsetY

compute co.pos

    co.pos.x = ~~(dx/container.width/colNum)
    co.pos.y = ~~(dy/rowHeight)

push new data to layout

   this.layout.push({x:co.pos.x, y:co.pos.y, w:w,h:h, i:(this.layout.length-1)})

emit position

   this.$refs.gridLayout.dragEvent(  'dragend',  String(this.layout.length.slice(-1).i), x:pos.x, y: co.pos.y, h:h,  w:w )

maybe you want the placeholder
you can new dragEvent("dragstart") and dragEvent("dragend") and then call $ref.grid-item.handleDrag(dragEvent);
good luck


OCPBUGS-42165: Do not cache images from containers with image pull policy 'Always'

When a container in a pod uses the ImagePullPolicy Always, we should not use the cache to retrieve its metadata.
While changing a behavior in the pod_builder to accommodate a test for this PR, I noticed an issue with the integration test of the operators bundle cases. This PR includes the fix as the new behavior of the WithContainerImages function would let the test to fail.

/jira refresh

/lgtm

/approve

/test images

/retest

/hold

test on image  brew.registry.redhat.io/rh-osbs/iib:835019  without the pr merged failed the below steps.

test on image quay.io/redhat-user-workloads/multiarch-tuning-ope-tenant/multiarch-tuning-operator/multiarch-tuning-operator:on-pr-7f49bf6824cc7bd9c298915daee243093839528e with the pr merged passed the below steps.

test steps:

create deployment with image quay.io/openshifttest/tmpvalid:latest which support [amd64 ppc64le], check nodeAffinity set by PPC, the value should be [amd64 ppc64le]
rebuild image with the same tag to support [arm64 s390x] , recreate pod, check nodeAffinity set by PPC, the value should be [arm64 s390x]

/unhold

/cherry-pick v1.0

/cherrypick v1.0


docs: Enable Javadoc generation as GitHub action

Description
Here I want to enable Javadoc generation and publication on Github pages.
In this PR I covered com.lpvs and com.lpvs.controller packages by comments.
Other packages will be covered by Javadoc comments step-by-step in other PRs.
Also, I've created the task #307 with the request to update comments.
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[X] Code cleanup/refactoring
[X] Documentation update
[X] This change requires a documentation update
[X] CI system update
[ ] Test Coverage update

Checklist:

[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 my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (727c477) 91.49% compared to head (8f8feb3) 91.49%.

Files
Patch %
Lines

.../com/lpvs/controller/GitHubWebhooksController.java
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #308   +/-   ##
=========================================
  Coverage     91.49%   91.49%
  Complexity      458      458
=========================================
  Files            48       48
  Lines          1516     1516
  Branches        182      182
=========================================
  Hits           1387     1387
  Misses           81       81
  Partials         48       48

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Problem with Android >= 24

Hi, I think this lib is not supporting Android 24 properly.
I am getting this error:

android.os.FileUriExposedException: file:///storage/emulated/0/... exposed

Reference:
http://stackoverflow.com/questions/38200282/android-os-fileuriexposedexception-file-storage-emulated-0-test-txt-exposed
Regards,

i am get this error too.

@TwinsOd and @jaesga Do you use the compile 'com.frosquivel:magicalcamera:5.0.2' version?
I solved this in 5.0.2, please try again and tell me how did it go...

I have used 4.8 version libs, now fix and all great working. Thank you!!!

@TwinsOd thanks for comment your opinion, I do close this issue :)


y, y doesn't yank current line into system's clipboard

It yanks correctly inside jupyterlab, but doesn't go into system clipboard. Yanking in visual mode however does.

I have not been able to reproduce this. Yanking in visual mode does not copy to system clipboard. But this is normal vim behavior

this is normal vim behavior

Ok, but this isn't vim :)  I think having clipboard synced with system is more intuitive. Perhaps some options can be added


It looks like you have Mono installed which contains a MSBuild lower than 17.0.0

Hi, I'm trying to make the latest version of omnisharp work on Arch Linux but I stumbled against this error :
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Stdio.Host","Message":"Starting OmniSharp on arch 0.0 (x64)"},"Seq":1,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Services.DotNetCliService","Message":"Checking the 'DOTNET_ROOT' environment variable to find a .NET SDK"},"Seq":2,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Services.DotNetCliService","Message":"DotNetPath set to /home/lucas/.dotnet/dotnet"},"Seq":3,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.Discovery.MSBuildLocator","Message":"Located 1 MSBuild instance(s)\n            1: Mono 16.10.1 - \"/usr/lib/mono/msbuild/Current/bin\""},"Seq":4,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"WARNING","Name":"OmniSharp.CompositionHostBuilder","Message":"It looks like you have Mono installed which contains a MSBuild lower than 17.0.0 which is the minimum supported by the configured .NET Core Sdk.\n Try updating Mono to the latest stable or preview version to enable better .NET Core Sdk support."},"Seq":5,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.Discovery.MSBuildLocator","Message":"Registered MSBuild instance: Mono 16.10.1 - \"/usr/lib/mono/msbuild/Current/bin\""},"Seq":6,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.WorkspaceInitializer","Message":"Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0"},"Seq":7,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Cake.CakeProjectSystem","Message":"Detecting Cake files in '/home/lucas/Code/prout'."},"Seq":8,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Cake.CakeProjectSystem","Message":"Did not find any Cake files"},"Seq":9,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.ProjectSystem","Message":"No solution files found in '/home/lucas/Code/prout'"},"Seq":10,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.ProjectManager","Message":"Queue project update for '/home/lucas/Code/prout/prout.csproj'"},"Seq":11,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Script.ScriptProjectSystem","Message":"Detecting CSX files in '/home/lucas/Code/prout'."},"Seq":12,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Script.ScriptProjectSystem","Message":"Did not find any CSX files"},"Seq":13,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.WorkspaceInitializer","Message":"Configuration finished."},"Seq":14,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Stdio.Host","Message":"Omnisharp server running using Stdio at location '/home/lucas/Code/prout' on host -1."},"Seq":15,"Type":"event"}
{"Event":"started","Body":null,"Seq":16,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.ProjectManager","Message":"Loading project: /home/lucas/Code/prout/prout.csproj"},"Seq":17,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"ERROR","Name":"OmniSharp.MSBuild.ProjectLoader","Message":"The reference assemblies for \".NETFramework,Version=v6.0\" were not found. You might be using an older .NET SDK to target .NET 5.0 or higher. Update Visual Studio and/or your .NET SDK."},"Seq":18,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"WARNING","Name":"OmniSharp.MSBuild.ProjectManager","Message":"Failed to load project file '/home/lucas/Code/prout/prout.csproj'."},"Seq":19,"Type":"event"}
{"Event":"MsBuildProjectDiagnostics","Body":{"FileName":"/home/lucas/Code/prout/prout.csproj","Warnings":[],"Errors":[{"LogLevel":"Error","FileName":"/usr/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets","Text":"The reference assemblies for \".NETFramework,Version=v6.0\" were not found. You might be using an older .NET SDK to target .NET 5.0 or higher. Update Visual Studio and/or your .NET SDK.","StartLine":1232,"StartColumn":5,"EndLine":0,"EndColumn":0}]},"Seq":20,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"ERROR","Name":"OmniSharp.MSBuild.ProjectManager","Message":"Attempted to update project that is not loaded: /home/lucas/Code/prout/prout.csproj"},"Seq":21,"Type":"event"}

Here's my dotnet --info :
.NET SDK (reflecting any global.json):
 Version:   6.0.404
 Commit:    be4f3ec411

Runtime Environment:
 OS Name:     arch
 OS Version:
 OS Platform: Linux
 RID:         arch-x64
 Base Path:   /home/lucas/.dotnet/sdk/6.0.404/

Host:
  Version:      7.0.1
  Architecture: x64
  Commit:       97203d38ba

.NET SDKs installed:
  6.0.404 [/home/lucas/.dotnet/sdk]
  7.0.101 [/home/lucas/.dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.12 [/home/lucas/.dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.1 [/home/lucas/.dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.12 [/home/lucas/.dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.1 [/home/lucas/.dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
  None

Environment variables:
  DOTNET_ROOT       [/home/lucas/.dotnet/]

global.json file:
  /home/lucas/Code/prout/global.json

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download

Does anyone have an idea?
Thank you.

There is currently no Mono distribution that ships with MSBuild 17.0.0 so running OmniSharp with Mono does not support .NET 6.0.
For .NET 6.0 you need to use the .NET 6.0 distribution of OmniSharp https://github.com/OmniSharp/omnisharp-roslyn/releases/tag/v1.39.3

Hi, thanks for your response but I'm using this version already.

I do not mean just version 1.39.3. Version 1.39.3 comes in a Mono flavour and in .NET 6.0 flavour (see the files attached to the release).
If you launch .NET 6.0 build of OmniSharp (with .NET SDK not with Mono) it should not have Mono MSBuild locator enabled, so it should not discover Mono at all (which in your case happens).


Alarm dot com broken out of nowhere

From my core logs:
2021-08-06 09:47:20 ERROR (MainThread) [pyalarmdotcomajax.pyalarmdotcomajax] Unable to extract system id from Alarm.com 2021-08-06 09:47:20 ERROR (MainThread) [homeassistant.components.alarm_control_panel] Error while setting up alarmdotcom platform for alarm_control_panel Traceback (most recent call last):   File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform     await asyncio.shield(task)   File "/config/custom_components/alarmdotcom/alarm_control_panel.py", line 96, in async_setup_platform     await alarmdotcom.async_login()   File "/config/custom_components/alarmdotcom/alarm_control_panel.py", line 156, in async_login     await self._alarm.async_login()   File "/usr/local/lib/python3.9/site-packages/pyalarmdotcomajax/pyalarmdotcomajax.py", line 206, in async_login     return await self._async_get_system_info()   File "/usr/local/lib/python3.9/site-packages/pyalarmdotcomajax/pyalarmdotcomajax.py", line 166, in _async_get_system_info     self._systemid = json["data"][0]["id"] KeyError: 'data'

I have the same issue. When looking at the pyalarmdotcomajax source and trying a few options it appears the login works as I get a 200 response but when fetching availableSystemItems I get 403 Forbidden. Perhaps Alarm.com has started blocking these requests?

I'm having a similar issues. Here's my log:
This error originated from a custom integration.

Logger: homeassistant.helpers.entity
Source: custom_components/alarmdotcom/alarm_control_panel.py:160
Integration: alarmdotcom (documentation)
First occurred: August 3, 2021, 3:35:28 PM (2715 occurrences)
Last logged: 10:29:34 PM

Update for alarm_control_panel.alarm_com fails
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/pyalarmdotcomajax/pyalarmdotcomajax.py", line 222, in async_update
    self.sensor_status = json["data"]["attributes"]["needsClearIssuesPrompt"]
KeyError: 'data'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 401, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 617, in async_device_update
    await task
  File "/config/custom_components/alarmdotcom/alarm_control_panel.py", line 160, in async_update
    await self._alarm.async_update()
  File "/usr/local/lib/python3.9/site-packages/pyalarmdotcomajax/pyalarmdotcomajax.py", line 242, in async_update
    await self.async_update()
  File "/usr/local/lib/python3.9/site-packages/pyalarmdotcomajax/pyalarmdotcomajax.py", line 212, in async_update
    await self.async_login()
  File "/usr/local/lib/python3.9/site-packages/pyalarmdotcomajax/pyalarmdotcomajax.py", line 206, in async_login
    return await self._async_get_system_info()
  File "/usr/local/lib/python3.9/site-packages/pyalarmdotcomajax/pyalarmdotcomajax.py", line 166, in _async_get_system_info
    self._systemid = json["data"][0]["id"]
KeyError: 'data'

OK...Just as suddenly as it stopped working last week, it's back up again now.

It is working for me again, as well.

I am still getting the error. Removed, reset, added, 2fa, etc and no luck

Sorry, no idea what happened, but glad it got resolved.


Kaas docs

These are the docs for KAAS.  Let's merge this after the release this week.

@ryannowarm This still needed? Will rebase and merge if so

Yes, please @mray190


ck8s init does not update config version and does not set new variables

Describe the bug
Config version is not updated when issuing ck8s init. Various variables are not set.
To Reproduce
Steps to reproduce the behavior:

Start from an older config.
Set CK8S_CONFIG_PATH
Run ./bin/ck8s init
Run ./bin/ck8s apply sc

Expected behavior
Apply start running.
Actual behavior
$ ./bin/ck8s apply sc
[ck8s] ERROR: Version mismatch!
[ck8s] Config version: 0.7.0
[ck8s] CK8S version: 0.13.0

# After manually fixing version
$ ./bin/ck8s apply sc
[ck8s] Validating sc config
[ck8s] WARN: harbor.oidc.groupClaimName is not set in /home/cklein/elastisys/ck-exoscale-config-ng/sc-config.yaml
[ck8s] WARN: alerts.opsGenieHeartbeat.name is not set in /home/cklein/elastisys/ck-exoscale-config-ng/sc-config.yaml
[ck8s] WARN: alerts.slack.channel is not set in /home/cklein/elastisys/ck-exoscale-config-ng/sc-config.yaml
[ck8s] WARN: ingressNginx.controller.service.type is not set in /home/cklein/elastisys/ck-exoscale-config-ng/sc-config.yaml
[ck8s] WARN: ingressNginx.controller.service.annotations is not set in /home/cklein/elastisys/ck-exoscale-config-ng/sc-config.yaml
[ck8s] Do you want to abort? (y/n):

Version (add all relevant versions):

Compliant kubernetes apps version v0.13.0

They are set to "set-me", meaning you should probably have a look at them and set an appropriat value.

@OlleLarsson That is true, however:

I have ingressNginx.controller.service.enabled==false. Is it possible not to be forced to set service type and annotation, and have good default values instead? We discussed preferring template validation for validating such cases (e.g., https://github.com/elastisys/compliantkubernetes-apps/blob/main/helmfile/charts/issuers/templates/_helpers.tpl#L29). Is this not usable in this case?
Similarly, I have `alerts.alertsTo=="null".

I kind of like the harbor warning, since that feels like a "new feature" warning. :smile:

We moved this to "Re-evaluate" since this feels part of a larger discussion on expectation management on compliantkubernetes-apps.
Personally, I like to keep all configs in git. Then I do:
git checkout config
./aggressive-command-that-changes-too-many-configs.sh

# manually review, accept or reject changes
git diff
git checkout -p
git add -p
git commit -m "Updated config"

Seems like some prefer a more conservative config command.

Pending outcome of #407 .

Also related #607

@aarnq did you also fix this with your split config work?

@crssnd Yes, the version is updated and the default configs are updated with new values after init.


Error object in catch() of promise

Error in catch prints something like this
{ [<error message>]
    <key>: <value>,
    ...
}

It took me 5 mins to finally figure out that its not a JSON but Error object with toString function changed (correct me if I'm wrong).
I suggest change that toString to print something which doesn't look like a deformed JSON

This is actually standard; try the following code:
var fn = function () { };
fn.foo = 'foo';
console.log(fn);

var err = new Error('msg');
err.bar = 'bar';
console.log(err);

You can see that this is the way Node prints certain classes of objects when properties are assigned to them. Presumably all knex is doing is adding some additional properties to give context and information about the error. If you're looking for a stack trace, try logging err.stack

Gonna close this, go ahead and post a comment if you think it should remain open...

Ah! It seems like it is, but I asked this on #javascript@freenode and no one was able to explain this behavior and until someone asked me to try err.message saying that Error objects sometimes behave this way. Maybe adding something about how to use the returned error somewhere in knex documentation would be helpful?

I don't feel like this has anything to do with knex, to be honest. It behaves like any Error object, and there's nothing special in knex about it. It's just part of learning about javascript like anything else; Knex's docs aren't the place to explain function expressions, promises, or any number of other concepts; I feel like this falls in that category.
P.S. There's a #node.js on freenode, as well as #bookshelf (which includes knex discussion) :)


fix: distribute source map and typings

Before submitting a pull request, please make sure the following has been completed:

You've rebased or merged in the latest version of master.
You've added or updated tests around this change.
You've run npm run check locally and it's passed.
You've run npm run doc to update the README.md.
Explain in detail what this pull request accomplishes and why it's necessary.
If you're fixing an issue, include "Fixes #1234" in this text box.
Add QA notes so that reviewers can test this change.

Sorry for the noise, these PR are not ready. I'm testing them in my own fork.


Strange error with Strong/Forget

Hello,
I'm using profunctor-lenses v 6.2.0 with purescript 0.13.6.
I'm getting the following error:
Error found:
in module Gargantext.Components.Nodes.Annuaire.User.Contacts
at src/Gargantext/Components/Nodes/Annuaire/User/Contacts.purs:149:22 - 149:72 (line 149, column 22 - line 149, column 72)

  Could not match constrained type

    Strong p0 => p0 String String -> p0 HyperdataUser HyperdataUser

  with type

    Forget String String t1 -> Forget String HyperdataUser t2

while trying to match type Strong p0 => p0 String String -> p0 HyperdataUser HyperdataUser
  with type Forget String String t1 -> Forget String HyperdataUser t2
while checking that expression (hooksComponent "G.C.N.A.U.C.contactInfoItem") cpt
  has type Component
             ( hyperdata :: HyperdataUser
             , lens :: forall p. Strong p => ... -> ...
             , onUpdateHyperdata :: HyperdataUser -> Effect Unit
             )
in value declaration contactInfoItemCpt

where p0 is a rigid type variable
        bound at (line 52, column 21 - line 52, column 58)
      t1 is an unknown type
      t2 is an unknown type

for the following code:
https://gitlab.iscpif.fr/gargantext/purescript-gargantext/blob/dev-user-page-lens-test/src/Gargantext/Components/Nodes/Annuaire/User/Contacts.purs#L137-154
The lens are defined here:
https://gitlab.iscpif.fr/gargantext/purescript-gargantext/blob/dev-user-page-lens-test/src/Gargantext/Components/Nodes/Annuaire/User/Contacts/Types.purs#L210-228
What is funnier, when I don't specify the types:
contactInfoItem :: Record ContactInfoItemProps -> R.Element
contactInfoItemCpt :: R.Component ContactInfoItemProps

the code compiles fine. However, it will fail at compiling when I use both the view and set functions (set is currently commented out here: https://gitlab.iscpif.fr/gargantext/purescript-gargantext/blob/dev-user-page-lens-test/src/Gargantext/Components/Nodes/Annuaire/User/Contacts.purs#L179-180) The error is then:
Error found:
in module Gargantext.Components.Nodes.Annuaire.User.Contacts
at src/Gargantext/Components/Nodes/Annuaire/User/Contacts.purs:153:27 - 153:31 (line 153, column 27 - line 153, column 31)

  Could not match type

    Function

  with type

    Forget t0

while trying to match type Function t4
  with type Forget t0 t0
while checking that expression lens
  has type Forget t0 t0 t1 -> Forget t0 t2 t3
in value declaration contactInfoItemCpt

I tried to debug this somehow and created simple code with view and set and created a stub func which is somewhat similar to contactInfoItemCpt from above:
https://gitlab.iscpif.fr/gargantext/purescript-gargantext/blob/dev-user-page-lens-test/src/LensTest.purs
The function func can be called like this:
func defaultT $ _s <<< _last

This works fine however and I'm really lost here.
Any help appreciated :)

It looks like you're trying to put it into (or take it from) a record? There are some issues with that, which is why it worked fine in your test function but not in the real situation.
The usual way of handling it is to use the concrete versions of the optic instead, so ALens instead of Lens, APrism' instead of Prism', etc.
You can put your normal non-concretely-defined optics into a record typed with these, but when you pull them out you'll need to use cloneLens or clonePrism etc. before you can work with it as normal again.

OK indeed this fixed the issue, thank you!


Git: Checkout to... should use worktree

Hi,
Git: Checkout to... should use worktree when it is available: VS Code should open worktree folder and if possible try to open workspace with the same name.
Currently, it shows an error that the branch is checked out elsewhere:

Thanks.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


istio.io docs for operator CLI mode

Create user facing docs for the istio.io website.

FYI: Operator CLI reference at https://docs.google.com/document/d/16SWW14zrwFKc9OzH6biMQD1u9INllzMa56jde9vgQkM

We now have an tech writer (Adam Miller) that will own this item, based on the draft material I've created. This issue is now moved to istio/istio.io https://github.com/istio/istio.io/issues/4744


Adds numerous bug fixes for remote cross.

Adds simpler container and volume cleanup, and avoiding keeping anonymous volumes for /cargo/bin present after the container exited. It also ensures containers are stopped even if a signal is sent to the cross command (except SIGKILL), and ensures that containers exit quicker if possible. This is done by using the presence of a TTY, and if it is present, running the default entrypoint, which responds to signals. If we do not have a TTY, the image will not respond to signals, so we send the container a SIGKILL via docker stop using a an instant timeout (0).
This also fixes an issue with stale fingerprint data: if a persistent data volume was deleted and then recreated, previously the project data would not be copied over. This meant that the project could not be found, and it would require users to manually delete the fingerprint data or use single-used volumes.
This also checks if the container has been scheduled for deletion (the drop may not have completed), and errors out early if more calls are made to the container.
This also properly handles docker rm calls if the docker stop command worked without needing a SIGKILL: it silences the output of the error if the container wasn't found.

There's a lot of comments but ~80% of them are comments, just to document clearly the behavior that's going on, the bugs we aim to prevent, etc.


New experimental backend plugin manager package

Hey, I just made a Pull Request!
This PR adds the backend-plugin-manager package which provides experimental support for dynamic backend plugins, according to the content of the proposal in RFC 18390.
A dedicated showcase repository contains contributions that make it very easy to test, experiment and explore the dynamic backend plugins feature provided by this new package.
This new package is EXPERIMENTAL, and is subject to change according to the discussions and conclusions that happen around the RFC mentioned above.
However having it merged in the backstage codebase as soon as possible, though in experimental state, should be beneficial and without risks since:

it doesn't introduce any change inside the existing backstage code, and is only enabled on-demand in backend applications (see the example backend application provided in the showcase repository),
it provides a playground for the community to test the feature, provide feedback, explore usage, shape its future direction and start thinking at higher-level designs on top of it.

Here is a demo of the testing steps proposed in the showcase repository:
https://github.com/janus-idp/dynamic-backend-plugins-showcase/assets/686586/a9f64c33-e77f-45eb-9716-02b2ea9fc87d
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

@Rugvip As we had discussed, I removed the contrib sub-folder from this PR, and created dedicated repositories (mentioned in the PR description) with the example backend apps and example plugins.
As a side node I don't see how the failing techdocs CI test can be related to this PR. Maybe it could be restarted ?

@Rugvip pulling you into co-review this too :tada:

@Rugvip @benjdlambert @backstage-service do you think you could reopen this PR ? I was on vacation and didn't have a chance to answer the review comments before it being quickly closed as staled.

@Rugvip I fixed most of your comments, and answered the others. As for checks, I have no idea why the E2E Windows test fails. Is there a way to retrigger it ?

I see that the tests here are flaky sometimes. If you get a chance to look at those, I'd appreciate it @davidfestal !
https://github.com/backstage/backstage/actions/runs/6974950576/job/18981425121?pr=21519#step:8:18772

I see that the tests here are flaky sometimes. If you get a chance to look at those, I'd appreciate it @davidfestal !
https://github.com/backstage/backstage/actions/runs/6974950576/job/18981425121?pr=21519#step:8:18772

I'll look into it, sure.

I see that the tests here are flaky sometimes. If you get a chance to look at those, I'd appreciate it @davidfestal !
https://github.com/backstage/backstage/actions/runs/6974950576/job/18981425121?pr=21519#step:8:18772

I'll look into it, sure.

Here it is: https://github.com/backstage/backstage/pull/21625


revertstorage medium of partition can not extend from table

revert https://github.com/apache/doris/pull/35644/files
table if not set storage medium, will set default by Config.default_storage_medium,
at present, we cannot distinguish whether the storage medium of the table is set by the user.
If it is not set by the user, it represents priority use rather than mandatory use. If we directly inherit the storage medium of the table, it may cause the partition to be forced to use 'Config. default_storage_madium', resulting in the partition being unable to be created

run buildall


Pass Environment To CMake in all Cases

Related Issue(s)

Has Unit Tests (y/n)

Documentation Included (y/n)

Change Description
When settings.ini defines an environment, it needs to ensure that that environment is passed to CMake in all cases (with the exception of the cmake --help test.
Rationale
Fixes nasa/fprime#2033
Testing/Review Recommendations
Added a number of UTs to test key functionality in cmake.py
Future Work
Environment should be passed to wrapped utilities too (fpp, etc).  This will require more work: https://github.com/nasa/fprime/issues/3081
This extra work is not the cause of the reported issue.

Closing, incorrect branch and issue.


Lazy data files resolution

Related to discussion at https://github.com/huggingface/datasets/pull/6255
this makes this code run in 2sec instead of >10sec
from datasets import load_dataset

ds = load_dataset("glue", "sst2", streaming=True, trust_remote_code=False)

For some datasets with many configs and files it can be up to 100x faster.
This is particularly important now that some datasets will be loaded from the Parquet export instead of the scripts.
The data files are only resolved in the builder __init__. To do so I added DataFilesPatternsList and DataFilesPatternsDict that have .resolve() to return resolved DataFilesList and DataFilesDict

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Getting the same windows error as in my other PR. I couldn't reproduce on my windows machine though 🧐

DataFilesDict is used in some repositories when people want to list files from a repo using glob patterns

Also making DataFilesList lazy would require to make the pickling more complex, since we don't want to resolve the data files when pickling. At the same time we want to get different hashes if the data files and origin metadata are different so revolving the patterns is needed in that case (we hash the data files when creating the config_id, used in the cache)

The BuilderConfig.data_files property suggested above should address this, no?

That works indeed ! let me try something

Implementing lazy DataFilesList and .data_files brings more complexity (less readable, more bad side effects) so I think the current solution is the best one

I opened https://github.com/huggingface/datasets/pull/6493 to continue this and fix conflicts with https://github.com/huggingface/datasets/pull/6459


Stop image detail modal from going off screen

Fixes #72
Changed indentation, the diff that ignores whitespace changes is here.
Before/After

@danlamanna seems good enough. On smaller window sizes it could still scroll but the size is reasonable. It seems that instead of
$('.modal-inner-content').css('height', $('.modal-content').height() * 0.3);

You could do something like
$('.modal-inner-content').css('height', $(window).height() * 0.5);

to have it depend on window size, but maybe this does not really work the way I think it would.


Invariant Violation: requireNativeComponent: "ARTShape" was not found in the UIManager.

Bug
Invariant Violation: requireNativeComponent: "ARTShape" was not found in the UIManager.
This error is located at:
    in ARTShape (at Shape.js:61)
    in Shape (at Donut.js:59)
    in ARTGroup (at Group.js:35)
    in Group (at Donut.js:57)
    in ARTSurfaceView (at Surface.js:37)
    in Surface (at Donut.js:56)
    in RCTView (at Donut.js:54)
    in DonutChart (at App.js:32)
    in RCTView (at App.js:31)
    in RCTScrollContentView (at ScrollView.js:1038)
    in RCTScrollView (at ScrollView.js:1178)
    in ScrollView (at App.js:28)
    in RCTSafeAreaView (at SafeAreaView.js:55)
    in SafeAreaView (at App.js:27)
    in App (at renderApplication.js:40)
    in RCTView (at AppContainer.js:101)
    in RCTView (at AppContainer.js:119)
    in AppContainer (at renderApplication.js:39)

getNativeComponentAttributes
    getNativeComponentAttributes.js:29:2
createReactNativeComponentClass$argument_1
    requireNativeComponent.js:26:4
exports.get
    ReactNativeViewConfigRegistry.js:102:17

Environment info
React native info output:
 System:
    OS: macOS 10.15.2
    CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
    Memory: 540.21 MB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 10.16.3 - /usr/local/bin/node
    npm: 6.9.0 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK:
      API Levels: 22, 23, 25, 26, 27, 28, 29
      Build Tools: 23.0.1, 25.0.0, 27.0.3, 28.0.2, 28.0.3, 29.0.0, 29.0.2
      System Images: android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom
  IDEs:
    Android Studio: 3.5 AI-191.8<IP_ADDRESS>91312
    Xcode: 11.3/11C29 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0
    react-native: 0.61.5 => 0.61.5
  npmGlobalPackages:
    react-native-log-ios: 1.0.1
    react-native: 0.60.5

Library version: @react-native-community/art": "^1.1.2"
Steps To Reproduce

Use the demo code below
the simulators throws the above mentioned exception
...

Describe what you expected to happen:

A chart should render

Reproducible sample code
import React from 'react';
import { View, Text } from 'react-native';
import * as d3 from 'd3';

import { Surface, Shape, Group } from '@react-native-community/art';

const userPurchases = [
  {
    itemName: 'Mountain Dew',
    price: 3
  },
  {
    itemName: 'Shoes',
    price: 50
  },
  {
    itemName: 'Kit Kat',
    price: 1
  },
  {
    itemName: 'Taxi',
    price: 24
  },
  {
    itemName: 'Watch',
    price: 100
  },
  {
    itemName: 'Headphones',
    price: 15
  },
  {
    itemName: 'Wine',
    price: 16
  }
];

const sectionAngles = d3.pie().value(d => d.price)(userPurchases);
const path = d3
  .arc()
  .outerRadius(100) //must be less than 1/2 the chart's height/width
  .padAngle(0.05) //defines the amount of whitespace between sections
  .innerRadius(0.6); //the size of the inner 'donut' whitespace

const DonutChart = () => {
  const height = 250,
    width = 250;
  const colors = d3
    .scaleLinear()
    .domain([0, userPurchases.length])
    .range([0, 255]);

  return (
    <View style={{ flex: 1, backgroundColor: 'grey' }}>
      <Text>Chart</Text>
      <Surface width={width} height={height}>
        <Group x={width / 2} y={height / 2}>
          {sectionAngles.map((section, index) => (
            <Shape
              key={section.index}
              d={path(section)}
              stroke="#000"
              fill={'#0000FF'}
              strokeWidth={1}
            />
          ))}
        </Group>
      </Surface>
    </View>
  );
};

export default DonutChart;

Looks like a problem with your dependencies. Try the following if you haven't already:

cd ios && pod install
cd .. && react-native link
npm start --reset-cache
npx react-native run-ios

If still not working check the dependency is installed properly and your RN version is above 6.0 for auto-linking...

also getting this bug
Steps i have taken:

npm install
pod install
react-native run-ios

I have tried deleting node_modules

Any progress guys....!!
I'm also having the same issue.

I think on 0.62 this lib is not autolinking as expected. This should be fixable by adding this line to your podfile
  pod 'ReactNativeART', :path => '../node_modules/@react-native-community/art'

+1
android

android  is here ---> https://bocoder.tistory.com/40


[RESTEASY-2056] ported changes from master to 3.7 branch

Hi @rsearls,
JsonBindingDebugLoggingTest.java from PR #1889 is missing.
-Ron


python312Packages.tencentcloud-sdk-python: 3.0.1255 -> 3.0.1256

Diff: https://github.com/TencentCloud/tencentcloud-sdk-python/compare/refs/tags/3.0.1255...3.0.1256
Changelog: https://github.com/TencentCloud/tencentcloud-sdk-python/blob/3.0.1256/CHANGELOG.md

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 350765

x86_64-linux

:white_check_mark: 4 packages built:

python311Packages.tencentcloud-sdk-python
python311Packages.tencentcloud-sdk-python.dist
python312Packages.tencentcloud-sdk-python
python312Packages.tencentcloud-sdk-python.dist


[Typo] Incomplete Sentence [Page 11]

At the top of Page 11 (as a part of the text under Block Penetration), the text reads:

Note: Block and Block Penetration work similarly to Evasion and Accuracy however

Presumably there should be more text after "however".

Thanks!


Added BotTakeOver event

Need it to detect kills by a controlled bot :)

Tabs vs spaces :)
Can you fix this @main-- or @akiver?

(Closing and reopening so travis hopefully picks up this PR)

It's tabs now.


[Mat/Par]: Change 'Assigned' category in CRM to 'TES HR Admin Technicians'

User Story
“As a form owner I want send the Mat/Par application directly to  TES HR Admin Technicians,  so applications for MAt/Par can be processed in the most efficient manner”
Tasks
Change the “Assigned” field in the CRM ticket  from HRSC - Service Representative to TES HR Admin Technicians

[ ]  Communications; Identify and inform all stakeholders of the plans and timing for this change
[ ]  Payroll HR service centre, Knowledge base people (confirm with Connie and other SH)
[ ]  Plan tech deployment of FORM to PROD
[ ]  Make change, send form in CRM from HRSC - Service Representative to TES HR Admin Technicians

Acceptance Criteria
The checklist the product owner uses to decide whether a story is done. Objective and discrete answers (such as a yes/no) that can be tested.

[ ] End-to-end functional testing
[ ] End-to-end UX testing
[ ] If change is data impacting, test to confirm data has been sent with BI/DIO team

@bhumin-fw making sure the correct category is available in the test and Prod environment

@ayushdamani change assigned to "TES HR Admin Technicians". Please add new mat-pat form and approved it, go to CRM dashboard and review your new ticket and see where it assigned.
CRM name lookks like<PHONE_NUMBER>01. here it says 2024 August 08 28th and then sequence number 000001 (It will be any sequence number)
Please do let me or Andrew know and we will help you to lookup your new CRM ticket.

Thanks @bhumin-fw and @ayushdamani this looks just as it should in the TEST CRM

Deployed to PROD working great went straight to TES :)


fix(input): md-input doesn't pass through pattern attribute

closes #841

R: @hansl

We're reworking the Input API entirely, so I'm going to close this PR. The new API will not bind anything and move attributes to the proper place in the DOM.


Development mode on official vue page

Version
2.5.17-beta.0
Reproduction link
https://vuejs.org/
Steps to reproduce

Open the official vuejs page
Press Ctrl Shift I or open Developer Tools on Chrome
Look at the logs

What is expected?
The vuejs page is in a production environment, so the development mode should be disabled.
What is actually happening?
The page is in development mode and the log states that it should be disabled in production.

I found this bug while playing around with the Chrome Development Tool to see how certain vue elements behave when clicking and stuff and that way I discovered this "issue". It isn't crucial, but I think it should be noted.

https://github.com/vuejs/vuejs.org/issues/1140


Include proper feature engineering and pruning to create a reasonable cost function

A preliminary test indicates that using 1.6*log(ppm+1)+log(uncertainty_unit_cost) as the cost function works pretty well for feature engineering. This has a nice implication on runtime. As with proper feature engineering one can prune in an educated way. Note that the min costflow solver here is constantly below 0.1 seconds!
Features were motivated by this diagram:

where a combined cost of 8 corresponds to pruning everything but the 20% cheapest channels (cheap as in low combined cost) as indicted by this addation to the prepare_min_cost_flow_solver indicates:
                if self._prune_network:
                    neighbor = False
                    if channel.src ==src or channel.dest == dest:
                        neighbor = True
                    routing_cost = channel.linearized_integer_routing_unit_cost()
                    uncertainty_cost = channel.linearized_integer_uncertainty_unit_cost()
                    if neighbor == (False and 1.6*log(routing_cost+1) + log(uncertainty_cost))/2 > 8:
                        break

Here is a log of a run where the min cost flow problem is solved on the pruned network with the regular cost function (linearized_integer_uncertainty_cost + my*linearized_integer_routing_cost) and mu=1
Round number:  1
Try to deliver 29091333 satoshi:

Statistics about 29 candidate onions:

successful attempts:
--------------------
 p =  78.46% amt:    192000 sats  hops: 2 ppm:  1342
 p =  52.80% amt:   1200000 sats  hops: 2 ppm:  2572
 p =  78.58% amt:    177822 sats  hops: 2 ppm:  1415
 p =  69.33% amt:    400000 sats  hops: 2 ppm:  1382
 p =  76.00% amt:    200000 sats  hops: 2 ppm:  1382
 p =  77.95% amt:    220000 sats  hops: 3 ppm:  1439
 p =  73.92% amt:    194200 sats  hops: 3 ppm:  1362
 p =  99.69% amt:      4329 sats  hops: 3 ppm:  1757
 p =  49.07% amt:   1214012 sats  hops: 3 ppm:  1465
 p =  27.37% amt:   2674502 sats  hops: 3 ppm:  1537
 p =  50.33% amt:    400000 sats  hops: 4 ppm:  1562
 p =  46.22% amt:   3000000 sats  hops: 4 ppm:  1410
 p =  38.17% amt:    145043 sats  hops: 4 ppm:  1378
 p =  26.31% amt:    648823 sats  hops: 4 ppm:  1466
 p =  20.79% amt:   1400000 sats  hops: 5 ppm:  1375
 p =  21.55% amt:   3200000 sats  hops: 5 ppm:  1362
 p =  18.59% amt:   1520569 sats  hops: 5 ppm:  1352
 p =  17.39% amt:    565988 sats  hops: 5 ppm:  1451
 p =  30.51% amt:    500000 sats  hops: 5 ppm:  1344

failed attempts:
----------------
 p =  64.00% amt:   1000000 sats  hops: 2 ppm:  1360
 p =  72.00% amt:    200000 sats  hops: 2 ppm:  1357
 p =  76.60% amt:    200000 sats  hops: 3 ppm:  1548
 p =  48.09% amt:    600000 sats  hops: 3 ppm:  1548
 p =  46.47% amt:    825478 sats  hops: 3 ppm:  1486
 p =  49.20% amt:   2453124 sats  hops: 3 ppm:  1365
 p =  35.01% amt:   2000000 sats  hops: 3 ppm:  1567
 p =  23.38% amt:   2000000 sats  hops: 5 ppm:  1460
 p =  10.11% amt:   1775443 sats  hops: 6 ppm:  1361
 p =  45.20% amt:    180000 sats  hops: 6 ppm:  1347

Attempt Summary:
=================

Tried to deliver   29091333 sats
expected to deliver   10573496 sats 	(36.35%)
actually deliverd   17857288 sats 	(61.38%)
deviation: 1.69
planned_fee: 42911.104 sat
paid fees: 26748.241 sat
Runtime of flow computation: 0.09 sec

================================================================

Round number:  2
Try to deliver 11234045 satoshi:

Statistics about 10 candidate onions:

successful attempts:
--------------------
 p =  65.99% amt:    740000 sats  hops: 3 ppm:  1381
 p =  70.60% amt:   2076764 sats  hops: 4 ppm:  1417
 p =  51.08% amt:   1870235 sats  hops: 4 ppm:  1466
 p =  33.32% amt:   1423236 sats  hops: 5 ppm:  1360
 p =  58.33% amt:     84619 sats  hops: 5 ppm:  1378
 p =  42.70% amt:    488031 sats  hops: 9 ppm:  1359

failed attempts:
----------------
 p =  74.67% amt:    399134 sats  hops: 3 ppm:  1757
 p =  84.86% amt:    825478 sats  hops: 3 ppm:  1836
 p =  34.33% amt:   2355557 sats  hops: 3 ppm:  1537
 p =  28.37% amt:    970991 sats  hops: 4 ppm:  1378

Attempt Summary:
=================

Tried to deliver   11234045 sats
expected to deliver    5724478 sats 	(50.96%)
actually deliverd    6682885 sats 	(59.49%)
deviation: 1.17
planned_fee: 16607.774 sat
paid fees: 9427.854 sat
Runtime of flow computation: 0.10 sec

================================================================

Round number:  3
Try to deliver 4551160 satoshi:

Statistics about 16 candidate onions:

successful attempts:
--------------------
 p =  78.72% amt:    153600 sats  hops: 2 ppm:  1341
 p =  76.73% amt:    360000 sats  hops: 2 ppm:  2572
 p =  78.84% amt:    142257 sats  hops: 2 ppm:  1415
 p =  76.63% amt:    160000 sats  hops: 2 ppm:  1382
 p =  78.27% amt:    176000 sats  hops: 3 ppm:  1439
 p =  73.21% amt:    300000 sats  hops: 3 ppm:  1460
 p =  90.20% amt:     52822 sats  hops: 3 ppm:  1362
 p =  97.89% amt:     25478 sats  hops: 3 ppm:  1487
 p =  74.75% amt:    400000 sats  hops: 4 ppm:  1436
 p =  70.53% amt:    240000 sats  hops: 5 ppm:  1375
 p =  72.77% amt:    400000 sats  hops: 5 ppm:  1359
 p =  46.36% amt:    472297 sats  hops: 9 ppm:  1359

failed attempts:
----------------
 p =  77.32% amt:    194198 sats  hops: 3 ppm:  1537
 p =  60.40% amt:    320000 sats  hops: 4 ppm:  1562
 p =  41.05% amt:    724412 sats  hops: 5 ppm:  1378
 p =  31.23% amt:    430096 sats  hops: 10 ppm:  1368

Attempt Summary:
=================

Tried to deliver    4551160 sats
expected to deliver    2815353 sats 	(61.86%)
actually deliverd    2882454 sats 	(63.33%)
deviation: 1.02
planned_fee: 6832.375 sat
paid fees: 4446.099 sat
Runtime of flow computation: 0.09 sec

================================================================

Round number:  4
Try to deliver 1668706 satoshi:

Statistics about 5 candidate onions:

successful attempts:
--------------------
 p =  78.59% amt:    140800 sats  hops: 3 ppm:  1438
 p =  93.77% amt:    194198 sats  hops: 4 ppm:  1378
 p =  73.87% amt:    240000 sats  hops: 5 ppm:  1361
 p =  37.17% amt:    901708 sats  hops: 10 ppm:  1366

failed attempts:
----------------
 p =  72.08% amt:    192000 sats  hops: 5 ppm:  1375

Attempt Summary:
=================

Tried to deliver    1668706 sats
expected to deliver     943618 sats 	(56.55%)
actually deliverd    1476706 sats 	(88.49%)
deviation: 1.56
planned_fee: 2293.679 sat
paid fees: 2029.679 sat
Runtime of flow computation: 0.09 sec

================================================================

Round number:  5
Try to deliver 192000 satoshi:

Statistics about 1 candidate onions:

successful attempts:
--------------------
 p =  88.00% amt:    192000 sats  hops: 2 ppm:  1382

Attempt Summary:
=================

Tried to deliver     192000 sats
expected to deliver     168960 sats 	(88.00%)
actually deliverd     192000 sats 	(100.00%)
deviation: 1.14
planned_fee:  265.344 sat
paid fees:  265.344 sat
Runtime of flow computation: 0.05 sec

================================================================

SUMMARY:
========
Rounds of mcf-computations:  5
Number of onions sent:  61
Number of failed onions:  19
Failure rate: 31.15%
total runtime (including inefficient memory managment): 3.945 sec
Learnt entropy: 79.93 bits
Fees for successfull delivery: 42917.217 sat --> 1475 ppm
used mu: 1

i'm trying to understand what's going on here. what does ppm mean in this context?

@JeremyRubin wrote:

i'm trying to understand what's going on here. what does ppm mean in this context?

Short answer:
ppm stands for parts per million and is the main component that contributes to the routing fees and usually the number that node operators modify on their channels to earn routing fees for providing liquidity. It is specifically defined in the bolts as [u32:fee_proportional_millionths] which is usually just abbreviated as ppm by node operators.
long answer and context:
sorry I should have given a bit more context in the issue. This is related to #11 where I introduce a full simulated implementation of our results that produce optimally reliable and cheap payment flows on the lightning network. The (hopefully) well documented notebook may be found at: https://github.com/renepickhardt/mpp-splitter/blob/pickhardt-payments-simulation-dev/Pickhardt-Payments-Simulation.ipynb The question is that we want to find a flow that minimizes both the cost of uncertainty of the liquidity and the routing fees that have to be paid. The problem can be approximated by  a piecewise linearized min cost flow problem which I am doing in PR #11 .
However even linear min cost flow solvers are quite slow and thus one wishes to prune the problem.
I am suggesting to initially prune the problem by including the 20% cheapest channels (cheap as in both low uncertainty cost and low routing cost). There are more advanced ideas that would generalize from this and are hinted to in #13 . In all cases (the simple one described here, the advanced case and without pruning) we have a mathematical consequence.  Since the linearized uncertainty cost is proportional to 1/capacity we can easily see that larger channels can charge a higher ppm and still be included to the problem. (But even without pruning the algorithm on the full problem would select a much larger channel over a slightly cheaper but smaller channel which means that nodes that provide a lot of liquidity have a competitive advantage from scaling effects)
going back to the original bitcoin white paper (sorry link not working in all juristictions) and its title

Bitcoin: A Peer-to-Peer Electronic Cash System

we can see that the idea was to create a peer to peer system. However the math of the current design of Lightning and the assumption that sending nodes seek the optimal solution to the min cost flow problem gives an economic advantage to node operators that provide more liquidity in comparison to node operators that provide less liquidity.
People may or may not see this to be an issue. Their opinion might correlate with the number of BTC they hold. So I think it would be good if people like me who don't have much Bitcoin could still participate in routing on the Network and compete against large scale LSPs who mathematically benefit from their higher liquidity. Thus I was thinking if one could create in analogy to mining pools decentralized routing nodes Several people would be able to provide their liquidity to a node. This can obviously done in a custodial way but I would like to have a non custodial version that does not require trust.
For any design that I had in mind the issue is always that with every channel update all participants of this decentralized node would have to sign which most likely reduces latency in routing. While latency is currently not officially used I belief it is only a matter of time and after I published this comment I heard from many LSPs that internally they already use Latency in routing decisions. So to not put users who combine their efforts at a disadvantage I was wondering if one could use option_upfront_shutdown_script as defined in BOLT02. The output in the commitment transactions would always go to an address specified at channel opening via option_upfront_shutdown_script. users would only sign of the BTC transaction if the channel opening request included this option_upfront_shutdown_script which wouuld point to an address that is controlled by all people. However the question remains how one would redistributed the funds fairly to all participants? This would have to be a percentage of each output but we don't know the outputs as they change with every channel state (and as stated before we do not wish to collect signatures for each channel update from all participants)
I currently don't know how to solve that problem with Bitcoin in its current form. My hope is that covenants may be of help but to be frank I am not even sure if I understand covenants and / or OP_CTV properly as of now (I am not that deep into the details of bitcoin since I am mainly working on reliability questions of layer two and are mainly blackboxing what is happening on Layer 1)


RHBPMS-4628 - Rollback transaction with Status.STATUS_ROLLEDBACK befo…

…re transaction start
requested as one off patch https://issues.jboss.org/browse/RHBPMS-4628

jenkins retest this

closing this one as it seems it's not going to be needed any more, in case it will we can reopen


more gas efficient execute implementation

I looked at your project this morning.  really cool idea. 👍
While looking at the code I noticed that execute method can be implement
in a more gas efficient way.

Array sum: 68819 -> 68585
String len: 37701 -> 37649
String concat: 42188 -> 42136
State passing: 55799 -> 55747

Nice tweak, thank you!


Mpi/crocoddyl topic/fix actions destructors - [merged]

In GitLab by @MaximilienNaveau on Oct 2, 2019, 09:56
Merges mpi/crocoddyl-topic/fix-actions-destructors -> devel
What changed?

Introduced an internal_state_ variable in the daughter classes of the action models.

Why?

This modification allows us to properly construct the desired state and manage its memory upon creation and deletion.

In GitLab by @cmastalli on Oct 2, 2019, 10:34
I think this produces a bug since the construction order starts from Base class towards internal objects.
In this case, internal_state is passed first to DAMAbstract, which provides wrong dimensions (e.g. nx). Then, later, we construct internal_state but it's already to late.
This is the reason why I didn't include internal data.

In GitLab by @MaximilienNaveau on Oct 2, 2019, 10:40
I do not think so because the constructor of the DAM is well defined:
it only register the reference to the state and get the real information about the size using the nu and nr arguments + unit-tests passes.

In GitLab by @MaximilienNaveau on Oct 2, 2019, 10:50
I tried on a simple unit-tests and it works, I test: model->state.get_nx() == factory.nx_ and they match.

During the calc() method we actually have some assert about the state size and everything goes well

In GitLab by @cmastalli on Oct 2, 2019, 11:04
I think you're right! This numbers belongs to a reference. In any case, you need to change the construction order, it creates a warming message, i.e.

DifferentialActionModelLQR::DifferentialActionModelLQR(unsigned int const& nq, unsigned int const& nu, bool drift_free)
    : DifferentialActionModelAbstract(internal_state_, nu), internal_state_(2 * nq), drift_free_(drift_free) {

In GitLab by @MaximilienNaveau on Oct 2, 2019, 11:05
changed this line in version 2 of the diff

In GitLab by @MaximilienNaveau on Oct 2, 2019, 11:05
added 1 commit
a121ba7b - [Actions][CI] fix compilation warning (-Wreorder) + add a unit-test on the...
Compare with previous version

In GitLab by @cmastalli on Oct 2, 2019, 11:53
resolved all threads

In GitLab by @cmastalli on Oct 2, 2019, 11:54
@MaximilienNaveau there are few conflicts to be solved. Let me know when I can go through this PR.

In GitLab by @MaximilienNaveau on Oct 2, 2019, 13:31
added 16 commits
a121ba7b...481662f7 - 12 commits from branch loco-3d:devel652d07b9 - [bug fix] I made 100% sure that the memory of the action models is destroyed...c03545a1 - [code format]eba8cb05 - [Actions][CI] fix compilation warning (-Wreorder) + add a unit-test on the...2f595db0 - [fix rebase] fix the previous commit
Compare with previous version

In GitLab by @MaximilienNaveau on Oct 2, 2019, 13:47
added 1 commit
dec812b9 - [code format]
Compare with previous version

In GitLab by @MaximilienNaveau on Oct 2, 2019, 13:51
I am done with this PR. (if the tests pass)

In GitLab by @MaximilienNaveau on Oct 2, 2019, 13:53
The formatting does not pass but it is a python matter...
Any idea on the origin of the issue?
https://gepgitlab.laas.fr/mnaveau/crocoddyl/-/jobs/35104

In GitLab by @cmastalli on Oct 2, 2019, 13:54
Don't worry, it's my fault. I'm fixing this now!

In GitLab by @cmastalli on Oct 2, 2019, 13:55
resolved all threads

In GitLab by @cmastalli on Oct 2, 2019, 13:55
enabled an automatic merge when the pipeline for dec812b9a4372513f906ff8c5a3881bf8f05a689 succeeds

In GitLab by @cmastalli on Oct 2, 2019, 13:56
Thanks for improving this detail.

In GitLab by @cmastalli on Oct 2, 2019, 14:23
merged

In GitLab by @cmastalli on Oct 2, 2019, 14:23
mentioned in commit bef00185492139ff976684109b2e7fa6941c4da8


Not working on Xcode 6.3.2

On Xcode 6.3.1 it works fine, but not working on Xcode 6.3.2

I have the same problem.
This looks to be related to #74.

Merged #76


Bugfix: End stream on context close properly

Coverage remained the same at 29.611% when pulling 365dc34f0770d63025f1cc982b6d564378722863 on jackkleeman:patch-5 into 320ab8a2219f2102c01258c2bc67cbf155c61ab1 on OpenBazaar:master.


issues with dvc

I'm trying to use dvc in mach-nix based development environment with no success.
The issue seems to be that dvc uses its own python env and not the mach-nix's which causes scripts ran with it to fail because of the imports but I have no idea how to fix it. I'd be really grateful even for a hacky workaround patching the dvc's package somehow.
reproduction
shell.nix
let
  mach-nix = import (builtins.fetchGit {
    url = "https://github.com/DavHau/mach-nix";
    ref = "refs/tags/3.5.0";
  }) {};
in
mach-nix.mkPythonShell {
  requirements = ''
    numpy
    dvc
  '';
}

enter the shell
python -c 'import numpy' works
dvc run -n "test" -f 'python -c "import numpy"' doesn't work
executing which python in shell and with dvc run returns different python envs

dvc is in nixpkgs, so you don't need to involve mach-nix (and it's only a minor version out of date right now).

I tried using dvc from nixpkgs with the same result.


Support \colonequals from colonequals

The command "\colonequals" from the colonequals package does not appear to be supported. Would it be possible to add support for it to MathJax?

You can use \def\colonequals{:=} to get a definition for this, but if you are concerned about the size of the colon compared to the equal sign, you can always call on the Unicode character for it (though this will rely on the fonts installed on your reader's computer):  \mathrel{\unicode{x2254}}.  You can set up your configuration to define these automatically if you wish.  See the documentation.

OK, this Unicode-based solution is a pretty fine (if unintuitive)
workaround. If you don't think adding support for \colonequals following
the existing colonequals package is relevant, please feel free to close
the issue. Thanks a lot for your help with this!
On Sun, Oct 16, 2016 at 06:39:29PM -0700, Davide P. Cervone wrote:

You can use \def\colonequals{:=} to get a definition for this, but if you are concerned about the size of the colon compared to the equal sign, you can always call on the Unicode character for it (though this will rely on the fonts installed on your reader's computer):  \mathrel{\unicode{x2254}}.  You can set up your configuration to define these automatically if you wish.  See the documentation.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/mathjax/MathJax/issues/1639#issuecomment-254093601

If you don't think adding support for \colonequals following
the existing colonequals package is relevant, please feel free to close
the issue.

This issue is marked as a feature request in our backlog; this means the MathJax team has no specific plans to implement at this time (but of course contributions are possible).
Note that there are various LaTeX packages that implement macros with results similar to \colonequals and that other factors (such as font glyph coverage) might also factor into an implementation.

MathJax v3.2 has \coloneqq in the mathtools extension.  Perhaps that is sufficient.

And https://github.com/AmerMathSoc/mathjax-unicode-math also provides coloneq.


Stop generating llvm.invariant.load intrinsic for "let" references.

Resolves #1222.
As we saw in issue #1222, the load invariant doesn't necessarily hold true
for let references in Pony. Particularly it doesn't seem to hold for for
loops, which are let in Pony semantics, but the value changes between
iterations of the loop, so the optimizer can't see them as invariant.
With more research it might be possible to exclude the for loop case
(and any other problematic cases) but for now the best course of action
is to remove it for all let references.

Another option @jemc. I can open an RFC for a more comprehensive language level test suite designed to catch these sort of issues.

@SeanTAllen - for now I think adding #1222 repro to the minimal examples folder would be a good idea, but it feels like it should be a separate commit.

@jemc sounds good. I'm merging now and do a release in the morning.


Raycasting for fusion = possible reason for artifacts in e.g., road

See Nießner et al., 2013, near end of Section §5: "In an idealized case, each depth sample would be modeled as an entire frustum rather than a single ray. We would then allocate all voxel blocks within the truncation region that intersect with this frus- tum. In practice however, this leads to degradation in performance (currently 10-fold). Our ray-based approximation provides a balance between performance and precision. Given the continuous nature of the reconstruction, the frame rate of the sensor, and the mobility of the user, this in practice leads to no holes appearing between voxel blocks at larger distances (see results and accompanying video)."
In their case, given the range of the kinect sensor, there are no artifacts in the map. For us, however, this may be the reason why we're seeing the artifacts in the ground, especially when we set the max depth relatively high (e.g., 20m).
To solve this, although nontrivial, we could try casting multiple rays when e.g., allocating the depth frame for z values > something.

Nontrivial, and not relevant to thesis. Closing for now, but it's good to keep in mind!


upgrade image-size version fix caculate webp image size bugs

When I try to use webp for app. But some webp images get an error message unsupported file type by<EMAIL_ADDRESS>And I in image-size repo I found a issue https://github.com/image-size/image-size/issues/65.
This is the same problem.
And try image-size^0.5.1 the error fixed.

Can someone review this pr?

Can someone review this pr?

I went through the change log of this library and it looks like it mainly added features and I don't expect the upgrade to break RN.
@lacker do you think you could shepherd this package upgrade through?

@ide @lacker Anyone can review this pr? Because if do not upgrade image-size version, many webp image can not use at local.

It's ok the PR. It will be cool if merged.

Same issue also happend on svg

I believe we can merge it.
@Lxxyx Could you please rebase and resolve conflicts?

@shergin Sorry I delete the source repo, so I create a new pull request.
You can merge this new pull request. https://github.com/facebook/react-native/pull/14238
Thank you.


Providing Copy feature for the commands

Providing Copy feature for the commands

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/6790fea1fd2a041e4313fdd211dca3c4151838d8/
Edited pages:

v19.1/build-a-c++-app-with-cockroachdb.md


Add autocomplete for more methods and more smarter the autocomplete

The extension is very poor for autcomplete, beacuse not know how to autcomplete in too many cases, like: example.getElemen (expecting: getElementById(); or another), example.redu (expecting: reduce(); ), etc

This extension is for linting source code. It doesn't provide any auto complete functionality. Please report your issue to the corresponding language extension.

This extension is for linting source code. It doesn't provide any auto complete functionality. Please report your issue to the corresponding language extension.

ok I understand but I didn't find any extension that explicitly says: autocomplete for javascript, if you can what extension does it I will appreciate it.

VS Code should do auto complete in JS files out of the box. If you have issues please report them in the VS Code repository.


Use coordinate-mediation protocol

With mediation support landing in ACA-Py and the Plugin soon, I think this is ready to be merged. This will give us a good starting point for future development.


We have a requirement to use Azure Key vault with in Docker Swarm env as docker secret. Please suggest how we can leverage that

Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[ ] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[ ] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/forums/34192--general-feedback.

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

ID: 962e9ebe-e97f-7a56-03a4-33662454bdfe
Version Independent ID: 7fda1b8c-67e2-a304-1f17-bfd5a0422766
Content: About Azure Key Vault keys, secrets and certificates - Azure Key Vault
Content Source: articles/key-vault/about-keys-secrets-and-certificates.md
Service: key-vault
GitHub Login: @msmbaldwin
Microsoft Alias: mbaldwin

@bkumar73
Thanks for your feedback! We will investigate and update as appropriate.

Hi @bkumar73 ,
We don't have specific guidance for this in the documentation. Some people appear to have managed this in their personal blogs though.
https://github.com/alexthissen/DockerWorkshop2017/blob/master/docs/Lab6-Security.md
https://www.jamessturtevant.com/posts/Acessing-Docker-Swarm-Secrets-From-ASPNET-Core/
I created a request for the docs team to add this and added an internal work item.
In the meantime I would also suggest requesting this in User Voice, where the product team can respond directly.
@msmbaldwin please note this request and share any additional insights.


How to decode LDA model ?

Hello,
Can you please give me a hint how to decode an LDA/MLLR model ?
In the "steps/decode.sh", the following features are used (from WSJ recipe):
  lda) feats="ark,s,cs:apply-cmvn $cmvn_opts --utt2spk=ark:$sdata/JOB/utt2spk scp:$sdata/JOB/cmvn.scp scp:$sdata/JOB/feats.scp ark:- | splice-feats $splice_opts ark:- ark:- | transform-feats $srcdir/final.mat ark:- ark:- |";;

While I think I found the function for doing the splice, I have no idea how to do the "transform-feats".
def make_feat_pipeline(base, opts=DeltaFeaturesOptions()):
    def feat_pipeline(wav):
        feats = base.compute_features(wav.data()[0], wav.samp_freq, 1.0)
        return splice_frames(feats, 4, 4)
    return feat_pipeline

Can you please provide some hints where to start ?
Thanks

PyKaldi fully supports Kaldi style read/write specifiers. In your example feats is a read specifier (aka rspecifier). The simplest way of extracting features in PyKaldi is to use a table reader similar to how it is done in Kaldi. For instance
from kaldi.util.table import SequentialMatrixReader

# define the rspecifier for reading the features
feats = "ark,s,cs:apply-cmvn --utt2spk=ark:data/test/utt2spk scp:data/test/cmvn.scp scp:data/test/feats.scp ark:- | splice-feats ark:- ark:- | transform-feats model/final.mat ark:- ark:- |"

with SequentialMatrixReader(feats) as reader:
    for key, feat in reader:
        output = asr.decode(feats)

Note that Kaldi executables apply-cmvn, splice-feats and transform-feats should be on your PATH for the above code to work.
You can also extract the features by defining your feature pipeline in Python -- as you have tried to do -- but that is not needed in most scenarios. Unless you need the additional flexibility provided by defining your feature pipeline in Python, I suggest you use a table reader. Using a table reader is not only easier and but also faster since each stage in the pipeline is executed in parallel by the operating system.

Many thanks for your feedback!
Great project you are working on.
Keep up the good work!

You're welcome.


Add authentication to SocketClient

17/09/2023 - Converted from Draft to Issue

Added new constructor and handling of authorization header to SocketClient.


NC - New Caledonia has two flags

Hi,
New Caledonia (country code NC) has 2 flags, the French one and the Kanak one.
[(https://en.wikipedia.org/wiki/New_Caledonia#/media/File:Flag_of_FLNKS.svg)]
The French one being available already with code FR, could you change NC for the Kanak one, or make a double flag image?
Thanks

Here is what other repos show for iso: NC

The two firsts are the right ones

Like the Basque flag in Spain in depends on your Point of View
The French flag is the official flag, the Kanak flag is chosen with a majority vote by congres.
And they fly both

Any official New-Caledonia application should display both flags. My point is that the French flag is already available in this library, the kanak flag is not.
I need to have a drop down list of countries and I need to put both flags for NC, so there are two options:

Make the NC flag in the library composed of the two flags side by side (is that technically possible)?
Make the NC flag the Kanak flag, and developer need to manage this in their code
`if(country === 'NC') {
displayFlag('FR');
displayFlag('NC')
} else {
displayFlag(country);
}

With the FlagMeister Custom Element (modern browsers) you can do:

This forces the second IMG to load the SVG from the default Repo (RestCountries API)
when the size is 1 pixel or larger wide
Or set the source Repo to Lipis (which now has the Kanak flag in nc.svg)


Add approximate location support

This might not be possible when using just the GPS - as far as I can tell the GPS is not available when approximate location is enabled.
This issue is to research how the approximate location can be supported (and where it would make sense to support it - obviously not on the navigation tab).
Given the accuracy of coarse location, it would not be suitable for most use cases within Trail Sense. The only tools where it may be enough are the astronomy and climate tools, so it may not be worth adding support.
It might be that this issue would allow approximate location support: https://github.com/kylecorry31/Trail-Sense/issues/432

How about simply querying the passive location provider? That way, if other apps (actively) queried for accurate location (e.g. a map navigation app) then this'll be available to TS.

How about simply querying the passive location provider? That way, if other apps (actively) queried for accurate location (e.g. a map navigation app) then this'll be available to TS.

Do you have documentation on that / can clarify what you mean? For reference, TS does not use Google Play Services, so uses the native Location class instead

Do you have documentation on that / can clarify what you mean? For reference, TS does not use Google Play Services, so uses the native Location class instead

Do you have documentation on that / can clarify what you mean?

Android Location Providers (GPS, Network, Passive)
Android Developers § LocationManager
martykan/forecastie#611 (comment) (& subsequent comments)

TS does not use Google Play Services, so uses the native Location class instead

To my limited knowledge of the internals, I think this shouldn't be a problem. I think it's part of Android (the OS) rather than Google Play Services.
I use other apps which I'm pretty sure are free of Play Services, but which use the passive location provider.

Do you have documentation on that / can clarify what you mean?

Android Location Providers (GPS, Network, Passive)
Android Developers § LocationManager
martykan/forecastie#611 (comment) (& subsequent comments)

TS does not use Google Play Services, so uses the native Location class instead

To my limited knowledge of the internals, I think this shouldn't be a problem. I think it's part of Android (the OS) rather than Google Play Services.
I use other apps which I'm pretty sure are free of Play Services, but which use the passive location provider.

Thanks - I was not aware of this / thought it was a Google Play Services feature, but from the docs it looks like it isn't. I'll consider this when addressing this issue.

Thanks - I was not aware of this / thought it was a Google Play Services feature, but from the docs it looks like it isn't. I'll consider this when addressing this issue.

See also android/location-samples.

Not going to implement.
Reasons:

Frequency of use (ex. edge case) vs effort to implement
High maintenance burden / likely to cause confusion
Not technically feasible / will be inaccurate


Fix curl link for Linux

The curl link listed in the Linux guide should not include a "v" in front of the version.
Ex:
curl -L "https://github.com/docker/compose/release download/v1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/do er-compose doesn't work but curl -L "https://github.com/docker/compose/release download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/do er-compose this does.

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Came to create the same PR. Link shouldn't have the v.

Thank you for the PR. This is fixed as part of https://github.com/docker/docker.github.io/pull/14151. Closing this PR without accepting your changes as the updates are live on docs.docker.com


Config changes to reflect the default branch from master to main. Please merge to complete the default branch renaming job.

Auto branch renaming content.

Docs Build status updates of commit 28b000b:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch ebffc667-4791-42db-a793-8c9f54e7b7b1 has been deleted or has been force pushed

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


TRIDENT-17594 - CSE comments syntax

Purpose of this pull request
This pull request (PR) adds a description of the comments syntax (/* */) to the following article:
https://help.sumologic.com/docs/cse/rules/cse-rules-syntax
Issue number:
TRIDENT-17594
Select the type of change:

[ ] Minor Changes - Typos, formatting, slight revisions
[x] Update Content - Revisions and updating sections
[ ] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - Updates, maintenance, and new packages for the site, Gatsby, React, etc

Sourabh Bhosale approved the doc changes with a comment in TRIDENT-17594.