Changed the time of effort syncing to hourly at 25th minute

Change time of effort syncing #2805

Description
Changed effort syncing time from every four hours to hourly at 25th minute
To reduce the chance of sending non-updated data to the channel.
Checklist:

[x] I have performed a self-review of my own code.

You don't have to remove the package-lock.json from the codebase. Please revert the file.

Only the extra code changes were supposed to be removed

 Can I delete the pull request and the branch? And recreate branch and pull request. Since I have made the mistake and now I’m stuck there. I tried to reset the commit but it still shows the commits already done. If possible, please allow me to delete the branch and create another one.Sent from Mail for Windows Thank-You—


Sequence create/alter does not set CacheSize for mssql

Environment
Liquibase Integration & Version: spring boot 2.4.2
Database Vendor & Version: mssql
Operating System Type & Version: all
Description
Sequence create/alter should set the CacheSize for all databases not only for oracle or Postgres (as described in the documentation).
https://docs.liquibase.com/change-types/community/alter-sequence.html
https://github.com/liquibase/liquibase/blob/43ed0e54adedc5f12c7933b998550e777d9b683d/liquibase-core/src/main/java/liquibase/sqlgenerator/core/AlterSequenceGenerator.java#L75
https://github.com/liquibase/liquibase/blob/43ed0e54adedc5f12c7933b998550e777d9b683d/liquibase-core/src/main/java/liquibase/sqlgenerator/core/CreateSequenceGenerator.java#L85
Steps To Reproduce
List the steps to reproduce the behavior.

Create a sequence with cacheSize for mssql. the sequence cacheSize will be ignored

- changeSet:
    id: 53
    author: me
    changes:
    - createSequence:
        cacheSize: 1
        cycle: false
        incrementBy: 1
        maxValue:<PHONE_NUMBER>854775807
        minValue: 1000
        sequenceName: test_sequence
        startValue: 1000

- changeSet:
    id: 54
    author: me
    changes:
      - alterSequence:
          cacheSize: 2
          sequenceName: test_sequence

I found out, that there was already a ticket regarding this issue.
https://liquibase.jira.com/browse/CORE-3532
https://liquibase.jira.com/browse/CORE-3533

Still an issue for liquibase 4.16.1.


RHOAIENG-9822: chore(Makefile): allow not pushing built images in Makefile and allow skipping building dependent images

https://issues.redhat.com/browse/RHOAIENG-9822
Description
Follow-up to

https://github.com/opendatahub-io/notebooks/pull/600#issuecomment-2202366809

How Has This Been Tested?

https://github.com/jiridanek/notebooks/actions/runs/10200632903 (push)
https://github.com/jiridanek/notebooks/actions/runs/10200837674?pr=6 (pr)

the failure in ^^^ is infra instability
Merge criteria:

[x] The commits are squashed in a cohesive manner and have meaningful messages.
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has manually tested the changes and verified that the changes work

/lgtm

/lgtm
Thanks, this is nice! :star2:

/override ci/prow/images
/override ci/prow/rocm-notebooks-e2e-tests
/approve


Support -fvk-use-dx-layout.

We already have -force-glsl-scalar-layout that causes all buffers to follow the scalar layout in the resulting spirv. We also need -fvk-use-dx-layout to make them follow the dx layout.

From Hai:
Here's all the resources that I could scrounge up for this.
For DXC, the selection for the layout rules begins here based on what options were passed in:
https://github.com/microsoft/DirectXShaderCompiler/blob/main/tools/clang/lib/SPIRV/SpirvEmitter.cpp#L605-L609
Looking through this reminded me it was actually the FXC rules that we had to follow, so that's why the enums are prefixed with Fxc.
cbuffer/ConstantBuffer/tbuffers all use the FxcCTBuffer rules.
StructuredBuffer/RWStructuredBuffer + all their variants use the FxcSBuffer rules.
Amplification shader payloads also use FxcSBuffer rules.
The rules (FxcCTBuffer and FxcSBuffer) are spelled out and implemented in this file:
https://github.com/microsoft/DirectXShaderCompiler/blob/main/tools/clang/lib/SPIRV/AlignmentSizeCalculator.cpp#L245-L261
DXC's documentation also spells out these rules although it takes a bit parsing:
https://github.com/microsoft/DirectXShaderCompiler/wiki/Buffer-Packing
Microsoft's documentation on HLSL packing rules is pretty simplistic:
https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-packing-rules
This is a pretty awesome visualizer that someone wrote to illustrate the HLSL Constant Buffer Packing Rules:
https://maraneshi.github.io/HLSL-ConstantBufferLayoutVisualizer/

Not sure if we've got capacity for this one in Q2 or not. Marking for Q2 for now. Need to do another scrub of issues in Q2 to see how this one ranks.

Marking for Q3. Planning to tackle this request in July to support Siggraph.

@ArielG-NV  can you take a look at this one?

I can take a look at this issue


Trace response payload in default jsonrpsee middleware

Add rpc_metrics::extra target to log rpc response payloads in the default middleware.

bot merge


Merging of data structures in data hierarchy

Describe the solution you'd like
In the existing implementation of the data hierarchy, there is a good way for handling overriding of flat values, but for the case where you might want to use nested structures (e.g. dictionaries, lists, sets) it might be useful to allow for merging of those structures as you traverse the hierarchy. This could be made configurable using the config functionality so that it can be set on a per-module basis.
For instance, if I have a deploy where I would like to install and configure a MySQL database, I can set the default set of configuration options in all.py as a dictionary of key/value pairs. In a staging.py file that targets hosts in a pre-production environment I can then specify a dictionary that overrides a subset of those values.
This can currently be achieved by flattening the structure and specifying all of the keys at the top level and prefixing them with a namespace for the deploy, but using a more rich data structure it provides implicit namespacing. It also provides the advantage of being able to render out configuration files that are intended to be JSON or YAML by simply serializing the merged result of the data object and writing that as the contents of the file.

I like this idea a lot! Definitely a config flag (CLI_MERGE_DATA = True?) to enable this as it's quite specific functionality, but can see many use-cases for this.

It might be worth looking at pulling in something like https://github.com/toumorokoshi/deepmerge as a dependency to handle that functionality. It's certainly possible to implement as part of PyInfra if the preference is to avoid adding new third-party dependencies.

@Fizzadar just curious what your thoughts are on bringing in a dependency to handle this or implementing it natively to reduce surface area. I'm happy to take a crack at it either way but figured I should get your take on it before spending the time so that it fits your philosophy and goals for the project.

@Fizzadar just curious what your thoughts are on bringing in a dependency to handle this or implementing it natively to reduce surface area. I'm happy to take a crack at it either way but figured I should get your take on it before spending the time so that it fits your philosophy and goals for the project.

@blarghmatey I think an external package is a good idea here, given potential complexity of this. Did you have any in mind?
I'd like to keep the dependency tree as small as possible, but this could by bypassed (if the downstream package itself has many dependencies) by specifying it as an extra requirement similar to yaml for Ansible inventory parsing (https://github.com/Fizzadar/pyinfra/blob/master/setup.py#L118).

@blarghmatey I think an external package is a good idea here, given potential complexity of this. Did you have any in mind?
I'd like to keep the dependency tree as small as possible, but this could by bypassed (if the downstream package itself has many dependencies) by specifying it as an extra requirement similar to yaml for Ansible inventory parsing (https://github.com/Fizzadar/pyinfra/blob/master/setup.py#L118).

I've been using Pydantic in multi-stack/environment Pulumi IaC projects.
It was a game changer for not only managing hierarchial deployment configurations but also validating and serializing multiple types of input/output in a strongly typed fashion.
The BaseSettings module, which now lives as a standalone  pydantic_settings library is excellent for populating configurations from various sources (Python, json, yaml, toml, env vars etc.).
We've even added custom setting sources to fetch outputs from IaC stacks. Settus, which adds capabilities to source configurations from Azure KeyVault, AWS Secrets Manager and more, demonstrates how easy it is to extend.
These would potentially solve most if not all of the challenges mentioned in this issue with ease – with tons of additional benefits.
When I started using Pyinfra I immediately adopted those for managing deployment configurations, serializing configurations used as input in various Pyinfra operations and even validating Fact outputs for the lack of type hints in 2.x – removing the need for isinstance() and assertions alike resulting in much cleaner code and fail-safe operations.
Pydantic has very few external dependencies (typing-extensions & annotated-types) but I don't know what you think of bringing in a dependency like that, but personally, I'm never looking back.
Would love to share my experiences or help out implementing something of this nature (optionally with Pydantic) if there's interest.


firebase functions:shell slow

How to reproduce these conditions
Sample name or URL where you found the bug
firebase functions:shell is very slow since updating
Steps to set up and reproduce
since updating to the latest version of firebase-functions, firebase functions:shell has become very slow. I try to start the sheland then check back 10-20 minutes later and the shell is finally ready. I'm not sure why it slowed down, it used to be very quick.
Sample data pasted or attached as JSON (not an image)

Security rules used

Debug output
Errors in the console logs
Screenshots
Expected behavior
Shell takes a minute to start running.
Actual behavior
Shell taking over 10 minutes.

@g4laura I have also noticed this in recent versions. Some of my projects it is even worse, and it does not begin emulating functions for closer to 20 minutes.

If you're seeing slowness, could you also include information about your computer?  OS, amount of memory, number and class of CPUs, type of disk storage.  Also, the version and distribution of node.  The more information the better.

It actually started working quickly again so, I'll close this issue.
Model Name:	MacBook Pro
OS: macOS High Sierra Version 10.13.4
Processor Name:	Intel Core i7
Processor Speed:	2.9 GHz
Number of Processors:	1
Total Number of Cores:	4
L2 Cache (per Core):	256 KB
L3 Cache:	8 MB
Memory:	16 GB
Node version, the highest that firebase functions supports


npm bower deprecation

On same topic than  #1064, it is said on the readme that npm bower can be used, but here is the warning from NPM:
npm WARN deprecated<EMAIL_ADDRESS>We don't recommend using Bower for new projects. Please consider Yarn and Webpack or Parcel. You can read how to migrate legacy project here:
https://bower.io/blog/2017/how-to-migrate-away-from-bower/

https://github.com/thoughtbot/bourbon/pull/1067 has been merged.


[5.10][interop][SwiftToCxx] dispatch 'class' methods directly to avoid brok…

…en header generation
rdar://117814849

Explanation:
Swift class methods are being exposed to C++ as static C++ member functions, that call directly to the underlying class method. Unfortunately since they can be dispatched virtually, the header generation tried to generate a virtual table lookup using this, which is not possible in a static C++ member function. This change avoids that and just calls the Swift method directly.
Scope: C++ interop, generated header generation
Risk: Low, affects dispatch of class methods only
Testing: Unit tests
Original PR: https://github.com/apple/swift/pull/69708

@swift-ci please test

@swift-ci please test source compatibility


BC Server warning with Enum Object 'SII Doc. Upload State Document'

1. Describe the bug
The Server Instance is logging a warning for duplicated Enu, incorrectly:
Server instance: BC Category: Metadata ClientSessionId: 00000000-0000-0000-0000-000000000000 ClientActivityId: 00000000-0000-0000-0000-000000000000 ServerSessionUniqueId: 00000000-0000-0000-0000-000000000000 ServerActivityId: 9c221358-5422-4765-b553-b58bd32f6a02 EventTime: 10/09/2023 09:06:51 Message The object name **'SII Doc. Upload State Document'** can only appear once for the type 'Enum'. The same object exists in both extension ('437dbf0e-84ff-417a-965d-ed2bb9650972' 'Base Application', Publisher: Microsoft, Package ID: 270893f2-1c4f-400a-bc49-ae77891fd804, Runtime Package ID: 3dc678da-9d75-4b66-9994-63ec6d182364, Scope: Global, Version: 21.9.58412.0) and in extension ('437dbf0e-84ff-417a-965d-ed2bb9650972' 'Base Application', Publisher: Microsoft, Package ID: 270893f2-1c4f-400a-bc49-ae77891fd804, Runtime Package ID: 3dc678da-9d75-4b66-9994-63ec6d182364, Scope: Global, Version: 21.9.58412.0). ProcessId: 1204 Tag: 0000ES3 ThreadId: 8 CounterInformation:  CustomParameters: { } GatewayCorrelationId:
The problem is that there are 2 enums:

enum 10756 "SII Doc. Upload State Document Type"
enum 10755 "SII Doc. Upload State Document Source"

BC is truncating the name to 30 characters and this way it looks there are two duplicated enums  "SII Doc. Upload State Document".
Similar issue has been solved in [https://github.com/microsoft/AL/issues/6691]
2. To Reproduce
Just Start a BC instance of the Spanish localizartion. Base Application will raise the Warning in the Windows Event Viewer several times before get started.
3. Expected behavior
Correct Base Application to truncate the name of enum and change their names to prevent duplicated names.
This way no warning will be written in logs.
4. Actual behavior
Explained above.
5. Versions:

AL Language: 12.0.875970
Visual Studio Code: 1.83.0
Business Central: 21.9

@fcrespoprofand you should create a support request to get this fixed.
This is clearly a bug and can lead to errors in the future.
Therefore use the normal support channels to get this addressed by microsoft.

Hi @pri-kise I though this was the right channel to submit a support request. So... where should I submit it?
Thanks!

This repository is for Bug Reports with AL Language Extension.
For other BugReports check out the following link:
https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/technical-support#summary-of-where-to-file-bugs-and-issues
e.g. for BC SaaS Customers use the partner center and create a support request on behalf of this customer.

As commented, app bug that should be logged elsewhere, thus closing this entry

This is exactly the same error described in issue 6691 but with a different enum. Why it was solved in this forum but not current ticket?
I've accessed the link provided by @pri-kise but I'm a Customer and cant access to Microsoft Support for this kind of issue. 🤷♂

I've forwarded this internally


vg2png renders text with subscripts as bold

For some reason if text with character "₂" (subscript 2) is rendered with vg2png, the whole text is rendered as bold. vg2svg and the online vega editor do not render the text like that.
For example this document
{
  "width": 500,
  "height": 500,
  "autosize": "pad",
  "marks": [
    {
      "type": "text",
      "from": {"data": "table"},
      "encode": {
        "enter": {
          "x": {"field": {"group": "width"}, "mult": 0.5},
          "radius": {"signal": "width / 2 - 10"},
          "text": {
            "signal": "datum.id"
          },
          "fill": {"value": "#000"},
          "fontSize": {"value": 20},
          "baseline": {"value": "middle"},
          "y": {"field": {"group": "width"}, "mult": 0.5},
          "theta": {"signal": "(datum.startAngle + datum.endAngle)/2"}
        }
      }
    },
    {
      "type": "arc",
      "from": {"data": "table"},
      "encode": {
        "enter": {
          "fill": {"scale": "color", "field": "id"},
          "x": {"signal": "width / 2"},
          "y": {"signal": "width / 2"}
        },
        "update": {
          "startAngle": {"field": "startAngle"},
          "endAngle": {"field": "endAngle"},
          "innerRadius": {"value": 120},
          "outerRadius": {"value": 140}
        }
      }
    }
  ],
  "scales": [
    {
      "name": "color",
      "type": "ordinal",
      "domain": {"data": "table", "field": "id"},
      "range": {"scheme": "blueorange"}
    }
  ],
  "legends": [
    {
      "fill": "color",
      "labelFontSize": 30
    }
  ],
  "$schema": "https//vega.github.io/schema/vega/v5.json",
  "data": [
    {
      "name": "table",
      "values": [
        {
          "id": "foo₂",
          "field": 4
        },
        {
          "id": "foofoo₂",
          "field": 6
        },
        {
          "id": "bar",
          "field": 10
        }
      ],
      "transform": [
        {"type": "pie", "field": "field", "sort": true},
        {
          "type": "window",
          "groupby": [],
          "ops": ["sum"],
          "fields": ["field"],
          "as": ["total"],
          "frame": [null, null]
        }
      ]
    }
  ],
  "background": "white",
  "description": "A basic donut chart example.",
  "config": {}
}

with command vl-convert vg2png --input visualization.vg.json --output test.png will render like

while vl-convert vg2svg --input visualization.vg.json --output test.svg like

Thanks for the report @hukka. I'm having trouble reproducing the issue though. What version of vl-convert are you using?
vl-convert --version

With current main, 0.7.0, and 0.6.0 I'm getting this PNG image (running on a M1 mac)

The PNG rendering is handled by resvg which uses rustybuzz for text shaping. This library uses system fonts, but performs it's own text shaping.
Let's see if we can reproduce this using resvg directly and a simpler SVG.  Copy this text into an SVG file named simple_subscript_bold.svg.
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="100" height="100">
    <rect width="100%" height="100%" fill="white" />
    <text transform="translate(10,30)" font-family="sans-serif" font-size="20px" fill="#000">foo₂</text>
    <text transform="translate(10,60)" font-family="sans-serif" font-size="20px" fill="#000">bar</text>
</svg>

Then download and extract resvg-linux-x86_64.tar.gz from https://github.com/RazrFalcon/resvg/releases/tag/v0.30.0. This should give you a CLI executable named resvg.
Convert the SVG above to PNG with:
./resvg simple_subscript_bold.svg simple_subscript_bold.png

When I do this, here's the PNG I end up with:

The following warning is shown by resvg:
Warning (in usvg_text_layout:1398): Fallback from Arial to Arial Unicode MS.

Do you see the bold effect in this example?  We may need to play with the  --sans-serif-family resvg flag to specify a particular font by name.

Indeed without the font flag, it just complains that there's no match for font family. With ./resvg --sans-serif-family "Nimbus Sans" simple_subscript_bold.svg simple_subscript_bold.png I see the bold bug, in the png, and output wans:
Warning (in usvg_text_layout:1398): Fallback from Nimbus Sans to Noto Sans Mono.
With ./resvg --sans-serif-family "DejaVu Sans" simple_subscript_bold.svg simple_subscript_bold.png there are no warnings, and no rendering bugs. So this is a a bug in the fonts themselves? Or at most resvg, but I suppose at least not in Vega.

If you're willing, I think it's probably worth opening an issue in the resvg repo with this example. ("Nimbus Sans" turning subscript text bold and "DejaVu Sans" not doing so).
On the vl-convert side, we vendor "Liberation Sans" as a fallback (as it matches Arial quite well), so I'm guessing that you're also seeing the issue with Liberation Sans.

Oddly fc-match "Liberation Sans" returns LiberationSans-Regular.ttf: "Liberation Sans" "Regular" but ./resvg --sans-serif-family "Liberation Sans" simple_subscript_bold.svg simple_subscript_bold.png warns Warning (in usvg_text_layout:1398): Fallback from Liberation Sans to Noto Sans Mono. .
I'll see if I can figure out why it doesn't seem to find fonts that should be there

Also oddly, ./resvg --sans-serif-family "Noto Sans Mono" simple_subscript_bold.svg simple_subscript_bold.png renders without warnings, and the result is not bolded. But I cannot find a bold Noto Sans Mono in the system. I'll try to look at the rendered result and try to identify what is it actually using.

Font fallback was significantly revamped in https://github.com/vega/vl-convert/pull/170, so we now have a place to raise a warning or exception if we want to.
See https://github.com/vega/vl-convert/blob/d3da69060d85e3b07228a5bf2ab3ea83c294002b/vl-convert-rs/src/text.rs#L187
We do currently write a warning log with the rust log crate, but turning this into a Python warning will take a bit of routing.


Error: flutter.bat file automatically goes missing

Steps to Reproduce

Run flutter create bug.
Update the files as follows: ...
...

Expected results:
Actual results:

Logs

Hello,
I am comparatively new to flutter. Whenever i try to run flutter app in debug mode in my phone, this error pops up.
Error: "Could not find a flutter sdk. Please ensure flutter is installed and in your PATH (you may need to restart)".
I found out that the flutter.bat file in my flutter/bin folder went missing and i couldn't paste it due to the problem 'destination access denied'.Also flutter and flutter doctor do not run in command prompt (flutter/bin is added in environmental path variable ) When i restart my pc, i can copy the file and flutter runs well. Again, this problem pops up.
Please, help on this issue.
Thanks in advance.

@ShahinAkter94
I suggest you to ask this question on stackoverflow as this seems to be an issue with your setup or  the way you have setup the path. Please see https://flutter.dev/community for resources and asking questions like this.
Closing from here as this isn't a bug in framework, but a setup issue.


Google Calendar Auto Complete Still Not Working

Describe the bug
Auto completing contact whether in Meet with or when creating an event in Google Calendar still doesn't work?
To Reproduce
Steps to reproduce the behavior:

Go to Google Calendar
Click on Meet With
See error

Expected behavior
Should auto complete with a contact
Desktop (please complete the following information):

OS: OS 12.2.1
Browser Franz
Version 5.8.0

Additional context
https://github.com/meetfranz/franz/issues/2081
Same as this ^

I think I've fixed the calendar recipe, didn't realise it wasn't a Franz one. Just replicated the fix from kamyweb
index.js in the calendar recipe should be
"use strict";
module.exports = Franz => class Gmail extends Franz {
modifyRequestHeaders() {
return [{
headers: {
origin: 'RefererHost'
},
requestFilters: {
urls: ['://people-pa.clients6.google.com/', '://clients6.google.com/drive/', '://clients6.google.com/gmail/', '://signaler-pa.clients6.google.com/', '://addons-pa.clients6.google.com/', '://chat-pa.clients6.google.com/', '://clients6.google.com/voice/', '://hangouts.google.com/', '://peoplestack-pa.clients6.google.com/', '://calendar-pa.clients6.google.com/', '://play.google.com/']
}
}];
}
};

did you mean you have problem Google Calendar recipe or with the calendar inside Gmail webclient?


Bootstrap etcd data from a special dot

[ ] Backup etcd data to a "special" dot in dotmesh cluster. Bootstrapping system can notice the etc dot and an empty etcd, and restore data into etcd from the dot.

Recovery options:

automatic master election based on a timestamp where the etcd data is written to the nodes.
manual 'dm recover' where the user chooses which node to recover etcd data from. Preferred option, and avoids implementing raft ourselves.

With further thought, I think the local storage should just be a ZFS filesystem in the pool and not a dot. There's no point in replicating it with dotmesh when all nodes see the same etcd and snapshot it, we don't need an infinite history of commits, and the concurrency limit of writing to a dot might be a problem.
We should store a "backup snapshot counter" in etcd. Every node will periodically (whenever a "dirty" flag has been set, which is set after operations that update state we really care about; or N minutes after last time) dump all of etcd into a local ZFS filesystem, and atomically get+increment the snapshot counter in etcd, and write the snapshot counter and a wall-clock time into ZFS. The writes into ZFS should be done atomically, by writing into a new file called snapshot.tmp and then renaming it to snapshot when it's finished. The file should have a simple header with the snapshot counter and wall time in, a delimiter, than the raw etcd dump in JSON format.
On startup, the node should consider several cases.
Inputs:

There is a snapshot file in local ZFS (because this zpool isn't new).
There is a snapshot counter in etcd (because the etcd state already exists).

Cases:

No snapshot counter in ZFS, nor etcd - new node on a new etcd - proceed as usual
No snapshot counter in ZFS, one in etcd - new node added to existing cluster, proceed as usual
Snapshot counter in ZFS, none in etcd - go into RECOVERY MODE
Snapshot counter in ZFS and it's lower than the one in etcd - existing node returning to an existing cluster, proceed as usual
Snapshot counter in ZFS and it's higher than the one in etcd - REFUSE TO START as etcd has been rolled back; require manual confirmation to start (which will cause the loss of our snapshot state in ZFS as the backup system later replaces it with an older one), or let the user nuke etcd and re-start recovery mode with this node present.

"RECOVERY MODE" is:

Set a flag so that all RPCs (except special recovery ones explained below), all docker plugin actions, etc return a useful error message saying something like "This node is in recovery mode (link to docs about what to do)"
Announce in etcd our snapshot counter and wall-clock time of last snapshot, filed under our server ID: /dotmesh-io/recovery/offers/SERVER ID
Watch for /dotmesh-io/recovery/proceed to be created.
If /dotmesh-io/recovery/proceed is set to our server ID, start a goroutine that:

Reads our ZFS snapshot into etcd, except for anything under /dotmesh-io/recovery
Sets /dotmesh-io/recovery/complete to something.

Wait for /dotmesh-io/recovery/complete to be set to something.
Unset the recovery flag, and proceed with normal operation.

The special recovery RPCs are just:

DotmeshRPC.GetRecoveryStatus - returns the recovery flag, and everything under /dotmesh-io/recovery from etcd (but in a nice format).
DotmeshRPC.InitiateRecovery - sets /dotmesh-io/recovery/proceed to a specified server ID.

The dm command line tool needs to have an interface that calls DotmeshRPC.GetRecoveryStatus and dumps the results. If we're waiting for proceed then it suggests the most recent (highest snapshot counter) node, and lets the user choose to set proceed to it with DotmeshRPC.InitiateRecovery, or to pick another node (for some reason) for DotmeshRPC.InitiateRecovery, or to do nothing and wait.
Have I missed anything?

LGTM, make it so! :)

The snapshot counter in etcd should be kept somewhere OTHER than /dotmesh-io/recovery, so that it gets restored from the snapshot. /dotmesh-io/recovery is purely for the running state of a recovery operation. However, we must ensure that the snapshot counter is the last thing to be recovered from the snapshot, just before /dotmesh-io/recovery/complete is set, as the snapshot counter's presence is the marker used by newly-starting nodes to tell if they need to go into recovery or not.
Let's consider edge cases of nodes starting up while other nodes are at various points in the process...

Any node that starts before recovery is completed won't find a snapshot counter in etcd, so will go into recovery. If recovery is already proceeding they'll write their details into the registry of available snapshots and carry on to block for proceed then complete. That's OK.
A node that starts just as recovery has ended, and sees the snapshot already there, starts up as usual.
A node with a more recent snapshot than that picked to proceed with recovery just shrugs and runs with the older state. This might be a mistake, so here's a modification to the snapshot algorithm: When writing a snapshot to local ZFS storage, if the previous snapshot there is NEWER (higher snapshot counter) than the snapshot we're about to run, move it to a name that won't get overwritten (orphan-snapshot-at-COUNTER-TIMESTAMP) and log the fact so somebody knows it's there.

Does case 3 in https://github.com/dotmesh-io/dotmesh/issues/359#issuecomment-376594581 interact badly with case 5 in your "Cases" list in https://github.com/dotmesh-io/dotmesh/issues/359#issuecomment-376583768?

Also, is it really a "backup snapshot counter"? We're not taking snapshots of this pool/etcd-backup ZFS filesystem. Maybe just "backup counter" is a better name. How do we coordinate unsetting the dirty flag if it's in etcd?

The dirty flag is per-node in RAM. That node sets it when it knows it's written something fun to etcd; it has to be per-node as it's unset when that node has done a snapshot. The goroutine that does the snapshots should clear the flag as soon as it's noticed it's set and started the snapshot, so if another event puts something cool in etcd while the snapshot is happening, a new snapshot will happen right after to make sure it's saved.

Yeah, I like @lukemarsden's idea of putting the snapshots into a dot as a "second generation" while still having the simplicity and immediacy of a local dump! Let's say that the snapshot goroutine, if the current node is master for the snapshot dot, snapshots into it (and just leaves a marker in its snapshot ZFS filesystem pointing to the snapshot dot filesystem, which the recovery process follows - perhaps even a literal symlink...)

Alternative: https://github.com/kopeio/etcd-manager

Alternative: see if upgrading etcd operator solves our woes


poor GPS reception

Describe the bug
I just got C3. After driving for a few minutes, an error message pop-up "poor GPS reception". It occurred every trip. I did a hard reset per recommendation from comma.ai support, but the problem continues.
What hardware does this issue affect?
comma three
Provide a route where the issue occurs
a96d2488318ec4b8|2021-12-31--02-15-22--0
openpilot version
0.8.12
Additional info
position of camera

This is not something I reported. I don't believe that's my car. I haven't submitted any bug or trouble tickets for my C3. Unless its something the C3 did itself?
Thank you,John
Sent from Yahoo Mail on Android
On Fri, Dec 31, 2021 at 12:33 PM, @.***> wrote:
Describe the bug
I just got C3. After driving for a few minutes, an error message pop-up "poor GPS reception". It occurred every trip
What hardware does this issue affect?
comma three
Provide a route where the issue occurs
a96d2488318ec4b8|2021-12-31--02-15-22--0
openpilot version
0.8.12
Additional info
position of camera
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

I've taken a quick look at the qlogs, and it looks like there are no raw gps messages coming in, waiting for your device to come online to confirm.
Most likely the cable between your main PCB and the gps module might have come undone in shipping. If you're comfortable disassembling the device you can take a look yourself to see if both sides of the cable are fully seated, if not, please contact<EMAIL_ADDRESS>and we'll have your device fixed in house! Sorry for the trouble!

Thank you for checking this for me.
Antao

On Jan 3, 2022, at 4:42 AM, Robbe Derks @.***> wrote:

I've taken a quick look at the qlogs, and it looks like there are no raw gps messages coming in, waiting for your device to come online to confirm.
Most likely the cable between your main PCB and the gps module might have come undone in shipping. If you're comfortable disassembling the device you can take a look yourself to see if both sides of the cable are fully seated, if not, please contact @.*** and we'll have your device fixed in house! Sorry for the trouble!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.


Add support for requesting multiple locations

This PR introduces support for multiple locations for both RPCs.
Fixes #19

Builds on top of #24. Only the last two commits are from this PR.


No such package 'integrations/tensorflow/e2e'

Hi,
I tried to run e2e test. (TensorFlow e2e tests)
I met some problems, when I ran the command bazel run //integrations/tensorflow/e2e:conv_test_manual in the section Running Tests.
Here is my error message.
ERROR: Skipping '//integrations/tensorflow/e2e:conv_test_manual': no such package 'integrations/tensorflow/e2e': Package is considered deleted due to --deleted_packages
WARNING: Target pattern parsing failed.
ERROR: no such package 'integrations/tensorflow/e2e': Package is considered deleted due to --deleted_packages
INFO: Elapsed time: 0.252s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)

Thanks!

Duplicate of #7422


Feature: Log in

Finish up log in and register feature. For now, this can be done with fake data within the app.

@svendoejaaren @robin500818167 you'll have to discuss how you will both work together with this feature

Register has been merged with project and works!


how i can get metadata in shader

https://sandcastle.cesium.com/?src=Custom Shaders 3D Tiles.html&label=3D Tiles Next
in this example each building have metadata like BIN,but how i can get it in shader
              vertexShaderText: `
        void vertexMain(VertexInput vsInput, inout czm_modelVertexOutput vsOutput)
        {
        int featureId = vsInput.featureIds.featureId_0;
        vsInput.metadata.BIN;
        }
        `

when i add vsInput.metadata.BIN in shader,it fail to compile

@lilleyse @ptrgags can you give me some advice

@chen21439 Property tables aren't supported in custom shaders yet. See https://github.com/CesiumGS/cesium/issues/10480 and https://github.com/CesiumGS/cesium/issues/9572 for more details.
For now you'll need to do this with a Cesium3DTileStyle.
I'll close this issue for now and leave a comment in https://github.com/CesiumGS/cesium/issues/9572


Spurious "This element has an unsupported ARIA attribute"

Test gives a "[Severe] This element has an unsupported ARIA attribute". Spec says that aria-hidden is usable on "All elements of the base markup"
http://www.w3.org/TR/wai-aria/states_and_properties#aria-hidden
Same for several others; aria-label, aria-disabled, etc.

I have the exact same problem since the last update.  Add to the list aria-live.

Thanks for reporting.
This was fixed here: https://github.com/GoogleChrome/accessibility-developer-tools/issues/199
The fix should be included in the next release of the extension.

This should be fixed in extension v2.10.9 which I just pushed out - please re-open if it isn't!


Squid Funding Detector Bot

Create a bot to detect Squid as a funding source. Already in progress by @Vxatz

Squid Funding detector has been deployed.


How to disable Team sync for external authentication ?

Hi
Question:
We have updated our version of portainer (2.10 -> 2.14) and we can't longer edit Teams members.
We have the following message " The team leader feature is disabled as external authentication is currently enabled with team sync."  on the edit team page.
We use AD authentication but we don't want to synchronize teams with AD Groups
On the Authentication configuration page we can't find any option in order to deactivate the team sync.
Could you tell me if this is a bug or if there is a way to change that parameter in an ither page ?
Kind regards,
Jean-François

@step-team-jf
Referencing the Community Slack thread here:  https://portainer.slack.com/archives/C2AGKR5JB/p1661250179047549
Updates to follow.

@step-team-jf
Our Teams and Team Leader feature was re-designed in 2.14.0.  To disable the team sync, you would need to remove the data in the Group search configurations and only use the User search configuration.
Thanks!

@step-team-jf
I wanted to follow up on this request.  We have identified an issue with the Microsoft Active Directory authentication not removing the Group configuration.  The workaround is to use the LDAP or Custom authentication.  An internal request has been logged.
Thanks!

Update:
This issue has been resolved in 2.17
Thanks!


Implement optimized rendering query in TimerData

In this PR we are implementing the optimized query in TimerData,
similarly to what we did in ThreadTrack/ScopeTreeTimerData: https://github.com/google/orbit/pull/2929.
The method was introduced in https://github.com/google/orbit/pull/4107, but not implemented.
Here we are aiming to provide a way to get timers without looping
through all of them for TimerTracks. As it says in TimerDataInterface,
GetTimersAtDepthDiscretized avoids returning two timers that map to the
same pixel in the screen, so is especially useful when there are many timers
in the screen (zooming-out for example).
The implementation is way similar to ScopeTreeTimerData's one, but it
needs to iterate through blocks in the TimerChain because the data
structure doesn't provide O(1) access (explained in http://b/242970806).
We include a method in TimerChain to get the LowerBound inside a Block),
and we added unit tests for the new query. In a following step, this method
will be used to simplify UpdatePrimitives in SchedulerTrack. We also added
scopes, so the time for the query is measured when using introspection.
Bug: http://b/242971209.
Test: Unit Tests.

I made several changes, PTAL.


fix: Uses release branch tag in the CI

Description
Preparing release branch release-1.15.
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that validate the behaviour of the software
[ ] I validated that new and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

im not too familiar with this, does this PR create a new workflow only for this branch?

im not too familiar with this, does this PR create a new workflow only for this branch?

Yes, it will trigger the CI when we create a PR on this branch. And this PR already shows that, the CI is running although we are not pushing anything to main.

I added dependabot config specific for this branch. Let me know in case of any objections @ghislainbourgeois


Back-out indexed Properties

Fixes #16310
I looked at other options before doing this, but they all come back to making queries work or there is really no point. I also looked at leaving some of the code in, but that would basically resulting in maintaining dead code. So on balance, I'm opting for clean removal.

@divega I think we can just find this PR/commit

@AndriySvyryd - Is the code in this PR good enough? I can start with a revert commit.

@smitpatel Yes


PackageId:CPython39.Exe.x64;PackageAction:Install;ReturnCode:1603;

This issue has been moved from a ticket on Developer Community.

Describe your issue here
===DO NOT EDIT BELOW THIS LINE===
PackageId:CPython39.Exe.x64; PackageAction:Install; ReturnCode:1603;

Original Comments
Feedback Bot on 1/19/2023, 07:19 PM:
(private comment, text removed)

Original Solutions
(no solutions)

Hi there, please see https://learn.microsoft.com/en-us/visualstudio/python/installing-python-support-in-visual-studio?view=vs-2022#troubleshooting.
If that doesn't solve your issue, we could use more detailed logs to see what's really going on. Can you please collect more logs by running http://aka.ms/vscollect.exe and uploading %temp%\vslogs.zip and reopen the ticket if it persists? Thank you!


[FEATRUE] F2 APP 跨平台应用

Getting Started
This project is a starting point for a Flutter application By F2.
Screenshot

repo: https://github.com/Johnserf-Seed/f2-app

快快搞个证书上ios

快快搞个证书上ios

ios端已经开发完毕了，但是可能不会公开发布


Add Firebase Storage emulator support

This PR brings support for the new Firebase Storage emulator that allows virtualizing Google Cloud Storage.
See https://firebase.google.com/docs/emulator-suite/connect_storage for a detailed overview of the new emulator.
As part of the PR I have also fixed usage of the ENABLE_UI env variable (a wrong one was previously used to determine if the emulators UI should be enabled).

@armiol PTAL.


Build docker image from clean context

Ensure the ci build process for the public docker image starts from a clean context (e.g. separate job)

Right now we build the docker image in the same job that we deploy the static site to GH pages from: https://github.com/neurobagel/query-tool/blob/8cdc5f2a2e62d8b98f352807f253b9c22fe03cf8/.github/workflows/cd.yaml#L37-L52
That's no good, because the .env file from the static site build gets baked into our public Docker image - and we don't want that. We will fix this in https://github.com/neurobagel/query-tool/issues/210. But we also should also make sure that we use a fresh context to build the image. Either by building in a separate workflow, or at least a separate job.
Originally posted by @surchs in https://github.com/neurobagel/api/pull/154#discussion_r1316470086

We will split these into two workflow files, maybe one build and one deploy


Remove unnecessary host entry from Spring REST Docs contract generation

This PR removes unnecessary host entries from Spring REST Docs-generated request contracts:

scheme, host and port parts of the url
Host header
Content-Length header
All seem not be needed and could just cause problems with the contract.

This PR is the same as #292 but with fixes applied and targeted at 1.0.x branch.
Issue #290 was already closed (by mistake I guess) and it is still valid.
Closes #290

Codecov Report

Merging #294 into 1.0.x will increase coverage by 0.06%.
The diff coverage is 87.5%.

@@             Coverage Diff              @@
##              1.0.x     #294      +/-   ##
============================================
+ Coverage     60.41%   60.48%   +0.06%
- Complexity     1433     1438       +5
============================================
  Files           204      204
  Lines          5836     5848      +12
  Branches        729      731       +2
============================================
+ Hits           3526     3537      +11
- Misses         1901     1902       +1
  Partials        409      409

Impacted Files
Coverage Δ
Complexity Δ

...contract/wiremock/restdocs/ContractDslSnippet.java
94.28% <87.5%> (-0.55%)
20 <4> (+5)

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 4c4a18e...3d23964. Read the comment docs.


Issue when I click on an Item

Hi,
I have a problem when I click on an Item in my dropdown. The only way to detect a click on a specific Item was to use the "highlightItem" event but when there are several Items selected it does not work as I would like because it returns all the active Items and not only the one I clicked on.
Same when I click in the search bar, the event is also activated.
I don't know if this is a bug or if it's intentional, but I would like to have an event that detects the click on a specific Item in order to perform actions.
link to my example
Thanks

There currently isn't any event for an item/choice click


Fixed lang type

This solves an incompatibility issue between this package’s built-in types and @types/refractor.
See https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/refractor/core.d.ts#L3-L7.

Had already submitted a PR for this a month ago... sorry for the duplicate.


Move expected values form into a popover

Story

https://www.pivotaltracker.com/story/show/63991566

Notes

reworking of https://github.com/projecttacoma/bonnie/pull/278
created new Thorax view for popover (instead of handlebars script approach)
displays set expected values, with pencil button for editing (can be set on popover close or by saving the patient)

Screenshots

checkboxes

numbers (EoC)

patient-based CV

EoC CV

Closing this pull request unmerged; some analysis from Lizzie that contributed:
Cristen mentioned it’s a more elegant way to handle setting expectations for CV and Episode of Care measures. I guess I don’t really see why from the screen shots.
For more engaging, I actually think it’s easier to accidentally pass over this while you’re editing a patient.
For solving the issue where expectations aren’t being set, that makes sense to me. But what’s the expected behavior when I clone a patient? Do I need to click the box then? If so, this could be annoying if I want to keep the same populations. If not, then it seems like the benefit of this being an added check goes away.
I don’t find the existing check boxes visually distracting, and I think the extra click would be annoying (but like Cristen mentioned, would be a pretty minor inconvenience).
If it does get implemented, then I think the text under “EXPECTED VALUE” needs to change. I read over it several times without noticing it. It might be good to have the populations in a table list (fixed spacing between cells) and to have the populations the patient won’t be in included as well in a separate list.


Publish<EMAIL_ADDRESS>

Release: https://github.com/realm/SwiftLint/releases/tag/0.53.0

CI never ran despite @brentleyjones’s approval. I’ll try rebasing.


How to use hnk_setImageFromURL on "empty" UIImageView?

Im trying to load images on UIImageView
Im doing this when I recieve my data from webservice.
    UIImageView *capsulaImagen = [[UIImageView alloc]init];

    capsulaImagen.hnk_cacheFormat=[HNKCache sharedCache].formats[@"thumbnail"];

    [capsulaImagen hnk_setImageFromURL:url ];

But im getting an awkward behavior on the UITableViewCell, images wont show until I scroll the table, and first two ones will show with the lines overlayed.
Like this:

I have tried declaring the UIImageView with initWithFrame
   UIImageView *capsulaImagen =[[UIImageView alloc]initWithFrame:CGRectMake(0, 0, 200, 200)];

But the issue persist, also tried using this after and still the same:
    [capsulaImagen sizeToFit];

    [capsulaImagen reloadInputViews];

    [capsulaImagen setNeedsDisplay];

What should I do?

I have a similar issue with a custom UIImageView on a custom UITableViewCell.  On first load the image is blurry.  After scrolling past and coming back, the image is correct...  Not setting the image, the placeholder image is loading as expected.

@danielrosero did you find an answer to this? I'm having trouble with the same thing.


Campaign class update

Update
Final cleanup to Campaign classes, similar to recent update to Kudos classes. This brings standard methods for data access so all (Campaign, Kudos, Reportback & ReportbackItem) work in a very similar fashion.
Also includes some quick comment cleanup :)
@DFurnes @aaronschachter @angaither
CC: @jonuy @mshmsh5000 @deadlybutter

Seems good to me! :+1:


[Outlook] (REST) Update REST endpoint decommission note

The Outlook REST endpoint decommission date has been postponed (previously scheduled for November 30, 2022). As the new decommission date is still pending and the previously announced date is fast approaching, updated the note about the postponement.

Learn Build status updates of commit 6649769:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/outlook/use-rest-api.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit a41e8bc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/outlook/use-rest-api.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Possible compiler bug in this layer norm function

Not fully complete layer normalization function:
default(f32)

-- Normalizes each column to have a std of 1.0 and mean of 0.0.
fun forward_layer_norm(a: [cols][rows]f32): [cols][rows]f32 =
	let means: [rows]f32 = map (fn a => (reduce (+) 0.0 a) / f32(cols)) a in
	let second_passes: [cols][rows]f32 =
		zipWith (fn a mean => zipWith (fn e mean => (e - mean)*(e - mean)) a mean) a (replicate cols means)
	let stds: [rows]f32 =
		map (fn second_pass =>
			let x = reduce (+) 0.0 second_pass in -- sum reduces the partial variance calcs
			sqrt32(x / f32(cols)) -- calculates the full std
			) second_passes in
	second_passes

fun main(): [][]f32 =
	forward_layer_norm([[1.0,2.0,3.0,4.0,5.0]])

When compiled:
C:\futhark\examples>futhark-opencl layer_norm.fut
Warning at layer_norm.fut:8:13-8:13:
  Unused variable 'stds'.
After internalisation:
In function forward_layer_norm_21f
In expression
   map(cols_119,
       fn {f32} ([size_135]f32 second_pass_153) =>
         let {f32 res_154} =
           reduceComm(size_135,
                      fn {f32} (f32 binop_param_x_155, f32 binop_param_y_156) =>
                        let {f32 res_157} = fadd32(binop_param_x_155, binop_param_y_156)
                        in {res_157},
                      {0.0f32}, second_pass_153)
         let {f32 x_158} = res_154
         let {f32 y_159} = sitofp i32 cols_32 to f32
         let {f32 arg_160} = fdiv32(x_158, y_159)
         let {f32 res_161} = sqrt32(arg_160)
         in {res_161},
       second_passes_151)
In expression
   sitofp i32 cols_32 to f32
In subexp cols_32
Use of unknown variable cols_32.

It feels like this is a compiler bug to me as cols should not be unknown inside let stds. What do you think?

Thank you for finding this bug.  I think it is related to the shape
declarations in the type annotations of let bindings - I don't think I
ever considered that case (it also presently won't have any effect, I
think).
--
\  Troels
/\ Henriksen

Here is one more, related to this:
default(f32)

-- Normalizes each column to have a std of 1.0 and mean of 0.0.
fun forward_layer_norm(a: [cols][rows]f32): [cols][rows]f32 =
	let cc: f32 = f32(cols)
	let means: [rows]f32 = map (fn a => (reduce (+) 0.0 a) / cc) a in
	let second_passes: [cols][rows]f32 =
		zipWith (fn a means => zipWith (fn e mean => (e - mean)*(e - mean)) a means) a (replicate cols means)
	let stds: [rows]f32 =
		map (fn second_pass =>
			let x = reduce (+) 0.0 second_pass in -- sum reduces the partial variance calcs
			sqrt32(x / cc) -- calculates the full std
			) second_passes in
	zipWith ( fn a means stds => zipWith (fn x mean std => (x - mean) / std) a means stds) a (replicate cols means) (replicate cols stds)

fun main(): [][]f32 =
	forward_layer_norm([[1.0,2.0,3.0,4.0,5.0]])

Output:
C:\futhark\examples>futhark-opencl layer_norm.fut
futhark-opencl: BinderT.lookupType: unknown variable cols_33

It took me a while for me to reinstall the graphics drivers since the OpenCl.dll was missing. I finally ran it, found a bug on my end and when I fixed it, I found two more examples of the above bug.
-- Normalizes each column to have a std of 1.0 and mean of 0.0.
fun forward_layer_norm(a: [cols][rows]f32): [cols][rows]f32 =
	let cc: f32 = f32(cols)
	let ccc: int = cols
	let means: [cols]f32 = map (fn a => (reduce (+) 0.0 a) / cc) a
	let second_passes: [cols][rows]f32 = zipWith (fn a means => zipWith (fn e mean => (e - mean)*(e - mean)) a means) a (replicate cols means)
	let stds: [cols]f32 =
		map (fn second_pass =>
			let x = reduce (+) 0.0 second_pass in -- sum reduces the partial variance calcs
			sqrt32(x / cc) -- calculates the full std
			) second_passes in
	zipWith ( fn a means stds => zipWith (fn x mean std => (x - mean) / std) a means stds) a (replicate ccc means) (replicate ccc stds)

C:\futhark\examples>futhark-opencl layer_norm.fut
futhark-opencl: BinderT.lookupType: unknown variable cols_29

fun forward_layer_norm(a: [cols][rows]f32): [cols][rows]f32 =
	let cc: f32 = f32(cols)
	let ccc: int = cols
	let means: [ccc]f32 = map (fn a => (reduce (+) 0.0 a) / cc) a
	let second_passes: [cols][rows]f32 = zipWith (fn a means => zipWith (fn e mean => (e - mean)*(e - mean)) a means) a (replicate cols means)
	let stds: [ccc]f32 =
		map (fn second_pass =>
			let x = reduce (+) 0.0 second_pass in -- sum reduces the partial variance calcs
			sqrt32(x / cc) -- calculates the full std
			) second_passes in
	zipWith ( fn a means stds => zipWith (fn x mean std => (x - mean) / std) a means stds) a (replicate ccc means) (replicate ccc stds)

C:\futhark\examples>futhark-opencl layer_norm.fut
Warning at layer_norm.fut:6:13-6:13:
  Unused variable 'ccc'.
futhark-opencl: BinderT.lookupType: unknown variable ccc_39

It seems I won't be able to move around this bug. This seems quite serious.
When I remove the shape annotations for means and stds I get this:
default(f32)

-- Normalizes each column to have a std of 1.0 and mean of 0.0.
fun forward_layer_norm(a: [cols][rows]f32): [cols][rows]f32 =
	let cc: f32 = f32(cols)
	let ccc: int = cols
	let means: []f32 = map (fn a => (reduce (+) 0.0 a) / cc) a
	let second_passes: [cols][rows]f32 = zipWith (fn a means => zipWith (fn e mean => (e - mean)*(e - mean)) a means) a (replicate cols means)
	let stds: []f32 =
		map (fn second_pass =>
			let x = reduce (+) 0.0 second_pass in -- sum reduces the partial variance calcs
			sqrt32(x / cc) -- calculates the full std
			) second_passes in
	zipWith ( fn a means stds => zipWith (fn x mean std => (x - mean) / std) a means stds) a (replicate ccc means) (replicate ccc stds)

fun main(): [][]f32 =
	forward_layer_norm([[1.0,2.0,3.0,4.0,5.0]])

C:\futhark\examples>layer_norm
Assertion False at layer_norm.fut:8:69-8:69 failed.

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Not the usual way the application terminates. I think I'll continue this tomorrow. I probably need to replicate with rows and transpose the thing instead...

The shape annotations are indeed buggy.  I never really put much thought into how they'd work for let-bindings, and they mostly snuck in by accident when I unified parameter and pattern syntax.
The assertion error is not a compiler bug, though.  The problem is this expression:
zipWith (fn a means => zipWith (fn e mean => (e - mean)*(e - mean)) a means) a (replicate cols means)

Specifically, the inner zipWith.  Here you are trying to zip a (which is a row of the outer a - careful with shadowing), of size rows, with means (a row of the outer means), which is of size cols.  Whenever rows != cols, this will fail.


Downgrade JVM target error to warning in kotlin-dsl plugin

Part of #26162
Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test this without PTS

I've triggered the following builds with parameters: -DenablePredictiveTestSelection=false for you. Click here to see all build failures.

PullRequestFeedback build

The merge queue build has started. Click here to see all failures if any.


bump version in package.json to v2.21.4

release version v2.21.4

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


OTA功能

请问有相关OTA的功能吗？
如果没有的话，能提供一个解决方案吗？都需要通过哪些步骤，尝试自己去实现下

There is no OTA update function. This repo is only focused on peripheral support for ATSAMD MCUs, none of which have BT/WiFi on their own. They may or may not have features to support bootloaders, not sure about that

@yangzj208, I'm going to close this. Please reopen of you have any additional questions.


tests : Tests all cases (#28) for the Manager class (#27) and fix tests

fix load DotEnv class in the Container, Kernel, and Router tests for using Manager class (#27) from the Container of services.

tests Manager class :

Persist with some entities ;
Flush with one entity ;
Flush with some entities after persisting;
Throw all manager exceptions.


[Minor] [SparkR] Update data-manipulation.R to use native csv reader

What changes were proposed in this pull request?

Since Spark has supported native csv reader, it does not necessary to use the third party spark-csv in examples/src/main/r/data-manipulation.R.
Running R applications through sparkR is not supported as of Spark 2.0, so we change to use ./bin/spark-submit to run the example.

How was this patch tested?
Offline test.

Test build #58136 has started for PR 13005 at commit 9099d27.

Test build #58136 has finished for PR 13005 at commit 9099d27.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test PASSed.

cc @shivaram @davies @srowen

There are more refs to spark-csv in the R docs -- looks like they too can be removed?

Test build #58141 has started for PR 13005 at commit 3a2b79a.

Test build #58141 has finished for PR 13005 at commit 3a2b79a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

@srowen Removed all refs to spark-csv in SparkR related code and docs.

LGTM, merging into master and 1.0.


printf("%s", NULL) - crash

Hi!
Some placeholder should be used for NULL %s argument to prevent printf from crash:
      case 's' : {
        const char* p = va_arg(va, char*);
        if (!p) p = "(null)"; // please add this

I just came here to add just that!
    const char* p = va_arg(va, char*);
    p = (p == NULL) ? "(null)" : p;

This should be an optional behaviour as in many embedded situations address zero is a perfectly valid one.

@dev-zzo : What about %p, then? Should that also not have an option to print 0 as 0 rather than (nil) on such platforms?

So, this issue is now fixed on my fork. @dev-zzo , @noomio , @mpaland  Please have a look and voice your opinion about the behavior with null/0 pointers.
Also, @mpaland : Can you explain the code's "partiality" to the use of _out_rev? That is, what's the benefit of printing characters backwards like that? I used it too in the changes I made for this issue, but I was just following the pattern.


Made footer-dark-13 responsive

Made footer-dark-13 responsive. Screenshots attached.
On large screens:

On mobile screens:

Looks amazing but make sure to raise and issue before you make a PR form the next time. @Dibyendu303

@Rajdip019 Okay


Dockerfiles are coupled to build process

The Docker files should not be dependence on first locally building the Java project.  The Docker files should use multisource Dockfile to build the project and then create the image.
Reason:

Not all people (like me ) have correct Java environment to build projects.  Only requirement should be Docker.
You do not have any documentation as far as I can see so it is hard to figure out what to do.

I could create pull request with solution if you are interested.
Here is example for the API:
FROM  adoptopenjdk/maven-openjdk8 AS build-env
COPY . ./
RUN mvn install clean
RUN mvn package
FROM openjdk:8-jre
VOLUME ["/hygieia/logs"]
RUN mkdir /hygieia/config
EXPOSE 8080
ENV PROP_FILE /hygieia/config/application.properties
WORKDIR /hygieia
COPY --from=build-env target/*.jar /hygieia
COPY target/*.jar /hygieia
COPY docker/properties-builder.sh /hygieia/
RUN sed -i 's/\r$//' properties-builder.sh
CMD ./properties-builder.sh &&
java -Djava.security.egd=file:/dev/./urandom -jar *.jar --spring.config.location=$PROP_FILE
Thanks,
John

@chyno The docker files are in the process of being fixed. The docker images will be available in Dockerhub shortly. check back in a week. The documentation will be updated with links to the images in dockerhub.


Horizontal Bar Charts: Can I overlay labels on top of the bars?

This is a great tool!!  Thank you so much for the hard work.
I am creating a dashboard in Flutter web app with multiple fl_chart widgets. I don't have a lot of real estate to spare. Currently I have four LineCharts and I'm trying to fit in a horizontal BarChart.
So, each bar contains a label that indicates what the data point is.  The problem is that the bar is most often not long enough to contain the label.  This causes a right overflow error.  Is there any way to have the labels overlay the bars themselves and display without an overflow?
I have attached a screenshot of my BarChart.  I like how it looks except for the overflow and I would like the values (not the labels) to be right justified.

I have provided the code below.  I am just using static data to flesh this out.

DashboardScreen Widget
UsageChartLanguagePair Widget
LanguagePair Model Data

DashboardScreen Widget:
import 'package:project/widgets/usage_chart_language_pair.dart';
import 'package:project/models/language_pair_model.dart';

class DashboardPage extends StatefulWidget
{
    const DashboardPage({ Key? key, required this.title }) : super(key: key);

    final String title;

    @override
    State<DashboardPage> createState() => _DashboardPageState();
}

class _DashboardPageState extends State<DashboardPage> with AutomaticKeepAliveClientMixin<DashboardPage>
{
	//  All the other widgets

	// fl_chart: Horizontal BarChart for Language Pairs
	Row
	(
		children: const
		[
			Text( 'Language Pairs', style: TextStyle ( color: Colors.white, fontSize: 24.0 ), ),
			Spacer(),
		],
	),

	const SizedBox( height: kDefaultPadding, ),

	...languagePairs.map
	(
		(e) => UsageCharLanguagePairs
		(
			percent: e.percent,
			percentHighest: e.percentHighest,
			languagePair: e.languagePair,
		),
	),

	...
}

UsageChartLanguagePair Widget
import 'package:flutter/material.dart';
import 'package:project/config/constants.dart';

class UsageChartLanguagePair extends StatelessWidget
{
    final double percent;
    final double percentHighest;
    final String languagePair;

    const UsageChartLanguagePair
    (
        {
            Key? key,
            required this.percent,
            required this.percentHighest,
            required this.languagePair,
        }
    ) : super(key: key);

    @override
    Widget build(BuildContext context)
    {
        return LayoutBuilder
        (
            builder: (context, constraints)
            {
                return Container
                (
                    width: (percent / percentHighest) * constraints.maxWidth,
                    height: 30.0,
                    padding: const EdgeInsets.symmetric( horizontal: kDefaultPadding, ),
                    margin: const EdgeInsets.only(bottom: kDefaultPadding),
                    decoration: BoxDecoration
                    (
                        color: percent == percentHighest
                            ? yellowColor.withOpacity(0.5)
                            : yellowColor.withOpacity(0.2),
                        borderRadius: BorderRadius.circular(30.0),
                    ),
                    child: Row
                    (
                        mainAxisAlignment: MainAxisAlignment.spaceBetween,
                        children:
                        [
                            Text( languagePair, style: const TextStyle( color: Colors.white, ), ),
                            Text( '$percent',   style: const TextStyle( color: yellowColor,  ), ),
                        ],
                    ),
                );
            }
        );
    }
}

LanguagePair Model Data:
class LanguagePairModel
{
    final String languagePair;
    final double percent;
    final double percentHighest;

    LanguagePairModel
    ({
        required this.languagePair,
        required this.percent,
        required this.percentHighest,
    });
}

List<LanguagePairModel> languagePairs =
[
    LanguagePairModel( languagePair: 'English > Spanish',      percent: 22.52, percentHighest: 22.52, ),
    LanguagePairModel( languagePair: 'Portuguese > English',   percent: 11.87, percentHighest: 22.52, ),
    LanguagePairModel( languagePair: 'Spanish (US) > English', percent: 05.59, percentHighest: 22.52, ),
    LanguagePairModel( languagePair: 'English > French',       percent: 04.77, percentHighest: 22.52, ),
    LanguagePairModel( languagePair: 'English > German',       percent: 04.34, percentHighest: 22.52, ),
    LanguagePairModel( languagePair: 'English > Korean',       percent: 3.79,  percentHighest: 22.52, ),
    LanguagePairModel( languagePair: 'English > Serbian',      percent: 2.80,  percentHighest: 22.52, ),
    LanguagePairModel( languagePair: 'Other',                  percent: 22.18, percentHighest: 22.52, ),
];

Thanks!
Steve

Please provide me a reproducible code (a main.dart file content that I can run it without any other dependency. a simplified version)


Added library nuuid

Added a Nim source only UUID generator library

These are incorrect in the .nimble file: https://github.com/wheineman/nim-only-uuid/blob/master/nuuid.nimble#L7,L9
I will merge this in anyway, but you should fix it.

Thanks, fixed. I'll get the hang of this.


server api versioning

Bumped chef-pedant and oc_erchef.
Added config entries to capture req_api_version to log
Added routing for /server_api_version
Added pedant config entry for req_api_version. I may revisit this to make  the  value configurable

LGTM other than obvious cleanup. Please squash.


webcord-git: Not running in Wayland

Aknowledgements

[X] I have checked that there's no other issue describing the same or
similar problem that I currently have, regardless if it has been
closed or open.

[X] I can confirm that this is not an issue with the Discord website,
but it is a problem specific to the WebCord itself. I have tested
if this bug occurs on Chromium/Chrome or any other Chromium-based
browser that uses unpatched/upstream Chromium engine.

[X] I have tried running the build from the master branch and it does
not have any fixes implemented according to my issue.

[ ] My issue describes one of the unstable and/or not fully implemented
features.

[ ] I have found a workaround to mitigate or temporarily fix this issue
in affected releases (please write it in Additional context section
below).

Operating System / Platform
🐧 Linux
Operating system architecture
x64 (64-bit Intel/AMD)
Electron version
v19.0.10
Application version
v3.6.0
Bug description
I am running WebCord with the command webcord --ozone-platform=wayland, and it opens as an XWayland window.
Is there a way to force it to start in Wayland? I looked at optimize.ts and it appears this command line flag is all that is needed, but it's either not working or not being picked up.
XDG_SESSION_TYPE is set to wayland
Additional context
I am running Arch Linux using the AMD open source drivers on a ROG Zephyrus G14 GA402 laptop, and the Hyprland compositor.

(...) and it opens as an XWayland window.

How did you checked that? xeyes? Just in case CSD is enforced by another flag, but I'm unsure whenever that should be a thing or not (it definitely is needed on GNOME and KDE, not sure about others through).

Is there a way to force it to start in Wayland?

Not on my side. I would probably start a new issue ticket to add API for BrowserWindow to know whenever it runs under Wayland or X11. Currently Electron does not have any logic of this and there's no way for me to apply Wayland flags to Chromium engine.

(...) but it's either not working or not being picked up.

Are you using Flatpaks? It could be then why that occurs. Flatpaks aren't supported by me through and bugs that occurs there are usually due to invalid sandboxing policy.

How did you checked that? xeyes?
XWayland windows are very blurry on my display, so it is easy to tell, though I checked with xeyes before reporting it.

I got it working! Turns out the binary installed as /sbin/webcord by the webcord-git AUR package does not pass arguments to WebCord itself, so it was indeed not picking up the arguments. I changed its contents to the following, and it now launches fine in Wayland:
#!/bin/bash
electron19 /usr/share/webcord.asar webcord --enable-features=UseOzonePlatform --ozone-platform=wayland --disable-gpu $*
exit $?

Perhaps this could be changed in the PKGBUILD?

Turns out the binary installed as /sbin/webcord (...)

(Just in case it is installed in /usr/bin/webcord, sbin is just a symlink. I just say that so no one can blame me I don't follow Arch packaging guidelines.)

(...) by the webcord-git AUR package does not pass arguments to WebCord itself, so it was indeed not picking up the arguments.

I guess it's time to update this, I will also update the issue labels and title according to your research.

Fixed in aur/webcord-git@2e043b1!

Hi! Sorry for bringing back this issue, but webcord-git is not running on Wayland anymore. I tested with xeyes. I don't know if it is something on my side.

What flags were you using to start Discord? Did you make sure it wasn't running then?

@SpacingBat3 I am using the default options set by the PKGBUILD. I really do not know if it was running on Wayland or XWayland before, but today I was checking xeyes and noticed that it was running under xwayland and decided to inform you.
Feel free to ask any logs or information that can help debug it.

OK then, I guess that is going to be expected. You have to specify any Wayland-enabling flag, like --ozone-hint=auto, --ozone-hint=wayland or even the older --ozone-platform=wayland. Native Wayland is experimental in WebCord due to upsteam bugs present in Electron and Chromium. From what I know, it does improve greatly over the time, but I still don't want to force Native Wayland because upstream does not treat it as enough stable anyway and it's better to go back to XWayland in case of the bugs. Just in case, WebCord has its integrations in both XWayland and Wayland, so there should be no much difference between using them at least on that reason.


chore: update docs to include main

Addressing:
https://github.com/semantic-release/semantic-release/pull/1737#issuecomment-854024661
https://github.com/semantic-release/semantic-release/pull/1737#issuecomment-854075800
Hope it helps!

hi @timfisher we've updated docs so we can help moving this forward. Let us know what you think!
https://github.com/semantic-release/semantic-release/pull/1737

@otorrillas thanks looks great 😃


Spelling mistake

Can you please provide the URL for this? I'm unable to find it

https://github.com/frzyc/genshin-optimizer/blob/master/libs/gi/localization/assets/locales/en/page_team.json#L69


chore: bump LWS version to v0.4.0

/kind cleanup
What this PR does / why we need it

bump LWS version to v0.4.0

Which issue(s) this PR fixes

Fixes https://github.com/InftyAI/llmaz/issues/161
Special notes for your reviewer
Does this PR introduce a user-facing change?

/kind cleanup

FYI: this is already reported in https://github.com/kubernetes-sigs/controller-tools/issues/1017 and fixed.

But you need to do is just bump the CONTROLLER_TOOLS_VERSION ?= v0.16.1 as well.

I will handle it tonight.

/lgtm
/approve
Thanks!


[Feature] direct flags editing

Currently (as of v0.1.1), vtex2 info does not report texture flags at all. According to SCell555/VTFShellExtensions, the texture flags are being changed when I convert a v7.4 VTF to v7.6, so it'd be nice to know what changed.

This is already possible from what it seems. vtex2 info -a (path)

Ah, didn't realize there was a -a flag.

Hm, seems it was adding the 8-bit alpha flag. Strange, since ATI1N doesn't have an alpha channel.


Text from select field is not showing when custom cellRenderer is set.

Hi,
When custom cell rendering is set for text field, then select field column is displayed as id value.
Can I somehow display textField from SelectFiled?
http://jsfiddle.net/x20wc9me/

With cellRenderer it's you who decide what to show in the cell.
First, it should be provided for the field that you want to customize.
Here is corrected example: http://jsfiddle.net/vxp549aw/
While I'm not sure why you need cellRenderer in this case.


Yank AbbreviatedStackTraces v0.1.8

Completely broken due to missing import. v0.1.9 already pending merge into Registry #78832.
(Am I doing this right?)

(Am I doing this right?)

It isn't necessary to yank since you already have a bugfix release.


Installation path conflict to different versions of python

I ran this script on Paperspace and duplicated what was demonstrated on the video.  As a previous user of Paperspace running python3.9 this is aliased in the .bashrc file in the root directory as:
alias python=python3.9
alias python3=python3.9
But when running mambai install fastai or pipi install universal-ctags these are now installed in /.local/lib/python3.7/site-packages instead of /.local/lib/python3.9/site-packages

Yes the image paperspace is using is a mess. I've asked them if we can take over managing it.
The issue is that notebooks are running on python 3.7. The alias they've set is just messing python in the terminal up.

(BTW this stuff is best discussed on the forum.)


Switch to even faster password hasher in testing config

One part of the huge "dev setup refactoring of 2023" was switching to a faster password hashing in the testing config:
https://github.com/rdmorganiser/rdmo/pull/664/commits/56c6e0ea1c04749dac85e9102be14a0b806c163b
There are so many individual tests in the test suite (at the moment 23824) and most of them need an authenticated user. I propose changing the password hasher again.
There is UnsaltedMD5PasswordHasher in the django.contrib.auth.hashers, which is of course very insecure, but in testing that does not matter. It is much faster then the already fast MD5PasswordHasher. Sadly the UnsaltedMD5PasswordHasher is deprecated and will be removed in Django 5.1. So it would only be a temporary solution, until we reach Django 5.1.
@jochenklar already mentioned django-plaintext-password last time. Which sounds like a joke, but it is the fastest password hasher there is in my opinion. This would mean another dependency in the testing group, which I am fine with.
Long term I want to replace most of the client.login(username, password) with client.force_login(user), which does not use the authentication system at all. But that is a bit of work.
What do you think? The time difference in a whole test suite run will be significant.
# benchmark.py
import time

from django.contrib.auth.hashers import (
    MD5PasswordHasher,
    SHA1PasswordHasher,
    UnsaltedMD5PasswordHasher,
    UnsaltedSHA1PasswordHasher,
)

from plaintext_password import PlaintextPasswordHasher

password = "password-for-testing-the-password-hashers"

sha1 = SHA1PasswordHasher()
md5 = MD5PasswordHasher()
unsalted_sha1 = UnsaltedSHA1PasswordHasher()
unsalted_md5 = UnsaltedMD5PasswordHasher()
plaintext = PlaintextPasswordHasher()

hashers = [sha1, md5, unsalted_sha1, unsalted_md5, plaintext]
hashing_times = {}

for hasher in hashers:
    start_time = time.time()
    for _ in range(100_000):
        hasher.encode(password, hasher.salt())
    end_time = time.time()
    hashing_times[hasher] = end_time - start_time

print("Hashing times (seconds):")
for hasher, duration in hashing_times.items():
    print(f"{hasher.algorithm}: {duration:.5f}")

$ python benchmark.py
Hashing times (seconds):
sha1: 3.23304
md5: 3.26118
unsalted_sha1: 0.09653
unsalted_md5: 0.07505
plaintext: 0.02371

Alright, I see that the actual benefit is far from significant. Let's close this.

Hey, sorry I did not answer. I think I tested that back then, when you gave us the tip with the md5 hashes. I think with md5 or sha1 or plain the overhead of just logging in is the dominant part. With the default algorithm its probably not so much the hashing algorithm, but the 1000 rotations or so which make the difference.

Yes, no problem. I thought it might make a difference.
Another approach would to .force_login() users instead of .login(username, password). But md5 might be fast enough already.


fix hanging alpine tests

While working on integration tests, I found the Alpine test was reliably stalling when run at GitHub but ran fine locally with docker-compose run alpine. Eventually discovered we could repeat the issue locally using docker-compose up alpine (up instead of run).
The call to fileno() was hanging due to it calling FLOCK() internally. Looking at other musl libc code, it looks like they're skipping fileno() and just using f->fd instead so we're now doing the same and the integration tests are passing.

Forgot to mention...

I could "fix" the issue by adding the --silent option to curl suggesting the issue was somehow related to console output. That's how we got there.
I suspect the way the console output from docker-compose up is intercepted and the service name is prepended to each like is somehow involved. I suspect the way GitHub is capturing console output from the runners is triggering the same issue.

On my ec2 instance, I just observed the alpine container hang on “Testing OpenSSL” when running the w/the latest master.  (When executing “docker-compose up alpine”)
Then I rebuilt w/this branch.
Then I observed the same alpine container run without hanging.
Whacking merge now.


Docker support

This commit adds a simple workflow to publish docker images to ghcr.io.
Currently it runs the python script with root.
It would be better to run as some other user like 33:33.
A simple docker-compose.yml is also provided.
In docker it is customary to run services in different containers.
I run ollama in a container under the url http://ollama.
I found no way to specify fully custom base urls without modifying the python script or using the sdk.
It builds all images and seems to work.
I don't have the best insight in the code base so please test it.

Thanks for this PR! Could you share more about your use case and when this is needed?

I am not sure what exactly you are asking for.
Regarding docker
I am sure there are some good blogs about the advantage of docker out on the internet.
I will break down the key points:

No modification of the environment of the host machine. Users don't have to deal with the python environment and installing the software. They just have to copy and adapt the compose file. They don't have to know anything about the software installation process.

Predictable environment. All users have the same dependencies and python version installed.

Better isolation. Since docker containers can't access arbitrary files/processes on the host.

Regarding the custom base url:
Basically I have ollama running on a different machine under some domain like ollama.custom.com and would like to pass the base uri to the router.

Thank you for elaborating! I definitely understand the advantages of using Docker and I think it's great that you're using it. However, I don't think it makes sense to publish a universal Docker image for RouteLLM right now since the specific requirements (drivers, deps, version, base image etc.) will differ based on use-case.
The fact that routellm can be installed from PyPI makes it very easy for anyone to build a Docker image that suits their own needs. I hope this makes sense, let me know if you have any other thoughts.

Makes sense. I will just create a routllm-docker repo and build and host it from there.


fix(config): create a config file on the first run

This PR fixes a problem where users, after installing rspell and running it for the first time, receive an error saying they don't have a cspell.json  on their default configuration paths.
The changes are adding the config file creation responsibility and renaming findConfig to findOrCreateConfig, also introducing tests for it.

Thanks for the contribution!!


v0.1.0 improvements

and other associated packaging updates (including aligning more with tanstack)

closing as to rename the branch


Stat problem with Raiden Shogun

Raiden's Electro dmg bonus doesn't don't go up even with her 300+ER. I hope it will be fixed TT

This issue is not related to Cultivation, try posting it on Grasscutter repo.


Example website with editable templates

work in progress, do not merge

not needed, Adobe AEM archetype used instead


fix(platform): Add app router after $onInit/$afterInit hook to allow express query string configuration

Closes: #1135

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

v6.18.1
GitHub release

Your semantic-release bot :package::rocket:

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

v6.18.1
GitHub release

Your semantic-release bot :package::rocket:


No option to resize DSS output mapping text box

Description:
No option to resize DSS output mapping text box. Since there is plenty of space in the side bar, it's better to give an resize option, or automatically stretch to show the complete mapping.

The latest release v1.1.1 has resolved this issue. Please reopen if the problem persists.


CORS error when including javascript file in another domain

I am deploying an angular application through amplify and would like to include some static images and one of the generated javascript files into a different application.  I am running into CORS issues and am seeing the following error in my console:
No 'Access-Control-Allow-Origin' header is present on the requested resource.
I have tried a handful of things to fix this, but none have worked.  Can someone please let me know how to fix this?

@joshglazer Are you using the Amplify CLI or the Amplify console to deploy your application?

Hi @kaustavghosh06, everything was set up using the Amplify CLI, but I did make a few small changes in the console while trying to fix it.

If using amplify console, you can add CORS via ampliify.yml. See https://github.com/aws-amplify/amplify-console/issues/216
Otherwise if using amplify hosting via S3, you can add CORS settings to the s3 bucket. See https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html

@joshglazer Please take a look at @hisham's recommendation. I would follow that to modify the generated Cloudformation for your hosting resource located in the amplify folder.


Don't blink the Mattermost menu bar icon continuously when one of the servers is disconnected

[x] This is not a troubleshooting question. Troubleshooting questions go here: http://www.mattermost.org/troubleshoot/.
[x] This doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
[x] I have read contributing guidelines.

Jira ticket: https://mattermost.atlassian.net/browse/MM-14091
Summary
I would like to be able to disable a server when running the application. This would mean Mattermost client will not try to connect to this server.
If I have two servers configured and one of them is not available (eg: because it is a local server and I am not on it's network), the indicator will blink trying to connect to the server again and again.
Steps to reproduce

Operating System: Ubuntu 16.04
Mattermost Desktop App version: 3.7.1
Mattermost Server version: 4.3.0  (dev-arm-tag4.3.0)

How to reproduce

Install Mattermost on 2 local servers
Configure the Mattermost servers on your desktop client
Disconnect / stop one of the servers
Launch Mattermost desktop client and look at the indicator blinking when Mattermost tries to connect to the un-available server.

Expected behavior
The client should only try to connect to servers enabled in the servers list (the enable/disable option does not exist yet)
Observed behavior
The client tries to connect to all servers resulting in the indicator flashing if one of them (or more) is not available.
Possible fixes
No idea

Thanks @VictorLamoine for the report!
Can you share a screenshot of the indicator you're describing?

resulting in the indicator flashing if one of them (or more) is not available.

@jasonblais I will do a GIF tomorrow!

Closed by mistake!

@VictorLamoine If we stopped the blinking, would that cover your issue? Might be simpler than offering the ability to disable/enable servers

I guess it blinks because the application is trying to connect to the server periodically in the background (I might be wrong).
If it just stopped blinking the problem would be solved, it's happening at ~1Hz so the "connecting" function probably has a very small CPU footprint.

Thoughts @yuya-oc? Would it be feasible to stop the blinking in this case?

Probably yes. The blinking happens at about 1Hz, so I guess it's related to unread count rather than reconnecting (it happens every 30 seconds). Probably there is the case where the icon is refreshed even when no count changes.

Jira ticket for tracking: https://mattermost.atlassian.net/browse/MM-14091

This behaviour no longer happens, closing.


The latest version on pypi seems to miss some files

It only packages legacy directory, no internal and handlers.

Hi @kaisuto !
Really sorry for the inconvenience, I released a newer version 1.3.4 on PyPI now, enjoy the new features.
Thanks for love.

Thank you for the quick fix! : )


Add some pattern to allow preprocessing parameter value on change

In some cases you want to be able to define a @param.depends decorator which watches a parameter and then modifies it. This currently leads to recursion, it may therefore be nice if we had a recursion flag, e.g. to allow doing things like:
@param.depends('polys', watch=True, recursion=False)
def _init_polys(self):
    self.polys = self.polys.options(color='red')

Alternative suggestions to achieve the same thing would be welcome.

Actually this proposal is probably not sufficient for my purpose, what I really want is a preempt keyword which basically says "execute me, cancel any existing events and process new events triggered by me but don't call me a second time". Fairly complex and maybe better expressed as a parameter preprocessor, something like:
@param.preprocess('polys')
def _preprocess_polys(self, polys):
    return self.polys.options(color='red')

How about a context manager?
@param.depends('polys', watch=True)
def _init_polys(self):
    with param.watching_disabled():
        self.polys = self.polys.options(color='red')


Subscribed topic not available: xxx Broker: Unknown topic or partition

I (think) I've sent some new icecube test alerts, via code like:
    from gcn_kafka import Producer
    if alert is None:
            logger.fatal('Found no alert to send')
    producer = Producer(client_id='xx',
                        client_secret='xx',
                        domain='test.gcn.nasa.gov')
    topic = 'icecube.test.gold_bronze_track_alerts'
    sendme = json.dumps(alert)
    ret = producer.produce(topic, sendme.encode())
    producer.flush()
    return ret

Where the client_* is a valid ID from my test.gcn.nasa.gov account, and alert is a dictionary of alert values.
Sending test alerts returns None (I think as expected) and does not throw any errors
But, when I setup a test listener configured for
consumer.subscribe(['gcn.classic.text.ICECUBE_ASTROTRACK_BRONZE',
'icecube.test.gold_bronze_track_alerts',
'gcn.classic.text.FERMI_LAT_POS_TEST',
'gcn.classic.text.ICECUBE_ASTROTRACK_GOLD',
'gcn.classic.text.ICECUBE_CASCADE',
'gcn.classic.text.LVC_INITIAL',
'gcn.classic.text.LVC_PRELIMINARY',
'gcn.classic.text.LVC_RETRACTION’])
with the listener scope:
scope: gcn.nasa.gov/kafka-icecube-consumer
I see:
b'Subscribed topic not available: gcn.classic.text.FERMI_LAT_POS_TEST: Broker: Topic authorization failed'
b'Subscribed topic not available: gcn.classic.text.ICECUBE_ASTROTRACK_BRONZE: Broker: Topic authorization failed'
b'Subscribed topic not available: gcn.classic.text.ICECUBE_ASTROTRACK_GOLD: Broker: Topic authorization failed'
b'Subscribed topic not available: gcn.classic.text.ICECUBE_CASCADE: Broker: Topic authorization failed'
b'Subscribed topic not available: gcn.classic.text.LVC_INITIAL: Broker: Topic authorization failed'
b'Subscribed topic not available: gcn.classic.text.LVC_PRELIMINARY: Broker: Topic authorization failed'
b'Subscribed topic not available: gcn.classic.text.LVC_RETRACTION: Broker: Topic authorization failed'
b'Subscribed topic not available: icecube.test.gold_bronze_track_alerts: Broker: Unknown topic or partition’
If I use a consumer with scope:
scope: gcn.nasa.gov/kafka-public-consumer with the same list
I just get:
b'Subscribed topic not available: icecube.test.gold_bronze_track_alerts: Broker: Unknown topic or partition’
But somehow, I'm not able to see the alerts I've send on the icecube.test.gold_bronze_track_alerts topic.
Any suggestions or guidance?

icecube.* topics are readable by the scopes gcn.nasa.gov/kafka-icecube-consumer on test.gcn.nasa.gov and gcn.nasa.gov, but they are readable by scope gcn.nasa.gov/kafka-public-consumer only on gcn.nasa.gov.
Try creating a client credential with the scope gcn.nasa.gov/kafka-icecube-consumer.

I have a consumer setup for each scope as shown above.  They both see:
b'Subscribed topic not available: icecube.test.gold_bronze_track_alerts: Broker: Unknown topic or partition’

Hmm, I don't know what's going on, then. I'll follow up with you offline and schedule a call to debug it.

worked with Leo, not 100% sure what we changed, but it's working now.  closing


Noisy warning about using the deprecated defaultProps API

Describe the bug
I get a warning about default props being deprecated in the future in the console.
To Reproduce
Seems to be on any use of the Component with a recent version of react, i am using the following:
  "dependencies": {
    ...
    "boring-avatars": "^1.11.1",
    "react": "^18",
    "react-dom": "^18",
    "react-redux": "^9.1.2",
    ...
  }

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Additional context
Add any other context about the problem here.

I have a PR for this https://github.com/boringdesigners/boring-avatars/pull/86/files

I have the same issue on Next.js 14. Any chance this one could be solved soon?

Hey @cdedreuille @quirkles, this should be fixed with the latest v1.11.2!

Thanks a lot for the fast update. I can confirm that this is now working with the latest version.

Closing this one as fixed 👍


Services: Unbound DNS: Blocklist - Add update lists feature (cron?)

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is including your motivation for the request,
i.e. "For the purpose of [...] I am missing a solution that will [...]."
Describe the solution you like
Hi
Would be interesting to have a "update blocklist" feature in Services: Unbound DNS: Blocklist.
I don't know if they are even updated regularly.
Maybe a cron where user can choose the interval to update.
Thanks :)
T13nou
Describe alternatives you considered
None

It should be "Update Unbound DNSBLs". Can you try?

Yes sorry I was not clear : I can make the cron using the cron section.
But just as an idea, it would be good to have this option directly in the unbound section for User Experience easyness :)

Ah ok. Web proxy remote access control lists has a "schedule with cron" button which works ok. Intrusion detection has a "Schedule" tab which works a bit wonky in my view. I don't think we have added any more of those for simplicity's sake. Not sure what @AdSchellevis and @swhite2 think about it.

leave it at cron, probably make sure the documentation explains how to use it. It adds quite some complexity for little gain

yup ! I close this one :)

If I use a custom link for the blocklist (URLs of Blacklists) instead of the predefined Type of DNSBL, will the cron I had created for the automatic daily (Update Unbound DNSBLs) download will also pull the updates from  the custom URLs of Blocklists link? Thanks


nimble install nimwc   fails

Using latest nim devel it fails on both the stable and head install
nimwc_main.nim(130, 16) template/generic instantiation of `extensionImport` from here
nimwc_main.nim(111, 5) Error: cannot generate VM code for pluginsPath = []
 Compile Error

{.compileTime.} is deprecated in favor of static: blocks.
I think, but can be something else too, devel is kinda a moving target.

I tracked down the problem and it seems related to https://github.com/dom96/jester/issues/188#issue-416463541
Please use Stable, or wait for Jester improvements.

So, we concluded that Stable Nim should be used for a Stable user experience.


NOISSUE once again fix flaky nightly test

- What I did
TestGetJetDropsByJetID failed on nightly
- How I did it
- How to verify it
go test -v ./test/api/... -run TestGetJetDropsByJetID -count=1000 -tags heavy_mock_integration
- Description for the changelog

Codecov Report

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

@@           Coverage Diff           @@
##           master     #180   +/-   ##
=======================================
  Coverage   72.13%   72.13%
=======================================
  Files          55       55
  Lines        3886     3886
=======================================
  Hits         2803     2803
  Misses        922      922
  Partials      161      161

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 46e55ba...3956386. Read the comment docs.


Popup window

working on card both on mobile and desktop version using java script objects.
using objects for retrieve cards data.
display popup window while clicking the see project button.

pop-up window


Add Hindi language support

Hello!
I've added Hindi language support. Can you review it?
Thanks a lot! :)

Thanks! I'll review this soon.

I plan to deploy this in the next few days.

This has been released in<EMAIL_ADDRESS>Thanks again!

Thank you also!


Raise pending inventation limit per day to 300

Description
Customer stuck during an important demo.
Risk
None
Deploy Plan
Deploy front

Do we have a plan to revert?

300 is a lot (goal is to prevent email spamming)
I would revert back to 100 maybe. No big deal of course indeed

No problemo, will send another PR.


MM-20904 Add E2E tests for custom categories

Summary

Tests for create, delete and rename categories

Ticket Link
https://mattermost.atlassian.net/browse/MM-20904

Does this need QA review? I don't know what the process usually is for those

going to add TM4J id's for tests


[parametric] Add test for Datadog distributed tracing headers where x-datadog parent-id is set to 0

Description
Test what tracers do when x-datadog-parent-id=0
Motivation
This is what Synthetics does, so we should standardize our behavior
Workflow

⚠⚠ Create your PR as draft
Follow the style guidelines of this project (See how to easily lint the code)
Work on you PR until the CI passes (if something not related to your task is failing, you can ignore it)
Mark it as ready for review

Once your PR is reviewed, you can merge it! :heart:
Reviewer checklist

[ ] Check what scenarios are modified. If needed, add the relevant label (run-parametric-scenario, run-profiling-scenario...). If this PR modifies any system-tests internal, then add the run-all-scenarios label (more info).
[ ] CI is green

[ ] If not, failing jobs are not related to this change (and you are 100% sure about this statement)

[ ] if any of build-some-image label is present

is the image labl have been updated ?
just before merging, locally build and push the image to hub.docker.com

[ ] if a scenario is added (or removed), add (or remove) it in system-test-dasboard nightly

Hi @zacharycmontoya , do you still plan to work on this ?

Rebasing to fix the lint issue.

@cbeauchesne CI is passing now 😄

Closing this, will be superseded by https://github.com/DataDog/system-tests/pull/3564 since this is a default behavior that should be tested in weblog instead


Test PR change, DO NOT MERGE ME

Description
Update code owner list
GitHub Issues
n/a
Checklist:

[x] I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
[ ] I have verified that new and existing unit tests pass locally with my changes
[ ] I have not allowed coverage numbers to degenerate
[ ] I have maintained at least 90% code coverage
[ ] I have inspected the Grafana dashboards to verify the data is displayed properly
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have maintained backward compatibility

How Has This Been Tested?
n/a
Manual inspection of the GUI
n/a

run e2e test

run e2e test

code owner update is in PR 118

Reopen to test

run e2e test

run e2e test


web proxy not update

after a few minute work proxy not update and bot just trying to get new proxy
my server is in germany

Send screenshot pls

https://github.com/Poryaei/NotCoin-Clicker/issues/37


Click draging node multiple times will cause noodles to jump

The new anchor/noodle handling system fixed this problem.