Live

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


Help : You may not have created the entire video

Issue Image : http://i.imgur.com/llZdLAb.jpg

Hey DSGamer12,
What format/codec is your input audio file? Could you provide a video example of what leads up to this occurring? If you can, but don't want to share it publicly, send me an email at<EMAIL_ADDRESS>and I will work with you to resolve the issue there.
Chris Soderquist (Dakkra)
http://dakkra.com
<EMAIL_ADDRESS>

I don't need help anymore ,I'm just forgot to convert the file. Thanks for replying.


Add multinomial_logit

Summary:
Add a function that matches the existing bernoulli_logit and  categorical_logit.
Description:
This would add a convenience function usable in multi-outcome logistic regression problems. For models with larger data sets it would add a significant speedup, given that the current multinomial function has to be called every single iteration, since it currently only accepts a single vector.
Current behavior
Assume there are N data points and K different outcomes, y is a NxK matrix of integers, beta is a K vector with some combination of covariates and predictors for each outcome,
for (n in 1:N) {
    ...
    y[n] ~ multinomial(softmax(beta))
}

Wanted behavior
y ~ multinomial_logit(beta)
In this case beta would be a NxK matrix with some combination of covariates and predictors for each outcome.
Additional Information:
I could not find any open issues for this missing feature. Also, I am not sure if this should be added as an issue to the stan-dev/math repository.
Current Version:
v2.9.0

It will need to be implemented in stan-dev/math, at which point adding it to Stan is a a couple lines of code and some doc.
There's a categorical_logit which can be followed here.
The big speedup will be when there's a single beta vector and an array of y outcomes;  then the softmax will only need to be computed once and it and the derivates can be reused.  If beta and y are both arrays, it won't be much faster than a loop, because there's no underlying floating-point calculations to share.


No Status Changed Event when Bluetooth is turned off

Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[x] iOS
[] Android
[] tvOS
[] macOS
[] .NET Standard
UWP IS NOT SUPPORTED DURING THE BETA PERIOD - ONLY PRs ARE WELCOME FOR NOW

Version of OS(s) listed above with issue
12.0.1
Version of Library
current stable
Expected Behaviour
Disconnect Status event is thrown
Actual Behavior
Nothing Happens.
I'm connected to a bluetooth device and when i turn bluetooth off through the slide out quick menu no status changed event happens.
I added all Bluetooth and accesory background modes to the info plist, didn't fix it.
On Android everything works fine.
Code of Conduct

No Library Update Requests
No Timeline Requests
Please read through the documentation and FAQs
If you have a complaint about the docs, FIX IT - DO NOT FILE IT HERE!  I won't guarantee everything is always 100% up-to-date since I am just 1 person.
Please be respectful of my time. I put a lot of effort into my libraries.  I try to support the issue requests within a day.  I'm not psychic, so please take the time to fill out the above form as complete as possible

Please provide a small reproducible sample.

No reproducible sample or reply.

Sorry, for late reply. I can't provide you with a reproducible sample, as it's from a production program.
When i'm connected i call:
 var nativeDevice = await BluetoothLEManager.Instance.GetDevice(_deviceService.GetDevice().ID);
                _statusChangedSub = bleDevice.NativeDevice.WhenStatusChanged().Subscribe(async connectionStatus =>
                {

                    if (connectionStatus == ConnectionStatus.Disconnected)
                    {
                        logger.Debug("Device Connections Status changed to {connectionsStatus}", connectionStatus);
                        //if top page is TabbedDevicePage => go back async
                        await DisconnectAsync();

                        await NavigationService.NavigateToAsync<MyDevicesViewModel>(true);

                        await UserDialogs.Instance.AlertAsync(AppResources.ConnectionLost);
                    }
                    else
                    if (connectionStatus == ConnectionStatus.Connected)
                    {
                        logger.Debug("Received noew ConnectionStatus: " + connectionStatus);
                    }
                });

Unfortunately, the method doesn't get called on iOS when bluetooth is turned off whilst connected.

If you can't supply a full test case, then please don't post anything as it could be anything.  It is important to see things like where this is being hooked.  Is it being GC'd... if so why!?   Please remember, this is not for general support.

I don't think it's GC'd, if i go out of range the disconnected event is raised, only when i turn Bluetooth off in settings it isn't raised. Other status changed events also get raised like connected.


Update handler factory to use proper streams

Description
Addresses: N/A

Previously, we were writing to postgres about as fast as we could read from S3.
This was occasionally overwhelming postgres, so this PR makes several changes to fix it.

Use a proper stream transformer as the 'sink' end of the stream.

This automatically handles backpressure and limits write concurrency to 5 (variable number)

Implement limit and offset also as stream transformers.

This gives us row-level control over their functionality

This stops postgres from getting overwhelmed.
I also think it's made the imports run a bit more reliably (certainly no OOM errors) but haven't tested exhaustively so don't know for sure.

New

There's a new stream transformer called parallel-sink.ts.

Changed

The API endpoint now returns the number of rows that succeeded and failed, instead of the number of batches.

Is that ok? It seems to make more sense to me since batches are arbitrarily sized

We now limit the number of concurrent writes to Aurora to a variable number (currently 5)

Removed

N/A

Testing and Reviewing

These logs show what the logs are now like with and without a limit and offset.
These logs show what things look like if there's a row that errors out.

Number of rows SGTM


Setup CI with prow

Instead of github actions

Once https://github.com/kubernetes/test-infra/pull/18361 merges:

open a PR to remove actions
confirm presubmit runs against it


add a "no game" screen

best not to leave it magenta...

on this note, I'll also need to start coming up with version names.

Most of Löve no-game screens use png images (base64 encoded) to render those pretty graphics... So #3 needs to be solver first I think.
Names? Something like "Spinning Politician" (because everyone hates politicians) or "Site down" maybe something like "Empty Fridge"... This will be really fun indeed

One of the early ones should be called "Syntax Errors"... :)

Memory Leak fits better here hahaha


fixed int() TICKscript function description removing duration, resolves #2936

If you try to convert a duration into an int64 running a Kapacitor TICKscript then you'll get an error.
The documentation states this is possible, but it's not.
Just corrected this in v1.5 documentation, not sure if it has to be corrected in v1.4 documentation too.

Thank you, @mamosk! I rolled over to 1.4 as well


Background notifications not working on Oreo

Expected Behaviour
Display notification on lockscreen and tray
Actual Behaviour
Foreground working only (started when targeting SDK 26)
Plugin version
2.1.0
Sample Push Data Payload
php
$msg = array (
'message' => "$message",
'title' => $title,
'vibrate' => 1,
"android_channel_id" => "PushPluginChannel",
'priority' => "high",
'color' => "#222222",
'ledColor' => "[255, 255, 255, 255]",
'notId'=> "$time",
'sound' => "default"
);
$fields = array
(
'registration_ids' => $registrationIds,
'data' => $msg
);
$headers = array
(
'Authorization: key=' . API_ACCESS_KEY,
'Content-Type: application/json'
);
$ch = curl_init();
curl_setopt( $ch,CURLOPT_URL, 'https://fcm.googleapis.com/fcm/send' );
curl_setopt( $ch,CURLOPT_POST, true );
curl_setopt( $ch,CURLOPT_HTTPHEADER, $headers );
curl_setopt( $ch,CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch,CURLOPT_SSL_VERIFYPEER, false );
curl_setopt( $ch,CURLOPT_POSTFIELDS, json_encode( $fields ) );
$result = curl_exec($ch );
config.xml..
<plugin name="phonegap-plugin-push" spec="^2.1.0" /> <platform name="android">   <resource-file src="google-services.json" target="app/google-services.json" /> </platform>
I am using Android Studio to publish.. have verified all SDK tools are present. Is there something I need to change in index.js?

I also have same issue

Yet another issue that would be resolved if the maintainers of this repo would accept #2539.
As of yet, none of the mainainers have weighed in on whether they will properly implement Android notifications or keep insisting we use hacky solutions that shouldn't be needed.
The author of the fork in question is actively keeping the code up to date, so I recommend you switch to his fork until such a time as the folks in charge of this repo accept the PR.

Pretty ridiculous. And yes, "hacky" to say the least.
I finally got it working. I basically rebuilt the cordova project over and over until notifications were showing up on the lock screen/tray. Confirmed working on Android 9 as well.
2.1.2 + the FCM version (11.0.1) in config.xml did the trick.
cordova-support-google-services is NOT required.
My JSON payload did NOT have to change at all (as far as notification channels or anything else) regardless of what the current documentation is stating.

This PR solves the issues https://github.com/phonegap/phonegap-plugin-push/pull/2369


Target Focus Network

关于Target Focus Network的输入有涉及到位置编码信息，请问一下这个位置编码信息(position encoding)是仅在训练阶段存在吗，

测试/推理阶段也是需要位置编码的。
From: chen丶tianbao @.>
Date: Thursday, October 27, 2022 at 10:31
To: fzh0917/SparseTT @.>
Cc: Subscribed @.***>
Subject: [fzh0917/SparseTT] Target Focus Network (Issue #12)
关于Target Focus Network的输入有涉及到位置编码信息，请问一下这个位置编码信息(position encoding)是仅在训练阶段存在吗，
―
Reply to this email directly, view it on GitHubhttps://github.com/fzh0917/SparseTT/issues/12, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFP5FU5NQDYCBTECNONOYQTWFHSPTANCNFSM6AAAAAARPSPNDU.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

可是在推理阶段，目标在Search Region中的位置未知，那么与Search Region Features 融合的Position Encoding是怎么得到的呢？

The role of the position encoding is to add spatial position information to each pixel, it's used by the encoder in both training and inference phase. Refer to the code implementation for more details: https://github.com/fzh0917/SparseTT/blob/791245c2317b6ccda38ea2aac44bce62879bfb06/videoanalyst/model/neck/neck_impl/encoder.py#L52

The generation of the position encoding does not need to know the position of the targets in the search region. There are many ways to generate toe position encoding. In our work, it's learned from data. The code is here: https://github.com/fzh0917/SparseTT/blob/791245c2317b6ccda38ea2aac44bce62879bfb06/videoanalyst/model/utils/transformer_layers.py#L46
Also, you can use fixed position encoding, such as: https://github.com/fzh0917/SparseTT/blob/791245c2317b6ccda38ea2aac44bce62879bfb06/videoanalyst/model/utils/transformer_layers.py#L6

Refer to the paper (https://arxiv.org/abs/1706.03762) for the design philosophy of position encoding in Transformers.


Add QPG6105 IC

Add support for new QPG6105 IC

@jwhui we're adding a new platform, can you review


New Multicore OCaml packages

Hi,
In order to build Links with the Multicore OCaml compiler I have adapted the packages Lwt and ocaml-ssl from opam to use the new Multicore OCaml C API.

Thanks!


The license of this project

The current LICENSE file contains BSD license. It is unclear if and how the output of the copier (aka user's project) should respect this license.
I believe that the legal usage of python-project-template requires a clarification, or we should change the license to public domain, for example via CC0 or Unlicense

Talk to Andy, ask for legal assistance to determine what the appropriate license should be.

Sent an email to Andy and Laura Dorsey, UW's legal advisor when it comes to license stuff. I'll report back here with any feedback I receive.

After feedback from Laura and Andy, it sounds like sticking with the BSD license is ok based. I've copied over the last few back-and-forths here:

[Laura] BSD is very permissive and the license we recommend for source code. It just requires a user of the code to attribute you if you inserted an attribution requirement. I see it was funded by the Schmidt Family foundation. That gift letter may specify what open source license we use. I don’t have an easy way to see gift letters.
[Andy] Schmidt doesnt require one but we have used BSD for a long time and it works well so I would say we go with that.

Based on this conversation, I'll think we'll stick with what we've got. If this doesn't actually address your concerns @hombit, please feel free to reopen this issue,


Can support quick open dirctory?

In the big project will be very useful. (eg: Webstorm search everywhere )
thanks.

I prefer what VS Code is already doing, it's not likely that we'll add something like what Webstorm has.

First of all, very grateful vscode such a good product, but the search directory function is still very useful, very much looking forward to vscode able to add this feature, and hope vscode team can seriously consider.
thanks again.


Helloworld crashes

int value = std::stoi (params[1]); raises an exception if the the conversion cannot be performed, and the exception is not captured.
As a consequence, when you send something that is not an integer/number, the helloworld chaincode crashes.

@bvavala would it make sense to catch all exceptions within invoke already in enclave.cpp, so we prevent the enclave from crashing in any case?
The user logic implemented inside invoke could still catch exceptions and handle accordingly?!

@bvavala would it make sense to catch all exceptions within invoke already in enclave.cpp, so we prevent the enclave from crashing in any case?
The user logic implemented inside invoke could still catch exceptions and handle accordingly?!

Yes, it's a good idea. Clearly we don't prevent crashes in general, but at least those due to unhandled exceptions.

Solved with #625


Add seq number to new datasets named duplicated

Describe the bug
When I click "Generate new dataset" with I.DS or "Clone dataset" with W.DS, the new name had had a seqno at the end, but now that feature has gone.
To Reproduce
Steps to reproduce the behavior:

Import & wrangle a.csv.txt
Click "Generate new dataset" with I.DS -> exact same name comes out
Click "Clone dataset" with W.DS via context menu -> exact same name comes out

Expected behavior
(1), (2), ... should be attached at the end of the new name.
Screenshots

Additional context
I work very well. Look for some fault in conflict resolves.

Now (3.3.0-rc2) it works properly. It could probably be the source conflict. Closing.

Tested /w 3.3.0-rc2.
"Clone dataet" works. (Added (1), (2), etc.)
"Generate new dataset DOES NOT WORK (generates duplicate-named datasets)
Reopening.

@joohokim1 혹시 이 이슈는 UI에서 처리를 해야되나요?

@ksparknot
We need to check if this issue still remains.
I think I've seen there's no problem anymore.

#2705 issue is the same
Please close this issue after the issue has been resolved.

duplicated close


Endpoint page not exist at images option of cloud tenant

Version:
fine-3.20170808115538_09b4f87
Steps to Reproduce:

Add cloud provider first (Openstack RHOS7-GA recommended)
Navigate to Compute -> Cloud -> Tenants
Click on 'admin' from 'Cloud Tenants' table
Click on Images from 'Relationship' table
Click on one image from 'All Images' table
From 'Policy' select 'Policy Simulation'
Click on 'Show policy details for..'

@Yadnyawalkya please open an [UPSTREAM] BZ for this if not done already.

@dclarizio, Copy maintained at https://bugzilla.redhat.com/show_bug.cgi?id=1494337.


Introduced SPI operator ServiceMonitor

ServiceMonitor for spi-operator
Context

https://github.com/redhat-appstudio/service-provider-integration-operator/pull/230
https://issues.redhat.com/browse/SVPI-182

/retest

/retest

/lgtm


Updates not working

Steps to reproduce

Open the app and click on the three dots on the top right
click on update library

Expected behavior
After clicking the update library button, an updating library in app toast should pop up with a notification and in 2-3 minutes, my library should be updated with new chapters (updates from manga's/manhua's that i have started)
Actual behavior
After clicking the update library button, an in-app toast pops up saying "updating library" and a notification comes up regarding the library update but after a second the notification disappears and the update stops. Individual update on Manga/manhua does work.
Crash logs
The app doesn't experience any crashes itself only the update process stops so instead of app crash logs, I'm providing my device logs.
log.txt
Tachiyomi version
1.10.2
Android version
Android 14
Device
Realme Narzo 30
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extension's repository.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version 1.10.2.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

Faced the same issue today. Try Backing up, Reinstalling and Restoring it worked for me.

Try turning off all the smart update settings and restart the app. That works for me when the manga isn't updating.

https://github.com/jobobby04/TachiyomiSY/issues/1011#issuecomment-1890998040

Update : After reinstalling the app again and restoring the backup, everything's working as it should.


ffmpeg: map AYUV to vuyx

Since:
https://github.com/FFmpeg/FFmpeg/commit/caf26a8a126d

@xhaihao can you update ffmpeg-qsv in cartwheel, too, to use vuyx instead of vuya?

@uartie  I updated ffmpeg-qsv to use vuyx instead of vuya, see https://github.com/intel-media-ci/cartwheel-ffmpeg/pull/177, and https://github.com/Intel-Media-SDK/MediaSDK/pull/2768 is required.

@uartie  https://github.com/intel-media-ci/ffmpeg/pull/576 is PR for FFmpeg mainline.


NW6| Fidaa Bashir| HTML-CSS| Play the CLI Treasure Hunt| Week 2

It was so interesting to follow the instructions and looking for the answer. I loved it 😊
I used the command line ( cd) to change from a directory to another.
I also used the mkdir command to create a new folder and ls -a to see all the list inside the directory.
In addition to the command mv to move a file to another folder.

Hi, so good to hear, this was a fun little thing, correct answer :)


Updated Jamming Avoidance code

Updated code to change channel via comms controller
Updated osf startup function to remove manual startup (OSF network now mounts automatically if nRF52 firmware is flashed)
Updated log file path to "/var/log"
The jamming feature will start as a service - I will add the scripts to start the service in a separate pr

Commit updates:

updated osf address to reflect new addressing scheme
updated test files
added jamming_setup.py sigterm handler
fine-tuning model for active scans


Problem with updating, then installing

Hi Marcus,
I enjoyed this plugin very much. Then I came into this issue: the update mechanism failed with the message “Failed to install plugin “Pipe tricks””. So, I tried to uninstall it then reinstalling, but the same happened. So, I’m now without this plugin… 😒
Can you help me?
Thank you very much.
Olivier :-{)
My address<EMAIL_ADDRESS>

I am facing the same issue. I tried a manual install too but it asks me to update it from within Obsidian and the update fails.

I also tried to download this addon and try it. In the Developer Console, I am getting the error
Failed to load resource: the server responded with a status of 404 () https://github.com/marcusolsson/obsidian-pipe-tricks/releases/download/1.1.0/manifest.json

The plugin "market" shows the current version to be 1.1.0, so I assume it's trying to fetch the manifest from the 1.1.0 release, which does not exist yet (the lastest release in this repository is version 1.0.1). Perhaps releasing this new version will solve the problem?

@Hwiet Thanks for the heads-up! I've triggered a new release for 1.1.0. Could you verify that it works?

@Hwiet Thanks for the heads-up! I've triggered a new release for 1.1.0. Could you verify that it works?

I can install it now.

@marcusolsson I am also able to install now.


Install celery + RabbitMQ

Installs Celery + RabbitMQ (so that the latter can be used as Celery's broker).
This installs<EMAIL_ADDRESS>at the time of this PR. The primary benefit of the 4.x series is that JSON is the default serialization format, allowing it to play better with non-Python clients.
As things evolve, it may/probably make sense to move these into Docker containers, but since the ODM workers need to manipulate Docker directly, it's easier to keep them outside of containers initially.

Add Flower to this, possibly as a Docker container: https://github.com/totem/celery-flower-docker

Obviated by #77


[PROJECT] Missing Team-Overview

Where can I find a team-overview?
I am mainly interested to identify the role of  jgiszczak, in order to prepare a formal complaint because of an unjustified locking of a critical issue (#4814) which had an ongoing discussion of community members.

申诉

We have taken the necessary steps internally and thank you for bringing this to our attention
Thank you for your continued interest in eosio and your valuable feedback.

@ChristianDunst , the thing is that you close issues too fast (see #4839), even this issue here was closed too fast, because the Team-Overview is still missing.
Don't you agree that a Team-Overview must be provided, for transparency reasons?


Touchscreen stops responding

Describe the bug
When using the example, after selecting screen ID and pressing "show presentation" the touchscreen stops responding to any click. RustDesk can still be used for pressing buttons including "hide presentation" when the touchscreen starts working again.
To Reproduce
Steps to reproduce the behavior:

Enter index to share screen
Click on "Show Presentations"
Try clicking anywhere on screen, including android buttons

Expected behavior
Touch screen should still respond during presentation mode
Screenshots
N/A
Smartphone (please complete the following information):

Device: POS with 2 screens (Rockchip RK3568 EVB1 DDR4 V10 Board)
OS: Android 11

I have same issue with you. Did you resolve this issue?


Display Error Message When Profile Does Not Exist in /profile/:username

Currently, when navigating to /profile/:username, if the frontend receives an error (such as a 404 or user not found), no clear error message is displayed. The user should be informed that the profile does not exist.
Requirements

Update the frontend logic in the /profile/:username route to handle errors when the profile is not found.
If an error is received (e.g., 404), display a user-friendly error message stating that the profile does not exist.
Ensure the error message is styled consistently with the rest of the UI.

Acceptance Criteria

When an error occurs while fetching the profile data, an error message saying "Profile does not exist" is displayed.
The error message should be clear and appropriately styled.
The rest of the application should function normally without any UI disruptions.

Additional Notes

Test the error handling for various edge cases (e.g., invalid usernames, profile not found).
Ensure the error page or message is responsive and works on different screen sizes.

Hey @jalaym825 I want to work on this please assign this to me.

Hey @jalaym825 I want to work on this please assign this to me.

Done, assigned.

@pranjalee30 any updates?

@pranjalee30 removing you from the issue. if you want to work lmk.

hey, I can work on this issue, could you assign this to me?

Done!

@opbot-xd no updates from you, removing from issue.

@jalaym825 raised a PR for this issue.


dataset in table 5

Hi,  could you release the dataset in Table5, thank you.

@freedom6927 please see https://github.com/TheShadow29/zsgnet-pytorch/blob/master/DATA_README.md
You need to download the annotation files in the drive link.
Let me know if you run into any error.

Hi, I have downloaded. But I can't distinguish which files are related to
table 5. I found all the files are related to table 2-4
Arka Sadhu @.***> 于2022年2月11日周五 02:40写道：

@freedom6927 https://github.com/freedom6927 please see
https://github.com/TheShadow29/zsgnet-pytorch/blob/master/DATA_README.md
You need to download the annotation files in the drive link.
Let me know if you run into any error.
—
Reply to this email directly, view it on GitHub
https://github.com/TheShadow29/zsgnet-pytorch/issues/13#issuecomment-1035317090,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKGZSHTHIZEN6GMZT25T3ELU2QBBRANCNFSM5N7UJO3A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

Got it, thanks!
Arka Sadhu @.***> 于2022年2月12日周六 07:13写道：

@freedom6927 https://github.com/freedom6927 it is under vg_split /
csv_dir.
For training and validation, you could use training_balanced.csv and
val_balanced.csv
For testing, you would use test_balanced_c2.csv and test_balanced_c3.csv
respectively.
In table 5, we train on train_balanced, and validate using val_balanced
and finally test it on test_balanced_c2.csv(VG-2B) andtest_balanced_c3.csv`
(VG-3B)
For the distances, you would need the object name from test_...csv file
and find the closest object in the training set and then simply bucket them
into 3-4, 4-5 and so on, and get results for those each subset.
Let me know if that answers your question.
—
Reply to this email directly, view it on GitHub
https://github.com/TheShadow29/zsgnet-pytorch/issues/13#issuecomment-1036740334,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKGZSHSRX7I3TW2RAZNZ4ULU2WJ2ZANCNFSM5N7UJO3A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi, I have a new question in table 4. are the datasets of
unblance test_c2.csv, test_c3.csv and train.csv. But where is the val.csv.
The only found of val is val_balanced.csv
Arka Sadhu @.***> 于2022年2月12日周六 07:13写道：

@freedom6927 https://github.com/freedom6927 it is under vg_split /
csv_dir.
For training and validation, you could use training_balanced.csv and
val_balanced.csv
For testing, you would use test_balanced_c2.csv and test_balanced_c3.csv
respectively.
In table 5, we train on train_balanced, and validate using val_balanced
and finally test it on test_balanced_c2.csv(VG-2B) andtest_balanced_c3.csv`
(VG-3B)
For the distances, you would need the object name from test_...csv file
and find the closest object in the training set and then simply bucket them
into 3-4, 4-5 and so on, and get results for those each subset.
Let me know if that answers your question.
—
Reply to this email directly, view it on GitHub
https://github.com/TheShadow29/zsgnet-pytorch/issues/13#issuecomment-1036740334,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKGZSHSRX7I3TW2RAZNZ4ULU2WJ2ZANCNFSM5N7UJO3A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

@freedom6927 sorry for the late reply, we only used the balanced validation set.

Ok, final question. Could you release the dataset division of Table 5 to
me? I hold refer to your designed ideas to finish my research.
Arka Sadhu @.***> 于2022年2月15日周二 06:12写道：

@freedom6927 https://github.com/freedom6927 sorry for the late reply,
we only used the balanced validation set.
—
Reply to this email directly, view it on GitHub
https://github.com/TheShadow29/zsgnet-pytorch/issues/13#issuecomment-1039622460,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKGZSHS2MEVWKUX6JHW4WWTU3F44NANCNFSM5N7UJO3A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

@freedom6927 Sorry, I don't understand your question. What do you mean by dataset division?

[image: table5.png]
you see. In table 5. The testset of vg2B and vg3B are divided into 5 parts
by using GloVe embeddings to compute the distances between test sample and
training sample. Could you release the results of division to  me (the
details of 310, 1050, 3543, 5321, 1985 of vg2B)
Arka Sadhu @.***> 于2022年2月15日周二 11:52写道：

@freedom6927 https://github.com/freedom6927 Sorry, I don't understand
your question. What do you mean by dataset division?
—
Reply to this email directly, view it on GitHub
https://github.com/TheShadow29/zsgnet-pytorch/issues/13#issuecomment-1039826179,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKGZSHQQCV2MZO3ZOOQOEXDU3HEZDANCNFSM5N7UJO3A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

@freedom6927 I don't have it with me, but something along the following lines of code should be sufficient:
train_df = ... # read train csv
test_df = ... # read test csv

train_objects = train_df['object_name'].unique()
test_objects = train_df['object_name'].unique()

glove_emb = ... # read glove embeddings

train_obj_emb = glove_emb(train_objects)
test_obj_emb = glove_emb(test_objects)

test_dist_dict = {}
for test_obj in test_objects:
    # find closest train object
    closest_train_obj = ....
    closest_train_obj_dist = ....
    test_dist_dict[test_obj] = closest_train_obj_dist

# bucket by distances

# compute scores for each object

Let me know if this answers your question.

thanks very much. I understand your idea
Arka Sadhu @.***> 于2022年2月15日周二 12:35写道：

@freedom6927 https://github.com/freedom6927 I don't have it with me,
but something along the following lines of code should be sufficient:
train_df = ... # read train csv
test_df = ... # read test csv
train_objects = train_df['object_name'].unique()
test_objects = train_df['object_name'].unique()
glove_emb = ... # read glove embeddings
train_obj_emb = glove_emb(train_objects)
test_obj_emb = glove_emb(test_objects)
test_dist_dict = {}
for test_obj in test_objects:
# find closest train object
closest_train_obj = ....
closest_train_obj_dist = ....
test_dist_dict[test_obj] = closest_train_obj_dist
bucket by distances
compute scores for each object
Let me know if this answers your question.
—
Reply to this email directly, view it on GitHub
https://github.com/TheShadow29/zsgnet-pytorch/issues/13#issuecomment-1039849023,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKGZSHR3QLKE2INZPEHOVILU3HJZDANCNFSM5N7UJO3A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>


MetricReporters now use MetricReporterFilter to specify what stats to re...

...port, no longer uses a Seq[MetricFilter].  Also, removed unused classes.
fixes #175

Aside from my one point, this looks good

Removed the None option.,  Will merge this once travis greenlights it


Fix/batch-requests-cookie

Summary

default copy cookie to every request
add headers parameter to admin test function

@membphis the error of travis is not related with this commit, please check it.

I restart travis CI


Adding item to wishlist when not logged in

Currently get a 404, should be redirected to login page. This might be the same for other pages like when adding something to the cart and not being logged in

Fixed in PR #11


Error when adding default filtering

Version: 2.0.20
when i add default filtering using addFilteringIfNotExists function
public static function resourceFilter(ResourceFilter $resourceFilter): void
    {
        $resourceFilter->defineFilteringRules([
            FilteringRules::String('id', ['eq']),
            FilteringRules::String('key', ['eq', 'contains']),
        ]);

        $resourceFilter->addFilteringIfNotExists('value', 'eq', 1);
    }

It reports an error as shown below

Please help me.
Thanks

The behavior of the addFilteringIfNotExists() function expects that the developer has declared the filtering through defineFilteringRules(). This means that if the client does not provide filtering, the library will automatically use default filtering data. In this context, it is mandatory for the user to be able to provide filtering.
The library itself cannot automatically define this filtering in the list of valid filtering because it lacks information about the data type of the filtering, and the data type is necessary to declare valid filtering.
To resolve this issue, you need to explicitly declare filtering using the defineFilteringRules function.
Thanks and best regards.


Typescript declaration file .d.ts

What problem does this feature solve?
Could not find a declaration file for module '@vue/devtools'.
What does the proposed API look like?
Better support for Typescript

I'll add a couple comments on this.
At the base I created a:
declare module '@vue/devtools' {
    export function connect(host?: string, port?: number | string): void
}

to my shims-vue-d.ts.  This made the red go away.
However, since dev tools is imported now, I don't think there is a easy way to exclude this for a production case.
import devtools from '@vue/devtools';
if (process.env.NODE_ENV === 'development') {
    Vue.config.devtools = true;
    devtools.connect('http://localhost', 8098);
}

Regardless of the above I notice my external Devtools via Electron is stating there is 'No Vuex store detected.', but if I go back to just dropping in the


add docker image

Codecov Report

Merging #15 (262748c) into master (7009207) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #15   +/-   ##
=======================================
  Coverage   95.82%   95.82%
=======================================
  Files          14       14
  Lines         551      551
  Branches       41       29   -12
=======================================
  Hits          528      528
  Misses         11       11
  Partials       12       12

Continue to review full report at Codecov.

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

https://hub.docker.com/r/nikitanovosibirsk/amqp-mock


[TRI-1008] Add io.waitUntil function to allow a job run to wait for a dynamic condition

This kind of thing would be really useful in jobs:
await io.waitUntil("has used invite", {
  condition: async () => {
    const user = await prisma.user.findUniqueOrThrow({
      where: {
        id: payload.userId,
      },
    });

    return user.invitationCodeId !== null;
  },
});

This would basically retry the condition function in an interval, and only continue once the condition function returned true.
The strategy for how frequent to call the condition function could be configurable:

Set an interval frequency (minimum would be 60 seconds, max would be 1 day). Would also need some kind of timeout thing like "exit if the condition doesn't return true within 30 days"
Set an exponential backoff strategy (similar to our task retries) with a maximum of 25 retries

This can be achieved using only subtasks and io.wait, something like:
type WaitUntilOptions = {
  condition: () => Promise<boolean>;
  checkInterval?: number;
};

function waitUntil(
  key: string,
  io: IO,
  options: WaitUntilOptions
): Promise<void> {
  return io.runTask(
    key,
    {
      name: "Wait until",
    },
    async (task) => {
      const result = await options.condition();
      if (result) return;

      //if more than 14 days has passed then throw
      const startedAt = task.startedAt;
      if (!startedAt) return;
      const now = new Date();
      const diff = now.getTime() - startedAt.getTime();
      const days = diff / (1000 * 60 * 60 * 24);
      if (days > 14) {
        throw new Error(
          `Waited for 14 days for condition to be true but it never was.`
        );
      }

      await io.wait(
        `${key}:${new Date().toISOString()}`,
        options.checkInterval ? Math.max(options.checkInterval, 30) : 60 * 60
      );
    }
  );
}

But i'd prefer this not to produce a bunch of tasks that are only there for the interval.
TRI-1008

That's a good idea, however I would love to also see that a Job can wait for a specific event with possibly a filter on the event payload. A use-case in-mind would be from the marketing / lead generation area where a potential lead want to download a resource / e-book from a provider however before doing that an e-mail double-opt-in should happen, so the Job that is sending an e-book to a newly registered lead would need to wait for opt-in event of that user.

@zubairov yup that's a great idea! And something we definitely want to support (and everything is already in place for this to be supported). Here's my idea for a syntax:
const event = await io.waitForNextEvent("✋", { name: "opt-in", filter: { userId: [payload.userId] })

awesome, one small note - if possible to have a filter as a async() => function would be great - this way in the use-case above a job will wait for an opt-in of a particular lead not just any lead

ah, right sorry missed that one, it's an actual value that is controlled for not only the presence of particular field in the event. Got it. That would do. Just thought a function might be more flexible in the long run


R1.12 win

All green on https://tools.taskcluster.net/groups/VhGCzXK8QLO49-c_6O0DSA and artifacts used in https://tools.taskcluster.net/groups/J7SQJulKTNS2y0iVoOdJIA, all green as well.


feat: add and use "duration" metadata type

fixes: #1348

wanna try it out before I merge?

wanna try it out before I merge?


indent table cells when editing

Have you confirmed that this works with custom cell classes?
The issue I had seen before when working with @creationrose was that the default table cell that ProMotion uses does indent when editing but a custom cell does not.

@carlinisaacson Custom cells indent, but it appears that indenting is incompatible with constraints.

@kevinvangelder When you have tests I'll merge...thanks!

@carlinisaacson Next release maybe?

Oh wait, this is @kevinvangelder 's pr.

ping @kevinvangelder

LOL, this was so long ago. I think I added it just because I saw it in Apple's documentation and I figured it would be easy enough to implement. Any tips on how I should try to detect if the cell is indented in my test?

No idea, Kev.


Axe and Lighthouse Report Enhancements

The performance score reduction is due to loading the 50x50 grid at page load.


Clean up gem & ruby install artifacts saving ~120MB

Worked with @Fryguy to find extra space savings in:

Gem .git directories
Gem build artifacts
Unused shared objects
Gem and Bundler caches
Asset compiling caches

cc @fbladilo @bazulay

I'm abstaining from merging because I helped write it.

@Fryguy @bdunne LGTM :+1:

LGTM


v0.63 extension is published

Update: Extension published using an old commit. Need to re-submit for approval.


Add "ContainedBy" link on BladeChassis and tests for blade

chassis blueprint.
Closes #61 and closes #40

This change is

Review status: 0 of 3 files reviewed at latest revision, 1 unresolved discussion.

oneview_redfish_toolkit/api/chassis.py, line 62 at r1 (raw file):

<EMAIL_ADDRESS>= \
            "/redfish/v1/Systems/" + hardware['uuid']
        if hardware["locationUri"] is not None:

Daniel is there any chance of a server hardware do not have a enclosure?!?
If no, no need to test,
If yes, what is the case? And in this case should we kick an error or just left ContainedBy blank like you did?

Comments from Reviewable

Review status: 0 of 3 files reviewed at latest revision, 1 unresolved discussion.

oneview_redfish_toolkit/api/chassis.py, line 62 at r1 (raw file):
Previously, ffdarkpenguin wrote…
Daniel is there any chance of a server hardware do not have a enclosure?!?
If no, no need to test,
If yes, what is the case? And in this case should we kick an error or just left ContainedBy blank like you did?

I believe only a DL/rack server would not have a locationUri.  I was just trying to be safe here.

Comments from Reviewable

Reviewed 3 of 3 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

oneview_redfish_toolkit/api/chassis.py, line 62 at r1 (raw file):
Previously, danielreed (Daniel Reed) wrote…
I believe only a DL/rack server would not have a locationUri.  I was just trying to be safe here.

Ok, closing this debate on my part as we are only focusing on Enclosures only now. Agree with you about being safe, but I wonder if that´s  the correct response to that. Lets leave it for now as it should never be a issue to our goal. PO can review this if he wants to.

Comments from Reviewable

Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from Reviewable

Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from Reviewable

Reviewed 3 of 3 files at r1.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from Reviewable

Reviewed 3 of 3 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable

Reviewed 3 of 4 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from Reviewable


Create a method on ALDocument or a function that accepts an ALDocument to handle delivery to the court

Right now, we have the send to court code inside the interview YAML. This can and should move to a .py file. That will better abstract it and make it simpler to eventually migrate from email filing to ECF v4 filing via API.

To keep the ALDocument class clean, it probably will be best to use a separate function that accepts an ALDocument as a parameter

To keep the ALDocument class clean, it probably will be best to use a separate function that accepts an ALDocument as a parameter

We need to think about how this interacts with screens that are displayed to the user interactively. But the function feels like the most import/right direction to take this.

@BryceStevenWilley I think you already did this for the Appeals Court forms, right? If so can you close?

Send to court code uses an ALDocument now, but it's still in a yaml file, not in a python module, which I think is the main purpose of this issue. I agree it should be in a function, but there's a but of DA spaghetti around assembling the cover page and getting the emails to send. But I'll think about this a bit more, and make some moves soon.

Got it. this doesn't feel super urgent, but if it intersects w/ the EFSP stuff it could end up being useful. Also acceptable to just make a whole different interface for that. EFSP would not need a cover page, e.g.


Introduce ConnectRouter.rpc overload to not require full ServiceType

Partly copied from https://github.com/bufbuild/protobuf-es/pull/594:
ConnectRouter.rpc overload that doesn't require the full service is easier to use for one off methods that don't require an entire service to be defined.

@timostamm resuming the conversation from https://github.com/bufbuild/protobuf-es/pull/594

Can we omit methods from service and still use a full ServiceType for the property?

I'm not 100% sure what you mean. The omitted field does allow us to assign a full ServiceType value to this, it just doesn't allow us to rely on it downstream.

Do we need localName? It makes it much more cumbersome to construct a MethodType from just a ServiceType.

From what I can see, it's not required. @srikrsna-buf was there a specific use case you were thinking of?

Continuing PR in fork based PR: https://github.com/connectrpc/connect-es/pull/925


Add Tags to Route Table and Public IPs

Describe your changes
Prior to change, there was no way to allocate Tags to the Route Tables and Public Ips
Issue number
#000
Checklist before requesting a review

[x] The pr title can be used to describe what this pr did in CHANGELOG.md file
[ ] I have executed pre-commit on my machine
[ ] I have passed pr-check on my machine

Thanks for your cooperation!

@microsoft-github-policy-service agree

LGTM thanks


Added fallback for env setting

We missed adding a fallback for env in #152. This caused an error reported in #154. In this PR;

Added fallback for env setting
Fixes #152

Cowboy landing this as it's minor and a bug in production. If we get another bug report on this code, then it might be a good idea to revert the feature =/

I replaced env_setting = get_setting('env') with env_setting = get_setting('env', {}) as you did, but the error still exists:
error: Terminal: environment can only contain strings
Traceback (most recent call last):
  File ".\sublime_plugin.py", line 205, in on_activated
    callback.__module__, "on_activated", EVENT_TIMEOUT)
  File ".\sublime_plugin.py", line 154, in run_timed_function
    ret = f()
  File ".\sublime_plugin.py", line 204, in <lambda>
    run_timed_function(lambda: callback.on_activated(v),
  File ".\git_gutter_events.py", line 58, in on_activated
  File ".\git_gutter_events.py", line 89, in debounce
Boost.Python.ArgumentError: Python argument types in
    sublime.set_timeout(function, NoneType)
did not match C++ signature:
    set_timeout(class boost::python::api::object, int)


Limitations of Basic tier

Would be useful to mention on this page that:
a) The Basic tier cannot be up-scaled to the General Purpose tier (or higher) without backing up your database, creating a new MySQL server/container, then restoring into it.
b) You cannot configure a private end-point against a Basic tier server.
Regards,
Mark

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

ID: 17e7c3fe-c3e6-7832-6962-302d6d99f98f
Version Independent ID: 9347560c-48a3-0096-5f1a-19c92ee634f5
Content: Overview - Azure Database for MySQL Single Server
Content Source: articles/mysql/single-server-overview.md
Service: mysql
GitHub Login: @savjani
Microsoft Alias: pariks

@mfread Thanks for your feedback.
We are already covering these details in different documents. If we go through article it mentions "After you create your server, you can independently change the vCores, the hardware generation, the pricing tier (except to and from Basic), the amount of storage, and the backup retention period.". Now the workaround of it is same as mentioned by you which is kind of similar to any database hence not specially called out in this article. We have this covered as part of below article:
How to Scale up Azure Database for MySQL from Basic Tier to General Purpose Tier
For point b, please check this article which states "The private link feature is only available for Azure Database for MySQL servers in the General Purpose or Memory Optimized pricing tiers. Ensure the database server is in one of these pricing tiers."
Please let us know if this helps.

@mfread Please let us know if you have any further query.

@mfread We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


seedsync on DS920+

Hello, I am totally new to the linux environment and I have just bought a NAS for my storage needs.
I installed seedsync with Docker. Everything works very well as long as I don't try to specify a particular directory for "config" and "downloads" during the installation. The connection with the seedbox and the synchronization starts. My disk space is decreasing on the NAS, a sign that the download is going well. However, unable to access the "downloads" directory. It does not appear in filestation but it does exist because it is impossible to create a "downloads" directory at the root because a "folder already exists" error is displayed.
When I try to specify a location for "downloads" and "config" during installation seedsync does not start.
Can you help me please?

Might help, I had the same issue.
https://github.com/ipsingh06/seedsync/issues/113

Delete any Seedsync images/containers that are stored on your system.
SSH into your DSM
Get your UID and GID (#id -u 'your user name', #id -g 'your user name')
Edit this code in notepad with the correct folder mapping (path-on-system:internal-mount-dir). And correct UID:GID. Make sure the user account on the DSM has full access to the DIRs you are mapping into the Docker container.

/* Start Seedsync Container */
docker pull ipsingh06/seedsync
sudo docker run --name SeedSync -p 8802:8800 -v /volume3/Sync/Seedbox/z-config:/config -v /volume3/Sync/Seedbox/1-Incoming:/incoming --user 1039:65539 ipsingh06/seedsync:latest

This will pull the lastest Seedsync image and spin up a container.
The DSM Docker UI is flakey and most often does not start containers properly. It's not just a Seedsync thing, it's many images/containers. DSM has some weird issues with permissions that makes working with Docker containers harder then it needs to be.
In the event that Seedsync is updated simply delete the container and image from the DSM Docker UI. SSH into DSM and paste the edited code above. That will re-download the image and spin up a new container with all your previous settings intact. Keep that code in a safe place.

Man thanks a lot, worked like a charm!
However needed to change 'incoming' to 'downloads', since it didn't run...

Delete any Seedsync images/containers that are stored on your system.
SSH into your DSM
Get your UID and GID (#id -u 'your user name', #id -g 'your user name')
Edit this code in notepad with the correct folder mapping (path-on-system:internal-mount-dir). And correct UID:GID. Make sure the user account on the DSM has full access to the DIRs you are mapping into the Docker container.

/* Start Seedsync Container */
docker pull ipsingh06/seedsync
sudo docker run --name SeedSync -p 8802:8800 -v /volume3/Sync/Seedbox/z-config:/config -v /volume3/Sync/Seedbox/1-Incoming:/incoming --user 1039:65539 ipsingh06/seedsync:latest

This will pull the lastest Seedsync image and spin up a container.
The DSM Docker UI is flakey and most often does not start containers properly. It's not just a Seedsync thing, it's many images/containers. DSM has some weird issues with permissions that makes working with Docker containers harder then it needs to be.
In the event that Seedsync is updated simply delete the container and image from the DSM Docker UI. SSH into DSM and paste the edited code above. That will re-download the image and spin up a new container with all your previous settings intact. Keep that code in a safe place.

So the folder mappings in Docker can be tricky. Even more so in Synology's version of Docker. In truth, both sides of the declaration are variable. They can be whatever you want but they do have to match real-world directories.
The right side is what the file structure looks like inside of the container. This is what you configure inside of Seedsync. The left side is the directory as it's found on the Synology NAS. Notice that the volume name was included as the system needs to know all the way from the root device.
That you had to change incoming to downloads does not surprise me at all because that's how you have/want your directories to be named.
Does that make sense?

Yeah, that makes sense. And the incoming folder was accessible so the permissions worked.
However I suppose the naming of this local mount in settings is somehow forced by the container/crestor, that's why it needs to be named 'downloads'. Otherwise the seedsync will not listen the remote directory.

It's not hardcoded, it is what you define inside of the SS config page. You can name that mount point whatever you want as long as it's defined the same in SS config.


CX20924 stop to show it as usb device

My usb device of CX20924 Amazon AVS hardware stop to recognize as the usb audio device.
I see the message im dmesg which seems to be strange:
failed to update dsp dueo portg is off
I need a way to fix this issue. Could you please help?
The board if working, all voltages is ok and the wakeupword led is also showing activity

The sound output from Linux is working, but input is not working now.

How Can I I restore the firmware?
Also I notice that wakeupword led is working for Alexa.


iptables: Add a fallback to missing xt_socket module.

In non-tunneled datapath modes a missing xt_socket module breaks proxy
redirection traffic. xt_socket is needed due to
interaction between kernel's ip early demux logic and an explicit drop
for skbs with a socket set in ip_forward(). If xt_socket is not
available we can work around this problem by disabling ip early demux.
Add a cilium configuration option 'enable-xt-socket-fallback' which is
'true' by default, meaning that cilium-agent is allowed to disable ip
early demux if needed. This new option can be set to false to retain
the current behavior (== ip early demux is not disabled, but Cilium
policy enforcement may not function correctly in all datapath modes
with L7 enforcement or visibility.
Signed-off-by: Jarno Rajahalme<EMAIL_ADDRESS>Fallback mode for a missing `xt_socket` kernel module is added where kernel's IP early demux functionality is disabled. This fallback is enabled by default if it is needed for correct policy enforcement and visibility functionality. This fallback may be disabled by setting `enable-xt-socket-fallback=false`.

This change is

test-me-please

test-me-please

Coverage decreased (-0.04%) to 45.492% when pulling f7dbd5380a72af5e8884f92e590da8d2b463f683 on pr/jrajahalme/ip-early-demux-disable into a1d93e044c1f2064da008a80ffe593bd83a9a669 on master.

Added docs.

test-me-please

k8s could not terminate pods before timing out, retesting.

test-me-please

Issued #10325 to fix the Istio PODs lingering problem now plaguing k8s 1.17.

test-docs-please

test-me-please

test-me-please


Dark mode for app

Dark mode is not available on artsy app. There should have have a dark mode for the app.

could you please assign this issue to me?


Tag Explorer : clicking on a tag twice opens same section twice

@muzammil-ali1 is this still an issue with the recent changes you've been making to these screens ?  If not please close the issue, thanks!

This issue was in tag explorer which has been removed.


Services are not published

Hi @dkmstr ,
I configured the service and imported the VM from my ovirt and created a base service

Created an OS manager with Linux

Created a service pool for this service

THis is the pool setting I added

But the service pool is there in publication state for a long time

Could you help me why it is not stuck with the 'waiting for publication' state?

@dkmstr Do you need any other information, Please let me know.

Yes, you also need to run the "backend" part :)
try "python manage.py taskManager --start"
you can stop it with "python manage.py taskManager --stop"
That should work

Awesome @dkmstr  It worked :+1:


How to run sql_exporter without being DB Local

How to run sql_exporter without being DB Local ?. We have a use-case to connect to multiple databases (mysql/oracle) and also multiple instances of these databases, being db local is not an option for us as most of these are production databases and getting approval and running exporters locally will take really long time. Is there anyway where we can run Exporters externally and configure it to run against multiple databases. For ex - Having multiple Targets with multiple collectors and DSN ?

Found a way to do this using after reviewing the code, the jobs config can be used to have multiple targets and we don't have to run the exporter db local . Submitting the config here so that if anybody is looking for the same issue
global:
max_connections: 3
max_idle_connections: 3
min_interval: 0s
scrape_timeout_offset: 500ms
jobs:
job_name: job1
collectors:
  - collector1
static_configs:
- targets:
    "target11": "<secret>"
    "target12": "<secret>"

job_name: job2
collectors:

collector2
static_configs:
targets:
"target3": ""
collector_files:

"/sql/*collector.yml"


refactor(x/mint): simplify TestDistributeMintedCoin

Closes: #XXX
What is the purpose of the change
This change simplifies DistributeMintedCoin by doing the following:

removing TestDistributeMintedCoin_ToDeveloperRewardsAddr. Instead, making this a table-driven test case in TestDistributeMintedCoin
Removing all gauge logic from TestDistributeMintedCoin.

By having gauge logic in that test, as it was previously,  we were overcomplicating that test and making it a functional test as opposed to a unit test.
What we want to assert in the table-driven unit test at this level of abstraction is simply the fact that the AfterDistributeMintedCoin hook is called. It should be irrelevant what the AfterDistributeMintedCoin hook does. Instead, this should be verified by the tests for the  AfterDistributeMintedCoin or functional / integration tests.
The fact that the hook is called can be verified with the newly added mock.

Testing and Verifying
This change is already covered by existing tests, such as:

TestDistributeMintedCoin

Documentation and Release Note

Does this pull request introduce a new feature or user-facing behavior changes? no
Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? no
How is the feature or change documented? not applicable

Merging this since this is an improvement to the tests and does not change the core logic


2.0 Release

[x] remove usage and reference from docs
[x] document release process
[x] #69

@ionelmc

Alright, gonna do this later today I hope

Yey! Release time! :)

Released and added you as maintainer on PyPI! Thanks for your help!! :cake:


Single thumb workaround ?

I want a slider with a single thumb as below (inspired by daisy ui). I styled the first thumb with the fore/background them same as the track.

with  thumbsDisabled: [true, false],
I cannot hide the first thumb because the track will not render correctly

The problem with a disabled thumb is that one cannot click directly on the beginning (=0) of the track.
Is there a potential workaround ?

You can set the width of the first thumb to zero to hide it visually.
.range-slider__thumb[data-lower] {
  width: 0;
}

And then to obtain a rounded corner on the left, modify the top-left and bottom-left border radius.
/* 12px, if the height of the range is, let's say 24px, so 50% of it will give a circular arc */
.range-slider__range {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

I have created a codepen to demonstrate the same.

Many thanks for the quick support! Works nicely :)


packagecloud installation of latest on ubuntu/trusty yields 1.1.1 not 1.1.2

This is further to discussion in #1074.
Currently, if you have:
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS"

... and you:
$ sudo apt-get install git
$ curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | \
  sudo bash
$ sudo apt-get install git-lfs

... you get
$ git lfs version
git-lfs/1.1.1 (GitHub; linux amd64; go 1.5.3)

... so 1.1.1 not 1.1.2.  This is because there are no packages pushed for 1.1.2 to packagecloud, but there was for 1.1.1, and their default repo-install script detects the specific distribution unless you tell it to use an upstream.

This is now fixed with the release of 1.2.0.  On packagecloud/apt you will be automatically offered an upgrade from 1.1.1 to 1.2.0.  Thanks!

Thanks for reporting. I meant to fix this, but I need to update script/packagecloud so it can push a subset of packages. I'd like to come back around and fix this gap too.


[iOS] Move kRCTPlatformName to RCTConstants.h

Summary:
This PR is another one made with the intent to reduce the number of diffs between React Native and React Native macOS.
In https://github.com/facebook/react-native/commit/f7219ec02d71d2f0f6c71af4d5c3d4850a898fd8 , we introduced kRCTPlatformName, which had already been in React Native macOS for a while (since we ifdef to either "ios" or "macos" in a number of places). This change moves the string up to a common header (dropping the "k" prefix) so we can refactor other strings that currently have a hardcoded "platform=ios" inside them.
Changelog:
[IOS] [CHANGED] - Add RCTPlatformName to RCTConstants.h
Test Plan:
CI should pass

Thank you! :)


Terminal Default Set to git-bash no longer works

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:
OS Version:

Steps to Reproduce:

Set default terminal to git-bash
Shutdown/restart VSCode
Default terminal is still PS

I am also experiencing this same issue. Have yet to figure out solution.

/duplicate of #132150


Update end-user-pdf.md

Had the guidance flipped for background image selection(s)

@mgblythe : Thanks for your contribution! The author, @mihart, has been notified to review your proposed change.

@mgblythe : Thanks for your contribution! The author, @mihart, has been notified to review your proposed change.


Update manufacturing-setup-part-2.md

adding external doc

Docs Build status updates of commit 6ddf758:
:warning: Validation status: warnings

File
Status
Preview URL
Details

dynamics-gp/distribution/manufacturing-setup-part-2.md
:warning:Warning
View
Details

dynamics-gp/distribution/manufacturing-setup-part-2.md

Line 130, Column 5: [Warning-file-not-found] Invalid file link: 'media/a23d2f092bf1cbd15aaa0433c67349fd.jpg'.
Line 231, Column 5: [Warning-file-not-found] Invalid file link: 'media/a2ab0984c7944fade6bb1f40b1e9bb9b.jpg'.
Line 453, Column 5: [Warning-file-not-found] Invalid file link: 'media/53fda1cff045b06b9fa37fef151f3aef.jpg'.
Line 721, Column 1: [Suggestion-code-block-indented] Indented code blocks aren't allowed. Use a Markdown code block surrounded by triple backticks (```).

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit ceb10e1:
:warning: Validation status: warnings

File
Status
Preview URL
Details

dynamics-gp/distribution/manufacturing-setup-part-2.md
:warning:Warning
View
Details

dynamics-gp/distribution/manufacturing-setup-part-2.md

Line 130, Column 5: [Warning-file-not-found] Invalid file link: 'media/a23d2f092bf1cbd15aaa0433c67349fd.jpg'.
Line 231, Column 5: [Warning-file-not-found] Invalid file link: 'media/a2ab0984c7944fade6bb1f40b1e9bb9b.jpg'.
Line 453, Column 5: [Warning-file-not-found] Invalid file link: 'media/53fda1cff045b06b9fa37fef151f3aef.jpg'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


STBTTPackRange appears to be immutable

I'm not really sure how I'm supposed to go about creating some STBTTPackRange for use in stbtt_PackFontRanges, is there some big thing I'm missing or was the use of STBTTPackRange misinterpreted to be a return value when it is actually an input value?

It must be mutable indeed. Thanks!

Do you know when a new nightly will go out with the fix?

It should be up now.

Yep, thanks!


Module util

Standalone utilities.

Note that I removed hpx/util/buffer_pool.hpp and hpx/util/coordinate.hpp without deprecation as they were unused. @K-ballo @sithhell this is your chance to keep them alive.

Note that I removed hpx/util/buffer_pool.hpp and hpx/util/coordinate.hpp without deprecation as they were unused.

That's fine with me.

Thinking aloud here: should we split these facilities into even more fine-grain modules (thread-related, iterator-support, type-trait-support, data-structures, etc.)? Would that be over-the-top?

Thinking aloud here: should we split these facilities into even more fine-grain modules (thread-related, iterator-support, type-trait-support, data-structures, etc.)? Would that be over-the-top?

I am supporting this.

In principle I support this as well, I'm just not sure if the categories will be as clear-cut as we would hope. I'm afraid there will be a misc_utils module which gets all the leftovers. This kind of already is that. In any case, I think it's still a good idea. Would you mind if we leave it for another PR though? The categories might present themselves to us later.

I'm afraid there will be a misc_utils module which gets all the leftovers.

@msimberg: I agree there will be leftovers. However I think at least the categories I listed are already discernable.

@hkaiser @sithhell how is this for an initial split:
type_support
hpx/util/unwrap_ref.hpp
hpx/util/decay.hpp
hpx/util/static.hpp
hpx/util/unused.hpp
hpx/util/identity.hpp
hpx/util/always_void.hpp
hpx/util/void_guard.hpp
hpx/util/lazy_conditional.hpp
hpx/util/lazy_enable_if.hpp
hpx/util/detected.hpp
hpx/traits/detail/wrap_int.hpp

thread_support
hpx/util/set_thread_name.hpp
hpx/util/thread_specific_ptr.hpp
hpx/util/assert_owns_lock.hpp
hpx/util/unlock_guard.hpp
hpx/util/atomic_count.hpp

iterator_support
hpx/util/range.hpp
hpx/traits/is_iterator.hpp
hpx/traits/is_range.hpp
hpx/util/iterator_adaptor.hpp
hpx/util/iterator_facade.hpp
hpx/util/iterator_range.hpp

concepts
hpx/traits/concepts.hpp
hpx/traits/has_member_xxx.hpp
hpx/traits/has_xxx.hpp

datastructures
hpx/util/tuple.hpp
hpx/util/optional.hpp
hpx/util/detail/pack.hpp

hashing
hpx/util/fibhash.hpp
hpx/util/jenkins_hash.hpp

allocator_support
hpx/util/internal_allocator.hpp
hpx/util/allocator_deleter.hpp

util_misc
hpx/util/calculate_fanout.hpp
hpx/util/get_and_reset_value.hpp
hpx/util/insert_checked.hpp
hpx/traits/detail/reserve.hpp

don't include in util now, add to future modules
hpx/util/min.hpp -> move to statistics once it's there
hpx/util/max.hpp -> move to statistics once it's there
hpx/util/await_traits.hpp -> move to threading module once it's there
hpx/util/manage_config.hpp -> move to configuration module once it's there
hpx/util/safe_lexical_cast.hpp -> move to configuration module once it's there

delete (unused)
hpx/util/memory_chunk.hpp

?
Suggestions for improvements welcome.

@msimberg that looks fine to me, thanks!

Ok good to go, at least I think ^^ Clang-format applied to the new modules :)

CircleCI is failing (target tests.unit.modules.testing is missing)

@aurianer do you still plan to rename util_misc to util?

Yep sorry !


Add "contradiction index" metric

Already we have one metric: difference between "voted for" and "voted against".
It would be interesting to have another metric: "contradiction index".
The calculation formula may be as follows:
difference = abs( voted_for - voted_against )
contradiction_index = ( voted_for + voted_against ) /  ( difference == 0 ? 0.1 : difference )

I have added a new field controversy to the Comment struct and controversy sorting key for rest /find.
Now we need UI support for this thing. I think all we need is:

show the value of controversy somehow (hover on scores?)
add a new sorting mode "controversial" to "sort by" dropdown

controversy value calculated differently, similar to Reddit's version
func (s *DataStore) controversy(ups, downs int) float64 {

	if downs <= 0 || ups <= 0 {
		return 0
	}

	magnitude := ups + downs
	balance := float64(downs) / float64(ups)
	if ups <= downs {
		balance = float64(ups) / float64(downs)
	}
	return math.Pow(float64(magnitude), balance)
}

https://en.wikipedia.org/wiki/Binomial_proportion_confidence_interval

ааа... присмотрелся, вы и так в ту сторону копнули


Error when running {% highlight %} on Nunjucks page

I've got posts that use "*.njk" extensions.
Whenever I add the {% highlight %} shortcode, it throws:
"Cannot read property 'split' of undefined"
If I change the extension to html, it works fine.

Closing this. Figured out that it was not having quotes around the language in the shortcode.
{% highlight "js" %}


Next race without schedules

Describe the bug
I don't know when, but in the beginning I had schedules in "next race" card below the circuit map. But now I can't see it.
To Reproduce
Steps to reproduce the behavior:
Put the configuration of "next race" card
type: custom:formulaone-card card_type: next_race title: Next Race date_locale: nl image_clickable: false
Expected behavior
To see schedules of next race
Screenshots
If applicable, add screenshots to help explain your problem.

I've cleared browser cache. Any ideas?

Try show_raceinfo: true

Try show_raceinfo: true
@marcokreeft87  I see the problem, thanks, show_raceinfo is false by default.
The mistake was reading README:

As you can see, the code example lacks "show_raceinfo: true" in the sample image
That's the code I've just copied.
I don't have any problem in propose this change creating a pull request in README.md in order to avoid mistakes to others.

It was in the release notes

It was in the release notes and it's in the readme

Hi!
It only was a suggestion, you can see in README.md the screenshot that I have provided and in my opinion it can lead to confusion if a user follows this file, but it was only a suggestion without the intention of disturbing.
If that's okay for you, ok me too!
Anyway, Thanks for your great integration it's useful for me!!

It was in the release notes and it's in the readme. But I'll update the example

I have seen a change in the README.md file, but I think it is not in the place we were referring to.
I can see a change in "Actions example" including "show_raceinfo: true" but In "Next Race" example, into "Example configurations" doesn't have "show_raceinfo: true".
Thanks in advance, and sorry if I'm being annoying


[📚][firebase_analytics_web]: Firebase Analytics for Flutter Web not working if Google Tag is not included in index.html

It appears that Firebase Analytics for Flutter Web requires the Google Tag script to be manually included in the index.html file for proper functionality. Without this, the Google Analytics panel reports that "Data collection isn’t active for your website," even after correctly initialising Firebase Analytics as per the Firebase Analytics documentation.
If it is actually required, the documentation should explicitly instruct developers to include the tag.

Hi @pcba-dev, thanks for raising this. However, I don't think you have to manually add Google Tag script to get analytics working. I just tested with the current firebase_analytics example app and it works fine without the script. Which firebase_analytics version are you using?

We are using firebase_analytics v11.3.5. We have removed the Google Tag script and are waiting in case it takes 48h as it indicates the Analytics pannel.


Automatic testing.

Switched from jasmine to mocha
Removed Leaflet from dependencies in package.json (#127)
Use mocha-phantomjs for npm testing
Added travis.yml

@perliedman Do you have time to do a quick once-over on this?

@pthorin Just FYI, looks good to me. Don't forget about this one though https://github.com/kartena/Proj4Leaflet/blob/master/examples/tms-tiled/index.html

@theashyster it's in 71fc115 :)

@pthorin Damn, ninja style. Great. :)

@pthorin without having actually tested it, this looks :+1:


[SPARK-34567][SQL] CreateTableAsSelect should update metrics too

What changes were proposed in this pull request?
For command CreateTableAsSelect we use InsertIntoHiveTable, InsertIntoHadoopFsRelationCommand to insert data.
We will update metrics of  InsertIntoHiveTable, InsertIntoHadoopFsRelationCommand  in FileFormatWriter.write(), but we only show CreateTableAsSelectCommand in WebUI SQL Tab.
We need to update CreateTableAsSelectCommand's metrics too.
Before this PR:

After this PR:

Why are the changes needed?
Complete SQL Metrics
Does this PR introduce any user-facing change?
No
How was this patch tested?
<!--
MT

Test build #135551 has started for PR 31679 at commit 001963a.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40132/

Test build #135551 has finished for PR 31679 at commit 001963a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135551/

Could you add some tests?

Could you add some tests?

I have tried to add UT like
 test("SPARK-34567: Add metrics for CreateTableAsSelectCommand") {
    withTable("t") {
      val df = sql("CREATE TABLE t AS SELECT 1 as a")
      df.collect()
      val plan = df.queryExecution.executedPlan

      val createTableAsSelect = plan.collect {
        case write: DataWritingCommandExec => write.cmd
      }

      assert(createTableAsSelect.size === 1)
      assert(createTableAsSelect.head.metrics.contains("numFiles"))
      assert(createTableAsSelect.head.metrics("numFiles").value == 1)
      assert(createTableAsSelect.head.metrics.contains("numOutputBytes"))
      assert(createTableAsSelect.head.metrics("numOutputBytes").value == 2)
      assert(createTableAsSelect.head.metrics.contains("numOutputRows"))
      assert(createTableAsSelect.head.metrics("numOutputRows").value == 1)
    }
  }

But it's strange that the CreateHiveTableAsSelect command's metrics is not updated. I haven't found in which place we lose this information but in SQL Tab, we can show the metrics correctly.

FYI @maropu Add UT for this

Test build #135710 has started for PR 31679 at commit 69c3a26.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40292/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40292/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40292/

does CreateDataSourceTableCommand have the same problem?

does CreateDataSourceTableCommand have the same problem?

Hmmmm you mean CreateDataSourceTableAsSelectCommand?  It use different way to write data, trying to update it together.

Test build #135710 has finished for PR 31679 at commit 69c3a26.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135710/

does CreateDataSourceTableCommand have the same problem?

Updated, but outputSize of CreateHiveTableAsSelectCommand and OptimizedCreateTableAsSelectCommand is not same.   Checking why it's not same....

Test build #135716 has started for PR 31679 at commit 905a87c.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40298/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40298/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40298/

Test build #135716 has finished for PR 31679 at commit 905a87c.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135716/

retest this please

Test build #135734 has started for PR 31679 at commit 905a87c.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40316/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40316/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40316/

Test build #135734 has finished for PR 31679 at commit 905a87c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135734/

Test build #135747 has started for PR 31679 at commit 3c2e071.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40329/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40329/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40329/

thanks, merging to master/3.1!

Test build #135747 has finished for PR 31679 at commit 3c2e071.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135747/


Replace code.google.com/p/go.net/websocket with websocket?

There's one from golang.org: https://godoc.org/golang.org/x/net/websocket

Resolved by f74ef5a1ac08837f6191af3dbea56c6faa626428


Anytime Podcast Player Certification Application

The name of your product/service
Anytime Podcast Player
Logo (SVG)

Description
A free and open source podcast player built for Android and iOS
Contact
<EMAIL_ADDRESS>Element support <podcast:funding>
anytime_funding.webm
Element support <podcast:transcript>
anytime_transcript.webm

Approving this certification and will add the Steno logo to the podstandards.org website shortly. Feel free to grab a PSP Certified badge and add it to your site.


ELK as Jar vs Container running mode.

As a super-user for elasticsearch and a service owner/architect of giant Enteprise Elasticsearch cluster in Cisco-webex I wanted to point few things of why we should run ELK in container mode.
Running Elasticsearch on K8's or Elasticsearch on Mesos, it is imperative to allow users to customize executor for many things...like elasticsearch version and embed other very cool plugins for cluster management. That can be only done in container mode .
Enterprise needs and paid ELK customer:
For example for Enterprises use case.... ES plugin is Shield , which allows us fine grained RBAC and LDAP auth for both Elasticsearch API and Kibana. It also gives you easy ability for Multi-tenancy so you don't have to run multiple ELK clusters for logging different applications and still have nice separation between the two.
Other cool  plugins  free and commercial:
Not running in container you loose ability to run other plugins such as Marvel ( metrics ) , Watcher (alerting) KOPF, Paramedic...etc.
Other reasons would be simplicity of upgrades and management.
If you run in jar mode, you can't have easily your own custom executor ...and you are facing all the limitations from above. Which is indeed significant limitation to move your production ELK systems to MANTL.

So if we enable framework_use_docker by default and it works, is this issue solved?

@siddharthist  maybe...if it works. I can test it ....We also need to support passing elasticsearch-mesos framework option of  :
--elasticsearchDockerImage        The elasticsearch docker image to use. E.g. 'elasticsearch:latest'        [DOCKER MODE ONLY]

Testing those modifications now with elasticsearch_docker_image: elasticsearch:2.2.0

+1

Check the version afterward.... e.g    curl -XGET 'http://<IP_ADDRESS>:4000' against any node which runs ES on port 4000 ( check in consul )

@zoza1982 With the following diff from master
 framework_version: "0.7.1"
 framework_name: "elasticsearch"
 framework_ui_port: 31100
-framework_use_docker: false
+framework_use_docker: true
+elasticsearch_docker_image: elasticsearch:2.2.0
 framework_download_url: "https://github.com/mesos/elasticsearch/releases/download/{{ framework_version }}/scheduler-{{ framework_version }}.jar"

 kibana_image: kibana
diff --git a/roles/elk/templates/elasticsearch.json.j2 b/roles/elk/templates/elasticsearch.json.j2
index 52d0441..1a3d479 100644
--- a/roles/elk/templates/elasticsearch.json.j2
+++ b/roles/elk/templates/elasticsearch.json.j2
@@ -15,6 +15,7 @@
     "--elasticsearchExecutorCpu", "{{ elasticsearch_executor_cpu }}",
     "--elasticsearchDisk", "{{ elasticsearch_disk }}",
     "--frameworkUseDocker", "{{ framework_use_docker }}",
+    "--elasticsearchDockerImage", "{{ elasticsearch_docker_image }}",
     "--elasticsearchClusterName", "{{ elasticsearch_cluster_name }}",
     "--webUiPort", "{{ framework_ui_port }}",
     "--frameworkName", "{{ framework_name }}"{% if do_mesos_auth %},

I get this error from Mesos:
Registered executor on lb-mi-worker-001.node.consul
Starting task elasticsearch.c2006e11-e0d2-11e5-9419-3a73a9b34c03
[java, java, -jar, scheduler-0.7.1.jar, --zookeeperMesosUrl, zk://mesos:yUy2c9GPBJQ7vnse@zookeeper.service.consul:2181/mesos, --elasticsearchNodes, 3, --elasticsearchCpu, 1.0, --elasticsearchRam, 1024, --elasticsearchExecutorRam, 1024, --elasticsearchExecutorCpu, 1.0, --elasticsearchDisk, 5120, --frameworkUseDocker, True, --elasticsearchDockerImage, elasticsearch:2.2.0, --elasticsearchClusterName, mantl, --webUiPort, 31100, --frameworkName, elasticsearch, --frameworkPrincipal, mantl-api, --frameworkSecretPath, /etc/sysconfig/mantl-api]
Forked command at 18899
com.beust.jcommander.ParameterException: Unknown option: --elasticsearchDockerImage
Usage: (Options preceded by an asterisk are required) [options]
  Options:
    --dataDir
       The host data directory used by Docker volumes in the executors. [DOCKER
       MODE ONLY]
       Default: /var/lib/mesos/slave/elasticsearch
    --elasticsearchClusterName
       Name of the elasticsearch cluster
       Default: mesos-ha
[...]
Command exited with status 1 (pid: 18899)

Are you sure that's a legal option?

Looks like --executorImage might be what we're looking for.

When I used a configuration with --executorImage, the ES dashboard showed "100% TASK_STAGING" continuously, and the Kibana dashboard showed "Unable to connect to Elasticsearch at http://localhost:9200." Both Kibana and ES framework health checks failed with:
Kibana is not healthy.

and
curl: (7) Failed connect to <IP_ADDRESS>:4000; Connection refused
The Elasticsearch cluster is not healthy.

I wonder if there's some kind of port forwarding issue with Marathon? I'll dig deeper.

Well, just adding ports 9200 and 4000 to the Marathon port list didn't resolve it.

@siddharthist  I guess this comes back to original question which even @ryane was not sure. If framework_use_docker actually works?

@siddharthist where did you get --executorImage  from? I listed options from official docs http://mesos-elasticsearch.readthedocs.org/en/latest/  and I cannot find it.

@zoza1982 It was in the error message when I used --elasticsearchDockerImage. Must be different framework versions (or a documentation bug).

@siddharthist  I would just try with  ``framework_use_docker` only and not specify the image for a start and let it be driven by whatever default is...for purpose to check if Framework can work in hybrid mode...meaning  we are trying here to run scheduler in Jar mode  , but we are asking then to run executor in docker mode. That's the million dollar question to find out ....

@siddharthist  0.7.2 is newest version , probably -- options changed ...or as you say documentation error...

@siddharthist  I will repeat the process in the morning on my side.... And add newer framework version into picture.  0.7.2
Thanks for testing this today

I spoke with the framework devs and the reason that it was recommended that we switch to running in Jar mode for this release was due to a potential docker bug: https://github.com/docker/docker/issues/10294
I don't know if that is what you're running into or just another potential problem to look out for.
The error you might see would be something like this:
Error response from daemon: mkdir /var/lib/docker/overlay/ab6e227fba059ffea80a5385d4fccf4cc42187fca8b2842e63ab222b981aa8e5-init/merged/dev/shm: invalid argument

@ryane thanks for info. This helps too. I doubted that reason switching to jar had some bigger benefits than container mode.


How to use an LSTM Layer in CNN?

I would like to use an LSTM layer in CNN. Specifically, the network will first have a few convolutional layers, producing output y1 from input x. Then y1 is interpreted as a sequence and fed into an LSTM, producing output y2 at the last step. Finally y1 and y2 is fed together into one or more layers, which can be convolutional, fully-connected or any other reasonable layers, to produce the final output z. The whole network is supposed to be trained jointly in an end-to-end manner.
x ---(CONV)---> y1 ---(LSTM)---> y2
[y1, y2] ---(CONV/FC/...)---> z

How can I create the symbol of such a network with MXNet?

I can conveniently achieve this in Caffe. The only thing that I need to do is adding an LSTM layer in prototxt just like adding any other layers.
(BTW, the size of inputs of the network will be determined on the fly, and module binding is performed each time the input size changes.)
Currently I am considering to use the RNN Cell Symbol API. But it seems that problems exist. For example,

I won't be able to reset the cell when unrolling/stepping for a new sequence by calling lstm_cell.reset(), since the LSTMCell is only used when defining the symbol of the network.
Loading or saving RNN models are supposed to be done by calling RNN-specific functions such as mx.rnn.do_rnn_checkpoint(), which seem to be incompatible with non-RNN layers/operators.

If using the RNN Cell Symbol API is a feasible solution, can someone provide an accessible example?

@szha can we do that in Gluon?
Sent with GitHawk

You can try Gluon API, which is more flexible for such kind of complicate network.
A simple sketch example for your network:
class CNNLSTM(HybridBlock):
    def __init__(self, ...):
        self.cnn_block = ...
        self.lstm_block = mxnet.gluon.rnn.LSTM(...)
        self.fc_block = ...

    def hybrid_forward(F, x):
        y1 = self.cnn_block(x)
        y2 = self.lstm_block(y1)
        y3 = F.concat(y1, y2)
        z = self.fc_block(y3)
        return z

@II-Matto if your computation graph doesn't change, which means x and y1 always have the same shapes, then you only need to unroll the graph once. If your computation graph does change based on sequence length, then the computation graph is a function based on input length/shape, in which case you would need to define a sym_gen function as you normally would when using mx.rnn. For basic usage, you can find an example at https://github.com/apache/incubator-mxnet/blob/master/example/rnn/lstm_bucketing.py#L88-L103.
Regarding having CNN, there isn't anything special about adding a conv layer before the RNN layer. For example, you can use the layout (batch size, time steps, input dimensions) (i.e. NTC) for input data. After convolution layer, all you need to do is to make sure that the output is reshaped according to rnn API's expectation before using it to unroll the rnn cell.
The same functionality as mx.rnn can be found in mx.gluon.rnn. If you don't need special modification other than dropout, the rnn layers in gluon is probably the easiest to use. You can find an example at the beginning of its doc at https://mxnet.incubator.apache.org/versions/master/api/python/gluon/rnn.html?highlight=gluon.rnn#recurrent-layers. This would be the closest to what caffe LSTM layer offers.

@eric-haibin-lin @kevinthesun @szha Thanks for your prompt replies!
For a temporary solution, I borrowed the code from the Warp CTC example, which implements LSTM with general fully-connected layers. I used the lstm() and lstm_unroll() functions and replaced the wordvec with my symbol of convolutional features. The model can be trained normally, though some of the losses haven't decreased to an expected level up to now. I will give more feedback after the training finishes.

The solution provided by @kevinthesun is nice. But I'm not sure if it can right fit in my current code.
I'm using the R-CNN example for object detection. The example provides symbol definition files of VGG-16 and ResNet, and they are called in the training script to generate the corresponding symbol, which is then initialized and passed to a module for network training. From my understanding, to use a different network, what I need to do is to provide the corresponding symbol definition file. This will leave other code untouched.
@kevinthesun, if I would like to use your solution, then I will need to write a problem solver (or module) to handle the forward and backward process on my own. Am I right?

@szha, your first solution uses the RNN Cell Symbol API as I requested. It is well explained and looks consistent with other symbol definitions. In this case, should I call the RNN-specific functions for model saving and loading or a normal do_checkpoint() is enough? And is it OK that the RNN cell variable together with the sym_gen() function are defined in a separate file (i.e. the file creating the module will import the sym_gen() from another file)?
Your second solution suggests to use the mx.gluon.rnn from Gluon API. This seems to be a more favorable solution since both regular neural network layers and recurrent ones can be used with mx.gluon.nn.Sequential(). My question is: can the mx.gluon.nn.Sequential object be used as an MXNet symbol? More specifically, can a Gluon Sequential object be passed to a function that originally accepts an MXNet symbol? This is important for me since the R-CNN example that I'm using is not implemented with Gluon.

do_rnn_checkpoint is required when mx.rnn cells are used, and it would do checkpointing for both rnn cells and regular layer weights.
Sequential object itself can't be used to generate symbol. With Gluon, you won't have to use symbol. Gluon is generally a more favorable API to use if you are developing new models. When developing new models, you can run the model in imperative mode to immediately examine the outputs, making it very easy to debug. When development finishes, the gluon interface allows caching and reusing the computation graph parts that won't change to achieve close-to-optimal speed.
Assuming that you want to perform object detection on videos, you may want to check out what @zhreshold has been working on with object detection with gluon API in #8639, in which SSD and YOLOv2 are completed, and faster R-CNN and mask R-CNN are on his roadmap.

@II-Matto In gluon, you just need to define forward pass. Backward can be completed by autograd.

@szha @kevinthesun Many thanks for your help. I will check out if it is possible to switch to use Gluon in my project at present.
BTW, the PR https://github.com/apache/incubator-mxnet/pull/8639 is very exciting, and I can't wait to see its completion!


[Firestore.instance.settings(timestampsInSnapshotsEnabled: true)]=> Here "timestampsInSnapshotsEnabled" is working or not available

Describe the bug
I am using the version cloud_firestore-0.13.4+2 , for the project and i want add the Firestore settings for that i was adding it to Main.dart in **void main() async{Firestore.instance.settings(timestampsInSnapshotsEnabled: true)} ** but it not accepted here, any solution...?
To Reproduce
Steps to reproduce the behavior:

install Library cloud_firestore - 0.13.4+2
Add the lines in main.dart as in screenshot
u won't see that "timestampsInSnapshotsEnabled" is available

Expected behavior
It must accept the "timestampsInSnapshotsEnabled", if not how to do :{
Additional context

Hi @SaiVaraPrasad-3
it is possible that is just a warning
can you please provide your flutter doctor -v ,
your flutter run --verbose
Thank you

hey can anyone give solution on this?

Hey all, unfortunately this Setting has long been deprecated and removed from some of the underlying SDKs so we can no longer support it. The recommendation is to update your code to expect Timestamp objects and stop using this setting.
If you were previously setting this value as true then you don't need to change anything in your code (other than removing the setting) as this now the default behaviour.


Multithreading, terminal colors, improved prompts, and automatic module installation

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
I added multithreading, terminal colors, improved prompts, and added automatic module installing. I also cleaned up the code for consistency.
Describe the changes proposed in the pull request A quick description of the changes made to the repository
The program can generate codes more efficiently, has colored messages in the terminal, asks the user until they provide a valid input, and installs modules if the user wants.
What is the current behavior? (You can also link to an open issue here)
The program only runs on one thread.  The program raises an error if an invalid value is given by the user. The program only tells the user a command to run in order to install dependencies.
What is the new behavior (if this is a feature change)?
The program can now run multiple threads at once for faster generation. The prompts are now in colors to be more aesthetically pleasing. The prompts now ask until you provide a valid answer instead of throwing errors. If the modules are not installed the program lets the user choose if they would like to install them.
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No. It only adds an additional prompt to the start.
Other information:
I removed unused functions, changed all quotes to single quotes for consistency and separated introduction into separate functions.

@Music-Dude  Code looks pretty good, but it won't work as intended, because Discord API limits the number of requests sent by a single user.

how do i use this pull request in this program? im a big github noob, so i dont know how to actually do it. pls someone help!

@Music-Dude Code looks pretty good, but it won't work as intended, because Discord API limits the number of requests sent by a single user.

This could be fixed if a queue system was added (although speed would be much slower)

how do i use this pull request in this program? im a big github noob, so i dont know how to actually do it. pls someone help!

@Vicky-Boi Use the fork from the pull request, @Music-Dude has a fork of this so you can download it from his and use it.