Update azerbaijani.yml

Part of Fixes #14
Added Latin Schwa (ə U+0259 and Ə U+018F) as a presumed mistype of the Cyrillic Schwa

@rrroche are you going to add the roman-to-script transliteration too?

Sorry to take so long to respond. No, I am not going to add the roman-to-script transliteration. I do not think it is needed, the character I added is correcting a mistype rather than adding a new valid character, so transliterating back to script should always go to the correct character, which you already have.
Thanks for checking!

I see now this is to fix a possible mistype. All good.
Separately, we may want to address the fact that we are producing romanized text with separate combining diacritics, rather than single-character diacritic letters. We discussed this with @RandyBarry and we may want to go back to it in a systematic way later.

I see now this is to fix a possible mistype. All good.
Separately, we may want to address the fact that we are producing romanized text with separate combining diacritics, rather than single-character diacritic letters. We discussed this with @RandyBarry and we may want to go back to it in a systematic way later.


ADV/CLI Add --config-event parameter to compute_contributivity CLI

An improvement by @kegl to pass the --event-config argument, instead of the individual foder path in the compute compute_contributivity CLI. This is similar to what is done in other CLI endpoints.
Will merge to the advanced branch on green CI.

@kegl I made a few changes with respect to the initial version to be consistent with other CLI endpoints, for instance, ramp-setup deploy-event,

renamed --event-config to --config-event to be consistent
removed --event (name) option, since this information is contained in the config, and writing test to make sure it's consistent with the config a bit more complex. Similarly other CLI endpoints take this informaiton from the config.

Feel free to merge if you are OK with this.


Move pioneer to devDependencies

This simply moves pioneer to devDependencies, because it isn't required in the dist builds.

:+1: Thank you :smile:


Table server-side

Are you planning to add search, filtering, and server-side pagination?

Especially what do you mean? because it is not easier to do that part individually to make it more personalized for each api

for example, I have many log records, and return them at once so that the table page, filter and search through the tools contained therein is unfeasible
could then have an output that would report what parameters is currently in the table, so you can pass the api and already return the configured data as the user needs, turning it into a server-side datatable

good and it would not be a good methodology to run some events when a change is made in the filter or the page to run the data search on the server with those values

yes, but how to know that the user, for example, clicked the button next to the pagination, so that I request the api query?

How to make the practice better and flexible.

One suggestion is that the 'data' parameter, instead of receiving only Array or Object, is also possible to pass a String, logical, this String would be an API URL. You would pass a POST or GET request, containing the necessary parameters, something like:
{
search: 'search term',
sort: 'column selected to order',
sorted: 'search direction: ASC or DESC',
page: 'requested page',
range: 'total of items per page'
}
and you expect, in response, something like:
{
date: [], // array of items to display,
total: 0 // general total of registered items
}
this is just an example, but that would be the idea

@jrglaber can we do this presently with the vs-table?

good and it would not be a good methodology to run some events when a change is made in the filter or the page to run the data search on the server with those values

@luisDanielRoviraContreras  if we have an event for each user interaction like: sort, page_change, debounced_search, then you make it possible for us to call backend API and present new data on the table, thus allowing us easily override current pagination, sort and search behaviours.

@jrglaber In the last update of the v3.x.x add the events (search, change-page and sort) here is an Example
@CharlesOkwuagwu Thank you very much for the contribution and give me the idea of how to address this problem 👍
Sorry for the delay, at the end the core is free and right now working in v4.0

I implemented this change, add it for the new version, greetings my pana!
................
total: {
type: Number,
default: 0
}
...............
getTotalPages() {
if (this.total) return  Math.ceil(this.total / this.maxItems)
return Math.ceil(this.data.length / this.maxItems)
}


Streaming always enabled for genai-perf

Upon triggering genai-perf, streaming option is always enabled while making calling for triton service.
Even without the --streaming flag,
genai-perf \
                -m bls\
                -v \
                --service-kind triton \
                --backend tensorrtllm \
                --num-prompts 100 \
                --random-seed 1234 \
                --synthetic-input-tokens-mean 4000 \
                --synthetic-input-tokens-stddev 0 \
                --output-tokens-mean 32\
                --output-tokens-stddev 0 \
                --output-tokens-mean-deterministic \
                --concurrency 1 \
                --extra-inputs max_tokens:32 \
                --extra-inputs return_log_probs:false \
                --extra-inputs return_context_logits:false \
                --extra-inputs return_generation_logits:false \
                --extra-inputs beam_width:1 \
                --extra-inputs top_k:1 \
                --extra-inputs stream:false \
                --extra-inputs num_draft_tokens:4 \
                --measurement-interval 120000 \
                --tokenizer meta-llama/Meta-Llama-3-8B-Instruct \
                --url localhost:8001

Outputs the the command in the logs:
perf_analyzer -m bls --async --input-data artifacts/bls-triton-tensorrtllm-concurrency1/llm_inputs.json --service-kind triton -u localhost:8001 --measurement-interval 120000 --stability-percentage 999 --profile-export-file artifacts/bls-triton-tensorrtllm-concurrency1/profile_export.json --verbose -i grpc --streaming --shape max_tokens:1 --shape text_input:1 --concurrency-range 1
(note the --streaming flag in perf_analyzer)
This is because of this line of code which always adds --streaming in case the service is triton:
https://github.com/triton-inference-server/perf_analyzer/blob/main/genai-perf/genai_perf/wrapper.py#L47

@dhruvmullick that is very observant but is intentional.
Some background here to provide context:
GenAI-Perf builds on top of perf_analyzer (PA). PA had a streaming flag prior to the design of GenAI-Perf that controls which client methods are used at a lower level. In PA when profiling triton via grpc, we need that flag.
The streaming flag from the context of GenAI-Perf controls whether or not to include streaming in the API payload and enables streaming behavior for the endpoint.
This overloading of the streaming flag is an complexity we need to improve on but should be operating correctly based on our testing. I would not expect this to affect the behavior of your profiling. However, if you are seeing issues, please let me know and we can investigate further.
Thanks for using the tool!

@debermudez, I see. Thanks for the note!


A guide to adding more datasets

One of the requirements is

Add scripts for pretraining on other datasets.

I'm assuming that the pretrain dataset script would still work for a finetune script, as the data is processed the same?
I was looking through prepare_slimpajama.py and from what I can tell,

Data is taken in as JsonL files, and tokenized into a "packed dataset"

When I tried to look into the packed dataset, I notice its supposed to be a custom format dataset?
I think it would be very useful if you made a guide on preparing a dataset, like maybe an example of a small dataset on Colab, because most of our PCs can't handle the sheer file size of the tokens in the slimpajama and starcoder datasets.

Normally you would want to finetune on Colab instead of pretraining. For that, I recommend you to check out Qlora.

sorry I did mean adding a dataset for sft, I just quoted the requirement, because I believed that datasets would be loaded the same.
I can see multiple different dataset options loading on SFT script, can It be called the same for any custom dataset?

It took ~1hour on 8 A40.


Use "en" locale in Intl.DateTimeFormat constructor

Otherwise parsing fails when the default locale is not english. I had the problem in a react-native project on a device set to french.

Sorry, I missed this notification. Thank you for the contribution @mezcala


Doesn't work?

Hi: I followed all the steps and when I ran the App on my Mac in the IOS simulator, the Database does not update. I don't see any errors at all, nothing happens. Also, a great addition to this article would be an exploration of the XCode project produced, connection strings, CRUD statements, etc. John.

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

ID: 312c8a1a-d55e-26da-699b-6ae9bb4f6ca7
Version Independent ID: 760ffd60-3f4b-77eb-cb66-4c13738d51b4
Content: Create an iOS app on Azure App Service Mobile Apps
Content Source: articles/app-service-mobile/app-service-mobile-ios-get-started.md
Service: app-service-mobile
GitHub Login: @conceptdev
Microsoft Alias: crdun

Hi @JohnStraumann, thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@JohnStraumann I realize this doesn't help directly, but I've just tested the Objective-C and Swift downloads; and they both work here:

My first suggestion would be to verify you have the latest operating system and Xcode installed & configured.
The SDKs and samples are all open-source, you can navigate from this central page. You can view and create issues or PRs directly on the iOS client SDK.

@johnroodt I'm not sure why the download is failing, but you can find the source code for all the SDKs and samples on GitHub here: https://github.com/Azure/azure-mobile-apps, including the iOS code for the quickstart here: https://github.com/Azure/azure-mobile-apps-quickstarts/tree/master/client
The = is probably a typo - thanks for letting us know about that.

@JohnStraumann glad you got it working! We only briefly touch on patterns like MVC and MVVM in our docs - there are better places to learn about those. Xamarin.iOS supports the same kind of MVC approach that iOS developers use with Objective-C and Swift; and if you choose to use Xamarin.Forms XAML then MVVM (with data binding and commanding) works much the same as it does in WPF and UWP.
#please-close

Thanks Craig...I appreciate the response.
Typos...I'm guilty of those too — too often.
I also thought perhaps the code hadn't been updated for iOS 12 and Swift
4.2? Updates to those technologies usually devastate my code.
Kind regards,
John
On Wed, Oct 17, 2018 at 11:45 PM Craig Dunn<EMAIL_ADDRESS>wrote:

@johnroodt https://github.com/johnroodt I'm not sure why the download
is failing, but you can find the source code for all the SDKs and samples
on GitHub here: https://github.com/Azure/azure-mobile-apps, including the
iOS code for the quickstart here:
https://github.com/Azure/azure-mobile-apps-quickstarts/tree/master/client
The = is probably a typo - thanks for letting us know about that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/16123#issuecomment-430800764,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAqPBOa4jBRP7A05zuzXxh5Z12OUQmQjks5ul6UGgaJpZM4XGdw4
.

--
John Roodt
Rogamur Solutions CC t/a Cafe'-Conversations
"Systems Architecting through Facilitated Visual Dialogue"
Cell:<PHONE_NUMBER>

@johnroodt the code has not yet been updated for iOS 12 and the latest Swift. You can confirm when that is done by following the repo where the open-sourced code is kept.
Also, the download issue has been resolved so you should be able to get the templated project from the Azure Portal again.

Thanks, Craig...
John
On Thu, Oct 18, 2018 at 6:19 PM Craig Dunn<EMAIL_ADDRESS>wrote:

@johnroodt https://github.com/johnroodt the code has not yet been
updated for iOS 12 and the latest Swift. You can confirm when that is done
by following the repo
https://github.com/Azure/azure-mobile-apps-quickstarts/tree/master/client
where the open-sourced code is kept.
Also, the download issue has been resolved so you should be able to get
the templated project from the Azure Portal again.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/16123#issuecomment-431072096,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAqPBNG2IDHqwQAGc0EHU1UlFwvo9ccyks5umKn7gaJpZM4XGdw4
.

--
John Roodt
Rogamur Solutions CC t/a Cafe'-Conversations
"Systems Architecting through Facilitated Visual Dialogue"
Cell:<PHONE_NUMBER>

Hi: Still lucking with this, and what I don't understand is why this sample wants to create a "ToDo" table and a checkbox says it will overwrite existing tables. Is there a sample that shows how to create an IOS app that connects to and access and existing Azure Database and Tables? I found this: https://docs.microsoft.com/en-us/azure/app-service-mobile/app-service-mobile-dotnet-backend-how-to-use-server-sdk#create-app but at one point it says "Back in the Get Started blade...." and I cannot find that anywhere on my Azure Portal. I cannot imagine I am the first person to need to connect an IOS app to a n Azure SQL database, but I am struggling with finding documentation. Thanks for any and all help!


[dev.icinga.com #8841] Is it possible to add certs and ticket via chef

This issue has been migrated from Redmine: https://dev.icinga.com/issues/8841
Created by saurabh_hirani on 2015-03-23 06:35:14 +00:00
Assignee: vkhatri
Status: Assigned
Target Version: (none)
Last Update: 2015-11-19 06:52:32 +00:00 (in Redmine)

icinga2 is a great tool and I am doing a setup via chef. For a setup of 2 nodes in a master zone and 2 nodes in a checker zone (with their parent master), I am unable to find out the chef resources to do the initial cert generation and checker zone setup. When I did the setup manually without chef the wizard was very useful and I had to do a "icinga2 pki ticket -cn client" and I could setup the checker zone nodes. Is there a similar way to do so via chef? If not then do we follow the steps mentioned in http://serverfault.com/questions/647805/how-to-set-up-icinga2-remote-client-without-using-cli-wizard to get this working the wizard is interactive and if we are automating that we have to do it in a non-interactive way.

Any news on this one?
Is there anything one could contribute to get distributed setups up and running?


ug exercise 2 level 2

Summary
not sure how to implement the flatmap. my map method works fine. do i have to use the supplier interface, i see a lot of people using that? thanks in advance!
Screenshots (if any):
Insert Images here if necessary

hi I think its better not to use optional in this exercise as most getters/methods for optional are banned
I think a supplier is necessary for the purpose of lazy evaluation.. at least I did that HAHA

hii i think ur flatMap should map a String toStr

In this exercise, its better to switch to a supplier context rather than use Optional since we can't use the Optional methods.

Yep agree with the point on optional, in my opinion not much point using since the getters are banned and then it becomes another context wrapper which you can't access the values inside. I think for map you can just use the function to change the value inside Str and use the constructors to make a new Str. As for flatMap its a bit tricker, but how i did it was to just use the function itself since it already returns a Str object

hi instead of using the map function of Optional which complicates things alot, since mapper is a function, you can consider using the apply method from the function interface to get your modified string and then wrap it back in a Str

ohh ok thanks all!


ADR for Supabase for Github Authentication

Task

Add an ADR for Supabase for Github Authentication

Deliverables

ADR for Supabase for Github Authentication

Size Estimation: Small (< 2 hours)

Completed.


fix phpdoc

fix phpdoc typos and make tests strict

Thanks. I've merged this into the 2.0 branch.

@GrahamCampbell Can we have a release with the fix please?

I wasn't planning on tagging another 2.0.x release until there's actually something fixed.


log and continue if kopia can't find expected base snapshot directory

Description
This allows corso to continue making a snapshot even if the expected directory in the base is not found. The fact that the entry wasn't found will be logged
This should be safe so long as backups that had any sort of error, including "non-catastrophic" errors are marked as failed. Marking those as failed ensures that corso is using a matched set of metadata and data in the base snapshot rather than a partial snapshot
Does this PR need a docs update or release note?

[ ] :white_check_mark: Yes, it's included
[x] :clock1: Yes, but in a later PR
[ ] :no_entry: No

Type of change

[ ] :sunflower: Feature
[x] :bug: Bugfix
[ ] :world_map: Documentation
[ ] :robot: Test
[ ] :computer: CI/Deployment
[ ] :broom: Tech Debt/Cleanup

Issue(s)

#2550

Test Plan

[ ] :muscle: Manual
[x] :zap: Unit test
[ ] :green_heart: E2E

I don't think this is an expectation we can support

Long-term I agree. I would see this as more of an intermediate step. Right now there's the possibility of backups that are missing these prefix directories and we need to provide some path forward for them if they are chosen as bases. We can use this to accomplish that
Combined with #2553, we can ensure that we'll be able to handle bases missing prefix directories and new backups will include prefix directories. After some amount of time, we should be able to tighten this up and error out instead of continuing because any (semi-)recent versions of corso will be creating snapshots that meet the assumptions we've made


Coveralls isn't needed in production

Coverage remained the same at 100.0% when pulling 400d21e3a5c320f856cc1c616fd760690ba7a1a9 on jorisvaesen:patch-1 into 4bbfb6ec3f7b741cb88a7fec9a635135c31cbfbc on andrej-griniuk:master.


Added waterbodies script and usage notebook

Proposed changes
Added dea_waterbodies.py which queries the WFS server as well as a notebook demonstrating how to use it.
Checklist (replace [ ] with [x] to check off)

[x] Notebook created using the DEA-notebooks template
[x] Remove any unused Python packages from Load packages
[x] Remove any unused/empty code cells
[x] Remove any guidance cells (e.g. General advice)
[x] Ensure that all code cells follow the PEP8 standard for code. The jupyterlab_code_formatter tool can be used to format code cells to a consistent style: select each code cell, then click Edit and then one of the Apply X Formatter options (YAPF or Black are recommended).
[x] Include relevant tags in the final notebook cell (refer to the DEA Tags Index, and re-use tags if possible)
[x] Clear all outputs, run notebook from start to finish, and save the notebook in the state where all cells have been sequentially evaluated
[ ] Test notebook on both the NCI and DEA Sandbox (flag if not working as part of PR and ask for help to solve if needed)
[x] If applicable, update the Notebook currently compatible with the NCI|DEA Sandbox environment only line below the notebook title to reflect the environments the notebook is compatible with

This is really, really nice! I really like the script functions break the tasks into small chunks and how the API is similar between all of them. I've made some small changes to markdown to add some extra context to some of the cells, and rearranged the last bit slightly to discuss loading data for a waterbody first, then the slightly more advanced functionality of loading time series.
A few thoughts/suggestions:

Geohashes are a pretty important part of using DEA Waterbodies data, but most users will be unfamiliar with them. I think it would be nice to give a bit more info between  Getting data and List geohashes and polygons in an area with a brief overview of what a geohash is, and how they are used for Waterbodies (e.g. as a unique ID with location info)
One of the first things I wanted to do was use the list of geohashes loaded by get_geohashes to load data for all of those listed waterbodies. From what I can see, there isn't currently a way to do this, or if there is it's undocumented. Could get_waterbodies be modified to accept either a bbox or list of geohashes as an input? (I guess the question then is whether we need a separate get_waterbody func at all?)

Thanks! :D
On your comments...

I've made some small changes to markdown to add some extra context to some of the cells, and rearranged the last bit slightly to discuss loading data for a waterbody first, then the slightly more advanced functionality of loading time series.

Thanks, this looks awesome.

Geohashes are a pretty important part of using DEA Waterbodies data, but most users will be unfamiliar with them. I think it would be nice to give a bit more info between Getting data and List geohashes and polygons in an area with a brief overview of what a geohash is, and how they are used for Waterbodies (e.g. as a unique ID with location info)

Good idea. I wonder if it's relevant to discuss the fact that they're spatial IDs, or should we just state that they're unique identifiers? Depends how we want to balance information vs complexity.

One of the first things I wanted to do was use the list of geohashes loaded by get_geohashes to load data for all of those listed waterbodies. From what I can see, there isn't currently a way to do this, or if there is it's undocumented. Could get_waterbodies be modified to accept either a bbox or list of geohashes as an input? (I guess the question then is whether we need a separate get_waterbody func at all?)

I originally had this actually... but because they're currently stored as CSVs, it's pretty messy to get them all (it's basically a loop over HTTP requests). On the dev sandbox we can do way better with Athena but that won't be a solution for the everyuser. But I could easily implement exactly that loop. Might even be able to parallelise it, but I'm not sure what the current "best solution" for parallel HTTP requests is in Python.

Good idea. I wonder if it's relevant to discuss the fact that they're spatial IDs, or should we just state that they're unique identifiers? Depends how we want to balance information vs complexity.

I think mainly focusing on their use as a unique identifier, but touching on the spatial aspect very briefly (like, one sentence with a hyperlink to more info... "unique IDs that group nearby features together" etc) would be good. Doesn't need to be detailed, just enough that anyone interested in learning more can do so.

I originally had this actually... but because they're currently stored as CSVs, it's pretty messy to get them all (it's basically a loop over HTTP requests). On the dev sandbox we can do way better with Athena but that won't be a solution for the everyuser. But I could easily implement exactly that loop. Might even be able to parallelise it, but I'm not sure what the current "best solution" for parallel HTTP requests is in Python.

If there's technical issues with loading multiple at a time I don't think it's critical for this PR, could always save for a future improvement if needed... just thinking from the perspective of making the whole API as consistent and user friendly as possible (it's already fine as it is).

Let's make it an issue and solve it in another PR.

Added a bit more detail on geohashes @robbibt, let me know what you think!


Application closes when clicked on Search bar

The application seems to close whenever i try to click on the search bar.
OS: Kubuntu

Are you using the Snap version?
There is an issue posted on their github
https://github.com/snapcrafters/cumulonimbus/issues/2
The Snap version crashes for me, but the Appimage works fine. You could give that a try if you like.

As Rick has pointed out, this seems to be an issue with the (unofficial!) Snap version of CPod. The same crash relating to the Search box has been reported several times: #92 and #106, with the Snap version being used in both instances.
If you are indeed using the Snap version, please consider switching to one of the official builds and see if the issue persists.

You should probably put that on top of the README.md page, as I've been looking for a good podcast player for a couple of months, and my first impression having encountered this bug is that this is a buggy software that just doesn't update. And I'm sure that's not a rare occurrence.

Encountered same issue on CPod v1.27.1 Ubuntu 18.04. App closes when I click the search bar


UG order update

@zxgoh I edited the customer class's isSameCustomer( ) method a bit -- now it will be true if the names are the same, or if the mobile phone numbers are the same because for order I need the numbers to be unique (otherwise it will only take the first customer that matches the phone number, which can cause bugs).
I also edited the customer tests related to it, so that they are still working

Ohhh, okay, actually i just changed that too


[RJSF] fixed the size of the input field

Signed-off-by: harkiratsm<EMAIL_ADDRESS>Description
This PR fixes #
Notes for Reviewers

Signed commits

[x] Yes, I signed my commits.

@leecalcote Any Thoughts !

@leecalcote I hope you like it

@harkiratsm Could you please update the branch?

@leecalcote

Updated. Golang lint issues are being fixed @pk-218


use VT100 RIS to clear screen

Running agenda for a long time in Terminal.app very slowly fills the scrollback buffer, which in turn very slowly causes performance degradation. Terminal.app implements CSI 2 J by pushing the current contents of the screen into scrollback, but it implements ESC c by clearing the current contents of the screen without pushing anything into scrollback. This PR changes which escape code agenda uses.
ESC c is the VT100 command RIS, which I learned about on SO. That post comes with some warnings about how it causes unpleasant side-effects on certain hardware. I don't really understand the risks here, so I'll let this sit open as a PR, rather than merging to main like I normally do.

the unpleasant side effects thing is almost certainly not worth worrying about, any modern terminal that anyone would be using isn't going to have issues. that said, i would probably just use \027[H\027[J instead, which should also solve this problem in a simpler way.

Nice. I see that that does something slightly different, but nothing I object to.


nextcloud: 18.0.4 -> 18.0.6

Motivation for this change
Minor version bump with severall bug fixes:
https://nextcloud.com/changelog/#latest18
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

@GrahamcOfBorg test nextcloud.with-postgresql-and-redis nextcloud.with-mysql-and-memcached nextcloud.basic

Runs on my system


Update package json to latest and stable engine versions

Is there a reason why this package is not compatible with the latest version of node and npm?

It should be, what are you encountering?

It looks like the most current version of Node is 19.4.0 for all devices.
https://nodejs.org/en/download/current/
If you try installing the package on a machine running the most current version of Node, you will get an error during installation.

I just installed successfully. I did not get any errors. I did get the warning about the node version compatibility though, but not an error: I managed to npm install, build, etc. without problems.
Is this (what I encountered, not an error but a notification) what you refer to, or do you encounter an actual error (and if so: which one?)


Cannot process VLAN packet in Lagopus with DPDK on Virtualbox 5.1

Hi,
I have a problem of processing VLAN packet with Lagopus in the following environment.

Software Version
Lagopus: commit id 70979201ae9881904e26ea2c92c05e63b7ec0774
Virtualbox: 5.1.0r108711
Host OS: Ubuntu 14.04
Guest OS: Ubuntu 16.04

Network configuration
The connection between Lagopus-VM and other VM's:
VM1 - <br0> - Lagopus-VM - <br1> - VM2

br0, br1 are bridge interfaces on Host OS.
Lagopus's port on br0 is port1, and on br1 is port2.
I set up Lagopus as described in Lagopus book Chapter 10, and carried out the
following tests.
test 1
This test only shows the case that Lagopus works correctly for a comparision with test 2.
VM1 has interface eth1 with IP address of <IP_ADDRESS>.
VM2 has VLAN interface eth1.10 with IP address of <IP_ADDRESS>.
ARP entry of opposite VM is statically set up by arp -s command.
After ping from the VM1 to <IP_ADDRESS>, tcpdump on VM1 shows the following logs:
06:12:37.489328 08:00:27:81:e4:23 (oui Unknown) > 08:00:27:e5:35:f9 (oui Unknown), ethertype 802.1Q (0x8100), length 102: vlan 10, p 0, ethertype IPv4, <IP_ADDRESS> > <IP_ADDRESS>: ICMP echo request, id 6651, seq 19, length 64

output of show flow is as follows:
Lagosh> show flow
[
    {
        "name": "bridge01",
        "tables": [
            {
                "table": 0,
                "flows": [
                    {
                        "priority": 40000,
                        "idle_timeout": 0,
                        "hard_timeout": 0,
                        "send_flow_rem": null,
                        "cookie":<PHONE_NUMBER>61280,
                        "dl_type": "arp",
                        "actions": [
                            {
                                "apply_actions": [
                                    {
                                        "output": "controller"
                                    }
                                ]
                            }
                        ],
                        "stats": {
                            "packet_count": 0,
                            "byte_count": 0
                        }
                    },
                    {
                        "priority": 40000,
                        "idle_timeout": 0,
                        "hard_timeout": 0,
                        "send_flow_rem": null,
                        "cookie":<PHONE_NUMBER>96845,
                        "dl_type": 35138,
                        "actions": [
                            {
                                "apply_actions": [
                                    {
                                        "output": "controller"
                                    }
                                ]
                            }
                        ],
                        "stats": {
                            "packet_count": 0,
                            "byte_count": 0
                        }
                    },
                    {
                        "priority": 40000,
                        "idle_timeout": 0,
                        "hard_timeout": 0,
                        "send_flow_rem": null,
                        "cookie":<PHONE_NUMBER>96919,
                        "dl_type": 35020,
                        "actions": [
                            {
                                "apply_actions": [
                                    {
                                        "output": "controller"
                                    }
                                ]
                            }
                        ],
                        "stats": {
                            "packet_count": 0,
                            "byte_count": 0
                        }
                    },
                    {
                        "priority": 30,
                        "idle_timeout": 0,
                        "hard_timeout": 0,
                        "send_flow_rem": null,
                        "cookie":<PHONE_NUMBER>4407109,
                        "in_port": 1,
                        "actions": [
                            {
                                "apply_actions": [
                                    {
                                        "push_vlan": 33024
                                    },
                                    {
                                        "vlan_vid": 4106
                                    },
                                    {
                                        "output": 2
                                    }
                                ]
                            }
                        ],
                        "stats": {
                            "packet_count": 0,
                            "byte_count": 0
                        }
                    },
                    {
                        "priority": 5,
                        "idle_timeout": 0,
                        "hard_timeout": 0,
                        "send_flow_rem": null,
                        "cookie":<PHONE_NUMBER>82374,
                        "dl_type": "arp",
                        "actions": [
                            {
                                "apply_actions": [
                                    {
                                        "output": "controller"
                                    }
                                ]
                            }
                        ],
                        "stats": {
                            "packet_count": 0,
                            "byte_count": 0
                        }
                    }
                ]
            }
        ],
        "is-enabled": true
    }
]

test2
This test show the case that Lagopus doesn't work correctly.
VM1 and VM2 have VLAN interface (eth1.10) and IP address is <IP_ADDRESS> and <IP_ADDRESS> respectively.
After ping from the VM1 to VM2, tcpdump on VM1 and br1 doesn't show any log.

show flow

Lagosh> show flow
[
    {
        "name": "bridge01",
        "tables": [
            {
                "table": 0,
                "flows": [
                    {
                        "priority": 40000,
                        "idle_timeout": 0,
                        "hard_timeout": 0,
                        "send_flow_rem": null,
                        "cookie":<PHONE_NUMBER>61280,
                        "dl_type": "arp",
                        "actions": [
                            {
                                "apply_actions": [
                                    {
                                        "output": "controller"
                                    }
                                ]
                            }
                        ],
                        "stats": {
                            "packet_count": 0,
                            "byte_count": 0
                        }
                    },
                    {
                        "priority": 40000,
                        "idle_timeout": 0,
                        "hard_timeout": 0,
                        "send_flow_rem": null,
                        "cookie":<PHONE_NUMBER>96845,
                        "dl_type": 35138,
                        "actions": [
                            {
                                "apply_actions": [
                                    {
                                        "output": "controller"
                                    }
                                ]
                            }
                        ],
                        "stats": {
                            "packet_count": 0,
                            "byte_count": 0
                        }
                    },
                    {
                        "priority": 40000,
                        "idle_timeout": 0,
                        "hard_timeout": 0,
                        "send_flow_rem": null,
                        "cookie":<PHONE_NUMBER>96919,
                        "dl_type": 35020,
                        "actions": [
                            {
                                "apply_actions": [
                                    {
                                        "output": "controller"
                                    }
                                ]
                            }
                        ],
                        "stats": {
                            "packet_count": 0,
                            "byte_count": 0
                        }
                    },
                    {
                        "priority": 30,
                        "idle_timeout": 0,
                        "hard_timeout": 0,
                        "send_flow_rem": null,
                        "cookie":<PHONE_NUMBER>4407109,
                        "in_port": 1,
                        "actions": [
                            {
                                "apply_actions": [
                                    {
                                        "output": 2
                                    }
                                ]
                            }
                        ],
                        "stats": {
                            "packet_count": 0,
                            "byte_count": 0
                        }
                    },
                    {
                        "priority": 5,
                        "idle_timeout": 0,
                        "hard_timeout": 0,
                        "send_flow_rem": null,
                        "cookie":<PHONE_NUMBER>82374,
                        "dl_type": "arp",
                        "actions": [
                            {
                                "apply_actions": [
                                    {
                                        "output": "controller"
                                    }
                                ]
                            }
                        ],
                        "stats": {
                            "packet_count": 0,
                            "byte_count": 0
                        }
                    }
                ]
            }
        ],
        "is-enabled": true
    }
]

The result of show interface after ping is as follows. All counter is zero before ping.
Lagosh> show interface
[
    {
        "name": "interface01",
        "rx-packets": 31,
        "rx-bytes": 3286,
        "rx-dropped": 0,
        "rx-errors": 0,
        "tx-packets": 0,
        "tx-bytes": 0,
        "tx-dropped": 0,
        "tx-errors": 0,
        "is-enabled": true
    },
    {
        "name": "interface02",
        "rx-packets": 0,
        "rx-bytes": 0,
        "rx-dropped": 0,
        "rx-errors": 0,
        "tx-packets": 31,
        "tx-bytes": 3162,
        "tx-dropped": 0,
        "tx-errors": 0,
        "is-enabled": true
    }
]

Besides, result of show port is as follows. I thinks that it is strange that port state is always link-down. But I'm not sure it is related to the above problem.
Lagosh> show port
[
    {
        "name": "port01",
        "config": [],
        "state": [
            "link-down"
        ],
        "curr-features": [
            "other"
        ],
        "supported-features": [],
        "is-enabled": true
    },
    {
        "name": "port02",
        "config": [],
        "state": [
            "link-down"
        ],
        "curr-features": [
            "other"
        ],
        "supported-features": [],
        "is-enabled": true
    }
]

Regards,

Hi @k-hikichi,
Could you show me more details about NIC driver on VM?
If you use a none-paravirtualized network driver on VM, some VLAN headers will be striped by the driver. Could you try to use paravirtualized network driver on your environment?

Hi @ynkjm,
Here is a list of kernel modules and an output of dpdk-devbind.py:
ubuntu@lagopus1:~$ lsmod | egrep 'uio|kni'
rte_kni               286720  0
igb_uio                16384  0
uio                    20480  1 igb_uio

ubuntu@lagopus1:~$ sudo ~/lagopus/src/dpdk/tools/dpdk-devbind.py --status
Network devices using DPDK-compatible driver
============================================
0000:00:08.0 '82545EM Gigabit Ethernet Controller (Copper)' drv=igb_uio unused=e1000
0000:00:09.0 '82545EM Gigabit Ethernet Controller (Copper)' drv=igb_uio unused=e1000

Network devices using kernel driver
===================================
0000:00:03.0 '82540EM Gigabit Ethernet Controller' if=enp0s3 drv=e1000 unused=igb_uio *Active*

Other network devices
=====================
<none>

If you use a none-paravirtualized network driver on VM, some VLAN headers will be striped by the driver. Could you try to use paravirtualized network driver on your environment?

Let me know the detail about using paravirtualized network driver.
Should I try to use virtio-net adapter instead of 82545EM?
Regards,

Hi @k-hikichi,
Thank you for detail configuration of virtualbox configuration.
Let me ask one more question about virtualbox configuration to make sure.
Did you enable promiscuss-mode in the configuration of the VM NIC?
The default configuration does not allow promiscuous-mode, so you have to enable it.
The following URL help you.
http://serverfault.com/questions/366659/xen-bridge-over-virtualbox-bridge

Did you enable promiscuss-mode in the configuration of the VM NIC?

Yes, we enabled promiscuss-mode on all VM NICs used by Lagopus.
Regards,


Crashing on inject

Cheat is crashing on injecting help me

Maybe windows defender or any other antivirus tool?

 (Windows library)
What windows are you using? Cause i think this cheat, not supports windows 7.
What injector you using?
Some hwid checks or something what u add into cheat?
Windows defender?

Answer me all question and I can in some way help you.

Kill yourself, this isn't tech support

Most likely you anti-virus or injector

injector / hook issue

be aware that early injection may faill, inject it when u r at the lobby


Error downloading bundle from quandl

Hi all,
I'm having problems getting started with zipline. I run in to problems as soon as I try to:
zipline ingest -b quandl

Operating System: MacOS 10.13.6
Python Version: Python 3.5.4
Python Bitness: 64
How did you install Zipline: Through pip in a venv in PyCharm
Python packages:

alembic==1.0.2
bcolz==0.12.1
Bottleneck==1.2.1
certifi==2018.10.15
chardet==3.0.4
Click==7.0
contextlib2==0.5.5
cyordereddict==1.0.0
Cython==0.29
decorator==4.3.0
empyrical==0.5.0
idna==2.7
intervaltree==2.1.0
Logbook==1.4.1
lru-dict==1.1.6
lxml==4.2.5
Mako==1.0.7
MarkupSafe==1.0
multipledispatch==0.6.0
networkx==1.11
numexpr==2.6.8
numpy==1.15.3
pandas==0.22.0 (have also tried 0.19.2)
pandas-datareader==0.7.0
patsy==0.5.1
python-dateutil==2.7.5
python-editor==1.0.3
pytz==2018.7
requests==2.20.0
requests-file==1.4.3
scipy==1.1.0
setuptools-scm==3.1.0
six==1.11.0
sortedcontainers==2.0.5
SQLAlchemy==1.2.13
statsmodels==0.9.0
tables==3.4.4
toolz==0.9.0
trading-calendars==1.5.0
urllib3==1.24
wrapt==1.10.11
zipline==1.3.0
I've also installed the needed packages from Homebrew:
"brew install freetype pkg-config gcc openssl""

I've managed to install zipline and from what I can tell all dependencies. I can run "zipline run --help" as expected.
But for some reason I can't run an ingest.
Here is how I can reproduce this issue on my machine:
Reproduction Steps

Fresh install of zipline in a venv in PyCharm.
run "export QUANDL_API_KEY=INSERTMYAPIKEY"
run "zipline ingest -b quandl"

Below is the error dump.
Any ideas?
Thanks!
Micke
(venv) Mickes-MBP:zipLineTest teeling$ export QUANDL_API_KEY=INSERTMYAPIKEY
(venv) Mickes-MBP:zipLineTest teeling$ zipline ingest -b quandl
[2018-11-01 21:48:43.251173] INFO: zipline.data.bundles.quandl: Downloading WIKI metadata.
[2018-11-01 21:48:43.348854] ERROR: zipline.data.bundles.quandl: Exception raised reading Quandl data. Retrying.
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 1254, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1107, in request
self._send_request(method, url, body, headers)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1152, in _send_request
self.endheaders(body)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1103, in endheaders
self._send_output(message_body)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 934, in _send_output
self.send(msg)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 877, in send
self.connect()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1261, in connect
server_hostname=server_hostname)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 385, in wrap_socket
_context=self)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 760, in init
self.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 996, in do_handshake
self._sslobj.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 641, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:719)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/zipline/data/bundles/quandl.py", line 89, in fetch_data_table
format_metadata_url(api_key)
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/pandas/io/parsers.py", line 709, in parser_f
return _read(filepath_or_buffer, kwds)
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/pandas/io/parsers.py", line 433, in _read
filepath_or_buffer, encoding, compression)
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/pandas/io/common.py", line 190, in get_filepath_or_buffer
req = _urlopen(filepath_or_buffer)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 163, in urlopen
return opener.open(url, data, timeout)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 466, in open
response = self._open(req, data)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 484, in _open
'_open', req)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 444, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 1297, in https_open
context=self._context, check_hostname=self._check_hostname)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 1256, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:719)>
[2018-11-01 21:48:43.355073] INFO: zipline.data.bundles.quandl: Downloading WIKI metadata.
[2018-11-01 21:48:43.381369] ERROR: zipline.data.bundles.quandl: Exception raised reading Quandl data. Retrying.
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 1254, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1107, in request
self._send_request(method, url, body, headers)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1152, in _send_request
self.endheaders(body)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1103, in endheaders
self._send_output(message_body)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 934, in _send_output
self.send(msg)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 877, in send
self.connect()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1261, in connect
server_hostname=server_hostname)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 385, in wrap_socket
_context=self)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 760, in init
self.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 996, in do_handshake
self._sslobj.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 641, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:719)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/zipline/data/bundles/quandl.py", line 89, in fetch_data_table
format_metadata_url(api_key)
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/pandas/io/parsers.py", line 709, in parser_f
return _read(filepath_or_buffer, kwds)
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/pandas/io/parsers.py", line 433, in _read
filepath_or_buffer, encoding, compression)
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/pandas/io/common.py", line 190, in get_filepath_or_buffer
req = _urlopen(filepath_or_buffer)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 163, in urlopen
return opener.open(url, data, timeout)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 466, in open
response = self._open(req, data)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 484, in _open
'_open', req)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 444, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 1297, in https_open
context=self._context, check_hostname=self._check_hostname)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 1256, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:719)>
[2018-11-01 21:48:43.386729] INFO: zipline.data.bundles.quandl: Downloading WIKI metadata.
[2018-11-01 21:48:43.412870] ERROR: zipline.data.bundles.quandl: Exception raised reading Quandl data. Retrying.
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 1254, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1107, in request
self._send_request(method, url, body, headers)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1152, in _send_request
self.endheaders(body)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1103, in endheaders
self._send_output(message_body)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 934, in _send_output
self.send(msg)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 877, in send
self.connect()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1261, in connect
server_hostname=server_hostname)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 385, in wrap_socket
_context=self)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 760, in init
self.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 996, in do_handshake
self._sslobj.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 641, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:719)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/zipline/data/bundles/quandl.py", line 89, in fetch_data_table
format_metadata_url(api_key)
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/pandas/io/parsers.py", line 709, in parser_f
return _read(filepath_or_buffer, kwds)
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/pandas/io/parsers.py", line 433, in _read
filepath_or_buffer, encoding, compression)
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/pandas/io/common.py", line 190, in get_filepath_or_buffer
req = _urlopen(filepath_or_buffer)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 163, in urlopen
return opener.open(url, data, timeout)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 466, in open
response = self._open(req, data)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 484, in _open
'_open', req)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 444, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 1297, in https_open
context=self._context, check_hostname=self._check_hostname)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 1256, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:719)>
[2018-11-01 21:48:43.415204] INFO: zipline.data.bundles.quandl: Downloading WIKI metadata.
[2018-11-01 21:48:43.444147] ERROR: zipline.data.bundles.quandl: Exception raised reading Quandl data. Retrying.
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 1254, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1107, in request
self._send_request(method, url, body, headers)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1152, in _send_request
self.endheaders(body)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1103, in endheaders
self._send_output(message_body)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 934, in _send_output
self.send(msg)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 877, in send
self.connect()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1261, in connect
server_hostname=server_hostname)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 385, in wrap_socket
_context=self)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 760, in init
self.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 996, in do_handshake
self._sslobj.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 641, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:719)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/zipline/data/bundles/quandl.py", line 89, in fetch_data_table
format_metadata_url(api_key)
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/pandas/io/parsers.py", line 709, in parser_f
return _read(filepath_or_buffer, kwds)
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/pandas/io/parsers.py", line 433, in _read
filepath_or_buffer, encoding, compression)
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/pandas/io/common.py", line 190, in get_filepath_or_buffer
req = _urlopen(filepath_or_buffer)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 163, in urlopen
return opener.open(url, data, timeout)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 466, in open
response = self._open(req, data)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 484, in _open
'_open', req)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 444, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 1297, in https_open
context=self._context, check_hostname=self._check_hostname)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 1256, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:719)>
[2018-11-01 21:48:43.446814] INFO: zipline.data.bundles.quandl: Downloading WIKI metadata.
[2018-11-01 21:48:43.476286] ERROR: zipline.data.bundles.quandl: Exception raised reading Quandl data. Retrying.
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 1254, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1107, in request
self._send_request(method, url, body, headers)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1152, in _send_request
self.endheaders(body)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1103, in endheaders
self._send_output(message_body)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 934, in _send_output
self.send(msg)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 877, in send
self.connect()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1261, in connect
server_hostname=server_hostname)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 385, in wrap_socket
_context=self)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 760, in init
self.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 996, in do_handshake
self._sslobj.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 641, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:719)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/zipline/data/bundles/quandl.py", line 89, in fetch_data_table
format_metadata_url(api_key)
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/pandas/io/parsers.py", line 709, in parser_f
return _read(filepath_or_buffer, kwds)
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/pandas/io/parsers.py", line 433, in _read
filepath_or_buffer, encoding, compression)
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/pandas/io/common.py", line 190, in get_filepath_or_buffer
req = _urlopen(filepath_or_buffer)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 163, in urlopen
return opener.open(url, data, timeout)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 466, in open
response = self._open(req, data)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 484, in _open
'_open', req)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 444, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 1297, in https_open
context=self._context, check_hostname=self._check_hostname)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 1256, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:719)>
Traceback (most recent call last):
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/bin/zipline", line 11, in
load_entry_point('zipline==1.3.0', 'console_scripts', 'zipline')()
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/zipline/main.py", line 348, in ingest
show_progress,
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/zipline/data/bundles/core.py", line 451, in ingest
pth.data_path([name, timestr], environ=environ),
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/zipline/data/bundles/quandl.py", line 209, in quandl_bundle
environ.get('QUANDL_DOWNLOAD_ATTEMPTS', 5)
File "/Users/teeling/Documents/PythonDev/zipLineTest/venv/lib/python3.5/site-packages/zipline/data/bundles/quandl.py", line 113, in fetch_data_table
"Failed to download Quandl data after %d attempts." % (retries)
ValueError: Failed to download Quandl data after 5 attempts.

@teeling sorry for the late reply here. Typically Quandl's servers are down / having issues when that happens, which you can check the status of here. Have you tried re-downloading since you've posted this issue?


Config Overhaul

Currently Proxima only supports loading a config file for endpoints. This should be changed so that other global params can be specified.  That is outside this scope.
Added in 0.8.0.


manage.py migrate fails on StreamFields with '' as default value

Issue Summary
If a StreamField with blank=False is added to a model with existing instances, and the empty string is specified as the one-off default value when running ./manage.py makemigrations, the subsequent ./manage.py migrate fails with AttributeError: 'str' object has no attribute 'get_prep_value'.
It looks like this bug was introduced by https://github.com/wagtail/wagtail/commit/dc0ae76eecffbed8f4fa370f556733fac5182eb7 - the old implementation of StreamBlock.get_prep_value looks like it only dealt with None and StreamValue / array-like values as input, but the code path for the latter was also (accidentally?) producing the correct result for an empty string, because a list comprehension over an empty string gives an empty list. The new code breaks on this case. (Note: need to check whether there are any other array-like values we should be handling here, such as the list-of-tuples notation)
Steps to Reproduce

Start a new project with wagtail start myproject

./manage.py migrate / ./manage.py createsuperuser

Add a StreamField to HomePage in home/models.py:
 from django.db import models

 from wagtail.core.models import Page

 from wagtail.core import blocks
 from wagtail.core.fields import StreamField

 class HomePage(Page):
     body = StreamField([('text', blocks.CharBlock)])

./manage.py makemigrations; set '' as the one-off default

./manage.py migrate - this fails with:
 [bakerydemo streamfieldemptystring]$ ./manage.py migrate
 Operations to perform:
   Apply all migrations: admin, auth, contenttypes, home, sessions, taggit, wagtailadmin, wagtailcore, wagtaildocs, wagtailembeds, wagtailforms, wagtailimages, wagtailredirects, wagtailsearch, wagtailusers
 Running migrations:
   Applying home.0003_homepage_body...Traceback (most recent call last):
   File "./manage.py", line 10, in <module>
     execute_from_command_line(sys.argv)
   File "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.6/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
     utility.execute()
   File "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.6/site-packages/django/core/management/__init__.py", line 356, in execute
     self.fetch_command(subcommand).run_from_argv(self.argv)
   File "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.6/site-packages/django/core/management/base.py", line 283, in run_from_argv
     self.execute(*args, **cmd_options)
   File "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.6/site-packages/django/core/management/base.py", line 330, in execute
     output = self.handle(*args, **options)
   File "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 204, in handle
     fake_initial=fake_initial,
   File "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.6/site-packages/django/db/migrations/executor.py", line 115, in migrate
     state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
   File "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.6/site-packages/django/db/migrations/executor.py", line 145, in _migrate_all_forwards
     state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
   File "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.6/site-packages/django/db/migrations/executor.py", line 244, in apply_migration
     state = migration.apply(state, schema_editor)
   File "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.6/site-packages/django/db/migrations/migration.py", line 129, in apply
     operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
   File "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.6/site-packages/django/db/migrations/operations/fields.py", line 88, in database_forwards
     field,
   File "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.6/site-packages/django/db/backends/sqlite3/schema.py", line 238, in add_field
     self._remake_table(model, create_field=field)
   File "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.6/site-packages/django/db/backends/sqlite3/schema.py", line 113, in _remake_table
     self.effective_default(create_field)
   File "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.6/site-packages/django/db/backends/base/schema.py", line 245, in effective_default
     default = field.get_db_prep_save(default, self.connection)
   File "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.6/site-packages/django/db/models/fields/__init__.py", line 770, in get_db_prep_save
     prepared=False)
   File "/home/vagrant/.virtualenvs/bakerydemo/lib/python3.6/site-packages/django/db/models/fields/__init__.py", line 762, in get_db_prep_value
     value = self.get_prep_value(value)
   File "/vagrant/wagtail/wagtail/core/fields.py", line 106, in get_prep_value
     return json.dumps(self.stream_block.get_prep_value(value), cls=DjangoJSONEncoder)
   File "/vagrant/wagtail/wagtail/core/blocks/stream_block.py", line 253, in get_prep_value
     return value.get_prep_value()
 AttributeError: 'str' object has no attribute 'get_prep_value'

I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: yes

Technical details

Python version: 3.6.3
Django version: 1.11.15
Wagtail version: 2.3rc1

Thanks to @bcdickinson for the report!

Hi Matthew, thanks for the mention! I can also reproduce this with blank=True in the streamfield definition:
from django.db import models

from wagtail.core.models import Page
from wagtail.core.fields import StreamField
from wagtail.core.blocks import CharBlock

class HomePage(Page):
    test = StreamField([('text', CharBlock())], blank=True)

./manage.py makemigrations and ./manage.py migrate:
...
  File "/home/bdickinson/.virtualenvs/tmp-92995648ed7540db/lib/python3.6/site-packages/wagtail/core/blocks/stream_block.py", line 253, in get_prep_value
    return value.get_prep_value()

So, I don't think the user-specified default of '' is important here.

@loicteixeira wisely worried about this on https://github.com/wagtail/wagtail/pull/4727#discussion_r218838730!
Would changing this line to if not value suffice?

@chosak I think so, yes. There is the edge case of an empty StreamValue with a raw_text property (which is falsy but should not be translated to an empty list), but that should only occur at the top level where it's handled by StreamField.get_prep_value, so I think we're good. https://github.com/wagtail/wagtail/blob/7c82594c2911257710297ca9e4419e9ffbfbbf71/wagtail/core/fields.py#L99-L104


Correctly accept all json and xml subtypes

Prerequisites

[x] I have written a descriptive pull-request title
[x] I have verified that there are no overlapping pull-requests open
[x] I have verified that I am following the Nancy code style guidelines
[x] I have provided test coverage for my change (where applicable)

Description
Currently Nancy accepts all vendor-specific json and xml media subtypes. As per RFC 6839 (json) and RFC 3023 (xml) all +json and +xml subtypes should be regarded as such. Otherwise many IANA registered media types will not be handled correctly.

:shipit:
Anyone know why TC is failing?

@khellang It seems to be related to a roslyn bug, it's referenced here, here and here.
Suggestion is to use the CDSCollectionETWBCLProvider event source directly (rather than indirectly), e.g. by referencing ConcurrentDictionary. If I understood correctly. :-)


[bug] Visual bug on fullscreen mode

Environment
Spotify Version: <IP_ADDRESS>2.g26c92729
Spicetify Version: v2.36.2
Platform: MAC
Addons:  none
Extensions: hidePodcasts.js, beautiful-lyrics.js, shuffle+.js, fullAppDisplayMod.js (EDIT: Also tried without any extension installed, same problem.)
Custom Apps: none
Snippets: none
Spicetify Config
Default
Theme Information
Pastebin: https://pastebin.com/UNibkUPu
Describe the bug
A bar appears in the fullscreen mode while listening to a song.
Screenshots

beautiful-lyrics is currently broken on the latest spotify so i cant actually test this until he fixes it lol


when you search for chr:pos sometimes a filtered variant won't show

see http://exac.broadinstitute.org/variant/20-4680025-C-T and then http://exac.broadinstitute.org/region/20-4680025-4680025 (Created by ericminikel from macarthurlab Slack)

Additional example from @dgmacarthur
bizarrely, if you search a range that includes the filtered site, and then tick the box, it shows
dgmacarthur [2:41 PM]
http://exac.broadinstitute.org/region/1-55505593-55505613
dgmacarthur [2:42 PM]
vs http://exac.broadinstitute.org/region/1-55505603-55505603


Add a step to tutorial to merge changes

Since we made the master branch protected, we added an instruction to create a branch, but forgot to add an instruction to open a pull request!
Though, how does one do that if they are using a managed repo? 🤔

Tutorial is being revised so this will no longer apply!


Readme: Mustache.parse returns an array of Tokens

In the README the return type for Mustache.parse is listed as a String. It's actually an array of Tokens.

retest this please

@jasonm23 I can't merge this, who will?

Closing and reopening to trigger  rebuild

We'd need to have this merged by a collaborator / member / owner.
@janl

Thanks! 👍


Feat(eos_cli_config_gen): Add support for flow tracking hardware

Change Summary
Add support for flow tracking hardware
Component(s) name
arista.avd.eos_cli_config_gen
Proposed changes
       keys:
         type:
           type: str
-          valid_values: ['sampled']
+          valid_values: ['sampled', 'hardware']

Why is this enough? Same output for show cli commands
leaf1(config)#flow tracking ?
  hardware        Configure hardware flow tracking
  mirror-on-drop  Configure mirror on drop feature
  sampled         Configure sampled flow tracking
  telemetry       Configure sampled telemetry

leaf1(config)#flow tracking hardware
leaf1(config-flow-tracking-hardware)#show cli commands
[no|default] encapsulation ( { ENCAPS } )
[no|default] hardware offload ( ( ipv4 [ ipv6 ] ) | ( ipv6 [ ipv4 ] ) )
[no|default] record format ipfix standard timestamps counters
[no|default] record rewrite dscp
[no|default] sample RATE
[no|default] sample limit ( ( NUM pps ) | disabled )
[no|default] shutdown
[no|default] tracker TRACKER_NAME
[no|default] trap suppression

leaf1(config)#flow tracking sampled
leaf1(config-flow-tracking-sampled)#show cli commands
[no|default] encapsulation ( { ENCAPS } )
[no|default] hardware offload ( ( ipv4 [ ipv6 ] ) | ( ipv6 [ ipv4 ] ) )
[no|default] record format ipfix standard timestamps counters
[no|default] record rewrite dscp
[no|default] sample RATE
[no|default] sample limit ( ( NUM pps ) | disabled )
[no|default] shutdown
[no|default] tracker TRACKER_NAME
[no|default] trap suppression

How to test
molecule test
Checklist
Repository Checklist

[x] My code has been rebased from devel before I start
[x] I have read the CONTRIBUTING document.
[x] My change requires a change to the documentation and documentation have been updated accordingly.
[x] I have updated molecule CI testing accordingly. (check the box if not applicable)

This PR does not allow to configure flow tracker hardware FOO under ethernet-interfaces. This will be tracked in another issue.


Tables

As a user/admin/teacher, I want to view information in a table format, so that I can easily scan, compare, and understand the data.
Acceptance criteria

Display data in a structured table with headers.
Ensure table is responsive and readable on all screen sizes.
Highlight rows or cells on hover for better readability.
Include Edit and Delete buttons (for admin) to easily update table information

Design

headers
- Use primary color text and bold font for clarity.

Rows
- Alternate light gray background (#F9F9F9) to improve readability.

hover
- Slight background change on row hover to indicate interactivity.

[x] #63
[x] #105

Willow Glade is already completing the tables on this issue #63

#63 Pagination and table styling in review.

https://github.com/NoroffFEU/edu-gate/issues/105 Add hover/click states to tables in review.

Review completed


Contradiction in Spec Concerning Properties

Bolpat reported this on 2018-05-19T16:04:40Z
Transferred from https://issues.dlang.org/show_bug.cgi?id=18876
CC List

Jonathan M Davis (@jmdavis)

Description
In section "Property Functions"[1] of "Functions" page, it says on
2., second point: "@property functions can only have zero, one or two parameters."
and on
8.: "If a property function has no parameters, it works as a getter. If has exactly one parameter, it works as a setter."

These cannot be understood simultaneously. 8. implies a @property must have one or no parameters.

[1] https://dlang.org/spec/function.html#property-functions

issues.dlang (@jmdavis) commented on 2018-06-01T08:14:02Z
The cases of a free function used without UFCS, a free function used with UFCS, and a member function are all different, and the number of parameters required differs. So, the spec needs to be clarified in that respect. Point #8 is correct for a free function used without UFCS or a member function, but it's wrong for a free function used with UFCS. A free function used with UFCS needs on extra parameter for both the getter and setter - hence why it's possible to have a setter property with two parameters.

But regardless, that whole section of the spec needs to be rewritten anyway, since while it was intended at one point that property functions be controlled by @property, that never actually happened. So, all of these rules relate to using any function as a property and aren't actually affected by @property.


Refactor the preview templates to be located in app/views folder

Feature request
Following the discussion started in #289 we should make use of the app/views folder for our preview templates.
Also we might not need to namespace the previews controller with Rails.
Motivation
Just to improve code quality and maintainability in the gem

@jonspalmer is there something I missed here?

Looks right to me.