Implement webserver in cnf-app-mac-operator to handle lifecycle and probe requests

Lifecycle hooks can be implemented with a httpGet resource, we don't really need to use a shell command for that: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#hook-handler-implementations
To make it available in cnf-app-mac-operator, I've added a webserver in the main application to handle these requests, and also for all lifecycle probes (readiness, liveness and startup).
With all this, example-cnf should continue working fine and, now, all these tests should be passing for cnf-app-mac-operator:
lifecycle-container-shutdown
lifecycle-container-startup
lifecycle-liveness-probe
lifecycle-readiness-probe
lifecycle-startup-probe

The installation of the cnf-app-mac-operator pod is working :) https://www.distributed-ci.io/jobs/503cbe5e-9703-41cb-bf86-4dd146fd26dd/jobStates?sort=date&task=ad954d05-b310-43ed-b9fb-092e8f4d67b6
And the endpoints are accessible:
$ oc get pods -n example-cnf -o wide
NAME                                                       READY   STATUS    RESTARTS   AGE   IP            NODE       NOMINATED NODE   READINESS GATES
cnf-app-mac-operator-controller-manager-78fb5b5cf6-p2m5f   1/1     Running   0          19s   <IP_ADDRESS>   worker-0   <none>           <none>

$ ssh core@worker-0
$ curl <IP_ADDRESS>:8095/healthz
ok

Let's wait for the results, but it's a good signal.

FAILURE https://www.distributed-ci.io/jobs/503cbe5e-9703-41cb-bf86-4dd146fd26dd/jobStates
from Implement webserver in cnf-app-mac-operator to handle lifecycle and probe requests #35

The failure was probably due to the fact that the webserver was created in a synchronous way, so that the rest of the logic of cnf-app-mac-operator was not executed and then that's why the corresponding check was failing, now I've moved the webserver code to a goroutine to call it asynchronously.

The job is passing, example-cnf is working, and now, cnf-app-mac-operator-controller-manager pod is passing the five lifecycle tests commented in the description of this PR. Take a look to https://www.distributed-ci.io/jobs/b3487a61-25d8-4e6f-9fbc-86ec9e8c776c/tests/e0230ba5-9d3a-48e8-afb7-cd9116263e5e and check the output of each test:
-  lifecycle-container-startup

{"CompliantObjectsOut":[{"ObjectType":"Container","ObjectFieldsKeys":["Reason For Compliance","Namespace","Pod Name","Container Name"],"ObjectFieldsValues":["Container has postStart defined","example-cnf","cnf-app-mac-operator-controller-manager-bdf956b79-tkrtp","manager"]}]

- lifecycle-container-shutdown

{"CompliantObjectsOut":[{"ObjectType":"Container","ObjectFieldsKeys":["Reason For Compliance","Namespace","Pod Name","Container Name"],"ObjectFieldsValues":["Container has preStop defined","example-cnf","cnf-app-mac-operator-controller-manager-bdf956b79-tkrtp","manager"]}],

- lifecycle-readiness-probe

{"CompliantObjectsOut":[{"ObjectType":"Container","ObjectFieldsKeys":["Reason For Compliance","Namespace","Pod Name","Container Name"],"ObjectFieldsValues":["Container has ReadinessProbe defined","example-cnf","cnf-app-mac-operator-controller-manager-bdf956b79-tkrtp","manager"]}

- lifecycle-liveness-probe

{"CompliantObjectsOut":[{"ObjectType":"Container","ObjectFieldsKeys":["Reason For Compliance","Namespace","Pod Name","Container Name"],"ObjectFieldsValues":["Container has LivenessProbe defined","example-cnf","cnf-app-mac-operator-controller-manager-bdf956b79-tkrtp","manager"]}

- lifecycle-startup-probe

{"CompliantObjectsOut":[{"ObjectType":"Container","ObjectFieldsKeys":["Reason For Compliance","Namespace","Pod Name","Container Name"],"ObjectFieldsValues":["Container has StartupProbe defined","example-cnf","cnf-app-mac-operator-controller-manager-bdf956b79-tkrtp","manager"]}]

Change is ready for review

A bit late, but here my feedback.
If the purpose of the change is to comply with CNF validation, i.e. to check boxes, then this approach is the right one.
If the purpose of the change is to follow applicable best practices, then it is a great skeleton to lay down the added value of those practices. This is, each type (probes and lifecycle) have a purpose, to do some validation or preparation or action within the pod. The current implementation always returns valid responses but does not implement any validation, then there's a few value added and could give a false impression of a good practice.

A bit late, but here my feedback.
If the purpose of the change is to comply with CNF validation, i.e. to check boxes, then this approach is the right one.
If the purpose of the change is to follow applicable best practices, then it is a great skeleton to lay down the added value of those practices. This is, each type (probes and lifecycle) have a purpose, to do some validation or preparation or action within the pod. The current implementation always returns valid responses but does not implement any validation, then there's a few value added and could give a false impression of a good practice.

Hi @tonyskapunk ! I get your point and I agree that there's a great room of improvement. For the moment, the idea is to just comply with CNF validation, to really understand what we need to take into account when dealing with partner cases. For the second case, we would really need to understand right now how example-cnf components work and interact between them, and we're not yet in that point of understanding the solution. When reaching that point, of course we can improve this by setting the correct validation, but I'd say to do it as an improvement.


Pools destined for imminent retirement should be shown further down the Stake Pool list in Daedalus

Using Daedalus 1.6.0-STN5#13825
The other day I saw a pool that was 'Retirement in 5 hours' shown in the top 20 list of rankings. If someone were to delegate to that pool at that point in time, they're essentially guaranteeing no rewards (because by the time their delegation comes into effect, the pool will no longer be there, so they'll be left with a dangling delegation).
IMHO it would be worthwhile to move all the due-for-retirement pools to the bottom of the list, perhaps the ones with most imminent retirement being absolute last?

Additionally, The option to delegate to a retiring pool should not be allowed in the wallet, after a pool has been set to retire to avoid complication / confusion.

Thanks for the feedback.
Retirement is not part of the ranking calculation. But we discourage users to delegate to retiring pools.
We will probably have a filter which will hide retiring pools and will be on by default soon.
We should also disable delegating to pools which will retire before they can get you any rewards.

Still waiting for 'We will probably have a filter which will hide retiring pools and will be on by default soon.', @darko-mijic


Usage with protobuf 4.*

Hello!
This library requires protobuf<4. Are there any known issues using it with protobuf 4.*?

Not that I am aware of, I just haven't had the need to do that yet. Happy to look into it.

That would be great! I was trying to upgrade since apparently protobuf 4 has some performance improvements. I can test it out if you want, once you've built a new package.


The commit was never supposed to be merged.

OK with urgent

Merged to the master branch. Thank you for the reviews.


L2-314: Change Deprecated Method to claim neuron

Motivation
ClaimOrRefreshNeuronFromSubaccount uses manage neuron method.
claim_or_refresh_neuron_from_account is deprecated: https://gitlab.com/dfinity-lab/public/ic/-/blob/a8ec2c603c494dc650a253e90513503cd7ec9a64/rs/nns/governance/canister/canister.rs#L384
Changes

claimOrRefreshNeuronFromAccount uses mange_neuron governance canister method

Tests

Change tests to stake a neuron to mock changed call.
New tests for claimOrRefreshNeuronFromAccount method.

@peterpeterparker @mstrasinskis please review
I have tested it by linking nns dapp to this branch and it was working.


Is it possible to auto select on blur when there is only one choice left?

I'm just wondering if this is already built in and I don't know how to do it?
Thanks!

http://plnkr.co/edit/7fSAKmj3pLeeTaid4pMH?p=preview


[xRegistry] Set-TargetResource does not determine the type of registry value correctly

This Pull Request (PR) fixes the following issues
#436
Task list

[x] Added an entry under the Unreleased section of the change log in
CHANGELOG.md. Entry should say what was changed, and how that affects
users (if applicable).
[ ] Resource documentation added/updated in README.md.
[ ] Resource parameter descriptions added/updated in README.md, schema.mof
and comment-based help.
[ ] Comment-based help added/updated.
[ ] Localization strings added/updated in all localization files as
appropriate.
[ ] Examples appropriately added/updated.
[x] Unit tests added/updated. See
DSC Resource Testing Guidelines.
[x] Integration tests added/updated (where possible). See
DSC Resource Testing Guidelines.
[x] New/changed code adheres to
DSC Resource Style Guidelines and Best Practices

This change is

Is the check for license/cla working properly ?
Is there anything that I need to do ?

Hi @mkht - CLA is no longer required. I'll turn the check off. I'm currently working on migrating this module to the new structure so that it can be released. This may mean there will be some delay in getting your change through as the overall structure has to change significantly.

Hi @mkht - I've updated the module to the new CI process. This has changed the folder structure as well as the tests init, so you'll need to resolve the conflicts and then I'll review/merge.

Hi @PlagueHO
I recreated a PR as #658
Please review ! 👍


Make it so the default listener is all interfaces.

When starting the proxy in a scratch container, it doesn't necessarily
know its address ahead of time. Set the default to all addrs :8080
instead of localhost:8080.
It looks like cattle is already calling it this way.
(:[CATTLE_PROXY_PORT])
An alternate approach would be to document configuring the
-listen-address variable.

LGTM


PROPOSAL - Do not set cache header for uploaded index.html on S3

While I understand the project's focus on versioned deploys, but this is actually quite usable in a scenario to simply upload the full site (including index.html) to a flat file service.
When this is the use case, the 2 year cache header on the index.html file means that serving completely from S3 isn't practical since people will only get updates if the break cache (losing benefits of unchanged assets).

Sorry. Wrong repo :P


[Score Screen] full combos are displayed as clears sometimes

Describe the bug
When songs are cleared with full combos, they are displayed as FC under the grade in the scoreboard, but if i produce another score, the first score's fc will get displayed as  just CLEAR.
To Reproduce
Steps to reproduce the behavior:

FC a song
play through the song again
go to the results screen

Expected behavior
FCs stays as FCs across any plays on the same song.
Screenshots

the 2nd to 4th scores are all fcs but they are not displayed as so
Desktop (please complete the following information):

OS: win10
Version: 0.61.1

9b8dbeb12ce5e8636b8036b7339a836cdb929f0c


RuntimeError: Given shapes, [1, 23], ] and [1, 10], are not broadcastable.Node number 1392 (SELECT_V2) failed to prepare.

1. System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu1804
TensorFlow installation (pip package or built from source): tf-nightly 2.7.0
TensorFlow library (version, if pip package or github SHA, if built from source): pip

2. Code
Provide code to help us reproduce your issues using one of the following options:
I used dymamic axes when using onnx to convert pytorch model to onnx model, later on, I convert onnx to tensorflow model .pb and then to quantized tflite model.
Here shows the dynamic axes in my input data
dynamic_axes={
"img_feat": {0: "batch_size", 1: "sequences"},
"img_pos_feat": {0: "batch_size", 1: "sequences"},
"obj_masks": {0: "batch_size", 1: "sequences"},
"obj_boxes": {0: "batch_size", 1: "sequences"},
"input_ids": {0: "batch_size", 1: "sequences"},
"position_ids": {0: "batch_size", 1: "sequences"},
"attn_masks": {0: "batch_size", 1: "sequences"},
"gather_index": {0: "batch_size", 1: "sequences"}
},
3. Failure after conversion
I was able to convert the model successfully to int tflite model.
During the inference phase of int tflite model, I resized the input_details to set tensor to match the dynamic axes in the tflite model.
shape_0 = list(named_args['img_feat'].shape)
interpreter.resize_tensor_input(input_details[0]['index'], tuple(shape_0))

shape_1 = list(named_args['img_pos_feat'].shape)
interpreter.resize_tensor_input(input_details[1]['index'], tuple(shape_1))

shape_2 = list(named_args['obj_masks'].shape)
interpreter.resize_tensor_input(input_details[2]['index'], tuple(shape_2))

shape_3 = list(named_args['position_ids'].shape)
interpreter.resize_tensor_input(input_details[3]['index'], tuple(shape_3))

shape_4 = list(named_args['attn_masks'].shape)
interpreter.resize_tensor_input(input_details[4]['index'], tuple(shape_4))

shape_5 = list(named_args['gather_index'].shape)
interpreter.resize_tensor_input(input_details[5]['index'], tuple(shape_5))

shape_6 = list(named_args['input_ids'].shape)
interpreter.resize_tensor_input(input_details[6]['index'], tuple(shape_6))

All other input data work well except the obj_masks, and I got the error:
File "/home/ubuntu/Projects/Vesta/uniter/scripts/uniter_model_convert_quant_test.py", line 579, in model_prediction
out_tflite_quant, pred_box_tflite_quant = run_tflite(interpreter, input_details, output_details, named_args, quant=True, detect_feature=detect_feature)
File "/home/ubuntu/Projects/Vesta/uniter/scripts/uniter_model_convert_quant_test.py", line 436, in run_tflite
interpreter.invoke()
File "/home/ubuntu/anaconda3/envs/pytorch_latest_p37/lib/python3.7/site-packages/tensorflow/lite/python/interpreter.py", line 879, in invoke
self._interpreter.Invoke()
RuntimeError: Given shapes, [1, 23], ] and [1, 10], are not broadcastable.Node number 1392 (SELECT_V2) failed to prepare.
I'm wondering why the shape is [1,23],], instead of [1,23]? Did I do anything wrong?
Option A: Reference colab notebooks
Here is the visualization of SELECTV2 node in Netron.

Even if I donot use dynamic axes, the int tflite model is much slower than the float tflite model.

Hi @SkylerZheng ,
In order to expedite the trouble-shooting process, could you please provide a stand alone code code to reproduce the issue reported here. Thanks!


fix(cesium): replace use of Cesium's camera.computeViewRectangle

Replaces use of Cesium's Camera.prototype.computeViewRectangle() because it is inaccurate in several ways. It only uses the corners of the screen as sample points (4 compared to 64 now), and it also gives up and assumes that the rectangle is Rectangle.MAX_VALUE if at least 3 of those corners are in space (Rectangle.MAX_VALUE is not ever a correct view rectangle because the camera can only see roughly half the globe at once).

Upstreamable?

Possibly. I got sidetracked and I'll look into it this week.


Add price estimation for update command

That would be really helpful :)

Notes to myself:

this applies to all operations
need to get dust fees alongside TX fees

This has been fixed in 0.14.0.  Please re-open if the problem persists.  Thanks for reporting!


test: ☑ add snapshot testing

Description
Add snapshot test on GraphQL query result.
Type of change

[X] Test

How Has This Been Tested?

[X] cargo test run with all tests passing

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] Any dependent changes have been merged and published in downstream modules

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 86.27%. Comparing base (f3ed061) to head (5c956c9).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #17      +/-   ##
==========================================
+ Coverage   85.94%   86.27%   +0.33%
==========================================
  Files           8        8
  Lines        1060     1086      +26
==========================================
+ Hits          911      937      +26
  Misses        149      149

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Getting Started with a Server guide doesn't work

The Getting Started with a Server guide has steps to create a Cargo.toml and main.rs, but it doesn't compile, with several errors.

use of undeclared type or module tokio
main has invalid return type impl std::future::Future
main can only return types that implement std::process::Termination
failed to resolve: use of undeclared type or module pretty_env_logger
the trait hyper::service::make_service::MakeService<&'a hyper::server::tcp::addr_stream::AddrStream> is not implemented for hyper::service::make_service::MakeServiceFn<[closure@src/main.rs:18:32: 25:10]>
the trait bound impl std::future::Future: futures::future::Future is not satisfied

I have the same problem

@kobenauf what does your Cargo.toml look like? The master branch of hyper is currently being refactored to use std::future::Future (as well as tokio), from the README:

NOTE: hyper's master branch is currently preparing breaking changes, for most recently released code, look to the 0.12.x branch.

@dvic I used the Cargo.toml in the guide:
[dependencies]
hyper = "0.12"

@kobenauf https://github.com/hyperium/hyper/tree/0.12.x contains all the guides and examples for the current released version of hyper 0.12.x. The master branch is going to become the new breaking release of 0.13.x.

me too


Rotate my SSH key

This was referring to my old SSH key since the great SSH key rotation,
2015.

Oh, seems I have permissions for this repository now too. Sorry for the forkery.


could not execute process target\debug\app.exe

Describe the bug
could not execute app whether dev or build
To Reproduce
Steps to reproduce the behavior:
PS E:\projects\tauri-projects\tray-test> npx tauri dev
app:spawn Running<EMAIL_ADDRESS>tauri dev" +0ms
Compiling app v0.1.0 (E:\projects\tauri-projects\tray-test\src-tauri)
Finished dev [unoptimized + debuginfo] target(s) in 1m 35s
Running target\debug\app.exe
error: could not execute process target\debug\app.exe (never executed)
Caused by:
该版本的 %1 与你运行的 Windows 版本不兼容。请查看计算机的系统信息，然后联系软件发布者。 (os error 216)
This version of% 1 is not compatible with the version of windows you are running. Check your computer's system information and contact the software publisher. (os error 216)
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Platform and Versions (please complete the following information):

Operating System - Windows, version 10.0.19042 X64
Webview2 - 91.0.864.41
Node.js environment
Node.js - 12.18.4
@tauri-apps/cli - 1.0.0-beta.1 (outdated, latest: 1.0.0-beta.2)
@tauri-apps/api - 1.0.0-beta.1
Global packages
npm - 6.14.6
yarn - Not installed
Rust environment
rustc - 1.52.1
cargo - 1.52.0
Additional context
I haven't had this problem with the version about two months ago

You need to have Microsoft Build Tools 2019 installed. iirc you also need to remove old versions (2015/2017) too (no side-by-side installs).

You need to have Microsoft Build Tools 2019 installed. iirc you also need to remove old versions (2015/2017) too (no side-by-side installs).

it's work ,great! thanks!

@FabianLars it's work, great! thanks!


Omit #[display(...)] in newtype variants

It would be helpful if #[display(...)] can be omitted for variants with a single parameter:
#[derive(Display)]
enum Foo {
    #[display("{0}")] // <-- omit this just like newtype structs
    Just(u32),
    #[display("nothing")]
    Nothing,
}

It seems to me that the variant name disappearing is not suitable for the default value.
For example, I don't think the following code is the kind of behavior that users want.
#[derive(Display)]
enum Either {
    Left(u32),
    Right(u32),
}

assert_eq!(Either::Left(10).to_string(), "10");
assert_eq!(Either::Right(10).to_string(), "10");

Unlike newtype structs, #[display("{0}")] in the variant can lead to an inappropriate implementation of FromStr.
#[derive(Display, FromStr, Eq, PartialEq, Debug)]
enum Foo {
    #[display("{0}")]
    Just(String),
    #[display("nothing")]
    Nothing,
}
let value0 = Foo::Just("nothing".into());
let value1: Foo = value0.to_string().parse().unwrap();
assert_eq!(value0, value1); // ASSERT FAILED!!

Unlike newtype structs, #[display("{0}")] in the variant can lead to an inappropriate implementation of FromStr.

Yes, what was in my mind was to use it in combination with serde's untagged attribute.
untagged is useful but may introduce ambiguity in deserialization (users must use it carefully at their own risk), and I think that is the case with FromStr.
#[derive(Serialize, Deserialize, Display)]
#[serde(untagged)]
enum Foo {
  Var1(Bar),
  Var2(Baz),
}

#[derive(Serialize, Deserialize, Display)]
#[display("bar: {bar}")]
struct Bar {
  bar: String,
}

#[derive(Serialize, Deserialize, Display)]
#[display("baz: {baz}")]
struct Baz {
  baz: String,
}

If you put #[display("{0}")] on enum instead of variant, the behavior will be similar to #[serde(untagged)]. Isn't that enough?
use parse_display::Display;

#[derive(Display)]
#[display("{0}")]
enum Foo {
    Var1(Bar),
    Var2(Baz),
    #[display("nothing")]
    Nothing,
}

#[derive(Display)]
#[display("bar: {bar}")]
struct Bar {
    bar: String,
}

#[derive(Display)]
#[display("baz: {baz}")]
struct Baz {
    baz: String,
}

println!("{}", Foo::Var1(Bar { bar: "abc".into() }));
println!("{}", Foo::Var2(Baz { baz: "def".into() }));
println!("{}", Foo::Nothing);

Oh, I didn't know that functionality! That suffices. I'm closing this issue, thanks.


Ubuntu support

Are there plans to support Ubuntu based releases sometime?
After Raspberry Pi 3 64-bit quad-core release, Ubuntu based releases could become pretty popular on Raspberry Pi 3 soon...

Not at the moment. I suspect it would be mainly changes to the installer side to get Apache etc working.


No default limits for applications

Default limits are available for producers but not for applications.
What about adding: DEFAULT_MADS_APPLICATION and DEFAULT_RATE_APPLICATION?

This was intentional, we expect limits to be set explicitly for
applications as there can be many of them and that a default limit would
imply to allocate an estimator for every application.
Please open an issue so we keep a note on this request, we need to think
about the implications first.
On Thu, Apr 27, 2017 at 9:48 AM, Kevin GEORGES<EMAIL_ADDRESS>wrote:

Default limits are available for producers but not for applications.
What about adding: DEFAULT_MADS_APPLICATION and DEFAULT_RATE_APPLICATION?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cityzendata/warp10-platform/issues/178, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAOcMoxZAEeUi9Ryd187T20hX7N4Ebkvks5r0EgwgaJpZM4NJ2lw
.


[Bilibili] straight up stop.

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2022.05.18 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
China
Description
#youtube-dl --cookies ./bilibili.com_cookies.txt "https://www.bilibili.com/video/BV1Qg411L7pn"
cookies are w/ logged in with site VIP.
the video itself is public to everyone.
the same method works for YouTube Premium exclusives download.
Verbose log
[debug] Command-line config: ['--cookies', './bilibili.com_cookies.txt', 'https://www.bilibili.com/video/BV1Qg411L7pn', '--source-address', '<IP_ADDRESS>', '-vU']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.05.18 [b14d52355] (zip)
[debug] Python version 3.8.10 (CPython 64bit) - Linux-5.4.0-113-generic-x86_64-with-glibc2.29
[debug] Checking exe version: ffprobe -bsfs
[debug] Checking exe version: ffmpeg -bsfs
[debug] exe versions: ffmpeg N-54088-gb0203fa72b-static, ffprobe 4.2.4
[debug] Optional libraries: certifi-2019.11.28, pycrypto-2.6.1, secretstorage-2.3.1, sqlite3-2.6.0
[debug] Proxy map: {}
Latest version: 2022.05.18, Current version: 2022.05.18
yt-dlp is up to date (2022.05.18)
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1Qg411L7pn
[BiliBili] 1Qg411L7pn: Grabbing original ID via API
ERROR: [BiliBili] Unable to download JSON metadata: HTTP Error 404: File not found (caused by <HTTPError 404: 'File not found'>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "/usr/local/bin/youtube-dl/yt_dlp/extractor/common.py", line 642, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/yt_dlp/extractor/bilibili.py", line 159, in _real_extract
    av_id, bv_id = self._get_video_id_set(video_id, mobj.group('id_bv') is not None)
  File "/usr/local/bin/youtube-dl/yt_dlp/extractor/bilibili.py", line 401, in _get_video_id_set
    response = self._download_json(
  File "/usr/local/bin/youtube-dl/yt_dlp/extractor/common.py", line 1030, in _download_json
    res = self._download_json_handle(
  File "/usr/local/bin/youtube-dl/yt_dlp/extractor/common.py", line 1009, in _download_json_handle
    res = self._download_webpage_handle(
  File "/usr/local/bin/youtube-dl/yt_dlp/extractor/common.py", line 801, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query, expected_status=expected_status)
  File "/usr/local/bin/youtube-dl/yt_dlp/extractor/common.py", line 786, in _request_webpage
    raise ExtractorError(errmsg, cause=err)

  File "/usr/local/bin/youtube-dl/yt_dlp/extractor/common.py", line 768, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/yt_dlp/YoutubeDL.py", line 3596, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.8/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.8/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: File not found

yt-dl gets a .flv presumably (I didn't trace it) using the http://interface.bilibili.com/v2/playurl API:
[BiliBili] 1Qg411L7pn: Downloading webpage
[BiliBili] 1Qg411L7pn: Downloading video info page
[info] Available formats for 1Qg411L7pn:
format code  extension  resolution note
0            flv        unknown    46.95MiB

FYI the flv doesn't contain playable audio.

Try without cookies
❯ yt-dlp -v https://www.bilibili.com/video/BV1Qg411L7pn
[debug] Command-line config: ['-v', 'https://www.bilibili.com/video/BV1Qg411L7pn']
[debug] Portable config "D:\Programs\Source\yt-dlp\yt-dlp\yt-dlp.conf": ['--alias', '-C', '--cookies-from-browser "vivaldi:D:\\Programs\\scoop\\apps\\vivaldi\\current\\User Data\\Default"', '--alias', '-M', '-O %()#j --parse-metadata ":(?P<formats>)" --parse-metadata ":(?P<automatic_captions>)" --parse-metadata ":(?P<subtitles>)" --parse-metadata ":(?P<thumbnails>)" --ignore-no-formats', '--alias', '--client', '--extractor-args youtube:player-client={}', '--alias', '-t', '--download-sections *{}']
[debug] Encodings: locale cp65001, fs utf-8, pref cp65001, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.05.18 [b14d52355] (source)
[debug] Lazy loading extractors is disabled
[debug] Plugins: ['SamplePluginIE', 'SamplePluginPP']
[debug] Git HEAD: 5df144425
[debug] Python version 3.10.4 (CPython 64bit) - Windows-10-10.0.22000-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg N-106550-g072101bd52-20220410 (fdk,setts), ffprobe N-106624-g391ce570c8-20220415, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.14.1, brotli-1.0.9, certifi-2021.10.08, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.1
[debug] Proxy map: {}
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1Qg411L7pn
[BiliBili] 1Qg411L7pn: Grabbing original ID via API
[BiliBili] 504714955: Downloading webpage
[BiliBili] 504714955: Extracting videos in anthology
[BiliBili] Downloading anthology 504714955 - add --no-playlist to just download video
[download] Downloading playlist: 神里单曲《请...好好地看着我》
[BiliBili] Playlist 神里单曲《请...好好地看着我》: Downloading 1 videos of 1
[download] Downloading video 1 of 1
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1Qg411L7pn?p=1
[BiliBili] 1Qg411L7pn: Grabbing original ID via API
[BiliBili] 504714955: Downloading webpage
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[BiliBili] 504714955: Extracting videos in anthology
[BiliBili] 504714955: Downloading tags
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 504714955_part1: Downloading 1 format(s): 14+2
[debug] Invoking http downloader on "https://upos-hz-mirrorakam.akamaized.net/upgcxcode/77/38/384323877/384323877_x2-1-30077.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1655720042&gen=playurlv2&os=akam&oi=824566130&trid=e68a20baec6a4828923edf3e5c288794u&mid=0&platform=pc&upsig=1ccf84e848c1ba46a2dab0fb3402b086&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform&hdnts=exp=1655720042~hmac=094195aca74243bbb3e882614f4914248aa6eefa5f285f6817fd013063861e9a&bvc=vod&nettype=0&orderid=0,1&agrr=1&bw=175421&logo=80000000"
[debug] File locking is not supported. Proceeding without locking
[download] Destination: 神里单曲《请...好好地看着我》 [504714955_part1].f14.mp4
[download]  18.1% of 22.08MiB at    2.63MiB/s ETA 00:06Exception ignored in: <_io.FileIO name='神里单曲《请...好好地看着我》 [504714955_part1].f14.mp4.part' mode='wb' closefd=True>
ResourceWarning: unclosed file <_io.BufferedWriter name='神里单曲《请...好好地看着我》 [504714955_part1].f14.mp4.part'>

ERROR: Interrupted by user

I'm confused too. Works on another computer with different NIC config. Something not universal with python networking. Will report after further debug.


Flipped half of top plates and bottom plates

For cutting materials that have only one usable side.
AI version verified with produced cut from Ponoko.
SVG and EPS generated from AI but not verified.

@tianweiliu Thanks for this PR. I think it's important to update the documentation so that people know why these files are there, rather than having to fish the info from this PR that will sink once it's merged.
@nooges apart from updating the documentation, would @tianweiliu need to do anything else to get this PR merged?


Cant move KanBan issues directly to Doing/Done

Expected behavior
When transforming the Issue into a Story or Story in Issue, the list must be updated.
Checklist

[x] Issue has Labels.
[ ] Issue has screenshots.
[x] Issue has significant name.

I couldn't reproduce this issue. Can you provide more information about it?

@clarissalimab When we try to move an issue from "To Do" directly to "Done" the js or something else doesnt allow it.


#0001, bug with first notification after startup

Description
The first notification after startup is missing the icon which normally displays with it.
Expected Behavior
The first notification should also display the icon.
Reproduce

Make sure the setup script has been run
Reboot and look at the first notification
To ensure that the icon file is still present and working, see what the notification looks like on the timer / when manually ran

Environment
OS: Linux Mint version 21.3
App version: 1.0.1

This has broken further; none of the service calls are generating icons.


Dynamo Admin UI is not loading anymore

The below docker config has been working for months but today after restarting my system i removed the older images and did a fresh compose up and now the Admin UI is not loading. DynamoDb itself seems to be running fine.
docker-compose.yml:
version: '3'
services:
    dynamodb:
    image: instructure/dynamo-local-admin
    ports:
      - "8000:8000" # For dynamo db
      - "8001:8001" # For admin UI

I tried running it from the terminal as well, but no luck.

Any suggestions on how to resolve this?
Thanks.

I have the same issue, yesterday also removed the image and now is not working any more..

Also seeing this issue
...
2022-01-11 00:42:39,150 INFO spawnerr: can't find command '/usr/local/bin/dynamodb-admin'
2022-01-11 00:42:39,150 INFO success: dynamodb entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-01-11 00:42:39,150 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-01-11 00:42:41,153 INFO spawnerr: can't find command '/usr/local/bin/dynamodb-admin'
2022/01/11 00:42:43 [error] 10#10: *1 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: dynamo.docker, request: "GET / HTTP/1.1", upstream: "http://<IP_ADDRESS>:8001/", host: "localhost:8000"
<IP_ADDRESS> - - [11/Jan/2022:00:42:43 +0000] "GET / HTTP/1.1" 502 157 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
2022-01-11 00:42:44,285 INFO spawnerr: can't find command '/usr/local/bin/dynamodb-admin'
2022-01-11 00:42:44,286 INFO gave up: dynamo-admin entered FATAL state, too many start retries too quickly
2022/01/11 00:42:46 [error] 10#10: *1 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: dynamo.docker, request: "GET / HTTP/1.1", upstream: "http://<IP_ADDRESS>:8001/", host: "localhost:8000"
...

Just a heads up there is another issue on the repo that contains all the dockerfiles from instructure https://github.com/instructure/dockerfiles/issues/11. Looks like this repo hasn't been used in a long time

+1 to this issue, being presented with exactly this issue.
Cannot seem to retrieve older versions of the image either. Per #4 it'd be fantastic if a static reference to this image could be maintained.

I do not believe this repo is the source of truth for this docker image any more. As mentioned by @agiangrant I've opened an issue on their dockerfiles repo https://github.com/instructure/dockerfiles/issues/11.
Having worked at Instructure in the past, many of the Github repos are replicated from internal Gerrit, so issues on GitHub aren't looked at all that often so if you could all add your comments on the above issue I think it will get fixed faster.
Also pinging @aaronshaf as I know he still works there and might be able to get this onto someone's radar internally as well.

@shichongrui Are you on Docker Hub?

@aaronshaf I might have an account but I don't ever use it. But I am pulling the image from Docker Hub https://hub.docker.com/r/instructure/dynamo-local-admin.


Infer better types with iterable unpacking

This is not good:
Value: list (code: inference_failure)
In pyan.py at line 3:
   1: from pyanalyze import dump_value
   2: def f():
   3:     dump_value([*(1, 2), *(3, 4)])
          ^

Still needs to be fixed for dictionaries.


Help Panel not available in vscode insiders

Describe the bug
when I open vscode and R extension activated, I see this error pop up at right down corner

and also when I hit ?something in attached R terminal, nothing happened
when i trigger the command "R help panel: open help for selection", I got this

To Reproduce
Steps to reproduce the behavior:
I think the bug description will do this
Can you fix this issue by yourself? (We appreciate the help)
No, i don't know where it came from
(If applicable) Please attach setting.json
I think this is not related
Expected behavior
I can use help
Environment (please complete the following information):

OS: Linux host, windows remote client
VSCode Version: 1.79.0-insider
R Version: 4.2.2
vscode-R version: v2.8.0

For me it only applies to remove host, locally everything works. Also everything works using non-insiders version of VSC.
Tried reinstalling vscode-server on host, and reinstalling the vscode-R extension and disabling all other extensions. Same error. Running the "R Help Panel: Open help for selection" produces the following error:

Maybe found a hint as to why this happens now. Having both a code and a code-insiders windows open at the same time, running "?help" in the code-insiders terminal opens a help window in the code application instead. Is the help panel trying to call code rather than code-insiders when ran from code-insiders?

Still not working in the latest release of vscode 1.79.0.
@ManuelHentschel any thoughts?

The log in the console:
Error while launching R Help: TypeError: Cannot read properties of undefined (reading 'uid')
	at Object.statSync (/home/ken/.vscode-server/bin/b380da4ef1ee00e224a15c1d4d9793e27c2b6302/node_modules/graceful-fs/polyfills.js:313:17)
	at t.isFileSafe (/home/ken/.vscode-server/extensions/reditorsupport.r-2.8.0/dist/extension.js:2:1436756)
	at p.watchFiles (/home/ken/.vscode-server/extensions/reditorsupport.r-2.8.0/dist/extension.js:2:1288494)
	at new p (/home/ken/.vscode-server/extensions/reditorsupport.r-2.8.0/dist/extension.js:2:1288139)
	at t.makePreviewerList (/home/ken/.vscode-server/extensions/reditorsupport.r-2.8.0/dist/extension.js:2:1287730)
	at new _ (/home/ken/.vscode-server/extensions/reditorsupport.r-2.8.0/dist/extension.js:2:1299168)
	at Object.t.initializeHelp (/home/ken/.vscode-server/extensions/reditorsupport.r-2.8.0/dist/extension.js:2:1297473)
	at async t.activate (/home/ken/.vscode-server/extensions/reditorsupport.r-2.8.0/dist/extension.js:2:1284339)
	at async b.n (/home/ken/.vscode-server/bin/b380da4ef1ee00e224a15c1d4d9793e27c2b6302/out/vs/workbench/api/node/extensionHostProcess.js:98:6644)
	at async b.m (/home/ken/.vscode-server/bin/b380da4ef1ee00e224a15c1d4d9793e27c2b6302/out/vs/workbench/api/node/extensionHostProcess.js:98:6607)
	at async b.l (/home/ken/.vscode-server/bin/b380da4ef1ee00e224a15c1d4d9793e27c2b6302/out/vs/workbench/api/node/extensionHostProcess.js:98:6064)

Looks like fs.statSync(path, { throwIfNoEntry: false }) still raise exceptions?

same problem as you. Was there a request.log file in ~/.vscode-R?
Every time when i typed ?xx in radian, this file updated, like:
{"time":"2023-06-09 16:36:43",
"pid":27240,
"wd":"/current/work/directory",
"command":"help",
"requestPath":"/library/base/html/mean.html",
"viewer":"Two"}
and the requestPath was invalid.  will this help?


Stream works on initial load then stops

Hi,
I'm trying to use the plugin within an Ionic app like so:
declare let videoStreamer;

import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-home',
  templateUrl: 'home.page.html',
  styleUrls: ['home.page.scss'],
})
export class HomePage implements OnInit {
  ngOnInit() {
    videoStreamer.streamRTMP('rtmp://<IP_ADDRESS>/live/HygATHcYV', (res) => {
      console.log(res);
    }, (err) => {
      console.log(err);
    });
  }

}

I then have a RTMP server set up using https://github.com/sallar/mac-local-rtmp-server. Finally, I am loading the RTMP stream using VLC player.
The server receives the stream OK and VLC can open it, but it only shows a still image and doesn't update.
I have tried another app from the play store (Larix Broadcaster) and this streams & updates as expected, so that would suggest that the server & VLC are both working fine & the issue is with this plugin/my app.
Any ideas on what's wrong? Thanks in advance for any help.

Update - I tried a different server instead (https://github.com/iizukanao/node-rtsp-rtmp-server) and used RTSP which works fine.


[REFACTOR]: Export common error messages from a single file

Export common error messages from common/utils/constants.ts file and reuse them wherever needed

Can I contribute?

Hi @Lagaress thanks for reaching out.
This issue is already assigned to a member, you can take up another issue from the issues list get it assigned to yourself and work on it.
Best wishes.

Hi @shivamvijaywargi, thank you for answering so fat.
Okay, I'll check searching by labels for the first contributors.
Thank you!


How should unmapped elements be indicated?

I frequently want to be able to state: I have looked in object_source  for a matching or close concept to subject_id but am confident there is nothing.
How should I state this?
Can we make object_id/name nullable (where we have a convention that '' in the TSV is null)?
alternatively we could have a CURIE/URI for NoMapping, analogous to owl:Thing.
@wdduncan we need this for the nmdc sssom
I'm also using a pseudo-sssom for cob-to-external where I have blank entries for not mapped

I like the idea of NoMapping, or perhaps ssssom:NoMapping.

My main worry is that this statement is a statement on mapping level that requires for its interpretation the context of the mapping (mapping set). My main use case for SSSOM requires the ability to mix and match mappings, which sort of decontextualises them. I guess we could say that the interpretation of sssom:NoMapping is "no mapping in source", and require the object_source to be specified- when sssom:NoMapping is used. We could also use sssom:Nothing instead of noMappig to retain a bit the "object-ness" of the terminology in the object_id column.. I dont mind either way. Something like:

subject_id
relation_id
object_id
match_type
object_source

HPO:001
owl:equivalentTo
sssom:Nothing
sssom:HandCurated
mp.owl

We could also use sssom:Nothing instead of noMappig to retain a bit the "object-ness"
This makes sense to me!

Also, you could include a column that for whether a mapping exists. "1" means a mapping does, "0" means a mapping does not. Personally, I prefer sssom:Nothing.

Needs to be clear that a mapping was sought and not found, regardless of implementation.

makes sense
On Tue, Aug 18, 2020 at 4:34 AM Nico Matentzoglu<EMAIL_ADDRESS>wrote:

My main worry is that this statement is a statement on mapping level that
requires for its interpretation the context of the mapping (mapping set).
My main use case for SSSOM requires the ability to mix and match mappings,
which sort of decontextualises them. I guess we could say that the
interpretation of sssom:NoMapping is "no mapping in source", and require
the object_source to be specified- when sssom:NoMapping is used. We
could also use sssom:Nothing instead of noMappig to retain a bit the
"object-ness" of the terminology in the object_id column.. I dont mind
either way. Something like:
subject_id relation_id object_id match_type object_source
HPO:001 owl:equivalentTo sssom:Nothing sssom:HandCurated mp.owl
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OBOFoundry/SSSOM/issues/28#issuecomment-675425389,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAMMOPWHDMFMU7M3R5I6ELSBJRK3ANCNFSM4QCPWJWQ
.

type=curated & object_id=sssom: Nothing -> a human was not able to find a
mapping
type=lexical & object_id=sssom: Nothing -> lexical methods not able to find
a mapping
sufficient?
On Wed, Aug 19, 2020 at 10:49 AM Melissa Haendel<EMAIL_ADDRESS>wrote:

Needs to be clear that a mapping was sought and not found, regardless of
implementation.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OBOFoundry/SSSOM/issues/28#issuecomment-676570062,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAMMOLLGEJFZHGQIJ5HFI3SBQGBHANCNFSM4QCPWJWQ
.

Maybe rather than sssom:Nothing, something like sssom:NoTermFound (to avoid confusing with owl:Nothing)

Do we want a special predicate for such cases? E.g.: sssom:noMatch

we want to be able to say no exact matches, no close matches etc
On Tue, Oct 13, 2020 at 1:28 PM Bill Duncan<EMAIL_ADDRESS>wrote:

Do we want a special predicate for such cases? E.g.: sssom:noMatch
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OBOFoundry/SSSOM/issues/28#issuecomment-707990393,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAMMOKHKWSWBVYHKKKFXPTSKS2ANANCNFSM4QCPWJWQ
.

This tickets discusses three things:

How to declare that there is no mapping of a kind
How to declare that a mapping is false (negated mapping)
How to capture that the above were determined

For 1, the going proposal is:

subject_id
relation_id
object_id
match_type
object_source

HP:001
owl:equivalentTo
sssom:Nothing
sssom:HumanCuration
mp.owl

to indicate that given the term HP:001, there was no term in the object_source that a human curator could find would map. Are we all in agreement of that?
For 2 (which we need for a variety of use case, in particular to capture false positive automated mappings), maybe we need to come back to @cmungall's idea of introducing a minimal SPARQL-esque syntax to enable this?
^skos:exactMatch to say, for example, that there is no skos:exactMatch.
ALT1:

subject_id
relation_id
object_id
match_type
object_source

HP:001
^owl:equivalentTo
MP:001
sssom:HumanCuration
mp.owl

ALT2:

subject_id
relation_id
object_id
match_type
object_source

HP:001
NOT(owl:equivalentTo)
MP:001
sssom:HumanCuration
mp.owl

ALT3:

subject_id
relation_id
object_id
match_type
object_source
relation_modifier

HP:001
owl:equivalentTo
MP:001
sssom:HumanCuration
mp.owl
NOT

For 3, we need to start building a better model for curation rules here.

The negated mapping question is discussed in #40 so this ticket is now purely about the question how to specify unmapped elements.

Documenting the outcome of the Vote for the future:


Unit tests based on synthetic data from GalSim

Another benefit of adding these tests: "All the test images in Synthetic.jl use either an identity WCS or a symmetric one. For testing purposes, we should replace them all with an actual asymmetric WCS.", from issue #90 , which this one subsumes.

@jeff-regier You still feel good about FactCheck? You mentioned it in #90 and I'll use it for these GalSim-based unit tests unless you've changed your mind.

The trend has generally been to use http://docs.julialang.org/en/release-0.5/stdlib/test/#working-with-test-sets instead of FactCheck. They are very similar but the former is part of Base.

@andreasnoack OK, thank you! I'll go that route.

@jeff-regier Here is a list of all unit tests which use stamps via SampleData.jl, organized by which entry point they use:
Unit tests:

Using gen_three_body_dataset

test_derivates.test_box_derivatives
test_derivates.test_box_simplex_derivatives
test_derivates.test_fs0m_derivatives
test_derivates.test_fs1m_derivatives
test_derivates.test_galaxy_cache_component
test_derivates.test_galaxy_variable_transform
test_misc.test_sky_noise_estimates
test_optimization.test_single_source_optimization
test_transforms.test_parameter_conversion

Using gen_two_body_dataset

test_elbo.test_active_sources
test_elbo.test_num_allowed_sd
test_elbo.test_populate_fsm!

Using gen_sample_galaxy_dataset

test_elbo.test_that_galaxy_truth_is_most_likely
test_log_prob.test_that_gal_truth_is_most_likely_log_prob
test_optimization.test_full_elbo_optimization
test_optimization.test_galaxy_optimization
test_optimization.test_galaxy_optimization_fft

Using gen_sample_star_dataset

test_derivates.test_brightness_hessian
test_images.test_stamp_get_object_psf (disabled)
test_infer.test_load_active_pixels
test_optimization.test_star_optimization
test_optimization.test_star_optimization_fft

Using load_stamp_catalog and load_stamp_blob

test_elbo.test_coadd_cat_init_is_most_likely
test_optimization.test_real_stamp_optimization (disabled)

Using load_stamp_blob

test_images.test_set_patch_size (disabled)
test_misc.test_sky_noise_estimates

Benchmark using gen_n_body_dataset:

benchmark/speed/benchmark_elbo.jl

Using SDSSIO.load_field_images (not stamps, but relevant):

test_images.test_images
test_derivates.test_real_image

To be clear, are you wanting to replace all these unit tests with versions that use GalSim images? I'm happy to tackle it but want to make sure because it's quite a substantial task. Or are you thinking of just adding some new unit tests that use GalSim images to check basic functionality? That is much easier but doesn't really help us get rid of stamps.

To be clear, are you wanting to replace all these unit tests with
versions that use GalSim images? I'm happy to tackle it but want to make
sure because it's quite a substantial task. Or are you thinking of just
adding some new unit tests that use GalSim images to check basic
functionality? That is much easier but doesn't really help us get rid of
stamps.
I don' think replacing all of these with galsim images will be as bad as
you think.  IIRC you only really need to reproduce the functionality of a
few functions in SampleData, i.e.

gen_sample_star_dataset
gen_sample_galaxy_dataset
gen_two_body_dataset
gen_three_body_dataset
gen_n_body_dataset (the randomness is not necessary)
true_star_init
and then maybe also
verify_sample_star and
verify_sample_galaxy
Given what you've already done, I think reproducing that functionality will
be pretty straightforward.  (You may want to choose a small PSF, like a 1.5
pixel sd.)  Then the rest of the tests can be left unchanged, and the rest
of SampleData.jl and Synthetic.jl can just be deleted.
Ryan

Let's make this issue about adding new tests based on galsim rather than about deleting old tests that rely on stamps. I agree with Ryan that deleting stamps is not as bad as it sounds, but it's still could be a fair amount of work if tests start failing, and other issues may give us more benefit. Let's reassess once the galsim unit tests are in place.

PR #452 I just sent moves GalsimBenchmark.jl into src/ and adds a simple "unit test" that exercises the GalsimBenchmark code for two GalSim test cases and checks the results aren't way off.
On the one hand I could write more detailed tests of Celeste's internals using GalSim images, or port the existing ones, but it sounds like the call is that's not worth the time right now.
On the other hand I could write proper unit tests that exercise the internals of GalsimBenchmark.jl in a more piecemeal manner. For a fairly straightforward benchmark script (rather than a piece of core Celeste) that seems not worthwhile to me, but I'm happy to add some.
So I'm not sure if this is exactly what you wanted, let me know.
This isn't terribly important but I can't not mention it: I wouldn't technically this sort of thing a unit test, I think the term unit test should really refer to code that exercises a relatively small piece of code in isolation. Unit tests should all be very, very fast, should never do I/O, and should be as focused as possible---without being so tightly coupled to implementation details as to become highly brittle, or being so finely focused that they test obvious things (there's always a tradeoff). Larger tests, slower tests, and/or tests that do I/O all have their place, but I would call them integration tests or functional tests and treat them separately. Probably sounds like I'm just picking on terminology, but differentiating between these is important for the long-term utility of a test suite, in my experience. Also, writing proper unit tests requires changes to the way we design the code under test, almost always for the better (it forces you to improve modularity). I don't propose any sweeping changes since there are a lot of urgent tasks on our plate, but figured I'd throw the idea out there if anyone's interested. I also acknowledge this is largely a subjective matter and prevailing opinions vary among different language and application communities :)

Hi Steve, It's probably best if you decide whether to add more tests or to move on to #157. If it's easy to make the tests way better then that could be worth doing while it's on your mind. Or you could open new issues so we get back to it in the future. Or we could close this issue if the low hanging fruit is gone and move on.
I'm glad to hear about the distinction between unit tests and integration/functional tests. We should probably have a more coherent testing strategy eventually. If you have ideas already, you could open issues for them. When the code is more mature and we have astronomers contributing code, then there will be an additional reason to have more thorough testing.


Add batch classifiers

This will help if batch information is not available

This is now irrelevant since the batches are well defined.


External configuration file

This PR moves user configurable fields to a dedicated file for easier updating of the main script

Just realized this needs some more work to be compatible with the service install, as it won't recognize the config that way.

This weekend I can take a look at your PRs and test them. Since you are working now on this one, I have a small comment. I like the separate config, except not in the current format, I would like to have the config in YAML format, see for an example https://github.com/Mosibi/tesladata/blob/master/config.yaml.

External config file support is implemented in #23


Works in Console APP,but not in WinForms App

Hello,
i have just tried the api in VS2017 by creating a windows console app, and it works fine.
But when i create a project with Windows Form , api doesnt work. it gets hung on ConnectAsync
No error comes, very strange, What could be the problem ?

@peterdias , any luck with WinForms?
Have you received realtime price data?

Which you use the .NET Framework, I used on dotnet core base, so sad to tell you i've use Mac to dev this source code, and not sure the winform can run compatible .Net core 3.1? I'll check

I've checked it support WinForm but you need to upgrade your own .Net Framework following this


why depend on django?

It is not a requirement of the package: https://github.com/Frozenball/pytest-sugar/blob/21c4e061b10cf631a2cef39c377e4c4dc8155a44/setup.py#L40

thanks!


Libraries which are using relative imports inside doesn't work

[ ] Read the docs.
[ ] Use Vite >=2.0. (1.x is no longer supported)
[ ] If the issue is related to 1.x -> 2.0 upgrade, read the Migration Guide first.

Describe the bug
Library fails during import.  Same steps as #1461.
`
[vite] Internal server error: Failed to resolve import ".entry.js". Does the file exist?
Plugin: vite:import-analysis
File: /Users/maks/Projects/revo-vite/vite-project/node_modules/.vite/@revolist_vue3-datagrid.js?v=c0a52aae
1683|      return o[r];
1684|    }
1685|    return import("./" + a + ".entry.js").then(function(e2)
`
Reproduction

Install vite.
npm i @revolist/vue3-datagrid --save
import to project as

import VGrid from "@revolist/vue3-datagrid";
defineComponent({
  VGrid
})

npm run dev
Visit localhost:3000

System Info

vite version: 2.0.0-beta.65
Operating System: macOS BigSur
Node version: 15.3.0
Package manager (npm/yarn/pnpm) and version: npm 6.14.8

Btw - please consider shipping native ESM for your library if you want it to work better in Vite.


Add Contributing.md

Description

Add contributing.md
Checklist

[ ] Linter status: 100% pass
[ ] Changes don't break existing behavior
[ ] Tests coverage hasn't decreased

Affected core subsystem(s)

Testing

Refers/Fixes

Fixes #97

Pull Request Test Coverage Report for Build 396

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 88.073%

Totals

Change from base Build 395:
0.0%

Covered Lines:
276

Relevant Lines:
294

💛  - Coveralls

@iamonuwa thanks for creating this!  I apologize because the issue wasn't super descriptive but @eswarasai created a nice CONTRIBUTING.md here that I wanted to adopt with a few changes to use for this repo as well.
The only real changes are

Fix all links and references to the correct repo
Code style is different for solidity, and so is the linting procedure

Would you like to work on this further? If not I can merge this PR (it is certainly a step in the right direction!) and create a new issue to update to the format that @eswarasai created at a later date.

Hey @pelsasser, I would love to work on it.


add copyright header to built files

Need to add the copyright header to files in dist/ as per Esri policy.
Copyright 2017 Esri

Licensed under the Apache License, Version 2.0 (the "License");

you may not use this file except in compliance with the License.

You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software

distributed under the License is distributed on an "AS IS" BASIS,

WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and

limitations under the License.

Can we also get a summarized license header attached to the minified js and css files distributed by CDN?
Example of summarized header from material-lite: https://code.getmdl.io/1.3.0/material.min.js

👍 Can do.
@julio8a - any insight into what text we should use here?

We can base it off that standard material has:
/*
 * Calcite Web - Calcite Components in CSS, JS and HTML
 * @version v#.#.#
 * @license Apache-2.0
 * @copyright 2018 Esri
 * @link https://github.com/Esri/calcite-web
 */

@paulcpederson, anything to add, change or modify?

Looks good to me. Not sure of the description text, though. Title would probably be sufficient.

@macandcheese I have this pretty much set up locally, will add to the next pr


reddit now redirects to https, this must now request from https as well

https://www.reddit.com/r/redditdev/comments/39zje0/reddit_will_soon_only_be_available_over_https/

this has been fixed by migrating the aww script to its own npm package. https://github.com/thejefe/hubot-aww

Thanks, I added that to the list of scripts with replacements in https://github.com/github/hubot-scripts/issues/1641


Added functionality to specify managed api connections to Mock

Added the functionality to choose which Managed APIs should be mocked.
To add a mock api, specify its connection name in the managedApisToMock property in the test properties:
{
    "logging": {
        "writeFunctionRuntimeStartupLogs": true,
        "WriteMockRequestMatchingLogs": true
    },
    "workflow": {
        "externalApiUrlsToMock": [],
        "builtInConnectorsToMock": [],
        "managedApisToMock": [
            "outlook"
        ]
    }
}

Hi @zzznz27 , thank you for the PR, a good improvement. One comment though. Any changes must ensure backwards compatibility with previous versions so that existing tests are not broken. Therefore a config file without the new setting to filter managed connectors must mock all managed API connectors. Does your change do this?

It currently does not but I'll will make some changes to ensure existing functionality is maintained
Thnks for the suggestion!

Changed have been made to ensure backwards compatibility

Hi @zzznz27 , I have approved and completed the PR. I need to work through the other two outstanding PRs, then I'll publish a new version to NuGet. Thanks for your contribution and sorry about the delay in sorting this out.

Hi @zzznz27 , I have released version 1.10.0 of LogicAppUnit. Thank you for your contribution, and many apologies for the delay in shipping the new version.


Need better docs for kubecfg create minions

kubecfg seems to support minion creation as I tried kubecfg create command:
kubecfg.go:247] usage: kubecfg [OPTIONS] create <minions|pods|replicationControllers|services>

But when I tried kubecfg create minions, it shows:
kubecfg.go:102] Need config file (-c)

But I cannot find any minion schema in documentation directory? Is it any ways I can create or add a new minion in existed Kubernetes cluster?

I installed Kubernetes on three hosts (not using a Cloud Provider right now). Started "apiserver, controller-manager, kubelet and proxy" on master, "kublet and proxy" on two other servers. I checked the IP, env variables for KUBERNETES_MASTER, KUBE_ETCD_SERVERS etc. All config looks fine. But the Minion list isn't populated. I see an error saying there is no key defined at ETCD endpoint: /registry/registry/nodes/<IP_ADDRESS>/boundpods. No minions detected, can't create any pod! Please help...

Closing this as obsolete, since we have migrated to kubectl.
@GovindarajRangan my guess is that you need to set --hostname_override on your kubelets to their IP addresses.  Otherwise they will use the hostname.
If you continue to have problems, please find us on IRC at #google-containers, or open a new issue.
Thanks!
--brendan


Fix #6198

Check if new FEATURE_CONFIGURATION_AUTHORIZATION is enabled to disable is_staff field only if exists.

Fix #6198


Byo CNI network plugin option

This is the first step for az aks create … --network-plugin=byo option, which will not install a CNI at cluster creation time. Eventually AzureCNI/Kubenet options will also use this flag in AgentBaker as we transition those to daemonsets.
For full doc, please see: https://msazure.visualstudio.com/CloudNativeCompute/_wiki/wikis/CloudNativeCompute.wiki/178003/BYO-CNI

this mostly looks good, lmk if you're ready for a full review?
have you tested this with standalone?

Yep @alexeldeib a full review would be great!
Tested on a standalone, works as expected in the doc (nodes come up NotReady with no CNI installed), then I applied a Calico installation on the cluster and set it up with VXLAN + Calico IPAM, which seemed to work great.


Sadedegel.server startup error

Sadedegel.server throws ModuleNotFoundError: No module named 'sadedegel.bblock' error during startup.

Please update your sadedegel to version 0.11. That was a regression


[core-http-compat] Fix issue with disable keep alive policy being added multiple times

Packages impacted by this PR
@azure/core-http-compat
Issues associated with this PR
Fixes #25073
Describe the problem that is addressed by this PR
In the case that the consumer provides a pipeline that already has the disableKeepAlivePolicy added, we don't want to add it a second time. This can happen in situations like Storage where the same pipeline might be re-used by multiple clients.
Are there test cases added in this PR? (If not, why?)
Yes

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


Adding Login Page

I would like to work on this issue.
I just have to implement the UI right? and not the backend?

I would like to work on this issue. I just have to implement the UI right? and not the backend?

Yes. Just the UI. Take your time make the PR after a week so that it is counted.

I would like to work on this issue.
I can implement both UI and backend.
UI will be provided to me or have to create my own?

I would like to work on this issue. I can implement both UI and backend. UI will be provided to me or have to create my own?

work on the sign up page as of now.

I would like to work on this issue. I can implement both UI and backend. UI will be provided to me or have to create my own?

work on the sign up page as of now.

ok

@madihamallick Could you briefly describe the kind of UI required? and the fields the user has to fill in (name, email, password) ?

@madihamallick Could you briefly describe the kind of UI required? and the fields the user has to fill in (name, email, password) ?

Yes, name phone no,, email etc.

@sanjanarp any updates?


Vancouver Canada

Hi, thanks for the project. In the last few days Vancouver Canada has changed to have the lat and long appear in the wrong order for geojson.
Used to be:
{"type":"Feature","properties":{"id":"","unit":"","number":"2150","street":"E 13TH AV","city":"","district":"","region":"","postcode":"","hash":"ee9420d31a30ea50"},"geometry":{"type":"Point","coordinates":[-123.0609521,49.2583243]}}
Now:
{"type":"Feature","properties":{"id":"","unit":"","number":"3355","street":"DEERING ISLAND PLACE","city":"","district":"","region":"","postcode":"","hash":"98ba2d2d3078766e"},"geometry":{"type":"Point","coordinates":[49.2173688,-123.181671]}}
I would be happy to understand how the system works and fix it myself if you could point me in the right direction. We work on address data a lot so would be happy to contribute when it overlaps with OpenAddresses.
Thanks.

Hey @jordola, thanks a ton for reporting this. Just got to the bottom of this myself while investigating another canadian shapefile source.
I've opened a ticket here: https://github.com/openaddresses/batch/issues/51 about the issue and will try to get it resolved in the next day or two.

Fixed


Align monero and bitcoin images

linked issue #55

Can you show a screenshot of the result? Thanks. Also, you may have issues with
. Go into your browser's dev tools and test it with a responsive view.

Still not sure if
 is the best long-term solution. Maybe flexbox?

isn't flexbox overkill for this? other option would be to use ::before and a mobile media query.


Hello I am having Error: spawn UNKNOWN, look the image! Please help me, I'm windows 10 32bits

(node:4340) UnhandledPromiseRejectionWarning: Error: spawn UNKNOWN
at ChildProcess.spawn (internal/child_process.js:403:11)
at spawn (child_process.js:553:9)
at C:\Users\franc\Stickerworld\node_modules\fluent-ffmpeg\lib\ffprobe.js:155:21
at FfmpegCommand.proto._getFfprobePath (C:\Users\franc\Stickerworld\node_modules\fluent-ffmpeg\lib\capabilities.js:144:14)
at FfmpegCommand.proto.ffprobe (C:\Users\franc\Stickerworld\node_modules\fluent-ffmpeg\lib\ffprobe.js:141:10)
at Function.FfmpegCommand.ffprobe (C:\Users\franc\Stickerworld\node_modules\fluent-ffmpeg\lib\fluent-ffmpeg.js:221:20)
at C:\Users\franc\Stickerworld\lib\ffmpeg.js:87:17
at new Promise ()
at Object.ffprobe (C:\Users\franc\Stickerworld\lib\ffmpeg.js:86:12)
at Video. (C:\Users\franc\Stickerworld\lib\video.js:14:42)
(Use node --trace-warnings ... to show where the warning was created)
(node:4340) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
(node:4340) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I am on vacation for Christmas parties and I do not have access to the pc to work, when I return home I will look at that problem more closely.
But could you please check in the StickerWorld folder, if inside the "tools" folder there is a folder called "ffmpeg" and inside there must be two exe files:
-ffmpeg.exe
-ffprobe.exe

The folder has to be like this capture
Sorry for not being able to fix it now

Good Morning,
Yes, look

oh, i opened it and it appeared that the program cannot be run because it is not my pc version.  maybe 64bit, my pc is 32bit

Now I'm getting this error

I will show you the whole process, right?  Make sure I'm Windows 32bit, I don't know if that interferes in anything.

I will show you the whole process, right?  Make sure I'm Windows 32bit, I don't know if that interferes in anything.

Look "this application cannot be run on your pc" maybe because My pc is 32bits and this version is 64bits. Help me correct it

Look "this application cannot be run on your pc" maybe because My pc is 32bits and this version is 64bits. Help me correct it

I’ve been waiting for a long time🤦🏻♀

I’ve been waiting for a long time🤦🏻♀

With this change(https://github.com/kaiserdj/Stickerworld/commit/509f2e0b2fe080af0c6c6f94601129a86aec369c) it is already assumed that it could work perfectly in x32
Delete everything you have and download the latest version of the project

With this change(https://github.com/kaiserdj/Stickerworld/commit/509f2e0b2fe080af0c6c6f94601129a86aec369c) it is already assumed that it could work perfectly in x32
Delete everything you have and download the latest version of the project

Sorry for taking so long to answer, I had personal problems

Sorry for taking so long to answer, I had personal problems

Alright, I will try again later, and I will let u know if it worked to me, thank you ☺

Alright, I will try again later, and I will let u know if it worked to me, thank you ☺

Look 🤦🏻♀

Look 🤦🏻♀

🤦🏻♀ why

🤦🏻♀ why

Sorry for the problems, I don't have a 32-bit system, so I can't test if it works correctly.
Please could you download these files:
https://gofile.io/d/2A81cq
https://gofile.io/d/iXzMuO
And place them inside the folder: tools / ffmpeg, as I show in the image:

Sorry again for the problems

Sorry for the problems, I don't have a 32-bit system, so I can't test if it works correctly.
Please could you download these files:
https://gofile.io/d/2A81cq
https://gofile.io/d/iXzMuO
And place them inside the folder: tools / ffmpeg, as I show in the image:

Sorry again for the problems

The truth is, I am quite lost with this error, I try to search for information and I can't find anything anywhere and I can't do tests since I don't have a 32-bit computer.
The only thing I can think of is that you try to do everything from 0, I mean, delete the whole project from stickerworld, then uninstall it from nodejs.
Install node 14.15.4 LTS version (Basically recommended), download the latest version of the Stickerworld project and run it.
If you get an error, please give me the entire text of the cmd and the log if possible.
Sorry for all these problems

The truth is, I am quite lost with this error, I try to search for information and I can't find anything anywhere and I can't do tests since I don't have a 32-bit computer.
The only thing I can think of is that you try to do everything from 0, I mean, delete the whole project from stickerworld, then uninstall it from nodejs.
Install node 14.15.4 LTS version (Basically recommended), download the latest version of the Stickerworld project and run it.
If you get an error, please give me the entire text of the cmd and the log if possible.
Sorry for all these problems

Thanks for supporting ☺

Thanks for supporting ☺


Invalid DSN

I was trying to connect sentry to my express app using raven and it says my DSN is invalid. I tried both the regular one and the public DSN. But none worked. any idea why?

It's hard to help without any code/config that I could use to debug the issue :)
You may mask part of your DSN with ********* if you need to.

Really sorry about that. Here's how I configured the app:
// Configure error reporting
if (process.env.RAVEN_DSN) {
  Raven.config(process.env.RAVEN_DSN).install();
  app.use(Raven.requestHandler());
}

And at the end I placed
app.use(Raven.errorHandler());

In the .env file:
<EMAIL_ADDRESS>
I did a console log of process.env.RAVEN_DSN and it's being loaded correctly and the error message reads like this:
Error: Invalid Sentry DSN<EMAIL_ADDRESS>    at Object.parseDSN (/usr/src/app/node_modules/raven/lib/utils.js:193:11)
    at Raven.config (/usr/src/app/node_modules/raven/lib/client.js:52:22)
    at Object.<anonymous> (/usr/src/app/dist/app.js:65:19)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Function.Module.runMain (module.js:693:10)
    at startup (bootstrap_node.js:188:16)
    at bootstrap_node.js:609:3

Just found the issue! In the .env file we can't add double quotes! So the following...
<EMAIL_ADDRESS>
should be written as:
<EMAIL_ADDRESS>


Store OAuth token so we don't need to get a new one every time a user signs in

When we receive an access token from OSM when a user signs in, we should store it (securely) so we can retrieve and re-use it and don't need to generate new access tokens every time a user needs to sign in again.

Maybe we could simply use localStorage, so it's stored on the computer and not on the server ?

@Frankkkkk can you provide a PR for this?

That would be useful, yes. Backlogging for the moment. Happy to take a PR!


Fixed renderer stats ['H' panel] cause by post-processing.

I dig a bit deeper you can get to this

frame is used to update skinned meshes [if frame the same, update is skipped].
and it's probably related to PostProcess or smth.
Should I continue or just contact somebody who did this part of code [rendering head etc] ?

☝
Links are more useful than screenshots. I found it by searching myself, but that's pure luck: https://github.com/mrdoob/three.js/blob/fadb6ab1cfcf917e8287e2cca6292aae6ef15793/src/renderers/WebGLRenderer.js

I don't think this is the right direction, since the research was not done and this code causes mysterious problems.
We can re-open when we have a better understanding of the code and what to fix.


Added all attribute to all init.py (packages)

Fixes #5389

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

I signed it!

@nathanielmanistaatgoogle can you please have a look?

Thank you for contributing!
Please edit your commit message to conform to these guidelines.

Sure,  Thanks!

I'm not yet seeing changes to your commit?

Can one of the admins verify this patch?

This is OK to test.

This is OK to test.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok to test.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok to test.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok to test.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok to test.

Closing; this has been obviated by the lean-and-mean implementation of the GA API and the removal of the old implementations of the Alpha and Beta APIs.


Cuda 9.2 Windows Link

Where to download Cuda 9.2 version?
Not here.
https://developer.nvidia.com/cuda-92-download-archive?target_os=Windows&target_arch=x86_64

First, my implementation(this repo) does not support Windows.
And recently I maintain torch7 unofficially, so CUDA10 can be used for waifu2x.

To run on windows you will need WSL2 and will likely resort to docker, as the normal installation process is highly likely to lead to a failure needing a full WSL2 environment reinstall.


Make the HDMI2Eth target fully functional

The HDMI2Eth target doesn't really work yet, to make it work it would need to do the following;

Stream a RTP of the video stream out the Ethernet (see start at https://github.com/timvideos/HDMI2USB-misoc-firmware/blob/master/gateware/streamer/rtp.py)

Would be good if you could stream both compress and uncompress video.
Would be good if you could stream more then one input source (assuming the bandwidth allows).

Allow control of the board via telnet, HTTP or other network protocol.
Use DHCP to get an IP address.
Support both the Atlys and Opsis board (and maybe others). See https://github.com/timvideos/HDMI2USB-misoc-firmware/issues/223
Supports operating at Gigabit speeds
(Optional) Allows streaming an RTP stream into the board as another source that can be output.

Useful resources might be;

@tariq786 's project to get Ethernet working in the previous firmware.

http://hdmi2ethernet.blogspot.com.au/
https://docs.google.com/document/d/1RfgA-Fi7JEO8Z5PPYnO2wFwvrL0wVjoxkvNZ8yqMA-Y/edit
https://github.com/tariq786/HDMI2USB
https://docs.google.com/document/d/1oknHWujhhMfLyjyc4yfocAlLUUg15ptux0R3oOo5Bms/edit

M-Lab's artiq - https://github.com/m-labs/artiq

They use lwip - https://github.com/m-labs/artiq/search?utf8=✓&q=lwip
Some discussion at http://irclog.whitequark.org/m-labs/2015-10-26#14423384;

It might be good for the firmware running on the soft-CPU to be running a full Linux (https://github.com/timvideos/getting-started/issues/30) or RTEMs OS so that their TCP/IP stack can be reused.

There are also other options, @sbourdeauducq suggested taking a look at https://github.com/tass-belgium/picotcp

Is this thing still alive?

@danielkucera It is still something we very much want to do but have not had time to finish.

This is normal when you want to do too many things in parallel ;) Please excuse any typos.
-------- Original message --------From: Tim Ansell<EMAIL_ADDRESS>Date: 6/5/19  12:02 PM  (GMT-05:00) To: timvideos/HDMI2USB-litex-firmware<EMAIL_ADDRESS>Cc: tariq786<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [timvideos/HDMI2USB-litex-firmware] Make the HDMI2Eth target fully functional (#224) @danielkucera It is still something we very much want to do but have not had time to finish.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/timvideos/HDMI2USB-litex-firmware/issues/224?email_source=notifications\u0026email_token=AAAEXI2EEQGQUBCNYC36DDLPY7PSNA5CNFSM4B664P62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXAGDPY#issuecomment-499147199",
"url": "https://github.com/timvideos/HDMI2USB-litex-firmware/issues/224?email_source=notifications\u0026email_token=AAAEXI2EEQGQUBCNYC36DDLPY7PSNA5CNFSM4B664P62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXAGDPY#issuecomment-499147199",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]


Wildcard update

Related issue
Signed-off-by: Vyankatesh<EMAIL_ADDRESS>closes https://github.com/kyverno/website/issues/494

Checklist

[x] I have read the contributing guidelines.
[x] I have inspected the website preview for accuracy.
[x] I have signed off my issue.

See in-line comments.

Thanks @chipzoller. I have addressed all comment.


Ionic the new JAVA VM Memory LEAK

Note: for support questions, please use one of these channels:
https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/
Short description of the problem:
ionic cordova build android --aot --prod is consuming all memory available and it is not building application!
What behavior are you expecting?
Application should be build without much effort
Steps to reproduce:
1.nvm install 8.9.0/8.9.4/10.0.0
2.npm i -g ionic cordova
3.ionic cordova build android --aot --prod

insert any relevant code between the above and below backticks

cli packages: (/home/rampage/.nvm/versions/node/v10.0.0/lib/node_modules)

    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0

global packages:

    cordova (Cordova CLI) : 8.0.0

local packages:

    @ionic/app-scripts : 3.1.9
    Cordova Platforms  : android 7.1.0
    Ionic Framework    : ionic-angular 3.9.2

System:

    Node : v10.0.0
    npm  : 6.0.0
    OS   : Linux 4.15

Environment Variables:

    ANDROID_HOME : not set

Misc:

    backend : pro

Tested also with Node 8.9.0 and 8.9.4 it is the same as 10.0.0

+1 tested with node v6.11.5 and v9.11.1

1 , what is the solution i need to upload latest changes to android play store ? below are my info versions

cli packages: (C:\Users\jessica\AppData\Roaming\npm\node_modules)

    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0

global packages:

    cordova (Cordova CLI) : 8.0.0

local packages:

    @ionic/app-scripts : 3.1.9
    Cordova Platforms  : android 7.0.0 browser 5.0.3
    Ionic Framework    : ionic-angular 3.9.2

System:

    Android SDK Tools : 25.2.5
    Node              : v6.10.3
    npm               : 6.0.1
    OS                : Windows 8.1

Your best bet for now may be using the following in stead of --prod :
‘--minifycss --minifyjs --aot’
I'm mobile now, but the issue seems to be narrowed down to --optimizejs,
which --prod uses, but causes the build to consume memory but never
complete. I read somewhere on another ticket that I may be a webpack thing,
but as there aren't any more updates to 3.9, we're stuck with this.
On Tue, 29 May 2018, 08:19 jessicastorm1986<EMAIL_ADDRESS>wrote:

1 , what is the solution i need to upload latest changes to android
play store ? below are my info versions

cli packages: (C:\Users\jessica\AppData\Roaming\npm\node_modules)
@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:
cordova (Cordova CLI) : 8.0.0

local packages:
@ionic/app-scripts : 3.1.9
Cordova Platforms  : android 7.0.0 browser 5.0.3
Ionic Framework    : ionic-angular 3.9.2

System:
Android SDK Tools : 25.2.5
Node              : v6.10.3
npm               : 6.0.1
OS                : Windows 8.1

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ionic-team/ionic-app-scripts/issues/1429#issuecomment-392677129,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APPh0qaFzCQVCPfWszGRb0_XcxvOgcLeks5t3PZygaJpZM4TzUsw
.

Well ionic cordova build android --aot  worked, so according to you this is our solution for the moment ? and once we shift to ionic 4.0 we will have to find new ways..

For the moment, yes. From what I've read and experienced it seems to happen
with large projects (mine is 30+ screens with lazy loading). As --prod uses
the --minifycss, --minifyjs and --optimizejs, using two out of three gets
the build done with a lag free response. Perhaps they will look into it
after 4.0, but this will have to do.
On Tue, 29 May 2018, 09:02 jessicastorm1986<EMAIL_ADDRESS>wrote:

Well ionic cordova build android --aot worked, so according to you this
is our solution for the moment ? and once we shift to ionic 4.0 we will
have to find new ways..
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ionic-team/ionic-app-scripts/issues/1429#issuecomment-392688198,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APPh0pPyUqZw4TpErQRPgGow_sLCEvp4ks5t3QCrgaJpZM4TzUsw
.

@jessicastorm1986 remove the ^ inside package.json and install your dependencies.After that you will have package-lock.json everytime when you try to install use npm install --from-lock-file this way you will install everytime the same dependencies.Downside is that you will not get new updates but you will decide when to update, it costs time but i think it is the right way doing things.
About issue i face it long time ago and i decided to lock my working version and to be sure that my app will go into production without problems.Let me share my package.json with OLD (but gold) working version :)
{
  "name": "",
  "version": "0.0.1",
  "author": "Ionic Framework",
  "homepage": "http://ionicframework.com/",
  "private": true,
  "scripts": {
    "postinstall": "cd ./node_modules/ && mkdir gapi-angular-client && cp -r ./@gapi/angular-client/* ./gapi-angular-client",
    "clean": "ionic-app-scripts clean",
    "build": "ionic-app-scripts build",
    "lint": "ionic-app-scripts lint",
    "ionic:build": "ionic-app-scripts build",
    "ionic:serve": "ionic-app-scripts serve",
    "build:prod:aot": "ionic build --prod --aot",
    "start:docker": "docker-compose up -d --force-recreate",
    "build:docker": "docker build -t juice/mobile/aot:latest ."
  },
  "dependencies": {
    "@angular/animations": "5.2.9",
    "@angular/common": "5.2.9",
    "@angular/compiler": "5.2.9",
    "@angular/compiler-cli": "5.2.9",
    "@angular/core": "5.2.9",
    "@angular/forms": "5.2.9",
    "@angular/http": "5.2.9",
    "@angular/platform-browser": "5.2.9",
    "@angular/platform-browser-dynamic": "5.2.9",
    "@gapi/angular-client": "^0.7.172",
    "@ionic-native/background-geolocation": "^4.7.0",
    "@ionic-native/core": "^4.7.0",
    "@ionic-native/facebook": "^4.7.0",
    "@ionic-native/geolocation": "^4.7.0",
    "@ionic-native/google-maps": "^4.7.0",
    "@ionic-native/location-accuracy": "^4.7.0",
    "@ionic-native/onesignal": "^4.7.0",
    "@ionic-native/secure-storage": "^4.7.0",
    "@ionic-native/splash-screen": "4.6.0",
    "@ionic-native/status-bar": "4.6.0",
    "@ionic/pro": "1.0.20",
    "@ionic/storage": "2.1.3",
    "@types/node": "^9.6.6",
    "angularfire2": "^5.0.0-rc.6.0",
    "cordova-android": "7.1.0",
    "cordova-browser": "5.0.3",
    "cordova-ios": "4.5.4",
    "cordova-plugin-device": "^2.0.2",
    "cordova-plugin-facebook4": "git+https://github.com/amritk/cordova-plugin-facebook4.git",
    "cordova-plugin-geolocation": "^4.0.1",
    "cordova-plugin-googlemaps": "^2.2.9",
    "cordova-plugin-ionic-keyboard": "^2.0.5",
    "cordova-plugin-ionic-webview": "^1.2.0",
    "cordova-plugin-mauron85-background-geolocation": "^2.3.5",
    "cordova-plugin-request-location-accuracy": "^2.2.2",
    "cordova-plugin-secure-storage": "^2.6.8",
    "cordova-plugin-splashscreen": "^5.0.2",
    "cordova-plugin-statusbar": "^2.4.2",
    "cordova-plugin-whitelist": "^1.3.3",
    "firebase": "^4.12.1",
    "ionic-angular": "3.9.2",
    "ionicons": "3.0.0",
    "ngx-cache-layer": "^1.6.2",
    "onesignal-cordova-plugin": "^2.3.3",
    "rxjs": "5.5.8",
    "subscriptions-transport-ws": "^0.9.8",
    "sw-toolbox": "3.6.0",
    "zone.js": "0.8.26"
  },
  "devDependencies": {
    "@ionic/app-scripts": "3.1.8",
    "typescript": "~2.6.2"
  },
  "description": "An Ionic project",
  "cordova": {
    "plugins": {
      "cordova-plugin-secure-storage": {},
      "cordova-plugin-whitelist": {},
      "cordova-plugin-device": {},
      "cordova-plugin-splashscreen": {},
      "cordova-plugin-ionic-webview": {},
      "cordova-plugin-ionic-keyboard": {},
      "onesignal-cordova-plugin": {},
      "cordova-plugin-request-location-accuracy": {},
      "cordova-plugin-mauron85-background-geolocation": {
        "GOOGLE_PLAY_SERVICES_VERSION": "11+",
        "ANDROID_SUPPORT_LIBRARY_VERSION": "23+",
        "ICON": "@mipmap/icon",
        "SMALL_ICON": "@mipmap/icon",
        "ACCOUNT_NAME": "@string/app_name",
        "ACCOUNT_LABEL": "@string/app_name",
        "ACCOUNT_TYPE": "$PACKAGE_NAME.account",
        "CONTENT_AUTHORITY": "$PACKAGE_NAME",
        "ALWAYS_USAGE_DESCRIPTION": "This app always requires location tracking"
      },
      "cordova-plugin-geolocation": {
        "GEOLOCATION_USAGE_DESCRIPTION": "To locate you"
      },
      "cordova-plugin-facebook4": {
        "APP_ID": "",
        "APP_NAME": "",
        "ANDROID_SDK_VERSION": "4.+"
      },
      "cordova-plugin-googlemaps": {
        "API_KEY_FOR_ANDROID": "",
        "API_KEY_FOR_IOS": "",
        "PLAY_SERVICES_VERSION": "12.0.0",
        "ANDROID_SUPPORT_V4_VERSION": "24.1.0"
      },
      "cordova-plugin-statusbar": {}
    },
    "platforms": [
      "android",
      "ios",
      "browser"
    ]
  }
}

Regards,
Kristiyan Tachev

I updated the @angular-devkit/build-optimizer which @ionic/app-scripts leverages with version 0.0.35, for app-scripts version 3.1.8 and I updated @angular-devkit/build-optimizer to version 0.6.8. Now I can do a production build with ionic 3.9.2 and firebase 5.3.0

This is an issue for us too and is absolutely related to the --optimizejs flag. Without it, our builds take max 5 minutes. With it, our builds take 30+ minutes. It sucks, but we're going to have to move forward without the --optimizejs flag. We don't even use firebase (which seems to be a lot of people's problems). What does the --optimizejs flag even do??

@jayordway worked for me npm i<EMAIL_ADDRESS>made the build finish with ionic under 1.2GB

@SpellChucker check out my solution on another thread, to being able to run ionic cordova build --device --prod --aot --minifyjs --minifycss --optimizejs --release. I hope it helps!

@jayordway In my case just doing ´´´npm i @angular-devkit/build-optimizer --save-dev´´ solved the issue. I also have firebase installed.


Adapt rotate changes

I've removed the exception and badalloc tests and not used the test_iterator and test_container because the parallel implementation of rotate uses reverse (which requires a bidirectional iterator) which is not supported by these test_iterator and test_container.
Once your PR gets merged I'll create a seperate PR to fix this, since rotate should'nt require a bidirectional iterator. We could then add the exception and badalloc tests.

Thanks a lot!  I'd think you will just check the cpos and Dpos in /.../algorithms/rotate.hpp, So I didnt update my newest changes which you had suggested changes, and some errors there, this leads to you spend more time on the fixed problems.  Sorry for that, won't happen again.

I've removed the exception and badalloc tests and not used the test_iterator and test_container because the parallel implementation of rotate uses reverse (which requires a bidirectional iterator) which is not supported by these test_iterator and test_container.
Once your PR gets merged I'll create a seperate PR to fix this, since rotate should'nt require a bidirectional iterator. We could then add the exception and badalloc tests.

Got it, That's cool !

No, this denotes the return type, it has nothing to do with f1 or f2. If you remember, we write a lambda as -> return_type {} . So we are just telling the lambda that we will return a future containing util::in_out_result<FwdIter, Sent>.

make snese!

Yes the parameters could be anything, we can change it to Sent.

ok, learned. thx!

rotate

So does similar changes in /test/rotate_copy_range.cpp file.

I've removed the exception and badalloc tests and not used the test_iterator and test_container because the parallel implementation of rotate uses reverse (which requires a bidirectional iterator) which is not supported by these test_iterator and test_container.
Once your PR gets merged I'll create a seperate PR to fix this, since rotate should'nt require a bidirectional iterator. We could then add the exception and badalloc tests.

So does similar changes in /test/rotate_copy_range.cpp file.

I've removed the exception and badalloc tests and not used the test_iterator and test_container because the parallel implementation of rotate uses reverse (which requires a bidirectional iterator) which is not supported by these test_iterator and test_container.
Once your PR gets merged I'll create a seperate PR to fix this, since rotate should'nt require a bidirectional iterator. We could then add the exception and badalloc tests.

So do similar changes in /test/rotate_copy_range.cpp file.

I've removed the exception and badalloc tests and not used the test_iterator and test_container because the parallel implementation of rotate uses reverse (which requires a bidirectional iterator) which is not supported by these test_iterator and test_container.
Once your PR gets merged I'll create a seperate PR to fix this, since rotate should'nt require a bidirectional iterator. We could then add the exception and badalloc tests.

So do similar changes in /test/rotate_copy_range.cpp file.

I think so yeah, if rotate copy uses reverse too then we'll need to do that. I'll check it later today.

I already fixed some errors and update the changes on the branch, the check result shows like https://github.com/STEllAR-GROUP/hpx/pull/5459/checks, there is one tests.unit fails, like (https://app.circleci.com/pipelines/github/STEllAR-GROUP/hpx/8538/workflows/55f8c2b2-9f1a-4fac-b48e-f636c29005b6/jobs/262921), I didn't get it.
I appreciate your help.

I've removed the exception and badalloc tests and not used the test_iterator and test_container because the parallel implementation of rotate uses reverse (which requires a bidirectional iterator) which is not supported by these test_iterator and test_container.
Once your PR gets merged I'll create a seperate PR to fix this, since rotate should'nt require a bidirectional iterator. We could then add the exception and badalloc tests.

So do similar changes in /test/rotate_copy_range.cpp file.

I think so yeah, if rotate copy uses reverse too then we'll need to do that. I'll check it later today.

Thanks a lot! maybe some errors I didn't catch leads to the tests.unit fails.  thanks for your time.


Add vscode config for client tests

This adds a settings.json file which configures vscode to detect tests in the test directory. This way the tests will automatically appear in the Test Explorer tab.

@prbot automerge


I will appreciate it, if someone fix this bug. I got tired of getting killed by bots
Video example (Fakelag value set to 1)
Video example (Fakelag adaptive mode)
Config
Pitch: fake down
Real yaw: spin (Speed: 8.2)
Fake yaw: forward

Can you try without fakelag?

It works fine without fakelag, but smooth teleport jitters a lot without fakelag value set to 1

I'm not sure what I'm supposed to see in those videos, after you shoot with fakelag enabled it should keep showing your shooting angles until you leave your choke cycle though, it's not your "real" angle, just the angle that you shot at, I could set it to end your choke cycle once you are able send angles again which is 15ms after you fired, but I feel that would make you more likely to be shot.


Brick\Math\Exception\NumberFormatException  The given value "" does not represent a valid number.

Laravel Version
11.10.0
PHP Version
8.2.14
Database Driver & Version
MySQL 8.0.36
Description
Cast decimal attribute fails if model already exist on database
Steps To Reproduce
Suppose we have a model Address like:
class Address extends Model
{
     protected $casts = [
         'latitude' => 'decimal:10',
         'longitude' => 'decimal:10',
    ];
}

Work only if Model doesn't exist on Database:
$address = Address::firstOrNew([
   'code' => 'xxx'
]);

$address->latitude = "";
$address->longitude = "";
$address->save();

Don't work:
$address = Address::updateOrCreate([
   'code' => 'xxx'
], [
   'latitude' => "",
   'longitude' => ""
]);

I think problem concern originalIsEquivalent function on Illuminate/Database/Eloquent/Concerns/HasAttributes.php
Line 2159
// Current
 } elseif (is_null($attribute)) {

// Expected
 } elseif (blank($attribute)) {

#51996 https://github.com/laravel/framework/pull/51996

Maybe the author wanted the same behavior on creation vs update. In this case since the related PR was closed, the alternative is to make create method throws.


React step 1

Closes #
{{short description}}
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

can someone please explain what is the issue with this pr
i will fix can you guys please explain in detail..?


Missing Find Db Files

Find Db files for gfx908 are not installed by MIOpen.

I will update #340 to fix this

@JehandadKhan Now that #340 has been merged, can this issue be closed?

Resolved by #340


backport f71b75e and 734aa31 from master to 6.2.x

[approve ci]

Linux build successful! See https://ci.trafficserver.apache.org/job/linux-github/1383/ for details.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/freebsd-github/1490/ for details.

clang-analyzer build failed! See https://ci.trafficserver.apache.org/job/clang-analyzer-github/54/ for details.

[approve ci]

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/freebsd-github/1496/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/linux-github/1389/ for details.

clang-analyzer build failed! See https://ci.trafficserver.apache.org/job/clang-analyzer-github/60/ for details.

@shenzhang920 can you rebase this?

I merge upstream/6.2.x to my origin/6.2.x, please let me know if there's anything needed.

[approve ci]

Linux build successful! See https://ci.trafficserver.apache.org/job/linux-github/1402/ for details.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/freebsd-github/1509/ for details.

@shenzhang920 you need to rebase, not merge. I don't want to back port a merge commit. I think your mistake is that you did this directly on the 6.2.x branch. You really should use a feature branch off of 6.2.x.

clang-analyzer build successful! See https://ci.trafficserver.apache.org/job/clang-analyzer-github/73/ for details.

@PSUdaemon I reset my origin to the initial state (without my change), and do it all over again.


Is there any rate limit?

Is there any per-second rate limit for using replicate-python? I mean similar to what is explained here for HTTP API.
p.s: excuse me if my question isn't so related here, I didn't find a community or forum about Replicate. If you know some, please share the link to it. Thanks.

Replicate's Python client uses the HTTP API, and therefore has the same rate limits as that.

I didn't find a community or forum about Replicate. If you know some, please share the link to it. Thanks.

You can find our discord server here: https://discord.gg/replicate


VIME_Training.ipynb

Hi Antons,
When i run this notebook, i have this error at Cell 22:

ValueError: Input 0 of layer "sequential_3" is incompatible with the layer: expected shape=(None, 110), found shape=(None, 5, 110)

May I check with you how to resolve this error?
Cell 22 :
vime_s = tf.keras.models.load_model('./vime_self')

# Sequential model to produce embeddings
encoding_model = Sequential(
    [
        Input( num_features),
        vime_s.encoder
    ]
)

dense_model = Sequential(
    [
        Input(num_features),
        Dense(num_features, activation="relu"),

    ]
)

# Create corrupted sample
samples = X_val_unlabelled.sample(10)
sample_corrupted = generate_k_corrupted(
    x=samples,
    k=5,
    p_m=0.4
)

val_encoding = encoding_model.predict(sample_corrupted, batch_size=batch_size)
random_encoding = dense_model.predict(sample_corrupted, batch_size=batch_size)

i have same issue with upper comment.
how can i solve it?

Same here