[filebeat] fix default cluster roles

Fixes missing deployment, statefulset and replicaset. daemonset added as it is referenced in beats source file libbeat/common/kubernetes/metadata/resource.go

[ ] Chart version not bumped (the versions are all bumped and released at the same time)
[ ] README.md updated with any new values or changes
[ ] Updated template tests in ${CHART}/tests/*.py
[ ] Updated integration tests in ${CHART}/examples/*/test/goss.yaml

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?


Nav_Menu_Item - missing "current" class.

Version Information

WordPress: 4.7x
MultilingualPress: 2.4.8

Steps to Reproduce

Create a new Multsite with at least 2 connected Blogs.
Create a new Nav-Menu in Blog 1 and add all available languages as items
Navigate to frontend of Blog 1

What I Expected
The Nav-Menu-Item of "Blog 1" should have at least 1 "current"-class e.G. current-[language|blog|menu|...]-item
What Happened Instead
No "current"-class is added.
Screenshot

Howto fix
In Mlp_Nav_Menu_Frontend:prepare_item() the method should contain a check for get_current_blog() compared with the $site_id. If TRUE, we should add at least 1 "current" class to the given $item.
if ( get_current_blog() === $site_id ) {
    $item->classes[]  = "mlp-current-language-nav-item";
}

Link in 2.4 Branch: https://github.com/inpsyde/multilingual-press/blob/2.4/src/inc/nav-menu/Mlp_Nav_Menu_Frontend.php#L108
Quick mu-plugin to solve this problem directly:
Here's a mu-plugin which will fix this issue by adding a class mlp-current-language-nav-item to the current nav-item:
<?php
/**
 * Plugin Name: MLP current nav-item class.
 * Author: Christian Brückner
 * Author URI: https://www.chrico.info
 */

add_action(
	'muplugins_loaded',
	function () {

		add_action(
			'mlp_prepare_nav_menu_item_output',
			function ( WP_Post $item, Mlp_Translation_Interface $translation ) {

				if ( get_current_blog_id() === $translation->get_target_site_id() ) {
					$item->classes[] = 'mlp-current-language-nav-item';
				}

			},
			10,
			2
		);

	}
);

Will this also be included in new release?

Closed with 6ea9abde734e80987ef7ed22b888c9e6cc423f61.
@Chrico I renamed the class to mlp-current-language-item (and not *-nav-item).


Add a fused multiply-add function

Feature request: Add a fused multiply-add function. It should use a hardware implementation if available.
This function computes x * y + z as if to infinite precision, rounding only once to fit the destination type.
Examples:

https://github.com/smasher164/fma
https://github.com/nschloe/pyfma
https://github.com/python/cpython/issues/73468
https://en.cppreference.com/w/cpp/numeric/math/fma
https://www.gnu.org/software/c-intro-and-ref/manual/html_node/Fused-Multiply_002dAdd.html
https://accurate-algorithms.readthedocs.io/en/latest/ch03fma.html

For what it's worth, XLA already fuses operations like this (here's the compiled HLO output on CPU):
import jax

def f(x, y, z):
  return x * y + z

print(jax.jit(f).lower(1, 2, 3).compile().as_text())

HloModule jit_f, is_scheduled=true, entry_computation_layout={(s32[], s32[], s32[])->s32[]}, allow_spmd_sharding_propagation_to_parameters={true,true,true}, allow_spmd_sharding_propagation_to_output={true}, frontend_attributes={fingerprint_before_lhs="94992b2905ce51de85765e674face20f"}

%fused_add (param_0.1: s32[], param_1.1: s32[], param_2: s32[]) -> s32[] {
  %param_1.1 = s32[] parameter(1)
  %param_2 = s32[] parameter(2)
  %multiply.1.1 = s32[] multiply(s32[] %param_1.1, s32[] %param_2), metadata={op_name="jit(f)/jit(main)/mul" source_file="<ipython-input-5-1b552238959a>" source_line=4}
  %param_0.1 = s32[] parameter(0)
  ROOT %add.1.1 = s32[] add(s32[] %multiply.1.1, s32[] %param_0.1), metadata={op_name="jit(f)/jit(main)/add" source_file="<ipython-input-5-1b552238959a>" source_line=4}
}

ENTRY %main.6 (Arg_0.1.0: s32[], Arg_1.2.0: s32[], Arg_2.3.0: s32[]) -> s32[] {
  %Arg_2.3.0 = s32[] parameter(2), metadata={op_name="z"}
  %Arg_1.2.0 = s32[] parameter(1), metadata={op_name="y"}
  %Arg_0.1.0 = s32[] parameter(0), metadata={op_name="x"}
  ROOT %loop_add_fusion = s32[] fusion(s32[] %Arg_2.3.0, s32[] %Arg_0.1.0, s32[] %Arg_1.2.0), kind=kLoop, calls=%fused_add, metadata={op_name="jit(f)/jit(main)/add" source_file="<ipython-input-5-1b552238959a>" source_line=4}
}

Is there something more you need than this kind of fusion in the compiler?

I'm actually supportive of adding fma because it has different rounding behavior.
However, the question is, what does one do on hardware without an fma? Error? Lower to the non-fma?

@jakevdp I don't think that guarantees the desired precision. Does it?
@hawkinsp Can it lower to a software implementation of fma? (That would preserve semantics.)

@carlosgmartin Last I checked, emulating fma accurately on hardware without one is quite hard. But maybe there's a way I don't know about.

@hawkinsp In that case, how about we go with an error for now and fill in the software implementation later? (Some of the links in the OP might be useful for that.)

@jakevdp For this particular issue, I'd just like access to an fma function that guarantees the exact precision property.


Does this extension allow you to change the data source from one workspace to another ?

Hi @Cha74 , can you please elaborate what do you mean by "change the data source from one workspace to another"
do you mean Create deployment rules?
if so then this extension doesn't support creating the rules, you can do his today only using powerbi.com
but if the rules already created then the deploy task in the extension will use the same rules.
if you mean the ability to change the dataset datasources similar to Update Datasources In Group API, then this functionality is not supported today.
would like to hear back from you to better understand what functionality you are looking for.

Hi @MahirDiab,
Thank you for your answer.
To be clearer :
I would like that when I automatically deploy Power BI elements (report, dataset, dataflow ...) from a DEV workspace to a TEST workspace for example the data source on which the Power BI elements point changes to point from a DEV source to a Test source, for exemple a DEV Datamart to a TEST Datamart.
I don't know if this is clearer ?

@Cha74, Power BI internal dependencies, like report to dataset or dataset to dataflow will be mapped automatically.
e.g. if you have a dataset connected to a dataflow and both are on the same workspace when deployed you will have copies of these artifacts and they will be connected to each other (test dataset connected to test dataflow)
to manage connections outside of Power BI, like dataset being connected to SQL Azure we have rules.
rules can only be created using PowerBI.com you can see more on the link i provided before - Create deployment rules
make sure to check the limitations section, supported datasources list and for other types you can use parameter rules.
all should be described on the article.
you can't create new rules using the extension, but if you have a pipeline where you have already created the rules.
when using the extension to deploy, the same rules will be used like in PowerBI.com
does it make sense? hope this answers your question.


chore(Algebra/Module): split off NoZeroSMulDivisors

The definition of NoZeroSMulDivisors doesn't require us to know about modules. By splitting off this definition, we can streamline the downstream import graph a bit.
In the process, generalize a few instances from Module to SMulWithZero.
New files:

NoZeroSMulDivisors/Defs.lean: definition and basic results that don't require Module
NoZeroSMulDivisors/Basic.lean: basic results that require Module
NoZeroSMulDivisors/Pi.lean: results on NoZeroSMulDivisors _ (_ -> _) that don't require Module
NoZeroSMulDivisors/Prod.lean: results on NoZeroSMulDivisors _ (_ x _) that don't require Module

Hmm, the downstream changes are not as impressive as I was hoping. Still, a few files with drastically reduced imports.

My gut feeling is that this mild nuisance is worth the trade off. The two PRs that depend on this (#17913 and #17919) give a quite a nice reduction in import counts.

bors merge


nvm plugin improvements

After installing nvm with brew, in order for the nvm plugin to work properly.
Although nvm's readme mentions: Homebrew installation is not supported.
I read CONTRIBUTING GUIDELINES, but I may not be doing very well, please point out my mistake, thank you😄
Beginners from China

Please check


Unidentified Files are not shown for Samba files

When I add movie files from a Samba share unknown movies are not added to the Unidentified Files list. If I add movie files from a folder called Action, then there is a movie called action. When I click on the Action movie it asks me which movie file I'd like to play. Then the unidentified movie files are shown. If I accidentally pick one of the movies and play it, I'll no longer be prompted to pick a movie and I am then not able to update the unknown movie info.

A lot of stuff will happen with unidentified files, and this won't be relevant when it does, so I'll close it for now. Thanks for the heads up, though!


Adding support for syntax highlighting for Helm Inspect Values

This PR follows the enhancement request #891 and implements a new command Generate values.yaml for Helm Repo Explorer which generates a values.yaml file for the Helm chart.

The primary use case for this values.yaml file is syntax highlighting and generation of editable values.yaml file which can enable customization of Helm chart installation.
Since this functionality is closely related to Helm Inspect Values I have implemented this as an extension of the same. Happy to provide alternate implementation if necessary.

@shreyaskarnik you're welcome :) . Played with it a bit. In addition to the comments above, a thing i think we can improve is the naming of the yaml. I guess we can add the name + version of what we are inspecting.
If i have some tabs opened it's very easy to get lost.

@lstocchi great suggestion, will add that in

Have been heads down on a work project for the past couple of weeks. I will make changes as I free up.

@lstocchi I have made changes to the PR based on your comments. Also made the following change to reflect chart name/version in the generated values.yaml file.

when clicked on top level chart name

when clicked on a specific version

let me know your thoughts. I am new to TypeScript so if there are any syntactic issues that I have overlooked please let me know.

Thanks @shreyaskarnik for tackling this.
I'm curious about the choice to make this a new command instead of re-using the existing "Inspect values" command in the UI.
Can you clarify when someone would want to choose "Inspect values" over "Generate values.yaml"? Do their use cases overlap, or are they discretely different? Because looking at #891 I thought the idea was to make the output of "Inspect values" editable.
Thanks!

@bacongobbler Thanks for the feedback. Initially, I was thinking the same. I cannot think of a scenario where I would fall back to the original Inspect Values functionality after trying out the Generate values.yaml command. If there is consensus for replacing Inspect Values with Generate values.yaml I am all in for that and should be able to provide a quick turnaround on the PR with required changes.

If @bacongobbler is happy with one command then I am too, but I would suggest that we not name that command "Inspect" if it allows editing.  I don't know if Edit Values or Generate Values or what is right though - Fisher?  (I am happy to keep the original command ID, or to use your new one, regardless of what the unified command ends up being called in the UI.)

Yeah.. Something like "Fetch values" might be more prudent. helm inspect values loads the chart then returns the values... In reality this is just returning the values.yaml from the chart, but it might include chart dependency values in the subtree as well (can't remember). I have no strong opinions whether to rename it vs keeping it as-is.

@bacongobbler and @itowlson thanks for the comments, I will revise the PR to include the Fetch values command in the context menu soon.

I have made the changes discussed in this thread and added Fetch values


Add 1.35.0 to SAW Software Center

After shipping, submit 1.35.0 to SAW Software Center.

Request submitted.

Request assigned for review

These issues got goofed. Jason did this for 1.35 a long time ago.


improve help message for noconfig option

The help message of noconfig flag currently states that only the COFFEELINT_CONFIG environment variable is being ignored.
But looking at:
https://github.com/clutchski/coffeelint/blob/48cd906b4b403cc7e949fe5e630a89dd413c6ba6/src/commandline.coffee#L65
https://github.com/clutchski/coffeelint/blob/48cd906b4b403cc7e949fe5e630a89dd413c6ba6/src/commandline.coffee#L190
It seems that it completely ignores all config files.
This lead to some confusion in a change to phabricator: https://secure.phabricator.com/D11196

Thanks. This is leftover from before the configFinder was added.

Knowing nothing about phabricator here... it seems like the right solution is just to specify --file path/to/coffeelint.json if you want to enforce that a specific file is used. Alternatively, you can simply set COFFEELINT_CONFIG to any path that doesn't exist. An empty string is fine. Then it will still pick up coffeelint.json or the config in package.json.

IMO, now that we have the configFinder I should really deprecate COFFEELINT_CONFIG. At this point it just gets in the way.

@AsaAyers Thanks for your help, phabricator let's you optionally specify a custom config file that is passed to --file, someone wanted to disable the fallback by adding the --noconfig option.
So I reverted that flag https://secure.phabricator.com/D11196 to fix the bug.
(And hopefully nobody pursues to disable the fallback again since it doesn't make much sense imo)


Review/ericyang/anthonylew

I looked at the implementation of filesMatchNameAndSize and kind of assumed that it would also encompass the filesMatchName test, but that is wrong. I agree that I should add the tests in for just filesMatchName.

Agree with this point.

There should definitely be a check for that, even if the action was completed correctly. Good addition.

Same as improvement 3 but in the opposite way.

I would definitely refactor, with more time, the pipeline tests in order for them to be cleaner and separate so it would be easier to pinpoint the errors. Thanks for making everything consistent.

I'll be merging this branch as a result of the good additions to the code and adding proper tests that help expand the functionality and making things cleaner/consistent. Thanks a lot!


`read': Is a directory

After updating xcode to latest 9.0 beta 6
I’m getting this error.
./ReactNativeConfig/BuildDotenvConfig.ruby:20:in `read': Is a directory - _/Users/user/project/node_modules/react-native-config/ios/../../../_ (Errno::EISDIR)
	from ./ReactNativeConfig/BuildDotenvConfig.ruby:20:in `<main>'
Reading env from
Command /bin/sh failed with exit code 1./ReactNativeConfig/BuildDotenvConfig.ruby:20:in `read': Is a directory - /Users/user/project/node_modules/react-native-config/ios/../../../ (Errno::EISDIR)
	from ./ReactNativeConfig/BuildDotenvConfig.ruby:20:in `<main>'
Reading env from
Command /bin/sh failed with exit code 1

update: I had to change  raw = File.read(File.join(Dir.pwd, "../../../#{file}"))
to raw = File.read(File.join(Dir.pwd, "../../../.env")) for it to work

Same problem for me.
@pedro Yes, I'm using a Podfile
source 'https://github.com/CocoaPods/Specs.git'
react_native_path = '../node_modules/react-native'

target 'Project' do

  # Uncomment this line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!

  pod 'React', :path => react_native_path, :subspecs => [
    'Core',
    'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43
    'CxxBridge', # Include this for RN >= 0.47
    'RCTText',
    'RCTGeolocation',
    'RCTImage',
    'RCTNetwork',
    'RCTWebSocket', # needed for debugging
  ]

  pod 'yoga', :path => react_native_path + '/ReactCommon/yoga'

  # Third party deps
  pod 'DoubleConversion', :podspec => react_native_path + '/third-party-podspecs/DoubleConversion.podspec'
  pod 'glog', :podspec => react_native_path + '/third-party-podspecs/glog.podspec'
  pod 'Folly', :podspec => react_native_path + '/third-party-podspecs/Folly.podspec'

  pod 'react-native-pdf', :path => '../node_modules/react-native-pdf'
  pod 'react-native-fetch-blob', :path => '../node_modules/react-native-fetch-blob'
  pod 'react-native-camera', :path => '../node_modules/react-native-camera'

  target 'NetBankAppTests' do
    inherit! :search_paths
    # Pods for testing
  end
end

I am running into this issue, is there any way to fix it without editing the package code?

For my case, I put a wrong string in "Pre-actions" script as cho ".env.staging" > /tmp/envfile   # replace .env.staging for your file but it should be echo ".env.staging" > /tmp/envfile   # replace .env.staging for your file
yes, I missed "e"! cho -> echo, and the error dismissed!
@damathryx @Fconstant @wouterNL @pritasam you guys maybe can check that :)

Ran into this issue today, ended up deleting my /tmp/envfile (not sure when it was created) so that ReadDotEnv.rb uses the .env file at project root.


a function for non-coco format data

Is there a function for non-coco format? like:
box_gt = [[(x,y,w,h),(x,y,w,h),....],.....]
box_pred =  [[(x,y,w,h),(x,y,w,h),....],.....]

no, only coco format is currently supported. But you can format your bboxes properly.
Or write a loader and make a PR


Update bot.js

if bot.js is started for the first time, condition "server" is undefined.

Yeah, that might be helpful. I haven't spend a lot of time with this project recently.
Thanks for your contribution.


Remi + Jupyter Lab

@dddomodossola : Many thank for your work.
Some time in Jupyter, you need to develop user specific UI and you can use

Ipywidgets and Voila
Or Remi, using a Remi fork: https://github.com/gbrault/remi

It still is in development, but if you are interested, I can open a pull request, let me know.

@gbrault Many thank you too for your wonderful work on the pull request 475 .


null

Hey @pjalbuquerque did you open this thread by accident? Is there anything we could help you with?


Added new DC 'hil' Hillsboro, Oregon

Hetzner Cloud announced the new Hillsboro data center on December 5, 2022. I added the hil option to hetzner-k3s and made sure that the network is created in the new us-west region.
I also successfully tested creating a cluster in Hillsboro with this change.

Awesome news, thank you for your contribution.
I prepared a new release.


Filling in login page's password & then navigating to signup page will reveal typed-in password

Go to the login page
Type in your super secret password (e.g. mysupersecretpassword).
Click the signup page. Your password is revealed.

I think the issue must have been resolved. Request to close


setup mechanism to push hotfixes to deployment

Create a workflow and document the way to provide hot-fixes to the deployment in the issue itself.

master - production+ some-under-development-work + hot-fix-work
$ git checkout production
Switched to branch 'production'

$ git pull origin production
From https://github.com/jaykay12/Auth-API
 * branch            production -> FETCH_HEAD
Updating bd7f207..d56b5f6
Fast-forward
 helper-guide.md | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

$ git checkout -b hotfix
Switched to a new branch 'hotfix'

$ git cherry-pick -x 6650508
[hotfix f57a067] Unified bash file for running api for stage and dev
 Date: Sat May 9 18:13:53 2020 +0530
 3 files changed, 10 insertions(+), 9 deletions(-)
 delete mode 100644 service/start-dev.sh
 delete mode 100644 service/start-stage.sh
 create mode 100644 service/start.sh

$ git push origin hotfix
Enumerating objects: 6, done.
Counting objects: 100% (6/6), done.
Delta compression using up to 4 threads
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 556 bytes | 556.00 KiB/s, done.
Total 4 (delta 2), reused 0 (delta 0)
remote: Resolving deltas: 100% (2/2), completed with 2 local objects.
remote:
remote: Create a pull request for 'hotfix' on GitHub by visiting:
remote:      https://github.com/jaykay12/Auth-API/pull/new/hotfix
remote:
To https://github.com/jaykay12/Auth-API.git
 * [new branch]      hotfix -> hotfix

Finally open a PR from hotfix  to production.

Closed by #25


Support for overriding the vertex / fragment shader programs

Hi,
It'd be nice to be able to override the default vertex and fragment shaders (for textures and for normal shapes, since there seem to be two different programs used for those respective cases).
The approach to this I'm working through at the moment involves adding a pair of functions to gl3.c that allow me to update shaderProgram and texShaderProgram, and borrowing much of the compilation / boilerplate from S2D_GL3_Init so that I can rebuild them and use my updated copies.
There's probably a better / cleaner way to do this than what I'm doing, though.

Yes, would be great to expose those pieces via the public API. How do you imagine it would work? We could simply allow people to set their own vertex and fragment shaders globally (I'm not really an OpenGL expert, and so I don't actually know if we could use the same fragment shader for both textured and non-textured objects). We could also let people change the shader programs as objects are being rendered, for example:
S2D_Shader vs = S2D_CreateShader(vertex_source);
S2D_Shader fs = S2D_CreateShader(fragment_source);
S2D_ShaderProgram sp = S2D_CreateShaderProgram(vs, fs);

// When rendering, can select a program prior to drawing
S2D_UseShaderProgram(sp);
S2D_DrawSomething(thing);
S2D_UseShaderProgram(another_shader_program);
S2D_DrawSomething(thing2);

Another possibility could be to assign shader programs to individual drawable objects. I might need to understand some use cases more. Let me know your thoughts!

For what it's worth, I think I like the idea of keeping the shader programs on the objects themselves and letting the DrawXYZ calls apply the program stored as part of the object.  If no shaders have been assigned to the object, then the default programs would be used.
One consideration might be that any custom shader programs would need to include the projection / texture code that exists in the shaders Simple2D uses by default.  That would be something that should probably be documented.
Also - my personal use-case involved a 72-hour game jam with a limitation that only three colors could be used.  I used a random dithering shader to enforce that constraint and achieve an effect I liked.   If it'd help, I could give a link to what I wrote ... but the code is not very clean (partially because of the short amount of time I had to make something work).  I also used a hack to make the shader programs work with Simple2D: I think what you describe would be a much better approach.
As one last note - this library was easy to use and seemed to work as advertised, so ... thanks for writing it!

Well, I'll take the holiday delay and raise you a year ... I totally missed this reply, and only found it again when I was checking to see if there was a new version of this library.
Sorry about that.
Game:
https://cubic1271.itch.io/twilightinfinite
Source:
https://bitbucket.org/cubic1271/twilight.infinite/src/master/
Let me see if I can make a change that I think makes sense and that I like better than the hack I made for this.  If so, I'll get a pull request set up and we can talk about if / how it's suited to merge.

(going to close in the meantime, and will re-open once I have something more complete to talk about)


Updated README.md

spelling error

This change is already covered under issue #30 and assigned to someone.
From next time, please make sure the issue is not covered already, then raise that issue, ask for assignment and then work on it.

Closing this since the changes made on this PR are already covered as discussed above.


Fix Issue #36

Implement schema update to close issue #36

Reverting this change as part of implementing Issu #49 by creating a new pull request


margin whenn days are decorated

Hi
How can I set margin between days in calendar?
Could not find anything within the documentation...
Thanks

forget about it, just found the solution,
Use a drawable as resource and put a stroke with a width of 1dp.


add release permission

Describe what this PR does / why we need it
Does this pull request fix one issue?

Describe how you did it
Describe how to verify it
Special notes for reviews

Codecov Report

Merging #1573 (0a5deb0) into main (ce01d8e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1573   +/-   ##
=======================================
  Coverage   11.19%   11.19%
=======================================
  Files          88       88
  Lines        8066     8066
=======================================
  Hits          903      903
  Misses       7051     7051
  Partials      112      112

Continue to review full report at Codecov.

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


dwtk currently don't work for AVRs with flash bigger than 0xffff bytes

this is not a problem for the supported devices.
does any of the affected devices support debugWIRE?

apparently debugWIRE can't address more than 16 bits. lets not consider this an issue for now.


Missing grant_type after repeat calls to fetchAuthToken()

More information: https://github.com/googleapis/gax-php/pull/33#issuecomment-235917456

The issue appear to be related to the call here:
https://github.com/google/google-auth-library-php/blob/master/src/OAuth2.php#L494
The $credentials object returned doesn't necessarily contain a refreshToken. In this case, the updateToken method will replace the existing refeshToken with null:
https://github.com/google/google-auth-library-php/blob/master/src/OAuth2.php#L603


On Step 6 missing pipeline name info

In Step 6 it mentions the following "Select Debug, enter the Parameters, and then select Finish". However, it is not clear which pipeline that steps is referencing as two pipelines "DeltaCopyFromS3" and "DeltaCopyFolderPartionFromS3" were imported using the template "Copy delta data from AWS S3 to Azure Data Lake Storage Gen2".
Thank you

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

ID: 2e328034-4be8-482b-b8b1-7385c8908449
Version Independent ID: 5a9481a8-f886-7330-17de-fa7ca56a76b2
Content: Migrate data from Amazon S3 to Azure Data Lake Storage Gen2 with Azure Data Factory - Azure Data Factory
Content Source: articles/data-factory/solution-template-migration-s3-azure.md
Service: data-factory
GitHub Login: @dearandyxu
Microsoft Alias: yexu

@vlado101, Thanks for the question! We are investigating and will update you shortly.

@vlada101 In Step 6, as visible from the screenshot, you would run the pipeline "BulkCopyFromS3". The template being used here is "Migrate historical data from AWS S3 to Azure Data Lake Storage Gen2 template" as mentioned in Step 3.
I think you are using the wrong template. Kindly use the above suggested template and pipeline.

@vlado101 I have submitted a PR to modify the doc. You will see the changes in production very soon once its approved by the content team.
I will now proceed to close this issue. Please feel free to still comment and tag me if you have any queries.


chore(version): bump to 4.6.0

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

Comparison is base (299b63f) 89.88% compared to head (6a3342a) 89.54%.
 Consider uploading reports for the commit 8f4f622 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1475      +/-   ##
==========================================
- Coverage   89.88%   89.54%   -0.34%
==========================================
  Files         192      194       +2
  Lines        6147     6341     +194
==========================================
+ Hits         5525     5678     +153
- Misses        622      663      +41

Flag
Coverage Δ

py3.8-ubuntu-22.04-pandas
89.54% <81.77%> (-0.34%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

setup.py
0.00% <ø> (ø)

src/ydata_profiling/__init__.py
92.30% <100.00%> (+2.30%)
:arrow_up:

src/ydata_profiling/compare_reports.py
88.17% <100.00%> (+0.12%)
:arrow_up:

src/ydata_profiling/config.py
99.55% <100.00%> (ø)

src/ydata_profiling/model/describe.py
98.66% <100.00%> (+0.13%)
:arrow_up:

src/ydata_profiling/model/description.py
97.87% <100.00%> (+1.09%)
:arrow_up:

src/ydata_profiling/model/pandas/__init__.py
100.00% <ø> (ø)

...filing/model/pandas/describe_categorical_pandas.py
92.50% <100.00%> (ø)

.../ydata_profiling/model/pandas/duplicates_pandas.py
100.00% <ø> (ø)

src/ydata_profiling/model/typeset_relations.py
87.91% <100.00%> (+0.13%)
:arrow_up:

... and 17 more

... and 1 file with indirect coverage changes

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


Reduce libActonDeps

I want to write build.zig files for the libs in libActonDeps but as I started I realized that we might not need some of these libraries.

libargp is only used by actondb, not by acton itself, so it doesn't have to live in libActonDeps to be available to actonc at runtime

I think our solution before was NOOP on Linux, since argp is part of glibc or somesuch and on Macos we just pulled in argp-standalone using brew - it seems better

libbsd is for arc4random that's used in numpy, so maybe we can just include arc4random.c etc instead of building the whole lib?
libmd is a dependency of libbsd I think, so if libbsd is removed, so can libmd?
libuuid / util-linux - can we just include some source files directly since util-linux is huge and we just want libuuid?

Okay I might be swinging around for argp again. If we want to be able to cross-compile it, we need the argp sources...

argp got to stay, we now have a mirror at actonlang/argp-standalone with build.zig.
libbsd and libmd are gone as we switched over from arc4random to just using rand() for now.
I've extracted libuuid from util-linux and committed directly to this repo.
Closing.


How to use a single key as multiple modifier keys in keyd 2?

I recently migrate keyd 1 to keyd 2.
I previously used left super as super+alt by the configuration
capslock = layer(C)
rightalt = layer(A)
leftmeta = layer(M-A)
rightmeta = oneshot(G)
rightcontrol = layer(M)

I tried to archive the same in keyd 2.4.2 with the configuation
[ids]
*

[main]
capslock = layer(control)
rightalt = layer(alt)
leftmeta = layer(meta+alt)
rightmeta = oneshot(altgr)
rightcontrol = layer(meta)

But I have the following error ERROR parsing /etc/keyd/keyd.conf:7: meta+alt is not a valid layer. It seems layer meta was recognized, while layer meta+alt was not recognized.
What is the proper way to map a single key to multiple modifer keys?

[ids]
*

[main]
capslock = layer(control)
rightalt = layer(alt)
leftmeta = layer(metaalt)
rightmeta = oneshot(altgr)
rightcontrol = layer(meta)

[metaalt:M-A]

does what I want. I think being able to specify leftmeta = layer(meta+alt) would be better, but feel free to close this issue as what I want is indeed possible.

Glad you found the solution!

I think being able to specify leftmeta = layer(meta+alt) would be better

The reason that doesn't work is that layers are not the same as modifiers. The distinction between them used to be more blurry, so that you could do layer(M-A), but that caused issues.
However, because it has since become possible to compose layers a+b by pressing keys for layer(a) and layer(b) simultaneously, with associated modifiers stacking correctly, I do think it makes sense to allow a single key to activate multiple layers. rvaiya, what do you think?

, I do think it makes sense to allow a single key to activate multiple layers.

This adds a lot of additional complexity for little gain. Simultaneously activating multiple layers usually makes little sense. The reason most people usually want to do it, is to activate multiple modifiers, which is best achieved by creating a dedicated layer with the desired modifiers (which also supplies a natural place to supply overrides).


Keep getting disconnected before irc even does anything

I made sure I updated the module and I also trying firing up a bare bones script from the documentation site and here is the output I keep seeing
[19:25:45] info  - Searching for a Twitch server..
[19:25:46] event - connecting
[19:25:46] event - logon
[19:25:46] event - disconnected

Ah twitch had a breach and required password resets, just needed to reset the password and generate a new auth token


get-targets-down: Use internal prometheus domain name

In some cases, the route domain name cannot be resolved

jira: OSD-8685

/lgtm
/approve


Hi, I meet some problems when reproduce the results using pascal voc dataset

Hi, I try to reproduce your results reported in your paper but can't reach your results as your paper report.
Because of computation resource limited, I use batch size 8 and learning rate 0.0005 which are half in your paper.

When try to reproduce "full" method using the superparameters mentioned before，I just reach 77.12 (running 3 times and average).
Could you give me some advice to reproduce your method, thanks.
The config file I used in reproduce experiment is as following. Besides, the annotations files are get as you mentioned in your repo.
dataset: # Required.
  type: pascal_semi
  train:
    data_root: xxx/VOCdevkit/VOC2012
    data_list: xxx/U2PL/data/splits/pascal/1464/labeled.txt
    flip: True
    GaussianBlur: False
    rand_resize: [0.5, 2.0]
    #rand_rotation: [-10.0, 10.0]
    crop:
      type: rand
      size: [513, 513] # crop image with HxW size
  val:
    data_root: xxx/VOCdevkit/VOC2012
    data_list: xxx/U2PL/data/splits/pascal/val.txt
    crop:
      type: center
      size: [513, 513] # crop image with HxW size
  batch_size: 2
  n_sup: 1464
  noise_std: 0.1
  workers: 2
  mean: [123.675, 116.28, 103.53]
  std: [58.395, 57.12, 57.375]
  ignore_label: 255

trainer: # Required.
  epochs: 80
  eval_on: True
  optimizer:
    type: SGD
    kwargs:
      lr: 0.0005  # 4GPUs
      momentum: 0.9
      weight_decay: 0.0001
  lr_scheduler:
    mode: poly
    kwargs:
      power: 0.9
  unsupervised:
    TTA: False
    drop_percent: 80
    apply_aug: cutmix
  contrastive:
    negative_high_entropy: True
    low_rank: 3
    high_rank: 20
    current_class_threshold: 0.3
    current_class_negative_threshold: 1
    unsupervised_entropy_ignore: 80
    low_entropy_threshold: 20
    num_negatives: 50
    num_queries: 256
    temperature: 0.5

saver:
  snapshot_dir: checkpoints
  pretrain: ''

criterion:
  type: CELoss
  kwargs:
    use_weight: False

net: # Required.
  num_classes: 21
  sync_bn: True
  ema_decay: 0.99
  encoder:
    type: u2pl.models.resnet.resnet101
    kwargs:
      multi_grid: True
      zero_init_residual: True
      fpn: True
      replace_stride_with_dilation: [False, True, True]  #layer0...1 is fixed, layer2...4
  decoder:
    type: u2pl.models.decoder.dec_deeplabv3_plus
    kwargs:
      inner_planes: 256
      dilations: [12, 24, 36]

Hi, it really confused me...
We have trained several times on classic PASCAL VOC 2012 and it was very stable.
Could you provide your training log?
Or, could you use 8 GPUs with batch_size=2 and change the lr to 0.001?
I'm not sure why you got unexpected results :(

The training log I get is as following. In this experiment, I use the config file as mentioned before.
seg_20220318_163031.txt
Moreover, because computation resource limited, I can't get 8GPUs to do this reproduce experiments, I can use 4x 3090 cards until now.
Thanks for your help.

The best performance is in epoch 10, which is quite wired...
Did you change the random seed for 3 different running?

emm, I haven't changed random seed, all experiments use the default seed 2. And parameters I have change are batch size, learning rate, training process port and dataset directory. Besides, no parameters have been changed.

Hi, @YanFangCS we have retrained our model on 4 V100 with batch_size=16 and lr=0.001, here is our [training log].(https://github.com/Haochen-Wang409/U2PL/files/8358947/seg__20220327_211253.txt)
I am not sure why you cannot reproduce the results... :(
Maybe batch_size=16 and lr=0.001 are two important parameters?

thanks for your help, I will try more times to reproduce it. Thanks for your work. introducing new unreliable perspective.

By the way, I am wondering why the total training iterations is 45600 when set epochs as 80. That means there exists 570 iterations per epoch, but given supervised dataset size 1464, unsupervised dataset size 9118 and batchsize of 4(16 of total).   It's quite wired.

emm, I see, you calculate epochs according to unsupervised dataset size. This calculation is same as AEL does.

By the way, I am wondering why the total training iterations is 45600 when set epochs as 80. That means there exists 570 iterations per epoch, but given supervised dataset size 1464, unsupervised dataset size 9118 and batchsize of 4(16 of total). It's quite wired.

Yes, an epoch is defined as the iterations that the model is trained by all unsupervised images.

I have reproduced the result as paper declares. I solve this problem by using batch size 16, lr 0.001 with torch.cuda.amp, which is similar to apex. It consumes about 15G cuda memory for RTX3090 with amp which is affordable.
So, I think batch size and lr are essential for reproducing this paper.  The model can't be sucessfully trained with half bs and lr, it still confuses me a lot.
Thanks for your help.


Bump deCONZ to 2.05.77

Should we update the docker file to "apt install" the libc component as well to restore the firmware flashing capability?
153


Question about angle field’s loss function

Hello, thank you for your work.
I tried drawing the plot of the angle field’s loss function with a fixed groundtruth A and found the following problem. I am wondering if I have misunderstood something in the paper.

Hi, I think that you are correct. The prediction in your example will converge to 0 and stay stuck there, so the loss is not optimal indeed.
I think that the second part of the loss was added at a time when the predicted angle was in [0, 2pi], but this is not the case anymore. So changing the loss directly to ||\hat{A} - A|| should work better. Thank you very much for reporting this!


Add Boomi certifications

Adding free certifications from Boomi:

Professional API Management Certification 2022	Link
Professional API Design Certification 2022	Link
Associate Developer Certification 2022	Link
Associate EDI for X12 Certification 2022	Link
Associate Flow Essentials Certification 2022	Link
Associate Master Data Hub Certification 2022	Link
Development and Application Architecture Certification 2022	Link
Professional Developer Certification 2022	Link
Professional Flow Developer Certification 2022	Link
Associate Administrator Certification 2022	Link
Professional Linux Operational Administrator Certification 2022	Link
Professional Windows Operational Administrator Certification 2022	Link

@karentamrazyan could you please review this pull request?

hi @stn1slv . Thanks for your contribution, but all those suggested courses / certifications are behind a registration wall. Hence, we cannot neither check nor accept them.

@karentamrazyan, there is a confirmation from the vendor that all certifications are free.
Please see details by the link:
https://resources.boomi.com/resources/blog-posts/get-trained-and-certified-on-the-boomi-platform-anytime-anywhere-—-for-free
If you accept them, I'll submit a new PR for them.

ok, great. Please submit a new PR.

Please see in PR #95


Fix autoclicking and reduce repetition

Refactor

Add parse_string_to_u64()
Add parse_string_to_f64()

Fix

When starting the autoclicking using the hotkey, the first click is immediately dispatched. Note: when starting the autoclicking using the button, the first click is still delayed by the click interval (that is, behavior unchanged)

Contributes to #3


Document VS UI troubleshooting with Snoop tool

This is done at https://microsoft.sharepoint.com/teams/python/_layouts/OneNote.aspx?id=%2Fteams%2Fpython%2FDocuments%2FDocuments%2FPython Team&wd=target(Python VS%2FDev Docs.one|D7206CE2-CF40-437B-8CE9-1E55F4BC2F44%2FInspecting the VS Visual UI Tree|AE39CA86-8759-4E2D-9EE5-138829CDB2A7%2F)


Adding option 6 to configure registry redirection at node level

Kubernetes users can also use container runtime to redirect traffic from the old registry to new registry. I've included a write up that shows how to implement redirection at node level using containerd.

https://github.com/kubernetes/website/pull/40528 looked promising, but the publication elsewhere means that - without making a difficult-to-secure exception - we can't accept it.

Hi @realvz .
I am closing this pull request. If you have more changes or comments, you can reopen this PR.
/close


Applied fixes from StyleCI

This pull request applies code style fixes from an analysis carried out by StyleCI.

For more information, click here.

Refs #258 /cc @Incognito @GrahamCampbell

@Incognito This passes but I'm not sure how this compares to your original request.

:+1:

:+1:
This very likely uses the same tool as I did.

Might make sense to leave StyleCI running to analyze PRs and check your pushes stay within PSR-2.
If you need anything, ping me. :)

:+1:


add hostname, port, output, and password env variables to tile38-cli

add support to env variables for tile38-cli, including password.
especially useful when running on docker, connecting to a protected server

👍 I'm cool with this.


feature request to capture contents of http/https payload using AppScope

As an average SRE that supports customer facing APIs I need to be able to capture the contents of a http/https put so I can see if the customer is using the wrong format to make API requests. I setup tomcat with scope and used the sample websockets application. I can see all of the metadata, but not the actual payload. I confirmed with John payload is out of scope right now so I am requesting that the feature be considered for a future rollout. Let me know if anyone wants more details.

With LogStream's AppScope Source doing the conversion from raw payload data to http events, I know I've seen LogStream capture http content inside of the http-resp event.  It may be that "show internal fields" is required to be able to see this (is it only available in the _raw field?).
However, I'm not sure if LogStream's AppScope Source captures http content in http-req events that it produces.  I suspect not since I believe that this was the original thing @ebatcribl was looking for.
I see two possible actions from this request.  One, if we want to be able to preserve the ability for LogStream to convert raw payload data into http events, then we should look at capturing http content when it creates http-req events.  Two, as we go forward with having libscope.so create http events, we should provide a way to optionally capture http content (not just the http headers).  Without Two, I feel like we're reducing the http functionality that people might be getting used to right now.


Skip comments in html

Relates to #62
If html has comment, the TagsProcessor delibirately processes its content.
Need to detect comment start and ignore everything until the comment end.

Comments support is added.


Android crashes when tried to render TextInput on RN 0.64.x and using appcompat library of 1.4.0

Description
Latest 0.64 react-native is not compatible with latest appcompat androidx library. When app tries to render TextInput, NullPointerException thrown. This happens in file ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.java (line 972):
 private void updateCachedSpannable(boolean resetStyles) {    // Noops in non-Fabric    if (!mFabricViewStateManager.hasStateWrapper()) {      return;    }
This happens because super constructor AppCompatEditText calls updateCachedSpannable as part of construction, so mFabricViewStateManager not initialized yet and is null. So need to check mFabricViewStateManager for null value first.
React Native version:
System:
OS: macOS 10.15.7
CPU: (8) x64 Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
Memory: 790.90 MB / 24.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 15.4.0 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 7.0.15 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.1 - /Users/st1ng/.rvm/gems/ruby-2.7.0/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
Android SDK:
API Levels: 23, 25, 26, 27, 28, 29, 30
Build Tools: 25.0.0, 26.0.0, 27.0.3, 28.0.3, 29.0.2, 29.0.3, 30.0.0, 30.0.2
System Images: android-21 | Google APIs Intel x86 Atom_64, android-24 | Google Play Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-30 | Google Play Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 4.2 AI-202.76<IP_ADDRESS>22048
Xcode: 12.4/12D4e - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_221 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.1 => 17.0.1
react-native: 0.64.1 => 0.64.1
Steps To Reproduce

Create empty project
Set explicitly appcompat version to 1.4.0-alpha01 or make it "+" in app/build.gradle
    implementation "androidx.appcompat:appcompat:1.4.0-alpha01"
Add empty TextInput to any page

Expected Results
No crash happen
Snack, code example, screenshot, or link to a repository:

Hey @st1ng I want to learn your motivations needing to support androidx.appcompat:appcompat:1.4.0-alpha01 is there an API RN is not supporting that you need? If RN does not support the version (especially alpha versions) there isn't an expectation for it to be working.

same problem

Same problem with any version of appcompat

https://stackoverflow.com/a/67733792/2193455

still struggling with the issue. any solutions?

Same issue with RN 0.65.1

Use this for now:
implementation ("androidx.appcompat:appcompat:1.3.1") {
        version {
            strictly '1.3.1'
        }
    }

Hi, appcompat 1.4.0 is now stable and as such RN is now becoming a blocker to update further. Since many other androidx dependencies are transitively dependent on appcompat, the issue will soon start bubbling through many apps using RN.
Please does anyone have any idea how to solve this actually? The locking appcompat on version 1.3.1 is a temporary fix, but what should be the long term one?

I've addressed this in e21f8ec It will be available in the upcoming stable of RN

Here I am chasing a crash bug down from stackoverflow and github and such and I find it closed just hours ago - thanks a bunch @cortinico ! I'm fine pinning the version in gradle as long as I know there's a fix coming, I'll just mark the pin for removal with react-native 0.68. Cheers

Use this for now:
implementation ("androidx.appcompat:appcompat:1.3.1") {
        version {
            strictly '1.3.1'
        }
    }

Save my day!

This solution creating issue with all other libraries ( I am using tons in my project which are using all possible versions of appcompact)
implementation ("androidx.appcompat:appcompat:1.3.1") {
version {
strictly '1.3.1'
}
}

Why is this issue marked as closed if it is very much alive?

Why is this issue marked as closed if it is very much alive?

Because the issue is solved on main + there is a workaround provided. Nothing else is actionable on this issue anymore 👍

@cortinico my bad, I had just seen the reversal to 1.3.1 commit, not the other one!

I have the same issue but don't use any androidx.appcompat:appcompat in my build.gradle
but when i search for it in my project i see this: MERGED from [androidx.appcompat:appcompat:1.4.1] /Users/[username]/.gradle/caches/transforms-3/0e660b8bafa777eda46724d78ef391ea/transformed/appcompat-1.4.1/AndroidManifest.xml:17:1-24:12
What should i do ?

Had this issue after upgrading to JDK 11, and upgrading targetSdkVersion and compleSdKVersion to 31.
Thank you so much @cristianoccazinsp for the workaround that worked. Many many hours have been spent on this.

Hi I have the same issue, but I don't have any iOS or Android folders in my project,
what should I do?
thanks for the help

@patriziomadferitmilione - download the latest version of expo go

@brentvatne @bang88 @mikehardy @RobTS @kangear Hey guys Are we have any solution for this issue?
"react": "16.13.1",
"react-native": "0.64.3",

Use this for now:
implementation ("androidx.appcompat:appcompat:1.3.1") {
        version {
            strictly '1.3.1'
        }
    }

not working for me


COPY ./src ./src
COPY ./videos ./videos

# RUN apk add --update --no-cache git gcompat gettext
RUN npm ci --only=production

CMD npm start
EXPOSE 3000

Logs
This is output of Docker logs
><EMAIL_ADDRESS>start
> node ./src/index.js

node:internal/modules/cjs/loader:943
  throw err;
  ^

Error: Cannot find module 'hyper-express'
Require stack:
- /usr/src/app/src/index.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
    at Function.Module._load (node:internal/modules/cjs/loader:773:27)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at Object.<anonymous> (/usr/src/app/src/index.js:1:22)
    at Module._compile (node:internal/modules/cjs/loader:1108:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Function.Module._load (node:internal/modules/cjs/loader:828:14)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/usr/src/app/src/index.js' ]
}

This is a problem with your Docker Build-file as it does not install the packages that are listed in your package.json, try adding "npm install" command before "npm start" gets executed. The npm install command will install the hyper-express and all other packages in your docker image and ensure that error doesn't get thrown.

the same settings work with express.js.
have you try with docker

If you search up the error you are getting on google "Error: Cannot find module" you will see that this error is thrown by Node when you try to require/load a library or JS file that does not exist. Since your error shows "Cannot find module 'hyper-express'" that means that the hyper-express package is not being installed on your Docker image. Please ensure that your package.json file has "hyper-express" as a dependency and then ensure your image installs hyper-express upon creation.


paginated("items") returns 0 despite :list array is non-empty.

Hi
I have developed a search component which calls a 'list' component internally to show a list of results.
<list :data="searchResults" />
The data is a computed property on list component which either takes a data from store or from property parameter.  When in the context of search , I could see that paginated('items') returns 0 where as data exists in the list binding variable.
How to refresh the paginated() to reflect the correct number of items ?

I think I'm having a similar issue. My  component starts with a ":list" prop assigned to a computed variable that is an empty array from "vuex", after I add the first element to it instead of starting showing the list "paginated()" keeps returning an empty array, I have to refresh the page to "fix" it.

I believe the easy fix is to set a watcher on the list, then run this.goToPage(1) after the update to force the current page to 1


Fix various darkmode elements on user pages

Dark mode on user pages was not being applied to some elements in the sidebar (Photos, Friends/Frequent mentions/bottom navbar)
Original:

Updated:

Thank you!!


select query slow beyond believe

reading a data source with 49 dimensions and 33 aggregations, I get:
threshold => request time
10 => 1.4s
100 => 6.7s
1000 => 77s
Based on these numbers, I'd take ~16 years to read a single day of data.
On IRC, other people could verify the slowness.

I think the new scan query fixes this! 🎆
@fjy I think this can be closed.


Ubuntu container internet connection

Ubuntu containers are not connected to the internet, for example I can't install packages using the apt-get or even ping a specific website, any ideas?

@alihalabyah It's working for me. Are you connected through VPN / proxy?
Which specific image did you try?  (I tested it on the official ubuntu-upstart image)

I had a similar issue, and found this: https://github.com/boot2docker/boot2docker/issues/365
I thus had to ssh in directly to the boot2docker container, and start up the docker container manually,  with the --net=host option. After that I was able to access the network.


services/submitter: Prototype of Transaction Submission Service

What
This commit moves transaction submitter module from an old SDF project and adapts it to the current stellar/go API.
Why
A service like this can be useful for organizations outside SDF. Also, in SDF we have multiple tx submitters in different projects, using a single, well-tested and battle proven code can save time and prevent some common mistakes.
How it works
TransactionSubmitter is the main process responsible for submitting transactions. A transaction can be in one of four states:

pending - transaction waiting to be submitted,
sending - transaction loaded and queued to be submitted,
sent - transaction successfully sent (added to ledger)
error - error while sending.

Every second TransactionSubmitter loads TransactionPerSecond transactions with pending state from a DB and attempts to send them. In a DB transaction it changes their state to sending.
Next, one of Channels is selected to actually submit tx with it's sequence number. Channels are used one after another. If tx is successfully included in the ledger the state is changed to sent, otherwise to error. In case of bad_seq error channel state is automatically reloaded.
Known limitations
The above algorithm is simple and prevents many common mistakes like attempting to send a transaction again on error case (which ex. can be a success but the 200 OK response was not delivered due to network issues).
Below is a list of possible improvements to the system:

Make resubmitting an automatic process. Currently the system requires a manual inspection of errored transactions. This is probably fine when the system is maintained by an experienced developer but it's not always a case. We could improve the algorithm to detect when the error is actually a final state:

Add timebounds.max_time and monitor ledgers to check if tx actually made it to the ledger in a given time.
There's a state in which a tx is loaded to be sent but is not actually sent (before POST /transactions call). Maybe we need an intermediate state? This state can be safely reverted to pending on system crash.

Currently the fees are hardcoded. We should probably allow admins to set max fee and monitor /fee_stats endpoint in Horizon. As with previous points, txs that did not make it into ledger because of low fee should be resubmitted.
Idea from @JakeUrban: in init stage, channel accounts can be created using SEP-5 derivation and sponsored by a master account. This will simplify the process to just generating a master seed which is great.
Currently the system is only supporting Postgresql. When the feature set of V1 is complete we can create an interface based on PostgresStore to support other DB engines.
Also @JakeUrban: It should be possible to use the system as a Go package but also it should expose JSON-RPC to be used by non-Go applications.

Thanks for getting this started, I'm super excited about the project.
Error Handling
I think the next step to take here is to implement automatic resubmission on recoverable errors. Recoverable errors are:

504 status code
429 status code
tx_too_late transaction result code
tx_bad_seq transaction result code
tx_insufficient_fee transaction result code

Errors that are not recoverable:

500 status code
tx_insufficient_balance result code
all payment operation result codes (except success)

All other errors indicate a bug in the package.
Interface Design
I also think we need to simplify the interface exposed to the developer using this package. From their perspective, there should be three transaction statuses:

pending
success
error

There should be no distinction between a transaction that has not been picked up from the store, one that has been retrieved from the store but not submitted, and one that has been submitted but has not been included in a ledger.

What
Refactors @bartekn's initial implementation of the transaction submitter to better manage concurrent transaction submission.

Each channel account is given a go routine that pull from a buffered queue of transactions
Every second, the submitter checks if the queue is full, and if its not, fills the queue with more pending transactions
For every transaction placed in the queue, a go routine picks up the transaction and uses it's channel account to submit it

This PR also adds the following:

Signs the transactions with the root & channel account
Uses fee bump transactions so channel accounts don't need to hold XLM

Why
The existing implementation assigns transactions to channels that could still be working on submitting previously assigned transactions. This would cause the sequence number errors and channel accounts would constantly have to reload their state, reconstruct transactions, and resubmit them.
Using a buffered channel allows for:

the submitter to only query the DB when the channel is not full
The channel accounts to never be idle -- unless there are no pending transactions in the database


go-woke - ignore go.sum

blocking https://github.com/knative/serving/pull/15224

/assign @upodroid @cardil


Modelmapper not skip a object field

I have four class
public class A {

    private String field1;
    private String field2;

    private B b;

   // setter and getter
}

public class B {

    private String fieldB1;
    private String fieldB2;

   // setter and getter

}

public class ADto {

    private String field1;
    private String field2;

    private BDto b;

   // setter and getter
}

public class BDto {

    private String fieldB1;
    private String fieldB2;

   // setter and getter

}

I want to use modelmapper to populate dto objects
ModelMapper modelMapper = new ModelMapper();
modelMapper.typeMap(A.class, ADto.class, "LAZY")
                .addMappings(mapper -> mapper.skip(ADto::setB))
                .addMappings(mapper -> mapper.skip(ADto::setField2));

modelMapper.map(a, ADto.class, "LAZY");

I use typeMapName to be able to have more mappers
The mapper correctly skips field2 but instead ignores the skip for B, what am I wrong?
Thanks

Good day.
+1
I have the same issue on ModelMapper 2.3.8
I tried to debug mapping an found that it looks like 'incorrect' mapping is generated - it doesn't skip nested fields, while skipping container field.
I.e. mapping looks like

ADto.field1 -> A.field1   - OK
[SKIPPED] ADto.field2 -> A.field2 - OK
[SKIPPED] ADto.b -> A.b - OK

and then

(!!!NOT SKIPPED) ADto.b.fieldB1 -> A.b.fieldB1 ???
(!!!NOT SKIPPED) ADto.b.fieldB2 -> A.b.fieldB2 ???

So it doesn't skip nested properties and in case if object 'A' already exists mapping and is not created in a mapping process - we have problems.
In my case as a consequence I had a Hibernate bug that told me that 'id' of entity 'B' was updated - which took me a great amount of time to debug
Still struggling with it - didn't find how to perform mapping with ModelMapper and had to do it manually
Any help would be appreciated.

I would like to work on this issue, I find out that when do the skip()
this.typeMap.addMapping(this.collector.collect());
this part won't find the fields of the object so that no name match in the TreeMap.
To solve this, I add a method in class 'ReferenceMapExpressionImpl" that use stack to find all field and form a chain to do the addMapper(). I will add a PR so that you can check my code.

Sorry for the lately reply. Can you try https://github.com/modelmapper/modelmapper/issues/654#issuecomment-1001371385 ?
This is how ModelMapper work, maybe we should have FAQ in our website.

Error message for skip conflict was added #668, and I will have a new page pitfall in our website. Thanks for reporting this issue.


Full-width fields for name form

Makes name fields full width for legibility.

Coverage: 93.549%. Remained the same when pulling 174dbc7d39169bcebfa0ad9655e9391f94dc5967 on nimmo-form-styles into d29ba70f16d9be155854ad21ebff1aaf96621bc1 on main.


Add translation for "Link kopieren"

Describe the Bug
The toolar-button "Link kopieren" does not have a translation.
Steps to Reproduce

Go to https://integreat.app/neuss/tr
Look at the toolbar

Expected Behavior
Translation should be there
Actual Behavior
German everywhere

Duplicate of #2245


"KeyError: 'KvFlatDark'" on Manjaro KDE

I just installed this on Manjaro KDE (testing branch) and when I try to run yin-yang it crashes during load_plugins with this error:
Traceback (most recent call last):
  File "/opt/yin-yang/main.py", line 110, in <module>
    main()
  File "/opt/yin-yang/main.py", line 60, in main
    window = config_window.MainWindow()
  File "/opt/yin-yang/src/ui/config_window.py", line 29, in __init__
    self.load()
  File "/opt/yin-yang/src/ui/config_window.py", line 59, in load
    self.load_plugins()
  File "/opt/yin-yang/src/ui/config_window.py", line 120, in load_plugins
    plugin.available_themes[used_theme]
KeyError: 'KvFlatDark'

I'm using git revision b236e813e548cc2b0880b91250cc783d2c61e851 (tag: 3.0.1) and I'm on the latest Manjaro testing branch (last updated today, Sept. 27).

Seems like the names changed: KvFlatDark is now just KvFlat. Fix is on the way

Let me know if this fixes your issue


Tapping the network background should clear the highlight

Describe the bug
A clear and concise description of what the bug is.
When you're using an iPad, you can tap a gene name to highlight the network.  When you tap in the network, like the background, it doesn't reset.
To Reproduce
Steps to reproduce the behavior:

Go to the demo network
Tap on a gene in the panel
Tap the network background

Expected behavior
A clear and concise description of what you expected to happen.
The highlight should be cleared on tap of the background, possibly by tapping other things like nodes too.

The problem is that iOS and Android uses the:hover selector for single-finger tap events and, in order to trigger a mouse-leave event on the tapped element, you have to tap another HTML element. However tapping the Cytoscape canvas does not trigger such events.
Notice that the same issue happens on the Pathways table, when tapping a row. Tap and drag a row to prevent a selection and the hover style is applied to the row. You then have to tap another HTML element to clear the row's hover style, but tapping Cytoscape doesn't do that.
I don't know if it's easy or even makes sense to trigger a mouse-leave event programatically in React (in this case, from a Cytoscape 'tap' event).
I could remove the :hover selector and use a React state to set the style programatically. Actually, I just tried exactly that (with a listener for Cytoscape 'tap' events):
cyEmitter.on('tap', () => updateCyHighlights());
That works, but the hovering effect on the gene entry becomes much slower than with the CSS :hover, and this also makes the issue #221 (Hover effect on genes gets stuck) a lot more frequent (probably because the use of React state re-renders the gene list component, which prevents onMouseLeave on the original element from being called):

So this fixes the problem on iOS and Android, but creates more problems on the desktop.
I'm wondering if we should instead replace the hover action with a click--clicking a gene item would both expand its description/linkouts and highlight the nodes; clicking the same gene again or another element (including Cytoscape) would clear the gene selection and the node/edge highlighting.

Good info. Do you have your current changes in a branch. Let me take a look and there’s probably a simple fix. ThanksOn Jan 24, 2024, at 14:08, Christian Lopes @.***> wrote:
The problem is that iOS and Android uses the:hover selector for single-finger tap events and, in order to trigger a mouse-leave event on the tapped element, you have to tap another HTML element. However tapping the Cytoscape canvas does not trigger such events.
Notice that the same issue happens on the Pathways table, when tapping a row. Tap and drag a row to prevent a selection and the hover style is applied to the row. You then have to tap another HTML element to clear the row's hover style, but tapping Cytoscape doesn't do that.
I don't know if it's easy or even makes sense to trigger a mouse-leave event programatically in React (in this case, from a Cytoscape 'tap' event).
I could remove the :hover selector and use a React state to set the style programatically. Actually, I just tried exactly that (with a listener for Cytoscape 'tap' events):
cyEmitter.on('tap', () => updateCyHighlights());
That works, but the hovering effect on the gene entry becomes much slower than with the CSS :hover, and this also makes the issue #221 (Hover effect on genes gets stuck) a lot more frequent (probably because the use of React state re-renders the gene list component, which prevents onMouseLeave on the original element from being called):
emweb-bug-221.gif (view on web)
So this fixes the problem on iOS and Android, but creates more problems on the desktop.
I'm wondering if we should instead replace the hover action with a click--clicking a gene item would both expand its description/linkouts and highlight the nodes; clicking the same gene again or another element (including Cytoscape) would clear the gene selection and the node/edge highlighting.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

As discussed today: Let's go with click.


Provide example usage

I have some people that would be interested in using something like this. Can you write up a quick readme or sample .html file for basic usage?

If you wrote this code then, you should have an idea on how you think it should be used. You should have and example first and then that can be developed on.

+1

+1

+1


From voxelshop to blender (cycles)

Is there a way to export a model from voxelshop to blender, so that the textures won't be messed up and would work with cycles render?

@MunMun2 Yes, there certainly is. I think you need to adjust the model after each import though.
Let me see if I can dig up the instructions somewhere... I'll get back here in an hour or so.

Sorry for the late reply. Things side tracked a little... The forum is completely broken, but there is still lots of useful info on there: https://blackflux.com/forums/viewtopic.php?f=9&t=108 (fixing that is another project arg)...
You should be able to modify the export options and / or blow up the textures if you still have problems after following those instructions.

Closing this. Feel free to comment if you have further issues!


Link to CNN models is broken

Link to CNN models is broken

See - http://dx.doi.org/10.15128/r23j333226h

Can you tell me how to train the model? Thanks!


Error when using package glossaries

I'm trying to use the package 'glossaries' together with the poliTeX class to generate an acronym list, but when I do that, I get the following error messages (see below). To replicate the error, only include \usepackage{glossaries} at the beginning of the TeX document.
! LaTeX Error: Command \su@ExpandTwoArgs already defined.
Or name \end... illegal, see p.192 of the manual.
See the LaTeX manual or LaTeX Companion for explanation.
Type H  for immediate help.
...
l.89 }
Your command was ignored.
Type I   to replace it with another command,
or  to continue without it.
! LaTeX Error: Command \IfSubStringInString already defined.
Or name \end... illegal, see p.192 of the manual.
See the LaTeX manual or LaTeX Companion for explanation.
Type H  for immediate help.
...
l.94 }
Your command was ignored.
Type I   to replace it with another command,
or  to continue without it.
! LaTeX Error: Command \su@IfSubStringInString already defined.
Or name \end... illegal, see p.192 of the manual.
See the LaTeX manual or LaTeX Companion for explanation.
Type H  for immediate help.
...

OK... I couldn't reproduce this error. The tex compiles with the glossaries package and runs makeindex without issues (couldn't test makeglossaries because I don't have perl on this PC). Are you using abntex2cite? You may want to include glossaries before abntex2cite (which defines a lot of substr functions if they are not yet defined). That's is an abntex2 issue, but easily fixed by taking care of the package orders. Let me know if there's anything else!
Referring to your email, I have updated the class to include an pretextualsection environment that let's you add list of symbols, acronyms, and whatever else you want! Check out the new README.
(Ah... E esse pacote só tem uso para a POLI, então acho que não tem problema discutirmos em português aqui... Mas vocês que sabem!)


fix(ReaderFactory): Support file extensions with additional .gz

For example, *.nii.gz.
Adapted from itk.js/getFileExtension.js
Also update itk.js supported extensions in the documentation.

See https://github.com/Kitware/paraview-glance/pull/198/commits/c3ee557b45cf1310e6b7a5808b6082d93471c202

:tada: This PR is included in version 2.5.10 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


RPM/Yum Installation Enhancements

Signed-off-by: JeffH-AWS<EMAIL_ADDRESS>Description
Providing a complete "out of the box experience" guide within the setup instructions.
Issues Resolved
Relates to #789
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

First commit is lazy looking - I just wanted to drop the tarball guide, which is still pending editorial review, in the RPM/Yum doc so I can work through and create a parallel structure.  The bulk of the differences will relate to the actual "download/install" steps and the configuration paths.

Sent to editorial for review. Editor is currently OoO so it may take some time before they have a chance to look at this.


feat: more advanced app search

This introduces more advanced search functionality based on lunr (and thus removes the need for List.js). It enables the following functionality:

Exclusions: prefix a search term with - to exclude that term.

Boolean AND: prefix terms with + to force them all to be included.

Wildcards: use * to perform a wildcard search

Field search: use field: to search in a specific field

Term boosting: use ^ to boost a score for a certain term

Fuzzy searching: use ~ to enable fuzzy searching

While not all of these features are likely to be used by end users, they all come for free and we always have the option to use them with a nice JavaScript API instead of obtuse symbols in a search string. In addition, I've changed the way results are shown and hidden when a search is performed, ideally making it faster ~citation~ benchmark needed.

[x] Benchmark new list update code
[x] Compare bundle size before/after change

Depends on #1388
Closes #692

Some quick metrics:

Bundle Size
Search for "markdown"
Reset search box

List.js
662kb
39ms
161ms

lunr
674kb
31ms
29ms

Delta
+12 kb (<2% larger)
-8ms (20% faster)
-132ms (82% faster)

I'm happy with shipping this PR, but want to mention that we also have all this app data indexed in Algolia. So we could eventually drop both lunr and List.js in favor of Algolia's autocomplete.js which we're already depending on on every page (because the search is in the header).


How to get the relationship between the watcher and watcher_id for one key multi watcher.

//! Watch example

use etcd_client::*;

#[tokio::main]
async fn main() -> Result<(), Error> {
    let mut client = Client::connect(["localhost:2379"], None).await?;
    let (mut watcher, mut stream) = client.watch("foo", None).await?;

    watcher.watch("foo", None).await?;
    watcher.watch("foo", None).await?;

    while let Some(resp) = stream.message().await? {
        println!("[{}] receive watch response", resp.watch_id());
        for event in resp.events() {
            println!("event type: {:?}", event.event_type());
            if let Some(kv) = event.kv() {
               println!("kv: {{{}: {}}}", kv.key_str()?, kv.value_str()?);
            }
            if EventType::Delete == event.event_type() {
                watcher.cancel_by_id(resp.watch_id()).await?;
            }
        }
        println!();
    }

    Ok(())
}

I want to register multi watcher for one key at different scenes, so I want to get the watcher_id fro every watcher registered and build the relationship between the scenes and watcher_id, because I need cancel the watcher according to the  scenes.
According to the example code, I only get the watcher_id from the stream.message().
So how to get the relationship between the watcher and watcher_id for one key multi watcher?

You can use WatchOptions::with_watch_id to specify watch_id by yourself.

You can use WatchOptions::with_watch_id to specify watch_id by yourself.

You can use WatchOptions::with_watch_id to specify watch_id by yourself.

Hi @davidli2010  Thanks for your reply. I found the with_watch_id method and try to use it.
But I found if use this method, I must guarantee to be globally unique for watch_id myself. if not, maybe conflict.
If the distributed system, I should depend on third-party libraries.
Is there a better way to guarantee global uniqueness for watch_id? Thanks.

Perhaps a node ID plus a monotonically increasing sequence within a node would do the trick.


Upgrade to firebase functions 1.0

This PR updates firebase-functions to 1.0 for our entire system.
I've tested everything locally. This is ready for review.

Let's actually first upgrade to firebase functions 1.0 and move the testing story in a separate PR respectively for #781 and #782. This also makes it easier to review things.

@machinelabs/glory-hackers I've updated the PR to only cover upgrade to 1.0 for now.
Please test it locally.

@cburgdorf notice a couple of things:

admin CLI isn't really affected here apart from  upgrading firebase-admin dependency. All the APIs used in admin CLI stay intact
Bucket storage function trigger is now called onFinalize(). When deploying this function, firebase CLI first wants you to delete the existing bucket function in GCP. Unless we come up with a smooth roll out, this would mean there'd be a tiny gap where the bucket function is unavailable until the new trigger is deployed.

I didn't check CLI handshackes and user onboarding

@cburgdorf Just as I was about to check user onboarding, I realized that we probably need to change the algorithm due to GDPR. I'm not an expert on this, but I believe it's forbidden to automatically subscribe users to a mailing list without asking them for permission.

Just checked handshakes, those work fine too.
Will look into setting up mailchimp now for the user onboarding functions.

The mailchimp API is erroring out on firebase due to
Error: getaddrinfo ENOTFOUND us15.api.mailchimp.com us15.api.mailchimp.com:443
    at Request._callback (/user_code/node_modules/mailchimp-api-v3/index.js:501:16)
    at self.callback (/user_code/node_modules/mailchimp-api-v3/node_modules/request/request.js:185:22)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at Request.onRequestError (/user_code/node_modules/mailchimp-api-v3/node_modules/request/request.js:877:8)
    at emitOne (events.js:96:13)
    at ClientRequest.emit (events.js:188:7)
    at TLSSocket.socketErrorListener (_http_client.js:310:9)
    at emitOne (events.js:96:13)
    at TLSSocket.emit (events.js:188:7)
    at connectErrorNT (net.js:1040:8)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickDomainCallback (internal/process/next_tick.js:128:9)

Configured the API key + the user list id in my personal firebase. I guess that's all that's needed. Will have to continue looking into this tomorrow.
Not sure if that's normal for this kind of error but the fact that's and address error
Error: getaddrinfo ENOTFOUND us15.api.mailchimp.com us15.api.mailchimp.com:443

And the api endpoint being in there twice makes the think that this shouldn't be..

Alright, seems like this is the issue:

Merging.


Bloodstained: Curse of the moon - Black screen with sound

When I open the game, I see a black screen. Pressing some random keys I start to listen the game's music.

Log files

d3d9.log

More info:

Lutris + Proton 4.2
d9vk-7a9e9fb6
Nvidia 1070
Ryzen 1700
GPU driver: 430.09

More info:
Even without d9vk the issue remains. So maybe this is not a d9vk issue. Needs confirmation.

Trace?

It's not related to d9vk, it's a missing dll (I installed d3dx9 from winetricks).
It works fine:

I still get the black screen after installing d3dx9 from winetricks. But thank you for your comment @NerosTie

Are you sure d3dx9 was installed in the right prefix? (with Steam, don't forget the "/pfx" at the end or try protontricks, it's easier). I played 1 hour, so it should works for you too.

I still get the black screen after installing d3dx9 from winetricks. But thank you for your comment @NerosTie

Did you ever solve this? I also installed d3dx9 from Protontricks, but still have the same issue.


Because cubes depends on mockito ^4.1.4 which doesn't match any versions, version solving failed.

when I execute "flutter pub get" for the example,  get an error:
Because cubes depends on mockito ^4.1.4 which doesn't match any versions, version solving failed.
flutter doctor:
Flutter (Channel stable, 1.22.4, on macOS 11.1 20C69 darwin-x64, locale
zh-Hans-CN)

Thanks for the issue. I'll be resolving in the next release

Try user version 0.10.7.

I can't reproduce this problem.
I will be closing the issue. Try to run the latest version, if you see the problem you can reopen the issue.


Doesn't explain how to receive the role in the token

Even though the title of the article says "How to: Add app roles in your application and receive them in the token", it isn't explained anywhere how to get the role in the token generated.

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

ID: 9939fc33-8762-3104-eae0-08250c508100
Version Independent ID: 9c6fa664-df37-40aa-f46e-9e59f79ae215
Content: Add app roles and get them from a token - Microsoft identity platform
Content Source: articles/active-directory/develop/howto-add-app-roles-in-azure-ad-apps.md
Service: active-directory
Sub-service: develop
GitHub Login: @kkrishna
Microsoft Alias: kkrishna

Thanks for the feedback and bringing this to our notice . At this time we are reviewing the feedback and will update the document as appropriate .

Any updates?

after taking these steps the tokes issued to users signing in will automatically start to show in the tokens issued to your app.
If you want to build an app from scratch and then see it for yourself, please use the following two links in the bottom of the doc

Add authorization using app roles & roles claims to an ASP.NET Core web app`

Using Security Groups and Application Roles in your apps (Video)

#please-close


Login - redirect from infosite to user site

after login on infosite redirect to user site

Choose an company ki jagah select  any company to continue

Login with auth code keeps user to infosite.

https://www.easycloudbooks.com/logout?lasturl=&fromurl=https%3A%2F%2Fuser.easycloudbooks.com%2Flogoutall%3Freturnurl%3Dhttps%253A%252F%252Fwww.easycloudbooks.com%252Flogout%253Flasturl%253D

Login to ECB
Log out from ECB
Will bring you here https://www.easycloudbooks.com/logout?lasturl=&fromurl=https%3A%2F%2Fuser.easycloudbooks.com%2Flogoutall%3Freturnurl%3Dhttps%253A%252F%252Fwww.easycloudbooks.com%252Flogout%253Flasturl%253D


Executable HTML files in consoles and console_libraries in prometheus_config_dir

The html files in /etc/prometheus/consoles and /etc/prometheus/console_libraries get copied with 755 (executable) permissions. They should have mod 0644 instead.
vagrant@ubuntu:~$ sudo ls -la  /etc/prometheus/consoles
total 44
drwxr-xr-x 2 root root       4096 Dec 26 12:45 .
drwxr-x--- 7 root prometheus 4096 Dec 26 12:45 ..
-rwxr-xr-x 1 root root        623 Dec 26 12:45 index.html.example
-rwxr-xr-x 1 root root       2675 Dec 26 12:45 node-cpu.html
-rwxr-xr-x 1 root root       3513 Dec 26 12:45 node-disk.html
-rwxr-xr-x 1 root root       1444 Dec 26 12:45 node.html
-rwxr-xr-x 1 root root       5794 Dec 26 12:45 node-overview.html
-rwxr-xr-x 1 root root       1332 Dec 26 12:45 prometheus.html
-rwxr-xr-x 1 root root       4128 Dec 26 12:45 prometheus-overview.html

I also think that the owner/group of these files should be prometheus instead of root. Would that be appropriate?

Those should have 0644 permissions. I don't see any reason why they should be owned by prometheus user.
This should be an easy fix as only this line needs to be modified: https://github.com/cloudalchemy/ansible-prometheus/blob/master/tasks/install.yml#L78 could you create a PR and test it?

Sure, I'll submit the PR tonight.


UI: Reword the setting panel warning

Description
This PR simply rewords the warning on the setting panel which was outdated
Old:

New:

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[x] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[x] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[x] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

@blueorangutan ui

@blueorangutan ui

@nvazquez a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/6020 (SL-JID-1165)


Style/Documentation: Missing top-level class documentation comment.

This forces every class to have comment documentation placed above the class name. I don't hate this rule I just made this an issue so it could be discussed.
#
# This class does some stuff.
class SomeClass

This one is simple: Enabled or Disabled.

I'm 50/50 on this. These are always tough with rails because things like controllers/models/etc are standard, but I'd definitely want things like concerns and classes in lib/ to be fully documented.


Search results panel does not show 2-bytes characters

Godot version:

3.1.dev 3fa2404a7
OS/device including version:

not related
Issue description:

Search results panel which is opened by Find in files does not show 2-bytes characters.

Steps to reproduce:
Empty.zip

download & open attached project
ctrl + shift + f
type asdf + enter
see Search result panel

Minimal reproduction project:

ItemList's fault.
Repro:

Create a new scene
Put an ItemList inside
Add an item to it with the following text: 汉语/漢語
Result:

@Zylann I'd done that exact same thing too to figure out what's wrong, but with dynamic font (.ttf)
and there isn't a problem with my test.
you tested with an embeded bitmap font I think.
I don't have a clue so far.

Seems like the wrong issue was closed by mistake.

This appears to have been solved as of commit https://github.com/godotengine/godot/commit/e9f49a6d5ac88a6afca8a16f91a05f4fcdf5a589 and in 3.1.1, presumably because the correct source font is now used for the search results:
master

3.1.1


No mention of support for distributed/load-balanced systems?

The only reason I've never seriously looked into using IHostedService for background tasks is because it's never been clear how it might work in load-balanced web-servers where you might have 4 or 5 machines all running the same service behind a load-balancer.  Could this be explained here?

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

ID: d49a03c0-a844-26eb-48a5-33a612dd3ead
Version Independent ID: 0707865f-9db7-0d71-42a5-bc1a1e89680a
Content: Implement background tasks in microservices with IHostedService and the BackgroundService class
Content Source: docs/architecture/microservices/multi-container-microservice-net-applications/background-tasks-with-ihostedservice.md
Product: dotnet-architecture
Technology: microservices
GitHub Login: @nishanil
Microsoft Alias: nanil

Hi @wizofaus, thank you for your feedback.
With the microservices architecture in place, you can implement the background task in a separate process/container to scale it up/down based on your need.  You don't need to have a load-balancer for the background services as it's not going to process any incoming request.  You can rely on pub/sub mechanism to coordinate among different service instances, in case if you want to scale your background tasks. To refer similar implementation, see the Ordering.BackgroundTasks in eShopOnContainers

Thanks for that, so I've looked at the eShopOnContainershttps://github.com/dotnet-architecture/eShopOnContainers sample, and frankly it's not clear to me how there's any load-balancing for GracePeriodManagerService, given it's basically just a polling loop that keeps checking the DB, and in fact the way it's written it's not load-balancer safe at all - assuming Azure had fired up multiple instances to run your web server, and hence there were multiple GracePeriodManagerService background tasks running, they'd all find the same orders and publish multiple events for them.  Which is exactly why I've been concerned about using BackgroundService.
[https://avatars.githubusercontent.com/u/27453006?s=400&v=4]https://github.com/dotnet-architecture/eShopOnContainers
dotnet-architecture/eShopOnContainers: Cross-platform .NET sample microservices and container based application that runs on Linux Windows and macOS. Powered by .NET 5, Docker Containers and Azure Kubernetes Services. Supports Visual Studio, VS for Mac and CLI based environments with Docker CLI, dotnet CLI, VS Code or any other code editor. - GitHubhttps://github.com/dotnet-architecture/eShopOnContainers
Dev branch contains the latest beta code and their images are tagged with :linux-dev in our Docker Hub. Getting Started. Make sure you have installed and configured docker in your environment. After that, you can run the below commands from the /src/ directory and get started with the eShopOnContainers immediately.
github.com

From: Sumit Ghosh @.>
Sent: Tuesday, 6 April 2021 5:13 PM
To: dotnet/docs @.>
Cc: wizofaus @.>; Mention @.>
Subject: Re: [dotnet/docs] No mention of support for distributed/load-balanced systems? (#23440)
Hi @wizofaushttps://github.com/wizofaus, thank you for your feedback.
With the microservices architecture in place, you can implement the background task in a separate process/container to scale it up/down based on your need. You don't need to have a load-balancer for the background services as it's not going to process any incoming request. You can rely on pub/sub mechanism to coordinate among different service instances, in case if you want to scale your background tasks. To refer similar implementation, see the Ordering.BackgroundTaskshttps://github.com/dotnet-architecture/eShopOnContainers/tree/dev/src/Services/Ordering/Ordering.BackgroundTasks in eShopOnContainershttps://github.com/dotnet-architecture/eShopOnContainers
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/dotnet/docs/issues/23440#issuecomment-813885210, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABI5UAKR6KDGRPTBH4XLTL3THKYDJANCNFSM4ZTZ5LXA.

@wizofaus @sughosneo this makes sense but could we add a small paragraph with an example how exactly this could be achieved? How do I configure my .NET Core App to only start the hosted background service and under other cirumcances the Controllers or other services?
With Docker this could be done via CMD or Entrypoint but how to make this play nicely together with our application?
These two points would have to be covered:

how to make the separation within my Startup.cs to either start a BackgroundJob-Container or OtherStuff (e.g. Controller)-Container
Example docker or kubernetes configuration file to run either of those

It would be awesome if you could point me out some resources here. As my first google attempts don't lead me to acceptable solutions.


UserWarning: invalid index of a 0-dim tensor.

A warning is shown when the nec_run.py is executed:

nec_agent.py:96: UserWarning: invalid index of a 0-dim tensor. This will be an error in PyTorch 0.5. Use tensor.item() to convert a 0-dim tensor to a Python number action = torch.cat(q_estimates).max(0)[1].data[0]

Fix this by replacing

action = torch.cat(q_estimates).max(0)[1].data[0]

with

action = torch.cat(q_estimates).max(0)[1].item()

See my comment in https://github.com/mjacar/pytorch-nec/issues/5. I don't currently have any plans  to keep this repo up to date with the most recent version of PyTorch, so if you want to do so, I would advise you to fork this.


Preventing other operations during an ongoing async op

The spec says:

For example, if a broker is in the process of provisioning an instance asynchronously, the marketplace can not allow any update, bind, unbind, or deprovision requests to be made through the platform. A user who attempts to perform one of these actions while an operation is already in progress MUST receive an HTTP 400 response with the error message: Another operation for this service instance is in progress.

The second sentence is probably trying to say the broker must return 400? (The first sentence talks about the platform preventing users from doing this, so it's not clear whether the second sentence is talking about the platform returning 400 or the broker.)
Also, "a user MUST receive" is kinda weird in itself.

I agree, and this kind of ties in with #193. I don't think we should be stating that platforms MUST do anything, only what they SHOULD do in different circumstances.
Brokers MUST return XXX in various situations is definitely a better way of stating this.

I believe this has now been fixed in the spec (see PR). Closing.


the final keyword is redundant on private methods.

So far, this change does not seem to impact performance:

the conversant disruptor benchmark test results are the same, with and without the final keyword
the generated byte code for one class, PushPullBlockingQueue, is nearly the same, with and without the final keyword

That's not proof and I have not yet dipped below the surface of the more critical parts of the project.

Thanks! I merged your change.


asbplayer integration

Add integration for asbplayer that parses asbplayer subtitle DOM when asbplayer has the "pre-cache subtitle DOM" setting enabled.
Fix popups not displaying on top of fullscreen video sometimes. This is needed for e.g. Crunchyroll where the popup is hidden by fullscreen video if it's placed inside of document.body. A best-effort fix for https://github.com/max-kamps/jpd-breader/issues/59 .
Allow parse requests for text greater than the max parse limit via batching. This enables subtitle files with lots of text to be parsed entirely.

It looks like the author of this project has stopped working. Can you please publish a release file of your own?


Base table or view not found

Version information

Laravel: v5.7
Voyager: v1.1
PHP: 7.2
Database: [type] [version] (e.g. MySQL 8.0)

Description
after creating BREAD it's looking for table using "Display Name (Plural)"
url: admin/test
table: test
error:
Steps To Reproduce
Steps to reproduce the behavior:

Go to ' Add BREAD to this table'
Click on 'Submit'
See error

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'larav_l.tests' doesn't exist (SQL: select * from tests order by created_at desc)
Screenshots

It's a new install of voyager

Thats an Eloquent Model Convention and is unrelated to Voyager.

you may have named your table singular(ie test) as a result when you hit browse bread option voyager end up looking for tests table which doesn't exist ... check your database once ...


Assembly Definition json files in Unity 2019.x.x breaks the building of the demos

Describe the bug
Running Playmode Tests in a test build doesn't work. It results in a compiling error, and the project gets corrupted. You have to reimport all to get the project right again
To Reproduce
Checkout the Extenject Project at commit cb40f53d3e1e99a022968bed7e9f4152cc52080a and Open with the Unity Version 2019.1.0f2 (I have tried with 2019.3.6f1 and the result is the same)
Click in Run All In Player

See the console

Expected behavior
A test build is created and all the playmode test passes
Screenshots
If applicable, add screenshots to help explain your problem.
Extenject and Unity info (please complete the following information):

Zenject version:9.1.0
Unity version:2019.1.0f2
Project's scripting backend [e.g. Mono/IL2CPP] Mono

Additional context
Add any other context about the problem here.

Yes, confirmed!
Unity changed the assembly definitions in 2019.1.0. And in newer updates some more.
Referencing the Zenject.dll is now mandatory with the references keyword.  Or by simply adding the dll in the inspector of the current .asmdef.
Same goes for the supplied tests.
This should and must be addressed properly. I don't know if the demos lose backwards compatibility with Unity 2018.LTS.
Thank you for notifying!

Fixed

Hello,
I have tested the last commit (c2e33500a84f9408a809deca2af2c55494ab2482), and it has the same problem still.
May I missing something?
Thank you

Unity changed the use of assembly definitions in 2019.1.
And in 2019.3 they decided to do some more changes.
I have updated Extenject for the unity 2019.1 on the Unity2019.1.0 branch.
And for Unity 2019.3++ you can use the master branch.
Unity 2019.2 has not been tested.

Yes, I understand, but it still doesn't work for me, maybe there is something that needs to be manually updated
I am using
Unity 2019.3.0f6
Master branch, last commit c2e33500a84f9408a809deca2af2c55494ab2482
The Extenject own project (not mine)
I have reimported all, just in case
Clicking Running all in player doesn't work for me.
See the gif below

Thank you

For probing reasons...
Could you remove Assets/SampleBuilder directory?
And see what happens?

Yes, sure.
Checking out release candidate branch,
Edit Mode tests: all passes
Play Mode tests: all passes
Run all in player (StandaloneWindows64): Player build failed
Same behaviour

I'm (still) experiencing the same issue in Unity 2019.4.16f; Extenject itself can be found just fine, but the classes from the TestFramework optional extras, such as ZenjectIntegrationTestFixture, cannot be found no matter what I try.
My assemby definition correctly references Zenject-TestFramework in the references section, which is the assembly definition shipped with the files in Library\PackageCache\com.svermeulen.extenject@VERSION\OptionalExtras\TestFramework, but these classes are still not being found.
I was able to work around the issue for now by copying the optional extras into my tests folder for now, in case that helps anyone.


Correction for raw affiliation Clinical Investigation Center, INSERM 1414, CHU Rennes, Univ Rennes

Correction needed for raw affiliation Clinical Investigation Center, INSERM 1414, CHU Rennes, Univ Rennes
raw_affiliation_name: Clinical Investigation Center, INSERM 1414, CHU Rennes, Univ Rennes
new_rors: 02vjkv261;015m7wh34;05qec5a53;02baj6743
previous_rors: 02vjkv261;015m7wh34;05qec5a53
works_examples: W4389344531
contact: 5128d8590715e9ab008c75c4de312845:39875590d9d18c685831332c0957caaf @ univ-rennes.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


lineStyle attribute in series could not set with function

Version
last
Link to Minimal Reproduction
No response
Steps to Reproduce
series: [{
type: "lines",
symbol: "none",
lineStyle: {
color: function (params: any) {
return "blue";
}
},
data: data
}]
Current Behavior
Error: Type '(params: any) => string' is not assignable to type 'ZRColor | undefined'.
Expected Behavior
With no error.
Environment
- OS:windows 11
- Browser: edge last version
- Framework: react 18

Any additional comments?
Just could not compile.

It seems the generic type <CallbackDataParams> is missing in LinesStateOption. You are welcome to open a PR to fix this issue.


Moving creating the comment reply focus gained and lost animator to t…

…he CommentReplyViewHolder

Sounds like a plan.


make game wait until 2 players to allow moves

have something cover the screen and say matching...   until game has two people.


Multiple command options with "v"

When i run
coverlet /path/to/test-assembly.dll --target "dotnet" --targetargs "test /path/to/test-project --no-build" -v normal
console gives output

Multiple options with name "v" found. This is usually due to nested options.

checked the doc, "v" is assigned for version as well as verbosity

Should work with --verbosity normal , right?

any news?

Close for stale conversation.
Feel free to re-open if needed.