Multiple dex files define various Java classes

Exporting project from Unity (android) creates file unity-classes.jar in *\android\UnityExport\libs*
This file contains several classes which are obviously needed. For example bitter\jnibridge\JNIBridge.class or com\unity3d\player\UnityPlayer.class. Now issue is that same file (with slightly different content of course) is also in *\node_modules\react-native-unity-view\android\libs*
When running "react-native run-android" command, task ':app:transformClassesWithDexForDebug' FAILS with note "Multiple dex files define Lbitter/jnibridge/JNIBridge$a;". Removing bitter from react-native-unity-view unity-classes.jar file solves this particular duplicate but then of course there are many others.
Basically problem is that java files in src directory of both UnityExport and react-native-unity-view are importing com.unity3d.player.* from different packages (package com.reactnative.unity.view; and package com.company.project;) what is ok, but gradle doesnt like duplicated classes.
What would be solution or workaround for that?

Maybe  unity-classes.jar in UnityExport is different with unity-classes.jar in react-native-unity-view.
My Unity Verison is Unity 2017.2.0f3 (64-bit).  You can try copy unity-classes.jar to another.

It is different.. react-native-unity-view has different java classes than my exported one but most of them are the same..
what I did is, that I changed path to unity-classes.jar file in build.gradle of react-native-unity-view so it uses one from UnityExport.. I can probably also combine and repackage them in gradle
dependencies {
    compile fileTree(dir: '../../../android/UnityExport/libs', include: ['*.jar'])
    compile 'com.facebook.react:react-native:+'
}

@hicotech  thank you

@f111fei exactly same happens while I upgraded unity from 2020.2.1 to 2020.2.2
after updating it from unity installation folder ,it works properly


[Linguistics] Add conversation frame

Conversation frame should be the specific context to that conversation.
Eg.: In a trade, frame should have a buyer, a seller, and a product (with a price).
Reference: https://www.topbots.com/4-different-approaches-natural-language-processing-understanding/

Strongly related to this: https://getpocket.com/explore/item/this-is-how-tiny-changes-in-words-you-hear-impacts-your-thinking

Current code has a draft for frames (including triples).


Update README.md

NSMutabelDeepLink > DPLMutableDeepLink

@lapfelix Great catch. Thanks!

Hey, @lapfelix could you possibly sign our CLA ahead of getting this merged?
The CLA is an unfortunate necessity operating open source libraries as part of a company :smile:
https://docs.google.com/forms/d/1WHFWnzz5OL8c9o49KgpgyERzQUQajX5p8_80YLCghds/viewform?usp=send_form

Sure ! I just did it
It's really weird to do this only for a readme edit, haha

Coverage remained the same at 95.86% when pulling ea39af79334aea95eccd63bf358e4a994606101d on lapfelix:patch-1 into a829613521b5094767a1540f67af283a82d6adf0 on usebutton:master.

@lapfelix Thanks. I know, but hopefully you'll contribute more :smile:


Show real ping of each player

Some way that does not ping always on 20 or 41 as if I had good signal?, since I use a score board I would like you to dial the real ping of each player, but with the Waterdog always marks it with good ping

Hi, If player is joined thought proxy, ping from player#getPing() is actually ping between proxy and server. If you wish to get real ping, use PluginMessages system. You can read more about it in Bungeecord docs.


Support filtered Include not Global as per #1833

Many have asked but I can't find any Issues other than #1833 but that is for global filters which are great, but not what I (and many others) need. What would be great is to be able to add where clause on an include.
My application has the requirement to be able to return all Modules for an Environment, or vice versa depending on which aggregate root you start on.  The result should also return the Url for the combined module/environment.
I realise this appears like a many-to-many which I know is not supported (yet), but it's not, it's a one to many to one.
I have 7 such instances in this context and finding a good solution to this structure is eluding me with ef7.
Steps to reproduce
Not a repro but this is what I'd like to do in LINQ:
Table 1: Environment
Id
Name
Table 2: EnvironmentModule
EnvironmentId
ModuleId
Url
Table 3: Module
Id
Name
Select e.Name, m.Name, em.Url
From Environment e
  Inner Join EnvironmentModule em On e.Id = em.EnvironmentId
  Inner Join Module m On m.Id = em.ModuleId
Where em.ModuleId = 3

Example Linq:
_context.Environments.Include(e=>e.EnvironmentModule.First(em=>em.ModuleId==moduleId)).ThenInclude(em=>em.Module);
or  better still: _context.Environments.Include(e=>e.EnvironmentModule).ThenInclude(em=>em.Module).Where(e.EnvironmentModule.ModuleId==moduleId);
If there is something that can achieve this please let me know because I've been working on numerous hacks to make it work including a direct SQL hack via:
_context.Environments.FromSql("...")
I realise I could also start with the EnvironmentModule as the root and just include the others but I have kept the description simple to show the issue.  The user can also add filters and the service can add yet others, like Environment.Name == "DEV" or Module.IsActive or Url != "https:". So whichever way you twist the includes or where constructs, the problem exists.
Further technical details
EF Core version: 2.0.3
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows 10 64
IDE: Visual Studio 2017 15.8 preview 4

@Allann #1833 is still there to track specifying inline filters in Include. The reason we mention global filters in that issue is that we have found many related customer scenarios what can be addressed with global filters, and we want customers voting for #1833 to first consider if global filters would work for them.
Based on that, I am going to close your issue as duplicate of #1833, but I also wanted to mention that filtered include will likely be just "syntax sugar" for queries that you can already write without it. For your example, I would try something like this:
_context.Environments
    .Where(e => e.Name == "DEV")
    .Select(e = > new
        {
            Environment = e,
            Modules = e.EnvironmentModules
                .Where(em => em.ModuleId==moduleId && em.Module.IsActive)
                .Select(em => em.Module)
                .ToList(),
            EnvMods = e.EnvironmentModules
                .Where(em => em.ModuleId==moduleId && em.Module.IsActive)
                .ToList(),
        });

The obvious goal for whatever syntax we come up with for filtered include is to reduce the amount of redundant code you need to use in the query.


ul and ol description is backwards

Just wanted to point out that the < ol > and < ul > tags are backwards in the list description (http://milligram.github.io/#lists)
"The unordered list use < ol > element will be marked with a outline circles, the ordered list use < ul > element"

Appears to be fixed.

Hello @smullarkey
Thanks for attention!


Add new feature to provide citatation

Given a copied element text, it should perform two features:

If it's a DOI, extract citations for that DOI in APA, BibTex, Chicago Author Date (CAD), Modern Language Association (MLA) and Vancouver formats.

This gives the student/researcher options to choose as they may need per their requirements.

If it's a simple URL, we just store the URL as the citation.

Collective discussion of the team on which formats are more used and what one should include.
Fixed with 45e8da153b35d8215204e3dfbc7dd83f5e81c60c


Ability to register a new best trial callback to the Study

For example
def new_best(trial: Trial):
	print('optuna is awesome!')

study = optuna.create_study()
study.register_new_best_callback(new_best)
...

Obviously is is possible to poll the database for a new best, but this would make for a nice feature.

Thank you for your feature request.
That is a part of our motivation to implement user-define callbacks of study.optimize() in this PR (https://github.com/pfnet/optuna/pull/480).
Using the callback feature, we can write such callback functions with a few lines of code as follows:
def new_best_callback(study, trial):
    if study.best_trial.number == trial.number:
        print("Trial#{} marked the best score: {}.".format(trial.number, trial.value))

# ...

study = optuna.create_study()
study.optimize(objective, n_trials=10, callbacks=[new_best_callback])

Is it suitable for your use cases?

Perfect!
Many Thanks.

On 24 Sep 2019, at 10:29, Toshihiko Yanase<EMAIL_ADDRESS>wrote:
Thank you for your feature request.
That is a part of our motivation to implement user-define callbacks of study.optimize() in this PR (#480 https://github.com/pfnet/optuna/pull/480).
Using the callback feature, we can write such callback functions with a few lines of code as follows:
def new_best_callback(study, trial):
if study.best_trial.number == trial.number:
print("Trial#{} marked the best score: {}.".format(trial.number, trial.value))
...
study = optuna.create_study()
study.optimize(objective, n_trials=10, callbacks=[new_best_callback])
Is it suitable for your use cases?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/pfnet/optuna/issues/543?email_source=notifications&email_token=AD22GVMKT6R7YWQZNHCLF23QLHFVHA5CNFSM4IZDQXOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7NROFA#issuecomment-534451988, or mute the thread https://github.com/notifications/unsubscribe-auth/AD22GVK7OYDNSOXD3UTT2KTQLHFVHANCNFSM4IZDQXOA.

Let me close the issue. Please re-open if you have further questions or comments.
Thanks.


Expanded view not working in Masonry mode

Checklist:

[X ] I updated to the latest version available
[X ] I cleared the cache of my browser

Release with the issue:
Latest
Last working release (if known):
N/A
Browser and Operating System:
Latest Chrome on latest Windows 11
Description of problem:
When adding a card in masonry mode and clicking on the expand button, the window actually shrinks and cuts off part of the video

Javascript errors shown in the web inspector (if applicable):

Additional information:

@jacauc Expanded works works fine for me in masonry mode -- I use it all the time in Chrome.
I can't really understand that screenshot. Is that the full screen? If yes, why is the "EDIT" button (not provided by the card) so enormous? Do you have anything custom/unusual about your Lovelace / dashboard setup that might not have tested before?
Would it be possible to create a short video of the card not in expanded mode, where you click the button and we see the result?

Hi @dermotduffy
Making a screencast video will be a bit tricky, but here are two more screenshots. One is the default view and the next is after clicking the expand button

That helps, thanks. Can you also hold down your Frigate menu button in the card for a few seconds, and paste the diagnostics that appear into this issue?

{
  "ha_version": "2023.5.0",
  "card_version": "5.0.0",
  "browser": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36",
  "date": "2023-05-04T15:48:21.998Z",
  "frigate_version": {
    "2242f726d569954d97617d42a430c6a5": "4.0.0/0.12.0-da3e197"
  },
  "lang": "en",
  "timezone": "Africa/Johannesburg",
  "git": {
    "build_version": "5.0.0-HEAD+gd7b150a",
    "build_date": "Sat, 22 Apr 2023 17:18:25 GMT",
    "commit_date": "Sat, 22 Apr 2023 10:10:23 -0700"
  },
  "config": {
    "type": "custom:frigate-card",
    "cameras": [
      {
        "camera_entity": "camera.gate"
      },
      {
        "camera_entity": "camera.driveway"
      },
      {
        "camera_entity": "camera.patio"
      },
      {
        "camera_entity": "camera.upstairs_patio"
      },
      {
        "camera_entity": "camera.kitchen_corridor"
      },
      {
        "camera_entity": "camera.kitchen_door"
      },
      {
        "camera_entity": "camera.blikbrein_server_room_cam"
      }
    ],
    "menu": {
      "style": "overlay",
      "buttons": {
        "expand": {
          "enabled": true
        },
        "fullscreen": {
          "enabled": false
        },
        "media_player": {
          "enabled": false
        },
        "substreams": {
          "enabled": false
        }
      },
      "position": "top"
    },
    "view": {
      "dark_mode": "auto",
      "update_force": false,
      "update_cycle_camera": false,
      "scan": {
        "enabled": true
      },
      "default": "live"
    },
    "dimensions": {
      "aspect_ratio_mode": "dynamic"
    },
    "live": {
      "preload": true,
      "controls": {
        "timeline": {
          "mode": "below",
          "style": "ribbon"
        }
      },
      "layout": {
        "fit": "contain"
      }
    },
    "timeline": {
      "style": "stack",
      "media": "clips"
    },
    "performance": {
      "profile": "high"
    },
    "media_viewer": {
      "layout": {
        "fit": "contain"
      },
      "lazy_load": true
    }
  }
}

@jacauc Thank you. Nothing looks obviously wrong there. What is the native size (width/height) of the video stream on a camera where this happens as per your Frigate config? Also does this happen on all cameras, or just one?

In addition to the native stream size question above, can you also include the full raw configuration dump of the dashboard itself, you can get that by clicking on the 'Raw configuration editor' button.

I ask since I still can't get expanded mode to look anything like your second screenshot, so I'm wondering if it's some dashboard (not card) configuration. So far I've tried exactly your HA version and exactly your config and it still works as expected (Chrome v111).

Hi @dermotduffy
Not sure how I get native size of cameras. They are all hikvision and milesight cameras. The problem occurs with all of the cameras.
Some part of my frigate config file which seems to indicate the cameras are 1280x720
ffmpeg:
  # Optional: global ffmpeg args (default: shown below)
  global_args: -hide_banner -loglevel warning
  # Optional: global hwaccel args (default: shown below)
  # NOTE: See hardware acceleration docs for your specific device
  hwaccel_args: []
  # Optional: global input args (default: shown below)
  input_args: -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -c:v h264_cuvid
  #input_args: -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1
  # Optional: global output args
  output_args:
    # Optional: output args for detect streams (default: shown below)
    detect: -f rawvideo -pix_fmt yuv420p
    # Optional: output args for record streams (default: shown below)
    record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an
    # Optional: output args for rtmp streams (default: shown below)
    rtmp: -c copy -f flv

objects:
 track:
   - person
   - car
   - bicycle
   - motorcycle
   - cat
   - dog

detect:
  fps: 10
  width: 1280
  height: 720
  stationary:
    # Optional: Frequency for running detection on stationary objects (default: shown below)
    # When set to 0, object detection will never be run on stationary objects. If set to 10, it will be run on every 10th frame.
    interval: 0
    # Optional: Number of frames without a position change for an object to be considered stationary (default: 10x the frame rate or 10s)
    threshold: 50

snapshots:
  # Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
  # This value can be set via MQTT and will be updated in startup based on retained value
  enabled: True
  # Optional: print a timestamp on the snapshots (default: shown below)
  timestamp: True
  # Optional: draw bounding box on the snapshots (default: shown below)
  bounding_box: True
  retain:
    default: 30

timestamp_style:
  format: "%d.%m.%Y %H:%M:%S"

Below is my raw config
title: Skaife
views:
  - title: Camera
    path: camera
    icon: mdi:cctv
    visible:
      - user: 729e3ae2d57246a7821090254e211
      - user: 0ac269cc5e045aee7a038fa543ab3
      - user: 0603290f049efbcc12bca41bf7445
    badges: []
    cards:
      - show_state: false
        show_name: true
        camera_view: auto
        type: picture-entity
        entity: camera.gate
      - show_state: false
        show_name: true
        camera_view: live
        type: picture-entity
        entity: camera.driveway
      - show_state: false
        show_name: true
        camera_view: auto
        type: picture-entity
        entity: camera.patio
      - show_state: false
        show_name: true
        camera_view: auto
        type: picture-entity
        entity: camera.upstairs_patio
      - show_state: false
        show_name: true
        camera_view: auto
        type: picture-entity
        entity: camera.kitchen_door
      - show_state: false
        show_name: true
        camera_view: auto
        type: picture-entity
        entity: camera.front_gate_birds_eye
      - show_state: false
        show_name: true
        camera_view: auto
        type: picture-entity
        entity: camera.kitchen_corridor
      - show_state: false
        show_name: true
        camera_view: auto
        type: picture-entity
        entity: camera.mancave
      - show_state: false
        show_name: true
        camera_view: auto
        type: picture-entity
        entity: camera.octoprint_2
  - title: New Frigate
    path: new-frigate
    badges: []
    cards:
      - type: custom:frigate-card
        cameras:
          - camera_entity: camera.gate
          - camera_entity: camera.driveway
          - camera_entity: camera.patio
          - camera_entity: camera.upstairs_patio
          - camera_entity: camera.kitchen_corridor
          - camera_entity: camera.kitchen_door
          - camera_entity: camera.blikbrein_server_room_cam
        menu:
          style: overlay
          buttons:
            expand:
              enabled: true
            fullscreen:
              enabled: false
            media_player:
              enabled: false
            substreams:
              enabled: false
          position: top
        view:
          dark_mode: auto
          update_force: false
          update_cycle_camera: false
          scan:
            enabled: true
          default: live
        dimensions:
          aspect_ratio_mode: dynamic
        live:
          preload: true
          controls:
            timeline:
              mode: below
              style: ribbon
          layout:
            fit: contain
        timeline:
          style: stack
          media: clips
        performance:
          profile: high
        media_viewer:
          layout:
            fit: contain
          lazy_load: true
  - theme: Backend-selected
    title: Driveway
    path: events
    badges: []
    cards:
      - square: false
        columns: 2
        type: grid
        title: Driveway
        cards:
          - show_state: false
            show_name: true
            camera_view: auto
            type: picture-entity
            entity: camera.driveway_car
            name: Driveway Car
          - show_state: false
            show_name: true
            camera_view: auto
            type: picture-entity
            entity: camera.driveway_person
          - show_state: false
            show_name: true
            camera_view: auto
            type: picture-entity
            entity: camera.driveway_motorcycle
          - show_state: false
            show_name: true
            camera_view: auto
            type: picture-entity
            entity: camera.driveway_bicycle
      - square: false
        columns: 2
        type: grid
        title: front_gate_birds_eye
        cards:
          - show_state: false
            show_name: true
            camera_view: auto
            type: picture-entity
            entity: camera.gate_car
            name: Car
          - show_state: false
            show_name: true
            camera_view: auto
            type: picture-entity
            entity: camera.gate_person
            name: Person
          - show_state: false
            show_name: true
            camera_view: auto
            type: picture-entity
            entity: camera.gate_motorcycle
            name: Motorcycle
          - show_state: false
            show_name: true
            camera_view: auto
            type: picture-entity
            entity: camera.gate_bicycle
            name: Bicycle
  - theme: Backend-selected
    title: Gate
    path: gate
    badges: []
    cards:
      - square: false
        columns: 2
        type: grid
        title: Gate
        cards:
          - show_state: false
            show_name: true
            camera_view: auto
            type: picture-entity
            entity: camera.gate_car
          - show_state: false
            show_name: true
            camera_view: auto
            type: picture-entity
            entity: camera.gate_person
          - show_state: false
            show_name: true
            camera_view: auto
            type: picture-entity
            entity: camera.gate_motorcycle
          - show_state: false
            show_name: true
            camera_view: auto
            type: picture-entity
            entity: camera.gate_bicycle
          - show_state: false
            show_name: true
            camera_view: auto
            type: picture-entity
            entity: camera.gate_cat
          - show_state: false
            show_name: true
            camera_view: auto
            type: picture-entity
            entity: camera.gate_dog
  - theme: Backend-selected
    title: Camera Events
    path: camera_events
    badges: []
    cards:
      - type: custom:frigate-card
        cameras:
          - camera_entity: camera.gate
          - camera_entity: camera.driveway
          - camera_entity: camera.patio
          - camera_entity: camera.kitchen_corridor
          - camera_entity: camera.kitchen_door
          - camera_entity: camera.upstairs_patio
        view:
          default: clip
          camera_select: clip
        menu:
          buttons:
            frigate:
              enabled: false
            clips:
              enabled: true
            snapshots:
              enabled: true
            image:
              enabled: true
            download:
              enabled: true
            frigate_ui:
              enabled: false
            fullscreen:
              enabled: false
          button_size: 30
          style: overlay
          position: top
        live:
          preload: false
          transition_effect: none
          controls:
            next_previous:
              style: chevrons
            title:
              duration_seconds: 0
        media_viewer:
          controls:
            title:
              duration_seconds: 0
  - theme: Backend-selected
    title: Camera Events2
    path: camera_events2
    type: sidebar
    visible:
      - user: 729e3ae2d57246a78210902546d7e211
      - user: 0adc269cc5e04715aee7a038fa543ab3
      - user: 0603e97290f049efbcc12bca41bf7445
    badges: []
    cards:
      - type: custom:frigate-card
        cameras:
          - camera_entity: camera.driveway
          - camera_entity: camera.front_gate_birds_eye
          - camera_entity: camera.patio
          - camera_entity: camera.kitchen_corridor
          - camera_entity: camera.kitchen_door
          - camera_entity: camera.gate
          - camera_entity: camera.mancave
          - camera_entity: camera.upstairs_patio
        view:
          default: snapshots
          camera_select: snapshots
          update_cycle_camera: true
        menu:
          buttons:
            frigate:
              enabled: false
            live:
              enabled: false
            clips:
              enabled: true
            snapshots:
              enabled: true
            image:
              enabled: true
            download:
              enabled: true
            frigate_ui:
              enabled: false
            fullscreen:
              enabled: false
          button_size: 50
          style: outside
          position: top
        live:
          preload: false
          transition_effect: none
          controls:
            next_previous:
              style: chevrons
            title:
              duration_seconds: 0
          draggable: false
          lazy_load: false
        image:
          refresh_seconds: 5
  - theme: Backend-selected
    type: panel
    badges: []
    cards:
      - type: custom:frigate-card
        cameras:
          - camera_entity: camera.driveway
            live_provider: frigate-jsmpeg
          - camera_entity: camera.gate
            live_provider: frigate-jsmpeg
          - camera_entity: camera.kitchen_corridor
            live_provider: frigate-jsmpeg
          - camera_entity: camera.kitchen_door
            live_provider: frigate-jsmpeg
          - camera_entity: camera.mancave
            live_provider: frigate-jsmpeg
          - camera_entity: camera.patio
            live_provider: frigate-jsmpeg
          - camera_entity: camera.upstairs_patio
            live_provider: frigate-jsmpeg
          - camera_entity: camera.front_gate_birds_eye
            live_provider: frigate-jsmpeg

I currently do not have any additional ideas here, nor anyone else reporting this behavior. I can take your dashboard config (change the entities to my own cameras), and the expanded button works just fine on a fresh Chrome browser.
Is it possible you have styling being applied by something else? (e.g. card-mod setup, other resources being applied to your Lovelace configuration, etc)?

Closing this as unactionable/non-reproducible. If anyone has new information, or also experiences this issue, please contribute and we can revisit/reopen.


when turn resnet101 to resnet18 and resnet34 in ctrbox_net.py(line13), got problem!!

RuntimeError: Given groups=1, weight of size [1024, 2048, 3, 3], expected input[8, 512, 32, 32] to have 2048 channels, but got 512 channels instead

only could support resnet50 when i do change nothing esle parameters.

Because resnet101 and resnet50 both share the same output channel 2048.  To apply resnet18, you may change the channels here https://github.com/yijingru/BBAVectors-Oriented-Object-Detection/blob/11dad9aefab65f68f9330824980ee0c08bdb7234/models/ctrbox_net.py#L14
For example:
  self.dec_c2 = CombinationModule(128, 64, batch_norm=True)
  self.dec_c3 = CombinationModule(256, 128, batch_norm=True)
  self.dec_c4 = CombinationModule(512, 256, batch_norm=True)

(note channel is related with resnet layer1-4, you may test it first)
https://github.com/yijingru/BBAVectors-Oriented-Object-Detection/blob/11dad9aefab65f68f9330824980ee0c08bdb7234/models/resnet.py#L211


Fixed Unknown prop dispatch warning for Fieldset

Thanks! Would you mind fixing the lint errors? (run npm run lint to see them) It's just missing a trailing comma.

sure :)


Renaming et al - not for submission just yet

This handles:

Renaming multiple APIs
Using resource names
Using the new GAX and page-streaming

We shouldn't submit until the names are 100% committed though - which may also involve adding Logging to the mix.

Done in #599.


Adding additional namespace specifics

This allows each of these commands to be run and not error out.

Thanks for the submission @mike10010100 . The scripts in tests/ directory are for CI, and when we setup CI, we switch context to ripsaw so thus this won't be necessary at all.

Ah, I see. Fair enough. It was more that 90% of the scripts have this explicit --namespace ripsaw specification, but these did not. It also allows people to run all of the tests locally on their machines.

Ah I see what you mean, that's a fair point. I've just went over the other scripts and you're right, the others have the --namespace but these don't. I'll go ahead and merge the PR. Thanks again for the contribution.

Thank you! Love the project!
On Mon, Jun 24, 2019, 10:49 AM Aakarsh Gopi<EMAIL_ADDRESS>wrote:

Ah I see what you mean, that's a fair point. I've just went over the other
scripts and you're right, the others have the --namespace but these
don't. I'll go ahead and merge the PR. Thanks again for the contribution.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cloud-bulldozer/ripsaw/pull/110?email_source=notifications&email_token=AA2YDLB2RI6GAENXIL43QY3P4DNILA5CNFSM4H27HPF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYNFXIQ#issuecomment-505043874,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2YDLDZI46JCXIB7W5BTQLP4DNILANCNFSM4H27HPFQ
.


Use last used position instead of current position

Fixes #31.

I believe this fixes a lot of other issues from methods using get_pose (eg. drawing circles and stuff).


fix: various tag fixes

Description

Move selection to top chips bar, change color
Fix empty slice updates
Don't show checkboxes when logged out
Remove extra options space on tag and slice bar when logged out

Maybe we can separate the fixes in this PR from the style changes? Might take a bit longer to get the style right...

happy to do either - maybe let's discuss Monday morning


This page seems to have been copied and pasted from the Classis Release task

This page's documentation is not complete. The fields in the YAML snippet don't match the field names under the Arguments heading. This page is clearly copy and pasted from the Classic Release task!
The worst example?

There is no YAML field called 'Add Bindings.' And how can I click a button in a YAML file?
This page hasn't been touched since 12/07/2018? And there is no page available for Azure DevOps Server 2020 even though that's what I'm using and the task is available there.
This page needs some serious help.

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

ID: 244121ae-5de4-14cd-a9c3-d9cda5ad0a3b
Version Independent ID: 313238b7-d67b-bc60-1188-cbe305179600
Content: IIS Web App Manage task - Azure Pipelines
Content Source: docs/pipelines/tasks/deploy/iis-web-app-management-on-machine-group.md
Product: devops
Technology: devops-cicd-tasks
GitHub Login: @RoopeshNair
Microsoft Alias: ronai

Related but not duplicate: MicrosoftDocs/azure-devops-docs/issues/10694 - there were duplicate entries in the table. For instance, there are 3 Host name entries in the table, identical except that two are optional. There are 3 hostnameX params in the snippet, but we're left to guess if these are the same.


Add > Scaffolded Item section does not work

When trying to add a scaffolded item to the MvcMovie solution the process fails to complete with the errors as shown in the attached file

So I cant complete the tutorial

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

ID: 1d975a83-1550-b284-d0d8-7fe2ea206ff5
Version Independent ID: 48e81b42-7c2b-afbf-71e6-d4f442a4bd1f
Content: Part 4, add a model to an ASP.NET Core MVC app
Content Source: aspnetcore/tutorials/first-mvc-app/adding-model.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Exit VS and restart. If that doesn't fix it,
use the Report a Problem gesture or Suggest a Feature gesture within VS, which open internal issues for the VS team.

Have had the same problem and it did not work with restarting VS

I had the same issue too, but with some investigation I discovered that I had a malformed appsettings.json file (the final curly brace } was missing. Scaffolding worked fine after that

Thanx  robbkenobi you were spot on, Silly of me not recognize bad formed  json.


[Feature Request] UI: Display ENS name of market creator (if available)

Is your feature request related to a problem? Please describe.
Market-makers wishing to build a reputation for creating well-defined markets must compete with copycats. There is no way for them to "brand" markets except through their address: the only thing presented in the interface that is both user-provided and unfalsifiable.
Describe the solution you'd like
Make a reverse ENS look-up. Legitimate market makers can now advertise themselves by a memorable name.

web3.js doesn't have reverse look-ups yet;
ethers.js does;
web3.py does.

Describe alternatives you've considered
None.
Additional context
None.

To clarify, this should make a reverse (address->name) lookup, followed by a forward one (name->address) to validate.
(It's possible to set any name as a "canonical" one for an address, but it's impossible to set an address for a name without control of the name.)

@tomkysar would be a good one to gitcoin bounty

We won't be doing this but indeed a good bounty candidate!


Journey Search Request

As any User I want to search between created journeys' information so that I can find a journey suitable for me to join.
Mockup

Acceptance Criteria

User assesses to Search request, by pushing "Search for a journey" image at Journey homepage  (US#23).
Procedure of adding To/From trip point shall be the same as for Journey Creation (US#3).
Procedure of adding "Departure time" should be the same as for Select Date and Time (US#2).
"Passengers" edit box shall open a dropdown list with options 1, 2, 3, 4, 5 seats.
Sigh "Do you have baggage with you to transport?" (on the left) should contain 2-options scale: Yes and No.
7.1. IF User chooses "Yes" option, system shall send notification to Driver.
7.2. Notification shall occur at "New Applicant" page (US #5 )
WHEN User pushes Search button, and system found at least one route, system shall transfer User to page with search results (US#13).
IF system didn't find any available route, system shall transfer User to page with search results (US#15).

Assumptions & Constraints

Text boxes shall contain symbol input limit: 100 symbols.

Epic link
E.g.: Epic #100 Epic
Labels to be added
"User story" ("story"), Priority ("pri: ")
Tasks

[ ] sample task.

Move "Do you have a baggage with you to transport?" from 4th screen to next screen because we don’t need any information about baggage on search step (only in request from passenger to driver)

@TetianaLysak Done :-)


Code not working

Version:0.1.9
I can use this key in local curl and it works fine. It is difficult to determine the specific cause of the error based on the information provided in the exception.

I think its due to Service Unavailable (HTTP Code 500) issue.
I fixed the error message. Please try again with version 0.1.10

I think its due to Service Unavailable (HTTP Code 500) issue.
I fixed the error message. Please try again with version 0.1.12

Thank you, I have seen the specific reason for the output. It seems that API access is restricted by region.
{
  "error": {
    "code": 400,
    "message": "User location is not supported for the API use.",
    "status": "FAILED_PRECONDITION"
  }
}

Can you try to change the APIs version to v1 instead of v1beta?
var model = new GenerativeModel(apiKey){ Version = "v1" }
Version v1 doesn't support function calling.


Fix "Return value of Tighten\SolanaPhpSdk\Program::__call() must be of the type array or null, int returned"

If we try to use this code to get the current block value from node, we get error Return value of Tighten\SolanaPhpSdk\Program::__call() must be of the type array or null, int returned.
$client = new Connection(new SolanaRpcClient('api.mainnet-beta.solana.com'));
var_dump($client->getBlockHeight());

This occurr because the magic method expects the result to be an array or null, but int and strings can be returned as well depending on the RPC method called.

Thanks @srdante!


add Al-Pragliola as a member

Pytest output
$ pytest test_org_yaml.py
===================================================================================== test session starts =====================================================================================
platform linux -- Python 3.12.7, pytest-7.4.3, pluggy-1.3.0
rootdir: /home/apraglio/Work/internal-acls/github-orgs
plugins: anyio-4.6.2.post1
collected 1 item

test_org_yaml.py .                                                                                [100%]

====================================================================================== 1 passed in 0.07s ======================================================================================

Sponsoring members
Matteo Mortari - @tarilabs
Contributions

kubeflow/model-registry#426
kubeflow/model-registry#410
kubeflow/model-registry#407
kubeflow/model-registry#341
kubeflow/model-registry#269
kubeflow/model-registry#256
kubeflow/model-registry#425
kubeflow/model-registry#485
kubeflow/model-registry#491
kubeflow/model-registry#508
kubeflow/model-registry#510
kubeflow/model-registry#541
kubeflow/website#3837
kubeflow/website#3922
kubeflow/manifests#2897

@kubeflow/kubeflow-steering-committee for approval and @zijianjoy


⚠ Processors has degraded performance

In 4e0205c, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 51 ms

Resolved: Processors performance has improved in 2520c90.


Transfer of neo4jrb.io domain

Hey guys!
Since I'm not going to be doing any more work for the project, I think it's about time that I handed in my keys to the organization and transferred the neo4jrb.io domain. It was just renewed for another year, which can be my last contribution. I'm not sure who's in charge these days but if we can figure out the most appropriate person to take control of the domain, I'd be happy to transfer ownership. Please let me know.
Chris

Hi @subvertallchris,
our team has taken over the maintenance of neo4jrb. I'm not sure what the plan with the neo4j.io site should be. It has not been maintained for a while. Sounds like an additional large piece of work.
In any case you can hand over to me and we will figure out next steps.
Thanks
Heinrich

Hi Heinrich, good to see you’re still working on it! Send me the email
address you’d like to use as the destination for the transfer and I’ll take
care of it. You can email me directly, if you’d like. Same address as
always.
On Sat, Jan 4, 2020 at 1:42 PM Heinrich Klobuczek<EMAIL_ADDRESS>wrote:

Hi @subvertallchris https://github.com/subvertallchris,
our team has taken over the maintenance of neo4jrb. I'm not sure what the
plan with the neo4j.io site should be. It has not been maintained for a
while. Sounds like an additional large piece of work.
In any case you can hand over to me and we will figure out next steps.
Thanks
Heinrich
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/neo4jrb/neo4j/issues/1580?email_source=notifications&email_token=AA7IJ53VKBL65LMZ3I4Z24LQ4DKA3A5CNFSM4KCXJRMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIC5UOQ#issuecomment-570808890,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7IJ5ZLHJUSHROBFIPWTFLQ4DKA3ANCNFSM4KCXJRMA
.

Hey folks. I'm not sure if this is related to the transfer of the domain or not, but the Rails mapper script is no longer available on GitHub Pages. This breaks all the setup examples I can find in all of neo4jrb's many, many sources of documentation. ;)
From the standard rails new myapp -m http://neo4jrb.io/neo4j/neo4j.rb -O:
http://neo4jrb.io/neo4j/neo4j.rb
=> 404
@klobuczek @amitsuryavanshi - is there a new place I should be looking for this script? Thanks!

@deobald We are working towards updating documentation. Meantime, can you try creating new app with just -O flag and then integrate activegraph into it. The README from activegraph and neo4j-ruby-driver gems would help you.

Cool! Thanks Amit. I had created an app with the -O flag and worked through
the docs. I have a basic setup working now.
On Fri., Apr. 3, 2020, 20:24 Amit Suryavanshi<EMAIL_ADDRESS>wrote:

@deobald https://github.com/deobald We are working towards updating
documentation. Meantime, can you try creating new app with just -O flag
and then integrate activegraph into it. The README from activegraph and
neo4j-ruby-driver gems would help you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/neo4jrb/activegraph/issues/1580#issuecomment-608484896,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAE6OQAKJWTMIOVK3RKNO3RKX2CVANCNFSM4KCXJRMA
.


RangeError: Missing relativeTo

Is this code wrong?
const monthsSinceEpoch = value
  .since(Temporal.PlainDate.from("1970-01-01"))
  .total({ unit: "months" });

Another example:
const weeksSinceEpoch = Math.floor(
  getStartOfWeek(date)
    .toZonedDateTime(now.timeZoneId())
    .toInstant()
    .since(Temporal.Instant.fromEpochMilliseconds(0))
    // "weeks" throws `RangeError: Missing relativeTo` for some reason
    .total({ unit: "milliseconds" }) / millisecondsPerWeek,
);

Btw, thank you for the awesome lib!

Hi @steida , that is part of the spec and is expected behavior... Temporal works with a number of different calendar systems (not just the Gregorian one that you and I are used to), so it requires a little more work. A Duration object on its own is not enough to know how many weeks/months total something is. You need to give it a reference point (aka "relativeTo"). Just give it the first date you have. Something like this:
const epoch = Temporal.PlainDate.from("1970-01-01");
const value = Temporal.Now.plainDateISO();
const monthsSinceEpoch = value.since(epoch).total({ unit: 'months', relativeTo: epoch });

If you'd like to round it to a whole-number right away, you can do this instead:
const integerMonthsSinceEpoch = value.since(epoch, {
  largestUnit: 'month',
  smallestUnit: 'month'
}).months

If the getStartOfWeek function always returns dates that are aligned to the start-of-week, then yes, the returned duration should only ever have a 'weeks' value.
Just curious, where is this getStartOfWeek function coming from?


multiple attandence bug in socket

suppose a user gives attendence more than 1 time then it will be forwarded to room many number of times,
it will be hard for frontend to decide whether to show this in attendence increasing graph or not.
so we take care of it in backend itself to not to broadcast in this case.
Severity: Medium

https://github.com/GDGVIT/AttendanceApp-Backend/pull/14/commits/cdf5c56633e8e36302e167e0a81300e64188e2f3


Could not lock config file

Hitting create again I receive

2023-05-02 09:05:27.059 [debug] CreatePullRequestViewProvider> Creating pull request with args {"title":"Fix classlist undefined ","body":"Fixes #176201","owner":"microsoft","repo":"vscode","base":"main","compareBranch":"lramos15/present-ox","compareOwner":"microsoft","compareRepo":"vscode","draft":false,"autoMerge":true,"autoMergeMethod":"squash","labels":[]}
2023-05-02 09:05:27.138 [debug] GitHubRepository> Create pull request - enter
2023-05-02 09:05:27.138 [debug] GitHubRepository> Fetch metadata - enter
2023-05-02 09:05:27.138 [debug] GitHubRepository> Fetch metadata microsoft/vscode - done
2023-05-02 09:05:27.140 [debug] RateLimit> Extension rate limit remaining: 140
2023-05-02 09:05:27.663 [error] GitHubRepository> Unable to create PR: Error: GraphQL error: No commits between main and lramos15/present-ox
2023-05-02 09:05:37.356 [debug] GitPostCommitCommands> Looking for remote. Comparing 1 local repo remotes with 1 GitHub repositories.
2023-05-02 09:05:37.357 [debug] GitPostCommitCommands> Found a repo when getting post commit commands.
2023-05-02 09:05:37.357 [debug] GitPostCommitCommands> Looking for remote. Comparing 1 local repo remotes with 1 GitHub repositories.
2023-05-02 09:05:37.357 [debug] GitPostCommitCommands> Found a repo when getting post commit commands.
2023-05-02 09:05:37.357 [info] Review> Validate state in progress
2023-05-02 09:05:37.357 [info] Review> Validating state...
2023-05-02 09:05:37.360 [debug] GitPostCommitCommands> Looking for remote. Comparing 1 local repo remotes with 1 GitHub repositories.
2023-05-02 09:05:37.360 [debug] GitPostCommitCommands> Found a repo when getting post commit commands.
2023-05-02 09:05:37.360 [debug] GitPostCommitCommands> Looking for remote. Comparing 1 local repo remotes with 1 GitHub repositories.
2023-05-02 09:05:37.360 [debug] GitPostCommitCommands> Found a repo when getting post commit commands.
2023-05-02 09:05:37.360 [debug] GitHubRepository> Create pull request - enter
2023-05-02 09:05:37.360 [debug] GitHubRepository> Fetch metadata - enter
2023-05-02 09:05:37.360 [debug] GitHubRepository> Fetch metadata microsoft/vscode - done
2023-05-02 09:05:37.361 [debug] FolderRepositoryManager> Not all remotes found. The following remotes are missing: upstream
2023-05-02 09:05:37.361 [debug] FolderRepositoryManager> Displaying configured remotes: origin, upstream
2023-05-02 09:05:37.361 [debug] RateLimit> Extension rate limit remaining: 140
2023-05-02 09:05:37.374 [info] Found GitHub remote for folder /Users/lramos15/upstream/vscode
2023-05-02 09:05:37.374 [debug] GitHubRepository> Fetch metadata - enter
2023-05-02 09:05:37.375 [debug] GitHubRepository> Fetch metadata microsoft/vscode - done
2023-05-02 09:05:37.375 [debug] GitHubRepository> Fetch all issues - enter
2023-05-02 09:05:37.376 [debug] GitHubRepository> Fetch metadata - enter
2023-05-02 09:05:37.376 [debug] GitHubRepository> Fetch metadata microsoft/vscode - done
2023-05-02 09:05:37.377 [debug] RateLimit> Extension rate limit remaining: 139
2023-05-02 09:05:37.377 [debug] GitHubRepository> Fetch metadata - enter
2023-05-02 09:05:37.377 [debug] GitHubRepository> Fetch metadata microsoft/vscode - done
2023-05-02 09:05:37.384 [debug] GitHubRepository> Fetch default branch - enter
2023-05-02 09:05:37.384 [debug] GitHubRepository> Fetch metadata - enter
2023-05-02 09:05:37.384 [debug] GitHubRepository> Fetch metadata microsoft/vscode - done
2023-05-02 09:05:37.385 [debug] GitHubRepository> Fetch default branch - done
2023-05-02 09:05:37.385 [debug] GitHubRepository> Fetch default branch - enter
2023-05-02 09:05:37.385 [debug] GitHubRepository> Fetch metadata - enter
2023-05-02 09:05:37.385 [debug] GitHubRepository> Fetch metadata microsoft/vscode - done
2023-05-02 09:05:37.385 [debug] GitHubRepository> Fetch max issue - enter
2023-05-02 09:05:37.389 [debug] GitHubRepository> Fetch default branch - done
2023-05-02 09:05:37.389 [debug] RateLimit> Extension rate limit remaining: 138
2023-05-02 09:05:37.389 [debug] GitHubRepository> Fetch issues with query - enter
2023-05-02 09:05:37.390 [debug] RateLimit> Extension rate limit remaining: 137
2023-05-02 09:05:37.390 [debug] GitHubRepository> Fetch issues with query - enter
2023-05-02 09:05:37.394 [debug] RateLimit> Extension rate limit remaining: 136
2023-05-02 09:05:38.045 [info] Review> no matching pull request metadata found for current branch lramos15/present-ox
2023-05-02 09:05:38.045 [debug] GitHubRepository> Fetch pull requests for branch - enter
2023-05-02 09:05:38.045 [debug] RateLimit> Extension rate limit remaining: 135
2023-05-02 09:05:38.054 [debug] RateLimit> GraphQL Rate limit remaining: 4629, MaxIssue
2023-05-02 09:05:38.054 [debug] GitHubRepository> Fetch max issue - done
2023-05-02 09:05:38.758 [debug] RateLimit> GraphQL Rate limit remaining: 4631, Issues
2023-05-02 09:05:38.759 [debug] GitHubRepository> Fetch issues with query - done
2023-05-02 09:05:39.387 [debug] RateLimit> GraphQL Rate limit remaining: 4628, PullRequestForHead
2023-05-02 09:05:39.388 [debug] GitHubRepository> Fetch pull requests for branch - done
2023-05-02 09:05:39.391 [info] PullRequestGitHelper> associate lramos15/present-ox with Pull Request #181342
2023-05-02 09:05:39.398 [debug] RateLimit> GraphQL Rate limit remaining: undefined, undefined
2023-05-02 09:05:39.399 [debug] GitHubRepository> Create pull request - done
2023-05-02 09:05:39.402 [info] PullRequestGitHelper> associate lramos15/present-ox with Pull Request #181342
2023-05-02 09:05:39.448 [error] FolderRepositoryManager> Creating pull requests failed: Failed to execute git {
  "exitCode": 255,
  "gitCommand": "config",
  "stdout": "",
  "stderr": "error: could not lock config file .git/config: File exists\n"
}
2023-05-02 09:05:39.934 [info] Review> current branch lramos15/present-ox is associated with pull request #181342
2023-05-02 09:05:39.934 [info] Review> Resolving pull request
2023-05-02 09:05:39.935 [debug] GitHubRepository> Fetch pull request 181342 - enter
2023-05-02 09:05:39.935 [debug] RateLimit> Extension rate limit remaining: 138
2023-05-02 09:05:40.723 [debug] RateLimit> GraphQL Rate limit remaining: 4627, PullRequest
2023-05-02 09:05:40.723 [debug] GitHubRepository> Fetch pull request 181342 - done
2023-05-02 09:05:40.726 [info] Review> Fetching pull request data
2023-05-02 09:05:40.726 [debug] PullRequestModel> Fetch file changes, base, head and merge base of PR #181342 - enter
2023-05-02 09:05:40.726 [info] PullRequestTree> Adding PR #181342 to tree
2023-05-02 09:05:40.726 [debug] GitHubRepository> Fetch metadata - enter
2023-05-02 09:05:40.726 [debug] GitHubRepository> Fetch metadata microsoft/vscode - done
2023-05-02 09:05:40.726 [debug] IssueModel> Fetch viewers latest review commit
2023-05-02 09:05:40.728 [debug] GitHubRepository> Fetch metadata - enter
2023-05-02 09:05:40.728 [debug] GitHubRepository> Fetch metadata microsoft/vscode - done
2023-05-02 09:05:40.728 [debug] RateLimit> Extension rate limit remaining: 138
2023-05-02 09:05:40.761 [info] Review> Register comments provider
2023-05-02 09:05:40.763 [info] Review> Display pull request status bar indicator and refresh pull request tree view.
2023-05-02 09:05:40.763 [info] Review> Using focus mode = true.
2023-05-02 09:05:40.763 [info] Review> State validation silent = true.
2023-05-02 09:05:40.764 [info] Review> PR show should show = false.
2023-05-02 09:05:41.213 [debug] RateLimit> GraphQL Rate limit remaining: 4632, GetMilestonesWithIssues
2023-05-02 09:05:41.215 [debug] GitHubRepository> Fetch all issues - done
2023-05-02 09:05:41.215 [debug] GitHubRepository> Fetch issues without milestone- enter
2023-05-02 09:05:41.215 [debug] RateLimit> Extension rate limit remaining: 138
2023-05-02 09:05:41.229 [debug] RateLimit> GraphQL Rate limit remaining: 4626, LatestReviewCommit
2023-05-02 09:05:41.229 [debug] RateLimit> Extension rate limit remaining: 138
2023-05-02 09:05:41.286 [debug] RateLimit> GraphQL Rate limit remaining: 4630, Issues
2023-05-02 09:05:41.287 [debug] GitHubRepository> Fetch issues with query - done
2023-05-02 09:05:41.714 [debug] RateLimit> REST Rate limit remaining: 4969, /repos/{owner}/{repo}/compare/{base}...{head}
2023-05-02 09:05:41.714 [debug] PullRequestModel> Fetch file changes and merge base of PR #181342 - done, total files 1
2023-05-02 09:05:41.726 [debug] RateLimit> Extension rate limit remaining: 139
2023-05-02 09:05:41.727 [debug] RateLimit> Extension rate limit remaining: 138
2023-05-02 09:05:41.727 [debug] RateLimit> Extension rate limit remaining: 137
2023-05-02 09:05:41.727 [debug] RateLimit> Extension rate limit remaining: 136
2023-05-02 09:05:41.784 [debug] ReviewCommentController> Providing 1 commenting ranges for timelinePane.ts.
2023-05-02 09:05:41.785 [debug] ReviewCommentController> Providing 1 commenting ranges for timelinePane.ts.
2023-05-02 09:05:42.258 [debug] RateLimit> GraphQL Rate limit remaining: 4622, GetPendingReviewId
2023-05-02 09:05:42.278 [debug] RateLimit> GraphQL Rate limit remaining: 4621, PullRequestComments
2023-05-02 09:05:42.279 [debug] RateLimit> GraphQL Rate limit remaining: 4621, PullRequestComments
2023-05-02 09:05:42.291 [debug] RateLimit> GraphQL Rate limit remaining: 4623, PullRequestFiles
2023-05-02 09:05:44.469 [debug] RateLimit> GraphQL Rate limit remaining: 4624, IssuesWithoutMilestone
2023-05-02 09:05:44.471 [debug] GitHubRepository> Fetch issues without milestone - done

error: could not lock config file .git/config: File exists\n

@lramos15 this error is coming from the git extension and from there directly from git. It seems like there's some contention over your git config file. Not much we can do about that.
We shouldn't show that PR creating failed though.

@lramos15 this error is coming from the git extension and from there directly from git. It seems like there's some contention over your git config file. Not much we can do about that.

Yeah not sure what happened. What it seems is that the PR was created, but the auto merge functionality was not enabled even when I checked the box. So maybe a lock must be created to allow for auto merge.

What it seems is that the PR was created, but the auto merge functionality was not enabled even when I checked the box. So maybe a lock must be created to allow for auto merge.

We errored out before the auto merge could be enabled. If we create the PR at all, even if there are errors after, we should indicate that a PR was created so that you don't get the second error when you try to create again.

@alexr00 Is there any good way to verify this? I haven't seen it again, but it was pretty random that I hit it before

@lramos15 I don't know of a good way to verify this. You'd need to have some other process lock the config file then try to create the PR. Verification by code review is fine for this.


Add Mozilla Public License 2.0 to the list of built-in licenses

Cheers!

PING

Because it's you, @sirthias ;-)

Besten Dank Dir!


Fix library name in README

Was referencing adafruit_pypixelbuf

Awesome, I was wondering which came first!  I noticed it a while ago and always meant to come back and fix it.  Thanks for the quick look!


✨

Description
I understand that all the released versions are for alpha test purposes. I want to use/test it but feel uncomfortable with the alpha on app logo. Forgive me for being paranoid about this. If you could remove it or provide a logo without the alpha, it would be greatly apprciated (I can change to the no alpha logo myself in MacOS). It is by far the smallest and fastest code editor I have used (compare to the giant MS vs code).
Many thanks,
Jianshu
Alternatives Considered
No response
Additional Context
No response
Screenshots
No response

Im afraid this isn't something we'll  consider doing. MacOS apps nearly always have an alpha component in their icons and it's even highly suggested by apple themselves to do so.


Use currently documented Incremental Ticket API

Update the Ticket.incremental_export method to use the /api/v2/incremental/tickets.json endpoint per https://developer.zendesk.com/rest_api/docs/core/incremental_export#incremental-ticket-export

+1
Without this fix, tickets.incremental_export(1.hour.ago).include(:users) does not correctly side-load the users resource

we have seen that the incremental_export doesn't actually return the ticket_form_id field and we have to make an individual load to get that to work; i'm thinking this PR might fix that.

+1 this is still an issue

Thank you for your contribution, @c-kII , and apologies for the very long wait. We have merged https://github.com/zendesk/zendesk_api_client_rb/pull/381 which also fixes this issue. Closing this PR.


Rsa keygen updates

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

This pull request is ready to merge

As a side-note, I wanted to mention, what I read here https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-4.pdf
at page 83:

This algorithm requires that N1+N2≤ L – [L/2] – 4. Values for N1 and N2should be chosen such that N1+N2≤ (L/2) – log2(L) – 7, to ensure that the algorithm can generate as many as 5L distinct candidates for p.

This implies that the limits used here https://github.com/openssl/openssl/blob/1a01e5c29dfaf09af3960b4c8e6ec0f8171eda80/crypto/bn/bn_rsa_fips186_4.c#L80-L88
might make it impossible to generate as many as 20L distinct candidates for p.

Doesn't C10 Relate to Provable Primes.. (not probable primes?)

Yeah, but this gives the clue why the values for Probable Primes in Table B1
are chosen this way.
So if p1, p2 are chosen so that len(p1) + len(p2) < 1007,
then I can say that 2p1p2 < 2^1008
If I check this with sage math, how many integers divisible by 2^1008 are between sqrt(2)*2^1023..2^1024
I get
sage: int ((2^1024-1414*2^1023/1000) / 2^1008)
19202

so more than 51024 = 5120 but less than 201024 = 20480.

There is a note at the bottom of page 34 of https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5-draft.pdf that says what the formula is..

Yes, that foot note was already in the previous version, but still without any rationale.
Note that the draft you just referenced changed the limit for nlen = 2047 from "< 1007" to "<= 1007"
I always wondered why the table B1 had apparently a +/-1 error there.
Our limit is still "< 1007" but if it would be changed to "<= 1007" the number of prime candidates drops to 9597:
sage: int ((2^1024 - 2^1023*14142/10000) / 2^1009)
9597

Merged to master and openssl-3.0 branches. Thank you.


Downsample too fast

The 3 layers of conv  with proposed values of stride , pooling .ect.  leads the feature map to be small too fast ( supposed 80*80 input). is there any other settings I missed ?
Thanks a lot

Most of the data pixels in the image are empty so small feature map should not hinder the accuracy or speed. I personally believe stripping away some data was necessary as we are processing images real-time as we perform actions. I have in fact got satisfactory results with an image input of mere 20x40 as well. That being said, please try out and let us know if you find a better configuration. The current training configuration requires at least 1 million steps, which is quite OK in case of reinforcement learning but if we can reduce that somehow that's certainly an achievement.

Thanks for your reply. I am following your codes and try to re-implement with pytorch. I modify  the model to align the architecture as proposed  in the paper  double-dqn.  I have run the loops nearly 20000 but the highest score  is still under 100.  Is it a normal training or should I cease the process  to double check my code  ?

20000 is a small count to judge. I would suggest keep it for another 20000. If you see no progress, check your code.


Adding unit tests for the cache.

Fixed a few bugs in the cache.

Ping @vmarmol

LGTM, I thought some of those changes had been made for some reason.

PTAL.

LGTM, thanks @vishh!


Hwo to use custom sql

Does it support custom sql like pirsma.query.select(‘select * from user’)

Hey @f89688563, we will provide more information on this soon in #2052. :slightly_smiling_face:


Deprecation warning: .Site.Social

Hi again!
On my last rebuild of  my blog I got this warning from hugo:
hugo v0.133.1-47d00202e7e61769ce4d14691e43b27852c9cce4 linux/amd64 BuildDate=2024-08-26T13:58:46Z VendorInfo=gohugoio

WARN  deprecated: .Site.Social was deprecated in Hugo v0.124.0 and will be removed in a future release. Use .Site.Params instead.

I’ve seen that .Site.Params is used a lot already in your theme, so I’m not sure how to tackle this, and I thought I’d let you know.
For reference, here’s how I build my blog: https://github.com/panchoh/panchoh.github.io
TL;DR: Content is stored in an org file, which is exported to markdown by Emacs, handled by a GitHub Action.
Thanks again for your theme, it’s aweeeeeeesoooooome! :-)

See this commit. Seems it is a move from site.Social to site.Params.social.

Ah, documented here.

Seems that .Site.Author has gone the same route. See here as well.

Ditto for .Site.GoogleAnalytics.
Also for .Site.DisqusShortname, but this is not in use in this theme.


Add more keyboard shortcuts

We have a few POC keyboard shortcuts implemented for opening/closing tabs. Let's add more!

List of keyboard shortcuts: https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-quickly


Casting a finite type to a finite type is not allowed even when there is an intersection in value spaces

Description:
$title.
type Foo "foo"|1;
type Bar "bar"|1;

public function main() {
    Foo f = "foo";
    Bar b = <Bar> f;
}

Currently fails at compile time.

Need to also allow the type test/guard:
import ballerina/io;

type Foo "foo"|1;
type Bar "bar"|1;

public function main() {
    Foo f = "foo";
    if (f is Bar) {
        io:println(f); // f will be `1` here
    }
}


isPercentage adds % to all rows in DataTable and DynamicDataTable

https://github.com/EQWorks/react-labs/blob/b5bab03bf36961c7b7392f5b71c0b6a4004c20dd/src/data-table.js#L75
isPercentage adds % to all rows in DataTable and DynamicDataTable when true

this is where https://github.com/EQWorks/react-labs/pull/6 came from, and where i then introduced https://github.com/EQWorks/extended-semantic-components/tree/master/src/data-table which has per-column config
this is not a bug that can be fixed through the current way how columns are configured. but ^ can be a reference implementation to be ported over for a more comprehensive and generic data table solution


[FEATURE] Horizon client tracking via request headers

Priority
Normal
Description
As @ire-and-curses described in #47, the SDK should identify itself via specific fields in the request headers.
This PR implements a simple way to attach those headers to every request sent to Horizon.
Right now, the SDK will send the following data:
X-Client-Version: <SDK VERSION>
X-Client-Name: com.soneso.stellarsdk
In addition to this, I'm sure it would be useful to identify the specific application that uses the SDK, so I've also attached a field X-Client-Application: <Host application Bundle ID> that can be used to identify the specific project using the Soneso SDK. Happy to change that to a different header field if there is one, @ire-and-curses.
Finally, since it's now imperative that the SDK send the correct version along with requests, we need to be using the .podspec version inside the Info.plist file, but there's no simple mechanism to do so...
Because Cocoapods and Xcode have no integration, I've written a simple build script run phase that ensures the Podspec version matches the CFBundleShortVersionString property in the Info.plist file.
I'd love if either maintainer from Soneso @chelemen-razvan or @christain-rogobete could chime in on the strategy for versioning! Maybe there's a better way...
Output
(lldb) po urlRequest
▿ https://horizon-testnet.stellar.org/accounts/AAAAA
  ▿ url : Optional<URL>
    ▿ some : https://horizon-testnet.stellar.org/accounts/AAAAA
      - _url : https://horizon-testnet.stellar.org/accounts/AAAAA
  - cachePolicy : 0
  - timeoutInterval : 60.0
  - mainDocumentURL : nil
  - networkServiceType : __C.NSURLRequestNetworkServiceType
  - allowsCellularAccess : true
  ▿ httpMethod : Optional<String>
    - some : "GET"
  ▿ allHTTPHeaderFields : Optional<Dictionary<String, String>>
    ▿ some : 3 elements
      ▿ 0 : 2 elements
        - key : "X-Client-Application"
        - value : "com.soneso.stellarsdkTests-Host"
      ▿ 1 : 2 elements
        - key : "X-Client-Name"
        - value : "com.soneso.stellarsdk"
      ▿ 2 : 2 elements
        - key : "X-Client-Version"
        - value : "1.6.1"
  - httpBody : nil
  - httpBodyStream : nil
  - httpShouldHandleCookies : true
  - httpShouldUsePipelining : false

Hi Nick,
thank you for adding the fields to the request header. I will review it this weekend and let you know.
Best
Chris.

Awesome. Thanks for taking the time to add this. :+1:


Every hours or around client hang sync and farming!

Everytime the client hang, stop to work  i need to close all process manually and restart it after some hours again stop to work. What can i do?

I have the same thing every 23 minutes, please help !!!!

For me, its exactly the same ( Windows Client). Other similar programs are running well without problems.

I am having the same issue, every so often, maybe every hour or two it just gets stuck on a block and doesn't keep syncing even thou it still says farming and synced.   I have to close and reopen spare coin to get it to sync correctly and farm again for a few hours.

is it just a bug in the last attempted proof section and its actually still farming correctly but just not showing updates until restarted, can anyone confirm this thanks!

is it just a bug in the last attempted proof section and its actually still farming correctly but just not showing updates until restarted, can anyone confirm this thanks!

I cannot confirm that! I know only that there are many process open wallet node harverter and if i restart it after half hour it will be Not Synced so i suppose that not farm?!

same issue , disconnect frequently

My client work for more 12h without problems, i have changed target_peer_count: to 80 in config.yaml and restart. Try and tell me!

Ok i try,  thnx

My client work for more 12h without problems, i have changed target_peer_count: to 80 in config.yaml and restart. Try and tell me!

this is a new method, i will try.

My client work for more 12h without problems, i have changed target_peer_count: to 80 in config.yaml and restart. Try and tell me!

Did not fix it for me.

i do 80 , 8 , change rpc wallet port to 9956 because 9256 is in use from chia , but 1100 plots 0 rewards , spare is a mystery

i do 80 , 8 , change rpc wallet port to 9956 because 9256 is in use from chia , but 1100 plots 0 rewards , spare is a mystery

Right also for me last 2 days without rewards! Anyone have resolved the hang problem? If not try also "enable_upnp: false"

My client work for more 12h without problems, i have changed target_peer_count: to 80 in config.yaml and restart. Try and tell me!

Yes this worked for me, and others, do this to fix this issue!

同样的问题


Android-Java 3.4 : Android-Share-App-Data

Description 📜
Documentation for Sharing the data between State and intent in the apps.

Domain of Contribution 📊

[x] Android Dev (Java)

Can I work on this issue ?

/assign

/assign


User can open multiple content blocks' CKEditors which doesn't work

You place multiple content blocks into a page.
Site editors can open multiple content block at the same time.
When the editor closes one of the content block, they will lose all content data.
I think we should have a check that if there is other content block being edited, they should not be able to edit the block at the same time. OR they will be able to edit multiple content blocks.

Duplicate of #3039 ?

Seems related but #3039 doesn't look to specifically reference CKEditor.

@BloodyIron  that's because it's not a ckeditor issue, it's an inline editing block issue IIRC. There's just not a ton of blocks that use inline editing so it's less apparent. Either way a fix for one of these issues would fix them both I think.

Oh it's duplicate issue. Thx.


Pickling OpenFile object ignores newline attribute

When pickling OpenFile objects, the newline attribute is not persisted. This causes issues on Windows, where a value of None inserts an additional \r when using the file with a stream already containing correct line termination.
import fsspec
import pickle

def main():
    test = fsspec.open(__file__, newline=b"")

    pickled = pickle.dumps(test)
    restored = pickle.loads(pickled)

    assert test.newline == restored.newline
    return

if __name__ == '__main__':
    main()

Is there an underlying reason as to why this is not pickled, or was it simply missed during the addition of the newline attribute?

Thanks for the report. I assume this is related to https://github.com/dask/dask/issues/6313?

Yes, adding the newline to the attributes being pickled solves the issue for me locally. Was curious if there was a reason for it not being included by default, or of it was an oversight.

This is definitely an omission


Add a TLS configuration option to disable TLS session tickets

Hi, would it be possible to add a Caddyfile option to disable TLS session tickets? According to Filippo Valsorda's blog post We need to talk about Session Tickets they they have several flaws and are problematic for Perfect Forward Secrecy. At the moment, there is no way to disable them from Caddy's TLS config without editing the source code.
Ideally this could be done via the TLS config, something like this could be good:
example.com {
	root /var/www/example.com
	tls {
		disable_session_tickets
	}
}

I was thinking about this too.
I hope you don't mind the notification @FiloSottile. What do you think Caddy should do here? Since this issue is based on your opinion post, I think it's worth asking for your input.

I do not think disabling them is really necessary for most threat models. Regrettably, the article doesn't mention this directly (although the linked paper does), but Caddy rotates STEKs every few hours. It doesn't dispose of old ones (the mechanisms did not exist in the Go standard lib back when it was implemented to make this easily possible -- technically, it used to be racy too; only recently did Go make it thread-safe, which Caddy now uses) but the rotation alone still makes it very difficult to conduct a coordinated attack against a targeted session using session tickets.
My understanding is that TLS 1.3 will more or less resolve this by not using session resumption, instead utilizing a PSK mode.
Gonna close this issue on that note, but the discussion can go on if necessary (or if Filippo would like to comment, always welcome here!).

Matt is right, Caddy was not the target of the article because indeed it rotates by default, but even more importantly because it has no support for multi-machine key syncing, which is what makes the key easier to persist and more valuable to steal.

Would it be possible to limit TLS session resumption to TLSv1.3?


Remove the auto capitalize features in ParsingError

:tada: This issue has been resolved in version 1.13.0 :tada:
The release is available on:

npm package (@latest dist-tag)
Visual Studio Marketplace
GitHub release

Your semantic-release bot :package::rocket:


Make it easier to set things up for attach.

In #1379 I brought up ways that attach needs more clarity.  One question is what needs to be set up first in order to attach.  For localhost, connecting to a "pristine" PID (if that were supported) wouldn't require any extra set up.  However, just about every other case of attach would.  Here are some possible mechanisms:

ssh
some other remote daemon we provide (exposing https, for instance)
launch-detached
launch-attached

As far as I can tell, the extension does not provide a clear way to set things up, such that the user could then attach.  Some ideas:

alert, console msg, etc.:  "Run this script on the target host to enable attaching the debugger."
a "set up for attach" UI element
a "set up" checkbox/button/link in the attach UI element (see #1378)
a "launch-detached" or "launch-attached" launch config

auto-add a launch config that attaches to that debugger

a registry of known "attachable" processes?  (or discovery of such)
extension config options for supported hosts/ports (or hosts/PIDs)

Environment data

VS Code version: 1.22.1
Extension version (available under the Extensions sidebar): 2018.3.1
OS and version: Ubuntu 16.04
Python version (& distribution if applicable, e.g. Anaconda): n/a
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): n/a
Relevant/affected Python packages and their versions: n/a

Actual behavior
see above
Expected  behavior
see above
Steps to reproduce:
n/a
Logs
n/a

@ericsnowcurrently 	@brettcannon @qubitron
Is this issue resolved? I think we need to break this down into specific items. This was initially filed as a brain dump, now we need to review the concerns and create separate issues for each if necessary.

Yes, this all requires a spec from @qubitron and I think the current plan is to tackle SSH first.


Delete Project#accepting_observations

Deletes column which was made obsolete by #1658
(This migration was not included in jdc-project-add-dates., in order to facilitate switching branches.)

coverage: 94.586%. remained the same
when pulling 4d4f773ee22aaedd71805d96734ac2d10fac1900 on jdc-delete-accepting_observations
into 05902f290b58200bd82b52a4e47594e7a2a8119e on main.


Add check-in condition "[indy]" for Indy test in PR title

Fixes #734

Closing the PR as the file changes are redundant (we dont use travisCI anymore, thus the file is named with an _  in _travis.yml)


boards: arm: nrf5340pdk: Fix i2c1 pin assignments

Pins p0.02/p0.03 that were assigned to the i2c1 node are NFC pins.
Use p1.02/p1.03 instead, which are routed to the standard I2C location
in the Arduino header.
This is a follow-up to #25533.

The silkscreen on the board says these are P0.02 and P0.03.

Yes, the one on the bottom of the board. Apparently, it is wrong in this regard. The one on the top says correctly that these are P1.02 and P1.03.


support NATS.io as additional backend?

Requirement - what kind of business use case are you trying to solve?

NATS is a "simple, secure and performant communications system for digital systems, services and devices," and it's part of the CNCF and written in Go, just like jaeger itself.  For many use cases, it can replace Kafka.
Jaeger supports Kafka OOTB, but not any other messaging platforms.  NATS support in Jaeger would allow Jaeger deployments with much lower resource requirements than Kafka while still supporting the use cases that Kafka enables.

Problem - what in Jaeger blocks you from solving the requirement?

AFAICT, there is no support for plugins for collectors in Jaeger.  Since Kafka support is built into Jaeger, it seems to make sense to bake NATS support alongside Kafka.

Proposal - what do you suggest to solve the problem or improve the existing situation?

This PR reuses adds NATS support as a collector while reusing some Kafka functions (like for marshalling/unmarshalling).

Any open questions to address

Should NATS Streaming support be built into the NATS collector, or a separate type?
It's currently using Kafka's marshaling support by exporting those functions.
Should they be extracted into a common location instead?

The corresponding PR is #1903 .

As much as I love NATS, every new storage backend that is added to the core comes with a cost, especially on maintenance. As such, I'd suggest implementing this first as a storage plugin using the mechanism we have in place already.

As much as I love NATS, every new storage backend that is added to the core comes with a cost, especially on maintenance. As such, I'd suggest implementing this first as a storage plugin using the mechanism we have in place already.

Thanks, @jpkrohling.  When you say "storage plugin", do you mean gRPC plugin?  I'm having trouble finding the relevant code.

Yes, that's what I mean. Here's some doc about it:
https://github.com/jaegertracing/jaeger/tree/master/plugin/storage/grpc

It won’t work as a storage plugin today,  because only the write path (publishing) can be implemented as storage, but the subscription part in the ingester is (a) not abstracted away from Kafka, and (b) does not have an equivalent grpc plugin framework in place.

True. We did discuss about splitting the plugin, didn't we?


Support Buddy CI/CD

Hi,
is there any ETA for this?

hi, following up on this. any ETA to be reviewed? thanks!

cc @kevinlzw any chance for review and possible release?

Done merging this request to main, will do release soon

@razubuddy @martinnormark @sztwiorok @wildan3105 Sorry for the long wait. This PR is merged and released.

@razubuddy @martinnormark @sztwiorok @wildan3105 Sorry for the long wait. This PR is merged and released.

Hey no worries! I managed to build the image locally using @razubuddy's branch and it succeeded in the first try 😂
So glad that this platform exists! Will definitely contribute in the near soon 🚀

Hi @wildan3105 I should thank you all for the great contribution! I have tested the progress bar and it worked greatly.

@all-contributors please add @razubuddy  for code


Add EBSI (European Union did method) Support

Dmitri: Still need euro partner to work on this - nice to have

Will revisit when we find the opportunity.


[Feature][workflow definition] the inter-column spacing for workflow names is not sufficient, leading to cramped and less readable representations.le Name] Feature title

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
In the current implementation of workflow definition in the system, the inter-column spacing for workflow names is not sufficient, leading to cramped and less readable representations. This issue becomes more apparent when workflows have longer names or when there are numerous workflows defined.
Use case
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

It is expected that the column width spacing can be manually adjusted and the displayed field list can be checked by oneself


[WIP] KEP-672: Implement the DependsOn API

What type of PR is this?
/kind feature
/kind api-change
What this PR does / why we need it:
I added implementation for the DependsOn API. The majority of validations are implemented using CEL.
TODO list:

[ ] Add unit tests for the depends_on.go
[ ] Add controller integration tests to verify CEL validation.
[ ] Add controller integration tests to verify Job creation.

/cc @ahg-g @kannon92 @danielvegamyhre @tenzen-y @vsoch
Which issue(s) this PR fixes:
Fixes: https://github.com/kubernetes-sigs/jobset/issues/672
Does this PR introduce a user-facing change?

Add the DependsOn API to support serial execution of ReplicatedJobs.

/ok-to-test


[W5][W11-4] Jiang Qinhua

add new command update phone

very useful enhancement. good use of abstraction.


Update API V2

Signed-off-by: Andy Lok<EMAIL_ADDRESS>

@zz-jason PTAL

Closing this one. The changes and discussion are moved to https://github.com/tikv/rfcs/pull/79


Cannot connect to Rancher when server EC2 instance is re-created

Hello
I use this TF module to create K3s cluster for Rancher. It creates auto-scaling groups in AWS. When I stop Agent EC2 instances then the auto-scaling group will terminate them and create new instances. This works fine, the Rancher cluster is still functional and I can connect to Rancher Web GUI. But when I stop Server instances, wait for the auto-scaling group to re-create it, then I cannot connect to Rancher anymore. Then I need to destroy everything and re-create whole cluster again. I use AWS Postgress backend for K3s.
I also tried to create 2 instances of Server nodes and it also doesn't work, only one node is registered in Cluster and the other one is shown as unhealthy in AWS load balancer.
Module uses quite old K3s version (0.9.1). Even if it is possible to specify K3s version, I think it will not work with versions 1.X.X as many configuration options were renamed. Are there any plans to support it?
Thanks
Peter

I wrote this when I worked for rancher, but since then I haven't had access to update it, and nobody else seems to have taken it over.
I have an alternate version here: https://github.com/drpebcak/terraform-k3s-rancher that aims to accomplish a lot of the same goals. I use that version where I work now, so it may not be as broad as this one, but I would welcome PRs and issues there.
As far as multiple k3s server instances go, neither module is written with support of that in mind. The one that lives in my account definitely persists state across recreation of the server ec2 instance though. I use it with RDS, and frequently delete the server instance to let the ASG create a new one.

Yes, I know about this alternative version and I tried it yesterday. Unfortunately, I was not able to make the cluster functional because of the invalid certificate, I think I reached the limit on Letsencrypt, so I will have to wait till the next week.
But what I noticed was that default-http-backend didn't want to start because of node selector requires node-role.kubernetes.io/worker label but nodes created by a new version of k3s do not have this label. It looks like some rancher/k3s compatibility issues.
Regarding multiple k3s instances - why it is not working? Rancher HA document explicitly says that there should be at least 2 instances (https://rancher.com/docs/k3s/latest/en/installation/ha/). Does it require some additional configuration or where the problem is?
I also have configured persistence in RDS but it doesn't work anyway.
For me, it is quite difficult to investigate any issue there as rancher nodes run in private subnet and I'm not able to see any logs. I noticed that you have an example there which creates bastion box, but I'm not sure how to access it. Example contains ed25519 ssh key, but as I know AWS supports only RSA and I also do not see any port forwarding configuration in bastion box.

You don't really need the default-http-backend, but you could and those labels to the workers when you create them if you wanted.
Yes, there is additional configuration required for HA - see here https://rancher.com/docs/k3s/latest/en/installation/ha/#3-configure-the-fixed-registration-address
It's not super hard, but that is an extra step.
The bastion is created on a public subnet, so you could just ssh in there. All you need to know is the public IP... You would want to replace the example key with your own, but it doesn't really matter what AWS supports, that key is just being written to authorized_keys inside the instance. At that point it's just down to what ssh supports.

I tried it again after Letsencrypt limit reset. Now it works fine even when I stop/recreate server EC2 instance. It looks like new version of k3s solved the issue.
The only thing I had to change was default-http-backend selector because worker nodes a missing worker label.
But terminated nodes are still shown in rancher nodes as Unavailable and it is not possible to delete them. Is there any way how to remove them?
Thanks
P.

You can remove them via kubectl. I think the only way to auto remove them would be to go through all the steps to get a cloud provider working

Please, how to upgrade Rancher deployed with this terraform module? When changed rancher_version property nothing happens as it only changes user_data in EC2 template. But as I cannot re-create the Rancher cluster nodes because of this issue it cannot be upgraded.

had the same problems as you @PeterMaco
I think we need to do a major refactor to get this working properly...

The way that it's written, you're intended to recreate the master to actually update rancher. I haven't actually used this repo in a while though (about 9 months) so it may not be working quite right anymore.


Feature expandseeds

The -s argument now accepts multiple seed values, separated by commas and/or hyphens (no whitespaces).  Non-numeric values will be ignored.  Example: -s 1,3,5-10

Thank you, Malcolm!

My pleasure!
Are you staying working from Hanover in your new position, or did you move
to your new campus?
On Tue, Jun 4, 2024 at 5:52 AM Bahruz Jabiyev @.***>
wrote:

Thank you, Malcolm!
—
Reply to this email directly, view it on GitHub
https://github.com/bahruzjabiyev/t-reqs/pull/3#issuecomment-2147108619,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIE6G7ZNOBTVUHWYV2Y2SW3ZFWE6DAVCNFSM6AAAAABHPKGKPKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBXGEYDQNRRHE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Http2: Hyper client gets stuck if too many requests are spawned

I have a golang https server to which a rust client sends lot of parallel requests.
After few hundreds of requests, it stops and apparently there is no TCP communication.
The REST API accepts a byte buffer in a body and responds back with its length in a json.
To reproduce, the entire code is at: https://github.com/staticgc/hyper-stuck
It has golang server, Rust Client & Golang Client
The build instructions are very straightforward
The default max number of futures spawned are 400
This apparently is more than the max number of http2 streams at server (which is 250)
If the count is reduced to 200 it works.
Other observations:

Golang client works with high goroutine count
Increasing connections in Rust client from 1 to say 3 causes more requests to be processed but again gets stuck
With 400 futures/requests, when the number of connections = 10 (chosen arbitrarily) it worked ok.
When HTEST_BUF_SIZE is reduced to say 1KB then even with 1 connection & high future count it works
If the rust client stops, it does so after predictable number of requests

Number of connections here refers to http2 negotiated connection which hyper (I think) creates only 1 per Client instance.
So changing HTEST_CONN_COUNT changes the number of Client instances that are created.
Also to prevent initial flooding at the server, the rust client makes a single http2 request on each Client instance and then issues the parallel requests.
for i in 0..conn_count {
     send_req_https(client_vec[i].clone(), bufsz, url.as_str()).await?;
}

Able to reproduce on: Mac OS & Cent OS Linux
Edit: Apologies for some typos in build instructions in the repo above. I have fixed those. Let me know here if anything remains.

I also changed the #[tokio::main] to use single threaded basic schedular and after it got stuck this was the call graph (on mac).
It seems it is waiting for event from OS (kevent) to move ahead.
Call graph:
    2865 Thread_8562679   DispatchQueue_1: com.apple.main-thread  (serial)
      2865 start  (in libdyld.dylib) + 1  [0x7fff61883015]
        2865 main  (in hyper-stuck) + 34  [0x10322a072]
          2865 std::rt::lang_start::h1a153dc93960f3ad  (in hyper-stuck) + 65  [0x10332fb01]  rt.rs:65
            2865 std::rt::lang_start_internal::h36ccce6e8a047133  (in hyper-stuck) + 644  [0x10364fc64]  panicking.rs:345
              2865 std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h3ca2bfef5797c7c8  (in hyper-stuck) + 20  [0x10332fb24]  rt.rs:66
                2865 std::sys_common::backtrace::__rust_begin_short_backtrace::h3bb497384788fb92  (in hyper-stuck) + 17  [0x103202761]  backtrace.rs:125
                  2865 core::ops::function::FnOnce::call_once::h5ebd9be2d6f4a542  (in hyper-stuck) + 14  [0x1032fd7ee]  function.rs:227
                    2865 hyper_stuck::main::hac5673c1b3a36a96  (in hyper-stuck) + 137  [0x103229fd9]  main.rs:133
                      2865 tokio::runtime::Runtime::block_on::h479291c746868d90  (in hyper-stuck) + 278  [0x10331ff56]  mod.rs:450
                        2865 tokio::runtime::basic_scheduler::BasicScheduler$LT$P$GT$::block_on::h30fcf5d82cf05d14  (in hyper-stuck) + 189  [0x10326531d]  basic_scheduler.rs:136
                          2865 tokio::runtime::basic_scheduler::InnerGuard$LT$P$GT$::block_on::h2bc6b4e076e10001  (in hyper-stuck) + 78  [0x103264fee]  basic_scheduler.rs:405
                            2865 tokio::runtime::basic_scheduler::Inner$LT$P$GT$::block_on::h8205f88ce1328514  (in hyper-stuck) + 29  [0x10326470d]  basic_scheduler.rs:176
                              2865 tokio::runtime::basic_scheduler::enter::h293894db779d083a  (in hyper-stuck) + 718  [0x1032659ae]  basic_scheduler.rs:266
                                2865 tokio::macros::scoped_tls::ScopedKey$LT$T$GT$::set::h56389ade64ea81f8  (in hyper-stuck) + 127  [0x1032a2d1f]  scoped_tls.rs:61
                                  2865 tokio::runtime::basic_scheduler::enter::_$u7b$$u7b$closure$u7d$$u7d$::h701802ea7bbbd133  (in hyper-stuck) + 52  [0x103265a84]  basic_scheduler.rs:266
                                    2865 tokio::runtime::basic_scheduler::Inner$LT$P$GT$::block_on::_$u7b$$u7b$closure$u7d$$u7d$::h199c0b1c5b3c4adc  (in hyper-stuck) + 1201  [0x103264bd1]  basic_scheduler.rs:211
                                      2865 _$LT$tokio..runtime..driver..Driver$u20$as$u20$tokio..park..Park$GT$::park::h6a77d4dd7ca55461  (in hyper-stuck) + 24  [0x103559e28]  driver.rs:196
                                        2865 _$LT$tokio..park..either..Either$LT$A$C$B$GT$$u20$as$u20$tokio..park..Park$GT$::park::h7f22102478fcba53  (in hyper-stuck) + 105  [0x10356ae59]  either.rs:30
                                          2865 _$LT$tokio..time..driver..Driver$LT$P$GT$$u20$as$u20$tokio..park..Park$GT$::park::h298260be2a66467d  (in hyper-stuck) + 29  [0x10359cdfd]  mod.rs:391
                                            2865 tokio::time::driver::Driver$LT$P$GT$::park_internal::h0c92f7c2c1414e75  (in hyper-stuck) + 855  [0x10359c0b7]  mod.rs:219
                                              2865 _$LT$tokio..park..either..Either$LT$A$C$B$GT$$u20$as$u20$tokio..park..Park$GT$::park_timeout::h6bb7bbd7924a5514  (in hyper-stuck) + 127  [0x10356afef]  either.rs:37
                                                2865 _$LT$tokio..process..imp..driver..Driver$u20$as$u20$tokio..park..Park$GT$::park_timeout::h336fe5900728c1c4  (in hyper-stuck) + 34  [0x10355e5b2]  driver.rs:86
                                                  2865 _$LT$tokio..signal..unix..driver..Driver$u20$as$u20$tokio..park..Park$GT$::park_timeout::h2803f5690a8d9dba  (in hyper-stuck) + 34  [0x1035ac102]  driver.rs:156
                                                    2865 _$LT$tokio..io..driver..Driver$u20$as$u20$tokio..park..Park$GT$::park_timeout::h7d280450da7be4f6  (in hyper-stuck) + 58  [0x10358b5fa]  mod.rs:238
                                                      2865 tokio::io::driver::Driver::turn::hab664d2964cd5899  (in hyper-stuck) + 323  [0x10358abf3]  mod.rs:162
                                                        2865 mio::poll::Poll::poll::hbea28d9af2243ed7  (in hyper-stuck) + 80  [0x103608510]  poll.rs:314
                                                          2865 mio::sys::unix::selector::kqueue::Selector::select::hfd9ef3fe90682fa2  (in hyper-stuck) + 327  [0x10360a307]  kqueue.rs:115
                                                            2865 kevent  (in libsystem_kernel.dylib) + 10  [0x7fff619d4bea]

I think I might have found the issue.
When the number of active streams exceed 250 (which is the default limit), the future polled here returns Poll::Pending. Now the parent future i.e. ClientTask does not get woken up again when stream count goes below the threshold.
@seanmonstar

Here is a work-around:
Wrap hyper::client::Client and guard the request method with a semaphore.
If more parallel requests are needed, create multiple CustomClient

use hyper::{Body, {client::HttpConnector}};
use hyper_openssl::HttpsConnector;
use tokio::sync::Semaphore;

#[derive(Clone)]
struct CustomClient {
    client: Client<HttpsConnector<HttpConnector>>,
    guard: Arc<Semaphore>,
}

impl CustomClient {
    fn new() -> Result<Self, Error> {
        let client = CustomClient::new_hyper_client()?;
        let guard = Arc::new(Semaphore::new(240)); //Harcoded limit just below threshold 250

        Ok(CustomClient{
            client,
            guard,
        })
    }

    async fn request(&self, req: Request<Body>) -> Result<Response<Body>, Error> {
        //Is allowed to make request? If not then wait.
        let _permit = self.guard.acquire().await?;

        let rsp = self.client.request(req).await?;
        Ok(rsp)
    }
}

Ping. Somehow I came across this issue trying out some stuff between go and tokio/hyper/h2. Since it seems like an issue in h2, it would make sense to move the issue there?

Ping. Somehow I came across this issue trying out some stuff between go and tokio/hyper/h2. Since it seems like an issue with h2, it would make sense to move the issue there?

@seanmonstar

How's this going?

Here's a nice self-contained reproduction for this bug: https://github.com/fasterthanlime/h2-repro

FWIW I observed that an existing waker is silently dropped here. In other words the following assert would fail if added to the top of the function : assert!(self.send_task.is_none())

As a quick test / hack I added the following to the start of the function mentioned above :
        if let Some(task) = self.send_task.take() {
            task.wake();
        }

This seems to fix the issue for me but still trying to figure out what is going on. Won't recommend just blindly applying this patch.

Some further analysis:
Looking at this loop's first iteration the following seems to be happening for the request that gets stuck:
The stream is not marked as pending yet so this returns Ok(()).
The stream is marked pending and added to the pending queue via the call to send_request() here
This poll() here calls this, storing a waker in self.send_task. For the next iteration of the loop the stream is marked as pending so this will return Poll::Pending and immediately overwrite the above waker.

Thank you so much for debugging this. Once you feel comfortable the patch is no longer blind, I'd be happy to merge a PR. (Mega bonus points if it becomes clear how to trigger this condition in a unit test, but not required.)

I spent some more time on this today and would definitely not recommend applying the previous "patch". With that patch applied the request that would have gotten stuck is effectively busy polled until it completes, which is not ideal. The real problem/bug is that this function, specifically the call to self.inner.poll_pending_open()  does not allow more than one waiter. In addition this single waiter is shared with this and this. So the current model of calling poll_ready() for multiple SendRequest clones before calling send_request() will cause this problem. I'll try to add some unit tests to illustrate the problem. It seems that what is needed is some mechanism to allow multiple concurrent tasks to wait for send stream capacity. One thought I had was to use a semaphore and change poll_ready() to poll this semaphore. This semaphore will be released once the request is done and the number of permits allowed on the semaphore will be set to max_send_streams. Does this make sense? Any other ideas?

I created a pull request for this issue, please see here. The actual issue turned out to be slightly different than what I originally thought the problem was. Please see the commit log in the PR for further detail. The actual issue is a race condition in ClientTask::poll() and not a problem in the h2 crate.

I don't quiet understand.  AFAICT #3041 is merged.  Doesn't this fix the issue?

I believe it can be closed.

@jeromegn, @seanmonstar, @jfourie1 : Please guide us, how to reopen the issue?

I'd recommend opening a new issue, with whatever details you can provide. Let's leave this one alone.


Fatal Python error: (pygame parachute) Segmentation Fault

Hello, i was following your quick start tutorial as seen here: http://kivy.org/docs/guide/quickstart.html
I got the "Fatal Python error: (pygame parachute) Segmentation Fault"
Then i update my video driver, the new driver is:
Intel® Graphics Media Accelerator 3150 for Windows 7* 32-bit Version: <IP_ADDRESS>.7.2230
I runned again the main.py file with the second mouse click option and open with kivy.bat
Again I got the "Fatal Python error: (pygame parachute) Segmentation Fault"
I have post the output when run the main.py file in the Paste #555674 (http://paste.pocoo.org/show/555674/) as you request.
The computer i use is: PCsmart PTS AM1004P (http://www.pcsmart.com.co/index.php?page=shop.product_details&flypage=flypage.tpl&product_id=330&category_id=10&option=com_virtuemart&Itemid=28)
I have installed the python 2.7 for win 32 from http://python.org/download/
I hope you can help me because your software is very interesting
Thank you

Read http://kivy.org/docs/faq.html => First question described in the FAQ.
[INFO              ] [GL          ] OpenGL version <1.4.0 - Build <IP_ADDRESS>0>

You don't meet the requirements (2.0 minimum), try to found better drivers or change your graphics card.

From that intel page: http://software.intel.com/fr-fr/articles/quick-reference-guide-to-intel-integrated-graphics/
It's written:
 9.	Le cœur graphique Intel® GMA 3150 gère OpenGL* 1.5 sous Windows* et OpenGL 2.0 sous Linux*.
 => The graphics core Intel GMA handle OpenGL 1.5 on Windows and OpenGL 2.0 on Linux.

Switch to linux :)

Hello thank you for your answer! Sure, better Linux!


Upgrade gitlint to 0.8.2 to deal with aggregate exit code issue

Zulip uses gitlint 0.8.1 which has a bug in that it doesn't aggregate the exit code when linting multiple commits.
For details, see here: https://github.com/jorisroovers/gitlint/issues/27
This issue has been fixed in gitlint 0.8.2. The fix for zulip is as simple as bumping the version in https://github.com/zulip/zulip/blob/cf001876d4fa747a190fb1f7222c67dd9389fa3c/requirements/dev.txt#L25
I'd do this myself but don't want to go through the hassle of signing the CLA (and give up a lot of personal information).
CC: @tommyip

We have temporarily disabled Gitlint due to a few problems (not with Gitlint itself):

CI pipeline: We pass Travis' TRAVIS_COMMIT_RANGE to Gitlint for linting, but it is not super consistent and sometimes includes tons of other commits unrelated to the PR which slow the CI build down.

Making sure commit title uses imperative mood. Making this work is quite a bit of a challenge, we have tried the whitelist approach rules.py but result in a lot of false positives.

I will submit a patch for the upgrade to 0.8.2, but do you have any suggestions on solving these problems?

Upgraded to 0.8.2 in 19adf2e3277c56fb3268f4003fa07a19e2aceb85 .

The original issue is resolved, but before we can really use gitlint in CI, we need to resolve at least the TRAVIS_COMMIT_RANGE issue.  The problem there is that if you force-push an update to a PR, TRAVIS_COMMIT_RANGE will be the range from what used to be in the PR to what is now in the PR, and the starting point of that range will not be present in the repository that Travis generates.
I think at core that's a Travis problem; @tommyip maybe we should send Travis Support an email about it and see if they have a suggested solution?


./gradlew: Permission denied

It's still happening. Someone use chmod or something to fix? I don't have linux on hand right now.
@alebcay @P1n3appl3

Are you trying to run from Windows shell? I just did a clean clone and have no problems.

Can you chmod the gradlew.bat file also? Travis uses linux to run tests.

I'm not actually sure how to add execute permissions to the gradlew.bat file. Best to do it from Windows, which actually executes/uses the file.


it doesnt work

VM279:1 Uncaught ReferenceError: require is not defined
fwhyyy: (

are you running it in the browser?