Push notifications for daemon mode

Maybe just start with Pushover

This feels less important with direct client injection and a custom label. Very easy to see the specific torrents that cross-seed has added in the client.

This feels less important with direct client injection and a custom label. Very easy to see the specific torrents that cross-seed has added in the client.


ST7789: LVGL rotation support

Use LVGL (hardware) rotation support instead of using the homegrown one. You might be interested in this one @arktrin, the lv_port_esp32 branch is the same as before, feat/new_driver_test.
We might want to set the rotated field of the lv_disp_drv_t with the symbol from the menuconfig, what do you think @tore-espressif, @arktrin  ? I would rather not use it.
TODO:

[x] Runtime rotation support. I've only test it configuring the rotation when setting up lv_disp_drv_t

If it makes lvgl_esp32_drivers project closer to lvgl v8 - I'm totally agree with this PR :)

I will check that, some of the symbols still being used in this particular driver are no longer available in v8, such as LV_HOR_RES_MAX and LV_VER_RES_MAX.

This PR only aligns the rotation we did with the ones supported by LVGL.
I do understand that. I'm just trying to force lvgl v8 :)

I know, I've been slow at adopting v8, but with the latest changes we've done I feel very close to achieve that.
I have just a few hours per week to dedicate to this repo, some more to the main repo, which has been taking most of those hours last weeks.

@C47D thanks for all the energy you're giving it.
When it comes to rotation support, I'd implement it only in v8, as the drv_update_cb callback function is intended for this use (AFAIK).
I'll keep you updated

When it comes to rotation support, I'd implement it only in v8, as the drv_update_cb callback function is intended for this use (AFAIK).

That's a good point, I was thinking on 'detecting' the rotation change in the flush callback when using v7. I was about to test it but I'm unable to change the rotation at runtime, see last comments in https://github.com/lvgl/lvgl/issues/2972
The new function st7789_update_cb is meant to be the drv_update_cb, what do you think about it?

The display orientation is being set on the guiTask and it's changing periodically, see here
https://youtu.be/szIrNOcFWdE

Important note: The orientation values on the Kconfig were modified, so the orientation arrays on the displays needs to be updated once this PR gets accepted.

No problem, it's OK, I think the tests I did with my display are good for now.
And I don't, I will keep you in mind when working with v8.

Hi @embeddedt, do you know any nicer way to handle fe2032b?

I was thinking on hiding those if else blocks into a helper function, that way we don't need to change anything.

Hmm, looking at it again, I don't see how this will work correctly. drv is a parameter to the function so &drv will be a pointer to the stack, not the display. Did you test it?

Yes, and it seems to be working as expected.


Call cleanerupper after running a CIT suite to clean up any resources left behind by Daisy.

Change WorkflowPolicy to match the workflow ID in both name and description.
The two resources we are having problems with are instances and networks so this is limited to that (plus disks to clean up disks left behind by the instances)
/cc @zmarano @jjerger @koln67 @drewhli

/lgtm


SSO Custom Auth Backend Support

Environment

Python version: 3.6
Nautobot version: 1.0.3

Proposed Functionality
Currently, only social_core.backends are supported within Nautobot to properly redirect to an external login source due to the following code.
https://github.com/nautobot/nautobot/blob/dd731f302f363268201b9aec1095e74230156f6b/nautobot/core/settings_funcs.py#L28-L33
https://github.com/nautobot/nautobot/blob/dd731f302f363268201b9aec1095e74230156f6b/nautobot/core/templates/inc/nav_menu.html#L823-L827
If would be great if this can potentially be overridden within nautobot_config.py via a setting of some sort or just be more relaxed in general. A few potential ideas.
from django.conf import settings

@lru_cache(maxsize=5)
def _sso_auth_enabled(auth_backends):
    for backend in auth_backends:
        if backend.startswith(settings["SOCIAL_AUTH_BACKEND_PREFIX"]):
            return True
    return False

or
@lru_cache(maxsize=5)
def _sso_auth_enabled(auth_backends):
    if len(auth_backends) > 1:
        return True
    return False

This is due to only one AUTHENTICATION_BACKEND being defined by default, but not sure it's safe to assume that if it's greater than one, the login redirect should be enabled.

I'm sure there are other ways as well. I'd be willing to implement this once a decision has been made.

Use Case
We're building a custom authentication backend (that may eventually get ported into Social Auth Core,  but at this point that is too much overhead and I assume that others may need to develop their own custom auth backends that can't be open sourced.

Database Changes
N/A

External Dependencies
N/A

Seems like a hybrid of your suggestion and an explicit ENABLE_SSO = True setting might be the winning combination here. Thanks @FragmentedPacket!


'No such module as Swifter' error

Hi,
Whenever I install using Cocoa Pods and open the project from the workspace, I get error
No such module 'Swifter'
I get this error even after I clean and build the project.
Any ideas? Im running in Xcode 9 (stable) with Swift 4.

Hello!
I have this problema too, and I don't know what is the problem.
I'm using too xCode 9 and Swift 4.
Please, help us, if possible!

So, I with many friends here in the net solved the problem finally: in xCode set the SWIFTER_VERSION to 3.2 and it working! Thanks!

How can I change SWIFTER_VERSION in xCode? @johnnyvj

So, open your project in xCode. On left side in navigator click to your project's name. In the middle panel find Build Setting. Here you use the top-right section you see the search bar. Write to SWIFT_VERSION and you will se the Swift Language Version line above. Here change to Swift 3.2 and done.

Thanks @johnnyvj , It worked. Hey I am new to swift and trying to mock the server for ui test using Swifter. Do you have any relevant resource which can help me.


Additive behaviour

Coming from your example from react-tween-state: Could it be possible, that react-motion uses the "Slightly smarter Destructive Transition" by default? Is it possible to change this to the additive behaviour?
Thank you very much!

Nope. With a spring, you get the "additive" behavior for free. Actually, the additive behavior for normal easing curves is an escape hatch for those to model a spring, in the sense that you want a smooth curve where you wouldn't get one with an ordinary interrupted e.g. easein (see more explanation here). It also doesn't work on every curve, because math.
Try the demos in the readme and check the code: there's no setup for additive needed =).

Your right, thanks for the explanation!
I experimented a bit with the first demo and found that the additive behaviour like in the react-tween-state demo is especially visible with lower dampings. E. g. a spring setup with [10, 2] shows a similar behaviour for the interruption (hower it overshoots quite heavily on the edges). So as you said, i guess that's just the way physics animation feels like and you don't see that deceleration in velocity when interrupting so often with most spring settings.


consolidate test setup code

consolidate dummy_setup and other methods which setup a dummy srs

Closing as we now use a BasicCommit struct which is slow, but works


XML Documentation Updates and ImageUrl Changes.

More changes to be added later, this is a placeholder.

Note, documentation above is not final or complete.

In terms of documentation coverage for user and user-adjacent code, I believe it is just User.TryFormat and Source Generator members that are left.

Current list of documented files in this PR.

User.cs
GuildUser.cs
RestMessage.cs
Message.cs
IPartialMessage.cs
RestGuild.cs
Guild.cs
Various flags


Fix dnf update issue

This fixes the following issue:
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist

/test maistra-istio-unit-2-5

/override ci/prow/integ-security-2-5 ci/prow/integ-servicemesh-2-5 ci/prow/maistra-istio-unit-2-5


WARNING:py.warnings:/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host ""

The elastalert supports the "ssl_show_warn" flag to suppress warnings when it sends alerts to various targets but , as far as I can understand the elastalert doesn't support this flag when it polls the elasticsearch .
In many cases the elastalert2 is deployed ont he same cluster with ELK and polls the elastic via kubernetes internal names, therefore can't verify the TLS certificates. As result the log is blown with InsecureRequestWarning warnings.

It is an option when connecting elasticsearch, not a polling option.


Warning when activating masternode without operator privkey

What would you like to be added:
When using the "activate" button on a masternode for which the wallet does not hold the private key for the operator address, a warning should be displayed before continuing.
Why is this needed:
This would avoid seriously messing up the wallet in some scenarios, as I learned yesterday. I set up a masternode on a VPS (creating the operator address on the VPS), and managing the owner address from the desktop wallet (following this: https://defichain-wiki.com/wiki/Masternode_installation_extended). This works fine. However, the desktop wallet shows the masternode as "local" and in a grey/inactive state, offering a button to "activate" it. This button is so tempting that, although I had a bad feeling, I clicked on it... The desktop wallet then tried to activate the masternode locally, which failed due to lack of the key for the operator address. This rendered the wallet unusable as after starting it every time it immediately lost connection to the node (debug showed that it was because of the missing privkey for the operator node) and the GUI was unusable. I fixed this by switching off the internet connection and feeding in the missing privkey which I exported from the VPS.

Hey @IraGraves, is this PR for the desktop app? This repo is for the mobile wallet repository. If yes, can you create it on the desktop repo? Thank you! https://github.com/DeFiCh/app/issues

Sorry, my bad. It is for the desktop app. I will create it there.

@IraGraves No worries, thank you!


Modrinth support for Paper don't work as expected

Describe the problem
Hello,
unfortunately, it seems to be the modrinth auto-download functions is broken. Its also possible that i'm to dumb :)
In the logs it seems that the files is downloaded. But unfortunately, its not work. I can't find the plugin and it also be not active.
Another things is that the data crawler only see the older version of the plugin. The older one is 2.2.4 and the newer one 2.2.5.
Sry for bad english skills :/
Container definition
version: "3"

services:
  mc:
    image: itzg/minecraft-server
    container_name: minecraft-server-neu
    ports:
        # Port 25565 should internally be as it is, otherwise container don't get "HEALTHY" status
      - 25565:1195
        # Port for dynmap webserver
      - 8123:8123
    environment:
      EULA: true
      DEBUG: true
      LOG_TIMESTAMP: true
      # Server type, version, build number and memory size
      TYPE: Paper
      VERSION: 1.19.3
      PAPERBUILD: 404
      MEMORY: 16G
      # Docker spezifierd settings
      UID: 1001
      GID: 1001
      TZ: Europe/Berlin
      # Use AIKARs Flags for better performance with more users
      USE_AIKAR_FLAGS: true
      # Copy config files from ./config to ./data
      COPY_CONFIG_DEST: /data
      # All files get copyed, also if ./data/config is newer as ./data
      SYNC_SKIP_NEWER_IN_DESTINATION: false
      # Skip creation from server.properties settings
      SKIP_SERVER_PROPERTIES: false
      OVERRIDE_SERVER_PROPERTIES: false
      # All files get copyed, also if ./data/plugins is newer as ./plugins
      SYNC_SKIP_NEWER_IN_DESTINATION: false
      # Auto download plugins from spigot.com
      SPIGET_RESOURCES: 2661,64139,81490,59773,74134,74145,82349,76907,77050,4510,28140,19286,67436,44918,49388,74254
      # Remove old .jar mods after download a new version
      REMOVE_OLD_MODS_INCLUDE: "*.jar"
      REMOVE_OLD_MODS_DEPTH: 1
      # Auto download plugins from modrinth.com
      MODRINTH_PROJECTS: nobedexplosions,nobedexplosions:release
    tty: true
    stdin_open: true
    restart: unless-stopped
    volumes:
      - ./data:/data
        # Location for all files which should copyed to ./data folder, like configs
      - ./config:/config
        # Location for all plugins and files which are related to "plugins"
      - ./plugins:/plugins

networks:
  default:
    name: npm_default
    external: true

Container logs
+ modrinthProjects
+ : nobedexplosions,nobedexplosions:release
+ : true
+ : release
+ [[ -n nobedexplosions,nobedexplosions:release ]]
+ isFamily HYBRID FORGE FABRIC SPIGOT
+ for f in "${@}"
+ [[ SPIGOT == \H\Y\B\R\I\D ]]
+ for f in "${@}"
+ [[ SPIGOT == \F\O\R\G\E ]]
+ for f in "${@}"
+ [[ SPIGOT == \F\A\B\R\I\C ]]
+ for f in "${@}"
+ [[ SPIGOT == \S\P\I\G\O\T ]]
+ return 0
+ isFamily HYBRID FORGE
+ for f in "${@}"
+ [[ SPIGOT == \H\Y\B\R\I\D ]]
+ for f in "${@}"
+ [[ SPIGOT == \F\O\R\G\E ]]
+ return 1
+ loader=spigot
+ mc-image-helper modrinth --output-directory=/data --projects=nobedexplosions,nobedexplosions:release --game-version=1.19.3 --loader=spigot --download-optional-dependencies=true --allowed-version-type=release
[mc-image-helper] 14:01:36.734 DEBUG : Starting with projectRef=nobedexplosions
[mc-image-helper] 14:01:37.577 DEBUG : JSON FETCH: uri=https://api.modrinth.com/v2/project/nobedexplosions headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.4 (cmd=modrinth), x-fetch-session: 99226081-c811-4fec-9afb-4bfe9f37935d, accept: application/json, host: api.modrinth.com]
[mc-image-helper] 14:01:37.819 DEBUG : JSON FETCH: uri=https://api.modrinth.com/v2/project/7Oj5ApET/version?loaders=%5B%22spigot%22%5D&game_versions=%5B%221.19.3%22%5D headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.4 (cmd=modrinth), x-fetch-session: 38ce95df-d812-441a-93e9-c4fb21cd2417, accept: application/json, host: api.modrinth.com]
[mc-image-helper] 14:01:37.970 DEBUG : Starting with projectRef=nobedexplosions:release
[mc-image-helper] 14:01:37.997 DEBUG : JSON FETCH: uri=https://api.modrinth.com/v2/project/nobedexplosions headers=DefaultHttpHeaders[user-agent: mc-image-helper/1.25.4 (cmd=modrinth), x-fetch-session: 7349d2e4-2983-4136-aced-d3144dbc2f86, accept: application/json, host: api.modrinth.com]
+ exec /start-setupModconfig
+ isTrue false
+ case "${1,,}" in
+ return 1
+ isTrue true
+ case "${1,,}" in
+ return 0

Sorry for the delay. It looks like the problem is recreating for me also.
I am curious though, why you listed nobedexplosions twice; however, it seems like shouldn't cause any kind of problem.

No Problem! I thought i need to add it twice in the config. One time for the plugin name and one additional time for the type. I will edit it, thanks for the info :) Have a nice weekend! 👍

Wow this was fast! Im happy to tested the new version on release. Thank you for your damn good work! <3

I have tested it today, and it works perfectly for me. Thank you!

Just a heads up, that I am going to need to revert for the fix for this. Apparently Modrinth's API is not behaving consistently and nobedexplosions seems to be the exception to the norm. I'll write up an issue with Modrinth to fix it on their end and link here.

and nm that, I found the real issue, which is that that plugin calls out only paper (and purpur) where in other cases I had assumed that spigot compatibility was correct. I'll get a new fix out soon.

Unfortunately, it does not work for all plugins/mods as expected. When I add "vane:release" to modrinth download, i get a crash.
minecraft-server  | [mc-image-helper] 18:16:05.384 INFO  : Downloading NoBedExplosions-2.2.5.jar
minecraft-server  | [mc-image-helper] 18:16:05.746 INFO  : Downloading item-nbt-api-plugin-2.11.1.jar
minecraft-server  | [mc-image-helper] 18:16:06.097 ERROR : 'modrinth' command failed. Version is 1.25.9
minecraft-server  | java.lang.NullPointerException: Cannot invoke "me.itzg.helpers.modrinth.model.VersionFile.getFilename()" because "versionFile" is null
minecraft-server  |     at me.itzg.helpers.modrinth.ModrinthCommand.download(ModrinthCommand.java:174)
minecraft-server  |     at me.itzg.helpers.modrinth.ModrinthCommand.lambda$processProject$5(ModrinthCommand.java:275)
minecraft-server  |     at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
minecraft-server  |     at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
minecraft-server  |     at java.base/java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Unknown Source)
minecraft-server  |     at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Unknown Source)
minecraft-server  |     at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
minecraft-server  |     at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
minecraft-server  |     at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
minecraft-server  |     at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
minecraft-server  |     at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
minecraft-server  |     at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source)
minecraft-server  |     at java.base/java.util.stream.ReferencePipeline$7$1.accept(Unknown Source)
minecraft-server  |     at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
minecraft-server  |     at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
minecraft-server  |     at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
minecraft-server  |     at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
minecraft-server  |     at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
minecraft-server  |     at java.base/java.util.stream.ReferencePipeline.collect(Unknown Source)
minecraft-server  |     at me.itzg.helpers.modrinth.ModrinthCommand.call(ModrinthCommand.java:87)
minecraft-server  |     at me.itzg.helpers.modrinth.ModrinthCommand.call(ModrinthCommand.java:34)
minecraft-server  |     at picocli.CommandLine.executeUserObject(CommandLine.java:2041)
minecraft-server  |     at picocli.CommandLine.access$1500(CommandLine.java:148)
minecraft-server  |     at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
minecraft-server  |     at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
minecraft-server  |     at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
minecraft-server  |     at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
minecraft-server  |     at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
minecraft-server  |     at picocli.CommandLine.execute(CommandLine.java:2170)
minecraft-server  |     at me.itzg.helpers.McImageHelper.main(McImageHelper.java:123)
minecraft-server exited with code 0

docker-compose.yml
services:
  mc:
    image: itzg/minecraft-server:latest
    container_name: minecraft-server
    ports:
        # Port 25565 should internally be as it is, otherwise container don't get "HEALTHY" status
      - 1195:25565
        # Port for dynmap webserver
      - 8123:8123
    environment:
      EULA: true
      #DEBUG: true
      # Set timestamps in logs
      LOG_TIMESTAMP: true
      # Server type, version, build number and memory size
      TYPE: Paper
      VERSION: 1.19.3
      # Only needed if a specify build number should use
      #PAPERBUILD: 404
      MEMORY: 16G
      # Docker spezifierd settings
      UID: 1001
      GID: 1001
      TZ: Europe/Berlin
      # Use AIKARs Flags for better performance with more users
      USE_AIKAR_FLAGS: true
      # Set config copy from ./config to ./data/
      COPY_CONFIG_DEST: /data
      # Skip creation from server.properties settings and set to manual
      SKIP_SERVER_PROPERTIES: false
      OVERRIDE_SERVER_PROPERTIES: false
      # Auto download plugins from spigot.com
      # Action Bar Health          https://www.spigotmc.org/resources/action-bar-health.2661/
      # AdvancedTeleport           https://www.spigotmc.org/resources/advancedteleport.64139/
      # BestTools                  https://www.spigotmc.org/resources/besttools.81490/
      # ChestSort                  https://www.spigotmc.org/resources/chestsort-api.59773/
      # Chunky                     https://www.spigotmc.org/resources/chunky.81534/
      # CustomRecipeAPI            https://www.spigotmc.org/resources/customrecipeapi-1-13.74134/
      # DeepStoragePlus            https://www.spigotmc.org/resources/deepstorageplus-1-13-1-19.74145/
      # DualWield                  https://www.spigotmc.org/resources/dualwield.82349/
      # FarmingUpgrade             https://www.spigotmc.org/resources/farmingupgrade.76907/
      # InteractionVisualizer      https://www.spigotmc.org/resources/interactionvisualizer-visualize-function-blocks-entities-like-crafting-tables-with-animations.77050/
      # LightAPI                   https://www.spigotmc.org/resources/lightapi.4510/
      # LuckPerms                  https://www.spigotmc.org/resources/luckperms.28140/
      # LumberJack                 https://www.spigotmc.org/resources/lumberjack-tree-gravity-leaf-decay-custom-tree-drops.60306/
      # Minepacks                  https://www.spigotmc.org/resources/minepacks-backpack-plugin-mc-1-7-1-19.19286/
      # TreeAssist                 https://www.spigotmc.org/resources/treeassist.67436/
      # TogglePvp                  https://www.spigotmc.org/resources/togglepvp.44918/
      # UltimateTNT                https://www.spigotmc.org/resources/ultimatetnt-the-ultimate-tnt-plugin.49388/
      # XPStorage                  https://www.spigotmc.org/resources/xpstorage.74254/
      SPIGET_RESOURCES: 2661,64139,81490,59773,81534,74134,74145,82349,76907,77050,4510,28140,60306,19286,67436,44918,49388,74254
      # Remove old .jar mods after download a new version
      REMOVE_OLD_MODS_INCLUDE: "*.jar"
      REMOVE_OLD_MODS_DEPTH: 1
      # Auto download plugins from modrinth.com
      # NoBedExplosions            https://modrinth.com/plugin/nobedexplosions/
      # NBTAPI                     https://modrinth.com/plugin/nbtapi/
      # Vane                       https://modrinth.com/plugin/vane/
      MODRINTH_PROJECTS: nobedexplosions:release,nbtapi:release,vane:release
      # Auto download other mods which are hosted on not simple supported plattform like dev.bukkit.com or jenkins
      # !!!Important!!!
      # If a new version is released, i must remove the old one in ./plugins/ and ./data/plugins
      # Its important for:
      # Dynmap                     https://dynmap.us/builds/dynmap/Dynmap-3.5-beta-2-spigot.jar
      # Vane-admin                 https://github.com/oddlama/vane/releases/download/v1.10.3/vane-admin-1.10.3.jar
      # Vane-bedtime               https://github.com/oddlama/vane/releases/download/v1.10.3/vane-bedtime-1.10.3.jar
      # Vane-core                  https://github.com/oddlama/vane/releases/download/v1.10.3/vane-core-1.10.3.jar
      # Vane-enchantments          https://github.com/oddlama/vane/releases/download/v1.10.3/vane-enchantments-1.10.3.jar
      # Vane-trifles               https://github.com/oddlama/vane/releases/download/v1.10.3/vane-trifles-1.10.3.jar
      # WildLoaders                https://hub.bg-software.com/job/WildLoaders/lastSuccessfulBuild/artifact/target/WildLoaders-2022.7-b70.jar
      # WildChests                 https://hub.bg-software.com/job/WildChests/lastStableBuild/artifact/target/WildChests-2022.7-b91.jar
      # WorldEdit                  https://dev.bukkit.org/projects/worldedit/files/latest
      # Its NOT important for:
      # ProtocolLib                https://ci.dmulloy2.net/job/ProtocolLib/lastSuccessfulBuild/artifact/target/ProtocolLib.jar
      MODS: >
        https://dynmap.us/builds/dynmap/Dynmap-3.5-beta-2-spigot.jar
        https://ci.dmulloy2.net/job/ProtocolLib/lastSuccessfulBuild/artifact/target/ProtocolLib.jar
        https://github.com/oddlama/vane/releases/download/v1.10.3/vane-admin-1.10.3.jar
        https://github.com/oddlama/vane/releases/download/v1.10.3/vane-bedtime-1.10.3.jar
        https://github.com/oddlama/vane/releases/download/v1.10.3/vane-core-1.10.3.jar
        https://github.com/oddlama/vane/releases/download/v1.10.3/vane-enchantments-1.10.3.jar
        https://github.com/oddlama/vane/releases/download/v1.10.3/vane-trifles-1.10.3.jar
        https://hub.bg-software.com/job/WildLoaders/lastSuccessfulBuild/artifact/target/WildLoaders-2022.7-b70.jar
        https://hub.bg-software.com/job/WildChests/lastStableBuild/artifact/target/WildChests-2022.7-b91.jar
        https://dev.bukkit.org/projects/worldedit/files/latest

    tty: true
    stdin_open: true
    restart: unless-stopped
    volumes:
      - ./data:/data
        # Location for all files which should copyed to ./data folder, like configs
      - ./config:/config
        # Location for all plugins and files which are related to "plugins".
        # Container will copy files to /data/plugins, if a newer one is in /data/plugins
        # it's still remain there
      - ./plugins:/plugins

networks:
  default:
    name: npm_default
    external: true

Thanks for the update.

I'm not sure whether to blame Modrinth or the vane authors
In the API response, none of the files are marked as primary
    "files": [
      {
        "hashes": {
          "sha512": "8040d1bdb4cd9c5a0976ab2b41005b8405ad0e56894e84b5192541c6338c4bce404008808f78085e5020081c7f04876275a6014534dbd5835d63c7851195bac5",
          "sha1": "80e080ca558ab366da36ea87b9baa97a7edb08a7"
        },
        "url": "https://cdn.modrinth.com/data/698NGGtb/versions/AlzUrzCs/all-plugins.zip",
        "filename": "all-plugins.zip",
        "primary": false,
        "size": 3843079,
        "file_type": null
      },
      {
        "hashes": {
          "sha512": "a83a63e83dfc375d23e7ba57e77fdc4a91a9de5d46b545b3b79f708c4107fbdade5291eabb31acd80a4f0716589693320f2f714a446e62273c0dd2929fdc0797",
          "sha1": "76524335d6fa0f911fcd801cc12c9506e58a14a7"
        },
        "url": "https://cdn.modrinth.com/data/698NGGtb/versions/AlzUrzCs/vane-plexmap-1.10.3.jar",
        "filename": "vane-plexmap-1.10.3.jar",
        "primary": false,
        "size": 13395,
        "file_type": null
      },
      {
        "hashes": {
          "sha1": "23b68b8d2984eac046966c138e5393df8bcbf013",
          "sha512": "1336036172d4f4a4d10bc09cfca2bb4bc58922bf86ad03931ac8bc212deee1bd23ec69b2116d71c1c2c2da0b4d2d857696a6e379436b9b1ff3f7337a69940846"
        },
        "url": "https://cdn.modrinth.com/data/698NGGtb/versions/AlzUrzCs/vane-velocity-1.10.3.jar",
        "filename": "vane-velocity-1.10.3.jar",
        "primary": false,
        "size": 171997,
        "file_type": null
      },
      {
        "hashes": {
          "sha1": "bc83207bc87c541b03d45310cc0fb747d0d06b82",
          "sha512": "f91187ae8406a3c1ad41cc21d585c8bb9185942e3d946e4797ebbe0321f3d75d3d113f775827a7080203811c090641a6bd3c1af5db9fee18dc955731c73ea203"
        },
        "url": "https://cdn.modrinth.com/data/698NGGtb/versions/AlzUrzCs/vane-waterfall-1.10.3.jar",
        "filename": "vane-waterfall-1.10.3.jar",
        "primary": false,
        "size": 406122,
        "file_type": null
      }
    ],

Yet the Modrinth page marks the first one primary anyway???

I guess I'll assume the same when no files are marked primary.

This was also my intention, but my skill with developing are very limited. I think the problem is modrinth, not the dev. We can test another repo which have a primary marked version.

Thanks! I'm already in the helper code this morning, so I'll go with the assumption of first file wins when none are primary. When I have spot checked others, they always have one marked primary. Logically that's the point of the "primary" indicator 😀

When this build finishes, see if that gets you all the way. Thanks BTW for flushing out some edge cases 😀
https://github.com/itzg/docker-minecraft-server/actions/runs/4337492022

Very nice! You'r welcome! :)
Its worked. The helper will download the files now as expected.
One thing i don't have expected... I download a .zip and not a .jar, so when the container download vane from modrinth its a bundle which is zipped. :P I think i should open a Feature Request. What are you mean?

Interesting. Yeah, open a feature request for that here or over in the helper repo.
I'll go ahead and close this issue.

I beat you to it 😁. This latest build will unzip downloaded files that are zips
https://github.com/itzg/docker-minecraft-server/actions/runs/4338285978

Lol, this was very fast! 🥇 It's amazing how fast you develop. I have tested the new image and its works very well. Thank you for the fast implementation of this feature 💯


fix(SWA-315) fix published artworks

This PR fixes problem with published submissions on My Collection.
JIRA - https://artsyproduct.atlassian.net/browse/SWA-315

@iskounen Agree with you, do you have any thought about what states we should reject on create/update? I started thinking that the enum missing some fields just because the enum wasn't updated in time since there was no needs.


Random tick does not work in indirectly-loaded chunks?

This can be considered as a vanilla feature.


Update Hindi.txt

Added few more hindi words

Hello @itsAshna , please read again How to Contribute and rules section in README.md and please add more stop words if there is any of stop words haven't included yet as the requirement for a PR to be considered as contribution is at least 10 words added. If you are really sure there's no any stop words left outside those, please tell me. Also remember to put your name in CONTRIBUTORS.md.

Yes will add more words today:)


Add Chrome 107

107	107.0.5304.107	Windows 10	chrome107	curl_chrome107

Sorry, this project is simply a wrapper around the precompiled binaries from here and here. If they do not update, you will need to compile it yourself. In the future, we should add the compile steps in our .github/workflows. You are welcome to contribute to that.

Updated to latest upstream version.


Use conda to install pypandoc

This should fix the issue with README's on pypi.

This change is

Coverage remained the same at 88.789% when pulling 305985cbfc74c35b6b9a7c5212b4fb446669a8a6 on travis-readme into 73f5d812e201ee77d10acf041ed746c485f03775 on master.


"Gen not authorized on this install" despite Max8 and ableton 10 suite licenses

I'm getting this error from the websocket feed even though I have the latest version of Max 8 and ableton suite installed. I have no problem using gen in live.
I couldn't figure out where this is thrown on the Max side ( I'm not very good at Max ) , if you could point me in the direction I may be able to find more details on the issue ?

Does it work if you install Max 7 instead? Max 8 was only recently released and I think I heard that the corresponding version of Ableton Live/Max for Live hasn't been released yet. (This is only guesswork, I'm not 100% sure how the licensing works across Max and Live versions.)

Unfortunately I'm not able to test as I don't have max 7 installed and I can't find the binaries on cycling74's website.
I think there was a period of time before Max8 was released where Max4live was using a preview version of Max8 where Gen was disabled, however as far as I'm aware this is not the case anymore; certainly gen~ seems to work fine inside Max4live for me.
Would you know where that message is generated inside the Max4live side of gibberwocky so I can try and debug it ?

@JTriggerFish for older versions see: https://cycling74.com/downloads/older
I think the version at http://gibberwocky.cc/beta/ should work even if gen~ isn't licensed, by using genish.js and sending messages over the web socket instead of creating gen~ graphs. Is that not the case? Obviously it would be better if licensing was working correctly...

Cool, thank you. Yes I think even the main repo uses genish in that case ( not 100% sure it works but looks like it should ).
But yes it would be good if I could get gen to work, I will try with max7 installed.

Quick reply from public transport... Max 7 can be downloaded here:
https://cycling74.com/downloads/older

Thx both !
Installing Max 7 didn't help, however after quite a few incantations - checking licenses in Max and in Live, editing gen patches in Max4live, opening max and live at the same time, the error eventually went away !?
There must be something funky on their side. However for now I'm happy it's working, hope it stays this way !


Update README.md

syntax used with https.request is only valid in node version 10+, updated readme to reflect

Thanks @willgriffin!


Aight CLI bug

Aight cli outputs wrong code when transforming inline if statements.
Ex :
 if (request.setRequestHeader) for (var name in headers) request.setRequestHeader(name, headers[name]);

is converted to
if (request.setRequestHeader)
var __hasOwnProperty = Object.prototype.hasOwnProperty.bind(headers);
for (var name in headers) if (__hasOwnProperty(name)) { request.setRequestHeader(name, headers[name]); }

There should be braces around the generated code.

@shawnbot That would be a workaround yes. But I don't own that code :)
I think that would be good to fix this edge case within aight-cli


Version 0.9 isn't installable on Python 3

Hello,
Version 0.8 was released as a sdist and a Python 2 only wheel. Version 0.9 was only released as a Python 2 only wheel, which makes it impossible to install it on Python 3.
I think the official recommendation is to create a setup.cfg file next to setup.py containing:
[bdist_wheel]
universal = 1

Then if you rerun python setup.py bdist_wheel upload that should upload a new wheel compatible with Python 2 and 3 next to the current one.
Thanks!

@aaugustin I just did what you mentioned. Let me know if there's still any issue.

It works, thanks!


Refactor merged task: Symbol Interpretation Benchmark

Hello, in this PR we:

Refactor the Symbol Interpretation Benchmark from multiple tasks into one task with multiple subtasks, as requested by  @Sohl-Dickstein in https://github.com/google/BIG-bench/pull/135

Improve some sections of the README, further addressing the concerns raised by @james-simon

Rename the task from Symbol Interpretation Benchmark (SIB) to Symbol Interpretation Task (SIT)

Happy to receive feedback!

@googlebot I consent

@googlebot I consent

@googlebot I consent.

@googlebot I consent.

Thank you for making this change! This looks good to me.


Add actions/cache

Thank you. But Official Resources > Official Actions Collection includes the repositories under the actions org.

I get it.


HBASE-25349 [Flakey Tests] branch-2 TestRefreshRecoveredReplication.t…

…estReplicationRefreshSource:141 Waiting timed out after [60,000] msec
Start the check for recovered queue presence earlier.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 20s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
4m  1s
branch-2 passed

+1 :green_heart:
checkstyle
1m 16s
branch-2 passed

+1 :green_heart:
spotbugs
2m  6s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 34s
the patch passed

-0 :warning:
checkstyle
1m 14s
hbase-server: The patch generated 3 new + 2 unchanged - 0 fixed = 5 total (was 2)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
12m 54s
Patch does not cause any errors with Hadoop 3.1.2 3.2.1.

+1 :green_heart:
spotbugs
2m 15s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 14s
The patch does not generate ASF License warnings.

36m 45s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2731/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2731

Optional Tests
dupname asflicense spotbugs hadoopcheck hbaseanti checkstyle

uname
Linux d746a0b5bbed 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 745a3a9ab7

checkstyle
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2731/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt

Max. process+thread count
84 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2731/1/console

versions
git=2.17.1 maven=3.6.3 spotbugs=3.1.12

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 35s
Docker mode activated.

-0 :warning:
yetus
0m  7s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
4m 17s
branch-2 passed

+1 :green_heart:
compile
1m  6s
branch-2 passed

+1 :green_heart:
shadedjars
6m 37s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 43s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 58s
the patch passed

+1 :green_heart:
compile
1m  5s
the patch passed

+1 :green_heart:
javac
1m  5s
the patch passed

+1 :green_heart:
shadedjars
6m 37s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 41s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
134m 57s
hbase-server in the patch passed.

162m 48s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2731/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2731

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 06ae0f2ec6da 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 745a3a9ab7

Default Java
AdoptOpenJDK-11.0.6+10

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2731/1/testReport/

Max. process+thread count
4296 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2731/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
2m 17s
Docker mode activated.

-0 :warning:
yetus
0m  8s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
5m 33s
branch-2 passed

+1 :green_heart:
compile
1m 20s
branch-2 passed

+1 :green_heart:
shadedjars
8m 24s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 58s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
5m 22s
the patch passed

+1 :green_heart:
compile
1m 15s
the patch passed

+1 :green_heart:
javac
1m 15s
the patch passed

+1 :green_heart:
shadedjars
6m 52s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 37s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
225m 21s
hbase-server in the patch passed.

260m  6s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2731/1/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2731

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 8d549924fead 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 745a3a9ab7

Default Java
AdoptOpenJDK-1.8.0_232-b09

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2731/1/testReport/

Max. process+thread count
2488 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2731/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


Changes to CNI process for opp sex outcomes

https://trello.com/c/Fyv5tx9s/2691-get-married-abroad-russia-1
I've made a number of changes across 6 outcomes to provide more detail about the certificate of no impediment (CNI) process in Russia.

Thanks @MuriloDalRi - this can be deployed whenever


Weightreduction on item

Some weeks maybe month ago, Drk was helping me to do special quiver using Weightreduction on ammo.
Simply you can put inside only ammo, everytime you do so, the weight of that stack was reduced by your settings. After you shot it or drag it out, the weight was fixed.
I dont know how long, but it is not working. Drk said now the items inside container arent checked by weightreduction at all.
Example:

on=@DropOn_Self
IF ((<argo.type>==t_weapon_arrow) || (<argo.type>==t_weapon_bolt))
argo.weightreduction=50
return 0
else
src.sysmessage Toulec je pouze na strelivo!
return 1
endif
on=@PickUp_Self
IF ((<argo.type>==t_weapon_arrow) || (<argo.type>==t_weapon_bolt))
argo.weightreduction -=50
else
return 1
endif

fixeeed!ty!


JSON Tree Browser

What feature or new tool do you think should be added to DevToys?
A JSON tree browser, as in this website
Why do you think this is needed?
It makes large JSON files easier to read than the existing formatter.
Solution/Idea
See this website
Comments

Hi,
Thanks for this suggestion. This could be a good idea of third-party tool. This can be achieved with our SDK. Unless there's a strong demand (through upvote) for this tool to be shipped by default with DevToys, I will close this ticket and let anyone who wants making and publish the tool through an extension.
Thanks!


FILE as Provider

🚀 Description
Add FILE as provider to directly supply a local file for cropping.
📄 Motivation and Context
E.g. let user browse through pre-defined assets or custom gallery showing remote images.
If user clicks on such an image app downloads asset in background and can now directly show crop.
🧪 How Has This Been Tested?

create an image file
point to it via File
needs #182
intent.putExtra(ImagePicker.EXTRA_FILE, file);

📷 Screenshots (if appropriate)
/
📦 Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

✅ Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Remaining question is if this should be handled via ".setFile()" or if this approach via intent is ok?

@tobiasKaminsky Thank you for your contribution. It will be easier to use any crop library to just perform the crop operations. This will help keep the library clean for unnecessary dependencies.
Also, As of now ImagePicker only supports uCrop. If 3rd party library is used directly then the developer will have better control over its customization.
I appreciate your time and efforts in adding this feature. I hope this will not discourage you from further contribution.

Thanks for your feedback @Dhaval2404
My motivation was to only have once library, but I understand it from your point :)


use properly named variable for environment

/cc @manasdk

Still fails
[11:46:46] Deploying new branch environment master
rake aborted!
Errno::ENOENT: No such file or directory - /opt/puppet/environments//opt/puppet/environments/master/hieradata/answers.yaml

The path looks broken.

Likely fix -
https://github.com/StackStorm/st2workroom/pull/186


Define settings per entity and save persistently

Description

Entity Options Panel Update:

A new EntityOptionsPanel was created to provide a user-friendly interface for configuring entities. This panel allows users to select specific settings for each entity, such as state options, tap actions, and always-on status.
The panel dynamically retrieves and displays the current settings for each entity, offering a seamless way to make adjustments (following the Settings save from #57.

State Options Mapping:

A mapping for state options (state-badge, state-icon, state-label) was implemented, enabling users to choose from predefined state representations. This ensures that the selected state type is correctly applied to the entity.

Tap Action Configuration:

A new feature was added to configure tap_action for entities, allowing users to define what action should occur when the entity is tapped. Available options include none, toggle, and more-info, with toggle set as the default.

Always On Configuration:

Added a new property called Always On, allowing users to specify if a light should remain on at all times during the render process, this was requested on #55.

How Has This Been Tested?
Using a SH3D project I was able to click on a given entity, modify the new settings for this entity and apply.
After generation of YAML file, I could see that some properties were updated for that entity only, as example below:

I have also added a new property called Always On, so that user can choose if that light needs to be always on, which means that it won't be set power equals 0 during the scene preparation before creating the rendering. So that, every render that light will keep on as defined in SH3D, example:

Checklist

[X] I have tested and built the changes locally and they work as expected
[X] I have added relevant documentation or updated existing documentation
[X] My changes generate no new warnings

Screenshots (if applicable)

Additional Context
I have followed the suggestion from @shmuelzon to create a new panel rather than increasing the tree. We might, later on, add properties to entities that be more complex. I chose not to use a tree view in the second panel, EntityOptionsPanel.java, because a simpler and more focused user interface was needed. JTree is generally used for displaying hierarchical data, which isn't necessary for configuring individual entity settings. Instead, EntityOptionsPanel is designed to be straightforward and user-friendly, allowing users to easily adjust specific options like state options, tap actions, and always-on status directly.

@shmuelzon JFYI: I will add more properties such as X and Y location of an entity in future PRs, as we have been doing.

I've also noticed that when double clicking on the tree, some things move around. Any idea why?

Sure thing, let me know when you're done and I'll take over from there so we don't work on the same things

Sure thing, let me know when you're done and I'll take over from there so we don't work on the same things

I have pushed some changes as you suggested, the unresolved comments is what I have not done. I also left some reply to some of your comments so you can validate it.
After I made some changes to EntityOptionsPanel.java to have the same implementation as Panel.java, the Apply button stopped working and I couldn't figure out why. Can you help on this one please? Thanks!

@shmuelzon thanks for merging! As a UI perspective, can we keep cursor in the node tree? The current doesn't have any clue/tip that entity is configurable or not.

It bugged me that the cursor was set for the entire tree, as if it was all clickable (which it technically is, but that's weird too). I wanted to make only the nodes clickable and so only they should have a different cursor but that seemed too complex for me to complete right now and I didn't want to keep this feature waiting so I decided to merge it as is and handle it later


Background inBackground on Android HTCM8 and Samsing S7 Edge

I'm having a problem with push notifications in the background. The push appears in the notification bar but only opens the app when clicked on and doesn't call the callback.
I've tried this on both an HTC M8 and Samsung S7 Edge - I saw there were previous threads where somebody was using a Huawei but that doesn't apply to me.
I'm using Titanium SDK 6.1.1GA and 2.0.6 of Ti Goosh
Any ideas gratefully received!!
Could it be manifest permissions?

I doubt it has to do with permissions. It would have raised an error. Does it show anything in the logs?

It doesn't show anything in the logs at all! The app simply opens and that's it.

Yep just tried this with my HTC M8 - put the app into the background. Then sent it a push notification. The push notifcation appears in the notification tray on the device (Although there is no icon, just a round circle) when I click on it, the app opens but there's nothing new in the log.
Thanks in advance

Any ideas why this might be happening or how I could resolve it please?
Thanks

I can't replicate the issue. Will continue to make tests when possible

Thank you - it's obviously a payload format issue as I tried using your example code and it works successfully. Thanks for your help

Awesome! Glad it works


Q: Load Modules and Configuration dynamically "After Login" zf2

Hi guys, i have a problem.
i have to load some modules as "optionals" in my application.
I have load all these ones inside controller...
I just loaded module with
                   $manager = $this->serviceLocator->get('ModuleManager');

                    $manager->loadModule('Comunication');

                    $moduleNamespace = \array_keys($manager->getLoadedModules());

                    $manager->setModules($moduleNamespace);

Also i can see his config:
$configMod = $manager->getModule('Comunication')->getConfig();

How can i merge these new config with old?, please.

This will not work: merging configs has to happen before the app boots.

ok thank you


1v1.lol hacks

Can u give me hacks to 1v1.lol game please

No problem sorry im am responding late go to youtube search up a proper
video and listen to the instructions and check out my youtube channel TTV_
Cameron i just started
On Fri, Dec 11, 2020 at 10:24 PM Tootiedarkskin<EMAIL_ADDRESS>wrote:

Can u give me hacks to 1v1.lol game please
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/XXRNG/github-slideshow/issues/2#issuecomment-743693524,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARPGZIHXGYHXRBT4RSEGUPTSULO6FANCNFSM4S7QGOMQ
.

No problem sorry im am responding late go to youtube search up a proper
video and listen to the instructions and check out my youtube channel TTV_
Cameron i just started
On Fri, Dec 11, 2020 at 10:24 PM Tootiedarkskin<EMAIL_ADDRESS>wrote:

Can u give me hacks to 1v1.lol game please
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/XXRNG/github-slideshow/issues/2#issuecomment-743693524,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARPGZIHXGYHXRBT4RSEGUPTSULO6FANCNFSM4S7QGOMQ
.


How To Query Tenant Database Without Model

Hyn/Multitenant Version 5.3
Laravel Version 5.7
I would like to know how I can query a Tenants database with out UsesTenantConnection. I can succesfully query the system database for the current enviroment and hostname. And if I use the trait UsesTenantConnection and query the model on the current connection it works great, but what if I want to query a tabel that doesn't have a model?
For instance I am using passport for authentication and it comes with table migrations but there is not an actual model to apply the UsesTenantConnection trait to.
So if wanted to do a query like
$oauth = DB::table('oath_clients')->where('id', 2)->get();

How could I do that with out having access to using the trait?

Just for the record, you should be able to simplify your query with DB::table('oauth_clients')->find(2)
Now for your issue... Why not just use DB::connection('tenant')?


Update TestGuestPackages

Update TestGuestPackages to test for all the packages and check by Ach and check for packages that should not be installed

Updated based on review.
When building the required package list it basically assumes a redhat variant as the default and modifies the list for everything else.

Updated to use slices.Contains

/lgtm


Add 3 structure-aware fuzzers

These are the fuzzers used to find CVE-2022-24713.
Effectively, it just marks all AST members as Arbitrary when the fuzzer feature is enabled, then generates ASTs which are then converted back to statements in regex. Then, the fuzzer parses the generated string and executes against an input.

I was using
fuzz_target!(|data: (&str, &str, [bool; 7])| {
    let (
        pattern,
        input,
        [case_insensitive, multi_line, dot_matches_new_line, swap_greed, ignore_whitespace, unicode, octal],
    ) = data;

    let r = regex::RegexBuilder::new(pattern)
        .case_insensitive(case_insensitive)
        .multi_line(multi_line)
        .dot_matches_new_line(dot_matches_new_line)
        .swap_greed(swap_greed)
        .ignore_whitespace(ignore_whitespace)
        .unicode(unicode)
        .octal(octal)
        .dfa_size_limit(1024)
        .size_limit(1024)
        .build();

    if let Ok(re) = r {
        re.is_match(input);
    }
});

Looks like the only option that shows up as an option in the RegexBuilder that doesn't show up in the flags is octal. Might be worth fuzzing that option as well?

Looks like the only option that shows up as an option in the RegexBuilder that doesn't show up in the flags is octal. Might be worth fuzzing that option as well?

@5225225, I saw your PR earlier (it was actually what inspired me to write this one!) and would be happy to add some of the testing capabilities yours demonstrates.

I'd really strongly prefer that we don't introduce new dependencies to regex-syntax. Adding a dev-dependency would be quite all right though. Is there a way to structure the fuzzer to make that possible I wonder?

@BurntSushi, let me see what I can do. :slightly_smiling_face:

@BurntSushi seems that this option isn't really available: https://github.com/rust-fuzz/cargo-fuzz/issues/256
Unfortunately, it would be necessary to make it a feature. However, it is possible to test if it's being used in a fuzzer environment, so we can set up something like the following:
#[cfg(any(all(feature = "fuzzer", not(fuzzing)), all(feature = "arbitrary", not(fuzzing))))]
compile_error!("You cannot enable the fuzzer feature without fuzzing!");

This prevents people from pulling in the fuzzer features or arbitrary without fuzzing. Does this suffice?

@VTCAKAVSMoACE with this fuzzers how long it takes to find cve-2022-24713? I'm tested locally from your repo I can't trigger the crash. I have 50ish corpus and using regex dictionary

I've given this some thought, and I'm just not okay with adding a public dependency on arbitrary for regex-syntax. I could stomach it as a dev-dependency, but even one that's optional and difficult to enable is too risky for me. And doing it just to enable some convenient testing does not feel like the right trade off to me. The problem it being in the dependency chain is that it's still considered part of the main set of dependencies and I believe there are various things that can impact building regex-syntax based on things that arbitrary does. (Perhaps the setting of rust-version, IIRC.)

I'm going to close this out for largely similar reasons as stated here: https://github.com/rust-lang/regex/pull/959#issuecomment-1530361182

Hm, this seems a bit of a shame to me. Grammar fuzzing discovers hard-to-find bugs very fast in regex (e.g. reproducing the ReDoS in <1 minute); it seems a bit more than convenient testing. I'll think about alternative implementation strategies here since I think it's important, but I don't have much time to do this at the moment. I will try to nerd snipe some my friends into this :wink:

Yeah I agree it's a shame.  It blows chunks. I don't like it and I don't want it, haha.
This really does feel like a flaw in the cargo fuzz tooling. Basically, whenever it needs some additional infrastructure for testing, it mandates that it be added as a non-dev dependency. That's just not good at all. It might be acceptable for some crates to do that, but this is really what dev-dependencies are supposed to be for. So I really think cargo fuzz needs to figure out a way to support them.
I'll see if I can open up an issue with them and see if I can get anywhere that way.

I'm also reconsidering the other work-around suggested, which was mirroring the full Ast type in the fuzzer targets, and making them impl Arbitrary and then defining a From impl. All of the Ast types have a public representation, so this is possible to do. It is painful. But the Ast types very rarely change. So it might be feasible. At least, I think I like this better than my idea of copying and patching the entire regex-syntax crate.

I've added a request here: https://github.com/rust-fuzz/cargo-fuzz/issues/338

I closed the cargo-fuzz issue as unimplementable, but repeating some of my suggestions from there:
For this specific case, I'd really just recommend adding an arbitrary feature the way a lot of crates have serde features: other people may also want to include your types in their fuzzers. I recognize that this is similar to what has been proposed here and has already been rejected.
The hack for getting this to work is to instead manually define fuzz targets under examples/ using the libfuzzer crate, and figure out the sanitizer flags cargo fuzz passes in and pass them yourself using RUSTFLAGS=foo cargo rustc --examples bar -- <more flags>. That's basically all cargo-fuzz does: it creates a crate that depends on libfuzzer, sets up boilerplate, and then builds with the appropriate flags.

@Manishearth gotya, thanks. I think the RUSTFLAGS hack might not work, but I'm not sure. In particular, this project is hooked up to OSS-fuzz, and I'm not sure whether it's possible in that context to say, "do RUSTFLAGS=foo cargo rustc ... instead of cargo fuzz."

Regarding OSS-Fuzz: this is something that you would put into the config file. Quite possible :slightly_smiling_face:

Ah! There's a lot that I don't know apparently. Haha.

OK, so I'm going to move forward with just adding arbitrary as an optional dependency to regex-syntax. And it will be an advertised feature. Things that changed my mind:

There's just not really any good alternative given the cargo fuzz setup today.
This drastically speeds up fuzzing. And given that regex 1.9 is going to be a complete rewrite, getting it under a good fuzzer before a release sounds like a very responsible thing to do.
I reviewed arbitrary itself and it looks like a solid crate with good dependency hygiene itself.
I added it as an optional dependency to regex-syntax locally and played around with it. Everything still builds on Rust 1.60.
If this ends up not working out, I can always back out the change because I can do new breaking change releases of regex-syntax at a higher frequency than regex itself.

@addisoncrump Sounds great. What does it entail? (Or feel free to avoid indulging my curiosity and just show me whenever the new repo is ready. :-))

I should be done in like 5 minutes? I'll just push it here since this PR is encapsulated by other changes.

Note that currently, it uses generated ASTs from the old implementation. If there are new features present in the rewrite, this won't test them, or it will test them wrong.

Yeah unfortunately not only are there new features, but there are bug fixes in match semantics too.
I'll take a look at some of the failing cases to confirm they fall in those buckets, but this might make differential testing in this way tricky. (I've done my own form of differential non-fuzz testing by ensuring that the old implementation passes the new test suite and that the new implementation passes the old test suite.) The new test suite is much bigger than the old one, and tests each individual internal engine much more thoroughly. It's not fuzz testing, but it's not nothing either. :)

And the differential fuzzer also just repro'd the old CVE with: (?:){65557}?... try with find.

@addisoncrump Yeah I caught that one a few days ago. I might not have pushed my branch since then. But it's in the new NFA compiler, not parser. Happened for a different reason.

@addisoncrump How do you get the fuzzer to ignore certain failures? Whenenver I run the differential fuzzer, it just fails on [&&], which was disallowed before and is now allowed. I suppose I can modify the fuzzer exit silently if neither regex compiles successfully instead of failing.

Yup, next thing it found was the regex .*?* on the haystack a. The correct first match is [0, 0), but the status quo returns [0, 1).
I'll try the differential fuzzer a few more times, but it seems likely that it's just going to keep pointing out intended differences at this point.

If you want, you can also just let it run and find crashes by passing -fork=1 -ignore_crashes=1 and letting it run for a while. Then, just step through each artifact with the prefix crash- it generates and you should be able to see all the different crashes it comes up with.
If it's not useful for testing here, it is what it is. However, I've used this strategy in the past to find bugs with e.g. HIR folding oddities when I was trying to make #893, so it does work when you have two (slightly closer) implementations that you want to compare. If all you find is intended changes, all the better :grin:

Ah, -ignore_crashes=1 is what I want. Thank you!

I wrote one more fuzzer, which verifies the roundtrip nature of the parser and unparser for ASTs. It seems to find an issue or two:
#![no_main]

use {
    libfuzzer_sys::fuzz_target,
    regex_syntax::ast::{parse::Parser, Ast},
};

#[derive(Eq, PartialEq, arbitrary::Arbitrary)]
struct FuzzData {
    ast: Ast,
}

impl std::fmt::Debug for FuzzData {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut builder = f.debug_struct("FuzzData");
        builder.field("ast", &format!("{}", self.ast));
        builder.finish()
    }
}

fuzz_target!(|data: FuzzData| {
    let pattern = format!("{}", data.ast);
    if let Ok(ast) = Parser::new().parse(&pattern) {
        let ast2 = Parser::new().parse(&ast.to_string()).unwrap();
        assert_eq!(ast, ast2);
    }
});

Ah the differential fuzzer caught one!
# This tests a bug in how quit states are handled in the DFA. At some point
# during development, the DFAs were tweaked slightly such that if they hit
# a quit state (which means, they hit a byte that the caller configured should
# stop the search), then it might not return an error necessarily. Namely, if a
# match had already been found, then it would be returned instead of an error.
#
# But this is actually wrong! Why? Because even though a match had been found,
# it wouldn't be fully correct to return it once a quit state has been seen
# because you can't determine whether the match offset returned is the correct
# greedy/leftmost-first match. Since you can't complete the search as requested
# by the caller, the DFA should just stop and return an error.
#
# Interestingly, this does seem to produce an unavoidable difference between
# 'try_is_match().unwrap()' and 'try_find().unwrap().is_some()' for the DFAs.
# The former will stop immediately once a match is known to occur and return
# 'Ok(true)', where as the latter could find the match but quit with an
# 'Err(..)' first.
#
# Thankfully, I believe this inconsistency between 'is_match()' and 'find()'
# cannot be observed in the higher level meta regex API because it specifically
# will try another engine that won't fail in the case of a DFA failing.
#
# This regression happened in the regex crate rewrite, but before anything got
# released.
[[test]]
name = "negated-unicode-word-boundary-dfa-fail"
regex = '\B.*'
haystack = "!\u02D7"
matches = [[0, 3]]

I'll checkout your syntax round-tripper.

Ah yeah the syntax roundtripper is unfortunately testing a property that the crate doesn't guarantee: that every inhabitant of Ast can be printed and parsed back into the same Ast. I wish it upheld this property, but the existence of verbose mode, e.g., (?x), puts a wrench in things. It's not impossible to make it work, but it requires more infrastructure and I'm not sure it's worth doing. :-(
I ran it for a bit and it generated lots of crashes. But all of them had the x flag.

Okay, perhaps we can scan the ASTs and filter out anything containing the x flag?

Yes. But it's more work than I want to do now. The Ast stuff hasn't really changed much. The rewrite didn't really touch that part.

For academic purposes (and to understand the API a little better) I decided to implement it anyways. You were right, though! No observable crashes.

Verbose Filtering Fuzzer

#![no_main]

use libfuzzer_sys::Corpus;
use regex_syntax::ast::{visit, Flag, Group, GroupKind, SetFlags, Visitor};
use {
    libfuzzer_sys::fuzz_target,
    regex_syntax::ast::{parse::Parser, Ast},
};

#[derive(Eq, PartialEq, arbitrary::Arbitrary)]
struct FuzzData {
    ast: Ast,
}

impl std::fmt::Debug for FuzzData {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut builder = f.debug_struct("FuzzData");
        builder.field("ast", &format!("{}", self.ast));
        builder.finish()
    }
}

struct VerboseVisitor;

impl Visitor for VerboseVisitor {
    type Output = ();
    type Err = ();

    fn finish(self) -> Result<Self::Output, Self::Err> {
        Ok(())
    }

    fn visit_pre(&mut self, ast: &Ast) -> Result<Self::Output, Self::Err> {
        match ast {
            Ast::Flags(SetFlags { flags, .. })
            | Ast::Group(Group {
                kind: GroupKind::NonCapturing(flags), ..
            }) if flags
                .flag_state(Flag::IgnoreWhitespace)
                .unwrap_or(false) =>
            {
                Err(())
            }
            _ => Ok(()),
        }
    }
}

fuzz_target!(|data: FuzzData| -> Corpus {
    let pattern = format!("{}", data.ast);
    if let Ok(ast) = Parser::new().parse(&pattern) {
        if visit(&ast, VerboseVisitor).is_err() {
            return Corpus::Reject;
        }
        let ast2 = Parser::new().parse(&ast.to_string()).unwrap();
        assert_eq!(
            ast,
            ast2,
            "Found difference:\nleft:  {:?}\nright: {:?}\nIf these two match, then there was a parsing difference; maybe non-determinism?",
            ast.to_string(),
            ast2.to_string()
        );
    }
    Corpus::Keep
});

@addisoncrump Thanks! I've added that.

And, yup, further investigation shows that the issue is how the fuzzer is generating unicode class names. I'll implement a special case for this in the arbitrary implementation.

Ah yup nice catch. I forgot that there were other whitespace insensitive parts of the syntax regardless of whether verbose mode is enabled.

I'm hitting the wall on my Unicode knowledge here, and regex internals... How would I be able to select a random valid name for selecting character classes? Is such a thing even possible? Note that it doesn't need to be from the set of "all possible", just one value for each potential class.

@addisoncrump Hmmm. Probably the simplest thing is to copy the properties from this section of UNICODE.md: https://github.com/rust-lang/regex/blob/master/UNICODE.md#rl12-properties
But that doesn't include each of the general category or script values. For example, neither Letter (a general category) nor Greek (a script) are listed there.
Otherwise there really isn't anything in regex-syntax (internal or otherwise) that makes such a thing convenient because it isn't an operation that is ever really needed.
One thing worth mentioning is that the AST parser doesn't check whether the thing inside a \p{...} is valid or not. That's only done when the AST is translated to an HIR. The AST parser might do some basic validation in terms of which characters are allowed in \p{...}. I can't remember. But it specifically does not, for example, reject \p{foo}:
$ regex-cli debug ast '\p{foo}'
parse time:  54.929µs

Class(
    Unicode(
        ClassUnicode {
            span: Span(Position(o: 0, l: 1, c: 1), Position(o: 7, l: 1, c: 8)),
            negated: false,
            kind: Named(
                "foo",
            ),
        },
    ),
)

I'll find a way :grin: But not this evening.

So, I looked a little further. I believe that using -use_cmp=0 will also improve the performance of the fuzzers that generate ASTs by arbitrary, as "cmp" will attempt to identify subsequences in the input to replace with the strings that are discovered dynamically. This will unfortunately poison the corpus with undesirable values now that the unicode class arbitrary is implemented, and even in previous versions this wouldn't work because of how arbitrary generates these values.
@Manishearth you might also wish to know this; maybe worth documenting in the rust fuzz book. I believe -use_cmp=1 (enabled by default) is actively harmful for fuzz campaigns which utilise arbitrary as it will cause libfuzzer to suggest useless mutations for arbitrary-generated data.

oops, I just obliterated this while making another PR by accident. Closing, since these changes are already added.


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-30-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4514

Questions ?
Please refer to the Backport tool documentation


Automatically include the elector side-car if Lock or Election is used...

We should detect when code uses metaparticle locks or elections and automaticallly include the elector side car.

IMO, this issue is the second highest priority issue (probably just behind the CI ticket).
I think the most generic way to deal with this is to allow a more broad pod definition. Specifically, allowing a way to specify multi-container pods... both via an image reference or a second build. After much thought, I don't have any great ideas as to how to do it (a few bad ones though!).
One thing that was getting in the way is the fact that the container runtime options are coupled to the pod runtime options (e.g. replicas is in the same dictionary as port), which implies that the runtime options either need to get split up (ugg), or we need another @Containerize option.
I'll post more specific [bad] ideas later.


Sensor and Host Problem

Hello,
so first of all great work!
However, I cannot cope with two things where I briefly need your help. (I use HUE Bridge V2 and Deconz)

I have various sensors / switches:
"CLIP sensor PUSHDIM-TOOGLE-ON-OFF",
"VPIR movement",
"FSM_STATE",
"Motion Sensor 13 Activity State"
I just can't get them not to show up in HomeKit! I tried exlude Sensor, no chance and I can't quite manage the blacklist either.
How do I insert this correctly into the existing config?

The other problem is the hosts. I register:
"hosts": "192.168.178.XX: 80", "192.168.178.XX"
and always get a message with not value.
: /

I hope you can help me.
Big thanks!

Make sure you use a text editor to edit config.json, not some document editor that replaces the quotes.  Make sure to use a json validator.  Easiest is using Homebridge Config UI X.
Note that the keys are case sensitive.   See https://github.com/ebaauw/homebridge-hue/wiki/Configuration for an overview of all keys.
Both hosts and excludeSensorTypes take an array value.  Also, make sure there’s no space between the ip address and the :.

Yes it worked :)
big thanks!!


Prefill your colab name in the create new series

New extension of the anchroring file .waln (internally it is the same json)
Contains bucket ID and regular anchoring vectors.
The export of flat files and json for Nutilweb is unchanged.


Fix successive favicon URL attempts

The call to self.postDidLoadFaviconNotification() needs to be outside the brackets, otherwise FaviconDownloader won't try the rest of the favicon URLs on failure.

Wait, I need to fix a few more things that are master-specific.


How to configure the Norconex HTTP Collector in java?

Hi, I checked this link of Java integration but I couldn't configure it properly.
The code on the page is as follows:
`HttpCollectorConfig config = new HttpCollectorConfig();
config.setId("myid");
config.setLogsDir("/tmp/logs/");
...
HttpCollector collector = new HttpCollector(config);
collector.start(true);`
I've imported the Norconex dependencies using Maven. My question is now where do I provide the StartURLs in this case? I think I can use the XML configuration here but is there any other way to specify the configuration in Java? Also, can someone please point me to an example if possible? Thank you for your time.
Sorry, if I'm missing something obvious here.

Hi, I checked this link of Java integration but I couldn't configure it properly.
The code on the page is as follows:
`HttpCollectorConfig config = new HttpCollectorConfig();
config.setId("myid");
config.setLogsDir("/tmp/logs/");
...
HttpCollector collector = new HttpCollector(config);
collector.start(true);`
I've imported the Norconex dependencies using Maven. My question is now where do I provide the StartURLs in this case? I think I can use the XML configuration here but is there any other way to specify the configuration in Java? Thank you for your time.
Sorry, if I'm missing something obvious here.

A "collector" holds one or more "crawlers".  This means you need to add one or more crawler configuration to the collector configuration.  The start URLs are set on the crawler config.
I recommend you have a look at the Javadoc.  For start URLs, have a look at HttpCrawlerConfig for a few options starting with setStart*.   The simplest is the setStartURLs method.  I have updated the Getting Started page to make it more obvious.  Here is a copy of the relevant part:
HttpCollectorConfig collectorConfig = new HttpCollectorConfig();
collectorConfig.setId("myid");
collectorConfig.setLogsDir("/tmp/logs/");
...
HttpCrawlerConfig crawlerConfig = new HttpCrawlerConfig();
crawlerConfig.setStartURLs("http://example1.com", "http://example2.com");
...
collectorConfig.setCrawlerConfigs(crawlerConfig);

HttpCollector collector = new HttpCollector(collectorConfig);
collector.start(true);

Thanks a lot, Pascal for your immediate response.

No problem!


Add BIP39 support to Ethereum

Summary

Port BIP39 from Bitcoin to Ethereum
Implement test suite for Ethereum BIP 39 derivation

Implemented in 3abea50497886de40ce5726efbd66e8807d99bf9 along with refactor of wordlists to sit in model going forward


when using --router and --redux you don't get hot module replacement for reducers

closed by 7e70784cee02858e73adb722f3e72b6276de6249


Is there any delegate method to move to any particular date based upon user choice?

I am using this library for having custom calendar. Is there any option for moving to any specific date as per user choice?

calendar.setCurrentPage


Scala 2.12 support

Scala 2.12.0-M1 is released today:
http://www.scala-lang.org/news/2.12.0-M1
To test this version, we need a scalatest library built for Scala 2.12, because most of my projects use scalatest. Could you provide a library for Scala 2.12.0-M1?
Thanks in advance.

Just got off a plane. Will do a build now.

Voila:
https://oss.sonatype.org/content/groups/public/org/scalatest/scalatest_2.12.0-M1/2.2.5-M1/
Let me know if there are any problems with it.

Thanks for the quick work!
It worked without any problem :)

You're welcome. Glad to hear it works on 2.12.0-M1!


Distribution of contribution periodicity

How would we know how often an individual would need to contribute in order to be considered 'Active' in a community?
If a contributor doesn't 'appear' in the logs in some time period but that isn't an irregular cadence of contribution, should they be considered 'drifting away' from the community?
This visualization will look at the population cadence of contribution- with what periodicity are most contribution events?
e.g.
"50% of contributions are separated by as few as 5 minutes or as many as 2 months" and
"it isn't uncommon for an individual to contribute with a period of 9 months- this happens roughly 15% of the time, so we shouldn't consider someone who hasn't appeared in that range of time to have lost interest"
"We'd like to decrease the 50th percentile contribution periodicity- we want contributions to happen more often for  to increase knowledge and process retention"

For repositories that use platform releases, the drifting can be framed as "didn't participate in n contiguous releases" ... and possibly some other factors. When repositories do use platform releases, the development cadence is super clear. When they don't, all we have is the calendar.


Swift 3.0 ?

Update to Latest Syntax please....

I can't get it to work with Swift 3. Has anyone been succesful?

Yes
On 16-Nov-2016 5:48 pm, "Sascha Melcher"<EMAIL_ADDRESS>wrote:

I can't get it to work with Swift 3. Has anyone been succesful?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mnbayan/AutocompleteTextfieldSwift/issues/46#issuecomment-260932349,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALifp1rNaGuoIJ_zZq4urxhUJ6rF-o3Lks5q-vR3gaJpZM4KUqaL
.

Could you please help me with it?

Yes i will but on monday
On 19-Nov-2016 12:10 am, "Sascha Melcher"<EMAIL_ADDRESS>wrote:

Could you please help me with it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mnbayan/AutocompleteTextfieldSwift/issues/46#issuecomment-261607784,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALifp3b3MahueNWvjp-pYWE6mRw9-Osbks5q_fEJgaJpZM4KUqaL
.

Thanks! My main issue is in the fetchAutoCompletePlaces function. The url for Google Places API cannot be used like in Swift 2 anymore. Now I'm using this but it shows STATUS: "unable to read data":
let urlString = "\(baseURLString)?key=\(googleMapsKey)&input=\(keyword)"         let s = NSMutableCharacterSet() //create an empty mutable set         s.formUnion(with: NSCharacterSet.urlQueryAllowed)     //    let s = NSCharacterSet.URLQueryAllowedCharacterSet.mutableCopy() as! NSMutableCharacterSet         s.addCharacters(in: "+&")         if let encodedString = urlString.addingPercentEncoding(withAllowedCharacters: s as CharacterSet) {

How did you make it work on Swift 3?

It worked fine for me, but at first didn't compile. In the fetchAutoCompletePlaces function, change
let result = try JSONSerialization.jsonObject(with: data, options: .allowFragments)
to
let result = try JSONSerialization.jsonObject(with: data, options: .allowFragments) as! Dictionary<String,Any>

Thanks @mloupe that did the job!


Replace 'iPad' with tablet in content that is for both platforms

In content that was written before the Android version 'iPad' is used to refer to the device rather than tablet (mostly in the Teach section). It was noticed by translators.
In the teach...curricula and teach ... assessments sections the content refers to iPads instead of tablets. For example:
https://github.com/LLK/scratchjr-website/blob/ae646dcd8811682672db4cbabf58a5e43330770c/src/views/teach/curricula/animatedgenres/home.jsx#L22-L24

I'm which files exactly are the faults or are they fixed?

@chrisgarrity I could do this if help is still wanted


keep auto trait

Fixes #2637

Added test

Thanks!
(The test is right - modifying the source and target is all that is needed, no changes to code)


Add dataset citations to network pages

Dag asks us to add dataset citations on network pages
Relates to https://github.com/gbif/content-crawler/issues/46

The Living Norway hosted portal is linked to the Living Norway network - and calculating data citations by the network would make it possible to display data citations in the hosted portal.

See also https://github.com/gbif/literature-ws/issues/9

Citations are now shown on network pages


Feature Request: allow exclusion of node_modules when skipLibCheck is false

Search Terms
skipLibCheck node_modules, skipLibCheck
All I've found is this lonely SO post. As that user notes, there are a lot of posts around Angular and excluding node_modules from typechecking on one dimension or another, but they all end up suggesting turning on skipLibCheck.
Suggestion
Allow the exclusion of files in node_modules (regardless of their inclusion in the Project) from lib checking when skipLibCheck is set to false.
Use Cases
I want to be able to typecheck my own .d.ts files without being responsible for all of the types my dependencies import. My local configuration is strict and it may be that the types provided in my packages were not intended strictly, or other configurations in my local JSON run up against the way other packages have written theirs.
I am assuming the counterargument is that it's all-or-nothing, but then why do .ts files that rely on .d.ts files typecheck fine when my .d.ts files are not typechecked? Can't that behavior be applied to definitions in node_modules?
Examples
Not sure how to show an example here. I would like to be able to run tsc --noEmit on my codebase and get errors for my own definitions files without having a bunch of noise from unfixable errors in node_modules/@types etc.
Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
If implemented as some additional flag?
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.
I think so?

It sounds like you're asking for the opposite - a mode for skipLibCheck that says only skip checking of .d.ts files from node_modules?

You're right, that wasn't the right phrasing (I was thinking of skipLibCheck: false—excluded from enabled libCheck).

FWIW I think this ongoing issue is my biggest use case for this flag: Styled-Components automatically includes React-Native types, which duplicate Node types, so if you use Styled-Components and Node, you must skipLibCheck because of a long-standing problem that you have no power to fix

Hey everyone,
Another use-case for this feature comes from nexus.
Nexus has a novel "typegen" feature wherein based on user code a TS types file is generated and via interface-merging is able to imbue static guarantees on otherwise dynamic app code.
We are currently working on making the default disk location for this typegen be<EMAIL_ADDRESS>This allows nexus to provide the typegen DX without any config demands upon the user.
Now, the motivation, for us, for this TS issue, is that nexus typegen would become weaker in the face of skipLibCheck. While [I think] it should still hold up so long as there are no bugs in the typegen itself (nexus lib level integrity), I feel that this TS feature would help maintain user confidence in nexus typegen in situations where they need to skip lib check for just one or two libs in their project.
Hope that makes sense :)

I completely agree with the author.
I am not sure if it would make sense or whether this has any negative effect, but the only way I could make sure my declaration files didn't have any errors, was to rename all .d.ts to .ts, while keeping skipLibCheck=true.
I faced many situations where I did have errors on my .d.ts files to only figure it out once those were then checked by tsc after being renamed.
I might be missing something though.

My use case for this is also related to the styled-components and @types/react-native issue. I'm getting 40 errors.
It does not harm my code, so I would like to ignore all those errors by setting --skipLibChecks: true, while still checking and getting errors for my own .d.ts files inside my src folder.

My use case for this is also related to the styled-components and @types/react-native issue. I'm getting 40 errors.
It does not harm my code, so I would like to ignore all those errors by setting --skipLibChecks: true, while still checking and getting errors for my own .d.ts files inside my src folder.

We discussed this today and decided that its fate is linked to that of https://github.com/microsoft/TypeScript/issues/39231. Currently, we have a fairly coherent posture that .d.ts files are either outputs or they describe the shape of colocated JS (as in libraries), but they’re not inputs to be hand-authored. There are reasons to reconsider that stance, but we would do so altogether, and such a change in perspective would likely address this issue and #39231, but it’s not something we’re actively exploring right now.

I'd propose a new setting

`"skipLibCheck": "external"

which says that any .d.ts file in your files or include pattern is checked, but any .d.ts file that gets into your program via other means is not (e.g. node_modules imports, output .d.ts files from upstream project references)
Thoughts?

We discussed this today and decided that its fate is linked to that of #39231. Currently, we have a fairly coherent posture that .d.ts files are either outputs or they describe the shape of colocated JS (as in libraries), but they’re not inputs to be hand-authored. There are reasons to reconsider that stance, but we would do so altogether, and such a change in perspective would likely address this issue and #39231, but it’s not something we’re actively exploring right now.

What about this kind of types collection? https://github.com/sindresorhus/type-fest

Those files are not exempt from the behavior I described. If you import from type-fest with the compiler option --importsNotUsedAsValues preserve, the output will crash despite not hearing an error from us. When type-fest exposes module .d.ts files that export types, it implies that there are corresponding .js files that export nothing, which is very different from there not being .js files. To correctly reason about a library like type-fest, we would need a completely new concept of a type-only module, which is known to have no runtime counterpart. Alternatively, collections of utility types could choose to declare a global namespace rather than modules, so users would just use tf.EmptyObject instead of importing EmptyObject, for example. But I understand why that feels less desirable. Fortunately, the majority of users have no reason to set --importsNotUsedAsValues preserve, and many folks are writing import type for these imports anyway, so in practice, I don’t think anyone is getting hit by this. But hopefully it explains that yes, even type-fest technically implies the existence of a set of empty .js modules.

We discussed this today and decided that its fate is linked to that of #39231. Currently, we have a fairly coherent posture that .d.ts files are either outputs or they describe the shape of colocated JS (as in libraries), but they’re not inputs to be hand-authored. There are reasons to reconsider that stance, but we would do so altogether, and such a change in perspective would likely address this issue and #39231, but it’s not something we’re actively exploring right now.

I think this is a generally reasonable posture, but if you have to do type augmentation, that needs to be done by hand and is 100% an exception to the whole "[.d.ts] are not inputs to be hand-authored"
I don't have any particular interest running typechecking on .d.ts files that are emitted by tsc, but I 100% want type checking in my src/type-augments.d.ts file

I have also wished to have more nuance around skipLibCheck... a frequent issue I've encountered is a breakage in typedefs from a library because, for example, the library (or one of its transitive dependencies') author changed typescript versions and the vended types are no longer compatible with my project's (lower) typescript version.
I only wish to skipLibCheck for that particular portion of my dependency graph - that upsets the compiler

Coming here from https://github.com/microsoft/TypeScript/issues/43140.
I am trying to enable project references in Babel to speed up incremental type checking, and this is being a partial blocker.
We cannot use skipLibCheck, because we have multiple manually-written .d.ts files that need to be checked. When migrating to project references, type checking gets more than 3x slower:

"monolithic project" with skipLibCheck: false takes ~3 minutes
project references with skipLibCheck: false takes ~10 minutes
project references with skipLibCheck: true takes ~3 minutes

As a workaround, we are probably going to use skipLibCheck: true in most projects expect for the ones that contain manually-written .d.ts files, but:

it still incurs in a ~20 seconds performance penalty for each project that has skipLibCheck: false
it's easy to accidentally forget to set skipLibCheck: false in a project when adding a .d.ts file.

That difference seems surprising. Do you have an active PR/branch with the above I could test?  I was thinking it might be https://github.com/babel/babel/pull/16416 but that doesn't actually seem to be it.

I fully agree with this. Another (admitted niche) user case: I'm using https://github.com/Tencent/puerts. It's a Javascript/Typescript runtime for Unity. To access C# runtime from Typescript, it generated *.d.ts from C# classes. However, in most case you'd like to draw a clear line between C# codebase and Typescript codebase, and therefore only wants to generate *.d.ts for a few classes that "glue" between C# and TS.
Obviously, it would cause some unresolvable symbols in those generated *.d.ts, and it's totally fine. But I'd still like to check other manually written *.d.ts.

Hello @RyanCavanaugh  @andrewbranch , is there any intention to review these types of cases? There are a lot of issues referencing these behaviours but nothing concrete is achieved. There are a lot of use cases for having this property skipping folder patterns, something like skipLibCheck: ["node_modules/", "./src/undesired_handwritten.d.ts"].
Even working with project references is a nightmare when it comes to monorepos (widely used today). I feel that no one has paid attention to specific behaviors that typescript has (or ignores them) otherwise the community would have stopped using typescript a long time ago.
There are some big gaps in the explanations of how tsconfig files actually work. I absolutely believe that more than 90% of the community believes that an exclude: ["node_modules/"]   is saying that typescript will not check for files in that folder so they are ignored even though the documentation explains it. Configuration properties names must convey their intent, which tsconfig files do not.
There are problems when dealing with typescript projects from different environments (or intentions), such as whether I want to verify source, tests, storybook, e2e, build or node files. I'm almost sure people think that adding a tsconfig.node.json
will actually check the types of your included files (unless you specify that file in the tsc command). We don't have a clear way to check everything at once avoiding type collisions, configurations, without using the annoying, unpredictable, slow and almost undocumented project references. On many occasions I have seen proposals and suggestions from the community, such as an override per environment in a single tsconfig.json file, but I feel that everything the community suggests is still being ignored, even if it solves real problems .
We must do something

@KevinGhadyani-Okta Use declare global { ... } instead of the .d.ts extension. Same thing but not affected by skipLibCheck.


removed new line on closing element

removed new line on closing element.
Fixes: https://github.com/stringham/angular-template-formatter/issues/2

This needs to be a configurable option similar to useSpaces or indentWidth

done! 👍

should be fine now i guess :)


WFLY-19994 Micrometer upgrade to 1.14.1 causes regressions with security manager

Resolves
https://issues.redhat.com/browse/WFLY-19994

@jasondlee Is this a pretty bad coincidence that this has failed org.wildfly.test.integration.observability.micrometer.multiple.MultipleWarTestCase(standalone-enabled-microprofile-test).checkPingCount twice? Can you please check that? Perhaps kick a rerun..?
I see it failing before too:
https://ci.wildfly.org/test/-3337280265004991669?currentProjectId=WF_PullRequest&expandTestHistoryChartSection=true&orderBy=status&order=desc
https://ci.wildfly.org/test/1135486516421508788?currentProjectId=WF_PullRequest&expandTestHistoryChartSection=true&orderBy=status&order=desc

There's a complete retest running but I'm not going to wait for it to complete. MultipleWarTestCase has passed on the SM job on the retest.

Thanks @rhusar and @jasondlee