Update socket API samples documentation so it covers UDP client/server and address resolve samples

Also fixed installing addr_resolve.wasm example
Resolves #1534

Seems like build failed for unrelated to the change reason - @wenyongh would you be able to restart the build? Thanks

Seems like build failed for unrelated to the change reason - @wenyongh would you be able to restart the build? Thanks

Done


Phantomjs, performance

Found pretty hard scaling performance of my spider when i need js render. What i understand that i need decrease number of poolsize for fetcher am i right? So i start 3 phantomjs+fetcher and set for them poolsize 10. Am i right? Maybe you have something to append?

deploy multiple phantomjs instance with a load balance frontend before connect to one fetcher.
e.g. this docker-compose structure.
phantomjs:
  image: 'binux/pyspider:latest'
  command: phantomjs
  cpu_shares: 512
  environment:
    - 'EXCLUDE_PORTS=5000,23333,24444'
  expose:
    - '25555'
  mem_limit: 512m
  restart: always
phantomjs-lb:
  image: 'dockercloud/haproxy:latest'
  links:
    - phantomjs
  restart: always

fetcher:
  image: 'binux/pyspider:latest'
  command: '--phantomjs-proxy "phantomjs:80" fetcher'
  cpu_shares: 512
  environment:
    - 'EXCLUDE_PORTS=5000,25555,23333'
  links:
    - 'phantomjs-lb:phantomjs'
  mem_limit: 128m
  restart: always

it is cool idea about haproxy, thank you for sharing. I see in logs of phatomjs that there are very long requests, about 70 seconds, i dunno why :( Can it be because js_script?
function() {
setTimeout(function(){ document.getElementsByClassName("js-realtor-card-phone-trigger")[0].click(); }, 10);
}
And what will happen if js_script for some reason will fail?

In most rendering a page is slow, it will wait till every resources in the page loaded.
And there are a lot of reason a script will fail, including:

element not exists when execute
timeout arrived before page load, don't have time to execute js script
js script executed, but further resources don't have time or just not loaded
js script executed, but page js not loaded, doesn't reaction as expected.

I mean what will happen if error accures? Fetch will fail or what? I see that plenty of my fetches are in active state. I don't care why it accures i understand that there can be plenty of reasons. Before migrating to pyspider i had phantomjs ruled by selenium which hammered page with js script again and again with defined timeout.

nothing happen, just like it hasn't executed. You should detect in your script with some assert, and let the task retry.

Hello! I tried make configuration with docker compose. So i made such configuration file
version: '2'
services:
phantomjs:
image: binux/pyspider:latest
command: phantomjs
cpu_shares: 512
environment:
- 'EXCLUDE_PORTS=5000,23333,24444'
expose:
- '25555'
mem_limit: 512m
restart: always
phantomjs-lb:
image: dockercloud/haproxy:latest
links:
- phantomjs
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: always
fetcher:
image: laki9/pyspider:python3
external_links:
- 'nedvigka_mysql:mysql'
- 'nedvigka_redis:redis'
command: '--config config.json --phantomjs-proxy "phantomjs:80" fetcher --no-xmlrpc'
working_dir: /home/ubuntu/conf
cpu_shares: 512
environment:
- 'EXCLUDE_PORTS=5000,25555,23333'
links:
- 'phantomjs-lb:phantomjs'
volumes:
- ./conf:/home/ubuntu/conf
mem_limit: 128m
restart: always
result:
image: laki9/pyspider:python3
external_links:
- 'nedvigka_mysql:mysql'
- 'nedvigka_redis:redis'
command: '--config config.json result_worker'
working_dir: /home/ubuntu/conf
volumes:
- ./conf:/home/ubuntu/conf
processor:
image: laki9/pyspider:python3
external_links:
- 'nedvigka_mysql:mysql'
- 'nedvigka_redis:redis'
command: processor
scheduler:
image: laki9/pyspider:python3
external_links:
- 'nedvigka_mysql:mysql'
- 'nedvigka_redis:redis'
command: '--config config.json scheduler'
working_dir: /home/ubuntu/conf
volumes:
- ./conf:/home/ubuntu/conf
webui:
image: laki9/pyspider:python3
external_links:
- 'nedvigka_mysql:mysql'
- 'nedvigka_redis:redis'
links:
- scheduler
- 'phantomjs-lb:phantomjs'
command: '--config config.json --phantomjs-proxy "phantomjs:80" webui'
working_dir: /home/ubuntu/conf
ports:
- "5000:5000"
volumes:
- ./conf:/home/ubuntu/conf
Problem is that all working ok, but i can't start task in dashboard and can't see current progrems, verywherre i see connect to scheduler error
In console of webui i see:
webui_1         | [W 160602 12:39:54 index:106] connect to scheduler rpc error: ConnectionRefusedError(111, 'Connection refused')
webui_1         | [W 160602 12:39:55 task:43] connect to scheduler rpc error: ConnectionRefusedError(111, 'Connection refused')
webui_1         | [W 160602 12:40:10 index:106] connect to scheduler rpc error: ConnectionRefusedError(111, 'Connection refused')
My configuration file looks like this:
{
"taskdb": "mysql+taskdb://root:ineedmysql@mysql/taskdb",
"projectdb": "mysql+projectdb://root:ineedmysql@mysql/projectdb",
"resultdb": "mysql+resultdb://root:ineedmysql@mysql/resultdb",
"message_queue": "redis://redis:6379/novosti",
"webui": {
"username": "root",
"password": "soyouarehuman",
"need-auth": true,
"port": 5000
},
"result_worker": {
"result_cls": "my_result_worker.MyResultWorker"
}
}
What i miss?

I run little test to ensure that scheduler accessible from webui:
user@host:~/nedvigka$ sudo docker exec -it nedvigka_webui_1 bash
root@ee2a19090d65:/home/ubuntu/conf# ping scheduler
PING scheduler (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from nedvigka_scheduler_1.nedvigka_default (<IP_ADDRESS>): icmp_seq=1 ttl=64 time=0.120 ms
64 bytes from nedvigka_scheduler_1.nedvigka_default (<IP_ADDRESS>): icmp_seq=2 ttl=64 time=0.174 ms
64 bytes from nedvigka_scheduler_1.nedvigka_default (<IP_ADDRESS>): icmp_seq=3 ttl=64 time=0.057 ms
64 bytes from nedvigka_scheduler_1.nedvigka_default (<IP_ADDRESS>): icmp_seq=4 ttl=64 time=0.057 ms
^C
--- scheduler ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 0.057/0.102/0.174/0.048 ms
root@ee2a19090d65:/home/ubuntu/conf# nc <IP_ADDRESS> 23333
root@ee2a19090d65:/home/ubuntu/conf#
root@ee2a19090d65:/home/ubuntu/conf# nc <IP_ADDRESS> 23333
root@ee2a19090d65:/home/ubuntu/conf#

Ok, i got that i need use --scheduler-rpc:
https://dpaste.de/5buy
Currently i don't see any errors, dashboard working well. But now my problem that spider is just don't work when i start him. This what i see i log:
scheduler_1     | [I 160602 13:52:07 scheduler:424] in 5m: new:0,success:0,retry:0,failed:0
scheduler_1     | [I 160602 13:52:13 scheduler:771] select ya_ru:_on_get_info data:,_on_get_info
fetcher_1       | [I 160602 13:52:13 tornado_fetcher:178] [200] ya_ru:_on_get_info data:,_on_get_info 0s
scheduler_1     | [I 160602 13:52:23 scheduler:628] new task ya_ru:on_start data:,on_start
scheduler_1     | [I 160602 13:52:24 scheduler:771] select ya_ru:on_start data:,on_start
fetcher_1       | [I 160602 13:52:24 tornado_fetcher:178] [200] ya_ru:on_start data:,on_start 0s
scheduler_1     | [I 160602 13:53:07 scheduler:424] in 5m: new:1,success:0,retry:0,failed:0 ya_ru:1,0,0,0
scheduler_1     | [I 160602 13:54:07 scheduler:424] in 5m: new:1,success:0,retry:0,failed:0 ya_ru:1,0,0,0
scheduler_1     | [I 160602 13:55:07 scheduler:424] in 5m: new:1,success:0,retry:0,failed:0 ya_ru:1,0,0,0
scheduler_1     | [I 160602 13:55:17 scheduler:664] restart task ya_ru:on_start data:,on_start
scheduler_1     | [I 160602 13:55:17 scheduler:664] restart task ya_ru:on_start data:,on_start
scheduler_1     | [I 160602 13:56:07 scheduler:424] in 5m: new:1,success:0,retry:0,failed:0 ya_ru:1,0,0,0
scheduler_1     | [I 160602 13:57:07 scheduler:424] in 5m: new:1,success:0,retry:0,failed:0 ya_ru:1,0,0,0
scheduler_1     | [I 160602 13:58:07 scheduler:424] in 5m: new:0,success:0,retry:0,failed:0 ya_ru:0,0,0,0
scheduler_1     | [I 160602 13:59:07 scheduler:424] in 5m: new:0,success:0,retry:0,failed:0 ya_ru:0,0,0,0
scheduler_1     | [I 160602 14:00:07 scheduler:424] in 5m: new:0,success:0,retry:0,failed:0 ya_ru:0,0,0,0
Look of tasks in dashboard:
https://dl.dropboxusercontent.com/u/25725476/screenshots/screenshot-2016.06.02-17%3A01%3A02.png
Source code of spider:
https://dpaste.de/yHwh

command of processor doesn't contains --config config.json

You know you are awesome mate, i just stucked on this. Was crazy about setting up properly. But now all working ok! Dunno how i missed this.
Is there any chance you can crosspost such posts in english too? http://blog.binux.me/2016/05/deployment-of-demopyspiderorg/ I noticed this right now and looks like it is very usefull, but with translator post become very broken.
Can i support you somehow? I don't have much, but 20 bucks is 20 bucks?) I have paypal and can pay by credit card directly.

You can find the clue from log, scheduler had select(dispatch) the task, fetcher have received it, but no next. And on dashboard, you should find pending messages between fetcher and processor.
Yes, I will translate that post and put it into docs.pyspider.org
Users are best support for the project. As I have a job to feed me and hadn't spend much time on the project, thanks.

Ok i got it.
I have tried this configuration in field. I see that with time phantomjs answering slower and slower and at the end i see this error:
[E 160602 16:37:51 tornado_fetcher:200] [599] xxxx:e8183d209f66e13461bf0a25de78b868 http://xxxx, ValueError('Expecting value: line 1 column 1 (char 0)',) 50.01s
I tried with --poolsize 10, nothing changed. I am not swaping or something, i have enough ram.

rendering a page is very slow and heavy, all of the current handless browser implement have memory leak issue. I want to port js render to splash and one of implement of electron, but it wouldn't solve the problem, just give you another choice.
I restart phantomjs instance frequently to avoid memory leak issue.

I checked, if i load link which i am interested in phantomjs it consumes around 200mb of ram. How hard will write something which handle one request with one version of phantomjs and after that phantomjs just die? I think maybe i can modify phantomjs_fetcher.js to just exit after single request? And balance possible errors with haproxy?
Also looked at splash, it is very intresting.

It's very easy to kill a render server, we are running splash in business, the whole instance can be killed easily by some certain web page.

Can't get what you mean. You mean that there are in the wild pages, which can kill reder server or what? I mean i want phantomjs to execute only one request, so i can lower possible memory leaks to minimum.

I mean it's not easy to implement a "reliable" render server, yes, execute and re-fork for one request can somehow isolate the failure between requests (but need more resources to fork).
But there are some web pages, with only one request can kill the render service, you still need to monitor the processor and kill them when needed.

Tried single request per one phantomjs instance. Now i can get stable render time, and no so noticable memory leaks. But sometimes i can see 500 errors again, but i expect this. Without any control service, which will dispatch queries right i don't think there will be error free behaviour.
I tried splash too, i tried ab him with my task, 10 concurency and 1000 requests, it failed at 200 with qt error.

Can be this error because of phantomjs instance died because of phantom.exit(); ?
track.process  0.27ms
self.call() not implemented!
[E 160603 12:46:21 base_handler:195] self.call() not implemented!
Traceback (most recent call last):
File "/opt/pyspider/pyspider/libs/base_handler.py", line 188, in run_task
result = self._run_task(task, response)
File "/opt/pyspider/pyspider/libs/base_handler.py", line 160, in _run_task
raise NotImplementedError("self.%s() not implemented!" % callback)
NotImplementedError: self.call() not implemented!
{
"exception": "self.call() not implemented!",
"follows": 0,
"logs": "[E 160603 12:46:21 base_handler:195] self.call() not implemented!\n    Traceback (most recent call last):\n      File "/opt/pyspider/pyspider/libs/base_handler.py", line 188, in run_task\n        result = self._run_task(task, response)\n      File "/opt/pyspider/pyspider/libs/base_handler.py", line 160, in _run_task\n        raise NotImplementedError("self.%s() not implemented!" % callback)\n    NotImplementedError: self.call() not implemented!\n",
"ok": false,
"result": null,
"time": 0.0002689361572265625
}

have no idea, need more logs when it happened.


Error: The same apk was uploaded as app and test

I followed this guidance https://docs.microsoft.com/en-us/appcenter/quickstarts/android/test in order to make the test run.
here is the command that I am using
> appcenter test run espresso --app "******" --devices ***** --app-path C:\Users\******\repos\appcenter-sampleapp-android-master\app\build\outputs\apk\androidTest\debug\app-debug-androidTest.apk --test-series "master" --locale "en_US" --build-dir C:\Users*****\repos\appcenter-sampleapp-android-master\app\build\outputs\apk\androidTest\debug
however, it gives Error: The same apk was uploaded as app and test; and when I am trying to use the released apk, it gives me Error: test apk does not include Test-Cloud Espresso extension, although, I run the below commands successfully
>  ./gradlew assembleDebug
> ./gradlew assembleDebugAndroidTest
>

Hello! Please open the issue within the documentation page (there is a link at the bottom) - the feedback in this repository is related to the team blog.


Helper functionality to work around how different libraries handle copies vs. mutation and/or views?

Follow-up to https://github.com/data-apis/array-api-compat/issues/144#issuecomment-2161491665
Sometimes to make existing code compatible with backends that are not fully standard compliant, we would need to create copies where the original code would not.
For example, as a workaround for gh-144 (PyTorch doesn't support negative step), we could (sometimes) make the replacement:
from array_api_compat import torch
x = torch.arange(10)
# x[::-1]
xp.flip(x)  # ValueError: step must be greater than zero

As a workaround for JAX not supporting mutation, we could sometimes make replacements like:
from array_api_compat import jax
# x is an array, i is a mask with the same shape
# x[i] = 0
x = jax.where(i, 0, x)

However, making substitutions like this could decrease performance for array types that do support the desired operation (returning a view or mutating the original, in these cases).
Functions that perform the desired operation when possible and the substitute otherwise (e.g. https://github.com/scipy/scipy/pull/20085#issuecomment-2119307509) have been proposed. Do such things belong in array_api_compat?

Regarding flip(x) vs. x[::-1], note that np.flip does return a view. Torch only doesn't because it doesn't support views with negative strides at all. So just using flip is portable in the manner you suggest. It just isn't as readable (though even that could be argued), but there's no real way around that since we don't want to wrap array/tensor objects in this library. More arbitrary slices would also be more cumbersome to write, and we can definitely build a helper around that if it is needed.
What would an API for "mutate if you can" look like?
You'd have to be really careful using any API like that. A mutation and a copy are very different things and you'd need to make sure you write code that works correctly in both instances. I guess the way to handle it is to never actually rely on mutation semantically. Rather, mutation should just be treated as an implementation detail for performance. In other words, write code that treats everything as immutable but using functions that can mutate or "copy on write" when possible.
JAX effectively does this internally, where non-aliased arrays are free to be mutated. I wonder if this request effectively amounts to "rewrite JAX on top of any array API library". If so, it might be very difficult or even impossible to achieve. For instance, even in NumPy we don't currently have the ability to fully track aliasing (views are only tracked in one direction).
CC @rgommers

Regarding flip(x) vs. x[::-1], note that np.flip does return a view.

Ah, I don't think I noticed that.

Torch only doesn't because it doesn't support views with negative strides at all....

Good to know. But isn't that problematic for the same reasons you mentioned? "You'd have to be really careful using any API like that."

What would helper APIs for "mutate if you can" look like?

See the comment linked above :
https://github.com/scipy/scipy/pull/20085#issuecomment-2119307509

I would say flip returning a view vs. a copy isn't quite the same because it's not actually mutating anything. It's only problematic if you later do an operation that could mutate the aliased memory. If you never do, the semantics are identical.
x[i] = 0 is different, because it itself is a mutation. So you're doing something that already has different semantics depending on whether x's memory is referenced by other arrays or not.
But you're right that this all comes down to the fact that the standard is agnostic about views vs. copies, so portable code always has to be written in a way that doesn't rely on mutation. See https://data-apis.org/array-api/latest/design_topics/copies_views_and_mutation.html (I pinged Ralf here because I know he has thought about that particular document a lot).

And he drafted the helper we're talking about.

So you're referring to this function?
def at_set(
        x : Array,
        idx: Array | int | slice,
        val: Array | int | float | complex,
        *,
        xp: ModuleType | None = None,
    ) -> Array:
    """In-place update. Use only if no views are involved."""
    xp = array_namespace(x) if xp is None else xp
    if is_jax(xp):
        if xp.isdtype(idx.dtype, 'bool'):
            x = xp.where(idx, x, val)
        else:
            x = x.at[idx].set(val)
    else:
        x[idx] = val
    return x

That seems fine (except I would make a few minor changes), as long as it's well documented that it might or might not actually mutate x.

Yes, and yeah, documenting that is key.


Definition of norm_macro_recall points to wrong calculation

In the table giving the definition of norm_macro_recall, the calculation points to the definition of precision_score instead of recall_score.

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

ID: 585fff5e-cadd-8967-8c09-63d8afcb53b3
Version Independent ID: 95274303-b152-2ee8-113e-e0763beca7ed
Content: Create automated ML experiments - Azure Machine Learning service
Content Source: articles/machine-learning/service/how-to-configure-auto-train.md
Service: machine-learning
Sub-service: core
GitHub Login: @nacharya1
Microsoft Alias: nilesha

@marabout2015
Thanks for the feedback! We are currently investigating and will update you shortly.

Hi Yutong,
Thank you for these two prompt replies.
Mario
From: YutongTie-MSFT<EMAIL_ADDRESS>Sent: Thursday, April 18, 2019 1:24 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Definition of norm_macro_recall points to wrong calculation (#29672)
@marabout2015https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmarabout2015&data=02|01|mabou%40microsoft.com|c5c94356ef43435909b508d6c422ab0f|72f988bf86f141af91ab2d7cd011db47|1|0|636912050513362152&sdata=OheaV6590SDKNuZIKn5ZDa7VvPdJaZepO3a4bcqhimw%3D&reserved=0
Thanks for the feedback! We are currently investigating and will update you shortly.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F29672%23issuecomment-484600571&data=02|01|mabou%40microsoft.com|c5c94356ef43435909b508d6c422ab0f|72f988bf86f141af91ab2d7cd011db47|1|0|636912050513372152&sdata=IKOiukkBulskZz2Q9zoNl2AoVRY6nkMrwDEuAwERmyo%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAECDHUSSIHVKIRL7YFSKV4TPRCVDLANCNFSM4HG637SA&data=02|01|mabou%40microsoft.com|c5c94356ef43435909b508d6c422ab0f|72f988bf86f141af91ab2d7cd011db47|1|0|636912050513372152&sdata=wFOVKKOXXB88QcDWrR9lG4VRkUPY8fUo4%2BLXkKSkihA%3D&reserved=0.

@marabout2015 Hi Mario, I have created a PR for this fixed. You should see the change shortly. Thank you.

Hi Yutong Tie,
Thank you for this.
Mario
Get Outlook for iOShttps://aka.ms/o0ukef

From: YutongTie-MSFT<EMAIL_ADDRESS>Sent: Thursday, April 18, 2019 3:25:29 PM
To: MicrosoftDocs/azure-docs
Cc<EMAIL_ADDRESS>Mention
Subject: Re: [MicrosoftDocs/azure-docs] Definition of norm_macro_recall points to wrong calculation (#29672)
@marabout2015https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmarabout2015&data=02|01|mabou%40microsoft.com|bc0017d174894008195308d6c4339fa4|72f988bf86f141af91ab2d7cd011db47|1|0|636912123331313016&sdata=RjThOfCIyzwFbL9U3TMi9PvQ9hBtA62p6XRk%2F03J8fg%3D&reserved=0 Hi Mario, I have created a PR for this fixed. You should see the change shortly. Thank you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F29672%23issuecomment-484653388&data=02|01|mabou%40microsoft.com|bc0017d174894008195308d6c4339fa4|72f988bf86f141af91ab2d7cd011db47|1|0|636912123331323024&sdata=fV9UV61KrBuxxSCeOXe%2B9xsoKKTqlq3eTv6Qofmet7g%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAECDHUUUUJQGEZZDGSDZBS3PRDDKTANCNFSM4HG637SA&data=02|01|mabou%40microsoft.com|bc0017d174894008195308d6c4339fa4|72f988bf86f141af91ab2d7cd011db47|1|0|636912123331333029&sdata=punAEZ9qoBEkO2Ka2JFc9MEEUxjgptMouzm2%2BtYtuOM%3D&reserved=0.

@marabout2015
We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.


Add an extra scenario to illustrate the delegation "latency"

Issue Number

#904
Overview

[x] I have added an extra scenario regarding rewards behavior described below

Comments

At epoch e: Join stake pool P1
At epoch e+1: Quit stake pool P1
At epoch e+2: Stake is being delegated to P1
At epoch e+3: Reward is earned from the delegation in e+2

bors r+

bors r+

bors r-

bors r+


Error in latest version

On server startup, Paper 1.13.2.
https://pastebin.com/PBwaxFFj

7a0295b410f013abe95ee698555fcad9d7c7bc49


RAD Firmware 2.0

Firmware for RAD with the following features:
EEPROM

Reading of core startup params from EEPROM, and writing to eeprom on request
Ability to read/write pages to eeprom, instead of one page at a time
Default params in the event of an eeprom failure

CAN

Support for all CAN messages
Global and local message queues to be able to differentiate between message priorities
System wide disable and ESTOP messages

PID

Inclusion of max/min steps to ensure smooth PID functionality
Feedback from motor encoder to update position estimate

Limit Switches

Automatic stop at limit switch, as well as software stop that is 5 degrees from hardware stop on non-limit switch side
Resetting of PID position after limit switch press
Calibration routine that triggers limit switch

Main State Operation

Able to step motors based on pulse count before calibration
After calibration, able to perform angle-based position control
Can cancel calibration any time to return to step based control
Odom message sent at desired interval with PID estimate of where motor is
Health message with status of encoder, eeprom, and motor drivers, as well as state and limit switch
Can control stepper frequency over CAN

Python

Updated PCAN configuration file

To do in future:

Bug fixes

Deflection correction procedure

Good to merge! Future changes can involve changes to the PID min logic, deflection control, stallguard, and more


Use material for register tool forms

Currently these forms use bootstrap. We should change them to material for consistency.
┆Issue is synchronized with this Jira Story
┆Issue Type: Story
┆Fix Versions: Dockstore 1.9
┆Sprint: Backlog
┆Issue Number: DOCK-1166

not done

:disappointed:


bloxstrap stops loading in the middle of download

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
so I wanted to play roblox yesterday and bloxstrap tried to update. But when it gets to the middle of the update it just freezes and I cant play roblox

Get Bloxstrap's latest log file from %localappdata%\Bloxstrap\Logs and send it here please

it says windows cannot find it

Ok hey pizzaboxer I finally found it but there are 6 log folders, do I give them all to you?

There's six log folders? Can you show a screenshot of them please?

Hey sorry I just got home so I wasn't able to see your message but I don't know how to send a screenshot on github, do you possibly have discord?

oh when I try to do that it just gives a paste a random link and the link brings it to the bloxstrap download thing

What? That's the link to the image. Just upload the image please.

Alright here you go just let me know if it doesn't work

do you think it's an issue with my pc?

Where's the folders? Those are all just files.
Anyway, can you send the latest log file herer please? It's the one at the bottom.

sorry I didn't mean folders I meant files my bad but here
Bloxstrap_20240505T211901Z.log

Alright, I see what's happening. An error dialog is supposed to show here but isn't showing, which is a known bug. Sorry about that.
So this appears to happen every time you try to launch Bloxstrap. Does the original launcher work fine? https://github.com/pizzaboxer/bloxstrap/wiki/Switching-between-Roblox-and-Bloxstrap

no sadly the original launcher gets so close to opening then it just closes

no sadly the original launcher gets so close to opening then it just closes

That's to be expected. You're actually having the same issue as described in this wiki page: https://github.com/pizzaboxer/bloxstrap/wiki/"Signature-does-not-match!"-error-when-launching-Roblox
You don't really have much options here other than to try out the Microsoft Store version and see if that works.

so hey pizzaboxer the original roblox decided to work but when i try to install bloxstrap it doesn't want to download

yoooooooooo pizzaboxer you were right it fixed itself tysm for letting me know it would fix itself


Docker run() - volumes don't work as in docker compose

Hello,
I have a python project where I use docker.run(). It is a postgresql container where I defined volumes to run .sql files on startup. It looks like this:
[
        (
            pathlib.Path("folder1/folder2/database-data").absolute(),
            "/var/lib/postgresql/data",
        ),
        (
            pathlib.Path("folder1/folder2/folder3/create_tables.sql").absolute(),
            "/docker-entrypoint-initdb.d/create_tables.sql",
        ),
        (
            pathlib.Path("folder1/folder2/folder3/insert_data.sql").absolute(),
            "/docker-entrypoint-initdb.d/insert_data.sql",
        ),
    ]

When the container is up, it will not execute these .sql files.I checked and found that there is insert_data.sql (or create_table.sql) in docker-entrypoint-inidb.d but as a folder not as a file to run. But if I tried to run it manually using docker-compose which looks like this:
database:
    image: postgres
    environment:
      POSTGRES_PASSWORD: postgres
      POSTGRES_DB: test
      PGDATA: /var/lib/postgresqk/data
    volumes:
      - ./database-data:/var/lib/postgresql/data
      # copy the sql script to create tables
      - ./folder3/create_tables.sql:/docker-entrypoint-initdb.d/create_tables.sql
      # copy the sql script to fill tables
      - ./folder3/insert_data.sql:/docker-entrypoint-initdb.d/insert_data.sql
    ports:
      - "6544:5432"

It works correctly. Couldn't there be a problem with the  .run() volume attribute or is my definition of volumes in docker.run() is incorrect?

Hi! Thank you for giving this lib a try!
Can you set the environment variable
PYTHON_ON_WHALES_DEBUG=1 and rerun the docker run? It will print on the terminal the command used. You can then report it here if it's not enough to debug and understand what is going on :)

Hi @gabrieldemarmiesse ! Thank you for response
I set env variable PYTHON_ON_WHALES_DEBUG=1 and rerun the docker run. Got this output:

Maybe it's helpful information to describe my structure of project:
There is folder:
backend -> [api, simulators]
api -> docker -> handler.py (in handler I call .run())
simulators (equal to folder1 in example above) -> simulator_sql (equal to folder2 in example above) -> sql (equal to folder3 in example above)-> insert_data.sql and create_table.sql

Thank you for this, in general, when communicating about code/outputs, prefer to use copy/past of text rather than a screenshot, it allows people to modify the text to point out errors or interesting things in the text.
Could you get the logs of the container with a docker conainer logs simulator_database? The command looks fine, but I suspect the database has already some data in the volume, thus skipping initialization.

Sure, the logs from container:
2023-03-04 13:34:17.605 UTC [1] LOG:  starting PostgreSQL 15.2 (Debian 15.2-1.pgdg110+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2023-03-04 13:34:17.605 UTC [1] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432
2023-03-04 13:34:17.605 UTC [1] LOG:  listening on IPv6 address "::", port 5432
2023-03-04 13:34:17.607 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2023-03-04 13:34:17.609 UTC [29] LOG:  database system was shut down at 2023-03-04 13:18:07 UTC
2023-03-04 13:34:17.615 UTC [1] LOG:  database system is ready to accept connections

In your case, the database is already initialized. There is already data inside. In this case the postgres docker container won't read your sql script to initialize the database. If you remove your volume, then there will be no data inside, the container will re-initialize the database and your scripts will be read

Hi @gabrieldemarmiesse,
I found out, there was a problem with the volume path. Well, there is no problem in the lib, it works fine. We can consider this issue closed :)
Thanks for your help.

I'm glad it all worked out :)


Generate Python wheels in CI

Fixes #570.
This PR adds a new GitHub Actions workflow that generates Python wheels and an sdist that all can be uploaded to PyPI.
It generates wheels for Python 3.7, 3.8, 3.9 and 3.10 for Windows, macOS and Linux.
I used https://github.com/scikit-build/scikit-build-core as the build backend. It's a new tool that is quite simple and allows to build Python extensions (C, C++, etc) without setuptools. Since it's a build backend, everything can be built with pip install . or https://github.com/pypa/build (python -m build).
Marked as draft because I'll take some more time to document. But at least we have something working for users to test. I also need to create the workflow that will publish to PyPI. And as a reminder, we have reserved the MaterialX name on PyPI, see https://pypi.org/project/MaterialX/.

This work looks really promising, and I'd recommend that we continue refining it in the upcoming 1.38.8 version of MaterialX, rather than trying to rush it into the 1.38.7 release.

@jstone-lucasfilm Yep, it makes sense to not rush it. Anyway I'll probably have limited time to work on this in the next 2 weeks.

Rebased with main branch.

THe wheel generation is failing with my last commit. I'll need to investigate why it's failing.


New Log Analytics Sku for Log Analytics

[x] I'm not making changes to Auto-Generated files which will just get erased next time there's a release.
[x] I've tested my changes, adding unit tests where applicable.
[x] I'm submitting this PR to the dev branch, or I'm fixing a bug that warrants its own release and I'm targeting the master branch.

On April 3rd, 2018 Microsoft changed the pricing tiers for Log Analytics.
https://azure.microsoft.com/en-us/blog/introducing-a-new-way-to-purchase-azure-monitoring-services/
I did some research and was able to find the new Sku name, PerGB2018. This is not officially documented anywhere yet that I can find. I successfully tested deployment using the new Sku.
I believe the old Skus will still work if you have an older Azure subscription and have deployed Log Analytics services prior to April 3, 2018. I am unable to test this in my subscription.

Can one of the admins verify this patch?

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: MattMencel sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Closing as this should be fixed in the specs repo.  Once the change has been merged into the specs repo we'll get it into the SDK.


🐶 CSS styles for rPNGs: Code Block

When we generate an rPNG, we use a headless browser to render an HTML representation of the contents and then capture the result as a screenshot.
For better UX, readability, and branding, we should style the generated images to match the corresponding styles in Stencila Hub.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[CDataTable] thead-top slot

"@coreui/coreui": "3.0.0",
"@coreui/icons": "1.0.1",
"@coreui/vue": "3.0.0",

I would like request an additional thead-top slot for the CDataTable component, similar to the one in Bootstrap
In my case; in a div above the table I display a list of fields. Via a draggable interface, I want to 'drag' those fields to the correct column of the table. With the additional thead-top slot I have a top field available in each row with a draggle area, to which the field should be dragged.
I could also do this with a <table> in the over-table slot, but then the width of the columns wont match.

Feature introduced in f1304966a2fb95aa0e0b7d75e85fc6beb35f1594. It will be available in the next version.


Fix parse error when inherits from subclass of named classes

Fix #29144

Thanks!

Cherry-picked for 3.1.2.


Support with Updating Management Groups CLI

Resource Provider
Management Groups
Description of Feature or Work Requested
I need assistance in updating the Management Groups CLI to be up to date with the latest version our our APIs using the CodeGen tool. The CLI has not been updated in over two years and I am not sure if we have used CodeGen before.
Minimum API Version Required
2021-04-01
https://github.com/Azure/azure-rest-api-specs/tree/main/specification/managementgroups/resource-manager/Microsoft.Management
Swagger Link
https://github.com/Azure/azure-rest-api-specs/tree/main/specification/managementgroups/resource-manager/Microsoft.Management/stable
Target Date
ASAP, we have customers reporting issues with our CLI triggering IcMs

PLR

@git-thomasdolan  I see that you have submitted a PR https://github.com/Azure/azure-cli-extensions/pull/4198 about managementgroup extension.
I'd like to confirm with you that your PR is used to complete this requirement?

@zhoxing-ms Yes that PR would satisfy this requirement. Any timeline on when this can be reviewed?

@git-thomasdolan OK, I'll review when I'm free these two days


Fresh command exception when using the sqlite driver

Laravel Version: 5.5
PHP Version: 7.1
Database Driver & Version: Sqlite

Description:
I noticed that the new php artisan migrate:fresh command throws an error when using the sqlite driver.
https://www.dropbox.com/s/oiqzmzqgv9ogv1a/Screenshot 2017-06-16 09.47.10.png?dl=0
Steps To Reproduce:

Install fresh Laravel app
Set DB driver to sqlite
touch database/database.sqlite
php artisan migrate && php artisan migrate:fresh

This will produce:
  [Illuminate\Database\QueryException]
  SQLSTATE[HY000]: General error: 1 table "migrations" already exists (SQL: create table "migrations" ("id" integer not null primary key autoincrement, "migration" varchar not null, "batch" integer not null))

  [PDOException]
  SQLSTATE[HY000]: General error: 1 table "migrations" already exists

Hello :)
Fixed in https://github.com/laravel/framework/pull/19644


Documentation & Testing Improvements

As part of 1.10, I'd like to get done a few things related to documentation/testing. This issue serves as a checklist both for myself and as a comment area for anything anyone else can think needs to happen related to docs & testing.
List of things:

[x] Add API documentation (in progress - #122)
[ ] Improve Travis release process to auto-update the gh-pages branch
[ ] Add code coverage via coveralls or similar

[ ] Based on code coverage results, improve test coverage

Could you also show how to view the source code for the demos?

@jacobq great idea! I'll definitely add that :)

This project is now being maintained by the team at @heroku.
To get the project healthy and maintainable again, we're doing a bit of spring cleaning of older issues and pull requests. This issue hasn't been touched in a while so we're closing it.
Please feel free to re-open if you'd like to resume the conversation.


Reevaluate package external dependencies

The package currently declares many external Python package dependencies and indeed many packages are installed with Taweret.  However, some of these are likely not true dependencies (i.e, not needed for a minimal, functional, correct installation).
For example, GitHub actions need to test coverage, but users don't.  So, no need to install pytest-cov.  Similarly, GH actions need to generate the sphinx documentation, but most users won't.  If they do, I think that it's reasonable that they install all the sphinx packages manually.  Need to figure out what to do for notebook-based examples.

Yes, I have seen certain repositories that have test_requirements.txt files which specify the dependencies that need to be installed to run test. Is that the kind of solution you envision here?

That might be one way to go.  To be clear, I created this Issue to make sure we don't forget about this.  I doubt that this is high-priority.  Do you agree?
We can think about this in three ways:

What is needed for GitHub actions?
What is needed for developers?
What is needed for users?

In our next meeting, we can go over what I presently have done, which provides a single solution for (1) and (2) and potentially some users.

I grepped each dependence in pyproject.toml in the package's *.py source files and removed all those that don't appear anywhere.
I suspect that some of the original dependencies were included originally so that each Taweret wheel had all dependencies needed for all tasks (e.g., building sphinx docs, running code coverage).  However, users wouldn't generally run many of those and therefore, it makes sense to move them out.  This is acceptable in terms of developers because the tox tasks know what extra packages are needed and automatically install those.
In the case that some removed packages were included as dependencies of Taweret's actual dependencies, I propose that we assume that each Taweret dependence correctly specifies its dependences so that pip should automatically install the full stack.  If the assumption is valid, then maintaining the list of actual dependencies should be easier this way.

@asemposki I've advance the work for this issue and have some questions.
The notebook-only dependency, seaborn, is now specified in the book tox tasks so that the GH jupyterbook actions have everything they need.  Should the need to manually install seaborn be noted somewhere in the examples portion of the documentation?  Or are the examples now really only meant for people to read in the online book?
bilby has many layers of requirements.  At the moment, I am just assuming that tox, the actions, and users will use its mandatory dependencies
https://git.ligo.org/lscsoft/bilby/-/blob/master/requirements.txt?ref_type=heads
which includes some packages used by the notebooks (e.g., corner and pandas).
I didn't find ptemcee being imported anywhere in this repo.  However, it appears to be needed by the examples through bilby.  It is only one of many optional sampler dependencies
https://git.ligo.org/lscsoft/bilby/-/blob/master/sampler_requirements.txt?ref_type=heads
How is Bilby integrated into Taweret?  Is the use of ptemcee hardcoded or do users have the ability to specify a particular Bilby-supported sampler?
Based on your responses, how should we manage these sampler dependences?  Should we include some or all of the samplers as mandatory dependences in pyproject.toml so that all users install them even if they don't use them?  Should the docs tell users to manually install their samplers of choice or to just install all samplers as shown here?
https://lscsoft.docs.ligo.org/bilby/samplers.html#installing-samplers
In such a case, I would move ptemcee to the book tox tasks.
We'll have to think about this more after the review in terms of ensuring that we catch when a sampler you use is no longer offered in Bilby.

@jared321 I envisioned the Jupyter Book as a place to link from so users could run those notebooks in their own code space or locally if they wish, so I would think that seaborn is then a local dependence. It could also be completely removed since it is only for colour palettes and plot styling, but I vote we leave it and make it a dependence when running notebooks locally.
bilby is used by Taweret as the official sampler wrapper, so when you call it, you can specify the sampler type. Dan's notebooks show the various arguments the user can specify externally so that a different sampler, number of walkers, steps, output printing, etc., are chosen. So yes, the idea would be to allow users to use any of the samplers available through bilby, hence this is where ptemcee is included.
I'm not 100% sure which option is best---including all samplers from the start or downloading them as needed---but given that the bilby documentation claims that if a user tries to use one that is not installed, a "helpful message will be printed", that may be enough, meaning that we only use the default dependences of bilby and then users can install more if they want a different sampler. Probably for cleanliness and keeping things as light as possible, this would be the best option.

@asemposki It sounds reasonable to me that we ask users to manage the optional samplers in their installation since this gives them more freedom and power to manage their needs.  It also seems acceptable since using a different sampler requires that the user manually specify the use of that sampler - there should be no surprises.
If I understood correctly, then

seaborn & ptemcee are to be installed manually by users who want to run the example notebooks locally and we will note in the docs that this user responsibility exists
seaborn & ptemcee will not be declared as dependences in pyproject.toml
seaborn & ptemcee will be declared as dependences in tox.ini for the book tasks
Bilby-based optional samplers will otherwise not be declared as dependences in pyproject.toml or tox.ini.  We will note in the docs that users are responsible for manually installing all Bilby-supported samplers that they wish to use.

Correct?

Yes, and I will include in those notebooks a commented out !pip install seaborn and !pip install ptemcee so that they can see to install those there to run the examples. It seems reasonable to me to keep dependences to a minimum.

This is now in main in preparation for the next release.  Closed.


Replace or cooperate？

Hi teacher,I want to use PN in my project now,but I have a question,should I replace PN with BN or let BN and PN work together? Which one will get a better result? Thank you !

Hi @Beanmar,
Thank you for your interest. Based on our ablation study on image-to-image translation, using PONO and BN together leads to better results. However, we cannot guarantee it on other tasks. We are working on exploring PONO on other tasks.
Best,
Felix

Hi, @Beanmar ,
Thanks for your interest in PONO.
Based on our research on generative models with PONO and Moment Shortcut, we find they could be compatible with BN and would help improve the performance if used appropriately.
Since I am not sure what kind of project you are doing now, my suggestion is that you could try both and find the best way to use it.  [ I would feel very glad if it could help your project. ;) ]
Hope this helps.
Boyi

I am closing this issue. Please feel free to re-open it if you have other questions.

OK, thank you  teachers!


Add Polynomial Protocol

Revision checks

[x] Your Safe App include a manifest.json file at the root with the required data
[x] The app can be loaded as a custom Safe App in the Apps section of https://gnosis-safe.io/app
[x] The app auto-connects to the Safe
[x] You are able to trigger and execute one transaction with a Safe
[x] RPC requests are optimized (not triggering many requests in a very short time period)

Name/Description
Polynomial Earn Vaults: Polynomial automates financial derivative strategies to create products that deliver passive yield on various assets.
Type

New addition

Compatible Networks

Optimism Mainnet

Code for review
Repo Private but verified in etherscan: deployed-contracts . Can add the team to repo.
IPFS hash/App URL
https://earn.polynomial.fi/
Desired date
N/A

Hey, the app doesn't seem to auto-connect to the Safe

We have fixed the above mentioned issues. Can you please review it again ?

@mikhailxyz I have sent you an invite to view the front end repository. Please take a look.

@deoraC thanks. Everything looks good on the integration end. We have two options now:

Release the app instantly
Schedule the release for October 25th to coordinate some marketing efforts

Thanks @mikhailxyz
We will prefer the second option.

Schedule the release for Tuesday, October 25th, to coordinate some marketing efforts

@mikhailxyz Hello, any updates on the safe app release ? We didn't come across any marketing by Gnosis and we don't see Polynomial app in safe apps section on Gnosis.

@deoraC Hey, apologies for the delay. The Safe app is now live on optimism. Unfortunately, we haven't received anything from your side to coordinate marketing. Therefore, no marketing has been done.


⚠ Samsung has degraded performance

In 54897a1, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2531 ms

Resolved: Samsung performance has improved in c45d907.


Add inline secrets for vault-env/vault-secrets-webhook

Signed-off-by: Lord-Y<EMAIL_ADDRESS>

Q
A

Bug fix?
no

New feature?
yes

API breaks?
no

Deprecations?
no

Related tickets
N/A

License
Apache 2.0

What's in this PR?
This PR permit inline secrets mutation from vault-env/vault-secrets-webhook

[x] Code meets the Developer Guide
[ ] User guide and development docs updated (if needed)
[ ] Related Helm chart(s) updated (if needed)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@bonifaido @pbalogh-sa Can you guys relaunch the "CI / Acceptance test (pull_request)"?


Adding load control on sublevels

Description
There have been added two new functions to control the layers being loaded on the map: load_map_layer and unload_map_layer.
This only works in new maps that were created with sub-levelling in UE. Does not perform any actions in old maps.
There have been updated too the load_world to support this feature, so the client is able to configure the sublayers when the map is loaded.
To select the sublayers a new enum has been added carla.MapLayer. This enum works as a bitfield making it possible to select more than one layer at once.
The manual_control.py script has been updated with this feature, working as a testing scenario and example for users.
Where has this been tested?

Platform(s): Ubuntu 18.04
Python version(s): 3
Unreal Engine version(s): 4.24

This change is


1.0.14_crab version of Fix logic for CondorStatusService availability check

There was an issue discovered during validation that the CondorStatusService is being added incorrectly. Discussion can be found here https://github.com/dmwm/CRABServer/issues/5186#issuecomment-204324695. Since the service is available from CMSSW_7_6_0 onwards (https://github.com/dmwm/CRABServer/issues/5186#issuecomment-204381799), a fix is needed. After the merge we would also like a new tag, 1.0.14_crab_5 for our branch.

You need to fix the print (or remove them).

Interesting. Removed the print.

Ah, sorry, I looked too briefly. The print was not your problem so you should not have had to fix it. But thanks anyhow. (it stuck around from the commit you branched from).

@emaszs tag 1.0.14_crab_5 has been just created


Uncaught TypeError: jQ(...).autocomplete is not a function

[Enter steps to reproduce below:]

...
...

Atom Version: 1.8.0
System: Mac OS X 10.11.5
Thrown From: browser-plus package, v0.0.65
Stack Trace
Uncaught TypeError: jQ(...).autocomplete is not a function
At /Users/raflemin/.atom/packages/browser-plus/lib/browser-plus-view.coffee:98

TypeError: jQ(...).autocomplete is not a function
    at BrowserPlusView.module.exports.BrowserPlusView.initialize (/Users/raflemin/.atom/packages/browser-plus/lib/browser-plus-view.coffee:98:16)
    at BrowserPlusView.View [as constructor] (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:184:25)
    at new BrowserPlusView (/Users/raflemin/.atom/packages/browser-plus/lib/browser-plus-view.coffee:23:5)
    at ViewRegistry.module.exports.ViewRegistry.createView (/Applications/Atom.app/Contents/Resources/app.asar/src/view-registry.js:136:16)
    at ViewRegistry.module.exports.ViewRegistry.getView (/Applications/Atom.app/Contents/Resources/app.asar/src/view-registry.js:86:21)
    at atom-pane.PaneElement.activeItemChanged (/Applications/Atom.app/Contents/Resources/app.asar/src/pane-element.js:132:29)
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at Pane.module.exports.Pane.setActiveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:282:22)
    at Pane.module.exports.Pane.activateItemAtIndex (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:414:19)
    at Pane.module.exports.Pane.activateNextItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:369:21)
    at Pane.module.exports.Pane.removeItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:562:16)
    at Pane.module.exports.Pane.destroyItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:637:16)
    at atom-tabs.TabBarView.closeTab (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:321:26)
    at atom-tabs.TabBarView.closeAllTabs (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:452:28)
    at Object.addElementCommands.tabs:close-all-tabs (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:120:26)
    at atom-tabs.commandsWithPropagationStopped.(anonymous function) (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:86:36)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:160:19)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchContextMenuCommand (/Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:1106:28)
    at EventEmitter.outerCallback (/Applications/Atom.app/Contents/Resources/app.asar/src/application-delegate.js:340:25)
    at emitThree (events.js:97:13)
    at EventEmitter.emit (events.js:175:7)

Commands
  3x -3:24.6.0 core:move-right (atom-text-editor.editor.is-focused)
  3x -3:18.6.0 editor:newline (atom-text-editor.editor.is-focused)
     -2:55.6.0 core:backspace (atom-text-editor.editor.is-focused)
     -2:48.6.0 core:move-right (atom-text-editor.editor.is-focused)
     -2:29.9.0 autoclose-html:close-and-complete (atom-text-editor.editor.is-focused)
 12x -2:24.2.0 core:backspace (atom-text-editor.editor.is-focused)
  2x -2:08.3.0 core:move-right (atom-text-editor.editor.is-focused)
  2x -2:06.1.0 editor:newline (atom-text-editor.editor.is-focused)
     -1:56.4.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
     -1:51.2.0 core:move-right (atom-text-editor.editor.is-focused)
  2x -1:42.2.0 editor:newline (atom-text-editor.editor.is-focused)
     -1:39.7.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active)
     -1:30.7.0 core:move-right (atom-text-editor.editor.is-focused.autocomplete-active)
     -1:24.8.0 core:save (atom-text-editor.editor.is-focused)
     -0:29.2.0 browser-plus:open (atom-text-editor.editor.is-focused)
     -0:00.9.0 tabs:close-all-tabs (div.title)

Config
{
  "core": {
    "themes": [
      "atom-dark-ui",
      "an-old-hope-syntax"
    ]
  }
}

Installed Packages
# User
an-old-hope-syntax, v0.5.0
atom-beautify, v0.29.9
atom-html-preview, v0.1.21
auto-detect-indentation, v1.1.0
autoclose-html, v0.23.0
browser-plus, v0.0.65
color-picker, v2.1.1
file-icons, v1.7.16
linter, v1.11.14
minimap, v4.24.7
pigments, v0.31.0

# Dev
No dev packages

i had the same issue right now, just installed the package for tryin and when I open it it says many times "Uncaught TypeError: jQ(...).autocomplete is not a function"
# atom -v

Atom    : 1.8.0
Electron: 0.36.8
Chrome  : 47.0.2526.110
Node    : 5.1.1

Stack trace
TypeError: jQ(...).autocomplete is not a function
    at BrowserPlusView.module.exports.BrowserPlusView.initialize (/home/user/.atom/packages/browser-plus/lib/browser-plus-view.coffee:102:16)
    at BrowserPlusView.View [as constructor] (/usr/share/atom/resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:184:25)
    at new BrowserPlusView (/home/user/.atom/packages/browser-plus/lib/browser-plus-view.coffee:27:5)
    at ViewRegistry.module.exports.ViewRegistry.createView (/usr/share/atom/resources/app.asar/src/view-registry.js:136:16)
    at ViewRegistry.module.exports.ViewRegistry.getView (/usr/share/atom/resources/app.asar/src/view-registry.js:86:21)
    at atom-pane.PaneElement.getActiveView (/usr/share/atom/resources/app.asar/src/pane-element.js:194:25)
    at atom-pane.<anonymous> (/usr/share/atom/resources/app.asar/src/pane-element.js:51:55)
    at atom-pane.PaneElement.activated (/usr/share/atom/resources/app.asar/src/pane-element.js:113:19)
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at Pane.module.exports.Pane.activate (/usr/share/atom/resources/app.asar/src/pane.js:809:27)
    at Immediate._onImmediate (/usr/share/atom/resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:662:33)
    at processImmediate [as _immediateCallback] (timers.js:383:17)

how did you fixed it, in your case?

check FAQ. also try going to cmd prompt and into the browser-plus directory and
npm install

I did it, and I did all of the things described in the FAQ but I still have the problem I've also downloaded the github version and tried with that but is not working.

Can you delete the Jquery/ui directory and do a npm install again in the browser-plus directory

I tried by removing jquery-ui:
apm rebuild-module-cache  // as described in FAQ
rm -rf node_modules/jquery*
npm install

but I get the same error as soon as I focus the address bar :[

can you share a screen shot of node_modules/jquery_ui/ directory and package.json details for dependencies

Also having this same problem. Why is this issue closed?
jquery-ui directory:
1
2
package.json of browser-plus and jquery-ui in node_modules:
browser-plus
jquery-ui

That is exactly how it needs to be. The jquery 1.10.5 looks fine. I am not sure why jQ.autocomplete will not be available after the require statement works. I am going to open it this again to see if anybody else can throw some light.

Building it manually as #98 says fixes it for me.

[Enter steps to reproduce below:]

...
...

Atom Version: 1.2.4
System: Unknown Windows Version
Thrown From: browser-plus package, v0.0.87
Stack Trace
Uncaught TypeError: jQ(...).autocomplete is not a function
At /C:/Users/Administrator/.atom/packages/browser-plus/lib/browser-plus-view.coffee:36

TypeError: jQ(...).autocomplete is not a function
    at file:///C:/Users/Administrator/.atom/packages/browser-plus/lib/browser-plus-view.coffee:21:16
    at Emitter.module.exports.Emitter.emit (C:\Users\Administrator\AppData\Local\atom\app-1.2.4\resources\app.asar\node_modules\event-kit\lib\emitter.js:86:11)
    at HTMLEditor.module.exports.HTMLEditor.destroyed (file:///C:/Users/Administrator/.atom/packages/browser-plus/lib/browser-plus-model.coffee:38:16)
    at HTMLEditor.module.exports.Model.destroy (C:\Users\Administrator\.atom\packages\browser-plus\node_modules\theorist\lib\model.js:218:14)
    at Pane.module.exports.Pane.destroyItem (C:\Users\Administrator\AppData\Local\atom\app-1.2.4\resources\app.asar\src\pane.js:451:18)
    at atom-tabs.TabBarView.onClick (C:\Users\Administrator\AppData\Local\atom\app-1.2.4\resources\app.asar\node_modules\tabs\lib\tab-bar-view.js:695:17)

Commands
  2x -9:39.5.0 tree-view:remove (span.name.icon.icon-file-directory)
     -7:16.5.0 pane:split-down (atom-pane.pane.active)
     -7:11.7.0 pane:split-up (atom-pane.pane.active)
  2x -7:07.2.0 pane:close (atom-pane.pane.active)
     -7:02.2.0 pane:split-left (atom-pane.pane.active)
     -6:44.3.0 encoding-selector:show (atom-text-editor.editor.is-focused)
     -6:41 browser-plus:open (atom-text-editor.editor.is-focused)
     -6:22.5.0 pane:split-right (webview.native-key-bindings)
     -3:06.7.0 window:toggle-menu-bar (atom-text-editor.editor.is-focused)
     -2:59.8.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:54.8.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:51.9.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:51.9.0 autocomplete-plus:activate (atom-text-editor.editor.is-focused)
  2x -0:43.6.0 core:save (atom-text-editor.editor.is-focused)
  2x -0:21.6.0 browser-plus:open (atom-text-editor.editor.is-focused)
     -0:08.5.0 pane:split-right (atom-pane.pane.active)

Config
{
  "core": {},
  "browser-plus": {}
}

Installed Packages
# User
browser-plus, v0.0.87
emmet, v2.4.3
emmet-atom-master, vundefined
pigments, v0.33.1

# Dev
No dev packages

[Enter steps to reproduce:]

...
...

Atom: 1.14.1 x64
Electron: 1.4.15
OS: "Manjaro Linux"
Thrown From: browser-plus package 0.0.87
Stack Trace
Uncaught TypeError: jQ(...).autocomplete is not a function
At /home/likivik/.atom/packages/browser-plus/lib/browser-plus-view.coffee:366

TypeError: jQ(...).autocomplete is not a function
    at BrowserPlusView.module.exports.BrowserPlusView.goToUrl (/packages/browser-plus/lib/browser-plus-view.coffee:366:16)
    at /packages/browser-plus/lib/browser-plus-view.coffee:345:12)
    at HTMLInputElement.dispatch (/usr/lib/atom/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLInputElement.elemData.handle (/usr/lib/atom/node_modules/jquery/dist/jquery.js:4121:28)

Commands
     -5:39.9.0 command-palette:toggle (atom-pane.pane.active)
  4x -5:35.8.0 core:move-down (input.hidden-input)
     -5:35 core:move-up (input.hidden-input)
     -5:34.7.0 core:confirm (input.hidden-input)
     -5:34.7.0 browser-plus:openCurrent (atom-pane.pane.active)
     -5:17.4.0 tree-view:copy-project-path (span.name.icon.icon-file-text)
     -5:12.9.0 tree-view:copy-full-path (span.name.icon.icon-file-text)
  2x -3:37.5.0 core:save (atom-pane.pane.active)
  2x -3:28 key-binding-resolver:toggle (input.hidden-input)
     -3:26 settings-view:open (input.hidden-input)

Non-Core Packages
browser-plus 0.0.87
emmet 2.4.3

Experiencing this too

Hey guys. I had the same experience. After installing 'browser-plus' from 'package' menu, I started the server and got the answer "Uncaught TypeError: jQ(...).autocomplete is not a function".
To solve this problem, I've just closed Atom and started it again. That's it! I hope it helps you too.

Hi all,
I had the same issue.
I installed package "autocomplete" and that solved it.
Hope that helps.

check the latest patch ....if still issue try  running apm rebuild-module-cache on the atom packages directory

Hi, I'm getting this error too and I tried running apm rebuild-module-cache and it did not work.
Here is the error Atom threw: [Enter steps to reproduce:]

...
...

Atom: 1.17.2 x64
Electron: 1.3.15
OS: Microsoft Windows 10 Home
Thrown From: browser-plus package 0.0.91
Stack Trace
Uncaught TypeError: jQ(...).autocomplete is not a function
At C:\Users\urban\.atom\packages\browser-plus\lib\browser-plus-view.coffee:375

TypeError: jQ(...).autocomplete is not a function
    at BrowserPlusView.module.exports.BrowserPlusView.goToUrl (/packages/browser-plus/lib/browser-plus-view.coffee:375:16)
    at /packages/browser-plus/lib/browser-plus-view.coffee:354:12)
    at HTMLInputElement.dispatch (/packages/browser-plus/node_modules/space-pen/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLInputElement.elemData.handle (/packages/browser-plus/node_modules/space-pen/node_modules/jquery/dist/jquery.js:4121:28)

Commands
     -5:05.9.0 command-palette:toggle (atom-pane.pane.active)
     -5:04.5.0 browser-plus:open (input.hidden-input)
     -2:40.3.0 command-palette:toggle (ul.list-inline.tab-bar.inset-panel)
     -2:37.1.0 browser-plus:open (input.hidden-input)

Non-Core Packages
browser-plus 0.0.91
Hydrogen 1.16.0

try uninstalling the package and reinstalling again.and then apm rebuild-module-cache

It still gives what appears to be the same error message

I just took care of jquery/autocomplete...check the latest patch

Hello,
Same error; I’ve followed the indications under 0. On FAQ. Not working.
The package is up to date. Do you have another link to the patch you’re mentioning?
Rgrds

yes one more patch ...try that...

There is some other package which is overwriting the jquery autocomplete plugin..so I have switched off the dropdown search help from bing/google as you type in the url bar for those who are having issues..for now


feat(resolver): Add label dependency type to new resolver

Description of the change:
Introduce the new label dependency as predicate for the resolver.
Also add new function to match label dependency against operator
properties.
Signed-off-by: Vu Dinh<EMAIL_ADDRESS>Motivation for the change:
Add an option for operator authors to fine-tune the dependency selection in case of conflicts. The label dependency can be used as a mark/filter for the resolver to select the desirable operator during dependency resolution.
Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Docs updated or added to /docs
[ ] Commit messages sensible and descriptive

/hold
Put a hold here pending further review and approval.

looks good - can you add a test case to the resolver_tests?

/hold cancel

@anik120 @ecordell Test case added. PTAL

/approve

/retest

/lgtm

/retest

/retest

/retest

/retest

/retest

/retest

/hold

/hold cancel
/retest

/retest

/lgtm


Conforming color stylers

Sometimes in UITextview, UILabel, and UITextField you could use color= and sometimes you had to use text_color.   Sometimes it was aliased, and sometimes it wasn't!
This makes all 3 use and respond to text_color and color stylers for setting .textColor on a view.


Support Qwen2

Hi, do you have plan to support Qwen2 training acceleration?
From transformers >= 4.37.0:
https://github.com/huggingface/transformers/blob/abbffc4525566a48a9733639797c812301218b83/src/transformers/models/qwen2/modeling_qwen2.py

@songkq Oh it should be supported if you use Llama-Factory's llamafy script. Ie maybe try https://huggingface.co/models?search=qwen llama. On the other hand, if some don't exist, you can try out Llama-Factory's script to convert Qwen to a Llama arch!

@danielhanchen Yeah. It works.
But Unsloth cannot patch Attention layers with our manual autograd engine since either LoRA adapters are not enabled or a bias term (like in Qwen) is used.
Unsloth cannot patch O projection layer with our manual autograd engine since either LoRA adapters are not enabled or a bias term (like in Qwen) is used.
Unsloth 2024.1 patched 40 layers with 0 QKV layers, 0 O layers and 40 MLP layers.
Do you have plan to support Qwen2 completely?

@songkq Oh wait actually on further investigation Qwen 1.5 / 2 has combined sliding window and normal attention right - I think on shorter context windows it works, but larger ones I don't think I made it work (yet). On biases in QKV - I'll see what I can do for a future release for biases!

@danielhanchen Yeah. It works.
But Unsloth cannot patch Attention layers with our manual autograd engine since either LoRA adapters are not enabled or a bias term (like in Qwen) is used. Unsloth cannot patch O projection layer with our manual autograd engine since either LoRA adapters are not enabled or a bias term (like in Qwen) is used. Unsloth 2024.1 patched 40 layers with 0 QKV layers, 0 O layers and 40 MLP layers.
Do you have plan to support Qwen2 completely?

How did you convert the Qwen1.5/2 models to llama-format?

@NilanEkanayake So there are some pre converted Qwen models on HuggingFace if you search for "qwen llama".
In terms of Qwen 1.5 / 2 - if it's a top feature request, I can add it in natively into Unsloth :)

@NilanEkanayake So there are some pre converted Qwen models on HuggingFace if you search for "qwen llama".
In terms of Qwen 1.5 / 2 - if it's a top feature request, I can add it in natively into Unsloth :)

Please,add qwen1.5/2,need it.

@songkq Oh it should be supported if you use Llama-Factory's llamafy script. Ie maybe try https://huggingface.co/models?search=qwen llama. On the other hand, if some don't exist, you can try out Llama-Factory's script to convert Qwen to a Llama arch!

First, there is no code to convert Qwen 1.5 to Llama; Only the code that changed from Qwen to Llama. Second, the lamafied model has a lot to lose.

@songkq Oh it should be supported if you use Llama-Factory's llamafy script. Ie maybe try https://huggingface.co/models?search=qwen llama. On the other hand, if some don't exist, you can try out Llama-Factory's script to convert Qwen to a Llama arch!

First, there is no code to convert Qwen 1.5 to Llama; Only the code that changed from Qwen to Llama. Second, the lamafied model has a lot to lose.

@Minami-su Oh interesting llama-fying it made it worse? That's very unexpected

I'll see what I can do for Qwen 1.5/2 :))

Are you still doing the work? Hope to see any progress. @danielhanchen

@whyiug Hmmm I'm expecting most people to move over to Llama-3 - unless if Qwen is still needed by the community, I can work on it, but generally Llama-3 is SOTA for now

Looking forward to supporting Qwen2.

@whyiug Hmmm I'm expecting most people to move over to Llama-3 - unless if Qwen is still needed by the community, I can work on it, but generally Llama-3 is SOTA for now

@danielhanchen  Hi, considering that Qwen is one of the most popular SOTA LLM that supports Chinese, it's worth to support it in unsloth.

Can take another look at Qwen!

So sorry on the delay @maiqingqiang @whyiug @songkq @Minami-su
Just added it in via a new PR by someone!
If you're on a local machine, please update Unsloth via
pip uninstall unsloth -y
pip install --upgrade --force-reinstall --no-cache-dir git+https://github.com/unslothai/unsloth.git

Colab and Kaggle is fine (just restart it)

So sorry on the delay @maiqingqiang @whyiug @songkq @Minami-su
Just added it in via a new PR by someone!
If you're on a local machine, please update Unsloth via
pip uninstall unsloth -y
pip install --upgrade --force-reinstall --no-cache-dir git+https://github.com/unslothai/unsloth.git

Colab and Kaggle is fine (just restart it)

So do you support Qwen1.5 or Qwen2 after the1 updating?

@141forever Oh my apologies on the horrid delay - doing some Github Issues spring cleaning - I'm assuming you saw, but Qwen 2.5 is supported for now


Support flow-router groups

ActiveRoute.group and {{isActiveGroup}}.
Can we translate this over to iron:router too, by checking prefix in url?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28846107-support-flow-router-groups?utm_campaign=plugin&utm_content=tracker%2F522373&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F522373&utm_medium=issues&utm_source=github).

+1

+1

+1, Now could I use it with group?

but I try to use isActivePath instead.

I tried  to use isActivePath, but it don't reactive when I change link.


Is there a plan to update mmdet, mmcv version?

Hello, I'm wondering is there a plan to update this project based on mmdet 3.x, mmcv 2.x since now they are mmdet 2.x, mmcv 1.x as I know.
Thanks in advance

Dear @BloomBerry ,
We are communicating with the model team on the version update support. Stay tuned.
Best.


Build is not outputting HTML files

Short description of the problem:
Running any of the build commands does not output HTML files. This issue occurred to me before but then somehow it got fixed. Now I'm getting the same issue again after updating to latest version of ionic-app-scripts. I tried downgrading back to 0.0.27 but that's not helping.
Creating a fresh project results in the same problem.
I also tried spinning up a fresh Ubuntu container and I had the same problem there.
www/build contains only the following files:
main.css  main.js  main.js.map  polyfills.js

Steps to reproduce:

Create a new project
Run npm run build or npm run build --dev

Cordova CLI: 6.3.1
Gulp version:  CLI version 3.9.1
Gulp local:   Local version 3.9.1
Ionic Framework Version: 2.0.0-rc.0
Ionic CLI Version: 2.1.0-beta.3 (tried with latest stable and beta, no difference)
Ionic App Lib Version: 2.1.0-beta.1 (tried with latest stable and beta, no difference)
OS: Distributor ID:	Ubuntu Description:	Ubuntu 16.04.1 LTS
Node Version: v6.7.0

I'm having the same Problem. Only inline templates are in the main.js and no html files are copied.
For example:
LoginPage = __decorate$114([         Component({             templateUrl: 'login.html',         }),          __metadata$8('design:paramtypes', [(typeof (_a = typeof TranslateService !== 'undefined' && TranslateService) === 'function' && _a) || Object, (typeof (_b = typeof NavParams !== 'undefined' && NavParams) === 'function' && _b) || Object])     ], LoginPage);     return LoginPage;
But login.html is not copied and not inlined

Hello all! Thanks for using Ionic! @DominikTrenz Do you have multiple components in the same file? If so then we are addressing this issue here #115 .

@danbucholtz yeah that was it.. didn't realise the templates were inlined. Thanks!


feature: Geometry Score

Closes #19.
I took official implementation repo and added faster computation.
By default it worked only on 1 CPU, which was super slow for big number of iterations. Now number of processes can be set, which gives 4-8x boost.

Okey, so I changed a couple things and now it should be good.
Here is some notes on improvements:

np.random.seed() in witness function is needed because otherwise numpy generates simular numbers in different threads. It's a common, but not well-known problem of using miltiprocessing.Pool()
@denproc  suggested to use torch.cdist, but it can be 40x times slower, than scipy version. I tried to get rid of numpy and rewritten everything on pure PyTorch as suggested in #56. Result: 3.5 increase in computation time, mainly because of cdist function (and even using this code didn't help much). So rolled everything back.

Review it again and let's merge

@denproc @snk4tr
Hey, let's close this PR. Please review and merge it if everything is OK


Linux version?

Hello and thanks for these patches.
I wonder if there is a way to apply them to the linux Appimage as well?
thanks in advance

It's a bash script on Linux. It tries to be self-contained as possible, but it still requires some packages to be installed to work with OpenJDK being essential. If the system doesn't support the included aapt and xdelta3 binaries, then those packages need to be installed too.  Practically it won't work as an AppImage if you consider how it works, and even if I could, if would be a very large one due to the Java requirement to sign the apks

Thank you but I don't think you understood what I meant 😁. AetherSX2 has an aarch64 version that is designed for SBCs as well as maybe Apple Silicon. Do we have a way to apply those patches to those releases instead of the apk?

This is meant for the Android version only. While there are ports to other ARM based systems - and you can replace the widescreen, no-interlacing, controller db and GameDB of those versions with the ones in this project - it's not within the scope of the project to cover them


Please release a new version compatible with Django 1.10

The latest PyPI version is 0.8.3 which is incompatible with Django 1.10

Yeah, sorry about that.  We're getting the 0.9/1.0 stuff on master cleaned up for proper release.  Using master should work better, although it's part of the API redesign, so check the readme for links to the new documentation and included example project.

Is there a timeline for this?  It would be incredibly helpful if this could get done sooner rather than later.

Hey Pamela - We will get in out this coming week - We are also moving to it ;)

Great, then we'll do development off of the 0.9/beta branch!

👉  (poke) Any news for 0.9 release to pypi?

I'll be fixing documentation and closing a few outstanding items and then we should be in the clear!

Thanks

Busy week last week, but we'll have this available as soon as possible.

Thank you for your work. :+1:  I am looking forward to this fix. :)

do you have any news on this fix?
Appreciate the work!

Meanwhile, if you'd like to remain on the 0.8X release, and would like compatibility with Django 1.10/1.11, here is a fork with compatibility updates: https://github.com/azreda/django-datatable-view

@azreda  is it released to PyPI?

@utapyngo no PyPI plans. Just a set of workarounds until an official solution.

Won't you mind if I release it to PyPI?

@utapyngo I don't think that's a good idea because it'll be confusing with this project, and gives the illusion of support. I think interested people can find it on this thread, and let's have the regular contributors chime on their plans for Django 1.10+ support first.

I am not a django-datatable-view developer, so I can't and did not mean to release it as django-datatable-view. I meant another name, say, django-datatable-view-compat.

@utapyngo Is directly installing the @azreda mirror repo not sufficient?  I assumed you avoided installing our master branch due to the new syntaxes and wanted 0.8 with Django 1.10 fixes, but it sounds like your primary concern is having it on PyPI.  Of course, we definitely intend to have our 1.0 released there soon, but installing directly from a github URL is a useful stopgap until the PyPI release happens.

@tiliv pip caching does not seem to work well with repos, so I want to install all dependencies from PyPI.

@utapyngo That's an unfortunate problem to have for how useful the feature is.  I'm not sure what would cause that.
I tend to agree with @azreda concerning the publishing of a repo that will never be updated—I'd probably be more keen on fixing whatever's wrong with pip than resorting to publishing a stopgap repo.  That said, I suppose there are plenty of orphaned one-off packages on PyPI.
We'll get our release out soon, but be warned that it will require porting a few bits of code to use it once it lands.

@tiliv  The problem is that pip must clone the repo anew for every install, ignoring the default download cache entirely.
https://stackoverflow.com/questions/28158192/caching-remote-repository-for-pip-installs

@utapyngo Hm.  Well, when we release to PyPI, it goes to github and grabs the install payload there.  We don't host anything on PyPI, so it sounds like the difference would be "cloning" versus fetching the payload.  Using the -e option in pip when targetting a repo would make it do a real clone, but omitting it I believe just installs it to your env/src/ folder in essentially the same way as a PyPI install.

@azreda  you repo is based on 0.8.2.
Could you merge 0.8.3?

@tiliv any updates on 1.0? Is Django 1.11 supporter with the current github version (0.9.0-beta.6) or we should use the forked one from @azreda

Any updates?

@Suor: I have uploaded @azreda's version to https://pypi.python.org/pypi/django-datatable-view-compat/0.8.2
The upcoming 0.8.3 version will be compatible with Django 2.0 (sources here: https://github.com/utapyngo/django-datatable-view/tree/django20)

@utapyngo thanks


Feed list sidebar always visible on launch

There's apparently no way to have it hidden by default, as it was when I quit NetNewsWire.
Curiously if I build NetNewsWire myself and run that, it saves the full window state just fine.  It's only the official release builds that are broken.
It appears that the isSidebarHidden window state key is being explicitly stripped out of the preferences when NetNewsWire launches.  i.e. even if I manually add it into the prefs file, it disappears immediately when NetNewsWire is launched.  NetNewsWire doesn't save it into the prefs at any point.
Perhaps related, I find it suspicious that SceneCoordinator.stateRestorationActivity forcefully resets the relevant userinfo - it doesn't seem like merely creating an NSUserActivity should muck with actual program state.  Though that method never seems to be invoked in my own builds, perhaps is in the official releases for some reason?
What is in the prefs, is this:
<dict>
	<key>readArticlesFilterStateValue</key>
	<array>
		<true/>
	</array>
	<key>windowFullScreenState</key>
	<false/>
	<key>mainWindowWidthsStateKey</key>
	<array>
		<integer>166</integer>
		<integer>416</integer>
		<integer>903</integer>
	</array>
	<key>isShowingExtractedArticle</key>
	<false/>
	<key>selectedFeedsState</key>
	<array>
		<dict>
			<key>type</key>
			<string>smartFeed</string>
			<key>id</key>
			<string>UnreadFeed</string>
		</dict>
	</array>
	<key>readFeedsFilterState</key>
	<false/>
	<key>articlePath</key>
	<dict>
		<key>accountID</key>
		<string>iCloud</string>
		<key>webFeedID</key>
		<string>Redacted</string>
		<key>accountName</key>
		<string>iCloud</string>
		<key>articleID</key>
		<string>Redacted</string>
	</dict>
	<key>readArticlesFilterStateKey</key>
	<array>
		<dict>
			<key>type</key>
			<string>folder</string>
			<key>accountID</key>
			<string>OnMyMac</string>
			<key>folderName</key>
			<string>News & Blogs</string>
		</dict>
	</array>
	<key>containerExpandedWindowState</key>
	<array>
		<dict>
			<key>type</key>
			<string>folder</string>
			<key>accountID</key>
			<string>iCloud</string>
			<key>folderName</key>
			<string>News & Blogs</string>
		</dict>
		<dict>
			<key>type</key>
			<string>folder</string>
			<key>accountID</key>
			<string>OnMyMac</string>
			<key>folderName</key>
			<string>Redacted</string>
		</dict>
		<dict>
			<key>type</key>
			<string>account</string>
			<key>accountID</key>
			<string>OnMyMac</string>
		</dict>
		<dict>
			<key>type</key>
			<string>folder</string>
			<key>accountID</key>
			<string>iCloud</string>
			<key>folderName</key>
			<string>Redacted</string>
		</dict>
		<dict>
			<key>type</key>
			<string>account</string>
			<key>accountID</key>
			<string>iCloud</string>
		</dict>
		<dict>
			<key>type</key>
			<string>smartFeedController</string>
		</dict>
	</array>
</dict>

I should add that this happens on all my Macs, including one that was recently clean-installed from brand new, and had NetNewsWire installed fresh.  The only connection between my Macs is iCloud syncing.


feat: Recursion bindings

I am using this branch: mv/recursion-binds.
You can build using nix build . --override-input barretenberg github:AztecProtocol/barretenberg/mv/recursion-binds inside the vscode direnv.
Or you can use a separate terminal to use nix flake lock --override-input barretenberg github:AztecProtocol/barretenberg/mv/recursion-binds

Have a lot of merge conflicts with master and I don't want to mess with the flake. Closing in favor of PR #26


Memory Consumption information

Hi,
Has Amazon or any of developer partners reported/noticed any memory leak while running AVS SDK for  long hours?
Is there any validation process from Amazon related to that for current AVS solution 1.0.1?
Thank you,
Juliano Ribeiro

Hi,
We are doing 1.0.2 still noticed memory leak during long hours (48 hours), is there any feedback from Amazon?
Thank you.

Hi @julianobRibeiro,
We are not aware of any memory leaks, but have not done extensive testing for them yet.  I have filed an internal ticket to test for memory leaks, and we will address any findings in a future release.  We are also in the process of profiling typical resource usage/requirements for the SDK, and will update the SDK documentation with this data as soon as it is available.
Ken

Hi @julianobRibeiro,
We have perform memory analysis and have not detected a memory leak in v1.1.
Thanks,
Kenneth


nixos/zfs: requestEncryptionCredentials only handles rootPool

According to
https://github.com/NixOS/nixpkgs/blob/338b407b27df2be760690c52fc0f13de0312504d/nixos/modules/tasks/filesystems/zfs.nix#L336-L352
requestEncryptionCredentials does trigger "zfs load-key -a" only in case of a root pool. Other data pools are not unlocked.
This is in contrast to the option description which says "Request encryption keys or passwords for all encrypted datasets on import.".
It should handle data pools too, probably not in initrd, but in createImportService?

I guess loading the keys is a necessary prerequisite for an encrypted dataset before it can get mounted. So there is one of these things to be done:

load all keys in zfs-import.service (#41846), or
make a separate option for loading keys in zfs-import.service, or
make an option to do mount -al instead of mount -a in zfs-mount.service, or
something else more beautiful

:-) thank you


2.12: disable -Xfatal-warnings in Shapeless build

build was failing, because new optimizer
passing community build with this change: https://scala-ci.typesafe.com/view/scala-2.12.x/job/scala-2.12.x-integrate-community-build/159/console. failing build without the change was https://scala-ci.typesafe.com/job/scala-2.12.x-integrate-community-build/158/console
review by @lrytz

review by @lrytz

LGTM. Thank you!!

@lrytz: @milessabin is asking me on Gitter what this was about. do you remember?

oh wait, here it is: [shapeless] [error] there was one inliner warning; re-run with -Yopt-warnings for details, from the failing build linked above


somehow got to a strange UI

I don't have a report. I was clicking around in the app, and somehow got to the UI above. I don't think this UI is expected behavior.

Unable to reproduce on build from commit number 15a30d33a46d25d659c7dadcbce3bbe49c4a1284


Execute AppMap commands in terminal

Closes https://github.com/getappmap/appmap-intellij-plugin/issues/140
Updates the install buide JS application to the latest version, because the version we used did not have the "Run in terminal" button.
** don't merge **: Because the new version also has a new "Waiting for AppMaps to be created", we still to support this, too.
Use the AppMap CLI to execute commands in a terminal console.
It's suprisingly difficult to do this with the SDK, but this should work. It's showing a TTY/PTY capable console view, which supports the colors and arrow keys used by the CLI.

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

v0.18.0
GitHub release

Your semantic-release bot :package::rocket:


Feature/gridview-min-max-widths

Add MinWidth and MaxWidth support for GridView
Pull request type

[x] Feature

Info
This feature is a branch off of PR #979. It adds min/max width support for GridView. It uses a fair bit of reflection to maintain support for dragging column headers.

Extends GridViewColumn to have dependency properties MaxWidth and MinWidth
Overrides ArrangeOverride() on GridViewHeaderRowPresenter (header row) and GridViewRowPresenter (data rows)
Update ListView and ListViewItem to use the extended classes
Update the GalleryApp to showcase min/max widths

I've added documentation and separated GridView related components into a Controls/GridView folder.
The ArrangeOverride() methods on RowPresenter classes was simplified and there's only one reflected field now. Additionally XAML styling is only on Wpf.Ui custom controls, so this library won't interfere with how vanilla ListView operates. Instead, to use the Wpf.Ui library's ListView styles, one would need to use all the ui custom classes.
TODO: restyle GridViewColumnHeader.xaml to support column resizing (logic should already be baked into the control).

Added drag resizing support.


cPOD factory installer

Have the ability to easily install cPOD factory in a new environment and potentially on a new OS. This would be a large improvement.
This would make cPOD usable for anyone who has some spare resources and would allow to port cPOD.
consisting of the following tasks:

clean up current codebase
map OS dependencies
verify/remove anything that might fall under VMware EULA
remove 'personalization' from ENV.
write script to install/verify Linux dependencies
Probably more things to do when when get into it...
Documentation

Ideal situation would be a single script that installs and configures cPOD Factory on a linux host.

@pikolos this will need to be splitted into smaller chunks. already have several ideas. need to structure them.

dependent on issue #32


suggestion for automatic syncing

It's great and very useful. I starred it with many thanks to you.
It would be perfect if it can automatically sync everytime when the browser is launched or bookmarks are changed.

建议增加自动同步功能


Retina-face forces the installation of full tensorflow, even when tensorflow-cpu is already installed

Hello,
I have a project that uses AWS Lambdas to detect faces. AWS Lambdas don't have access to hardware GPU, and they have some strict limits about image size and execution time. To make my images smaller and startup as fast as possible, I opt to install tensorflow-cpu (which is about ~200MB).
But even with tensorflow-cpu already installed, when I install retina-face it also forces the installation of the full tensorflow with GPU support (which is about ~490MB). Since tensorflow-cpu works fine with retina-face, I think retina-face installation should check if tensorflow-cpu already installed and, in this case, skip the installation of the full tensorflow.
Here is my requirements.txt:
opencv-contrib-python==<IP_ADDRESS>
opencv-python==<IP_ADDRESS>
protobuf==3.20.3
tensorflow-cpu==2.14
retina-face==0.0.14
Thank you.

Try to install retinaface with no dependencies
pip install retina-face --no-deps

Retina-face has other necessary dependencies that must be installed and cannot be ignored. I could install all of them manually, but honestly, it's a pain and the installation might break later if retina-face adds more dependencies in future versions (I would need to manually add the new dependencies to requirements.txt). This kind of manual dependency management is exactly what pip intends to avoid.
Anyway, I understand the 'not planned' status.
Thanks for taking the time to check this issue.


Is this a design feature or bug?

recreate code:
void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) => MaterialApp(
    title: 'TabBarView inside PageView',
    home: Scaffold(
      body: Builder(
        builder: (context) {
          return GestureDetector(
            onTap: () => print("Stack外部"),
            child: Stack(
              children: [
                GestureDetector(
                  onTap: () => print("底层"),
                  child: Container(
                    width: MediaQuery.of(context).size.width,
                    height: MediaQuery.of(context).size.height,
                    color: Colors.black,
                  ),
                ),
                GestureDetector(
                  // onTap: () => print("上层"),
                  child: Container(
                    width: MediaQuery.of(context).size.width,
                    height: MediaQuery.of(context).size.height,
                    color: Colors.white30,
                  ),
                )
              ],
            ),
          );
        },
      ),
    ),
  );
}

if I click the screen, what I get from log is "Stack外部" instead of "底层"。That means Stack child in layout bottom will not response to user hit。 Is this a design feature or bug？

你用GestureDetector包裹了Stack并添加了点击效果，当然点击整个Stack都会被调用
更何况你弄了两个全屏尺寸的Container，打印"底层"的container还被覆盖在了"上层"的container的下面。
无论怎么样都点不到 底层的...
你可以删掉"上层"的那个GestureDetector试试

@vimerzhao
Since you wrapped the Stack widget with GestureDetector, no matter where you'll click in the entire app screen, you'll see Stack外部 as expected.
Closing this as this isn't an issue. Please ask support questions on stackoverflow.

@vimerzhao
Since you wrapped the Stack widget with GestureDetector, no matter where you'll click in the entire app screen, you'll see Stack外部 as expected.
Closing this as this isn't an issue. Please ask support questions on stackoverflow.

that is what i want to show: hit test is pass through by widget tree ,instead of physical sapce location.
I got it.

你用GestureDetector包裹了Stack并添加了点击效果，当然点击整个Stack都会被调用
更何况你弄了两个全屏尺寸的Container，打印"底层"的container还被覆盖在了"上层"的container的下面。
无论怎么样都点不到 底层的...
你可以删掉"上层"的那个GestureDetector试试

这就是我设计这个demo的初衷，故意盖上去的。我就是想探讨下stack这个widget是不是按照物理空间的层叠关系处理点击事件更符合直觉。


Supported modules not found

I may be misunderstanding but if a module is supported by Pythran and I have a line in a file that pythran will compile, that reads "import dtype" shouldn't that work? I'm getting an error

Hard to tell. Can you provide a minimal reproducer, i.e. the content of a python file with no more than a dozen of lines that showcases your issue.


Cannot parse TypeScript project

We've added ShiftLeft to two of our repos based on TypeScript. One of them is sucesffuly being build and passed to the dashboard. The other one outputs the following while we are able to build it locally just fine.
2020-11-18 15:27:52.410 [main] INFO Generating CPG from Javascript sources in: '.'
2020-11-18 15:27:52.892 [main] INFO Transpiling source files
2020-11-18 15:27:58.928 [main] WARN '/home/runner/work/***' contains no *.js files. No CPG was generated.
2020-11-18 15:27:58.928 [main] WARN 	- Babel transpilation did not yield any *.js files
2020-11-18 15:27:58.928 [main] WARN 	- Typescript compilation did not yield any *.js files. Does a valid 'tsconfig.json' exist in that folder?
Error: Analyze: Js2CPG run: failed to run command: exit status 1
Error:  exit status 1 caused by Analyze: Js2CPG run: failed to run command: exit status 1 | issuer=/go/src/github.com/ShiftLeftSecurity/go-services/cmd/sl/main.go:1509
Error: Process completed with exit code 1.

Is there a way to get more logs or information on why is failing to build or find the tsconfig.json file?
This comes from the default PR that ShiftLeft opens in GH. We didn't modify it in any way. We did check all paths and seems that all files are there but the CLI is just not able to parse it.

Hi @kbariotis
Is this the same issue that was reported via the official support channel?
We don't really monitor the example repos. Came across this issue by accident really. If you still have this issue, please use slack or zendesk support.


Fix for the staking up-arrow being gray even when staking.

Fix for the staking up-arrow being gray even when staking.
It was a regression from my #301 pr.
The stake weight and time estimate in the popup is still the old.

so the search interval now is just the txnew.ntime? explains why it doesn't say 16 anymore but the tx time in getmininginfo. could we better word this in getmininginfo


Warning on startup: "Illegal character : shortmess+=I"

Hi!
Since yesterday, each time I open up my Neovim, I get this warning message:
Error detected while processing /home/tchoutri/.cache/dein/.cache/init.vim/.dein/plugin/startify.vim:
line   14:
E539: Illegal character <f>: shortmess+=I
Press ENTER or type command to continue

and uh, I don't really get the meaning of that error. Is it directly linked to vim-startify?

Well, the line exists, but I'm not sure where the Illegal character <f> is coming from.
What did you do yesterday that it changed? Updated the plugin? Updated Neovim? Which Neovim version are you using?

I am running NVIM v0.3.4. I haven't touched my Neovim install, which is the one bundled by Fedora 29. And yes, I have updated the plugin.

The path mentions cache. How is that working?
Could you paste /home/tchoutri/.cache/dein/.cache/init.vim/.dein/plugin/startify.vim or make sure it's up-to-date with https://github.com/mhinz/vim-startify/blob/master/plugin/startify.vim?

The path mentions cache. How is that working?

It is just the repository where my plugins are installed, so I can get my nvim folder across machines without the burden of all the git files that come from the plugins.
I have checked their checksums, and they are the same :/

Here is my local copy of the file
" vim: et sw=2 sts=2

" Plugin:      https://github.com/mhinz/vim-startify
" Description: A fancy start screen for Vim.
" Maintainer:  Marco Hinz <http://github.com/mhinz>

if exists('g:loaded_startify') || &cp
 finish
endif
let g:loaded_startify = 1
let g:startify_locked = 0

if !get(g:, 'startify_disable_at_vimenter')
 set shortmess+=I
endif

augroup startify
 autocmd VimEnter    * nested call s:on_vimenter()
 autocmd VimLeavePre * nested call s:on_vimleavepre()
 autocmd QuickFixCmdPre  *vimgrep* let g:startify_locked = 1
 autocmd QuickFixCmdPost *vimgrep* let g:startify_locked = 0
augroup END

function! s:update_oldfiles(file)
 if g:startify_locked || !exists('v:oldfiles')
   return
 endif
 let idx = index(v:oldfiles, a:file)
 if idx != -1
   call remove(v:oldfiles, idx)
 endif
 call insert(v:oldfiles, a:file, 0)
endfunction

function! s:on_vimenter()
 if !argc() && line2byte('$') == -1
   if get(g:, 'startify_session_autoload') && filereadable('Session.vim')
     source Session.vim
   elseif !get(g:, 'startify_disable_at_vimenter')
     call startify#insane_in_the_membrane(1)
   endif
 endif
 if get(g:, 'startify_update_oldfiles')
   call map(v:oldfiles, 'fnamemodify(v:val, ":p")')
   autocmd startify BufNewFile,BufRead,BufFilePre *
         \ call s:update_oldfiles(expand('<afile>:p'))
 endif
 autocmd! startify VimEnter
endfunction

function! s:on_vimleavepre()
 if get(g:, 'startify_session_persistence')
       \ && exists('v:this_session')
       \ && filewritable(v:this_session)
   call startify#session_write(fnameescape(v:this_session))
 endif
endfunction

command! -nargs=? -bar -bang -complete=customlist,startify#session_list SLoad   call startify#session_load(<bang>0, <f-args>)
command! -nargs=? -bar -bang -complete=customlist,startify#session_list SSave   call startify#session_save(<bang>0, <f-args>)
command! -nargs=? -bar -bang -complete=customlist,startify#session_list SDelete call startify#session_delete(<bang>0, <f-args>)
command! -nargs=0 -bar SClose call startify#session_close()
command! -nargs=0 -bar Startify call startify#insane_in_the_membrane(0)
command! -nargs=0 -bar StartifyDebug call startify#debug()

nnoremap <silent><plug>(startify-open-buffers) :<c-u>call startify#open_buffers()<cr>

Ah, I found the issue: https://github.com/neovim/neovim/issues/9885
And you probably didn't update the plugin since February, so you did not have the shortmess line until yesterday. v0.3.5 is the current release, so I hope that you get an updated package on Fedora soon!

Ok, I pushed a small "workaround" that simply doesn't set 'shortmess' for Nvim versions smaller than v0.3.5.

Thanks <3