Workaround for Python packageOverrides

Thanks so much for this project! I've found it useful and have learned a lot from studying how it's organized.
I'm running into an issue that when I need to override packages in the qchem.pkgs.python3 set, the overrides already applied by the overlay (here) are apparently wiped out.
For example, I'd like to do something like the following:
{
  python3 = pkgs.qchem.python3.override {
    packageOverrides = prev: _: {
      mypackage = prev.buildPythonPackage {
        # …
      };
    };
  };

  pythonEnv = python3.withPkgs (ps: [ ps.mypackage ps.openmm ]);

  # …
}

But this fails with error: attribute 'openmm' missing.
I think this is related to the long-standing issue in nixpkgs: https://github.com/NixOS/nixpkgs/issues/44426
One of the workarounds mentioned in that issue is for overlays to expose pythonOverrides directly so that multiple overrides can be composed downstream using lib.composeExtensions. I wonder if you'd consider a PR exposing this in the overlay, or know of a different workaround?

I've tried getting it done without the lib.composeExtension by using pythonPackages.nix again but it lead nowhere. My attempt feels complicated and leads to infinite recursions:
let pythonOverrides = subset: cfg: qfinal: qprev:
      let qchemPythonOverrides = import ./pythonPackages.nix subset cfg qfinal qprev;
          myPythonOverrides = qprev.qchem.python3.pkgs.override { packageOverrides = pfinal: pprev: {
            openmm = pprev.openmm.override { enableCuda = true; };
          };};
       in myPythonOverrides;
    testOvl = final: prev: pythonOverrides prev.qchem { } final prev;
    qchemOvl = import ./overlay.nix;
    nixpkgs = import <nixpkgs>;
in  nixpkgs {
  overlays = [ qchemOvl testOvl ];
}

https://github.com/NixOS/nixpkgs/issues/44426 is very unfortunate and the arguments pythonPackages.nix requires makes it indeed difficult to use it as an overlay separately. I also have no better idea than exposing the partially applied python overlay function.

Nevermind, the code above is obviously nonsense, I am not even using qchemPythonOverrides in there. This however works;
let
  # The original overlay function that NixOS-QChem is using to modify the python packages.
  qchemPythonOverlay = import ./pythonPackages.nix ;

  # Your own python overlay to add and modify python packages.
  # E.g. unconditionally enable CUDA in OpenMM
  myPythonOverlay = final: prev: {
    openmm = prev.openmm.override { enableCuda = true; };
  };

  # The complete NixOS-QChem overlay itself, not just the python part.
  qchemOvl = import ./overlay.nix;

  # Combine the python overrides from NixOS-QChem with your own
  combinedPythonOvl = final: prev: {
    qchem.python3 = prev.python3.override {
      packageOverrides = prev.lib.composeExtensions
        (qPythonOverlay "qchem" (import ./cfg.nix) final prev)
        myPythonOverlay;
    };
  };

# Apply NixOS-QChem and then the final version of the Python overlay
in import <nixpkgs> {
  overlays = [
    (import ./overlay.nix)
    combinedPythonOvl
  ];
}

@sheepforce thanks for looking into this! Your solution makes sense to me, but I think I've just stumbled upon an even simpler that seems to work for my use case (I might be missing some subtlety, though).
I didn't realize this before, but if passed a function instead of an attrset override, will pass in the existing overrides. Something like this is working for me:
{
  # …
  myPackageOverrides = prev: _: {
    mypackage = prev.buildPythonPackage {
      # …
    };
  };

  python3 = pkgs.qchem.python3.override (old: {
    packageOverrides = lib.composeExtensions old.packageOverrides myPackageOverrides;
  });

  pythonEnv = python3.withPkgs (ps: [ ps.mypackage ps.openmm ]);
  # …
}

I think there may still be an issue with passing multiple overlays to nixpkgs (which it looks like your example solves). I've noticed some other projects (e.g. https://github.com/tweag/jupyterWith/blob/93f75799b527b03de9acc09ae18cc4b8817fb0c5/nix/python-overlay.nix#L97-L102) compose packageOverrides. I wonder if a change like this would be useful here?

I am surprised that python3.override uses this old: pattern, but as it seems to work, I think your solution and similarly the one of jupyterWith is the best candidate so far. So yes, I think we should use it. @markuskowa do you agree?

@mcwitt your solutions you've linked looks nice, would you open the PR and possibly include an example in the PR, that shows that it works as intenden? :slightly_smiling_face:

The pythonOverlay is now at least available in the flake, as of a386e4


Schlage Lock Smartthings only works one way

Home Assistant release with the issue:
0.88.1
Last working Home Assistant release (if known):
N/A
Operating environment (Hass.io/Docker/Windows/etc.):
Raspberry PI Virtual
Component/platform:
smartthings
Description of problem:
Changes to the state (lock/unlock) work from home assistant (HA) to smartthings. However, state changes from smartthings does not communicate to HA.
I've confirmed two way communication works fine, by testing fans using the smartthings platform.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
Frontend integration
Traceback (if applicable):
Additional information:

To clarify, are you saying the lock state doesn't' update in Home Assistant?  Try re-authorizing the app to resync the subscriptions:

In either SmartThings app, go to Automations
Select Home Assistant (or whatever you named it)
Tap Done and then Accept.

See if that fixes the issue!

I tried your suggestion and couldn't find a done or accept prompt. I deleted the integration in HA, then reinstalled a new token and followed all the steps again. That solved the problem. Everything including locks work from both smartthings and HA.
Note in the smartthings app, automation home assistant app, the screen comes up with "Somethings wrong. We can't load your screen right now".... Retry.
Thanks for the help.

By deleted do you mean removed?  I assume you didn't delete the .storage/smartthings file - otherwise you'd have an orphaned app that gives you that error message when you try to tap into it.  If that's the cause, use this to clean them all up:
https://pypi.org/project/hass-smartthings-remove/
Also creating a new token wasn't necessary.  Tokens are tied to your account and the SmartApps/Automations are added into the account (not tied to the token).

I used the trash can icon on the HA integration page. Then started over following the full install process.
Note I got the same error screen in the smartthings android app after I installed this all the first time last week. A clean install. Things seem to be running fine despite the error.
Thanks for the tool, I'll try running and cleaning up the old token.

There's been a few people who said they get errors when going back into the Automation after adding it to the SmartThings app.  I think it's proxy related.  When you go into the app, SmartThings attempts to phone-home and if it can't, shows that error.  It doesn't seem to affect the integration otherwise.
Since your issue is resolved, I'll close this for now.


Publication template: accordion list of components should  feature format button when expanded

From Laetitia:
"Sorry should have been clearer… The accordion list in a publication template is likely to include parts of the publication (Intro, chapter1, chapter2, conclusion etc..) each part is likely to be available in different formats see example below from figma: "

Noting that this can be accomplished by populating these fields (looks like RichText fields) in the Accordion in the JSON for this page.

This issue is moved to https://github.com/international-labour-organization/drupal-templates/issues/23


Add SmolLM2 1.7B

SmolLM2 1.7B claims an impressive 19.4 MMLU-Pro score. Is would be great if it could be verified and added to the leaderboard.
https://huggingface.co/HuggingFaceTB/SmolLM2-1.7B

Thanks for your suggestion. We have tested SmolLM2 series models and added them to the leaderboard.


Leveling improvements

Uses Feel Pride for NEP and gators.
Also uses bowl sideways opportunistically in NEP and gators. If it is available, use it. Leaving it to a future PR to fully support the bowling ball (stop using bowl straight up in time to use sideways for leveling)
Tested today and both are working for NEP. Pride properly got used when available and stopped attempting when used up for the day. Got to 13 before going to gators so didn't test that but I think low risk

Example of using feel pride
[1125] The Neverending Party
Preference lastEncounter changed from Eldritch Tentacle to "plain" girl
Encounter: "plain" girl
Round 0: Alium wins initiative!
Preference cosmicBowlingBallReturnCombats changed from 2 to 1
Round 0: Alium casts CURSE OF WEAKSAUCE!
Round 1: "plain" girl drops 9 attack power.
Round 1: "plain" girl drops 8 defense.
Round 1: Alium uses the porquoise-handled sixgun!
Round 2: "plain" girl takes 43 damage.
Round 2: You gain 25 Muscularity Points
Round 2: "plain" girl drops 8 attack power.
Round 2: "plain" girl drops 10 defense.
Round 2: Alium casts SING ALONG!
Round 3: "plain" girl drops 9 attack power.
Round 3: "plain" girl drops 8 defense.
Round 3: Alium casts FEEL PRIDE!
Round 4: "plain" girl drops 8 attack power.
Round 4: "plain" girl drops 8 defense.
Preference _feelPrideUsed changed from 1 to 2
Round 4: Alium attacks!
Round 5: "plain" girl takes 305 damage.
Round 5: "plain" girl drops 9 attack power.
Round 5: "plain" girl drops 10 defense.
Round 5: Alium attacks!
Round 6: "plain" girl takes 259 damage.
Round 6: "plain" girl drops 10 attack power.
Round 6: "plain" girl drops 8 defense.
Round 6: Alium attacks!
Round 7: "plain" girl takes 262 damage.
Round 7: "plain" girl drops 8 attack power.
Round 7: "plain" girl drops 9 defense.
Round 7: Alium wins the fight!
You gain 414 Meat
After Battle: Nanite Configuration 5426205 does the nanobot. Which is a dance like the robot, but smaller and harder to see.

You gain a Level!
After Battle: You gain 581 Wizardliness
You gain some Mysticality points!
After Battle: You gain 578 Cheek
You gain some Moxie points!
Preference garbageShirtCharge changed from 24 to 23
Preference encountersUntilNEPChoice changed from 7 to 6
Preference lastCopyableMonster changed from Eldritch Tentacle to "plain" girl
This combat did not cost a turn
Preference _neverendingPartyFreeTurns changed from 0 to 1
Preference familiarSweat changed from 1493 to 1494

Example of bowl sideways
[1125] The Neverending Party
Preference lastEncounter changed from burnout to jock
Encounter: jock
Round 0: Alium wins initiative!
Round 0: Alium casts CURSE OF WEAKSAUCE!
Round 1: jock drops 12 attack power.
Round 1: jock drops 10 defense.
Round 1: Alium casts BOWL SIDEWAYS!
Round 2: jock drops 11 attack power.
Round 2: jock drops 11 defense.
Preference _cosmicBowlingSkillsUsed changed from 27 to 28
Preference cosmicBowlingBallReturnCombats changed from -1 to 58
Round 2: Alium uses the porquoise-handled sixgun!
Round 3: jock takes 43 damage.
Round 3: You gain 25 Muscularity Points
Round 3: jock drops 12 attack power.
Round 3: jock drops 11 defense.
Round 3: Alium casts SING ALONG!
Round 4: jock drops 13 attack power.
Round 4: jock drops 12 defense.
Round 4: Alium attacks!
Round 5: jock takes 267 damage.
Round 5: jock drops 11 attack power.
Round 5: jock drops 12 defense.
...
Round 9: Alium wins the fight!
Your familiar gains a pound: Nanite Configuration 5426205, the 7 lb. Grey Goose
You gain 540 Meat
After Battle: Nanite Configuration 5426205 does a weird dance-like movement.

You gain a Level!
After Battle: You gain 245 Wizardliness
You gain some Mysticality points!
After Battle: You gain 315 Chutzpah
You gain some Moxie points!
Preference garbageShirtCharge changed from 22 to 21
Preference encountersUntilNEPChoice changed from 5 to 4
Preference lastCopyableMonster changed from burnout to jock
This combat did not cost a turn
Preference _neverendingPartyFreeTurns changed from 2 to 3
Preference familiarSweat changed from 1495 to 1496

Great comments! The external if I stole from the glitch fight but makes sense that trySkill takes care of the checks.
Updated glitch fight to always try feel pride and then changed external if for NEP/gators to only use feel pride based on level like you suggest.
This might be out of scope but also made the two glitch fights use the same combat macro. I think garbo fights glitch as well so an option would be to remove the aftercore glitch fight from goorbo since we don't need the stats at that time... does look like there is a pref to fight glitch though.
Haven't tested these latest changes yet.

I don't see that you made a corresponding change to the bowl sideways externalIf(), but I'm happy to accept and make that last change on this end. Thanks for submitting!


Programmatically Pause a segment

Is there a way to Programmatically Pause the video? rather than tapping?
I am unable to find some openings. Please help.

Call pause function of recorder (HBRecorder)

-I want to Trigger the pause function at a specific time interval ( Time which is displayed on the top in the video recording )
-Like when the timer reaches 10  seconds - it should pause.
-So I extracted HBRecorder.m
Like this:

(void)PauseTest
{
[_recorder pause];
//change UI
[self.recBtn setImage:self.recStartImage
forState:UIControlStateNormal];
printf("Recorder pause Tapped!!!!! VIPUL TEST");
}

(IBAction)shutterButtonTapped:(UIButton *)sender {
if (!hasOrientaionLocked) {
_recorder.autoSetVideoOrientation = NO;
hasOrientaionLocked = YES;
UIInterfaceOrientation currentOrientation = [UIApplication sharedApplication].statusBarOrientation;
[[UIDevice currentDevice] setValue:[NSNumber numberWithInt:currentOrientation] forKey:@"orientation"];
}
// REC START
if (!_recorder.isRecording) {
  // change UI
  [self.recBtn setImage:self.recStopImage
               forState:UIControlStateNormal];

   [_recorder record];

}
// REC STOP
else {

//        [_recorder pause];
////         change UI
//        [self.recBtn setImage:self.recStartImage
//                     forState:UIControlStateNormal];
//        printf("Recorder pause Tapped!!!!! VIPUL TEST");
[self PauseTest];
}

}
Is there any opening to trigger the pause on a particular time interval of the recording using HBRecorder?

Yes you can do it using maxRecordDuration property of HBRecorder.
recorder.maxRecordDuration = 10;
It is shown in example project. Check example project for more information.

Currently, Pause functionality for segments, is handled by the else condition of (IBAction) shutterButtonTapped in HBRecorder.m

But My main point is to Pause the recording programmatically, a segment gets created, then user taps to start recording again and so next segment gets created.

-Yes, i already tried using maxRecordDuration but that didn't work since I want to pause automatically to create various segments of pre-defined duration.
For example, I wanted  4 segments of
10sec ... 5 sec ... 5 sec ... 10 sec

So That when the timer reaches a specific time interval like 10 sec, it should pause automatically, segments of 10 sec get created,  then user taps to start recording when the timer reaches 15 seconds, it pauses automatically, a segment of 5 sec gets created.

Please help.

So with maxRecordDuration we need maxSegmentDuration property as well, let me apply some quick tweaks to it. I will let you know.

Please check examople
//Set segment max recording duration
recorder.maxSegmentDuration = 10;

-It works with the recorder.maxSegmentDuration

Can we pass an array of values [ 2, 4,6,7 ] where each element of the array represents a different segmentDuration?

-Because am trying to give the recorder.maxSegmentDuration an array of values
Like I am trying to do this :
var i : Int = 0
var arr: [Int] = [3,4,5,6,12]
for i in 0...arr.count {
recorder?.maxSegmentDuration = Int64(arr[i])
}
But it gives me an error, "fatal error: Index out of range"
Please HELP!!

Because maxSegmentDuration is int type not array type.

Yes I know that, but I wanted to know whether there is any scope or an opening to pass an array of segment durations. Please advise.

Created new issue for this. https://github.com/hilalbaig/HBRecorder/issues/5


Support underscores in numeric literals

Abstract
We should support underscores _ in numeric literals so that<PHONE_NUMBER>000000000 can be written in the more readable form of  1_000_000_000_000_000_000.
Motivation
Fe is intended to be used in smart contract development and variables and constants holding large numerals is a very well expected normal use case.  Especially since many variables are going to represent Wei and e.g. 1_000_000_000_000_000_000 Wei represent 1 Ether.

Hi, does this still need doing? Happy to take it on.

@plv yes, feel free to take it!

@plv are you still working on this? If not can I take this up?

@voith  Sorry for the late response -- I never got around to this. Feel free to take it :)

@plv Hi, does this still need help? I am here if so.

@Jake-Steck it doesn't seem that anyone is currently actively working on it so feel free to make it yours :)

@Jake-Steck I never got started on this. So feel free to take it.


Cleanup ephemeral wheel cache properly

Attribute self.wheel_cache has been removed in f6de247b3f7a9e776325057a1e6cf6e48d34e7e7, thus self.wheel_cache.cleanup() will allways throw:
AttributeError("'PyPIRepository' object has no attribute 'wheel_cache'")

and wheel_cache.cleanup() will never be called as supposed to be.
WheelCache.cleanup() has been introduced in pip==10.0.0. Try-except block has been refactored, for it's better to check the pip version explicitly (LBYL) rather than ask for forgiveness (EAFP).
Changelog-friendly one-liner: Fix dependency resolver to clean up the ephemeral wheel cache.
Contributor checklist

[x] Provided the tests for the changes.
[X] Gave a clear one-line description in the PR (that the maintainers can add to CHANGELOG.md on release).
[x] Assign the PR to an existing or new milestone for the target version (following Semantic Versioning).

ℹ rebased onto master and resolved conflicts.

@webknjaz, @codingjoe and @suutari, thanks for reviewing this! 🙏


Is 'xlm-roberta-base' not yet supported in Ktrain?

Dear Amaya
I am trying to use pre-trained model 'xlm-roberta-base', but I keep on receiving the message that says 'TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType'. I don't know how to interpret this message. Is this because the model is not yet supported by ktrain library?
Thank you, and I hope to hear from you soon.

Yes, it is supported.
But, for reasons I don't know, the TensorFlow version of the model in the transformers library must be loaded like a community-uploaded model with the name jplu/tf-xlm-roberta-base.
Here is a working example:
# load text data
categories = ['alt.atheism', 'soc.religion.christian','comp.graphics', 'sci.med']
from sklearn.datasets import fetch_20newsgroups
train_b = fetch_20newsgroups(subset='train', categories=categories, shuffle=True)
test_b = fetch_20newsgroups(subset='test',categories=categories, shuffle=True)
(x_train, y_train) = (train_b.data, train_b.target)
(x_test, y_test) = (test_b.data, test_b.target)

# build, train, and validate model (Transformer is wrapper around transformers library)
import ktrain
from ktrain import text
MODEL_NAME = 'jplu/tf-xlm-roberta-base'
t = text.Transformer(MODEL_NAME, maxlen=500, class_names=train_b.target_names)
trn = t.preprocess_train(x_train, y_train)
val = t.preprocess_test(x_test, y_test)
model = t.get_classifier()

In 0.15.4, I made a change that replaces xlm-roberta-base with jplu/tf-xlm-roberta-base  under the hood. So, if you update ktrain to v0.15.4, supplying xlm-roberta-base should work.


Swift 2.3 support

[ ] Release 1.0.0 to cocoapods

[ ] Update README?

WIP, CI is hanging
#109
#110

Solved by removing iOS 8 job -> #114

@joanromano fine with 1.0.0 for swift 2.3 and 2.0.0 for 3.0?


ShouldConstrainToRootBounds = False disables backdrop

Describe the bug
I can confirm that in 1.4 Preview ShouldConstrainToRootBounds = False works.
However, this disables the inbuilt backdrop of the element (e.g. in TeachingTip).
Steps to reproduce the bug

Create new WinUI 3 project with Windows App SDK 1.4 Preview.
Create a big TeachingTip element that goes outside of parent window.
Set ShouldConstrainToRootBounds = False.

Expected behavior
TeachingTip should have a backdrop that is generated using the windows behind it or the desktop wallpaper.
Screenshots

NuGet package version
WinUI 3 - Windows App SDK 1.4 Preview 1: 1.4.230628000-preview1
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response

This appears to be an unfortunate limitation in how backdrops are implemented in 1.4. Because of how rendering works in Windows App SDK, AcrylicBrush can only access content behind it in the same window to blend and blur. When ShouldConstraintToRootBounds = False is used, that means AcrylicBrush can only access other content in that popup, which might just be a default white background.
Removing the AcrylicBrush and setting the Popup.SystemBackdrop property on the popup used would allow acrylic to work by enabling acrylic at the level of the window used by the popup. In situations where you have access to the Popup or Flyout, this is relatively straight-forward. But TeachingTip does not expose its Popup nor have a SystemBackdrop property, which makes it difficult to apply acrylic to TeachingTip.

@codendone Can we make other popups (like that of ToolTip and ComboBox) also have acrylic background as MenuFlyout does? I can't even set ShouldConstraintToRootBounds using style to change it to behave like version 1.3.
Also, I found the style in generic.xaml a little weird. Does MenuFlyoutPresenter have SystemBackdrop property?
    <Style TargetType="MenuFlyoutPresenter" x:Key="DefaultMenuFlyoutPresenterStyle">
        <Setter Property="SystemBackdrop" Value="{StaticResource MenuFlyoutSystemBackdrop}" />

@shatyuka For places where ShouldConstrainToRootBounds or the SystemBackdrop property is not exposed, it would be challenging to change from the default behavior. Adding SystemBackdrop on a ShouldConstrainToRootBounds=false popup should be theoretically possible by using VisualTreeHelper.GetOpenPopups to find the Popup (once opened) and set the property. But ShouldConstrainToRootBounds can't be changed once a popup has been shown, so overriding that is likely not possible.
At some point, all relevant elements likely need to have the SystemBackdrop property or ShouldConstrainToRootBounds property to provide necessary control.
Regarding MenuFlyoutPresenter, yes, this type does have the SystemBackdrop property, but it was accidentally left marked as Experimental in the 1.4 release. Being Experimental doesn't prevent it from being set in core WinUI styles but does prevent it from being set in app .xaml or code. I believe there are plans to remove the Experimental flag in an upcoming release.

Shouldn't the default style for FlyoutPresenter use an acrylic backdrop? It feels weird and inconsistent to have to customize the base flyout but not controls derived from it.


An option to manually set indent size in an editor

As a motivating example, consider the following source file:
import textwrap

def main():
    print(textwrap.dedent('''\
    <!DOCTYPE HTML>
    <html>
      <head>
        <title>hello world</title>
      </head>
      <body>
        Hello, world!
      </body>
    </html>'''))

if __name__ == '__main__':
    main()

On one hand, it's Python code, so I want indent 4. On another, it's HTML and I want indent 2. Generally, I want to manually change indent size depending on what I'm editing at the moment.
When I click on the indentation indicator in the status bar, the following actions are offered:

It would be nice to also have a "Set indent size to a specified number" action.

@Vlad-Shcherbina ,

It would be nice to also have a "Set indent size to a specified number" action.

Once you select the "Indent Using Spaces" action, you can select the number of space, like below: (for some reason, it says "tab size" even though I selected "space")

This addresses your issue, right?

@ecgan, thank you! This works.
But this functionality is easy to miss. I didn't expect for another list to appear after selecting "Indent Using Spaces".
For menus, "..." after an item conventionally indicates that it opens a dialog box, and ">" or a triangle pointing to the right after an item means it's a submenu.
Perhaps it would be fitting to add ">" or a triangle pointing to the right here.

@Vlad-Shcherbina , yea I remember I had similar experience / surprise when I first discovered this. Your idea is a good one. Hope the devs are able to work on your idea.


SLING-4483 - Sightly: data-sly-resource does not properly resolve relative paths

Prepended current resource path to relative paths to make sure normalization doesn't break the paths. The same approach is used by <sling:include ../>

Applied by Radu Cotescu in r1665219 together with integration test.


Missing ops on using movenet/singlepose/lightning model

System information

Linux (armv7l) with Mali G31 GPU
TensorFlow installed from (source or binary): Source
TensorFlow version (or github SHA if from source): 2.6.0

Following is the output on trying to run the movenet singlpose lightning model (FP16 - taken from TFHub) on the device:
ERROR: Following operations are not supported by GPU delegate:
ARG_MAX: Operation is not supported.
CAST: Not supported cast case
CONCATENATION: OP is supported, but tensor type/shape doesn't supported.
DEQUANTIZE:
FLOOR_DIV: OP is supported, but tensor type/shape doesn't supported.
GATHER_ND: Operation is not supported.
MUL: OP is supported, but tensor type/shape doesn't supported.
PACK: OP is supported, but tensor type/shape doesn't supported.
RESHAPE: OP is supported, but tensor type/shape doesn't supported.
SUB: OP is supported, but tensor type/shape doesn't supported.
UNPACK: Operation is not supported.

97 operations will run on the GPU, and the remaining 200 operations will run on the CPU.

On trying to run FP32 model available from TF Hub, following is observed:
ERROR: Following operations are not supported by GPU delegate:

ARG_MAX: Operation is not supported.
CAST: Not supported cast case
FLOOR_DIV: OP is supported, but tensor type/shape doesn't supported.
GATHER_ND: Operation is not supported.
MUL: OP is supported, but tensor type/shape doesn't supported.
PACK: OP is supported, but tensor type/shape doesn't supported.
RESHAPE: OP is supported, but tensor type/shape doesn't supported.
SUB: OP is supported, but tensor type/shape doesn't supported.
UNPACK: Operation is not supported.

97 operations will run on the GPU, and the remaining 45 operations will run on the CPU.

Standalone code to reproduce the issue
Used TfLiteGpuDelegateCreate to create TF lite OpenGL delegate with default options and the model is built with FlatBufferModel::BuildFromFile.
Able to run the model though there are missing ops. The model runs slower with single digit FPS.

Could you please confirm if the aforementioned ops are not supported by TF lite?
Is it due to the use of OpenGL and/or Mali GPU, or it is unavailable for all backend/platforms?
In case if custom ops are to be implemented, are there any references (code segment/doc) you can suggest which implements ops using GPU with OpenGL backend?

Hi @csn1800 !
Sorry for the late response.
In case , It does not find any supported ops for gpu delegate then it can fall back to other delegate like nnapi ,xnnpack then to cpu delegate.
Please refer below thread to set the above fall back policy.
Reference - fallback policy , benchmarking
Did you check in 2.9/2.10 version yet?
Thank you!

@mohantym Thanks for the response. I understand that there is a fallback to CPU and hence the instructions are running on CPU instead of GPU. With the experiments I have tried with the same model on CPU and GPU, it is seen that the CPU only version has 25% less frame rate than that of GPU version. With more instructions running on GPU it should be able to get a latency improvement. So, could you please provide answers to specific questions:

Could you please confirm if the aforementioned ops are not supported by TF lite?
Is it due to the use of OpenGL and/or Mali GPU, or it is unavailable for all backend/platforms?
In case if custom ops are to be implemented, are there any references (code segment/doc) you can suggest which implements custom ops using GPU with OpenGL backend?

@csn1800 !
Cast, GatherNd and Unpack are in Select ops allow list . As per this thread, GPU acceleration does not work even if you follow the select ops syntax.
For Custom OP impementation, Please refer this document here.
Alternatively , You can fallback to XNNPack / NNAPi delegate.
Thank you!

Thanks @mohantym  for the clarifications.

Cast, GatherNd and Unpack are in Select ops allow list . GPU acceleration does not work even if you follow the select ops syntax
So, you mean to say these ops are not supported on all GPUs (and backends)?

Could you please suggest a way to make these unsupported ops supported on GPUs (with OpenGL backend), if it is there? Will creating custom ops under custom_parsers.cc, inheriting the NodeShader and overriding the GenerateCode be helpful?

Alternatively, You can check the performance on XNNPack / NNAPi delegates through Benchmarking.

I assume NNAPI works only on Android platform, is that correct? Or is there a way to use NPU on Linux ARM platform?
The benchmark tool (linux_arm) works for CPU (xnnpack, threads etc.) but not for GPU on Linux ARM platform. Still, is there a way to get benchmarking performed on Linux ARM Platform with Mali GPU?

@sachinprasadhs !
Could you look at this query.
Thank you!

@sachinprasadhs Could you please have a look at the above query?

Yes, NNAPI is specific to android platform.
For details on delegates registering can be found in below code files.
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/delegates/gpu/delegate.h
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/c/common.h
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/delegates/gpu/metal_delegate.h

@sachinprasadhs Thank you for the response. Could you please also address the other question I had, quoting it below:

Could you please suggest a way to make these unsupported ops supported on GPUs (with OpenGL backend), if it is there? Will creating custom ops under custom_parsers.cc, inheriting the NodeShader and overriding the GenerateCode be helpful?

@impjdi / @sachinprasadhs could you please look into the above query?

Hi @csn1800
As this comment suggests, Movenet didn't support GPU and it's non-trivial to do it.
Can you try BlazePose as suggested here and let us know if that works for your case?
Thanks.

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The TFLite team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the TFLite space.
Thanks.


538 remove verify false from proofs

I'm gonna restart this PR once #549 goes through (which it looks like it will).


chore(package): move linting script to root

📚 Description
It should not only lint playground files.
📝 Checklist

[x] All commits follow the Conventional Commit format
[x] The PR's title follows the Conventional Commit format

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Response data comes in small/short chunks making it hard to read

Description:
With some machines, the response data comes in small/short chunks making it hard to read in the output log. See this comment by @moof-moof for more detail.
Reproduction:
The ability to reproduce this issue will depend on what machine you are using but in general, follow these steps:

Connect to the device.
Send some sample G-code commands.
Observe the output log.

Expected Behavior:
The output contains longer more readable text.
Screenshots:
See here.
Environment:
Please include the following information:

Device
OS
Browser
Version

Extra:
Add any other information about the problem here.

@moof-moof my best guess is that it has something to do with the connection settings, most likely the buffer size. The docs I linked to should provide more detail on each of the settings. You should be able to edit each of the settings using the inputs at the top of the page (see screenshot 1). Modifying any of the settings will automatically disconnect you from the machine so be sure to reconnect afterwards.
Perhaps try Googling the recommended connection settings for your machine? I've noticed that I occasionally get broken response data from my printer but not all the time and the messages are always longer than 4 characters (see screenshot 2). Without having access to your device it's a little hard to debug, how about you try fiddling with your connection settings and if it's still not working I will take a closer look over the weekend when I have more time.
If you want to see the raw response data in the console try adding console.log(decoder.decode(value)) to line 147 of serial/browser/sender.js.
Screenshot 1

Screenshot 2

FYI @moof-moof I think I've got a solution for this, I'm working on it and will update you shortly.

Hey @moof-moof I believe I have a solution that should work regardless of the connection settings. If you could checkout the bug/1/response-data-comes-in-small-chunks-making-it-hard-to-read branch and let me know if it is working for you that would be awesome! The branch also contains a few other small changes I made so if you want to see the fix for just this issue take a look at this commit. Once you can confirm it's working (or not) I will merge the changes into the main branch.

Hey-hey-hey! @jgphilpott
"S-U-C-C-E-S-S" -- That is how we spell success!
Thank you for your help.


fix rows next

PR Details

Fix bug
Description
rows.Next should increase the curRow variable
while rows.Columns shouldn't do it

Related Issue
https://github.com/360EntSecGroup-Skylar/excelize/issues/502

Motivation and Context

How Has This Been Tested

Add a unit test. Using require to cancel the test immediately instead of

if !assert.NoError(t, rows.Error()) {
	t.FailNow()
}

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Codecov Report

Merging #503 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #503      +/-   ##
==========================================
+ Coverage   96.26%   96.26%   +<.01%
==========================================
  Files          26       26
  Lines        5513     5514       +1
==========================================
+ Hits         5307     5308       +1
  Misses        115      115
  Partials       91       91

Impacted Files
Coverage Δ

rows.go
84.93% <100%> (+0.06%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2e791fa...448c5ef. Read the comment docs.

Change as requested

Sorry about that!


crashes immediately when receiving messages

I'm using the git version of this app on chakraOS with testing repos enabled, and everytime I get a message it crashes doesnt matter what it is.
dmesg gives this error:
[17567.281763] Media[17765]: segfault at 0 ip           (null) sp 00007fffe246f128 error 14 in Messenger[400000+43eb000]
and with gdb I only get this: output link

I also happen to have some crash too recently, will need to investigate...


Content Suggestion: Bolt Card

Link to Content: https://www.boltcard.org/
Briefly Describe Content: Bitcoin payments over the Lightning Network with a contactless payment card
Suggested Section: Dev Tools

Ready to be made into a pull request


Large strings overwrite program

Attempting to print too large of a string leads to the program overwriting the program in RAM

Fixed as of this commit https://github.com/SleepingFox88/Assembly/commit/65ca0acfb6c1dad404e1137fbff78b201a2b3e4d


Move netstandard2.0 TFM first

OmniSharp's multitargeting support is best described as "first wins". By having net7.0 first, we were ensuring that any project that referenced LanguageSupport didn't see any of the types defined in it, even if they weren't referencing the net7.0 version. This makes the VSCode experience better for such projects, as the types defined are actually visible.

@dotnet/razor-tooling is this failure a known flaky failure? If not, can someone investigate?

That test hasn't previously been flaky, to my recollection, but the fact that it passed in the debug run would imply it is not your fault.

@ryanbrandenburg any ideas? Have you seen this test be flaky?

@333fred I got this failure too in https://github.com/dotnet/razor/pull/8085/commits/4c3f19c727632e0f625f602536db4777e42f953b (among others) then merged main and it went away

I have seen a number of flaky integration test failures recently that succeed when re-running failed checks.

I haven't seen CSharpCodeActionsTests_MakeExpressionBodiedMethod be flaky before. Looking at the diagnostics I can see that the proper thing did happen (a code action was shown, even if it wasn't picked up by the Integration infra). I recommend updating like @jjonescz suggested, there may have been an issue fixed by an updated version that I didn't run into because I hadn't updated in a bit.

Thanks all.


[CELEBORN-1683] Support to check worker versions

What changes were proposed in this pull request?
Support to get worker versions.
Why are the changes needed?
It is helpful for celeborn cluster maintain and feature rollout.
Does this PR introduce any user-facing change?
Yes, new worker info fields.
How was this patch tested?
UT.

Does this PR belong to something big?

Hi @FMX , seems not big change, just add a new version filed in the WorkerInfo object.

Does this PR belong to something big?

Hi @FMX , seems not big change, just add a new version filed in the WorkerInfo object.

Why are you want to add this version field?
Adding this field only makes no sense here, unless you want to make Celeborn master support multiple version worker sub-clusters or you want to make Celeborn cluster to upgrade its components.

Why are you want to add this version field?

I am rolling upgrade the celeborn workers, want to get the overview of celeborn workers.
Just like namenode UI shows the datanode versions:

Adding this field only makes no sense here

How about returning the worker version information within Worker RESTful /api/v1/workers?

will open it in the future on demand


Query for contained Object value

I'm trying to query a table for objects based on an object contained value. Basically I have two classes
class Owner{
        String serial;
}
class Person{
        Owner owner;
}

It does store ok, and if I use SugarRecord.listAll(Person.class) I get the object owner filled.
But what I want is to do something like
SugarRecord.find(Person.class, "owner.serial = ?", "123")
Is it possible?

not yet, you could create a PR for this use case
I think it is very useful

If I knew how to do that...but i'm lost with cursor in android right now :)


Update whats new to v4.1.0

          1 Message

:book:
Thank you for submitting a pull request to SwifterSwift. The team will review your submission as soon as possible.

  Generated by :no_entry_sign: Danger


wall mounted lockers

About the PR
Adds a variety of different wall mounted lockers and closets for mappers to use on shuttles and such.
Screenshots

Changelog

:cl:

add: Added a variety of wall-mounted lockers.

#11358

i added a check so that this doesn't apply for wallmount entitystorage. It seems reasonable enough to me.

sounds fine to me


[communication] update azure-communication-rooms to 1.1.0 (pstn-dial-…

…out GA)

This checklist is used to make sure that common guidelines for a pull request are followed.
Related command

General Guidelines

[ ] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
[ ] Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
[ ] My extension version conforms to the Extension version schema

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

communication


Fix cronet_transport.c failure handling bug

When a stream is cancelled or failed, creating corresponding error object is only to be done in OP_COMPLETE. Doing so for OP_RECV_MESSAGE and OP_RECV_INITIAL_METADATA creates problem in the upper layers.

Should there be a test that reproduces the problem?

You might want to hold off on this: #8842 fixes a lot of the internal error
handling stuff (so this should work as expected).
On Wed, Jan 11, 2017 at 12:11 PM makdharma<EMAIL_ADDRESS>wrote:

Should there be a test that reproduces the problem?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/pull/9308#issuecomment-271980340, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJpudZRlKvJYigvF9G20LdySPvN4dx2cks5rRTeCgaJpZM4LgYwD
.

@makdharma the test is on a new test framework that I am writing to test Cronet's client side. I was hoping to push this test framework as a separate PR after it is polished a bit more. See commit 1ace58c for the tests.

@ctiller - Ahh thanks for the ref. In theory, which is the correct thing to do? Include an error object when scheduling all of recv_initial_metadata_ready, recv_message_ready, and on_complete? Or just for on_complete and give the others GRPC_ERROR_NONE?

@ctiller - When do you think #8842 would get merged in? They got a P0 bug hanging on this and maybe this would be a good temp fix for them if it's gonna take a while to merge in #8842?

Test fails seem unrelated. @makdharma requests a review

Ping

@ctiller - Does the changes in cronet_transport.c in this PR make sense (at least as a temporary fix before #8842 kicks in)?

Two bugs remaining before #8842 lands... which means hopefully today.
On Thu, Jan 19, 2017 at 12:20 PM Muxi Yan<EMAIL_ADDRESS>wrote:

@ctiller https://github.com/ctiller - Does the changes in
cronet_transport.c in this PR make sense (at least as a temporary fix
before #8842 https://github.com/grpc/grpc/pull/8842 kicks in)?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/pull/9308#issuecomment-273887250, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJpudQGS6qxGHcC3ICkPd1AM5OI33lKcks5rT8WTgaJpZM4LgYwD
.

test this please

Test failures:
yaph.sh failure - #9437
HybridEnd2endTest.AsyncRequestStreamResponseStream_AsyncDupService - #9438
qps_json_driver.cpp_protobuf_sync_unary_qps_unconstrained_secure_500kib_resource_quota - #9399


One authorization request per each Docker command

I have noticed that per each Docker command, the Docker auth service gets hit for authorization. But as far as I understand this token based and authentication server should get hit when the access token is expired. I have increased the access token expiration but still, the problem occurs.

I also noticed this while evaluating docker_auth for a production use-case. Clearly the expiration works to some extent—a typical Docker operation involves numerous HTTP requests for which the registry would need to authenticate the token each time, and this seems to work fine—but just not between subsequent operations.
It could be something to do with my configuration I suppose. Something that causes either the CLI to not send the token on the initial request or that causes the registry to reject calls to '/v2' making the CLI think it needs to re-auth.
@rojer any ideas?

Actually, I was claiming the opposite: my client appeared to be getting 401s from the registry and then re-requesting a new token on every HTTP request, not just every command. (i.e. the initial GET to /v2/ as well as requests for manifests and blobs)
However, I just re-ran my test to collect some logs, but now it's happening how I expect: the GET to /v2/ returns a 401, my client gets a token for repository::pull, and it uses it successfully on all subsequent calls. My working theory is that there was a problem with my Docker for Mac setup.
That said, @ThilinaManamgoda's original issue still stands: if you re run the same docker command immediately after, it doesn't use the token it got the first time (even though it's still valid) but instead requests a new token with identical scope. I think this must just be a behavior of the docker CLI tool and not docker_auth—the CLI must simply not be persisting tokens for re-use between calls, opting to keep them only in memory for use with multiple requests with the same scope in the same overall command.


NOT_WRITE_AVAIL: schedule event to resend data frames

When sending DATA frames, we check that we are not exceeding our write
buffer's high water mark. If so, we don't write the frame.
Unfortunately, before this patch, no event was scheduled to come back
and try to resend any unwritten frames. This led to dropped frames at
times. This patch adds a scheduled event to later re-try sending the
unsent frames.
This patch also updates the grpc.test.py to send 100 messages instead of
1 which, at least on my local system, reproduced this issue.

I'm running this on a box in Yahoo production and it is running fine.

Cherry-picked to v10.0.x


Claims are not sorted in the Mapped Local Claim dropdown in Add External Claim menu

Fixed with https://github.com/wso2/carbon-identity-framework/commit/402ca1317da143edf8bfac57bc9945c3b401d124


Rust file (.rs) is not a supported action runtime

Environment details:

Mac OS Catalina 10.15.7
Kubernetes through Docker Desktop <IP_ADDRESS>
Kubernetes 1.16.5

Steps to reproduce the issue:

Set up OpenWhisk locally with instructions here
Start OpenWhisk with `helm install owdev ./path/to/openwhisk-deploy-kube/helm/openwhisk -n openwhisk --create-namespace -f mycluster.yaml
mycluster.yaml looks like:

whisk:
  ingress:
    type: NodePort
    apiHostName: <IP_ADDRESS>
    apiHostPort: 31001

nginx:
  httpsNodePort: 31001

Wait for OpenWhisk to launch (validate with kubectl get pods -n openwhisk)
Follow rust setup instructions here
At the command wsk action create helloRust hello.rs

Provide the expected results and outputs:
The action is built with output something like
ok: created action helloRust

Provide the actual results and outputs:
error: Invalid argument(s). '.rs' is not a supported action runtime
Run 'wsk --help' for usage.

Additional information you deem important:

There seems to be a missing step here to to enable Rust with OpenWhisk. I am not sure if this step is documented in any readme on this service.
Is there something you have to put in mycluster.yaml to handle Rust?

try wsk action create -kind rust helloRust hello.rs
it looks to me like there's an oversight in the CLI where .rs was not added as a default extension for the kind rust

try wsk action create -kind rust helloRust hello.rs
it looks to me like there's an oversight in the CLI where .rs was not added as a default extension for the kind rust

@dgrove-oss That solved the problem. I used wsk action create --kind rust:1.34 helloRust hello.rs.
I have a pull request to update the example here: wsk -i action create --kind rust:1.34 helloRust hello.rs

@dgrove-oss That solved the problem. I used wsk action create --kind rust:1.34 helloRust hello.rs.
I have a pull request to update the example here: wsk -i action create --kind rust:1.34 helloRust hello.rs

Thanks.  Going to move this issue to the openwhisk-cli repo because we should fix the cli so that it recognizes the .rs extension.

Thanks.  Going to move this issue to the openwhisk-cli repo because we should fix the cli so that it recognizes the .rs extension.


RELENG-5962 set config in Vmtype object

Codecov Report

Merging #114 (6a04578) into main (5a4e808) will decrease coverage by 0.09%.
The diff coverage is 56.81%.

@@            Coverage Diff             @@
##             main     #114      +/-   ##
==========================================
- Coverage   69.93%   69.83%   -0.10%
==========================================
  Files          15       15
  Lines         785      799      +14
==========================================
+ Hits          549      558       +9
- Misses        236      241       +5

Impacted Files
Coverage Δ

srcs/runners_manager/monitoring/prometheus.py
77.27% <ø> (ø)

srcs/runners_manager/runner/RunnerFactory.py
28.94% <0.00%> (ø)

...unners_manager/runner/tests/test_runner_manager.py
99.25% <ø> (ø)

..._manager/vm_creation/openstack/OpenstackManager.py
25.86% <20.00%> (-1.82%)
:arrow_down:

srcs/runners_manager/vm_creation/VmType.py
95.45% <88.88%> (+0.71%)
:arrow_up:

srcs/runners_manager/runner/Runner.py
95.45% <100.00%> (ø)

srcs/runners_manager/runner/tests/test_manager.py
100.00% <100.00%> (ø)

srcs/runners_manager/vm_creation/CloudManager.py
60.71% <100.00%> (ø)

...cs/runners_manager/vm_creation/openstack/schema.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5a4e808...6a04578. Read the comment docs.

PR assigned to @erwan-b for now, will take over with the ticket https://scality.atlassian.net/browse/RELENG-6014


Update aws-java-sdk-dynamodb to 1.12.158

Updates com.amazonaws:aws-java-sdk-dynamodb from 1.11.1034 to 1.12.158.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.amazonaws", artifactId = "aws-java-sdk-dynamodb" } ]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #240.


If a word has an article on wikipedia parser is failing to remove those texts

Hello,
If a word has an article on wikipedia then parser will include that title in text field of definition.
Ex:  try parsing alexin
As of now i am solving this like this
       definition['text']=[s for s in definition['text'].splitlines() if s and not ((s.lower() == 'wikipedia') or s.lower().startswith('wikipedia has an'))]

Thanks! Fixed it for now in 2e755f40dbfdcdb6bdd74c1b3dcb45071698cee2

It is failing in python 3.

I tried it on Python 3.6 and don't see any issues. Is there a specific word which is failing?


[dotnet::routing] Solution null when unresolved

Using the nuget v7.4 package, dotnet, CSharp.
I'll go ahead and post this so that perhaps I can get some informed feedback advising what adjustments I may need to make. When I have the repo committed I will post links to the modules in question.
Maybe it is my routing dimension, I have been unsuccessful configuring the dimension vehicle capacity, impose a disjunction, which I gather would prohibit scheduling certain nodes (?), and in fact it took invoking SetAllowedVehiclesForIndex to get any sense of restricting scheduling of vehicles to certain nodes at all. When the solution is null, where might we find a status, etc, in order to better diagnose what might be going on?
I'll have my bits committed shortly to my repository, commit pending, maybe y'all could take a look and make some recommendations along these lines. My focus at first was to exercise an end to end usage use case, in order so that I could gain understanding what bits are necessary from my scaffold in order to facilitate routing. Eventually I will introduce more specific unit tests for the constituent components.
There are three prongs help to stand up the scaffold:

Context, embodies some utility methods, RoutingIndexManager through ManagerContext, RoutingModel through RoutingContext, and, at a domain level, DomainContext<TNode, TDepot, TContext>; although I would argue that, in theory, RoutingContext is the bare minimum. Domain comprehension is good if there are additional bits necessary for the Dimension to make such decisions, but is unnecessary for the basics.

Dimension, is the key to training the RoutingModel. Initially I thought that there needed to be a binary/unary dimension, but I backed off of this assumption. Now there is simply domain and not domain.

Finally, the RoutingProblemSolver also with domain versus not domain comprehension. Basically works with the context. Fundamentally, the main goal through all this is to provide sufficient scaffold in order handle much of the boilerplate details, dissecting routing problem solution assignment, for instance. That is quite repetitive, the package will add value where that sort of thing is concerned.

Visitor comprehension is also a thing, which affords subscribers an opportunity to transform the context according to their business needs. In some cases, for instance, nodes may be transformed, or vehicles, so on and so forth, before the context lands in the dimensions, is registered through dimensions, etc. Not important, I think for purposes of gaining preliminary comprehension, but might be good to know.

See edits in the OP text. Adding links to related source...


Spam Filter

Spam filter for:
Emoji spam
All caps spam
Repetition spam
Bad Words List

maybe: external link spam, or porn links! warn if they are publishing it on the wrong channel!

maybe: external link spam, or porn links! warn if they are publishing it on the wrong channel!

Yeah I agree something to help with that would be UT1 Blacklists


Accidentally Splicing All Connections to a Document

This issue arises after creating a new feature that relies on checking a term's document frequency to be below a certain threshold percentage before. Before this feature, there was also a feature to check that the document frequency of a term was above a certain threshold as well. This leads me to the question:
What if no terms within a document land in that given threshold space?
Possibly changing this threshold space might help, but I'm curious if there should be an edge case in place to ensure that a given document has at least one (maybe more then one -- another question!) term within the final given feature space.

The speed upgrade with #14 fixes cannot be overstated -- at this point, the clusters could be entirely recomputed each time a request is made (of course, future features will ensure that I eek out every drop of efficiency). From more investigation, the document clusters still seem reasonable. However, there are cases where the nearest neighbors selection makes its choice with a distance of zero between documents, which is not very worthwhile. This is likely because of the way the major terms are chosen. More investigation will be done on that front.

This will no longer be a problem. For some reason (I still don't know why), the number of terms has jumped back up to 20,000... The clusters must be cached (see #17) for any reasonable response time. As for splicing a document off entirely, there seem to be no issues in the "bug" category, however the chance is still realistic, which is probably what causes large masses of relatively unrelated documents.


Bump parity-scale-codec and primitive-types versions

This bumps parity-scale-codec and primitive-types versions.
This is needed so that frontier can have a consistent dependency on parity-scale-codec.

This may require my PR on ethereum and a version bump: https://github.com/rust-blockchain/ethereum/pull/8

Hello @sorpaas, do you have any time estimation for this?

Sorry about the delay! Was on holiday!


Use same arguments for gcc and clang.

Scope & Purpose
Fix some inconsistencies in the arguments passed to the compiler when building with clang.

[ ] :hankey: Bugfix (requires CHANGELOG entry)
[ ] :pizza: New feature (requires CHANGELOG entry, feature documentation and release notes)
[ ] :fire: Performance improvement
[x] :hammer: Refactoring/simplification
[ ] :book: CHANGELOG entry made

Backports:

[x] No backports required

Testing & Verification

[x] This change is a trivial rework / code cleanup without any test coverage.

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/12819/

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/12853/

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/12854/

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/12864/


Need display names for EAP types

overview
When we add EAP support to the run app front end we will need user-facing names to display for types of EAP security.
current behavior
We only have name fields suitable for using internally as dict keys:
{
    "options": [
        {
            "name": "ttls/eap-tls",
            "options": [
                {
                    "name": "identity",
                    "displayName": "Username",
                    "required": true,
                    "type": "string"
                },
               ....

expected behavior
We should also expose a displayName field with something suitable for the user. We should decide whether we want to list outer and inner types separately, e.g.
{
    "options": [
        {
            "name": "ttls/eap-tls",
            "displayName": {
                 "outer": "EAP-TTLS",
                 "inner": "EAP-TLS"
            },
            ....

or as one string, e.g.
{
    "options": [
        {
            "name": "ttls/eap-tls",
            "displayName": "EAP-TTLS with EAP-TLS"
            ....

My preference would be for displayName to be a single string for ease of client use and API consistency.
Inner and outer security type seem like good structured information to have, so I'd be down to either a) add them as top level fields, too (e.g. "outerType": "EAP-TTLS") or to punt until we have UI to display that data in a structured manned


Fix warnings

Fix Swift 2 warnings such as:
#selector(onTouchCancelButton)
Reuse Pods code in the sample project, to avoid code duplication and fixing in the wrong place, like https://github.com/ipraba/EPContactsPicker/pull/17/files

I would love to see this merged in @ipraba ! I have some additions that I have been sitting on as well. The code duplication is all that is holding me back.


Scrum 34 clean up repository

Moved the data card and model card to a new folder named "cards".

Looks great. go ahead


Cannot install rke on Azure VM

Can someone please explain what is wrong here
azureuser@myubuntu:~$ sudo docker --version
Docker version 19.03.12, build 48a66213fe
azureuser@myubuntu:~$ sudo grep -i tcpfor  /etc/ssh/sshd_config
AllowTcpForwarding yes
azureuser@myubuntu:~$ sudo systemctl status docker
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2020-08-11 04:13:39 UTC; 7min ago
Docs: https://docs.docker.com
Main PID: 1078 (dockerd)
Tasks: 10
CGroup: /system.slice/docker.service
└─1078 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
Aug 11 04:13:37 myubuntu dockerd[1078]: time="2020-08-11T04:13:37.008228400Z" level=warning msg="Your kernel does not support cgroup blkio weight"
Aug 11 04:13:37 myubuntu dockerd[1078]: time="2020-08-11T04:13:37.008240000Z" level=warning msg="Your kernel does not support cgroup blkio weight_device"
Aug 11 04:13:37 myubuntu dockerd[1078]: time="2020-08-11T04:13:37.009021200Z" level=info msg="Loading containers: start."
Aug 11 04:13:38 myubuntu dockerd[1078]: time="2020-08-11T04:13:38.460568400Z" level=info msg="Default bridge (docker0) is assigned with an IP address <IP_ADDRESS>/16. Daemon option --bip can
Aug 11 04:13:38 myubuntu dockerd[1078]: time="2020-08-11T04:13:38.565924400Z" level=info msg="Loading containers: done."
Aug 11 04:13:39 myubuntu dockerd[1078]: time="2020-08-11T04:13:39.161273527Z" level=warning msg="Not using native diff for overlay2, this may cause degraded performance for building images:
Aug 11 04:13:39 myubuntu dockerd[1078]: time="2020-08-11T04:13:39.161588199Z" level=info msg="Docker daemon" commit=48a66213fe graphdriver(s)=overlay2 version=19.03.12
Aug 11 04:13:39 myubuntu dockerd[1078]: time="2020-08-11T04:13:39.197582967Z" level=info msg="Daemon has completed initialization"
Aug 11 04:13:39 myubuntu dockerd[1078]: time="2020-08-11T04:13:39.370419951Z" level=info msg="API listen on /var/run/docker.sock"
Aug 11 04:13:39 myubuntu systemd[1]: Started Docker Application Container Engine.
azureuser@myubuntu:~$ sudo rke config
[+] Cluster Level SSH Private Key Path [~/.ssh/id_rsa]:
[+] Number of Hosts [1]:
[+] SSH Address of host (1) [none]: <IP_ADDRESS>
[+] SSH Port of host (1) [22]:
[+] SSH Private Key Path of host (<IP_ADDRESS>) [none]:
[-] You have entered empty SSH key path, trying fetch from SSH key parameter
[+] SSH Private Key of host (<IP_ADDRESS>) [none]:
[-] You have entered empty SSH key, defaulting to cluster level SSH key: ~/.ssh/id_rsa
[+] SSH User of host (<IP_ADDRESS>) [ubuntu]: azureuser
[+] Is host (<IP_ADDRESS>) a Control Plane host (y/n)? [y]: y
[+] Is host (<IP_ADDRESS>) a Worker host (y/n)? [n]: y
[+] Is host (<IP_ADDRESS>) an etcd host (y/n)? [n]: y
[+] Override Hostname of host (<IP_ADDRESS>) [none]:
[+] Internal IP of host (<IP_ADDRESS>) [none]:
[+] Docker socket path on host (<IP_ADDRESS>) [/var/run/docker.sock]:
[+] Network Plugin Type (flannel, calico, weave, canal) [canal]:
[+] Authentication Strategy [x509]:
[+] Authorization Mode (rbac, none) [rbac]:
[+] Kubernetes Docker image [rancher/hyperkube:v1.18.6-rancher1]:
[+] Cluster domain [cluster.local]:
[+] Service Cluster IP Range [<IP_ADDRESS>/16]:
[+] Enable PodSecurityPolicy [n]:
[+] Cluster Network CIDR [<IP_ADDRESS>/16]:
[+] Cluster DNS Service IP [<IP_ADDRESS>]:
[+] Add addon manifest URLs or YAML files [no]:
azureuser@myubuntu:~$ sudo rke up
INFO[0000] Running RKE version: v1.1.4
INFO[0000] Initiating Kubernetes cluster
INFO[0000] [dialer] Setup tunnel for host [<IP_ADDRESS>]
WARN[0000] Failed to set up SSH tunneling for host [<IP_ADDRESS>]: Can't retrieve Docker Info: error during connect: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.24/info: Unable to access node with address [<IP_ADDRESS>:22] using SSH. Please check if you are able to SSH to the node using the specified SSH Private Key and if you have configured the correct SSH username. Error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
WARN[0000] Removing host [<IP_ADDRESS>] from node lists
WARN[0000] [state] can't fetch legacy cluster state from Kubernetes: Cluster must have at least one etcd plane host: failed to connect to the following etcd host(s) [<IP_ADDRESS>]
INFO[0000] [certificates] Generating CA kubernetes certificates
INFO[0000] [certificates] Generating Kubernetes API server aggregation layer requestheader client CA certificates
INFO[0000] [certificates] GenerateServingCertificate is disabled, checking if there are unused kubelet certificates
INFO[0000] [certificates] Generating Kubernetes API server certificates
INFO[0000] [certificates] Generating Service account token key
INFO[0000] [certificates] Generating Kube Controller certificates
INFO[0001] [certificates] Generating Kube Scheduler certificates
INFO[0001] [certificates] Generating Kube Proxy certificates
INFO[0001] [certificates] Generating Node certificate
INFO[0001] [certificates] Generating admin certificates and kubeconfig
INFO[0002] [certificates] Generating Kubernetes API server proxy client certificates
INFO[0002] Successfully Deployed state file at [./cluster.rkestate]
INFO[0002] Building Kubernetes cluster
FATA[0002] Cluster must have at least one etcd plane host: please specify one or more etcd in cluster config

Please use https://rancher.com/docs/rke/latest/en/troubleshooting/ssh-connectivity-errors/.
It also seems you are running rke up on the same host as the host you want to provision, so ssh<EMAIL_ADDRESS>should succeed to test SSH connectivity, and then docker ps to ensure proper access.

Thanks for your reply. Issue was that I didn't add the public key in ~/.ssh/authorized_keys. After adding it was successful
Appreciate your quick reply.


fix: single partition in SortPreservingMergeExec don't take fetch

Which issue does this PR close?
Closes #.
Rationale for this change
When SortPreservingMergeExec has only one partition, it directly calls its input to get the result. Therefore, the fetch parameter in SortPreservingMergeExec will have no effect.
so this pr, I reuse the LimitStream in Limit to limit the fetch result in SortPreservingMergeExec.
What changes are included in this PR?
Are these changes tested?
yes, add test for this case
Are there any user-facing changes?

Thank you @haohuaijin  and @Dandandan  for the review


Fixed issue with Cost Details page showing incorrect charts

This change ensures the current group_by is reset whenever the parent's group_by is changed.
Fixes https://github.com/project-koku/koku-ui/issues/133

Deploy preview for project-koku ready!
Built with commit 4cbed8060a58a8975e544170b9fc4c49ce373b42
https://deploy-preview-134--project-koku.netlify.com

@dlabrecq I just merged https://github.com/project-koku/koku-ui/pull/132 - can you pull rebase to fix the ci problem?
I can tell that the travis failed because unit tests took ~12 minutes.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #134   +/-   ##
=======================================
  Coverage   89.26%   89.26%
=======================================
  Files         113      113
  Lines        1164     1164
  Branches      147      147
=======================================
  Hits         1039     1039
  Misses        114      114
  Partials       11       11

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6524eac...3e3c9df. Read the comment docs.


Update supervisor to v4.1.1

@pcarranzav can we close this ticket?

Yes, this was closed in #626 - sorry I forgot to add the "Closes" in the PR


transfer --help option improvements and examples

Inspired by xclip :smile:

I hate man pages without examples!

Before:
~> transfer --help
Usage: transfer file name

After:
~> transfer --help
Usage: transfer [FILE] [NAME]

Examples:
      transfer my-file.txt
      transfer my-file.txt my-file-new-name.txt
      echo my message text | transfer my-message.txt
      cat my-file.txt | transfer my-file-new-name.txt

Changelog:

[x] b1f61d9: More verbose --help output with examples.
[x] d6bcdcd: One more example in README.md using cat with pipes.
[x] 600b972: Add travis.yml file.

thanks @joseluisq


Investigate flaky hang in presentation-full-stack-tests

Based on this comment: https://github.com/iTwin/itwinjs-core/issues/5019#issuecomment-1429801795

CNR, doesn't show up in CI either - closing.


Fix for early cancel in goog.fx.Dragger

An early cancel is triggered on the second drag start unless we set this.dragging_ = false after a first early cancel has occurred. Can someone please give their 2 cents on whether this is an appropriate fix or if I'm missing something?

Possible reasons EARLY_CANCEL is dispatched: disabled dragger, dragging with the right mouse button or releasing the button before reaching the hysteresis distance.
Please provide a repro case using https://jsfiddle.net/c2c6zvrk/ if you can demonstrate a bug.


Replace deprecated API

Thank's. Have you tested it?
There is any change to the behavior?
Is this just refactoring or are you fixing an issue?

I haven't test it yet, but it shouldn't be any behavior changes since it's just minor refactoring 😃

Please test it. let me know if you need any help :)

Tested and good to go

great. will be merged


docker-compose created containers not showing up in rancher

Rancher Versions:
Server: 1.4.1
Steps to Reproduce:
create a generic docker-compose.yml file
do a docker-compose up, with yaml, on a host managed by rancher
Results:
container doesnt appear in the rancher API
Expected:
unmanaged containers should appear in rancher.

This is fixed in 1.5. Here is the related ticket https://github.com/rancher/rancher/issues/6911.


Improve gRPC service-names, deprecate old services

We should rename the protos here and here to flagd.evaluation.v1 and flagd.sync.v1, respectively.
Why?
gRPC services should be named/namespaced appropriately, particularly for the following reasons:

collisions like this can occur when loading protos with the same name; not having a flagd namespace increases this likelihood significantly.
when HTTP traffic is inspected, lack of flagd will make it difficult to identify, increasing likelihood of admins blocking traffic, etc
semantic names are generally important, and schema.v1 doesn't say anything about what this RPC/service actually DOES.

How?
In order to reduce breakage, we should support both the old and new RPCs. I'm not sure how best to do this. There may be a way to "proxy" traffic from one to the other. Alternatively, we might have to build and run both protos (so we would pull 2 versions of the protobuff schema).
We would then slowly update providers to use the new protos, and deprecate the old proto in flagd 1.0.

@toddbaert I would be happy to work on this

Thanks @bacherfl ! Feel free. Let me know if you need help - it could get a bit hairy.
One think you may need to do is pull 2 versions of the schemas repo (you can check out a tag).


OpenDrive precision

I try to use Opendrive file for getting ground truth 3d track of lane markings. What I did:

select position of camera
x, y, z = -86.6543, 160.4616, 1.0102
roll = -0.07144, pitch = -0.1293, yaw = 92.95920
set camera simulate physics to false and set camera transform to that point and angles
parse opendrive file to get geometry of road markings
draw current segment markings on segmentation image
result:

As you see, it is not ideal. Or is it normal? What precision between Town3 mesh and corresponding OpenDrive file? What precision is function "set_camera_transform"?

Hello @Unlingius I wanted to know how you did step 3 and 4 that you have mentioned i.e.

how did you parse the opendrive file to get geometry of road markings?
how did you draw the current segment markings from the opendrive file onto the segmentation image?

did it require you to transfrom the lane coordinates to camera frame coordinates etc.

Hi , Just few question regarding this.
1. I suppose this opendrive map will have data for the entire map.If so , how do you recognise the points that are ahead of your vehicle and map it to your segmented images?
2. Also parsing of opendrive file means, do you parse all the lane geometry points of the map at one stretch or just do it only for a certain distance.
Please help me on this regard.

@aravindSwamy94 1) yes. But we have car position(or camera position) from carla in python examples. FIrst, i check ['road']['planView']['x'] and ['y'] to find closest segment to my position. Then i check ['road']['link'] to find connected segments.
2) At start, i load whole file with python xml library. Opendrive file looks in my program as a cascade of dicts and lists. But rasterization (generaration a set of 3d points) for segment i do only for closest segment and connected. After that, it is possible to cut the result by max distance if you want.

@Unlingius
What are you using to visualize the xord file? Did you look into the documentation parse everything yourself or did you find a library?

@silgon  Hi! I parsed it myself.

I don't know, what is the problem, but when i tried all the same on custom map from new version of roadrunner, it looks nice.

hello, how to get roadrunner license?

I don't know, what is the problem, but when i tried all the same on custom map from new version of roadrunner, it looks nice.

hello, how to get roadrunner license?

free roadrunner license,thank you.

I try to use Opendrive file for getting ground truth 3d track of lane markings. What I did:

select position of camera
x, y, z = -86.6543, 160.4616, 1.0102
roll = -0.07144, pitch = -0.1293, yaw = 92.95920
set camera simulate physics to false and set camera transform to that point and angles
parse opendrive file to get geometry of road markings
draw current segment markings on segmentation image
result:

As you see, it is not ideal. Or is it normal? What precision between Town3 mesh and corresponding OpenDrive file? What precision is function "set_camera_transform"?

Hi, I recently have exactly the same needs as you are, i.e., get the GT of lane markings. Do you have any plans to public your code OR could you please share your code with me? I think it will be popular. Thanks~

Thanks for your letter. I will deal with it quickly. Yours,Kunyu ZhangHarbin Engineering University,China


feat(authority-claimer): implement AWS KMS sign

The test requires:

Setup a KMS key: Key Type: "Asymmetric" Key Spec: ECC_SECG_P256K1 Key Usage: Sign and verify Signing Algorithms: ECDSA_SHA_256
Setup the ARN variable in signtx_test.go of said key
Configure the AWS credentials on the machine running the test

moved https://github.com/cartesi/rollups-node/pull/605


Always use the kubernetes.io/ingress.class annotation (#4537)

What this PR does / why we need it:
As discussed in https://github.com/jetstack/cert-manager/issues/4537 the spec.ingressClassName field is not equivalent to the kubernetes.io/ingress.class annotation. This changes the HTTP-01 solver to create ingresses that only have the annotation.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #4537
Release note:
The HTTP-01 ACME solver now uses the `kubernetes.io/ingress.class` annotation instead of the `spec.ingressClassName` in created Ingress resources.

We are currently testing the full impact of this change for the release notes and upgrade guide

/kind bug

/lgtm

Let's unhold and get that merged for today's beta.0.
/unhold

/test pull-cert-manager-e2e-v1-23

/cherry-pick release-1.6


attributes for <PDFOptions>

@pgundlach,
considering your kind offer from https://github.com/speedata/xts/issues/2#issuecomment-1514530847, I think it is best to run Publisher code with xts (having speedata/publisher#493 fixed would allow to share the layout).
For that, I mainly need the following attributes in <PDFOptions>:

duplex
picktraybypdfsize
printscaling

Of course, nothing prevents you from adding other attributes (such as displaymode or hyperlinksbordercolor, among other ones), but the previous three ones from the list are mandatory for the tool.
In order to manipulate images, some XPath functions would be needed (but I leave the suggestions in a new issue).
Many thanks for your help.

Will be in the next release

Implemented in d34ad433ccb99a24ec5174f7c7ecb8bb77a3aebd

BTW: These features are available in v0.0.5 to be released in a few minutes


portico: broken link on hubot integration page

(this is happening for me on both zulipchat.com/integrations/#hubot and chat.zulip.org/integrations/hubot)
At the bottom of /integrations/#hubot, there is a link reading "Check out additional Zulip integrations available via Hubot" and pointing to /integrations/#hubot-integrations, but the link just takes you back to the /integrations page.

Pinging @jackrzhang to take a look at this, who has been working on the Integration pages recently.

@jrowan Thanks for bringing this up! I believe /integrations/#hubot-integrations originally redirected to a (now removed) subsection of the main /integrations page on the old design.
The routing, along with a number of other changes to /integrations is currently being reimplemented here, so those links will be updated in a bit. :) I think adding a Hubot category on the integrations page would serve well as a replacement for /integrations/#hubot-integrations.


Add apk download

Add apk file of v1.2.9 in the release section

I wonder why F-Droid didn't build it. No notes I can find about it.


Backport from other branches

This is a backport of changes from future branches.

Fixes warnings on clang.
Removes thunk code and replaces with external jar file.
Adds a dynamic class loader to loading classes after the JVM is started.
Fixes name conflict on overloaded method.
Internal jar is now available regardless of how it was loaded.
Adds attach to JVM entry point for starting Python from Java or Android.
Native entry points now load automatically rather than being registered manually.

This is targeting release 1.1.x as it does things to the backend that constitute a substantial change (though it shouldn't be reflected in the API.)   It will take a while to get all the bugs out as it touches the boot loader path.  After this point we won't have to do special magic to register the native entry points and our jar file will be accessable outside the module (which doesn't do much until I complete the rest of Python from Java patch.)

@marscher This one is finally ready for review.  This won't be applied until 1.1 as it is rearranging stuff having to do with thunks.  It is a prerequisite for a few future enhancements as it cleans up a bunch of core issues and makes native linking much easier.

Working to resolve the conflict.   Will take a bit as it is a structural difference in the load procedure that needs to be resolved.

Is this review complete?

Sorry I've added some points in the meantime.

@marsher So I have added a bunch of PRs that could go in that could form a patch release as well as few that are built on this as a base.   I have tried to label which are which by the milestone.   If you see something that isn't appropriate for a patch release you can add the milestone to it.   So we may need to come up with some other way to indicate it.
In the mean time, I have been trying to identify some of the user needs by soliciting input from some of the other github projects.  bayer-science-for-a-better-life/paquo#33  and scijava/scyjava#18.  It has given me a few ideas that we may be able to apply.


Add a metric with service level and it's response

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
We plan to use ciao in our project and its metrics in prometheus, to create alerts. There is a number of unhealthy services in metrics, but it's impossible to understand which service is faulty.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Add a metric which would return the status code per each service, like this:
ciao_checks_statuses{label="service1"} 200
ciao_checks_statuses{label="service2"} 503

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
I don't know about such ones
Additional context
Add any other context or screenshots about the feature request here.
As this is my feature request I can implement it myself (I have relevant RoR experience), this issue is mostly for the discussion.

This one is needed for sure. Without this one prometheus metrics are quite useless.

@serge1peshcoff Thank you for your proposal. It would be nice if you can find time to implement it.
Should we schedule a small chat (gitter) or audio call (gmail) to design the feature?


[plot3d] Allow to take snapshot and video with high resolution

As it is, the snapshot and video is using the Plot3DWidget to grab its content, so the size of the grabbed image is that of the widget.
It would be nice to allow saving image/video with a higher size e.g., with an off-screen rendering.

Or svg for the plot?

This issue is for the 3D plot, and svg.
For the plot, there is already export to svg (though with the OpenGL backend it is a png embedded in svg).

Sorry :-)


util: Add function to run in scope

This PR adds a function to run a pid under a systemd scope.
This is for supporting running conmon under pod slice.

LGTM

:+1: Though we should probably implement more of the necessary checks to make this work with older systemd versions.

Make lint failed @mrunalp

@runcom Pushed update that should fix it.


New feedback - ID

User input
CTQ's - How might we document the CTQ's (Critical to Time, Cost, and Quality) in the VSM diagram? Can we add a unique feature to encourage a standard VSM design which includes this typical attribute?
Sharepoint list ID
135
User
Heidi Rae Maier Sagstad

Possible to solve with #170 ?


⚠ Bofrost.fr has degraded performance

In 7169b4c, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1058 ms

Resolved: Bofrost.fr performance has improved in 393c6c0 after 6 minutes.


Fix for Hang Issue: Improving App Performance with Asynchronous Image…

My app hangs when multiple web image loads on the screen using a scroll view, because all the processes run on the main thread. Therefore, I made the load() and cancel() methods asynchronous, separating the tasks to other threads, so the app works smoothly.

 because all the processes run on the main thread
Not actually. Only the render part and query cache happended on main queue, it's by design

My SwiftUI app hangs after adding WebImage to the screen. I have displayed a list of WebImages in a ScrollView and LazyHStack. I checked the Instrument tool, it displayed app processes on the main thread. After making the load() and cancel() methods asynchronous, my app works smoothly.

My SwiftUI app hangs after adding WebImage to the screen. I have displayed a list of WebImages in a ScrollView and LazyHStack. I checked the Instrument tool, it displayed app processes on the main thread. After making the load() and cancel() methods asynchronous, my app works smoothly.

Can you provide your xctrace result ? With your App.dSYM and SDWebImageSwiftUI.dSYM is better (to symbolicate the symbols)
You can send me privately via email (not GitHub comment)

Ok
On Wed, 10 Jul 2024 at 16:16, DreamPiggy @.***> wrote:

My SwiftUI app hangs after adding WebImage to the screen. I have displayed
a list of WebImages in a ScrollView and LazyHStack. I checked the
Instrument tool, it displayed app processes on the main thread. After
making the load() and cancel() methods asynchronous, my app works smoothly.
Can you provide your xctrace result ? With your App.dSYM and
SDWebImageSwiftUI.dSYM is better (to symbolicate the symbols)
You can send me privately via email (not GitHub comment)
—
Reply to this email directly, view it on GitHub
https://github.com/SDWebImage/SDWebImageSwiftUI/pull/330#issuecomment-2220176394,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASDZKPGMNJGBATMG3E25WFTZLUGI5AVCNFSM6AAAAABKUQT5AKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRQGE3TMMZZGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Remove hard coded path to .json report file

Is your feature request related to a problem? Please describe.
Path to .json report file is hard coded.
Describe the solution you'd like
Path to .json report file should be obtained via the exec param repository.
Additional context
https://github.com/MobilityData/gtfs-validator/pull/365#issuecomment-694998509

Closing as outdated - future work on web UI won't use the existing implementation.

Closing as outdated - future work on web UI won't use the existing implementation.

More info on future web UI - https://github.com/MobilityData/gtfs-validator/issues/495

More info on future web UI - https://github.com/MobilityData/gtfs-validator/issues/495


[verilator] Verilator does not support an interface for "host reset".

Right now, there's no way for the host to hold a running Verilator simulation in reset (for example, spiflash needs to hold the device in reset while it flashes a binary).
Unfortunately, this is a bit beyond what I'm capable of doing (since we'll probably have to introduce a new DPI for this).

@eunchan @moidx for visibility.

Not the most convenient option, but you can connect over JTAG with OpenOCD and hold the core in reset.
If spiflash needs to reset the device while flashing, that probably should be a functionality of the SPI interface? Or in other words: (why) is this only needed on Verilator?

In the FPGA we reset the device via FTDI. We just need to toggle reset to make sure boot_rom sees the bootstrap request.

Oh, so you're essentially looking for a Verilator version of the BOOTSTRAP/boot_strap pin? Since this is a normal GPIO pin, can't we just map that to the GPIO DPI module that we have in Verilator?

Not quite; I have a WIP change that makes spiflash drive GPI in Verilator mode. This is current behavior:

I boot the Verilated system.
Some unspecified state is observed in the BOOTSTRAP pin, so the boot rom figures no bootstrap is necessary.
The simulation jumps into flash, and either:

Executes as normal, because there's a program there.
Freaks out at whatever garbage is in flash, jumps to an exception handler and loops forever.

In addition to driving the BOOTSTRAP pin to the appropriate voltage, we need a way to hold the system in reset so that it will execute from the beginning after we've started sending spiflash frames.

I'm still trying to figure out what makes Verilator different from the FPGA here. Is it the missing pullup/pulldown on the bootstrap pin?

@imphil Right now we have this hack for Verilator: https://github.com/lowRISC/opentitan/blob/master/sw/device/boot_rom/bootstrap.c#L20. My WIP change deletes this and has the Verilated device read the GPIO pins instead.
The problem seems to be that, regardless of whether a flash binary is passed to the simulation, we get the same pin voltages as in the gpio_in register, so we really have two options:

Give spiflash-verilator a way to reset the device after pulling the bootstrap pin up.
Have the simulation itself pull the bootstrap pin up when no flash is preloaded.

I think we want the first option, if only because that way we can spiflash a running simulator with the same semantics as spiflashing a running FPGA.

@imphil, in the FPGA we reset Ibex via FTDI while toggling the bootstrap pin. This ensures that boot_rom will see the bootstrap pin high out of reset. In Verilator we'd like to do the same, reset Ibex via a dpi wrapped reset pin to emulate the same behavior as with the FPGA.

@mcy are you actually trying to support spiflash in verilator? Because if you provide an image via flashinit, i dont think you actually need to bother.
but yeah... in FPGA, we can directly manipulate the IO_RSTN line, there's no equivalent in verilator at the moment.  When the simulation is instantiated, there IS a top level rst_ni signal, but it's not clear to me if you can directly manipulate that from somewhere else.

@mcy / @moidx: Is this issue still live? I see that we still have an "is flash blank?" check to support bootstrap in the test rom. Is that the hack you were talking about? Does it actually matter?

@alphan @arunthomas is this issue still relevant or can we close it?

Depends, do we want to support the bootstrap flow in verilator? I don't have a use case for this atm.


Is it possible to build a 3rd party (hosted in a distinct repo) language into the highlight.js build output?

Hey folks, this is a question not an issue, but I don't know how else to ask. On https://docs.microsoft.com we are using highlight.js as a single file reference (building the latest and deploying with our code), but now that some languages are distinct repos (like https://github.com/highlightjs/highlightjs-cshtml-razor) is there a way to still bundle that into a single file output like we were doing before with node tools/build.js -t browser ?

https://github.com/highlightjs/highlight.js/blob/master/extra/3RD_PARTY_QUICK_START.md
See that.  Basically check out the repos you want INSIDE the HLJS checkout, into the extra directory, then build as normal (you'll have to specify the languages unless you're building all) and it should all "just work".

./tools/build -t browser :common other_3rd_party_lang

Etc...


DBZ-6194 Use CHARSET for alterByConvertCharset clause

https://issues.redhat.com/browse/DBZ-6194

@ani-sha Applied, thanks! Could you please create an upstream PR too?

Upstream PR - https://github.com/antlr/grammars-v4/pull/3261


Add block factories overview

To me those screenshots are double sized, I guess caused by dpr2 and Mac.

To me those screenshots are double sized, I guess caused by dpr2 and Mac.

Is this a problem when viewing the docs? Should I resize the images?


[Java] Adding Spotless to Vector module

Describe the enhancement requested
The main issue discussing the inclusion of Spotless plugin is discussed here.
Component(s)
Java

Issue resolved by pull request 42061
https://github.com/apache/arrow/pull/42061


threaded_engine error when running distributed training program

For bugs or installation issues, please provide the following information.
The more information you provide, the more likely people will be able to help you.
Environment info
Operating System:
ubuntu 14.04, 6 pcs and 42 gtx1080 cards

Compiler:
g++
Package used (Python/R/Scala/Julia):
python
MXNet version:
v0.8.0
Or if installed from source:
yes
MXNet commit hash (git rev-parse HEAD):
http://github.com/starimpact/mxnet_v0.8.0
If you are using python package, please provide
yes
Python version and distribution:
If you are using R package, please provide
R sessionInfo():
Error Message:
Please paste the full error message, including stack trace.
[04:22:48] /home/mingzhang/work/dmlc/mxnet_v0.8.0/dmlc-core/include/dmlc/logging.h:235: [04:22:48] src/engine/threaded_engine.cc:87: Check failed: (num_pending_reads_) > (0)
[04:22:48] /home/mingzhang/work/dmlc/mxnet_v0.8.0/dmlc-core/include/dmlc/logging.h:235: [04:22:48] src/engine/./threaded_engine.h:306: [04:22:48] src/engine/threaded_engine.cc:87: Check failed: (num_pending_reads_) > (0)
An fatal error occurred in asynchronous engine operation. If you do not know what caused this error, you can try set environment variable MXNET_ENGINE_TYPE to NaiveEngine and run with debugger (i.e. gdb). This will force all operations to be synchronous and backtrace will give you the series of calls that lead to this error. Remember to set MXNET_ENGINE_TYPE back to empty after debugging.
terminate called after throwing an instance of 'dmlc::Error'
  what():  [04:22:48] src/engine/./threaded_engine.h:306: [04:22:48] src/engine/threaded_engine.cc:87: Check failed: (num_pending_reads_) > (0)
An fatal error occurred in asynchronous engine operation. If you do not know what caused this error, you can try set environment variable MXNET_ENGINE_TYPE to NaiveEngine and run with debugger (i.e. gdb). This will force all operations to be synchronous and backtrace will give you the series of calls that lead to this error. Remember to set MXNET_ENGINE_TYPE back to empty after debugging.

I have no idea how to fix it, give me some idea.

@piiswrong suggested a try on this https://github.com/apache/incubator-mxnet/pull/6084

@szha i will have a try, thank you very much!

got another error:
[20:49:12] /home/mingzhang/work/dmlc/mxnet_v0.8.0/dmlc-core/include/dmlc/logging.h:235: [20:49:12] src/operator/./cudnn_softmax_activation-inl.h:91: Check failed: (cudnnSoftmaxForward(s->dnn_handle_, CUDNN_SOFTMAX_ACCURATE, softmax_mode, &alpha, shape_desc_, data.dptr_, &beta, shape_desc_, out.dptr_)) == (CUDNN_STATUS_SUCCESS)
[20:49:12] /home/mingzhang/work/dmlc/mxnet_v0.8.0/dmlc-core/include/dmlc/logging.h:235: [20:49:12] src/engine/./threaded_engine.h:306: [20:49:12] src/operator/./cudnn_softmax_activation-inl.h:91: Check failed: (cudnnSoftmaxForward(s->dnn_handle_, CUDNN_SOFTMAX_ACCURATE, softmax_mode, &alpha, shape_desc_, data.dptr_, &beta, shape_desc_, out.dptr_)) == (CUDNN_STATUS_SUCCESS)
An fatal error occurred in asynchronous engine operation. If you do not know what caused this error, you can try set environment variable MXNET_ENGINE_TYPE to NaiveEngine and run with debugger (i.e. gdb). This will force all operations to be synchronous and backtrace will give you the series of calls that lead to this error. Remember to set MXNET_ENGINE_TYPE back to empty after debugging.
terminate called after throwing an instance of 'dmlc::Error'
  what():  [20:49:12] src/engine/./threaded_engine.h:306: [20:49:12] src/operator/./cudnn_softmax_activation-inl.h:91: Check failed: (cudnnSoftmaxForward(s->dnn_handle_, CUDNN_SOFTMAX_ACCURATE, softmax_mode, &alpha, shape_desc_, data.dptr_, &beta, shape_desc_, out.dptr_)) == (CUDNN_STATUS_SUCCESS)
An fatal error occurred in asynchronous engine operation. If you do not know what caused this error, you can try set environment variable MXNET_ENGINE_TYPE to NaiveEngine and run with debugger (i.e. gdb). This will force all operations to be synchronous and backtrace will give you the series of calls that lead to this error. Remember to set MXNET_ENGINE_TYPE back to empty after debugging.
bash: line 1: 41816 Aborted                 python Train_Dist_Batch_Plate.py
Exception in thread Thread-40:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/mingzhang/work/reid/face_reid/distribution/./dmlc-core/tracker/dmlc_tracker/ssh.py", line 63, in run
    subprocess.check_call(prog, shell = True)
  File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
CalledProcessError: Command 'ssh -o StrictHostKeyChecking=no <IP_ADDRESS> -p 22 'export MXNET_ENABLE_GPU_P2P=0; export DMLC_ROLE=worker; export DMLC_PS_ROOT_PORT=9093; export DMLC_PS_ROOT_URI=<IP_ADDRESS>; export DMLC_NUM_SERVER=36; export DMLC_NUM_WORKER=6;export DMLC_INTERFACE=p15p1; cd /tmp/mxnet_face2; python Train_Dist_Batch_Plate.py'' returned non-zero exit status 134

The call to cudnn on a worker failed. You need to check whether that worker can run cudnn-supported softmax on the single machine.

yes, the cudnn should be supported in that machine, because the error happened after a few hours of training start.

seems that the crash probability is much lower now.

Feel free to reopen if the issue persists.


Add SSL/TLS articles to conceptual docs

Summary
Closes https://github.com/dotnet/docs/issues/31995.

@IEvangelist how do ms.author aliases work? do I need to register mine somewhere?

@IEvangelist how do ms.author aliases work? do I need to register mine somewhere?

ms.author is your Microsoft alias, not your GitHub account. You don't need to register it.

@wfurt, @bartonjs Can you please take another look?


reference demand. too hard to understand

reference of :   ???
cos_theta_smoother
fem_pos_deviation_smoother
QpSplineSmoother
SpiralSmoother
3Q

Please at least describe your problem clearly. I don't know what problem you want to solve through your description.

I would like make my path(anchor points acknowledged) smooth by smoothers.
I wish to know the basic theory of them in Apollo. Some papers or websites are expected.
Smoothers are illustrated forward ~