Complement configuration metadata

Add a configuration metadata for dubbo.enabled

Codecov Report

Merging #439 into 2.7.x will increase coverage by 0.43%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##              2.7.x     #439      +/-   ##
============================================
+ Coverage     84.83%   85.27%   +0.43%
  Complexity      160      160
============================================
  Files            33       33
  Lines           455      455
  Branches         50       50
============================================
+ Hits            386      388       +2
+ Misses           47       45       -2
  Partials         22       22

Impacted Files
Coverage Δ
Complexity Δ

...onfigure/DubboRelaxedBindingAutoConfiguration.java
100% <ø> (ø)
3 <0> (ø)
:arrow_down:

...nfigure/DubboRelaxedBinding2AutoConfiguration.java
100% <ø> (ø)
3 <0> (ø)
:arrow_down:

...ing/boot/autoconfigure/DubboAutoConfiguration.java
100% <ø> (ø)
3 <0> (ø)
:arrow_down:

...ntext/event/AwaitingNonWebApplicationListener.java
80.64% <0%> (+3.22%)
24% <0%> (ø)
:arrow_down:

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 a67a728...9008a36. Read the comment docs.

For now /META-INF/spring-configuration-metadata.json has been removed, thus I will close this PR, thank you very much.


args.logdir has no effect

To generate a log file with the toolkit, the log file name must be specified on the DITA command line.  Its path, if not specified, if always relative to the input directory. Setting args.logdir has no effect.
If we are not going to implement this parameter, we should deprecate it and indicate that it does nothing.

If we are to implement this parameter:

when args.logdir is specified and a log filename is not specified, we should turn on logging with a default filename relative to args.logdir.
when args.logdir is specified and a relative log filepath is specified, the log file should be relative to args.logdir
when args.logdir is specified and an absolute log filepath is specified, the log filepath should be respected.

It would be helpful when a log file is generated to output the location of the log on the console for the user.

Conditions of my experience:
DITA-OT 2.4.2
MacOS
Used dita command line
Specified a log filename only: -l log.xml
Set args.logdir in a properties file

args.logdit is an obsolete argument. It should be removed in 2.5 or 2.4.3.

Not sure how to tag this one - going with "enhancement" because it is an update to remove an obsolete feature. I'll open a doc issue to make sure it's either removed or marked obsolete in the docs.

It would be helpful when a log file is generated to output the location of the log on the console

👍 That would be helpful indeed.


added an example of array to calculate sum of array elements

Please Provide a suitable Description for the Pull Request you generated.

I have added an example of an array to calculate the sum of array elements
this file is named as Example4 inside the Java Array folder
#Hacktoberfest


Auto focus first input field when adding new row

Something like
$(".jsgrid-header-cell").on("click", ".jsgrid-mode-on-button", function(e) {
    $('.jsgrid-insert-row input').first().focus();
});

I believe, this is not always the desired behavior. For instance, on tablet this would show up the keyboard. This functionality could be added if necessary, e.g. just like you showed above.
Anyway, thank you for the suggestion.

Another alternative way. (when you edit a field)
{
    name: 'checkComment',
    title: 'Check comment',
    type: 'text',
    width: '360',
    editing: true,
    editTemplate: function(value, item) {
        // To get the 'input' element.
        var $result = jsGrid.fields.text.prototype.editTemplate.call(this, value);
        // It only works with 'setTimeout' function.
        setTimeout(function() {
            $result.focus();
        });
        return $result;
    }
}


Generate message formats using serde_reflection

Add a command line tool to generate a format file meant for serde-generate. The result is committed to the repo and tested in a simple unit test.
Test:
cargo run --bin generate-format -- print
cargo run --bin generate-format -- test
cargo run --bin generate-format -- record

Usage:
cargo install serde-generate
serdegen --language java --target-source-dir test --with-runtimes serde bincode -- fastpay_core/tests/staged/fastpay.yaml

This is great - thanks for adding SerializedMessage. When I tried to generate these myself that didn't exist, so it was tricky to serialize FastPayError because the struct bytes were always missing.
With your changes here though it's working great for me in Java!


how to run this hugsql snip

from https://www.hugsql.org/using-hugsql/composability/snippets
-- :snip select-snip
select :i*:cols

-- :snip from-snip
from :i*:tables

-- :snip where-snip
where :snip*:cond

-- :snip cond-snip
-- We could come up with something
-- quite elaborate here with some custom
-- parameter types that convert := to =, etc.,
-- Examples:
-- {:conj "and" :cond ["id" "=" 1]}
-- OR
-- {:conj "or" :cond ["id" "=" 1]}
-- note that :conj can be "", too
:sql:conj :i:cond.0 :sql:cond.1 :v:cond.2

-- :name snip-query :? :*
:snip:select
:snip:from
--~ (when (:where params) ":snip:where")

then run the snip-query
(snip-query
  db
  {:select (select-snip {:cols ["id","name"]})
   :from (from-snip {:tables ["test"]})
   :where (where-snip {:cond [(cond-snip {:conj "" :cond ["id" "=" 1]})
                              (cond-snip {:conj "or" :cond ["id" "=" 2]})]})})

but in this framework, how should i do to run snip-query?
(query-fn :snip-query {})

but the select-snip from-snip how to

So, what happens with the query-fn is that it uses bind-connection-map from conman to initialize the queries and snippets, you can see this here https://github.com/kit-clj/kit/blob/master/libs/kit-sql-conman/src/kit/edge/db/sql/conman.clj
and the helper functions come from conman here https://github.com/luminus-framework/conman/blob/78eb55c992b74095bf63a3d67b0c2a27d4d620e7/src/conman/core.clj#L119

thanks for ur help
in system.edn i defined a snip-fn
:db.sql/snip-fn
 {:conn #ig/ref :db.sql/connection
  :options {}
  :filenames ["sql/pg/snippets.sql"]}

then
(defmethod ig/init-key :db.sql/snip-fn
  [_ {:keys [conn options filename filenames]
      :or   {options {}}}]
  (let [filenames (or filenames [filename])
        snips (apply conman/bind-connection-map conn options filenames)]
    (fn [snip params]
      (conman/snip snips snip params))))

so now can call it as following
(query-fn :snip-query
            {:select (snip-fn :select-snip {:cols ["id","nickname"]})
             :from (snip-fn :from-snip {:tables ["user_profile"]})
             :where (snip-fn :where-snip
                             {:cond [(snip-fn :cond-snip {:conj "" :cond ["id" "=" 10001]})
                                     (snip-fn :cond-snip {:conj "or" :cond ["id" "=" 10002]})]})})


Formatting errors in pdf output when documentmode: doc

The PDF output is off when documentmode: doc:

(Note I am on Quarto 1.4.554.)

I made an initial fix, but there are float placement problems still.

Just adding a comment here (but sadly no reproducible example for manuscript is in prep): A very similar thing is happening with documentmode: jou. Text that should continue from the first page to the second disappears (including a basic table); second page begins a few paragraphs later. Removing the basic


Accept: Admin Session Control

Description
Acceptance Test for #242

Ability for admins to create and assign sessions to events.
UAT Environment for executing the acceptance flow

Acceptance Flow

Admin user Logs in
Admin navigates to backpack control panel (/admin)
Admin presses "Sessions" in the sidebar
Admin clicks "Add Session"
Admin fills out details for the session, and chooses an event its attached too
Admin clicks "Save"
Admin returns to Sessions Index in the Admin Panel
Admin clicks Edit on a Session of their choosing
Admin edits some information on the chosen Session
Admin clicks save

Everything works perfectly! Approved!
-Kate Ruscito


Improvement idea: activity "glow"

If a tab has an activity marker (becomes green due to output), it'd be cool to make it "glow" (ie: become brighter), when subsequent data events occurs.

Something like this?

Working on it! One question:
Would you rather a function of this.props.hasActivity within styles().hasActivity in components/tab  be used to update the header color functionally like:
function getHeaderColor (activity = 0) {
  const color = `hsl(144, ${73 + activity * 5}%, ${45 + activity}%)`,

  // OR

  const color = ({
    1: '#1fc963'
    2: '#1ad464'
    3: '#0fe464'
    4: '#02f563'
    5: 'hsla(144, 100%, 49%, 1)'
  })[activity] || 'inherit'

  return {
    color,
    ':hover': {
      color
    }
  }
}

or just have separate classes for each increasingly glowing style, e.g.
'hasActivity-1': {
  color: '#1fc963',
  ':hover': {
    color: '#1fc963'
  }
},
'hasActivity-2': {
  color: '#1ad464',
  ':hover': {
    color: '#1ad464'
  }
}
'hasActivity-3': {
  color: '#0fe464',
  ':hover': {
    color: '#0fe464'
  }
}
'hasActivity-4': {
  color: '#02f563',
  ':hover': {
    color: '#02f563'
  }
}
'hasActivity-5': {
  color: '#00fc65',
  ':hover': {
    color: '#00fc65'
  }
}

My current thinking (on branch mfix22/function, PR #1727) is to use
const color = `hsl(144, ${(73 + (activity * 5)).toFixed()}%, ${(45 + activity).toFixed()}%)`;

@mfix22
I think we need an animation when subsequent data events occurs.
If I understand your PR, you add 4 colors to indicate 'level' of activity. But an animated glowing effect at each data event could be better imo.

Even better: display a number in a favicon.  Something like the "unread badge" on iphone.


Inconsistent use of prefix

When prefix is defined, we use it to create the class names and css variables. Currently, they're inconsistently formatted
For example, given the following prefix: radix, we get:

class name: radixk6lf2
css variable: --radix-space-1

As a user when I set a prefix, I expect it to end with a -. The css variable formatting looks good, but I'd expect the class name one to be:

class name: radix-k6lf2

Fixed, will be in next release

This fix has now been released 🚀
Release post: https://stitches.dev/blog/stitches-0.2.0
Thank you


Translations update from Mattermost Weblate

Translations update from Mattermost Weblate for Playbooks/webapp.
Current translation status:

Hello @weblate,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

Going to merge this with squash and merge to test the theory that non-merge commits are the source of Weblate conflicts.

Confirmed, this immediately happened:


deployProxy fails on generic ERC1175 from open zepplin wizard

version: 1.17.0
when running a migration in truffle that just calls deployProxy the following error has started appearing
hit an invalid opcode while deploying. Try:
   * Verifying that your constructor params satisfy all assert conditions.
   * Verifying your constructor code doesn't access an array out of bounds.
   * Adding reason strings to your assert statements.

Also the error does not say what the invalid op code was or where it was located.
None of the things it prints out are relevant as to why it failed

This error is generated by Truffle, not by the OpenZeppelin Upgrades plugin.
Please consider reporting it to Truffle directly.


[network][breaking][1/2] add encrypted network address

Encrypting the on-chain network addresses is purely a defense-in-depth mitigation to minimize attack surface and reduce DDoS attacks on the validators by restricting the visibility of their public-facing network addresses only to other validators.
These encrypted network addresses are intended to be stored on-chain under each validator's advertised network addresses in their ValidatorConfigs. All validators share the secret shared_val_netaddr_key, though each validator's addresses are encrypted using a per-validator derived_key.
We use per-validator derived_keys to limit the blast radius of nonce reuse to each validator, i.e., a validator that accidentally reuses a nonce will only leak information about their network addresses or derived_key.
derived_key := HKDF-SHA3-256::extract_and_expand(
    salt=HKDF_SALT,
    ikm=shared_val_netaddr_key,
    info=account_address,
    output_length=32,
)

A raw network address, addr, is then encrypted using AES-256-GCM.
enc_addr := AES-256-GCM::encrypt(
    key=derived_key,
    nonce=seq_num || addr_idx,
    ad=key_version,
    message=addr,
)

Note: the last 16 bytes of enc_addr contains the authentication tag.
In order to reduce the probability of nonce reuse, validators should use the sequence number of the rotation transaction in the seq_num field.
The EncNetworkAddress struct also contains a key_version field, which identifies the specific shared_val_netaddr_key used to encrypt/decrypt the EncNetworkAddress.
Note: to help split this feature into smaller diffs, we push out the encrypted network addresses on-chain but only using a constant test key. Subsequent diffs will also add the corresponding key to the key manager, load it on startup, and use it in the places where the test key is currently used.

I haven't dug too deeply into the PR, but a couple high-level comments (especially after our offline sync):

We need to settle on the right names for these keys (especially as there's already a lot of keys being handled by each validator). Note that once we've settled, we should probably include the keys name in the global constants crate (e.g., https://github.com/libra/libra/blob/67f1e5ef17b79889ebd5793a8ca7e9345eda9841/config/global-constants/src/lib.rs#L17). My feeling is root_key, account_key are too overloaded. Perhaps something like "SHARED_NET_KEY" and "DERIVED_NET_KEY"?

We should also sync with @davidiw soon to discuss how we envision getting the shared network keys into each validator secure storage instance, and what modifications we need to make to the genesis flow to get this right.

One thing I would avoid right now is over-complicating the design. I think the decision to assume a single "SHARED_NET_KEY" that cannot be rotated yet is best for now. Especially as this is a defence-in-depth approach.

@bors-libra r=gregnazario

:hourglass: Testing commit 2b1a4453f8689a27518cf496ea4fd2c4ffc166b3 with merge 2f6a8024c13c9265e524cf4d0c7932c723bc9a8e...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: gregnazario
Pushing 2f6a8024c13c9265e524cf4d0c7932c723bc9a8e to master...


fix summary() and printing for current version

Some work to revamp summary() and printing (print() and repl output) for System, SystemCompoenents, and SystemForecasts. This to address #325.
I am not up-to-date with the current structure of PowerSystem objects, and so I leave it to others revise this code further to output what is desired for summary() and print(). Currently, print() does the default thing from Base. To use the custom output, uncomment the "Base.show..." lines as called out.
Note that there are also Base.summary() methods in utils/network_calculations/common.jl for PowerNetworkMatrix, but I did not modify those. It looks like that code was copied from elsewhere and may be OK as is.

This has been replaced with #331


error

hi,
have three stores under one admin panel. (multi store.) geting fallowing errors.
one store work with only one language and currency. other one with different language and currency. etc.
2016-08-25 15:51:49 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/public_html/system/library/v2pagecache.php:64) in /home/perfec63/public_html/index.php on line 196
2016-08-25 15:51:49 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/public_html/system/library/v2pagecache.php:64) in /home/perfec63/public_html/system/library/currency.php on line 45

Unfortunately, I don't have a multistore setup to test with.   There isn't any specific code in the pagecache to deal with multistore, so it's possible it doesn't work well with it.


Migrate to java events

Issue #, if available:
Description of changes:
Migrated to Java-events lib.
The build fails because the V4 of Java-events is not released yet.
By submitting this pull request

[x] I confirm that my contribution is made under the terms of the Apache 2.0 license.
[x] I confirm that I've made a best effort attempt to update all relevant documentation.

We identified new issues on unchanged lines of code. Navigate to the Amazon CodeGuru Reviewer console to view the recommendations to fix them.

Thanks for all the work you put into it @mbfreder! Could you please rebase on main to resolve the conflicts? I will go through it in detail afterwards...

Done.


Dear author, could you please update the demo

Dear author, could you please update the demo？ Thanks.

It's updated. :+1:

Thanks a lot!  Get it.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Pass in the parent's title on creation

It would be helpful for analytics if the child knew the parent's title. We could pass it in as a querystring parameter, the same way as parentUrl is set

Fixed in v1.0.0 release eb8d39c


Add retina files support on automatic_image_sizes

Right now, automatic_image_sizes uses actual image dimensions on for the width and height properties of <img>, which in the case of @2x or even @3x images, is not usually intended.
This commit adds support to retina images, dividing the actual image dimensions by the @ factor specified in the file path.

Looks like some test case errors:
  /home/travis/build/middleman/middleman/middleman-core/lib/middleman-more/extensions/automatic_image_sizes.rb:27: `@(' is not allowed as an instance variable name
  /home/travis/build/middleman/middleman/middleman-core/lib/middleman-more/extensions/automatic_image_sizes.rb:27: syntax error, unexpected end-of-input
              retina = full_path.match/(@(\d)x\.[a-zA-Z]{3,4}$/)
                                         ^ (SyntaxError)

Checkout the build log above for more details

Coverage decreased (-0.17%) to 93.18% when pulling f2f8a42f00b9d6860ccee354ad4ef243be14fd7d on paulozoom:patch-1 into 28498b2fbed7ddca4d7c4715dbad5fd23cc707b7 on middleman:v3-stable.

@tdreyno Yeah, just a dumb syntax error, ops. It’s fine now. I’d have added documentation, but I see no mention of automatic_image_sizes in the official docs.

Yeah, we don't really have a good place to elevate a bunch of the lesser used stuff on the site.
Thanks again for this. Working on the new XOXO site? :)

No worries. Ha, not this year :)
On Sat, May 9, 2015 at 11:13 PM, Thomas Reynolds<EMAIL_ADDRESS>wrote:

Merged #1522.
Reply to this email directly or view it on GitHub:
https://github.com/middleman/middleman/pull/1522#event-300993502


Can't stop or start VMs

Describe the bug
When I try to stop or start a VM, I get an error message that says "unknown error" and nothing happens.
To Reproduce
Steps to reproduce the behavior:

Create VM
Click on stop or start or restart
?????
See error

Expected behavior
I expected the VM to stop so I could change settings.
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser: Chrome
Version: 124

Hey! Thanks for the bug report and sorry you're experiencing issues. Are you using the beta page?


对于05年之前的数据，如何计算HEI2015

Discussed in https://github.com/jamesjiadazhan/dietaryindex/discussions/249

Originally posted by love520lfh February  1, 2024
05年之前数据计算 HEI2015，能不能提供代码实例
HEI2015_NHANES_MPED(MPED_PER_100_GRAM_PATH = NHANES_19992000$MPED_PER_100_GRAM, WJFRT = NHANES_19992000$WJFRT, NUTRIENT_PATH=NHANES_19992000$NUTRIENT, DEMO_PATH=NHANES_19992000$DEMO)
Error in HEI2015_NHANES_MPED(MPED_PER_100_GRAM_PATH = NHANES_19992000$MPED_PER_100_GRAM,  :
object 'COHORT_4' not found

You should first download NHANES data before 2005 here:

Download the NHANES_combined folder from the Google Drive (https://drive.google.com/drive/u/2/folders/1umjhuS22aHEW_bU5AjYa8vrae91gsb0D)
Download the NHANES_combined folder from the GitHub dietaryindex_NHANES page (https://github.com/jamesjiadazhan/dietaryindex_NHANES/tree/main/data/NHANES_combined)

Then, use to find the example code
?HEI2015_NHANES_MPED


Change Link to "People with Link"

In all occurrences when is not a tag.

Hi guys, I just noticed this in the UI...  So before I redo all the Docs and images, can I make a suggestion to rewrite it?  'People' sounds a little weird.  How about "Only accessible with link"

+1
El jue., 8 sept. 2016 a las 13:37, csobier<EMAIL_ADDRESS>escribió:

Reopened #9364 https://github.com/CartoDB/cartodb/issues/9364.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CartoDB/cartodb/issues/9364#event-782255793, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAIENQip-3NST8SpYKJhj-iCYatOrY2Sks5qn_N5gaJpZM4JfQf8
.


How to add a new section dynamically?

Is there a way to add a new section dynamically (ie: from a "plus" button")?

So far there's no way short of rebuilding the whole thing.


Together use FromJSON and Request, it does not work at v2.0.4

Unhandled exception - "POST /"
Traceback (most recent call last):
File "blacksheep\baseapp.pyx", line 81, in blacksheep.baseapp.BaseApplication.handle
TypeError: hello() missing 1 required positional argument: 'p'
There is a main.py， it works very well at v2.0.3.
But now, it does not work, at v2.0.4.
import uvicorn
from blacksheep import Request, Application, Router, FromJSON
from pydantic.dataclasses import dataclass
from pydantic import Field

@dataclass
class Person:
    id: int | None = None
    name: str = Field()

router = Router()

@router.post("/")
async def hello(request: Request, p: Person):
    return f"{request.client_ip}:Hello, {p.name}!"

app = Application(router=Router(sub_routers=[router]))

if __name__ == "__main__":
    uvicorn.run("main:app", host="<IP_ADDRESS>", port=5556)

Hi @ruancan
Thank You for reporting this issue. I just found the reason, it happens when using sub routers.

Hi @ruancan
Please upgrade to 2.0.5, I made a release to fix this regression with sub-routers.

@RobertoPrevato  Awesome， thank you very much.


"invalid app version" when logging in

Hi @bachya,
Thanks so much for this helpful app. I'm trying to get set up to use it in a research study, but am having trouble getting off the ground.
When trying to run your example code, i get the following response:
{"version":1,"revision":1,"timestamp":"2020-06-30T13:16:15.732Z","timestamp_ms":1593522975732,"result_code":0,"result":{"message":"invalid app version, version=null, app_id=null"}}
Seems like DEFAULT_APP_VERSION is hard-coded in client.py? Admittedly an api novice, so any help is greatly appreciated

@cmilando I've not seen that before – do you use the iOS or Android app?

@bachya We're using iOS, and just updated the iphone software and refreshed the TILE app.

Hmm, I'm using iOS as well and when I run the example, I get all the expected info back. I wonder if in the background, Tile's cloud is somehow matching your account to an "expected" version of the app.
We'll need to see what the traffic looks like as your phone talks to the Tile app. How familiar are you with sniffing HTTP traffic (using something like Charles, Fiddler, etc.)?

I'm not familiar with that technique, but happy to follow your suggestions.

@cmilando I don't think so – if the app wasn't working at all, I don't think we'd see that particular error. That said, two things to rule out:

Try deleting and reinstalling the iOS app.
Try using the dev branch of pytile, as you suggest.

If those don't work, let me know and I'll walk you through traffic sniffing 101. 👍

Hi @bachya just a quick update that 1) didn't work, trying to install dev branch now

hi @bachya, sorry for the delay, I've tried the dev branch, and on several TILE accounts, with no avail (getting the same error see below).  I've also used multiple environments (jupyter notebook via Anaconda, Pycharm), and just installed pytile again following the recent push.
Error requesting data from users/XXXXXXX/user_tiles: 401, message='Unauthorized', url=URL('https://production.tile-api.com/api/v1/users/XXXXXXXXX/user_tiles')
then going to that url gives the same error as above:
{"version":1,"revision":1,"timestamp":"2020-07-31T00:15:07.520Z","timestamp_ms":1596154507520,"result_code":0,"result":{"message":"invalid app version, version=null, app_id=null"}}
Ready for the 101 if you are open to it! Or any other advice of course.

@cmilando Depending on your OS, there are several apps that you can use to sniff traffic; I happen to like Charles Proxy the best, so that's what I'll use for my instructions (note that you can get a free trial before having to buy).
In general, what you'll be doing is using Charles on your computer as a proxy between the Tile app on your phone and Tile's cloud. Charles will record the requests/responses in sequence, which will allow us to see what's going on. Note that this traffic sniffing will contain sensitive information, like username/password, tokens, etc. So, it's crucial to make sure you redact sensitive info before posting anything here.
Charles' documentation is the place to start; it will guide you from start to finish. Pay particular attention to the SSL Proxying section: because the Tile app communicates with the Tile cloud via HTTPS, you'll need to follow the instructions here to properly decrypt that traffic (otherwise, you won't be able to see the data).
Take a spin through all this and let's see how you get on. If this ends up being too much or something you don't want to do, another (possibly bad) option is for you to email me your Tile credentials, I do the sniffing, then as soon as I'm done, I let you know and you can recycle those credentials. Totally up to you and I respect if that isn't something you want to do.
Let me know!

@bachya thanks for this -- will try and get back to you

@bachya so I finally got this to work, through the normal channels, with some caveats:

had to update to python 3.8(.3) rather than 3.7(.7) which I had been running and where asynio.run() was failing
it seems like some non-iOS devices throw an error in the await api.async_get_tiles() function (e.g., divide by zero) during the initialization of the Tile class object, but the line states = await self.async_request("get", "tiles/tile_states") in the api object works, however the latitude and longitude for those non-iOS devices is clearly wrong (e.g., -90, -180). So might be prudent to add some tryCatch there.

But thanks again for your responsiveness, and this app!

Thanks for posting, @cmilando. Can you show me an example of the invalid data that you've found? That'll help me catch it appropriately. Thanks!

This is the code (sanitized)
import asyncio
import pprint
from aiohttp import ClientSession
from pytile import async_login
from pytile.errors import TileError

pp = pprint.PrettyPrinter(indent=2)

async def main():
    async with ClientSession() as session:

        try:
            api = await async_login("<USER.NAME>", "<PASSWORD>", session)

            print(api)

            states = await api.async_request("get", "tiles/tile_states")

            pp.pprint(states)

            tiles = await api.async_get_tiles()
            print(f"Tile Count: {len(tiles)}")

The states output looks like
{ 'result': [ { 'location': { 'client_name': None,
                              'horizontal_accuracy': xx.xxxx,
                              'latitude': xx.xxxx,
                              'location_timestamp': xxxxxxxxx,
                              'longitude': xx.xxxxxxxxxx},
                'mark_as_lost': {'is_lost': False, 'timestamp': -1},
                'tile_id': 'xxxxxxxxxxxxxxxxxxxx'},
              { 'location': { 'client_name': None,
                              'horizontal_accuracy': xx.x,
                              'latitude': -90.1,
                              'location_timestamp': xxxxxxxxxxxxxxxxxxxx,
                              'longitude': -180.1},
                'mark_as_lost': {'is_lost': False, 'timestamp': -1},
                'tile_id': 'p!xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}],
  'result_code': 0,
  'revision': 1,
  'timestamp': '2020-09-11T15:15:01.131Z',
  'timestamp_ms': xxxxxxxxxxxxxxx,

And here is the error that comes when the tiles = await api.async_get_tiles() line is run
Traceback (most recent call last):
  File "<input>", line 29, in <module>
  File "C:\Python\Python38\lib\asyncio\runners.py", line 43, in run
    return loop.run_until_complete(main)
  File "C:\Python\Python38\lib\asyncio\base_events.py", line 616, in run_until_complete
    return future.result()
  File "<input>", line 13, in main
  File "C:\XXXX\XXXX\tile_devices\lib\site-packages\pytile\api.py", line 57, in async_get_tiles
    return {
  File "C:\XXXX\XXXX\tile_devices\lib\site-packages\pytile\api.py", line 58, in <dictcomp>
    tile_uuid: Tile(self.async_request, tile_data["result"])
  File "C:\XXXX\XXXX\tile_devices\lib\site-packages\pytile\tile.py", line 18, in __init__
    tile_data["last_tile_state"]["timestamp"] / 1000
TypeError: 'NoneType' object is not subscriptable

Thanks, @cmilando. That shows that the "get tile list" call is working, but the "get tile details" is throwing an exception. I need a bit more info to diagnose. I just pushed an updated examples/test_api.py to the dev branch. Can you change to debug-level logging on line 18:
logging.basicConfig(level=logging.DEBUG)

...and post the (scrubbed of sensitive output)? Thanks!

Hopefully this is it?
DEBUG:pytile.api:Data received from /clients/XXXXXX-XXXX-XXXX-XXXXXX:{
   'version':1,
   'revision':1,
   'timestamp':'2020-09-11T16:38:06.018Z',
   'timestamp_ms':1599842286018,
   'result_code':0,
   'result':{
      'locale':'en-US',
      'entityName':'CLIENT',
      'client_uuid':'XXXXXX-XXXX-XXXX-XXXXXX',
      'app_id':'ios-tile-production',
      'app_version':'<IP_ADDRESS>23',
      'os_name':None,
      'os_release':None,
      'model':None,
      'signed_in_user_uuid':None,
      'registration_timestamp':1599842285999,
      'user_device_name':None,
      'beta_option':False,
      'last_modified_timestamp':1599842285999
   }
}DEBUG:pytile.api:Data received from /clients/XXXXXX-XXXX-XXXX-XXXXXX/sessions:{
   'version':1,
   'revision':1,
   'timestamp':'2020-09-11T16:38:06.062Z',
   'timestamp_ms':1599842286062,
   'result_code':0,
   'result':{
      'client_uuid':'XXXXXX-XXXX-XXXX-XXXXXX',
      'user':{
         'user_uuid':'XXXXXX-XXXX-XXXX-XXXXXX',
         'full_name':None,
<EMAIL_ADDRESS>         'beta_eligibility':False,
         'gift_recipient':False,
         'locale':'es-US',
         'email_shared':True,
         'image_url':None,
         'status':'ACTIVATED',
         'pw_exists':True,
         'registration_timestamp':1595458231851,
         'linked_accounts':[

         ],
         'shipping_address_timestamp':None,
         'last_modified_timestamp':1599757799215
      },
      'session_start_timestamp':1599842286055,
      'session_expiration_timestamp':1599863886055,
      'changes':'EXISTING_ACCOUNT'
   }
}DEBUG:pytile.api:Data received from /tiles/tile_states:{
   'version':1,
   'revision':1,
   'timestamp':'2020-09-11T16:38:06.095Z',
   'timestamp_ms':1599842286095,
   'result_code':0,
   'result':[
      {
         'location':{
            'latitude':XX.XXXX,
            'longitude':-XX.XXXX,
            'location_timestamp':1599828864858,
            'horizontal_accuracy':48.007248,
            'client_name':None
         },
         'tile_id':'XXXXXXXXXXXXX',
         'mark_as_lost':{
            'timestamp':-1,
            'is_lost':False
         }
      },
      {
         'location':{
            'latitude':-90.1,
            'longitude':-180.1,
            'location_timestamp':1597364056723,
            'horizontal_accuracy':25.0,
            'client_name':None
         },
         'tile_id':'p!XXXXXXXXXXXXXXX',
         'mark_as_lost':{
            'timestamp':-1,
            'is_lost':False
         }
      }
   ]
}DEBUG:pytile.api:Data received from /tiles/XXXXXXXXXXXXX:{
   'version':1,
   'revision':1,
   'timestamp':'2020-09-11T16:38:06.132Z',
   'timestamp_ms':1599842286132,
   'result_code':0,
   'result':{
      'group':None,
      'parents':[

      ],
      'user_node_relationships':None,
      'owner_user_uuid':'XXXXXX-XXXX-XXXX-XXXXXX',
      'node_type':None,
      'name':'XXXXXXX',
      'description':None,
      'image_url':None,
      'product':'MORRO1',
      'archetype':'PURSE',
      'visible':True,
      'user_node_data':{

      },
      'permissions_mask':None,
      'tile_uuid':'XXXXXXXXXXXXX',
      'firmware_version':'<IP_ADDRESS>',
      'category':None,
      'superseded_tile_uuid':None,
      'is_dead':False,
      'hw_version':'12.03',
      'configuration':{
         'fw10_advertising_interval':None
      },
      'last_tile_state':{
         'uuid':'XXXXXXXXXXXXX',
         'connectionStateCode':0,
         'ringStateCode':0,
         'tile_uuid':'XXXXXXXXXXXXX',
         'client_uuid':'XXXXXX-XXXX-XXXX-XXX-XXXX',
         'timestamp':1599828864858,
         'advertised_rssi':-78.0,
         'client_rssi':0.0,
         'battery_level':0.0,
         'latitude':XX.xxxxxx,
         'longitude':-XX.xxxxx,
         'altitude':8.220993150608749,
         'raw_h_accuracy':48.007248,
         'v_accuracy':3.0,
         'speed':0.0,
         'course':None,
         'authentication':None,
         'owned':False,
         'has_authentication':None,
         'lost_timestamp':-1,
         'connection_client_uuid':None,
         'connection_event_timestamp':0,
         'last_owner_update':0,
         'partner_id':None,
         'partner_client_id':None,
         'speed_accuracy':None,
         'course_accuracy':None,
         'discovery_timestamp':1599828879210,
         'connection_state':'DISCONNECTED',
         'ring_state':'STOPPED',
         'is_lost':False,
         'h_accuracy':48.007248,
         'voip_state':'OFFLINE'
      },
      'firmware':{
         'expected_firmware_version':'<IP_ADDRESS>',
         'expected_firmware_imagename':'Tile_FW_Image_<IP_ADDRESS>.bin',
         'expected_firmware_urlprefix':'https://s3.amazonaws.com/tile-tofu-fw/prod/',
         'expected_firmware_publish_date':1574812800000,
         'expected_ppm':None,
         'expected_advertising_interval':6400,
         'security_level':1,
         'expiry_timestamp':1599863886130,
         'expected_tdt_cmd_config':'XXXXXXX'
      },
      'auth_key':'XXXXXXXXXXXXX',
      'renewal_status':'NONE',
      'metadata':{
         'battery_state':'10'
      },
      'battery_status':'NONE',
      'serial_number':None,
      'auto_retile':False,
      'all_user_node_relationships':None,
      'tile_type':'TILE',
      'is_lost':False,
      'auth_timestamp':1597364228155,
      'registration_timestamp':1597364228155,
      'status':'ACTIVATED',
      'activation_timestamp':1597364228742,
      'thumbnail_image':None,
      'last_modified_timestamp':1597467604853
   }
}DEBUG:pytile.api:Data received from /tiles/p!XXXXXXXXXXXXXXX:{
   'version':1,
   'revision':1,
   'timestamp':'2020-09-11T16:38:06.224Z',
   'timestamp_ms':1599842286224,
   'result_code':0,
   'result':{
      'group':None,
      'parents':[

      ],
      'user_node_relationships':None,
      'owner_user_uuid':'XXXXXX-XXXX-XXXX-XXXXXX',
      'node_type':None,
      'name':'XXXXXXXXX',
      'description':None,
      'image_url':None,
      'product':'PHONE',
      'archetype':'PHONE',
      'visible':True,
      'user_node_data':{

      },
      'permissions_mask':None,
      'tile_uuid':'p!XXXXXXXXXXXXXXX',
      'firmware_version':'1.0',
      'category':None,
      'superseded_tile_uuid':None,
      'is_dead':False,
      'hw_version':None,
      'configuration':{
         'fw10_advertising_interval':None
      },
      'last_tile_state':None,
      'firmware':None,
      'auth_key':None,
      'renewal_status':'NONE',
      'metadata':{

      },
      'battery_status':'NONE',
      'serial_number':None,
      'auto_retile':False,
      'all_user_node_relationships':None,
      'tile_type':'PHONE',
      'is_lost':False,
      'auth_timestamp':0,
      'registration_timestamp':1597364056723,
      'status':'ACTIVATED',
      'activation_timestamp':1597364058103,
      'thumbnail_image':None,
      'last_modified_timestamp':1597364058104
   }
}

Traceback (most recent call last):
  File "<input>", line 36, in <module>
  File "C:\Python\Python38\lib\asyncio\runners.py", line 43, in run
    return loop.run_until_complete(main)
  File "C:\Python\Python38\lib\asyncio\base_events.py", line 616, in run_until_complete
    return future.result()
  File "<input>", line 23, in main
  File "C:\xxxx\xxxxx\PycharmProjects\xxx\tile_devices\venv\lib\site-packages\pytile\api.py", line 57, in async_get_tiles
    return {
  File "C:\xxxx\xxxxx\PycharmProjects\xxxx\tile_devices\venv\lib\site-packages\pytile\api.py", line 58, in <dictcomp>
    tile_uuid: Tile(self.async_request, tile_data["result"])
  File "C:\xxx\xxxxx\PycharmProjects\xxxxx\tile_devices\venv\lib\site-packages\pytile\tile.py", line 18, in __init__
    tile_data["last_tile_state"]["timestamp"] / 1000
TypeError: 'NoneType' object is not subscriptable

@cmilando Very helpful! The "problem" appears to be that last child (with a redacted ID of p!XXXXXXXXXXXXXXX): it has a last_tile_state value of None. I've never seen that before. Can you tell me more about this particular Tile? What type, is it still active, etc.

@bachya yes, still active, however, as you can see, there is some issue with the location that is being recorded. This Tile device is actually a Samsung Galaxy J7 Star (I'm sure you've seen this but ids beginning with p! indicate phones and are longer strings, whereas shorter strings with no p! prefix are Tile devices). So this is for the case where the TILE app is monitoring the phone's location, as well as the Tile's.

Fascinating. As you alluded to previously, there must be some difference between iOS and Android: my iPhone shows that information.
At any rate, I can add appropriate logic to catch this and handle the exception. Thanks for your help!


Custom MIDI option ?

Hey @SkyTNT
First of all, thank you for using my MIDI dataset and thank you for creating Hugging Face app/implementation. It is absolutely great and I love it :)
I was wondering if you want to collaborate and expand this project to add additional features like custom MIDI and inpainting?
I can help you with that if you are interested.
Let me know please. :)
And thank you again for this great project :)
Alex

@SkyTNT Nm, I see you have a custom MIDI option...Sorry I did not noticed it before....
What about inpainting and better models? I can help with that.
Let me know please :)

Nice to collaborate with you. inpainting is a very good idea. But it seems that only the diffusion model can do it. Do you have any ideas?

@SkyTNT It is possible to do inpainting with autoregressive models. There are also other things that can be done like melody/chords generation and harmonization.
Check out one of my demos here:
https://colab.research.google.com/github/asigalov61/Lars-Ulrich-Transformer/blob/main/Lars_Ulrich_Transformer.ipynb
Your model uses notes_on/notes_off events which is why it is limited to what it can do. A good idea to switch it score format (think score format of MIDI.py). Then you will be able to do different things with it.
Anyway, you seem to have better programming skills than I do, so if you can tell me what you need help with, I will try to do it and help you however I can. :)
What do you need help with for this project?
Alex.

@SkyTNT Sorry, my bad :) I have not slept yesterday so I did not read your code properly.
Yes, of'course I can help with inpainting. Let me start by making a colab for you and then if you like it we can integrate it to your codebase.

@SkyTNT Here is a very rough draft colab for instrument pitches inpainting. Check it out and let me know what you think, please :)
I am also attaching a sample output MIDI.
Let me know.
Alex.
Pitches_Inpainting_MIDI_Composer.zip

@asigalov61  Thank you so much. I understand how to implement inpainting. However I feel this approach is limited by the position of the events in the sequence. It would be even better if you can inpaint a track without restrictions (any time, any number of notes).

@SkyTNT You are welcome :)
Yes, this approach is limited in what it can do.
There is a seq2seq approach developed by Stanford: https://github.com/jthickstun/anticipation
This one can do a better job, but it is also somewhat limited and does not always produce good results either.
Let me know what you think.
Alex.

@asigalov61 Cool! This is exactly what I want. Can it be implemented on my model?

@SkyTNT AFAIK unfortunately no because they used seq2seq implementation, while your model is autoregressive.
However, your MIDI processor/tokenizer and your Gradio app can be adopted for their architecture AFAIK.
I can't help with their implementation because I mostly deal with autregressive models. But you are welcome to reach out to them for collaboration/help.
Hope this is helpful.
And if you need any more help with autoregressive stuff, feel free to let me know :)
Alex

@asigalov61 OK. Thank you. Maybe I'll try to improve my model to do that later.

Google did a lot with "inpainting" with autoregressive models. They first called it "masked language objective" and later "span corruption". See https://arxiv.org/abs/1910.10683
Basically they add sentinel tokens in the places they want to inpaint and then the model autoregressively predicts what tokens the sentinel tokens were masking


Add stats (received/dropped packets) to Capture

This PR implements a stats fn in Capture. It uses pcap_stats. An example is added to show its use.

Cool! Can you also make Stat impl Copy/Clone as well?

sure. You mean impl Clone for Stat right? or do you mean adding #[derive(Copy, Clone)]
(I'm new to Rust)

That's perfect. Thanks!

thanks for merging :-)

I finally pushed a new version which includes this, my apologies.

no problem! Thanks


Time offset for each device

Please implement configurable time offset for each device. There are plenty of cheap Chinese GPS trackers with poor documentation where correct time zone is impossible to setup. Even when using multiple GT06 devices, it is not possible to configure this "globally" as each device sends different timezone timestamp.
So I think the best is to add device attribute with Time Offset, so I can specify different offset for particular device.

Any Update regarding this ?

Not as far as I know.

@tananaev thanks

I'm thinking of this feature, we already have experience with users/server timezone attribute, it makes sens to implement device/group timezone attribute in the same way.
But we have old behavior with config parameter [protocol].timezone as offset in seconds.
We have already implemented functions to lookup attribute device->group->server or device->group->config. If we use first one server timezone may not fit to devices, if we use second one we get unneeded lookup timezone in config. I think use second one and additionally lookup [protocol].timezone in config for backward compatibility. Any other ideas?

I agree with the second option to fallback to config. As for the value, how about we throw exception if it's in old format? It will force people to update their configs to start server. And in one of future releases (in a year or so) we can drop it completely.

Is it OK if we do not have per protocol timezone in future?

I think it's even better if we can implement a more universal solution.

Hm...I also thought, we will get server attribute timezone it is mostly for reports and notifications, and config timezone for overriding devices timezone. Can it be confusing?

I don't think so. We just need to use some clear key. For example decoder.timezone or something like that.

Hm, looks like GT06 basic devices report their timezone in login message https://github.com/tananaev/traccar/blob/master/src/org/traccar/protocol/Gt06ProtocolDecoder.java#L401
As I understand it should be applied to all other messages from this device, what do you think about extending DeviceSession with timezone?

I don't see any problem with it.


Panic with a misleading error on new page creation. ?When similar page exists?

I already had a content/about dir.  Running hugo new content about.md freaks Hugo into panic.

Error message is confusing [BUG] no Page found for "/home/db/projects/blog/content/about.md".  Should it say the page exists without panicking? Not sure what is the expected behavior.
The command did create about.md before failing (the timestamp matches the command execution time, see the prompt timer). Why did it make it if the about directory already exists?  I'm new to Hugo and could be missing out, but I'd expect you can have either, not both.
Why panic, not error?

─(17:36)─(db)──(git:db_use_my_fork_of_maupassant_theme ✱ ◼)────────────────────────────────────────────────────────────[/home/db/projects/blog]─
hugo new content about.md
panic: [BUG] no Page found for "/home/db/projects/blog/content/about.md"

goroutine 1 [running]:
github.com/gohugoio/hugo/create.(*contentBuilder).applyArcheType(0xc000789080, {0xc00013b6b0, 0x27}, {0x40e5fc0, 0xc000394f00})
        /build/hugo/parts/hugo/build/create/content.go:273 +0x354
github.com/gohugoio/hugo/create.(*contentBuilder).buildFile(0xc000789080)
        /build/hugo/parts/hugo/build/create/content.go:242 +0x1ad
github.com/gohugoio/hugo/create.NewContent.func1()
        /build/hugo/parts/hugo/build/create/content.go:103 +0x15f
github.com/gohugoio/hugo/create.NewContent(0xc000a0ba40, {0x0, 0x0}, {0x7fff4b38fdda, 0x8}, 0x0)
        /build/hugo/parts/hugo/build/create/content.go:106 +0x5c6
github.com/gohugoio/hugo/commands.newNewCommand.func1({0x0?, 0x0?}, 0x0?, 0xc000a0a640, {0xc000a8c500, 0x0?, 0x0?})
        /build/hugo/parts/hugo/build/commands/new.go:60 +0x15f
github.com/gohugoio/hugo/commands.(*simpleCommand).Run(0x0?, {0x40dabe8?, 0x5600620?}, 0x0?, {0xc000a8c500?, 0xc0009a1a28?, 0x0?})
        /build/hugo/parts/hugo/build/commands/commandeer.go:618 +0x3c
github.com/bep/simplecobra.(*Commandeer).compile.func1(0xc00091f300?, {0xc000a8c500?, 0x4?, 0x2932317?})
        /build/hugo/parts/hugo/go/pkg/mod/github.com/bep/simplecobra@v0.4.0/simplecobra.go:113 +0x4c
github.com/spf13/cobra.(*Command).execute(0xc000a6ef08, {0xc000a8c4c0, 0x1, 0x1})
        /build/hugo/parts/hugo/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:983 +0xaca
github.com/spf13/cobra.(*Command).ExecuteC(0xc0007e1208)
        /build/hugo/parts/hugo/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115 +0x3ff
github.com/spf13/cobra.(*Command).ExecuteContextC(...)
        /build/hugo/parts/hugo/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1048
github.com/bep/simplecobra.(*Exec).Execute(0xc00088edd0, {0x40dabe8?, 0x5600620?}, {0xc000132010?, 0x101?, 0xc0000a4688?})
        /build/hugo/parts/hugo/go/pkg/mod/github.com/bep/simplecobra@v0.4.0/simplecobra.go:155 +0xd4
github.com/gohugoio/hugo/commands.Execute({0xc000132010, 0x3, 0x3})
        /build/hugo/parts/hugo/build/commands/commandeer.go:68 +0x2f9
main.main()
        /build/hugo/parts/hugo/build/main.go:25 +0x56
─(17:36)─(db)──(git:db_use_my_fork_of_maupassant_theme ✱ ◼)────────────────────────────────────────────────────────────[/home/db/projects/blog]─
hugo version
hugo v0.127.0-74e0f3bd63c51f3c7a0f07a7c779eec9e922957e+extended linux/amd64 BuildDate=2024-06-05T10:27:59Z VendorInfo=snap:0.127.0
─(17:38)─(db)──(git:db_use_my_fork_of_maupassant_theme ✱ ◼)────────────────────────────────────────────────────────────[/home/db/projects/blog]─
ll ~/projects/blog/content
total 20K
drwxr-xr-x 2 db db 4.0K Jun 15 02:26 about
drwxr-xr-x 2 db db 4.0K Jun 15 02:26 archives
drwxr-xr-x 2 db db 4.0K Jun 15 02:26 post
drwxr-xr-x 2 db db 4.0K Jun 15 02:26 search
-rw-r--r-- 1 db db  102 Jun 15 17:36 about.md
─(17:39)─(db)──(git:db_use_my_fork_of_maupassant_theme ✱ ◼)────────────────────────────────────────────────────────────[/home/db/projects/blog]─
ll ~/projects/blog/content/about
total 4.0K
-rw-r--r-- 1 db db 582 Jun 15 02:26 index.md
─(17:42)─(db)──(git:db_use_my_fork_of_maupassant_theme ✱ ◼)────────────────────────────────────────────────────────────[/home/db/projects/blog]─
hugo new content tmp.md
Content "/home/db/projects/blog/content/tmp.md" created

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.127.0-74e0f3bd63c51f3c7a0f07a7c779eec9e922957e+extended linux/amd64 BuildDate=2024-06-05T10:27:59Z VendorInfo=snap:0.127.0

Does this issue reproduce with the latest release?
I presume 0.127.0 is the latest.

I've also been having this issue, and in my situation I've managed to narrow it down to letter case, which I didn't pay much attention to before as I'm using a Windows machine.
Using the correct case give me expected results from hugo new content, and using any incorrect letter case gives me the exact same error output as Bryndin posted.
I can't say for sure if the issue is down to just letter case and whether it's OS-related (since Bryndin's posted output hints at Linux, so one would expect paths to be case-sensitive; unless, of course, the path is entirely handled by Hugo).
In any case, I did find the output printed frustratingly cryptic as a user, so if the letter case is the culprit, it's probably worthwhile to have a more informative error for this situation.


Repeater with Spatie Translatable plugin doesnt cast objects

Package
filament/spatie-laravel-translatable-plugin
Package Version
v3.2.42
Laravel Version
v11.0
Livewire Version
v3.4.6
PHP Version
v8.2.4
Problem description
When i add a Repeater field in my (edit) resource page, all translations don't work and get replaced with: [object Object]
When i dump the initial state using some code like this:
TextInput::make("short_title")->afterStateHydrated(function (TextInput $component, string $state) { dump($state); })
The text is correct. That makes me think the page gets reloaded by a Repeater, maybe to fill its data?
Besides that the repeater creates like 20 empty fields, also strange behaviour.
Something to mention is that i have a table with products and product_variants. The product_variants model is Translatable, but does't have its own page. Maybe it has any effect.
There are some other issues that have the simular problem. (#11175) But none have this behaviour.

Expected behavior
I expected that the text is in the correct language
Steps to reproduce
Migrate the database, and check the page called Producten, when you click one you see the problem.
This is my current project, but this was the first resource that i created.
Reproduction repository
https://github.com/demianottema/TG_Dashboard-V3
Relevant log output
No response

@danharrin, What kind of help do you want? Or dont you expect help from me?

Anyone can help by submitting or testing PRs. I've spent so much time on this plugin and its very difficult to balance the behaviour without breaking something else for someone, and there are other parts of the project that need my attention.

TextInput::make('title')
[object][object]

The reproduction repo is no longer accessible.
@demianottema  Can you update the URL, please?

any news regarding this? for using the plugin with repeaters? and if not what can be a quick fix to get the json returned correctly in a textinput??

I am posting this same message across all Spatie Translatable issues & PRs
Hey all! Wanted to update you on where we're at with the translatable plugin.
I really appreciate your patience while this issue has been active. While I created the plugin for the community, I've never actually had a project where I needed to use it, and that's the same for the rest of the Filament team. As such, it's the reason why the plugin hasn't had as much attention as the others, and is much more unstable: I just don't have the environment to test all the use cases, nor the motivation to make it truly great.
As such, I put out a post a month ago and asked who in the community uses the plugin and has knowledge of plugin development. Luckily, Lara Zeus and Mohamed Sabil stepped forward, who are both authors of popular Filament plugins and are trusted by the community.
We are strongly considering handing over maintenance of the plugin to those developers, for the good of the community. You can find their fork at https://github.com/lara-zeus/translatable.
Since the new developers have lots of experience with the plugin and active projects that use it, they should be able to help debug issues easier and make a much more stable experience for other users.
If their work goes well until v4 is released, we will likely retire the plugin at that point and recommend the fork as an official replacement. If it does not go as expected and the community is unhappy, then we will reconsider this decision. I am closing this for now, and if we decide to take maintenance back officially then we will probably reopen it.
The existing plugin will continue to receive security updates indefinitely. Please let me know if you have any further questions.
Many thanks,
Dan

in the model
you need to cast as array
protected $casts = [ 'short_title'];


do not block pes that are sending messages due to other messaging activity

Original author: Jim Phillips (@jcphill)
Original issue: https://charm.cs.illinois.edu/redmine/issues/642

Attached is a trace of PME in NAMD for netlrts-linux-x86_64-smp-tcp running two processes on a single node, showing the PME sendUntrans entry points in yellow with inter-node messages traced. There is clearly some kind of lock in the messaging layer, as when an inter-node send is attempted the call blocks waiting for the completion of both other outgoing message sends from the same node but also incoming message receives. A less severe effect is seen on the PME sendTrans entry points, also in yellow at the left edge of the image. A udp (non-tcp) build has the same issue.

Original author: Jim Phillips (@jcphill)
Original date: 2014-12-31 18:28:47

This is the situation after removing CmiMachineProgressImpl() calls from the pes.  Sending entry methods are clearly delayed by incoming messages.

Original author: Jim Phillips (@jcphill)
Original date: 2014-12-31 19:34:07

Looking at the code, this is a case of the send functions calling CmiCommLock() on the pe threads in order to interface directly with the network.  This is silly since the communication thread will be idle during this period, waiting for the communication lock.  If only one thread is going to make progress, it might as well be the communication thread.  Pes that want to send a message should drop the message into the communication thread's outgoing queue, which should be as fast as delivering a message to another pe on the same node.  Then the communication thread can manage all sends and receives collectively, ideally overlapping send and receive, and also paying attention to the assigned message priorities.

Original author: Jim Phillips (@jcphill)
Original date: 2015-02-09 19:59:12

Ping.

Original date: 2015-02-19 17:07:17

Marking it as bug.

Original author: Jim Phillips (@jcphill)
Original date: 2015-03-04 18:59:25

Ping.

Original date: 2015-03-05 19:46:10

This commit http://charm.cs.uiuc.edu/gerrit/#/c/577/  should solve the problem.
Worker threads were unnecessarily calling the communication server from CmiMachineProgressImpl function. I have added a check to make sure it's only called from the comm thread.
I'm attaching two projections images which is showing the problem. I have added trace user events in the communication server when the thread is holding the communication lock. In comm_server_user_events.png, light blue bars above the entry methods should not exist for worker threads.
in the fixed version comm_server_user_events_fixed.png, the light blue bars do not exist for the worker threads.

Original author: Jim Phillips (@jcphill)
Original date: 2015-03-06 17:03:15

That may also be an issue, but the problem I was reporting is that LrtsSendFunc takes the comm lock to call DeliverOutgoingMessage().
DeliverOutgoingMessage() also takes the comm lock internally (if LrtsSendFunc() didn't already) and calls DeliverViaNetwork().  (It appears to do nothing to on-node messages, as those are delivered by CmiPushPE() in CmiInterFreeSendFn().)
DeliverViaNetwork() assumes it holds the comm lock and calls EnqueueOutgoingDgram.
The problem is that this is the same comm lock that CommunicationServerNet holds while looping over CheckSocketsReady() and its other communication functions, causing any thread that is trying to push a message into the outgoing queue to hang.  Pushing a message into the comm thread outgoing queue should be similar to CmiSendNodeSelf() or CmiPushPE(), which use LRTSQueuePush() (which uses either lockless or a dedicated lock rather than one big node lock).
Basically, the communication thread should only hold a lock to its own outgoing message queue long enough to read or modify it, not during the time it takes to actually transmit the data.

Original author: Jim Phillips (@jcphill)
Original date: 2015-03-06 17:15:47

I see that CommunicationServer() for non-LRTS net and ibverbs have the same lock-holding behavior.  This is likely a problem for all communication layers.

Original date: 2015-03-06 19:06:50

Yes, I was suspecting that this is the problem as well. To confirm that this is the problem, I have added trace user events around LrtsSend function and the problem can be clearly seen from the namd_user_events_lrts_send.png image that I've just added.
The yellow entry methods are PME send_trans functions and the green bars over them shows the time they spend in LrtsSend. When yellow entries take too much time(more than the other yellows), most of the time is spent in LrtsSend and this is because comm thread is holding the comm lock(this can be seen from the light blue bars over the comm thread).
I'm implementing a fix for this. My earlier commit on gerrit is not solving this problem but this problem revealed another problem related to CmiMachineProgressImpl at least.

Original date: 2015-04-03 18:55:27

http://charm.cs.uiuc.edu/gerrit/#/c/638/


make bootstrp error

bogon:android-oss-master DanielHan$ make bootstrap
git submodule sync --recursive
fatal: Not a git repository (or any of the parent directories): .git
make: *** [submodules] Error 128
bogon:android-oss-master DanielHan$

I was getting the same error. Downloading the project using git clone fixed it

@droanmalik I just downloaded the zip

@Coder-DanielHan yeah, cloning is necessary since we use submodules for some dependencies. lemme know if that works...

which branch should I clone?

master should be fine. make sure to pull the newest.

It's ok.But it stucked at cloning material-design-icons

bogon:android-oss DanielHan$ make bootstrap
git submodule sync --recursive
Synchronizing submodule url for 'vendor/material-design-icons'
git submodule update --init --recursive || true
Cloning into '/Users/DanielHan/AndroidStudioProjects/android-oss/vendor/material-design-icons'...

weird, not sure what is up with material icons. maybe github was having a bad day?
gonna close this for now, but let us know if you have more questions!


Remove duplicated document

- What I did
Remove  docs/reference/commandline/deploy.md
- How I did it
- How to verify it
- Description for the changelog
The docs/reference/commandline/deploy.md is duplicated document for docs/reference/commandline/stack_deploy.md
which makes me confused
Signed-off-by: yuexiao-wang<EMAIL_ADDRESS>

cc @dnephin

Both docker deploy and docker stack deploy exist (they're an alias), but I'm not sure which one should be documented, or both

I think they should both exist, but one shsould just say "alias for ..."

@dnephin @thaJeztah  PTAL
Updated this PR.


Sharing tf_manager_ amont main app and plugins

Hi,
this is a non-functional change.
In short it share the instance of tf_manage_ with the plugins during initialization.
It also removed the local instances of local_xy_util_ in the gps, navsat tile_map plugins.

note. This branch seems to fail because it relies on the PR of swri_transform_utils
https://github.com/swri-robotics/marti_common/pull/501

with the recent sync of the kinetic and indigo repository, this shouldn't fail any more to compile

Cool, this seems to work really well and improves startup time by quite a bit when you are loading lots of plugins.  It breaks compatibility with the current plugin API, though; since I have recently merged in a lot of changes, I will probably make a release of the current version and then wait until the after the next monthly ROS update to make a release with this.


Build failure with native toolchain on Arm64 platform

Hi,
I'm trying to build MACE on my ROCK960/RK3399 96Boards with native toolchain, and the bazel command below is used (I just want to try NEON first, so I disabled OpenCL).
bazel build --config optimization mace/libmace:libmace_dynamic --define neon=true --define openmp=true --define opencl=false --define quantize=true --cpu=aarch64
And I ran into the error below. Since I'm new to Bazel, it will be appreciated if you can give some suggestions. Thanks!
build shared lib for arm64-v8a + cpu_gpu
INFO: Invocation ID: 60fd79d4-36d4-4c73-8569-1337822c36dd
ERROR: Analysis of target '//mace/libmace:libmace_dynamic' failed; build aborted: no such package '@tflite//': The native http_archive rule is deprecated. load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") for a drop-in replacement.
Use --incompatible_remove_native_http_archive=false to temporarily continue using the native rule.
INFO: Elapsed time: 0.780s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded, 2 targets conf\
igured)
    Fetching @gemmlowp; fetching

We cannot analyse the reason if you do not fill the ISSUE table.

The official build is supported now and this command is not suggested. Just close this issue.


[DO NOT MERGE] zfs: Unstable 0.8.3 patchset

Motivation for this change
Just trying the patchset that may become zfs 0.8.3 (see zfsonlinux/zfs#9776)
Since there was a minor change in our derivation, I figured I'd send the change up.
For the moment, do not merge, this is beyond unstable :D
I am running this right now with kernel 4.19.95-hardened and things seem smooth.
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

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

I believe this needs more work for 5.x kernels. I have not had a chance to try that.


Spending tokens without user's consent

A malicious or erroneous site may spend user's AR tokens in unlimited quantities by uploading big data blobs.
Additionally the user may mistakenly select a big file and spend more tokens than he or she intended.
Solution: Ask before spending money like MetaMask.

This is a wider issue which we are working on various solutions for. The current model of uploading a keyfile to a dapp is not ideal. So we are looking at solutions like an browser extension like metamask, potentially a metamask plugin, and integrations or dapps that provide similar functionality to things like formatic and portis.io.


ClusterRole missing on 1.4.1

Describe the bug
We're currently deploying the new NGINX Ingress Operator version, 1.4.1, and are experiencing some errors related to ClusterRole and ClusterRoleBinding. We're creating the NginxIngress instance named nginx-ingress-controller and we're using the defaults on rbac.create.
We've the nginx-ingress-controller-controller pod from the nginx-ingress namespace in a CrashLoopBackOff status with the following error on the logs:
F0519 09:42:29.268648       1 main.go:249] Error when getting IngressClass nginx: ingressclasses.networking.k8s.io "nginx" is forbidden: User "system:serviceaccount:nginx-ingress:nginx-ingress" cannot get resource "ingressclasses" in API group "networking.k8s.io" at the cluster scope: RBAC: clusterrole.rbac.authorization.k8s.io "nginx-ingress-controller" not found

If we check the ClusterRoleBinding nginx-ingress-controller for the SA system:serviceaccount:nginx-ingress:nginx-ingress we find that the it's referencing a ClusterRole that doesn't exist, nginx-ingress-controller:
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  annotations:
    meta.helm.sh/release-name: nginx-ingress-controller
    meta.helm.sh/release-namespace: nginx-ingress
  creationTimestamp: "2023-05-19T07:08:00Z"
  labels:
    app.kubernetes.io/instance: nginx-ingress-controller
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: nginx-ingress
    app.kubernetes.io/version: 3.1.1
    helm.sh/chart: nginx-ingress-0.17.1
  name: nginx-ingress-controller
  resourceVersion: "20078"
  uid: 30d03045-246b-401f-9b8c-43db1cd8cc55
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: nginx-ingress-controller
subjects:
- kind: ServiceAccount
  name: nginx-ingress
  namespace: nginx-ingress

$ kubectl get clusterrole | grep nginx
nginx-ingress-operator-metrics-reader                                           2023-05-19T06:50:55Z
nginx-ingress-operator-nginx-ingress-admin                                      2023-05-19T06:50:55Z
nginx-ingress-operator.v1.4.1-6c6cf598bc                                        2023-05-19T06:50:57Z
nginx-ingress-operator.v1.4.1-nginx-ingress-operator-69455d59c7                 2023-05-19T06:50:56Z
nginxingresses.charts.nginx.org-v1alpha1-admin                                  2023-05-19T06:51:18Z
nginxingresses.charts.nginx.org-v1alpha1-crdview                                2023-05-19T06:51:18Z
nginxingresses.charts.nginx.org-v1alpha1-edit                                   2023-05-19T06:51:18Z
nginxingresses.charts.nginx.org-v1alpha1-view                                   2023-05-19T06:51:18Z

It seems that there has been some changes in this PR-102 related to RBAC templates for the ClusterRole that could be causing this behavior.
To Reproduce
Steps to reproduce the behavior:

Deploy the latest version of the operator, 1.4.1.
Create a NginxIngress instance.
The nginx-ingress-controller-controller pod should be in a CrashLoopBackOff due to ClusterRole missing.

Expected behavior
The nginx-ingress-controller-controller pod should be properly running after installing the operator. No manual RBAC change should be made.
Your environment

Version of the NGINX Ingress Operator: 1.4.1
Version of the Ingress Controller: 3.1.1
Kubernetes version: 1.25.5
Kubernetes platform: AKS
Using NGINX or NGINX Plus: NGINX

Thanks @aldato I'm about to open a PR to fix this

@bhavikbhavsar I'm working on releasing v1.4.2 with the fix ASAP


Add QueryRunner into PinotToolLauncher

Add mode targetQPS and increaseQPS into QueryRunner.
Fix some wrong metrics including server time, broker time.
Add configurable reportIntervalMs, numIntervalsToReportClientTimeStatistics and numIntervalsToIncreaseQPS
Generate a jar with dependency for PinotToolLauncher.

Current coverage is 64.23% (diff: 100%)

No coverage report found for master at 14e63ce.

Powered by Codecov. Last update 14e63ce...712b439


refactor: remove unnecessary clone

At least this two struct's clone is not necessary for now.

👍


Cherry-pick to master: [rom_ext_e2e] Update CI to run ROM_EXT tests on hyper310

This is a manual cherry-pick of #24430,
Use the fpga_hyper310_rom_ext environment for ROM_EXT end-to-end tests.
The hyperdebug serial ports support serial break out of the box, whereas
the CW310 serial ports require special SAM3x firmware to support serial
break.

@pamaury Could you take a look at the CI configuration and let me know if I've done it correctly?

This changes looks good to me but I think it is missing one piece: one should add the //hw/top_earlgrey:fpga_hyper310_rom_ext environment to this list: https://github.com/lowRISC/opentitan/blob/master/rules/opentitan/ci.bzl#L13 to avoid running a test in several redundant exec env.


Include AdapterRemoval v2?

https://github.com/MikkelSchubert/adapterremoval

AdapterRemoval was added to the set of compared tools in #3


Document the identifier-first feature

Added document [https://docs.wso2.com/display/IS570/Identifier-first+Flow+Handler]

Closing this issues since the changes have been made already.


Validator switch a few seconds in passive mode and go back active again

Confirmed in archipel logs  :
2020-05-14 17:21:09 Idle (2 peers), best: #390887 (0xfe2e…0c0c), finalized #390886 (0x22b7…dc88), ⬇ 3.0kiB/s ⬆ 2.9kiB/s
2020-05-14 17:21:12 Imported #390888 (0x50e5…4c8c)
2020-05-14 17:21:12 Reserved peer xxx disconnected
2020-05-14 17:21:14 Idle (1 peers), best: #390888 (0x50e5…4c8c), finalized #390887 (0xfe2e…0c0c), ⬇ 2.4kiB/s ⬆ 2.5kiB/s
2020-05-14 17:21:15 Reserved peer XXXXX disconnected
Checking if metrics send is enabled...
Archipel node can't receive transactions...
Orchestrating service...
Checking if orchestration is enabled...
Checking if Archipel chain node can receive transactions...
Archipel chain node can't receive transactions. Enforcing 'passive' service mode...
Stopping kusama-data-polkadot-validator container...
Deleting container kusama-data-polkadot-validator...
Starting kusama-data-polkadot-sync container...
Pulling parity/polkadot:v0.7.33 image...
Image was successfully pulled.
Creating and starting container...
2020-05-14 17:21:19 Idle (0 peers), best: #390888 (0x50e5…4c8c), finalized #390887 (0xfe2e…0c0c), ⬇ 1.5kiB/s ⬆ 1.2kiB/s
2020-05-14 17:21:24 Imported #390889 (0x2b54…013d)
2020-05-14 17:21:24 Idle (2 peers), best: #390889 (0x2b54…013d), finalized #390887 (0xfe2e…0c0c), ⬇ 3.5kiB/s ⬆ 3.3kiB/s
2020-05-14 17:21:25 Discovered new external address for our node: /ip4/<IP_ADDRESS>/tcp/30334/p2p/XXXXX
Checking if metrics send is enabled...
Archipel node has some peers and is synchronized so adding metrics...
2020-05-14 17:21:29 Idle (2 peers), best: #390889 (0x2b54…013d), finalized #390888 (0x50e5…4c8c), ⬇ 2.9kiB/s ⬆ 3.9kiB/s
2020-05-14 17:21:30 Imported #390890 (0x4bf0…ceca)
Orchestrating service...
Checking if orchestration is enabled...
Checking if Archipel chain node can receive transactions...
Checking is anyone in federation is alive...
Checking if service is ready to start...
Checking node leadership...
Current node is leader...
All checks passed. Launching service in active mode...
Stopping kusama-data-polkadot-sync container...
Deleting container kusama-data-polkadot-sync...
Starting kusama-data-polkadot-validator container...
Pulling parity/polkadot:v0.7.33 image...
Image was successfully pulled.
Creating and starting container...

Confirmed in alerting logs :
checkOutWaitingList
checkInValidatorList
checkOutValidatorList
evaluateTabLines
evaluateTabLines line1=archipel-kusama-node-2-passive
evaluateTabLines line2=archipel-kusama-node-1-passive
evaluateTabLines line3=archipel-kusama-node-3-passive
Node 1 switch from Active to Passive
New scraping start...
evaluateTelemetryBestBlock
checkPageHtmlLoaded
checkAtLeastOneValidator
checkSeveralValidators
checkAtLeastOnePassiveNode
checkSuspectPassiveNodesNumber
checkSoloPassiveNode
checkBlockBelowOneMinuteAgo
checkBestBlockNotNull
checkInWaitingList
checkOutWaitingList
checkInValidatorList
checkOutValidatorList
evaluateTabLines
evaluateTabLines line1=archipel-kusama-node-2-passive
evaluateTabLines line2=archipel-kusama-node-active
evaluateTabLines line3=archipel-kusama-node-3-passive

Cause :
Reserved peer  node 2 disconnected
Reserved peer  node 3 disconnected
Solution ?
call and confirm several times  this :
await this.chain.canSendTransactions();
switch to passive mode only if 3 confiirmations of "can't SendTransactions" with 2 seconds before confirming ?
https://github.com/luguslabs/archipel/blob/master/orchestrator/src/orchestrator.js#L58

If tempo + retry do not solve this issue we can add a supervisor on the peers number of archipel chain and do a stop and restart of the chain to "reconnect" to peers


add @paulrouget

This change is

@bors-servo r+

:pushpin: Commit a3248fc has been approved by SimonSapin

:hourglass: Testing commit a3248fcee70f4afd943443f2372d8d7276013ed2 with merge 80c3a790ff506da0194868151958ab4ecc3d0f72...

:broken_heart: Test failed - status-travis

@bors-servo retry

:hourglass: Testing commit a3248fcee70f4afd943443f2372d8d7276013ed2 with merge 24d97e0b0f5f684b4ddd2fd679cf7829bdc2d435...

:broken_heart: Test failed - status-travis

@bors-servo retry

:hourglass: Testing commit a3248fcee70f4afd943443f2372d8d7276013ed2 with merge 9f2440a2a98dec9271187928d2ed1ec554b8a408...

:hourglass: Testing commit a3248fcee70f4afd943443f2372d8d7276013ed2 with merge 9aee44f53d0ef81e67d34984e02dc566175e6007...

:sunny: Test successful - status-travis
Approved by: SimonSapin
Pushing 9aee44f53d0ef81e67d34984e02dc566175e6007 to master...


Link to Zulip stream from GitHub issue is broken

Issue
Rustbot's link
https://rust-lang.zulipchat.com/#narrow/stream/233931-xxx/topic/Use.20sane.20defaults.20in.20x.py.20compiler-team.23326
Actual link
https://rust-lang.zulipchat.com/#narrow/stream/233931-t-compiler.2Fmajor-changes/topic/Improve.20defaults.20in.20x.2Epy.20compiler-team.23326
Diff
-https://rust-lang.zulipchat.com/#narrow/stream/233931-xxx/topic/Use.20sane.20defaults.20in.20x.py.20compiler-team.23326
+https://rust-lang.zulipchat.com/#narrow/stream/233931-t-compiler.2Fmajor-changes/topic/Improve.20defaults.20in.20x.2Epy.20compiler-team.23326

Summary
I think there are two issues here:

Rustbot has xxx instead of t-compiler.2Fmajor-changes
The GitHub issue name was changed and Rustbot didn't update the link. I'm not sure if it's worth it, but maybe there's a way to listen for a title change and then update the link or at least post the new one?

Cc https://rust-lang.zulipchat.com/#narrow/stream/233931-t-compiler.2Fmajor-changes/topic/Improve.20defaults.20in.20x.2Epy.20compiler-team.23326/near/204243761

Alternatively, the solution to problem 2 is to just have the issue number in the Zulip topic and not have the name. Rustbot would post the name as the first message in the topic. The downside is that you have to open the topic to see what it's about, which kind of defeats the purpose of a topic!

(1) is supposed to work -- according to the Zulip developers, that part of the URL is ignored. We don't actually know the stream name so can't readily insert it.
(2) would be feasible though a bit painful. It looks like there's not a documented way to rename topics through the API. I suspect that most proposals that change titles should probably just open a new proposal, or we can edit the comment for now.
Note that the Github issue name changing shouldn't break links AFAIK -- the problem is that someone changed the title of the topic in Zulip without also updating the issue comment on GitHub.

Alternatively, the solution to problem 2 is to just have the issue number in the Zulip topic and not have the name. Rustbot would post the name as the first message in the topic. The downside is that you have to open the topic to see what it's about, which kind of defeats the purpose of a topic!

Yeah I think this is basically not going to work, since the topic being useful is much more valuable than preserving the link -- the link, can, after all be readily updated by folks.

@rustbot modify labels to invalid

(1) is supposed to work -- according to the Zulip developers, that part of the URL is ignored. We don't actually know the stream name so can't readily insert it.

We don't know the stream name? Don't we need to know it to create the topic?

No, you only need the stream ID. We could also add stream names to our configuration, but regardless the stream name doesn't matter because it's not the problem -- URLs with any characters instead of the stream name will work. e.g.,
https://rust-lang.zulipchat.com/#narrow/stream/233931-this-is-a-sweet-stream/topic/Improve.20defaults.20in.20x.2Epy.20compiler-team.23326
works quite fine.

So do you think it's worth it to fix this? For example, by detecting GitHub issue title changes and updating the Zulip title so that people don't do it manually

Generally speaking, sure, I'd love to fix this. However, I think it's going to be quite hard.

We cannot detect edits to topic titles on Zulip with the existing hook, which only pings our backend if the bot's name is mentioned on Zulip.
If we go the other way, there's no API endpoint that I can find that lets us edit the topic name on Zulip. So we can't easily do things that way either.

What we could do relatively easily, though, is to detect changes in the issue title on GitHub and post a comment asking someone to edit the topic in Zulip and update the link in the first comment by the bot.
An alternative to that would be to, on changes to the GitHub issue title, post a new comment on Zulip saying "hey this is the continued discussion from " into a new topic. I'd rather not do that though as diverging the two topics on Zulip seems kinda annoying.

Or maybe we could just post something to the original Zulip topic saying that the GitHub issue was renamed?

The github issue being renamed shouldn't affect the Zulip topic at all in the sense that all links etc should still work... I think a comment on the github issue makes a lot more sense, personally.

Could we ask the Zulip folks for a "rename topic" API endpoint?

Yeah, that's what I was thinking

Okay, I just filed an issue: zulip/zulip#15846
Feel free to add to it!

@Mark-Simulacrum Does github::IssuesAction::Edited represent a GitHub issue rename?

Seems to be -- https://docs.github.com/en/developers/webhooks-and-events/webhook-events-and-payloads#issues -- but I can't be 100% sure.

Changes represents the old version, right?

Might as well mark this as claimed
@rustbot claim

Apparently, there is actually a way to rename topics: https://github.com/zulip/zulip/issues/15846#issuecomment-660377837

Sounds great! We probably want to do that here then and edit the first comment ourselves.

Does Rustbot keep track of its comments? If not, maybe we edit the original issue text and add a Zulip link there instead of posting a separate MCP comment? (I.e., put some of the contents of this in the issue post.)

Is there a way to access the update-message endpoint from the zulip module?

Hmm, I think Rustbot will need to keep track of the message ID for the topic it creates (unless it is already). Maybe it makes more sense to just have someone manually rename the topic?

My impression was that if we specify change_all for propagate mode, we could change the topic by just posting a new message to it (and maybe using that message's ID?).
I don't believe we have an impl for the update message endpoint, so you'd have to add one.

My impression was that if we specify change_all for propagate mode, we could change the topic by just posting a new message to it (and maybe using that message's ID?).

I didn't think of that :)

The name of the topic was not changed. I started a new topic then linked to the new topic from the old one. The old one should still work: https://rust-lang.zulipchat.com/#narrow/stream/233931-t-compiler.2Fmajor-changes/topic/Use.20sane.20defaults.20in.20x.2Epy.20compiler-team.23326

Huh, it looks like we might have another issue here then.
For the original topic:
Rustbot link
https://rust-lang.zulipchat.com/#narrow/stream/233931-xxx/topic/Use.20sane.20defaults.20in.20x.py.20compiler-team.23326
Actual link
https://rust-lang.zulipchat.com/#narrow/stream/233931-t-compiler.2Fmajor-changes/topic/Use.20sane.20defaults.20in.20x.2Epy.20compiler-team.23326
If we compare the Rustbot link (and elaborate the xxx to the full stream name) against the actual link, the only difference that I see is that the actual link encodes the . in x.py as .2E, whereas Rustbot encodes it as just ..
@Mark-Simulacrum Is this is an error with string encoding?

From what I see in the rest of the link, it looks like Zulip encodes special characters as a . and then the ASCII hex code. Because of that, it seems a . must be encoded as its hex code.

It's quite possible there's a bug in that code, I made a quick and best effort attempt at replicating what the Zulip codebase is doing - PRs appreciated.


Improve minimal report app/device information

Changes report generation so that when a minimal or incomplete crash is recorded, essential app/device information is included in the report on the next startup.
Partially addresses #224

Should we add tests for this functionality?

We plan to add a mazerunner scenario which will cover this test case.


Upgrade Byte Buddy 1.14.12 -> 1.14.13

This PR contains the following updates:

Package
Type
Update
Change

Byte Buddy
compile
patch
1.14.12 -> 1.14.13

[ ] If you want to rebase/retry this PR, check this box

Suggested commit message:
Upgrade Byte Buddy 1.14.12 -> 1.14.13

See:
- https://github.com/raphw/byte-buddy/releases/tag/byte-buddy-1.14.13
- https://github.com/raphw/byte-buddy/compare/byte-buddy-1.14.12...byte-buddy-1.14.13


Add support of global kube-slack channel configuration.

it will be nice if one can configure slack channel (with slack token) globally in the kube-slack deployment, it is much more convenient, to change channel name between deployments then slack_url.

I'm not sure I understand this request.
If you want to change Slack channel, then you can do so by configuring your incoming webhooks channel.
The kube-slack/slack-channel annotation is for overriding the above configuration for specific pods and is not required.

OK, i will try to explain, maybe i'm mistaken due to my lack of knowledge in slack.

i have 9 namespaces across 4 clusters, with 22 deployments each, to taint every pod with kube-slack/slack-channel is out of the question, all the more so when i need it globally configured per cluster, it seems very inefficient to use the 'specific pods annotations' feature. (from what i understand it is impossible to configure multiple channels per incoming webhook, and even if it is possible there is no environment variable in kube-slack deployment for changing the channel)

Although i can create 4 Incoming WebHooks (1 for each cluster) and place their URL in each of the kube-slack deployments, i will have to maintain some kind of map (SLACK_URL vs CLUSER_NAME), which turns to be very clumsy, and i want to keep my cluster's deployment and management logic to a minimum, like i did so far with any organization-wide tool that has to be per cluster configured.

the only thing that changes between clusters is the CLUSTER_NAME which can also be used as SLACK_CHANNEL (or some kind of string manipulation of it). if i cloud change only the SLACK_CHANNEL when i deploy kube-slack as part of single k8s cluster deployment process.

hope that it explains the reason.

I just added SLACK_CHANNEL option in master. Could you please try the image with latest tag?

thanks! i will check it today and let you know

Thanks @whs it works great, and it is really helpful :)
now my kube-slack deployment, serviceaccount, clusterrole, clusterrolebinding  are identical to all clusters the only thing that changes is the environment vars secret:
---
apiVersion: v1
kind: Secret
metadata:
  name: env-vars
  namespace: kube-system
type: Opaque
data:
  KUBE_CLUSTER_NAME: {{ kubernetes_cluster_name | b64encode }}
  KUBE_ARK_REPO_URL: {{ kubernetes_ark_repo_url | b64encode }} # hardcoded static var
  KUBE_SLACK_WEBHOOK_URL: {{ kubernetes_slack_webhook_url | b64encode }} # hardcoded static var
  KUBE_SLACK_CHANNEL: {{ kubernetes_slack_channel | b64encode }}

when kubernetes_slack_channel is "#k8s_{{ kubernetes_cluster_name.split('.')[0] }}_events".


Updated braces for hyperlink

@varundey - Thanks for the quick fix!  Keep up the good work with P9K ;)


fix w3c warnings

Up until HTML5 type was needed for the browser to distinguish between js and other text. With HTML5 it is no longer needed. What browsers do you support?
The issue was raised in https://github.com/mui-org/material-ui/issues/9867. You can reproduce it with the https://zeit.co/now website:

I'm assuming it's safe to remove it.

@timneutkens Updated

👯♂


Increase retries through mandrill

Codecov Report

Merging #124 into master will increase coverage by <.01%.
The diff coverage is 75%.

@@            Coverage Diff             @@
##           master     #124      +/-   ##
==========================================
+ Coverage   95.64%   95.64%   +<.01%
==========================================
  Files          11       11
  Lines        1561     1563       +2
  Branches      179      180       +1
==========================================
+ Hits         1493     1495       +2
  Misses         39       39
  Partials       29       29

Impacted Files
Coverage Δ

morpheus/app/worker.py
93.67% <75%> (+0.03%)
:arrow_up:

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 edfab49...96ec1ac. Read the comment docs.


AAC freshness updates

Contributor guide pull request
Thanks for contributing to the Microsoft Learn contributor guide. Please read these instructions for processing your pull request (PR). Once you've read this text, delete it and write a brief description of the changes you're proposing.
Quality control

[ ] 1. Successful build with no warnings: Review the build status to make sure all checks are green (Succeeded).

[ ] 2. #Sign-off: Once the PR is finalized and ready to be merged, indicate so by typing #sign-off in a new comment in the PR. Signing off means the document is ready for review and can be published at any time.

Merge and publish

All PRs to this repository are manually reviewed and merged.
Once all feedback on the PR is addressed, we'll merge the PR into the main branch.

Need help?

If you have an open PR, tag the PR reviewers in comment with your question: @carlyrevier, @jehchow
Open an issue in this repo and tag the PR reviewers.

@BryanLa - really nice! My thoughts were to add pictures of a successful build and "#sign-off".
What if we don't tell them to delete and just add a Description header. That way they have the directions for the entire PR? Perhaps we state the whole process from there perspective to set the expectation of review and addressing feedback. Maybe:
Thanks for contributing to the Microsoft Learn contributor guide. Please enter a brief description and read the instructions for processing your pull request (PR).
Brief PR description
[ Enter brief description here ]
Instructions

Entire brief description: .... etc. (maybe deduplicate)
Have a successful build: .... etc.
Sign off: .... etc.
Wait for review: ... etc.
Address all feedback: ... etc.

@BryanLa - really nice! My thoughts were to add pictures of a successful build and "#sign-off".
What if we don't tell them to delete and just add a Description header. That way they have the directions for the entire PR? Perhaps we state the whole process from there perspective to set the expectation of review and addressing feedback.
Maybe something like:
"Thanks for contributing to the Microsoft Learn contributor guide. Please enter a brief description and read the instructions for processing your pull request (PR).
Brief PR description
[ Enter brief description here ]
Instructions

Entire brief description: .... etc. (maybe deduplicate)
Have a successful build: .... etc.
Sign off: .... etc.
Wait for review: ... etc.
Address all feedback: ... etc. "

Thanks @stephen-sumner !
Was this feedback for the PR template? Or for this PR (ie: the Architecture Center public contributor guide page)?
If for the latter, check out the link in the "Edit an existing article" section. It links them to the public contributor guide page which includes all of the instructions you cited, as well as screenshots.
If for the PR template, we should vet this with Chad. He and I had several discussions on the PR template, including taking a very minimalist approach to show only relevant details for PR creation (and tucking detailed instructions in the expand/collapse  section of the template for build info, sign-off, review, etc., minus screenshots but they can certainly be added).

#sign-off


[AppleBug] UICollectionView batch update heap corruption

Summary:
When performing a particular set of batch updates on a UICollectionView with a certain number of sections, it appears there is a heap corruption and crash in objc_release in -[UICollectionViewUpdate _computeItemUpdates].
Steps to Reproduce:

Setup a UICollectionView with 8 sections, each with 3 items
Perform batch updates with:
a. Insert item at section 1, item 0
b. Insert section 0
c. Move section 3 to section 1
Make sure data source is properly updated to reflect changes

Expected Results:
UICollectionView performs the queued updates on the view hierarchy.
Actual Results:
UICollectionView crashes with the following trace:
#0	0x0000000101a3bd7b in objc_release ()
#1	0x000000010325241c in -[UICollectionViewUpdate _computeItemUpdates] ()
#2	0x0000000103251315 in -[UICollectionViewUpdate initWithCollectionView:updateItems:oldModel:newModel:oldVisibleBounds:newVisibleBounds:] ()
#3	0x00000001032c078b in -[UICollectionView _endItemAnimationsWithInvalidationContext:tentativelyForReordering:] ()
#4	0x00000001032c8497 in -[UICollectionView _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:] ()
#5	0x00000001032c82d5 in -[UICollectionView _performBatchUpdates:completion:invalidationContext:] ()
#6	0x00000001032c8278 in -[UICollectionView performBatchUpdates:completion:] ()

Version:
Crash reports from production show issue occurring on iOS 7.1.2, 8.3, 8.4, 9.1, 9.2, 9.2.1, 9.3, and 9.3.1. Locally reproduce on iOS 9.3.1 and Xcode 7.3 simulators.
Notes:
Changing from 8 to 9 sections in the sample project seems to mitigate the issue. The same happens when using only 7 sections.
Configuration:
All iPhones and iOS Simulators
UICollectionViewHeapCorruption.zip

Please dupe
https://openradar.appspot.com/radar?id=6070670354022400


Split stream and task resource and services mapping configuration mgmt.

Fixes spring-cloud/spring-cloud-dataflow-server-cloudfoundry#151
Requires https://github.com/spring-cloud/spring-cloud-deployer-cloudfoundry/pull/67

LGTM, merging.


Duplication of volumes of a Workbench

RHOAIENG-14654
Description
Added a condition to remove the volume mount if it already exists with a different mount path, and replace it with the source path when adding a PVC from the spawner page.
How Has This Been Tested?
Follow the steps mentioned in JIRA.
Test Impact
N/A
Request review criteria:

Self checklist (all need to be checked):

[x] The developer has manually tested the changes and verified that the changes work
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[ ] The developer has added tests or explained why testing cannot be added (unit or cypress tests for related changes)

If you have UI changes:

[ ] Included any necessary screenshots or gifs if it was a UI change.
[ ] Included tags to the UX team if it was a UI/UX change.

After the PR is posted & before it merges:

[ ] The developer has tested their solution on a cluster by using the image produced by the PR to main

The commit here is what caused the issue. you just need to revert parts of it
https://github.com/opendatahub-io/odh-dashboard/pull/3231/files#diff-dedc11348a77f96be1b5c9866b27a5d61a20010f6a98eea6dca816d59d9acba8L24-R23
here is the diff of what im talking about
diff --git a/frontend/src/pages/projects/screens/spawner/SpawnerPage.tsx b/frontend/src/pages/projects/screens/spawner/SpawnerPage.tsx
index a4b847d9f..013cdcc9e 100644
--- a/frontend/src/pages/projects/screens/spawner/SpawnerPage.tsx
+++ b/frontend/src/pages/projects/screens/spawner/SpawnerPage.tsx
@@ -38,7 +38,11 @@ import ContainerSizeSelector from './deploymentSize/ContainerSizeSelector';
 import StorageField from './storage/StorageField';
 import EnvironmentVariables from './environmentVariables/EnvironmentVariables';
 import { useStorageDataObject } from './storage/utils';
-import { getCompatibleAcceleratorIdentifiers, useMergeDefaultPVCName } from './spawnerUtils';
+import {
+  getCompatibleAcceleratorIdentifiers,
+  getRootVolumeName,
+  useMergeDefaultPVCName,
+} from './spawnerUtils';
 import { useNotebookEnvVariables } from './environmentVariables/useNotebookEnvVariables';
 import DataConnectionField from './dataConnection/DataConnectionField';
 import { useNotebookDataConnection } from './dataConnection/useNotebookDataConnection';
@@ -237,7 +241,11 @@ const SpawnerPage: React.FC<SpawnerPageProps> = ({ existingNotebook }) => {
                 isInline
                 title="Cluster storage will mount to /"
               />
-              <StorageField storageData={storageData} setStorageData={setStorageData} />
+              <StorageField
+                storageData={storageData}
+                setStorageData={setStorageData}
+                editStorage={getRootVolumeName(existingNotebook)}
+              />
             </FormSection>
             {isConnectionTypesEnabled ? (
               <ConnectionsFormSection
diff --git a/frontend/src/pages/projects/screens/spawner/storage/AddExistingStorageField.tsx b/frontend/src/pages/projects/screens/spawner/storage/AddExistingStorageField.tsx
index 16235a569..123afa02d 100644
--- a/frontend/src/pages/projects/screens/spawner/storage/AddExistingStorageField.tsx
+++ b/frontend/src/pages/projects/screens/spawner/storage/AddExistingStorageField.tsx
@@ -4,13 +4,14 @@ import { ExistingStorageObject } from '~/pages/projects/types';
 import { ProjectDetailsContext } from '~/pages/projects/ProjectDetailsContext';
 import { getDisplayNameFromK8sResource } from '~/concepts/k8s/utils';
 import TypeaheadSelect from '~/components/TypeaheadSelect';
-import useProjectPvcs from '~/pages/projects/screens/detail/storage/useProjectPvcs';
+import useAvailablePvcs from './useAvailablePvcs';

 type AddExistingStorageFieldProps = {
   data: ExistingStorageObject;
   setData: (data: ExistingStorageObject) => void;
   selectDirection?: 'up' | 'down';
   menuAppendTo?: HTMLElement;
+  editStorage: string;
 };

 const AddExistingStorageField: React.FC<AddExistingStorageFieldProps> = ({
@@ -18,9 +19,17 @@ const AddExistingStorageField: React.FC<AddExistingStorageFieldProps> = ({
   setData,
   selectDirection,
   menuAppendTo,
+  editStorage,
 }) => {
-  const { currentProject } = React.useContext(ProjectDetailsContext);
-  const [storages, loaded, loadError] = useProjectPvcs(currentProject.metadata.name);
+  const {
+    currentProject,
+    notebooks: { data: allNotebooks },
+  } = React.useContext(ProjectDetailsContext);
+  const [storages, loaded, loadError] = useAvailablePvcs(
+    currentProject.metadata.name,
+    allNotebooks,
+    editStorage,
+  );

   const selectDescription = (size: string, description?: string) => (
     <div>
diff --git a/frontend/src/pages/projects/screens/spawner/storage/StorageField.tsx b/frontend/src/pages/projects/screens/spawner/storage/StorageField.tsx
index 0e2ac7515..73f0dfc19 100644
--- a/frontend/src/pages/projects/screens/spawner/storage/StorageField.tsx
+++ b/frontend/src/pages/projects/screens/spawner/storage/StorageField.tsx
@@ -8,9 +8,10 @@ import AddExistingStorageField from './AddExistingStorageField';
 type StorageFieldType = {
   storageData: StorageData;
   setStorageData: UpdateObjectAtPropAndValue<StorageData>;
+  editStorage: string;
 };

-const StorageField: React.FC<StorageFieldType> = ({ storageData, setStorageData }) => {
+const StorageField: React.FC<StorageFieldType> = ({ storageData, setStorageData, editStorage }) => {
   const { storageType, creating, existing } = storageData;

   return (
@@ -54,6 +55,7 @@ const StorageField: React.FC<StorageFieldType> = ({ storageData, setStorageData
                   setData={(data) => setStorageData('existing', data)}
                   selectDirection="up"
                   menuAppendTo={getDashboardMainContainer()}
+                  editStorage={editStorage}
                 />
               )
             }

@Gkrumbach07 thanks, i thought we need to support changing root cluster storage.

@dpanshug This will likely need to change with Jeffs PR so we should also hold this until then and revaluate if the issue is still there
/hold

@dpanshug is this still valid

@Gkrumbach07 after validating the main branch, the bug does not exists anymore. Hence closing this PR.


Insertion Sort in PHP

💥 Proposal
I would like to add Insertion SOrt in PHP
Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)YEs

\assign

/assign


Bug in form save and show page

1-  Sometimes when form saving, the program closes and goes to the login page. Without giving errors and ...
2- Sometimes the graphic elements of the page are not displayed when opening the pages and it must be refreshed once to load the pages correctly

If the session time reaches, it will jump to the login page. I guess