Pointer events don't go through masked parts of objects

I was playing with dev-7.0 today and I noticed that the color picker now seems to work with a transparent center, which was great to see!
The problem is that I cannot click through the center of the color picker. I'm sure that this is because input events are ignoring whatever is masking out the color picker's center.
I'd like to add this functionality, but I'm struggling to figure out where the color picker masking is being done. Does anyone know?
You can see this behavior on a 480x272 screen with the following code:
   lv_test_theme_1(lv_theme_get_current());
   lv_coord_t pickerSize = 200;

    static lv_style_t styleMain;
    lv_style_copy(&styleMain, &lv_style_plain);
    styleMain.line.width = 30;
    styleMain.body.radius = 5;
	styleMain.body.main_color = styleMain.body.grad_color = LV_COLOR_WHITE;

    static lv_style_t styleIndicator;
    lv_style_copy(&styleIndicator, &lv_style_pretty);
    styleIndicator.body.border.color = LV_COLOR_WHITE;
    styleIndicator.body.opa = LV_OPA_COVER;
    styleIndicator.body.border.opa = LV_OPA_COVER;

    lv_obj_t * scr = lv_scr_act();

    lv_obj_t * colorPicker = lv_cpicker_create(scr, NULL);

    lv_obj_set_size(colorPicker, pickerSize, pickerSize);
    lv_cpicker_set_type(colorPicker, LV_CPICKER_TYPE_DISC);
    lv_obj_align(colorPicker, NULL, LV_ALIGN_CENTER, 0, 0);
    lv_cpicker_set_style(colorPicker, LV_CPICKER_STYLE_MAIN, &styleMain);
    lv_cpicker_set_style(colorPicker, LV_CPICKER_STYLE_INDICATOR, &styleIndicator);
    lv_cpicker_set_indic_colored(colorPicker, true);

The problem is that I cannot click through the center of the color picker. I'm sure that this is because input events are ignoring whatever is masking out the color picker's center.

You need to long-press the center. As I'm thinking about it the long press is really not required in case of disc type.

I'd like to add this functionality, but I'm struggling to figure out where the color picker masking is being done. Does anyone know?

In v7.0 I've found that drawing lines are faster and result in better quality than drawing triangles.
The lines are simply drawn between the outer and the inner radius so the "hole" i nthe middle is produced naturally.

You need to long-press the center. As I'm thinking about it the long press is really not required in case of disc type.

I think we could enable long-pressing the center if the preview circle is also drawn. Otherwise I think it should be disabled, because it's unintuitive to press another object to change something on the color picker.
Could we add a new signal, then, that would allow objects to become partially clickable?

The lines are simply drawn between the outer and the inner radius so the "hole" in the middle is produced naturally.

Okay, that makes sense. I was wondering what had happened to the triangle drawing. :slightly_smiling_face:
I still think we need a way to tell the input system that there is a hole in the middle of an object.
Perhaps, when the preview circle is disabled, we could add a mask to the center of the color picker (even though it wouldn't actually be masking anything) and then have the input system check whether the point is within the object's mask(s) as well.

I think we could enable long-pressing the center if the preview circle is also drawn. Otherwise I think it should be disabled, because it's unintuitive to press another object to change something on the color picker.

I mean, in my opinion the long press is not required here at all because there is no action for simple click either. So why not use the simple click for the only user input we have with cpicker?

I still think we need a way to tell the input system that there is a hole in the middle of an object.

Actually the input system does not process the masking (i.e. the draw masks in v7.0). E.g. you can still click a button out of the rounded corners.
Or do you mean to process/skip an area manually in the signal function of the cpicker?
Anyway, I agree, it's really unintuitive to make the user to click the "hole".

Basically, I think we need to find some way (either manually in the object's signal function or automatically in the input system) of allowing users to click through part of an object.

I mean, in my opinion the long press is not required here at all because there is no action for simple click either. So why not use the simple click for the only user input we have with cpicker?

I think we should leave it as a long-press because otherwise it will increase the frequency of accidentally switching modes (e.g. if the user taps a part of the color picker away from the knob to move the knob there).

So, if I understand correctly:

if no preview, ignore user inputs on the hole and use long-press of the knob to change mode
if there is preview then use long-press on the preview to change mode. (an maybe still on the knob too)

Is this your idea?

@kisvegabor Yes; that's my thinking.

I've implemented it. Could you test it?

I've implemented it. Could you test it?

(For some reason your comment got duplicated so I deleted the duplicate one.)
I will test it and report back in a few minutes.

Now it doesn't change the color on a long press in the transparent section, however, I still can't click on objects behind the color picker.

My goal was only to not click the object behind the cpicker. It'd be quite difficult and hacky to extend the "search the objects on a clicked point" algorithm to the objects' level.
IMO the current approach is simple and avoids confusion.
I'm not sure, even if we could easily find the clicked object behind the cpicker, it would be the right way. I think it would be also confusing.

I agree. Let's leave it as it is for now.
The general confusion of long pressing the transparent area has been resolved, so this issue can be closed.


osx install fails silent > changed installer proposal inside :)

osx install fails silent with this description
why? because the zip will be loaded into /opt, not lycheejs folder which has 777.
~~therefore either sudo in your script, load the zip into the lychee folder, or add user to wheel like so: ~~
sudo dseditgroup -o edit -a yourfancyusername -t user wheel

I propose like this, guessing the following desired dir structure:
/opt/lycheejs
sources: /opt/lycheejs/lycheejs
runtime: /opt/lycheejs/bin

correct?
I have enabled the progress bar again, as a silent download of the runtime can take longer and user doenst know if it apes or just takes longer ;)
#!/usr/bin/env bash

INSTALLER_ROOT=$(cd "$(dirname "$0")"; pwd);
LYCHEEJS_ROOT="$INSTALLER_ROOT/lycheejs";
LYCHEEJS_BR="master";

echo "";
echo "lycheeJS NetInstall 2015-Q4";
echo "";
echo "This installer will download and install lycheeJS to $LYCHEEJS_ROOT";
echo "";

echo "Installing lycheejs...";

echo "Creating temp dir.";
        cd "$LYCHEEJS_ROOT";

echo "Downloading source.";
        curl -LOk --progress-bar https://github.com/Artificial-Engineering/lycheeJS/archive/$LYCHEEJS_BR.zip;

echo "Extracting archive.";
        unzip -q $LYCHEEJS_BR.zip ;
        mv lycheeJS-$LYCHEEJS_BR ./lycheeJS;
        rm master.zip;

echo "Done.";

echo "";
echo "Installing runtimes...";

        curl -LOk --progress-bar https://github.com/Artificial-Engineering/lycheeJS-runtime/archive/master.zip;
        unzip -q master.zip;
        mkdir ./bin
        mv lycheeJS-runtime-master ./bin/runtime;
        rm master.zip;

echo "Done.";

echo "";
echo "Configuring lycheeJS ...";

#       cd $LYCHEEJS_ROOT;
        ./bin/configure.sh;

echo "Done.";

echo "";
echo "In order to boot lycheeJS, you need to start Sorbet.";

        echo "";
        echo "You can modify all profiles located at $LYCHEEJS_ROOT/bin/sorbet/";
        echo "Start Sorbet by executing this command:";
        echo "";
        echo "cd $LYCHEEJS_ROOT; ./bin/sorbet.sh start development;";
        echo "";

At least on OSX this seemed to work out now.
Cheers.

Thanks for the hint!
I fixed it in the lycheeJS-bundle repo so the fixes are merged in with the upcoming 2016-Q1 release.
If you want to make sure that everything is up to date, you can change the branch from master to development. The upcoming release is currently scheduled for 27th February, so until then all the features from the last months stay on the development branch.
Currently, we need root rights for at least the ./bin/configure.sh call because the lycheejs-helper binary needs to be a URL handler that is available in /usr/bin and not in /usr/bin/local. That is why there's a sudo ./bin/configure.sh.
If you don't want the native integrations, you can still use ./bin/configure.sh --no-integration, but that will disintegrate the Editor and Ranger from its interaction capabilities with the rest of the stack.

at least the packages install now into the expected folders, i guess the sudo isnt such a big problem. after fixing the script no errors occured at all :) big up!


Write test for login api

Write a test for Login API

kindly assign this issue to me

@pundarikaksha7  You can create other tests


"Others" reaction and metabolite

Description of the issue:
@e0 has spotted the reaction "others". This reaction seems to act like a transport reaction with superpowers. The metabolite "others" doesn't seem to be used by any other reaction, it is just transported out. This reaction has been mentioned before here.
Expected feature/value/output:
Maybe these reaction and metabolite can be removed, or otherwise updated the usual format for transport reactions.
Current feature/value/output:
These reaction and metabolite are present but seem out of place.
Reproducing these results:
Human-GEM/model ❯  grep -inr "others" *
Human-GEM.yml:66521:      - name: "others"
Human-GEM.yml:211291:      - id: "others"
Human-GEM.yml:291316:      - name: "Exchange of others"

I hereby confirm that I have:

[ ] Tested my code on my own computer for running the model
[ ] Done this analysis in the master branch of the repository
[X] Checked that a similar issue does not exist already

This others is a pool reaction that was inherited from the HMR2 model. It was probably designed for particular simulation purposes, but the source and utilisation information for this reaction is lacking. Since the pool metabolite others was not used by any other reactions, this pool reaction and the accompanied exchange reaction could be removed after further confirmation.

The others metabolite and reaction were removed in #213.


Reduced memory usage of vim dictionaries: -6 bytes for each key.

This PR reduces size of dynamically allocated
blocks by 6 bytes for each dictionary key allocation.
The same kind of optimizations can be made in several
other data structures of Vim that use an array of
variable size at the end of a struct. I assume that it's
better to do remaining optimizations little by little in
separate changes.

Codecov Report

Merging #4785 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #4785      +/-   ##
==========================================
- Coverage    80.9%    80.9%   -0.01%
==========================================
  Files         117      117
  Lines      145078   145078
==========================================
- Hits       117377   117369       -8
- Misses      27701    27709       +8

Impacted Files
Coverage Δ

src/dict.c
87.6% <100%> (ø)
:arrow_up:

src/gui_beval.c
62.5% <0%> (-0.87%)
:arrow_down:

src/viminfo.c
75.11% <0%> (-0.53%)
:arrow_down:

src/netbeans.c
27.25% <0%> (-0.3%)
:arrow_down:

src/gui_gtk_x11.c
58.11% <0%> (-0.2%)
:arrow_down:

src/if_xcmdsrv.c
85.99% <0%> (-0.18%)
:arrow_down:

src/gui.c
64.21% <0%> (-0.16%)
:arrow_down:

src/sign.c
94.59% <0%> (-0.1%)
:arrow_down:

src/window.c
87.76% <0%> (-0.04%)
:arrow_down:

src/os_unix.c
63.38% <0%> (+0.04%)
:arrow_up:

... and 2 more

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 5bcc5a1...35eebd1. Read the comment docs.

Dominique wrote:

This PR reduces size of dynamically allocated
blocks by 6 bytes for each dictionary key allocation.
The same kind of optimizations can be made in several
other data structures of Vim that use an array of
variable size at the end of a struct. I assume that it's
better to do remaining optimizations little by little in
separate changes.

Thanks, this will save a few bytes.
It should be safe to do this with just a small number of patches.
Theoretically it could uncover an old problem, but if you create a pull
request and let CI do it's work we can assume that should be covered.
--
Apparently, 1 in 5 people in the world are Chinese.  And there are 5
people in my family, so it must be one of them.  It's either my mum
or my dad.  Or my older brother Colin.  Or my younger brother
Ho-Cha-Chu.  But I think it's Colin.
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///


Add new blocks below the current group of blocks instead of at 0,0

Find the bottom most block and add the menu block below it that way blocks aren't overlapping

Statements are now automatically connected when added so they don't stack on top of each other. If a block cannot stand alone, then the user will be alerted audibly
that the block needs to be connected to another block. Statement blocks(if, while etc)
and function blocks will stand alone. Because functions cannot be
connected to statements, the function will be placed directly below the
last statement. If another statement is added afterwards, it will be
placed below the function and more statements will auto connect to the bottom statement.


tmuxp fails to load layout in cygwin

I'm attempting to use tmuxp on windows using cygwin. I fired it up and tried to load a layout that loads fine on windows & linux (the layout is actually stored in a project being synchronized via dropbox between computers) ...
tmuxp load layout.yaml

This generates the following errors:
load /cygdrive/c/Users/nfarrar/Dropbox/Projects/mudfiles/layout.yaml
(I) [14:04:56] tmuxp.cli cli.load_workspace():270 Loading
/cygdrive/c/Users/nfarrar/Dropbox/Projects/mudfiles/layout.yaml.

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/tmuxp/cli.py", line 271, in load_workspace
    builder.build()
  File "/usr/lib/python2.7/site-packages/tmuxp/workspacebuilder.py", line 149, in build
    for w, wconf in self.iter_create_windows(session):
  File "/usr/lib/python2.7/site-packages/tmuxp/workspacebuilder.py", line 201, in iter_create_windows
    window_index=wconf.get('window_index', ''),
  File "/usr/lib/python2.7/site-packages/tmuxp/session.py", line 181, in new_window
    raise exc.TmuxpException(proc.stderr)
TmuxpException: [u'bad working directory: No such file or directory']

(E) [14:04:00] tmuxp.cli cli.load_workspace():301 [u'bad working directory: No such file or directory']
Error loading workspace. (k)ill, (a)ttach, (d)etach? - (k, a, d) [k]: Session killed.

Any suggestions?

There was an error message to set export DISABLE_AUTO_TITLE='true' in ~/.zsshrc/`, which seems to have been causing some issues (not exactly sure why), but I did set this.
Then from a tmux session (testsession) I was able to run tmuxp freeze testsession.
When I attempt to load the session tmuxp load testsession.yaml I get the following error:
tmuxp load testsession.yaml                                                                                ~
Traceback (most recent call last):
  File "/usr/bin/tmuxp", line 9, in <module>
    load_entry_point('tmuxp==0.1.13', 'console_scripts', 'tmuxp')()
  File "/usr/lib/python2.7/site-packages/tmuxp/cli.py", line 959, in main
    command_load(args)
  File "/usr/lib/python2.7/site-packages/tmuxp/cli.py", line 422, in command_load
    load_workspace(file_user, args)
  File "/usr/lib/python2.7/site-packages/tmuxp/cli.py", line 252, in load_workspace
    sconfig = config.expand(sconfig, os.path.dirname(config_file))
  File "/usr/lib/python2.7/site-packages/tmuxp/config.py", line 223, in expand
    expand(window, parent=sconf) for window in sconf['windows']
  File "/usr/lib/python2.7/site-packages/tmuxp/config.py", line 187, in expand
    sconf['start_directory'] = expandpath(sconf['start_directory'])
  File "/usr/lib/python2.7/site-packages/tmuxp/config.py", line 116, in expandpath
    return os.path.expandvars(os.path.expanduser(_path))
  File "/usr/lib/python2.7/posixpath.py", line 261, in expanduser
    if not path.startswith('~'):
AttributeError: 'NoneType' object has no attribute 'startswith'

@nfarrar
Thanks for the report!
Can you let me know your tmux version, and see your testsession.yaml?
Does your .zshrc has DISABLE_AUTO_TITLE set to 'true'?

@nfarrar : I just took a second glance, cygwin!  I never personally tested against cygwin.  Any additional info such as your terminal, os, cygwin version, etc. would he helpful so we can reproduce the issue.


Provide more documentation

Provide more user documentation on how it works.

yes pls

Hi, How to use it？
I've tried to start the example, but I can't access the edit page.
http://localhost:5000/edit   show  404.

I have the same question. The Program.cs main function is empty…

I added some more details to the README. Does it help?


Data mix fix

Addresses #365

@Mergifyio backport release-v0.3

Thanks @bbrowning for your review. I do have some tests in flight that I can add as a follow up PR.

Great - will hold off on turning my simple verification into an actual PR then and defer to you on that. Thanks for following up!


Added locale for Bengali Language (bn) Just modified signup form for …

Added Bengali (bn) Locale.

Only modified signup form for now
Soon the other files will be translated

Translation Complete

you need to add your locale code to ghost/i18n/lib/i18n.js too.
p.s. to devs, please remember to release a new version for portal and comments-ui after merging.

you need to add your locale code to ghost/i18n/lib/i18n.js too.
p.s. to devs, please remember to release a new version for portal and comments-ui after merging.

Done. Thanks.

Hello @newazsvn , thanks so much for your work on these! Sorry to see they haven't been merged yet.  Do you a few moments more to pick up the newly added strings, including the ones that support the search app?  To do that, you'll need to sync your fork.  Here are directions if you need them:  https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork .  If you can get your changes updated, I'll put this PR on the list of PRs I'm reminding the dev team about. :)


Return an apimachinery error if psbinding subject WithContext fails

In the event a subject's WithContext() call fails, then
ReconcileSubject fails without catching the proper
error (sinkbinding's WithContext returns its own custom errors).  This
can manifest itself in instances where the sinkbinding subject has
been deleted before the sinkbinding itself, and leaves the reconcile
deletion loop stuck before the finalizer can be removed.  Leaving the
sinkbinding itself stuck, despite the subject already being deleted.

/assign @mattmoor

Awesome sleuthing btw, it sounds like a nasty bug, and it'll be great to land a fix!

/close


BUG: stats: handle infinite df in t distribution

Reference issue
fixes #14777
What does this implement/fix?
t distribution returned garbage values when df was infinity. It is known
that the t distribution limits to the normal distribution when df approaches
infinity. It is much better to handle infinite df by branching to the normal
distribution instead of returning wrong values.
appropriate tests have been added for the fix.
Additional information

Thanks @tirthasheshpatel. The tests look good, but I'm not sure this is the right fix. The code becomes much harder to understand, and the underlying special functions are still wrong

I agree, I am also not very happy with this. At the time, I thought branching would make sense but your suggestion about fixing the underlying special functions makes more sense. I will look into it. gh-14782 also seems like a good approach.
I won't be able to come back to this until mid-december as I have my final exams. Can we bump the milestone? I don't want to stall the improvement so any other interested contributor, feel free to beat me to it.

Of course. Good luck with your final exams Tirth!

I will submit two separate PRs, one that fixes the underlying special functions and other that fixes some methods of t distributions (like stats and moment) to work with df = inf.

@mdhaber @rgommers Now that #15253 is merged, I have reverted the changes in cdf, sf, ppf, and isf. pdf, logpdf, stats, and entropy will still need to be fixed. Currently, I just use masking. Let me know if the changes look OK.

We're also getting
scipy/stats/_continuous_distns.py:5900:17: E128 continuation line under-indented for visual indent

Thanks for resolving the lint failure, @mdhaber! Feel free to merge once tests pass.

OK merging but let me know what you think about using _logpdf to calculate _pdf here. About half of the functions that define _logpdf def _pdf as return np.exp(self._logpdf).

I commented about it here: https://github.com/scipy/scipy/pull/14781#discussion_r777050179 and https://github.com/scipy/scipy/pull/14781#discussion_r777053527

Brief tests suggest that the pdf implementation is actually more accurate, at least in some cases.  For instance, Wolfram Alpha says that with df=4, the PDF is given by:

>>> (t.pdf(x, df = 4) - ref(x))/(ref(x))
2.6295626461790996e-16
>>> (np.exp(t.logpdf(x, df = 4)) - ref(x))/(ref(x))
1.3147813230895499e-15

So never mind.

Labelled as "defect--" does it warrant a backport?

I don't know how much effort it is to backport, but it is a defect, and it was reported by a user. I'm not sure how often one would really want to use stats.t(df=np.inf), though. So if this were not backported, I'm not sure that anyone else would get hit by this bug.
gh-15253 is probably even more important than this one, because for t.cdf the answer was just wrong.
>>> t.cdf(x=10, df=np.inf)
0.5

This PR seems a little less important because at least the answer was nan, so the user would know they needed to try something else.

Ok, I added the backport label in that other PR but not here. The real question for me is often related to merge conflict resolution. I'll ping for help if it gets gruesome.


⚠ AGEG website (prod) has degraded performance

In 234b397, AGEG website (prod) (https://www.ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 1972 ms

Resolved: AGEG website (prod) performance has improved in 20cec79.


Minor Typo in 'Waypoint: Taste the Bootstrap Button Color Rainbow'

I believe the intention was for "The btn-primary class is the main color you'll use in your app." to read "The btn-primary is the main class you'll use in your app."
I was mistaken.  Please ignore this issue.

Hhhmmm...I was just about to add this as well.  It is minor - but it shouldn't be, "color" and should instead be, "class".  This is correct - and it is used correctly twice later in the description:

"Add Bootstrap's btn-primary class to your button."
"Your button should have the class btn-primary."


Scrcpy over HDMI possible? Samsung Dex

Is it possible to get scrcpy over hdmi?  I'm looking for a way to get a better Samsung Dex experience on the laptop, if possible. Anyone who can help please. Would really appreciate it.

I'm in a similar situation. scrcpy works great if I want my phone to just be a window on my laptop, but I'd like to use the laptop as a mouse+keyboard+screen for Samsung Dex (and/or Android Desktop). Some way to activate "desktop mode" and fullscreen it would be awesome. Otherwise I'd need to buy a portable keyboard, mouse, portable monitor, etc..

Download Samsung Dex for PC https://www.samsung.com/uk/apps/samsung-dex/
Connect your phone to your PC

It allows running Dex in a window or in fullscreen on Windows and macOS.

unfortunately, we only got macOS 😢

@goforu , I'm also looking into the possibility to use DeX on macOS. Couple of methods i've found:

Use virtualization like UTM to install Windows 10 and the official DeX app on that. Works also on M1+ Macs while using Windows ARM image. A bit clumsy to run whole Windows for that experience.
Use CrossOver from CodeWeavers to install the DeX app. It's unable to detect USB connections but it does allow for wireless DeX, allowing you to start the DeX session on the phone and then starting a separate scrcpy --forward-all-clicks --display 2 to actually use the DeX session. Other than not being able to show protected content, it works quite well.

Hope this helps. Cheers!


[BUG] Subscriptions for Matter devices for user is unnecessarily delayed until next scheduled resub retry in some cases

Reproduction steps
Topology: 10x Nanoleaf A19s, 1x HPM
Steps: Power down 5x Nanoleaf devices (running 3.6.x with CASE sub resume)
Power cycle HPM (unclear if strict precondition)
Wait ~1.5 hours
Power up 5x Nanoleaf A19s
Results: 4 devices successfully reconnect. 1 device is left uncontrollable for ~an hour:

initial CASE attempt fails (for unknown reasons), rescehdule to 1 hour based on how long the device has been gone
device proactively re-establishes CASE 15 seconds later
SDK still waits for an hour to do resub on active session

Bug prevalence
With correct preconditions it will be 100%. Otherwise it seems to depend on how many devices are booted up at a time
GitHub hash of the SDK that was being used
tvOS 17.3
Platform
darwin
Platform Version(s)
No response
Anything else?
No response

In particular, we only retrigger subscription on receiving a ReportData, not on CASE establishment from the other side or the other side sending any other IM message.
@jtung-apple

I'm taking a look but my first thought is that currently the logic for re-subscription is only triggered when the IME gets called on OnUnsolicitedReportData. I could look into the changes needed to have CASE establishment plumb through to trigger re-subscribe and we can discuss if that's what's needed here.
@ndyck14 Do you happen to be able to readily reproduce this? If so could you upload logs from both devices?
I'm wondering if there's something else wrong / a bug that's causing this, that should be fixed first.

Power cycle HPM (unclear if strict precondition)
I did this with the intent of clearing CASE resume contexts (guesswork) so as to test worst case. Basically my brief mental model of resume sub is its a best effort by device. Otherwise CASE is re-established because we're looking for OTA i think.
I can try to reproduce, but is there evidence to suggest that this onus should not be on the subscriber to ensure its done as swiftly as possible? I guess in case the sub is already active, we don't want to double up? Is doubling up even possible?

note that my test steps were in done directed after already observing this previously without logs installed, so I've seen this happen multiple times. I've also been tracking CASEs (pun intended) for a year or more where things take too long to reconnect (eg #25091, which Boris reported on my behalf )

We should consider triggering resubscribe on both CASE establishment (using the new session, not creating a new one), and on any IM message received, not just ReportData.

Assigning to me.


generate ui and presenter factories to ease boilerplate

@joreilly

Hi, getting following during gh action build
> Task :common:compileKotlinIosSimulatorArm64
warning: KLIB resolver: Could not find "kotlin-inject-anvil-runtime" in [/Users/runner/work/BikeShare/BikeShare, /Users/runner/.konan/kotlin-native-prebuilt-macos-aarch64-2.1.0/klib/common, /Users/runner/.konan/kotlin-native-prebuilt-macos-aarch64-2.1.0/klib/platform/ios_simulator_arm64]

hmm, that looks just a warning....looks like following is what caused failure
> Task :common:linkDebugFrameworkIosSimulatorArm64 FAILED
error: Compilation failed: null

 * Source files:
 * Compiler version: 2.1.0
 * Output kind: FRAMEWORK

error: java.lang.NullPointerException
	at org.jetbrains.kotlin.backend.konan.CacheBuilderKt.getAllTransitiveDependencies$traverseDependencies(CacheBuilder.kt:31)

Looks similar to this issue https://youtrack.jetbrains.com/issue/KT-73858/NullPointerException-when-building-CMP-ios-App


fix: basePath validation

Closes #115

#119  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tazarov and the rest of your teammates on  Graphite


Add LowSpeed option

Sometimes it could be convinient to use CURL options CURLOPT_LOW_SPEED_LIMIT/CURLOPT_LOW_SPEED_TIME instead CURLOPT_TIMEOUT_MS. For example, when you don't know how many bytes can be transferred.
This commit adds a LowSpeed option to define these two CURL options.
Also, an appropriate test has been added to error_tests.cpp.

Merged in https://github.com/whoshuu/cpr/commit/697b750b0c4c904673aef1a6ef7b63b8b012cf7e. Thanks for the PR @vladimirgamalian!


Execution stops after a few New-SSHShellStreams

Hey there,
I got a weird issue with a script.
Using Posh-SSH 3.0.8, Powershell 5.1 and 7.3
I'm connecting like this
$Session = New-SSHSession -ComputerName $IP -Credential $Cred -AcceptKey -ErrorAction Stop
then I run a bunch of Invoke-SSHCommand and a Invoke-SSHShellStreamCommand
$stream = New-SSHShellStream -SSHSession $Session
$cli = Invoke-SSHStreamShellCommand -ShellStream $stream -Command "cli json"

followed by another StreamShellCommand to get the required info from the device.
Every New-SSHShellStream is within a separate function and is executed on every beginning of the function.
After X Shell-Streams it stops working (currently trying to find out after how many)
The Powershell session keeps running, but the script stops working.
Example:
write-host "leases 1"
$stream = New-SSHShellStream -SSHSession $Session
write-host "leases stream: $stream"
$cli = Invoke-SSHStreamShellCommand -ShellStream $stream -Command "cli json"
write-host "leases cli: $cli"

write-host "leases stream: $stream"
is never reached when it happens
the same function worked earlier in the script without problems.
(when I change the order of the functions it also stops at other functions using New-SSHShellStream)
Surrounded by try-catch I don't get any errors, it just stops and I can wait forever.
When I disconnect the SSH-session and reconnect somewhere in the middle of all those calls the script works till the end.
How to avoid the reconnect, since I never really know when it happens?
Do I have to "close" the streams somehow? Is there something like a connection limit I can increase?
Any ideas on debugging this issue further?
Thanks in advance!

That is an interesting one. Against the hat type of device/server is this against?Sent from my iPhoneOn Aug 15, 2023, at 3:50 AM, sola-tron @.***> wrote:
Hey there,
I got a weird issue with a script.
Using Posh-SSH 3.0.8, Powershell 5.1 and 7.3
I'm connecting like this
$Session = New-SSHSession -ComputerName $IP -Credential $Cred -AcceptKey -ErrorAction Stop
then I run a bunch of Invoke-SSHCommand and a Invoke-SSHShellStreamCommand
$stream = New-SSHShellStream -SSHSession $Session
$cli = Invoke-SSHStreamShellCommand -ShellStream $stream -Command "cli json"
followed by another StreamShellCommand to get the required info from the device.
Every New-SSHShellStream is within a separate function and is executed on every beginning of the function.
After X Shell-Streams it stops working (currently trying to find out after how many)
The Powershell session keeps running, but the script stops working.
Example:
write-host "leases 1"
$stream = New-SSHShellStream -SSHSession $Session
write-host "leases stream: $stream"
$cli = Invoke-SSHStreamShellCommand -ShellStream $stream -Command "cli json"
write-host "leases cli: $cli"
write-host "leases stream: $stream"
is never reached when it happens
the same function worked earlier in the script without problems.
(when I change the order of the functions it also stops at other functions using New-SSHShellStream)
Surrounded by try-catch I don't get any errors, it just stops and I can wait forever.
When I disconnect the SSH-session and reconnect somewhere in the middle of all those calls the script works till the end.
How to avoid the reconnect, since I never really know when it happens?
Do I have to "close" the streams somehow? Is there something like a connection limit I can increase?
Any ideas on debugging this issue further?
Thanks in advance!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

It's a Securepoint UTM Appliance. Connecting via SSH gives you access to the CLI, not a "real" root shell:
https://wiki.securepoint.de/index.php?title=UTM/EXTRAS/CLI&uselang=en
My script was working fine till yesterday, where I added one more function with another New-SSHShellStream.
Then the issue appeared. I thought it's because of using PS 7.3, tried with 5.1 to get the same behavior.
After that I added the Disconnect & Connect right before the execution of the new function and it did work again

the magical number seems to be 11 :D
while ($true) {
    Write-Host $counter
    $stream = New-SSHShellStream -SSHSession $Session
    $cli = Invoke-SSHStreamShellCommand -ShellStream $stream -Command "cli json"
    $dhcpPools = ((Invoke-SSHStreamShellCommand -ShellStream $stream -Command "dhcp pool get") | ConvertFrom-Json).result.content

    $stream | ft *
    $counter++
}

1

SessionId Session                DataAvailable CanRead CanSeek CanWrite Length Position CanTimeout ReadTimeout WriteTimeout
--------- -------                ------------- ------- ------- -------- ------ -------- ---------- ----------- ------------
        0 Renci.SshNet.SshClient         False    True   False     True      0        0      False

2

SessionId Session                DataAvailable CanRead CanSeek CanWrite Length Position CanTimeout ReadTimeout WriteTimeout
--------- -------                ------------- ------- ------- -------- ------ -------- ---------- ----------- ------------
        0 Renci.SshNet.SshClient         False    True   False     True      0        0      False

3

SessionId Session                DataAvailable CanRead CanSeek CanWrite Length Position CanTimeout ReadTimeout WriteTimeout
--------- -------                ------------- ------- ------- -------- ------ -------- ---------- ----------- ------------
        0 Renci.SshNet.SshClient         False    True   False     True      0        0      False

4

SessionId Session                DataAvailable CanRead CanSeek CanWrite Length Position CanTimeout ReadTimeout WriteTimeout
--------- -------                ------------- ------- ------- -------- ------ -------- ---------- ----------- ------------
        0 Renci.SshNet.SshClient         False    True   False     True      0        0      False

5

SessionId Session                DataAvailable CanRead CanSeek CanWrite Length Position CanTimeout ReadTimeout WriteTimeout
--------- -------                ------------- ------- ------- -------- ------ -------- ---------- ----------- ------------
        0 Renci.SshNet.SshClient         False    True   False     True      0        0      False

6

SessionId Session                DataAvailable CanRead CanSeek CanWrite Length Position CanTimeout ReadTimeout WriteTimeout
--------- -------                ------------- ------- ------- -------- ------ -------- ---------- ----------- ------------
        0 Renci.SshNet.SshClient         False    True   False     True      0        0      False

7

SessionId Session                DataAvailable CanRead CanSeek CanWrite Length Position CanTimeout ReadTimeout WriteTimeout
--------- -------                ------------- ------- ------- -------- ------ -------- ---------- ----------- ------------
        0 Renci.SshNet.SshClient         False    True   False     True      0        0      False

8

SessionId Session                DataAvailable CanRead CanSeek CanWrite Length Position CanTimeout ReadTimeout WriteTimeout
--------- -------                ------------- ------- ------- -------- ------ -------- ---------- ----------- ------------
        0 Renci.SshNet.SshClient         False    True   False     True      0        0      False

9

SessionId Session                DataAvailable CanRead CanSeek CanWrite Length Position CanTimeout ReadTimeout WriteTimeout
--------- -------                ------------- ------- ------- -------- ------ -------- ---------- ----------- ------------
        0 Renci.SshNet.SshClient         False    True   False     True      0        0      False

10

SessionId Session                DataAvailable CanRead CanSeek CanWrite Length Position CanTimeout ReadTimeout WriteTimeout
--------- -------                ------------- ------- ------- -------- ------ -------- ---------- ----------- ------------
        0 Renci.SshNet.SshClient         False    True   False     True      0        0      False

11

this one runs forever:
while ($true) {
    Write-Host $counter
    $stream = New-SSHShellStream -SSHSession $Session
    $cli = Invoke-SSHStreamShellCommand -ShellStream $stream -Command "cli json"
    $dhcpPools = ((Invoke-SSHStreamShellCommand -ShellStream $stream -Command "dhcp pool get") | ConvertFrom-Json).result.content

    $stream | ft *

    if ($counter -eq 10) {
        $Session.Disconnect()
        $Session.Connect()
        $counter = 0
    }

    $counter++
}

The command I'm sending to the device in Invoke-SSHStreamShellCommand doesn't matter, tried various.
This is also running till infinity:
while ($true) {
    Write-Host $counter
    $info = Invoke-SSHCommand -SSHSession $Global:Session -Command "dhcp pool get"
    $counter++
}


Create class_5464.mapping

It's my first contribution. Sorry if I'm wrong

concarrn, where did all these mappings go? Mind name the class too? And maybe some of the other names?

I have applied the suggestions and merged the current version into this.


Resources are not getting bind with version 8.2.1

Hi,
I am seeing that view injector files are not getting generated while using butterknife.
Here is my gradle file :
dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:24.1.0'
    compile 'com.google.firebase:firebase-core:9.2.1'
    compile 'com.google.firebase:firebase-storage:9.2.1'
    compile 'com.google.firebase:firebase-config:9.2.1'
    compile 'com.google.firebase:firebase-auth:9.2.1'
    compile 'com.google.firebase:firebase-database:9.2.1'
    compile 'com.jakewharton:butterknife:8.2.1'
    apt 'com.jakewharton:butterknife-compiler:8.2.1'
    compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}

And this is project level build.gradle

buildscript {
    ext.kotlin_version = '1.0.3'
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.1.2'
        classpath 'com.google.gms:google-services:3.0.0'
        classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

I have been using butterknife for a while,but getting this issue for the first time.

Same here

I got NullPointerException too when using @BindView(R2.id.***) in my library module.

Same problem here.

ext.kotlin_version = '1.0.3'

If you use kotlin, we do not have the ability to generate code with R2 correctly see #670 so it may not work for you if you are using kotlin in a library project. It would be helpful if you could provide a sample project so we can make sure that is the case

I got NullPointerException too when using @BindView(R.id.***) in my app module.

LiuJQ: If you are using 8.2.1 just try using 7.0.1! It works 4 me! )

@VladimirVinageras Thx, I have no choice =.=

@LiuJQ try using 8.2.0, it works.

@JakeWharton We can close this since @rushabh1191 has not replied. The latest is now 8.4.0.

Two days back I updated the version, It started working. Thank you.


[ENH] Implemented NB_FEDERATE_REMOTE_PUBLIC_NODES env var

Closes #62

Checklist
This section is for the PR reviewer

[ ] PR has an interpretable title with a prefix ([ENH], [FIX], [REF], [TST], [CI], [MNT], [INF], [MODEL], [DOC]) (see our Contributing Guidelines for more info)
[x] PR has a label for the release changelog or skip-release (to be applied by maintainers only)
[x] PR links to GitHub issue with mention Closes #XXXX
[x] Tests pass
[x] Checks pass

For new features:

[ ] Tests have been added

For bug fixes:

[ ] There is at least one test that would fail under the original bug conditions.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

16 of 16 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 97.04%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
459

Relevant Lines:
473

💛  - Coveralls

provide basic docs for this new feature. if README isn't the place, then please make a PR against the ENV var table in the main docs and link here

Addressing that here https://github.com/neurobagel/recipes/issues/60

add a basic integration test to make sure the ENV var does what we think it does

Test has been added

:rocket: PR was released in v0.2.0 :rocket:


Develop an AI Confidence Coach for Analyzing and Improving Communication

Overview:
We are building an Agentic AI Coach to help individuals understand if their communication shows signs of low self-esteem and guide them toward communicating with higher confidence. The AI Confidence Coach should analyze user-written or spoken communication and provide actionable suggestions to improve confidence in tone and content.
The goal of this issue is to develop a Confidence Coach AI that:

Accepts user-input text or transcribed speech for analysis.
Identifies phrases and patterns indicating low self-esteem (e.g., excessive apologizing, hedging, minimizing language).
Provides detailed suggestions to replace low-confidence language with more assertive alternatives.
Helps users practice by resubmitting revised communication to see further feedback.

Requirements:

Input Options: Accept text input or transcribed speech.
Analysis Features:

Identify low-confidence cues such as hedging, excessive apologizing, passive voice, and minimizing phrases.
Highlight areas where language can be made more assertive.
Provide suggestions for improvement (e.g., replace "I just think..." with "I recommend...").

Suggestions Output:

Offer specific, actionable suggestions to improve confidence in the text.
Rate the confidence level in different sections (e.g., "Confidence Level: 3/5 - Consider using more direct language here").

User Feedback Loop: Allow users to resubmit their revised communication to track progress and receive additional feedback.

Expectations:

A working model that can analyze communication and return structured feedback.
Code documentation explaining how to integrate the Confidence Coach into our existing Agentic AI Coach framework.

Note:
Feel free to ask questions or request clarifications by commenting on this issue.
Support:
Comment on this issue for any help or guidance needed.

When do u expect completon?


Maintaining this repository

I got a job and found a new hobby and am less motivated to work on NintendoClients. This raises the question what I want to do with this repository.
The effort of NintendoClients currently involves:

Staying up to date with the latest Switch system version
Fixing bugs (this one currently breaks match making on the Switch).
Adding new features if desired, such as implementing support for new servers.
Improving/refactoring the general structure of the code base.
General reverse engineering work and improving the wiki.

I'm thinking about being less active myself but still allowing pull requests to be made. Giving someone else write access to this repository might also be an option, but in that case I would have to find someone who is willing to put in more effort than I.
Another question is whether it would be helpful to create a discord server where this repository and Nintendo server research in general can be discussed.
This repository has always been a hobby project of mine, and it wasn't always up to date in the past either. Actually, its goal had always been to learn more about Nintendo's servers, and implementing a client was just a way to achieve that. I think that the problem is that, since multiple people are now using this repository for their own projects, I am feeling more responsibility to keep it up to date now, which is not something that I want. Maybe I should just accept that I cannot satisfy every person's needs and feel more at ease. In any case, it is very unlikely that I will add Switch 2 support to this repository.
Just wanted to dump my thoughts here. Feel free to share yours as well.

I'm thinking about being less active myself but still allowing pull requests to be made. Giving someone else write access to this repository might also be an option, but in that case I would have to find someone who is willing to put in more effort than I

I can put some feelers out on our end if you'd like. Though we mostly stick to the Wii U and 3DS, which you've basically perfected, and ofc we have our own stuff going on too. We would only really be directly helpful for the Wii U and 3DS, and at this point that's really just some wiki/docs updates and then some minor accuracy changes (such as making the packet retransmission time a bit more accurate)
I know of at least one person that's a "friend of a friend" who is more interested in the Switch side of things though. Maybe they would be a better fit? I'd rather not say too much here though to avoid the eyes of N

Maybe I should just accept that I cannot satisfy every person's needs and feel more at ease. In any case, it is very unlikely that I will add Switch 2 support to this repository

I support this. You have done a great service for this community and the Nintendo scene in general. Your research and documentation laid the groundwork for many of us and I doubt most of us would be where we are today without you. You deserve to not have the stress of maintaining something you're no longer interested in and to move on


Allow setting session data to the client

I went ahead and finished my poc for this feature.
Everything is called session which is probably the most accurate name.
Also instead of a function to call the getSession is just a prop on the client for simplicity.

🎉 thanks for putting this together! I think im a bit confused about the API you have in mind since I don't see a way for users to set the session data - am I missing something?

Well, it is just an accessor so I thought about:
// +layout.ts

import houdini from '$lib/houdini';
import type { LayoutLoad } from './$types';

export const load: LayoutLoad = ({ data }) => {
  houdini.init();

  houdini.getSession = () => ({
    accessToken: data.auth.accessToken,
  });

  return {
    isAdmin: data.auth.isAdmin,
  };
};

Rebased

Oh, this would also a good opportunity to update everything mentioning session:

[ ] authentication guide
[ ] adapter generation
[ ] init command

Ahhh okay, I understand now.
i think making the user assign an async function can lead to kind of an awkward situation if the session data requires an await. they'd have to mark that inner function async and then there's just a lot of noise left over. What about something like this:
// +layout.ts

import houdini from '$lib/houdini';
import type { LayoutLoad } from './$types';

export const load: LayoutLoad = ({ data }) => {
  houdini.init();

  houdini.setSession({
    accessToken: data.auth.accessToken,
  })

  return {
    isAdmin: data.auth.isAdmin,
  };
};

that would just set some value in the client that's used during fetch. This has a few side effects:

the session is only computed once, when it changes (since presumably a change means that load function fires again)
we avoid accessing any fields on event after load is finished. in the past kit has tried to be defensive and throw errors in these situations so it's probably worth grabbing values while we know they're safe.

Yes, I agree with you. I will make the changes.
I need to periodically refresh the access token and it will be much easier to do authSession.subscribe(houdini.setSession). Nice idea :+1:

Oh, also don't forget the changeset! No need to add docs if you don't want to, i can figure out where this belongs once its merged

I think for now a plain object is enough. Otherwise updating in non-svelte files would be the same level of awkwardness then it is in my example with subscribing.
Time will tell if we need a simpler way of setting the session values.

Oh, we probably want to pass this value to the various load functions, right?

You mean the hooks? I hoped to get around touching these code parts :sweat_smile:
Need to think if this is even necessary...
I guess the beforeLoad/afterLoad functions should have access to the same scope as the place where you set the session.

random brain dump consisting of half sentences and that probably does not make sense but I don't want to forget it if I need it again.
To correctly use session you have to set it on the server (for ssr) and on the client to the same values. So it will probably something returned from one of the load functions (

This point is moot as the hooks do not run here. In an endpoint (querying only on the server): you can do whatever you want and access all values (I think). session should nat have changed between requesting and getting the response. Or else it should be trivial to import the same values in the after hook.

I can only think of one place where that should not be the case: executions only running on the server. But those cannot be possible because there are no hooks running.

 It just occured to me that there is a real issue here: this session isn't protected for each user. we either need to find a way to have a per-user store on the server or figure out another approach.... damn.

oh... i didn't know this would close when i merged the other branch - sorry about that!

Don't worry this will need a reboot regardless...


Capybara::Poltergeist::DeadClient when JS errors are thrown

Hello,
Some days ago one of our tests using poltergeist started to fail with Capybara::Poltergeist::DeadClient errors.
Here's the code causing the error:
  within(:css, "form#node-type-form") do
    fill_in("name", :with => content_type)
    fill_in("description", :with => description)
    click_button("edit-submit")
  end

And here's the shell output:
      The PhantomJS client died while processing {"args":[2,3],"name":"click"} (Capybara::Poltergeist::DeadClient)
      (eval):2:in `send'
      (eval):2:in `click_button'
      ./features/step_definitions/content_creation_steps.rb:17
      ./features/step_definitions/content_creation_steps.rb:14:in `/^I create a content type named ["']([^"']+)["'] with description ["']([^"']+)["']$/'
      features/fivestar.feature:24:in `And I create a content type named "fivestar-01" with description "fivestar type"'

My current setup looks like this:

Ruby 1.8.7
Cucumber (1.2.1)
Capybara (1.1.3)
Poltergeist (1.0.2)
PhantomJS 1.8.1

I am running my tests on OS X 10.8 and Ubuntu 8.04.4 LTS. The js_errors option is set to false:
  options = {
    :js_errors => false,
    :window_size => [1280, 768],
    :debug => true
  }

After debugging the problem a bit more, I found out that a JS error is thrown when loading the site:
{"args"=>["http:/my.site/path"], "name"=>"visit"}
{"error"=>{"args"=>[[{"stack"=>"TypeError: 'undefined' is not an object (evaluating 'jQuery.timeago.settings')\n    at http://my.site/sites/all/modules/timeago/timeago.js?mgexlw:13", "message"=>"TypeError: 'undefined' is not an object (evaluating 'jQuery.timeago.settings')"}]], "name"=>"Poltergeist.JavascriptError"}}
Capybara::Poltergeist::JavascriptError
{"args"=>[".//body[contains(concat(' ', @class, ' '), ' logged-in ')]"], "name"=>"find"}
{"response"=>{"ids"=>[0], "page_id"=>1}}

After fixing the JS error, the test started working again. So the crash is probably caused by the uncaught error.
I also created a a crashdump of phantomJS.
It currently looks like phantomJS dies after encountering a JS error when js_error is set to false.

@enricostano Still having this issue on ArchLinux? Having it on Ubuntu.

sorry @olivierlacan , I gave up on this. Not using Poltergeist anymore. :disappointed:

Ditto. I don't blame Poltergeist to be fair. I blame PhantomJS.

This is frustrating. I'm having the same problem and I'm using PhantomJS 1.9.8
How do they not have this fixed?
What are you guys using instead now?

We're still getting this randomly on tests running on Semaphore. Not happening on local OSX dev machines.

This is weird... still happening randomly when it is used on Rails 3, On rails 4 its ok.

Can anyone provide a minimal example that reproduces the issue?  Without that it's pretty hard to fix

Closing this due to age, lack of details usable for debugging and the appearance of it most likely being an issue with older phantomjs -- If anyone has a reproducible test case using latest versions of poltergeist/phantomjs please open a new issue

@twalpole I am seeing this issue still, hard to track down.
phantomjs 2.1.1
poltergeist (1.9.0)
capybara (2.5.0)

@caseyprovost - What we really need is a reproducible minimal test case

@twalpole I'm facing the same issue. I'm trying to run my tests on Jenkins.
Scenario: Adding item to cart and checkout                                       # features/web_checkout.feature:4
Given I am on the homepage                                                     # features/step_definitions/web_steps.rb:12
And I submit the registration portal with valid credentials                    # features/step_definitions/signup.rb:1
Account successfully created
Email<EMAIL_ADDRESS>PhantomJS has crashed. Please read the bug reporting guide at
http://phantomjs.org/bug-reporting.html and file a bug report.
And I submit the password portal with valid credentials                        # features/step_definitions/signup.rb:21
PhantomJS client died while processing {"id":"5b507f23-6bf4-409b-8a68-5fed2edcaa2b","name":"body","args":[]} (Capybara::Poltergeist::DeadClient)

@Azrasyed As stated before -- what we need is a reproducible test case using phantomjs 2.1.1+ -- without that there really is no way for us to figure out whats going on.

@jonleighton @twalpole I'm facing the same issue. I'm trying to run my tests on Jenkins.
My scenarios are same as @Azrasyed, and Gemfile looks like this.
phantomjs (<IP_ADDRESS>)
poltergeist (1.9.0)
      capybara (~> 2.1)
      cliver (~> 0.3.1)
      multi_json (~> 1.0)
      websocket-driver (>= 0.2.0)

Error looks like this:
Capybara::Poltergeist::DeadClient:
       PhantomJS client died while processing {"id":"5d43dca7-add2-4280-8192-2ae0cadc15d5","name":"visit","args":["http://localhost:9887/admin/likeman/246/edit",90]}
      # /var/bundle/ruby/2.3.0/gems/poltergeist-1.9.0/lib/capybara/poltergeist/server.rb:38:in `send'
     # /var/bundle/ruby/2.3.0/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:344:in `command'
     # /var/bundle/ruby/2.3.0/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:34:in `visit'
     # /var/bundle/ruby/2.3.0/gems/poltergeist-1.9.0/lib/capybara/poltergeist/driver.rb:95:in `visit'

I came across this issue as well. Here is the dump file of the error.

@jonleighton @twalpole The issue resolved by increasing poltergeist timeout value.
  options = {
              js_errors: false,
              extensions: [],
              phantomjs_options:['--proxy-type=none', '--load-images=no', '--ignore-ssl-errors=true'],
              timeout: 180,
              window_size: ['1300', '1800'],
              inspector: true,
            }

@cmthakur My timeout is 1000 and still seeing this issue.

We've done the following and it seems to have helped tremendously with random errors and memory use when running tests:
# /spec/spec_helper.rb
config.after :each do |example|
  page.driver.restart if defined?(page.driver.restart)
end

This resets PhantomJS completely after each test and has no noticeable performance impact.

@jonleighton @twalpole can you try this in spec_helper.rb, it works for me.
   config.after(:each) do
      Capybara.reset_sessions!
      DatabaseCleaner.clean
   end

In capybara.rb
Capybara.register_driver :poltergeist_debug do |app|
  options = {
              js_errors: false,
              extensions: [],
              phantomjs_options:['--proxy-type=none', '--load-images=no', '--ignore-ssl-errors=true'],
              timeout: 180,
              window_size: ['1300', '1800'],
              inspector: true,
            }
  Capybara::Poltergeist::Driver.new(app, options)

It seems like the key thing is that js_errors: false.
I get crashes otherwise in #830.

Oh my god @constantm you helped me a lot with the trick to restart the driver after each test..been battling unreliable phantomjs crashes for weeks! cheers!

Still happening in CircleCI.
Already had js_errors: false, and tried @constantm solution...but no luck.
Difficult to provide steps to reproduce as it happens intermittently and the specs that fail aren't always the same ones.

Restarting the driver, as per @constantm fixed the problem for me (which was caused by forking in my code) but there was a performance hit: ~0.19s on my machine.

In my case only some test cases were problematic, and so it wasn't necessary to include the changes in the spec_helper.rb to driver restart after every test case. Building on @constantm's solution, adding the snippet within a context block worked:
context 'user logged in' do
    before(:each) do
        page.driver.restart if defined?(page.driver.restart)
    end
end


Remove meshcatalog, getSmiPoliciesHandler endpoint, and getOSMConfigHandler endpoint from debugger

Signed-off-by: nshankar13<EMAIL_ADDRESS>
Description: Remove the meshcatalog from the debug config. This entails calling the meshcatalog methods from the compute Client now. Also, ListServiceAccountsFromTrafficTargets is moved from the catalog pkg to compute client. No functional changes.
Update: After an offline discussion, it was decided that the getSmiPoliciesHandler and getOSMConfigHandler endpoints can be removed altogether.
Resolves: https://github.com/openservicemesh/osm/issues/5219

Testing done:

Affected area:

Functional Area

New Functionality
[ ]

CI System
[ ]

CLI Tool
[ ]

Certificate Management
[ ]

Control Plane
[ ]

Demo
[ ]

Documentation
[ ]

Egress
[ ]

Ingress
[ ]

Install
[ ]

Networking
[ ]

Observability
[ ]

Performance
[ ]

SMI Policy
[ ]

Security
[ ]

Sidecar Injection
[ ]

Tests
[ ]

Upgrade
[ ]

Other
[ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project?

Did you notify the maintainers and provide attribution?

Is this a breaking change?

Has documentation corresponding to this change been updated in the osm-docs repo (if applicable)?

lgtm

Update: After an offline discussion, it was decided that the getSmiPoliciesHandler and getOSMConfigHandler endpoints can be removed altogether.

For posterity, what was the reasoning behind removing these?  Is there any tooling like the bug check that uses those endpoints?

@jsturtevant we decided to get rid of these endpoints because a user can use kubectl to get the same info. I searched through the repo and these endpoints don't get invoked anywhere else.


Bad Gateway Error when use yarp in docker

I get a 504 error when running yarp on docker and calling other services.
appsettings.json

docker-compose.yml

http://localhost:5201/users

http://localhost:5101/products

http://localhost:5029/users-service/users

There is no problem in code test mode and the result is displayed

Collect Debug level logs for more detail: https://microsoft.github.io/reverse-proxy/articles/diagnosing-yarp-issues.html#logging

logs in YarpGateway Container when use Reverse Proxy
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Connection: keep-alive
Host: localhost:5029
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Upgrade-Insecure-Requests: 1
sec-ch-ua: "Chromium";v="116", "Not)A;Brand";v="24", "Google Chrome";v="116"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Linux"
Sec-Fetch-Site: none
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Sec-Fetch-Dest: document
{"RouteId":"route2","Match":{"Methods":null,"Hosts":null,"Path":"/users-service/{**catch-all}","QueryParameters":null,"Headers":null},"Order":null,"ClusterId":"cluster2","AuthorizationPolicy":null,"RateLimiterPolicy":null,"CorsPolicy":null,"MaxRequestBodySize":null,"Metadata":null,"Transforms":[{"PathPattern":"{**catch-all}"}]}
info: Yarp.ReverseProxy.Forwarder.HttpForwarder[9]
      Proxying to http://localhost:5199/Home/Privacy HTTP/2 RequestVersionOrLower no-streaming
info: Yarp.ReverseProxy.Forwarder.HttpForwarder[48]
      Request: An error was encountered before receiving a response.
      System.Net.Http.HttpRequestException: Cannot assign requested address (localhost:5201)
       ---> System.Net.Sockets.SocketException (99): Cannot assign requested address
         at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
         at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
         at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
         at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
         at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
         at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
         at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
         at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
         at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
         at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
         at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
         at Yarp.ReverseProxy.Forwarder.HttpForwarder.SendAsync(HttpContext context, String destinationPrefix, HttpMessageInvoker httpClient, ForwarderRequestConfig requestConfig, HttpTransformer transformer, CancellationToken cancellationToken)

System.Net.Sockets.SocketException (99): Cannot assign requested address that's a new one. It doesn't seem to be a YARP issue, but a docker issue. The internet has some interesting suggestions like https://medium.com/it-dead-inside/docker-containers-and-localhost-cannot-assign-requested-address-6ac7bc0d042b.

Thank you for your help. I changed this part of the code and my problem was solved
 "Clusters": {
      "users-cluster": {
        "Destinations": {
          "destination1": {
            "Address": "http://host.docker.internal:5201"
          }
        }
      },
      "products-cluster2": {
        "Destinations": {
          "destination1": {
            "Address": "http://host.docker.internal:5101"
          }
        }
      }
    }


Part 1 and CI/CD

Modification: Added a new visualization for showing the top 5 movies based on rating in the selected Genre.
Source: Peer review by Raul Aguilar
https://github.ubc.ca/fdandrea/532-peer-review/issues/8#issuecomment-23076
Team member: Arjun Radhakrishnan
Commit/s:
https://github.com/UBC-MDS/IMDB_Viz_R/commit/befc7e6ba52b1002f29287a017ffe6c737613613
https://github.com/UBC-MDS/IMDB_Viz_R/commit/e8ae9a6c6ecfafc5129294e173a5e17d380c47f8


workflow: fix hanging issue for error workflow

rerun skydive-functional-hw-tests

rerun skydive-functional-hw-tests

rerun skydive-functional-hw-tests

run skydive-functional-hw-tests

run skydive-functional-tests-backend-orientdb

run skydive-functional-tests-backend-orientdb


[WIP] Support configuring Java version

unify maven target bytecode version for the whole project
For example:
mvn  install -DskipTests -Pspark-2.2 -Djava.version=1.7
or
mvn  install -DskipTests -Pspark-2.2 -Djava.version=1.8
limitation:
presto module need jdk1.8 or later
Be sure to do all of the following checklists to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/3149/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3348/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/11414/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/28/

Build Failed  with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/27/

Build Failed  with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/33/


add option to fetchUpdate to use different content_url

in chcp.fetchUpdate you can dynamics change the config-file with the options. Would love if I also could pass the content_url there.
Since I have 1 app but different code for each customer, in this way i could generate dynamically all needed urls depending on which customer did log in.
Maybe wait until you begin Issue 161 :D

What if you just generate chcp.json on the fly? For example: in the app you define config-file url as https://mydomain.com/chcp?user=_USER_ID_. When put a script on that url, that will read user parameter and generate dynamically chcp.json file with correct content_url. Or even set a custom header instead of url's query parameter.

Maybe wait until you begin Issue 161 :D

Yeah, I really need to jump on that one... Already done some work, but been stuck with bug fixes and some other project.

Oh now that's wonderfull great idea :) but I still think this would be a cool option. Now my issue is solved, so feel free to close the issue.
Your doing amazing stuff and this plugin grew up huge, and your still answering every single issue. That's a lot of work :D

Thanks :) Although I admit I've been slow lately...


Update Tutoring survey Link and add new survey for tutors

New survey (for the student being tutored): tinyurl.com/TBP-tutoring-survey-student
A survey for the tutor, which isn't currently a thing should be added: tinyurl.com/TBP-tutoring-survey-tutor

New link added. Emails to tutors still TBD


When using "sudo journalctl -f -u lnd" to check logs nothing appears

When I check my logs with "sudo journalctl -f -u lnd" command, nothing seems to show up (even if I open a separate SSH window and connect to a peer or open a channel). I just see the following
admin@Zand:~ $ sudo journalctl -f -u lnd
-- Logs begin at Thu 2019-04-11 16:51:42 BST. --

The journal logs were reduced basically to ERROR level - but normally you should see at least something like:
Stopped LND Lightning Daemon.
Started LND Lightning Daemon.

For more details on logs, run the script: /home/admin/XXdebugLogs.sh

/home/admin/XXdebugLogs.sh

Great thank you!

The journal logs were reduced basically to ERROR level, because journal logs get written to the /var/logs on the sd card and we wanted to reduce the writing load on the sd card.
Bbut normally you should see at least something like:
Stopped LND Lightning Daemon.
Started LND Lightning Daemon.

But there is still more detailed LND logging ... For more details on logs, run the script: /home/admin/XXdebugLogs.sh

Great thank you!


[3.0pt] Implements the relation's with the UML diagram

Implement the relations that have the next image, also implement the validates:

Implemented with the schema desing


Algorithm Input format

Hi,
I'm little bit confused with what format of inputs should I give to the algorithm ksc. In the test code, input was given as:
X = np.array([[1.0,1,1],
[1.1,1,1],
[1.2,1,1],
[1.3,1,1],
[1.3,1,1],
................
................
[90,2002,90],
[90,2003,90]])
Does this mean the input array represent the format of
[(item1,time,frequency) ,
(item1,time,frequency) ,
......................
(item2,time,frequency) ,
....]
????????
Waiting for the reply!

You don't need to represent time. The code assumes equally spaced measurements.


TreeView.reveal after TreeDataProvider.refresh

VSCode Version: 1.52.1 (user setup)
OS Version: Windows_NT x64 10.0.17763

I recreate the existing issue https://github.com/microsoft/vscode/issues/96089 since I have the same problem with the treeview API (refresh the treeview and try to reveal an item after the refresh). The only solution which is working is to call the treeview#reveal inside a setTimeout which is not a robust solution.
@alexr00 suggested in https://github.com/microsoft/vscode/issues/96089#issuecomment-619832600 to try to detect end refresh and call treeview#reveal in the getChildren but without success.
@alexr00 could you give me a sample code to detect this end refresh please.
IMHO I think treeview should give the capability to detect the end refresh with an event.

duplicate of https://github.com/microsoft/vscode/issues/96089


Chat bubble rendering is gross

The dream is to get it working with Sordie's ASCII art macros. This would represent a good test of 1:1 emulation of the original client's bubbles.

Bitmap fonts look promising: https://www.monogameextended.net/docs/features/bitmap-font/bitmap-font
Additional info: https://discord.com/channels/723989119503696013/787685796055482368/949079903431720961


Accelerate scaler

Describe changes
This PR introduces the concept of Scalers, which can be passed into the steps' definitions to allow step run on some parallelization engine. Scalers included here:

AccelerateScaler (a major goal of this PR): allows to run a step function via accelerate run... without any effort for rewriting the step (except the fact, that it should properly handle accelerate by itself, like save in the main process, etc.)
AggregateScaler - this is more of a demo of what we can do for other use cases. This scaler just parallelizes the step logic locally and later aggregates back the results using the chosen aggregate function.

Now I would like to gather some early feedback from you.
Examples
from zenml import step
from zenml.integrations.accelerate import AccelerateScaler

@step(scaler=AccelerateScaler(num_processes=42))
def training_step(some_param: int, ...):
    # your training code is below
    ...

from zenml import step, pipeline
from zenml.scalers import AggregateScaler

@step(scaler=AggregateScaler(parameters={"a":[1,2,3],"b":[4,5,6]}, agg_function="sum"))
def training_step_with_sum_aggregation(a:int = None, b:int = None, c:int = 2)->int:
    # your code is below
    return a+b+c

@pipeline
def pipeline_with_aggregate_scaler():
    training_step_with_sum_aggregation(c=3)
# actual step output would be (1+4+3)+(2+5+3)+(3+6+3) = 30,
# where last "+3" comes from constant `c` parameter

To be done still in this PR:

Tests
Docs
Make accelerate a proper integration

How this works in the wild: https://github.com/zenml-io/zenml-projects/pull/102
Pre-requisites
Please ensure you have done the following:

[ ] I have read the CONTRIBUTING.md document.
[ ] If my change requires a change to docs, I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] I have based my new branch on develop and the open PR is targeting develop. If your branch wasn't based on develop read Contribution guide on rebasing branch to develop.
[ ] If my changes require changes to the dashboard, these changes are communicated/requested.

Types of changes

[ ] 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)
[ ] Other (add details above)

@htahir1 not putting you to reviewers, but you might have what to add to this story.

Wow what a great idea. I havnt look to deep but what is the difference between this and step operators?

Wow what a great idea. I havnt look to deep but what is the difference between this and step operators?

Thx, IMO, going forward one can define a step which, for example, takes some slicing parameters and inside the step, some intense data processing is happening and instead of running it with step operator k8s or other, I say scale it using step operator k8s or other.
This is not yet implemented for sure or shaped well, but this is how I see this: a mixture of specific libs and the reuse of some step operators to give a performance boost in parallelisable operations.
Does that answer?

The only reservation I have is that there are simply too many concepts in ZenML and this is a new one that I haven't really understood yet

The only reservation I have is that there are simply too many concepts in ZenML and this is a new one that I haven't really understood yet

That's very valid, based on the feedback we saw. Do you feel that saying AccelerateStepOperator is a better option here? On the other hand, it shall be still backed by VertexStepOperator or another GPU compute, which makes things really complicated to implement.

Closed in favor of #2746


Release version 0.0.14 on pypi

Hi, I see you've created some new versions on GitHub, I was wondering if you could publish them on PyPI?
Thanks for your project!

Hi @bouk,
That's the plan! 😄
I'm finding some issues with dependencies on cibuildwheel that I am trying to solve in my spare time.

Okay sounds good! I've got it building myself but I had to set -DBUILD_SHARED_LIBS=OFF in the cmake flags to make the result usable

Noting here the upstream issue with g2o - https://github.com/RainerKuemmerle/g2o/pull/758
The goal is to lower Eigen to 3.3 instead of 3.4, as the manylinux OS is CentOS 7, which ships with Eigen 3.3.7 by default.


Fixes IP address formatting #2109

Since other PR was closed by the author
Should I make changes in flowdetailview as well?

Yes, please. Thanks for picking this up! :smiley:

@mhils This is ready for review :slightly_smiling_face:


Bug update image

after upload/ just select  image in filemanager always not found

Desktop
OS: Win10 20H2
Wamp: Laragon 5.0.0 21053 (php 7.4.19)
npm: 6.14.8
node: 14.15.1
laravel: 8.0(fresh install)

It's strange. It look like the image return the wrong path. Have you ever been upgrade the badaso before? If so, please run the following command php artisan badaso:setup --force. If you encounter another issue/problem after running the command, please reply this issue.

still not found

You need to install laravel 8 as a new one with new badaso too. I guess that you upgrade badaso version from previous version. In badaso current version, user default avatar value is files/shares/default-user.png.


scripts/dev-env needs an update

Summary of Bug

scripts/dev-env will fail if executed many times. hermes add keys throws an error a key is already stored under the same name because it needs the flag --overwrite.
Version

1.0.0-rc.0+966ceadc
Steps to Reproduce

run ./scripts/dev-env ~/.hermes/config.toml ibc-0 ibc-1 twice
Acceptance Criteria

./scripts/dev-env ~/.hermes/config.toml ibc-0 ibc-1 never fails

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate milestone (priority) applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

Should we completely get rid of this code, i.e., delete dev-env related stuff under scripts?
dev-env is still referenced from https://hermes.informal.systems/tutorials/local-chains/start.html so it might be tricky to coordinate updating the guide <> updating the repo <> release. Note that Harveen already updated guide to shift focus from dev-env to gm #2360 it's just not deployed yet.


fix: updated translation for DeFiChain

@thedoublejay should be "by DeFiChain" not "by the DeFiChain"

@thedoublejay should be "by DeFiChain" not "by the DeFiChain"

Updated


misc typo

Hello,
Queries can also perform calculations on data, such finding the sum or average of all values in a column of the dataset.
should be
Queries can also perform calculations on data, such as finding the sum or average of all values in a column of the dataset.

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

ID: 0ef8aed6-43d6-0db4-ba86-b8d27e8880e5
Version Independent ID: 8f292314-3171-e151-54e5-291094b84ae2
Content: Query Overview - Business Central
Content Source: dev-itpro/developer/devenv-query-overview.md
Service: dynamics365-business-central
GitHub Login: @jswymer
Microsoft Alias: solsen

Thanks for the feedback! The typo has been fixed and the update will be published soon.


Script Provision an Azure Active Directory administrator for your managed instance not working on MacOS

Cannot execute the script provided on MacOs.
The commands Get-AzureAD* are not recognized as valid commands and I have already tried to install the AzureAD module (both versions, released and Preview).
I get the following error when importing the modules (Import-Module AzureADPreview):
Import-Module: Could not load file or assembly 'System.Windows.Forms, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.
Seems that it can only be imported from a Windows OS. How can we perform this action from a Linux/MacOS host?

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

ID: 2d4a33b0-87d0-f60c-1b52-aeafa889e657
Version Independent ID: c281bdb7-c98c-6853-5077-41b3dd44d3a2
Content: Configure Azure Active Directory authentication - Azure SQL Database
Content Source: articles/sql-database/sql-database-aad-authentication-configure.md
Service: sql-database
Sub-service: security
GitHub Login: @GithubMirek
Microsoft Alias: mireks

@alsastre We are checking this and we will get back to you.

@alsastre Please confirm what version of PowerShell you are using.This looks like an issue with Powershell rather than Azure AD. If you can run the command - $PSVersionTable and provide result as well.

Output:
Name                           Value
----                           -----
PSVersion                      7.0.0
PSEdition                      Core
GitCommitId                    7.0.0
OS                             Darwin 19.3.0 Darwin Kernel Version 19.3.0: Thu Jan  9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0```

@alsastre We are assigning this to our doc author for further review.
@GithubMirek Please look into this further and provide your insight.

Is there any update to this issue and AzureADPreview being for PS on Windows only?
Thanks

I am sorry I missed this question.
I have to redirect this isse to the team responsible for  Linux/MacOS

I am sorry I missed this question.
I have to redirect this isse to the team responsible for  Linux/MacOS

Since this is not directly related to the document, but rather a product supportability question, we'll close this issue. It looks like the feature has not been released yet. Please feel free to let us know if there are any documentation concerns. Thank you for your feedback.
#please-close

Since this is not directly related to the document, but rather a product supportability question, we'll close this issue. It looks like the feature has not been released yet. Please feel free to let us know if there are any documentation concerns. Thank you for your feedback.
#please-close


Clarification on Ariane netlist

@agnesina Can I verify that this is the version of ariane_ng45 (lefdef) that is used in the paper's experiments? Also, would be nice if you could provide the bookshelf format :)
https://github.com/TILOS-AI-Institute/MacroPlacement/tree/main/Flows/NanGate45/ariane133
edit: my bad, paper reports results for ng45 rather than asap7

Hi luarss, yes we used this ariane133 benchmark in the paper (density=51%/68%, CP=1.3ns/4ns). We generated the bookshelf files  with scripts/generate_bookshelf.tcl inside Cadence Innovus after loading the design floorplan DEFs. Sure, I will upload the bookshelf files this week.


[BUG] fix partition storage policy info lost

Proposed changes

fix partition storage policy info lost
When adding a storage policy to a table through an alter statement, the partition policy is lost when the FE is restarted because the storage policy is not set for the partition synchronously.

when setting policies, check the uniq table in advance to prevent metadata inconsistencies

show storage policy using for stmt support any string policy name
If the policy name begins with a number, the statement cannot be parsed.

Issue Number: close #xxx

run buildall

run buildall

run buildall


[WFCORE-4385] DomainTestSupport and DomainLifecycleUtil implement AutoCloseable

Stopping DomainTestSupport causes it to close its controlled DomainLifecycleUtil objects
Stopping DomainLifecyleUtil closes its shared DomainTestClient.
Deprecate DomainTestSupport.stop() in favor of close() as close has a clearer semantic
Also a lot of cleanup to get rid of IDE warns for these classes.
https://issues.jboss.org/browse/WFCORE-4385
Needs #3709 and #3711 first as those correct invalid uses of DomainTestSupport that the main commits in this PR disallow.  The commits in those PRs are in this one.

@bstansberry I merged #3709 and #3711 before this one.
Could you please drop their commits from this PR to avoid the conflict, please?

@jmesnil Done. Thanks!  All of this because one test had too low of a timeout and failed about 1.5% of the time. But the timeout was used in smelly code so down the rabbit hole I went.


Upgrade the 'Package' class to the SPDX 2.1 specification

This is to upgrade the 'Package' class to the SPDX 2.1 specification
This is #72 from @yash-nisar rebased by @xavierfigueroav

@xavierfigueroav this needs rebasing again as it went stale with the latest merge!

All merged. Thanks!


Provide an RGB-D image to generate an affordence map directly from your pre-trained model

Are pre-trained models available?

HanwenCao

I mean, I provide my own rgb-d image and directly generate the Heatmap, but I can't find the corresponding code. What is provided in the library can only generate the Heatmap in their dataset.


Update clear_session not to clear the api-version

resolves #640
Removes resetting the api_version when clearing the session. In the test\base_test.rb there is no logic the shows the session clearing should also clear the api_version.
@tanema

Thanks again!


LGTM: fix hiding a global variable with the same name

https://lgtm.com/projects/g/apache/trafficserver/?mode=tree&ruleFocus=2157860312

[approve ci autest]

[approve ci autest]


Segmentation fault in nanopolish eventalign

Hi,
I got the following error when I ran nanopolish eventalign. There isn't any other error message. I have run nanopolish eventalign with my other samples and it was fine.
/var/spool/slurm/d/job10023903/slurm_script: line 25: 1654969 Segmentation fault      (core dumped) nanopolish eventalign --reads /largeprojects/nanopore/nanopore/merged_fastq/${sample}_merged.fastq.gz --bam /largeprojects/nanopore/nanopore/lauren_test/cdna_bam_for_xpore/$sample/$sample.bam --genome /largeprojects/nanopore/nanopore/lauren_test/annotationfile/Mus_musculus.GRCm38.cdna.all.fa --signal-index --scale-events --summary /largeprojects/nanopore/nanopore/lauren_test/nanopolish_output/$sample.nanopolish_summary.txt --threads 32 > /largeprojects/nanopore/nanopore/lauren_test/nanopolish_output/$sample.eventalign.txt
I am not sure if this is related to some of the error messages I got during the nanopolish index step which is telling me it can't open some of the fast5 files. However, the index step finished at the end and I got the index files.
I requested 90G memory for this and the job got killed after 15 hours due to this error. I have the eventalign.txt and nanopolish_summary.txt output but its a lot smaller than I expected. The nanopolish version I use is 0.13.3
Thanks for the help!
Laur

I encountered the same error when running nanopolish index on the ERR9834011 FAST5 files. However, it worked fine for other samples (ERR9834013 and ERR9834015). I've searched through all the issues, but couldn't find a specific solution.


API documentation should not mention "

So, this is a pretty embarrassing issue with our API docs:

The phrase "Download zuliprc-dev from your dev server" is really poor in two ways: (1)
@YagoGG @eeshangarg @aero31aero one of you may want to claim this.

This seems to be a weird GitHub-generated duplicate of #10672


I run this app alaws show “no face found”，I do not know reason

I am also facing the same issue, after running the app, when the input image is selected, pressing "Do Facedetect" button showing “no face found” text! What could be the reason behind it?

Thanks, I will fixed in no time

@jackweiwang , the issue is fixed now. Thank you for your quick response, appreciate it.

My pleasure :)


vdataset has color strings and color utils

It's better to use color utils in vutils
math-utils also has some utils, such as clamp area duplicated with vutils

fixed in this issue https://github.com/VisActor/VUtil/pull/88


Build test apps during daily runs, add msal and adal test apps to release pipeline

This allows us to validate that our apps are building properly as part of the daily pipeline run. This includes:
Azure Sample
BrokerHost
MSAL Test App
Adal Test App
Also included MSAL Test App and Adal Test App in the release pipeline, this will remove 2 steps from the release process (previously, engineer would have to run 2 separate pipelines for the msal and adal test apps respectively).
Also added some boolean parameters to skip running unit and instrumented tests in the daily pipeline.
https://identitydivision.visualstudio.com/Engineering/_build/results?buildId=1143815&view=results
https://identitydivision.visualstudio.com/Engineering/_build/results?buildId=1143694&view=results

There's also a step added to build "standalone" azure sample (building it from the azure sample repo, not android-complete), but i'm currently running into some issues with this step, so we continue if it fails at this time.


Dashboard: Show name of person currently on trip

If a trip is currently in progress with a car, show the name of the person on the trip, along with the drop off location name.

Done.


Can not create new tmux session or source .zshrc if aws plugin is enabled

Hi,
thanks for taking the time to read this issue!
Describe the bug
Last week I started noticing two behaviours:

If I try to open a new tmux session, tmux exits directly again without having created a new session (not just detaches).
If I make changes to my .zshrc file, and source it afterwards, the terminal is closed.

Initially I thought I had an issue with my tmux.conf or had added some problematic code to my .zshrc, but after searching for a bit and not finding anything in the tmux configuration or .zshrc, I checked other things I had changed recently among them installing the awscli via pip install awscli. While debugging, I removed the aws plugin from my .zshrc file and both behaviours mentioned above worked again as expected.
I tried to figure out what part of the aws plugin is causing this, but my knowlege of zsh and oh-my-zsh is too limited.
To Reproduce

Install awscli via pip install awscli
Enable plugin aws
Run command tmux new-session -t test or source .zshrc

System:

macOS Version 10.13.6
zsh 5.7.1 (x86_64-apple-darwin17.7.0)
iTerm2 (Build 3.3.4)
aws-cli/1.16.245 Python/3.7.4 Darwin/17.7.0 botocore/1.12.235
Python 3.7.4 (default, Aug  4 2019, 21:15:30) [Clang 10.0.0 (clang-1<IP_ADDRESS>)]
tmux 2.9a
pyenv 1.2.13 (python versions installed via pyenv)
Homebrew 2.1.11

Additional context
My guess is that it has to do with the python version but that is only a guess.
Before I installed awscli, I had the plugin in my .zshrc but did not use it.
.aws/config
[default]
region = eu-west-1
output = json

[profile <some-name>-staging]
role_arn = arn:<some-arn>
source_profile = default
role_session_name = <some-name>
region = eu-west-1
output = json

[profile <some-name>-production]
role_arn = arn:<some-arn>
source_profile = default
role_session_name = <some-name>
region = eu-west-1
output = json

.zshrc
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/Code/bin:/usr/local/bin:$PATH
export KUBECONFIG="$HOME/.kube/config:$HOME/.kube/<some-str>-cluster-production:$HOME/.kube/<some-str>-cluster-staging"

# Path to your oh-my-zsh installation.
export ZSH="/Users/<username>/.oh-my-zsh"

# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="robbyrussell"
# ZSH_THEME="spaceship"

# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# a theme from this variable instead of looking in ~/.oh-my-zsh/themes/
# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )

# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"

# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"

# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"

# Uncomment the following line to automatically update without prompting.
# DISABLE_UPDATE_PROMPT="true"

# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13

# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS=true

# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"

# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"

# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"

# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"

# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"

# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# You can set one of the optional three formats:
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications,
# see 'man strftime' for details.
# HIST_STAMPS="mm/dd/yyyy"

# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder

# Which plugins would you like to load?
# Standard plugins can be found in ~/.oh-my-zsh/plugins/*
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(
  git
  aws
  docker-compose
  docker
  pyenv
  tmux
  vi-mode
  z
)

source $ZSH/oh-my-zsh.sh

# User configuration

# export MANPATH="/usr/local/man:$MANPATH"

# You may need to manually set your language environment
export LANG=en_US.UTF-8

# Preferred editor for local and remote sessions
if [[ -n $SSH_CONNECTION ]]; then
  export EDITOR='vim'
else
  export EDITOR='nvim'
fi

# Compilation flags
# export ARCHFLAGS="-arch x86_64"

# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
source $HOME/.aliases

# Set the Path variable
# The .paths is sourced in .zshenv
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"

# Additional Config
#
# PYENV
# export PYENV_ROOT="$HOME/.pyenv"
# export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"

If it exits during the load of the aws plugin, you can add set -xv at the top of the aws plugin ($ZSH/plugins/aws/aws.plugin.zsh) to enable tracing, run the tmux command and notice what's the last command that runs. You can then also run echo $? to know the exit code.

Thanks @mcornella for your reply and tip on how to get more information about this issue.
I ran tmux new-session -t test after adding the aws plugin to my .zshrc and got the following output:
# otherwise check common locations
if [[ -z $_aws_zsh_completer_path ]]; then
  # Homebrew
  if _awscli-homebrew-installed; then
    _aws_zsh_completer_path=$_brew_prefix/libexec/bin/aws_zsh_completer.sh
  # Ubuntu
  elif [[ -e /usr/share/zsh/vendor-completions/_awscli ]]; then
    _aws_zsh_completer_path=/usr/share/zsh/vendor-completions/_awscli
  # RPM
  else
    _aws_zsh_completer_path=/usr/share/zsh/site-functions/aws_zsh_completer.sh
  fi
fi
+/Users/<username>/.oh-my-zsh/plugins/aws/aws.plugin.zsh:84> [[ -z /Users/<username>/.pyenv/shims/aws_zsh_completer.sh ]]

[[ -r $_aws_zsh_completer_path ]] && source $_aws_zsh_completer_path
+/Users/<username>/.oh-my-zsh/plugins/aws/aws.plugin.zsh:97> [[ -r /Users/<username>/.pyenv/shims/aws_zsh_completer.sh ]]
+/Users/<username>/.oh-my-zsh/plugins/aws/aws.plugin.zsh:97> source /Users/<username>/.pyenv/shims/aws_zsh_completer.sh
#!/usr/bin/env bash
set -e
+/Users/<username>/.pyenv/shims/aws_zsh_completer.sh:2> set -e
[ -n "$PYENV_DEBUG" ] && set -x
+/Users/<username>/.pyenv/shims/aws_zsh_completer.sh:3> [ -n '' ']'

program="${0##*/}"
+/Users/<username>/.pyenv/shims/aws_zsh_completer.sh:5> program=aws_zsh_completer.sh
if [[ "$program" = "python"* ]]; then
  for arg; do
    case "$arg" in
    -c* | -- ) break ;;
    */* )
      if [ -f "$arg" ]; then
        export PYENV_FILE_ARG="$arg"
        break
      fi
      ;;
    esac
  done
fi
+/Users/<username>/.pyenv/shims/aws_zsh_completer.sh:6> [[ aws_zsh_completer.sh = python* ]]

export PYENV_ROOT="/Users/<username>/.pyenv"
+/Users/<username>/.pyenv/shims/aws_zsh_completer.sh:20> export PYENV_ROOT=/Users/<username>/.pyenv
exec "/usr/local/Cellar/pyenv/1.2.13/libexec/pyenv" exec "$program" "$@"
+/Users/<username>/.pyenv/shims/aws_zsh_completer.sh:21> /usr/local/Cellar/pyenv/1.2.13/libexec/pyenv exec aws_zsh_completer.sh
/Users/<username>/.pyenv/versions/3.7.4/bin/aws_zsh_completer.sh: line 16: autoload: command not found
/Users/<username>/.pyenv/versions/3.7.4/bin/aws_zsh_completer.sh: line 17: bashcompinit: command not found

The exit code is:
$ echo $?
0

This is the same issue as #7822. The solution might be to install aws-cli outside of pyenv? You should track https://github.com/pyenv/pyenv/issues/1089 as well.

Thanks @mcornella for the update and the pointer towards the pyenv Issue.


PPM redux refactor long running feature branch

Description
Our goal was to continue to convert more of the PPMs to use the entity pattern for storing client-side state in Redux. The new pattern is a continuing attempt to unify how we store state across the TSP, office, and service member apps.
Note: this PR is a long-running feature branch, and we reviewed the code in small chunks along the way, verifying that the behavior of the app remained unchanged with each subsequent refactoring.
Setup

make server_run
make client_run
Visit any page, and try to break the thing.

Code Review Verification Steps

[] Request review from a member of a different team.
[] Have the Pivotal acceptance criteria been met for this change?

References

Pivotal story for this change

Closing due to changing priorities