Broker transport failure in Docker

Hey.
Im trying to run docker compose with Mosquitto, Kafka and your bridge. When I run Kafka and Mosquitto in Docker and bridge locally it works perfectly, however when I try to run it in Docker I get the following errors:

<EMAIL_ADDRESS>test /usr/app
NODE_ENV=production DEBUG=mqtttokafka:* node ./example/sample.js
2021-02-10T13:06:14.723Z mqtttokafka:bridge Routing configuration { '*': 'mqtt-bridge-test' }
2021-02-10T13:06:14.725Z mqtttokafka:bridge Starting..
2021-02-10T13:06:14.725Z mqtttokafka:kafka Connecting..
2021-02-10T13:06:14.747Z mqtttokafka:kafka Connected.
2021-02-10T13:06:14.747Z mqtttokafka:mqtt Connecting..
2021-02-10T13:06:14.759Z mqtttokafka:http Starting..
2021-02-10T13:06:14.763Z mqtttokafka:http Listening @ http://localhost:3967
2021-02-10T13:06:14.764Z mqtttokafka:bridge Started.
2021-02-10T13:06:14.766Z mqtttokafka:mqtt Connected.
2021-02-10T13:06:14.766Z mqtttokafka:mqtt Subscribing to topics..
2021-02-10T13:06:14.767Z mqtttokafka:mqtt Subscribed to topics.
2021-02-10T13:06:25.382Z mqtttokafka:bridge routing for topic test-sensor-data/2 35.52
2021-02-10T13:06:25.383Z mqtttokafka:bridge routing for topic test-sensor-data/0 54.07
2021-02-10T13:06:25.383Z mqtttokafka:bridge routing for topic test-sensor-data/4 29.68
[LibrdKafkaError: Local: Broker transport failure] {
origin: 'local',
message: 'broker transport failure',
code: -1,
errno: -1
}
[LibrdKafkaError: Local: Broker transport failure] {
origin: 'local',
message: 'broker transport failure',
code: -1,
errno: -1
}
[LibrdKafkaError: Local: Broker transport failure] {
origin: 'local',
message: 'broker transport failure',
code: -1,
errno: -1
}

This is my config file:
"use strict";

module.exports = {

    // mqtt connection options
    mqtt: { // # see https://github.com/mqttjs/MQTT.js#mqttclientstreambuilder-options
        url: null,
        options: {
            clientId: "kafkabridge1-client",
            username: "admin",
            password: "admin",
            //host: "<IP_ADDRESS>",
            host: "mqtt",
            port: 1883,
            protocolId: "MQTT",
            protocolVersion: 4,
        }
    },

    // kafka connection options
    kafka: { // # see https://github.com/nodefluent/node-sinek/blob/master/lib/librdkafka/README.md
        logger: undefined,
        noptions: {
            //"debug": "all",

            //"metadata.broker.list": ["<IP_ADDRESS>:9091", "<IP_ADDRESS>:9092", "<IP_ADDRESS>:9093"],
            "metadata.broker.list": ["kafka1:9091", "kafka2:9092", "kafka3:9093"],
            "client.id": "mqttbridge1",
            "event_cb": true,
            "compression.codec": "none",
            "retry.backoff.ms": 200,
            "message.send.max.retries": 10,
            "socket.keepalive.enable": true,
            "queue.buffering.max.messages": 100000,
            "queue.buffering.max.ms": 1000,
            "batch.num.messages": 1000000,

            //"security.protocol": "sasl_ssl",
            //"ssl.key.location": path.join(__dirname, "../certs/ca-key"),
            //"ssl.key.password": "nodesinek",
            //"ssl.certificate.location": path.join(__dirname,"../certs/ca-cert"),
            //"ssl.ca.location": path.join(__dirname,"../certs/ca-cert"),
            //"sasl.mechanisms": "PLAIN",
            //"sasl.username": "admin",
            //"sasl.password": "nodesinek",
            "api.version.request": true,
        },
        tconf: {
            "request.required.acks": 1,
        }
    },

    // declares on which target kafka topic a mqtt message should be routed to (based on the mqtt topic)
    routing: {

        //"*": "*", // from all to all (indiviudally 1:1)
        //"*": "kafka-test", // from all to single kafka-test topic
        //"mqtt-topic": "kafka-topic", // from mqtt-topic to kafka-topic only

        "*": "mqtt-bridge-test"
    },

    // if routed messages should be logged to debug
    logMessages: true,

    // declares how an mqtt topic name should be split (/) to fit to the kafka topic naming conventions
    kafkaTopicDelimiter: "-",

    // gives you the option to alter mqtt messages before they are consumed (routed)
    subscribeEtl: (topic, message, packet, callback) => {
        // first param is an error, if you pass one, we will omit the message
        callback(null, {
            topic,
            message,
        });
    },

    // gives you the option to alter kafka messages before they are produced
    produceEtl: (topic, message, key, callback) => {
        // first param is an error, if you pass one, we will omit the message
        callback(null, {
            topic,
            message, // you can pass an object, will be turned into a string
            key, // default uuid.v4
            partition: null, // default null
        });
    },

    // the bridge starts an http server
    http: {
        port: 3967,
    },
};

I apologize. Issue was with my configuration.


Project: SMS Identity Verification

Project name
SMS Identity Verifier
Description
This tool was originally featured on my blog here: https://mspautomator.com/2022/08/27/one-click-user-identity-verification-from-halopsa/
How do you know that person calling your helpdesk is who they say they are? Social engineering a helpdesk employee is a highly effective method of bypassing physical and logical access controls to breach an environment. This is a big enough problem in single silo organizations that have internal IT teams, but it presents a much larger attack surface for an MSP. You can’t “know” every one of your thousands of end users at clients, and that’s especially true for new employees joining your helpdesk team and starting from zero. Today we’re going to take a look at a creative way to make your own user identity verification system that avoids some of the pitfalls of commercially available products and harnesses Twilio, Microsoft Graph, and Azure Automation runbooks all from one click inside HaloPSA.
Repo URL
https://github.com/mspautomator/SMSIdentityVerification
Team members
mspautomator, cscaminaci

Thank you for your submission. This script seems to be a PowerShell script that uses the Microsoft Graph PowerShell SDK. This hackathon is all about using Microsoft Graph with .NET.

Hey @mspautomator, are you planning to update the hack to use the Microsoft Graph .NET SDK and make chance for one of the cool prizes we've got in the hackathon?

Unfortunately, we can't accept your hack to be eligible for prizes because it's not using the Microsoft Graph .NET SDK. Thank you for your submission.


[fastlane] Version bump

Improve the reporting when errors occur in the Crashlytics Beta Action.  Also prevent build secrets from being printed. (#4526)
Introducing sub-tools (#4514)
Implemented Nexus upload classifier parameter. (#4300)
Fix HttpForbidden and SSL connection problems on Appaloosa action (#4353)
Make it easier to call another action from an action (#4441)
Adds set_pod_key action (#4461)
only set default crashlytics_path value for ios (#4429)
Added 'use libraries' action to pod_push action (#4029)
added apteligent (#4085)
Make it possible to use .slather.yml on slather action (#4402)
Added new Fastlane::TOOLS - a list of all fastlane tools
make sure gem push happens before git push
Update the documentation to reflect the changed placement of the submit binary in newer versions of Crashlytics

Wow! ✨ 👍


Force removing rail nodes does not remove rails

Before reporting, I have confirmed that

[X] This bug does not appear to be reported on GitHub Issues before.
[X] This bug still exists in the latest version of the Minecraft Transit Railway mod.
[X] I have tested this in the official version of Minecraft Transit Railway, not a modified, custom, or unofficial build.

Describe the Bug
Creating railway path and force removing the railway node still won't delete the rail.
I know this is not a normal habit, but there's always some probabilities that rail nodes are unexpectedly removed for some reason.
This bug is not so critical because this won't crash your game, nor interfere the pathfinding algorhythm (refreshing path still works fine). The main problem is the only way to remove the glitched rail is to re-place a rail node to the original position, and destroy this or use rail remover.

Reproduction Steps

Create a railway path
Remove some nodes with commands or worldedit or something else
The rails still remain there

In-game Log and Crash Report
latest.log
https://mclo.gs/QZMVtSr
debug.log
https://mclo.gs/mqIOlWL
Mod Loader
Forge
Minecraft Version
1.20.1
Minecraft Transit Railway Version
4.0.0-beta8 (also confirmable in 3.2.2-hotfix-1)
Operating System
Windows 11
List of Mods or Modpack You Were Using

Minecraft Transit Railway [4.0.0-beta-8]
WorldEdit [7.2.15+6463-5ca4dff]

Extra Information
No response

Sorry, my English is not good. This bug also appeared on 1.19.2. BUT the bug appeared when I didn't remove the rail node in any way. I thought at first there was a ghost block for some reason, but actually there wasn't.

It's a feature.
Only breaking a node with your hand will cause the rail network update.
If you “//set 0”ed a node, the network will not refresh immediately, instead it will refresh after a moment or after breaking another node with your hand.


ReliableGPT

While using promptfoo, the requests can often fail because of OpenAI's flakiness. I recommend us putting in something like
https://github.com/BerriAI/reliableGPT
to improve reliability of failing requests.
Please correct me if there is already a provision for retries. Thank you!

Thanks for the suggestion!  I've added retries with exponential backoff, which should help reduce some of the "model is overloaded" and similar OpenAI failures.


Block quote toolbar works in lock text mode

Describe the bug
Can use the block quote toolbar button, when the editor is in lockText mode.
To Reproduce

npm run dev
http://localhost:8080
Set the cursor inside the clause
Press the block quote toolbar button
See that the clause text is modified

Expected behavior
When in lock text mode the clauses should not be modifiable.

Relates to markdown-editor Issue #122


Live Response limitations

Live esponse limitation are supposedly as below - Yet,  I am hitting a limit currently, that is not listed:
Here is my status - and I can't run any more live response
I do pause 6s between calls. I have 0 running sessions. So why can't I submit more liv response commands ?
 $status = callurl -url "https://api.securitycenter.microsoft.com/api/machineactions" -token $dtoken ; $z= $status.content| ConvertFrom-Json ; $y= $z.value ; $y.status | group-object

Count Name                      Group
----- ----                      -----
    7 Failed                    {Failed, Failed, Failed, Failed…}
   26 Pending                   {Pending, Pending, Pending, Pending…}
  136 Succeeded                 {Succeeded, Succeeded, Succeeded, Succeeded…}
    6 TimeOut                   {TimeOut, TimeOut, TimeOut, TimeOut…}

Limitations
Rate limitations for this API are 10 calls per minute (additional requests are responded with HTTP 429).
25 concurrently running sessions (requests exceeding the throttling limit receives a "429 - Too many requests" response).
If the machine isn't available, the session is queued for up to three days.
RunScript command timeouts after 10 minutes.
Live response commands can't be queued up and can only be executed one at a time.
If the machine that you're trying to run this API call is in an RBAC device group that doesn't have an automated remediation level assigned to it, you need to at least enable the minimum Remediation Level for a given Device Group.
Note
Device group creation is supported in Defender for Endpoint Plan 1 and Plan 2.
Multiple live response commands can be run on a single API call. However, when a live response command fails all the subsequent actions won't be executed.

Found out, if you have more than 25 in "Pending", no more requests are accepted.  You can send > 25 requests, and as long as you don't have >= 25 in status pending (you can have many in status progress), you can add more.  I have had luck addind about 50 live response actions per batch. Then wait 30 minutes, cancel all Pending, and add the next group. When done go back and try to reach those that I did not have success with the first time around (Status cancelled)
Too bad it is 25 and not minimum 25, and max 5-10% of computers. Limit is again designed for SOHO, and not Enterprise deployments. 5% of all devices would be more than enough in most cases.

Hello @povlhp. Can you please tell us to which article your feedback applies? This information will help us route the issue to the correct writer/team. Thank you!

@povlhp Thank you for your feedback. Looks like this is by design and the feedback to increase the limit would need to be directed to our dev/product group via the main feedback portal (https://feedbackportal.microsoft.com/)
Hope this helps!
Thanks
Sri

@povlhp Thank you very much for your kind feedback. Considering your valuable feedback, please log this issue as advised. Here we are limited to documentation fixes and improvements only. Concerning team will evaluate and take the appropriate action, as per their schedule. We proceed here to close it. Thanks again for taking out some time and sharing your feedback.


Allow multiple now.json config files and add a way to specify one.

Use case : I need to differentiate between staging and production environments so I'd like to use 2 different config files (staging.now.json and production.now.json).
The now CLI tool help indicates that you can specify a config file using --config=FILE:
    -n, --name                Set the name of the deployment
    -c FILE, --config=FILE    Config file
    -d, --debug               Debug mode [off]

But it looks like this is to set another config file (.now.json) which is used to store the account login token.
It would be super nice to allow another flag for the CLI in order to specify what now.json to use because this is hardcoded right now (https://github.com/zeit/now-cli/blob/cb7fb54805dcbdb2e876ff73d5cb76786e8b7334/lib/read-metadata.js#L32).
Thanks and keep up the good work :)

What about adding a level to env to specify one set of key:value or another key:value set depending on which env is specified? My use-case is related to the NODE_ENV environment variable, so a specific implementation could be:
...     "env": {         "production": {             "REDIS_URL": "redis://1..."         },         "staging": {             "REDIS_URL: "redis://2..."         }     }   } ...
I'd actually prefer to set most of my variables in secrets instead of committing them to the codebase.  I guess one workaround would be a secret key prefix, relying on a deploy environment variable. now secret add production-acme-api-key value1 with now -e SECRET_PREFIX="production" and process.env[process.env.SECRET_PREFIX + "-production-acme-api-key"]... but that's kind of messy. 😄

I guess this new feature in 4.2.0 (https://github.com/zeit/now-cli/pull/284) pretty much addresses this feature request.
Now that env is taken care of by using dotenv, the only property from now.json that makes sense having different values in staging/prod would be aliases I guess.

Indeed adding a support for selecting to a now.json (for project configuration, not for auth) would be super cool. cc/ @leo

So now that --alias is being deprecated, we really need this feature to be able to automatically alias to different url depending on the environment.

I needed this (I had the use case @saimeunt had above, staging needs a fixed API url), so I made this https://github.com/jesseditson/now-deploy while we wait for a first-party feature!

=> https://github.com/zeit/now-cli/issues/436


Add Support For Apple MLX Backend

Add Support For Apple MLX Backend for possible training implementation on Apple Silicon Devices
Code: https://github.com/ml-explore/mlx
Docs: https://ml-explore.github.io/mlx/build/html/index.html

waiting for this..


[zh-cn]Sync pod-lifecycle.md and intro.md

Synchronize upstream changes and add alerts
content\zh-cn\docs\concepts\windows\intro.md

content\zh-cn\docs\concepts\workloads\pods\pod-lifecycle.md

Hey @yanrongshi,
Are you ready to move forward? There are 3 other PR updating this page too.

#35211
#36275
#36321

Hey @yanrongshi,
Are you ready to move forward? There are 3 other PR updating this page too.

Update pod-lifecycle.md #35211
[zh-ch] sync1.25 pod-lifecycle.md #36275
Update pod-lifecycle.md #36321

hi，I had changed it now

/approve

/lgtm


Do not assume all relaton-DOI fetches are "standards"

Code currently has:
def bibitem_hash # rubocop:disable Metrics/MethodLength
      {
        type: "standard",

But as we know now that relaton-render is integrated into bibliographic rendering, we simply cannot presuppose that: standards bibliographic rendering is very restrictive compared to other bibliographic types. If DOI is being used to retrieve descriptions of books or articles, we need to know that.

I see that the doctype field already says what DOI thinks the bibliographic item is; for DOI = 10.1037/rmh0000008, doctype = "journal-article". We need a mapping of DOI's native doctypes to our bibtype vocabulary.
Trying to find where these are defined.

I can't find the API types in the XSDs on crossref which is.... well, anyway.
This is the API listing of types; and these are the Relaton we will apply to them:
{
"book-chapter": "inbook",
"book-part": "inbook",
"book-section": "inbook",
"book-series": "book",
"book-set": "book",
"book-track": "book",
"book": "book",
"component": "misc",
"database": "dataset",
"dataset": "dataset",
"dissertation": "thesis",
"edited-book": "book",
"grant": "misc",
"journal-article": "article",
"journal-issue": "journal",
"journal-volume": "journal",
"journal": "journal",
"monograph": "book",
"other": "misc",
"peer-review": "article",
"posted-content": "social_media",
"proceedings-article": "inproceedings",
"proceedings-series":  "proceedings",
"proceedings": "proceedings",
"reference-book": "book",
"reference-entry":  "inbook",
"report-component": "techreport",
"report-series": "techreport",
"report": "techreport",
"standard": "standard",
}


Fix typo in grounded_edge_sam.py

@rentainhe
Thanks for your great work!
This is just a pull request to fix a simple typo.
In grounded_edge_sam.py, text_threshold was determined by BOX_THRESHOLD.
Thanks,

Thank u so much for fixing this!


feat(data): create text-specific tokens for PageState components

Need to create text-specific tokens for Empty and Error state components

Wrong lineheight used. New branch was created, this one no longer needed


add to_numpy()

This PR contains values property and get_values() method.
The lazy evaluation tested in this issue #118

@rxin

I'm not sure if we should put values and get_values there, because it might blow up memory. One way we can do this is for each function that requires collecting all the data to a single node, we require users to run toPandas explicitly, so they would know what they are doing and not shoot themselves in the foot.

I absolutely agree with you, collecting the data in the driver in the case of big data is tricky.
But, this will happen in any method that uses toPandas(). I think values and get_values() are wrapper method for toPandas(), so we will end up in the same problem.
I suggest that we add a warning sentence in the documentation to remind users that this method uses toPandas() and it can blow up memory.

@garawalid I started a quick discussions about pros and cons of this API in #146

@garawalid based on the discussion in #146, I think that we just need to rename get_values to to_numpy, and to not include .values?
Also, regarding documentation: can you copy/paste the pandas documentation and add a warning that this will put all the data in memory, see the warning in https://spark.apache.org/docs/latest/api/python/pyspark.sql.html#pyspark.sql.DataFrame.toPandas

@thunterdb
What do you think about using values inside to_numpy() ?

Thanks! merging.


Stable release tag?

Can you create a stable release tag e.g. 0.0.2 please? Just so we don't need to refer to a somewhat transient branch-name in composer.json. Ta

I think I was holding off on 0.0.2 because of Azure support, but the extra commit is just some docs. I'll tag shortly

done

Merged and tagged 1.0.0


Overwrite config files (from /config)

Is there currently an option to overwrite configuration files in their destination when they are being copied from the /config mount?
I use the variable replacement in configuration files extensively but the problem is that once a configuration file exists in the destination path, it doesn't get overridden.

Perfect timing. You might be interested in helping to test this enhancement: https://github.com/itzg/docker-minecraft-server/issues/987 . The image is itzg/minecraft-server:test-interpolate-on-copy and is currently based on Java 16. (I can build an additional image for Java 8 if needed.)
For the enhancement, the variable replacement processing is also performed on synchronized files from /config (and /plugins and /mods) and setting SYNC_SKIP_NEWER_IN_DESTINATION=false should address the overwrite behavior you're wanting. This new processing is currently in this section of the pending README updates.

The latest image and variants now includes the feature changes. Feel free to re-open this issue if needed.

I finally got around to test this. I'm not sure if my issue is directly related to this change, but my paper.yml file seems to get scrambled up because of the variable replacement or something:
This is the original paper.yml file in the /config folder:
# This is the main configuration file for Paper.
# As you can see, there's tons to configure. Some options may impact gameplay, so use
# with caution, and make sure you know what each option does before configuring.
#
# If you need help with the configuration or have any questions related to Paper,
# join us in our Discord or IRC channel.
#
# Discord: https://discord.gg/papermc
# IRC: #paper @ irc.esper.net ( https://webchat.esper.net/?channels=paper )
# Website: https://papermc.io/
# Docs: https://paper.readthedocs.org/

verbose: false
use-display-name-in-quit-message: false
config-version: 20
timings:
  enabled: true
  verbose: true
  server-name-privacy: false
  hidden-config-entries:
  - database
  - settings.bungeecord-addresses
  - settings.velocity-support.secret
  history-interval: 300
  history-length: 3600
  server-name: Unknown Server
settings:
  log-named-entity-deaths: true
  load-permissions-yml-before-plugins: true
  region-file-cache-size: 256
  enable-player-collisions: true
  save-empty-scoreboard-teams: false
  bungee-online-mode: true
  incoming-packet-spam-threshold: 300
  suggest-player-names-when-null-tab-completions: true
  use-alternative-luck-formula: false
  chunk-tasks-per-tick: 1000
  console-has-all-permissions: false
  player-auto-save-rate: -1
  max-player-auto-save-per-tick: -1
  max-joins-per-tick: 3
  track-plugin-scoreboards: false
  fix-entity-position-desync: true
  watchdog:
    early-warning-every: 5000
    early-warning-delay: 10000
  spam-limiter:
    tab-spam-increment: 1
    tab-spam-limit: 500
    recipe-spam-increment: 1
    recipe-spam-limit: 20
  velocity-support:
    enabled: false
    online-mode: false
    secret: ''
  book-size:
    page-max: 2560
    total-multiplier: 0.98
  async-chunks:
    threads: -1
  unsupported-settings:
    allow-permanent-block-break-exploits: false
    allow-piston-duplication: false
    allow-headless-pistons: false
    allow-permanent-block-break-exploits-readme: This setting controls if players
      should be able to break bedrock, end portals and other intended to be permanent
      blocks.
    allow-piston-duplication-readme: This setting controls if player should be able
      to use TNT duplication, but this also allows duplicating carpet, rails and potentially
      other items
    allow-headless-pistons-readme: This setting controls if players should be able
      to create headless pistons.
  console:
    enable-brigadier-highlighting: true
    enable-brigadier-completions: true
  item-validation:
    display-name: 8192
    loc-name: 8192
    lore-line: 8192
    book:
      title: 8192
      author: 8192
      page: 16384
  loggers:
    deobfuscate-stacktraces: true
messages:
  no-permission: '&cI''m sorry, but you do not have permission to perform this command.
    Please contact the server administrators if you believe that this is in error.'
  kick:
    flying-player: Flying is not enabled on this server
    flying-vehicle: Flying is not enabled on this server
    authentication-servers-down: ''
    connection-throttle: Connection throttled! Please wait before reconnecting.
world-settings:
  default:
    show-sign-click-command-failure-msgs-to-player: false
    zombies-target-turtle-eggs: true
    use-faster-eigencraft-redstone: true
    should-remove-dragon: false
    only-players-collide: false
    allow-vehicle-collisions: true
    fix-climbing-bypassing-cramming-rule: false
    keep-spawn-loaded-range: 10
    auto-save-interval: -1
    max-auto-save-chunks-per-tick: 24
    baby-zombie-movement-modifier: 0.5
    spawner-nerfed-mobs-should-jump: false
    keep-spawn-loaded: false
    falling-block-height-nerf: 0
    tnt-entity-height-nerf: 0
    nether-ceiling-void-damage-height: 0
    max-leash-distance: 10.0
    optimize-explosions: false
    disable-explosion-knockback: false
    disable-thunder: false
    disable-ice-and-snow: false
    mob-spawner-tick-rate: 1
    container-update-tick-rate: 1
    all-chunks-are-slime-chunks: false
    portal-search-radius: 128
    portal-create-radius: 16
    portal-search-vanilla-dimension-scaling: true
    disable-teleportation-suffocation-check: false
    allow-non-player-entities-on-scoreboards: false
    non-player-arrow-despawn-rate: 60
    creative-arrow-despawn-rate: -1
    skeleton-horse-thunder-spawn-chance: 0.01
    fixed-chunk-inhabited-time: -1
    grass-spread-tick-rate: 1
    use-vanilla-world-scoreboard-name-coloring: false
    prevent-tnt-from-moving-in-water: false
    remove-corrupt-tile-entities: false
    filter-nbt-data-from-spawn-eggs-and-related: true
    enable-treasure-maps: true
    treasure-maps-return-already-discovered: false
    seed-based-feature-search: true
    seed-based-feature-search-loads-chunks: true
    max-entity-collisions: 2
    parrots-are-unaffected-by-player-movement: false
    disable-creeper-lingering-effect: false
    experience-merge-max-value: -1
    iron-golems-can-spawn-in-air: false
    armor-stands-do-collision-entity-lookups: true
    armor-stands-tick: false
    water-over-lava-flow-speed: 5
    prevent-moving-into-unloaded-chunks: false
    duplicate-uuid-resolver: saferegen
    duplicate-uuid-saferegen-delete-range: 32
    count-all-mobs-for-spawning: false
    entities-target-with-follow-range: false
    zombie-villager-infection-chance: -1.0
    light-queue-size: 20
    phantoms-do-not-spawn-on-creative-players: true
    phantoms-only-attack-insomniacs: true
    delay-chunk-unloads-by: 10s
    per-player-mob-spawns: true
    ender-dragons-death-always-places-dragon-egg: false
    update-pathfinding-on-block-update: false
    fix-wither-targeting-bug: false
    allow-using-signs-inside-spawn-protection: false
    map-item-frame-cursor-limit: 128
    fix-items-merging-through-walls: false
    wandering-trader:
      spawn-minute-length: 1200
      spawn-day-length: 24000
      spawn-chance-failure-increment: 25
      spawn-chance-min: 25
      spawn-chance-max: 75
    game-mechanics:
      fix-curing-zombie-villager-discount-exploit: true
      disable-mob-spawner-spawn-egg-transformation: false
      disable-end-credits: false
      disable-chest-cat-detection: true
      disable-player-crits: false
      disable-sprint-interruption-on-attack: false
      disable-unloaded-chunk-enderpearl-exploit: true
      shield-blocking-delay: 5
      scan-for-legacy-ender-dragon: true
      disable-relative-projectile-velocity: false
      disable-pillager-patrols: false
      nerf-pigmen-from-nether-portals: false
      pillager-patrols:
        spawn-chance: 0.2
        spawn-delay:
          per-player: false
          ticks: 12000
        start:
          per-player: false
          day: 5
    door-breaking-difficulty:
      zombie:
      - HARD
      vindicator:
      - NORMAL
      - HARD
    entity-per-chunk-save-limit:
      experience_orb: -1
      snowball: -1
      ender_pearl: -1
      arrow: -1
    max-growth-height:
      cactus: 3
      reeds: 3
      bamboo:
        max: 16
        min: 11
    fishing-time-range:
      MinimumTicks: 100
      MaximumTicks: 600
    despawn-ranges:
      soft: 32
      hard: 128
    frosted-ice:
      enabled: true
      delay:
        min: 20
        max: 40
    lootables:
      auto-replenish: false
      restrict-player-reloot: true
      reset-seed-on-fill: true
      max-refills: -1
      refresh-min: 12h
      refresh-max: 2d
    mobs-can-always-pick-up-loot:
      zombies: false
      skeletons: false
    squid-spawn-height:
      maximum: 0.0
    generator-settings:
      flat-bedrock: false
    hopper:
      cooldown-when-full: true
      disable-move-event: false
    spawn-limits:
      monsters: -1
      animals: -1
      water-animals: -1
      water-ambient: -1
      ambient: -1
    viewdistances:
      no-tick-view-distance: -1
    alt-item-despawn-rate:
      enabled: false
      items:
        COBBLESTONE: 300
    anti-xray:
      enabled: false
      engine-mode: 1
      max-block-height: 64
      update-radius: 2
      lava-obscures: false
      use-permission: false
      hidden-blocks:
      - copper_ore
      - deepslate_copper_ore
      - gold_ore
      - deepslate_gold_ore
      - iron_ore
      - deepslate_iron_ore
      - coal_ore
      - deepslate_coal_ore
      - lapis_ore
      - deepslate_lapis_ore
      - mossy_cobblestone
      - obsidian
      - chest
      - diamond_ore
      - deepslate_diamond_ore
      - redstone_ore
      - deepslate_redstone_ore
      - clay
      - emerald_ore
      - deepslate_emerald_ore
      - ender_chest
      replacement-blocks:
      - stone
      - oak_planks
    unsupported-settings:
      fix-invulnerable-end-crystal-exploit: true
    mob-effects:
      undead-immune-to-certain-effects: true
      spiders-immune-to-poison-effect: true
      immune-to-wither-effect:
        wither: true
        wither-skeleton: true

And this is the file in the destination:
# This is the main configuration file for Paper.
# As you can see, there's tons to configure. Some options may impact gameplay, so use
# with caution, and make sure you know what each option does before configuring.
#
# If you need help with the configuration or have any questions related to Paper,
# join us in our Discord or IRC channel.
#
# Discord: https://discord.gg/papermc
# IRC: #paper @ irc.esper.net ( https://webchat.esper.net/?channels=paper )
# Website: https://papermc.io/
# Docs: https://paper.readthedocs.org/

verbose: false
use-display-name-in-quit-message: false
config-version: 20
timings:
  enabled: true
  verbose: true
  server-name-privacy: false
  hidden-config-entries:
  - database
  - settings.bungeecord-addresses
  - settings.velocity-support.secret
  history-interval: 300
  history-length: 3600
  server-name: Unknown Server
settings:
  log-named-entity-deaths: true
  load-permissions-yml-before-plugins: true
  region-file-cache-size: 256
  enable-player-collisions: true
  save-empty-scoreboard-teams: false
  bungee-online-mode: true
  incoming-packet-spam-threshold: 300
  suggest-player-names-when-null-tab-completions: true
  use-alternative-luck-formula: false
  chunk-tasks-per-tick: 1000
  console-has-all-permissions: false
  player-auto-save-rate: -1
  max-player-auto-save-per-tick: -1
  max-joins-per-tick: 3
  track-plugin-scoreboards: false
  fix-entity-position-desync: true
  watchdog:
    early-warning-every: 5000
    early-warning-delay: 10000
  spam-limiter:
    tab-spam-increment: 1
    tab-spam-limit: 500
    recipe-spam-increment: 1
    recipe-spam-limit: 20
  velocity-support:
    enabled: false
    online-mode: false
    secret: ''
  book-size:
    page-max: 2560
    total-multiplier: 0.98
  async-chunks:
    threads: -1
  unsupported-settings:
    allow-permanent-block-break-exploits: false
    allow-piston-duplication: false
    allow-headless-pistons: false
    allow-permanent-block-break-exploits-readme: This setting controls if players
      should be able to break bedrock, end portals and other intended to be permanent
      blocks.
    allow-piston-duplication-readme: This setting controls if player should be able
      to use TNT duplication, but this also allows duplicating carpet, rails and potentially
      other items
    allow-headless-pistons-readme: This setting controls if players should be able
      to create headless pistons.
  console:
    enable-brigadier-highlighting: true
    enable-brigadier-completions: true
  item-validation:
    display-name: 8192
    loc-name: 8192
    lore-line: 8192
    book:
      title: 8192
      author: 8192
      page: 16384
  loggers:
    deobfuscate-stacktraces: true
messages:
  no-permission: '&cI''m sorry, but you do not have permission to perform this command.
    Please contact the server administrators if you believe that this is in error.'
  kick:
    flying-player: Flying is not enabled on this server
    flying-vehicle: Flying is not enabled on this server
    authentication-servers-down: ''
    connection-throttle: Connection throttled! Please wait before reconnecting.
world-settings:
  default:
    show-sign-click-command-failure-msgs-to-player: false
    zombies-target-turtle-eggs: true
    use-faster-eigencraft-redstone: true
    should-remove-dragon: false
    only-players-collide: false
    allow-vehicle-collisions: true
    fix-climbing-bypassing-cramming-rule: false
    keep-spawn-loaded-range: 10
    auto-save-interval: -1
    max-auto-save-chunks-per-tick: 24
    baby-zombie-movement-modifier: 0.5
    spawner-nerfed-mobs-should-jump: false
    keep-spawn-loaded: false
    falling-block-height-nerf: 0
    tnt-entity-height-nerf: 0
    nether-ceiling-void-damage-height: 0
    max-leash-distance: 10.0
    optimize-explosions: false
    disable-explosion-knockback: false
    disable-thunder: false
    disable-ice-and-snow: false
    mob-spawner-tick-rate: 1
    container-update-tick-rate: 1
    all-chunks-are-slime-chunks: false
    portal-search-radius: 128
    portal-create-radius: 16
    portal-search-vanilla-dimension-scaling: true
    disable-teleportation-suffocation-check: false
    allow-non-player-entities-on-scoreboards: false
    non-player-arrow-despawn-rate: 60
    creative-arrow-despawn-rate: -1
    skeleton-horse-thunder-spawn-chance: 0.01
    fixed-chunk-inhabited-time: -1
    grass-spread-tick-rate: 1
    use-vanilla-world-scoreboard-name-coloring: false
    prevent-tnt-from-moving-in-water: false
    remove-corrupt-tile-entities: false
    filter-nbt-data-from-spawn-eggs-and-related: true
    enable-treasure-maps: true
    treasure-maps-return-already-discovered: false
    seed-based-feature-search: true
    seed-based-feature-search-loads-chunks: true
    max-entity-collisions: 2
    parrots-are-unaffected-by-player-movement: false
    disable-creeper-lingering-effect: false
    experience-merge-max-value: -1
    iron-golems-can-spawn-in-air: false
    armor-stands-do-collision-entity-lookups: true
    armor-stands-tick: false
    water-over-lava-flow-speed: 5
    prevent-moving-into-unloaded-chunks: false
    duplicate-uuid-resolver: saferegen
    duplicate-uuid-saferegen-delete-range: 32
    count-all-mobs-for-spawning: false
    entities-target-with-follow-range: false
    zombie-villager-infection-chance: -1.0
    light-queue-size: 20
    phantoms-do-not-spawn-on-creative-players: true
    phantoms-only-attack-insomniacs: true
    delay-chunk-unloads-by: 10s
    per-player-mob-spawns: true
    ender-dragons-death-always-places-dragon-egg: false
    update-pathfinding-on-block-update: false
    fix-wither-targeting-bug: false
    allow-using-signs-inside-spawn-protection: false
    map-item-frame-cursor-limit: 128
    fix-items-merging-through-walls: false
    wandering-trader:
      spawn-minute-length: 1200
      spawn-day-length: 24000
      spawn-chance-failure-increment: 25
      spawn-chance-min: 25
      spawn-chance-max: 75
    game-mechanics:
      fix-curing-zombie-villager-discount-exploit: true
      disable-mob-spawner-spawn-egg-transformation: false
      disable-end-credits: false
      disable-chest-cat-detection: true
      disable-player-crits: false
      disable-sprint-interruption-on-attack: false
      disable-unloaded-chunk-enderpearl-exploit: true
      shield-blocking-delay: 5
      scan-for-legacy-ender-dragon: true
      disable-relative-projectile-velocity: false
      disable-pillager-patrols: false
      nerf-pigmen-from-nether-portals: false
      pillager-patrols:
        spawn-chance: 0.2
        spawn-delay:
          per-player: false
          ticks: 12000
        start:
          per-player: false
          day: 5
    door-breaking-difficulty:
      zombie:
      - HARD
      vindicator:
      - NORMAL
      - HARD
    entity-per-chunk-save-limit:
      experience_orb: -1
      snowball: -1
      ender_pearl: -1
      arrow: -1
    max-growth-height:
      cactus: 3
      reeds: 3
      bamboo:
        max: 16
        min: 11
    fishing-time-range:
      MinimumTicks: 100
      MaximumTicks: 600
    despawn-ranges:
      soft: 32
      hard: 128
    frosted-ice:
      enabled: true
      delay:
        min: 20
        max: 40
    lootables:
      auto-replenish: false
      restrict-player-reloot: true
      reset-seed-on-fill: true
      max-refills: -1
      refresh-min: 12h
      refresh-max: 2d
    mobs-can-always-pick-up-loot:
      zombies: false
      skeletons: false
    squid-spawn-height:
      maximum: 0.0
    generator-settings:
      flat-bedrock: false
    hopper:
      cooldown-when-full: true
      disable-move-event: false
    spawn-limits:
      monsters: -1
      animals: -1
      water-animals: -1
      water-ambient: -1
      ambient: -1
    viewdistances:
      no-tick-view-distance: -1
    alt-item-despawn-rate:
      enabled: false
      items:
        COBBLESTONE: 300
    anti-xray:
      enabled: false
      engine-mode: 1
      max-block-height: 64
      update-radius: 2
      lava-obscures: false
      use-permission: false
      hidden-blocks:
      - copper_ore
      - deepslate_copper_ore
      - gold_ore
      - deepslate_gold_ore
      - iron_ore
      - deepslate_iron_ore
      - coal_ore
      - deepslate_coal_ore
      - lapis_ore
      - deepslate_lapis_ore
      - mossy_cobblestone
      - obsidian
      - chest
      - diamond_ore
      - deepslate_diamond_ore
      - redstone_ore
      - deepslate_redstone_ore
      - clay
      - emerald_ore
      - deepslate_emerald_ore
      - ender_chest
      replacement-blocks:
      - stone
      - oak_planks
    unsupported-settings:
      fix-invulnerable-end-crystal-exploit: true
    mob-effects:
      undead-immune-to-certain-effects: true
      spiders-immune-to-poison-effect: true
      immune-to-wither-effect:
        wither: true
        wither-skeleton: true
true
ick-view-distance: -1
    alt-item-despawn-rate:
      enabled: false
      items:
        COBBLESTONE: 300
    anti-xray:
      enabled: false
      engine-mode: 1
      max-block-height: 64
      update-radius: 2
      lava-obscures: false
      use-permission: false
      hidden-blocks:
      - copper_ore
      - deepslate_copper_ore
      - gold_ore
      - deepslate_gold_ore
      - iron_ore
      - deepslate_iron_ore
      - coal_ore
      - deepslate_coal_ore
      - lapis_ore
      - deepslate_lapis_ore
      - mossy_cobblestone
      - obsidian
      - chest
      - diamond_ore
      - deepslate_diamond_ore
      - redstone_ore
      - deepslate_redstone_ore
      - clay
      - emerald_ore
      - deepslate_emerald_ore
      - ender_chest
      replacement-blocks:
      - stone
      - oak_planks
    unsupported-settings:
      fix-invulnerable-end-crystal-exploit: true
    tick-rates:
      sensor:
        villager:
          secondarypoisensor: 40
      behavior:
        villager:
          validatenearbypoi: -1
    feature-seeds:
      generate-random-seeds-for-all: false

You can see that after line 287 (which is the last non-empty line in the file from /config) basically everything starting from line 242 column 11 is appended to the new file (also, there's a new line 287 with the contents true). Both files use UTF-8 encoding and Unix line endings.
I also tried putting my file through a YAML linter and completely rewriting it based on its output.
This happens only if the file already existed in the destination, so if I delete the file first and then start the server, the issue doesn't occur (until the server is restarted with the file already existing).

So far I only noticed this happening with the paper.yml file for me. My LuckPerms/config.yml for example seems to be completely unaffected by this issue.

I decided to open a new issue (#1048) for this.


Authenticity

Say that photos are all really taken from the camp, we didn't cheat by taking photos from the Google Images.

#humblebrag


Mern: What is React?

Description 📜
What is React?
Fixes # <394>

Type of change 📝

[x] Documentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[x] MERN

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm a GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@manjeetdhayal

@Saurabh-crypto16 Remove the angular brackets from the issue number.

Make it like #394.
That's the way your issue tag will get mentioned.

Done


Update docs

Improved documentation for anyof and friends and added a section on using YAML or JSON to define schemas.

Thanks


Add CLI tests

https://github.com/ai/browserslist/pull/132
Will be the approach ok? If yes, I'll add others

I was late)
I have also first attempt with tests for cli.js https://github.com/zhulduz/browserslist/tree/cli-tests, but it hasn't finished yet.

@zhulduz this PR is not finished and maybe need to be rewritten, so you are not late :)

@zhulduz using spawn is nice. Could you merge all test files to single file? What do you need write more in your branch?

@ai
Ok, I'll merge)
I want to add tests for params coverage, config, env, stats

@zhulduz good, if you will finish it today, you will solve this task :)

@zhulduz sorry )) I don't know if someone start to work on it. My PR is closed


Fix website & update dependencies

I noticed that the build on develop is broken and that there's a lot of queued up dependency updates. I assume one of them got merged and broke the build somehow - as we were 3 major Gatsby versions behind. I've now upgraded the site to use React 18 and the latest Gatsby, as well as the latest version possible of every other package. I've tested that the site still builds both in development and for production and tested that all the development tools e.g. linting work as well. Hopefully when we get this merged then it will unblock content updates.

this is great @kennethnym - would you like to commit those changes, as I see @louise-davies has agreed?

thanks @louise-davies and @kennethnym !

@louise-davies It seems like the build is failing because window is not available when the Dropdown constructor is called - maybe moving it to componentDidMount will help?

@kennethnym I noticed this, the problem is I need it to be accessible in componentWillUnmount as well so I can detach the event listener. I'm just going to covert it to a function component as then I can do it in one whole useEffect 😅. I'll create another PR for this in a sec.


Move period inside quotation marks in managing-your-theme-settings.md

Why:
Move period inside quotation marks in managing-your-theme-settings.md
Closes:  #33137

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline (this link will be available after opening the PR).

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

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

@Saurabh-Daware Thanks so much for opening a PR with this fix! I'll update the branch and get this merged once tests are passing 🍏


Add remark-math plugin to MarkdownEditor

As a Deephaven user, I want support for math syntax in markdown panels so that I can write math equations.
For example, writing the following in a markdown panel:
$$ x = {-b \pm \sqrt{b^2-4ac} \over 2a}$$

$(a+b)^2$

$$\eqalign{
(a+b)^2 &= (a+b)(a+b) \\
&= a^2 + ab + ba + b^2 \\
&= a^2 + 2ab + b^2
}$$

Should produce a mathematical output:
$$ x = {-b \pm \sqrt{b^2-4ac} \over 2a}$$
$(a+b)^2$
$$\eqalign{
(a+b)^2 &= (a+b)(a+b) \
&= a^2 + ab + ba + b^2 \
&= a^2 + 2ab + b^2
}$$

We need to add the remark-math plugin. Details are at https://github.com/remarkjs/react-markdown#use-remark-and-rehype-plugins-math
Should add this to both MarkdownNotebook and MarkdownEditor (they should be using the same plugins).

Katex does not support the eqalign environment https://katex.org/docs/support_table.html#e
GitHub uses Mathjax https://github.blog/2022-05-19-math-support-in-markdown/


Add international color.

Check this: https://app.zeplin.io/project/5ab0b580c57ea1eb8e7fa8ca/screen/5ab0bb645727d6b4558e5db8

@vladnicula Trong has just added new international color into zeplin. Thanks.


How to receive a RAW signal ?

the topic does not work "rf434/recv/RAW/"

There is no MQTT topic where any receive RAW signal is published. This is because every noise (and there can be a lot of noise) will can be interpreted as RAW signal. For debugging you can set a flag to log raw signals.


Appdynamics Document changes.

Removed Optional from mandatory fields in  User Provided Services.

Pranjal, with the changes in https://github.com/cloudfoundry/ibm-websphere-liberty-buildpack/commit/d60e110a756eed6b0388b7a16d8866812ffcf07d the only required field is the host-name. The service name required was also relaxed to recognize the two names. So, the current documentation is up-to-date.

@jgawor for application to be monitored on Appdynamics Controller. The required fields are hostname, port, access_key, application_name, account_name, tier_name. I can raise another PR making all these as required in appdynamics_agent.rb file.


update 25 block confirmation to 140

fix for #774

Just curious why did we make this 140?

it was always 140, for newly min(t)ed coins

Right, but why 140 instead of a lower number?

140 because fruit.

frugivores

Wouldn't frugivores be satisfied by (acceptBlockPerAlgo+1)^2 or something? i.e. 36 fruits instead of 140 fruits?

well the longer newly minted coins take to be mature, the better. it's always been 140, which isn't really long anyway.. an hour and change..


DataFrame.to_msgpack unexpectedly defaults to latin-1 encoding

I am using Python 3.
I tried saving a DataFrame with Unicode labels using the .to_msgpack method. I didn't specify an encoding, because I assumed it would use UTF-8, which is the default encoding for Python in my locale (en_US.UTF-8) as well as just a sensible encoding to use in general.
Instead, it tried to encode labels in Latin-1, which failed. Latin-1 seems like a strangely antiquated default to use in modern code.
I can work around it by passing the encoding='utf-8' option, but it would be helpful if UTF-8 were the default, as it is in other Python I/O.
 I am guess from the prior version of code (before your upgrade)

I didn't know why either.  the new spec says utf-8 for strings (but I think everyone is keeping the encoding/decoding option for compatibility.

hmm, also I we should have encoding as a top-level option for .to_msgpack and .read_msgpack
its passed thru now, but should be part of the doc-string at least.

@kawochen can you do a PR for this?


Allow users without history access to authenticate

Closes #40
The permission check we are doing was really only because the history command NACKs with a "non specific error" if you don't have permission, so we can just move the permission check to _load_history to handle that scenario.
This fixes an issue where you can't actually authenticate with a panel right now if it is armed, as a panel that is armed revokes permissions for reading history.
This means that now the integration is usable even if you don't have master code authority over a panel, it just stops history from working in that scenario.

I'm just not sure how I feel about doing an extra command every time we poll history but I guess for most panels with subscriptions that doesn't matter

Is there a neater way to deal with the exception, being that we don't have a specific exception type for the nacks or anything like that?

I guess the only problem with doing it like this is that we would flood logs on panels that don't support subscriptions.


Use Netty ProxyHandler to initialize a proxying process in HTTP2 proxy

Hi, I'm trying to build a man-in-the-middle http2 proxy with Netty. Previously for http1 traffic, we simply use proxyHandler and initialize a http CONNECT request to the proxy and proxy do those tls handshake and stuff, perfect. For http2 traffic, I used the same ProxyHandler and then follow up with TLS handshake and ALPN negotiation, no problems.
However, recently I found this from Norman: https://stackoverflow.com/questions/50437228/netty-proxyhandler-for-http-2, and I'm confused. It is different from what I tested. So I wonder if I do it wrong and if so what the best practice will be? Thanks.

@xianggaolinkedin I guess I was just wrong then 😆

@Lukasa any comments here ?

HTTP/2 uses CONNECT to allow proxying. CONNECT requests are made on a single stream, and they establish an opaque tunnel within that stream. The client is free to send other requests on the same HTTP/2 connection on other streams, including to the same proxy server.

@Lukasa thanks for the input! I still kind of disagree to this "tunnel per stream" approach, cuz h2 stream can not be reused and will be destroyed after response is received by client, which means the CONNECT tunnel will be destroyed. In http1, at least CONNECT proxying is not bound by this pattern, sometimes you want to reuse it.      What I do is use CONNECT to establish the opaque tunnel for whole connection, not for a specific stream.  you can still either proxy on L4 level or L7 level.

This is exactly the same in HTTP/2: you use CONNECT to create an opaque binary tunnel, and then do whatever you want within that space.
Conceptually this looks like this:
-> HEADERS(streamID = 1, END_HEADERS)
    - :method: CONNECT
    - :authority: example.com:80

<- HEADERS(streamID = 1, END_HEADERS)
    - :status: 200

-> DATA(streamID = 1)
    - "GET / HTTP/1.1\r\nHost: example.com\r\n\r\n"

<- DATA(streamID = 1)
    - "HTTP/1.1 200 OK\r\nContent-Length: 13\r\nhello, world!"

-> DATA(streamID = 1)
    - "GET /other HTTP/1.1\r\nHost: example.com\r\n\r\n"

<- DATA(streamID = 1)
    - "HTTP/1.1 404 Not Found\r\n\Content-Length: 0\r\n\r\n"

-> DATA(streamID = 1, END_STREAM)

<- DATA(streamID = 1, END_STREAM)

In essence, you have a TCP-equivalent within a single stream. This proxies on L4, exactly the same as CONNECT in HTTP/1.1, except that you can also use other streams to the proxy server.

@Lukasa I found this description in RFC which is exactly what you stated: https://httpwg.org/specs/rfc7540.html#CONNECT.  I missed this part before, will think more about it. Thanks so much!


regex_remap fix $i substitution

Can one of the admins verify this patch? Only approve PRs which have been reviewed.

Can one of the admins verify this patch? Only approve PRs which have been reviewed.

[ci approve]

Is there a Jira associated with this PR? Without a Jira, we can not commit this.

I don't have a button to create issue. Yesterday it was, but I couldn't to select Traffic Server as a Project.

Can one of the admins verify this patch? Only approve PRs which have been reviewed.

Can one of the admins verify this patch? Only approve PRs which have been reviewed.

Can one of the admins verify this patch? Only approve PRs which have been reviewed.

Can one of the admins verify this patch? Only approve PRs which have been reviewed.

I'm not sure I understand the full intent of this patch. It looks like it's always adding the Client-IP header, even if not enabled in records.config? Why is this necessary?
I understand that the $i here uses the value from the Client-IP, which again doesn't make a lot of sense. Why not just move out the logic that gets the client-ip (TSHttpTxnClientAddrGet), and use that in the RemapRegex::substitute()? I.e. why does it use the Client-IP header here at all?
Alternatively, maybe one of

Honor the request Client-IP in RemapRegex::substitute() if set.

Or add another directive,%I, which uses the Client-IP

But, in either case, I don't feel that the regex_remap plugin should set the Client-IP request header as done here.

I didn't find a better way to pass the client-ip (TSHttpTxnClientAddrGet) to RemapRegex::substitute routine without changing of number of routine parameters so I used a workaround with headers.

I'll open new pull request for this

It's ok either way, but you don't have to close a PR if you plan on making a new, different change. Just force push the new changes up to the same PR if you like.

Github closed this PR because I renamed a brunch in my repo

Gotcha. Yeah, I saw #643 so we'll work there :).


ENC1003 C# Changes made in project will not be applied while the application is running

Every time I create a brand new ASP.NET Core 3.0 MVC application project, even if I make no changes, when I his F5 and debug the project I get this error for every C# file:

This seems like a bug because it's a pointless warning cluttering up the warnings window.  There appears to be no way to get rid of it (because it appears at runtime, I can't even suppress it using the "Suppress warnings" box in the project properties).

@tmat \ @jaredpar would you know what could be causing this? I can see this when trying to run any ASP.NET Core Web Application using 3.0-preview8 + VS 16.3 Preview 2. More interestingly, this message pops up any time I edit a vanilla console application:

Is this expected?

@jasonmalinowski for IDE routing.

@jez9999 The warning is saying that you've made edits while the program is running, but until the program is paused and resumed that edit won't be applied. It used to be that edits were entirely blocked if the program was running; this was weakened to allow the edits but they just can't be applied until the program pauses. The warning would go away once you've stopped debugging. Is that what you're seeing?

No - I get the warnings immediately upon hitting F5, with no edits being made.

OK, got it. @pranavkm's video isn't showing what you're seeing then.

@jasonmalinowski yup. I was pointing out yet another scenario where it shows up. But as @jez9999 points out, for ASP.NET Core Web applications, the warning pops up as soon as you start debugging.

@pranavkm: no idea. @tmat will be able to assist further.

@tmat is there any thing you need to diagnose this further?

I'm getting similar issues with my asp.net core 3.0 preview 9 application on visual studio 2019 preview 3
When I ran it as IISExpress I had the issue, so I decided to delete my .vs folder, bin and obj directories. This seemed to fix the issue, it still shows up the very first time, but after that I am able to debug.
When I try to debug using the kestrel, I get the stubborn error and the above solution doesn't fix this issue.
The following shows upon pressing F5

Issue seems to be similar to these:
https://developercommunity.visualstudio.com/content/problem/478768/wrongly-getting-message-edits-were-made-to-the-cod.html
https://developercommunity.visualstudio.com/content/problem/439396/aspnet-core-mvc-edits-were-made-to-the-code-which.html

This is resolved in 16.4 release of Visual Studio. See https://github.com/dotnet/roslyn/pull/38501.

I have the same problem like @jez9999 . Did someone manage how this can be solved?

@karimh93 - It doesn't fix the fundamental bug which is that the warning is generated in the first place, but you can create a GlobalSuppressions.cs file at the project root, and add the line:
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage(null, "ENC1003")]
This will suppress the error and let you debug.

If you are like me and you've got here from updating to .Net Core 3.0 and are wondering why you now can't recompile your razor pages on the fly, the solution is that it is now a Nuget package and is explained here:
https://stackoverflow.com/questions/54600273/net-core-3-0-preview-2-razor-views-dont-automatically-recompile-on-change

I only recently (the last several days) started receving these warning messages after never having received them previously. I have just realised that in the Error List pane, if I change the setting "Build + Intellisense" to just "Build" then I no longer receive these messages, neither in the Error List pane, nor associated with items in Solution Explorer. I must have inadvertently changed that setting without realising. Of course, it means that I no longer receive any other Intellisense-related error notifications but for most of the time I'm not needing to see them. Not sure if that helps others. I think that perhaps this may actually be working as originally designed, though others may think differently. Hope this helps.

@LConrade These warnings are new in 16.3. They are supposed to be displayed only in files that support Edit and Continue. Displaying them in other files was not intentional and has been fixed in 16.4.

@tmat Terrific. Thanks for the clarification.


Implementing custom transformations?

I really like the design of JAX, that at its core is a program transformation system.
So I was wondering how easy would it be to implement some of my custom program transformations.
For example, I wanted to implement the following transformation:
def f(x):
  return x + np.exp(x)

def expected_transformed_f(x, x_prime):
  return x + np.exp(x_prime) + np.exp(x_prime) * (x - x_prime)

x, x_prime  = ... random ...
assert custom_transform(f)(x, x_prime) == expected_transformed_f(x, x_prime)

In particular, what the transformation is doing is that it identifies the subexpression np.exp(x), and rewrite it with its first order Taylor expansion around x_prime. Then it adds the x_prime as a new formal parameter to the transformed function.

I thought the transformation should be achievable with Jax; if so, what would be a good place for me to look at for a starter?

I have already peeked into Jax's core a little bit, and was wondering what's the relationship between linear_util.transform and Trace/Tracer? My understanding is that the former is just a utility wrapper, while the later is doing the actual lifting of the program transformation (while doing an abstract interpretation).

Is there some documentation of Trace/Tracer? In particular, I got confused of what pure, lift etc does...

This seems like it would do better as a Github discussion (https://github.com/google/jax/discussions), rather than an issue. There's no action for us to take here. Closing; feel free to reopen in the discussions section.
To answer your concrete question, have you seen:
https://jax.readthedocs.io/en/latest/notebooks/Writing_custom_interpreters_in_Jax.html
and
https://jax.readthedocs.io/en/latest/notebooks/How_JAX_primitives_work.html
?


Fix #18217. add module-info.java to azure-security-keyvault-jca

Fix #18217. add module-info.java to azure-security-keyvault-jca

Hi, @saragluna :
Please help to review this PR. 🙏

Created a new PR: https://github.com/Azure/azure-sdk-for-java/pull/21426
Closing this PR.


patch minor tweaks

use AttributeDefinitions instead of hard-coded string
protect 3 multiclass methods with global setting
don't display translation warnings on release build


Dup detection to find mobile.twitter.com

Currently SN's dup detection doesn't prevent duplicates when one Link Post is using the link for "mobile" and the other Link Post does not.
Twitter users sharing a link for a Tweet from a mobile will generally have a link with the "mobile" subdomain:
https://mobile.twitter.com/handle/status/1234567890123456789
Whereas from the browser without mobile, the link for the Tweet will be without that subdomain:
https://twitter.com/handle/status/1234567890123456789
Today's example of that occurring on SN are with Link Post item 87683 which was later posted again (i.e., a duplicate) with Link Post item 87718.
This request is to make it so that when creating a Link Post, SN will detect a duplicate regardless of whether or not the mobile subdomain exists in the Link for the earlier Post or in the Link for the Post being attempted.  Or, I think ... preferably, SN simply strips off the mobile subdomain before saving the Link Post, so that any Tweets shared as Link Posts on SN (going forward) would never have the mobile prefix.   Doing this would also fix another (unreported) issue in that Twitter embed does not occur when the Link for the Tweet has the mobile subdomain.
But if not, ... then even just simply looking for both (with, and without, the mobile subdomain) when doing the dup detection would be a suitable solution.

I think this is similar to #169 and thus would be fixed by #215

Yep fixed for all subdomains locally.


Server/Deployer refactor

Should go together with https://github.com/spring-cloud/spring-cloud-dataflow-server-yarn/pull/117

Use shdp snapshots
Better logging config
Refactor deployer to be independed from a server
as much as possible.
New deployer auto-config
Add jvm opts for stream appmaster
Preliminary support for launching new tasks from
existing streams or tasks.
Fixes #14
Fixes #15
Fixes #16
Fixes #17
Fixes #18

Merged via commit 5440be5971d50db0d6e80d2b87015ae78885dd27


Does not load on Safari

The problem is caused by a combination of my uBlock config and the missing support of Safari for default values in JS functions.

I deactivated ublock, didn't worked too

And Ghostery :D

Missing ES6 specifications in Safari are fixed in the demo version since.. now. Seems like Safari + [blocker of your choice) has a problem with fetching the "https://geoip.nekudo.com/api" script.

Is this issue still relevant, @h4llow3En?

No, this was fixed


Allow easy enumeration of child elements.

I thought that .all would allow for easy enumeration of child elements (such as when the XML is dynamic), but it doesn't appear to work.
The API I have in mind is something like:
func enumerate(xml: XMLIndexer) {
    for elem in xml.all {
        enumerate(elem)
    }
}

enumerate(xml)

I'd like to be able to use this library to display an XML document in a tableView control. Indicate whether there are children and then drill down into those using a nested tableview when selecting a row

@AllenConquest I just pushed some changes to add a new property called children which lists all child elements from the current element. I've updated the docs to denote this as well.
Take a look and see what you think. It doesn't do anything to automatically plug into a table view control, but you should be able to take this to then populate a table view control.
Let me know if you have any questions.


Changs chinese food vending machine

About the PR
Ported from paradise so no hate on the name.
As well as the vending machine I've also:

Created two new chinese food box snacks.
Made soy sauce drain your thirst since high salt content.
Added fortune cookies as a snack complete with a single fortune ticket.
Added all of the above plus the two ramen boxes to the vendor.

Screenshots

Changelog

:cl:

add: Added a new vending machine for snacks. Mr Changs! Enjoy the fortune cookies.

Conflicts and reviews addressed.


integration with cliphist

https://github.com/sentriz/cliphist#faq
Hi, If this possible to do the same with tofi?
I mean do not display numbers.
Sorry, english is not my native language

I assume you mean hiding the first column? So the same as fzf --with-nth or rofi -display-columns 2?
Currently that's not possible with tofi - there was a little bit of discussion on this in #52, but basically I don't want to add text processing stuff.
I didn't think of it before, but it might be nice to instead have a --print-index option or similar (and it should be simple to implement). Then you could do something like
#!/bin/sh

list=$(cliphist list | cut -f2-)
index=$(printf "%s" "$list" | tofi --print-index)
if [ -n "$index" ]; then
	printf "%s" "$list" | awk "NR==$index {print; quit}" | wl-copy
fi

it would be really cool to see something like this

Good timing, I've just pushed it in 6060daaee163918f97af4db09bba9a7f9272d6c1. The script from above needs a little bit of tweaking as cliphist doesn't work quite how I thought it did, but the following seems to work fine:
#!/bin/sh

list=$(cliphist list)  # Original list for reuse in lookup
trimmed=$(printf "%s" "$list" | cut -f2-)  # List without leading numbers
index=$(printf "%s" "$trimmed" | ~/Documents/coding/tofi/release/tofi --print-index=true)
if [ -n "$index" ]; then
	# Use index to find correct line in original list
	printf "%s" "$list" | awk "NR==$index {print; quit}" | cliphist decode | wl-copy
fi

it works like a charm! thanks!

@philj56 it returns the wrong index if you use the search

@vrumger Whoops, you're right! Sorry it took so long, fixed in 548de1f8c63d4a088400e724a37d483656a2c645.

Hmmm, seems like it is not compatible with the latest ver. of tofi.
awk: cmd. line:2: NR==# Autosleep {print; quit}
awk: cmd. line:2:     ^ syntax error
error in "decode": decoding: extracting id: input not prefixed with id⏎

Sorry for pumping old issue

Good timing, I've just pushed it in 6060daa. The script from above needs a little bit of tweaking as cliphist doesn't work quite how I thought it did, but the following seems to work fine:
#!/bin/sh

list=$(cliphist list)  # Original list for reuse in lookup
trimmed=$(printf "%s" "$list" | cut -f2-)  # List without leading numbers
index=$(printf "%s" "$trimmed" | tofi --print-index=true)
if [ -n "$index" ]; then
	# Use index to find correct line in original list
	printf "%s" "$list" | awk "NR==$index {print; quit}" | cliphist decode | wl-copy
fi

Sorry for pumping this old issue!
This looks like it is working but it gives error:
awk: cmd. line:2: NR==# Autosleep {print; quit} awk: cmd. line:2:     ^ syntax error error in "decode": decoding: extracting id: input not prefixed with id


Flink Delta Source PR_7 - Package Refactoring

Monitoring for Table changes in Continuous mode.
PR Plan:
PR 5 - Option support in Bounded Mode
PR 6 - Continuous mode without changes monitoring
PR 6.1 - Package Refactoring
PR 7 - Monitoring changes in Continuous mode
PR 8 - Partition Support
PR 9 - Builder

Wrong source/target


fix(example): fix README on examples/car-trade

related with Issue #590
Signed-off-by: Takuma TAKEUCHI<EMAIL_ADDRESS>

Thank you for your comment.
As for Node 12, I think "NodeJS v 12" is enough, but I added the subversion of Node.js that I tested as recommended version just in case.
I have tested this code on both Ubuntu 18.04 and CentOS and both work fine. Therefore, I think there is no need to modify the OS notation.
I think there is no problem here. Can you give me a comment if you have anything?

FYI: re-triggered the CI just now, looked like a fluke.


pass 'this nuxt' context in extend webpack config

// nuxt.config
build: {
    extend (config, {dev, isClient}) {
      // get this context here
      config.resolve.alias['~services'] = join(this.srcDir, 'services');
    },
}

Codecov Report

Merging #488 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #488   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          11     11
  Lines         450    450
=====================================
  Hits          450    450

Impacted Files
Coverage Δ

lib/webpack/client.config.js
100% <100%> (ø)
:arrow_up:

lib/server.js

lib/nuxt.js

index.js

lib/utils.js

examples/auth-routes/store/index.js
100% <0%> (ø)

lib/app/utils.js
100% <0%> (ø)

examples/with-feathers/src/middleware/nuxt.js
100% <0%> (ø)

examples/auth-routes/server.js
100% <0%> (ø)

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 d576dad...e7bcdc7. Read the comment docs.

Pretty smart, thanks @any35


client_secret in code

Hi Ari,
i am new to the oAuth topic and it's nice that you created that lib. one thing i was wondering about is that i have to put the client_secret in the code that runs on the device.
in a lot of articles and videos on the authorization code grant flow, they said that the client_secret should stay on the server.
do i miss something?
best
tizian

then just put it on the server and config OAuth on demand getting the secret before manager.authorize('stuff').

Alternatively, you can bundle it in compiled code. For iOS, you can do this in a file called OAuthManager.plist with the same contents as the JS code (reference: https://github.com/fullstackreact/react-native-oauth/blob/master/ios/OAuthManager/OAuthManager.m#L92)
I haven't implemented this same behavior (yet) for Android.


Multiline TextField does't render trailing spaces on prev lines: Affinity bug.

Empty spaces are not showing when I attempt to add them to a previous line in a multi-line text field. If I enter 5 spaces, for example, nothing happens. But when I then enter a character, the cursor will jump the 5 spaces and then insert the character.
Here's a video showing what happens:

I can reproduce this with Material TextField and CupertinoTextField.
Possibly(?) related issues:
#26658
#39293
Flutter doctor logs
[✓] Flutter (Channel beta, v1.9.1+hotfix.2, on Mac OS X 10.14.6 18G87, locale en-CA)
    • Flutter version 1.9.1+hotfix.2 at /Users/jeffreybunn/flutter
    • Framework revision 2d2a1ffec9 (3 days ago), 2019-09-06 18:39:49 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/jeffreybunn/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/jeffreybunn/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.3, Build version 10G8
    • CocoaPods version 1.7.5

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 35.2.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[✓] VS Code (version 1.38.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.4.1

[!] Connected device
    ! No devices available

@BondarenkoStas @HansMuller
I'd like to reiterate the severity of this issue for my application (and I assume many others). Text editing feels extremely janky when spaces don't appear until a character is typed, at which point all of the spaces appear (shown in the gif above).
In applications where users edit large text blocks, or where they need to type within a template of text, this is particularly bad.
Can you provide a timeline as to when this will be fixed? Or escalate it in some way?
Thanks very much.
[✓] Flutter (Channel beta, v1.9.1+hotfix.4, on Mac OS X 10.14.6 18G95, locale en-CA)
    • Flutter version 1.9.1+hotfix.4 at /Users/jeffreybunn/flutter
    • Framework revision cc949a8e8b (10 days ago), 2019-09-27 15:04:59 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/jeffreybunn/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/jeffreybunn/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.0, Build version 11A420a
    • CocoaPods version 1.7.5

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 35.2.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[✓] VS Code (version 1.38.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.4.1

[!] Connected device
    ! No devices available

CC @justinmc @GaryQian - are we intentionally buffering trailing space (that would fit on the line with a line break) for start-justified text?

We intentionally buffer the spaces but only at the very end of the line on the far right edge, like native Android.  I'm guessing that this is a bug related to when I implemented that in https://github.com/flutter/flutter/pull/30525.  I'm taking a closer look now.

This isn't going to be as easy as I thought, since that linked PR is related but not the cause.  It looks to me like _paragraph.getBoxesForRange returns the wrong value for the position between a space and a newline character.
Considering the cursor represented by "|" in a TextField like this:
abc          |
def

When getBoxesForRange is asked for the right edge of the space to the left of the cursor, it gives the correct position, but when asked for the left edge of the newline character, it incorrectly gives a position just after "c".
Where the call happens in the framework: https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/painting/text_painter.dart#L679
Where the call is handled in the engine: https://github.com/flutter/engine/blob/master/third_party/txt/src/txt/paragraph_txt.cc#L1606
@GaryQian did anything change recently in GetRectsForRange in libtxt off the top of your head that might cause this?

@justinmc @GaryQian
Any updates on this? My application is heavy on text editing and this bug continues to make it feel extremely janky and almost unusable. If this could be prioritized in any way that would be greatly appreciated. Thanks.

It could be that we are only tracking "ghost" runs consisting of only whitespace for final lines in a paragraph. Let me look at the source to verify and see if that is the case.

Ok, so we are tracking the trailing whitespace, but it seems like there may be a bug where we are just not retrieving/indexing into the metrics properly when the trailing whitespace is not the final line.

Update on this,
I have narrowed this down to text affinity (upstrea/downstream) problems when dealing with line breaks. This manifests itself differently in left vs center/right/justified alignments due to the existence of the ghost runs.

It seems that the TextEditState in the Android embedder does not actually support affinity yet. This is causing it to always default to the downstream affinity, which is invalid for end-of-line TextPositions.
(for my reference shell/platform/android/io/flutter/embedding/systemchannels/TextInputChannel.java)

https://github.com/flutter/flutter/pull/44622 is a PR that should fix this.

@GaryQian Excellent! Thanks so much for your work on this.

Update: Getting this working for iOS.

@GaryQian I see that PR #44622 was reverted last week. Can you give me an update on the status of this issue and when it will be fixed? Thanks.

Yeah, it was reverted as it caused a bug where the caret would flicker between positions. I will be reworking the fix shortly to see if I can avoid this new bug.

I'm surprised that not a lot of people came across this issue. Text editing in a long format feels completely broken.
But I'm glad this issue got picked up. Thanks @GaryQian. I'll be looking forward to the next update.

@GaryQian Have you been able to start on the new fix for this issue? Please let me know if there's anything I can do to help / speed it along. Thanks.

My approach for the old solution does not seem to be a good general purpose solution.
I'll have to come up with a new way to tackle this, possibly breaking this up into android/iOS versions as the platforms handle affinity differently (if at all). It is in my queue of issues to address. Sorry for the delay!

This bug was fixed with v1.12.13+hotfix.5. But the bug started again with v1.12.13+hotfix.7.

This bug was fixed with v1.12.13+hotfix.5. But the bug started again with v1.12.13+hotfix.7.

The bug still continues with v1.12.13+hotfix.8

Any new updates?

Any updates? Can we help out more than with the examples and sample repos that we have provided? Any workaround? This is a major show stopper for our app unfortunately.

Any updates? Can we help out more than with the examples and sample repos that we have provided? Any workaround? This is a major show stopper for our app unfortunately.

If the situation is very important to you, downgrade to version v1.12.13+hotfix.5. I use it this way.

Is there any known workaround for this issue? For example, by creating my own variant of TextField and modifying it?

@craigomac There is no known workaround for this issue, as there is a bug in the text painting.

Hi @Jethro87,
I tested this issue on latest dev channel and couldn't replicate it. The spaces are rendered properly for previous lines, as expected.
I used Android 8.1 device and iOS simulator (13.5).
40095.mp4.zip

code sample
body: Center(
      child: Container(
        margin: EdgeInsets.all(8.0),
        padding: EdgeInsets.only(bottom: 40.0),
        child: TextField(
          maxLines: 99,
          decoration: InputDecoration(
            hintText: "Comment!",
            border: OutlineInputBorder(),
          ),
        ),
      ),

flutter doctor -v
[✓] Flutter (Channel dev, 1.20.0-0.0.pre, on Mac OS X 10.15.2 19C57, locale en-US)
    • Flutter version 1.20.0-0.0.pre at /Users/deeptibelsare/Documents/Fluttersdk/flutter
    • Framework revision d9653445f4 (8 days ago), 2020-06-09 18:43:03 -0400
    • Engine revision e8c13aa012
    • Dart version 2.9.0 (build 2.9.0-14.0.dev 5c1376615e)

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/deeptibelsare/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/deeptibelsare/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/deeptibelsare/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    ✗ Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3, Build version 11C29
    • CocoaPods version 1.9.3

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)

! Doctor found issues in 1 category.

Can you please confirm if you still experience this issue on latest Flutter version (eg: dev, master) ?

@darshankawar Thanks for looking at this issue!
I generally work in stable, and before upgrading to dev I double checked the issue. It's still occurring on my iPhone 7.
After upgrading to dev channel, however, the issue is gone 👍 Really happy about this. Thanks again for digging in.
For reference, here's my flutter doctor on stable, where the issue is still occurring:
[✓] Flutter (Channel stable, v1.17.5, on Mac OS X 10.15.5 19F101, locale en-CA)
    • Flutter version 1.17.5 at /Users/jeffreybunn/flutter
    • Framework revision 8af6b2f038 (12 days ago), 2020-06-30 12:53:55 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/jeffreybunn/Library/Android/sdk
    • Platform android-29, build-tools 28.0.3
    • ANDROID_HOME = /Users/jeffreybunn/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.8.4

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.47.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.2

[✓] Connected device (1 available)
    • Jeff’s iPhone • 5d74ad2c2d551bab66cb5ed48c075deb99ed77bc • ios • iOS 13.5.1

• No issues found!

Hi @Jethro87,  thanks for confirming that it's working for you.
I'd suggest to use beta or dev channel or wait until the fix reaches stable. If you can't use these channels, I would also suggest to find the PR that has fixed the issue and cherry-pick the commit into your local stable branch.
I am going ahead and closing this issue since it seems to be fixed, so there is no need to track the issue.
If you disagree, please write in the comment and I'll reopen.
Thanks.

@darshankawar I can reproduce this on 1.22.4 when textAlign is set to TextAlign.right


[WIP] CON-4690 - Add php-cs-fixer

Coverage remained the same at 34.254% when pulling cc9fa1593f76f0316b96ae89dffa8a80d7b9b69a on CON-4690 into 3fe71acaeee8fcd4214935a9547b74b40c4ce639 on master.

Coverage remained the same at 34.254% when pulling cc9fa1593f76f0316b96ae89dffa8a80d7b9b69a on CON-4690 into 3fe71acaeee8fcd4214935a9547b74b40c4ce639 on master.

Coverage decreased (-0.01%) to 34.243% when pulling cc9fa1593f76f0316b96ae89dffa8a80d7b9b69a on CON-4690 into 3fe71acaeee8fcd4214935a9547b74b40c4ce639 on master.

Coverage increased (+2.1%) to 34.269% when pulling 5092eb2aa23a38ae24e3330871590c26d41f594f on CON-4690 into 3fe71acaeee8fcd4214935a9547b74b40c4ce639 on next.

Coverage increased (+2.1%) to 34.269% when pulling 5092eb2aa23a38ae24e3330871590c26d41f594f on CON-4690 into 3fe71acaeee8fcd4214935a9547b74b40c4ce639 on next.

Coverage increased (+0.01%) to 34.269% when pulling 852554578b1b24fe41196ff4dd8d114358e2ece3 on CON-4690 into 3fe71acaeee8fcd4214935a9547b74b40c4ce639 on next.

Coverage decreased (-2.09%) to 32.164% when pulling 124d5aab4ffb0d0fbf439c690dbb35a49dc0bc41 on CON-4690 into 3fe71acaeee8fcd4214935a9547b74b40c4ce639 on next.

Coverage increased (+0.01%) to 34.269% when pulling 4c002488e1762769054411c81e08575ba8bb0c47 on CON-4690 into 3fe71acaeee8fcd4214935a9547b74b40c4ce639 on next.


add divider capability to ion-list

as per #348 it would be good if this design bug could be sorted or at least a minor change made to ion-list handling of 'item-complex' class to accomodate dividers. please don't simply close this as the original solution doesn't work as per the codepen example shown in issue #348

I think this might be a solution http://codepen.io/anon/pen/wMdMqv but would appreciate someone confirming that there is no better approach, and perhaps consider updating the Ionic docs to outline how you'd add dividers when using ion-list

Hello, thanks for using Ionic! Because we are not planning on adding any new features to Ionic 1 I am going to close this issue for now. Thanks again!


<IP_ADDRESS>.4.0

This PR updates the partner version to <IP_ADDRESS>.4.0 for release.
DO NOT MERGE

Released: https://github.com/ChartBoost/chartboost-mediation-android-adapter-pangle/releases/tag/v<IP_ADDRESS>.4.0


changes to merge PA-RTF

Implementation and extension of Issue: #585
Code changes w.r.t. merging PA with Open Telemetry
Changes:

Framework changes to leverage otel functionality in PA.
Added RTF collectors which now publish same metrics in opentelemetry format as well.
Added support to control RTF Collectors and existing RCA collectors dynamically at runtime at cluster level through API calls.

Dependent Changes:
Commons-repo -> https://github.com/opensearch-project/performance-analyzer-commons/pull/74
/*

 0 -> Only RCA collectors enabled - CollectorMode: RCA
1 -> Only Telemetry collectors enabled -  CollectorMode: OTEL
2 -> Both RCA and Telemetry Collectors Enabled - CollectorMode: DUAL

*/

curl localhost:9200/_opendistro/_performanceanalyzer/cluster/config -H 'Content-Type: application/json' -d '{"collectorsSetting": 0}'

Is your feature request related to a problem? Please provide an existing Issue # , or describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you are proposing
Describe alternatives you've considered
Additional context
Check List

[x] Backport Labels added.
[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

https://pastecode.io/s/9bksb3ak
Heap metrics

Hi @atharvasharma61! This looks like an interesting change, do we have any rfc/doc to provide more context?

Overall looks good, please address the open comments and build failures.

I am hoping there are changes in performance-analyzer-commons package also in class ScheduledMetricCollectorsExecutor. Please attache that PR also here.

One more thing to call-out: We need to enable delta temporality in Opensearch Otel. @Gaganjuneja

Please take a look at build failures.

Please take a look at build failures.

Dependent on PRs: https://github.com/opensearch-project/performance-analyzer/pull/657 and https://github.com/opensearch-project/performance-analyzer-commons/pull/74


Build scripts incompatible with Java 9

The packaged Android.mk is incompatible with Pie builds since the prebuilt JDK packaged with the ASOP is now version 9, which the included gradle scripts do not support. This leads to a build failure, with result
[  0% 132/92470] build packages/apps/GmsCore/play-services-co...d/outputs/apk/release/play-services-core-release-unsigned.apk
FAILED: packages/apps/GmsCore/play-services-core/build/outputs/apk/release/play-services-core-release-unsigned.apk
/bin/bash -c "(rm -Rf packages/apps/GmsCore/play-services-core/build ) && (mkdir -p /home/pants/dev/lineage-microg-docker-volumes/src/LINEAGE_16_0/out/target/common/obj/APPS/GmsCore_intermediates ) && (ln -s /home/pants/dev/lineage-microg-docker-volumes/src/LINEAGE_16_0/out/target/common/obj/APPS/GmsCore_intermediates packages/apps/GmsCore/play-services-core/build ) && (echo \"sdk.dir=/opt/android-sdk\" > packages/apps/GmsCore/local.properties ) && (cd packages/apps/GmsCore && git submodule update --recursive --init ) && (cd packages/apps/GmsCore/play-services-core && JAVA_TOOL_OPTIONS=\" -Dfile.encoding=UTF8\" ../gradlew assembleRelease )"
Picked up JAVA_TOOL_OPTIONS:  -Dfile.encoding=UTF8

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':microg-ui-tools'.
> java.lang.NullPointerException (no error message)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s

It would be nice if the build system were updated.

In the meantime, as a temporary fix, it is possible to enforce building with Java 8 via the use of EXPERIMENTAL_USE_OPENJDK9 environment variable since both jdk8 and jdk9 are available as prebuilts in the Pie build system. Additionally, one can also set OVERRIDE_ANDROID_JAVA_HOME for some other setups.
Unfortunately, switching to jdk8 was not as straightforward as I had hoped it would be because of the following error:

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

Regardless of the fact that I have enough system memory, this error would occur whenever jdk8 attempted to compile the Dialer app/module. The reason for this issue eludes me completely, but it can be mitigated by increasing the JavacHeapSize in build/soong/java/config/config.go and adding ${JavacHeapFlags} to CommonJdkFlags static variable.
I have yet to test the compiled system image though.

I tried to do a build for Pie with my AOSP, however failed so far to do so. As for reference and if someone else is trying this: Following errors I encountered:

ANDROID_BUILD_TOP in Android.mk is deprecated and needs to be adapted
NullPointerException as above seems to be a Gradle Version Issue (see here). The workaround works, as seems the upgrade of gradle

Right now I run into proguard errors, however have not found any solution to this.

Sorry for taking a time to come back, was busy with some other stuff. I just finished compiling it with AOSP Pie (Still need to test the ROM though). Following things I encountered:
ANDROID_BUILD_TOP in Android.mk is deprecated, hence I adapted the Android.mk in GmsCore like this:
[...]
gmscore_root  := $(LOCAL_PATH)
gmscore_dir   := play-services-core
gmscore_out   := out/target/common/obj/APPS/$(LOCAL_MODULE)_intermediates
gmscore_build := $(gmscore_root)/$(gmscore_dir)/build
gmscore_apk   := build/outputs/apk/release/play-services-core-release-unsigned.apk

...
.PHONY: preps_gms
preps_gms:
        rm -rf $(gmscore_build); \
        mkdir -p $(gmscore_out); \
        ln -s ../../../../$(gmscore_out) $(gmscore_build)

$(gmscore_root)/$(gmscore_dir)/$(gmscore_apk): preps_gms
        echo "sdk.dir=$(ANDROID_HOME)" > $(gmscore_root)/local.properties; \
        cd $(gmscore_root) && git submodule update --recursive --init; \
        cd $(gmscore_dir) && JAVA_TOOL_OPTIONS="$(JAVA_TOOL_OPTIONS) -Dfile.encoding=UTF8" ../gradlew assembleRelease
[...]

The .PHONY target I already used in Oreo, as I got some errors on the link when compiling with multiple threads (It was not created properly).
Additionally I would add LOCAL_PRIVILEGED_MODULE := true to the Android.mk to have it in /system/priv-app.
The NullPointerException from above was solved by upgrading gradle. I saw that @mar-v-in did this as well in his latest commits to GmsCore. I went through all the subprojects and aligned the gradle and wrapper versions. That worked for me.
Upgrading gradle also produced an out of memory error for me, as apparently the gradle daemon starts with 512MB instead of 1GB in newest version.
org.gradle.jvmargs=-Xmx1g in the the gradle.properties changes that back.
The ProGuard warnings were
Warning: org.microg.wearable.MessageListener: can't find referenced class java.lang.invoke.StringConcatFactory
Warning: org.microg.wearable.MessageListener: can't find referenced class java.lang.invoke.StringConcatFactory
Warning: org.microg.wearable.SocketWearableConnection: can't find referenced class java.lang.invoke.StringConcatFactory
Warning: org.microg.wearable.SocketWearableConnection: can't find referenced class java.lang.invoke.StringConcatFactory
Warning: org.microg.wearable.WearableConnection: can't find referenced class java.lang.invoke.StringConcatFactory
Warning: org.microg.wearable.WearableConnection: can't find referenced class java.lang.invoke.StringConcatFactory

Hence a -dontwarn java.lang.invoke.StringConcatFactory in proguard.flags solved that.
@mar-v-in Would be nice if you could take a look on what I did. I can create a pull request as well if the changes are ok.
P.S.: In the changes on 26.05 you also introduced a local.properties file, which does not yet exist. Empty file works, but just a note on the side.

So tested the ROM and found, that you will need to privapp whitelist
<permission name="android.permission.LOCATION_HARDWARE"/>
<permission name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST"/>

for com.google.android.gms. Otherwise the ROM won't boot. @Nanolx figured that out and put already a mechanism in his installer.
For build time creation I added Permission XMLs to the Android.mk
After that the ROM boots, and I can get all green checkmarks on microg Settings.

@chris42 yes, the major problem with
<permission name="android.permission.LOCATION_HARDWARE"/>
is indeed, that not all ROMs expect this one to be whitelisted, so I previously had the issue that for some users uNlp did only partially work if not whitelisted, while for others the ROM did not boot when whitelisted. Also Oreo and Pie are very different in what they expect whitelisted, while Pie also refuses booting on some ROMs if a permission is whitelisted that shouldn't be - and not just because of missing whitelists.
A complete mess. I already pinged @ale5000-git so I expect anytime in the future his installer will get the automatic detection aswell, though he's currently busy.

@Nanolx Might be, that some ROM builders put the whitelist right into the build. I am using a Sony AOSP, which is pretty pure.
I looked into your solution, but I am not sure, if I can replicate that during build time. Right now I just copy over the whitelist with the GMSCore build.

Unless I'm mistaken, shouldn't the Androud build system autocreate a proper privapp permission whitelist?
Am 1. Juni 2019 20:27:49 MESZ schrieb Christian<EMAIL_ADDRESS>
@Nanolx Might be, that some ROM builders put the whitelist right into
the build. I am using a Sony AOSP, which is pretty pure.
I looked into your solution, but I am not sure, if I can replicate that
during build time. Right now I just copy over the whitelist with the
GMSCore build.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/microg/android_packages_apps_GmsCore/issues/729#issuecomment-497967342

--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

I would guess so as well, however I do not understand the build system well enough, to tell what is wrong.
Apparently having the uses-permission defined in the AndroidManifest.xml for play-services-core is not enough.
The documentation I found is also only talking about editing and creating it apart from the build.
Not sure if @mar-v-in has more experience in it and there is an easier/safer way than copying the permissions manually.

Has anyone been able to compile GmsCore inline with Android 10?
I get this error: packages/apps/GmsCore/Android.mk:36: error: writing to readonly directory: "packages/apps/GmsCore/play-services-core/build/outputs/apk/release/play-services-core-release-unsigned.apk"
19:53:21 ckati failed with: exit status 1


Introduce checkpoint prefix argument to migration script

Exposing checkpoint-prefix parameter in berkeley migration script. It might be helpful when we have more that one migration on single machine (devnet and mainnet) and for some reason we would like to keep both checkpoints. This is the case for our cron job which is used for more than one network and it need to be aware of checkpoint prefixes

!ci-build-me

!ci-nightly-me

!ci-build-me

!ci-build-me

!ci-nightly-me

!ci-build-me


Restore View::current_formaction at end of View::confirm()

Fixes https://github.com/newsboat/newsboat/issues/1094.

Coverage increased (+0.03%) to 57.576% when pulling eb458841e80f149d9fff4e632ebc4ece380e7ab9 on dennisschagt:bugfix/issue-1094 into 974207ac2b4b680a71ec808b67e6e90773089e9f on newsboat:master.

I will look into the idea described in https://github.com/newsboat/newsboat/issues/1094#issuecomment-659549847.
Closing this PR for now.


When the sig label is not found, all collaborators have LGTM and Merge permissions

Bug Report

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Related link
None
Steps to reproduce(Optional)
Non sig label PR.
What is expected?
Only write and admin collaborators can LGTM and Merge.
What is actually happening?
All collaborators have LGTM and Merge permissions

/assign


Assorted course catalog fixes

Fix parameters for call to enrollment API
Route to course view after enrolling
Use "overview" instead of "overview_html"
Fix selection state for course cells

@mikekatz please review

:+1:


Stop resolving most value generator factories from DI

The selector is resolved from DI and is the appropriate place to make a change to which generator is used. Resolving most of the factories from DI does not add value.

:shipit:


SAS credential replicated "/" fix

This PR aims to resolve https://github.com/Azure/azure-sdk-for-python/issues/11941.
The issue involves path found in the urlparse object which will some times contain a / suffix (for example when credential is not None), when that happens a hardcoded / was added (and hence a duplicate occurs). Instead now a simple check is made before adding the /.

LGTM - though being in azure-core I would like additional reviews.
@xiangyan99 @chlowell


New version: ElectronicArts.EADesktop version <IP_ADDRESS>66

Created by 🥟 Dumplings in workflow run #6668.

Log
Updated: <IP_ADDRESS>64 → <IP_ADDRESS>66
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

https://github.com/microsoft/winget-pkgs/issues/142854