Deleted network nodes still analyzed and seen as orphan nodes

The network nodes below are not network nodes anymore (rwn_ref is removed), but they are still analyzed. Therefore they are incorrectly seen as orphan nodes:

https://knooppuntnet.nl/nl/node/6234320214
https://knooppuntnet.nl/nl/node/6234320386

@A67-A67 Thanks for reporting this problem.
Replication file 003/338/166 contains the deletions for both nodes:
  <delete>
    <node id="6234320214" version="2" timestamp="2019-01-25T15:18:24Z" uid="294028" user="dvdhoven" changeset="66634908" lat="53.3538907" lon="6.3366934"/>
    <node id="6234320386" version="2" timestamp="2019-01-25T15:18:24Z" uid="294028" user="dvdhoven" changeset="66634908" lat="53.3539175" lon="6.3366895"/>
  </delete>

The analysis logic did correctly recognize these deletions, as shown in the history in the node pages<PHONE_NUMBER> en<PHONE_NUMBER> facts: WasOrphan and Deleted.
But the node was not set to non-active!
The  code arround line 36 should set the node to non-active (active=false), but somehow this does not work ok.
Has to be further investigated.

The 2 nodes have been manually set to non-active in the database. This way they are no longer reported as orphan nodes.
This however does not resolve the actual problem yet: the nodes should have been set to non-active automatically by the analysis logic.

Resolved in release v4.0.


Adding support for Multiple endpoints

This PR uses a HttpAPI proxy + Lambda function to call the Sagemaker endpoint. This allows us to add support for multiple endpoints and better integration for the different input handlers and better error messages.

/test-e2e-deploy sha=d254f3b

/test-e2e-deploy sha=b80db2b

/test-e2e-deploy sha=0b26b61

/test-e2e-deploy sha=bec16e8

also fixes #18

/test-e2e-deploy sha=7e39966

Added a timeout option to lambda function too. So the timeout option in the config will provide the timeout for lambda as well as the Gunicorn_worker. The other option was to separate out both timeouts into 2 different ones but I'm not sure there is a use-case for that?

/test-e2e-deploy sha=a92cc1b


NameError: name 'unicode' is not defined

Hi,
On Windows 10 (64 bit), I'm getting the following error:

Python 3.6.5 | packaged by conda-forge | (default, Apr  6 2018, 16:13:55) [MSC v.1900 64 bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
IPython 6.1.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import GPUtil
In [2]: GPUtil.showUtilization()

NameError                                 Traceback (most recent call last)
 in ()
----> 1 GPUtil.showUtilization()
~\Anaconda3\lib\site-packages\GPUtil\GPUtil.py in showUtilization(all, attrList, useOldCode)
248                         elif (isinstance(attr,str)):
249                             attrStr = attr;
--> 250                         elif (isinstance(attr,unicode)):
251                             attrStr = attr.encode('ascii','ignore')
252                         else:
NameError: name 'unicode' is not defined

Any idea how to fix this?
Thanks a lot!

ah, seems to be a Python 2 vs 3 issue:
https://stackoverflow.com/questions/4987327/how-do-i-check-if-a-string-is-unicode-or-ascii

@janroden Thank you for pointing out the issue.
Before uploading, I always run the demo script in both a python 2 and python 3 environment, but I have not encountered the error before.
You can try a quick fix by replacing
[...]

elif (isinstance(attr,unicode)):

with
import sys

[...]

elif (sys.version_info[0] == 2):
    if (isinstance(attr,unicode)):

Note, that there are two checks for unicode in the code.
I suspect, that you might get a new "unhandled object type" error, after fixing this one.
If a new error arises, could you also post your raw output from calling nvidia-smi using the following commend?
nvidia-smi --query-gpu=index,uuid,utilization.gpu,memory.total,memory.used,memory.free,driver_version,name,gpu_serial,display_active,display_mode --format=csv,noheader,nounits

It's the same command, which GPUtil uses to get the GPU information.

@janroden I've pushed a new commit with the above fix.

I still get this error, should I uninstall and reinstall? BTW love your work

@anderskm I don't see the fix in the pip installed version.

@JaeDukSeo and @hanhu I'm sorry, I've been a bit slow to push the latest fixes to pip.
I have just tagged the latest commit for release and uploaded it to pip.
The newest version is now v1.4.0
You can update your current version using:
pip uninstall GPUtil
pip install GPUtil

I hope this fixes your issues. Otherwise, please let me know.
I will close this issue now. If the problem still remains, feel free to comment on this issue, and I will reopen it.


Apply a Markdown formatter.

(The formatter I have handy is a full-file formatter, so it's nice to be
able to run it on "real" PRs without accidentally including changes like
this in the resulting commit.)

Oh, I hadn't realized. I have been running mdformat but without --compatibility. But: It looks like this change is made whether I pass the flag or not?
(You got my hopes up with --compatibility would avoid mangling the header :) I have been meaning to write a quick script to format everything except the header....)

For reference, I am currently going with:
perl -ne 'print if (/----/ .. 0)' docs/docs/spec.md > /tmp/toformat.md && mdformat --in_place --compatibility /tmp/toformat.md && ( perl -ne 'print if (1 .. /----/) && !/----/' docs/docs/spec.md && cat /tmp/toformat.md ) > /tmp/formatted.md && cat /tmp/formatted.md > docs/docs/spec.md


Update Readme

The folder structure of the project is not up to date.
The different routes also need to be updated.

@Utkarsh-2005 Can you elaborate what you mean by "different routes need to be updated" ?

@swastik-apk , I am referring to the api routes listed in our Readme, for example /change-password route has not been mentioned. Kindly do so and make other similar updations.

@dead8309 @Tony-ArtZ Can you assign this issue to me ?


Feature/4171 depd

Main Changes

Upgrade to<EMAIL_ADDRESS>Upgrade to<EMAIL_ADDRESS>Upgrade to<EMAIL_ADDRESS>Upgrade History.md as unreleased

Context

Related #4171
Discussion (call to action) https://github.com/expressjs/express/issues/4171#issuecomment-582466565

Changelog

e117e0d deps: bump depd version to 2.0.0 by @UlisesGascon
6e2883a deps: bump setprototypeof version to 1.2.0 by @UlisesGascon
1ac6a1e deps: bump cookie-signature version to 1.1.0 by @UlisesGascon
be4cd6d Added bumped dependencies to History by @UlisesGascon

If you agree  I will close the PR as setprototypeof is duplicated #4011, depd and cookie-signature are moved to 5.0.

Sure, though I didn't see a reason for the depd move (though I'm not going to say otherwise), but just wanted to clarify in case you thought maybe I said to move that one to 5.0.

I have been working to snake the depd update through all the sub dependencies in play here so we can land an eval-free depd in our (maybe last) 4.x release.

Ok, just as an update I am on the last major module that needs the update: http-errors. It will bump the major of that module, but I made sure that it would not affect the major version of anything within express depending on it so it will actually work out :tada: . I am planning to have this all completed this week.

Has there been any progress on this?
depd has had numerous attempts to remove not only eval but also new Function (which has the same problems), but the package appears to be dead?

https://github.com/dougwilson/nodejs-depd/pull/26
https://github.com/dougwilson/nodejs-depd/pull/33
https://github.com/dougwilson/nodejs-depd/pull/42

(and the issue I raised on depd back in December last year: https://github.com/dougwilson/nodejs-depd/issues/41)
It looks like none of these have made it into depd yet, and even the migration here (to go from eval to new Function) looks like it has stalled.

Personally, I would really like to be able to enable --disallow-code-generation-from-strings on my server to improve security, but with the depd issue this isn't possible. I'm happy to help out in any way (e.g. one of the pull requests on depd is from me before I realised it had already been tackled twice before). Would it perhaps be worth switching the depd dependency to a more actively maintained fork?

Hi @davidje13 I do maintain it. There has been a github issue that unsubscribed me from many repos, and I see that one I am also not subscribed to (though I am now). Unless you mention a user by name, posts only go to repo subscribers. I do maintain it and sorry that my subscription was not on the repo. I will respond to your issue on depd now that I am aware it exists 👍


fix(v1): fresh install failing due to <> syntax

Motivation
Fix https://github.com/facebook/docusaurus/issues/3199

because the last release was December 2019 🤪 and we don't have a CI check to ensure that the v1 init+start/build works fine

Oh I see. For a moment I thought nobody was able to install v1 since Dec 2019 😅
Thanks for fixing this :)


Option to create user and vhost and set permissions

@justin-yesware @mkostick

I don't know rabbit well enough to comment on the actual commands.  I'll leave that to @justin-yesware

Couple of comments, but this looks great.

Pushed fixes.
Switched to spaces from tabs
added password to create-user example

Looks good.


typos in chapter 33

page 1072
"How do we does the interpretability happen?"
in the penultimate line, "machxine" -> "machine"
page 1080
"Banzaf score" -> "Banzhaf score"

fixed


[eframe] prefer_dark_mode does not seem to be working (at least on Windows)

I tried automatically switching to dark mode under Windows to be consistent with the system theme:
impl PrecogApp {
    fn new(cc: &eframe::CreationContext<'_>) -> Self {
        // Customize egui here with cc.egui_ctx.set_fonts and cc.egui_ctx.set_visuals.
        // Restore app state using cc.storage (requires the "persistence" feature).
        // Use the cc.gl (a glow::Context) to create graphics shaders and buffers that you can use
        // for e.g. egui::PaintCallback.
        if cc.integration_info.prefer_dark_mode.unwrap() {
            cc.egui_ctx.set_visuals(egui::Visuals::dark())
        } else {
            cc.egui_ctx.set_visuals(egui::Visuals::light())
        }
        Self::default()
    }
}

(...)

/// Application entry point
fn main() {
    let icon = load_from_memory(include_bytes!("../assets/precog_48x48.png"))
        .expect("Não foi possível carregar o ícone da aplicação");
    let (icon_width, icon_height) = icon.to_rgba8().dimensions();

    let options = eframe::NativeOptions {
        resizable: true,
        icon_data: Some(eframe::IconData {
            rgba: icon.into_bytes(),
            width: icon_width,
            height: icon_height,
        }),
        ..Default::default()
    };
    eframe::run_native(
        "Precog",
        options,
        Box::new(|cc| Box::new(PrecogApp::new(cc))),
    );
}

prefer_dark_mode seems to always returns None, regardless of the system theme.
Am I missing something obvious here?

Please try latest master - this has been reworked significantly. If you use latest master it should follow the system theme automatically

Please try latest master - this has been reworked significantly. If you use latest master it should follow the system theme automatically (customizable with NativeOptions::follow_system_theme)

Thanks, I'll do that.


Instagram downloads do not work after first page

Ripme version: v1.7.47
Java version:  1.8.0_161
Operating system:  - Windows 10 - Version 1803 (OS Build 17134.48)
Exact URL you were trying to rip when the problem occurred: https://www.instagram.com/amanda_blanks/
Please include any additional information about how to reproduce the problem:
I downloaded several instagram pages yesterday without issue but now it's only downloading the first page and then rolling to Error: Null on EVERY instagram page I pull up.

Expected Behavior
Download pictures from public instagram account until no more pictures remain
Actual Behavior
The first page is downloaded, and then the program errors out in Null.
LOG:
Downloading next page
Downloading https://scontent-ort2-1.cdninstagram.com/5B937331/t51.2885-15/e35/32212306_113721072797558_1687967953154211840_n.jpg
https://scontent-ort2-1.cdninstagram.com/5B937331/t51.2885-15/e35/32212306_113721072797558_1687967953154211840_n.jpg : Non-retriable status code 403 while downloading https://scontent-ort2-1.cdninstagram.com/5B937331/t51.2885-15/e35/32212306_113721072797558_1687967953154211840_n.jpg
Rip complete, saved to C:\Users\thedude\Documents\CV\IG Rips\instagram_amanda_blanks
null

This is #608 but as you say, now it is happening every time for the last day or so, instead of intermittent. I commented the NullPointerException that you get in 1.7.47
I tried 1.7.46 and it still fails early but the error is different
Got exception while running ripper:
java.lang.IllegalArgumentException: Cookie value must not be null
	at org.jsoup.helper.Validate.notNull(Validate.java:26)
	at org.jsoup.helper.HttpConnection$Base.cookie(HttpConnection.java:295)
	at org.jsoup.helper.HttpConnection.cookies(HttpConnection.java:158)
	at com.rarchives.ripme.utils.Http.cookies(Http.java:87)
	at com.rarchives.ripme.ripper.rippers.InstagramRipper.getNextPage(InstagramRipper.java:381)
	at com.rarchives.ripme.ripper.AbstractHTMLRipper.rip(AbstractHTMLRipper.java:165)
	at com.rarchives.ripme.ripper.AbstractRipper.run(AbstractRipper.java:533)
	at java.lang.Thread.run(Thread.java:748)

I would love to have a setting "wait at least this long before loading the next page". I am not in a hurry so I would set this to like N=30 seconds. Would be great if ripme fails to load a page this reason or any other reason it retries after 2N seconds (60 for me) and again after 4N and 8N and 16N

Thanks @Ectomind1990 .  I saw that thread and saw it was closed in the middle, so I was worried it was no longer open, so I created this one as well to make sure it got fully covered/reviewed.

It seems to hang after the NullPointerException, here's the full stack trace for me:
~/Pictures
❯ java -jar ripme.jar -u https://www.instagram.com/amanda_blanks
Loaded /home/user/.config/ripme/rip.properties
Loaded log4j.properties
Initialized ripme v1.7.47
sanitized URL is https://www.instagram.com/amanda_blanks
Retrieving https://www.instagram.com/amanda_blanks
{}
Could not find query_hash on https://www.instagram.com/static/bundles/base/ProfilePageContainer.js/f38773cca89a.js
    Downloading file: https://scontent-lhr3-1.cdninstagram.com/vp/fbbb2bb2ff835c839b89d4f1a6fa5ef8/5B937331/t51.2885-15/e35/32212306_113721072797558_1687967953154211840_n.jpg Retry #1
    Downloading file: https://scontent-lhr3-1.cdninstagram.com/vp/5c623a7b8e15840a0bc013843ebeb4f6/5BA3218E/t51.2885-15/e35/32580405_2079627935659051_3800399814705807360_n.jpg Retry #1
    Downloading file: https://scontent-lhr3-1.cdninstagram.com/vp/6a35cb447c0b6cbc078e00b2b5f168bb/5B9012E5/t51.2885-15/e35/32063823_194923191159500_7907727368297381888_n.jpg Retry #1
    Downloading file: https://scontent-lhr3-1.cdninstagram.com/vp/8096e9059b8841cca3a3122df2883951/5BBDC532/t51.2885-15/e35/31997942_240221640073113_7471146395085307904_n.jpg Retry #1
    Downloading file: https://scontent-lhr3-1.cdninstagram.com/vp/6c8cc2a006d246b4359c5501036f4e0e/5BBFD29E/t51.2885-15/e35/32514463_599297900427691_1448195511159881728_n.jpg Retry #1
[+] Saved https://scontent-lhr3-1.cdninstagram.com/vp/6a35cb447c0b6cbc078e00b2b5f168bb/5B9012E5/t51.2885-15/e35/32063823_194923191159500_7907727368297381888_n.jpg as ./rips/instagram_amanda_blanks/2018_05_23_08_14_32063823_194923191159500_7907727368297381888_n.jpg
    Downloading file: https://scontent-lhr3-1.cdninstagram.com/vp/f500e2441768deb391bb9d7087c15db5/5B84A674/t51.2885-15/e35/31939016_168685620457647_8193058212027564032_n.jpg Retry #1
[+] Saved https://scontent-lhr3-1.cdninstagram.com/vp/6c8cc2a006d246b4359c5501036f4e0e/5BBFD29E/t51.2885-15/e35/32514463_599297900427691_1448195511159881728_n.jpg as ./rips/instagram_amanda_blanks/2018_05_21_07_21_32514463_599297900427691_1448195511159881728_n.jpg
    Downloading file: https://scontent-lhr3-1.cdninstagram.com/vp/5ba5a6388ce6162e64df04ddd57b3097/5B833ACE/t51.2885-15/e35/31973763_1014213825401162_5822324070946963456_n.jpg Retry #1
[+] Saved https://scontent-lhr3-1.cdninstagram.com/vp/fbbb2bb2ff835c839b89d4f1a6fa5ef8/5B937331/t51.2885-15/e35/32212306_113721072797558_1687967953154211840_n.jpg as ./rips/instagram_amanda_blanks/2018_05_25_12_57_32212306_113721072797558_1687967953154211840_n.jpg
    Downloading file: https://scontent-lhr3-1.cdninstagram.com/vp/d23cb8ee30e16e62a1fa3fcbf47a9f78/5B84A832/t51.2885-15/e35/32162711_215515349230487_3030574910272438272_n.jpg Retry #1
[+] Saved https://scontent-lhr3-1.cdninstagram.com/vp/8096e9059b8841cca3a3122df2883951/5BBDC532/t51.2885-15/e35/31997942_240221640073113_7471146395085307904_n.jpg as ./rips/instagram_amanda_blanks/2018_05_22_10_09_31997942_240221640073113_7471146395085307904_n.jpg
    Downloading file: https://scontent-lhr3-1.cdninstagram.com/vp/f8b82b260595c967bc01450869b0a8f6/5BC1DF3D/t51.2885-15/e35/31908746_178079429689544_7814538513688297472_n.jpg Retry #1
[+] Saved https://scontent-lhr3-1.cdninstagram.com/vp/5c623a7b8e15840a0bc013843ebeb4f6/5BA3218E/t51.2885-15/e35/32580405_2079627935659051_3800399814705807360_n.jpg as ./rips/instagram_amanda_blanks/2018_05_23_10_13_32580405_2079627935659051_3800399814705807360_n.jpg
[+] Saved https://scontent-lhr3-1.cdninstagram.com/vp/5ba5a6388ce6162e64df04ddd57b3097/5B833ACE/t51.2885-15/e35/31973763_1014213825401162_5822324070946963456_n.jpg as ./rips/instagram_amanda_blanks/2018_05_20_10_52_31973763_1014213825401162_5822324070946963456_n.jpg
[+] Saved https://scontent-lhr3-1.cdninstagram.com/vp/f500e2441768deb391bb9d7087c15db5/5B84A674/t51.2885-15/e35/31939016_168685620457647_8193058212027564032_n.jpg as ./rips/instagram_amanda_blanks/2018_05_21_12_34_31939016_168685620457647_8193058212027564032_n.jpg
[+] Saved https://scontent-lhr3-1.cdninstagram.com/vp/d23cb8ee30e16e62a1fa3fcbf47a9f78/5B84A832/t51.2885-15/e35/32162711_215515349230487_3030574910272438272_n.jpg as ./rips/instagram_amanda_blanks/2018_05_19_10_29_32162711_215515349230487_3030574910272438272_n.jpg
[+] Saved https://scontent-lhr3-1.cdninstagram.com/vp/f8b82b260595c967bc01450869b0a8f6/5BC1DF3D/t51.2885-15/e35/31908746_178079429689544_7814538513688297472_n.jpg as ./rips/instagram_amanda_blanks/2018_05_17_10_01_31908746_178079429689544_7814538513688297472_n.jpg
    Downloading file: https://scontent-lhr3-1.cdninstagram.com/vp/a01d56cc0c9ad2f26d6386acb47c2aed/5BA414BF/t51.2885-15/e35/31556518_2088869978035852_3570263926409003008_n.jpg Retry #1
    Downloading file: https://scontent-lhr3-1.cdninstagram.com/vp/6796b63dd705115abbb99e4bafee7c7d/5B9E61D9/t51.2885-15/e35/32583930_179055079420649_3689267853749387264_n.jpg Retry #1
    Downloading file: https://scontent-lhr3-1.cdninstagram.com/vp/5e1aa278b960deece64f4392e5a5660a/5B94BE89/t51.2885-15/e35/32376453_228247771274762_7086059614441046016_n.jpg Retry #1
    Downloading file: https://scontent-lhr3-1.cdninstagram.com/vp/8e684f4dc75b03df050f10465244d8a8/5B9F4A1B/t51.2885-15/e35/31556477_2218604388179596_6608980904968716288_n.jpg Retry #1
    Downloading file: https://scontent-lhr3-1.cdninstagram.com/vp/1d3759dbc52e6d10e873dc1f736c92b8/5B839B9D/t51.2885-15/e35/32006457_766465240408349_2035920845989216256_n.jpg Retry #1
[+] Saved https://scontent-lhr3-1.cdninstagram.com/vp/5e1aa278b960deece64f4392e5a5660a/5B94BE89/t51.2885-15/e35/32376453_228247771274762_7086059614441046016_n.jpg as ./rips/instagram_amanda_blanks/2018_05_16_12_07_Bi0VAmigLHm32376453_228247771274762_7086059614441046016_n.jpg
    Downloading file: https://scontent-lhr3-1.cdninstagram.com/vp/6fc0254fd22285a5396d50d5fd121e74/5B88968D/t51.2885-15/e35/31729565_178606596297024_4588006042658406400_n.jpg Retry #1
[+] Saved https://scontent-lhr3-1.cdninstagram.com/vp/8e684f4dc75b03df050f10465244d8a8/5B9F4A1B/t51.2885-15/e35/31556477_2218604388179596_6608980904968716288_n.jpg as ./rips/instagram_amanda_blanks/2018_05_16_12_07_Bi0VAmigLHm31556477_2218604388179596_6608980904968716288_n.jpg
    Downloading file: https://scontent-lhr3-1.cdninstagram.com/vp/cc27fbc00939233bcafdd3175618fb0b/5BC12C22/t51.2885-15/e35/31412312_229938657587358_2779729389753991168_n.jpg Retry #1
[+] Saved https://scontent-lhr3-1.cdninstagram.com/vp/6796b63dd705115abbb99e4bafee7c7d/5B9E61D9/t51.2885-15/e35/32583930_179055079420649_3689267853749387264_n.jpg as ./rips/instagram_amanda_blanks/2018_05_16_12_07_Bi0VAmigLHm32583930_179055079420649_3689267853749387264_n.jpg
    Downloading file: https://scontent-lhr3-1.cdninstagram.com/vp/bde421bfddfb291f417cbaa7ad312e7f/5BC4E7D9/t51.2885-15/e35/31503981_1250198588416265_3207132198243139584_n.jpg Retry #1
[+] Saved https://scontent-lhr3-1.cdninstagram.com/vp/cc27fbc00939233bcafdd3175618fb0b/5BC12C22/t51.2885-15/e35/31412312_229938657587358_2779729389753991168_n.jpg as ./rips/instagram_amanda_blanks/2018_05_14_10_43_31412312_229938657587358_2779729389753991168_n.jpg
    Downloading file: https://scontent-lhr3-1.cdninstagram.com/5B937331/t51.2885-15/e35/32212306_113721072797558_1687967953154211840_n.jpg Retry #1
71cf3b347bd27a018cc2da58b79d33ce
[+] Saved https://scontent-lhr3-1.cdninstagram.com/vp/bde421bfddfb291f417cbaa7ad312e7f/5BC4E7D9/t51.2885-15/e35/31503981_1250198588416265_3207132198243139584_n.jpg as ./rips/instagram_amanda_blanks/2018_05_14_10_23_31503981_1250198588416265_3207132198243139584_n.jpg
[!] Non-retriable status code 403 while downloading from https://scontent-lhr3-1.cdninstagram.com/5B937331/t51.2885-15/e35/32212306_113721072797558_1687967953154211840_n.jpg
[+] Saved https://scontent-lhr3-1.cdninstagram.com/vp/a01d56cc0c9ad2f26d6386acb47c2aed/5BA414BF/t51.2885-15/e35/31556518_2088869978035852_3570263926409003008_n.jpg as ./rips/instagram_amanda_blanks/2018_05_16_12_07_Bi0VAmigLHm31556518_2088869978035852_3570263926409003008_n.jpg
Unable to get query_hash
Server returned HTTP response code: 400 for URL: https://www.instagram.com/graphql/query/?query_hash=null&variables={"id":"19595844","first":50,"after":"1779000470560350848"}
[!] Error while ripping URL https://www.instagram.com/amanda_blanks
java.lang.NullPointerException
	at com.rarchives.ripme.ripper.rippers.InstagramRipper.pageHasImages(InstagramRipper.java:395)
	at com.rarchives.ripme.ripper.rippers.InstagramRipper.getNextPage(InstagramRipper.java:377)
	at com.rarchives.ripme.ripper.AbstractJSONRipper.rip(AbstractJSONRipper.java:85)
	at com.rarchives.ripme.App.rip(App.java:92)
	at com.rarchives.ripme.App.ripURL(App.java:250)
	at com.rarchives.ripme.App.handleArguments(App.java:237)
	at com.rarchives.ripme.App.main(App.java:67)
[+] Saved https://scontent-lhr3-1.cdninstagram.com/vp/6fc0254fd22285a5396d50d5fd121e74/5B88968D/t51.2885-15/e35/31729565_178606596297024_4588006042658406400_n.jpg as ./rips/instagram_amanda_blanks/2018_05_16_12_07_Bi0VAmigLHm31729565_178606596297024_4588006042658406400_n.jpg
[+] Saved https://scontent-lhr3-1.cdninstagram.com/vp/1d3759dbc52e6d10e873dc1f736c92b8/5B839B9D/t51.2885-15/e35/32006457_766465240408349_2035920845989216256_n.jpg as ./rips/instagram_amanda_blanks/2018_05_16_12_07_Bi0VAmigLHm32006457_766465240408349_2035920845989216256_n.jpg
^C
~/Pictures 10m 8s
❯

Thanks @cyian-1756 .  Just downloaded the latest revision and it's working again, happy as can be.  Rocksauce!!


Turinized Hyprland.

Sei stato Torinato.
(Skill Issue)

this is trolling and spam, I'd suggest against it if you don't want to be banned from here.


Quote runtime.<RID> in NU1605 docs

fixes: https://github.com/NuGet/docs.microsoft.com-nuget/issues/2584

Docs Build status updates of commit 571a076:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference/errors-and-warnings/NU1605.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


auto modify files is confusing

Hi,
your plugin looks amazing but it's quite confusing.
Imagine I was starting a new reactJS (not react native) project and each time I was editing App.css, App.js was erased and replaced by the css formated by your plugin. It tooks me minutes to understand from where it cames (disabling each plugin one by one and restarting atom each time)
Wouldn't it be better to define a shortcut and disable auto editing by default ?

plugin setting -> Enable compile React Style true or false
Controls whether to enable compile


Graph not clear

In the newest version, the experimental feature 'Belegung' has a line graph, which is not clear. There is no x- or y-axis title, so is it the actual week from Mon-Sun or is it the week one has chosen by datepicker?
Would be nice, if there is also an indicator, showing 'now' in this graph for better understanding.

Oooh, a line highlighting "now" and a second one for the selected date is a great idea!


Doc example for tuple combinator doesn't compile: "expected item" error

Rust version : 1.51.0
nom version : 6.1.2
nom compilation features used: the default ones

The documentation example for the "tuple" combinator doesn't compile. I may be missing something very obvious but even after 1+ hour of searching I fail to see what.
Test case
#[macro_use]
extern crate nom;

use nom::{error::ErrorKind,
    Needed,
    number::streaming::be_u16,
    bytes::streaming::{tag, take},
    sequence::tuple};

let mut tpl = tuple((be_u16, take(3u8), tag("fg")));

This yields the following compilation error:
Compiling buggy v0.1.0 (/home/buggy)
error: expected item, found keyword `let`
 --> buggy/src/lib.rs:7:1
  |
7 | let mut tpl = tuple((be_u16, take(3u8), tag("fg")));
  | ^^^ expected item

error: aborting due to previous error

error: could not compile `buggy`

what if you write like this:
#[macro_use]
extern crate nom;

use nom::{error::ErrorKind,
    Needed,
    number::streaming::be_u16,
    bytes::streaming::{tag, take},
    sequence::tuple};

fn main() {
    let mut tpl = tuple((be_u16, take(3u8), tag("fg")));
}


Update CaptureJS codebase to work with current PhantomJS and node-phantom APIs.

Hi, Suda-san. I found your project through the official PhantomJS website and thought it looked neat. I noticed the dependencies were a little behind and the current APIs for PhantomJS and node-phantom were quite different, so I updated the CaptureJS codebase and would like your feedback on merging my changes with your project. All features remain the same with one exception. In summary, here is what I did:

Updated all dependencies to the latest versions.
Locked sub-depdencies with NPM shrinkwrap.
Updated the code to work with current versions of PhantomJS and node-phantom.
Fixed a few minor oversights here and there.
Changed the tests to run with PNG files instead of GIF files since GIF export requires a special codec to be installed.
Added a command-line option to configure PhantomJS Web security so XSS errors do not stop the program from running locally.
Removed the randomized port assignment since the node-phantom API no longer supports directly configuring the port number. There is a related option on the PhantomJS command line, but I did not implement that because it did not appear to be a one-for-one match with the previous implementation.

Thanks!

Hi,David. Thanks for your PR. It looks nice! Please rebase master and I'll merge your PR 👍

Thanks! I resolved the conflict with pull request #28 . Will this work, or would you like me to squash all my commits into a single commit?

No need to squash commits. I'll merge later.  Thanks ;)

On Sep 4, 2016, at 13:44, David Timmons<EMAIL_ADDRESS>wrote:
Thanks! I resolved the conflict with pull request #28 . Will this work, or would you like me to squash all my commits into a single commit?
―
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


mixxx: drop custom wrapper

This prevented it from being wrapped
automatically because it wasn't an ELF
header.

Motivation for this change
cc @sam-willis this is actually how we have to fix this, can you test it?
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Notify maintainers
cc @

Thanks for that, I made an attempt to use qtWrapperArgs, but couldn't get it to build. I'll test it later tonight.

I think I can merge this now, I'm certain it will fix your issue because the wrapper contains
wrapper content
#! /nix/store/xfghy8ixrhz3kyy6p724iv3cxji088dx-bash-4.4-p23/bin/bash -e
export LOCALE_ARCHIVE='/nix/store/h2b4ci4c6qs5d28lgwv9lzm02jfxcpgn-glibc-locales-2.27/lib/locale/locale-archive'
export QT_PLUGIN_PATH='/nix/store/qa3faa7dy41wxd1y2ldmg5fzc3pdwb10-qtbase-5.12.0-bin/lib/qt-5.12/plugins'${QT_PLUGIN_PATH:+':'}$QT_PLUGIN_PATH
export QT_PLUGIN_PATH='/nix/store/js4fqglx52l2gb8f1ad34r8b11xj3y5w-qtsvg-5.12.0-bin/lib/qt-5.12/plugins'${QT_PLUGIN_PATH:+':'}$QT_PLUGIN_PATH
export QT_PLUGIN_PATH='/nix/store/xvifggs4vc2czi95gir0gpvm45ysin3s-qtdeclarative-5.12.0-bin/lib/qt-5.12/plugins'${QT_PLUGIN_PATH:+':'}$QT_PLUGIN_PATH
export QML2_IMPORT_PATH='/nix/store/xvifggs4vc2czi95gir0gpvm45ysin3s-qtdeclarative-5.12.0-bin/lib/qt-5.12/qml'${QML2_IMPORT_PATH:+':'}$QML2_IMPORT_PATH
export QML2_IMPORT_PATH='/nix/store/319j582m94yaar88d6qk03rgm658l26f-qtquickcontrols-5.12.0/lib/qt-5.12/qml'${QML2_IMPORT_PATH:+':'}$QML2_IMPORT_PATH
export QT_PLUGIN_PATH='/nix/store/wn784aaax0q85l5inf71ayngs14sli61-qtwayland-5.12.0-bin/lib/qt-5.12/plugins'${QT_PLUGIN_PATH:+':'}$QT_PLUGIN_PATH
export QML2_IMPORT_PATH='/nix/store/wn784aaax0q85l5inf71ayngs14sli61-qtwayland-5.12.0-bin/lib/qt-5.12/qml'${QML2_IMPORT_PATH:+':'}$QML2_IMPORT_PATH
export XDG_DATA_DIRS='/nix/store/q42dpq909szb8f3v695d585hcncnrak6-mixxx-2.2.1/share'${XDG_DATA_DIRS:+':'}$XDG_DATA_DIRS
exec -a "$0" "/nix/store/q42dpq909szb8f3v695d585hcncnrak6-mixxx-2.2.1/bin/.mixxx-wrapped"  "${extraFlagsArray[@]}" "$@"

Which you've already verified worked for you.
Additionally the application works for me when ran on NixOS in a pure nix-shell and outside of one.
(note I'm not in a qt based environment)

I think I just enough have time to build before heading out. It's compiling now, when it's done I'll report if I can start the application

Yes, I can run the binary

Yes, I can run the binary

Thank you, that's very considerate of you since you should be heading out :smile:


DirectX 11 support

This revision supports DirectX 11.

This feature will be done in CubbyFlow-v0 and Jet Framework.


client connects and offline messages get sent before subscribe happens

- VerneMQ Version: 1.9.2
- OS: Ubuntu 18.04.3
- Cluster size/standalone: standalone
Clean sessions is false, I see messages building in the queue by using this command:
vmq-admin session show --client_id=mqttTest1 --offline_messages
+----------------+
|offline_messages|
+----------------+
|       11       |
+----------------+
Using MQTTBox I connect to the broker and then subscribe to the endpoint but I get no messages from the queue. Only the retain message if there is one.
Using the vmq-admin trace client client-id=mqttTest1 command I see that the messages in the queue are sent to the clientId BEFORE I subscribe to the topic to receive the data.
No sessions found for client "mqttTest1"
New session with PID <8962.21111.0> found for client "mqttTest1"
<8962.21111.0> MQTT RECV: CID: "mqttTest1" CONNECT(c: mqttTest1, v: 4, u: mqttTest1, p: mqttTest, cs: 0, ka: 10)
<8962.21111.0> Calling auth_on_register({{SOME IP ADDRESS},57411},{[],
<<"mqttTest1">>},mqttTest1,mqttTest,false)
<8962.21111.0> Hook returned "ok"
<8962.21111.0> MQTT SEND: CID: "mqttTest1" CONNACK(sp: 1, rc: 0)
<8962.21111.0> MQTT SEND: CID: "mqttTest1" PUBLISH(d0, q2, r0, m34, "/devices/10000") with payload:
{'hello':'world'}
<8962.21111.0> MQTT SEND: CID: "mqttTest1" PUBLISH(d0, q2, r0, m33, "/devices/10000") with payload:
{'hello':'world'}
<8962.21111.0> MQTT SEND: CID: "mqttTest1" PUBLISH(d0, q2, r0, m32, "/devices/10000") with payload:
{'hello':'world'}
<8962.21111.0> MQTT SEND: CID: "mqttTest1" PUBLISH(d0, q2, r0, m31, "/devices/10000") with payload:
{'hello':'world'}
<8962.21111.0> MQTT SEND: CID: "mqttTest1" PUBLISH(d0, q2, r0, m30, "/devices/10000") with payload:
{'hello':'world'}
<8962.21111.0> MQTT SEND: CID: "mqttTest1" PUBLISH(d0, q2, r0, m29, "/devices/10000") with payload:
{'hello':'world'}
<8962.21111.0> MQTT SEND: CID: "mqttTest1" PUBLISH(d0, q2, r0, m28, "/devices/10000") with payload:
{'hello':'world'}
<8962.21111.0> MQTT SEND: CID: "mqttTest1" PUBLISH(d0, q2, r0, m27, "/devices/10000") with payload:
{'hello':'world'}
<8962.21111.0> MQTT SEND: CID: "mqttTest1" PUBLISH(d0, q2, r0, m26, "/devices/10000") with payload:
{'hello':'world'}
What am I doing wrong?

@qubi-dev when a client sets clean_session false it asks for session persistence, including the subscriptions. That's kind of the point.

@qubi-dev when a client sets clean_session false it asks for session persistence, including the subscriptions. That's kind of the point.

I know that, what I dont understand is why the messages in the queue are being sent on client.connect() rather than client.subscribe(/devices/10000). If the offline messages are sent on connect and not subscribe, I didnt actually get the messages on the other end. I need to wait for client.subscribe before the offline messages are sent

Apologies, I don't understand.
I'll close this issue, as this is about client side and/or basic MQTT concepts.
If you feel there is a reproducible VerneMQ issue, please provide more context.


Mutex destroy error 16 Aborted (core dumped)

I'm trying to export loaded images as Sframe but getting the following error:
Mutex destroy error 16 Aborted (core dumped)

Please share more details so we can reproduce this issue.
1 - What is the code you are running?
2 - What is your data like? Approximately how many rows? How many columns and what are the column types?


Create assigning

It's Invalid !
Create a Directory with name coder6586 then create a html file index.html inside it.
Add code there and then create PR.


Release frontary 0.9.1

I 'd like to release, with minor version up, after https://github.com/aicers/frontary/issues/99 is merged.

pending: https://github.com/aicers/frontary/pull/115

All blockers are removed.

@sophie-cluml
Why don't you close this?

Tag release 공지까지 완료되었으므로 이슈를 닫습니다.


Problem with nested optimization functions

Issue Description:
The code encounters an issue when attempting to solve a nested optimization problem using CVXR. While the initial convex minimization problem is solved successfully, extending the optimization to include the sum of the output from the first minimization and an auxiliary function leads to code failure. Despite the convex nature of the objective function in the second optimization problem, visually confirmed through representative instances, a bug prevents the successful resolution of the nested optimization.
Code Snippet:
library(CVXR)

Cost <- function(w, x, z, solver = "ECOS", ...) {
  p <- length(w)
  q <- Variable(p)

  objective   <- Minimize(t(w) %*% q)

  constraints <- list(
    q >= 0,
    q <= x,
    matrix(1.0, ncol = p) %*% q == z)

  problem <- Problem(objective, constraints)

  solve(problem, solver)$value
}

# Auxiliary component
f <- function(z) (z-10.0)^2.0

# Manual optimization
graphical.opt <- function(w, x, solver = "ECOS", plt = TRUE, ...) {

  total.x  <- sum(x)
  span     <- seq(0.0, total.x)
  obj.vals <- sapply(span, function(z) (Cost(w, x, z, solver) + f(z)))
  opt.key  <- which.min(obj.vals)
  opt.z    <- span[opt.key]
  opt.v    <- obj.vals[opt.key]

  if (plt) {
    # Visual verification
    plot(span, obj.vals, ylab = "Objective", xlab = "Order Quantity", type = 'o', lwd = 2L)
    points(opt.z, opt.v, lwd = 5L, col = 2L)
    abline(v = opt.z, col = 2L, lwd = 2L)
    abline(h = opt.v, col = 2L, lwd = 2L)
  }

  list(
    "opt.z" = opt.z,
    "opt.v" = opt.v
  )
}

# CVXR model
cvxr.opt <- function(w, x, solver = "ECOS") {
  z <- Variable(1L)
  objective <- Minimize(Cost(w, x, z, solver) + f(z))
  constraints <- list(
    z >= 0.0,
    z <= sum(x))
  problem <- Problem(objective, constraints)

  # Solution
  result <- solve(problem, solver = solver)

  list(
    "opt.z" = result$getValue(z),
    "opt.v" = result$value
  )
}

## Problem instance
w <- matrix(c(2.0, 1.0, 3.0, 5.0), ncol = 1L)
x <- c(5.0, 5.0, 5.0, 5.0)

## Reported issue
manual <- graphical.opt(w, x)
cvx <- cvxr.opt(w, x)

# The output from manual and CVXR-based optimization modules should have been equal.
manual$opt.z == cvx$opt.z  # Should be TRUE
manual$opt.v == cvx$opt.v  # Should be TRUE

# Evaluating the objective at the optimal decision returned from solving the CVXR model should have been
# equal to the optimal value returned by solving the same model
Cost(w, x, cvx$opt.z) + f(cvx$opt.z) == cvx$opt.v # Should be TRUE

Version
R version 4.2.3 (2023-03-15)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS 14.3

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] CVXR_1.0-11

loaded via a namespace (and not attached):
 [1] gmp_0.7-3             Rcpp_1.0.12           compiler_4.2.3        pillar_1.9.0          nloptr_2.0.3          tools_4.2.3
 [7] bit_4.0.5             boot_1.3-28.1         lme4_1.1-35.1         jsonlite_1.8.8        lifecycle_1.0.4       tibble_3.2.1
[13] nlme_3.1-164          lattice_0.22-5        pkgconfig_2.0.3       rlang_1.1.3           Matrix_1.6-4          igraph_1.6.0
[19] gurobi_10.0-2         cli_3.6.2             rstudioapi_0.15.0     microbenchmark_1.4.10 mvtnorm_1.2-4         ECOSolveR_0.5.5
[25] Rmpfr_0.9-4           dplyr_1.1.4           systemfonts_1.0.5     generics_0.1.3        vctrs_0.6.5           bit64_4.0.5
[31] grid_4.2.3            tidyselect_1.2.0      glue_1.7.0            R6_2.5.1              textshaping_0.3.7     fansi_1.0.6
[37] carData_3.0-5         minqa_1.2.6           purrr_1.0.2           tidyr_1.3.0           car_3.1-2             magrittr_2.0.3
[43] MASS_7.3-60           splines_4.2.3         abind_1.4-5           ragg_1.2.7            utf8_1.2.4            slam_0.1-50
[49] truncnorm_1.0-9

Thank you for the runnable example. However, I don't see a bug: you are solving a different problem in each case. For example, see what happens when you invoke:
> Cost(w, x, Variable(1))
[1] 4.807175e-11

CVXR correctly zeroes out the variables and returns the z that minimizes f(z).  In your graphical.opt, you are providing the z value, which affects the last constraint in Cost. Concretely, the call to Cost in your cvxr.opt has two CVXR unknown variables, whereas your graphical solution has only one.  So what problem are you trying to solve? Perhaps a mathematical formulation would clarify everything.

Regarding Cost Function and cvxr.opt Results
I appreciate your feedback. Let me provide clarification on the observed discrepancies:

Cost Function:

The standalone Cost function is working correctly. It accurately computes the cost, and the results align with the correct values.

Issue with cvxr.opt:

Unfortunately, the cvxr.opt function is returning incorrect results.

The optimal order quantity it provides is inaccurate.
The optimal value it returns is entirely wrong.

Discrepancy in Optimal Values:

What's particularly concerning is that the optimal value obtained from cvxr.opt doesn't match the value computed by evaluating the objective function at the (incorrect) optimal quantity returned by cvxr.opt.

In the following section, I will describe the incorrect output along with an example that you can reproduce using the code snippet provided in my initial comment. In the last section, I will present the mathematical model for the problem I am attempting to solve.
Example
Running the problem instance in my code above, if you print manual$opt.z, it will return the correct value for the optimal order (manual$opt.z) and the correct minimum value of the objective (manual$opt.v).

manual$opt.z
[1] 9

manual$opt.v
[1] 14

You can visually verify these are the correct values with the help of the plot produced by graphical.opt when you set plt=TRUE.
To ensure the correctness of cvxr.opt, I compare its results with those of graphical.opt. However, there is a discrepancy, as the outputs from cvx.opt are:

cvx$opt.z
[1] 10

cvx$opt.v
[1] 4.454504e-10

The optimal ordering quantity is incorrect as it should have been 9 instead of 10, and same goes for the optimal value of objective that is 4.454504e-10 when it should have been 14. Moreover, when I evaluate the objective function Cost(w, x, cvx$opt.z) + f(cvx$opt.z) at cvx$opt.z I get the value 15 which is different from cvx$opt.v.
Problem Statement
Please be aware that the provided problem statement is intentionally simplified and does not fully represent the complexity of my actual problem. Its purpose is solely to illustrate the error I am encountering. While this simplified example does not encompass the entirety of my main issue, the error persists in this straightforward illustration. This simplified problem is implemented in the code I provided.
Given Parameters:

$p$: The number of capacitated sources.
$x_i$: The capacity reserved with source $i=1,\dots,p$.
$w_i$: The execution cost associated with exercising $q_i$ units from source $i=1,\dots,p$.

Objective:
Identify the optimal quantity $z\ge0$ to order from the $p$ sources.
Inner Optimization: Linear Program to Compute Cost of ordering $z$ units.
This computation involves solving a linear program defined as:
$$C(z)\doteq C(z;w,x)\doteq\min_{q_1,...,q_p}\sum_{i=1}^{p}w_{i}q_{i} $$
subject to the contraints: $$\sum_{i=1}^{p}q_{i}=z,\quad\text{and}\quad0 \leq q_{i} \leq x_{i} \ \text{for all} \ i=1,...,p$$
Outer Optimization: Optimize order quantity z.
Suppose $f$ is a known auxiliary convex function.
$$\min_{z}[C(z) + f(z)]$$
subject to the constraints:
$$0 \leq z \leq \sum_{i=1}^{p}x_{i}$$
In summary, the problem involves minimizing the cost associated with ordering from $p$ sources, considering the capacity constraints and execution costs. The overall objective is to find the optimal order quantity $z$. The computation involves solving a linear program to determine the cost for each feasible order quantity and evaluating the auxiliary convex function $f(z)$ with the additional constraints on $z$.

Concise Issue Description
Failure to Generate Correct Results in Nested Optimization Scenario
The code fails to generate accurate results when handling a nested optimization situation as detailed in the previous comment. The primary issue arises from utilizing the decision variable of the outer optimization program z to constrain computations within the inner optimization program, particularly in computing allocation costs.
I am new to CVXR and perhaps I am overlooking the correct approach to model this problem.
Concise Illustration of the Code
# Problem instance
p <- 4L
w <- matrix(c(2.0, 1.0, 3.0, 5.0), ncol = 1L)
x <- c(5.0, 5.0, 5.0, 5.0)

# Auxiliary component
f <- function(z) (z-10.0)^2.0

# Decision variables
q <- Variable(p)
z <- Variable(1L)

# CVXR model
problem <- Problem(
  Minimize(
    f(z) + solve(
      Problem(
        Minimize(t(w) %*% q),
        list(
          q >= 0,
          q <= x,
          matrix(1.0, ncol = p) %*% q == z
        )
      ),
      solver = "ECOS"
    )$value
  ),
  list(
    z >= 0.0,
    z <= sum(x)
  )
)

# Solution inspection
result <- solve(problem, solver = "ECOS")

result$getValue(z)
[1] 10
result$value
[1] 4.454504e-10

I have previously clarified in my comment that these values are incorrect.


How about speed?

It looks very similar to the effect of GN. I wonder if there is an advantage in forward speed?

In paper, Tab6 said it is nearly with BN

I test it is faster than conv_ws + gn a little


An image loss error occurred while extracting image features.

Thank you for sharing amazing work.
The following problem occurred when I used parse_coke.py to extract features.  I checked the data set and did a search on the Internet and couldn't find coco_val2014_000000116100.jpg.  I hope to get your help.Thanks.

If you skip this image, there are additional errors?


docker stack deploy ignores endpoint_mode

Hi,
with a swarm on
docker --version
Docker version 17.04.0-ce-rc1, build d2532c6

deploying this compose this way :
docker stack deploy consul -c docker-compose.consul.yml

version: '3.2'
services:
    consul-bootstrap:
      image: consul:0.7.5
      command:
      - consul
      - agent
      - -server
      - -bootstrap-expect=3
      - -data-dir
      - /consul/data
      - -client=<IP_ADDRESS>
      deploy:
       endpoint_mode: dnsrr

endpoint seems to be ignored :
docker inspect consul_consul-bootstrap
[
    {
        "ID": "vqpxdivub21tt5t34o6z9bb5g",
        "Version": {
            "Index": 15100
        },
        "CreatedAt": "2017-04-03T16:52:34.16098497Z",
        "UpdatedAt": "2017-04-03T16:52:34.169850555Z",
        "Spec": {
            "Name": "consul_consul-bootstrap",
            "Labels": {
                "com.docker.stack.namespace": "consul"
            },
            "TaskTemplate": {
                "ContainerSpec": {
                    "Image": "consul:0.7.5@sha256:7fa3365242fca70d63e8e9737f4f1ac8687987d04bbdb7287bc80ea813e624ca",
                    "Labels": {
                        "com.docker.stack.namespace": "consul"
                    },
                    "Args": [
                        "consul",
                        "agent",
                        "-server",
                        "-bootstrap-expect=3",
                        "-data-dir",
                        "/consul/data",
                        "-client=<IP_ADDRESS>"
                    ]
                },
                "Resources": {},
                "Placement": {},
                "ForceUpdate": 0
            },
            "Mode": {
                "Replicated": {
                    "Replicas": 1
                }
            },
            "Networks": [
                {
                    "Target": "v9ktszmecl76c3tqnr3gw9pbr",
                    "Aliases": [
                        "consul-bootstrap"
                    ]
                }
            ],
            "EndpointSpec": {
                "Mode": "vip"
            }
        },
        "Endpoint": {
            "Spec": {
                "Mode": "vip"
            },
            "VirtualIPs": [
                {
                    "NetworkID": "v9ktszmecl76c3tqnr3gw9pbr",
                    "Addr": "<IP_ADDRESS>/24"
                }
            ]
        }
    }
]

Description

Steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker version:
(paste your output here)

Output of docker info:
(paste your output here)

Additional environment details (AWS, VirtualBox, physical, etc.):

Endpoint mode does nothing unless you have ports defined.
What do you expect it to do without any ports?


Add new company: [company name]

Company Name?
ZipLine
What's the company main business today?
Zipline is an American medical product delivery company that is headquartered in South San Francisco, California, which designs, manufactures, and operates delivery drones. The company operates distribution centers in Rwanda, Ghana, and the US.
What did the company do in the early days?
A mini-robot powered by your phone: https://www.youtube.com/watch?v=FQEEMpzPZlY
What caused the company to pivot?
N/A
Source?

Wow what a great story. Sorry it took months to add it 😅. Thanks a lot for contributing!


jx3-minikube jx admin-operator field with this  issue

i got this issue error: unable to recognize "config-root/namespaces/jx/docker-registry/docker-registry-ingress.yaml": no matches for kind "Ingress" in version "extensions/v1beta1"
mutatingwebhookconfiguration.admissionregistration.k8s.io/webhook.pipeline.tekton.dev unchanged
make[1]: Leaving directory '/workspace/source'
make[1]: *** [versionStream/src/Makefile.mk:290: kubectl-apply] Error 1
error: failed to regenerate: failed to regenerate phase 1: failed to run 'make regen-phase-1' command in directory '.', output: ''
make: *** [versionStream/src/Makefile.mk:242: regen-check] Error 1
boot Job pod jx-boot-959b52a5-fdf9-4caf-83ac-b75c5287dcad-nfcpq has Failed
error: boot Job pod jx-boot-959b52a5-fdf9-4caf-83ac-b75c5287dcad-4n8g9 has Failed

Hello, How did you solve this issue  ?

I did resolve by using old kuberentes version like 1.21 while installing minikube .


Toggle terminal to and from dock

Description of the new feature/enhancement
Ability to toggle terminal to and from the taskbar dock, essential a visibility toggle for the terminal.

You mean Quake-style Terminal, except coming from the taskbar instead of always from the top border?

Could you possibly mean either one of:

hot key drop down ala quake/guake/tilda #653
Minimize to tray #5727

?

Could you possibly mean either one of:
* hot key drop down ala quake/guake/tilda #653

* Minimize to tray #5727

?

I think those suggestions are a good alternative to mine


Parallel pymagicc

Is your feature request related to a problem? Please describe.
It would be great if pymagicc could run MAGICC instances in parallel.
Describe the solution you'd like
I think something like this would work https://stackoverflow.com/questions/16450788/python-running-subprocess-in-parallel
Describe alternatives you've considered
Writing something else, I have little idea about which libraries are out there however.
Additional context
Discussing with @lewisjared, this shouldn't be too painful.

This is handled by openscm/openscm-runner


How to set TD className by using hotColumn?

I tried to set TD classname by passing a class-name property from hot-column component.
But it doesn't work.
<hot-table :settings="hotSettings">
  <hot-column :width="250" class-name="hot-custom">
    <custom-renderer hot-renderer></custom-renderer>
  </hot-column>
</hot-table>

How can I set my custom-renderer cell TD classname?

With cells callback you can set props.className string: https://handsontable.com/docs/7.1.1/Options.html#cells
Those might work:
<custom-renderer hot-renderer :class="custom-class" :style="{ background-color: '#000' }"></custom-renderer>

But I'm not sure, there were no such feature request yet. This works for <hot-table> element: https://handsontable.com/docs/7.1.1/frameworks-wrapper-for-vue-custom-id-class-style.html

Thanks for prompt response, I tried both cells function and set class property on hot-renderer way, but none of them works.
I also tried to change the TD class in my custom renderer.

The class name only exists for about one second then it was replace to empty. I'm not sure what happens.

Hey @chao
Can you place the code in the CodePen or JSFiddle. I'd like to test it.

Here is the example code in the JSFiddle, as you can see I refresh the data in hot table every 5 seconds. You can see the background color was changed when the hottable was initialized, but when the data changed the class name was removed from td classList.

Thank you for sharing the demo.
As this is a new data all the metadata is gone. You'd need to attach the className once again.

How can I re-attach the className when value changed? I add a watcher to value property to change className but it doesn't work.
Example

Hey @chao
Here's the working example https://jsfiddle.net/gu752nsv/
It needed a bit of additional logic to get the instance reference.

@AMBudnik
You only changed the DIV class inside TD. I'm sure you can do that. The problem is we need to set the whole TD class.

Hey @chao
here's https://handsontable.com/docs/7.1.1/frameworks-wrapper-for-vue-hot-column.html a tutorial on how to use the renderer for hot-column It should clarify doubts

Thanks for the document, I have read that part many times but I cannot get a solution. An example would be great.

Sorry for keeping you waiting. I was waiting for a developer's feedback. Here's the updated example https://jsfiddle.net/2j9notux/

Thanks for the answer, so that we still have to use hot table renderer function to set TD classname. I hope hot-column will support such function in the future.

I'm encountering this issue too. And @AMBudnik's latest solution isn't an option as the cells callback doesn't seem to be used for custom-renderers.
Here is what should work, but doesn't: https://jsfiddle.net/jrhkb5Lm/2/
A you can see, the class-name property is correctly applied to TDs in column B but not in column A.
I noticed in the documentation that custom renderers should extend one of the built in renderers but I don't see how that's possible with a vue component.
I'd love to know how to make this work.

Extending TextRenderer is just a shortcut. You can have the very same login in your own custom-renderer. Take a look at https://github.com/handsontable/handsontable/blob/master/src/renderers/_cellDecorator.js what we're doing internally. Import cellDecorator from handsontable/es/renderers/_cellDecorator.js and apply it in the first line of your renderer or copy the code to your app.

@wojciechczerniak Thanks. That has gotten me a bit closer.
See this updated fiddle: https://jsfiddle.net/6t9bmzn8/3/
Everything looks fine on the first load. But if you made any changes to column A, the classes get reset. I tried adding a watcher to the value, which fixed it for the column you change. But it still clears the rest of the cells in the column. I presume because the value doesn't change, so the handler is not called.
On a side note, why are those cells getting re-rendered when their value isn't changed? It seems like there might be room for performance improvements there.


v1.13 Backports 2023-04-05

[x] #24624 (@sayboras)
[x] #24715 (@aanm)
[x] #24570 (@romanspb80)
[ ] #24711 (@joestringer)
[x] #24723 (@jibi)
[x] #24681(@aditighag)

Once this PR is merged, you can update the PR labels via:
for pr in 24624 24715 24570 24711 24723 24681; do contrib/backporting/set-labels.py $pr done 1.13; done

or with
make add-labels BRANCH=v1.13 ISSUES=24624,24715,24570,24711,24723,24681

/test-backport-1.13

/test-1.24-5.4

/test-1.26-net-next


KeyError: 'secAccountId'

I'm trying to get account details via .get_account_id():
from webull import webull
wb = webull()
pw = "MY PASSWORD"
un = 'MY USERNAME'
wb.login(un, pw,"Max's Python", '423251')
print(wb.get_account_id())
wb.logout()
I keep getting the following response:
Traceback (most recent call last):
File "D:/Trading Bots/Webull Trading.py", line 7, in
{'success': True, 'data': [{'brokerId': 8, 'brokerName': 'Individual', 'status': 'unopen', 'registerTradeUrl': '/mgt/redirect/tradeh5', 'openAccountUrl': 'https://tradeh5.webull.com/register/ib/continue.html', 'supportOutsideRth': True, 'userTradePermissionVOs': [{'type': 'stock', 'hasPermission': False, 'brokerId': 8}, {'type': 'crypto', 'hasPermission': False, 'brokerId': 8}], 'supportClickIPO': True, 'isDefaultChecked': False, 'supportOpenOption': True}]}
print(wb.get_account_id())
File "D:\Trading Bots\venv\lib\site-packages\webull\webull.py", line 188, in get_account_id
id = str(result['data'][0]['secAccountId'])
KeyError: 'secAccountId'
I was trying to troubleshoot the code by putting a print statement into project. It keeps saying that my account status is unopen. However, when I request the mfa I can get it using the same password and username. I'm not sure what to do at this point.
Any advice is much appreciated. Fairly new to coding.

This works fine for me:
if first_login:
  self.wb.get_mfa(self.webull_email)
  # Check email for 6 digit access code. Enter it below
  access_code = '123456'
  wb.login(webull_email, webull_password,'windows', access_code)
else:
  # Get login token for session
  self.wb.refresh_login()
  wb.login(self.webull_email, self.webull_password)
  print(self.wb.get_account_id())

Hope this helps!

This works fine for me:
if first_login:
  self.wb.get_mfa(webull_email)
  # Check email for 6 digit access code. Enter it below
  access_code = '123456'
  wb.login(webull_email, webull_password,'windows', access_code)
else:
  # Get login token for session
  wb.refresh_login()
  wb.login(webull_email, webull_password)
  print(wb.get_account_id())

Hope this helps!

Still having the same issue.

I was having this same issue. It's an issue with the library. This is how I fixed it.
https://github.com/tedchou12/webull/issues/55#issuecomment-643690582


If the HubProtocol throws while writing it can leave partial messages in the transport pipe which will get sent on the next successful write

See: https://github.com/aspnet/SignalR/issues/2255#issuecomment-388415398
Because we pass the pipe directly to the HubProtocol it will start writing a message and if an error occurs then the pipe will have the unfinished message. The next write that comes in will start writing where the failed message left off and send both the partial and new message, which the client wont understand.

From discussions with @BrennanConroy last week, we think there isn't really a way we can solve this. Even if we could, the connection is in a broken state. We failed to send a message that the client may be expecting (it could be the completion message that would unblock the client's Task, for example). We should just Abort the whole connection in this case.


[FLINK-9158][Distributed Coordination] Set default FixedRestartDelayStrategy delay to 0s.

What is the purpose of the change
Set default FixedRestartDelayStrategy delay to 0s.
Brief change log

Set default FixedRestartDelayStrategy delay to 0s.

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation
no

CC: @tillrohrmann

Looks good, thanks!
Merging...


Warnings emitted when installing dependencies

I tried to clone this repo and install dependencies, but in doing so I ran into a couple of things:

There seem to be both yarn.lock and package-lock.json present in the repo. Which package manager is preferred for development purposes? Keep in mind that Yarn will emit a warning if package-lock.json is present.
When using npm install, NPM (as of the latest version, v8) reports that package-lock.json was created with an older version of NPM. If NPM is preferred for installing dependencies, which version is preferred?

good catch, we are using the yarn instead of npm. we will remove the pacakge-lock.json


Combine Normal and Event Sortie

fixed the event tab world 0 selection bug
only treat two-digit world as event world

i wonder where is travis-kun..


Have you plan to create dock station?

Dockstation for battery charging and auto docking(as robo vacuum cleaner)

If anyone has the dock station experience and try to implement on Mini Pupper, please send us a mail to<EMAIL_ADDRESS>Thanks!


QFileDialog icons are missing

When using PyQT5 and either light or dark theme, the icons in a QFileDialog are not there, and just empty buttons.

Without the theme:

Called with the code:
        filename = QtWidgets.QFileDialog.getOpenFileName( self, caption="Open Video")

Edit: Super simple program that auto opens the dialog to test with:
import sys

from PyQt5.QtCore import *
from PyQt5.QtWidgets import *

import breeze_resources

class Window(QMainWindow):
    def __init__(self, parent=None):
        super().__init__(parent)
        self.resize(400, 200)
        QFileDialog.getOpenFileName()
        raise Exception("end app")

if __name__ == "__main__":
    app = QApplication(sys.argv)
    file = QFile(f":/light/stylesheet.qss")
    file.open(QFile.ReadOnly | QFile.Text)
    stream = QTextStream(file)
    app.setStyleSheet(stream.readAll())
    win = Window()
    win.show()
    sys.exit(app.exec_())

This might be related to this code here.
I'll see if removing those lines fixes the issue, and if so, I'll have to provide my own versions of the QFileDIalog icons. I was trying to avoid this, since normally it defaults to the platform-specific file dialog, which would obviously be ideal. I may be able to disable the styles specifically for QFileDialog, and see how that works.

Removing that section and testing again with the small script added above doesn't seem to change anything.
I imagine only a problem on Linux (Ubuntu 20.04.3 tested with PyQT5  5.15.4 and PySide2 5.15.2 ), tested on Windows and all the icons looked right.

I wonder if this has to do with the desktop environment, since this doesn't reproduce on KDE Plasma using Wayland. I'll try Gnome and XFCE or similar and see if the same issues reproduce, on X11 and Wayland.

This seems to be related to #28, just one reproduces on PyQt5 and the other on PyQt6.


[Feature] Could the create command be separated into two commands, one for app and one for lib?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
No.
Describe the idea you'd like
A clear and concise description of what you want to happen.
I would like to see nx g @nxrocks/nx-flutter:create  separated into:
nx g @nxrocks/nx-flutter:app  [--directory=]
nx g @nxrocks/nx-flutter:lib  [--directory=]
; and allowing them to be integrated into the nx dependecy graph mechanism. Flutter has applications, modules, packages, and plugins, so there is a natural separation between apps and libs as far as the flutter cli is concerned.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
The scaffolding schema could be easily split into two schemas, one for app and one for lib. Since you are defering to the flutter cli in both cases it should as easy as changing the schematic's schema and allowing only for certain cli arguments in each case. This line:
const projectType = ProjectType.Application;

should become:
const projectType = ProjectType.Library;

in the library case.
Additional context
Add any other context or screenshots about the feature request here.
There is of course the issue of imports. I think to fully appreciate the nx tool for code sharing, you ought to be able to import a flutter lib in a flutter app. But because nx is a node.js tool I am also thinking there would have to be some integration with the dart language to be able to excute npm build or npm test at the root directory and have your flutter app pull it's dependencies and compile. This is just an idea, since I think nx + flutter would be a really cool setup for a web, mobile, desktop, AND node.js backend and run the whole show from 1 repo.

Hi @jameone
Thank you for using the plugin and for the feature request.
Instead on spitting the create command into 2 (one for app, one for lib), I can instead rely
on the existing template option to infer the appropriate project type:

if template=app 						=>  projectType.Application
else (template = module|package|plugin	=> projectType.Library

I'm planning on removing both application and app(both aliases of create) in the next major version of the plugin, to avoid confusion.
I will start this improvement asap.
Unfortunately, as you said, this is not enough to have the dependency graph support (that Nx natively offers for Node-based projects) working. I'm still investigating on how this could be integrated into Nx's nx dep-graph command. This is currently being tracked by #28. Any help/suggestion is welcome!

Hi @tinesoft,
I like the idea of making the existing comand smarter, rather than splitting 1 command into 2 commands. What you describe is definately a better approach.
I have given some thought about how you would integrate with dep-graph (note: this insight comes from using the nx tool and so is basically my assumptions about how nx works, not from analysis of the code, and is specific to my experience which is nx with TypeScript/Angular).
So, for the imports, the nx tool is making use of the TypeScript compiler's path mapping feature. So if you were to do something similar with Flutter, I think I would start looking at the Dart compiler and seeing if there were any similar features, like mapped imports, with which you could integrate with nx via a node package (I am thinking something like the node equivalent of a polyfill).
With dep-graph it seems to me nx is aware of the TypeScript mapped imports, and the user defined project structure (apps, libs and tools) then by analyzing the code and the tsconfig is able to construct the dep graph using the mapped imports. I have also noticed implicit dependencies are noted in the root level nx.json, but other user defined dependencies (ex. importing a lib into an app) are not present. So the logic of dep-graph must be something like: recurse directories of all the apps, libs, and tools, look for mapped imports, and construct the graph, then add implicit dependencies from nx.json.
SO, it would be ideal if nx would allow you to add dependencies to the nx.json (maybe this already exists) to support cross language projects. And it was was easy as amending the nx.json to alter the dep-graph. The nx algorithm could still do it's thing and look for mapped imports, and then in step where it is looking for "implicitDependencies", also look for "explicitDependencies", and add those in last.
I was a bit hesitant to make this request, because as I wrote I started to realize that there was only so much you could do as a plugin, you kind of have to play by the existing rules. But I think the ideal plugin would allow you to create 2 apps and 1 lib and let both apps import the lib. If this is not possible, then perhaps after some more research this can become a feature request to Nx for better multi-language support, or to Dart for mapped imports. I also need to do more research. Thanks for sharing your plugin though, very cool, much appreciated.


Fix: update action ignore list

@penwoodjon Added a .gitignore so my intellij files didn't get accidentally included
Also updated the action ignore list with some additional "dead" repos based on the output from the github actions run you shared in Slack.
Tracking all the repos here: https://polarity.atlassian.net/wiki/spaces/EN/pages/2470707201/Integration+Migrations+for+v5+server

@penwoodjon Remove node_modules.  Let me know if you think it's good to merge (or also feel free to merge yourself)


different affines for spm and fsl masks - module 04

Hi,
When running module 4 on the MP2RAGE of one of my participants I get the following error
Combining SPM & FSL mask to include cerebellum too
Traceback (most recent call last):
  File "/Users/verissimo/linescanning/bin/call_mp2rage", line 274, in <module>
    main(sys.argv[1:])
  File "/Users/verissimo/linescanning/bin/call_mp2rage", line 258, in main
    new_mask = image.math_img('(spm + fsl) > 0', spm=brainmask, fsl=opj(inputdir, 'tmp_mask.nii.gz'))
  File "/Users/verissimo/.local/lib/python3.7/site-packages/nilearn/image/image.py", line 907, in math_img
    _check_same_fov(*niimgs, raise_error=True)
  File "/Users/verissimo/.local/lib/python3.7/site-packages/nilearn/_utils/niimg_conversions.py", line 67, in _check_same_fov
    for e in errors]))
ValueError: ("Input images cannot be compared, you provided 'dict_values(['/Volumes/Verissimo_Seagate_Hub_Plus/Projects/FAM/DATA/anat_preprocessing/derivatives/pymp2rage/sub-011/ses-1/sub-011_ses-1_acq-MP2RAGE_desc-spm_mask.nii.gz', '/Volumes/Verissimo_Seagate_Hub_Plus/Projects/FAM/DATA/anat_preprocessing/sub-011/ses-1/tmp_mask.nii.gz'])',", 'Following field of view errors were detected:\n- img_#0 and img_#1 do not have the same affine')

When checking, indeed their affine is slighty different (probably due to some rounding error)
img_1.affine
array([[ 6.99586272e-01, -2.39259005e-02,  0.00000000e+00,
        -8.79358139e+01],
       [ 2.40633488e-02,  6.95588470e-01,  4.85897064e-04,
        -1.21713348e+02],
       [-1.68085098e-05, -4.85658646e-04,  6.95999801e-01,
        -1.34004532e+02],
       [ 0.00000000e+00,  0.00000000e+00,  0.00000000e+00,
         1.00000000e+00]])

img_2affine
array([[ 6.99586272e-01, -2.39258446e-02,  0.00000000e+00,
        -8.79358139e+01],
       [ 2.40633450e-02,  6.95588470e-01,  4.85899596e-04,
        -1.21713348e+02],
       [-1.67993858e-05, -4.85612400e-04,  6.95999801e-01,
        -1.34004532e+02],
       [ 0.00000000e+00,  0.00000000e+00,  0.00000000e+00,
         1.00000000e+00]])

I didn't have this before, so am wondering why this only happened now... And which of the affines is the one that should be used throughout the pipeline?

Ugh, this is always an annoying one. What's the affine of the input imag; i.e., the T1w-image from pymp2rage. That should be the leading one. If the masks are aligned properly with this T1w-image, you can use fslcpgeom <souce> <destination> to enforce the same affine.
Shouldn't happen, though, unless one mask already existed stemming from a slightly different image. Did you try to remove both masks and re-run it?

Hey, left this hanging and now came back to it.
This happened in module 04 - so after creating the T1w uni image, when combining the FSL and SPM masks. The mask produced by SPM had a slightly different affine than the one produced by FSL's bet2 (which was exactly the same one as the inv2 mag image).
My solution was to use fslcpgeom <tmp_mask.nii.gz> <spm_mask.nii.gz> which lead them to have the same affine. After that I ran image.math_img('(spm + fsl) > 0'), removed the T1w file from the pymp2rage folder and then could re-run module 04 without issue.
I just find it weird that this happened with only my last participant, and can't figure out why this rounding diff... I'm now running the rest of the anat pipeline, hoping that there's no more hiccups


Draw a separator line between checked & unchecked items

Steps to reproduce

Select Utitlites -> Checklist

Expected behaviour

Draw a greysih separator line between checked & unchecked items
Change the icon before Enter task name
Below the separator, line, write x checked items & below this, show checked items

I can take it.

Change the icon before Enter task name

Is there any particular icon to replace this one? Should it be something more like a prompt, or something?

Sure. It's just that the current icon does not look that good. If you find something better, do replace it.

Can I take this?

Can I take this?

Yeah, sure

Sure @Akramhussain4 👍

will be fixed by https://github.com/project-travel-mate/Travel-Mate/issues/300


Commands use Azure AD Graph which is removed in azure cli 2.37.0

The commands for getting and reseting the Service principal password no longer work.
I think that it should be using the app command instead of sp, but not too sure.
az ad sp credential list --id "$SP_ID" --query "[].endDate" -o tsv should be az ad app credential list --id "$SP_ID" --query "[].endDateTime" -o tsv

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

ID: 0b842222-f6ac-5266-227f-7e400610e07b
Version Independent ID: 429cd3bf-2691-f633-2e0d-e70e5d8d0e03
Content: Reset the credentials for a cluster - Azure Kubernetes Service
Content Source: articles/aks/update-credentials.md
Service: container-service
GitHub Login: @zr-msft
Microsoft Alias: zarhoads

@nestalk,
Thank you for your feedback. We will investigate and update the thread further.

Greetings,
Need confirmation on the new az commands as well to reset AKS service principle secrets.
This is what changed I believe to cause existing documentation to no longer work with az cli 2.37.0 and newer.  I upgraded to 2.38.0 last week and found this issue.
https://docs.microsoft.com/en-us/cli/azure/microsoft-graph-migration

@nestalk,
Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Hi @nestalk, thank you for your feedback - it has been incorporated into the article. I will close the GitHub issue now.
#please-close


Relationships not drawn

I've worked quite a lot with Neo4j Bloom lately. It works great. But there are some strange things happening.
Relationships are not drawn consistently. I think I've found the minimal scenario to run into this issue.

Run a pattern query.

Result is shown correctly.

select all (CMD + A)
hide all (CMD + H)
run same patthern

Nodes are shown, relationships not

refresh the application (CMD + R)

Result is shown correctly

Versions:
Bloom: 1.0.1
Neo4j: 3.4.1 Enterprise
OS: OSX (Have the feeling that on Ubuntu there are more scenarios to run into this)

 Github - Relationships not drawn

Hi @tiansivive good to see some action, although I cannot see the trello card on the private board.
If you need to have more info or a testrun, please give a shout!

Great, thanks! Is there a way I can help you testing it before the release?

There are some loose plans to have some sort of beta channel in Neo4j Desktop but until then there isn't

Fixed in Bloom 1.0.2, closing


Test Assemblies tasks is failing after it was updated from 2.3.28 to 2.4.6

Server - VSTS
Agent - Hosted

Issue Description
Test Assemblies tasks is failing after it was updated from 2.3.28 to 2.4.6.
Had to change task version from 2.* to 1.* in the build definition to get the build to complete successfully. Solution is being built with VS2015 and Test task was configured to use Latest. Tried updating to select VS2015 instead of Latest and same issue. Worked fine when switching the task from 2.* to 1.*.
Error logs
2018-04-04T17:47:17.8430685Z ##[error]Error: Unable to locate executable file: 'D:\a_tasks\VSTest_ef087383-ee5e-42c7-9a53-ab56c98420f9\2.4.6\TestSelector\14.0\vstest.console.exe'. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.
2018-04-04T17:47:17.8431889Z ##[warning]Error occurred while discovering the tests. All the tests will be executed for this run.
2018-04-04T17:47:17.9885457Z ##[error]VsTest task failed.

@iratherscribble Can you try this with Hosted 2017 pool to see if that unblocks you?

@kaadhina was able to get unblocked by changing to the 1.* version of the task. It’s a VS 2015 solution with some dependencies on that version, so the Hosted 2017 pool wouldn’t be an option.

@iratherscribble we are making this fix and it should be available soon. If you want to remain on 2.* version of the task and want to use TIA in the meantime please use the VsTest Platform tool installer task.

@iratherscribble closing the issue. Please re-open if you still face this issue.


[mgmt] migrate mgmt package to esm 7

https://github.com/Azure/azure-sdk-for-js/issues/32184
@azure/arm-consumption
@azure/arm-containerinstance
@azure/arm-containerregistry
@azure/arm-containerservice
@azure/arm-containerservicefleet

API change check
API changes are not detected in this pull request.


Option to only run pre-deploy or post-deploy hook, or to add custom sub command

Sometimes I only want to update the configuration file on my server, which I set using the pre-deploy-local hook, and I know that the server is on the latest commit. And I have to do a full deploy which also fetches the whole repo and runs the post-deploy script(build step) which builds the whole project again.
It would be nice if we could run any single like hook individually, like

pm2 deploy deploy-name pre-deploy

This is also useful if the build fails for some unknown reason and you just want do it again without having to fetch and run the pre-deploy-hook.
It would be even better if I could define custom scripts with their own sub commands. Like:
deploy: {
	deploy-name: {
		user: 'node',
		host: ['x.x.x.x'],
		ref: 'origin/master',
		repo: 'git@github.com:user/repo.git,
		path: deployPath,
		'pre-deploy-local': "echo 'All done';",
		'post-deploy': 'npm install; npm run build;',
		updateConfig-local: `scp ${localConfig} ${remoteLocation}`, // -local suffix to specifiy that it should be run on local machine
		build: 'npm run build', // this will be run on remote machine
	}
}

And then I can just do

pm2 deploy deploy-name updateConfig

or

pm2 deploy deploy-name build

and it should just run that command

+1


PRE_GAME_LOOP callback unreliable during OL game loop pauses

If OL pausing is set to "Freeze game loop", and OL pausing is active, then some scripts don't execute PRE_GAME_LOOP callbacks, but it seems like they will always execute POST_GAME_LOOP callbacks. I didn't test other callbacks and OL pause flags to see if they have a similar issue.
This is the example script I was testing with on OL fa6a025:
pre_game_loop_count = 0
set_callback(function()
    pre_game_loop_count = pre_game_loop_count + 1
    prinspect("pre_game_loop_count", pre_game_loop_count)
end, ON.PRE_GAME_LOOP)

post_game_loop_count = 0
set_callback(function()
    post_game_loop_count = post_game_loop_count + 1
    prinspect("post_game_loop_count", post_game_loop_count)
end, ON.POST_GAME_LOOP)

When I run this script via the OL console, both callbacks print messages while OL is paused. When I run it as part of a Mods/Packs script ("TAS Wizard", in case the name matters for the order of script execution), it only prints the POST_GAME_LOOP messages.
I'm not sure what would be the most sensible behavior for this. At the very least, if POST_GAME_LOOP executes, then there should always be a matching PRE_GAME_LOOP before it. In my case, I would prefer to always see a PRE_*/POST_* pair even if OL or some other script skipped the event. Perhaps the POST_* callback could include a way to check whether the event was skipped.

I agree that the POST events should not run for any blocked PRE events. I don't know when we veered off from that design rule, but if thing never happens, there should not be an after-thing either. I should fix that, but maybe there are also cases where you would like to run a (different) callback when thing was blocked? So I should maybe block the POST-callbacks but also add POST_BLOCKED callbacks that run instead.
I think that blocking in these PRE-callbacks will also stop other scripts/callbacks from getting that PRE-event at all simply if the other script context was created later. That design choice wasn't really made with these pausable events in mind, in fact it was made years ago, but that's how all the blockable void functions work.
That running order, even if it might be somewhat predictable, probably shouldn't be used to design other scripts anyway. Maybe if I overhaul the OL pause system to always block before anything else, so no script gets a chance to run the callbacks, so at least that part would be predictable.
Running both tools with the API enabled makes it a bit more confusing, but basically the function that runs the hooks in Playlunky will be hooked as the vanilla game function in Overlunky, and blocking it in OL definitely blocks all of the hooks in PL.

Made some PRE/POST callbacks more consistent and added BLOCKED variants for some POST callbacks that can get blocked in #366


Async::accept removes interest on drop, and no poll_* based alternative

The source of async-std has the following snippet:
impl<'a> Stream for Incoming<'a> {
    type Item = io::Result<TcpStream>;

    fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {
        let future = self.0.accept();
        pin_utils::pin_mut!(future);

        let (socket, _) = futures_core::ready!(future.poll(cx))?;
        Poll::Ready(Some(Ok(socket)))
    }
}

link
In the latest release of async-io, the accept future was changed to release interest when the future is dropped, which breaks the above implementation. And as far as I can see, there's no poll_* based alternative for waiting for read-readiness on the Async type.
Originally reported to async-std as https://github.com/async-rs/async-std/issues/888

Thanks for the report! Fixed by https://github.com/async-rs/async-std/pull/889


Not able to scroll files coming from remote edit

I log into the server, select a file and open it, but fail to scroll it!

Same, happening as of the update to Atom 1.19.3 and still present on Atom 1.19.4.
Current version 1.9.0 of remote-edit.

Same here
Atom: 1.19.3 x64
Remote edit: 1.9.0

same here:
Atom 1.19.7 x64
remote-edit 1.9.0

Atom    : 1.20.1
Electron: 1.6.9
Chrome  : 56.0.2924.87
Node    : 7.4.0
remote-edit 1.9.0
same issue :(
help me

@Seungwoo321 apply this changes in locally:
https://github.com/sveale/remote-edit/pull/229/files, works well for all of us

@skrzypek thanks for your comment! @Seungwoo321 's method helps.


Change between v103 and v104 ?

Hello,
We are seeing a lot less calls to our endpoints on the source side for Chrome version 104 and 105 compared to v103. On the trigger side we do not see such a huge imbalance between these three versions.
According to the change log, there has not been any breaking changes in the API for declaring sources (as we do not use window.RegisterSource which was deprecated).
Furthermore, testing our ads in isolation (ie loading them directly in an empty webpage) in v104 showed no issue (ie the API is correctly called for registering a source and a request to attributionsrc is done)
This makes us believe the issue might lie in the way the API is enabled or not. Were there any major changes in the way the permissions policies or the token system are handled?
Thanks a lot!

Thanks for the report.
Could you provide an example of the syntax you're using to perform the source registration? It would be helpful to know which of the various API surfaces you're encountering this with, e.g. <a> / <img> / <script> with or without the attributionsrc attribute or via fetch or window.open from JS.

Hi @apasel422 , i'm working with @alois-bissuel and i'm able to provide some info about this.
Source registration for clicks happen via window.open using the window features (3rd parameter). Here's a real example with the actual attributionsrc used:
window.open("https://actual-click-destination.com", "_blank", "attributionsrc=https://measurement-api.criteo.com/register-source?impressionId%3D62e3a6b745430c1aec0611ef31f61b00%26partner_domain%3Dlaredoute.fr%26external_uid%3D0d134b41-edcf-49b1-86d3-e7c7317e2573%26partner_id%3D782%26source_type%3Dnavigation");
NB: This is called during a click handler function that is dynamically attached (using js) to the link element after DOM is loaded.
For displays registrations, we simply have a  with the HTML attributionsrc attribute, pointing on a similar endpoint.
Thanks for helping, let me know if you need anything else.

window.open("https://actual-click-destination.com", "_blank", "attributionsrc=https://measurement-api.criteo.com/register-source?impressionId%3D62e3a6b745430c1aec0611ef31f61b00%26partner_domain%3Dlaredoute.fr%26external_uid%3D0d134b41-edcf-49b1-86d3-e7c7317e2573%26partner_id%3D782%26source_type%3Dnavigation");

I'm getting an HTTP 400 error when I manually navigate to the attributionsrc URL here. Is that expected?

Thanks for helping, let me know if you need anything else.

Is there any possibility of providing the URL of a real page on which you're experiencing the discrepancy in endpoint calls?

Hello @apasel422 and thank you for checking this.
The HTTP 400 is "normal", the url is generated for EMEA and won't work from the US or elsewhere. It's working fine for us in Paris.
Getting (and sharing) a real publisher page containing a Criteo URL is a bit tricky, "thanks" to the nature of personalized advertising and the multiple layers of intermediate adtechs. @alois-bissuel explained the steps here https://github.com/GoogleChromeLabs/privacy-sandbox-dev-support/issues/38#issuecomment-1164611842
I'll try to describe a "canonical" example as best i can.

Hello @apasel422,
We finally managed to reproduce a case where our attribution API is not called, seems that it's more a problem with chrome beta 104, 105, these are the steps to follow:

Download chrome beta and be among beta users of privacy-sanbox, you have to see and accept the window inviting you to test privacy-sandbox features, please don't activate chrome://flags/#enable-experimental-web-platform-features and chrome://flags/#privacy-sandbox-ads-apis flags manually otherwise you will not see the bug.
Open this ad for instance the browser will not call the source endpoint to register a view (https://measurement-api.criteo.com/register-source in this case) the call will be performed if you activate those flags manually, trigger endpoints are still triggered even without activating the mentioned flags.

Hope this helps, please don't hesitate to reach out for any further details
Again thanks for the support

Thanks for the details.
CC @johnivdel who knows more about the flag configuration.

Thanks for the support,
I forgot to mention that I'm using Chrome beta 104.0.5112.79 64-bit (image bellow)

Instead of using the ad that I provided you with you can also use this url it should trigger a event source registration directly after page load.

Thanks for providing the link, able to reproduce this case locally in M104+, will share more information when available, thanks!

After looking into this on my end, it seems like the browser is trying to parse the attributionsrc= attribute before the origin trial token is added to the page. Could you clarify that the script which adds the token is executed prior the script (or html) which creates the ad?

Hello @johnivdel,
Thanks for the support !
@fabienbk who is in charge of front-end integration is on vacation right now we are trying our best to answer you as soon as we can.
The bug scenario we provided you with tests the integration on the ad web page and shows that we are only loosing displays, reality is that we are loosing both displays and clicks for those specific chrome versions, we found that when being re-targeted by Criteo ads on some publishers (Ad is inside an IFrame) we do not see neither displays nor clicks, could you please help us investigating this ? here are the replication steps:

Delete all browsing data from your chrome beta browser to avoid being re-targeted by another company
Visit this advertiser website and generate some events (view product list, view product and then add to cart)
Go to this publisher website and of course accept cookies 🍪, you will be able to see now the advertiser Ad, just to be sure that this add is served by Criteo click on Ad Choises you will normally see this

you will notice that our API is not called for neither clicks nor displays where as it is called for clicks when the ad is loaded as the main web page as here
Again thanks a lot !

Hi @johnivdel
Indeed we register the event source before the token is actually parsed. Thanks for the hint which enabled us to find this bug. We will fix it soon.
Still we do not see many navigation sources. One of our current hint is that there is an issue with the permissions policy system.
Here is a small demo website illustrating the issue. It contains two identical Criteo ads with and without permissions.
Using a beta Chrome version with no flags activated and the privacy sandbox enabled in the settings (chrome://settings/privacySandbox), we see that there is no permissions policy called attribution-reporting in the Application tab of the developer panel. The attribution-reporting API does not work.
I need to enable the Experimental web platform features in the flags panel (chrome://flags/#enable-experimental-web-platform-features) to get the permissions policy system working (if you click then on the ad where the permission policy is correctly set up, the attribution reporting API will work as intended, provided you accept the cookie on the advertiser website).
Can you reproduce the issue on your side?
We do not see this issue on the trigger side.

The issue on the demo site is that the origin trial is not enabled in the top-level context.
The Permission Policy, similar the the Attribution Reporting API itself, is also gated on the origin trial.
The "attribution-reporting" permissions policies cannot be delegated to the ad iframe unless there is a valid OT token within the document embedding the iframe.
The documentation you linked does not cover this explicitly, and could probably use updating.

Thanks for the answer.
I added a token in my example page, and indeed the attribution-reporting permission is available from the top page, and everything works as intended
One further question: does the token on the main page need to be from the same origin as the one serving the iFrame? I have seen some webpages where other parties include a valid token on the main page, but we cannot use the API.
A final question: has this system of gating the permissions policy system on the main page by a token always been in place, or was it introduced in v104?

With regard to the first question:
does the token on the main page need to be from the same origin as the one serving the iFrame?
For code to access a trial feature, the browser needs to have (already) seen a token registered for the same origin as the code.
So — if you're accessing a feature from an iframe inline in a script element, the browser needs to see a token registered for that origin. If you're including code from an external file (either from the same or a different origin as the iframe) the browser needs a token registered for that origin.
If you use a third-party token, make sure that it's provided via an external script, not a meta tag or inline script: see developer.chrome.com/docs/web-platform/origin-trial-troubleshooting/#token-third-script
Hope that makes sense. Let me know if it doesn't answer your question!

Thanks @samdutton for the anwser. It makes sense, but I am not sure to fully grasp the intricacies of the interaction between tokens and permissions policy.
Let me frame an example:
publisher.com sells ad space to two adtechs, adtech1.com and adtech2.com.
Adtech1 is very well integrated with publisher.com, so that publisher.com calls a script of adtech1.com which declares the OT token in the top-level context. Adtech2 cannot do this.
Both adtechs have ads inside iFrames with the necessary permission policy (ie allow="attribution-reporting") and declare their third-party token inside their iFrame.
Would adtech2 be able to use the attribution-reporting API in that case?
In the absence of adtech1, I understand that the permission policy attribution-reporting would not be enabled in the top-level context, hence the inability of adtech2 to use the API.

As an addendum to my question, let's consider the same example, but this time publisher.com uses an SSP (ie an intermediary selling the publisher's advertising space programmatically). This means that adtech's iFrames are embedded within an SSP's iFrame.
If I understand things correctly, if the SPP does not bother registering for an OT token and adding it to its iFrame (even though it correctly sets the permission policy system), the adtech within the SSP's iFrame won't be able to use the API during the OT. Am I correct?

Closing, as I believe it is covered in #52.


[opentitantool]: Allow SPI chip select across transactions

While implementing TPM communication, I came across a use case in which
I wanted to perform a few SPI transfers, inspect the data that was read,
and then possibly issue some more SPI transfers, while keeping CS
asserted throughout.
The current spi::Target interface is such that run_transaction()
keeps CS asserted for the duration of the list of transfers given in the
parameter list and then deasserts it unconditionally, with no option to
add more based on the result of the previous ones.
This PR introduces an explicit assert_cs() function, which can be used
to keep CS asserted across multiple invocations of run_transaction(),
like below.
let spi = ...;
{
  let _cs_asserted = spi.assert_cs()?;
  spi.run_transaction(...)?;
  if ... {
    spi.run_transaction(...)?;
  }
  // CS will automatically deassert here (or earlier if bailing out.)
}

Furthermore, assert_cs() counts its invocations, and releases CS only
when every nested assertion has been released, such that if the above
code was part of a helper method, and the called wanted to make several
invocations of the helper, during a single CS session, then it could put
another assert_cs() around its logic.
Change-Id: I219f3647d29129c4dfc1fc346f855fb4e9da2e53

are we ok to merge this (after CI passes?)
@jesultra, you will have to rebase this on master and repush as we had some CI issues earlier this week.

I do not want to merge as is, since only a single transport has implementation.  What I was hoping to get is informal approval that this approach makes sense, then I would implement the interface for the other transports, possibly including the proxy transport, before formally asking for it to be merged.

Now this PR has implementation of the SPI chip select interface for UltraDebug, HyperDebug, and for the proxy client/server implementation.  I consider it to be demonstration enough that I want to merge it in this state.  If the need arises, we can later implement the new method for one or more of the remaining transport backends as well, provided that the hardware supports it.

I believe that I have addressed all comments, please let me know if additional modifications are needed before this can be merged.


Why buy ?

Hi,
I search for a repliable video player for XF. I found that https://github.com/martijn00/XamarinMediaManager
and yours.
What makes yours so outstanding to invest 65 bucks in comparison to the open source one?
Thanks in advance for your reply.
Best
Eric

You might take a look at the Getting Started Guide. This player supports many properties and events other players do not expose. It also has support for WIndows platforms if that is important to you.
Ultimately it comes down to choosing the library that best fits your needs and budget.


People/Address Settings: silent save failure

In People/Addresses/Address Settings, edit the settings
Click the checkbox for Enable Automatic Verification.
Do not pick a Verification Service. (Or, if already logged in with values saved in the browser) pick the blank value in the selectbox and re-check the Enable checkbox)
Click Save
On save, enabled setting checkbox is now not enabled. No error message is shown.
Note that whether Auth Token is set or not has no effect on this behavior.

**lurch: add

Tracking W-008289

Included in beta release version 3.62 (Beta 3) and higher

Included in production release version 3.62


[Bug]: Hidden columns in table widget should not be visible in preview mode

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Hidden columns in the table widget are shown after the visible columns in edit mode and hidden in view mode. We need to hide the hidden columns in preview mode as well.
Steps To Reproduce

D&D Table widget.
Hide a column. Observe that it shown after the visible columns.
Go to preview mode. Observe that it is still shown.
We need to hide the hidden columns in preview mode as well.

Public Sample App
No response
Version
cloud

Another user reported this issue.

Any update on this one?
I share the same view that even in edit/preview mode, if the columns are set to hidden, then let's hide it.  I can see it's greyed out at least.
But it's hard to understand the positioning of columns and behaviour for UI if there's horizontal scrolling all the while for needlessly long reference paths and ID's.

@tophat1986 we're now picking this up

@tophat1986

I share the same view that even in edit/preview mode, if the columns are set to hidden, then let's hide it. I can see it's greyed out at least.

In edit mode , we re greying out the hidden columns instead of hiding them, cause that gives users option to configure those columns without having to make them visible first.
I agree that in preview mode we should remove the hidden columns from the table. My above PR fixes this.


Graphql: Add arrival, departure and duration to each booking type

@jvaclavik @RobinCsl 🚀

but needs rebase

Not really, not sure why github thinks that, because there is no conflict when rebasing.
@RobinCsl 🚀