text:
Test Issue - vnuas

Test Body - ovqsxwsuau

Test Comment - cswhg


text:
Test Issue - lkfqj

Test Body - crxinfaztg

Test Comment - gmahg

source: gharchive/issue

repo: qlikqaa/dummyrepo

license: MIT

license_type: permissive

license_source: github-api


text:
Test Issue - yybkb

Test Body - gvmqlukubt

Test Comment - llnym


text:
Test Issue - appec

Test Body - toqjgbxzvh

Test Comment - zcycm


text:
Test Issue - brzmk

Test Body - kajorskygb

Test Comment - sujwz


text:
Test Issue - uwyff

Test Body - fkjeaygznw

Test Comment - vtivg


text:
Test Issue - wvlmh

Test Body - cugaxhmzkq

Test Comment - tsbud


text:
Test Issue - ywgan

Test Body - rdkfengpic

Test Comment - kobpe


text:
Test Issue - smpha

Test Body - xirmnvhtkf

Test Comment - unrki


text:
Test Issue - exflb

Test Body - eepcnmdlrt

Test Comment - jfdjr


text:
Test Issue - jsdfe

Test Body - ngaxphtddy

Test Comment - oxphk


text:
Test Issue - qbrko

Test Body - jaywcipvga

Test Comment - xmavk


text:
Test Issue - nefum

Test Body - wolwkocxwb

Test Comment - onlmi


text:
Test Issue - ymoai

Test Body - qvrittqqnw

Test Comment - ylsdx


text:
Test Issue - empiu

Test Body - chpmdndxpd

Test Comment - lkbzb


text:
Test Issue - neejy

Test Body - uzwbgzeddx

Test Comment - yhgni


text:
Theme: Forced scroll down in Mailman module

Hi, after upgrade from 18.20 to 18.31 I saw a problem when going to Services - Mailing Lists - Manage. It loads the Mailman admin interface into the Virtualmin interface. Then, if you go to "Membership Management..." the page automatically scroll down and lock there. Is not possible to scroll up to access to the options menu or select the first addresses in the suscribers list.
I don't see the issue in others sections of the Mailman web admin.
If you click on any link the browser show the pop-up warning about to leave the page.
The issue is not present if you load the Mailman web interface outside of Webmin using the link in the list name or using the link like https://example.org:10000/virtualmin-mailman/unauthenticated/admin.cgi/listname/members
Tested with Webmin 1.821, Virtualmin 5.05 Pro and Authentic Theme 18.31, on a server with Debian 7.
Client software: Mac OS X 10.11.6 + Chrome 55.0.2883.87 (64-bit) + Firefox 45.6.0 ESR

Tested too with Windows 10 + Chrome 54.0.2840.99 + Firefox 50.02

Hi,
Where do I get the mailman? I will try to reproduce it tomorrow and fix it.

You could also try to add thus modules to excludes on theme settings.
If you open right frame source, what is the page's URL?

the frame URL is https://host.example.org:10000/virtualmin-mailman/admin.cgi/listname/members
It is a module from Virtualmin, in Debian is the package webmin-virtualmin-mailman (version 6.3)

OK. Did you try to add mailman to exclusion list?

Yes, I tried it wih no success, same result. I added to exclude list the module, calling it virtualmin-mailman and mailman. Then clear cache in theme settings, empty browser cache and restart webmin.
Could it be that he is not really being excluded? The HTML style is a few different when you load the Mailman interface outside Webmin with the direct link https://example.org:10000/virtualmin-mailman/unauthenticated/admin.cgi/listname
Inside Webmin the right frame is loading https://example.org:10000/virtualmin-mailman/admin.cgi/listname

I'm exactly picking on mailman right now. When I click that Membership Management, it just opens things in the new window.

Have a look what I got: http://rostovtsev.ru/pub/src/authentic/18.31-patch/mailman_613.webm

Stay tuned, let's have it sorted out, before next Webmin release.

Actually it's not important bacause exclusion function didn't work correctly. Let me fix it and I will ask you to change one .js file, reset cache and try again.

OK, I'm stay tuned, thanks.

Please download init.min.js and place it into your theme installation and make sure to hard reset cache in browser. If you're using Chrome, just open console, then hover and hold reload button (usually top let part of the screen, near URL bar) and then select Epmty cache and hard reload.
It should just work after all. Don't forget to add your module to exclusion list.

init.min.js

Thanks!, it worked. I replaced /usr/share/webmin/authentic-theme/unauthenticated/js/init.min.js with the new one and maintain virtualmin-mailman in exclusion list.

Good to know. :+1:
However, I don't understand why it works without exclusion on my side and doesn't on your's.
What do you have in the footer on that URL /virtualmin-mailman/admin.cgi/listname/members?
Do you have this:
<script src="/unauthenticated/js/postinit.min.js?1831"></script><script>___authentic_theme_footer___ = 1;</script>
<script src="/unauthenticated/js/content.min.js?1831"></script>

Yes, I have the same
<script src="/unauthenticated/js/postinit.min.js?1831"></script><script>___authentic_theme_footer___ = 1;</script>
<script src="/unauthenticated/js/content.min.js?1831"></script>

I think it's because you're using it as unauthenticated. How did you set it up?

I think I done nothing special, but is a server installed 8 year ago and upgraded from Debian 4.
I see Virtualmin adds the following rules in Virtualhost.
RedirectMatch /cgi-bin/mailman/([^/]*)(.*) https://example.org:10000/virtualmin-mailman/unauthenticated/$1.cgi$2
RedirectMatch /mailman/([^/]*)(.*) https://example.org:10000/virtualmin-mailman/unauthenticated/$1.cgi$2
Could be related?

Yes, very likely.
Anyway. It seems to be working fine now.
Thanks for reporting.

here my Mailman module config, if you want to check

I have the same one.

repo: qooob/authentic-theme


text:
Merging application and non-application themes

The skeleton has always provided a custom theme with appearance, decoration, etc which inherit from a base theme, but would it be better if we simply used the standard theme directly?  IE not create myapp/theme/* at all and in compile.json just specify the application theme as "qx.theme.Indigo".
My thought is that if you want to change the theme you're going to have to sit down and read the docs anyway so removing it would make the skeleton app simpler to understand and get started with, and removes cruft for more experienced users.

Changed title to reflect the direction of the discussion.
This seems to be an important issue, but doesn't seem completely trivial. @johnspackman, what are the chances you can implement this (I don't think anyone else can do it) before release of v6?

@johnspackman Revisiting this, because I just had the problem how to import the Dialog package's theme with icon aliases into the eventrecorder. This is how I am currently solving it, hardly ideal:
https://github.com/cboulanger/eventrecorder/blob/cf666f29e163ca34c0b0385cc044eb39f2f81a94/source/class/cboulanger/eventrecorder/UiController.js#L157
The immediate problem for me is the package's icon theme - but a solution should of course be more comprehensive and include all aspects of the plugged-in theme. Maybe it should be some property of Manifest.json/provides  which would indicated that a theme is to be exported and to be integrated in the including app?

Another (additional) way could be to have compile.json/applications[].theme optionally take an array of theme classes. However, this would require manually updating compile.json. On the other hand, the Dialog package is a case where you can choose from different icon themes, which resolve the aliases to different icons. So the compile must know which icon theme to use. Probably we therefore need some sort of "default" mode where the package's default theme settings are used, with the possibility to override those in the application.

This is probably not going to happen for v6, is it @johnspackman ?

authors: cboulanger johnspackman

repo: qooxdoo/qooxdoo-compiler


text:
Game error handling

OS: OpenSuse
Some libraries were missing on my system (libSDL2_mixer, libSDL2_ttf) and
when I pressed "Play" there is no sign of error. I have to manually start cataclysm-tiles to see the error
If game failed to start stderr should be copied to log.

For SDL, this is the norm, by the way. An extremely moronic system.

I have same issue, Though I use Linux Mint the game does not start up.

Follow https://github.com/qrrk/Catapult?tab=readme-ov-file#installation if there are further issues, open a new one.

authors: AriaMoradi VladicusMagnus coolmanabdul sadSader

repo: qrrk/Catapult


text:
특수문자가 포함된 제목의 브이앱 다운로드 불가 이슈

덥죠?!러블리즈가 시원하게해줄게욥??.mp4 (파일 이름, 디렉터리 이름 또는 볼륨 레이블 구문이 잘못되었습니다)
[java.io.FileOutputStream.open0(Native Method), java.io.FileOutputStream.open(Unknown Source), java.io.FileOutputStream.(Unknown Source), java.io.FileOutputStream.(Unknown Source), kr.projectn.vdl.utils.HttpUtil.writeFile(HttpUtil.java:181), kr.projectn.vdl.module.vlive.VOD.Run(VOD.java:133), kr.projectn.vdl.module.ModuleLoader.loadModule(ModuleLoader.java:31), kr.projectn.vdl.application.VDLMain.main(VDLMain.java:185)]
확인부탁드립니다

http://www.vlive.tv/video/36618
얘도 안되네요..

버그 맞네요 수정 했습니다 :)
https://github.com/qscx9512/vdl-java/releases/tag/v2.0-u1

license_source: bigquery


text:
support 'yield' statements

Yield support would be a nice addition.
Pyjamas and Skulpt support yield statements, so it is definitely possible. Skulpt is released under MIT and Pyjamas uses ASL, so there is no harm in looking at the solution they use.
http://pyjs.org/
http://www.skulpt.org/
def test():
    for i in range(1,100):
        yield i

print list(test())

Use the above in the interactive input box on the skulpt.org homepage to see yield support.

I definitely agree.

authors: certik thenewguy

license: mit


text:
🛑 otakusan is down

In 26f730c, otakusan (https://otakusan.net/LightNovel) was down:

HTTP code: 0
Response time: 0 ms

Resolved: otakusan is back up in 29460fd.


text:
🛑 olshiro is down

In c898e35, olshiro (http://olshiro.net/load/vietsub/10) was down:

HTTP code: 0
Response time: 0 ms

Resolved: olshiro is back up in 542a863.


text:
🛑 clip-sub is down

In 2f90194, clip-sub (https://clip-sub.com/) was down:

HTTP code: 520
Response time: 28956 ms

Resolved: clip-sub is back up in 92d47d3 after 7 minutes.


text:
🛑 kokocon is down

In 2841ee8, kokocon (http://kokocon.net/) was down:

HTTP code: 500
Response time: 183 ms

Resolved: kokocon is back up in 65c111d after 14 minutes.


text:
🛑 kokocon is down

In f6a2d20, kokocon (http://kokocon.net/) was down:

HTTP code: 500
Response time: 121 ms

Resolved: kokocon is back up in 526d6a8 after 7 minutes.


text:
🛑 kokocon is down

In d8db387, kokocon (http://fansub.kokocon.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: kokocon is back up in ec3de80 after 1 day, 7 hours, 56 minutes.


text:
AttributeError: 'str' object has no attribute 'year'

I do: empyrical.aggregate_returns(spy, convert_to=empyrical.YEARLY) where spy is just a Series of SPY which works with all the other empyrical functions.
I always get the following error:
    192         grouping = [lambda x: x.year, lambda x: x.month]
    193     elif convert_to == YEARLY:
--> 194         grouping = [lambda x: x.year]
    195     else:
    196         raise ValueError(

AttributeError: 'str' object has no attribute 'year'

Tis also happens with WEEKLY and MONTHLY.
Am I missing something or is this a bug?

@kmikael what's the dtype of spy.index?  It looks to me like you're passing data with an index of strings, but we're expecting a DatetimeIndex.

@ssanderson That was exactly it, thanks. I was reading csv files and not parsing the dates.

authors: kmikael ssanderson

repo: quantopian/empyrical


text:
Columns stacked and unreadable

Environment

Operating System: RHEL

Python Version: $ python --version 3.6

How did you install Qgrid: (pip, conda, or other (please explain)) pip install

Python packages: $ pip freeze or $ conda list (please include qgrid, notebook, and jupyterlab versions)
LibraryList.txt

Jupyter lab packages (if applicable): $ jupyter labextension list

Description of Issue
Hi,
I`m loading a dataframe into qgrid:
qgrid_widget = qgrid.QgridWidget(df=dfCRD)
qgrid_widget
dfCRD has 24 columns which are stacked and unreadable.

What did you expect to happen?

Wanted columns to have  widths allowing to see the names. Thus qgrid should be scrollable horizonally.

What happened instead?
dfCRD has 24 columns which are stacked and unreadable.

Reproduction Steps

Clean Jupytelab notebook

Loading dfCRD dataframe with cx_oracle
3.
qgrid_widget = qgrid.QgridWidget(df=dfCRD)
qgrid_widget
What steps have you taken to resolve this already?
qgrid_widget = qgrid.QgridWidget(df=dfCRD, show_toolbar=True, options={'forceFitColumns': False, 'defaultColumnWidth': 200 })
qgrid_widget
The result is the same.

I'm experiencing the same problem. The columns are all squashed together (29 columns in my case) and Ican't resize them in my normal notebook view (probably minimum column width reached).
When I maximize the widget I'm able to resize a column manually but the rest of the columns get squashed together even more.
There doesn't seem to be an option for horizontal scrolling when the total column widths exceed the screen width.

Did you try setting the forceFitColumns and defaultColumnWidth grid_options? See the following example from the sample notebook:
q_scale = qgrid.show_grid(df_scale, grid_options={'forceFitColumns': False, 'defaultColumnWidth': 200})

If you tried that and it didn't work....is this in Jupyterlab? What version of Jupyterlab? Also what browser are you using? Just trying to gather information that might help me reproduce it because I've never seen behavior like this before. Also if you could provide a screenshot, that might be helpful.

I just realized where the problem originated from: I was using the QgridWidget method with the forceFitColumns and  defaultColumnWidth  options (just like @rd5802 above). When I switched to the show_grid method including the grid options, the grid rendered properly without column width problems.
Thank you!

Ohhh thanks I didn't notice that.  Closing since that will almost certainly fix @rd5802's problem as well.

authors: TimShawver leongn rd5802

repo: quantopian/qgrid


text:
Local installation of pip packages

Hi Zipline maintainers!
I was trying to locally build and install Zipline from Git in my machine.
The documentation is really great, very well explained.
It was easy to download, build but it was lacking instructions on how to install the package.
Half an hour later I found in a forum that a python setup.py installdo the job.
It's quite obvious and even a bit stupid that this is the first thing to try, but would be nice to add that to the documentation (http://www.zipline.io/development-guidelines.html).
Kind regards,
Willian Paixao

Hi @willianpaixao. Thanks for the suggestion. FYI, if you're doing local development on zipline, you probably want pip install /path/to/zipline/checkout/ rather than python setup.py install. Installing with pip rather than invoking setup.py is usually preferable because it makes it easier to uninstall packages. c.f. this StackOverflow post for details on this.
I'm not sure when someone from the zipline team will have a chance to look into updating this, but if you'd like to take a crack at it, you can find the source for that page at https://github.com/quantopian/zipline/blob/master/docs/source/development-guidelines.rst.

@ssanderson done. Could you please review it?

authors: ssanderson willianpaixao

repo: quantopian/zipline


text:
DOC: Fix typo in command line to ingest quandl

-b flag is required:
# zipline ingest quandl
Usage: zipline ingest [OPTIONS]

Error: Got unexpected extra argument (quandl)

As help suggests:
Usage: zipline ingest [OPTIONS]

  Ingest the data for the given bundle.

Options:
  -b, --bundle BUNDLE-NAME        The data bundle to ingest.  [default:
                                  quantopian-quandl]

  <...>

Coverage decreased (-0.05%) to 82.31% when pulling 84afb997d39320bce03e4183ce7dd308491f9300 on degtyarevalexey:master into c26e12bad8e8045f2b51fd86de9f690d47b1fb47 on quantopian:master.

Thank you for fixing this!

source: gharchive/pull-request

authors: coveralls degtyarevalexey llllllllll


text:
Fix optimizers stretching out the circuit

With the recent rollback, this is back to being an issue.

Can this be closed?

I don't see an actionable proposal here anymore and think this can be closed.  If reopened please make it an explicit proposal.

authors: Strilanc bryano dabacon

repo: quantumlib/Cirq


text:
Improve documentation and hide a helper function

Made some additions and changes to documentation.
Removed the function get_sparse_polynomial_tensor from __init__.py, since it appears to be only a helper function. I also renamed it to polynomial_tensor_sparse. Actually, it seems to fit more in utils/sparse_tools.py, but it uses get_fermion_sparse which would cause a circular dependency.
Removed some unnecessary code from get_sparse_operator.

Looks like Travis is no longer having problems.

authors: babbush kevinsung

repo: quantumlib/OpenFermion


text:
Slight increase in testing speed

We might want to consider testing incrementally

Top 10 slow tests:
I only address the top two in this PR.  Small change is to make test systems smaller.
python -m pytest --durations=10
Before:
21.75s call     src/openfermion/linalg/wedge_product_test.py::test_random_two_wedge_two
18.39s call     src/openfermion/measurements/fermion_partitioning_test.py::TestPairWithinSimultaneously::test_small
10.68s call     src/openfermion/testing/lih_integration_test.py::LiHIntegrationTest::test_all
7.25s call     src/openfermion/hamiltonians/plane_wave_hamiltonian_test.py::PlaneWaveHamiltonianTest::test_plane_wave_hamiltonian_bad_element
6.85s call     src/openfermion/transforms/opconversions/remove_symmetry_qubits_test.py::ReduceSymmetryQubitsTest::test_energy_reduce_symmetry_qubits
5.04s call     dev_tools/shell_tools_test.py::test_run_cmd_raise_on_fail
5.01s call     src/openfermion/testing/performance_benchmarks_test.py::test_comm_diag_coulomb
4.98s call     src/openfermion/testing/performance_benchmarks_test.py::test_run_diag_comm
4.49s call     src/openfermion/hamiltonians/plane_wave_hamiltonian_test.py::PlaneWaveHamiltonianTest::test_plane_wave_hamiltonian_integration
4.43s call     src/openfermion/linalg/erpa_test.py::test_erpa_eom_ham_lih
Total runtime (2:59)
After:
10.77s call     src/openfermion/testing/lih_integration_test.py::LiHIntegrationTest::test_all
7.21s call     src/openfermion/transforms/opconversions/remove_symmetry_qubits_test.py::ReduceSymmetryQubitsTest::test_energy_reduce_symmetry_qubits
7.21s call     src/openfermion/hamiltonians/plane_wave_hamiltonian_test.py::PlaneWaveHamiltonianTest::test_plane_wave_hamiltonian_bad_element
5.00s call     src/openfermion/testing/performance_benchmarks_test.py::test_comm_diag_coulomb
4.98s call     src/openfermion/testing/performance_benchmarks_test.py::test_run_diag_comm
4.54s call     src/openfermion/hamiltonians/plane_wave_hamiltonian_test.py::PlaneWaveHamiltonianTest::test_plane_wave_hamiltonian_integration
4.25s call     src/openfermion/linalg/erpa_test.py::test_erpa_eom_ham_lih
3.60s call     src/openfermion/circuits/trotter/hubbard_trotter_error_test.py::ErrorBoundTest::test_error_bound_using_info_odd_side_length_verbose
2.95s call     src/openfermion/circuits/trotter/low_depth_trotter_error_test.py::ErrorBoundTest::test_error_bound_using_info_2d_verbose
2.44s call     src/openfermion/linalg/sparse_tools_test.py::GetNumberPreservingSparseOperatorIntegrationTestLiH::test_number_restricted_spectra_match_molecule
(Total time: 2:16)

LGTM, the changes to fermion_partitioning are fine.

authors: ncrubin obriente


text:
POI Logo on Docs?

Question:  How did POI get its logo in the Docs site: https://quarkus.io/extensions/

I would like to update my extensions to also have their logos?

https://github.com/quarkiverse/quarkus-poi/blob/main/runtime/src/main/resources/META-INF/quarkus-extension.yaml#L17

You rock!

authors: gastaldi melloware

repo: quarkiverse/quarkus-poi


text:
DAC testing

[x] check all pwms
[x] check all DACs
[x] check all TEC outputs
[x] check that all pwm limits actually limit

All channels checked and working.

repo: quartiq/thermostat-eem


text:
Mongo collections with '.' in the name

Can quasar work with mongo collections with the '.' in the name?
Currently when I make GET /metadata/fs/[path] request to db with such names I get incorrect data object in response.
Particularly, directory name consists of only first part of the name.
For example my_db/some.Collection results in "some" being the name of the collection that I get in GET /metadata... response

@uapasha A simple workaround is to use a slash literal character (/) instead of the dot.
Quasar translates path separator characters into dots, and visa versa, on MongoDB.

@jdegoes How can I configure this? I create mount through POST using this params:
{
  type: 'post',
  url: 'mount/fs/',
  options: {
    content: {
      mongodb: {connectionUri: uri},
    },
    headers: {
      'X-File-Name': `${mountName}/`,
    },
  },
};

@uapasha There’s nothing to configure, just request GET /metadata/fs/my_db/some/Collection

@sellout - please comment on whether anything needs to be done here or whether "."s in Mongo collection names are forbidden when working via Quasar - or do we escape whatever character is in the name now.

@zeeiyerWork Yeah, there is no issue here.
It’s not that . are forbidden, it’s that . are Mongo’s “directory” separator. So, if a Quasar user wants to create a collection with a . in the name we encode it. If a user creates a collection with a dot in the name outside of Quasar, like foo.bar, then that collection is queryable through Quasar as foo/bar.

authors: jdegoes sellout uapasha zeeiyerWork

repo: quasar-analytics/quasar


text:
Improve QScript performance

Improves QScript generation performance by consistently calling normalizeF after each coalescing.
Fixes #1950

Dangit, didn't run all the unit tests locally. I'll push a change with unit tests updated.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@e2867af). Click here to learn what that means.
The diff coverage is 81.39%.

@@            Coverage Diff            @@
##             master    #1956   +/-   ##
=========================================
  Coverage          ?   64.87%
=========================================
  Files             ?      384
  Lines             ?    18871
  Branches          ?      212
=========================================
  Hits              ?    12242
  Misses            ?     6629
  Partials          ?        0

Impacted Files
Coverage Δ

...scala/quasar/physical/mongodb/plannerQScript.scala
60.79% <ø> (ø)

...scala/quasar/physical/marklogic/fs/queryfile.scala
0% <0%> (ø)

...scala/quasar/physical/sparkcore/fs/queryfile.scala
0% <0%> (ø)

...ector/src/main/scala/quasar/qscript/Coalesce.scala
86.36% <100%> (ø)

...nector/src/main/scala/quasar/qscript/package.scala
86% <100%> (ø)

...scala/quasar/physical/couchbase/fs/queryfile.scala
29.89% <100%> (ø)

...nector/src/main/scala/quasar/qscript/Rewrite.scala
77.16% <100%> (ø)

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 e2867af...c2971e3. Read the comment docs.

authors: alissapajer codecov-io


text:
Sharp 21.3 fails to install on MacOS

Sharp 21.3 fails to install on MacOS, any chance you could bump it to the latest version (22.1)?

Can you please post specific details about your environment?
OS version as well as the complete results from
$ quasar info
I use this on a daily basis with MacOS

@informatious - updated in beta.25
This should resolve it for you.
$ quasar ext remove @quasar/icon-factory
$ quasar ext add @quasar/icon-factory

Thanks for letting me know.

authors: informatious nothingismagick


text:
Is there a ways to display events list for month-agenda same way as for day-agenda?

Thank you for a great extension to the greatest framework.
Describe the solution you'd like
I would like to see list of monthly events in a simple list, without splitting by date columns
Thank you.

@tpoxa Thanks for the great comment! :heart:
Unfortunately, I am not quite understanding what you mean. Can you clarify? Maybe provide some images? Thanks.

repo: quasarframework/quasar-ui-qcalendar


text:
Rephrase text sent on join

why is github confusing

Merged but git is annoying ig

authors: AestheticSkye Quantum-Cucumber

repo: queercoded-dev/discord-moderation-bot


text:
🛑 Notifications Service is down

In 8a6905b, Notifications Service (https://quessttechnologies.com/notifications/healthcheck) was down:

HTTP code: 429
Response time: 3 ms

Resolved: Notifications Service is back up in 78d8e4a after 9 minutes.


text:
🛑 Search Service is down

In be71706, Search Service (https://quessttechnologies.com/search/healthcheck) was down:

HTTP code: 429
Response time: 5 ms

Resolved: Search Service is back up in bf57a1b after 18 minutes.


text:
🛑 Socket Service is down

In 62c7653, Socket Service (https://quessttechnologies.com/socket/healthcheck) was down:

HTTP code: 429
Response time: 3 ms

Resolved: Socket Service is back up in ca11bf5 after 59 minutes.


text:
NPM package includes unused files creating big package size

NPM package:
Unpacked Size -> 58.6 kB
Total Files -> 18
Update npmignore or use files property https://docs.npmjs.com/cli/v9/configuring-npm/package-json#files
Steps to reproduce
Install the package and check content, or create a tarball npm pack and unzip locally
Expected behaviour
Only necessary files are included in npm package.
Actual behaviour
A lot of unused files, eg test files, are included
Sample Code that illustrates the problem

Thank you so much @easingthemes !

authors: easingthemes quicoto

repo: quicoto/two-way-data-binding


text:
Instructions to use locally

I think it would be great to add instructions in the README on how to use quiet-js locally. It seems to me there are two ways:

Either launch Chrome (or another browser) with a flag to enable asynchronous JS requests to fetch local files (else quiet-profiles.js cannot be fetched).
Either use a (portable) local webserver such as Laragon to wrap around quiet-js examples.

I have tested the latter and it works very well.
Also the readme (or the live demo) could maybe be more explicit about the fact that ultrasound is way more reliable than sound transfer, and also that the volume should be quite low. At first, I thought it did not work because:
1- my computer had automatic noise filtering from microphone that I had to disable
2- Then, quiet-js (gh-pages branch) started to pick up the sound as evidenced by "1/1 packet lost" message, but all packets were lost,
3- Then I tried to lower down the sound to 20-50%, and the ultrasound send worked flawlessly from there on (even with music or other noises in the background!), whereas the sound transfer still did not work.
I know it's not your fault as the dev of this package that there are these roadblocks that may prevent users from effectively testing the app, but I think a few notes in the readme could save a lot of time (both for the users and for you since you'll get less questions about these issues!).
Thanks a lot for making this software, it works awesomely well!

BTW I made a portable version of quiet-js using Laragon on Windows, it can be downloaded here: https://drive.google.com/file/d/1g1fqSydeXY-ewDCYo3GVc8HzlN4osAXq/view?usp=sharing

BTW I made a portable version of quiet-js using Laragon on Windows that can be run locally, the package can be downloaded here: https://drive.google.com/file/d/1g1fqSydeXY-ewDCYo3GVc8HzlN4osAXq/view?usp=sharing

I downloaded the package but I am getting errors. Screenshots are attached

Look at your path, the parent folder is test in your setup while in mine it
was quiet-js, you may want to tweak the paths to get it working. I admit i
didn't spend too much time to ensure coverage of edge cases or bugs, i just
hacked the package together quickly as a proof of concept for a portable
release.
Le sam. 27 mars 2021 à 11:49, nishant2019 @.***> a
écrit :

BTW I made a portable version of quiet-js using Laragon on Windows that
can be run locally, the package can be downloaded here:
https://drive.google.com/file/d/1g1fqSydeXY-ewDCYo3GVc8HzlN4osAXq/view?usp=sharing
I downloaded the package but I am getting errors. Screenshots are attached
[image: image]
https://user-images.githubusercontent.com/49723167/112718304-1ccb3a80-8f18-11eb-92ab-17feb0e38003.png
[image: image]
https://user-images.githubusercontent.com/49723167/112718313-2d7bb080-8f18-11eb-8c5d-a824a5e0dde5.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/quiet/quiet-js/issues/35#issuecomment-808710360, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIRFXSRYADKDRKYUBR2IHTTFWZ35ANCNFSM4LJJFW7A
.

Look at your path, the parent folder is test in your setup while in mine it was quiet-js, you may want to tweak the paths to get it working. I admit i didn't spend too much time to ensure coverage of edge cases or bugs, i just hacked the package together quickly as a proof of concept for a portable release. Le sam. 27 mars 2021 à 11:49, nishant2019 @.***> a écrit :
…
BTW I made a portable version of quiet-js using Laragon on Windows that can be run locally, the package can be downloaded here: https://drive.google.com/file/d/1g1fqSydeXY-ewDCYo3GVc8HzlN4osAXq/view?usp=sharing I downloaded the package but I am getting errors. Screenshots are attached [image: image] https://user-images.githubusercontent.com/49723167/112718304-1ccb3a80-8f18-11eb-92ab-17feb0e38003.png [image: image] https://user-images.githubusercontent.com/49723167/112718313-2d7bb080-8f18-11eb-8c5d-a824a5e0dde5.png — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#35 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIRFXSRYADKDRKYUBR2IHTTFWZ35ANCNFSM4LJJFW7A .

Hello!
I would like to ask: If your portable version can transfer only text messages over sound only?
Cuz i found on site of quiet-js there's and option to send Images but Reciver doesn't work for me either from notebook or my android :(
Thanks

repo: quiet/quiet-js


text:
[Airbrake] [Production] undefined method `ancestors' for nil:NilClass

Airbrake error: #1632
Airbrake project: ETMoses
Error type: NoMethodError
Error message: undefined method `ancestors' for nil:NilClass
Where: <no information>
Occurred at: Jun 20, 2016 08:55:00 UTC
First seen at: Jun 20, 2016 08:55:00 UTC
Occurrences: 1 (1 since last deploy on Jun 12, 2016 15:59:55 UTC)
URL: <no information>
File: [PROJECT_ROOT]/app/models/network/path.rb
Backtrace:
[PROJECT_ROOT]/app/models/network/path.rb:16:in find
[PROJECT_ROOT]/app/models/calculation/technology_load.rb:30:in block (2 levels) in run
[PROJECT_ROOT]/app/models/calculation/technology_load.rb:27:in each
[PROJECT_ROOT]/app/models/calculation/technology_load.rb:27:in block in run

Comment from Airbrake: Resolved error reoccurred.

repo: quintel/etmoses


text:
raidboss: fix skin colors not working properly

rgba(r g b / a%) needs a slash in it.
Closes #4859.
Fixes #4857.

I tried upgrading stylelint and it still didn't catch this.  I don't see any obvious rules here either.

repo: quisquous/cactbot


text:
styling issues on surah page

The color of social media icons is a bit different. Cursor type isnt pointer on hovering as well.

Options in the head of surah page should be a bit more formatted and aligned for mobile layout.

Currently pngs are being used for social icons and fonts for others, perhaps a more unified approach toward icons across the site would suite better. Symbolset standard package does not contain social icons maybe we can switch it to FontAwsome.

after some digging as it turns out, fontawesome is being included I have attached a link to a patch with minor other changes.


text:
🛑 Adguard Home DoT is down

In 2011f81, Adguard Home DoT ($AG_DOT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Adguard Home DoT is back up in b3ffb74 after 52 minutes.

repo: quyleanh/upptime


text:
🛑 Adguard Home DoT is down

In 75f45a8, Adguard Home DoT ($AG_DOT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Adguard Home DoT is back up in f623cb3.


text:
🛑 Adguard Home DoT is down

In d6a7e47, Adguard Home DoT ($AG_DOT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Adguard Home DoT is back up in 865ea36.


text:
🛑 Adguard Home DoT is down

In 57ef35c, Adguard Home DoT ($AG_DOT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Adguard Home DoT is back up in 2d6bdfd.


text:
🛑 Adguard Home DoT is down

In 0351905, Adguard Home DoT ($AG_DOT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Adguard Home DoT is back up in 5d6ac0b after 8 minutes.


text:
🛑 Adguard Home DoT is down

In 9e03403, Adguard Home DoT ($AG_DOT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Adguard Home DoT is back up in ef4ea00 after 7 minutes.


text:
🛑 Adguard Home DoT is down

In 11d22b8, Adguard Home DoT ($AG_DOT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Adguard Home DoT is back up in 96223d8 after 8 minutes.


text:
do we need an icons folder?

The idea is to collect all the headless and daisy icons in a folder so the components can use them.

i prefer with this one

@qwik-ui/icons/{headless, material, daisy}

How about using https://icones.js.org/ ?

Wow, cool! that's a lot of icons, and also Qwik is already integrated (even just the Qwik component with svg in it).
But I wonder, with Icones, do we need to download all of the icon sets or just cherry-pick one or two icon sets?

authors: fmgono gioboa shairez

repo: qwikifiers/qwik-ui


text:
🛑 Jenkins is down

In f9dadf9, Jenkins (https://apk.qwq2333.top) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Jenkins is back up in ea8bd20.


text:
Wrong parse result for hexadecimal floating points

We are currently in the process of migrating our parsing backend from the built-in R parser to this tree-sitter implementation and noted a deviation when running our tests:
Hexadecimal floating point notation like 0x0p0 (mentioned in 10.3.1 Constants in the language definition) is parsed as (program (float) (identifier)) and not simply as (program (float)) which is what I would have assumed.
This is probably related to the following part in the grammar:
https://github.com/r-lib/tree-sitter-r/blob/4a89de35a9e81af0a33a4a02d17554e42ad3c609/grammar.js#L487-L494
I have yet to get comfortable with the tree-sitter grammar syntax but maybe the following fix suffices?
-_hex_literal: $ => /0[xX][0-9a-fA-F]+/
+_hex_literal: $ => /0[xX][0-9a-fA-F]+(p[+-]?\d+)/

?NumericConstants seems to have the best documentation on this

Hexadecimal constants start with 0x or 0X followed by a non-empty sequence from 0-9 a-f A-F . which is interpreted as a hexadecimal number, optionally followed by a binary exponent. A binary exponent consists of a P or p followed by an optional plus or minus sign followed by a non-empty sequence of (decimal) digits, and indicates multiplication by a power of two. Thus 0x123p456 is 291×2^456.

So i think yours is close but missing:

capital P
id probably do [0-9] rather than \d for consistency with the rest of the line
we need to make sure that all of ([pP][+-]?[0-9]+) is marked as "optional" in the regex. can't remember if we get that or not from this exact form

_hex_literal: $ => /0[xX][0-9a-fA-F]+([pP][+-]?[0-9]+)/

Also neat to hear that you are using the parser over in things like https://github.com/flowr-analysis/flowr/pull/1160! Let us know if you find more deviations, we are trying to make it as high fidelity as we can, as this is used in things like Ark which help power Positron's R support https://github.com/posit-dev/ark

you are correct i neither considered the capital P nor the fact that it is optional (even though i considered both of this when writing our normalization for R's base::parse) - I am sorry!
We found the deviations simply by checking the normalized tree-sitter results against our normalization for the R parser so we make sure to report anything else we notice. Thank you for the great project!

authors: DavisVaughan EagleoutIce

repo: r-lib/tree-sitter-r


text:
Staging does not contain the cutoff date package versions

@wlandau
Something I overlooked previously.
Take a look at: https://staging.r-multiverse.org/builds
I confirmed this is consistent with the results of
available.packages(repos = "r-multiverse.org/snapshot")

Both nanonext and mirai were at version 1.3.0 as of 15 Oct.
Something to check and remedy before minting Production!

From the commit history at https://github.com/r-multiverse/staging/commits/main/, we developed staging and kept it running since August. To catch mirai/nanonext 1.3.0, we would have had to remove https://github.com/r-multiverse/staging/blob/main/packages.json, wait until the staging universe depopulates, and then try again. I assumed we would do this anyway in the 2 months between each staging period.

Exactly. And to be safe, we should remove packages.json for enough time for the universe itself to depopulate. We can even schedule this step if we want.

Right, so we could remove this when we mint production. And then it will automatically get written when staging_active or whatever that variable is called?
Too late for this time then, never mind! I guess an argument for "just ship it!"...

That's the intention, although I realized multiverse.internals::update_staging() does not actually work if the staging packages.json is missing.
https://github.com/r-multiverse/multiverse.internals/pull/38 proposes a 3-month cycle each quarter:

month 1: leave staging alone so problems in production can be diagnosed and fixed.
month 2: reset staging by removing packages.json. Leave a month to diagnose problems with this step.
month 3: regenerate staging with the freeze period.

A month may be a bit long for steps 1 and 2, but I think it will ease the pressure of turning the crank to keep R-multiverse going.

The PRs you prepared are merged so this is now addressed for future releases. Thanks for those!

authors: shikokuchuo wlandau

repo: r-multiverse/help


text:
SSH repositories

Hi there,
thank you for this awesome package.
I am using ssh to connect to my private repository. My origin remote looks like this:
origin  git@github.com:AaronBurmeister/<repository>

quick-issues is not able to resolve this.
It only works if I change my remote to https://github.com/AaronBurmeister/<repository>.

I've made a quick and dirty Fix for this issue you can check out my Pull request to get  the full code.
I've also added some documentation about the permissions required by the personal api token!
--- a/src/find-repos.js
+++ b/src/find-repos.js
@@ -4,12 +4,12 @@ import * as urlUtils from 'url';
 export default async function findReposInWorkspace() {
     const repo = atom.project.getRepositories().find((repo) => {
         if (!repo || !repo.getOriginURL()) return false;
-        const remote = urlUtils.parse(repo.getOriginURL());
+        const remote = urlUtils.parse(repo.getOriginURL().replace(":","/").replace("git@","https://"));
         if (remote.host !== 'github.com') return false;
         return true;
     });
     if (!repo) return null;
-    const remote = urlUtils.parse(repo.getOriginURL());
+    const remote = urlUtils.parse(repo.getOriginURL().replace(":","/").replace("git@","https://"));
     const [user, repoName] = remote.path.split('/').filter(Boolean).slice(0, 2);
     return {user, name: repoName.replace(/\.git$/, '')};
 }

cheers bittracker

Thanks a lot!

authors: AaronBurmeister bittracker


text:
Possible R2DT bug

Hi @AntonPetrov
As you know we recently installed R2DT.
We found that quite a few ncRNAs unexpectedly got R2Dt predictions.
On inspection these features were actually in the ncRNAs on the opposite strands to known tRNAs
See
https://github.com/pombase/curation/issues/3715
for the examples.
I this the expected behaviour?
Best
Val

Hang on; ignore, I think I know what is happening.

Actually, something is a bit weird.
Here we have an antisense RNA
https://rnacentral.org/rna/URS000230DC2B/4896
and the tRNA on the opposite strand:
https://rnacentral.org/rna/URS0000005144/4896
both reporting the tRNA structure

Hi Val!
I looked into URS000230DC2B_4896 and it indeed gets a high scoring hit with Eukaryotic tRNA models from tRNAScan-SE:
Sequence           		tRNA	Bounds	tRNA	Anti	Intron Bounds	Inf
Name               	tRNA #	Begin	End	Type	Codon	Begin	End	Score	Note
--------           	------	-----	------	----	-----	-----	----	------	------
URS000230DC2B_4896 	1	593	520	Asn	GTT	0	0	81.5

As you noted, this hit is on the reversed strand and it corresponds to the other RNA, URS0000005144_4896.
I agree that R2DT should not visualise hits from the reverse strand. I made a change and once it is merged and deployed, RNAcentral can recompute the PomBase diagrams using the new version. I expect the next R2DT release in ~2 weeks but it would take longer for RNAcentral to update their precomputed RNA 2D diagrams.
Thank you for reporting this problem and please let me know if you notice anything else.

authors: AntonPetrov ValWood


text:
Fail to complete mac os install.

error message states that "Recovery server can not be reached" while
installing mac os. Not sure if its a mac installer issue or if it's a network issue

I have the same problem!

authors: Mainmanmike Vankitch


text:
Removed unnecessary "dotnet restore".

Removed unnecessary "dotnet restore". Run automatically by "dotnet add package".

Thank you!

authors: JonasBarka michaelklishin

repo: rabbitmq/rabbitmq-website


text:
🛑 Pet Project is down

In a2ea3bd, Pet Project ($RINFO_SITE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Pet Project is back up in 247d6a9.


text:
I want to back to windows

Guys i want get back to windows i copied windows install files but when i try to boot it's wont boot  any help

Elaborate "copied install files"?
You need to do a full wipe since Windows is not compatible with any of the Mac file system. Then install Windows

I no longer have that laptop so unfortunately I can no longer offer support for this repo


text:
test and refactor configuration class

As a tester,
In order to test the top-level service classes,
I want to override configuration values programmatically.
Explanation
The Configuration class stores all of the configuration for the system. It includes facilities for loading config values from the config file, overriding with system properties, and falling back to hard-coded default values (from e.g. the CoreConfig enum).
Many parts of the system, many classes and objects, rely on this class in order to get set up. In order to test those classes and objects, I would need to override configuration values.
The problem with this is the way the Configuration class works.
It is not possible to properly test code that relies on it, because its effects can't be isolated.
All fields in the class are static.
Any change to a config value in one part of the system affects all other parts of the system that interact with that config value.
Also, changes persist from one test invocation to another.
This makes testing the top-level services impossible, because tests cannot be independent.
In order to manually set or override the configuration for a single test (e.g. an as-yet-unwritten BluefloodServiceStartTest), I need a way to modify a single Configuration instance (or load values into it) that doesn't affect any other instance.
Complicating all of this are a few other problems:

The getStringProperty method has side effects. Sometimes. In certain circumstances. Which aren't documented anywhere.
The overriding behavior (system property vs. from config file) is unclear, and the code is hard to read.
Storing values as strings is a separate concern from converting strings to other data types, but they are conflated within the class. In order to provide proper tests of the type conversion methods, one must modify the global config values.
Existing tests are cramped, and try to test multiple pieces of functionality at the same time.
Once a value is overridden, either by loading from a file or from a system property, there is no way to un-set that value. Subsequent test invocations in the same JVM will always see a value for the given key.
getProperties returns a map and ignores the defaultProps field completely

Proposed Changes
Before we can even get to the static/instance problem, the code has to be cleaned up.
This PR makes the following changes:

Add more unit tests for the Configuration class
Separate tests so that they only test one piece of functionality at a time (see #4 above)
Split out static conversion methods, so they can be tested apart from modifying global config values (see #3 above)
Add a clearProperty method that removes key/value pairs from the props field (see #5 above)
Add a getAllProperties method that returns a map with all key/value pairs, including from defaultProps (see #6 above)

The goal with this PR is to be able to properly test the Configuration class, as it works now, so that it can safely be refactored it in the future.
Subsequent PR's will (a) remove the side effects from getStringProperty, (b) clean up and clarify the overriding behavior, and (c) finally tackle the creation of independent instances of the class.

@ChandraAddala @usnavi @shintasmith @VinnyQ Please review and comment.

lgtm - oh boy, @izrik, I'm surprised you're still sane after that exercise :-P

@usnavi Eh, I've seen worse. I've even written worse. ;)

I made some comments. Other than that it looks good. Thanks for adding these tests.

authors: ChandraAddala izrik usnavi

repo: rackerlabs/blueflood


text:
[CF-345/CF-347] Stale connections

Added extra properties for c3p0 to test connection on checkout by running a query we provide
Configured to see c3p0 logging in log files.
upgraded c3p0 version

looks good, lets try it out

I can vouch that these settings work.  I've already applied them to the various environments in puppet.  I'll update the logback configs as well.

oh, @mwhahaha, I asked @ChandraAddala this yesterday. These settings to do connection tests between app and DB, I know we use it in Feeds. But isn't that going to generate lots of chit-chat between the app nodes and the DBs? You don't see that as a big problem, I guess?

It shouldn't generate more chitchat than normal.  The connection test will add an extra query but it's a simple select 1.  The idle check is only every 2 minutes so it won't add much in terms of idle talk.  For this service, these added configuration items shouldn't add much in terms of performance overhead.  If the service gets consistent traffic then we can look at removing these, but without these settings we will be generating 500s often due to connection issues.

ok sounds good

authors: ChandraAddala mwhahaha shintasmith

repo: rackerlabs/cloudfeeds-preferences-svc


text:
webpack -p 的时候出错

当用 webpack -p 时页面加载出现问题  “uncaught SyntaxError: Unexpected token <”

Please use English in issue tracker 在這裡請使用英文
This should be a your routing issue, so webpack serve html file as js file. Nothing is related to redux.
這是應該路由 (routing) 問題導致 js 載入到 html 檔案，跟 redux 無關

I guess you forgot to install a right jsx loader.

You probably forgot to enable Babel loader for JS or JSX files in your Webpack configuration.

authors: chentsulin gaearon hbrls hqxluoyang

repo: rackt/redux


text:
SVG Path element events not firing correctly

Description:
We have on-mouseenter/on-mouseleave events on path elements, in chrome/firefox these events fire correctly and are picked up by the respective listeners. In IE, however, the listener is never triggered (as shown by putting breakpoints of them).
The actual structure is an svg element, with a g element that contains path elements. The path elements are within a partial called line.
We have tried modifying the pointer-events attribute of the path elements to all, none and visible and none of them resolve this.
It seems to be a similar issue to what was fixed in #3122 but isn't resolved by the same fix in 0.9.8, it also worked as intended in 0.7.3
This is a simplified version of the component, the hoverOn and hoverOff listeners in the corresponding JS are not triggered in IE but are in chrome.
<div class='line-graph'>

    <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
        width=200
        height=200
        on-mousemove="mousemove"
        on-mouseleave="mouseleave"
        on-click="click">

        <g transform="translate(10, 10)">
            <defs>
                <clipPath id="js-clip">
                    <rect y="-10" width="180" height="180" />
                </clipPath>
            </defs>

            <g clip-path="url(#js-clip)"></g>

            {{#lines}}

                {{#if test}}
                <a xlink:href="www.google.com">
                    {{>line}}
                </a>
                {{else}}
                    {{>line}}
                {{/if}}

            {{/lines}}

            </g>
    </svg>
</div>

{{#partial line}}

    <path class="line"
        d="{{line.d}}"
        fill="none"
        stroke="{{line.colour}}"
        stroke-width="{{line.width}}"
        stroke-opacity="{{line.opacity}}"
        stroke-linejoin="round" />

    <g>
        <path class="hover-line"
        on-mouseenter="hoverOn"
        on-mouseleave="hoverOff"
        d="{{line.d}}"
        fill="none"
        stroke="#ffffff"
        stroke-width="8"
        stroke-opacity="0" />
    </g>

{{/partial}}

Versions affected:
Worked fine in 0.7.3, noticed first in 0.9.3, still present in 0.9.10.
Platforms affected:
IE 11

Does it work if you turn off event delegation from your main instance e.g. new Ractive({ delegate: false, ... })?

No luck here sadly, all our components extend from a base component so I added delegate: false to that and also to the place where the first base component is initialised as: Ractive.components.BaseComponent({....}); with neither resolving the issue. This was done on 0.9.10.

Poking at it a bit more, it seems that SVGSVGElement in IE doesn't have onmouseenter and onmouseleave properties, which is... weird. If you force the properties to exist, then listening carries on as normal and all works. I don't see any special casing code in 0.7 for that, but I'll see if I can figure out why it works there to move it into 0.9.

Well, that didn't take too long to find. 0.7 also checks the window for supported DOM events, so IEs specialness is covered. This should now be fixed in edge. Thanks for the report!

Confirming this is resolved in 1.0.0 build 110.

authors: evs-chris krityan

repo: ractivejs/ractive


text:
radicle-httpd: Add commit diff endpoint

Adds a diff endpoint to get the diff and commit listing between two commits.
Very useful for patches, but eventually also for other places.
Pending:

[x] I want to check what happens when multiple commits are in between the merge base and the head commit.

Fixed open issues with last commit 1f5b2a3

repo: radicle-dev/heartwood


text:
Update CI for node 4.x

Updates CI for node 4.x

@jfmercer merged; please release as per your comments

authors: gavD jfmercer


text:
Release: 0.41.0-rc1

Description
Releasing v0.41.0-rc1
This pull request includes changes to the release process documentation and the versions.yaml file to reflect the new release candidate version.
Updates to release process documentation:

docs/contributing/contributing-releases/README.md: Changed the branch naming convention in the release process instructions from <USERNAME>/<BRANCHNAME> to release/<MAJOR.MINOR>.

Updates to version tracking:

versions.yaml: Added a new release candidate version v0.41.0-rc1 under the supported channels.

Type of change

Release

Closing to fix the branch name to avoid collision with the non-RC release.

repo: radius-project/radius


text:
[Select] Select content is misaligned when defaultValue or value is not passed

Bug report
When value or defaultValue is not passed SelectContent is misaligned.
Current Behavior

Expected behavior
I think the behavior of the custom select should replicate the behavior of the native select and the first available option should be automatically selected in this case.
Reproducible example
https://codesandbox.io/s/happy-leaf-oscbxo?file=/App.js
Suggested solution
Automatically select first available option if defaultValue or value is not passed. Basically, the same behavior as with a native select.
Additional context

Your environment

Software
Name(s)
Version

Radix Package(s)
react-select
0.1.1

Hey Alex,
A few people have raised this (#1231, #1259, #1235).
It was intentional from our side to not copy that behaviour and rather rely on people providing a defaultValue or value seeing as it's likely you have one.
There are a couple reasons we think that native behaviour isn't great:

in React land this would likely mean having to do a double render to pre-select the first valid option
it's not necessarily great UX and we think providing something like first-class support for a placeholder instead would be a better solution to the problem at hand (that's the #1235 we currently have open)

Would love to hear if you have further thoughts on this though, or whether you came to it purely from the front of feeling like it should be like native.
✌

@benoitgrelard Thanks for the response. I understand the reasoning and I think that Placeholder component (#1235) makes sense.
Nevertheless, I think it would be great to fix position of the popup and it align it properly when the value or default value is not passed.

Yeah regardless of placeholder, we could default to aligning with the first option even if it's not "selected" like in the native case. That might be a good improvement to do first 👍

authors: benoitgrelard suevalov

repo: radix-ui/primitives


text:
[bug] The update in the cluster directory did not trigger an action.

Is your feature request related to a problem? Please describe.

The update in the cluster directory did not trigger an action.
mysqluser-related folders also need to be able to trigger actions

Describe the solution you'd like
Describe alternatives you've considered
Additional context

https://github.com/radondb/radondb-mysql-kubernetes/pull/277

repo: radondb/radondb-mysql-kubernetes


text:
ci: Support custom release version.

What type of PR is this?
/enhancement
Which issue(s) this PR fixes?
Fixes #
ref: #421
What this PR does?
Summary:

If the version is inputted, use the input version to publish release.
If input is empty(default), follow the original logic, automatically increment the version number.

Special notes for your reviewer?

case1: input v2.2.0-alpha
https://github.com/runkecheng/radondb-mysql-kubernetes/runs/6105116693?check_suite_focus=true
Run release-drafter/release-drafter@v5
  with:
    version: v[2](https://github.com/runkecheng/radondb-mysql-kubernetes/runs/6105116693?check_suite_focus=true#step:3:2).2.0-alpha
    name: v2.2.0-alpha
    tag: v2.2.0-alpha
    config-name: release-drafter.yml
  env:
    GITHUB_TOKEN: ***
...
{ name: 'event', id: '2199281835' }
runkecheng/radondb-mysql-kubernetes: No draft release found
{ name: 'event', id: '2199281835' }
runkecheng/radondb-mysql-kubernetes: Last release: v3.0.1

case2: input empty
https://github.com/runkecheng/radondb-mysql-kubernetes/runs/6105206698?check_suite_focus=true
Run release-drafter/release-drafter@v5
  with:
    config-name: release-drafter.yml
  env:
    GITHUB_TOKEN: ***
...
runkecheng/radondb-mysql-kubernetes: No draft release found
{ name: 'event', id: '2199292359' }
runkecheng/radondb-mysql-kubernetes: Last release: v3.0.1


text:
Use git name-rev as a fallback for branch name

This would replace the current usage of git show-ref, which displays
commit hash when in detached HEAD, and bring it in line with how the Zsh
version displays branches.
When .git/HEAD is a hash and not a ref (e.g. when you git checkout HEAD~#
where # is some number of commits behind HEAD), it shows only
the hash.
One oddity to this approach is, if you have many branches or refs
containing common commits, the branch can show as stash~2,
pullreqs/3071~1, or fix-colored-yes-perf~1, for example. Because
this method is more descriptive, I consider this acceptable and better than
the current behavior of only showing the commit hash when in detached
HEAD.

I tend to agree with this behavior👍
@cole-h Are you willing to add a test for this? If not that’s okay, I can look into it in the coming days☺

The test passes on my end, so I have no idea why it's failing on Travis.
I used sudo make build-pure-on FISH_VERSION=2.7.0 && sudo docker run --name test-pure-on-2.7.0 --rm --interactive --tty pure-on-fish-2.7.0 (and 3.0.0).

@cole-h thank you kindly!☺

authors: cole-h schrodincat

repo: rafaelrinaldi/pure


text:
Error while docker-compose up --build

 /usr/local/lib/node_modules/pm2/node_modules/chokidar/index.js:150
myapp_1     |   async remove(item) {
myapp_1     |         ^^^^^^
myapp_1     |
myapp_1     | SyntaxError: Unexpected identifier
myapp_1     |     at createScript (vm.js:56:10)
myapp_1     |     at Object.runInThisContext (vm.js:97:10)
myapp_1     |     at Module._compile (module.js:549:28)
myapp_1     |     at Object.Module._extensions..js (module.js:586:10)
myapp_1     |     at Module.load (module.js:494:32)
myapp_1     |     at tryModuleLoad (module.js:453:12)
myapp_1     |     at Function.Module._load (module.js:445:3)
myapp_1     |     at Module.require (module.js:504:17)
myapp_1     |     at require (internal/module.js:20:19)
myapp_1     |     at Object.<anonymous> (/usr/local/lib/node_modules/pm2/lib/Watcher.js:6:16)
nodejs-mongo-docker-sample_myapp_1 exited with code 1

thanks! 👍


text:
Gemfile.lock scan is broken

Hi I just tried using the "Check a lock file" feature and got a 500 when I pasted the .lock content and hit Checknow. let me know how can I help.

@Alchiman Thanks for submitting this issue! I believe it was related to #108 and it was solved by #109
I just tested that it is working fine with this Gemfile.lock: https://gist.github.com/etagwerker/73c8d38f8e6712701886338b20a78413 (Gitlab's Gemfile.lock)
Please try again and let me know if you still run into the 500 error. Thank you! 🙏🏼

authors: Alchiman etagwerker

repo: railsbump/app


text:
Add option to pull license file path and contents

My organization needs the ability to pull the license file path and contents, similar to how npm license-checker does when using --customPath licenseText. This adds that functionality with the --with-license-file argument.
During testing I also found a missing development dependency, hence the updates to dev-requirements.in (and the re-computed dev-requirements.txt) in a separate commit.

After more testing, this isn't full-baked yet. Will close and resubmit when it is.


text:
[bug] Elements with role="dialog" or role="alertdialog" do not have accessible names.

Is there an existing issue for this?

[X] I have searched the existing issues

RainbowKit Version
"@rainbow-me/rainbowkit": "^2.2.1",
wagmi Version
2.14.0
Current Behavior
wcm-modal does not have an accessible name according to Lighthouse.
wcm-modal likely comes from wallet connect and may need to be an issue on a dependent package
Expected Behavior
Lighthouse accessibility passes
Steps To Reproduce
Run lighthouse on an app with rainbowkit on web. https://www.rainbowkit.com for example will fail:

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
https://www.rainbowkit.com
Anything else?
No response

That is upstream in WalletConnect correct. Have relayed to their team!

authors: DanielSinclair mlenser

repo: rainbow-me/rainbowkit


text:
fix: update website to include compact mode

love this <3

authors: nicoglennon peduarte


text:
Does this work with the new EAGLE-200 gateway?

I only tested with the legacy gateway, but I'm wondering if this library works with the new EAGLE-200 gateway?

I am actually looking into this right now, but having trouble with getting the package recognized after installing it.

repo: rainforestautomation/Eagle-Http-API


text:
🛑 RiotSkin4CN-Download is down

In ff5c9aa, RiotSkin4CN-Download (https://s-cd-4307-general.oss.dogecdn.com/riotskin4cn/live.json) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RiotSkin4CN-Download is back up in ae078e7.


text:
Release deliverables and pushing to main from dev

Config issues around pushing stable version to main

partially solved! Suresh figured out how to merge dev to main via intermediate branch :)

Best practices on naming releases

lets make another release before next hackathon (end of current sprint 8/30)

Will reopen RE the SDK

authors: RAIReth rairprotocol

repo: rairprotocol/rair-dapp


text:
working by adding nuget source of powerfx daily builds

fixed by adding nuget source of powerfx daily builds
read more of powerfx daily builds here:
https://github.com/microsoft/Power-Fx/blob/main/dailyBuilds.md
https://github.com/dotnet/aspnetcore/blob/main/docs/DailyBuilds.md

@lucahttp - I had to fix the kernel because it is broken with latest Polyglot Notebook extension. I merge parts of your PR as well. Thank you Luca.

authors: lucahttp rajyraman


text:
document postgresql environment variables

make a reference to http://www.postgresql.org/docs/8.4/static/libpq-envars.html somewhere so it's clear

:+1:

authors: deanlandolt ralphtheninja

repo: ralphtheninja/pgdown


text:
Ramda documentation references ramda@0.25.0

Documentation https://ramdajs.com/docs references in html following javascript file: https://ramdajs.com/docs/dist/ramda.js. Unfortunately this file is ramda@0.25.0 bundle instead of ramda@0.26.0

Yes, I noticed this too.  I will try to look at why tomorrow.

I believe this bundle should be updated to latest one as some examples may fail in console e.g. R.adjust because of changes in argument ordering.

Wow, I dropped that.  Just getting back into looking at Ramda stuff.  I'll see what I can do tonight.

Seems like issue #2803 is a duplicate of this one?

@customcommander yes, #2803 is just another manifestation of the issue. I've just checked and the issue is still present.

@char0n We just published an update to the documentation. This should be fixed now. Could you please verify and close the issue if you're happy with the resolution?

I can confirm the latest version 0.28.0 is now served inside documentation:
dist/ramda.js:
//  Ramda v0.28.0
//  https://github.com/ramda/ramda
//  (c) 2013-2022 Scott Sauyet, Michael Hurley, and David Chambers
//  Ramda may be freely distributed under the MIT license.

authors: CrossEye char0n customcommander damian-callstats

repo: ramda/ramda


text:
Sign+Encrypt and Decrypt+Verify

Hi, ramuta. You can see this https://username1565.github.io/pgp/
and update your repositary. Code here: https://github.com/username1565/pgp
Maybe ECC encryption can be added there.

Great, thanks!

repo: ramuta/pgp


text:
Account information example

The example code outputs with the following error.
My account contains 1 futures contract, 1 share of AAPL.
There is also a pending order for AAPL LMT at 10.00 however, the code snippet doesn't seem to be capturing that at all in the Orders (by TickId) or Orders (by Symbol)
18-Apr-17 12:41:35 ERROR     Exception in message dispatch.  Handler 'handleServerEvents' for 'openOrder'
Traceback (most recent call last):
  File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ib\opt\dispatcher.py", line 44, in __call__
    results.append(listener(message))
  File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 267, in handleServerEvents
    self.handleOrders(msg)
  File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 585, in handleOrders
    "time": datetime.fromtimestamp(int(self.time))
OSError: [Errno 22] Invalid argument
18-Apr-17 12:41:35 ERROR     Exception in message dispatch.  Handler 'handleServerEvents' for 'orderStatus'
Traceback (most recent call last):
  File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ib\opt\dispatcher.py", line 44, in __call__
    results.append(listener(message))
  File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 267, in handleServerEvents
    self.handleOrders(msg)
  File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 550, in handleOrders
    contractString = self.contractString(msg.contract)
AttributeError: 'OrderStatus' object has no attribute 'contract'

Server Version: 76
TWS Time at connection:20170418 12:41:34 EST
Market Data
{0:           ask  asksize  bid  bidsize  last  lastsize
datetime
0           0        0    0        0     0         0}
Market Depth
{0:    ask  asksize  bid  bidsize
0    0        0    0        0
1    0        0    0        0
2    0        0    0        0
3    0        0    0        0
4    0        0    0        0}
Account Information
{'AvailableFunds': 996222.14, 'AvailableFunds-C': -635.85, 'AvailableFunds-S': 996857.99, 'BuyingPower': 3987830.64, 'CashBalance': 999794.0, 'DayTradesRemaining': -1.0, 'InitMarginReq': 3712.95, 'MaintMarginReq': 2977.43, 'NetLiquidation': 999935.09}
Positions
{'ESU2017_FUT': {'symbol': 'ESU2017_FUT', 'position': 1, 'avgCost': 116564.54, 'account': 'xxx'}, 'AAPL': {'symbol': 'AAPL', 'position': 1, 'avgCost': 141.71345725, 'account': 'xxx'}}
Portfolio
{'AAPL': {'symbol': 'AAPL', 'position': 1, 'marketPrice': 141.33599855, 'marketValue': 141.34, 'averageCost': 141.71345725, 'unrealizedPNL': -0.38, 'realizedPNL': 0.0, 'account': 'xxx'}, 'ESU2017_FUT': {'symbol': 'ESU2017_FUT', 'position': 1, 'marketPrice': 2330.00024415, 'marketValue': 116500.01, 'averageCost': 116564.54, 'unrealizedPNL': -64.53, 'realizedPNL': 0.0, 'account': 'xxx'}}
Contracts
{1: <ib.ext.Contract.Contract object at 0x0000000007F10A20>}
Orders (by TickId)
{}
Orders (by Symbol)
{}

Also getting this error:
18-Apr-17 12:59:31 ERROR     Exception in message dispatch.  Handler 'handleServerEvents' for 'openOrder' Traceback (most recent call last):   File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ib\opt\dispatcher.py", line 44, in __call__     results.append(listener(message))   File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 267, in handleServerEvents     self.handleOrders(msg)   File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 585, in handleOrders     "time": datetime.fromtimestamp(int(self.time)) OSError: [Errno 22] Invalid argument 18-Apr-17 12:59:31 ERROR     Exception in message dispatch.  Handler 'handleServerEvents' for 'orderStatus' Traceback (most recent call last):   File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ib\opt\dispatcher.py", line 44, in __call__     results.append(listener(message))   File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 267, in handleServerEvents     self.handleOrders(msg)   File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 550, in handleOrders     contractString = self.contractString(msg.contract) AttributeError: 'OrderStatus' object has no attribute 'contract' 18-Apr-17 12:59:31 ERROR     Exception in message dispatch.  Handler 'handleServerEvents' for 'openOrder' Traceback (most recent call last):   File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ib\opt\dispatcher.py", line 44, in __call__     results.append(listener(message))   File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 267, in handleServerEvents     self.handleOrders(msg)   File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 585, in handleOrders     "time": datetime.fromtimestamp(int(self.time)) OSError: [Errno 22] Invalid argument 18-Apr-17 12:59:31 ERROR     Exception in message dispatch.  Handler 'handleServerEvents' for 'orderStatus' Traceback (most recent call last):   File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ib\opt\dispatcher.py", line 44, in __call__     results.append(listener(message))   File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 267, in handleServerEvents     self.handleOrders(msg)   File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 550, in handleOrders     contractString = self.contractString(msg.contract) AttributeError: 'OrderStatus' object has no attribute 'contract' 18-Apr-17 12:59:31 ERROR     Exception in message dispatch.  Handler 'handleServerEvents' for 'openOrder' Traceback (most recent call last):   File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ib\opt\dispatcher.py", line 44, in __call__     results.append(listener(message))   File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 267, in handleServerEvents     self.handleOrders(msg)   File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 585, in handleOrders     "time": datetime.fromtimestamp(int(self.time)) OSError: [Errno 22] Invalid argument 18-Apr-17 12:59:31 ERROR     Exception in message dispatch.  Handler 'handleServerEvents' for 'orderStatus' Traceback (most recent call last):   File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ib\opt\dispatcher.py", line 44, in __call__     results.append(listener(message))   File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 267, in handleServerEvents     self.handleOrders(msg)   File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 550, in handleOrders     contractString = self.contractString(msg.contract) AttributeError: 'OrderStatus' object has no attribute 'contract'

Oops! This bug introduced in version 1.12.47. Please upgrade to 1.12.48 and let me know if you still getting these errors:
$ pip install ezibpy --upgrade --no-cache-dir

updated, getting this:
18-Apr-17 13:29:40 ERROR     Exception in message dispatch.  Handler 'handleServerEvents' for 'openOrder'
Traceback (most recent call last):
  File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ib\opt\dispatcher.py", line 44, in __call__
    results.append(listener(message))
  File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 267, in handleServerEvents
    self.handleOrders(msg)
  File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 585, in handleOrders
    "time": datetime.fromtimestamp(int(self.time))
OSError: [Errno 22] Invalid argument
18-Apr-17 13:29:40 ERROR     Exception in message dispatch.  Handler 'handleServerEvents' for 'orderStatus'
Traceback (most recent call last):
  File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ib\opt\dispatcher.py", line 44, in __call__
    results.append(listener(message))
  File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 267, in handleServerEvents
    self.handleOrders(msg)
  File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 597, in handleOrders
    self.orders[msg.orderId]['status']       = msg.status.upper()
KeyError: 8
18-Apr-17 13:29:40 ERROR     Exception in message dispatch.  Handler 'handleServerEvents' for 'openOrder'
Traceback (most recent call last):
  File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ib\opt\dispatcher.py", line 44, in __call__
    results.append(listener(message))
  File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 267, in handleServerEvents
    self.handleOrders(msg)
  File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 585, in handleOrders
    "time": datetime.fromtimestamp(int(self.time))
OSError: [Errno 22] Invalid argument
18-Apr-17 13:29:40 ERROR     Exception in message dispatch.  Handler 'handleServerEvents' for 'orderStatus'
Traceback (most recent call last):
  File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ib\opt\dispatcher.py", line 44, in __call__
    results.append(listener(message))
  File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 267, in handleServerEvents
    self.handleOrders(msg)
  File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 597, in handleOrders
    self.orders[msg.orderId]['status']       = msg.status.upper()
KeyError: 4

Can you share your code here? I want to try and replicate this error on my dev machine...

I can't seem to replicate it now after restarting my kernel. I'll keep an eye on it and let you know if I notice it again.
That being said, two additional items:
1)
print("Contracts")
print(ibConn.contracts)

prints out:
Contracts
{1: <ib.ext.Contract.Contract object at 0x0000000007CD47B8>, 2: <ib.ext.Contract.Contract object at 0x0000000007CD4588>}

Is the following code supposed to print pending orders? or filled orders? It doesn't seem to print out anything currently despite me having pending orders out there

print("Orders (by TickId)")
print(ibConn.orders)

print("Orders (by Symbol)")
print(ibConn.symbol_orders)

Thanks for all your help!

Another issue I came across, when sending an order while I have a prior order pending,, the logging prints out this:
2017-04-18 15:17:05,795 [INFO] ezibpy: [ORDER]: <openOrder orderId=3, contract=CVE, order=<ib.ext.Order.Order object at 0x0000000007C204E0>, orderState=<ib.ext.OrderState.OrderState object at 0x0000000007C20710>>
18-Apr-17 15:17:05 ERROR     Exception in message dispatch.  Handler 'handleServerEvents' for 'openOrder'
Traceback (most recent call last):
  File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ib\opt\dispatcher.py", line 44, in __call__
    results.append(listener(message))
  File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 267, in handleServerEvents
    self.handleOrders(msg)
  File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 585, in handleOrders
    "time": datetime.fromtimestamp(int(self.time))
OSError: [Errno 22] Invalid argument
2017-04-18 15:17:05,803 [INFO] ezibpy: [ORDER]: <orderStatus orderId=3, status=Submitted, filled=0, remaining=100, avgFillPrice=0.0, permId=xxx, parentId=0, lastFillPrice=0.0, clientId=999, whyHeld=None>
18-Apr-17 15:17:05 ERROR     Exception in message dispatch.  Handler 'handleServerEvents' for 'orderStatus'
Traceback (most recent call last):
  File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ib\opt\dispatcher.py", line 44, in __call__
    results.append(listener(message))
  File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 267, in handleServerEvents
    self.handleOrders(msg)
  File "C:\ProgramData\Anaconda2\envs\py36\lib\site-packages\ezibpy\ezibpy.py", line 597, in handleOrders
    self.orders[msg.orderId]['status']       = msg.status.upper()
KeyError: 3

From the log, the errors seems to be coming from IbPy.
Do you have TWS setup correctly? See here for setup instructions.
Lastly, please post the code you're running so I can try and replicate these errors on my machine.

Yes, TWS appears installed correctly. I didn't have log api messages enabled, but have it now.
import ezibpy
import time
import logging

# after ezibpy is imported, we can change the logging handler to file
logger = logging.getLogger('ezibpy')
logger.addHandler(logging.FileHandler('C:\iblog\ezibpy.log'))
logger.setLevel(logging.INFO)
logger.propagate = False # do not also log to stderr

# define custom callback
def ibCallback(caller, msg, **kwargs):
    if caller == "handleOrders":
        print(msg)
        order = ibConn.orders[msg.orderId]
        if order["status"] == "FILLED":
            print(">>> ORDER FILLED")

# initialize ezIBpy
ibConn = ezibpy.ezIBpy()
ibConn.connect(clientId=100, host="localhost", port=7497)

# assign the custom callback
ibConn.ibCallback = ibCallback

# create a contract
contract = ibConn.createStockContract("CVE", currency="CAD")

# create an order
#order = ibConn.createOrder(quantity=100, orderType="MKT") # use price=X for LMT orders

# submit an order (returns order id)
#orderId = ibConn.placeOrder(contract, order)

#print(orderId)

# let order fill
time.sleep(2)

print('EXIT')
order2 = ibConn.createOrder(quantity=-200, price=14.1, orderType="LMT")
orderId2 = ibConn.placeOrder(contract, order2)
print(orderId2)

# see the positions
print("Positions")
print(ibConn.positions)

authors: mcgwebdesign ranaroussi

repo: ranaroussi/ezibpy


text:
TimedeltaIndex construction is deprecated.

Fixed warning TimedeltaIndex construction is deprecated and will be removed in a future version.

If addressing an issue, link to it.

PR addresses #1820

#1820 is a different problem. This PR fixes #1837

On futher inspection, dev branch already has fixed.

authors: GuilhermeHenriSa ValueRaider comalice

repo: ranaroussi/yfinance


text:
Add new targets

The following binaries would have to be added to Downloads in the release page.

dapper-Linux-armv6l
dapper-Linux-armv7l
dapper-Linux-ppc64le

have been waiting for these binaries on power ( ppc64le ) , hopefully this PR can be worked upon

authors: ghatwala zambon

repo: rancher/dapper


text:
Rancher version is shown as unknown, works on Cluster Manager (Ember)

Rancher version: 2.6 master-head (06/01/2021) 5d49b92
I was expecting the Rancher version or short commit id but it's displayed as unknown

Ah, hadn't spotted this one, there was a dupe #3160 that I thought was first and have now processed.

authors: izaac richard-cox

repo: rancher/dashboard


text:
Issue with the left navigation pane in a cluster's context

On master-head commit id: 30574c2

Deploy a downstream cluster from cluster management
From left slide in pane, navigate to the cluster
Expand Apps and Market Place Menu and click on Chart
Charts page opens up.
But the left menu, collapses.
This happens for other sections also

Expected:

When selecting a Page in the Left menu, can we NOT have them collapse, as user may want to navigate to other resources in the same section, but will have to expand it one more time to navigate

@rak-phillip This is probably a dupe of #3512. Can you investigate and if so comment and move to to test?

This definitely reads as a duplicate of #3512 . Moving to to test
@richard-cox @sowmyav27

Closing in favor of #3512

authors: deniseschannon rak-phillip richard-cox sowmyav27


text:
[2.6.7] Remove RKE1 Windows provisioning due to EOL

https://github.com/rancher/windows/issues/179
https://github.com/rancher/windows/issues/182
As part of the 2.6.6 release, RKE1 Windows will be EOL. We need to remove the ability to provision new RKE1 Windows clusters through the Rancher UI.
In the UI, this will mean the removal of the Windows Support boolean during the RKE1 provisioning and any other functionality specific to Windows.

@gaktive  Would we be able to setup a meeting to work with a dedicated UI resource to investigate and document what we need to do for the RKE1 Windows EOL?

I created two separate PRs depending on whether we're going to remove windows support vs showing a deprecation banner.
https://github.com/rancher/ui/pull/4850
https://github.com/rancher/ui/pull/4851

on 2.6-head commit id: 78017e6

/backport v2.5.16

Reopnening this issue since there is a slight change we need in the message
Actual:
Windows support is being deprecated for RKE1. We suggest migrating to RKE2/K3s.
Expected:
Windows support is being deprecated for RKE1. We suggest migrating to RKE2.

Tested on v2.6.7-rc6:
The current messaging is as follows in rke1:

however, this message only shows up during creation of a new cluster. We should enhance the message to also show up for rke1 clusters on the provisioning page at a minimum, so that the user sees the message when trying to register the windows node in rke1.
i.e. on this page, but only for rke1 clusters.

@slickwarren  We already have it in two places. Why is this new third place critical?

That screenshot is from ember. Currently the provisioning/registration page in 2.6.7 does not have a warning ( 2nd screenshot from my previous comment)

tested on v2.6.7-rc9:
I now see the following message displayed on the registration page in addition to the previously tested page, when creating an rke1 custom cluster

authors: codyrancher rosskirkpat slickwarren sowmyav27


text:
Missing dropdown to show multiple existing PVs or storage classes while creating a PVC

Rancher Server Setup

Rancher version: v2.7-head 40932d6
Installation option (Docker install/Helm Chart): Docker install

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc):

Proxy/Cert Details: self signed

Additional context
1. Verified the issue is not seen on v2.6.9 fr RKE2 clusters node drivers.
2. Verified the dropdown works fine for RKE1 node driver clusters
Information about the Cluster

Kubernetes version: v1.24.4+rke2r1
Cluster Type (Local/Downstream): Downstream Infrastructure provider RKE2 Linode provider 1 node all roles

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider):

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom)

If custom, define the set of permissions: Cluster Owner

Describe the bug
While creating a PVC when we select a volume claim a drop down to show existing pvs or storage classes is missing.
To Reproduce

Create an rke2 cluster with the specs mentioned above
From cluster explorer >> from left navigation >> navigate to Storage >> Persistent volumes >> Create a PV by selecting a volume plugin [I tried with local]
Provide the plugin configuration based on the plugin selected above [Since I selected local >> updated the path as /mnt]
Add in customize options [Since I selected local, added a node selector]
Create the PV
From left navigation >> Storage >> select PersistentVolumeClaims >> Under Volume Claim Source select either option [Storage class or existing Persistent Volume]

Result
Notice the dropdown is missing while we want to select existing PVs or Storage classes
Expected Result
Expected the dropdown to show up
Screenshots

Noticed while validating https://github.com/rancher/dashboard/issues/6962

@anupama2501 I cannot seem to reproduce this issue... Let me know if you want to jump into a call 🙏
NOTE: rancher/dashboard latest master is still 2.7.0 right now
rancher/rancher:v2.7.0-rc4, using local cluster v1.24.4+k3s1, rancher/dashboard latest master

rancher/rancher:v2.7.0-rc4, using Digital Ocean RKE2 cluster v1.24.7+rke2r1, rancher/dashboard latest master

@aalves08 apologies, I seemed to have missed your comment on the ticket.
I re validated on v2.7-head 833b1ab

Created an rke2 node driver Linode 1 node all roles cluster
From explorer >> Storage >> PV -- Created 2 PVs
From PVCs dropdown works fine and was able to create a PVC from the existing PVs as well as a default storage class.

Closing the issue and will open a new issue if seen again in future.

no worries @anupama2501 . Thank you for your time 🙏


text:
Update extensions publish workflow for assets in gh-pages branch

Summary
Fixes #8313

This updates the workflow and publish script for extensions to push build assets into the gh-pages branch if applicable. If the gh-pages branch does not exist the main branch will be used. The user will still be able to supply a specific branch if desired.

@jordojordo I would say this look good, but I am really lacking the scripting knowledge to do a "complete" evaluation here 🙏


text:
Backport 2.7.4: Sanitize project label v-html

Summary
This removes the need to use v-html when displaying project labels by shifting the span tag outside of the translations inside of en-us.yaml and into the vue template.
Areas or cases that should be tested

Listing projects and namespaces.
Before

After

backports #8832 into release-2.7.4

Skipping e2e tests, running into issues with pre-build step exceeding memory heap.


text:
Update kine to v0.4.1

Proposed Changes

Updates k3s with the latest version of kine which replaces debug with trace to quiet the k3s log output when in debug.
Types of Changes

Verification

Run in debug and verify no kine debug output is seen.
Linked Issues

#831
Further Comments

LGTM
This also pulls through the connection pool config stuff.

Is that alright to come in?

Yes, it should be. The defaults are the same as before, but they can now be configured. Additional work is needed to expose the connection pool config via additional CLI flags or however else we want to do it.

authors: brandond briandowns


text:
manager: more log needed

[x] API log
[x] Replica deletion/cleanup
[x] Check all the major operations again.
[x] Try to identify the caller of API in some way.
[x] Gather controller and replica logs when controller reports one replica became error.
[x] Gather controller log when it becomes faulted.
[x] Gather controller and replica logs when controller crashed

To identify the caller (is user or Kubernetes), we will use gorilla CombinedLoggingHandler to get the user agent from the http request.

Fixed by https://github.com/rancher/longhorn-manager/pull/235

repo: rancher/longhorn


text:
Git Auth - Local user has access to cluster when removed from project.

Steps:
Add Git Auth
Create local user accounts.
Set access to "Allow members of Clusters, Projects, plus Authorized Users and Organizations"
Assign local user to a project (I added them as a member).
Remove local user to project.
Results:
Local user is still able to login and view cluster/project after being removed.

Local users are separate from Github and will still have access, where we need changes in the UI to describe what "Restricted" mode looks like.
I think it falls under this umbrella:
https://github.com/rancher/rancher/issues/12031

Not a bug, local user had full admin access.

authors: adingilloRancher deniseschannon

repo: rancher/rancher


text:
After deleting a resourcequota template, the namespace associated with the template still has the resourcequota

Rancher versions:
rancher/server or rancher/rancher: master
Steps to Reproduce:

Create a project P1 with resource quota defined
Create a Resource quota template and namespace  using this template.

> kubectl describe resourcequota default-htwp4 --namespace mydeletetest
Name:                   default-htwp4
Namespace:              mydeletetest
Resource                Used  Hard
--------                ----  ----
configmaps              0     5
limits.cpu              0     1
limits.memory           0     50Gi
persistentvolumeclaims  0     5
pods                    0     10
replicationcontrollers  0     5
requests.cpu            0     1
requests.memory         0     10Gi
secrets                 1     5
services                0     5
services.loadbalancers  0     5
services.nodeports      0     5

Delete the template.
The namespace still has the resource quota as seen in kubectl,

kubectl describe resourcequota default-htwp4 --namespace mydeletetest
Name:                   default-htwp4
Namespace:              mydeletetest
Resource                Used  Hard
--------                ----  ----
configmaps              0     5
limits.cpu              0     1
limits.memory           0     50Gi
persistentvolumeclaims  0     5
pods                    0     10
replicationcontrollers  0     5
requests.cpu            0     1
requests.memory         0     10Gi
secrets                 1     5
services                0     5
services.loadbalancers  0     5
services.nodeports      0     5

{
"annotations": {
"cattle.io/status": "{\"Conditions\":[{\"Type\":\"InitialRolesPopulated\",\"Status\":\"True\",\"Message\":\"\",\"LastUpdateTime\":\"2018-07-29T20:56:58Z\"},{\"Type\":\"ResourceQuotaInit\",\"Status\":\"True\",\"Message\":\"\",\"LastUpdateTime\":\"2018-07-29T20:56:57Z\"}]}",
"lifecycle.cattle.io/create.namespace-auth": "true"
},
"baseType": "namespace",
"created": "2018-07-29T20:56:56Z",
"createdTS": 1532897816000,
"creatorId": "user-k5gdl",
"id": "mydeletetest",
"labels": {
"field.cattle.io/projectId": "p-8qf4h"
},
"links": {
"remove": "…/v3/cluster/c-dqttm/namespaces/mydeletetest",
"self": "…/v3/cluster/c-dqttm/namespaces/mydeletetest",
"update": "…/v3/cluster/c-dqttm/namespaces/mydeletetest",
"yaml": "…/v3/cluster/c-dqttm/namespaces/mydeletetest/yaml"
},
"name": "mydeletetest",
"projectId": "c-dqttm:p-8qf4h",
"resourceQuotaAppliedTemplateId": "c-dqttm:soumyarqt",
"resourceQuotaTemplateId": "c-dqttm:soumyarqt",
"state": "active",
"transitioning": "no",
"transitioningMessage": "",
"type": "namespace",
"uuid": "edea854f-9371-11e8-8f7c-0296f6418b46"
}

Note: The UI removes the template from the namespace in the namespace view

@soumyalj could you confirm that this issue is no longer relevant.

We don't support resourcequota templates now. This issue is not relevant.


text:
Cannot create EKS cluster using admin user role

Rancher versions:
rancher/server or rancher/rancher: v2.0.7
rancher/agent or rancher/rancher-agent: v2.0.7
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO) AWS
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB) HA on kubernetes
Steps to Reproduce:

Connect authentication to Active Directory
Validate AD auth with a user (Test and enable authentication) - this user is now linked to default admin role
Attempt to create a EKS cluster (enter access key + secret)
Immediate answer from API call is 400: null

Results:
I've been seeing this since at least v2.0.5
The UI will show immediately the error message 400: null in red below the create button.
Looking at the ajax call, we see this is wrapped in json object and is the only response from the Rancher api.
Using a non admin user works correctly though.

When this is validated, make sure you attempt to repro in v2.0.7 before you attempt to repro in a 2.1 RC. If we can't repro with the version originally reported, then we may need more info

@StrongMonkey to validate

Not able to reproduce it in v2.0.7.
Steps:

Create  a fresh v2.0.7 rancher install. Configure AD authentication.
Login as the user which is used to configure AD authentication.
Be able to create a EKS cluster.

Once 2.1 RC is out i will reverify this.
@alexandrem Can you make sure the user you created do have the privilege to create cluster? We probably need more info to reproduce your issue.

Also tested with the latest master, didn't reproduce the issue as well.

We've now had three engineers fail to reproduce. closing. @alexandrem feel free to open with more steps to repro if you can still repro

authors: StrongMonkey alexandrem cjellick


text:
Etcd snapshots have .part file along with the actual snapshot

Version: Master build from March 14th
Steps:

Create a single node cluster with local backup config of 1hr creation time
Wait for the first automatic snapshot to be taken

The snapshots have a .part in /opt/rke/etcd-snapshots directory
root@soumyasingagn1:/opt/rke/etcd-snapshots# ls -ltr
total 1940
-rw-r--r-- 1 root root 1982496 Mar 14 22:06 c-smfrt-rl-bxr9h
-rw-r--r-- 1 root root       0 Mar 14 22:06 c-smfrt-rl-bxr9h.part

Take a manual backup, the .part file is present here for the manual backup too

root@soumyasingagn1:/opt/rke/etcd-snapshots# ls -ltr
total 5936
-rw-r--r-- 1 root root 1982496 Mar 14 22:06 c-smfrt-rl-bxr9h
-rw-r--r-- 1 root root       0 Mar 14 22:06 c-smfrt-rl-bxr9h.part
-rw-r--r-- 1 root root 3170336 Mar 14 22:33 c-smfrt-ml-tfg64
-rw-r--r-- 1 root root  917504 Mar 14 22:33 c-smfrt-ml-tfg64.part

Part files are generated by the etcdctl command: https://github.com/etcd-io/etcd/blob/release-3.2/etcdctl/ctlv3/command/snapshot_command.go#L110-L146

@moelsayed what does that mean? are you saying its ok that they are there?

@cjellick No. We were discussing why/how these file are created. I put the source for reference.

verified on rancher:master (Commit id: a4b44d5).
.part files are not seen anymore. verified by taking manual backups.

Tested with master build from March 16th/17th. Verified that there is no .part file for the etcd snapshots for the following cases:

Manual back on fresh install
Recurring back up on fresh install
Recurring back up after restore
Manual backup after restore
Manual backup after changing from S3 to local config
Manual back up after upgrade after editing cluster
Recurring back up after upgrade after editing cluster

.part files are not present along with the snapshots

authors: cjellick moelsayed soumyalj sowmyav27


text:
[UI] Support selected version when we enable monitoring

Backport issue: https://github.com/rancher/rancher/issues/21460
UI should pass the monitoring version to the backend on enabling monitoring.

e.g version: 0.0.3

Close in favor of https://github.com/rancher/rancher/issues/21460

authors: guangbochen loganhz


text:
RancherOS v1.5.5 requests a new IP from DHCP

What kind of request is this:*
bug
Steps to reproduce (least amount of steps as possible):

Use Rancher to provision a cluster with RancherOS v1.5.5 (currently latest) using VMware node templates.
Creation method - Install from boot2docker ISO
Have a working DHCP server.

Wait for nodes to become online

Reboot or poweroff the nodes.

Result:
After their first reboot, the nodes ask for a new IP address and after they receive it, Rancher is no longer able to communicate to cluster's API (it tries to connect to old IPs).
The error is Failed to communicate with API server
Other details that may be helpful:
There was no such a behavior with RancherOS prior to v.1.5.5
Environment information

Rancher version: v2.3.5
Installation option (single install/HA): HA
vCenter v6.7.0.42000 Build number 15132721

DHCP server log:
13:19:04 dhcp01 dhcpd[789]: DHCPDISCOVER from **00:50:56:90:a5:75** via ens192
13:19:05 dhcp01 dhcpd[789]: DHCPOFFER on xxx.xxx.141.242 to 00:50:56:90:a5:75 (rancher) via ens192
13:19:05 dhcp01 dhcpd[789]: DHCPREQUEST for xxx.xxx.141.242 (xxx.xxx.141.10) from 00:50:56:90:a5:75 (rancher) via ens192
13:19:05 dhcp01 dhcpd[789]: DHCPACK on xxx.xxx.141.242 to 00:50:56:90:a5:75 (rancher) via ens192
###**reboot**###
14:27:19 dhcp01 dhcpd[789]: DHCPDISCOVER from **00:50:56:90:a5:75** via ens192
14:27:20 dhcp01 dhcpd[789]: DHCPOFFER on xxx.xxx.141.136 to 00:50:56:90:a5:75 (rancher) via ens192
14:27:20 dhcp01 dhcpd[789]: DHCPREQUEST for xxx.xxx.141.136 (xxx.xxx.141.10) from 00:50:56:90:a5:75 (rancher) via ens192
14:27:20 dhcp01 dhcpd[789]: DHCPACK on xxx.xxx.141.136 to 00:50:56:90:a5:75 (rancher) via ens192

@smart-nickname i have moved this over to the RancherOS repository: https://github.com/rancher/os/issues/2992

authors: janeczku smart-nickname


text:
[RFE] Migrate Microsoft Graph API client from manicminer/hamilton to microsoftgraph/msgraph-sdk-go

Is your feature request related to a problem? Please describe.
Currently to interact with the Microsoft Graph API, Rancher uses this 3rd party Hamilton library. There are some security, performance and maintenance concerns. Additionally, past issues we've had with the Hamilton library have taken a while to get addressed.
Describe the solution you'd like
We would like to move to the officially supported Microsoft go-sdk.
Describe alternatives you've considered
We could continue to use the existing 3rd party library, and open issues in that repo as needed. Historically that has worked for smaller changes, but if there's a significant change/feature we need, it can be very slow to get those changes into the Hamilton library.
Additional context
There is ongoing work for our Azure AD support, so the earlier we are able to migrate, the less challenging the migration will be.

Migrating to the Azure SDK for Go
Using https://github.com/microsoftgraph/msgraph-sdk-go
Rancher currently has two clients for Azure, the now deprecated AzureADGraphClient and the MSGraphClient.
I don't believe we know how many users use the deprecated client, and I can't find the deprecation timeline for it.
Azure SDK AzureClient
We would need to implement AzureClient but using the Microsoft SDK client.
From a technical PoV this is simply going through the code in the current MS Graph Client looking up the methods in the msgraph-sdk GoDoc and translating the calls that we use (based on the hamilton package) into calls to the Microsoft package.
It's complicated by the documentation for the package, which is not particularly helpful.
There are some useful examples in the package documentation and snippets.
Before reimplementing the client

Do we want to fully deprecate the old client? Can we?
Does this replace the new client?
Do we want more than one deprecated client?

The AzureClient interface has eight methods, and we have two existing implementations, so it shouldn't be particularly hard to migrate, we need to figure out how we deal with the deprecation elements.

Validation Template
What was fixed, or what change has occurred
We removed manicminer/hamilton and replaced it with calls to the underlying MS Azure library.
Areas or cases that should be tested
Azure AD authentication.

Login
Search for users and groups

What areas could experience regressions
Azure AD authentication and user/groups searching
Are the repro steps accurate/minimal?

Re opening for additional validations

Verified the following cases on v2.9-head 637346f and on an upgrade from v2.8.5 to v2.9-head 637346f

From Users and authentication, enable an auth provider depending on the requirement.
Once enabled, from the local cluster explorer, navigate to secrets >> Select the namespace cattle-global-data.

Verify the secrets for the enabled auth provider are stored in the cattle-globale-data ns.

From the auth provider, add 2 users -  User1, group1 to the downstream cluster as :

Cluster Owner

From the auth provider, create a project p1 and add 2 users - User3 and User4 to the cluster as:

Project Member

Verify crtbs and prtbs created for each of these members in the local cluster
Login as cluster owner and verify the cluster owner can perform the actions:
Verified group membership
Verified Nested group membership
Verified multiple access modes

Set the auth access mode to Allow members of clusters and projects, plus authorized users & groups

Login as User5 and verify the access is not allowed.
Login as User1 and User3 and verify access is allowed.

Set the auth access mode to Restrict access to only the authorized users & groups

Add the user1 and user2 to the list of allowed users in auth page
Login as user1 and user2 and verify the access is allowed.
Login as admin user and verify the user access is permitted.

Auth upgrade checks
Enable, disable and re-enable auth providers
Refresh user and group membership
Auth user search
Enable auth using terraform
Update auth config from CLI

Waiting on access to verify China end points.

Unable to validate china endpoints at this time. Closing the issue and will open a new ticket if we find any issues around it later.

authors: JonCrowther anupama2501 bigkevmcd