Colorbar shows wrong values when using Contourf, with colorrange or levels

Bug description
Using visual(Contourf; colorrange=(x, y)) will result in an incorrect plot where the colorbar does not reflect the values being plotted. This is apparently because setting colorrange does not actually affect the Contourf plot, and just sets the colorbar boundaries. Setting levels instead of colorrange will give the expected colors, but does not affect the colorbar.
Workaround: Use visual(Contourf; colorrange=(x, y), levels=range(x, y)) simultaneously.
Steps to reproduce
Setup code:
x = range(-2π, 2π, 30)
dat = [(x, y, sin(x+y)) for (x, y) in Iterators.product(x, x)] |> vec
df = DataFrame(dat, [:x, :y, :val])

Correct behavior using visual(Heatmap; colorrange) for comparison:
data(df) * mapping(:x, :y, :val) * visual(Heatmap; colormap=:curl, colorrange=(-1, 3)) |> draw

Using Heatmap, the crests of the sine are correctly displayed in white. The colorbar correctly identifies white as the value 1
Incorrect behavior using visual(Contourf; colorrange):
data(df) * mapping(:x, :y, :val) * visual(Contourf; colormap=:curl, colorrange=(-1, 3)) |> draw

Using Contourf with colorrange, the crests of the sine are displayed as dark red, which would correspond to a value of 3 according to the colorbar. This is incorrect
(A bit less, but still) incorrect behavior using visual(Contourf; levels):
data(df) * mapping(:x, :y, :val) * visual(Contourf; colormap=:curl, levels=-1:0.4:3) |> draw

Using Contourf with levels, the crests of the sine are now correctly displayed as white. However, the colorbar incorrectly identifies white with the value 0
Version info

Julia Version: 1.9.3 (commit bed2cd540a)
AlgebraOfGraphics Version: 0.6.18
CairoMakie Version: 0.11.9

(edit: Tested with the newest AlgebraOfGraphics & CairoMakie — Apologies for not doing that from the start!)

Since AoG 0.7 there is a filled_contours analysis for this case. It was not possible to link the contourf recipe into the new system because of the custom way it determines the actual categorical color bands it is going to use (which makes a continuous colorbar inappropriate in any case).
Using this with your example, you now get a categorical legend marking each band separately (like ggplot does it).
x = range(-2π, 2π, 30)
dat = [(x, y, sin(x+y)) for (x, y) in Iterators.product(x, x)] |> vec
df = DataFrame(dat, [:x, :y, :val])

with_theme(colormap = :curl) do
    data(df) * mapping(:x, :y, :val) * filled_contours(levels=-1:0.4:3) |> draw
end

(Note that I use with_theme here out of laziness, because curl is not a categorical colormap, so currently, to pass it as a palette to the Color scale, I'd have to count the levels manually first and make a categorical palette with cgrad for example)


How do you create Braintree client tokens? Is there an accessible instance of Braintree_ClientToken?

https://developers.braintreepayments.com/javascript+php/sdk/overview/generate-client-token
If I try the regular generation code, it understandably complains my environment isn't set up despite it being done in the config file, so I don't want to have to redefine just to get token out.

At the time I wrote this package the transparent redirect option was the only secure way to obtain a card token. Looks like they now have a javascript library to help do this now (similar to Stripe it looks like)? So either of these options might do it for you.
More info: https://www.braintreepayments.com/braintrust/client-side-encryption


android sms app

android code to send sms

i don't know how to add folder , there is option to only add files or create file

i have researched and created a new folder bruh


init cluster-operator

What type of PR is this?

/kind feature
What this PR does / why we need it:
part 1 of https://github.com/kurator-dev/kurator/issues/96
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

We should have a pkg/cluster-operator dir, and move aws package under it

We should have a pkg/cluster-operator dir, and move aws package under it

let's do that in following PRs

/lgtm


Why in the MetroButtonTextBox the visibility of PART_ClearText is not managed as the MetroTextBox?

I want to manage the MetroButtonTextBox Visibility behavior in the same way of the MetroTextBox (when there is Text in the TextBox the button should be visible, otherwise collapsed).
I have checked the style and I have seed that the PART_ClearText dows not have any binding in the Visibility property.
Is it a missing binding or there are a different way to hide the button?

@gigios it's now possible since https://github.com/MahApps/MahApps.Metro/pull/2387

Thank you!


String

@glima
Related to: #663
After some discussing, instead of trying to figure out if a dependence was in or out of a build to decide if a test should be run or not, it was decided to fail tests related to such dependence and have this relationship more explicit through test's name. Also to have tests using the default backend to the functionality could be assured.

Anything else? going to merge this by the end of day with the proposed fixes.

merged


aws_ecr_repository queries hitting api limits

Describe the bug
queries will timeout with an api limit error  (Error running query: rpc error: code = Unknown desc = ThrottlingException: Rate exceeded status code: 400, request id: .... ) when querying using repository_name in ( select distinct repository_name from aws_ecr_repository limit 1) or similar (using a subselect).  However, if the query doesn't use a subselect like `repository_name in ('a/b','b/c',.....) it works fine
Steampipe version (steampipe -v)
Example: v0.15.1
Plugin version (steampipe plugin list)
Example: v0.71.0
To reproduce
  select
    deets -> 'ImageTags' as image_tags,
    deets -> 'ImageDigest' as image_digest,
    deets -> 'ImagePushedAt' as image_pushedat,
    deets -> 'LastRecordedPullTime' as image_lastpulled,
    ecr.repository_name as repository_name,
    fin -> 'Uri' as uri,
    fin -> 'Name' as cve,
    fin -> 'Severity' as severity,
    fin -> 'Description' as description,
    fin -> 'Attributes' as attributes
  from
    aws_cloudhub.aws_ecr_repository as ecr,
    jsonb_array_elements(image_details) as deets,
    jsonb_array_elements(image_scanning_findings) as details,
    jsonb(details) as detail,
    jsonb_array_elements(detail -> 'ImageScanFindings' -> 'Findings') as fin
  where
    ecr.repository_name in (select distinct repository_name from aws_ecr_repository limit 1)
    and fin ->> 'Severity' in ('CRITICAL', 'UNDEFINED')
    and deets -> 'ImageDigest' = detail -> 'ImageId' -> 'ImageDigest'

Expected behavior
subselect in quals should not hit api limits

@tinder-tder, sorry for the problem you faced with the aws_ecr_repository table query. We have introduced a functionality where you can configure the retry limit and minimum retry delay in the config file. Could you please try out the same and let us know if the problem persists.

@bigdatasourav that is a slow work around, there seems to be something in the query processor that is making it behave differently when using a subselect.  it should use the api more efficiently

Hey @tinder-tder , can you please describe what your query is meant to retrieve for ECR repositories and why the subquery is crucial? I read your query, but my SQL skills need a bit of work, so I need some help understanding the query more.
Also, approximately how many repos do you have across the region(s) you're querying?

@cbruno10 the query lists out ECR findings that are critical/undefined for each repo.  The sybquery make it easier to not have to explicitly list each repo (ie if a new one is made it can automatically be included in the query via subselect).  we are only querying 1 region and with a current list of 11 repos explicit defined (again if we use a subselect to get the same list, even with a limit of 1 it will hit the api limit)

Hi @tinder-tder !
I encountered the same issue with my repositories.
In my own, i think the main trouble comes from the number of tags in my repositories, and from the corresponding findings.
It represents a very big payload, and the most part of the response is not interesting (i was looking for findings for my on production images, not the older ones)
I wrote a draft in this pr https://github.com/turbot/steampipe-plugin-aws/pull/1315 and i'm able to work with when i have a lot of images. Maybe it can do the job for you.

@aminvielledebatAtBedrock thanks for the update, I will keep an eye on your pr!

@tinder-tder The image findings have been separated out into a new table, aws_ecr_image_scan_finding as part of https://github.com/turbot/steampipe-plugin-aws/pull/1315, which was released in AWS plugin v0.80.0.
After using this table, if you're still seeing throttling issues, or any other issues, feel free to re-open this issue.

@cbruno10 Thanks will close this for now.


Sudden appearance of chip border after update 2.2.0

After updating to Mushroom v2.2.0 chips shows with a border. Used to be without. How can this be solved? Tried to play around with styles but no change.

This used to work

card_mod:
style: |
ha-card {
--chip-box-shadow: none;
--chip-background: none;
--chip-spacing: 0;
}

How does it work with the latest version? I should be fixed

How does it work with the latest version? It should be fixed

It is fixed now. Shadow was obviously removed and replaced with border. Custom CSS works again so I were able to customize it to my preferance. Thanks for your great work!


CEXT-2009 Add New Relic support to aio CLI

Description
Add New Relic support to log forwarding

Related Issue
Log forwarding New Relic support
Add New Relic support to aio CLI

Motivation and Context
Log Forwarding currently supports Splunk and Azure Log Analytics. This PR adds support for New Relic.

How Has This Been Tested?
Auto tests are included

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@gjmarques:

The comments above need to be resolved.
The unit tests are failing, can you please check? Thanks!

@shazron
Comments above have been resolved and tests seem to be working locally

@gjmarques eslint failure (see failing test). Should be caught by npm test I think

@shazron
Linting errors should have been fixed


Don't check against errno after calling pthread functions

pthread_cond_timedwait and pthread_cond_wait do not interact with errno. It was possible for errno to be set to EINTR by another function and, because pthread functions don't set or clear errors, fall into an endless loop.
From the man pages:

Return Value
[...]
Upon successful completion, a value of zero shall be returned; otherwise, an error number shall be returned to indicate the error.

And from man7:

Most pthreads functions return 0 on success, and an error number
on failure.  The error numbers that can be returned have the same
meaning as the error numbers returned in errno by conventional
system calls and C library functions. Note that the pthreads functions do not set errno. For each of the pthreads functions
that can return an error, POSIX.1-2001 specifies that the
function can never fail with the error EINTR.

Note also that SDL never checks for errno, but they do check for EINTR (Source). glib is also not looking at errno for the return value of pthread_cond_wait but in their case they don't have an exception for EINTR. I don't think there is any harm in keeping the check.

The include is still needed to get the EINTR value.

oops.  I should have waited until the commit log is updated... oh well...


List to Uint8List conversion

This updates _CopyingBytesBuilder such that takeBytes() and toBytes()
both declare a return type of Uint8List rather than List<int>.
This is in preparation for an SDK update whereby the API of
BytesBuilder will receive the same update.
https://github.com/dart-lang/sdk/issues/36900

Review please, @kevmoo

This unblocks https://dart-review.googlesource.com/c/sdk/+/101742 from landing

@kevmoo would you merge this for me too please?

(this is a forwards compatible change)


Copy link

It seems that currently we often want two versions of a link. So add a copy-link function, which asks for a new identifier, but leaves everything else the same.

Fixed by PR #300


README: Specification Links are broken

It seems the IDTA changed the way the links to the specification are set up.
We should adapt the links in the README accordingly.

I adapted the links accordingly here https://github.com/eclipse-basyx/basyx-python-sdk/pull/299.


[Event Request] Codeunit 2 Company-Initialize - procedure OnInitSetupTables - OnInitSetupTablesOnBeforeInvtSetupInsert

Please add an Event OnInitSetupTablesOnBeforeInvtSetupInsert in procedure OnInitSetupTables in Codeunit 2 Company-Initialize
[Event Request] Codeunit 2 Company-Initialize - procedure OnInitSetupTables
procedure InitSetupTables()
var
    GLSetup: Record "General Ledger Setup";
    SalesSetup: Record "Sales & Receivables Setup";
    PurchSetup: Record "Purchases & Payables Setup";
    InvtSetup: Record "Inventory Setup";
    ResourcesSetup: Record "Resources Setup";
    JobsSetup: Record "Jobs Setup";
    HumanResourcesSetup: Record "Human Resources Setup";
    MarketingSetup: Record "Marketing Setup";
    InteractionTemplateSetup: Record "Interaction Template Setup";
    ServiceMgtSetup: Record "Service Mgt. Setup";
    NonstockItemSetup: Record "Nonstock Item Setup";
    FASetup: Record "FA Setup";
    CashFlowSetup: Record "Cash Flow Setup";
    CostAccSetup: Record "Cost Accounting Setup";
    WhseSetup: Record "Warehouse Setup";
    AssemblySetup: Record "Assembly Setup";
    VATReportSetup: Record "VAT Report Setup";
    TaxSetup: Record "Tax Setup";
    ConfigSetup: Record "Config. Setup";
    DataMigrationSetup: Record "Data Migration Setup";
    IncomingDocumentsSetup: Record "Incoming Documents Setup";
    CompanyInfo: Record "Company Information";
    TrialBalanceSetup: Record "Trial Balance Setup";
    ICSetup: Record "IC Setup";
begin
    with GLSetup do
        if not FindFirst() then begin
            Init();
            Insert();
        end;
    ...
    with InvtSetup do

        if not FindFirst() then begin
            Init();

            OnInitSetupTablesOnBeforeInvtSetupInsert(InvtSetup); // <-- NEW EVENT

            Insert();
        end;
    ...

[IntegrationEvent(false, false)]
local procedure OnInitSetupTablesOnBeforeInvtSetupInsert(var InventorySetup: Record "Inventory Setup")
begin
end;

We decided to add event OnAfterInitSetupTable as more generic option.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 51064.


Current Planning 2022-07

I will list here the issues I have noted to work on and discussed with @wolfv and @JohanMabille, priorities are mostly on integration into mamba and correctness. Most of these issues imply reviews, discovery and discussion.
Important for helping with integration in Mamba:

[ ] Review and "close" interfaces  (currently most of the data is public): this implies some refactoring and probably adding some interfaces in a way simpler than just adding getter/setters.
[x] libpowerloader as shared library support: currently missing explicit symbol import/export markers for correct generation of dlls on windows and potentially constraint the ABI surface and binary size of shared libraries on other platforms.
[ ] Improve the object ownership model/architecture: mostly to simplify the internals, helping to make sure it's correct, and make usage simple; implies exploring ways to maybe avoid shared pointers.
[ ] Handle potential duplication of utility functions/types between libmamba and libpowerloader, there are several ways to do this and it's possible it is not worth it for now.
[ ] Review standard filesystem usage of libpowerloader: if issues with unicode are possible, we might need to use https://github.com/mamba-org/mamba/pull/1665 in libpowerloader too.

Code Quality Improvements:

[ ] Add Address, UB and Thread sanitizers support and use them in the CI: this is typically the kind of project/domain where we have to be the most correct possible.
[ ] Elevate warning levels for all compilers to catch subtle issues and fix them. In particular the ones related to security.
[ ] Improve and add unit tests. While we have some, it's probably not enough.

Note: I named this issue quickly, not sure if that's a good name.
Powerloader integration in mamba: https://github.com/mamba-org/mamba/pull/1503

Right now I'm looking at the ownership model with Johan (in parallel but we will sync at some point), and the shared library support, as I believe it's mandatory to help with integrating in lilbmamba.

Shared library support is done: https://github.com/mamba-org/powerloader/pull/112

We use shared_ptr in two places -- for Mirrors and DownloadTargets. I think for Mirror it might be easy enough to get rid of the shared pointer, but not sure about DownloadTargets. At least if we also want to allow users to store them independently.
Anyways, I don't "mind" them so much since it's clearly not performance critical.


Skipping onboarding will popup onboarding on the next startup even if you connected to the watch before

Install app from scratch
Select "Skip" in the bottom left when the onboarding pops up
Connect to the watch through the watches page
Close app and reopen it

BUG: Even though you are already connected to the watch, onboarding still pops up

@DreadBoy Is that fixed?


[Do not merge] Test for file Changes

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

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


Repeatedly pausing/resuming after vocal request

Very often, after a song is asked, it starts playing it, and then pauses/unpauses it repeatedly for a while.
I can't understand why.

I've gotten reports of this previously but I've not been able to reproduce it :(
The current workaround is to disable the audio ducking in the skill. Go to home.mycroft.ai -> skills, find the spotify skill and uncheck Use audio ducking

If you can find the reason for this or if you find more information I'd be happy to work on this.

Okay, thank you.

This behavior has been updated and I think this can no longer occur. Feel free to reopen if this still happens do you.


Feature/modular callform

Implement the old feature https://github.com/fightforthefuture/battleforthenet/pull/49 in v2 of site.
tagging @fightforthefuture/battle-for-the-net for additional code review

I would make the template more modular, the infrastructure is already there to make that super easy to accomplish.

Just for clarity, it looks like this would preserve the existing functionality as default (and set the home page to display the call form) for ?call=1, and add support for the daily call campaign (and potentially others) via ?campaign=daily, right?
Does this support the petition form initial flow, with daily call campaign after-action when passing just ?campaign=daily (not necessary, but could be useful)?

Should the disclaimer and other adjustable text be in the props interface, or the campaign const? At least for the daily calls page, we need to be able to tell users that their phone number may be used repeatedly.

Your phone number will only be used for Battle for the Net to connect you with Congress and the FCC. Privacy Policy

@mikemorris yes, the link I provided only had the call flag to make it more direct to review.  The campaign flag affects both call forms, whether it's directly shown, or part of the petition flow.
@jlev it should be part of the campaign const, to be injected in the render function.

Thanks @sirpengi! Appreciate the work. I'm good to merge when you all are.

When I hit https://www.battleforthenet.com/?call=daily I still get the disclaimer "Your phone number will only be used to make this call". Is that the right URL switch to enable this new rendering?

@jlev It should be https://www.battleforthenet.com/?call=1&campaign=daily now (which is showing me the correct disclaimer)


Support custom task string rendering

for example, it might want to include the project name, or the due date, or labels

Probably want the settings pane to have some kind of template string, e.g.
- [ ] $$taskName$$ -- $$taskPriority$$ -- $$taskSourceUrl$$
    - $$description$$

this would be great!
having the possibility to have project names would be a game changer!

the possibility to have project names

So you'd benefit from having formatting like:
- [ ] $taskName$ - $projectName$ - $taskSource$

?
Can you share why that's helpful? I might have expected the common workflow to be more like:
# myProject1
@@queryForMyProject1@@

# myProject2
@@queryForMyProject2@@

it would be great to format it ... (getting rid of priority for example :) )
and I have some 100 projects - so an import of all of that with single replaces is somehow taking really long. so i thought of this more like a workaround ... but yes!!! if there would be a version of "view all, structure by project" and have "# ProjectName" and "## Section Name" as dividers between the tasks would be even better

I see, so you just need to do this as a one-time operation, right? you don't want to do the full import from every project on a recurring basis.
But yeah it sounds like fundamentally, you need a file that looks like
# myProjectName
@@todoistTextQueryForMyProjectName@@

etc

and you also need to update the settings for this plugin to have a mapping from each @@todoistTextQueryForMyProjectName@@ to the appropriate filter (e.g. #MyProjectName).
Seems like a good ten minutes of mindless copy/pasting.
Or, if you have any basic programming skills, you could probably try writing a very simple script to get all of your project names exported from todoist - https://developer.todoist.com/rest/v2/#projects
Then, you could use excel (or some other scripting logic) to translate that list of project names into the filters part of the settings file for this plugin (which is stored in your vault under .plugins)

thanks for the tipp - i did a backup from todoist to get all the csv with names of all projects - i copied them in finder and pasted it into VS code - easy to get all the names this way. then with multiline edit i put it in the correct format for your plugin and pasted it into the plugins file. that worked flawless and was done in about 5 mins... great!
but its sadly not working - throwing errors

Hmm, can you upload the text for your settings file? Be sure to hide your
access token
On Mon, Jan 16, 2023 at 10:01 AM ArneNostitz @.***>
wrote:

thanks for the tipp - i did a backup from todoist to get all the csv with
names of all projects - i copied them in finder and pasted it into VS code

easy to get all the names this way. then with multiline edit i put it in
the correct format for your plugin and pasted it into the plugins file.
that worked flawless and was done in about 5 mins... great!

but its sadly not working - throwing errors
[image: Screenshot 2023-01-16 at 16 01 25]
https://user-images.githubusercontent.com/16592596/212708495-1e9137fc-9ded-4b47-ad11-67b31f33c96e.png
—
Reply to this email directly, view it on GitHub
https://github.com/wesmoncrief/obsidian-todoist-text/issues/5#issuecomment-1384184835,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEA74N2HSU4XFLSTJ7WGCFLWSVPF3ANCNFSM5OTIQHVA
.
You are receiving this because you authored the thread.Message ID:
@.***>

{
"settingsVersion": 2,
"excludedDirectories": [],
"keywordToTodoistQuery": [
{
"keyword": "@@TODOIST@@",
"todoistQuery": "today|overdue"
},
{
"keyword": "@@copy@@",
"todoistQuery": "#inbox"
},
{
"keyword": "@@Ad Companies  agencies _ Production@@",
"todoistQuery": "##Ad Companies / agencies _ Production"
},
{
"keyword": "@@ADA@@",
"todoistQuery": "##ADA"
},
{
"keyword": "@@Alexa Shopping List@@",
"todoistQuery": "##Alexa Shopping List"
},
{
"keyword": "@@Alexa To-do List@@",
"todoistQuery": "##Alexa To-do List"
},
{
"keyword": "@@AR - Bad Ischl@@",
"todoistQuery": "##AR - Bad Ischl"
},
{
"keyword": "@@AR Garden@@",
"todoistQuery": "##AR Garden"
},
{
"keyword": "@@AR Stolpersteine@@",
"todoistQuery": "##AR Stolpersteine"
},
{
"keyword": "@@AR-VR@@",
"todoistQuery": "##AR-VR"
},
{
"keyword": "@@Brühl@@",
"todoistQuery": "##Brühl"
},
{
"keyword": "@@Bucketlist@@",
"todoistQuery": "##Bucketlist"
},
{
"keyword": "@@Bucketlist mit Lena@@",
"todoistQuery": "##Bucketlist mit Lena"
},
{
"keyword": "@@buy@@",
"todoistQuery": "##buy"
},
{
"keyword": "@@Drehorte  Locations@@",
"todoistQuery": "##Drehorte  Locations"
},
{
"keyword": "@@eat@@",
"todoistQuery": "##eat"
},
{
"keyword": "@@Einreichungen@@",
"todoistQuery": "##Einreichungen"
},
{
"keyword": "@@films i like@@",
"todoistQuery": "##films i like"
},
{
"keyword": "@@Förderungen@@",
"todoistQuery": "##Förderungen"
},
{
"keyword": "@@Inbo@@",
"todoistQuery": "##Inbo"
},
{
"keyword": "@@interesting-stuff@@",
"todoistQuery": "##interesting-stuff"
},
{
"keyword": "@@Künstlertreff@@",
"todoistQuery": "##Künstlertreff"
},
{
"keyword": "@@lena-geschenke@@",
"todoistQuery": "##lena-geschenke"
},
{
"keyword": "@@lena-spanish@@",
"todoistQuery": "##lena-spanish"
},
{
"keyword": "@@PANCC@@",
"todoistQuery": "##PANCC"
},
{
"keyword": "@@Private@@",
"todoistQuery": "##Private"
},
{
"keyword": "@@Projects@@",
"todoistQuery": "##Projects"
},
{
"keyword": "@@read@@",
"todoistQuery": "##read"
},
{
"keyword": "@@research@@",
"todoistQuery": "##research"
},
{
"keyword": "@@Resight Competition@@",
"todoistQuery": "##Resight Competition"
},
{
"keyword": "@@ROAR@@",
"todoistQuery": "##ROAR"
},
{
"keyword": "@@SC - Förderungen@@",
"todoistQuery": "##SC - Förderungen"
},
{
"keyword": "@@Self Development@@",
"todoistQuery": "##Self Development"
},
{
"keyword": "@@SocialCard@@",
"todoistQuery": "##SocialCard"
},
{
"keyword": "@@Sonstiges@@",
"todoistQuery": "##Sonstiges"
},
{
"keyword": "@@Spanische Hofreitschule@@",
"todoistQuery": "##Spanische Hofreitschule"
},
{
"keyword": "@@teneriffa-mit-lena@@",
"todoistQuery": "##teneriffa-mit-lena"
},
{
"keyword": "@@VBW Ronacher@@",
"todoistQuery": "##VBW Ronacher"
},
{
"keyword": "@@watch@@",
"todoistQuery": "##watch"
}
],
"authToken": "",
"enableAutomaticReplacement": false,
"showSubtasks": true
}

apparently there was some hickup with the api? i tried a few times more with a shortened list ... sometimes with error ... then suddenly it worked

nice! 429 error is too many requests - https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429 - so makes sense that it doing it with shorter lists would help. Glad it worked!

could be a future improvement to have this plugin do batching or exponential backoff to avoid 429s

great! also there are apparently some breaking characters like "/" or german "öäü"s
commentaries also dont get transported over. and sections are missing too. also sorting is different ...
i guess alot to do :) but i did get through my single sync and did archive all todoist projects for now
thanks man! did help a lot!

I too would love to be able to format how the text is populated, including removing priority.


global varialbe string change

Changed global variable executor_plugin_name -> EXECUTOR_PLUGIN_NAME in executors to conform with PEP8.

[ ] I have added the tests to cover my changes.
[x] I have updated the documentation, VERSION, and CHANGELOG accordingly.
[x] I have read the CONTRIBUTING document.

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


Document len method is not implemented correctly

The len function when called with a Document as it's argument should return the total number of objects contained in a Document.  However, it currently returns 0:
>>> doc = Document()
>>> doc.componentDefinitions.create(cd)
>>> len(doc)
0

Sometimes len(doc) is correct. Like after reading a document from file.
>>> import sbol
INFO:rdflib:RDFLib Version: 4.2.2
>>> doc = sbol.Document()
>>> doc.read('sbol/test/resources/crispr_example.xml')
>>> len(doc)
31
>>> print(doc)
Design........................0
Build.........................0
Test..........................0
Analysis......................0
ComponentDefinition...........25
ModuleDefinition..............2
Model.........................0
Sequence......................4
Collection....................0
Activity......................0
Plan..........................0
Agent.........................0
Attachment....................0
CombinatorialDerivation.......0
Implementation................0
SampleRoster..................0
Experiment....................0
ExperimentalData..............0
Annotation Objects............0
---
Total: .........................31


fix map access filter

fix map access filter value in the left
select * from test where<EMAIL_ADDRESS>= labels:email;

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

32 of 32 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 88.425%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
7265

Relevant Lines:
8216

💛  - Coveralls


Add missing 'params' argument in Guardian.Phoenix.Socket

Fixes #337

You might want to retire the v0.4.13 package from hex.pm, as your project won't compile if you are using the Guardian.Phoenix.Socket module.

Thanks for the fix :)


Build branches on pull requests

I don't think the branch builds are running when pull requests are submitted from forked repos. This needs to be corrected.

Hmm... this might be the problem:

I'm going to flip this on and see if that fixes the issue. :stuck_out_tongue:

Please tell me you're at least having a beer whilst doing this.... :beer:

Indeed. This evening it's a New Belgium Long Table.

Builds are triggering during pull requests now.


bcbio_nextgen.py error after upgrade

I've upgrade to the latest stable version (1.0.2) and now can't run bcbio_nextgen.py without getting the following error:
ImportError: /usr/lib/liblapack.so.3: undefined symbol: gotoblas
Please see below a more complete log.
Any help would be greatly appreciated!

> multivac@multivac:~$ bcbio_nextgen.py upgrade -u stable --tools --dataTraceback (most recent call last):
>   File "/home/multivac/bcbio/tool/bin/bcbio_nextgen.py", line 4, in <module>
>     __import__('pkg_resources').run_script('bcbio-nextgen==1.0.2', 'bcbio_nextgen.py')
>   File "/home/multivac/bcbio/data/anaconda/lib/python2.7/site-packages/setuptools-20.3-py2.7.egg/pkg_resources/__init__.py", line 726, in run_script
>   File "/home/multivac/bcbio/data/anaconda/lib/python2.7/site-packages/setuptools-20.3-py2.7.egg/pkg_resources/__init__.py", line 1484, in run_script
>   File "/home/multivac/bcbio/data/anaconda/lib/python2.7/site-packages/bcbio_nextgen-1.0.2-py2.7.egg-info/scripts/bcbio_nextgen.py", line 35, in <module>
>     from bcbio.distributed import runfn, clargs
>   File "/home/multivac/bcbio/data/anaconda/lib/python2.7/site-packages/bcbio/distributed/runfn.py", line 15, in <module>
>     from bcbio.distributed import multitasks
>   File "/home/multivac/bcbio/data/anaconda/lib/python2.7/site-packages/bcbio/distributed/multitasks.py", line 9, in <module>
>     from bcbio.rnaseq import (sailfish, rapmap, salmon, umi, kallisto)
>   File "/home/multivac/bcbio/data/anaconda/lib/python2.7/site-packages/bcbio/rnaseq/umi.py", line 8, in <module>
>     import scipy.io
>   File "/home/multivac/.local/lib/python2.7/site-packages/scipy/io/__init__.py", line 97, in <module>
>     from .matlab import loadmat, savemat, whosmat, byteordercodes
>   File "/home/multivac/.local/lib/python2.7/site-packages/scipy/io/matlab/__init__.py", line 13, in <module>
>     from .mio import loadmat, savemat, whosmat
>   File "/home/multivac/.local/lib/python2.7/site-packages/scipy/io/matlab/mio.py", line 12, in <module>
>     from .miobase import get_matfile_version, docfiller
>   File "/home/multivac/.local/lib/python2.7/site-packages/scipy/io/matlab/miobase.py", line 22, in <module>
>     from scipy.misc import doccer
>   File "/home/multivac/.local/lib/python2.7/site-packages/scipy/misc/__init__.py", line 51, in <module>
>     from scipy.special import comb, factorial, factorial2, factorialk
>   File "/home/multivac/.local/lib/python2.7/site-packages/scipy/special/__init__.py", line 627, in <module>
>     from ._ufuncs import *
> ImportError: /usr/lib/liblapack.so.3: undefined symbol: gotoblas
>

Eyal;
It looks like you have a .local directory injecting incompatible python libraries in with bcbio:
/home/multivac/.local

Sorry we don't have a way to exclude python from looking into that directory but if you remove it that should avoid the incompatibilities and get things running again. Hope this helps.

Thanks! wonder why it started acting up only after the update. I'll try and let you know

Ok, deleted the .local directory and it fixed the issue. I thought bcbio used it's own python distribution to circumvent such issues. Anyway, thanks for the fast help!


showModalBottomSheet with DraggableScrollableSheet and ListView has tiny scroll of one pixel

Steps to Reproduce

Execute flutter run on the code sample
Click Open Modal
Use the scroll wheel to scroll up and down

Expected results: The list view does not scroll since the content is smaller than the viewport
Actual results: The list view scrolls up and down by a single pixel

Code sample

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: "Test",
      theme: ThemeData(),
      home: Scaffold(
        appBar: AppBar(
          title: const Text("Test"),
        ),
        body: Builder(
          builder: (context) {
            return ElevatedButton(
              child: const Text("Open Modal"),
              onPressed: () {
                showModalBottomSheet(
                  context: context,
                  isScrollControlled: true,
                  builder: (context) {
                    return DraggableScrollableSheet(
                      maxChildSize: 1.0,
                      initialChildSize: 1.0,
                      builder: (_, controller) {
                        return ListView.builder(
                          controller: controller,
                          itemBuilder: (context, i) {
                            return ListTile(
                              title: Text("Item $i"),
                            );
                          },
                          itemCount: 4,
                        );
                      },
                    );
                  },
                );
              },
            );
          },
        ),
      ),
    );
  }
}

Logs

[  +61 ms] executing: uname -m
[  +30 ms] Exit code 0 from: uname -m
[        ] x86_64
[   +5 ms] executing: [/opt/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +6 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 5f105a6ca7a5ac7b8bc9b241f4c2d86f4188cf5c
[        ] executing: [/opt/flutter/] git tag --points-at 5f105a6ca7a5ac7b8bc9b241f4c2d86f4188cf5c
[  +12 ms] Exit code 0 from: git tag --points-at 5f105a6ca7a5ac7b8bc9b241f4c2d86f4188cf5c
[        ] 2.10.0
[   +8 ms] executing: [/opt/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +7 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/opt/flutter/] git ls-remote --get-url origin
[   +9 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +105 ms] executing: [/opt/flutter/] git rev-parse --abbrev-ref HEAD
[   +8 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +51 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +50 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[  +10 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +126 ms] Skipping pub get: version match.
[  +66 ms] Generating /home/nathan/workspace/test/audio_test/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +102 ms] Initializing file store
[  +12 ms] Skipping target: gen_localizations
[   +5 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
/home/nathan/workspace/test/audio_test/.dart_tool/package_config_subset}
[  +52 ms] gen_dart_plugin_registrant: Complete
[   +1 ms] Skipping target: _composite
[   +1 ms] complete
[   +5 ms] Launching lib/main.dart on Linux in debug mode...
[   +5 ms] /opt/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /opt/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root
/opt/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata
-DFLUTTER_WEB_AUTO_DETECT=true --output-dill /tmp/flutter_tools.GWGYBG/flutter_tool.FPGSYS/app.dill --packages
/home/nathan/workspace/test/audio_test/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation
--filesystem-scheme org-dartlang-root --initialize-from-dill build/c075001b96339384a97db4862b8ab8db.cache.dill.track.dill
--enable-experiment=alternative-invalidation-strategy
[  +34 ms] Building Linux application...
[  +25 ms] <- compile package:audio_test/main.dart
[   +2 ms] executing: [build/linux/x64/debug/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DFLUTTER_TARGET_PLATFORM=linux-x64 /home/nathan/workspace/test/audio_test/linux
[ +132 ms] -- Configuring done
[  +10 ms] -- Generating done
[  +18 ms] -- Build files have been written to: /home/nathan/workspace/test/audio_test/build/linux/x64/debug
[  +17 ms] executing: ninja -C build/linux/x64/debug install
[  +62 ms] ninja: Entering directory `build/linux/x64/debug'
[+17506 ms] [1/5] Generating /home/nathan/workspace/test/audio_test/linux/flutter/ephemeral/libflutter_linux_gtk.so,
/home/nathan/workspace/test/audio_test/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h,
/home/nathan/workspace/test/audio_test/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h,
/home/nathan/workspace/test/audio_test/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h,
/home/nathan/workspace/test/audio_test/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h,
/home/nathan/workspace/test/audio_test/linux/flutter/ephemeral/flutter_linux/fl_engine.h,
/home/nathan/workspace/test/audio_test/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h,
/home/nathan/workspace/test/audio_test/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h,
/home/nathan/workspace/test/audio_test/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h,
/home/nathan/workspace/test/audio_test/linux/flutter/ephemeral/flutter_linux/fl_method_call.h,
/home/nathan/workspace/test/audio_test/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h,
/home/nathan/workspace/test/audio_test/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h,
/home/nathan/workspace/test/audio_test/linux/flutter/ephemeral/flutter_linux/fl_method_response.h,
/home/nathan/workspace/test/audio_test/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h,
/home/nathan/workspace/test/audio_test/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h,
/home/nathan/workspace/test/audio_test/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h,
/home/nathan/workspace/test/audio_test/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h,
/home/nathan/workspace/test/audio_test/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h,
/home/nathan/workspace/test/audio_test/linux/flutter/ephemeral/flutter_linux/fl_value.h,
/home/nathan/workspace/test/audio_test/linux/flutter/ephemeral/flutter_linux/fl_view.h,
/home/nathan/workspace/test/audio_test/linux/flutter/ephemeral/flutter_linux/flutter_linux.h, _phony_
[  +14 ms] [  +69 ms] executing: uname -m
[   +2 ms] [  +39 ms] Exit code 0 from: uname -m
[   +2 ms] [        ] x86_64
[        ] [   +5 ms] executing: [/opt/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +15 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] 5f105a6ca7a5ac7b8bc9b241f4c2d86f4188cf5c
[   +1 ms] [        ] executing: [/opt/flutter/] git tag --points-at 5f105a6ca7a5ac7b8bc9b241f4c2d86f4188cf5c
[        ] [  +12 ms] Exit code 0 from: git tag --points-at 5f105a6ca7a5ac7b8bc9b241f4c2d86f4188cf5c
[        ] [        ] 2.10.0
[        ] [   +7 ms] executing: [/opt/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [  +10 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/stable
[   +1 ms] [        ] executing: [/opt/flutter/] git ls-remote --get-url origin
[   +2 ms] [   +5 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[   +1 ms] [ +134 ms] executing: [/opt/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [   +5 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[        ] [  +59 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] [   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +1 ms] [ +202 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] [   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [ +109 ms] Initializing file store
[   +2 ms] [  +32 ms] Skipping target: gen_localizations
[        ] [  +12 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
/home/nathan/workspace/test/audio_test/.dart_tool/package_config_subset}
[        ] [   +5 ms] unpack_linux: Starting due to {}
[   +4 ms] [  +95 ms] unpack_linux: Complete
[        ] [ +766 ms] gen_dart_plugin_registrant: Complete
[        ] [        ] kernel_snapshot: Starting due to {}
[   +1 ms] [  +17 ms] /opt/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /opt/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot
--sdk-root /opt/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true
-Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --packages
/home/nathan/workspace/test/audio_test/.dart_tool/package_config.json --output-dill
/home/nathan/workspace/test/audio_test/.dart_tool/flutter_build/28fad3f43840160d3b89c7dab0de1c46/app.dill --depfile
/home/nathan/workspace/test/audio_test/.dart_tool/flutter_build/28fad3f43840160d3b89c7dab0de1c46/kernel_snapshot.d package:audio_test/main.dart
[   +6 ms] [+13634 ms] kernel_snapshot: Complete
[   +4 ms] [ +448 ms] debug_bundle_linux-x64_assets: Starting due to {}
[        ] [ +170 ms] debug_bundle_linux-x64_assets: Complete
[        ] [ +541 ms] Persisting file store
[        ] [   +5 ms] Done persisting file store
[        ] [   +5 ms] build succeeded.
[        ] [   +9 ms] "flutter assemble" took 16,092ms.
[        ] [  +80 ms] ensureAnalyticsSent: 76ms
[        ] [        ] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [   +8 ms] exiting with code 0
[ +548 ms] [2/5] Building CXX object CMakeFiles/audio_test.dir/flutter/generated_plugin_registrant.cc.o
[ +149 ms] [3/5] Building CXX object CMakeFiles/audio_test.dir/my_application.cc.o
[ +246 ms] [4/5] Linking CXX executable intermediates_do_not_run/audio_test
[        ] [4/5] Install the project...
[   +6 ms] -- Install configuration: "Debug"
[  +24 ms] -- Installing: /home/nathan/workspace/test/audio_test/build/linux/x64/debug/bundle/audio_test
[        ] -- Set runtime path of "/home/nathan/workspace/test/audio_test/build/linux/x64/debug/bundle/audio_test" to "$ORIGIN/lib"
[        ] -- Installing: /home/nathan/workspace/test/audio_test/build/linux/x64/debug/bundle/data/icudtl.dat
[        ] -- Installing: /home/nathan/workspace/test/audio_test/build/linux/x64/debug/bundle/lib/libflutter_linux_gtk.so
[  +35 ms] -- Installing: /home/nathan/workspace/test/audio_test/build/linux/x64/debug/bundle/data/flutter_assets
[        ] -- Installing: /home/nathan/workspace/test/audio_test/build/linux/x64/debug/bundle/data/flutter_assets/AssetManifest.json
[        ] -- Installing: /home/nathan/workspace/test/audio_test/build/linux/x64/debug/bundle/data/flutter_assets/fonts
[        ] -- Installing: /home/nathan/workspace/test/audio_test/build/linux/x64/debug/bundle/data/flutter_assets/fonts/MaterialIcons-Regular.otf
[   +1 ms] -- Installing: /home/nathan/workspace/test/audio_test/build/linux/x64/debug/bundle/data/flutter_assets/NOTICES.Z
[        ] -- Installing: /home/nathan/workspace/test/audio_test/build/linux/x64/debug/bundle/data/flutter_assets/FontManifest.json
[        ] -- Installing: /home/nathan/workspace/test/audio_test/build/linux/x64/debug/bundle/data/flutter_assets/kernel_blob.bin
[  +60 ms] -- Installing: /home/nathan/workspace/test/audio_test/build/linux/x64/debug/bundle/data/flutter_assets/version.json
[   +1 ms] -- Installing: /home/nathan/workspace/test/audio_test/build/linux/x64/debug/bundle/data/flutter_assets/packages
[        ] -- Installing: /home/nathan/workspace/test/audio_test/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icons
[   +1 ms] -- Installing: /home/nathan/workspace/test/audio_test/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icons/assets
[        ] -- Installing: /home/nathan/workspace/test/audio_test/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf
[  +24 ms] Building Linux application... (completed in 18.9s)
[  +56 ms] (audio_test:2901512): Gtk-WARNING **: 00:09:58.889: Locale not supported by C library.
[        ]      Using the fallback 'C' locale.
[ +288 ms] Observatory URL on device: http://<IP_ADDRESS>:37099/FfukU0AUtyY=/
[   +5 ms] Caching compiled dill
[  +67 ms] Connecting to service protocol: http://<IP_ADDRESS>:37099/FfukU0AUtyY=/
[ +237 ms] Launching a Dart Developer Service (DDS) instance at http://<IP_ADDRESS>:0, connecting to VM service at http://<IP_ADDRESS>:37099/FfukU0AUtyY=/.
[ +116 ms] DDS is listening at http://<IP_ADDRESS>:44673/FPHPcA2AcxE=/.
[ +106 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:37099/FfukU0AUtyY=/
[  +98 ms] DevFS: Creating new filesystem on the device (null)
[  +34 ms] DevFS: Created new filesystem on the device (file:///tmp/audio_testMDGIGG/audio_test/)
[  +10 ms] Updating assets
[ +149 ms] Syncing files to device Linux...
[   +9 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[        ] Processing bundle.
[   +1 ms] <- recompile package:audio_test/main.dart 214c3013-85ea-44de-9244-2a9e1050736d
[        ] <- 214c3013-85ea-44de-9244-2a9e1050736d
[   +1 ms] Bundle processing done.
[ +140 ms] Updating files.
[        ] DevFS: Sync finished
[   +1 ms] Syncing files to device Linux... (completed in 148ms)
[   +5 ms] Synced 0.0MB.
[   +4 ms] <- accept
[   +8 ms] Connected to _flutterView/0x5593d0865d30.
[   +3 ms] Flutter run key commands.
[   +3 ms] r Hot reload. 🔥🔥🔥
[   +1 ms] R Hot restart.
[        ] h List all available interactive commands.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] 💪 Running with sound null safety 💪
[   +1 ms] An Observatory debugger and profiler on Linux is available at: http://<IP_ADDRESS>:44673/FPHPcA2AcxE=/
[ +196 ms] The Flutter DevTools debugger and profiler on Linux is available at: http://<IP_ADDRESS>:9101?uri=http://<IP_ADDRESS>:44673/FPHPcA2AcxE=/
[+4943 ms] Service protocol connection closed.
[   +2 ms] Lost connection to device.
[  +13 ms] DevFS: Deleting filesystem on the device (file:///tmp/audio_testMDGIGG/audio_test/)
[ +252 ms] Ignored error while cleaning up DevFS: TimeoutException after 0:00:00.250000: Future not completed
[   +7 ms] "flutter run" took 26,249ms.
[  +99 ms] ensureAnalyticsSent: 96ms
[        ] Running shutdown hooks
[        ] Shutdown hooks complete
[   +1 ms] exiting with code 0

Analyzing audio_test...
No issues found! (ran in 2.0s)

[✓] Flutter (Channel stable, 2.10.0, on Arch Linux 5.15.19-1-lts, locale en_US.UTF-8)
    • Flutter version 2.10.0 at /opt/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5f105a6ca7 (10 days ago), 2022-02-01 14:15:42 -0800
    • Engine revision 776efd2034
    • Dart version 2.16.0
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31)
    • Android SDK at /opt/android-sdk
    • Platform android-31, build-tools 31
    • ANDROID_HOME = /opt/android-sdk
    • Java binary at: /home/nathan/Documents/jdk-15.0.2/bin/java
    • Java version OpenJDK Runtime Environment (build 15.0.2+7-27)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /usr/bin/google-chrome-stable

[✓] Linux toolchain - develop for Linux desktop
    • clang version 13.0.0
    • cmake version 3.22.2
    • ninja version 1.10.2
    • pkg-config version 1.8.0

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] IntelliJ IDEA Community Edition (version 2021.3)
    • IntelliJ at /usr/share/idea
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] Connected device (3 available)
    • Pixel 5 (mobile) • <IP_ADDRESS>:5555 • android-arm64  • Android 11 (API 30)
    • Linux (desktop)  • linux              • linux-x64      • Arch Linux 5.15.19-1-lts
    • Chrome (web)     • chrome             • web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

@nathanfranke
set physics parameter of ListView.builder constructor to NeverScrollablePhysics()
return ListView.builder(     physics: const NeverScrollablePhysics(),    .....

Hi @nathanfranke, Thanks for filing the issue. I am able to reproduce the issue when running the above code sample on the Desktop there is slight vertical scrolling when scrolled using the trackpad/mouse. This is reproducible on stable and the master channel.

macOS web
macOS Desktop

flutter doctor -v
[✓] Flutter (Channel master, 2.11.0-0.0.pre.452, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.11.0-0.0.pre.452 at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ba01ec8faa (8 days ago), 2022-02-05 22:05:18 -0500
    • Engine revision<PHONE_NUMBER>
    • Dart version 2.17.0 (build 2.17.0-85.0.dev)
    • DevTools version 2.10.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.63.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.34.0

[✓] Connected device (3 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)        • macos            • darwin-arm64   • macOS 12.1 21C52 darwin-arm
    • Chrome (web)           • chrome           • web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel stable, 2.10.1, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.10.1 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision db747aa133 (5 days ago), 2022-02-09 13:57:35 -0600
    • Engine revision ab46186b24
    • Dart version 2.16.1
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.63.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.34.0

[✓] Connected device (3 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)        • macos            • darwin-arm64   • macOS 12.1 21C52 darwin-arm
    • Chrome (web)           • chrome           • web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!


relative path include in features

Following include means the 'font_xxx_features.fea' file is next to the UFO not inside the UFO dir.
include(font_xxx_features.fea);
But the fontmake gives following error:
fontTools.feaLib.error.FeatureLibError: font.ufo/features.fea:1:8: [Errno 2] No such file or directory: 'font.ufo/font_xxx_features.fea'

I guess I can fix it by changing the include path, but it doesn't seem that the path is incorrect. right?

duplicate of https://github.com/googlei18n/fontmake/issues/157


Overview view does not respect sizes of parent divs

The overview box does not get scaled according to the size of the parent div. This makes integration in existing webpages difficult.
Also, if the MSA has many sequences, the overview becomes huge and it is difficult to actually get an overview of the MSA.
I implemented a PR that combines several residues/nucleotides from one or several sequences with a consensus residue.  The default configuration still mimic the old behaviour.

Thanks, should be resolved in #208.


I need your help for $$$

Hello people I just wanna buy a key bot code that's work good and thanks
Owner if you sell too email me please
People if you do email me too<EMAIL_ADDRESS>

#527


[BUG]: Unable to stop or unload in Windows 1903

If you run make "stop" or make "unload" bfm locks up on WdfRequestComplete(). make "driver_unload" works fine.

If the SMAP bit is set in the CR4 register, explicit supervisor-mode data accesses to user-mode pages are allowed if and only if this bit is 1. See Section 4.6, “Access Rights.”
In the promote logic, we were never resetting RFLAGS. The VMM's RFLAGS do not match that of the guest. This has not been a problem until now. It appears that Windows 1903 is using SMAP which is why the IOCTL was failing. The kernel was attempting to write into user-space memory and was being denied because SMAP was generating a fault.


Added permission to codetrek module

Targets #2820

Description

I have added codetrekpermissionseeder to codetrek module to create the following permission , codetrek_applicant.view , codetrek_applicant.create , codetrek_applicant.update , codetrek_applicant.delete. Also created policy so that only permitted user should be authorized.
Checklist:

[x] I have performed a self-review of my own code.

The CodeTrek menu should also be seen to admin and super admin


Moving an event

How to most effectively move an event from one date/time to another date/time?

For example, press in the event view; i10:00-10:30<Enter>.

That works for changing the time within the original date - but if I add a new date in front, the event isn't moved but simply stays with the date and the time added to the event text. I did this:
i2017-04-27 17:00 - 18:00

Okay. i4-27 17:00 - 4-27 18:00 seems to work but I think I'd better support omitting the latter date.

Maybe you could add the option to move an event to a new time without specifying the end time and simply use the original event length, i.e. like this:
i2017-05-01 17:00<ENTER>
If the original event was 30 minutes, the above would then be equivalent to:
i2017-05-01 17:00 - 17:30<ENTER>

How exactly do I do that? Where do I add these info?


Auto publish docs to GH pages

Adds a publish step after_success which will automaticall yrun cargo doc
and push the results to the gh-pages branch

Nice!


How to use ilu preconditioner correctly?

I want to utilize Ginkgo's restarted GMRES with an ilu preconditioner as a solver for sparse linear systems. But there are no detailed instructions provided in the tutorial. I implemented the GMRES+ilu preconditioner with reference to the example, but the result of the solution is nan. Here is my code snippet:
using ValueType =double;
using IndexType = int;

// create matrix and vector
auto A = gko::share(gko::matrix::Coo<ValueType , IndexType >::create(exec, gko::dim<2>{size,size}, nEntries));
auto x = gko::matrix::Dense<ValueType >::create(exec, gko::dim<2>(size,1));
auto b = gko::matrix::Dense<ValueType >::create(exec, gko::dim<2>(size,1));
// fill data
double * xdata = x->get_values();
double * bdata = b->get_values();
double *val = A->get_values();
int *r = A->get_row_idxs();
int *c = A->get_col_idx();
for(int i = 0; i < size; i++)
{
     /* fill x,and b*/
}
for(int i = 0; i < nEntries; i++)
{
     /* fill r, c and val*/
}
/// next is from the example:
auto par_ilu_fact = gko::factorization::ParIlu<ValueType, IndexType>::build().on(exec);
auto par_ilu = gko::share(par_ilu_fact->generate(A));
auto ilu_pre_factory = gko::preconditioner::Ilu<gko::solver::LowerTrs<ValueType, IndexType>,
                                 gko::solver::UpperTrs<ValueType, IndexType>,
                                 false>::build().on(exec);
auto ilu_preconditioner = gko::share(ilu_pre_factory->generate(par_ilu));
ValueType reduction_factor = 1e-2;
auto ilu_gmres_factory =gmres::build().with_criteria(gko::stop::Iteration::build().with_max_iters(1000u).on(exec),
                gko::stop::RelativeResidualNorm<ValueType>::build().with_reduction_factor(reduction_factor).on(exec))
            .with_krylov_dim(30u)
            .with_generated_preconditioner(ilu_preconditioner)
            .on(exec);
auto ilu_gmres = ilu_gmres_factory->generate(A);

// Solve system
ilu_gmres->apply(gko::lend(b), gko::lend(x));

The assembly of the matrix and the right-hand-side vector should be no problem because when switching to the Jacobi preconditioner I get the correct result:
using bj = gko::preconditioner::Jacobi<ValueType, IndexType>;
auto ilu_gmres_factory =gmres::build().with_criteria(gko::stop::Iteration::build().with_max_iters(1000u).on(exec),
                gko::stop::RelativeResidualNorm<ValueType>::build().with_reduction_factor(reduction_factor).on(exec))
            .with_krylov_dim(30u)
            .with_preconditioner(bj::build().with_max_block_size(1u).on(exec))
            .on(exec);
auto ilu_gmres = ilu_gmres_factory->generate(A);

// Solve system
ilu_gmres->apply(gko::lend(b), gko::lend(x));

What are the problems with my way of using GMRES with the ilu-preconditioner?

In case you are using Reference, CUDA or HIP, you could try switching from ParIlu (which incurs a certain approximation error), to Ilu (which is exact). Can you give some background on your matrix? There are certain cases where ParIlu may generate a rather poor preconditioner. We need to improve our handling of diverging solvers anyways.

That is true, our documentation needs some expansion, we will focus on that before the next release. It should be sufficient to just replace ParIlu<...> by Ilu<...> if you included ginkgo.hpp directly.

I replaced ParILU with ILU and it still doesn't work.  I have a doubt if there is any effect of using the matrix of COO type? I opened "ginkgo/core/factorization/ilu.hpp" and I found that the matrix type is fixed to Csr:
template <typename ValueType = gko::default_precision,
          typename IndexType = gko::int32>
class Ilu : public Composition<ValueType> {
public:
    using value_type = ValueType;
    using index_type = IndexType;
    using matrix_type = matrix::Csr<ValueType, IndexType>;

Matrices A and b (suffixed with .dat) are provided in the attachment.  As you said, my Coo matrix is most likely not sorted/grouped by row index, since it's populated by a 5x5 submatrix of blocks. So I also provide the row, column, and value information (A.txt) of the Coo matrix in the attachment for your reference.
matrix.zip

I guess we need to push #770 forward a bit to be able to figure out such issues quickly - passing unsorted data to Coo may cause all kinds of weird things to happen, depending on the executor. Did you ever try running your code with the Reference executor? Does it fail there as well? Reference doesn't have any issues with unordered Coo data, so we can use it for comparison
Also, I can't seem to access the uploaded file (Not Found), could you try attaching it again?

The executed is created by gko::ReferenceExecutor::create() so it is exactly the Reference executor.  Now let me try to upload the file again.
matrix.zip

Could you elaborate on how the matrix is generated, ie. which CFD method is behind it? Could you try a different solver - preconditioner combination like BiCGStab + Jacobi, just to see if it also produces nans. What I find interesting is that there are off-diagonal elements within the blocks, which are much larger compared to main diagonal entries, however, if that is the cause of the convergence issues is unclear.

I'll close this issue now, as it seems stale. Feel free to reopen if needed.


Error pages

We could do with a new 404 page and something better to replace the "Whoops, something is wrong" page.

https://github.com/cachethq/Cachet/pull/174

https://github.com/cachethq/Cachet/pull/174


Save/Load DataGrid runtime settings added

This is great, and saves me hacking around with a wrapper to do this myself.  I am experiencing an apparent bug, though #633


Installation via package managers

Binary crates are meant to be development tools (such as diesel_cli) so including tac in package managers would make them more easily accessible and more correct.

macOS: homebrew
Windows: chocolatey
GNU/Linux: ???

Is this something you would be interested in providing?

Sure, it's definitely not a bad idea. We already have one package on Chocolatey; but the procedure in getting packages listed and approved is just a downright pain compared to the ease with which one may publish packages on crates.io
I've never submitted a package to homebrew; I'm not sure how involved that would be. It builds from source in the first place, doesn't it? Any suggestions on going about that?
I have no interest in tracking down the zillion different processes of getting a package listed for the hundreds of popular Linux distros, but it would of course be awesome to have tac listed on there.


Set fixed values like the emulator in virt-handler instead of virt-controller

Currently we set some Domain attributes like UUID, Name and Emulator in virt-controller.
They should actually be set in the domain manager in virt-handler and these fields should not even be part of v1.DomainSpec. Emulator is not important for the cluster wide view and UUID and Name are duplicates of the v1.VM metadata.

[ ] Remove these fields from v1.DomainSpec
[ ] Set fields in manager.SyncVM before starting or updating a VM

Additional fields which do not really make sense to expose:
os:
  type:
    os: hvm
type: qemu

We only support qemu and full virtualization (at the moment).

As @mpolednik suggested some time ago, we can probably also move the spec.domain subsection up to spec and merge it with the fields there.

Mh - I do like that we keep the domain part separate form the complete VM spec.
It might become valuable if we start thinking about HA. i.e.
spec:
   ha-stand-by-instances-foo: 2
   domain:
      ...

thus - I can currently imagine that we get to a state where we need to keep non-domain specific, but cluster wide infos and then it makes sense to have the domain specification in a subsection.
@mpolednik ?

Note on the original comment: In oVirt we know that some users want to set the specific emulator - there it's solved by using a hook.


UI differences on Shielded Balance, Receive page and backup frame

Bug Description
Minor UI issues are present. Naming of the button and text string above the number of CCDs are not changed as proposed.
Steps to Reproduce

Open shielded balance.
Select RECEIVE button (former ADDRESS).
Backup warning frame is blue instead of yellow.

Expected Result

Button ADDRESS should be renamed to RECEIVE. "Balance total" should be renamed to "Shielded balance total of "
Buttons share and copy are of a different size and different inner colors.
Frame should be yellow.

Actual Result
Image 1:

Image 2:

Image 3:

Versions

Software Version: Stagenet 2.0
OS: Android 11
Browser: N/A
Mobile device: Google Pixel 4a

Verified.
Versions

Software Version: Testnet 2.0.1 (71)
OS: Android 11
Browser: N/A
Mobile device: Pixel 4a


Pandas to Postgres -> My own method is a lot faster than odo (or I made a mistake)

I have a pandas dataframe of 8 million rows. I found a fast method on stackoverflow to write this data to Postgres: takes less than 2 minutes.
Today I found odo and was hoping it would be faster, but it wasn't.
In fact my guess is it would take 30 minutes or so with odo, I stopped after 7 minutes.
Here's the code for faster writing of dataframe to Postgres, hope it helps you guys:
from cStringIO import StringIO

def df_to_database(engine, df, schema, table_name, if_exists='replace', sep='\x01', encoding='utf-8'):
    # Create Table
    df[:0].to_sql(table_name, engine, if_exists=if_exists, index=False, schema=schema)

    # Prepare data
    output = StringIO()
    df.to_csv(output, sep=sep, header=False, encoding=encoding, index=False)
    output.seek(0)

    # Insert data
    connection = engine.raw_connection()
    cursor = connection.cursor()
    schema_tablename = '{}.{}'.format(schema, table_name)
    cursor.copy_from(output, schema_tablename, sep=sep, null='')
    connection.commit()
    cursor.close()

I was not able to use odo and I'm wondering if this project is still maintained. I modified your solution to work in python 3 too.
from io import StringIO
def sendToPG(df, tableName, con):
    output = StringIO()
    df.to_csv(output, sep='\t', header=False, index=False)
    output.getvalue()
    output.seek(0)
    raw = con.raw_connection()
    curs = raw.cursor()
    # null values become ''
    columns = df.columns
    curs.copy_from(output, tableName, null="", columns=(columns))
    curs.connection.commit()
    curs.close()

In case you are looking for an alternative, you might want to consider d6tstack. You can process CSV and then export to csv, parquet or SQL without having to write custom functions. You can load multiple files and it deals with data schema changes (added/removed columns). Chunked out of core support is already built in. It benchmarks well vs df.to_sql().
def apply(dfg):
    # do stuff
    return dfg

c = d6tstack.combine_csv.CombinerCSV([bigfile.csv], apply_after_read=apply, sep=',')

# or
c = d6tstack.combine_csv.CombinerCSV(glob.glob('*.csv'), apply_after_read=apply)

# output to various formats, automatically chunked to reduce memory consumption
c.to_csv_combine(filename='out.csv')
c.to_parquet_combine(filename='out.pq')
c.to_psql_combine('postgresql+psycopg2://usr:pwd@localhost/db', 'tablename') # fast for postgres
c.to_mysql_combine('mysql+mysqlconnector://usr:pwd@localhost/db', 'tablename') # fast for mysql
c.to_sql_combine('postgresql+psycopg2://usr:pwd@localhost/db', 'tablename')	# slow but flexible

I have a pandas dataframe of 8 million rows. I found a fast method on stackoverflow to write this data to Postgres: takes less than 2 minutes.
Today I found odo and was hoping it would be faster, but it wasn't.
In fact my guess is it would take 30 minutes or so with odo, I stopped after 7 minutes.
Here's the code for faster writing of dataframe to Postgres, hope it helps you guys:
from cStringIO import StringIO

def df_to_database(engine, df, schema, table_name, if_exists='replace', sep='\x01', encoding='utf-8'):
    # Create Table
    df[:0].to_sql(table_name, engine, if_exists=if_exists, index=False, schema=schema)

    # Prepare data
    output = StringIO()
    df.to_csv(output, sep=sep, header=False, encoding=encoding, index=False)
    output.seek(0)

    # Insert data
    connection = engine.raw_connection()
    cursor = connection.cursor()
    schema_tablename = '{}.{}'.format(schema, table_name)
    cursor.copy_from(output, schema_tablename, sep=sep, null='')
    connection.commit()
    cursor.close()

Thanks!!!

Hi could you help me to understand what you will add in schema ?

@SandervandenOord thanks for sharing this technique! I found it really valuable for a project I'm working on.
Some of my schema names needed to be quoted in the SQL statement (long story :roll_eyes:) so I had to change this line:
schema_tablename = '{}.{}'.format(schema, table_name)

to this:
schema_tablename = '"{}"."{}"'.format(schema, table_name)

I also wanted to use ',' as my separator, but found my routine would error when a CSV row would have a cell whose value also contained a comma, even if the value was enclosed in quotation marks. It seems cursor.copy_from doesn't expose a way of handling quoted values.
Here's a minor revision that uses cursor.copy_expert instead:
def df_to_database(engine, df, schema, table_name, if_exists='replace', encoding='utf-8'):
    # Create Table
    df[:0].to_sql(table_name, engine, if_exists=if_exists, index=index, schema=schema)

    # Prepare data
    output = StringIO()
    df.to_csv(output, sep=',', header=False, encoding=encoding, index=index)
    output.seek(0)

    # Insert data
    connection = engine.raw_connection()
    cursor = connection.cursor()

    schema_tablename = '"{}"."{}"'.format(schema, table_name)
    cursor.copy_expert("COPY " + schema_tablename + " FROM STDIN WITH (FORMAT CSV)""", output)

    connection.commit()
    cursor.close()

Just sharing in case other people run into the same.
Thank you again for the great technique!

@wolfc86 You forgot to add index as a function parameter. The first line of your code should be:
def df_to_database(engine, df, schema, table_name, if_exists='replace', encoding='utf-8', index=False):
    [...]

Ah, right you are @mairanteodoro! I updated the snippet in my comment. Thanks!

@SandervandenOord Thank you for this amazing technique! I had to push over 4 GB of data(mostly text fields - conversations) to Postgres and this made my task much simpler. It took 30 minutes (actual wall time - 30min 35s) to run.
I modified @wolfc86 code to add chunksize option in df.to_csv(...).
Then I split the dataframe into chunks, created a header outside the method, and pushed the data into the db in small batches(instead of bulk insert). Took 8 minutes to execute.
Revised snippet:
def df_to_database(engine, df, schema, table_name, if_exists='append', encoding='utf-8', index=False):
    # Prepare data
    output = StringIO()
    df.to_csv(output, sep=',', header=False, encoding=encoding, index=index, chunksize = 5000)
    output.seek(0)

    # Insert data
    connection = engine.raw_connection()
    cursor = connection.cursor()

    schema_tablename = '"{}"."{}"'.format(schema, table_name)
    cursor.copy_expert("COPY " + schema_tablename + " FROM STDIN WITH (FORMAT CSV)""", output)

    connection.commit()
    cursor.close()

# Add header
df[:0].to_sql(table_name, engine, schema , index=False, if_exists= 'replace')

# Split the dataframe into a list of dataframes
n = int(round(1/10 * df.shape[0], -2))
split_df = [df[i:i+n] for i in range(0, df.shape[0], n)]

# Call df_to_database() on chunks
for chunk in range(len(split_df)):
    df_to_database(engine, split_df[chunk], schema, table_name)

Thanks again!

Works like a charm. Thanks