FR: Check healthyness

In case the feed of grid power information stops (e.g.: Wifi trouble, whatever), the ESS would either increase battery charging / discharging to the maximum, unless the seldom case would happen that the last grid power was "perfect".
Thinking about the best solution, the monitoring of the feed should happen on the venus/GX device itself. IMHO, the best would be a timer, a boolean and 2 commands:

"after_x_seconds_no_data_feed_set_cmd_1" (e.g.: Turn ESS off)
"when_feed_is_present_again_set_cmd_2" (e.g., Turn ESS on)
The alternative would be an external monitoring script on the GX/venus.

You cannot turn on/off the ESS as far as I know. Maybe you meant the MultiPlus or Quattro?
This can easily archived with Node-RED that is in the Venus OS Large image. Here an example that turns off the MultiPlus, if not receiving data for 60 seconds. But I would recommend to fix the connectivity problems.

[
    {
        "id": "94e680ff8884460b",
        "type": "victron-input-gridmeter",
        "z": "202a089e4ad5eef4",
        "service": "com.victronenergy.grid/31",
        "path": "/Ac/L1/Power",
        "serviceObj": {
            "service": "com.victronenergy.grid/31",
            "name": "MQTT Grid"
        },
        "pathObj": {
            "path": "/Ac/L1/Power",
            "type": "float",
            "name": "L1 Power (W)"
        },
        "name": "",
        "onlyChanges": false,
        "x": 150,
        "y": 860,
        "wires": [
            [
                "72a48ef4f99d636e"
            ]
        ]
    },
    {
        "id": "72a48ef4f99d636e",
        "type": "trigger",
        "z": "202a089e4ad5eef4",
        "name": "",
        "op1": "3",
        "op2": "4",
        "op1type": "num",
        "op2type": "num",
        "duration": "60",
        "extend": true,
        "overrideDelay": false,
        "units": "s",
        "reset": "",
        "bytopic": "all",
        "topic": "topic",
        "outputs": 1,
        "x": 390,
        "y": 860,
        "wires": [
            [
                "f680444645e78ba9"
            ]
        ]
    },
    {
        "id": "f680444645e78ba9",
        "type": "victron-output-vebus",
        "z": "202a089e4ad5eef4",
        "service": "com.victronenergy.vebus/275",
        "path": "/Mode",
        "serviceObj": {
            "service": "com.victronenergy.vebus/275",
            "name": "MultiPlus-II 48/5000/70-50"
        },
        "pathObj": {
            "path": "/Mode",
            "type": "enum",
            "name": "Switch Position",
            "remarks": "
Note that <tt>/ModeIsAdjustable</tt> needs to be set to 1.
 ",
            "enum": {
                "1": "Charger Only",
                "2": "Inverter Only",
                "3": "On",
                "4": "Off"
            },
            "writable": true
        },
        "initial": "",
        "name": "",
        "onlyChanges": false,
        "x": 720,
        "y": 860,
        "wires": []
    }
]

Yes, I have a MultiPlus II and a (real) Cerbo GX. What I would like to do is exactly what you propose: Setting Mode to 4 ("off") in case of "feed failure". Yes, a solution with an external SW component like NodeRed (me running FHEM historically) is possible, but the most bullet-proof solution would be IMHO directly on the Cerbo GX.

This solution is bulletproof. With Venus OS Large you have Node-RED directly on the Cerbo GX.

Got it, thank you. I did not know about Venus OS Large.


nodejs-express: Shut down Kafka clients when HTTP server is closed

This PR illustrates how to avoid a hang when running the stack tests where the application makes connections to external services.
Checklist:

[x] Read the Code of Conduct and Contributing Guidelines.

[x] Followed the commit message guidelines.

[x] Stack adheres to Appsody stack structure.

Modifying an existing stack:

[x] Updated the stack version in stack.yaml

I have added a callback on the HTTP server close event, to disconnect the Kafka producer and consumer.  This allows the process to terminate normally.
Related Issues:

Resolves #831

@gireeshpunathil Do you think this can be merged?

@gireeshpunathil Do you think this can be merged?

Yes. @neeraj-laad - for your review
(Ironically, I am a maintainer of the stack, but not a maintainer of this repo)

@gireeshpunathil - Usually we wait to see an approval from the stack maintainer before looking.
@djones6 - Please could you bump the stack version in the stack.yaml and then we can get this merged. Thanks!

@gireeshpunathil - Usually we wait to see an approval from the stack maintainer before looking.

can you pls document this? It is neither evident here, nor an established practice in OSS

@gireeshpunathil I've added you as a stack maintainers group.
Also the review for maintainers is documents in our contribution process.

@djones6 please can you bump the stack version so we can merge this?


fix eval

Type:

[x ] Bugfix
[ ] Enhancement
[ ] New feature

Description of the changes:

idk wtf is wrong with github

👌


Return None if user does not exists when looking for users

getpwuid_r and getpwnam_r does return ENOENT if a user does not exists. This might lead to the unexpected case where the outer Result may fail even if only the user does not exists.
This commit changes this behavior to return a successful Result but with an empty Option. It unifies the behavior with older systems.

Nevermind, apparently a nss module caused the ENOENT, which shouldn't be passed via the api calls in question. After fixing the nss module everything works now as expected. ENOENT shouldn't be an error, which is raised by the used API call.


fix: RZ10012 / VS suggestion error for old package (Microsoft.Fast.Components.FluentUI) in new version 4.2.1 NET8

🐛 Bug Report
When using FluentUI v4.2.1 (NET8), Visual Studio 2022 shows RZ10012 error on FluentUI components and suggests adding a new @using Microsoft.Fast.Components.FluentUI, which is the previous namespace.
Tried deleting VS cache files, Roslyn cache, etc. but the issue is still there.
Project is running OK but no chance to code in razor files as Intellisense is broken.
💻 Repro or Code Sample

🤔 Expected Behavior
It should behave like previous version and Intellisense should work as always.
😯 Current Behavior
Intellisense is broken

💁 Possible Solution

🔦 Context
Upgraded project from FluentUI v3.5.0 to v4.2.0
Changed @using Microsoft.Fast.Components.FluentUI to @using Microsoft.FluentUI.AspNetCore.Components
🌍 Your Environment

OS & Device: Windows 11 on PC
Visual Studio 2022 v17.8.3
.NET and FAST Version: NET 8 FluentUI v4.2.1

Could you try to clean your cached files?

Close Visual Studio
Delete bin and obj folder
Remove the folder C:\Users\<user>\.nuget\packages\microsoft.fast.components.fluentui
Restart Visual Studio and rebuild you project

Removed C:\Users<user>.nuget\packages\microsoft.fast.components.fluentui and C:\Users<user>.nuget\packages\microsoft.fast.components.fluentui.icons folders.

Deleted bin and obj folders from client AND server projects

Now it's working as expected. Please add to Upgrade Guide (https://www.fluentui-blazor.net/UpgradeGuide).
Thanks.

Docs updated. See https://preview.fluentui-blazor.net/UpgradeGuide#upgrading-your-vs-solution-from-v3-to-v4
Will be deployed to regular site soon.


ci: initial test binary

New idea, maybe we should run a version of https://github.com/prefix-dev/setup-pixi which can run a binary and then just run a few project using that.


[suggestion] add transformer name / embedding names in the model name

I'm thinking that could be useful to have an additional information in the model name, such as the transformer name or the embeddings name. We could implement a sort of name compression (e.g. removing the slashes in the huggingface names to make it more readable).
The motivation would be to allow to cohesist of models trained with different transformers/embeddings
What do you think?

It was my first idea, I added very early the embeddings name in the model name, then removed it.
The problem is that we can have several embeddings, and in the future several transformers in the same architecture. They all can be combined so it will be unreadable and it will be hard to have canonical names with so many pieces.
Daniel also raised the point that there was too much "magic" in the way the path to a model was solved (using its name) and we should avoid using the name to "guess" attributes of the model - which is a very good point, and there are still a few places where the name is used (I try to remove it).
On the other hand, the library supports arbitrary name, there is only managed in the applications/ part, so it does not prevent a user of the library to change that.

I see. We can drop this then, one user can specify the name and use it's own convention. We can assume that suffixing the architecture would be the only "trick" that is done to the name

Suffixing the architecture name in the convention is the delft/applications/ usage of the core library, but the idea in this core library should be to have 0 trick I think, no more magic.


Add timeout to test_build_meta

As discussed in #3087, test_build_meta seems to be flaky specially for the combination of Windows + PyPy.
This is a proposed workaround for such scenarios.
Summary of changes

Added a timeout for the process pool executor
Added a env var to control the timeout (useful for contributors with slower machines or network)

Closes
Pull Request Checklist

[ ] Changes have tests
[ ] News fragment added in changelog.d/.
(See documentation for details)

There are still some hickups (in other tests maybe), but I think this commit might help.
Maybe next step would be adding a timeout to the workflow itself.

FYI, auto-merge doesn't work, but it's still nice to know it's ready for merge.


Edited summary

Added the description for this class.

Docs Build status updates of commit cb39fb6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint-server/xml/Microsoft.SharePoint.Administration/SPApp.xml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@LuigiBruno Hi, thanks for making these changes to the descriptions in the SharePoint reference! We appreciate you taking the time to make the improvement. Two things for next time:

Please make all your changes in one branch and then create one single PR for all the files you edited. You can use Squash & merge.
Create your PR to merge to MASTER not LIVE. Then I can review and merge to live when ready.
If you have any questions, please let me know.


-transparent not working with stackedplot

Hi,
It seems that -transparent isn't working properly when the figure is created with "stackedplot"

I cannot reproduce the error in a recent Matlab release. Perhaps you did not set your figure's Color property to 'none'.
Please reopen this issue with a sample code snippet that shows the problem if the problem still remains.


(fix) Minor maven build-number plugin fix

I had to do make a simple change

Add PluginManagement tag to enclose the plugins except the maven-bundle-plugin in pom.xml

This closes #1356
__ Please review and provide your feedback __

This change seems to prevent the build number plugin from actually running (see the test failures) so I don't think it can be merged

Yes you are right. Thank you!

I'm closing it out. I will see, if i can fix it without disabling the buildnumber plugin. Thanks


Backup API call results in 404 error

https://github.com/spethso/Drinklist/blob/33b49acbfe635d91b6c02db01ed6ef1ae19ecb91/src/adminPage/app/controllers/main.js#L65
$scope.api ends with a slash, and the backend doesn't like the resulting double-slash. Maybe this should be ./backup?

Fixed by: https://github.com/spethso/Drinklist/commit/50eabbfb10aa0a5d262faede160ed080af449a89


Use a more clever formula for available_mem

We might want to use a different combination of values from vm_info64, I chose this because that's what Stats uses but I'm not too inclined to it or against it.
@staticfloat
Fixes https://github.com/JuliaLang/julia/issues/48473

In case anyone needs to calculate this in Julia, here's a hacked up snippet:
mutable struct VmStatistics64
	free_count::UInt32
	active_count::UInt32
	inactive_count::UInt32
	wire_count::UInt32
	zero_fill_count::UInt64
	reactivations::UInt64
	pageins::UInt64
	pageouts::UInt64
	faults::UInt64
	cow_faults::UInt64
	lookups::UInt64
	hits::UInt64
	purges::UInt64
	purgeable_count::UInt32

	speculative_count::UInt32

	decompressions::UInt64
	compressions::UInt64
	swapins::UInt64
	swapouts::UInt64
	compressor_page_count::UInt32
	throttled_count::UInt32
	external_page_count::UInt32
	internal_page_count::UInt32
	total_uncompressed_pages_in_compressor::UInt64

	VmStatistics64() = new(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
end

vms = VmStatistics64()

mach_host_self = @ccall mach_host_self()::UInt32

count = UInt32(sizeof(vms) / sizeof(Int32))
ref_count = Ref(count)

@ccall host_statistics64(mach_host_self::UInt32, 4::Int64, pointer_from_objref(vms)::Ptr{Int64}, ref_count::Ref{UInt32})::Int64

# @show vms
# # values should correspond to:
# @info read(`vm_stat`, String)

page_size = Int(@ccall sysconf(29::UInt32)::UInt32)

used = vms.active_count + vms.inactive_count + vms.compressor_page_count +vms.speculative_count + vms.wire_count
not_used = vms.purgeable_count + vms.external_page_count
available = Sys.total_memory() - (used - not_used) * page_size
@show available / 2^20


Half float textures

This was a bit of a beast to figure out, but I feel mostly confident it works.
The crux of the issue came down to WebGL 1 vs WebGL2 behavior. If in a WebGL1 rendering context, then loading these extensions (I corrected the half-float one) is a reasonable way to check for support, since Safari/WebKit returns null for OES_texture_float_linear on iOS and iPadOS. However, in WebGL2, many of these extensions were baselined into the standard. This means getExtension returns null, and all extension checks are only valid in the case of WebGL 1. Unfortunately, safari lies to the API and says it supports float textures, so the only way I knew how to fix it was to do an OS check. This OS check also works in the case a client has "request desktop website" enabled, so that it gracefully fails as intended.

I'll also add that I have tested this in production for both Float32 and Float16, with WebGL 1 and 2, and on the following systems: Linux Desktop, MacBook, iPhone, iPad


Enhanced Docstrings and Examples in /ops/function.py, /ops/math.py and /ops/nn.py.

Main Changes:

Improved docstrings and added examples for segment_sum, segment_max, and rsqrt functions in keras_core/ops/math.py.
Added docstring for network_nodes in keras_core/ops/function.py
Enhanced the docstring for multi_hot function in keras_core/ops/nn.py.

My target to add very easy to understand examples.

Thank you for your patience, I'm starting to understand GitHub slowly :)

I will be more than happy to write, enhance, and check all the docstrings. Additionally, I'll add examples that are easy to understand and compatible with all backends. Please let me know if that sounds good. @fchollet

My next step will be to check all the functions docstring and then discuss with you a standard way to write them even the order including examples and reference and so on

Great now I am using black python library and this website https://black.vercel.app/ for formatting.


Allow projects to be imported as asset packs

This PR adds a field to pxt.json that allows you to turn a project into an asset pack.
When the field is set, we do the following things:

Remove all files except for *.jres
Remap all of the asset ids to be under a new namespace
Add a gallery.ts file that declares variables for all of the assets, allowing you to reference them in TS as well

The namespace we generate is based on the key for this dependency in the project pxt.json. When referencing a package in a tutorial it is very important that you make the id in the  ```packages block match the id field in the pxt.json of the package to avoid weird bugs.
For example, if the imported project is named "my asset pack", then the namespace for referencing the assets will be "my_asset_pack".

I am unreasonably excited for this.

One more question. I have a 160px x 360px background in Galaxy. How would I tag this as a background in the new system so that it shows up in the correct gallery?  If I add tags to my jres, will it honor them?


Consider improving naming convention for core-modules

Found a way to improve naming conventions using "import as", but also found a bug that needs to be fixed first, and it is not trivial. See #554 and #555.


Add more defaults

Change-type: minor
Signed-off-by: Josh Bowling<EMAIL_ADDRESS>
Add in a lot of default values to fallback to so we can remove them from downstream repos. This will allow us to remove values used for development/testing from files such as the Makefile, docker-compose.yml, docker-compose.test.yml, docker-compose.tpl.yml, and local.env in the main repo.

@balena-ci I self certify!


Specify copyright and license for the source code

See the profiles-app for how to do this in two files:

[ ] README.md
[ ] LICENSE

Fixed by Pull Request #15.


Update manifests/d/dnGrep/dnGrep/2.9.326.0/dnGrep.dnGrep.locale.en-US.yaml

Fixes an issue where this package has multiple different monikers
Microsoft Reviewers: Open in CodeFlow

[Policy] Reset Labels

[Policy] Reset Labels


pip-compile 1.4.4 fails with pip 8.0.0

pip-tools==1.4.4
pip==8.0.0
setuptools==19.4
Python 3.4.4
Mac OS X 10.11.3
$ pip-compile requirements/base.in
Traceback (most recent call last):
  File "/python3.4/bin/pip-compile", line 11, in <module>
    sys.exit(cli())
  File "/python3.4/lib/python3.4/site-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/python3.4/lib/python3.4/site-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/python3.4/lib/python3.4/site-packages/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/python3.4/lib/python3.4/site-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "/python3.4/lib/python3.4/site-packages/piptools/scripts/compile.py", line 141, in cli
    results = resolver.resolve()
  File "/python3.4/lib/python3.4/site-packages/piptools/resolver.py", line 78, in resolve
    has_changed, best_matches = self._resolve_one_round()
  File "/python3.4/lib/python3.4/site-packages/piptools/resolver.py", line 154, in _resolve_one_round
    best_matches = set(self.get_best_match(ireq) for ireq in constraints)
  File "/python3.4/lib/python3.4/site-packages/piptools/resolver.py", line 154, in <genexpr>
    best_matches = set(self.get_best_match(ireq) for ireq in constraints)
  File "/python3.4/lib/python3.4/site-packages/piptools/resolver.py", line 201, in get_best_match
    best_match = self.repository.find_best_match(ireq, prereleases=self.prereleases)
  File "/python3.4/lib/python3.4/site-packages/piptools/repositories/pypi.py", line 94, in find_best_match
    all_candidates = self.find_all_versions(ireq.name)
  File "/python3.4/lib/python3.4/site-packages/piptools/repositories/pypi.py", line 83, in find_all_versions
    self._available_versions_cache[req_name] = self.finder._find_all_versions(req_name)
AttributeError: 'PackageFinder' object has no attribute '_find_all_versions'

When I downgrade to pip==1.7.2, everything works normally.

"Fixed" in 1.4.5. For now, you'll have to use pip 7. I'll look into what the upgrade to 8.0 meant for the internals, and try to fix things so pip-tools works with 8.0+ later.

Thanks for the "fix", it's working ;-)
pip-compile currently does not work with pip version 8.0+ yet (8.0.0 found),
Maybe you want to remove the last 2 characters of the format string? ,
I hope you can adapt to the new pip internals soon.

new version of pip just came out (8.0.1) that fix that message

I've just released pip-tools==1.5, adding support for pip>=8. Have fun :)

Thanks V :D

:+1: thank you


Update faq-md-app-guard.md

Updated with Known issues and mitigation

@sazankha, can you take a look at my edits and let me know if there are any additional updates needed here?

@Dansimp, looks good to me.


[SUPPORT] Partition column not appearing in spark dataframe

Tips before filing an issue

Have you gone through our FAQs? Yes

Join the mailing list to engage in conversations and get faster support at<EMAIL_ADDRESS>

If you have triaged this as a bug, then file an issue directly.

Describe the problem you faced
I have a dataset that has a schema that looks like
{
 "created_at": "2022-01-30T00:24:14Z",
 "city_id": "1",
 "__source_ts_ms": 123456789
 "other columns"....
}

This is created by Debezium CDC with NewRecordStateExtract Transform. I ran the Deltastreamer in continuous mode with CustomKeyGenerator. I could see the parquet files created with partitions specified.
I tried to read the dataset by the following
spark.read.format("org.apache.hudi").load("s3path")

gives me
id     | created_at                       | city_id | _hoodie_partition_path.   |  _hoodie_record_key
123  | 2022-01-30T00:24:14Z | 1          | created_at=2021-10-30   |    123

What I expected
id    | created_at                       | city_id | _hoodie_partition_path                  | _hoodie_record_key | created_at
123 | 2022-01-30T00:24:14Z | 1          | created_at=2021-10-30/city_id=1 | 123                              | 2021-10-30

Maybe not the same created_at but something like _created_at
spark
   .read
   .option("basepath", "s3://path")
   .parquet("s3://path/created_at=2022-01*/")

and
spark
   .read
   .option("basepath", "s3://path")
   .parquet("s3://path/created_at=2022-01*/city_id=1/")

gives me
id  | created_at    | city_id |  _hoodie_partition_path                     |  _hoodie_record_key
1   | 2022-01-30  | 1          |  created_at=2022-01-30/hub_id=5   |  1

Notice now there is no timestamp data in created_at
My questions are as follows:

Is there a way to get both partition and actual column in the dataframe? In this case, I'd like to get the date value and timestamp value in two columns.
Or rename the partition column in hudi? My partition looks like created_at=yyyy-MM-dd/city_id=1/  Something like dt=yyyy-MM-dd/city_id=1/
If this is an expected behaviour, how do I apply filtering with just dates on created_at?

To Reproduce
Steps to reproduce the behavior:

Create a mysql table with the following DDL

CREATE TABLE `orders` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `city_id` varchar(5) COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci

Create a debezium connector with the following configuration

{
	"connector.class": "io.debezium.connector.mysql.MySqlConnector",
	"transforms.unwrap.delete.handling.mode": "rewrite",
	"tasks.max": "1",
	"database.history.kafka.topic": "hudi-history",
	"transforms": "unwrap",
	"tombstones.on.delete": "false",
	"snapshot.new.tables": "parallel",
	"database.history.skip.unparseable.ddl": "true",
	"transforms.unwrap.type": "io.debezium.transforms.ExtractNewRecordState",
	"value.converter": "io.confluent.connect.avro.AvroConverter",
	"key.converter": "io.confluent.connect.avro.AvroConverter",
	"database.user": "username",
	"database.history.kafka.bootstrap.servers": "kafkabrokerhost:port",
	"database.server.name": "hudi-dev",
	"heartbeat.interval.ms": "30000",
	"database.port": "3306",
	"key.converter.schemas.enable": "true",
	"value.converter.schema.registry.url": "schemaregistryhost:port",
	"database.hostname": "dbhostnameOrIP",
	"database.password": "password",
	"value.converter.schemas.enable": "true",
	"name": "hudi-dev2",
	"transforms.unwrap.add.fields": "op,db,table,source.ts_ms,ts_ms",
	"table.include.list": "mydb.orders",
	"key.converter.schema.registry.url": "schemaregistryhost:port",
	"snapshot.mode": "initial"
}

Run hudi delta streamer with the above configurations
Read the dataset with the above methods suggested

Expected behavior
A clear and concise description of what you expected to happen.
I expected the partition columns to be present inside the dataframe as well so that I can apply filtering.
Environment Description

Hudi version : 0.7.0-amzn-0

Spark version : 3.1.1-amzn-0.1

Hive version : 3.1.2-amzn-4

Hadoop version : 3.2.1

Storage (HDFS/S3/GCS..) : s3

Running on Docker? (yes/no) : no

Additional context
Add any other context about the problem here.
Stacktrace
Add the stacktrace of the error.

I could not reproduce the partitioning issue you are facing.
local spark shell

import java.sql.Timestamp
import spark.implicits._

import org.apache.hudi.QuickstartUtils._
import scala.collection.JavaConversions._
import org.apache.spark.sql.SaveMode._
import org.apache.hudi.DataSourceReadOptions._
import org.apache.hudi.DataSourceWriteOptions._
import org.apache.hudi.config.HoodieWriteConfig._

val df1 = Seq(
        ("row1", 1, "part1" ,1578283932000L ),
        ("row2", 1, "part1",<PHONE_NUMBER>000L)
      ).toDF("row", "ppath", "preComb","eventTime")

 df1.write.format("hudi").
        options(getQuickstartWriteConfigs).
        option(PRECOMBINE_FIELD_OPT_KEY, "preComb").
        option(RECORDKEY_FIELD_OPT_KEY, "row").
        option(PARTITIONPATH_FIELD_OPT_KEY, "preComb:simple,ppath:timestamp").
        option("hoodie.datasource.write.keygenerator.class","org.apache.hudi.keygen.CustomKeyGenerator").
        option("hoodie.deltastreamer.keygen.timebased.timestamp.type","EPOCHMILLISECONDS").
        option("hoodie.deltastreamer.keygen.timebased.output.dateformat","yyyy-MM-dd").
        option("hoodie.deltastreamer.keygen.timebased.timezone","GMT+8:00").
        option(TABLE_NAME, "timestamp_tbl4").
        mode(Overwrite).
        save("/tmp/hudi_timestamp_tbl4")

val hudiDF4 = spark.read.format("hudi").load("/tmp/hudi_timestamp_tbl4")
hudiDF4.registerTempTable("tbl4")
spark.sql("describe tbl4").show()
spark.sql("select * from tbl4 limit 3").show()

Output
spark.sql("select * from tbl4 limit 3").show()
+-------------------+--------------------+------------------+----------------------+--------------------+----+-------------+-------+-----+
|_hoodie_commit_time|_hoodie_commit_seqno|_hoodie_record_key|_hoodie_partition_path|   _hoodie_file_name| row|    eventTime|preComb|ppath|
+-------------------+--------------------+------------------+----------------------+--------------------+----+-------------+-------+-----+
|<PHONE_NUMBER>2107283|20220211102107283...|              row1|      part1/1970-01-01|dfc23d4b-8177-4fa...|row1|1578283932000|  part1|    0|
|<PHONE_NUMBER>2107283|20220211102107283...|              row2|      part1/1970-01-01|dfc23d4b-8177-4fa...|row2|1578283942000|  part1|    0|
+-------------------+--------------------+------------------+----------------------+--------------------+----+-------------+-------+-----+

specifically values for _hoodie_partition_path are
part1/1970-01-01
2: if you disable hive style partitioning, you may not see the "fieldname=". But if you want to enable it, don't think hudi allows changing the fieldname for partition paths.
3: I am not sure on how to leverage partition pruning for custom key gen based tables. @xushiyan @YannByron @bhasudha : do you folks have any pointers here.

@nsivabalan nsivabalan. In your example, why is the column ppath = 0 in the output when it was originally 1 when the DataFrame was created?

@yesemsanthoshkumar Did you get a chance to test with the given patch above?

@yesemsanthoshkumar : gentle ping.

@nsivabalan and @codope I haven't tested it on 0.11. I'll close this issue for now and can be reopened when I or anyone encounter this again. Thanks


Update blocked.go

The US treasury dept added tornado cash addresses to the OFAC list.  I'm also going to automate the process of generating blocked.go so that we can check against it in CI, and I hope to be finished with that today.

wdym by checking the addresses in the CI?

Was going to leave that to a separate PR, but basically, we've got a URL where we have a line by line list of strings.
Can make a ci job that fails if the list is not up to date, probably some simple bash.

Agree on all fronts + cry-emoji 😢

i say delete this file instead.

@tacolopo make the PR, then you'll have implemented the no / no with veto option.

Hey! Lets punt these PRs until after governance decisions.


The client account has full control over the server!

Hello UpCloud!
I am testing the packages, currently have a problem that I cannot control. Features such as:

Backups Management
Network Management
Firewall Management

When customers buy Cloud packages, and are immediately provided with features such as backup, adding IP4, turning on Firewall (although not paying for these addons) https://ibb.co/gRJZqZ8
I cannot disable these features from a client account.
And how to create addons by asking customers to pay. I tried creating a cloud, and when I left out the option to add addons, but the guest account can still use it.
Help me!

Hello, you can deactivate it with a hook.
if(!is_null($primarySidebar->getChild('ManageVM'))){              $primarySidebar->getChild('ManageVM')                    ->removeChild('snapshotsManagement')                    ->removeChild('networkManagement')                    ->removeChild('firewallManagement');  }
In the case of network management, it may be important to leave it so that they can edit the rDNS but you can modify the view to remove the add new ip buttons.

Hey, we are grouping similar issues into single feature requests. This continues in https://github.com/UpCloudLtd/upcloud-whmcs-module/issues/59. Thanks!


[WIP] Decorator improvements

I'm opening this PR to implement some changes prompted by https://github.com/JuliaNLSolvers/Manifolds.jl/pull/114 .
The first part is making depth argument of base_manifold a Val to make base_manifold type stable.

We can also put the macro already here and decorate most basic functions. I can develop the PR on Manifolds also with this PR checked out for Base then.

OK, I'll commit my changes in a moment and you can continue then. I'll put the macro here.

Since you just mentioned that in the commit: Can we do default values? I haven't checked what happens currently for the default values from exp for example.

I can add support for default values, yes. I didn't do that yet because it's a bit complicated and no functions from Decorator.jl required it.

It would be nice, as said, for exp. Further

is_transparent_function
default_decorator
_acts_transparently

need to be ported
and we could call val_is_transparent_function just val_transparency?
And, since your porting, the error message function could be put here an used.

OK, I'll port it tomorrow and add support for default argument values. I have to prepare a few lectures now.

After test coverage (and checking documentation again) I think this is ready to merge. In other words: It's feature complete.

I've slightly improved the test coverage and made some minor edits. I think the design is nice but we still need better coverage.

I think it's worth adding ManifoldsBase. in macros for calls to internal ManifoldsBase functions to not pollute the global namespace in other packages (I did it in a recent commit).

I increased the cases for injectivity_radius.

I've added a few more tests but I'm having a bit of trouble understanding the correct usage of @decorator_transparent_fallback. It seems like it's used in Manifolds.jl for a few random functions and I don't see a clear pattern there. Some of its options aren't even used as far as I can see.

The idea of the fallback is to introduce an implementation on an abstract level and for a specific case. For example if
function exp!(MyAbstractInBetweenDecorator, q, p, X)

should be interoduced as a new default for : intransparent you can just
@decoratr_transparent_fallback :intransparent function exp!(MyAbstractInBetweenDecorator, q, p, X)

I think this is necessary for abstract classes, when you want to overwrite either :intransparent or :parent cases. I had hoped the docs where specific enough, sorry.

Oh and I just noticed, the fallback does not work for inline functions (yet) as does the function definition macro. I think one has to tweak the body for that, so I for now removed it from function – we should remove it from fallback, too.

I think I'm finished for now tweaking this PR. I'll think if the docs for these three macros could be improved though.

Oh and I just noticed, the fallback does not work for inline functions (yet) as does the function definition macro. I think one has to tweak the body for that, so I for now removed it from function – we should remove it from fallback, too.

It's possible that it'd be enough to @macroexpand the expression with function to support @inline. The @inline macro just injects an expression into function body.

Well but currently the implementations are still different, the fallback still “reacts” on inline functions while the other macro does not.
What would you improve on them?

Well but currently the implementations are still different, the fallback still “reacts” on inline functions while the other macro does not.

It depends on what you consider by "reacts". macroexpand would make sure that @inline is accepted and forwarded to the method with $body. Wouldn't that be fine? That should work for both _function and _fallback macros.

What would you improve on them?

Probably a bit more discussion of examples, I'm not sure yet.

Well but currently the implementations are still different, the fallback still “reacts” on inline functions while the other macro does not.

It depends on what you consider by "reacts". macroexpand would make sure that @inline is accepted and forwarded to the method with $body. Wouldn't that be fine? That should work for both _function and _fallback macros.

That would be perfectly fine. We should adapt _fallback to work the same as _function then (i.e.  not accepting inlines directly).

Now we can accept @inline pretty directly 🙂 .

While increasing coverage I've spotted a bug with forwarding of keyword arguments. It's fixed now.

Hm, are you sure you fixed it? I get several unsupported keywords errors now over in Manifolds.jl with this version of commit 43936c4. Did you maybe loose some functions keywords somewhere now?

Sorry, I've fixed one case but broken another. I'll fix this in a moment.

Nevermind, I wouldn't have noticed the first case. It's working again.

While most remaining test cases should be doable (define a function, use signature and set it to :parent is missing for example I think), the two error messages after the  if checking for head or call ... I am not sure how to trigger those?

I don't really understand some of these coverage failures. Some of these uncovered lines are definitely executed. I think it would be OK to just cover all methods generated by these macros (for example the methods with invoke aren't covered yet).

Yes, the invoke with parent should be covered and are not yet; for one remaining I have an idea, for the two errors (neither where nor call) I don'T know how to get them, if a call would issue them you can see in my tests how to check that (for the other messages I did that).

I made a change to the decorators (and unified exp and exp!): Not also non-mutating functions can be transparent and are so by default. This fixes non-mutating manifolds to work the same way. I just have to check for metricmanifold whether I thought of all changes.

I've extracted some parts of these macros (including these errors) into separate functions. This should make testing easier.

I made a change to the decorators (and unified exp and exp!): Not also non-mutating functions can be transparent and are so by default. This fixes non-mutating manifolds to work the same way. I just have to check for metricmanifold whether I thought of all changes.

I think it's a good decision, decorators should be able to handle special non-mutating variants.

And I removed exp(M,p,X,T) with a vector of Ts, since we have geodesic for that; interestingly we also just did that for the non-mutating one; now that's unified, too.
Great simplification that you did, the code was a little repetitive, yes.

This is a really nice unification. I haven't tried out the code, but it looks like it will simplify a lot of our implementations.
Yes, that's what I noticed when I started the EmbeddedManifold (that's where it escalated). Thanks for taking the time to work through this approach.

RE the macros, it really would be ideal to have shorter, yet more descriptive names for these.
From the names alone, I have no idea what they do even though they're quite long.
Moreover, it's confusing that they all have transparent in the name, yet can also take
:intransparent and :parent as arguments.
Yes the naming scheme grew into that and we should adapt the names.
I think it can even just be one macro if done carefully:

symbol + function is the _fallback
function is the _function
signature is the _signature

(though I am sure it would take me a long time to unify that and distinguish these expressions)
and call that macro maybe @decorate_manifold?

I'd favor having utility macros that eliminate the need for the symbol argument, even if internally they just call another macro.
I actually like the symbol (compared to true/false) because it enables to later add another path to dispatch on.

Also, I think this code needs to be processed by JuliaFormatter.
Yes, after naming the macros.

One more question, do these macros also let us append docstrings to the functions or does that need to be done separately?

One more question, do these macros also let us append docstrings to the functions or does that need to be done separately?

Currently this has to be done separately before (but we kind of do that for the mutating ones, documenting the nonmutating, anyways in most places). If that could be handled, that would be quite neat, you're right, but a minor issue I think.

Shall we try to unify the macros or leave that for a later PR? Should we rename the macros to something shorter?
Despite that I think this is finished.

I think having these three macros is fine. I'm not sure about names but we can keep them as well.
We could remove exporting of the three macro names, is_decorator_transparent and is_default_decorator. These are sort of internal, an average user would never use any of them. Other than this, I think we can merge this PR.

I haven't had a chance to review the recent changes, but I trust you both and don't want to hold up progress. Feel free to merge when ready. 🙂

I've removed these exports. If there are no objections, I'll merge this tomorrow and tag a new release.

OK, since you approve I'll merge it now :slightly_smiling_face: .

That is, once PR passes.


Umple's PHP method generation fails to create valid method parameters

Brief Description
When Umple generates PHP code, it fails to adjust method parameters so that they are valid PHP method parameters. To be more exact, the generated PHP code fails to prepend the parameter name with the "$" symbol. As a result, parsing errors occur when PHP attempts to process the generated code.
This was discovered when attempting to fix the "GeometricSystem.ump" UmpleOnline example for PHP compilation in issue #758.
Minimum Steps to Reproduce
Consider the following Umple code
generate Php;

class GeometricObject {

}

class Canvas {
        void paint(GeometricObject g){/*implementation*/}
        void update(GeometricObject g){/*implementation*/}
        void example(boolean b) {}
}

Expected Result
In the generated Canvas.php, for the paint, update, and example, we would expect the following:
public function paint(GeometricObject $g)
{
       /*implementation*/
}

public function update(GeometricObject $g)
{
       /*implementation*/
}

public function example($b)
{

}

Actual Result
public function paint(GeometricObject g)
{
       /*implementation*/
}

public function update(GeometricObject g)
{
       /*implementation*/
}

public function example(boolean b)
{

}

If a method's parameter is a primitive type in the Umple code (ex. void example(boolean b)), the corresponding generated method in the PHP code should not include the type (ex. public function example($b)) . Otherwise, we keep the method parameter's type in the generated PHP method.
For both cases, the parameter name must be prepended with the "$" symbol.
Primitive types include strings, booleans, integers, floats, doubles, and booleans.

The file needs to be modified is this UmpleToPhp-> UmpleTLTemplates-> class_MethodDeclaration.ump

Based on PHP's documentation it appears that no special syntax is required for passing an array as an argument:
<?php
function takes_array($input)
{
    echo "$input[0] + $input[1] = ", $input[0]+$input[1];
}
?>

However, it is possible to explicitly declare an argument as an array with the array keyword, but not required.
I am wondering if there are preferences on how this should be performed.
For now, I am commenting out the line
isList = aMethodParam.getIsList() ? " [] " : " ";

from UmpleToPhp/UmpleTLTemplates/class_MethodDeclaration.ump because it will do nothing but cause errors.
I am also wondering what happens when there is a non-primitive array. I didn't find anything too clear in the PHP documentation, but based on comments in my stack overflow post, we must declare the function as function f($c){ ... }. I will implement class_MethodDeclaration.ump to do so for now.

Some of the tests which fail when I fixed this issue have method parameters of type int and Integer and the primitive type for PHP is integer. I'll keep the tests like this for now, but the greater concern is that we may want to warn the user if they are using int instead of Umple's generic Integer type.
On top of this, I am wondering why the generated PHP code contains Integer, since Umple's Integer should be generated into PHP's integer. An example of this was found when generating PHP code for cruise.umple/test/cruise/umple/implementation/BasicPrecondition1.ump.

If there are int variables in test cases, your can change it to Integer. However, that test cases might be used in different languages so you need to check those test cases.
what you pointed out is exactly the issue we try to resolve. If a parameter is an Integer, it shouldn't be in generated code for that method. The reason is that in PHP, there is no need to specify the type of primitive types for parameters.

@jblang94 This issue is closed. If you have issues related to this, you can go head.


Replaced gh-actions-cache with git cache subcommand

Why:
Closes: https://github.com/github/docs/issues/28748
The article suggests installing the gh-actions-cache extension for the GitHub CLI. However, recent versions of the GitHub CLI have the gh cache extension (https://github.com/cli/cli/pull/7403), which can be used instead installing the extension. Currently, the extension seems a bit out of date (https://github.com/actions/gh-actions-cache/issues/77), so it's probably best to use the gh cache subcommand instead of the gh actions-cache extension.
What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline.

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[x] For content changes, I have completed the self-review checklist.

@dheerajcl Thanks for the PR! We have a help wanted issue already open for this (#28748). So I'm going to link this PR with that issue 👍
I'll get this triaged for review! ⚡

Thank you, sir,
This means a lot as this is my first PR. I'm open to all suggestions and would like to grow more under the guidance of all experienced contributors.
Do you have any advice for a novice?

Thank you again for a great contribution @dheerajcl! I'm going to go ahead and get this merged. 🚀

This motivates me to contribute more so thank you very much, ma'am.

It would be good if the example workflow at the very bottom of the page could be rewritten to use gh cache instead of gh-actions-cache as well
https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#force-deleting-cache-entries

Thanks for the suggestion, @corneliusroemer! We'd recommend opening a new issue to request this 💛


Mainnet launch asset suggestion: CryptoPunks

Name CryptoPunks
Kind: nonfungible token
Smart Contract(s) 0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB
Website https://www.larvalabs.com/cryptopunks

Thanks - can you include your Ethereum address in case we decide to accept this asset (and I expect we will)?


Clear track selections

Problem
We want to be able to provide more debugging capabilities in our client applications that use no-player such as selecting a video rendition.
Solution
Use the same mechanism that exists for hiding subtitles but apply it to audio and video tracks.
Screenshots
The connection is too good here so if I use auto it automatically goes to the highest rendition after the set buffer time (internal) 😆

Paired with
Nobody.

❌  DO NOT MERGE ❌  I want to try a local release into a client application before we merge this.


Can Hash implementation be improved?

Title should be self-explanatory.

I had a look at the hashing interface, which I had never done before. We theoretically have 54 bits of information in Int and 53 bits in UInt. Both could be encoded in 7 bytes to give to the hasher instead of using the u64 value we currently use. After having thought about it, this only makes sense to me if we store our types in 7-byte form as well though. I personally don't see a large benefit in the saved byte per stored Int / UInt, but it would be a fun project. I'll create a new issue for it.


Add prepublish script, reduce package size.

Learning more about how npm works. 😝
Packages should be built locally using build dependencies from devDependencies and then pushed up to npm.
In this way, packages come pre-built when npm installing, and without all the bloat of those build tools.

In the future, it'd be great to automate all this stuff with something like https://webpro.github.io/release-it/


Include Search Results in example

Why isn't the search results included in the example above? I need to be the full payload with every possible field.

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

ID: 7e4d20cc-b693-ee2d-2694-832b455376a6
Version Independent ID: 7b929793-dba5-8f94-e44f-7dace50ee018
Content: Common alert schema definitions for Webhooks/Logic Apps/Azure Functions/Automation Runbooks
Content Source: articles/azure-monitor/platform/alerts-common-schema-definitions.md
Service: azure-monitor
GitHub Login: @anantr
Microsoft Alias: anantr

@cconrado Thanks for reaching out to us. We are looking into this and will provide an update accordingly.

adding @ananthradhakrishnan  to review and provide insight.

Hi, appreciate the patience! There was an issue when we rolled out search results in the common schema payload, which has now been fixed. Documentation is in the process of being updated.

Thanks @ananthradhakrishnan


[float8nocompile] Add unit test validating weights and gradients are close for reference model and converted model

The purpose of this change is to add a unit test validating weights and gradients are close for reference model and converted model during training.
Note: this is different than the example in examples/example.py which is just a simple runnable e2e example documenting the UX.

cc @vkuzo for review


time:civilToString doesn't work when called with Civil converted from Utc

I try to get string representation of time after conversion from UTC to Civil. This code
import ballerina/io;
import ballerina/time;

public function main() returns error? {
    string dateFrom = "2022-04-15T10:00:00+03";
    time:Civil startDate = check time:civilFromString(dateFrom);
    time:Utc startDateUtc = check time:utcFromCivil(startDate);
    time:Utc blockUtc = time:utcAddSeconds(startDateUtc, -60*15);
    time:Zone? zone = time:getZone("Europe/Moscow");
    if zone is time:Zone {
        time:Civil block = zone.utcToCivil(blockUtc);
        io:println(block);
        string blockstring = check time:civilToString(block);
        io:println(blockstring);
    }
}

outputs
{"timeAbbrev":"Europe/Moscow","dayOfWeek":5,"year":2022,"month":4,"day":15,"hour":9,"minute":45,"second":0}

error: civil.utcOffset must not be null

utcToCivil() doesn't fill utcOffset field, only the timeAbbrev one.
I tried to get offset value with Zone.fixedOffset() and that returned nil (maybe because it's not fixed for this time zone).
So, the only way i could invent is to hardcode offset value after conversion
time:Civil block = zone.utcToCivil(blockUtc);
block.utcOffset = {"hours":3};

This time worked
2022-04-15T06:45:00Z

But formatted time is in UTC instead of expected localized time "2022-04-15T09:45:00+03:00".
How can i obtain proper RFC 3339 formatted time in local time zone?
I guess time:Zone.civilToString() method should get utcOffset from system using timeAbbrev field?

@daoxxx, ATM  we don't have an API to achieve that. Yes, as you have mentioned, a time:Zone.civilToString() will solve the problem.


vscode-extension-DigitalAssetHoldingsLLC-ghcide: init at 0.0.2

Motivation for this change
Add a commonly-used VS Code extension for use with the ghcide Haskell language server.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Closing because I switched to using vscode-extension-alanz-vscode-hie-server, which is already in nixpkgs and is more full-featured compared to this extension.


docs: Kubernetes on Azure with CoreOS and Weave

In this tutorial we will demonstrate how to deploy a Kubernetes cluster to Azure cloud. Weave makes networking of containers simple and secure, in a transparent, yet robust way. The focus of this tutorial is to provide an out-of-the-box production-ready implementation with dedicated Kubernetes master and etcd nodes. It will also show how to scale the cluster with ease.

Pinging @kelseyhightower.

@errordeveloper please take a look at
https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/getting-started-guides/README.md
and tell me if you think this merits a separate line item from the existing Azure support,  and if you want to be listed as the point of contact.

@erictune I didn't realise there is that file, I do think it needs to be updated also. This was done in collaboration with Microsoft team - @squillace and @chanezon, who probably can be listed also. Unless you'd wish one contact there, otherwise we will have to decide who it shall be.

multiple contacts is fine.

@erictune cc @jeffmendoza yes I think it deserves a separate line. Jeff's docs refers to using salt to deploy, ubuntu and openvpn for networking. This one is about Weave for networking, on CoreOS, using cloud-init for deployment.

feel free to add such a line in this PR.

@erictune see 80450b9. I've included a networking column there as well, as now there are more options.

Thanks for updating the README.  The new column is fine.

@erictune I was wondering if the reviewer would be required to test this kind of pull-request manually at this point..?

Works, http://kubernetes-service-cluster-43e4ff223570ba.cloudapp.net/
with a few issues to fix, and additional docs needed.
1- script should create the output directory. If it doesn't exists yet, it stops.
2- right now when provisioning the cloud service, the script tries to create kubernetesservicecluster account owned by someone else, so cloud service creation fails
Only way I found to bypass that is creating the storage account in same region, and specify credentials via env variables.
Would be better to create a storage account dynamically.
export AZURE_STORAGE_ACCOUNT=patkube
export AZURE_STORAGE_ACCESS_KEY="71Py+BzdVEI...FmDBKOcydSY3FT+0gCToxT9bFvyCJZXjg=="
at least add that to docs.
3- Typo in instructions for guestbook deployment
kubectl create -f redis-master-controller.json
not redis-master.json
4- kubectl create -f frontend-service.json
F0224 21:38:17.284492    2407 create.go:78] the cloud provider does not support external TCP load balancers.
You need to remove createExternalLoadBalancer and add publicIPs with internal Azure IPs for minions.
adding the Azure internal ips for the minion machines to the service json file, then creating an endpoint to these on the same port does the trick.
Creating one endpoint for each minion on different ports let me verify that I could hit both.
I ended up creating something that would look more like a prod scenario, with endpoints for the VM instances which publicIPs you mentioned in the service manifest, belonging to a single load balanced set. That provides you 2 levels of load balancing.
I guess all that could be automated.
{
"id": "frontend",
"kind": "Service",
"apiVersion": "v1beta1",
"port": 8000,
"publicIPs": [
"<IP_ADDRESS>",
"<IP_ADDRESS>"
],
"containerPort": "http-server",
"selector": {
"name": "frontend"
},
"labels": {
"name": "frontend"
},
}

The ubuntu/salt Azure deployment uses (openvpn)[https://openvpn.net/] for networking.

@errordeveloper  I think at this point, it isn't practical for reviewers to test these types of PRs, so we are trusting that you have tested it.
Since Kelsey hasn't responded in a while, I'll assume he is busy and pick up this review.
Looks like you need a rebase, so lets start there.

I've tested it and it works, if @errordeveloper fixes the 3 issues I mention in the comment above https://github.com/GoogleCloudPlatform/kubernetes/pull/4483#issuecomment-75893512

Ok I am back on thins now. Here is a list based on @chanezon's comment:

[x] fix output directory issue (eee9ffb1ca5423e1f734940f130ab4f09cbfd93b)
[ ] automate creation of storage account (or at least document the workaround)
[ ] Typo in instructions for guestbook deployment (kubectl create -f redis-master-controller.json not redis-master.json)
[ ] fix kubectl create -f frontend-service.json results in the cloud provider does not support external TCP load balancer

However, I will need to test the latest release and see if the fix for #4414 had been merged into it as wells as if the changes to Guestbook PHP example has appeared there too.

I can see there is 0.11.0 release candidate, it's probably best to wait for the release itself...

I've now tested 0.11.0, and looks like it works, and, in fact, it's a no longer a release candidate :+1:
I'll pushing an update once confirm it's definitely working well.

The issue I am seeing with Guestbook PHP example is this:
Uncaught exception 'Predis\Connection\ConnectionException' with message 'php_network_getaddresses: getaddrinfo failed: Name or service not known [tcp://:0]' in /vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php:141

...which is documented, and indeed the REDIS_MASTER_SERVICE_HOST and REDIS_MASTER_PORT are not set, according to docker inspect.
Any ideas what could be wrong with this and where should I look?

The reason that the env vars are not set is that you are passing the etcd_servers option to kubelet.  That option no longer supported and we are in the process of removing it.
You need to specify --api_servers.  Take a look at what #4708 did with kubelet.

sorry, accidental push of close button.

You can do this two ways.
You can have the API server export its service on its private IP, port 8080, without authentication.  This is fine if you trust everyone on your cluster's private network.  Use the firewall to protect 8080 from outsiders and only poke a hole in the firewall to the nginx proxy.  For this you have to set --address=<IP_ADDRESS> on the apiserver.  And you tell the kubelet to talk to --api_servers=http://$MASTERIP:8080
Or, you can only expose an authorized port on the internal network.  For this you set --address=127.0.01 --auth_port=6443 on the apiserver.  And you tell the kubelet to talk to --api_servers=https://$MASTERIP:6443.  But you have to generate a kubelet token and pass that to the master and the kubelets.
Happy to elaborate.

@erictune thank you, I'll push a fix now. I tried changing proxy arguments too, but it looks like it still wants etcd servers... would be good to know if changes to proxy are expected soon or it's to stay the way it is?

Oh, right.  The kube-proxy flagname is --master= while the kubelet flagname is --api_servers.  Argument should be the same.

@erictune I'll update proxy's arguments and retest tomorrow, also it'd be good if @chanezon or @squillace could test it once again before merging anyway.

@erictune I've updated the arguments passed to proxy and rebased. This is ready to merge, as far as I am concerned, unless Microsoft folks and/or @kelseyhightower have any input.

One minor request, and then good to merge.

LGTM.

Awesome to see this merged: as of today, this Weave/CoreOS tool and doc is the only way I was able to provision a Kubernetes cluster in Azure.
I have not tested the Ubuntu/OpenVPN way but heard there were some issues with it in current Kubernetes version.
I have tested the Flannel docs and after https://github.com/GoogleCloudPlatform/kubernetes/pull/4362 was fixed I ran into https://github.com/GoogleCloudPlatform/kubernetes/issues/4141 and stopped there. It may work, but needs further testing and documentation.

Hi all,
Trying to deploy Kubernetes on Azure/CoreOS/Weave.  I cannot hit my Azure virtual IP from out side for the Guestbook app.  I can login to master.  Run 'kubectl get services'.
Here is my services output
NAME           LABELS                                    SELECTOR            IP(S)          PORT(S)
frontend       name=frontend                             name=frontend       <IP_ADDRESS>   80/TCP
kubernetes     component=apiserver,provider=kubernetes                 <IP_ADDRESS>       443/TCP
redis-master   name=redis-master                         name=redis-master   <IP_ADDRESS>    6379/TCP
redis-slave    name=redis-slave                          name=redis-slave    <IP_ADDRESS>   6379/TCP
Curl to frontend gives valid HTML output
Curl to apiserver gives blank output which is probably ok
Curl to redis-master gives invalid number of arguments for 'get' which is proably ok
Curl to  redis-slave is same as master above
The cluster is running on one master, 4 kube nodes and 3 etcd machines (one master and 2 nodes? I am not sure on etcd).
This is deployed to Azure.  Once the deployment fineshes all the 8 machines have the same Virtual IP and different private IPs (consistent with the subnet range they are in).  I added the 8000 port endpoint on kube-01.  But cannot hit the VIP.  What could I be doing wrong.
Thanks for any help
Raj

Are you using the master branch?
On Sat, 22 Aug 2015 16:54 rajnemani<EMAIL_ADDRESS>wrote:

Hi all,
Trying to deploy Kubernetes on Azure/CoreOS/Weave. I cannot hit my Azure
virtual IP from out side for the Guestbook app. I can login to master. Run
'kubectl get services'.
Here is my services output
NAME LABELS SELECTOR IP(S) PORT(S)
frontend name=frontend name=frontend <IP_ADDRESS> 80/TCP
kubernetes component=apiserver,provider=kubernetes <IP_ADDRESS> 443/TCP
redis-master name=redis-master name=redis-master <IP_ADDRESS> 6379/TCP
redis-slave name=redis-slave name=redis-slave <IP_ADDRESS> 6379/TCP
Curl to frontend gives valid HTML output
Curl to apiserver gives blank output which is probably ok
Curl to redis-master gives invalid number of arguments for 'get' which is
proably ok
Curl to redis-slave is same as master above
The cluster is running on one master, 4 kube nodes and 3 etcd machines
(one master and 2 nodes? I am not sure on etcd).
This is deployed to Azure. Once the deployment fineshes all the 8 machines
have the same Virtual IP and different private IPs (consistent with the
subnet range they are in). I added the 8000 port endpoint on kube-01. But
cannot hit the VIP. What could I be doing wrong.
Thanks for any help
Raj
—
Reply to this email directly or view it on GitHub
https://github.com/kubernetes/kubernetes/pull/4483#issuecomment-133717414
.

Hi Ilya,
Thank you for your time.
I am using the instructions at
https://github.com/kubernetes/kubernetes/blob/release-1.0/docs/getting-started-guides/coreos/azure/README.md
to set up Kubernetes on Azure/CoreOs/Weave.  Per the instructions there I
am cloning from
https://github.com/GoogleCloudPlatform/kubernetes.
Actually after a bit of investigation and help, I can get the
Guestbook app to load.  The documentation incorrectly states that the
endpoint port
mapping in AZURE is 8000 (public) to 8000 (private).  But the private
port turned out to be one in the range for nodePort
type services (30000-32767).
But I have a new problem now.  The frontend PHP application cannot
talk to redis backend.  After a bit of research I
figured that it needs DNS setup.  So started looking at
https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/dns/README.md
Here I got couple of questions. Based on the information in the DNS
setup doc above, I modified the cluster/azure/config-default.sh
with the following.
ENABLE_CLUSTER_DNS="${KUBE_ENABLE_CLUSTER_DNS:-true}"
DNS_SERVER_IP="<IP_ADDRESS>"
DNS_DOMAIN="cluster.local"
DNS_REPLICAS=1
Then I ran the https://github.com/kubernetes/kubernetes/tree/master/docs/getting-started-guides/coreos/azure/create-kubernetes-cluster.js
https://github.com/kubernetes/kubernetes/blob/master/docs/getting-started-guides/coreos/azure/create-kubernetes-cluster.js
which created the cluster on Azure.  Then I ran the DNS server
replication controller and Service from
https://github.com/kubernetes/kubernetes/tree/master/docs/getting-started-guides/coreos/azure/addons
on the Kubernetes master node.  I ran the validation test to see if my
DNS is working by following the steps in the DNS setup
document.  Here is the output of the test
core@kube-00 ~/addons $ kubectl exec busybox -- nslookup kubernetes
Server:    <IP_ADDRESS>
Address 1: <IP_ADDRESS>
Name:      kubernetes
Address 1: <IP_ADDRESS>
The IPs above do not correspond to the DNS Server IP I setup at
cluster/azure/config-default.sh.  It looks like these IPs are are
coming from DNS replication controllers and Service
YAML files.
So my questions are

What is significance of the DNS entries in the
cluster/azure/config-default.sh file.  Are they used at all in the

overall setup?

The DNS document also talks about starting the Kubectl with DNS
server IP and DNS Domain parameters.  How do I do

that.  Also which 'set' of IP and Domain values do I use for starting
Kubectl, the ones from cluster/azure/config-default.sh file or the
ones
mentioned in the DNS replication controller and service yaml files
(Cluster IP: <IP_ADDRESS>, domain:kube.local).
I know this is a long email but wanted to provide details so you can
follow what I am asking.
Can you provide some guidance?
Is there an updated document that has all these steps outlined.
Thanks in advance for your time and help.
Raj
On Mon, Aug 24, 2015 at 1:36 AM, Ilya Dmitrichenko<EMAIL_ADDRESS>
wrote:

Are you using the master branch?
On Sat, 22 Aug 2015 16:54 rajnemani<EMAIL_ADDRESS>wrote:

Hi all,
Trying to deploy Kubernetes on Azure/CoreOS/Weave. I cannot hit my Azure
virtual IP from out side for the Guestbook app. I can login to master.
Run
'kubectl get services'.
Here is my services output
NAME LABELS SELECTOR IP(S) PORT(S)
frontend name=frontend name=frontend <IP_ADDRESS> 80/TCP
kubernetes component=apiserver,provider=kubernetes <IP_ADDRESS> 443/TCP
redis-master name=redis-master name=redis-master <IP_ADDRESS> 6379/TCP
redis-slave name=redis-slave name=redis-slave <IP_ADDRESS> 6379/TCP
Curl to frontend gives valid HTML output
Curl to apiserver gives blank output which is probably ok
Curl to redis-master gives invalid number of arguments for 'get' which is
proably ok
Curl to redis-slave is same as master above
The cluster is running on one master, 4 kube nodes and 3 etcd machines
(one master and 2 nodes? I am not sure on etcd).
This is deployed to Azure. Once the deployment fineshes all the 8
machines
have the same Virtual IP and different private IPs (consistent with the
subnet range they are in). I added the 8000 port endpoint on kube-01. But
cannot hit the VIP. What could I be doing wrong.
Thanks for any help
Raj
—
Reply to this email directly or view it on GitHub
<
https://github.com/kubernetes/kubernetes/pull/4483#issuecomment-133717414>
.

—
Reply to this email directly or view it on GitHub
https://github.com/kubernetes/kubernetes/pull/4483#issuecomment-134096483
.

@rajnemani please look in master instead, and also see https://github.com/kubernetes/kubernetes/issues/12224#issuecomment-132158579 and https://github.com/kubernetes/kubernetes/issues/12907.

Ok, I can see the updated doc with information on how to get the frontend port configuration.  Can I ask if working from master (cloning from master) is also going to resolve the DNS issues between frontend and redis backend i.e I do not have to do all the DNS stuff manually?
Thanks
Raj

Can I ask if working from master (cloning from master) is also going to resolve the DNS issues between frontend and redis backend i.e I do not have to do all the DNS stuff manually?

Yes.

Hi,
Thank you for your help so far.  After cloning from master, do I need to
run "make release' command to build the source or can I start running the
cluster setup script assuming pre-built binaries?
Thanks
Raj
On Mon, Aug 24, 2015 at 9:36 AM, Ilya Dmitrichenko<EMAIL_ADDRESS>
wrote:

Can I ask if working from master (cloning from master) is also going to
resolve the DNS issues between frontend and redis backend i.e I do not have
to do all the DNS stuff manually?
Yes.
—
Reply to this email directly or view it on GitHub
https://github.com/kubernetes/kubernetes/pull/4483#issuecomment-134292445
.

do I need to run "make release' command to build the source or can I start running the cluster setup script assuming pre-built binaries?

No, please just follow the instruction as given, the provisioning scripts use released binaries and you don't need to build anything.

Hi Ilya,
I can get the app up but cannot post message to redis.  It is the same
issue that I encountered before.  Here is the error.  I am not sure the
instructions are complete.  You can see it cannot find
tcp:redis-slave:6379.  It could be that I need to setup DNS manually after
all?
Thank you for your help
Failed to load resource: the server responded with a status of 404 (Not
Found)
angular.min.js:85 TypeError: Cannot read property 'push' of undefined
at RedisController.onRedis (controllers.js:9)
at angular.min.js:163
at angular.min.js:179
at h.$eval (angular.min.js:102)
at h.$apply (angular.min.js:103)
at HTMLButtonElement. (angular.min.js:179)
at angular.min.js:27
at q (angular.min.js:7)
at HTMLButtonElement.Yc.c (angular.min.js:27)(anonymous function) @
angular.min.js:85
angular.js:9435 TypeError: Cannot read property 'push' of undefined
at RedisController.onRedis (controllers.js:9)
at angular.js:10220
at angular.js:18003
at h.$eval (angular.js:11977)
at h.$apply (angular.js:12077)
at HTMLButtonElement. (angular.js:18002)
at angular.js:2616
at q (angular.js:310)
at HTMLButtonElement.Yc.c (angular.js:2615)(anonymous function) @
angular.js:9435(anonymous function) @ angular.js:6846h.$apply @
angular.js:12079(anonymous function) @ angular.js:18002(anonymous function)
@ angular.js:2616q @ angular.js:310Yc.c @ angular.js:2615
controllers.js:26
Fatal error:  Uncaught exception
'Predis\Connection\ConnectionException' with message
'php_network_getaddresses: getaddrinfo failed: Name or service not known
[tcp://redis-slave:6379]' in
/vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php:141
Stack trace:
#0 /vendor/predis/predis/lib/Predis/Connection/StreamConnection.php(96):
Predis\Connection\AbstractConnection->onConnectionError('php_network_get...',
0)
#1 /vendor/predis/predis/lib/Predis/Connection/StreamConnection.php(70):
Predis\Connection\StreamConnection->tcpStreamInitializer(Object(Predis\Connection\ConnectionParameters))
#2 /vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php(96):
Predis\Connection\StreamConnection->createResource()
#3 /vendor/predis/predis/lib/Predis/Connection/StreamConnection.php(144):
Predis\Connection\AbstractConnection->connect()
#4 /vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php(181):
Predis\Connection\StreamConnection->connect()
#5 /vendor/predis/predis/lib/Predis/Connection/StreamConnectio in
/vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php
on line 141
angular.js:9435 TypeError: Cannot read property 'split' of undefined
at controllers.js:27
at angular.js:7576
at A (angular.js:10965)
at A (angular.js:10965)
at angular.js:11051
at h.$eval (angular.js:11977)
at h.$digest (angular.js:11803)
at h.$apply (angular.js:12083)
at f (angular.js:7841)
at H (angular.js:8042)(anonymous function) @ angular.js:9435(anonymous
function) @ angular.js:6846A @ angular.js:10968A @
angular.js:10965(anonymous function) @ angular.js:11051h.$eval @
angular.js:11977h.$digest @ angular.js:11803h.$apply @ angular.js:12083f @
angular.js:7841H @ angular.js:8042C.onreadystatechange @ angular.js:7985
On Mon, Aug 24, 2015 at 1:03 PM, Ilya Dmitrichenko<EMAIL_ADDRESS>
wrote:

do I need to run "make release' command to build the source or can I start
running the cluster setup script assuming pre-built binaries?
No, please just follow the instruction as given
https://github.com/kubernetes/kubernetes/blob/master/docs/getting-started-guides/coreos/azure/README.md#lets-go,
the provisioning scripts use released binaries and you don't need to build
anything.
—
Reply to this email directly or view it on GitHub
https://github.com/kubernetes/kubernetes/pull/4483#issuecomment-134359746
.

Are you sure the DNS server is running and accessible?
On Tue, 25 Aug 2015 00:05 rajnemani<EMAIL_ADDRESS>wrote:

Hi Ilya,
I can get the app up but cannot post message to redis. It is the same
issue that I encountered before. Here is the error. I am not sure the
instructions are complete. You can see it cannot find
tcp:redis-slave:6379. It could be that I need to setup DNS manually after
all?
Thank you for your help
Failed to load resource: the server responded with a status of 404 (Not
Found)
angular.min.js:85 TypeError: Cannot read property 'push' of undefined
at RedisController.onRedis (controllers.js:9)
at angular.min.js:163
at angular.min.js:179
at h.$eval (angular.min.js:102)
at h.$apply (angular.min.js:103)
at HTMLButtonElement. (angular.min.js:179)
at angular.min.js:27
at q (angular.min.js:7)
at HTMLButtonElement.Yc.c (angular.min.js:27)(anonymous function) @
angular.min.js:85
angular.js:9435 TypeError: Cannot read property 'push' of undefined
at RedisController.onRedis (controllers.js:9)
at angular.js:10220
at angular.js:18003
at h.$eval (angular.js:11977)
at h.$apply (angular.js:12077)
at HTMLButtonElement. (angular.js:18002)
at angular.js:2616
at q (angular.js:310)
at HTMLButtonElement.Yc.c (angular.js:2615)(anonymous function) @
angular.js:9435(anonymous function) @ angular.js:6846h.$apply @
angular.js:12079(anonymous function) @ angular.js:18002(anonymous function)
@ angular.js:2616q @ angular.js:310Yc.c @ angular.js:2615
controllers.js:26
Fatal error: Uncaught exception
'Predis\Connection\ConnectionException' with message
'php_network_getaddresses: getaddrinfo failed: Name or service not known
[tcp://redis-slave:6379]' in
/vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php:141
Stack trace:
#0 /vendor/predis/predis/lib/Predis/Connection/StreamConnection.php(96):
Predis\Connection\AbstractConnection->onConnectionError('php_network_get...',
0)
#1 /vendor/predis/predis/lib/Predis/Connection/StreamConnection.php(70):
Predis\Connection\StreamConnection->tcpStreamInitializer(Object(Predis\Connection\ConnectionParameters))
#2 /vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php(96):
Predis\Connection\StreamConnection->createResource()
#3 /vendor/predis/predis/lib/Predis/Connection/StreamConnection.php(144):
Predis\Connection\AbstractConnection->connect()
#4 /vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php(181):
Predis\Connection\StreamConnection->connect()
#5 /vendor/predis/predis/lib/Predis/Connection/StreamConnectio in
/vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php
on line 141
angular.js:9435 TypeError: Cannot read property 'split' of undefined
at controllers.js:27
at angular.js:7576
at A (angular.js:10965)
at A (angular.js:10965)
at angular.js:11051
at h.$eval (angular.js:11977)
at h.$digest (angular.js:11803)
at h.$apply (angular.js:12083)
at f (angular.js:7841)
at H (angular.js:8042)(anonymous function) @ angular.js:9435(anonymous
function) @ angular.js:6846A @ angular.js:10968A @
angular.js:10965(anonymous function) @ angular.js:11051h.$eval @
angular.js:11977h.$digest @ angular.js:11803h.$apply @ angular.js:12083f @
angular.js:7841H @ angular.js:8042C.onreadystatechange @ angular.js:7985
On Mon, Aug 24, 2015 at 1:03 PM, Ilya Dmitrichenko <
<EMAIL_ADDRESS>
wrote:

do I need to run "make release' command to build the source or can I
start
running the cluster setup script assuming pre-built binaries?
No, please just follow the instruction as given
<
https://github.com/kubernetes/kubernetes/blob/master/docs/getting-started-guides/coreos/azure/README.md#lets-go
,
the provisioning scripts use released binaries and you don't need to
build
anything.
—
Reply to this email directly or view it on GitHub
<
https://github.com/kubernetes/kubernetes/pull/4483#issuecomment-134359746>
.

—
Reply to this email directly or view it on GitHub
https://github.com/kubernetes/kubernetes/pull/4483#issuecomment-134406964
.


Search/URL field is cutting long links

If we paste long link like this one: https://steemit.com/esteem/@olesia/sinnabon-rolls-with-cinnamon-in-slovichny-sauce-it-is-simple-to-prepare-68dd7b456d355 in Surfer search field area it will be cut and it will not open that post.

yeah need to fix that in v2. meanwhile @fildunsky try: @olesia/sinnabon-rolls-with-cinnamon-in-slovichny-sauce-it-is-simple-to-prepare-68dd7b456d355

@feruzm shortening the URL to @username/etc... works well for me :) I just created this issue in case we will forget to fix it in future.

This one is not opening even with shortening to @username :)
@fractal-team/jwildfire-esperiments-with-plugins-in-the-base-fractal-flowers-on-the-window-part-2-d410ce2b9c257est

fixed with v2


ci: combine go tests such that any test failure will report a failure for the entire task

Reason for Change:

When the go tests are split up, only the status of the last command run determines the status of the entire step/task. Any previous steps, even if they exited with a failure, won't cause the task to visibly fail. By combining all tests together in one command, if this single command fails (due to any of the tests failing), the step/task will visibly fail on the pipeline.
Issue Fixed:

See above
Requirements:

[X] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[X] relevant PR labels added

Notes:
Will fail in the pipeline until npm windows tests are fixed (this is expected, as previously those tests were silently failing).
When those npm changes are merged in, I will rebase this PR against master to resolve the errors.
Will be backported to release/v1.5

/azp run Azure Container Networking PR


Deprecate and archive this if HttpError is added to Deno std/http

I've decided against this. I prefer the HttpError class that I created over using createHttpError from std.


kie-issues#821: Kogito-apps weekly job

ISSUE: https://github.com/apache/incubator-kie-issues/issues/821
This PR introduces a new weekly Jenkins job for Kogito Apps that updates the project version to 999-YYYYMMDD-SNAPSHOT locally, build it and deploy the artifacts to Apache snapshot repository.
The weekly job also creates a new tag in the repo with this format: 999-YYYYMMDD.

PR job #1 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer
build-chain build full_downstream  -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-apps -u https://github.com/apache/incubator-kie-kogito-apps/pull/1965 --skipParallelCheckout
NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://ci-builds.apache.org/job/KIE/job/test/job/mcimbalek/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1965/1/display/redirect
Test results:

PASSED: 2847
FAILED: 1

Those are the test failures:

org.kie.kogito.index.ProcessDataIndexMongoDBIT.testProcessInstanceEvents
1 expectation failed.JSON path errors doesn't match.Expected: null  Actual: <[{message=Exception while fetching data (/UserTaskInstances[0]/schema) : Runtime service URL not defined, please review the kogito.service.url system property to point the public URL for this runtime., locations=[{line=1, column=85}], path=[UserTaskInstances, 0, schema], extensions={classification=DataFetchingException}}]>


ci: use ngcontainer:0.1.0 in circleci

Blocked by https://github.com/alexeagle/ngcontainer/issues/8

superseded by https://github.com/angular/angular-cli/pull/10211.


Example is not actually reinforcement learning

I just stumbled upon the basic examples and I watched the one for reinforcement learning. But I noticed he simply just adds the unseen data in halfway through and it doesn't seem to be actual reinforcement learning. I could be totally wrong in my understanding of reinforcement learning, but from what I have done and seen this does not seem like reinforcement learning.
https://scrimba.com/p/pVZJQfg/cpkKyHd

@samfultonschool It is a good point, I think I was using the "reinforcement" somewhat liberally.  Ty for bringing it to my attention.


bug(list): Hard to select text of mat-list-item line when having a title

Is this a regression?

[X] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
14.x.x
Description
Since v15, It becomes very difficult to select the text of the matListItemLine just next to a matListItemTitle.
The title overlaps the lines (at least the first)
It's due to the margin-bottom: -20px; css property on .mdc-list-item--with-two-lines .mdc-list-item__primary-text, .mdc-list-item--with-three-lines .mdc-list-item__primary-text and the ::after/::before use.
Reproduction
Steps to reproduce:

Go to https://material.angular.io/components/list/examples
Scroll to the example "List variants"
Try to double click on a mat list item line (see that the text is well selected)
Click on the Stackblitz link of this example
Try to double click on a mat list item line (see that the title is selected instead of the line text)

Expected Behavior
Same behavior on the doc website
Which seems to have been handled with this CSS code :
.mat-mdc-list-base .mdc-list-item__start,
.mat-mdc-list-base .mdc-list-item__end,
.mat-mdc-list-base .mdc-list-item__content {
    pointer-events: auto;
}

Of course we could add it by ourself on each project but I guess the actual behavior is more a bug than wanted
Actual Behavior
The title is selected instead of the line text
Environment

Angular: 15.0.1
CDK/Material: 15.0.0
Browser(s): any
Operating System (e.g. Windows, macOS, Ubuntu): any

Fixed by https://github.com/angular/components/pull/26012


Pub sept 24

Description
Staging area for #796 and #798 so that I can update versions and do admin-y things.
Checks

[x] I have read and understand the Code of Conduct and Contribution Guidelines.

Thanks @2BitSalute and @mikechristiansenvae.  I'll have this out in a bit.

I have an issue in the build.  Not sure where it's coming from and I don't have the patience to deal with it.  All the tests actually do pass.  It's something to do with analyzing the test results files.


Add Documentation for headless Building

Pull request type
Please check the type of change your PR introduces:

[ ] Bugfix
[ ] New feature or enhancement
[ ] UI change (please include screenshot!)
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[x] Documentation content changes
[ ] Internationalization and localization
[ ] Other (please describe):

What is the new Documentation?
I had to build this without a GUI attached on our build server and I had to fumble my way through.
I wrote down my steps, and added a subheading in CONTRIBUTING.md.
Other information
I understand if changes are necessary before merging. I don't usually package dotnet sources, so please advise on what changes should be made

I would like to note that the binary "feels" more stable when using
./build.sh --configuration Release --target PublishApp
However i wasn't able to get that running without changing
    Target GenerateSdkNuGet => _ => _
        .Description("Generate the DevToys SDK NuGet package")
        .DependsOn(SetVersion)
        .DependsOn(Restore)
        .DependsOn(Compile) # <----
        .Executes(() =>
        {

From CompileGenerators to Compile, as
[ERR] GenerateSdkNuGet: /usr/share/dotnet/sdk/8.0.106/Sdks/NuGet.Build.Tasks.Pack/buildCrossTargeting/NuGet.Build.Tasks.Pack.targets(221,5): error NU5026: The file '/home/cpj/work/external/DevToys/bin/Release/AnyCPU/DevToys.Api/net8.0/af-ZA/DevToys.Api.resources.dll' to be packed was not found on disk. [/home/cpj/work/external/DevToys/src/app/dev/DevToys.Api/DevToys.Api.csproj]

It seems a result of localization resources being cleaned in the first step


ENH: Expose input parameter for Python versions

Allows the user to specify python3-minor-versions to set Python 3.x targets for module wheel packaging. Python versions 3.7 through 3.11 are set as default according to Python maintenance schedule.
Notebook tests are also updated to test the x64 module wheel corresponding to the first specified Python version. Under previous behavior 3.10 packages were always selected for testing as it was assumed that 3.7 through 3.11 packages were always built. Updated behavior adapts to user requested versions.
https://devguide.python.org/versions/
Tests:
Defaults: https://github.com/tbirdso/ITKSplitComponents/actions/runs/4992038821
Request a single Python version: https://github.com/tbirdso/ITKSplitComponents/actions/runs/4992038821
Request a version subset, reordered so that a different version is used in notebook testing: https://github.com/tbirdso/ITKSplitComponents/actions/runs/4992048825/jobs/8939596188
Note that passing an empty list of versions fails to run: https://github.com/tbirdso/ITKSplitComponents/actions/runs/4992061867
Closes #62

cc @N-Dekker

Squashed docs fixup


bazel: prefer using "size" over "timeout" for bazel tests

In our build files, we're using both size and timeout properties for tests. This PR unifies all the tests to use size

it is more common to use size both internally and externally
uniformity is desirable
the size implies value of timeout (see "implied timeout label" in https://docs.bazel.build/versions/master/test-encyclopedia.html).

Known failures:
https://github.com/grpc/grpc/issues/15454
https://github.com/grpc/grpc/issues/20751

Known failures:
https://github.com/grpc/grpc/issues/21262
https://github.com/grpc/grpc/issues/20751


--update is broken and corrupts the script

👓 What did you see?
This: (note my working directory is another project)
➜  language-service git:(main) POLYGLOT_RELEASE_VERSION=0.9.3
➜  language-service git:(main) curl --silent -o /usr/local/bin/polyglot-release https://raw.githubusercontent.com/cucumber/polyglot-release/v$POLYGLOT_RELEASE_VERSION/polyglot-release
➜  language-service git:(main) chmod 755 /usr/local/bin/polyglot-release
➜  language-service git:(main) polyglot-release --version
v0.9.3
➜  language-service git:(main) polyglot-release --update
Updated to v0.23.0
➜  language-service git:(main) polyglot-release --version
/usr/local/bin/polyglot-release: line 1: 404:: command not found

✅ What did you expect to see?
I expected --update to either say "you're on the latest version", or "Updated to v0.9.3". I also expected the script not to be corrupted.

This smells like you've got this in place:
https://github.com/cucumber/polyglot-release/pull/74/commits/20cbfd38df9b18de40af0e21e8d691564d5bf715#diff-6bfe0b1d529f955a9c9cd8beb8e5515160dd63befa1ad8b04858ef449ace6d84R346

Could you cat /usr/local/bin/polyglot-releas then? See what is there?

Indeed - I had a leftover POLYGLOT_RELEASE_GIT_REPO defined in my shell. Undefining it makes the problem go away. Sorry for the false alarm.


fix white screen on Metamask mobile

There has an issue when I open the bridge page on MetaMask mobile version.
The issue was created by other few months ago:
https://github.com/renproject/bridge-v2/issues/130
I found that there is no Notification object on MetaMask mobile, and the Notification where I was commented is not used by anywhere, so I think we can remove it and it can be used on MetaMask mobile version.

Thanks for the fix. It will be shipped with next deploy.


Pin icon now turns golden rather than blue when clicked

I think this icon used to display blue like Inbox, a few days/merges ago.

@russelldc this is normal behavior. You need to go to settings and change to the blue star from the gold star. Since I changed the pins to color coordinate with the stars here is an example of the blue pin and star.

@g60madman Ahh, understood. Might be unexpected behavior for some users, I guess we'll see if anyone complains.


Opacity control for individual lines

With default value set to depend on 1/f(number of subjects) or some such, so that as we have more subjects, things get more transparent.

Closed by #83.


Don't post the title in chat when it's been identified as offensive

Related: #811
When Smokey has detected a post using the reason "potentially offensive keyword in title", we should avoid posting that title in chat.
This should only apply to non-CHQ rooms - in CHQ it's an occupational hazard, but in other rooms it could be avoided. We can always substitute it for something like "(potentially offensive - see MS for details)".

Summary
Difficulty:

SmokeDetector sometimes picks up potentially offensive posts. When this happens, we'd like to avoid posting the titles of these posts in chat, as we would usually do - except for our main room, Charcoal HQ, where it's acceptable.
Guidance
You'll need to modify the handle_spam function in spamhandling.py. Just before the end of the function where the messages get sent to chat (that's the chatcommunicate.tell_rooms calls), you'll need to add a new check to make sure that the reasons list doesn't contain any items that mention "offensive". If it does, you'll need to alter the post's title to a summary - something along the lines of "(potentially offensive - see MS for details)".
How to get help

For additional support in completing this issue, either:

comment on this thread
if you have a Stack Overflow account, drop into our chatroom (you'll need 20 reputation - if you don't have that, let us know your username or ID here and someone will grant access manually)


failed to set power state

I have tried to stream both my D415 cameras simultaneously. In the initialization, the first camera is getting initialized perfectly fine but the second camera gives me this error: failed to set power state
Any idea?

There has been a similar still-open case recently with this error on a multi-camera setup on a discussion.  I recommend adding a comment there in order to collect the information of affected users together in one place.  Thanks!
https://github.com/IntelRealSense/librealsense/issues/5828

This case will be closed after 7 days from the time of writing this message if there are no further comments.   Thanks!

I'm getting this issue as well.

Also, firmware update results in Error type: Success (what?)

@dheera in the same boat, with just one camera. Did you find a fix?

I had a similar problem on Raspberry Pi OS, using pyrealsense2 and the D435i
I was opening two pipelines, one for the camera and one for the IMU. Starting the camera didn't give any problems, but when starting the IMU, right after, there was an error message "failed to set power state".
After may software and hardware attempts, I solved it in a trivial way... I added 500ms pause between the two starting.
You might start the first D415, wait 500ms and then open the second D415...
Good luck!

Hello @stino78, I have the same problem. How did you add the pause between the starting of the cameras?

I just put a pause between the opening of the two pipelines in the code,
like half a second
On Wed, Nov 17, 2021, 18:17 rythm07 @.***> wrote:

Hello @stino78 https://github.com/stino78, I have the same problem. How
did you add the pause between the starting of the cameras?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/IntelRealSense/librealsense/issues/6120#issuecomment-971788979,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADYMIIJNUADZZJDB5UEEUUDUMPPR7ANCNFSM4LSGBKQA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Ah ok thanks @stino78, but I did not saw that you are using pyrealsense2. I'm using ROS so I think I have to find a different way

I am not sure, but both ROS and pyrealsense should be wrappers of the same
C++ code, so the solution might be the same.
Also, the version of the SDK might matter A LOT.... at a certain point they
change the access method to the device, check that
Good luck!
On Wed, Nov 17, 2021 at 12:51 PM rythm07 @.***> wrote:

Ah ok thanks @stino78 https://github.com/stino78, but I did not saw
that you are using pyrealsense2. I'm using ROS so I think I have to find a
different way
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/IntelRealSense/librealsense/issues/6120#issuecomment-971816759,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADYMIIPKXKPBA6SWLGOMIYLUMPTTTANCNFSM4LSGBKQA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

oh ok i didn't know that.
Thanks a lot for the insight, I will definitely check that!


Clearer information on Supported Software Versions

We've been working with a customer with an exceptionally old release of BIG-IP (10.2.4)
It seems 10.2.4 doesn't work as .ucs_platform files don't exist
Traceback (most recent call last):   File "/usr/local/bin/ucs-modifier", line 33, in <module>     sys.exit(load_entry_point('ucs-modifier', 'console_scripts', 'ucs-modifier')())   File "/modifier/ucs_modifier/calypso_ucs_modifier.py", line 58, in main     reader = UcsReader(output_dir)   File "/modifier/ucs_modifier/modifier/reader.py", line 20, in __init__     self.ucs_platform_kwargs = self._get_ucs_platform_kwargs()   File "/modifier/ucs_modifier/modifier/reader.py", line 52, in _get_ucs_platform_kwargs     with open(ucs_version_fn) as ucs_file: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpfzfu9ua2/config/.ucs_platform'
This doesn't necessarily need to be fixed, but some clear information about supported releases would be useful. If you'd like to fix it, pop me a message and I'll get the UCS files

Thanks for the suggestion, info was added to the description with v1.0.1


Create zh_cn.json

Looks good! Feel free to improve the translation later if you feel it is necessary


python312Packages.aiolifx: 1.0.9 -> 1.1.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.aiolifx is: Module for local communication with LIFX devices over a LAN
meta.homepage for python312Packages.aiolifx is: https://github.com/aiolifx/aiolifx
meta.changelog for python312Packages.aiolifx is: https://github.com/aiolifx/aiolifx/releases/tag/1.1.1
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.1.1 with grep in /nix/store/y8nzpqz5y0s47f25nppkba857va1w3ma-python3.12-aiolifx-1.1.1
found 1.1.1 in filename of file in /nix/store/y8nzpqz5y0s47f25nppkba857va1w3ma-python3.12-aiolifx-1.1.1

Rebuild report (if merged into master) (click to expand)

10 total rebuild path(s)

10 package rebuild(s)

First fifty rebuilds by attrpath

home-assistant-component-tests.lifx
python311Packages.aiolifx
python311Packages.aiolifx-connection
python311Packages.aiolifx-effects
python311Packages.aiolifx-themes
python312Packages.aiolifx
python312Packages.aiolifx-connection
python312Packages.aiolifx-effects
python312Packages.aiolifx-themes

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/y8nzpqz5y0s47f25nppkba857va1w3ma-python3.12-aiolifx-1.1.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python312Packages.aiolifx https://github.com/r-ryantm/nixpkgs/archive/028c7fb30c4492e189cb9c9b1a91333fd959774a.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/028c7fb30c4492e189cb9c9b1a91333fd959774a#python312Packages.aiolifx

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/y8nzpqz5y0s47f25nppkba857va1w3ma-python3.12-aiolifx-1.1.1
ls -la /nix/store/y8nzpqz5y0s47f25nppkba857va1w3ma-python3.12-aiolifx-1.1.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package failed to build:

home-assistant-component-tests.lifx

16 packages built:

python311Packages.aiolifx
python311Packages.aiolifx-connection
python311Packages.aiolifx-connection.dist
python311Packages.aiolifx-effects
python311Packages.aiolifx-effects.dist
python311Packages.aiolifx-themes
python311Packages.aiolifx-themes.dist
python311Packages.aiolifx.dist
python312Packages.aiolifx
python312Packages.aiolifx-connection
python312Packages.aiolifx-connection.dist
python312Packages.aiolifx-effects
python312Packages.aiolifx-effects.dist
python312Packages.aiolifx-themes
python312Packages.aiolifx-themes.dist
python312Packages.aiolifx.dist

Maintainer pings
cc @netixx for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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

Result of nixpkgs-review pr 340326 at 028c7fb3 run on x86_64-linux 1

1 package failed to build:

home-assistant-component-tests.lifx

8 packages built successfully:

python311Packages.aiolifx
python311Packages.aiolifx-connection
python311Packages.aiolifx-effects
python311Packages.aiolifx-themes
python312Packages.aiolifx
python312Packages.aiolifx-connection
python312Packages.aiolifx-effects
python312Packages.aiolifx-themes