Change sni_hostname_upstream_map_item hostname type

change sni_hostname_upstream_map_item hostname from HostnameFiled to
TextField to support nginx regex feature
fix #2733

And who is going to validate for proper regex? ;)

I would argument it's the users responsibility to fill in a valid value because anything could be valid.
Someone could check things starting with ~ but I think that's a way too nginx specific.

I would argument it's the users responsibility to fill in a valid value because anything could be valid.

Bzzz. Wrong answer. :)
If we do this we need a RegexField type. Here is an example for when a Base64Field type was required. https://github.com/opnsense/core/commit/43bd9812b681
Cheers,
Franco

Ok so we have to provide a RegexField when starting with something regex like ~ and a fallback as TextField when this is not applicable.
The Model Validators are core implementations, so this has to be done first?

Thinking about a regex field type, some points come to my mind:

We currently use PHP and Python to access the model. While PHP uses a Perl-like regex engine, Python uses its own implementation in the re module.
Performance impacts - validating the complete model might get time consuming if we do not limit the complexity of the expressions.
Modifiers: some engines support modifies (such as m, i, etc.), some don't. We need to decide if we want to make these part of the field or not.

@fichtner But what about the CSVListField type used (among other) for regexes (for example, in the unbound dnsbl whitelist. yes, not any syntax, but simple expressions can be used)? )

I would suggest (as an alternative to a general RegexField in core) to use a normal TextField in this case and implement a use-case specific regex validation in the corresponding model.
A general RegexField available in core would imply that it fits all use-cases, which is simply not the case. With the validation in the model, each plugin/service can validate whatever is needed for the specific scenario (like nginx in this case).

@8191 are you aware models can ship their own fieldtypes for specific validations (https://docs.opnsense.org/development/frontend/models_customfields.html)? Sometimes the standards don’t fit and text fields are very generic.

@AdSchellevis I think in this specific case a constraint might be even better suited as the validation depends on another field match_type defining if a regex is expected or a hostname.

@8191 could work, or a similar construction as the aliases use:
https://github.com/opnsense/core/blob/ce656d076bdebb2d53688f877472b1c0e915c5db/src/opnsense/mvc/app/models/OPNsense/Firewall/FieldTypes/AliasContentField.php#L293
I don’t want to interfere with design choices here, just share some options in case you weren’t aware of them.

@kaedwen I've created a draft PR as an idea how regex validation can be accomplished. The PR is not for sni_hostname_upstream_map_item.hostname, but for location.urlpattern: #2754
What is needed also for sni_hostname_upstream_map_item is a field which defines that matchpattern ("=", "~", etc.) to define if a valid regex needs to be specified or a location string.


Some light work on debug output

Current coverage is 52.14% (diff: 57.14%)

Merging #131 into master will decrease coverage by 0.06%

@@             master       #131   diff @@
==========================================
  Files            98         98
  Lines          4934       4927     -7
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           2576       2569     -7
  Misses         2115       2115
  Partials        243        243

Powered by Codecov. Last update 4bda204...2d2115a


[AutoPR compute/resource-manager] Swagger spec update :- Add the missing PATCH for VmssExtension operation

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/7724

/azp run


add AutoRust support for x-ms-enum modelAsString

#413 is for x-ms-enum in general, but this is specifically modelAsString support. When an enumeration is markes as "modelAsString": true, it is extensible.
Currently, the cargo run --package azure_mgmt_compute --example vm_list example fails for me because one of my VMs is a size not in the enum.
An snippet from a spec: Microsoft.Compute\stable\2021-11-01\compute.json
    "HardwareProfile": {
      "properties": {
        "vmSize": {
          "type": "string",
          "enum": [
            "Basic_A0",
            "Basic_A1",
            "Basic_A2",
            "Basic_A3",
            "Basic_A4",
            "Standard_A0",
            "Standard_A1",
            "Standard_A2",

            "Standard_ND6s",
            "Standard_ND12s",
            "Standard_ND24s",
            "Standard_ND24rs",
            "Standard_NV6",
            "Standard_NV12",
            "Standard_NV24"
          ],
          "x-ms-enum": {
            "name": "VirtualMachineSizeTypes",
            "modelAsString": true
          }
        },

The generated code looks like this:
pub mod hardware_profile {
    use super::*;

    #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
    pub enum VmSize {
        #[serde(rename = "Basic_A0")]
        BasicA0,
        #[serde(rename = "Basic_A1")]
        BasicA1,
        #[serde(rename = "Basic_A2")]

We need a way to deserialize and deserialize other string values using serde.

I looked at this a while back and concluded that it wasn't possible with the standard serde features, and that we'd probably need to generate explicit serializer/deserializer code.
However, I just looked again, and found the serde-enum-str crate which looks promising:
https://stackoverflow.com/questions/57469527/how-can-i-support-an-unknown-or-other-value-for-a-serde-enum
https://docs.rs/serde-enum-str/latest/serde_enum_str/
Would you be happy for the additional enum value to be Other(String)?

Bah... I just implemented this, only to find that:

there are some enums that have an Other value
there are some enums that have an Error value with clashes with an Error type used within the serde-enum-str macros!

Think I'll try replacing serde-enum-str with the workaround at the end of: https://github.com/serde-rs/serde/issues/912.
That will fix my Error error.  Then we just need to decide how to resolve the clash between Other and the new field Other(String).  Possibly alternative names for the new field...

OtherValue(String)
Unknown(String)
Unrecognized(String)

Any alternative suggestions welcome.
I haven't yet checked whether any of these clash with existing enum values!  I guess OtherValue(String) has least chance of clashing.

#769 used UknownValue. That works for me.


simulation px4 tutorial

Good evening,
There is a little guide to use your ros package in a simulation in gazebo? I want to use this package to setup a drone (based on px4) in offboard mode, that use 4 ranging to estimate its position.
I'm newby of this world, and is difficult to understand all step that i have to follow.
Thank you very much for your consideration and time

Hi,
We used the ROS hector_quadrotor package for simulation in gazebo.  You my check the ROS tutorial in the following link. It seems that it only support ROS kinetic currently.
http://wiki.ros.org/hector_quadrotor
Once you set up the hector_quadrotor package, the UWB gazebo simulation can be run directly.

thank you for your answer dear. I'm reading this repo :)
But, with the classical demo of gazebo with iris quadcopter, is possible to use this uwb repo? Because i'm using ros melodic on ubuntu 18.04 LTS

I just included a header file <random.h> in the file 'uwb_deriver_gazebo.cpp'.
At least on my machine, it has no compelling issue on Ubuntu 18.04 now.
But I think you need to find how to use hector_quadrotor on Ubuntu 18.04 also.

thank you very much. I'm try to understand how to solve this problem, or if there is a way to use with standard example provided by px4 with IRIS quadcopter :)

Sorry, I am not familiar with this. 😂


Disconnect doesn't disconnect a microphone

Context
OS: Windows 11 10.0.22631.3007
The version of the ToothTray: ToothTray v0.2
Bluetooth headsets that were tested: Jabra Evolve 75e, Sony WH-1000XM5
Problem description
After disconnecting an audio device using the ToothTray, the device doesn't disconnect completely - the microphone is still left connected:
Streps to reproduce

Connect to the headset device via the ToothTray or via Bluetooth & devices Windows dialog
Audio and Microphone get connected.

Disconnect the device via ToothTray
Only the audio part of the device is disconnected. The microphone is still left connected.

As pointed out by a comment in the linked issue, this app was designed to only enumerates audio capture devices (shown as stereo devices).
Can you confirm if this is a Win 11 specific issue? When I was testing on Win 10, connecting a headset won't automatically connect its mic. The mic is connected only when the device is selected as a hands-free device in Windows

@m2jean,

this app was designed to only enumerates audio capture devices (shown as stereo devices).

Thank you for the explanation. However, on Windows 11, at least, if I connect the headset using the ToothTray the microphone gets connected as well. Then, when I disconnect, only the audio part of the device is disconnected. I have updated the Streps to reproduce section to make this clearer.

Can you confirm if this is a Win 11 specific issue?

Unfortunately, I don't have Windows 10 to test if ToothTray works there.

this app was designed to only enumerates audio capture devices

Could you please consider adding a feature to ToothTray to connect/disconnect a microphone for headset devices?

@m2jean,
Your advice to use eAll in the BluetoothAudioDeviceEnumerator::EnumerateAudioDevices() function worked.
Thank you very much for the solution.
I have adopted your implementation in my BluetoothDevicePairing utility: AudioDeviceEnumerator.cs

@PolarGoose I haven't gotten a chance to try it out myself with a Win 11 machine but glad it works


[5.9] Fix rendering issue for links with special characters

Cherry-pick of https://github.com/apple/swift-docc/pull/532

Explanation: Fix an issue where symbol links and documentation links containing characters not allowed in URL paths or URL fragments resolved successfully but didn't render as expected on the page.
Scope: Links with special characters.
Radar: rdar://85531439
Risk: Low.
Testing: New tests verify that links with symbol links and documentation links with special characters in path and fragment components render as expected.
Reviewer: @daniel-grumberg

@swift-ci please test

@swift-ci please test


drawer - visual issue v2.0.0beta1

Hi,
Drawer had a strange border, I think is not hard to fix it as the 'drawer' from the right side looks fine.

@maoamid thanks for the report. What Android version is the lenovo phone running on?

We could reproduce the problem and will fix it asap.

We have fixed the issue and it will be available in the next nightly build.

The Android version is 4.4.2
On note: I don't know if is a bug or not but, like in my screenshots, the tabris.device show me a lower resolution than this testing device (480x854 @ 218 ppi). It's true that if a multiply the values from tabris.device.get("screenHeight/") && tabris.device.get("screenWidth") I got the same resolution, but I suspect that the overall visual quality isn;t the best? (Sorry if i'm wrong, I didn't understand very well the dpi/ppi concept and how is implemented in tabris)

The device resolution is the resolution in pixels whereas the the scale factor allows you to scale your dimensions to be device density independent.


redpajama arxiv

A bash script for downloading the redpajama version of arxiv and splitting it into train/val/test.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Zhangir Azerbayev seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


fix: ignore server managed fields for SSA matching

closes: #2290

Not sure why it still doesn't like the formatting...

Not sure why it still doesn't like the formatting...

on the main it is still mvn clean install that should do the job, but pushed a formatted version


Second Waybar on Hyprland doesn't show up

Hey there, pretty new to Linux, configuring stuff etc
I just installed Waybar and started configuring it starting from the "Minimal Configuration" in the Wiki. I found out that it's possible to setup a second bar inside the same config file by just using position. It's not working for me right now. I also found in some older issues that you can do it manually but it's a bit complicated for me that i just started out :(
Config:
{
	"name": "topbar",
	"position": "top",
	"layer": "top",
	"modules-left": ["hyprland/workspaces", "hyprland/mode"],
	"modules-center": ["hyprland/window"],
	"modules-right": ["battery", "block"],
	"hyprland/window": {
		"max-length": 50

},
	"battery": {
		"format": "{capacity}%",
	},
	"clock": {
		"format-alt": "{:%a, %d. %b %H:%M}"

	}

}

{
	"name": "bottombbar",
	"mode": "dock",
	"position": "bottom",
	"layer": "top",
	"height": 30,
}

Thank you in advance, let me know if you guys need something else to understand better the problem :)

Ok, for others with the same problem, I was wrong; it's pretty easy to do it manually. Create a new config file in ~/.config/waybar/. This is the specific config file for your second status bar. After that, open your Hyprland config file, usually located in ~/.config/hypr/hyprland.conf. Now you can set up a new process for the second status bar with exec-once waybar -c. After the -c, type the location of the file. Now your second Waybar process will load when you start Hyprland. Also, if someone knows why I can't do it with a single config file, just let me know :)

Hi,
you were missing a comma at the closing bracket of the top bar, it should work now (I already added it on the quoted code, so you can just copy the code below)

Hey there, pretty new to Linux, configuring stuff etc
I just installed Waybar and started configuring it starting from the "Minimal Configuration" in the Wiki. I found out that it's possible to setup a second bar inside the same config file by just using position. It's not working for me right now. I also found in some older issues that you can do it manually but it's a bit complicated for me that i just started out :(
Config:
{
	"name": "topbar",
	"position": "top",
	"layer": "top",
	"modules-left": ["hyprland/workspaces", "hyprland/mode"],
	"modules-center": ["hyprland/window"],
	"modules-right": ["battery", "block"],
	"hyprland/window": {
		"max-length": 50
    	},
	"battery": {
		"format": "{capacity}%",
	},
	"clock": {
		"format-alt": "{:%a, %d. %b %H:%M}"
	}
},

{
	"name": "bottombbar",
	"mode": "dock",
	"position": "bottom",
	"layer": "top",
	"height": 30,
}

Thank you in advance, let me know if you guys need something else to understand better the problem :)

Hey there, I tried to add the comma at the end of the 1st bar section but nothing really happened

Maybe the square brackets containing all the config are missing?
e.g.
[
	{
		"name": "topbar",
		"position": "top",
		...
	},
	{
		"name": "bottombar",
		"position": "bottom",
		...
	}
]


Support passing .geojson to gl-draw

done in https://github.com/mapbox/gl-draw/commit/a9111c73a737a585a0004034bfa7d115f2393ff3


Fix sub-graph.mdx

If I'm understanding the remaining docs for this plugin and the types correctly then the initial example on the subgraphs page is incorrect. This PR fixes that.

Thanks for working on this!  Looks like I forgot some renames when getting this ready for release.  I think some of the options changed here were correct.  The options available can be seen here: https://github.com/hayes/pothos/blob/main/packages/plugin-sub-graph/src/global-types.ts

Thanks for fixing this!


[VMOE]Pre-trained models based on ImageNet-1k instead of ImageNet-21k

The VMOE model is great. I wonder when the pre-trained config would be made available? The pre-trained models  are all based on the ImageNet-21k data, which makes sense and great. But could you guys also release the pre-trained models based on ImageNet-1k? That could be very helpful for benchmark and comparisons.
Thanks and looking forward to your responses.

The config file that produced the S/32 model with 2 MoE layers has been open sourced.

@jpuigcerver I would like to ask if you trained a similar size non-MoE version of ViT-S/32 on ImageNet-1k dataset to compare its performance with the MoE version that you released ?
I wonder if the non-MoE version will have super performance than the MoE version due to the Imagenet-1k dataset size being very small ? Any guess or comment on that ?

@jacoblam3112 we didn't train a dense ViT-S/32 ourselves, but we compared with results from previously published dense models trained on ImageNet-21k, in Figure 38 from the paper https://arxiv.org/pdf/2106.05974.
On ImageNet-1k (~1.3M images), our original MoE probably works worse than a dense model because of overfitting. I haven't tried we more recent techniques (newer routing algorithms, training recipes, etc), though.


chore: bumped base image digest

Codecov Report

Merging #443 (091c7ca) into main (6e57e02) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #443   +/-   ##
=======================================
  Coverage   69.88%   69.88%
=======================================
  Files          17       17
  Lines         943      943
=======================================
  Hits          659      659
  Misses        263      263
  Partials       21       21


Migrate Quat reflection strategy from "value" to "struct"

Objective
The Bevy ecosystem currently reflects Quat via "value" rather than the more appropriate "struct" strategy. This behaviour is inconsistent to that of similar types, i.e. Vec3. Additionally, employing the "value" strategy causes instances of Quat to be serialised as a sequence [x, y, z, w] rather than structures of shape { x, y, z, w }.
The comments surrounding the applicable code give context and historical reasons for this discrepancy:
// Quat fields are read-only (as of now), and reflection is currently missing
// mechanisms for read-only fields. I doubt those mechanisms would be added,
// so for now quaternions will remain as values. They are represented identically
// to Vec4 and DVec4, so you may use those instead and convert between.

This limitation has since been lifted by the upstream crate, glam.
Solution
Migrating the reflect strategy of Quat from "value" to "struct" via replacing impl_reflect_value with impl_reflect_struct resolves the issue.

Changelog
Migrated Quat reflection strategy to "struct" from "value"
Migration Guide
Changed Quat serialization/deserialization from sequences [x, y, z, w] to structures { x, y, z, w }.

only a Quat that specialises into SSE2/scalar which is why the tests are failing, at least when SSE2 is available.

This was previously discussed in https://github.com/bevyengine/bevy/pull/5803. https://github.com/bevyengine/bevy/pull/7184 should offer a way to fix that

Not sure whether to:

Feature-gate the tests i.e. write tests for both when SSE2 is and is not available.
Change the tests to use TypedReflectSerializer/TypedReflectDeserializer to avoid the specialisations "leaking".
Drop the tests for now. Actually solve the issue elsewhere and return to testing once the type paths are stable.

Can you try to see how it would work with a stable type path?

Can you try to see how it would work with a stable type path?

Seconding this: let's try this before merging :)

@pyrotechnick, can you please rebase or otherwise resolve merge conflicts? This is no longer blocked.

I've resolved the merge conflicts; can y'all verify that I did so correctly?

Looks like it needs formatting following the manual merge conflict resolution.

Putting this up for adoption; there's just a bit more work needed to get over the finish line.

I've adopted this PR for further the final touches in #10068.


aindex + Chroma: aindex function fails due to missing delete method implementation

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
from langchain.indexes import SQLRecordManager, aindex
from langchain_community.document_loaders.generic import GenericLoader
from langchain_community.document_loaders.parsers.language.language_parser import LanguageParser
from langchain_ollama import OllamaEmbeddings
from langchain_chroma import Chroma

loader = GenericLoader.from_filesystem(
    dir_path,
    suffixes=[".py"],
    parser=LanguageParser(None, 10),
    show_progress=True,
)
vector_store = Chroma(
    collection_name=collection_name,
    embedding_function=OllamaEmbeddings(model="nomic-embed-text"),
    persist_directory="./chroma_cache",
)
namespace = f"chromadb/{collection_name}"

record_manager = SQLRecordManager(
    namespace,
    db_url="sqlite:///record_manager_cache.sqlite",
)

async def main():
    await record_manager.create_schema()
    results = await aindex(
        docs_source=loader,
        record_manager=record_manager,
        vector_store=vector_store,
        cleanup="incremental",
        source_id_key="source",
    )

    print("done indexing")
    print(results)
    print("-----------------")

asyncio.run(main())

Error Message and Stack Trace (if applicable)
File "/home/artem/.local/lib/python3.12/site-packages/langchain_core/indexing/api.py", line 521, in aindex
raise ValueError("Vectorstore has not implemented the delete method")
ValueError: Vectorstore has not implemented the delete method
From langchain_core/indexing/api.py
# If it's a vectorstore, let's check if it has the required methods.
    if isinstance(destination, VectorStore):
        # Check that the Vectorstore has required methods implemented
        # Check that the Vectorstore has required methods implemented
        methods = ["adelete", "aadd_documents"]

        for method in methods:
            if not hasattr(destination, method):
                raise ValueError(
                    f"Vectorstore {destination} does not have required method {method}"
                )

        if type(destination).adelete == VectorStore.adelete:
            # Checking if the vectorstore has overridden the default delete method
            # implementation which just raises a NotImplementedError
            raise ValueError("Vectorstore has not implemented the delete method")

Description
I am trying to follow the documentation examples but it seems that aindex function is broken. Can someone tell about the correctness of the following check:
  if type(destination).adelete == VectorStore.adelete:
            # Checking if the vectorstore has overridden the default delete method
            # implementation which just raises a NotImplementedError
            raise ValueError("Vectorstore has not implemented the delete method")

How is that supposed to work with langchain_chroma ?
It works just fine with index and doesn't want to work with aindex
System Info
$ python -m langchain_core.sys_info
System Information

OS:  Linux
OS Version:  #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024
Python Version:  3.12.3 | packaged by conda-forge | (main, Apr 15 2024, 18:38:13) [GCC 12.3.0]

Package Information

langchain_core: 0.3.6
langchain: 0.3.1
langchain_community: 0.3.1
langsmith: 0.1.128
langchain_chroma: 0.1.4
langchain_ollama: 0.2.0
langchain_text_splitters: 0.3.0
langgraph: 0.2.34
langserve: 0.3.0

Other Dependencies

aiohttp: 3.10.5
async-timeout: 4.0.3
chromadb: 0.5.11
dataclasses-json: 0.6.7
fastapi: 0.115.0
httpx: 0.27.2
jsonpatch: 1.33
langgraph-checkpoint: 2.0.1
numpy: 1.26.4
ollama: 0.3.3
orjson: 3.10.7
packaging: 24.1
pydantic: 2.9.2
pydantic-settings: 2.5.2
PyYAML: 6.0.2
requests: 2.32.3
SQLAlchemy: 2.0.35
sse-starlette: 1.8.2
tenacity: 8.5.0
typing-extensions: 4.12.2

If you're triggering this condition:
        if type(destination).adelete == VectorStore.adelete:
            # Checking if the vectorstore has overridden the default delete method
            # implementation which just raises a NotImplementedError
            raise ValueError("Vectorstore has not implemented the delete method")

It looks like it's b/c the underlying vecotrstore has not implemented an async delete. This is a bug/missing feature in the vectorstore not in the aindex function

Currently, Chroma implements a synchronous delete method as shown:
class Chroma(VectorStore):
    def delete(self, ids: Optional[List[str]] = None, **kwargs: Any) -> None:
        """Delete by vector IDs.

        Args:
            ids: List of ids to delete.
            kwargs: Additional keyword arguments.
        """
        self._collection.delete(ids=ids, **kwargs)

Upon closer inspection, the Chroma vector store doesn't provide any asynchronous functionality, even though its docstring suggests otherwise. However, Chroma offers an asynchronous ClientApi that could be leveraged to implement this.
We’re interested in investigating this further and submitting a PR to address it.

Addressed by #28345


♻ (next-notion) NICE-47 default + custom config [b]

This ejects the custom code from ./app/(notion)/(utils) to next-notion and the following refactor:
next-notion
Utilize Notion API better instead of a file for each Component, understand what is re-used across Components.

heading_1|2|3, paragraph and others are all RichText

Pass only the things that would make them different component|element|className

This should hold no styling information where possible and only basic HTML formatting

Please Note: Emoji does not follow that pattern and will figure that out later 😄
I think instead of that, people can turn it off (opt-out of a11y not in)

Ability to pass Custom Components
Issue right now is secondary nested components (ListBulleted|ListColumn) so we pass blocks to the secondary 😑

Not ideal but good enough for

remove cache from the equation that should be handled if wanted elsewhere

a site calling next-notion

[x] Ability to pass className based on your styling preferences
[x] Ability to pass element based on your preferences (heading_1 => h6 for example)
[x] Ability to pass your own custom Component instead

Added benefit, if next-notion does not have a Notion Item then this can work
Currently am passing a highly customized Embed|Image|Video in this manner

getSegmentInfo aye, wrap the getSegmentInfo and pass cache.

Not the swiftest way but whatever this is getting a bit in the weeds here

Notion.tsx
You would create this component (currently):
import { NotionBlocks } from 'next-notion/src/Notion.Blocks'

import { blocks } from './Notion.Config'

// @todo(types)
function Notion({ data }: { data: any }) {
  return <NotionBlocks data={data} blocks={blocks} />
}

export { Notion }

And call it from your src/app/... data calls:
<Blocks data={data?.blocks} />

Notion.Config.tsx
For any block that you want to match to Notion you get the Notion name (i.e., paragraph) and create an object with it as the key and it holds component?|element?|className?:
  paragraph: {
    className: 'mb-4 text-lg font-normal leading-normal break-words',
  },

This will merge against the default configuration in next-notion and this is basically an override or a populate if not exist.
If you do not pass a component, you get next-notion version, same with element and className (empty in next-notion).

So most times you just need to update the className

And you can provide your own custom componets:
  image: {
    component: lazy(() => import('./Blocks/Image')),
    element: 'img',
    className: '',
  },

This pull request has been deployed to Vercel.

Latest commit:
144e17b

✅ Preview:
https://jeromefitzgerald-nx74e9gvv-jerome5.vercel.app

🔍 Inspect:
https://vercel.com/jerome/jeromefitzgerald/6iFGBzX8BuHrYFQQ1NZTP1n6mphw

View Workflow Logs


#2596 #2667 fix sync certs tasks

Certificates and keys wasn't synchronized when cert_management is set to  script. Especially the new ones: front-proxy-ca* and service-account-key.pem
I made a review of the usage of the different facts set in roles/kubernetes/secrets/tasks/check-certs.yml

only in check-certs

kubecert_master
kubecert_node

both check_certs_script & check_certs_vault:

gen_certs

only check_certs_script:

gen_master_certs
gen_node_certs
sync_certs

So I moved sync_certs to check_certs_script and used the fact *_certs (list of certificates) to check if they are present on masters and nodes.
Questions:

run_once: true seems to have the same goal as delegate_to: "{{groups['kube-master'][0]}}", should I make this keyword uniform among the tasks?
I have only modified files in roles/kubernetes/secrets/tasks directory, should I copy these changes to the other directories? (i.e. extra_playbooks/roles/kubernetes/secrets/tasks)

Thanks in advance for your feedbacks.

I have successfully signed the CNCF Individual Contributor License Agreement ;)

ci check this

there is something wrong with this PR, can you make new one with correct email? or fix this ?

Sorry, maybe it's because I amend the commit to add checksum comparison and push force to my repository branch.
Does this MR work better? #2693
Thanks and sorry for the inconvenience.


Add ufw to k3s known issues

Addresses rancher/k3s#2059 by adding information on the modifications needed to run k3s with ufw enabled.

Thank you! @erikwilson @Oats87 can you review this?

I can run some tests and push the resulting iptables changes here. I was
under the impression that the original issue had delved into the details,
but it doesn’t hurt to check it again.

I can run some tests and push the resulting iptables changes here. I was under the impression that the original issue had delved into the details, but it doesn’t hurt to check it again.

That'd be great if you could do that -- the original issue seemed to be more of a "It happens to work with these rules" but I've had to fight these system-level firewalls a few times on issues like this, where certain things work but others don't.

@SheilaghM @davidnuzik Should we close this PR, then open an issue in the K3s repo for further investigation?


Windows error

Launching lib\main.dart on Windows in debug mode...
Nuget is not installed.
Attempting to download nuget.
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LEPTONICA_LIBRARY
linked by target "flusseract" in directory D:/Flutter projects/Dop_Software_Code_New_Old/DESKTOP/soft_desk/windows/flutter/ephemeral/.plugin_symlinks/flusseract/src
TESSERACT_LIBRARY
linked by target "flusseract" in directory D:/Flutter projects/Dop_Software_Code_New_Old/DESKTOP/soft_desk/windows/flutter/ephemeral/.plugin_symlinks/flusseract/src
CMake Generate step failed.  Build files cannot be regenerated correctly.
Building Windows application...                                    99.5s
Error: Unable to generate build files

same problem

same problem


Compilation error

Problem encountered on https://dotnet.microsoft.com/learn/ml-dotnet/get-started-tutorial/consume
Operating System: windows
Provide details about the problem you are experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
I'm using Visual Studio 2019 in Windows 10 (64-bit) operating system. I compiled the generated code as instructed from the https://dotnet.microsoft.com/learn/ml-dotnet/get-started-tutorial/consume page. The compilation error is below:
Severity	Code	Description	Project	File	Line	Suppression State
Error	NETSDK1004	Assets file 'I:\Projects\Sixwise\HRI_Dev\ResearchAndDevelopment\myMLApp\obj\project.assets.json' not found. Run a NuGet package restore to generate this file.	myMLApp	C:\Program Files\dotnet\sdk\3.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets	234
Severity	Code	Description	Project	File	Line	Suppression State
Error	NETSDK1004	Assets file 'I:\Projects\Sixwise\HRI_Dev\ResearchAndDevelopment\myMLApp\myMLAppML.Model\obj\project.assets.json' not found. Run a NuGet package restore to generate this file.	myMLAppML.Model	C:\Program Files\dotnet\sdk\3.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets	234
Hope to hear from you soon. Thank you.

It seems that you need to run NuGet restore first before building. Try running nuget restore in Visual Studio and your problem should be gone.

Did restoring NuGet's resolve the build issue?

Sorry for the late reply. Yes doing NuGet restore solved the problem. I followed the Restore packages automatically using Visual Studio instruction from https://docs.microsoft.com/en-us/nuget/consume-packages/package-restore link. Thank you.
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Xiaoyun Zhang<EMAIL_ADDRESS>Sent: Tuesday, December 3, 2019 3:58:05 AM
To: dotnet/machinelearning-modelbuilder<EMAIL_ADDRESS>Cc: bespiloy<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [dotnet/machinelearning-modelbuilder] Compilation error (#390)
It seems that you need to run NuGet restore first before building. Try running nuget restore in Visual Studio and your problem should be gone.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/dotnet/machinelearning-modelbuilder/issues/390?email_source=notifications&email_token=AA3PC4KUBCZKE4K37FYXBUTQWVSE3A5CNFSM4JS326S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFUWQKI#issuecomment-560556073, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA3PC4NAEWR3HBZXOHVZ54DQWVSE3ANCNFSM4JS326SQ.

Awesome! Closing as resolved.


I think onRepeatEvent() is not being called properly.

foregroundTaskOptions: ForegroundTaskOptions(
eventAction: ForegroundTaskEventAction.repeat(300000),
autoRunOnBoot: true,
autoRunOnMyPackageReplaced: true,
allowWakeLock: false,
allowWifiLock: false,
),
I wrote it as above and onRepeatEvent() is written below, but saveSleepBackupData() is not called.
void onRepeatEvent(DateTime timestamp) async {
await sleepDataBloc.saveSleepBackupData(299);
}

what version ?
i think  eventAction is not exists in latest version.
foregroundTaskOptions: const ForegroundTaskOptions(
        interval: 300000,
        isOnceEvent: false,
        autoRunOnBoot: true,
        autoRunOnMyPackageReplaced: true,
        allowWakeLock: false,
        allowWifiLock: false,
      ),

I use the latest version 8.6.0

please tell me the OS version of the device you tested.
and, check if the same problem occurs even if set the allowWakeLock option to true.
if the device enters doze mode, the onRepeatEvent callback is likely to be delayed.
reduce delay, request to ignore battery optimization.
// Android 12+, there are restrictions on starting a foreground service.
//
// To restart the service on device reboot or unexpected problem, you need to allow below permission.
if (!await FlutterForegroundTask.isIgnoringBatteryOptimizations) {
  // This function requires `android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS` permission.
  await FlutterForegroundTask.requestIgnoreBatteryOptimization();
}

please tell me the OS version of the device you tested.
and, check if the same problem occurs even if set the allowWakeLock option to true.
if the device enters doze mode, the onRepeatEvent callback is likely to be delayed.
reduce delay, request to ignore battery optimization.
// Android 12+, there are restrictions on starting a foreground service.
//
// To restart the service on device reboot or unexpected problem, you need to allow below permission.
if (!await FlutterForegroundTask.isIgnoringBatteryOptimizations) {
  // This function requires `android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS` permission.
  await FlutterForegroundTask.requestIgnoreBatteryOptimization();
}

The OS version I use is Android 14, and I have already set the battery limit option.

@cho-4
You need to check whether the saveSleepBackupData function is not working or the onRepeatEvent callback is not firing.
Please check whether the notification text is updated in the onRepeatEvent callback.
  int _count = 0;

  @override
  void onRepeatEvent(DateTime timestamp) {
    // update notificationText
    FlutterForegroundTask.updateService(
      notificationText: 'count: $_count',
    );

    // your function
    try {
      sleepDataBloc.saveSleepBackupData(299);
    } catch (error) {
      print('error: $error');
    }

    _count++;
  }

Please provide a sample project so i will check the problem.

As you said, I changed the allowWakeLock option to true and it seems to work properly. Thanks for the reply

And is there a way to make onRepeatEvent() work not immediately after it changes to the background, but after the time set in repeat() after it changes to the background? It's a bit different from my intention to run it once as soon as it changes to the background.

@cho-4

And is there a way to make onRepeatEvent() work not immediately after it changes to the background, but after the time set in repeat() after it changes to the background? It's a bit different from my intention to run it once as soon as it changes to the background.

ok. i have confirmed the issue on Android platform. I will tell you after fixing the issue.

@cho-4
check latest version

@Dev-hwang
thank you so much! And would you mind if I ask another question?
I use the code below in main.dart, but is it possible to use a singleton object in taskhandler? This is because an error occurred saying that the variable was not initialized even though it was clearly already a saved variable.
class MyTaskHandler extends TaskHandler {
SleepDataBloc sleepDataBloc = SleepDataBloc();
@override
void onStart(DateTime timestamp) {
print("저장 반복 시작");
}
@override
void onRepeatEvent(DateTime timestamp) {
sleepDataBloc.saveSleepBackupData(100);
}
@override
void onDestroy(DateTime timestamp) {
print('foreground service end');
}
void onNotificationPressed() {
FlutterForegroundTask.launchApp('/');
print('onNotificationPressed');
}
}

@cho-4
No. The singleton instance created in TaskHandler and the singleton instance created in the Main app are different.

Main app runs in a space called Main(UI) Isolate.
TaskHandler runs in a space called Background Isolate.

All Dart code runs in isolates, which are similar to threads, but differ in that isolates have their own isolated memory. They do not share state in any way, and can only communicate by messaging. By default, Flutter apps do all of their work on a single isolate – the main isolate.

@Dev-hwang
Ah, I see, thanks for the reply. I'll look for another way.


Validate and load VHIO-CRC exome data

Description:
As a PDXFinder developer, I want all the possible data supporting the models to be in the resource.
GDrive: https://drive.google.com/drive/folders/1F4Y8UJSkiyPtSiLKL5SBNNxzEsNnApAp
Jira ticket PDXI-791
Acceptance criteria:

[ ] sample file received from the platform
[ ] exome data loaded

Define priority with Emilie-
Missing the sample metadata form- need the provider to provide it.

email sent

sampleplatform_template file received
@Afollet in communication on the data


Master train 200

Includes:
#1748
#1789

@mesosphere-mergebot bump-ee

The number of commits could be squashed to few meaningful ones in #1748.
I think, it's the reviewers' mistake that we didn't inform the author before applying ship-it on that PR.


Address

Is it possible to return address instead cities? I need to use autocomplete for retrieve a complete address. Can anyone help me?

I got it...
Instead of '(address)' just use 'address'


Is this project minimally active or it is better to find another one?

The project looks really good but as far as I start using it, im finding some basic things like gettin the filters applied or manipulated data, that seems to be impossible to workaround.
It looks like its been abandoned by the owner, but some PRs take course.
Does it worth it to use or contribute?

Hey Nico, yeah apologies — it's not been abandoned, I still have intentions to work on it and make some major improvements, but life and the real job have sucked up all available time. The original author himself unfortunately doesn't have much time either, but the issue board is monitored.
I really hope to make some time available in August to get Typescript types implemented, and make some improvements to the codebase so we can do some internal refactoring. But honestly, no promises — there's quite a lot to do, and there's really no one else 'active' on this project but me

Thanxs for the reply! Its good to hear it is not abandoned, Im not the typescript kinda but ill take a look and see if can help


Shared Node Idempotency and Pool Deletion Issues when using Consul SD

Environment

Application Services Version: 3.29.0-3
BIG-IP Version: <IP_ADDRESS>.0.0.4

Summary
When trying to delete pools using Consul service discovery one of the following happens:

Consistent - The pool removed from the declaration is not deleted on the device.  The trace shows a delete operation in the diff but the pool remains on the device
Intermittent - The operation fails with the error message "01070110:3: Node address '/Common/x.x.x.x' is referenced by a member of pool '/tenant/app/poolname'."

This issue is impacting a production environment and new deployments have been halted to prevent inconsistent configs and cascading errors in the customer environment.
Steps To Reproduce
Steps to reproduce the behavior:

Submit the following declaration:

{
    "class": "ADC",
    "schemaVersion": "3.29.0",
    "id": "9b1ab5b6-124d-4a66-9eb9-387eea3efaec",
    "updateMode": "selective",
    "deleteissue": {
        "class": "Tenant",
        "app": {
            "class": "Application",
            "template": "generic",
            "P_wiki": {
                "class": "Pool",
                "loadBalancingMode": "least-connections-member",
                "minimumMembersActive": 0,
                "members": [
                    {
                        "servicePort": 30034,
                        "addressDiscovery": "consul",
                        "autoPopulate": true,
                        "uri": "http://<IP_ADDRESS>:8082/catalog/nodes",
                        "updateInterval": 1,
                        "rejectUnauthorized": false,
                        "shareNodes": true
                    }
                ]
            },
            "P_wiki2": {
                "class": "Pool",
                "loadBalancingMode": "least-connections-member",
                "minimumMembersActive": 0,
                "members": [
                    {
                        "servicePort": 30034,
                        "addressDiscovery": "consul",
                        "autoPopulate": true,
                        "uri": "http://<IP_ADDRESS>:8082/catalog/nodes",
                        "updateInterval": 1,
                        "rejectUnauthorized": false,
                        "shareNodes": true
                    }
                ]
            },
            "P_wiki3": {
                "class": "Pool",
                "loadBalancingMode": "least-connections-member",
                "minimumMembersActive": 0,
                "members": [
                    {
                        "servicePort": 30034,
                        "addressDiscovery": "consul",
                        "autoPopulate": true,
                        "uri": "http://<IP_ADDRESS>:8082/catalog/nodes",
                        "updateInterval": 1,
                        "rejectUnauthorized": false,
                        "shareNodes": true
                    }
                ]
            },
            "P_wiki4": {
                "class": "Pool",
                "loadBalancingMode": "least-connections-member",
                "minimumMembersActive": 0,
                "members": [
                    {
                        "servicePort": 30034,
                        "addressDiscovery": "consul",
                        "autoPopulate": true,
                        "uri": "http://<IP_ADDRESS>:8082/catalog/nodes",
                        "updateInterval": 1,
                        "rejectUnauthorized": false,
                        "shareNodes": true
                    }
                ]
            },
            "P_wiki5": {
                "class": "Pool",
                "loadBalancingMode": "least-connections-member",
                "minimumMembersActive": 0,
                "members": [
                    {
                        "servicePort": 30034,
                        "addressDiscovery": "consul",
                        "autoPopulate": true,
                        "uri": "http://<IP_ADDRESS>:8082/catalog/nodes",
                        "updateInterval": 1,
                        "rejectUnauthorized": false,
                        "shareNodes": true
                    }
                ]
            },
            "P_wiki6": {
                "class": "Pool",
                "loadBalancingMode": "least-connections-member",
                "minimumMembersActive": 0,
                "members": [
                    {
                        "servicePort": 30034,
                        "addressDiscovery": "consul",
                        "autoPopulate": true,
                        "uri": "http://<IP_ADDRESS>:8082/catalog/nodes",
                        "updateInterval": 1,
                        "rejectUnauthorized": false,
                        "shareNodes": true
                    }
                ]
            }
        }
    }
}

Observe the following error response:

    "results": [
        {
            "code": 200,
            "message": "success",
            "lineCount": 26,
            "host": "localhost",
            "tenant": "deleteissue",
            "runTime": 2154
        }
    ]

Delete a pool and POST:

{
    "class": "ADC",
    "schemaVersion": "3.29.0",
    "id": "9b1ab5b6-124d-4a66-9eb9-387eea3efaec",
    "updateMode": "selective",
    "deleteissue": {
        "class": "Tenant",
        "app": {
            "class": "Application",
            "template": "generic",
            "P_wiki": {
                "class": "Pool",
                "loadBalancingMode": "least-connections-member",
                "minimumMembersActive": 0,
                "members": [
                    {
                        "servicePort": 30034,
                        "addressDiscovery": "consul",
                        "autoPopulate": true,
                        "uri": "http://<IP_ADDRESS>:8082/catalog/nodes",
                        "updateInterval": 1,
                        "rejectUnauthorized": false,
                        "shareNodes": true
                    }
                ]
            },
            "P_wiki2": {
                "class": "Pool",
                "loadBalancingMode": "least-connections-member",
                "minimumMembersActive": 0,
                "members": [
                    {
                        "servicePort": 30034,
                        "addressDiscovery": "consul",
                        "autoPopulate": true,
                        "uri": "http://<IP_ADDRESS>:8082/catalog/nodes",
                        "updateInterval": 1,
                        "rejectUnauthorized": false,
                        "shareNodes": true
                    }
                ]
            },
            "P_wiki3": {
                "class": "Pool",
                "loadBalancingMode": "least-connections-member",
                "minimumMembersActive": 0,
                "members": [
                    {
                        "servicePort": 30034,
                        "addressDiscovery": "consul",
                        "autoPopulate": true,
                        "uri": "http://<IP_ADDRESS>:8082/catalog/nodes",
                        "updateInterval": 1,
                        "rejectUnauthorized": false,
                        "shareNodes": true
                    }
                ]
            },
            "P_wiki4": {
                "class": "Pool",
                "loadBalancingMode": "least-connections-member",
                "minimumMembersActive": 0,
                "members": [
                    {
                        "servicePort": 30034,
                        "addressDiscovery": "consul",
                        "autoPopulate": true,
                        "uri": "http://<IP_ADDRESS>:8082/catalog/nodes",
                        "updateInterval": 1,
                        "rejectUnauthorized": false,
                        "shareNodes": true
                    }
                ]
            },
            "P_wiki5": {
                "class": "Pool",
                "loadBalancingMode": "least-connections-member",
                "minimumMembersActive": 0,
                "members": [
                    {
                        "servicePort": 30034,
                        "addressDiscovery": "consul",
                        "autoPopulate": true,
                        "uri": "http://<IP_ADDRESS>:8082/catalog/nodes",
                        "updateInterval": 1,
                        "rejectUnauthorized": false,
                        "shareNodes": true
                    }
                ]
            }
        }
    }
}

Observe the result:
Results are attached due to their size.
483-results.txt

The pool "P_wiki6" still exists on the device:

root@(asm1-np-vdca)(cfg-sync Disconnected)(Active)(/Common)(tmos)# list ltm pool /deleteissue/app/
Configuration Items:
  /deleteissue/app/P_wiki    /deleteissue/app/P_wiki2   /deleteissue/app/P_wiki3   /deleteissue/app/P_wiki4   /deleteissue/app/P_wiki5   /deleteissue/app/P_wiki6
root@(asm1-np-vdca)(cfg-sync Disconnected)(Active)(/Common)(tmos)# list ltm pool /deleteissue/app/P_wiki6
ltm pool /deleteissue/app/P_wiki6 {
    load-balancing-mode least-connections-member
    members {
        <IP_ADDRESS>:30034 {
            address <IP_ADDRESS>
        }
        <IP_ADDRESS>:30034 {
            address <IP_ADDRESS>
        }
        <IP_ADDRESS>:30034 {
            address <IP_ADDRESS>
        }
        <IP_ADDRESS>:30034 {
            address <IP_ADDRESS>
        }
        <IP_ADDRESS>:30034 {
            address <IP_ADDRESS>
        }
        <IP_ADDRESS>:30034 {
            address <IP_ADDRESS>
        }
    }
    partition deleteissue
}

Sometimes, when performing the same operation this error is returned: "01070110:3: Node address '/Common/x.x.x.x' is referenced by a member of pool '/tenant/app/poolname'."

Expected Behavior
The pool is properly deleted without error
Actual Behavior
The pool is not deleted OR an error regarding the shared node is returned

Thank you for filing this issue. I have added it to our internal product backlog as AUTOTOOL-2637.

This issue has been resolved with the 3.30.0 release of AS3.


Use new major version when introducing breaking changes

Your latest release 1.0.49 introduced a functional change in the way the parameters are passed into the NLPCloudClient interface, and was released as a patch version update.
This broke our integration with NLPCloud, and loss of trust in the service, trying to figure out what is happening.
I would suggest you do the following:

Whenever you add breaking changes in the public interface of this library, add a major library update so that people can upgrade your library with confidence.
Use minor when adding new functionality and patch when fixing bugs.
Maintain a proper changelog in this repo, or document significant changes like this in your Github releases.

Hello @nbasili , thank you so much for this feedback.
You are absolutely right and we are sorry for poorly handling this version bumping.
We just did the following:

Create a major version (v2.0.0)
Document the reason for the new version in the Github release
Delete the v1.0.49 release from Github
Deprecate the v1.0.49 version from NPM

Sorry again and thank you for your suggestions. Please don't hesitate to comment further if needed, it will be very much appreciated.
Julien

Awesome, thank you 🙏


Gas leak detector

I have a Wifi Gas leak sensor that doesn’t show in the device list on iot.tuya.com after I link the tuya app. It does show in the Tuya app but not on the developer site or HOOBS log after I install the plugin

Of course, not solved.


PATH too long installer unable to modify PATH!

Windows 10, 64-bit, build 19045
Darknet v2.0-226-g39868921
CUDA runtime version 12060 (v12.6), driver version 12060 (v12.6)
cuDNN version 12060 (v9.4.0), use of half-size floats is ENABLED
=> 0: NVIDIA GeForce RTX 4090 [#8.9], 24.0 GiB
OpenCV v4.8.0
I enabled the long registry path in the Windows registry. I also shortened my PATH considerably, putting all of the Visual Studio entries into their own separate variable. My current character count for my PATH is 917.
I'm following these instructions:
https://github.com/hank-ai/darknet

Not a Darknet problem, but a Windows & NSIS limitation.
https://www.google.com/search?q=nsis+path+too+long+installer+unable+to+modify+path


Removed an API which returned 403.

Removed an API with link "https://ipinfodb.com/api"
Line 502 was removed which contained :
| IPInfoDB | Free Geolocation tools and APIs for country, region, city and time zone lookup by IP address | apiKey | Yes | Unknown |
This API was returning 403, when called. So I guess there is no use in keeping it.

[x] My submission is formatted according to the guidelines in the contributing guide
[ ] My addition is ordered alphabetically
[x] My submission has a useful description
[x] The description does not end with punctuation
[x] Each table column is padded with one space on either side
[x] I have searched the repository for any relevant issues or pull requests
[ ] Any category I am creating has the minimum requirement of 3 items
[ ] All changes have been squashed into a single commit

Successfully Removed the API which returned the 403.


Formatting fixes

Sort tests alphabetically for easier browsing (previously they were roughly sorted by ID), and replace Coreboot with coreboot.

Also decided to replace Nvidia and NVidia with NVIDIA as per their guidelines

@PLangowski

Also decided to replace Nvidia and NVidia with NVIDIA as per their guidelines

Another one to add to your hooks :))

@BeataZdunczyk This is already old, and needs a rebase. It may also get in conflict with https://github.com/Dasharo/docs/pull/828 which also changes lots of stuff in test documentation. We should make sure to cleanup these PRs more often, and ensure we do not trigger conflicts with older PRs, to not waste resources.

Coreboot with coreboot.

Things like that shall be covered hook from @PLangowski automatically in the future, if we enable this in pre-commit in this repo @BeataZdunczyk CC
https://github.com/3mdeb/pre-commit-hook-branding/tree/namespell/namespell


Use Hamcrest assertions instead of JUnit in examples/integrations/neo4j/neo4j-mp (#1749)

Part of #1749
Backport 2.x

/trigger


TPU training: No matching devices found for

Hi,
I just wanted to train a small model on a v3-8 TPU. I did modify the parameters in the configure_pretraining.py file.
Training command shows the following output at the beginning:
Config:
debug False
disallow_correct False
disc_weight 50.0
do_eval False
do_lower_case False
do_train True
electra_objective True
embedding_size 128
eval_batch_size 128
gcp_project None
gen_weight 1.0
generator_hidden_size 0.25
generator_layers 1.0
iterations_per_loop 200
learning_rate 0.0005
lr_decay_power 1.0
mask_prob 0.15
max_predictions_per_seq 19
max_seq_length 128
model_dir gs://tr-electra/models/electra-small-cased
model_hparam_overrides {}
model_name electra-small-cased
model_size small
num_eval_steps 100
num_tpu_cores 8
num_train_steps 1000000
num_warmup_steps 10000
pretrain_tfrecords gs://tr-electra/pretrain_tfrecords/pretrain_data.tfrecord*
results_pkl gs://tr-electra/models/electra-small-cased/results/unsup_results.pkl
results_txt gs://tr-electra/models/electra-small-cased/results/unsup_results.txt
save_checkpoints_steps 1000
temperature 1.0
tpu_name bert-4
tpu_zone None
train_batch_size 128
uniform_generator False
untied_generator True
untied_generator_embeddings False
use_tpu True
vocab_file gs://tr-electra/vocab.txt
vocab_size 32000
weight_decay_rate 0.01

Training command I used was:
$ python3 run_pretraining.py --data-dir gs://tr-electra --model-name electra-small-cased

Then the following error message is thrown:
  File "/usr/local/lib/python3.5/dist-packages/tensorflow_estimator/python/estimator/estimator.py", line 1490, in _train_with_estimator_spec
    log_step_count_steps=log_step_count_steps) as mon_sess:
  File "/usr/local/lib/python3.5/dist-packages/tensorflow_core/python/training/monitored_session.py", line 584, in MonitoredTrainingSession
    stop_grace_period_secs=stop_grace_period_secs)
  File "/usr/local/lib/python3.5/dist-packages/tensorflow_core/python/training/monitored_session.py", line 1014, in __init__
    stop_grace_period_secs=stop_grace_period_secs)
  File "/usr/local/lib/python3.5/dist-packages/tensorflow_core/python/training/monitored_session.py", line 725, in __init__
    self._sess = _RecoverableSession(self._coordinated_creator)
  File "/usr/local/lib/python3.5/dist-packages/tensorflow_core/python/training/monitored_session.py", line 1207, in __init__
    _WrappedSession.__init__(self, self._create_session())
  File "/usr/local/lib/python3.5/dist-packages/tensorflow_core/python/training/monitored_session.py", line 1212, in _create_session
    return self._sess_creator.create_session()
  File "/usr/local/lib/python3.5/dist-packages/tensorflow_core/python/training/monitored_session.py", line 878, in create_session
    self.tf_sess = self._session_creator.create_session()
  File "/usr/local/lib/python3.5/dist-packages/tensorflow_core/python/training/monitored_session.py", line 647, in create_session
    init_fn=self._scaffold.init_fn)
  File "/usr/local/lib/python3.5/dist-packages/tensorflow_core/python/training/session_manager.py", line 296, in prepare_session
    sess.run(init_op, feed_dict=init_feed_dict)
  File "/usr/local/lib/python3.5/dist-packages/tensorflow_core/python/client/session.py", line 956, in run
    run_metadata_ptr)
  File "/usr/local/lib/python3.5/dist-packages/tensorflow_core/python/client/session.py", line 1180, in _run
    feed_dict_tensor, options, run_metadata)
  File "/usr/local/lib/python3.5/dist-packages/tensorflow_core/python/client/session.py", line 1359, in _do_run
    run_metadata)
  File "/usr/local/lib/python3.5/dist-packages/tensorflow_core/python/client/session.py", line 1384, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: No matching devices found for '/job:train_tpu_worker/device:TPU_SYSTEM:0'

I changed the logging level to debug and it seems that the specified TPU is found:
INFO:tensorflow:Found TPU system:
INFO:tensorflow:*** Num TPU Cores: 8
INFO:tensorflow:*** Num TPU Workers: 1
INFO:tensorflow:*** Num TPU Cores Per Worker: 8
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:CPU:0, CPU, -1,<PHONE_NUMBER>745664406)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:0, TPU,<PHONE_NUMBER>4,<PHONE_NUMBER>496220977)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:1, TPU,<PHONE_NUMBER>4,<PHONE_NUMBER>999644671)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:2, TPU,<PHONE_NUMBER>4,<PHONE_NUMBER>2830505559)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:3, TPU,<PHONE_NUMBER>4,<PHONE_NUMBER>736282662)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:4, TPU,<PHONE_NUMBER>4,<PHONE_NUMBER>2301563746)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:5, TPU,<PHONE_NUMBER>4,<PHONE_NUMBER>1821878348)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:6, TPU,<PHONE_NUMBER>4,<PHONE_NUMBER>6270558365)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:7, TPU,<PHONE_NUMBER>4,<PHONE_NUMBER>202343225)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU_SYSTEM:0, TPU_SYSTEM,<PHONE_NUMBER>4,<PHONE_NUMBER>059623606)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:XLA_CPU:0, XLA_CPU,<PHONE_NUMBER>4,<PHONE_NUMBER>080310184)
WARNING:tensorflow:From /usr/local/lib/python3.5/dist-packages/tensorflow_core/python/ops/resource_variable_ops.py:1630: calling BaseResourceVariable.__init__ (from tensorflow.python.ops
.resource_variable_ops) with constraint is deprecated and will be removed in a future version.

I used this GCP instance:
gcloud compute instances create bert --zone=<zone> --machine-type=n1-standard-2 \
--image-project=ml-images --image-family=tf-1-15 --scopes=cloud-platform

and created the TPU with:
gcloud compute tpus create bert-4 --zone=<zone> --accelerator-type=v3-8 \
--network=default --range=<IP_ADDRESS>/29 --version=1.15

Pretty much the same configuration as I used for training my BERT models, like for Turkish, as documented in this cheatsheet.
Do you have any idea what causes this error message? Would be awesome to train ELECTRA models on TPU 🤗
Thanks many in advance!

Well, I compared the TPU configuration with the code in the official BERT repository.
It seems that ELECTRA specifies the following argument:
tpu_job_name=("train_tpu_worker" if config.do_train else
                    "lm_eval_tpu_worker"),

See complete context here
And this train_tpu_worker name is not the same as for my TPU (with is only worker).

@clarkkev do you think we can savely remove the tpu_job_name argument here 🤔 I could prepare a PR for that!

Thanks for finding this issue! tpu_job_name is actually useful when we run ELECTRA internally, so I added it the configure_finetuning instead (with it defaulting to None so the issue should be fixed): https://github.com/google-research/electra/commit/4e0f2a5b5221320918fb6cd5e1fbb280e0871e9b


Support web-based PR-Report & PR-Comment

Motivation:
We need to append the web-based PR manager in the near future. For example, We often want to pass PRs manually even though the CI bot reported the "failure".
In this case, we can run pr-comment.sh or pr-report.sh that are located in the ./TAOS-CI/ci/taos/test/ folder. However, the console-based command is not convenient.
My proposal:

:octocat: cibot: Thank you for posting issue #557. The person in charge will reply soon.


Update sbt to 1.4.4

Updates org.scala-sbt:sbt from 1.4.3 to 1.4.4.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

labels: library-update, semver-patch

Coverage increased (+1.6%) to 63.966% when pulling 93bf0276c42a8f009ab03a47a6da336f3c92e695 on scala-steward:update/sbt-1.4.4 into a3c2e3f99ba61fbe7fa47e37bda27c3f37a38c4b on evolution-gaming:master.


plan api-server and UI design for tracking NuvlaBox actions

how to keep track of the actions that are issued to the NB API?

in https://github.com/SixSq/tasklist/wiki/Nuvla-UI:-NuvlaBox-page-redesign-(proposals)


Provide kernel config

I couldn't find the kernel configs anywhere inside the VM. Are they missing?

We don't compile our own kernel. :smile:
If you do something like "make explore-docker", kernel config should be
available inside "/boot".

I see, but why not provide that list of kernel options inside the VM? Is it reserved for when you compile your own kernel?

Yeah, it's getting excluded as a side effect -- if we narrow down our /boot exclusion (which is reasonable IMO) we should be able to get the kernel config included in the ISO.


bootique-jdbc-test: TableMatcher can't properly convert CSV data types for comparison

TableMatcher.assertMatchesCsv() from bootique-jdbc-test can't always properly convert CSV data types for comparison. So if e.g. the table in question has BIGINT columns that are read as Java longs, the comparisons will always fail, as the CSV data is read as ints.

@andrus
I tried to reproduce this bug. Seems that now it works.
Maybe there is some special case?
I created table channel.execStatement().exec("CREATE TABLE \"t5\" (\"c1\" BIGINT, \"c2\" VARCHAR(10))")
Created csv: "c1","c2" 1,"Test1" 2,"Test2"
And test looks like this:
        T5.csvDataSet().load("classpath:io/bootique/jdbc/test/dataset/t5.csv").persist();
        List<Object[]> data = T5.select();
        assertEquals(2, data.size());

        data.sort(Comparator.comparing(r -> (Long) r[0]));

        Object[] row1 = data.get(0);
        assertTrue(row1[0] instanceof Long);
        assertEquals(1L, row1[0]);
        assertEquals("Test1", row1[1]);

        Object[] row2 = data.get(1);
        assertTrue(row2[0] instanceof Long);
        assertEquals(2L, row2[0]);
        assertEquals("Test2", row2[1]);

I just updated the original description. The problem is with TableMatcher.assertMatchesCsv() method. So yeah, T5.select() will retrieve the right data types, but when it is compared with CSV again, the CSV will be read with the wrong ones and the comparison will fail.

This works for BIGINT, and since https://github.com/bootique/bootique-jdbc/issues/116 was fixed - for BigDecimal.


Testing Pose_net Issue

I have downloaded the KITTI odometry gray scale dataset. When I'm trying to run the pose model on the dataset, I'm getting the
"InvalidArgumentError (see above for traceback): Assign requires shapes of both tensors to match. lhs shape= [1,1,256,24] rhs shape= [1,1,256,12]
[[Node: save/Assign_15 = Assign[T=DT_FLOAT, _class=["loc:@pose_exp_net/pose/pred/weights"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/device:CPU:0"](pose_exp_net/pose/pred/weights, save/RestoreV2_15)]]" error.
Is there anyway I can resize the image to the necessary size on command line or do I have to change the code?
Thanks.

I think that the problem is you want to load the model that was trained with a different seq_length parameter than you setup.
You have to make sure that setup_inference is called with correct number, e.g. seq_length=5 for model-100280

As you can see here right after the network inference, the pose predictions are dumped to files (using dump_pose_seq_TUM format). The pose predictions correspond to 5 camera poses - for each frame in the sequence. The coordinate system is set to the middle frame.
To build the full trajectory you need to combine all these poses groups in the following manner:
In 5 sequence case - first, you should collect 5-poses sequences for the overlapping frame ids: e.g. first group - frames [1,2,3,4,5], second group - frames [5,6,7,8,9] etc. Then you need to translate each sequence so that the coordinate system is set to the first pose in the group. Then you iterate through these groups and use the overlapping pose to translate every poses sequence to global coordinate system. You can take a look at my code snippet I used for this process.
@tinghuiz Could you please confirm if this approach is okay?

yes, I believe what @wmuron said is correct.

Thank you for your code.I have a try with this pose_estimate net,but why I get 5 datas of pose in one picture? I just want to get one pose in one picture,what is wrong with me? please.

Not sure I understand your question. The pose net should always take multiple images as input to infer the relative poses among them.

@wmuron @maheshworkp1 hi :100:
i also getting the same problem:
tensorflow.python.framework.errors_impl.InvalidArgumentError: Assign requires shapes of both tensors to match. lhs shape= [1,1,256,24] rhs shape= [1,1,256,12]
how to make sure setup_inference is called with correct number,for example,after when i trained the KITTI dataset ,i got the checkpoints/model-117270,so how to set the seq_length correctly?i am very confused.
can you teach me how to do?thank you very much

Hello,
I also tried to run the pose network without modifications of the code, on a Ge1080Ti with Tensorflow 1.4 with  the following command:
python test_kitti_pose.py --test_seq 09 --dataset_dir /path/to/kitti/dataset/ --output_dir log/ --ckpt_file models/model-190532.index
and I get errors saying that the net variables are not in the checkpoint.  Here is a short example:
NotFoundError (see above for traceback): Tensor name "pose_exp_net/cnv1/biases" not found in checkpoint files
Have anybody had this error or have an idea of where does the bug come from ?
Thank you

@tongpinmo I also getting the same problem. I modified the seq_length = 5 to 3  in test_kitii_pose.py , and it solved.

@tongpinmo I also getting the same problem. I modified the seq_length = 5 to 3 in test_kitii_pose.py , and it solved.
InvalidArgumentError (see above for traceback): Assign requires shapes of both tensors to match. lhs shape= [7,7,15,16] rhs shape= [7,7,9,16]
This is my problem. I try to follow your approach, and it is works.Thanks!

Hello,
I get the following error when trying to run the pose model on the KITTI Odometry dataset.
"ValueError: The passed save_path is not a valid checkpoint: models\model-100280".
I think this error is being thrown because the model checkpoint contains only the data file and is missing the .index file. So, the tf.restore() function is unable to read the model checkpoint. Does anyone have a solution for this?

Hello, my hardware device is 16G+1080ti. When I use test_kitii_pose.py to test, seq_length = 5, and the fps is only 3. Is this normal? Is there any acceleration plan or experience? Thanks


MudMessageBox: Add button classes

Description

I want class names so I can precisely target them in tests.
How Has This Been Tested?

unit
Type of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation (fix or improvement to the website or code docs)

Checklist

[X] The PR is submitted to the correct branch (dev).
[X] My code follows the code style of this project.
[X] I've added relevant tests.

How do you feel about the BEM naming style?

Looks good. What does BEM stand for?

Looks good. What does BEM stand for?

@henon See here https://getbem.com/naming/


Poll frequency in seconds or minutes

In the README.md, the polling frequency is described to be in minutes ("The interval (in minutes) that the servers are polled for updated data.")
However, in the configuration dialogue, the field for polling frequency says "Poll frequency (seconds)"), as seen in strings.json.
Which one is correct?

See https://github.com/lendy007/homeassistant-skodaconnect/blob/a12e1be7673d5ecbc2763bf7526d105db10e57f0/custom_components/skodaconnect/config_flow.py#L334 if you're interested in the code.

Updated the readme to correctly state that it's seconds


verification_result

Hello,
I have a problem with test inApps. I use sku "android.test.purchased"
BaseBillingProvider.handleRequest({
    "type": "PURCHASE",
    "sku": "android.test.purchased"
    });

BillingEventDispatcher.onResponse({
    "type": "PURCHASE",
    "status": "SUCCESS",
    "provider_info": {
    "name": "Google",
    "package_name": "com.google.play",
    "installer": "com.android.vending"
    },
    "purchase": {
    "sku": "android.test.purchased",
    "type": "ENTITLEMENT",
    "provider_info": {
    "name": "Google",
    "package_name": "com.google.play",
    "installer": "com.android.vending"
    },
    "original_json": {
    "packageName": "***",
    "orderId": "transactionId.android.test.purchased",
    "productId": "android.test.purchased",
    "developerPayload": "",
    "purchaseTime": 0,
    "purchaseState": 0,
    "purchaseToken": "inapp:***:android.test.purchased"
    },
    "token": "inapp:***:android.test.purchased",
    "purchaseTime": 0,
    "canceled": false
    },
    "verification_result": "ERROR"
    });

From logs i get "Either data or signature is empty."
 private static BillingProvider newGoogleProvider() {
        final GoogleMapSkuResolver skuResolver = new GoogleMapSkuResolver();
        skuResolver.add("android.test.purchased", SkuType.ENTITLEMENT);

        return new GoogleBillingProvider.Builder(context)
                .setPurchaseVerifier(new SimpleGooglePurchaseVerifier(getPublicLicenseKey()))
                .setSkuResolver(skuResolver)
                .build();
    }

    public static Configuration getRelevantConfiguration(final Context context) {
        final Configuration.Builder builder = new Configuration.Builder();
        builder.setBillingListener(new StoreManagerListener(context));
        builder.addBillingProvider(newGoogleProvider());
        return builder.build();
    }

Hello.
As far as I know, Google doesn't sign android.test.purchased. You'll have to upload your app to alpha channel to do that.

Thanks.


WIP: Functionnal testing and doc.

Codecov Report

Merging #10 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #10   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          48     48
  Lines         347    347
  Branches       24     24
=====================================
  Hits          347    347

Continue to review full report at Codecov.

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


Blog-App: Add Controllers spec

In this PR, the following project requirement is met

Add RSpec as a gem to your project.
Create a Request spec file for all your controllers.
Make sure that for each action you check:

If response status was correct.
If a correct template was rendered.
If the response body includes correct placeholder text.

❌ ❌ ❌ STATUS: INVALID  ❌ ❌ ❌

Hello @jmoseka  ✋🏼
You have submitted a project, that has linter errors. Kindly fix them and submit for review again.
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding! 💻 👏

Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.
Invalid Code Review Request does not count into the code reviews limit.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.
GitHub | LinkedIn | Twitter
Reviewed by Ahmet Bozacı

thank you @mahbubul14


Latvian language translation

New language file with Latvian translation.

Thank you.

You forgot to add your language in demo HTML file.


[Azure WebSubHub] Choreo webhook is not getting subscribed in dev environment

Description:

$subject

In the dev setup, Choreo webhooks has enabled authentication for the endpoint. Because of this subscription verification failed and hence the subscription was unsuccessful in the Hub. Once authentication is disabled the subscription was successful.


AMP - structEventValue shouldn't be a required keyval

Project: AMP Tracker
Version: Latest (0.2)
Expected behavior:
According to the documentation for structured events with the AMP tracker, the keyval pair structEventValue is not required. If I do not set the keyval at all within the config object, the event should still be recorded.
Actual behavior:
Because no structEventValue keyval is defined, the tracker will simple append an empty value for ?se_va on the request url. This causes Field [se_va]: cannot convert [] to Double-like String to be logged in /enriched/bad.
Current workaround is sending an arbitrary value along with the event.
Steps to reproduce:

Send an event using the AMP Tracker without setting the structEventValue keyval pair.

Raising here is fine as we don't have a dedicated issue tracker for our AMP support

@mattleong - thanks for raising this issue. We're working on a v2 of the AMP tracker and I'm optimistic that we'll have a fix for this issue in there - which will default se_va to send a null string where no value is provided.
I don't yet have a timeline for release, but it's looking in good shape so hopefully not too long!


Replace Matlab PNG icon with SVG

Fixes #1875
Changes proposed:

[x] Fix

Hey! I saw some of the discussion about this in the corresponding issue, and I wanted to take a shot at recreating the logo while minimizing the SVG complexity as much as possible. This version is 4.55KB, so it doesn't meet the size target entirely, nor does it visually match the original when enlarged.
Hopefully the likeness is close enough, and size reduction significant enough, to warrant the replacement - but I'm happy to make modifications if not. Thanks for checking it out!

Thanks for your effort but unfortunately the file size is unacceptable. Anything larger than 2K will cause serious rendering lags in vscode.
After all this time I'm leaning towards the solution of a minimalist version without gradients. That will reduce the file size a significant amount.

@JimiC @KingDarBoja Thank you for your responses! I hoped it might be good enough, but I completely understand the need to prioritize performance. Good luck @KingDarBoja! In case you can't shave enough off with your plans, I also wouldn't mind taking another pass at optimizing the current version.
Equally, I think a "flat" design would be a decent solution too. I won't do anything for the time being, but please tag me in if I can help :)

@JimiC @admvx By using the simplify tool, it didn't improve the file size and changing the settings would result in deformed logo.
So I went with the flatten strategy and removed most of the details but keeping the important ones.
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 32 32"><defs><linearGradient id="a" x1="16.803" y1="16.631" x2="15.013" y2="22.411" gradientTransform="matrix(1, 0, 0, -1, 0, 32)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#512"/><stop offset="0.1" stop-color="#522"/><stop offset="0.23" stop-color="#523"/><stop offset="0.36" stop-color="#534"/><stop offset="0.51" stop-color="#645"/><stop offset="0.66" stop-color="#568"/><stop offset="0.81" stop-color="#38c"/><stop offset="0.84" stop-color="#29d"/></linearGradient><clipPath id="b"><path d="M20.8,3.3c-2.18,0-3.67,11.48-11.72,17.89,2.26-.37,4.22,5.24,5.12,7.51,4-.68,7.2-8.33,10.43-8.21,1.85.07,3.47,1.86,5.37,3.63C25.66,15,23.63,3.3,20.8,3.3Z" style="fill:none"/></clipPath><linearGradient id="d" x1="14.6" y1="17.631" x2="21.6" y2="15.301" gradientTransform="matrix(1, 0, 0, -1, 0, 32)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#612"/><stop offset="0.3" stop-color="#822"/><stop offset="0.44" stop-color="#822" stop-opacity="0.8"/><stop offset="0.63" stop-color="#922" stop-opacity="0.52"/><stop offset="0.86" stop-color="#b33" stop-opacity="0.21"/><stop offset="1" stop-color="#c33" stop-opacity="0"/></linearGradient><linearGradient id="f" x1="27.169" y1="17.883" x2="22.119" y2="16.643" gradientTransform="matrix(1, 0, 0, -1, 0, 32)" gradientUnits="userSpaceOnUse"><stop offset="0.07" stop-color="#c33"/><stop offset="0.28" stop-color="#d43"/><stop offset="0.41" stop-color="#d43"/><stop offset="1" stop-color="#c33" stop-opacity="0"/></linearGradient><radialGradient id="h" cx="13.42" cy="1.94" r="10.64" gradientTransform="matrix(1, 0, 0, -1, 0, 32)" gradientUnits="userSpaceOnUse"><stop offset="0.17" stop-color="#ff4"/><stop offset="0.23" stop-color="#fe4"/><stop offset="0.36" stop-color="#fb4" stop-opacity="0.88"/><stop offset="0.55" stop-color="#e74" stop-opacity="0.76"/><stop offset="0.58" stop-color="#e74" stop-opacity="0.74"/><stop offset="0.8" stop-color="#f84" stop-opacity="0"/></radialGradient></defs><title>file_type_matlab_2</title><path d="M2,17.55l7.97-3.22a20.7,20.7,0,0,1,2.72-2.95c.66-.35,1.9-.16,4.17-2.98,2.2-2.75,2.9-5.1,3.93-5.1,1.63,0,2.83,3.52,4.65,8.85A115.629,115.629,0,0,0,30,24.12c-1.9-1.77-3.52-3.68-5.37-3.63-1.72.04-3.63,2.08-5.72,4.7-1.66,2.1-3.86,3.54-4.72,3.51,0,0-2.22-6.28-4.08-7.3a2.641,2.641,0,0,0-2.39.2L2,17.54Z" style="fill:#49d"/><path d="M19.8,4.02c-.67.9-1.48,2.55-2.94,4.38-2.27,2.82-3.5,2.63-4.17,2.98a19.674,19.674,0,0,0-2.72,2.95l3.3,2.41c2.8-3.82,4.3-7.96,5.47-10.64A13.579,13.579,0,0,1,19.8,4.02Z" style="fill:url(#a)"/><g style="clip-path:url(#b)"><path d="M8,3H31V29H8Z" style="fill:#f84"/></g><g style="clip-path:url(#b)"><path d="M8,3H31V29H8Z" style="fill:url(#d)"/></g><g style="clip-path:url(#b)"><path d="M8,3H31V29H8Z" style="fill:url(#f)"/></g><g style="clip-path:url(#b)"><path d="M8,3H31V29H8Z" style="fill:url(#h)"/></g></svg>

File Size: 2.86 KB
Full size preview:

I like the 2.44 kB one. It's very close to the original. But size wise the 1.74 kB is preferable.

I like the 2.44 kB one. It's very close to the original. But size wise the 1.74 kB is preferable.

Shall we vote for which version to pick up? I don't mind going with the lowest size version as it keep the details at small views.

Just wanted to say great work for paring it down & good luck settling on the final version! Looks like you can commit to my branch if you decide to, but please let me know if I can help :D

Do we have a winner? 1.74 or 2.44. I vote for the first one.

@KingDarBoja is this ok to be merged?

@KingDarBoja is this ok to be merged?

Not yet, need to push the new icon to the branch.


Please explain which was to connect powershell to Azure for this to work

Hi
Please do not assume we know which method to use to connect to Azure for these powershell commands to work. Tell us what command to use to connect. Microsoft has so many different flavors that you really HAVE to explain this for each PowerShell or other situation where you ask us to connect.
Bart

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

ID: 325a9114-36b2-a6b3-d0a4-19c522b7abf0
Version Independent ID: cbd84d9f-fbfd-d97d-9826-26947f64d18a
Content: Tutorial - Configure LDAPS for Azure Active Directory Domain Services
Content Source: articles/active-directory-domain-services/tutorial-configure-ldaps.md
Service: active-directory
Sub-service: domain-services
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

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

@blouwagie thanks for the feedback!  I made a pull request to add instructions. https://github.com/MicrosoftDocs/azure-docs-pr/pull/93609
CC: @iainfoulds

Just to follow up, there's no Azure connection needed here from PowerShell. The cmdlet is to generate an SSL cert. That's not something that requires Azure PowerShell, Active Directory Domain Services PowerShell, etc.
New-SelfSignedCertificate  should be part of the core PowerShell on Windows machines. You then use the local MMC to export the certificate generated and then the Azure portal to apply it to Azure AD DS. There's no specific Azure PowerShell modules or connections needed.

Will it did not work without connection to Azure. So that is wrong, at
already in my case.
bart
<EMAIL_ADDRESS>On Fri, Oct 25, 2019, 18:08 Iain Foulds<EMAIL_ADDRESS>wrote:

Just to follow up, there's no Azure connection needed here from
PowerShell. The cmdlet is to generate an SSL cert. That's not something
that requires Azure PowerShell, Active Directory Domain Services
PowerShell, etc.
New-SelfSignedCertificate
https://docs.microsoft.com/en-us/powershell/module/pkiclient/new-selfsignedcertificate
should be part of the core PowerShell on Windows machines. You then use the
local MMC to export the certificate generated and then the Azure portal to
apply it to Azure AD DS. There's no specific Azure PowerShell modules or
connections needed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/41493?email_source=notifications&email_token=AESZT5N36ZJ5SWYJ3I2P4NDQQNU4DA5CNFSM4JFG6JD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECJV46I#issuecomment-546528889,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AESZT5JRQNVZOOFHDXVLOJTQQNU4DANCNFSM4JFG6JDQ
.


RX issue

When we are in RX, if we press PTT and "TX Disable" is displayed, reception is cut off even though we cannot transmit.

Even if the TX is disabled, when you press the PTT, it's normal for the RX to switch off. Have you ever used a radio ?

No, never


Unable to Get OS image from Gdrive Site

This github page directs users to the Gdrive page to get the actual Ubuntu 20.0 OS for Nvidia Jetson Nano Dev Kit. But once at the site and trying to download the OS the following error appears:
"Sorry, you can't view or download this file at this time.
Too many users have viewed or downloaded this file recently. Please try accessing the file again later. If the file you are trying to access is particularly large or is shared with many people, it may take up to 24 hours to be able to view or download the file. If you still can't access a file after 24 hours, contact your domain administrator."
This error has consistently been appearing over the past 3 hours.
Does anyone have a work around for this or can the file be placed here, on github?

Due to reaching Gdrives' traffic limits, we've made a second download option available.

Thank you! I was able to successfully download the image from the gdrive.

I am having the same issue now.  The error happens with both links.  I'll try again tomorrow in the mean time incase too many people were downloading it in a 24 hour period.

Is this second download option includes PyTorch and opencv too?

All downloads include PyTorch and OpenCV. Except the bare-bones images.


[SPARK-48348][SPARK-48376][FOLLOWUP][SQL] Replace parseScript with runSqlScript in SQL Scripting Interpreter test suite

What changes were proposed in this pull request?
Previous pull request introduced new tests to SqlScriptingInterpreterSuite (among others) where accidentally parseScript was used instead of runSqlScript.
While the same exception would get thrown (since it happens in the parsing phase) it violates the consistency among the tests in this suite and adds unnecessary import, so it would be nice to change it.
Why are the changes needed?
Changes are minor, they improve consistency among test suites for SQL scripting.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
This patch alters tests.
Was this patch authored or co-authored using generative AI tooling?
No.

+1, LGTM. Merging to master.
Thank you, @davidm-db and @dongjoon-hyun for review.


Artifact substats export doesn't follow GOOD spec

Current Behavior
Currently, artifact substats are always exported as a 4-item array, even if the artifact has less than 4 substats. The missing substats get a null key and a value of 0.0. For example, this export snippet shows an artifact with 2 substats:
{
  "setKey": "DeepwoodMemories",
  "slotKey": "flower",
  "rarity": 4,
  "mainStatKey": "hp",
  "level": 0,
  "substats": [
    { "key": "eleMas", "value": 17.0 },
    { "key": "def", "value": 19.0 },
    { "key": null, "value": 0.0 },
    { "key": null, "value": 0.0 }
  ],
  "location": "",
  "lock": false,
  "id": 994
}

According to the GOOD spec, this is not valid. The substat key cannot be null, which implies these null entries should not be included.
Expected Behavior
The scanner to correctly exports the data
Reproducing a Behavior
Scan any artifact(s) with less than 4 substats.
Device OS
Windows 10
Genshin Impact Version
3.3
Inventory Kamera Version
1.3.5
Screen resolution, screen mode, and UI scale
1920x1080 windowed
Additional notes and remarks
No response
Evidence
No response
Preflight Checklist

[X] I have checked for similar issues in the issue page, and I have not found any similar to mine.
[X] I am using the latest version of the scanner.
[ ] I tried setting the scanning delay to maximum, and it still doesn't work.
[ ] I have attached the video recording to the bug report.
[ ] I have attached the error log to the bug report.
[X] I am available to later explains the issue.
[X] I have disabled all screen filtering software or plugins (i.e. HDR, Image Sharpening) while scanning.
[X] I use default in-game keybindings or have configured keybindings for the scanner.

This has been corrected. Outputs no longer contain "null" for empty substats (fixed in commit 5436bb5).


: type class computation

The computation of attribute class type does not work unless user specify the size attribute together.
Maybe related to #49 .

The problem is related to the undefined declaration of the size property:
/**
* `size` additional class for the size of the buttons
*/
size:{
    type: String
    value: '' // this declaration must be present
},

Working on a PR.


WCAG 2.1 colour contrast

Description of the new feature / enhancement
It would be wonderful if I have a WCAG contrast calculator. Maybe, that's as the actual color picker with super powers, that tool can pick the fore and background color and make me know if they pass the WCAG2.1  1.4.3 or 1.4.11 accessibility criteria.
In fact it should be an extension of the actual color picker, but now you can choose to pick a single color (actual tool) or two colors, then the tool calculates the contrast between both.
As reference, there're a similar tool as Chrome plugin called Kontrast that I use a lot, but only applies to web pages into the navigator, not in external apps. Next there is the link for Kontrast in Chrome Store:
https://chrome.google.com/webstore/detail/kontrast-wcag-contrast-ch/haphaaenepedkjngghandlmhfillnhjk
I think this is an easy making feature to help improve  apps accessibility.
Best regards
Scenario when this would be used?
Developing and anlizing app accessibility
Supporting information
No response

/dup #9357


Add support for other types of geometries

Support geometries based on curves, e.g. "CompoundCurve".

@carlosg-m was this intended for a different repository, e.g., pyogrio or Fiona which deal with reading / writing OGR types (what you have listed here)?
Also see: https://github.com/pygeos/pygeos/issues/448
Comments regarding pygeos functionality are now to be directed to the Shapely project.
Further, pygeos / Shapely are based on GEOS, which to my understanding does not support compound curve geometry types; since GEOS is our underlying geometry engine, there's nothing we can do to add support for these without it first being in GEOS.


doc: Minor grammar corrections

I was not sure if I should create a single PR for each line where I changed something, or if this bulk change is ok.

Hello @marc136 . I think bulk change is ok


Update ready conditions for GKENetworkParamSet

Adding status conditions to be used for validation updates for GNPs with NetworkAttachment.

/reviewer mskrocki shouri

@shouri please review

@mskrocki @aojea

/assign @mskrocki

/lgtm
/approved

/lgtm
/approve

@aojea Can you help get this in? Maciej's approval doesn't seem to count for write access, even though he's in the OWNERS.

@bowei Are you able to help merge this in?

@yswe can you sync with @bowei and @synth-beat to find a model of approval that fits current teams structures?
I prefer to not be in the critical path of possible

I think the problem is that this repo uses GitHub approvals, you need to approve in the GitHub code review button


FIX [core] fix #799 close session keeping client socket

fix https://github.com/emqx/nanomq/issues/799

Codecov Report
Patch coverage: 20.00% and project coverage change: -0.02 :warning:

Comparison is base (397145a) 43.05% compared to head (bcb193f) 43.04%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #461      +/-   ##
==========================================
- Coverage   43.05%   43.04%   -0.02%
==========================================
  Files         120      120
  Lines       36141    36144       +3
==========================================
- Hits        15561    15557       -4
- Misses      20580    20587       +7

Impacted Files
Coverage Δ

src/sp/transport/mqtt/broker_tcp.c
0.88% <0.00%> (-0.01%)
:arrow_down:

src/core/pipe.c
74.30% <50.00%> (ø)

... and 11 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Popover don't show properly if used on element in table cell

It flickers while moving mouse, setting z-index to popover target element does not help.
Example: http://jsfiddle.net/VyhNC/

@nowak-ninja, could you solve it? I have the same problem right now.
Thank you anyway.

Anyone solve this?


Hacl.Spec.BignumQ.Lemmas: trying to stabilize proof

Proposed changes
This proof is failing for me again after some changes to F* that shouldn't really impact it. It looks like the hint fails to replay (see below), and the solver fails to prove the full query when hints are being used on the file. Running without hints works just fine. We've seen other instances of this elsewhere, and I would think this is caused by some random internal state in the solver that is slightly different in either case.. but I'm not sure.
For now, it seems like restarting the solver does the trick. The hint replay fails, but the full query does work from the "clean" state. Even if hint hashes are disabled, which I suppose could be the trigger of this breaking.
Z3 says: unknown
(/home/guido/r/fstar/3089/everest-TEMP/hacl-star/code/ed25519/Hacl.Spec.BignumQ.Lemmas.fst(968,9-968,15))       Query-stats (Hacl.Spec.BignumQ.Lemmas.lemma_barrett_reduce', 54)        failed {reason-unknown=unknown because canceled} (with hint) in 8660 milliseconds with fuel 0 and ifuel 0 and rlimit 250
Z3 says: unsat
(/home/guido/r/fstar/3089/everest-TEMP/hacl-star/code/ed25519/Hacl.Spec.BignumQ.Lemmas.fst(968,9-968,15))       Query-stats (Hacl.Spec.BignumQ.Lemmas.lemma_barrett_reduce', 54)        succeeded in 1537 milliseconds with fuel 0 and ifuel 0 and rlimit 250

Types of changes
What types of changes does your code introduce to HACL*?
Put an x in the boxes that apply

[x] Proof maintenance (non-breaking change which fixes a proof regression)
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New algorithm or feature (non-breaking change which adds functionality)
[ ] Improved performance (fix or feature that would improve performance of some algorithm on some platform)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CODE_OF_CONDUCT.md doc
[x] I have read and agree to submit my changes under the LICENSE
[ ] I have added necessary documentation (if appropriate)
[ ] I have edited CHANGES.md (if appropriate)

Thanks Guido. This proof has been flaky for a while, we really should try to rewrite it when we have time.
Even if I'm not a big fan of this solution in general, should be just use a retry/quake instead of a restart-solver for this specific lemma to try to be a bit more future-proof? What do others think?

I think a --retry here wouldn't be too bad... it can be set like this for only this subgoal:
Tactics.set_options "--retry 5";

Subsumed by #882, closing this


Add Big Bench Hard (BBH) and AGIEval

Hi,
Since Microsoft released Orca paper, we are likely to see models instruct-tuned using Orca techniques that'll most likely outperform the current crop of models such as Vicuna and Wizard.
It would be good to add some of the harder evaluation benchmarks mentioned in the Orca paper such as Big Bench Hard (BBH) and AGIEval.
Thanks!

Hi, thanks for raising this issue! If you've got the bandwidth to help contribute some of these tasks, especially chain of thought variants of our existing multiple choice tasks, that would be greatly appreciated, though no problem if not!
On the BBH side, we currently support almost all BigBench Hard tasks, which are equivalent to the full Bigbench versions of those tasks, not the truncated versions used in BBH -- https://github.com/EleutherAI/lm-evaluation-harness/blob/master/lm_eval/tasks/bigbench.py
I think @dmahan93 has an AGIEval implementation in their fork -- @dmahan93 , would you be interested in contributing this upstream by chance?

Yup! Was going to wait until the big refactor was done to port it over, right now it's in the old style of evaluations.

Thanks!

@dmahan93 AGI eval would be much appreciated :)