Mysql Database Connectivity

I am getting this error when I run the the TEST CONNECTION
database : testrun01
SQLAlchemy URI : mysql://root:@localhost/testrun01
                   **ERROR**

ERROR: Traceback (most recent call last):
File "/home/bitlasoft/venv/local/lib/python2.7/site-packages/caravel/views.py", line 1028, in testconn
engine = create_engine(uri, connect_args=connect_args)
File "/home/bitlasoft/venv/local/lib/python2.7/site-packages/sqlalchemy/engine/init.py", line 386, in create_engine
return strategy.create(*args, **kwargs)
File "/home/bitlasoft/venv/local/lib/python2.7/site-packages/sqlalchemy/engine/strategies.py", line 75, in create
dbapi = dialect_cls.dbapi(**dbapi_args)
File "/home/bitlasoft/venv/local/lib/python2.7/site-packages/sqlalchemy/dialects/mysql/mysqldb.py", line 92, in dbapi
return import('MySQLdb')
ImportError: No module named MySQLdb

You are missing your database dependencies:
http://airbnb.io/caravel/installation.html#database-dependencies

already installed the dependencies ,
pip install mysqlclient
/usr/lib/python2.7/dist-packages/ndg/httpsclient/subj_alt_name.py:22: UserWarning: Error importing pyasn1, subjectAltName check for SSL peer verification will be disabled.  Import error is: No module named pyasn1.type
warnings.warn(import_error_msg)
/usr/lib/python2.7/dist-packages/ndg/httpsclient/ssl_peer_verification.py:25: UserWarning: SubjectAltName support is disabled - check pyasn1 package installation to enable
warnings.warn(SUBJ_ALT_NAME_SUPPORT_MSG)
/usr/lib/python2.7/dist-packages/ndg/httpsclient/subj_alt_name.py:22: UserWarning: Error importing pyasn1, subjectAltName check for SSL peer verification will be disabled.  Import error is: No module named pyasn1.type
warnings.warn(import_error_msg)
Requirement already satisfied (use --upgrade to upgrade): mysqlclient in /usr/lib/python2.7/dist-packages

@mistercrunch isn't it mysql-python and not mysqlclient? :)

@attahkhan016 does installing mysql-python help?

@attahkhan016 it looks like you have installed it on your system and not inside your virtualenv. Please double check that.

i have done it on my local machine.what should i do to make it work ?

getting this when i try to install virtualenv :
virtualenv venv
New python executable in /home/bitlasoft/venv/bin/python
Traceback (most recent call last):
File "/usr/local/bin/virtualenv", line 11, in
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 711, in main
symlink=options.symlink)
File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 924, in create_environment
site_packages=site_packages, clear=clear, symlink=symlink))
File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 1230, in install_python
shutil.copyfile(executable, py_executable)
File "/usr/lib/python2.7/shutil.py", line 83, in copyfile
with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied: '/home/bitlasoft/venv/bin/python'

@attahkhan016 doing random things would not help, please google what a virtualenv is and how to use it. We have a primer inside docs/installation.rst.

@xrmx  if possible can you tell me what to do ? i have installed the virtualenv also . but what should i do now to rectify ? and connect to the database ?

@ when i install venv i am getting this error :
(venv) bitlasoft@Bitlasoft-TS-22:~$ sudo pip install mysqlclient
/usr/lib/python2.7/dist-packages/ndg/httpsclient/subj_alt_name.py:22: UserWarning: Error importing pyasn1, subjectAltName check for SSL peer verification will be disabled.  Import error is: No module named pyasn1.type
warnings.warn(import_error_msg)
/usr/lib/python2.7/dist-packages/ndg/httpsclient/ssl_peer_verification.py:25: UserWarning: SubjectAltName support is disabled - check pyasn1 package installation to enable
warnings.warn(SUBJ_ALT_NAME_SUPPORT_MSG)
/usr/lib/python2.7/dist-packages/ndg/httpsclient/subj_alt_name.py:22: UserWarning: Error importing pyasn1, subjectAltName check for SSL peer verification will be disabled.  Import error is: No module named pyasn1.type
warnings.warn(import_error_msg)
The directory '/home/bitlasoft/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/bitlasoft/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already satisfied (use --upgrade to upgrade): mysqlclient in /usr/lib/python2.7/dist-packages

Sir After running in virtual environment also I am getting the same error.
if possible I can share you the screen so that we can work out something
On Tue, Sep 27, 2016 at 2:44 PM, Riccardo Magliocchetti <
<EMAIL_ADDRESS>wrote:

@attahkhan016 https://github.com/attahkhan016 doing random things would
not help, please google what a virtualenv is and how to use it. We have a
primer inside docs/installation.rst.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/airbnb/caravel/issues/1200#issuecomment-249810520,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATFd9zSKAGKkGf9GN6SSGeJg90JbIBJAks5quN57gaJpZM4KHaV1
.

--
Thanks & Regards,
Name: Mohammed Attaullah Khan
email id<EMAIL_ADDRESS>contact number:+91-8123030179


Abandoned Repo?

Hey Guys,
I've been looking through the issues, for a global payments provider to essentially abandon a repo is quite frankly jaw dropping - if the idea that people raise it through the dev portal then that's fine but zero responses and zero updates in almost 2 years(roughly) is nuts!

This company sucks, this is abandoned and the support is non-existent.


“Self-training with Noisy Student improves ImageNet classification” Can it work?

【Google】Self-training with Noisy Student improves ImageNet classification
Qizhe Xie, Eduard Hovy, Minh-Thang Luong, Quoc V. Le
(Submitted on 11 Nov 2019)
https://arxiv.org/abs/1911.04252
We present a simple self-training method that achieves 87.4% top-1 accuracy on ImageNet, which is 1.0% better than the state-of-the-art model that requires 3.5B weakly labeled Instagram images. On robustness test sets, it improves ImageNet-A top-1 accuracy from 16.6% to 74.2%, reduces ImageNet-C mean corruption error from 45.7 to 31.2, and reduces ImageNet-P mean flip rate from 27.8 to 16.1.
Have you ever noted this? Can it work?THX!

I don't have the storage to try the dataset they used in this paper. But I was hoping to try this technique with OpenImagesV5 someday. I think Google may release the models from this paper eventually

can you provide me with code of noisy student concept with keras. I'm trying to implement it but i have a lot of bugs

Is there a pytorch code for noisy student  algorithm?


null conversion is incorrect

Quick question to understand if this package will be developed further and new feature added (and/or debugged)

Well as a start I'd think there should be test to make sure types are correctly cast from R to q and vice versa (as people are more likely to use this package to pass R data to q for processing than just querying a q server)
I think it misses a clear description of what to expect.
I understand patches are accepted, but it is still a kx product, so I was just wondering if kx had any plan to develop this package at a stage where it could be reliably used.
Many thanks for starting this effort, it is very much appreciated.

In kdb -> R it is not too far
Fetching  the following table
t:([]
    booleans:010b;
    shorts:`short$(1 2 0N);
    ints:`int$(1 2 0N);
    longs:`long$(1 2 0N);
    reals:`real$(1 2 0N);
    floats:`float$(1 2 0N);
    chars:"ab ";
    symbols:`aa`bb`;
    timestamps:(2015.01.01T00:00:00.000000000 2015.01.02T00:00:01.200000001 0Np);
    months:`month$(2006.07.01 2006.08.01 0N);
    dates:(2006.07.01 2006.08.01 0Nd);
    datetimes:(2006.07.21T09:13:39 2006.07.21T09:13:39.123 0Nz);
    timespan:(12:00:00.000000000 12:00:00.123456789 0Nn);
    minutes:(23:59 23:58 0Nu);
    seconds:(23:59:59 23:59:58 0Nv);
    times:(09:01:02.042 09:01:02.043 0Nt);
    ts:(([] c1:`a`b`c; c2:10 20 30);([] c1:`a`b`c; c2:10 20 32);([] c1:`a`b`c; c2:10 20 33));
    dictionaries:((`a`b`v!10 20 30);(`a`b`v!10 20 31);(`a`b`v!10 20 32));
    functions:({x};{x+1};{x+2})
 );

This arrives in R as:
   booleans shorts ints         longs reals floats chars symbols          timestamps months          dates           datetimes           timespan  minutess    seconds    times           ts dictionaries functions
1:    FALSE      1    1  1.000000e+00     1      1     a      aa 2015-01-01 00:00:00     78     2006-07-01 2006-07-21 09:13:39  4.320000e+04 secs 1439 mins 86399 secs 32462042 <data.frame>     10,20,30       {x}
2:     TRUE      2    2  2.000000e+00     2      2     b      bb 2015-01-02 00:00:01     79     2006-08-01 2006-07-21 09:13:39  4.320012e+04 secs 1438 mins 86398 secs 32462043 <data.frame>     10,20,31     {x+1}
3:    FALSE -32768   NA -9.223372e+18   NaN    NaN               1707-09-22 00:11:28     NA -5877611-06-22                <NA> -9.223372e+09 secs   NA mins    NA secs       NA <data.frame>     10,20,32     {x+2}

a look at types within the result in R
> str(DF)
Classes ‘data.table’ and 'data.frame':	3 obs. of  19 variables:
 $ booleans    : logi  FALSE TRUE FALSE
 $ shorts      : int  1 2 -32768
 $ ints        : int  1 2 NA
 $ longs       : num  1.00 2.00 -9.22e+18
 $ reals       : num  1 2 NaN
 $ floats      : num  1 2 NaN
 $ chars       : chr  "a" "b" " "
 $ symbols     : chr  "aa" "bb" ""
 $ timestamps  : POSIXct, format: "2015-01-01 00:00:00" "2015-01-02 00:00:01" "1707-09-22 00:11:28"
 $ months      : int  78 79 NA
 $ dates       : Date, format: "2006-07-01" "2006-08-01" "-5877611-06-22"
 $ datetimes   : POSIXct, format: "2006-07-21 09:13:39" "2006-07-21 09:13:39" NA
 $ timespan    :Class 'difftime'  atomic [1:3] 4.32e+04 4.32e+04 -9.22e+09
  .. ..- attr(*, "units")= chr "secs"
 $ minutess    :Class 'difftime'  atomic [1:3] 1439 1438 NA
  .. ..- attr(*, "units")= chr "mins"
 $ seconds     :Class 'difftime'  atomic [1:3] 86399 86398 NA
  .. ..- attr(*, "units")= chr "secs"
 $ times       : int  32462042 32462043 NA
 $ ts          :List of 3
  ..$ :'data.frame':	3 obs. of  2 variables:
  .. ..$ c1: chr  "a" "b" "c"
  .. ..$ c2: num  10 20 30
  ..$ :'data.frame':	3 obs. of  2 variables:
  .. ..$ c1: chr  "a" "b" "c"
  .. ..$ c2: num  10 20 32
  ..$ :'data.frame':	3 obs. of  2 variables:
  .. ..$ c1: chr  "a" "b" "c"
  .. ..$ c2: num  10 20 33
 $ dictionaries:List of 3
  ..$ : Named num  10 20 30
  .. ..- attr(*, "names")= chr  "a" "b" "v"
  ..$ : Named num  10 20 31
  .. ..- attr(*, "names")= chr  "a" "b" "v"
  ..$ : Named num  10 20 32
  .. ..- attr(*, "names")= chr  "a" "b" "v"
 $ functions   : chr  "{x}" "{x+1}" "{x+2}"

As such the bugs are

short 0N are not handled correctly => should be NaN
int 0N are not consistently transformed to NaN but to NA => should be NaN
short 0N are not handled correctly => should be NaN
timstamp 0N are not handled correctly => should be NA
date 0N are not handled correctly => should be NA
timespan 0N are not handled correctly => should be NA

There are also questionable choices

months are casted to int, I thing we would be better of as Character like "2015-01"
times seem to be casted as integer why not difftime like all the other
time measurement in general are coming back as difftime, I personally hate that but I can see the point. Problem is that resolution then is limited to milliseconds, I advise we use difftime for kdb objects that have a resolution less or equal to milli and character for others.
timestamp comes back as POSIXct, this implies the same milli (to macro depending on plateform) limitation. Can I suggest looking at https://github.com/eddelbuettel/nanotime that seems to be supporting nanos (by storing on int64)

We have a strong interest in getting this package to the stage when it can be reliably used.
Development is user and usage driven based on reports like this. There are few people who have some code built around rkdb with lots of experience of using it(including you) and would be nice if we can push some of the common code to this package.

I have pushed fixes for null conversions in my repo https://github.com/sv/rkdb/commit/036e2131e9c0119d8149d9ba8086c7b9c2f6cc3d
would be great if you could try it via devtools

raised PR https://github.com/KxSystems/rkdb/pull/29 and would be great if you give it a go

Please raise another issue for time shift if needed. This has been merged.


closes #11: implement protocol agnostic Socket wrapper

It abstracts UDP and TCP sockets and provides a uniform API.

This PR replaces https://github.com/maidsafe/socket-collection/pull/24
We decided to use an enum instead of a trait because:

using traits makes the code more verbose
traits require Box'ing objects, which results in more heap allocations


test(ingest/vertica): Skip integration test failing CI; support arm Macs

Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

Merging despite CI failures as this should help other builds pass


[stable/sonarqube] "tls" expect an array not a hash

Signed-off-by: BESANCON Vincent<EMAIL_ADDRESS>
What this PR does / why we need it:
This fixes tls value. It expects to be an array, not a hash.
When using the sonarqube chart as a dependency of another chart (which is a stack for sonarqube + postgres), we are encountering the following error:
Warning: Merging destination map for chart 'sonarqube'. Cannot overwrite table item 'tls', with non table value: map[]

In our chart, we redefine the sonarqube's chart value sonarqube.ingress.tls like this:
sonarqube:
  ingress:
    tls:
      - secretName: sonarqube-dev-certificate
        hosts:
          - sonarqube-dev.app.corp

But the base chart (stable/sonarqube) is defining the tls key to an empty hash in values.yaml.
Which issue this PR fixes
N/A
Special notes for your reviewer:
:beer:
Checklist

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md
[X] Title of the PR starts with chart name (e.g. [stable/chart])

/ok-to-test
/assign

Please update the version in Chart.yaml and merge the latest master branch in. Don't forget --signoff when you do.

/lgtm


fix(species): Initialize species ability dict

This PR add abilities to the species item template, so that trying to access this attribute when nothing was previously assigned to it doesn't result in an error.
Fix #1641

Thanks for the ongoing help!


Add correct CI configuration

Add circle CI configuration to build the app/chart and publish to the catalog

thx I would add to template for other app charts


Add hooks for keycloak GDPR export.

This adds support for keycloak GDPR data export via the Graph service.

Fixes #189


first commit

@Lora-Uroshlieva Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.


Mixed font sizes

Which operating system does the issue occur on?
Windows 10 (insider preview, so the may 2019 release)
I just installed Windows 10, WSL, and Alacritty 0.3.2.  I'm seeing something weird with fonts, where it looks like some are smaller than others or it's substituting them for something else, it's hard to explain so here's a screenshot:

hope you can see that "set" and "grep" are small, as is "ls" and "term" in xterm.  It's really weird, I've just set it to Input Mono Condensed, first font I installed.  I tried with conpty and without.  My font config is:
font:
  # Normal (roman) font face
  normal:
    # Font family
    #
    # Default:
    #   - (macOS) Menlo
    #   - (Linux) monospace
    #   - (Windows) Consolas
    family: Input Mono Compressed

    # The `style` can be specified to pick a specific face.
    style: Regular
  size: 14.0

I tried Operator Mono, same problem with it mixing and matching stuff.  It may be related to the broken unicode characters in my prompt?
I started WSL as just:
shell:
  program: "wsl.exe ~"

Not sure if that's right and could be contributing to this.

I'm seeing something weird with fonts

That does indeed look pretty weird. The only explanation I can find is that the colored text might be bold and you're using a different bold font.
Would you mind setting the style for the bold font to Regular and also setting the family to the same you're using for your normal family?

  normal:
    family: Input Mono Compressed
    style: Regular
  bold:
    family: Input Mono Compressed
    style: Regular
  italic:
    family: Input Mono Compressed
    style: Regular
  size: 14.0

This definitely seems to make a difference.  I set bold back to style: Bold and it immediately started doing the wrong thing with weird sized fonts.   Maybe when I set "style: Bold" it just can't find that style properly and falls back?  It's definitely there and installed.

Yeah, what's happening is that your font doesn't have a bold version, so it uses the next best font which does have one. Unfortunately that font likely has different metrics.
Could you try the #2224 PR? You can run that using cargo run --features directwrite.

I'll try and build it tonight after work.  I've literally never built code on windows before so this might be a bit of an adventure, but I'll give it a whirl.  Failing that, if you have a binary kicking around I can quickly test that right now, but if it's a build I'll need a few hours :)

@chrisduerr finally got it built on windows as that PR was merged, seems like it completely fixes it and everything is now working as intended, bold works, etc.  Looks good!


Introducing footer, moving content of subheader there

Also making the footer sticky using flex, as shown on https://css-tricks.com/couple-takes-sticky-footer/#article-header-id-3
This should solve https://github.com/solid/solid-panes/issues/150

@Vinnl The latest commit takes your feedback into account, please review again when you have time ^_^


BibTex export with files does not finish / throws error

I have the newest Zotero and Better BibTex addon.
Support log ID: J5K4386A-euc
Exporter used: Better BibTex with "export files" selected.
Expected behavior: My Library will be exported with all of the attached files.
Actual behavior:
Only a few files get exported, the export process dialog does not disappear and I can see this message in the error logs:
(3)(+0000096): {better-bibtex Better BibTeX error (worker 1)} +141 worker: <Error: invalid path component join@resource://gre/modules/osfile/ospath_unix.jsm:90:13 saveFile@resource://zotero-better-bibtex/worker/zotero.js?version=<IP_ADDRESS>&platform=lin&translator=Better%20BibTeX&output=/home/lars/Desktop/test/My%20Library&localeDateOrder=mdy&debugEnabled=true&worker=1:44960:24 enc_attachments@resource://zotero-better-bibtex/Better%20BibTeX.js:54983:11 add@resource://zotero-better-bibtex/Better%20BibTeX.js:54579:23 doExport@resource://zotero-better-bibtex/Better%20BibTeX.js:55558:7 Zotero__workerContext</ctx.onmessage@resource://zotero-better-bibtex/worker/zotero.js?version=<IP_ADDRESS>&platform=lin&translator=Better%20BibTeX&output=/home/lars/Desktop/test/My%20Library&localeDateOrder=mdy&debugEnabled=true&worker=1:45073:9 >

Exporting without files works fine. From experimenting a bit I would guess that entries are always exported in the same order, regardless of whether I export with or without files. So I'm guessing that since it can successfully export two files, it gets stuck on this entry:
@misc{breitkopfStromerzeugungAusErneuerbaren2020,
  title = {{Stromerzeugung aus Erneuerbaren Energien bis 2020}},
  author = {Breitkopf},
  year = {2020},
  url = {https://de.statista.com/statistik/daten/studie/1807/umfrage/erneuerbare-energien-anteil-der-energiebereitstellung-seit-1991/},
  urldate = {2021-02-22},
  abstract = {Im Jahr 2020* wurden rund 44,6 Prozent des Bruttostroms in Deutschland aus Erneuerbaren Energien erzeugt.},
  file = {/home/lars/Zotero/storage/6SA38BV3/erneuerbare-energien-anteil-der-energiebereitstellung-seit-1991.html},
  journal = {Statista},
  language = {de}
}

Can you get me a new debug log from 902 after reproducing the problem?

The new log ID is: IZBSPV3M-euc
The last few lines from the output are:
(5)(+0000001): Translate: Running handler 0 for itemDone

(5)(+0000001): Translate: Running handler 0 for itemDone

(3)(+0000100): {better-bibtex Better BibTeX (worker 1)} +175 1814:file-copy: {"snapshot":"/home/lars/Zotero/storage/6SA38BV3"} {"target":"/home/lars/Desktop/My Library/files/52"}

(3)(+0000003): {better-bibtex Better BibTeX error (worker 1)} +3 worker: <Error: invalid path component join@resource://gre/modules/osfile/ospath_unix.jsm:90:13 saveFile@resource://zotero-better-bibtex/worker/zotero.js?version=<IP_ADDRESS>&platform=lin&translator=Better%20BibTeX&output=/home/lars/Desktop/My%20Library&localeDateOrder=mdy&debugEnabled=true&worker=1:44961:24 enc_attachments@resource://zotero-better-bibtex/Better%20BibTeX.js:54983:11 add@resource://zotero-better-bibtex/Better%20BibTeX.js:54579:23 doExport@resource://zotero-better-bibtex/Better%20BibTeX.js:55558:7 Zotero__workerContext</ctx.onmessage@resource://zotero-better-bibtex/worker/zotero.js?version=<IP_ADDRESS>&platform=lin&translator=Better%20BibTeX&output=/home/lars/Desktop/My%20Library&localeDateOrder=mdy&debugEnabled=true&worker=1:45074:9 >

(3)(+0000001): {better-bibtex Better BibTeX (worker 1)} +0 worker: handled {"isTrusted":true,"kind":"start","started":true,"stop":true}

The new addon version behaves exactly the same as the old one, with the My Library/files/52 folder being empty.

What does ls -lah /home/lars/Zotero/storage/6SA38BV3 return?
The debug logs give me a full copy of the error log BTW.

Alright, that's good to know :sweat_smile:
$ ls -lah /home/lars/Zotero/storage/6SA38BV3
total 4,7M
drwxr-xr-x  2 lars 4,0K Mär 16 15:46 ./
drwxr-xr-x 36 lars 4,0K Mai 22 12:39 ../
-rw-------  1 lars 4,7M Mär 16 15:46 erneuerbare-energien-anteil-der-energiebereitstellung-seit-1991.html
-rw-------  1 lars 8,2K Mär 16 15:46 .zotero-ft-cache

That file is a web snapshot made with the Zotero Plugin for Firefox.
I also just tried 906, and export works without any problems in that version! It copied (as far as I can tell) all PDF and HTML files.

Super. Can you still get me a new debug log from 906? There's something I would prefer to verify.

NWZT8GN5-euc
Thank you for your fast help with this!

I appreciate you taking the time to report this and help me test. I'm rolling out a new release tomorrow with this fix in it.


Enhance ValidateTaskProperties to validate type-safe properties

The ValidateTaskProperties from the plugin-dev plugin should validate that type-safe getters and setters are present for each mutable property.
Expected Behavior
The ValidateTaskProperties inspect task properties ensuring each mutable property getter has a counterpart setter with the exact same type as parameter.
At first this should only emit warnings, at some point in the future it should be errors.
Current Behavior
No validation is done.
Context
See https://github.com/gradle/gradle/pull/1866, in particular this https://github.com/gradle/gradle/pull/1866#issuecomment-296847906

Also do this at runtime, for those things not built using the plugin dev plugin, and also apply validation of other plugin types, such its extensions.


Connecting audio from linux guest to host bluetooth headphones also enables microphone by default

Configuration (required)

UTM Version: 4.1.1
OS Version: iPadOS 15.3.1
Device Model: iPad Pro 11" 3rd generation (M1) - MHMV3LL/A
Is it jailbroken (name jailbreak used)? No
How did you install UTM? Trollstore

When virtualizing Ubuntu desktop 20.04.5 LTS (ARMv8/AArch64), any audio sent from the guest to my bluetooth headphone coincides with activation of the headphone's microphone as well, which produces a loud and unadjustable "BING" sound, each time. Even if the microphone is disabled for UTM in settings (Settings > Privacy > Microphone > UTM), the function ignores the denied microphone access and does the same thing ("BING").
I tried using pavucontrol on Ubuntu and adjusting the volume configuration to see if I can disable the microphone and only get audio. However, the Analog Duplex/Output/Input setting creates no differences while the Off setting turns off audio completely.
All in all, could there perhaps be a way to differentiate between an "only receiving audio" and a "receiving audio along with microphone enabled" setting when using a bluetooth headphone as a listening device on UTM Ubuntu guest? Thanks!

Does the setting "Prefer device to external microphone" do anything?

Enabling that setting seems to fixed the issue. Thanks!!

Enabling that setting seems to fixed the issue. Thanks! Could you elaborate on the mechanism of that setting?


String.split(x: Array[Char]) produces bad regexes

Just like split(x: Char) (see #65), StringLike relies on the \Q, \E escapes for Regex creation. We now have to deal with the following pattern:
[\Q<char>\E\Q<char>\E<etc>]

This produces regexes such as:
[\Q-\E]

Which then cause an exception in the JavaScript regex matcher.
@sjrd Should we handle this as a hack just like #65, knowing that this is substantially more complex?

This would be fixed by #4455 as well.
(This means the Semantics page on the website should be updated.)


Filter devices by tag or something else

Hello Twan.
Thanks for your work.
I have in the Netbox many devices, but not all of they must be transferred to Zabbix.
Currently i try to use dirty hack for filter:
    netbox_host = environ.get("NETBOX_HOST")
    # Add new environment var
    netbox_tag = environ.get("NETBOX_TAG")
...
    # Get all Zabbix and Netbox data
    #netbox_devices = netbox.dcim.devices.filter(name__n="null")
    # filter devices by predifined tag
    netbox_devices = netbox.dcim.devices.filter(tag=netbox_tag)

And running script  with export NETBOX_TAG="zabbix"
This is ok or another method exist?

I would say that right now the method that you are using is valid. I haven't created a more elegant solution and the filter will provide the functionallity you need.
Although i do agree that there might be a more elegant solution like a seperate options.py file which could be provided to manipulate the filtering instead of modifying the main script.

I've seen this use case and request before so i made a simple config.py file which you can modify. This is a lot cleaner instead of modifying the source code :) Feel free to pull the latest "main" and try it out! :)

Thanks for impetuous improvement.
I try to finish testing on this week.
I have one more question, because do not program on python: i can use more that one item for filter dictionary (i guess right name of this hash array?) like that:
nb_device_filter = {"tag": "zabbix", "site": "HQ-AMS"}

Yes, you can use multiple keys. This will become a logical AND :) Your example (Device must have the tag zabbix and be part of site HQ-AMS) is valid.
-------- Oorspronkelijk bericht --------
Op 29 nov. 2022 18:35, schreef Grigory Prigodin :

Thanks for impetuous improvement.
I try to finish testing on this week.
I have one more question, because do not program on python: i can use more that one item for filter dictionary (i guess right name of this hash array?) like that:
nb_device_filter = {"tag": "zabbix", "site": "HQ-AMS"}
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were assigned.Message ID: @.***>

Seems all OK
NetBox:

Utility log:
cat sync.log
2022-11-30 09:40:17,520 - Netbox-Zabbix-sync - DEBUG - Found group XXXXXXXXXX for host AnyplaceUSB.
2022-11-30 09:40:17,522 - Netbox-Zabbix-sync - DEBUG - Found template ID 10186 for host AnyplaceUSB.
2022-11-30 09:40:18,340 - Netbox-Zabbix-sync - INFO - Created host AnyplaceUSB in Zabbix.

Zabbix v6

And i was make one more change in the config/source to ignore SSL cert if it not valid (i'm so lazy to generate valid cert on test NetBox instance). You can add it to src, if you think it's necessary.
config.py
nb_enable_ssl_verify = False

netbox_zabbix_sync.py
    # Set Netbox API
    netbox = api(netbox_host, token=netbox_token, threading=True)
    netbox.http_session.verify = nb_enable_ssl_verify

Thanks again.

Good day,
I will create the variable in the config.py file later this evening.
As for your other question with Zabbix interfaces which i got on the mail, isn't this something that will help you or is your use case something else (like 2 interfaces on 1 host object?): https://github.com/TheNetworkGuy/netbox-zabbix-sync#set-interface-parameters-within-netbox

There is a use case where there are 2 interfaces on one Zabbix host. However this is currently not in scope of this project since it would take a tremendous amount of time for a very niche problem.
If you encounter a situation where you must configure 2 interfaces on one host, let the script sync a host to a Zabbix server and manually modify it with an extra IP address. The script will continue to function properly. For example, set the interface type in Netbox to Agent and manually create an interface as IPMI. After that you can change the item types which need to point to the IPMI to that interface.

Okay, thanks for answer.
I'll try to make it for myself.


Manipulate fields not in schema.prisma

Problem
I have a need to add database fields during program running, I want to be able to create, query and modify these fields that are not in schema.prisma through prisma
I would create a separate table to record these fields
Suggested solutions
For example my prisma file
model Content {
id Int @id @default(autoincrement())
class_id Int?
title String?
keywords String?
description String?
status Boolean @default(false)
@@map("content")
}
Added to the program run:
image, order, content...
I want the query statement of prisma such as:
Create
const content = await prisma.content.create({
  data: {
    class_id: '2',
    status: true,
    title: 'test',
    image: 'xxxxx',
    content: '',
    order: 9
  },
  // no type required
  exterior: [image, content, order]
  // need type
  // exterior: [{field: 'image, type: 'string'},{field: 'content, type: 'string'},{field: 'order, type: 'number'},]
})

Read
await prisma.user.findMany({
  // no type required
  exterior: [image, content, order]
  // need type
  // exterior: [{field: 'image, type: 'string'},{field: 'content, type: 'string'},{field: 'order, type: 'number'},]
})

this is very important to me

I don't speak English, this is from google translate, I hope you can understand it

Please close this issue, I have given up PRISMA

Hello. This haven't been reported before so I would like to keep this as a feature request. You can unsubscribe though if you don't want to participate in further discussion.

来信已收到。


Add new stairs

About the PR
We have three colors of steel tiles, but only one stairs. Trouble.
Also remove the shades so you can connect the stairs
Why / Balance
Mappers say thanks for that.
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

very fair

Okay, after some discussion on discord, we've decided stairs should use iconsmooth to fix the tiling issues, since without the shading they look kind of bad. Keep in mind that you'll probably need iconsmooth to be fixed for directional sprites, though.
Likewise, I would probably fully revert the stairs sprites or leave it to another PR since they do genuinely help convey directionality
IMO. The side state sucks, but the north one works fairly well in my opinion.


Week 6 Team Ticket: Project Approval

Scores

Name
Score

Linda Liu
/3

Vaishavi Jayashankar
/3

Divyanshi Suri
/3

Rebecca Su
/3

Team Project
Individual/Pair

Arrays and Images
Fetch/Backend RapidAPI

Team

Value and Interest

nice job taking criticism into consideration
good/unique idea for the website
nice planning and organization for future possible APIs
good job thoroughly explaining what each person will do and connecting it to team roles
good overall understanding of their website plans and this week's work on ASCII and APIs using fetch

Narrowed down scope of project to CA, few APIs
More focus on features than aesthetic
Using POJO for user rating
Included team roles
Well organized presentation, everyone participated

Travel Website.  Made three cities in CA for their emphasis.  Weather API.  POJO used for user, ratings of restaurants.   Calendar / Itinerary.    Start with localstorage.  Make a picture of deployment.  Wireframes are built.  Good team transitions on everything!!!! +++++
Devya -   Jupyter notebook and API page  2.6, no api
Linda - Grey, Red, Green.  2.6 , no api
Rebecca - Adapted display of last year with all the colors.  3.0
S - 2.4

Good use of last week's feedback to narrow their project iea
Used POJO
each person had a good idea of what they would be doing in their project

Travel Website
narrowed it down to a few cities in CA
Weather API
POJO - rate
link to account
explained how each role would contribute to project - nice teamwork
wireframes


encryption condition controller doesn't reset previously set condition

the condition controller is used to report the current state of the encryption: EncryptionCompleted, EncryptionInProgress or DecryptionCompleted
unfortunately, the previously set condition might have been cleared due to a bug in the controller every time the API server was deployed.
fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1982398

/assign @sttts

/lgtm
/approve


[learning-rate-scheduler] New interface for learning rate scheduler

Move declaration and definition of learning rate related properties out
to common properties from optimizer_impl class.
Add interface for the learning rate scheduler which all learning rate
schedulers must abide by.
Support constant learning rate scheduler.
Support exponential decay learning rate scheduler with decay rate and
decay steps are the controllable properties.

See Also #1776
Signed-off-by: Parichay Kapoor<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #1777. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnstreamer.mooo.com/.

V2: Add finalize to the interface of the learning rate scheduler with the purpose to verify that the required properties have been set.


:sparkles: Ability to change title and icons

Category
Feature
Overview
Added the ability to change page title, icon, favicon, and header title. The 3 settings are available in the config file and are present in a new tab of the settings popout called "Advanced." Making the settings blank will revert them to the default settings. An option for expansion here is adding a toggle for the logo so it's not required, and just having the text show.
Issue Number (if applicable)
#107
New Vars
title, logo, and favicon were added to the configuration file.
Screenshot

Code Quality Checklist

[x] All changes are backwards compatible
[x] There are no (new) build warnings or errors
[x] Attribute is outlined in the schema and documented
[ ] Package is essential, and has been checked out for security or performance
[ ] Bumps version, if new feature added

Did you consider having a default title?

Please also apply linting.

Reviewing a PR at the same time is going very great


lxd deleted log files kept opened

Required information

Distribution: Ubuntu
Distribution version: Ubuntu 18.04.4 LTS (Bionic Beaver) with kernel 4.15.0-66-generic
The output of "lxc info" or if that fails:

# lxc info
config: {}
api_extensions:
- storage_zfs_remove_snapshots
- container_host_shutdown_timeout
- container_stop_priority
- container_syscall_filtering
- auth_pki
- container_last_used_at
- etag
- patch
- usb_devices
- https_allowed_credentials
- image_compression_algorithm
- directory_manipulation
- container_cpu_time
- storage_zfs_use_refquota
- storage_lvm_mount_options
- network
- profile_usedby
- container_push
- container_exec_recording
- certificate_update
- container_exec_signal_handling
- gpu_devices
- container_image_properties
- migration_progress
- id_map
- network_firewall_filtering
- network_routes
- storage
- file_delete
- file_append
- network_dhcp_expiry
- storage_lvm_vg_rename
- storage_lvm_thinpool_rename
- network_vlan
- image_create_aliases
- container_stateless_copy
- container_only_migration
- storage_zfs_clone_copy
- unix_device_rename
- storage_lvm_use_thinpool
- storage_rsync_bwlimit
- network_vxlan_interface
- storage_btrfs_mount_options
- entity_description
- image_force_refresh
- storage_lvm_lv_resizing
- id_map_base
- file_symlinks
- container_push_target
- network_vlan_physical
- storage_images_delete
- container_edit_metadata
- container_snapshot_stateful_migration
- storage_driver_ceph
- storage_ceph_user_name
- resource_limits
- storage_volatile_initial_source
- storage_ceph_force_osd_reuse
- storage_block_filesystem_btrfs
- resources
- kernel_limits
- storage_api_volume_rename
- macaroon_authentication
- network_sriov
- console
- restrict_devlxd
- migration_pre_copy
- infiniband
- maas_network
- devlxd_events
- proxy
- network_dhcp_gateway
- file_get_symlink
- network_leases
- unix_device_hotplug
- storage_api_local_volume_handling
- operation_description
- clustering
- event_lifecycle
- storage_api_remote_volume_handling
- nvidia_runtime
- container_mount_propagation
- container_backup
- devlxd_images
- container_local_cross_pool_handling
- proxy_unix
- proxy_udp
- clustering_join
- proxy_tcp_udp_multi_port_handling
- network_state
- proxy_unix_dac_properties
- container_protection_delete
- unix_priv_drop
- pprof_http
- proxy_haproxy_protocol
- network_hwaddr
- proxy_nat
- network_nat_order
- container_full
- candid_authentication
- backup_compression
- candid_config
- nvidia_runtime_config
- storage_api_volume_snapshots
- storage_unmapped
- projects
- candid_config_key
- network_vxlan_ttl
- container_incremental_copy
- usb_optional_vendorid
- snapshot_scheduling
- container_copy_project
- clustering_server_address
- clustering_image_replication
- container_protection_shift
- snapshot_expiry
- container_backup_override_pool
- snapshot_expiry_creation
- network_leases_location
- resources_cpu_socket
- resources_gpu
- resources_numa
- kernel_features
- id_map_current
- event_location
- storage_api_remote_volume_snapshots
- network_nat_address
- container_nic_routes
- rbac
- cluster_internal_copy
- seccomp_notify
- lxc_features
- container_nic_ipvlan
- network_vlan_sriov
- storage_cephfs
- container_nic_ipfilter
- resources_v2
- container_exec_user_group_cwd
- container_syscall_intercept
- container_disk_shift
- storage_shifted
- resources_infiniband
- daemon_storage
- instances
- image_types
- resources_disk_sata
- clustering_roles
- images_expiry
- resources_network_firmware
- backup_compression_algorithm
- ceph_data_pool_name
- container_syscall_intercept_mount
- compression_squashfs
- container_raw_mount
- container_nic_routed
- container_syscall_intercept_mount_fuse
- container_disk_ceph
- virtual-machines
- image_profiles
- clustering_architecture
- resources_disk_id
- storage_lvm_stripes
- vm_boot_priority
- unix_hotplug_devices
- api_filtering
- instance_nic_network
- clustering_sizing
- firewall_driver
- projects_limits
- container_syscall_intercept_hugetlbfs
- limits_hugepages
- container_nic_routed_gateway
- projects_restrictions
- custom_volume_snapshot_expiry
- volume_snapshot_scheduling
- trust_ca_certificates
- snapshot_disk_usage
- clustering_edit_roles
- container_nic_routed_host_address
- container_nic_ipvlan_gateway
- resources_usb_pci
- resources_cpu_threads_numa
- resources_cpu_core_die
- api_os
- resources_system
- usedby_consistency
api_status: stable
api_version: "1.0"
auth: trusted
public: false
auth_methods:
- tls
environment:
  addresses: []
  architectures:
  - x86_64
  - i686
  certificate: |
    -----BEGIN CERTIFICATE-----

    -----END CERTIFICATE-----
  certificate_fingerprint:
  driver: lxc
  driver_version: 4.0.2
  firewall: xtables
  kernel: Linux
  kernel_architecture: x86_64
  kernel_features:
    netnsid_getifaddrs: "false"
    seccomp_listener: "false"
    seccomp_listener_continue: "false"
    shiftfs: "false"
    uevent_injection: "false"
    unpriv_fscaps: "true"
  kernel_version: 4.15.0-66-generic
  lxc_features:
    cgroup2: "true"
    mount_injection_file: "true"
    network_gateway_device_route: "true"
    network_ipvlan: "true"
    network_l2proxy: "true"
    network_phys_macvlan_mtu: "true"
    network_veth_router: "true"
    pidfd: "true"
    seccomp_notify: "true"
  os_name: Ubuntu
  os_version: "18.04"
  project: default
  server: lxd
  server_clustered: false
  server_name: oc-srv-1
  server_pid: 155149
  server_version: 4.0.1
  storage: zfs
  storage_version: 0.7.5-1ubuntu16.6

Issue description
Same as the issue https://github.com/lxc/lxd/issues/7538
/var is fullfilled by deleted log files still opened by LXD for a very long time.
Steps to reproduce

Run container
Wait some time

Information to attach
Hello. I am currently facing the same issue as https://github.com/lxc/lxd/issues/7538
Please find below the logs requested on the issue mentioned above for the container named 'known-squirrel' on which I am facing the same issue.
# lsof /var/ | grep deleted | grep known-squirrel | numfmt --field=7 --to=iec
lxd        38785 root    8w   REG  253,3      440M 2115405 /var/snap/lxd/common/lxd/logs/known-squirrel/lxc.log (deleted)
lxd        38785 root   11u   REG  253,3      5.2K 2115433 /var/snap/lxd/common/lxd/logs/known-squirrel/console.log (deleted)

# ps fauxww | grep 38785
root      63900  0.0  0.0  14428  1020 pts/0    S+   15:16   0:00          \_ grep --color=auto 38785
root      38785  0.0  0.1 1313832 17092 ?       Ss   Apr22  31:19 [lxc monitor] /var/snap/lxd/common/lxd/containers known-squirrel

# ls -lh /proc/$(cat /var/snap/lxd/common/lxd.pid)/fd/ | grep known-squirrel
l-wx------ 1 root root 64 Jun 23 01:32 20 -> /var/snap/lxd/common/lxd/logs/known-squirrel/lxc.log
l-wx------ 1 root root 64 Jun 23 01:32 30 -> /var/snap/lxd/common/lxd/logs/known-squirrel/lxc.log
l-wx------ 1 root root 64 Jun 23 01:42 56 -> /var/snap/lxd/common/lxd/logs/known-squirrel/lxc.log

Ok, so it's the monitor process of LXC that's keeping the log open. That's expected behavior.
I guess the question is why is it so large.
Can you show ls -lh /proc/38785/fd/?

Here you have:
# ls -lh /proc/38785/fd/
total 0
lrwx------ 1 root root 64 Apr 22 19:24 0 -> /dev/null
lrwx------ 1 root root 64 Apr 22 19:24 1 -> /dev/null
lrwx------ 1 root root 64 Apr 22 19:24 10 -> /dev/pts/0
lrwx------ 1 root root 64 Apr 22 19:28 11 -> '/var/snap/lxd/common/lxd/logs/known-squirrel/console.log (deleted)'
lr-x------ 1 root root 64 Apr 22 19:28 12 -> /sys/fs/cgroup/unified/lxc.monitor.known-squirrel
lr-x------ 1 root root 64 Apr 22 19:28 13 -> 'cgroup:[4026532650]'
lr-x------ 1 root root 64 Apr 22 19:28 17 -> /sys/fs/cgroup/unified/lxc.payload.known-squirrel
lrwx------ 1 root root 64 Apr 22 19:24 2 -> /dev/null
lrwx------ 1 root root 64 Apr 22 19:24 3 -> 'anon_inode:[eventpoll]'
lr-x------ 1 root root 64 Apr 22 19:28 30 -> 'user:[4026532369]'
lr-x------ 1 root root 64 Apr 22 19:28 31 -> 'mnt:[4026532370]'
lr-x------ 1 root root 64 Apr 22 19:28 32 -> 'pid:[4026532373]'
lr-x------ 1 root root 64 Apr 22 19:28 33 -> 'uts:[4026532371]'
lr-x------ 1 root root 64 Apr 22 19:28 34 -> 'ipc:[4026532372]'
lr-x------ 1 root root 64 Apr 22 19:24 4 -> 'net:[4026532375]'
lrwx------ 1 root root 64 Apr 22 19:24 5 -> 'anon_inode:[signalfd]'
lrwx------ 1 root root 64 Apr 22 19:24 6 -> /dev/ptmx
lrwx------ 1 root root 64 Apr 22 19:24 7 -> 'anon_inode:[eventpoll]'
l-wx------ 1 root root 64 Apr 22 19:24 8 -> '/var/snap/lxd/common/lxd/logs/known-squirrel/lxc.log (deleted)'
lrwx------ 1 root root 64 Apr 22 19:24 9 -> 'socket:[1392329180]'

Can you do: cat /proc/38785/fd/8 | gzip -9 > lxc.log.gz and attach that file?

I'm moving the issue over to liblxc as there's nothing LXD can do about this but we need to figure out what's causing excessive logging and solve it in liblxc.


feat: add wallet page

Describe the changes you have made in this PR
Add wallet page and update menu accordingly. Combine "receive", "send" and "transactions" into one single "wallet" page.
Link this PR to an issue [optional]
Fixes #2243
Type of change

feat: New feature (non-breaking change which adds functionality)

Screenshots of the changes [optional]

How has this been tested?
Manually
Checklist

[ ] My code follows the style guidelines of this project and performed a self-review of my own code
[ ] New and existing tests pass locally with my changes
[ ] I checked if I need to make corresponding changes to the documentation (and made those changes if needed)

This is a draft to be able to have a first look.
I copied the <BalanceBox> from PR to be able to test it. As soon as this PR is merged to master I will overwrite the component.
The "see all transactions" link is not implemented yet. It is not available on transactions page yet either. I think this should be done in a follow up PR. (actually there are issues already regarding this)

Hi,
If in all Alby places the name is "Account", why choose "Wallet" word? Thanks.

@lujakob I just merged #2236 :raised_hands: Feel free to continue with this one :wink:

@lujakob I just merged #2236 🙌 Feel free to continue with this one 😉

Yesss, awesome. I just noticed and am back on it 😀

@reneaaron I think this is ready for review as far as I can see now. Please have a look.
I did not change the active state color of the tabs header links "Outgoing" / "Incoming" as seen on the design, because I didn't know which color/class it is and I didn't find an example in the UI.
I don't have transactions in my Alby testnet accounts. Sending/receiving didn't work. (I wrote you a Telegram message)

@reneaaron I tested incoming/outgoing transactions with different lnbits accounts now and it works fine. Both are filtered by account now. From my point of view only the tab menu item active state color is missing now.

Awesome, thanks very much for your PR! Just did some first round of testing and worked great so far. :+1:

I did not change the active state color of the tabs header links "Outgoing" / "Incoming" as seen on the design, because I didn't know which color/class it is and I didn't find an example in the UI.

I think that's fine for now. We're currently working on new tab styles in #2240.
I'd prefer to keep the balance box on top of the buttons to better align this view with the popup. Possibly we need to limit the button size (they seem very huge to me on desktop), but we can do that in a followup PR. cc @stackingsaunter

You now removed the Transactions page. Wasn't the idea to link to this page with a See all link where we could display more of them (or at one day offer pagination / incremental loading)?

@reneaaron

I'd prefer to keep the balance box on top of the buttons to better align this view with the popup. Possibly we need to limit the button size (they seem very huge to me on desktop), but we can do that in a followup PR. cc @stackingsaunter

I moved the balance box on top.

You now removed the Transactions page. Wasn't the idea to link to this page with a See all link where we could display more of them (or at one day offer pagination / incremental loading)?

True. I didn't have this in mind anymore. I reverted the Transactions page component. In the wallet page the list is limited to 5 items. "See all transactions" navigates to /transactions/incoming or /transactions/outgoing according to the selected tab. I abstracted the fetching of transactions and invoices into hooks, as they are used in both wallet and transactions. The components look a lot cleaner now as well.

Yes, I think that's the idea. Very much like e.g. we also don't have 2 different receive screens for the popup / full view, they are just used on those different pages.

Yes, I think that's the idea. Very much like e.g. we also don't have 2 different receive screens for the popup / full view, they are just used on those different pages.

I refactored the DefaultView component accordingly and removed the Wallet component. Please have another look.
FYI: I added the isOptionsPage prop to be able to show the "Wallet" title on the options page. Initially I used a Tailwind CSS condition, then I noticed it doesn't work, because we always want to show the title on the options page, also for narrow screens.

Thanks very much for the update, that is a lot better now already. :+1:
However, I think we should get rid of most (if not all) differences between the two different views. (they add quite some complexity for no good reason IMO)
I would:

Remove the heading "Wallet" (also for the options page)
Have the same page size (10 is okay, also for the popup view, everything > 4 will be below the fold anyway and I don't think that's a problem)
Open the "see all transaction" links in the same context (don't open a new options page if you click them in the popup) I see the problem now, that would require us to handle those pages differently too, as they would need to have back buttons in the popup. Let's skip that for now and open the options page like you implemented it. :+1:

Some UI related things I noticed:

Do we want to add the wallet link to the dropdown here? It's just opening the same page really. If we do, I think we should add a proper wallet icon

The "see all transactions" links appear visually too separated to me (the tabs are closer to the transactions as the links in the bottom which makes me think this is an unrelated link)

The buttons are imo too huge (never seen this big buttons anywhere before 😅)

I'll check back with @stackingsaunter what we could do regarding the UI related things.

Remove the heading "Wallet" (also for the options page)

I removed it

Have the same page size (10 is okay, also for the popup view, everything > 4 will be below the fold anyway and I don't think that's a problem)

I don't understand what you mean by page size? I actually understand nothing of this sentence 😅

~Open the "see all transaction" links in the same context (don't open a new options page if you click them in the popup)~ I see the problem now, that would require us to handle those pages differently too, as they would need to have back buttons in the popup. Let's skip that for now and open the options page like you implemented it. 👍

Some UI related things I noticed:

Do we want to add the wallet link to the dropdown here? It's just opening the same page really. If we do, I think we should add a proper wallet icon

I removed it. I think Saunter also mentioned the same thing a while ago.

The "see all transactions" links appear visually too separated to me (the tabs are closer to the transactions as the links in the bottom which makes me think this is an unrelated link)
I adjusted the distance
The buttons are imo too huge (never seen this big buttons anywhere before 😅)

I'll check back with @stackingsaunter what we could do regarding the UI related things.

Yes let me know about it

@reneaaron @stackingsaunter any updates on this one? How would you like to modify the buttons?

Fixed some minor things and tested everything. Thanks very much @lujakob for the PR, great work! :muscle:
tACK

@reneaaron thanks for testing and doing the final updates. I merged master.

@reneaaron can we merge this? I have two dependency tickets waiting for this. Thx.


Missing "last" on Link header

Hi folks, first of all, thanks for providing this awesome resource.
Recently I updated the api-pagination from 4.8.1 to 4.8.2 and some unit tests started to fail.
We were used to receiving first, last, prev and next on the Link header. But after the upgrade to the last version the last option disappeared from Link header.
Let me know if I am doing any confusion and/or am missing any optional configuration. Also, I could provide more information if it's necessary.
Thank you.

Hey @seidelmaycon, is this for a Rails app or a Grape app?


stream_context_create in openDownloadStreamByFile returns null

I'm attempting to open a download stream for a gridfs file via the Bucket:
$resource = $bucket->openDownloadStream(new \MongoDB\BSON\ObjectID($_id));
$resource is always NULL. I traced this to the call to Bucket::openDownloadStreamByFile(), where stream_context_create() fails to create the context.
Any ideas what I'm doing wrong?

Might have been tired, but seems to be working. Closing for now.


[1.5] Fix setting names on gateways (#22062)

Manual cherry-pick of https://github.com/istio/istio/pull/22062.

Fix setting names on gateways

Update test files

Add default names, fix tests

@ostromart: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio_release-1.5
0e7a210e295722e5d1a40580bd8daa1d6fec7b47
link
/test gencheck_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio_release-1.5
0e7a210e295722e5d1a40580bd8daa1d6fec7b47
link
/test gencheck_istio_release-1.5

integ-pilot-local-tests_istio_release-1.5
0e7a210e295722e5d1a40580bd8daa1d6fec7b47
link
/test integ-pilot-local-tests_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio_release-1.5
0e7a210e295722e5d1a40580bd8daa1d6fec7b47
link
/test gencheck_istio_release-1.5

integ-pilot-local-tests_istio_release-1.5
0e7a210e295722e5d1a40580bd8daa1d6fec7b47
link
/test integ-pilot-local-tests_istio_release-1.5

integ-security-local-tests_istio_release-1.5
0e7a210e295722e5d1a40580bd8daa1d6fec7b47
link
/test integ-security-local-tests_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio_release-1.5
0e7a210e295722e5d1a40580bd8daa1d6fec7b47
link
/test gencheck_istio_release-1.5

integ-pilot-local-tests_istio_release-1.5
0e7a210e295722e5d1a40580bd8daa1d6fec7b47
link
/test integ-pilot-local-tests_istio_release-1.5

integ-security-local-tests_istio_release-1.5
0e7a210e295722e5d1a40580bd8daa1d6fec7b47
link
/test integ-security-local-tests_istio_release-1.5

unit-tests_istio_release-1.5
0e7a210e295722e5d1a40580bd8daa1d6fec7b47
link
/test unit-tests_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-local-tests_istio_release-1.5
0e7a210e295722e5d1a40580bd8daa1d6fec7b47
link
/test integ-security-local-tests_istio_release-1.5

unit-tests_istio_release-1.5
0e7a210e295722e5d1a40580bd8daa1d6fec7b47
link
/test unit-tests_istio_release-1.5

integ-pilot-local-tests_istio_release-1.5
e131d18f9b90f2a41dec0e9ffa7b1ecf49881790
link
/test integ-pilot-local-tests_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio_release-1.5
0e7a210e295722e5d1a40580bd8daa1d6fec7b47
link
/test unit-tests_istio_release-1.5

integ-pilot-local-tests_istio_release-1.5
e131d18f9b90f2a41dec0e9ffa7b1ecf49881790
link
/test integ-pilot-local-tests_istio_release-1.5

integ-security-local-tests_istio_release-1.5
e131d18f9b90f2a41dec0e9ffa7b1ecf49881790
link
/test integ-security-local-tests_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-local-tests_istio_release-1.5
e131d18f9b90f2a41dec0e9ffa7b1ecf49881790
link
/test integ-pilot-local-tests_istio_release-1.5

integ-security-local-tests_istio_release-1.5
e131d18f9b90f2a41dec0e9ffa7b1ecf49881790
link
/test integ-security-local-tests_istio_release-1.5

unit-tests_istio_release-1.5
e131d18f9b90f2a41dec0e9ffa7b1ecf49881790
link
/test unit-tests_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-local-tests_istio_release-1.5
e131d18f9b90f2a41dec0e9ffa7b1ecf49881790
link
/test integ-pilot-local-tests_istio_release-1.5

integ-security-local-tests_istio_release-1.5
e131d18f9b90f2a41dec0e9ffa7b1ecf49881790
link
/test integ-security-local-tests_istio_release-1.5

unit-tests_istio_release-1.5
e131d18f9b90f2a41dec0e9ffa7b1ecf49881790
link
/test unit-tests_istio_release-1.5

gencheck_istio_release-1.5
5ff1c0b28570d4a63119189ecae1ff322c34bf3a
link
/test gencheck_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-local-tests_istio_release-1.5
e131d18f9b90f2a41dec0e9ffa7b1ecf49881790
link
/test integ-pilot-local-tests_istio_release-1.5

unit-tests_istio_release-1.5
e131d18f9b90f2a41dec0e9ffa7b1ecf49881790
link
/test unit-tests_istio_release-1.5

gencheck_istio_release-1.5
5ff1c0b28570d4a63119189ecae1ff322c34bf3a
link
/test gencheck_istio_release-1.5

integ-security-local-tests_istio_release-1.5
5ff1c0b28570d4a63119189ecae1ff322c34bf3a
link
/test integ-security-local-tests_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-local-tests_istio_release-1.5
e131d18f9b90f2a41dec0e9ffa7b1ecf49881790
link
/test integ-pilot-local-tests_istio_release-1.5

unit-tests_istio_release-1.5
e131d18f9b90f2a41dec0e9ffa7b1ecf49881790
link
/test unit-tests_istio_release-1.5

gencheck_istio_release-1.5
5ff1c0b28570d4a63119189ecae1ff322c34bf3a
link
/test gencheck_istio_release-1.5

integ-security-local-tests_istio_release-1.5
5ff1c0b28570d4a63119189ecae1ff322c34bf3a
link
/test integ-security-local-tests_istio_release-1.5

lint_istio_release-1.5
5ff1c0b28570d4a63119189ecae1ff322c34bf3a
link
/test lint_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio_release-1.5
e131d18f9b90f2a41dec0e9ffa7b1ecf49881790
link
/test unit-tests_istio_release-1.5

gencheck_istio_release-1.5
5ff1c0b28570d4a63119189ecae1ff322c34bf3a
link
/test gencheck_istio_release-1.5

integ-security-local-tests_istio_release-1.5
5ff1c0b28570d4a63119189ecae1ff322c34bf3a
link
/test integ-security-local-tests_istio_release-1.5

lint_istio_release-1.5
5ff1c0b28570d4a63119189ecae1ff322c34bf3a
link
/test lint_istio_release-1.5

integ-pilot-local-tests_istio_release-1.5
5ff1c0b28570d4a63119189ecae1ff322c34bf3a
link
/test integ-pilot-local-tests_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio_release-1.5
5ff1c0b28570d4a63119189ecae1ff322c34bf3a
link
/test gencheck_istio_release-1.5

integ-security-local-tests_istio_release-1.5
5ff1c0b28570d4a63119189ecae1ff322c34bf3a
link
/test integ-security-local-tests_istio_release-1.5

lint_istio_release-1.5
5ff1c0b28570d4a63119189ecae1ff322c34bf3a
link
/test lint_istio_release-1.5

integ-pilot-local-tests_istio_release-1.5
5ff1c0b28570d4a63119189ecae1ff322c34bf3a
link
/test integ-pilot-local-tests_istio_release-1.5

unit-tests_istio_release-1.5
5ff1c0b28570d4a63119189ecae1ff322c34bf3a
link
/test unit-tests_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-local-tests_istio_release-1.5
5ff1c0b28570d4a63119189ecae1ff322c34bf3a
link
/test integ-security-local-tests_istio_release-1.5

integ-pilot-local-tests_istio_release-1.5
5ff1c0b28570d4a63119189ecae1ff322c34bf3a
link
/test integ-pilot-local-tests_istio_release-1.5

unit-tests_istio_release-1.5
5ff1c0b28570d4a63119189ecae1ff322c34bf3a
link
/test unit-tests_istio_release-1.5

lint_istio_release-1.5
98295ad83be8f7f822608b78c45faae8ed0ea120
link
/test lint_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-local-tests_istio_release-1.5
5ff1c0b28570d4a63119189ecae1ff322c34bf3a
link
/test integ-pilot-local-tests_istio_release-1.5

unit-tests_istio_release-1.5
5ff1c0b28570d4a63119189ecae1ff322c34bf3a
link
/test unit-tests_istio_release-1.5

lint_istio_release-1.5
98295ad83be8f7f822608b78c45faae8ed0ea120
link
/test lint_istio_release-1.5

integ-security-local-tests_istio_release-1.5
98295ad83be8f7f822608b78c45faae8ed0ea120
link
/test integ-security-local-tests_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio_release-1.5
5ff1c0b28570d4a63119189ecae1ff322c34bf3a
link
/test unit-tests_istio_release-1.5

lint_istio_release-1.5
98295ad83be8f7f822608b78c45faae8ed0ea120
link
/test lint_istio_release-1.5

integ-security-local-tests_istio_release-1.5
98295ad83be8f7f822608b78c45faae8ed0ea120
link
/test integ-security-local-tests_istio_release-1.5

integ-pilot-local-tests_istio_release-1.5
98295ad83be8f7f822608b78c45faae8ed0ea120
link
/test integ-pilot-local-tests_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio_release-1.5
98295ad83be8f7f822608b78c45faae8ed0ea120
link
/test lint_istio_release-1.5

integ-security-local-tests_istio_release-1.5
98295ad83be8f7f822608b78c45faae8ed0ea120
link
/test integ-security-local-tests_istio_release-1.5

integ-pilot-local-tests_istio_release-1.5
98295ad83be8f7f822608b78c45faae8ed0ea120
link
/test integ-pilot-local-tests_istio_release-1.5

unit-tests_istio_release-1.5
98295ad83be8f7f822608b78c45faae8ed0ea120
link
/test unit-tests_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio_release-1.5
98295ad83be8f7f822608b78c45faae8ed0ea120
link
/test lint_istio_release-1.5

integ-security-local-tests_istio_release-1.5
98295ad83be8f7f822608b78c45faae8ed0ea120
link
/test integ-security-local-tests_istio_release-1.5

integ-pilot-local-tests_istio_release-1.5
98295ad83be8f7f822608b78c45faae8ed0ea120
link
/test integ-pilot-local-tests_istio_release-1.5

unit-tests_istio_release-1.5
98295ad83be8f7f822608b78c45faae8ed0ea120
link
/test unit-tests_istio_release-1.5

gencheck_istio_release-1.5
0e7a210e295722e5d1a40580bd8daa1d6fec7b47
link
/test gencheck_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio_release-1.5
98295ad83be8f7f822608b78c45faae8ed0ea120
link
/test lint_istio_release-1.5

integ-pilot-local-tests_istio_release-1.5
98295ad83be8f7f822608b78c45faae8ed0ea120
link
/test integ-pilot-local-tests_istio_release-1.5

unit-tests_istio_release-1.5
98295ad83be8f7f822608b78c45faae8ed0ea120
link
/test unit-tests_istio_release-1.5

gencheck_istio_release-1.5
0e7a210e295722e5d1a40580bd8daa1d6fec7b47
link
/test gencheck_istio_release-1.5

integ-security-local-tests_istio_release-1.5
0e7a210e295722e5d1a40580bd8daa1d6fec7b47
link
/test integ-security-local-tests_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio_release-1.5
98295ad83be8f7f822608b78c45faae8ed0ea120
link
/test lint_istio_release-1.5

unit-tests_istio_release-1.5
98295ad83be8f7f822608b78c45faae8ed0ea120
link
/test unit-tests_istio_release-1.5

gencheck_istio_release-1.5
0e7a210e295722e5d1a40580bd8daa1d6fec7b47
link
/test gencheck_istio_release-1.5

integ-security-local-tests_istio_release-1.5
0e7a210e295722e5d1a40580bd8daa1d6fec7b47
link
/test integ-security-local-tests_istio_release-1.5

integ-pilot-local-tests_istio_release-1.5
0e7a210e295722e5d1a40580bd8daa1d6fec7b47
link
/test integ-pilot-local-tests_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio_release-1.5
98295ad83be8f7f822608b78c45faae8ed0ea120
link
/test unit-tests_istio_release-1.5

integ-pilot-local-tests_istio_release-1.5
0e7a210e295722e5d1a40580bd8daa1d6fec7b47
link
/test integ-pilot-local-tests_istio_release-1.5

integ-security-local-tests_istio_release-1.5
1dbaa5dac225d219b42452d928f533e091d71f01
link
/test integ-security-local-tests_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio_release-1.5
98295ad83be8f7f822608b78c45faae8ed0ea120
link
/test unit-tests_istio_release-1.5

integ-security-local-tests_istio_release-1.5
1dbaa5dac225d219b42452d928f533e091d71f01
link
/test integ-security-local-tests_istio_release-1.5

integ-pilot-local-tests_istio_release-1.5
1dbaa5dac225d219b42452d928f533e091d71f01
link
/test integ-pilot-local-tests_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-local-tests_istio_release-1.5
1dbaa5dac225d219b42452d928f533e091d71f01
link
/test integ-security-local-tests_istio_release-1.5

integ-pilot-local-tests_istio_release-1.5
1dbaa5dac225d219b42452d928f533e091d71f01
link
/test integ-pilot-local-tests_istio_release-1.5

unit-tests_istio_release-1.5
1dbaa5dac225d219b42452d928f533e091d71f01
link
/test unit-tests_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-local-tests_istio_release-1.5
1dbaa5dac225d219b42452d928f533e091d71f01
link
/test integ-security-local-tests_istio_release-1.5

integ-pilot-local-tests_istio_release-1.5
1dbaa5dac225d219b42452d928f533e091d71f01
link
/test integ-pilot-local-tests_istio_release-1.5

unit-tests_istio_release-1.5
1dbaa5dac225d219b42452d928f533e091d71f01
link
/test unit-tests_istio_release-1.5

integ-istioio-k8s-tests_istio_release-1.5
1dbaa5dac225d219b42452d928f533e091d71f01
link
/test integ-istioio-k8s-tests_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-istioio-k8s-tests_istio_release-1.5
b1fff5ccceec610aec8b96c90861fcafa9a681de
link
/test integ-istioio-k8s-tests_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-istioio-k8s-tests_istio_release-1.5
b1fff5ccceec610aec8b96c90861fcafa9a681de
link
/test integ-istioio-k8s-tests_istio_release-1.5

integ-security-k8s-tests_istio_release-1.5
b1fff5ccceec610aec8b96c90861fcafa9a681de
link
/test integ-security-k8s-tests_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-istioio-k8s-tests_istio_release-1.5
/test integ-security-k8s-tests_istio_release-1.5


Issues with specifying connections for ORM

I have trouble with orator managing different models that have different DB connections. The mysql driver has no issues, but the postgres driver requires me to refresh a lot to have it displayed. I have 8 models that have one connection (postgres) and 2 models that use a different connection (mysql). I think it is because of Orator looking for a default connection key.

DATABASES = {
	'default': {
       'driver': os.environ.get('CONNECTION1_DB_DRIVER'),
       'host': os.environ.get('CONNECTION1_DB_HOST'),
       'database': os.environ.get('CONNECTION1_DB_DATABASE'),
       'user': os.environ.get('CONNECTION1_DB_USERNAME'),
       'password': os.environ.get('CONNECTION1_DB_PASSWORD'),
       'prefix': ''
   },
   'connection_2': {
       'driver': os.environ.get('CONNECTION2_DB_DRIVER'),
       'host': os.environ.get('CONNECTION2_DB_HOST'),
       'database': os.environ.get('CONNECTION2_DB_DATABASE'),
       'user': os.environ.get('CONNECTION2_DB_USERNAME'),
       'password': os.environ.get('CONNECTION2_DB_PASSWORD'),
       'prefix': ''
   },
}

DB = DatabaseManager(DATABASES)
Model.set_connection_resolver(DB)

This configuration works. One of the connections had to be "default". I tried a different name with this connection and it failed. I had to refresh a MILLION times before the page loaded correctly.


Typo in docs

https://htpy.dev/usage/#idclass-shorthand
>>> from htpy import div
>>> print(div(".foo.bar"))

should print class and not div

Thanks for reporting! It is fixed and updated in the docs now!


Receive updates from Sonoff Camera

I just installed a Sonoff Camera GK-200MP2-B and i'm trying to get motion detected updates but couldn't make it work.
After a getDevices() i get this about the camera:
{ group: '',
online: true,
shareUsersInfo: [],
groups: [],
devGroups: [],
_id: '5e5003069145e10008ed',
name: 'Camera Sonoff',
type: 'a6',
deviceid: 'a620001a03',
apikey: 'b53faefe-xxxx-xxxx-a380-7c3b27c0xxxx',
params:
{ partnerDevice: [Object],
bindInfos: [Object],
version: 7,
romVersion: '24520191030' },
extra: { extra: [Object], _id: '5e5003069145e10008xxxxxx' },
createdAt: '2020-02-21T16:19:18.857Z',
__v: 0,
onlineTime: '2020-02-28T12:42:35.370Z',
ip: '179.54.x.x',
location: '',
offlineTime: '2020-02-27T19:16:54.632Z',
deviceStatus: '',
sharedBy:
{ email<EMAIL_ADDRESS>apikey: 'b53faefe-xxxx-xxxx-a380-7c3b27c0xxxx',
permit: 15,
shareTime:<PHONE_NUMBER>238 },
devicekey: '290ba8dd-xxxx-xxxx-xxxx-6d706694f070',
deviceUrl: '',
brandName: 'coolkit',
showBrand: true,
brandLogoUrl: '',
productModel: 'GK-200MP2B',
devConfig: {},
uiid: 87 }
Did anyone make it work?
Tks,
Fernando

fcsegalla, so you have any news about it?

I too would be interested in the result of this for my homebridge plugin.
I own the sonoff camera but have not managed to implement motion detection notifications!

We are talking about ewelink dsk .net platorm, to develop a webapp to control the devices, I can do that with some devices, but I don't have information about the camera.


Your semantics are wrong, you've implemented "throttle" not "debounce".

Debounce would need the ability to cancel initiated promises, a debounce should return the latest complete call.
What you have here is a throttle.

Thanks, I will rename the package to something more appropriate. Do you have any suggestions? promise-throttle is already taken (it has rate-limiting semantics, rather than "first wins").

Generally people will want to throttle according to a time period rather than due to completion of the corresponding promise and this is how throttle/debounce is implemented in every library I've used (lodash, underscore, Kefir, Bacon.js and rx.js).
To me your use case maybe feels like "atMostOneRunning" rather than "throttle" maybe.

@jaz303 i fall into this issue because i used your library thinking it did a debounce on promises :(. Rename it please or actually implement debounce instead of current behaviour


Random SendData Error

Keep seeing this error in console with no noticeable effects in game. It seems to happen just after player joins, but maybe not immediate.

2/8/2015 11:37:30 PM Pool> SendData error: System.NotImplementedException: NewNetMessage.KillTile()
at tdsm.core.Messages.Out.NewNetMessage.SendData (Int32 packetId, Int32 remoteClient, Int32 ignoreClient, System.String text, Int32 number, Single number2, Single number3, Single number4, Int32 number5) [0x00000] in :0
2

Odd thing is, it only seems to happen for my friend, not me.

Is this still occurring? I may have fixed it and forgotten....I see there is an implementation there now.

Nope haven't seen it since.


Show calendar when clicking on date

Hi,
would it be possible or is there any way to get calendar, when clicking on date?
If you want to jump to a specific date, it take a long time to click trough the days.
Perhaps similar like "Energy Period Selector Plus" can be used for history-explorer-card?
BR
Thomas

As an alternative you can always 'zoom out' so you have say a year on the timeline, and the  you can use the magnifying glass icon in zoom back in to the date range you want.
I realise this isn't exactly what you describe, but it would generally be faster than clicking through days one at a time.

Hi,
thanks, this might be good, when you have the default 14 days data, but I have increased data to 730 days.
Right now I have ~9 month data and this will take too long.
For me a calendar or two date+time boxes were fantastic.


chore(release): 0.14.0

Types of changes
What kind of change does this PR introduce? (check at least one)

[ ] Breaking change
[ ] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactoring
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[x] Other... Please describe:

Release v0.14.0
Description

Issue Number: N/A

Codecov Report

Merging #139 into master will decrease coverage by 0.51%.
The diff coverage is 88.88%.

@@            Coverage Diff             @@
##           master     #139      +/-   ##
==========================================
- Coverage   88.94%   88.42%   -0.52%
==========================================
  Files          20       20
  Lines         208      216       +8
  Branches       45       43       -2
==========================================
+ Hits          185      191       +6
- Misses         18       19       +1
- Partials        5        6       +1

Impacted Files
Coverage Δ

src/lib/getConfig.ts
83.33% <0%> (-16.67%)
:arrow_down:

src/MockServer.ts
98.3% <100%> (-1.7%)
:arrow_down:

Continue to review full report at Codecov.

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


Upgrade release drafter to v5.19.0

includes new collapse-after mode to automatically collapse long lists of dependency updates
includes a fix for unmerged PRs sometimes appearing (https://github.com/release-drafter/release-drafter/pull/1015)
renamed GHA workflow file for DX reasons: the previous filename was being identified for JSON schema validation as a release drafter config file rather than as a GHA workflow. With the changed filename, IDE validation and autocompletion are now actually helpful.

@kiview this is for you 😄

This is a duplicate of #5157, or?

Closing as duplicate


Writing frames returns -1

Is there some way to check what a return code means?
I currently create a RTMPMuxer like so RTMPMuxer rtmpMuxer = new RTMPMuxer(); and open it using
int res = rtmpMuxer.open("rtmp://<url>", 1810, 1080);
I then try to send frames from the Android camera (NV21 format) using rtmpMuxer.writeVideo(arr, 0, arr.length, (int) System.currentTimeMillis()) where arr is the byte[] from the camera. But this returns -1.
I checked rtmpMuxer.isConnected() == 1 and that returns true, so it is connected.
How can I debug it not sending frames?

make sure that video and audio packets are synched correctly and monotically increasing.
If you are sure that is synched correctly, we should go deeper to find out what the problem is.
Sorry for tha late reply

I got the same problem too but when I got result from rtmpMuxer.writeVideo() equals to -1, my rtmpMuxer.isConnected() will be 0

I forgot about my little project and recently came across it again using this library. I have tried and still failed to get it to work. This time I tried to stream to Twitch using the following function (to test):
private void startStream() {
        Log.e("mux", "STARTING");
        new Thread(new Runnable() {
            @Override
            public void run() {

                rtmpMuxer = new RTMPMuxer();
                int result = rtmpMuxer.open(String.format("rtmp://live.twitch.tv/app/%s?no_archive", STREAM_KEY), 720, 480);

                Log.e("mux", "result: " + result);
                byte[] data = new byte[1024];

                if(rtmpMuxer.isConnected() == 1) {
                    for (int i = 0; i < 100; i++) {
                        Log.e("video", "" + rtmpMuxer.writeVideo(data, 0, 1024, i));
                        Log.e("audio", "" +rtmpMuxer.writeAudio(data, 0, 1024, i));
                        try {
                            Thread.sleep(1000);
                        } catch (InterruptedException e) {
                            e.printStackTrace();
                        }
                    }
                } else {
                    Log.e("rip", "" + rtmpMuxer.isConnected());
                }

                rtmpMuxer.close();
            }
        }).start();
    }

This prints in the log:
03-23 22:16:07.095 5980-5980/com.lfdversluis.androidrtmpteststream E/mux: STARTING
03-23 22:16:12.256 5980-6033/com.lfdversluis.androidrtmpteststream E/mux: result: 134
03-23 22:16:12.257 5980-6033/com.lfdversluis.androidrtmpteststream E/video: -1
03-23 22:16:12.257 5980-6033/com.lfdversluis.androidrtmpteststream E/audio: 0
03-23 22:16:13.257 5980-6033/com.lfdversluis.androidrtmpteststream E/video: -1
03-23 22:16:13.258 5980-6033/com.lfdversluis.androidrtmpteststream E/audio: 0
03-23 22:16:14.258 5980-6033/com.lfdversluis.androidrtmpteststream E/video: -1
03-23 22:16:14.259 5980-6033/com.lfdversluis.androidrtmpteststream E/audio: 0
etc.
Any idea how to debug this?

Hello, I am getting the same error, even I am doing it correctly before I was using FFmpeg to encode video for YouTube live but that was too slow.I thought of using your library but its giving same error as above -1 .

You are sending it to youtube and you get this error. Could you please provide some sample code so that I can try to find out what the problem is?

Hi.
I am experiencing the same same issue as @lfdversluis. The audio data is certainly reaching the server, but the video is not. I send test data just as @lfdversluis .
Any ideas on how to deal with it would be great! I am trying to solve the problem and I will update If I come up with any solution.
Br :)

return -1 means server does not accept the connection or drop the connection.
How do you use ffmpeg? @karanatwal
@lfdversluis how do you encode data, do you use LiveVideoBroadcaster or something else?
If you do not use, I can offer you the tool - LiveVideoBroadcaster we have developed.  Recently, I have fixed a bug in this library. I am just waiting the client to test and approve the fix. If you use this tool, I will become more eligible to help.
You may also want to take a look at this blog post: How to develop live streaming mobile app in 3 steps.

I use ffmpeg as given in Youtube sample app also i was able to stream by this code on Facebopok ,but it was too slow , then i tried your code for both youtube and facebook , it was giving me -1 exactly same as @lfdversluis. after that i ends up in using this https://github.com/begeekmyfriend/yasea .Now i can stream smoothly on youtube and fb.

@karanatwal, I see, what did you use to encode data? LiveVideoBroadcaster?

@mekya  I used these steps simply -
#####To publish streams, you can call below functions of RtmpMuxer from Java#####

public native int open(String url, int width, int height); : First, call this function with the url you plan to publish. Width and height are the width and height of the video. These two parameters are not mandatory. They are optional. They put width and height values into the metadata tag.
public native int writeVideo(byte[] data, int offset, int length, int timestamp);: Write h264 nal units with this function
public native int writeAudio(byte[] data, int offset, int length, int timestamp);: Write aac frames with this function
public native int close();: Call this function to close the publishing.
public native int isConnected();: Call this function to query the connection status. Returns 1 if connected, returns 0 if not connected

these were given in readme section of this repo

I just mean how you encode raw data to h264 nal unit.  You must have used something like ffmpeg or hardware encoder with this LibRtmp Client for Android library. I just wondered, it is not a critical point.

I got it now , i was using encoder wrongly thats why video is not getting ,my encoder is not encoding to h264 correctly ,I will fix it later but for now i am interested in using your  LiveVideoBroadcaster ,so i am working on it.

Closing this issue now, please feel free to reopen or comment ;)

Hi,
Could you please look at this fragment of code?
this is a onActivityResult method of my activity
`    @Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if(requestCode == 1 && resultCode == RESULT_OK) {
Uri videoUri = data.getData();
InputStream inputStream = getInputStreamFromUri(videoUri, getContentResolver());
        rtmpMuxer.open("rtmp://<IP_ADDRESS>/live/Gg", 320, 240);

        byte[] chunk = new byte[4096];
        int counter = 0;
        try {
            while (inputStream.read(chunk, 0, 4096) > 0) {
                counter++;
                System.out.println("video succeeded " + rtmpMuxer.writeVideo(chunk, 0, 4096, counter));
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
    }`

So, the server I am broadcasting to works fine, I have tested it, and the file that is represented as inputStream and then divided into chunks is a .h264 file. I got it by using ffmpeg on an .mp4 file.
However the writeVideo fails to send most of the chunks.  Do you have any idea how to solve it? Any advice will be higly appriciated.
I tried LiveVideoBroadcaster and it works great, but it doesn't fit what I need because my goal is to send files from android storage.

Hi,
Could you please look at this fragment of code?
this is a onActivityResult method of my activity:
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    super.onActivityResult(requestCode, resultCode, data);
    if(requestCode == 1 && resultCode == RESULT_OK) {
        Uri videoUri = data.getData();
        InputStream inputStream = getInputStreamFromUri(videoUri, getContentResolver());

        rtmpMuxer.open("rtmp://<IP_ADDRESS>/live/Gg", 320, 240);

        byte[] chunk = new byte[4096];
        int counter = 0;
        try {
            while (inputStream.read(chunk, 0, 4096) > 0) {
                counter++;
                System.out.println("video succeeded " + rtmpMuxer.writeVideo(chunk, 0, 4096, counter));
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

So, the server I am broadcasting to works fine, I have tested it, and the file that is represented as inputStream and then divided into chunks is a .h264 file. I got it by using ffmpeg on an .mp4 file.
So my goal here is to read the file from android external storage, and then broadcast it
chunk by chunk.
However the writeVideo fails to send most of the chunks.  Do you have any idea how to solve it? Any advice will be higly appriciated.
I tried LiveVideoBroadcaster and it works great, but it doesn't fit what I need because my goal is to send files from android storage.

No success with NAL units from a DJI drone. Open fine, connect fine (at least for a while), first chunk is sent then it falls back to disconnected
Does the lib expect NAL units or a NAL unit stream?

Thank you @neilyoung

@mekya You're welcome. However, until now I couldn't make it work. With neither RTMP server.. :(
See also https://github.com/ant-media/LibRtmp-Client-for-Android/issues/103
Maybe you have an idea what to check. Meanwhile I managed to include this project at source level into mine, so I hope I will be able to find the issue by debugging.

Hi @neilyoung ,
I see.
Have you tried the Ant Media Server? You can use the community version. Because generally we're testing this lib with Ant Media Server.
Secondly, I've experienced some kind of parameters issue in one of the rtmp servers. As far as I remember,  in the problem has been resolved by providing "flashver" to the librtmp . Take a look at the connection parameters -> https://linux.die.net/man/3/librtmp
You may need to set these parameters programmatically in the C code.
Please let me know if it helps.

Hi Ahmet,
Thanks for the follow up. I will try the Ant Media Server (if there is a free Mac version).
Right now I have managed to create a simpler test application, which includes your project from source. I'm not using a real H.264 source for it, but a file, which I took from here https://github.com/usunyu/librtmp-publish-h264-sequence/tree/master/librtmp-publish-h264-sequence/h264 (the first).
This starts with an SPS (0x27), followed by PPS (0x28) and an ID Frame (0x25) plus some packets. The node-media-server reacts like before: Complaining about "packet parse error".
But what baffles me a bit: I was following the way of the first 0x27 packet, which also has a length of 27 bytes down the way to the native write_video.

I'm no wondering about the fact, that the code obviously expects to see more than just one NAL unit in the buffer, because it returns with -1 for the first packet
03-30 13:44:04.227 19013 19096 D Test    : Send NAL buffer, len 27, type 0x67, first bytes: 00 00 00 01 67 64 00 1f ac 2b -> -1

This seems to be by intention, if I trust this line (and in fact the "No NAL after SPS" appears
https://github.com/ant-media/LibRtmp-Client-for-Android/blob/b853f185640ab75b840871ed088e117cf397dfa2/rtmp-client/src/main/cpp/flvmuxer/xiecc_rtmp.c#L532
If this code requires to always have at least 2 NAL Units in the buffer, then this is a little game changer. Can you confirm that?

OK, I the flashver doesn't seem to make a difference. Currently not installed AntMedia yet, but I have annotated the rtmp_sender_write_video_frame routine a bit after each RTMP_Write in order to check the results there. The len provided to RTMP_Write seems always 20 byte larger than the original NAL unit. I think that's ok.
However, the far end considers this as "malformed packet", as well as Wireshark does. Somewhere after the first few packets (mostly after the first) the remote closes the connection and traces complains.
If I don't target AntMedia, I suppose, this lib is not working for me. Too bad :(

I'm also a bit confused about the install instructions for AntMedia Server: This source https://antmedia.io/what-is-rtmp-server-how-to-set-up-a-free-rtmp-server/#:~:text=comparison table here.-,How,-to set up
states:
Community Edition can be downloaded from here.
If I clone the repo there is a missing link. No zip to install :(

OK, finally solved it. See thread https://github.com/ant-media/LibRtmp-Client-for-Android/issues/103

Hi @neilyoung ,
The community edition's zip file is available on Releases
https://github.com/ant-media/Ant-Media-Server/releases
FYI


touchegg: 2.0.12 -> 2.0.13

Motivation for this change
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

The following content is machine generated and may contain invalid information.

touchegg (2.0.12 → 2.0.13)

[ ] window-system: Add a method to get the connection name
[ ] client-lock: Allow to run in multiple X displays
[ ] touch-handler: Improve pinch detection when the fingers are placed horizontally or vertically
[ ] Add 2 finger web browser navigation FAQ
[ ] Typo
[ ] Add link to FAQ
[ ] Add link to FAQ
[ ] RepeatedAction: Document protected fields
[ ] RepeatedAction: Use a double to store the repeat accumulated percentage
[ ] RepeatedAction: Move the repeat step to a member variable
[ ] Allow to configure the number of times a repeated action is executed
[ ] RepeatedAction: Document the times parameter
[ ] Happy 2022
[ ] Update to v2.0.13

@ofborg build touchegg pantheon.touchegg

Result of nixpkgs-review pr 154102 run on x86_64-linux 1

8 packages built:

gnomeExtensions.x11-gestures
pantheon.elementary-greeter
pantheon.switchboard-plug-mouse-touchpad
pantheon.switchboard-with-plugs
pantheon.touchegg
pantheon.wingpanel-applications-menu
pantheon.wingpanel-with-indicators
touchegg


The new GoogleCloudFunction destination is not supported in @commercetools/platform-sdk 4.5.0

Currently I am using the following workaround
/**
 * Use extensionDraft:any instead of ExtensionDraft until they
 * add GoogleCloudFunction to the SDK
 */
const extensionDraft: any = {
    key: "tt-order-checker",
    destination: {
        type: "GoogleCloudFunction",
        url: "https://europe-west1-ct-support.cloudfunctions.net/training-extensions-sample"
    },
    triggers: [{
        resourceTypeId: "order",
        actions: ["Create"]
    }]
}

@sfernengel
This has been fix here
Update your @commercetools/platform-sdk package to the latest release.
Thanks


a spell err in mc_woker.erl

in fun handle_info line 93
handle_info({NetR, _Socket, Reason}, State) when NetR =:= tcp_errror; NetR =:= ssl_error ->
tcp_errror should be tcp_error
by the way, in my work system,sometimes connection after mongos switch cannot be realize,they would do nothing, util use them will return etimeout and waste 10min, connection not reconnect may because of my mongos framework, is there some way i can do ,check connection or waste a litte time not 10min

Typo fixed, thanks!
Connections should reconnect or kill.
Can you describe the problem step-by-step?
I'll try to reproduce it.

thanks for your repply, i will try describe
my mongos has one special different, 3 mognos with 3 mognod, and 3 config_server, every mognos has all mongod, at one time, only one mongod used, all normal
the special point is beyond 3 mongos, there has a Load Balance decide use which mongos
so  my mongo:connect args is the {single,Host}, the Host lead to Load Balance, not the 3 mongos,
when master mongod crashed, another mongod will became master,  but when the first mognod restart, the  first will became master back, the switch is by config, config mark the first mongod should be master , but any switch will make the socket mc_woker owned can't use, only when called some will recive tcp_error, but most will recieve nothing, so when use them the mc_worker will hang on, now i set  mc_worker_call_timeout 60 sec
to deal the problem, but still will waste time and bad connections reconnect only when use them and after 60 sec, so when swicth happend, i only can call a fun to disconnect connections not using by man made, and i have to deal if mongo set return error , try again or wait
seems the problem is Load Balance  make connections can receive soket err msg
next i will try use mongoc:connect with { sharded,  ["hostname1:port1", "hostname2:port2"] }  direct connect mongos
hope will useful
i have a extra quetion is  when use single with one mongod restart, is mc_worker can realized and kill self to reconnect, or do_nothing is the current way, only want know what current code want, not mean do_nothing is bad :)


WIP: Send JSON-encoded plugin call in http request body

connects skygeario/py-skygear#82

@cheungpat, thanks for your PR! By analyzing the annotation information on this pull request, we identified @rickmak to be a potential reviewer

@ben181231 please see if this PR will cause conflict to your side

@cheungpat Seems fine. Just a little bit conflict. Can be resolved.
Will you also refactor the exec transport to use plugin/request ?
On my side, I will remove RunInit() and merge it as an event.

Will you also refactor the exec transport to use plugin/request ?

no

Picked as 0982212