Unmute after add not working

Blockify detects and blocks adds (mutes program mixer) but does not unmute it after add finishes.
I have to manually enter sound controls and unmute the spotify mixer after each add.
When using a playlist it furthermore does not resume playing on spotify after the playlist song finishes. I have to restart spotify to make it posible to play the next song. Seems like signals only go one way:
spotify->blockify
not
blockify->spotify
Here is the version number and logfile of the last try.
blockify --version 1.8.7
2015-07-08 15:09:04 DEBUG    util     Added logging file handler: /home/niceri/logfile.
2015-07-08 15:09:04 INFO     util     Loading configuration.
2015-07-08 15:09:04 INFO     util     Configuration file loaded from /home/niceri/.config/blockify/blockify.ini.
2015-07-08 15:09:04 INFO     list     Blocklist loaded from /home/niceri/.config/blockify/blocklist.txt.
2015-07-08 15:09:04 INFO     player   InterludePlayer initialized.
2015-07-08 15:09:04 DEBUG    player   Loading playlist.
2015-07-08 15:09:04 DEBUG    player   Stop: State is (<enum GST_STATE_CHANGE_SUCCESS of type GstStateChangeReturn>, <enum GST_STATE_NU$
2015-07-08 15:09:04 DEBUG    player   Setting interlude to: /home/niceri/Music/Ricardo Arjona - Vida (Video Oficial)-Jzn3yVu1XsE.m4a
2015-07-08 15:09:04 INFO     player   Playlist loaded (Length: 1263).
2015-07-08 15:09:04 INFO     player   Playlist: ['Ricardo Arjona - Vida (Video Oficial)-Jzn3yVu1XsE.m4a', 'rebuild.pdf', 'tuning.pdf',$
2015-07-08 15:09:04 DEBUG    main     Mute method is pulse sink.
2015-07-08 15:09:04 INFO     main     Blockify initialized.
2015-07-08 15:09:04 INFO     main     Blockify started.
2015-07-08 15:15:27 INFO     main     Muting Amason – Ålen.

And here is some output copied from the console when using a personal playlist and blockify -vvv (unecessary info removed)
2015-07-08 14:54:10 INFO     main     Blockify started.
2015-07-08 15:05:34 INFO     main     Muting Absolute Dance – Absolute Dance.
2015-07-08 15:05:35 INFO     player   Playing interlude: /home/niceri/Music/Ricardo Arjona - Vida (Video Oficial)-Jzn3yVu1XsE.m4a
2015-07-08 15:05:35 DEBUG    player   Play: State is (<enum GST_STATE_CHANGE_FAILURE of type GstStateChangeReturn>, <enum GST_STATE_READY of type GstState>, <enum GST_STATE_PLAYING of type GstState>).
2015-07-08 15:05:38 DEBUG    player   Setting index to: 1.
2015-07-08 15:05:38 DEBUG    player   Setting interlude to: file:///home/niceri/Music/Fields of Africa.flac
2015-07-08 15:05:38 DEBUG    player   Setting index to: 0.
2015-07-08 15:05:38 INFO     player   Playing interlude: file:///home/niceri/Music/Fields of Africa.flac
2015-07-08 15:05:38 DEBUG    player   Play: State is (<enum GST_STATE_CHANGE_SUCCESS of type GstStateChangeReturn>, <enum GST_STATE_PLAYING of type GstState>, <enum GST_STATE_VOID_PENDING of type GstState>).
2015-07-08 15:05:38 INFO     main     Muting Absolute Dance – Absolute Dance.

2015-07-08 15:06:35 INFO     main     Muting Topsify – FRESH.
2015-07-08 15:06:35 DEBUG    player   Setting index to: 1.
2015-07-08 15:06:35 DEBUG    player   Setting interlude to: file:///home/niceri/Music/Fields of Africa.mp3
2015-07-08 15:06:35 DEBUG    player   Interlude song finished. Queued: file:///home/niceri/Music/Fields of Africa.mp3.
2015-07-08 15:06:35 INFO     main     Muting Topsify – FRESH.
^C2015-07-08 15:08:26 DEBUG    main     2 received. Exiting safely.
2015-07-08 15:08:26 INFO     main     Exiting safely. Bye.

(blockify:30236): GStreamer-CRITICAL **: Failed to deactivate pad mpegaudioparse0:sink, very bad
2015-07-08 15:08:26 DEBUG    player   Stop: State is (<enum GST_STATE_CHANGE_SUCCESS of type GstStateChangeReturn>, <enum GST_STATE_NULL of type GstState>, <enum GST_STATE_VOID_PENDING of type GstState>).
Traceback (most recent call last):
  File "/usr/bin/blockify", line 9, in <module>
    load_entry_point('blockify==1.8.7', 'console_scripts', 'blockify')()
  File "/usr/lib/python2.7/site-packages/blockify/blockify.py", line 453, in main
    blockify.start()
  File "/usr/lib/python2.7/site-packages/blockify/blockify.py", line 122, in start
    gtk.main()
KeyboardInterrupt

I am furthermore using spotify on Arch linux, installed from the AUR.
Any idea on how to debug this would be appreciated.

Thanks I'll Look into it
On Wednesday, 8 July 2015, nicolito<EMAIL_ADDRESS>wrote:

Blockify detects and blocks adds (mutes program mixer) but does not unmute
it after add finishes.
I have to manually enter sound controls and unmute the spotify mixer after
each add.
When using a playlist it furthermore does not resume playing on spotify
after the playlist song finishes. I have to restart spotify to make it
posible to play the next song. Seems like signals only go one way:
spotify->blockify
not
blockify->spotify
Here is the version number and logfile of the last try.
blockify --version
1.8.7
2015-07-08 15:09:04 DEBUG    util     Added logging file handler: /home/niceri/logfile.
2015-07-08 15:09:04 INFO     util     Loading configuration.
2015-07-08 15:09:04 INFO     util     Configuration file loaded from /home/niceri/.config/blockify/blockify.ini.
2015-07-08 15:09:04 INFO     list     Blocklist loaded from /home/niceri/.config/blockify/blocklist.txt.
2015-07-08 15:09:04 INFO     player   InterludePlayer initialized.
2015-07-08 15:09:04 DEBUG    player   Loading playlist.
2015-07-08 15:09:04 DEBUG    player   Stop: State is (, <enum GST_STATE_NU$
2015-07-08 15:09:04 DEBUG    player   Setting interlude to: /home/niceri/Music/Ricardo Arjona - Vida (Video Oficial)-Jzn3yVu1XsE.m4a
2015-07-08 15:09:04 INFO     player   Playlist loaded (Length: 1263).
2015-07-08 15:09:04 INFO     player   Playlist: ['Ricardo Arjona - Vida (Video Oficial)-Jzn3yVu1XsE.m4a', 'rebuild.pdf', 'tuning.pdf',$
2015-07-08 15:09:04 DEBUG    main     Mute method is pulse sink.
2015-07-08 15:09:04 INFO     main     Blockify initialized.
2015-07-08 15:09:04 INFO     main     Blockify started.
2015-07-08 15:15:27 INFO     main     Muting Amason – Ålen.
And here is some output copied from the console when using a personal
playlist and blockify -vvv (unecessary info removed)
2015-07-08 14:54:10 INFO     main     Blockify started.
2015-07-08 15:05:34 INFO     main     Muting Absolute Dance – Absolute Dance.
2015-07-08 15:05:35 INFO     player   Playing interlude: /home/niceri/Music/Ricardo Arjona - Vida (Video Oficial)-Jzn3yVu1XsE.m4a
2015-07-08 15:05:35 DEBUG    player   Play: State is (, , ).
2015-07-08 15:05:38 DEBUG    player   Setting index to: 1.
2015-07-08 15:05:38 DEBUG    player   Setting interlude to: file:///home/niceri/Music/Fields of Africa.flac
2015-07-08 15:05:38 DEBUG    player   Setting index to: 0.
2015-07-08 15:05:38 INFO     player   Playing interlude: file:///home/niceri/Music/Fields of Africa.flac
2015-07-08 15:05:38 DEBUG    player   Play: State is (, , ).
2015-07-08 15:05:38 INFO     main     Muting Absolute Dance – Absolute Dance.
2015-07-08 15:06:35 INFO     main     Muting Topsify – FRESH.
2015-07-08 15:06:35 DEBUG    player   Setting index to: 1.
2015-07-08 15:06:35 DEBUG    player   Setting interlude to: file:///home/niceri/Music/Fields of Africa.mp3
2015-07-08 15:06:35 DEBUG    player   Interlude song finished. Queued: file:///home/niceri/Music/Fields of Africa.mp3.
2015-07-08 15:06:35 INFO     main     Muting Topsify – FRESH.
^C2015-07-08 15:08:26 DEBUG    main     2 received. Exiting safely.
2015-07-08 15:08:26 INFO     main     Exiting safely. Bye.
(blockify:30236): GStreamer-CRITICAL **: Failed to deactivate pad mpegaudioparse0:sink, very bad
2015-07-08 15:08:26 DEBUG    player   Stop: State is (, , ).
Traceback (most recent call last):
File "/usr/bin/blockify", line 9, in
load_entry_point('blockify==1.8.7', 'console_scripts', 'blockify')()
File "/usr/lib/python2.7/site-packages/blockify/blockify.py", line 453, in main
blockify.start()
File "/usr/lib/python2.7/site-packages/blockify/blockify.py", line 122, in start
gtk.main()
KeyboardInterrupt
I am furthermore using spotify on Arch linux, installed from the AUR.
Any idea on how to debug this would be appreciated.
—
Reply to this email directly or view it on GitHub
https://github.com/mikar/blockify/issues/47.

I cannot reproduce this with ArchLinux.
Did you do a system update today and/or haven't rebooted in a while? If so, please do a reboot and try to reproduce the error again.
On the other hand, if you haven't updated in a while, it might help, too.
As far as debugging this error, this seems to be an error specific to your configuration. Try deleting all files/folders in ~/.config/blockify except for the playlist (if you want to keep it). Make sure your audio/pulseaudio configuration isn't faulty. Are notifications working on your system? Any dbus misconfiguration? Your guess is as good as mine right now ;)
The one thing i could look at is your pulse sink info. See the troubleshooting section of the blockify readme on how to get that info.
Regards

Thanks for confirming that the error is with my configuration.
I regularly update the system and did remove the files configuration files in blcokify before submitting the issue. It must be something else than blockify. I will try to understand how my dbus works. Notifications work however.
This is my pulse sink info:
pacmd list-sink-inputs | curl -F c=@- https://ptpb.pw
long: AGIEsoAOYHTBPoXJw-EPguOCbHef
sha1: 6204b2800e6074c13e85c9c3e10f82e3826c779f
short: bHef
status: created
url: https://ptpb.pw/bHef
uuid: df566db7-2f62-49c8-abd9-3de97b6a9c33

I hope it makes sense to you. I do not understand what it says.
I tried playing with a playlist once more with the same result. Music didn't resume and couldn't be started after add stopped. The block was however released somehow after killing blockify with ctrl-c. I could start the music, but the mixer was still muted.
I don't know if this tells you what happens, but here is the last ouptut from the console when stopping blockify with ctrl-c:
2015-07-09 09:27:27 INFO     main     Muting Travie McCoy – Golden.
2015-07-09 09:27:27 DEBUG    player   Setting index to: 1.
2015-07-09 09:27:27 DEBUG    player   Setting interlude to: file:///home/niceri/Music/Fields of Africa.mp3
2015-07-09 09:27:27 DEBUG    player   Interlude song finished. Queued: file:///home/niceri/Music/Fields of Africa.mp3.
2015-07-09 09:27:27 INFO     main     Muting Travie McCoy – Golden.
2015-07-09 09:27:27 INFO     main     Muting Travie McCoy – Golden.
2015-07-09 09:27:28 INFO     main     Muting Travie McCoy – Golden.
2015-07-09 09:27:28 INFO     main     Muting Travie McCoy – Golden.
^C2015-07-09 09:28:12 DEBUG    main     2 received. Exiting safely.
2015-07-09 09:28:12 INFO     main     Exiting safely. Bye.

(blockify:10647): GStreamer-CRITICAL **: Failed to deactivate pad mpegaudioparse0:sink, very bad
2015-07-09 09:28:12 DEBUG    player   Stop: State is (<enum GST_STATE_CHANGE_SUCCESS of type GstStateChangeReturn>, <enum GST_STATE_NULL of type GstState>, <enum GST_STATE_VOID_PENDING of type GstState>).
Traceback (most recent call last):
  File "/usr/bin/blockify", line 9, in <module>
    load_entry_point('blockify==1.8.7', 'console_scripts', 'blockify')()
  File "/usr/lib/python2.7/site-packages/blockify/blockify.py", line 453, in main
    blockify.start()
  File "/usr/lib/python2.7/site-packages/blockify/blockify.py", line 122, in start
    gtk.main()
KeyboardInterrupt

I will read up on dbus now
Thanks for taking the time

In the blockify.ini, change
pacmd_muted_value = yes
to
pacmd_muted_value = ja

Thankyou,
That solved all issues.
A language agnostic version would certainly be a good idea. In the meanwhile you could just add a comment about it in the "Troubleshooting" section of your instructions.
Your help, as well as your software, has been very much appreciated


Bug: messageformat not transpiled when selecting an object with selectTranslate

See console of
https://stackblitz.com/edit/angular-aa3pmd?file=src/app/app.component.ts
@NetanelBasal
...btw I have a feeling that Translation[] is a valid return type as well selectTranslate<T = string | Translation | string[]>

Ok, it wasn't exactly working this way in ngx-translate either, if you used messageformat compiler, it returned a function under the bar property, which you would pass the params to
https://stackblitz.com/edit/github-idytfc-ayovbm?file=src/app/app.component.ts
can we perhaps do this better somehow?

Played around with it a bit, see
https://github.com/ngneat/transloco/compare/master...fxck:ar-nestedmessageformattranspilation
what would be required

transpile to return string | Translation (which I think is correct either way, since currently it indeed might return something else other than string)
in case an object was passed to messageformat transpiler, it needs to go thru it and compile everything

what I've done is a recursive iteration, which could be costly, it also requires all the params to be unique
what I think could be a better solution would be to pass sort of a nested map of params, ie.

      this._translocoService
        .selectTranslate('mf.nested', {
          people: { count: '1' },
          projects: { moreNesting: { count: '1' } }
        })

that way we would know which nested properties need to be compiled

Here's proof of concept of the alternative solution with string path and set
https://github.com/ngneat/transloco/compare/master...fxck:ar-nestedmessageformattranspilation2

We are moving messageformat to a separate package. Let's discuss this issue afterward.

@shaharkazaz will make the first suggestion both to our transpiler and the messgaeforamt.

Any thoughts so far @shaharkazaz? I was thinking and maybe what ngx-translate is doing might be useful in some cases as well, maybe it could be optional along params object?

useful in some cases as well

For example?

I'm passing translation down to a component, which displays number of people and projects, so I'm passing those numbers down to the anyway (to display the number, which is not part of the person/people, project/projects translation), so instead of having to combine those number and passing them to selectTranslations, I'd just do {{ traslations.projects(projectCount) }} inside the template of the component.

But I think I still like having it resolved beforehand better.

We should choose one way for now.

LNK, If you want to take it and create a PR that will support both.

I just noticed that it returns a function for any value, even if it is a simple string. https://stackblitz.com/edit/github-idytfc-7cgt4g
Not so intuitive.

I think their translate directive unwraps it or something. Anyway personally I'd go for this https://github.com/ngneat/transloco/compare/master...fxck:ar-nestedmessageformattranspilation2 only, for now anyway.

BTW, from what I see, ngx-translate (not related to messageformat) doesn't support object translation with params: https://stackblitz.com/edit/github-idytfc-7cgt4g

Fixed in 1.7.0


upgraded jube and fabric8

upgraded jube and fabric8

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/fabric8-quickstarts-master-pullreq/245/
Test PASSed.


Add explore page

This PR solve this issue. To test it, you need to go to _http://localhost:3000/dataverse/explore_ page.
👉 As it is not possible to disable SSR for the whole page, we had to split the page into sub-components in order to disable SSR each time a document was used.

As seen with @fredericvilcot , let's merge the PR. The few remarks made will be fixed in another improvement PR.


RUM-5550: Create benchmark sample application module

What does this PR do?
Create benchmark sample application module
Motivation
RUM-5550
Additional Notes
The application is created under tools folder, in parallel with benchmark module:
|-- tools
|   |-- benchmark
|   |   |-- source code
|   |-- benchmarksample
|       |-- source code

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.03%. Comparing base (2f10387) to head (47b948c).
Report is 3 commits behind head on feature/metric-benchmark.

Additional details and impacted files
@@                     Coverage Diff                      @@
##           feature/metric-benchmark    #2143      +/-   ##
============================================================
+ Coverage                     69.96%   70.03%   +0.06%
============================================================
  Files                           726      726
  Lines                         26976    26970       -6
  Branches                       4520     4520
============================================================
+ Hits                          18873    18886      +13
+ Misses                         6829     6822       -7
+ Partials                       1274     1262      -12

see 33 files with indirect coverage changes


falcon_unzip3 getting exception from empty phasing results

Operating system
Linux Ubuntu
Package name
falcon_unzip 1.3.1
falcon-kit 1.4.2
pypeflow 2.3.0
I just installed and updated them, as best I could.  Some related packages didn't support python3, and it wasn't obvious exactly which should be installed in which environment.
  Judging from the code, this is not supposed to happen (match failures are meant to pass through).  From tasks/ccs.py:
        #grabs the names of all the CCS reads that associate with this primary contig.
        (
        set -vx +e
        grep -w {params.ctg} {input.RID_TO_CTG} >| rid_to_ctg.txt || /bin/true
        )

Error message
2019-09-19 04:06:53,063 - root - CRITICAL - Error in /home/raid2/LINUXOPT/miniconda3/lib/python3.6/site-packages/pypeflow/do_task.py with args="{'json_fn': '/home/f2p1/flowers/ccs.test/falcon_bean/3-unzip/0-phasing/001465F/uow-fake/task.json',\n 'timeout': 30,\n 'tmpdir': None}"
Traceback (most recent call last):
  File "/home/raid2/LINUXOPT/miniconda3/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/raid2/LINUXOPT/miniconda3/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/raid2/LINUXOPT/miniconda3/lib/python3.6/site-packages/pypeflow/do_task.py", line 280, in <module>
    main()
  File "/home/raid2/LINUXOPT/miniconda3/lib/python3.6/site-packages/pypeflow/do_task.py", line 272, in main
    run(**vars(parsed_args))
  File "/home/raid2/LINUXOPT/miniconda3/lib/python3.6/site-packages/pypeflow/do_task.py", line 266, in run
    run_cfg_in_tmpdir(cfg, tmpdir, '.')
  File "/home/raid2/LINUXOPT/miniconda3/lib/python3.6/site-packages/pypeflow/do_task.py", line 241, in run_cfg_in_tmpdir
    run_bash(bash_template, myinputs, myoutputs, parameters)
  File "/home/raid2/LINUXOPT/miniconda3/lib/python3.6/site-packages/pypeflow/do_task.py", line 200, in run_bash
    util.system(cmd)
  File "/home/raid2/LINUXOPT/miniconda3/lib/python3.6/site-packages/pypeflow/io.py", line 27, in syscall
    raise Exception(msg)
Exception: Call '/bin/bash user_script.sh' returned 256.

To Reproduce
Steps to reproduce the behavior. Providing a minimal test dataset on which we can reproduce the behavior will generally lead to quicker turnaround time!
Expected behavior
Given the "set +e", a failure to match should probably not cause an exception.  The work-around I'm using is to append
|| /bin/true
to the grep command

Hi @flowers9 this issue tracker is intended for our software developers, but you can submit your problem to<EMAIL_ADDRESS>and we will work with you to resolve the problem!

Right, I found what looked like a bug in your code and offered a fix for
it.  That sounds like something that should go to software developers.
On Fri, Sep 20, 2019 at 7:19 AM Dan Browne<EMAIL_ADDRESS>wrote:

Hi @flowers9 https://github.com/flowers9 this issue tracker is intended
for our software developers, but you can submit your problem to
<EMAIL_ADDRESS>and we will work with you to resolve the problem!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PacificBiosciences/pbbioconda/issues/196?email_source=notifications&email_token=ACVFDDGSDXAR6WTSKYD5D7TQKTLXZA5CNFSM4IYOQXUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7G265Y#issuecomment-533573495,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACVFDDBJGWSVOROB2Q6YRHTQKTLXZANCNFSM4IYOQXUA
.

@flowers9 feel free to attach your suggested patch here

Whoops, I accidentally quoted your code above with the patch in place.  I'll edit that in a sec.  But here's the patch I used:
--- falcon_unzip/tasks/ccs.py.orig      2019-09-19 12:23:57.418136453 -0500
+++ falcon_unzip/tasks/ccs.py   2019-09-19 12:22:57.474997870 -0500
@@ -176,7 +176,7 @@
         #grabs the names of all the CCS reads that associate with this primary contig.
         (
         set -vx +e
-        grep -w {params.ctg} {input.RID_TO_CTG} >| rid_to_ctg.txt
+        grep -w {params.ctg} {input.RID_TO_CTG} >| rid_to_ctg.txt || /bin/true
         )

         #converts the CCS read names into DAZDB read ids.

Why does set +e not work? Could you help us debug that on your system? ... Oh, I remember. The sub-process (in parens) needs to exit with a 0.
Locally, we have this already:
        (
        set -vx +e
        grep -w {params.ctg} {input.RID_TO_CTG} >| rid_to_ctg.txt
        true
        )

So I think you don't have the latest code....
pb-falcon                 0.3.1            py36hc0aa232_0    bioconda
...
python                    3.6.7             h357f687_1005    conda-forge

Aha. That's the problem. You have to use a python-3.7 environment.


Integration Test - Release - 2021/12/22 06:38:16

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#pri3'

#pri2

#pri3

#assign NonAllowedUser

#assign PRMergerTest1

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

#reassign PRMergerTest2

#reassign NonAllowedUser

#please-close

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

GitHub user PRMergerTest2 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#unassign PRMergerTest1

#unassign NonAllowedUser


added supra vrf documentation

Description
Added Supra's VRF documentation.
Additional context
Adding a resource for developers.

Hey @ksdumont sorry for letting this sit. I'd like to carve out a tutorial specific section. I'll do that today and direct the PR to move there!

No worries! Thanks for the heads up.

Alright! I reorganized the community directory, can you please follow the contributing doc to carve out your own section in the community/tutorials section?

Just opened a new PR here: https://github.com/ethereum-optimism/developers/pull/43


Feature enable disable hand pairs

[ ] Use "O" & "P" keys to disable and enable Poly_Hands

Alright, think I've addressed the comments.


Both ICA controller and host CLI commands are added even if one is not enabled

Summary of Bug

The ICA CLI commands are always added for both host and controller (see query and tx) even if one of them is not enabled on the given chain.
The occurence of e.g. the controller subcommands are confusing when expecting only the host submodule to be there. Executing a non-supported command returns
 $ simd query interchain-accounts controller params
Error: rpc error: code = Unknown desc = unknown query path: unknown request
Usage:
  simd query interchain-accounts controller params [flags]
...

This is to expected given how cobra works, but to someone who does not have the full background on this, it is simply confusing because the shown usage is exactly what was put into the command line.
Expected Behaviour

Only show the commands for the enabled submodules or return a meaningful error message (e.g. interchain-accounts controller disabled or similar).
Version

Ever since ICA CLI commands were introduced.
Steps to Reproduce

Add ICA module to Cosmos based chain
Enable e.g. ICA host but disable ICA controller
simd query interchain-accounts controller params

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

Unfortunately the CLI registration happens on AppModuleBasic
// GetTxCmd implements AppModuleBasic interface
func (AppModuleBasic) GetTxCmd() *cobra.Command {
	return cli.NewTxCmd()
}

// GetQueryCmd implements AppModuleBasic interface
func (AppModuleBasic) GetQueryCmd() *cobra.Command {
	return cli.GetQueryCmd()
}

For ICA this is a little problematic as the keepers for controller/host submodules exist on the AppModule struct and enabling query/msg servers is controlled by nil checks , whereas AppModuleBasic has no reference to the keepers.
There may be another approach we can use to get around this tho. Thanks for raising this!


View Stash is missing Apply & Drop command

There is only "Apply" and "Drop", both close the view. I usually apply and drop. If I would only apply (but not drop), I wouldn't feel safe about dropping it when cleaning up my stashes at some later point, as I never know if I already applied the stash or not.

Isn't "Apply & Drop" equivalent to "Pop"? "Pop" is an alternative command on "Apply" that you have access with the "Alt" modifier. Am I missing something? Thank you!

Ahh, I'm blind. Thanks!


Error on installing kernel through mainline

Ran into a problem with fwts when I installed the latest kernel today.
`mainline 1.4.10
install 6.10.6
Downloading 6.10.6
Installing 6.10.6
Selecting previously unselected package linux-headers-6.10.6-061006.
(Reading database ... 151460 files and directories currently installed.)
Preparing to unpack .../linux-headers-6.10.6-061006_6.10.6-061006.202408190440_all.deb ...
Unpacking linux-headers-6.10.6-061006 (6.10.6-061006.202408190440) ...
Selecting previously unselected package linux-headers-6.10.6-061006-generic.
Preparing to unpack .../linux-headers-6.10.6-061006-generic_6.10.6-061006.202408190440_amd64.deb ...
Unpacking linux-headers-6.10.6-061006-generic (6.10.6-061006.202408190440) ...
Selecting previously unselected package linux-image-unsigned-6.10.6-061006-generic.
Preparing to unpack .../linux-image-unsigned-6.10.6-061006-generic_6.10.6-061006.202408190440_amd64.deb ...
Unpacking linux-image-unsigned-6.10.6-061006-generic (6.10.6-061006.202408190440) ...
Selecting previously unselected package linux-modules-6.10.6-061006-generic.
Preparing to unpack .../linux-modules-6.10.6-061006-generic_6.10.6-061006.202408190440_amd64.deb ...
Unpacking linux-modules-6.10.6-061006-generic (6.10.6-061006.202408190440) ...
Setting up linux-headers-6.10.6-061006 (6.10.6-061006.202408190440) ...
Setting up linux-headers-6.10.6-061006-generic (6.10.6-061006.202408190440) ...
/etc/kernel/header_postinst.d/dkms:

dkms: running auto installation service for kernel 6.10.6-061006-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module:
Cleaning build area...
KVER=6.10.6-061006-generic make...(bad exit status: 2)
ERROR (dkms apport): kernel package linux-headers-6.10.6-061006-generic is not supported
Error! Bad return status for module build on kernel: 6.10.6-061006-generic (x86_64)
Consult /var/lib/dkms/fwts-efi-runtime-dkms/24.01.00/build/make.log for more information.
dkms autoinstall on 6.10.6-061006-generic/x86_64 failed for fwts-efi-runtime-dkms(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.

dkms: autoinstall for kernel 6.10.6-061006-generic
...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-6.10.6-061006-generic (--install):
installed linux-headers-6.10.6-061006-generic package post-installation script subprocess returned error exit status 11
Setting up linux-modules-6.10.6-061006-generic (6.10.6-061006.202408190440) ...
Setting up linux-image-unsigned-6.10.6-061006-generic (6.10.6-061006.202408190440) ...
I: /boot/vmlinuz is now a symlink to vmlinuz-6.10.6-061006-generic
I: /boot/initrd.img is now a symlink to initrd.img-6.10.6-061006-generic
Processing triggers for linux-image-unsigned-6.10.6-061006-generic (6.10.6-061006.202408190440) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.10.6-061006-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module:
Cleaning build area...
KVER=6.10.6-061006-generic make...(bad exit status: 2)
ERROR (dkms apport): kernel package linux-headers-6.10.6-061006-generic is not supported
Error! Bad return status for module build on kernel: 6.10.6-061006-generic (x86_64)
Consult /var/lib/dkms/fwts-efi-runtime-dkms/24.01.00/build/make.log for more information.
dkms autoinstall on 6.10.6-061006-generic/x86_64 failed for fwts-efi-runtime-dkms(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.

dkms: autoinstall for kernel 6.10.6-061006-generic
...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-unsigned-6.10.6-061006-generic (--install):
installed linux-image-unsigned-6.10.6-061006-generic package post-installation script subprocess returned error exit status 11
Errors were encountered while processing:
linux-headers-6.10.6-061006-generic
linux-image-unsigned-6.10.6-061006-generic
mainline: done
`

Hmmmm..ignore me...didn't follow the instruction and reboot to get mokmanager to install the cert....sigh..

@terenctbrobots Glad you figured it out! :)


brew tap brewsci/science invalid formula error

I´ve received an error by trying to tap brewsci/science
brew tap brewsci/science Updating Homebrew... ==> Tapping brewsci/science Cloning into '/usr/local/Homebrew/Library/Taps/brewsci/homebrew-science'... remote: Counting objects: 468, done. remote: Compressing objects: 100% (465/465), done. remote: Total 468 (delta 1), reused 153 (delta 1), pack-reused 0 Receiving objects: 100% (468/468), 429.98 KiB | 1.40 MiB/s, done. Resolving deltas: 100% (1/1), done. Error: Invalid formula: /usr/local/Homebrew/Library/Taps/brewsci/homebrew-science/Formula/ome-common.rb uninitialized constant #<Class:0x0000000101615e20>::MinimumMacOSRequirement Did you mean?  MaximumMacOSRequirement Error: Invalid formula: /usr/local/Homebrew/Library/Taps/brewsci/homebrew-science/Formula/ome-files.rb uninitialized constant #<Class:0x0000000101578210>::MinimumMacOSRequirement Did you mean?  MaximumMacOSRequirement Error: Invalid formula: /usr/local/Homebrew/Library/Taps/brewsci/homebrew-science/Formula/ome-xml.rb uninitialized constant #<Class:0x00000001014d3c60>::MinimumMacOSRequirement Did you mean?  MaximumMacOSRequirement Error: Invalid formula: /usr/local/Homebrew/Library/Taps/brewsci/homebrew-science/Formula/osgearth.rb uninitialized constant #<Class:0x00000001028fdf10>::MinimumMacOSRequirement Did you mean?  MaximumMacOSRequirement Error: Cannot tap brewsci/science: invalid syntax in tap!
I already have hombrew up to date.
In case it is needed this is my gcc --version report
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 9.1.0 (clang-9<IP_ADDRESS>) Target: x86_64-apple-darwin17.5.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin

We do not support this tap. Please file the issue with them.
In future please always fill out the issue template.


Clean libexec

Argument mixes string and array. Use * or separate argument.
Double quote array expansions, otherwise they're like $* and break on spaces.
Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.
You are missing a required space after the !.

@meltsufin Friendly ping.

@chengyuanzhao Friendly ping.

@Androbin We (@meltsufin and @ChengyuanZhao) do not maintain this project.


Steam Error 500 and 504 prevents Winner Trade Offers

So it's a known issue, but I was wondering when a fix would be made? I've fixed the deposit trade offers by surrounding it in a try catch and cancelling it if it has an error.
My idea was that you could store the trade offer info into a database table and make the bot check that every 2 seconds or so to send winner trade offers and just surround those with a try catch.


[Feature Request] Add support for Python 3.11

Hi folks,
python 3.11 is out since a while and it brings a lot of nice improvements especially related to performance. Is there any plan to add support for it?

The 3.1.0 that is released in progress adds the support for Python 3.11, you can try the wheels here: https://lists.apache.org/thread/lyzyyg9yhwc836trv0dhdgq23bym4som

Close this issue by the formal Python client 3.1.0 release: https://lists.apache.org/thread/nj8lhd2sk4073lkvj53yj9dv9y885nm2


Tweak transaction preview modal

Update based on new designs https://oasisprotocol.clickup.com/t/32df7p7

Desktop:

Before
After


ADX IotHub Dataconnection enqueuedtime bug with a array in message body

Hello,
I have a problem in ADX ingesting data with a IoTHub Dataconnection.
in IoT Edge, I have OPCUA publisher module wich batches messages by 10.
in IoT Hub, I see the json message containing an array of OPCUA messages.
in the AdxDataConnection, I added the system property 'iothub-enqueuedtime'.
in ADX table, I dont have the array in one row, but I have many OPCUA message in separate rows ; well ok great.
the problem is : only one of them has the iothub-enqueuedtime property

I think this array split behavior may be documented
is there something I can do for the enqueuedtime ? a property to set in the connector?

thanks for your help

@Ben-Duf
It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!!

https://learn.microsoft.com/en-us/azure/data-explorer/ingest-data-iot-hub

@shsagir
please review it.

Thanks for contacting us with feedback about our product documentation. Depending on the complexity, it could take from a few business days to a few weeks to look further into your question, issue, or suggestion. We'll contact you if we need further information, and you'll receive an email message each time we "@mention" you in a comment.
Thanks again for submitting your feedback. Your suggestions help improve our documentation.

We've passed this product issue onto the team for further investigation. Closing the issue at this time.
#please-close


Implement placeholder 'advertisedAddress' in kafkaAdvertisedListeners

With this patch when you configure kafkaAdvertisedListeners you can use the special placeholder advertisedAddress that picks up the value configured for advertisedAddress in broker.conf.
Without this placeholder you have to inject the value using other external means, like adding stuff to the Helm Chart (status.podIP) and it is not trivial.

I will add docs if the feature is accepted

@Demogorgon314 @BewareMyPower PTAL

@Demogorgon314 did you have time to take a look ?

@BewareMyPower @Demogorgon314 could we commit this patch ?
or should I add docs together this patch ?
no problem from my side

What I concern is that the placeholder doesn't contain the special characters. Is there a possibility that advertisedAddress is a valid domain name.

What I concern is that the placeholder doesn't contain the special characters. Is there a possibility that advertisedAddress is a valid domain name.

@BewareMyPower the fact is that special characters don't play well with Helm/Bash/YAML...it is always a pain with escaping  (underscore, dot, dollar symbol...)
So I opted to use the same configuration entry that we have in broker.conf.
It is unlikely that there is a hostname named "advertisedAddress" so it is a safe placeholder.
We will document this very well
I would add that initially I thought to resolve to advertisedAddress the case of "empty hostname", but that would have changed the current behaviour, so "advertisedAddress" is safer and backward compatible

Thanks!
I will follow up with docs next Monday


[wct headless] tests failing when using import

Hello!  👋
I've been looking at Web Component Tester for headless unit testing of Custom Elements, and while I have a basic implementation configured (using a test/index.html to bootstrap everything and a test is working there), I'm having trouble with trying out a test to ES2015 import to load components for testing.
Here is the test
import { word } from '../src/index';

describe('basic testing suite', () => {

  it('should be true', () => {
    const bool = true;

    expect(bool).to.equal(true);
  });

});

describe('testing word', () => {

  it('should be hello', () => {
    expect(word).to.equal('hello');
  });

});

Here is index.js
const word = 'hello';

export default word;

The error output
$ yarn test
yarn run v1.7.0
$ wct --npm --expanded
Installing and starting Selenium server for local browsers
Selenium server running on port 62819
[BABEL] Note: The code generator has deoptimised the styling of undefined as it exceeds the max of 500KB.
chrome 67                Beginning tests via http://localhost:8081/components/component-simple-slider/generated-index.html?cli_browser_id=0
chrome 67                ✖ Test Suite Initialization

  Unexpected token {

chrome 67                ✓ test/ » test basic element from index.html »
 should say hello world
chrome 67                Tests failed: 1 failed tests
Test run ended in failure: 1 failed tests

chrome 67 (1/0/1)

Error: 1 failed tests

error Command failed with exit code 1.

Now, I recognize this could be a browser issue, but the version of Chrome shown in the terminal output is 67, which should have support for import?
Is this expected?  Should I be doing some additional configuration in WCT?
Let me know if you need anymore info, here is a branch with all the code and configuration.  Just run yarn install && yarn test to reproduce.
Thanks!

Interesting usage. While WCT.loadSuites() IS set up to load JS files, I'm not sure it's set up to work directly with modules, that could be a useful feature add. If you want to work around it for now, you can do the following. First, change index.spec.js to an HTML files, shaped like:

Notice the inclusion of wct-browser-legacy/browser.js and the move to import {default as word} from '../src/index.js'; in your import statement.
Then you can get this called from index.html with:
WCT.loadSuites([
  './test.html'
]);

This will have you up and running until someone can decide whether direct support of modules in WCT.loadSuites() can be decided on separately.

Just my $.02 re: the use of import with WCT but in my own experiences when working with React, Jest + Enzyme provided what I found to be a fairly intuitive workflow in terms of how to write and test components.
I was also seeing similar developer experiences with @skatejs/ssr.
Taking this very simple example, It would be pretty neat (IMHO) to be able to do something similar when using WCT.
component.js
class HelloComponent extends HTMLElement {

  constructor() {
    super();

    this.root = this.attachShadow({ mode: 'closed' });
    this.root.innerHTML = this.template();
  }

  template() {
    return `

Hello World!

    `;
  }

}

customElements.define('x-hello', HelloComponent);

component.spec.js
import '../src/index';
import { mount } from '@skatejs/bore';  // or whatever DOM testing library you like

describe('HelloComponent', () => {

  it('should be hello', () => {
    const component = mount('<x-hello></x-hello>');

    expect(component.innerHTML).toBe('Hello World!');
  });

});

Thanks for your help @Westbrook , I got it working and was able to keep the specs in JavaScript (albeit without import) but this has nicer IDE support, so that's definitely a win.  👍
index.html
<!doctype html>

    <meta charset="utf-8">

    <test-fixture id="hello">
      <template>
        <eve-hello></eve-hello>
      </template>
    </test-fixture>

hello-world.spec.js
describe('HelloComponent', function() {
  let componentRoot;

  beforeEach(() => {
    componentRoot = fixture('hello').root;
  });

  describe('heading', () => {
    let heading;

    beforeEach(() => {
      heading = componentRoot.querySelectorAll('h3.heading');
    });

    it('should have one heading element', () => {
      expect(heading.length).to.equal(1);
    });

    it('should say Hello World!', () => {
      expect(heading[0].innerHTML).to.equal('Hello World!');
    });
  });

});

Thanks for your help!!  Native import support would be nice for this.  I suppose I can leave this issue open and see if any of the maintainers have any thoughts.  Otherwise, onwards and upwards for me 🚀

Documented my efforts so far with WCT.
https://github.com/ProjectEvergreen/project-evergreen/wiki/Unit-Testing
Thanks for your help!


⚠ Bofrost.at has degraded performance

In 82026e1, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2776 ms

Resolved: Bofrost.at performance has improved in d33efef.


Display place of birth and age under actors name on their detail page

Summary
Would be awesome to get some more info on the actors, whenever I'm watching movies with people were usually like how old is that guy or where is he from.
Being able to pull that info from TMDb would be great, personally I'd display it in this order:
Colin Farrell
Place of birth: Castleknock, Dublin, Ireland
Born: May 31, 1976 (48 years old)

Thanks! And let me know if I'm tiring you with these requests lol. I feel like the app is near perfect as far as features/UI, just thinking of a few things that would improve it.
Please confirm the following

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.

Done, should be available in next release!

And let me know if I'm tiring you with these requests lol

Not a all! Your requests are always welcome, and I’m happy to improve the app. Sometimes I just don't have time to answer, implement what you asking for, or I don't know how to do it, but it helps me to know all the things that can be improve.
And I look regularly your previous requests, but I still don't know how to fix or implement thoses 😅

Done, should be available in next release!

And let me know if I'm tiring you with these requests lol

Not a all! Your requests are always welcome, and I’m happy to improve the app. Sometimes I just don't have time to answer, implement what you asking for, or I don't know how to do it, but it helps me to know all the things that can be improve.
And I look regularly your previous requests, but I still don't know how to fix or implement thoses 😅

Thanks man!
I appreciate that. You're honestly the most responsive dev ive ever seen and always great at adding/fixing stuff, so I really thank you for taking the time with all this.
Haha, maybe one day you'll figure it out, but all good if you don't ❤

Available on Release 1.7.1


Seems to crash the 1.0 menu

Mainly getting the following after installing it:
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
RoR2.UI.MainMenu.MainMenuController.Update () (at <0ea3156211b84bca85ad16490410c2a9>:0)

Sadly I don't have anymore info on the issue. It's worth noting I was also running TooManyFriends

Same problem here. This is what i see before getting the error stated by LavenderTheGreat. I'm using the most recent versions of BepInExPack and R2API (as of now). And I'm only using ProperSave.

Hello, I know about this issue, and I've started fixing it. But I can't do that before a stable version of R2API is released.

Hey man,
Thank you so much for the mod..
I literally downloaded Risk of Rain just cos this mod exists.
Will be waiting for a fix before I get into playing the game, dont want to exceed the refund window.
Without this mod, Risk of Rain is not a product for me.
Cheers. All the best.

I have updated the mod for the game release. The issue is solved


Big MVP Bug bash

We have more details on that bug? How to reproduce?

Bug bash is basically testing the whole app and register all the bugs
On Sat., Apr. 2, 2022, 1:01 a.m. Felipe Novaes F Rocha, <
@.***> wrote:

We have more details on that bug? How to reproduce?
—
Reply to this email directly, view it on GitHub
https://github.com/1Hive/quests/issues/16#issuecomment-1086547619, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADJ7IOQ6RA2QP2LOFOTY65DVC7IATANCNFSM44OE2IEQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


ref/credentials

update credentials to deploy on new pypi servers

Is this ready @lheagy ? If yes, we should merge it before Devin's PR.

Thanks @thast, yep this should be ready to go!


Log quickwit version on startup

the thing on display on --version will do the job

Hell @fulmicoton @PSeitz
I was just curious if this is something you were expecting:

Provided that this ticket has been already assigned please let me know if you'd like me to push the change.
Regards, Eugene

I've managed to place it at the very beginning:


Update the name of the licenses.

Update the LIcense names on the New project page. Like BY-SA to CC BY SA.

Using this for reference https://creativecommons.org/about/cclicenses/
Keeping the part in blue in the drop down


Thumbnail creation in airflow is out of sync with the API

Actually it was just ints vs floats. Oh well


*: Make Makefile agnostic, stop creating empty env file

systemd users can use /etc/bootcfg.env if they choose to use environment files

perfect. obviates both my PRs, I will close them and rework.

Great, thanks for bringing it up!


adjust styling to jsunconf

these styles were missing in the header

merged as 3714b5a394f5a8a24297989285696849255baff2 - great sense for details!

deployed :)


C# Http Triggered function stops after 2 requests on Azure

Hi,
I have a Azure Function running smoothly on local dev environment but as I deploy and run it on Azure it stops after 2 sequential request from test sender application with a timeout on HttpWebResponse. I do not even get a HttpWebResponse Statuscode, the connection just times out.
My test application can send x times 96 requests but it does not matter which requests I comment out in the test application, the Azure function always times out after 2 sequential requests.
I can restart my test application and get the same scenario. This does not happen when I run the Azure function locally.
In Application insights on the Azure deployment I get a System.NullReferenceException on the following method “belokDataConnector.belokData+d__3.MoveNext”
Pleace Advice on how to understand this exception.

Is this question posted in the wrong repository? Please advice on where to post it.

Closing this, it should be posted in Azure/azure-functions-host


Site defaults to Chinese

Version
Current
Steps to reproduce
Browse to https://echarts.apache.org/
What is expected?
Site should redirect  based on request header such as accept-language
What is actually happening?
Unconditional redirect to Chinese site

We are using navigator.userLanguage to redirect. Do you mind giving us your value?

Those look like Javascript variables. It should not be necessary to enable JavaScript for the redirect to work.
User agents such as browsers send a header such as mine:
accept-language: en-GB,en;q=0.9
AFAIK, if the HTTP server and the page paths are set up correctly, it should redirect automatically without needing Javascript.

Here is some info on setting up the Apache server to handle different languages
https://httpd.apache.org/docs/2.4/content-negotiation.html

It seems to do with our caching settings. We are working on this. Thanks for reporting!

@sebbASF I changed redirection from 301 moved permanently to 302 found. It should work properly now. Sorry for the mistake.

It does not always work for curl:
$ curl -I -H "Accept-language: en-GB,en;q=0.9" echarts.apache.org
HTTP/1.1 302 Found
Server: Apache
Location: https://echarts.apache.org/zh/index.html
Then a few minutes later:
$ curl -I -H "Accept-language: en-GB,en;q=0.9" echarts.apache.org
HTTP/1.1 302 Found
Server: Apache
Location: https://echarts.apache.org/en/index.html
I'm not 100% sure it always works for browsers; will have to see.

It seems the redirection will be cached if we request the same URL even if Accept-Language is changed.
It works well if we add a query parameter, for example, echarts.apache.org?v=1

Yes, but adding a parameter only works if it is changed from the previous one, and you can't expect users to do that.
The cache key needs to include accept-language.

@plainheart has probably made some updates about the cache policy. Waiting for him to give a comment.

@sebbASF Hi, we've fixed the redirection issue. Here is the current behavior,


RPC authentication

This PR implements #43 for both monerod rpc and wallet rpc
Docker containers with --rpc-login enabled have been added for both monerod and monero-wallet-rpc, tests are included as well.
Currently I added a new constructor RpcClient::with_authentication() but seeing that both #77 and #81 are using the current RpcClient::new() in a backwards incompatible way I also made a branch with a new RpcClient builder called RpcClientBuilder which would allow for backwards compatibility and enable all three new features to be used together.
This is can be seen at https://github.com/monero-ecosystem/monero-rpc-rs/compare/master...refactor-ring:rpc-client-builder-merged?expand=1
UPDATE
Had to change the github actions setup a bit to make the tests pass with the new containers, instead of redefining the containers in the github actions config it now spins up the containers through docker-compose up using the existing docker-compose.yml

+1 for builder
Also it would be nice to have a feature flag for this, to avoid pulling diqwest if you don't need it.

Also much in favour of using the builder pattern.

Added a feature "rpc_authentication" however when using the  "dep:diqwest" notation in cargo.toml the tests fail because of using rust 1.56 and the "dep:" syntax only got added in rust 1.60.
Also, should I make a separate PR for the builder pattern ?

Also, should I make a separate PR for the builder pattern ?

I think that would make things a bit easier to review, yes. I'll let @h4sh3d weigh in first on bumping the msrv.

Included in #92


Functional tests for HSM Support

Functional tests for the Luna HSM model support.

/retest

/retest

recheck


No browser to view Manual

Issue description
Fresh install of NixOS has no browser to read the manual. It can be opened with the "Help" app, but this app is not set as default. New users will be confused. It is also not sufficient for doing research. Users need to be able to make it to the part in the tutorial where they learn to install apps in order to install the browser required to learn how to install apps. This is catch-22. Consider Chromium, since Firefox can't be redistributed, which is kinda dumb.
edit: This also makes it possible to get help online with configuration and output from nixos-rebuild build. I currently have to hand-type every line from my output because I can't login to StackOverflow on my NixOS install.
Include links on the desktop to Konsole and the NixOS Manual, as well.

I believe users should choose their browser and the nixos configuration shouldn't install any large one just by itself.  NixOS isn't mean for the style that you just install it without configuring anything to get a fully working desktop.
BTW, we do have permission from Mozilla to redistribute even the branded version of Firefox.  (And anyone can redistribute the unbranded version or the official binary versions.)

Users should choose their browser...after they've had a chance to orient themselves on the OS. To do that, you need a browser pre-installed. If the Live disk ISO has it, it is a huge hint. The process for installing packages is also not well explained, and this could be a hands-on example of how it is done. Remember users can remove packages easily by deleting the text that installs them.
It is easier to roll down a mountain than to climb up. The learning curve here does not need to be so high.

Hmm, yes, generating such example lines into the default config would sound fine to me.

FWIW the default browser for services.nixosManual.showManual is w3m-nographics.


Invalid column name 'dbid'.

[Enter feedback here]
SELECT dbid FROM sys.databases raise an error "Invalid column name 'dbid'." on version 15.0.4298.1.

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

ID: f4f1a8e9-eba4-a8b0-d229-4d25b83cc2ae
Version Independent ID: a6b03a2a-78b7-ff43-d81e-67ace7a40878
Content: Revert a Database to a Database Snapshot - SQL Server
Content Source: docs/relational-databases/databases/revert-a-database-to-a-database-snapshot.md
Service: sql
GitHub Login: @WilliamDAssafMSFT
Microsoft Alias: wiassaf

@g-karpov -- thank you for your feedback.  Please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

@WilliamDAssafMSFT -- William, please look into this issue.

@WilliamAntonRohm i am a beginner to the opensourse. I willing to fix the bug. Can you assisn me to fix it.

@N-Kannan -- Kannan, thank you for your offer.
When you're suggesting a simple change to the documentation, follow these steps:

Navigate to the page of interest
Select the "Edit" button at the top right of the page
Select the "Pencil" icon on the right
Modify the text within the text box in markdown format
Name your file change and copy the link to your Git Issue into the "extended description" box
Select "Propose file change"
Select "Create pull request" on the 'Comparing changes' page
Select "Create pull request" on the 'Open a pull request' page
Wait for an author to review and approve the change request - this can take a bit depending on the complexity

@N-Kannan Good catch! Confirmed this change is needed. Should be SELECT database_id FROM sys.databases ...
It has been 6 days, will you create a pull request shortly? If not, I'll proceed with the fix shortly.

@WilliamDAssafMSFT sorry for the delay due to my work schedule little delay I will do pull request in 4 days

@WilliamAntonRohm & @WilliamDAssafMSFT The update has been completed. So can you please make this as closed .


refactor(p2p): gossipsub should forward messages up to 1MB

This change is

#2197  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @matan-starkware and the rest of your teammates on  Graphite


The Betweenlands has issues with rain sounds when DS is present.

Mod Version:
DynamicSurroundings-1.12.2-<IP_ADDRESS>
Forge Version:
forge-1.12.2-<IP_ADDRESS>91
Description:
Currently, The betweenlands heavy rain event is completely silent as long as Dynamic surroundings is installed. Also, I have a sneaking suspicion that the actual rainfall animation is being replaced and/or meddled with by Dynamic Surroundings. It causes a great amount of inconsistency when trying to do anything long term in the betweenlands.
At very least, I would suggest having some sort of dimension blacklist so that dynamic surroundings changes to weather sound/visuals/mechanics could be excluded from the betweenlands and other incompatible dimensions.
This problem is consistent across all previous 1.12.2 forge versions that I have used on which both mods are released, so I am 90% sure it originates from either DS or the Betweenlands itself.

The sounds for rain appear to be missing, as well as the visuals for raindrops hitting the surface of blocks and the ripples that form when they hit water(and puddles? idk about what happens with the puddles normally...). Thunder appears to be fine though.
Current Mod List

Update:
As of  the betweenlands version 3.3.9, the missing rain sounds/visuals problem appears to no longer occur every time it rains. I will investigate further to find out what situations the sounds/visuals are missing in, and what situations they work properly.

The problem appears to be related to rain intensity. Sometimes the rain is silent and has no block spatter/ripple animations, and sometimes it is played at normal volume and has full animations. the volume of sounds and the intensity of the animations varies per rain shower, but regardless of the sound/animations, the rain itself is always the same.


Signs

I'm loving TrainCarts, but I have been having a major bug over the past few weeks. When I attempt to place a sign, such as a launcher, the plugin will not recognize it, as in, it will not show up in chat, or affect the coaster, even if it is powered by redstone! A fix would be fantastic.

Can you please provide more information? Like traincarts version, bkcommonlib versiona and spigot version. Also what do you put on your signs and what brand of computer you have?

Ok, TrainCarts: 1.75 SNAPSHOT
BKcomandLib:
Version 1.65
SHA 35e633be203f2cdbbfaa6371029476463995d1a1
MD5 b8af52e5092a4d4cda827db617185ada
Spigot: 1.8.8
Signs:
[!train] or [train]
spawn
mm
I have a mac

I'm trying 1.66 SNAPSHOT to see if that works. Fingers Crossed

We have a problem with mac keyboards, add 'parseOldSigns: true' in the
config and stop using the brackets.
Hopefully this will fix it.
Op vr 31 jul. 2015 07:02 schreef grayhouser<EMAIL_ADDRESS>
I'm trying 1.66 SNAPSHOT to see if that works. Fingers Crossed
—
Reply to this email directly or view it on GitHub
https://github.com/bergerhealer/TrainCarts/issues/17#issuecomment-126567448
.

I'll try that when I get up.
Thanks!
On Fri, Jul 31, 2015 at 2:51 AM -0700, "Matthijs"<EMAIL_ADDRESS>wrote:
We have a problem with mac keyboards, add 'parseOldSigns: true' in the
config and stop using the brackets.
Hopefully this will fix it.
Op vr 31 jul. 2015 07:02 schreef grayhouser<EMAIL_ADDRESS>
I'm trying 1.66 SNAPSHOT to see if that works. Fingers Crossed

—

Reply to this email directly or view it on GitHub

https://github.com/bergerhealer/TrainCarts/issues/17#issuecomment-126567448

.

—
Reply to this email directly or view it on GitHub.

Did it work?

I just got up, I'm trying it now!

It doesn't appear to be working.

Do you still use the brackets? It just needs to be:
train
spawn
mm
Op vr 31 jul. 2015 22:54 schreef grayhouser<EMAIL_ADDRESS>
It doesn't appear to be working.
—
Reply to this email directly or view it on GitHub
https://github.com/bergerhealer/TrainCarts/issues/17#issuecomment-126810112
.

I don't it might be working now... let me see

Its not working.

It should just work.

Can you please send a copy of your config and a screenshot of the sign you
are using?
Op vr 31 jul. 2015 23:05 schreef grayhouser<EMAIL_ADDRESS>
Its not working.
—
Reply to this email directly or view it on GitHub
https://github.com/bergerhealer/TrainCarts/issues/17#issuecomment-126812233
.

When I get home I will! I'm with a friend who just had surgery.
On Fri, Jul 31, 2015 at 2:26 PM -0700, "Matthijs"<EMAIL_ADDRESS>wrote:
Can you please send a copy of your config and a screenshot of the sign you
are using?
Op vr 31 jul. 2015 23:05 schreef grayhouser<EMAIL_ADDRESS>
Its not working.

—

Reply to this email directly or view it on GitHub

https://github.com/bergerhealer/TrainCarts/issues/17#issuecomment-126812233

.

—
Reply to this email directly or view it on GitHub.

#> This is the configuration file of TrainCarts
#> In here you can tweak TrainCarts to what you want
#> For more information, you can visit the following websites:
#> http://www.minecraftwiki.net/wiki/Bukkit/TrainCarts
#> http://forums.bukkit.org/threads/traincarts.29491/
Parse signs made in Minecraft 1.7 and before without re-creating
parseOldSigns: true
The distance between two normally-aligned (straight) carts in a train
normal:
The distance between two carts in a train
cartDistance: 1.5
The factor at which this distance is kept
cartDistanceForcer: 0.1
Settings for turned (in curve) carts
turned:
The distance between two carts in a train
cartDistance: 1.6
The factor at which this distance is kept
cartDistanceForcer: 0.2
The 'keep distance' factor to apply when carts are too close to each other
nearCartDistanceFactor: 1.2
The maximum allowed cart distance, after this distance the carts break apart
maxCartDistance: 4.0
Whether or not the combined carts (powered/storage minecarts) break up into two items
breakCombinedCarts: false
A performance boost to give to powered minecarts (0 = normal speed)
poweredCartBoost: 0.1
The boosting factor of powered rails (default = 0.06)
poweredRailBoost: 0.06
The maximum velocity (blocks/tick) a minecart can possibly have set
maxVelocity: 5.0
The multiplier used to slow down minecarts
Normal is the default, slow is when the minecart is meant to slow down.
slowDownMultiplier:
normal: 0.997
slow: 0.96
The maximum allowed ejection distance for eject signs
maxEjectDistance: 10.0
The amount of velocity stations give when launching trains
launchForce: 10.0
Settings used when carts collide with entities
collision:
If train owners are ignored
ignoreOwners: false
If global train owners are ignored
ignoreGlobalOwners: false
The amount of force at which minecarts push away others
pushAwayForce: 0.2
Whether or not all minecarts spawned on the server turn into TrainCarts' Minecarts
Note that the TrainCart placement permission is then no longer active
allMinecartsAreTrainCarts: false
Whether or not powered minecarts obtain their coal from attached storage minecarts
useCoalFromStorageCart: false
Whether or not the player that places a minecart is set owner
setOwnerOnPlacement: true
Whether or not a hissing sound is made when trains stop at a station
playSoundAtStation: true
Whether or not chunks are only kept loaded when the train is moving
keepChunksLoadedOnlyWhenMoving: false
Advanced: Whether trains use a different way of server->client synchronization
With this enabled, trains are expected to move smoother with less bumping
With this disabled, no smoothing is applied. Only disable it if it causes problems/incompatibility
useNetworkSynchronizer: true
The maximum length a detector region (between two detectors) can be
maxDetectorLength: 2000
The maximum amount of minecart items that can be stacked in one item
maxMinecartStackSize: 64
The maximum radius chest/furnace sign systems look for the needed blocks
maxTransferRadius: 5
The default radius chest/furnace sign systems look for the needed blocks
defaultTransferRadius: 2
Whether or not empty minecarts slow down faster than occupied minecarts
slowDownEmptyCarts: false
Whether storage minecarts get fuel when launching from stations
refillAtStations: true
Whether minecarts are instantly destroyed by creative players
Note that manual minecart movement is not possible for creative players with this enabled
instantCreativeDestroy: false
Whether minecarts are allowed to have a 90-degree pitch angle when going up vertical rails
When disabled, minecarts will keep a 0-degree pitch angle instead
allowVerticalPitch: true
Whether players (with build permissions) can edit existing rails by right-clicking on them
allowRailEditing: true
What velocity to set when a player tries to manually move a train (by damaging it)
manualMovementSpeed: 12.0
The currency Ticket signs will display in messages, %value% represents the displayed value
currencyFormat: '%value% Dollars'
The delay (in ticks) between ejecting and re-entering by collision (e.g. mobs auto-entering carts)
collisionReEnterDelay: 100
A list of world names where TrainCarts should be disabled
World names are not case-sensitive
disabledWorlds:

DefaultWorld1
DefaultWorld2

The block materials that can be broken using minecarts
Players with the admin block break permission can use any type
Others have to use one from this list
allowedBlockBreakTypes:

LOG
CROPS

Whether or not to show item animations when transferring items
showTransferAnimations: true
Several shortcuts you can use on announce signs (text is replaced)
messageShortcuts:
welcome: &eWelcome to &f
Several shortcuts you can use on switcher and detector signs (text is replaced)
statementShortcuts:
diamond: i@diamond
Several shortcuts you can use on signs to set the items
itemShortcuts:
fuel: ''
heatable: ''
armor: diamond_boots;diamond_helmet;gold_leggings;leather_helmet;leather_chestplate;gold_helmet;gold_chestplate;chainmail_chestplate;diamond_chestplate;leather_boots;diamond_leggings;chainmail_boots;chainmail_helmet;iron_leggings;iron_chestplate;gold_boots;chainmail_leggings;leather_leggings;iron_helmet;iron_boots
sword: wood_sword;stone_sword;iron_sword;gold_sword;iron_sword;diamond_sword
boots: leather_boots;iron_boots;gold_boots;diamond_boots;chainmail_boots
leggins: leather_leggings;iron_leggings;gold_leggings;diamond_leggings;chainmail_leggings
chestplate: leather_chestplate;iron_chestplate;gold_chestplate;diamond_chestplate;chainmail_chestplate
helmet: leather_helmet;iron_helmet;gold_helmet;diamond_helmet;chainmail_helmet

That was before

This is it, after being placed.

Very strange, because it should recognise that sign now. Only problem is
that is doesnt :(
Op za 1 aug. 2015 06:20 schreef grayhouser<EMAIL_ADDRESS>
This is it, after being placed.
[image: screen shot 2015-07-31 at 11 18 35 pm]
https://cloud.githubusercontent.com/assets/6820820/9020581/b270aade-37da-11e5-961c-c6cb6054c878.png
—
Reply to this email directly or view it on GitHub
https://github.com/bergerhealer/TrainCarts/issues/17#issuecomment-126860128
.

If you want to test what's going on I can get you my server IP and let you test it.
-Gray
On Sat, Aug 1, 2015 at 1:52 AM -0700, "Matthijs"<EMAIL_ADDRESS>wrote:
Very strange, because it should recognise that sign now. Only problem is
that is doesnt :(
Op za 1 aug. 2015 06:20 schreef grayhouser<EMAIL_ADDRESS>
This is it, after being placed.

[image: screen shot 2015-07-31 at 11 18 35 pm]

https://cloud.githubusercontent.com/assets/6820820/9020581/b270aade-37da-11e5-961c-c6cb6054c878.png

—

Reply to this email directly or view it on GitHub

https://github.com/bergerhealer/TrainCarts/issues/17#issuecomment-126860128

.

—
Reply to this email directly or view it on GitHub.

I would appreciate that, but I don't have the time now. Going to work soon,
maybe another time?
Op za 1 aug. 2015 11:57 schreef grayhouser<EMAIL_ADDRESS>
If you want to test what's going on I can get you my server IP and let you
test it.
-Gray
On Sat, Aug 1, 2015 at 1:52 AM -0700, "Matthijs"<EMAIL_ADDRESS>wrote:
Very strange, because it should recognise that sign now. Only problem is
that is doesnt :(
Op za 1 aug. 2015 06:20 schreef grayhouser<EMAIL_ADDRESS>
This is it, after being placed.

[image: screen shot 2015-07-31 at 11 18 35 pm]

<
https://cloud.githubusercontent.com/assets/6820820/9020581/b270aade-37da-11e5-961c-c6cb6054c878.png

—

Reply to this email directly or view it on GitHub

<
https://github.com/bergerhealer/TrainCarts/issues/17#issuecomment-126860128

.

—
Reply to this email directly or view it on GitHub.
—
Reply to this email directly or view it on GitHub
https://github.com/bergerhealer/TrainCarts/issues/17#issuecomment-126894499
.

Absolutely, it's 5 AM and I'm about to go to bed. When you get off work shoot me an email.
On Sat, Aug 1, 2015 at 3:10 AM -0700, "Matthijs"<EMAIL_ADDRESS>wrote:
I would appreciate that, but I don't have the time now. Going to work soon,
maybe another time?
Op za 1 aug. 2015 11:57 schreef grayhouser<EMAIL_ADDRESS>
If you want to test what's going on I can get you my server IP and let you

test it.

-Gray

On Sat, Aug 1, 2015 at 1:52 AM -0700, "Matthijs"<EMAIL_ADDRESS>

wrote:

Very strange, because it should recognise that sign now. Only problem is

that is doesnt :(

Op za 1 aug. 2015 06:20 schreef grayhouser<EMAIL_ADDRESS>

This is it, after being placed.

[image: screen shot 2015-07-31 at 11 18 35 pm]

<

https://cloud.githubusercontent.com/assets/6820820/9020581/b270aade-37da-11e5-961c-c6cb6054c878.png

—

Reply to this email directly or view it on GitHub

<

https://github.com/bergerhealer/TrainCarts/issues/17#issuecomment-126860128

.

—

Reply to this email directly or view it on GitHub.

—

Reply to this email directly or view it on GitHub

https://github.com/bergerhealer/TrainCarts/issues/17#issuecomment-126894499

.

—
Reply to this email directly or view it on GitHub.

I guess it's a github comment, I'm emailing...
-Gray
On Sat, Aug 1, 2015 at 3:10 AM -0700, "Matthijs"<EMAIL_ADDRESS>wrote:
I would appreciate that, but I don't have the time now. Going to work soon,
maybe another time?
Op za 1 aug. 2015 11:57 schreef grayhouser<EMAIL_ADDRESS>
If you want to test what's going on I can get you my server IP and let you

test it.

-Gray

On Sat, Aug 1, 2015 at 1:52 AM -0700, "Matthijs"<EMAIL_ADDRESS>

wrote:

Very strange, because it should recognise that sign now. Only problem is

that is doesnt :(

Op za 1 aug. 2015 06:20 schreef grayhouser<EMAIL_ADDRESS>

This is it, after being placed.

[image: screen shot 2015-07-31 at 11 18 35 pm]

<

https://cloud.githubusercontent.com/assets/6820820/9020581/b270aade-37da-11e5-961c-c6cb6054c878.png

—

Reply to this email directly or view it on GitHub

<

https://github.com/bergerhealer/TrainCarts/issues/17#issuecomment-126860128

.

—

Reply to this email directly or view it on GitHub.

—

Reply to this email directly or view it on GitHub

https://github.com/bergerhealer/TrainCarts/issues/17#issuecomment-126894499

.

—
Reply to this email directly or view it on GitHub.

Will so, only for me its midday. Different timezones I guess.

If you want to come just reply.

I am now available to test with you.
Op zo 2 aug. 2015 04:05 schreef grayhouser<EMAIL_ADDRESS>
If you want to come just reply.
—
Reply to this email directly or view it on GitHub
https://github.com/bergerhealer/TrainCarts/issues/17#issuecomment-126977457
.

Here's the IP <IP_ADDRESS>:62515
I'm online

Did you leave?

I seriously doubt this issue still exists.


Refactored material creation to gltFMaterials.ts for glTF serializer.…

Refactgored glTFMaterials to consolidate material conversion for MultiMaterials.
First pass of MultiMaterial support.
Reimplemented StandardMaterial PBR Conversion.
~Added maxSpecularPower as a option to the IExporterOptions, so the maximum specular power can be defined on export.~

I let @bghgary approve it before merging

@deltakosh , this PR should be good to go now.  Thanks!

Thanks guys!


Merge upstream?

Hi,
I've just stumbled across this package of yours on Hackage.  As FGL's maintainer, would you be interesting in merging this upstream?

Hi Ivan,
Yes, I'd be interested.
There are some small points we should consider:

Via pull request?
should this go into fgl directly, or should there be s.th. like fgl-extras?
I probably should add some unit or quickcheck tests at some point, do you accept code without attached tests?

A pull request would be great.  Since you're not using any extra dependencies the main package will be fine.
I would prefer tests and documentation (I'm starting to add documentation to the modules present in FGL but it's slow going since I'm unfamiliar with most of them; since you wrote this you hopefully know what the functions do :p).  There's an existing test-suite for FGL you can add tests to.


Special Characters issue on Google Drive

rclone v1.32
Ubuntu Server 16.04
Google Drive
Btrfs
What I want is to download a folder in my GDrive root. Let's say the folder is called: Someone's Really Big Google Drive Folder (55.6 GB!)
Now when I try to run:
rclone copy Drive:Someone's Really Big Google Drive Folder (55.6 GB!) /home/user/www/folder/Shared\ by\ other\ people/Google\ Drive/"Someone's Really Big Google Drive Folder (55.6 GB!)"
it tells me:
2016/07/23 16:16:46 Local file system at /home/user/www/folder/Shared\ by\ other\ people/Google\ Drive/Someone's Really Big Google Drive Folder (55.6 GB!): Waiting for checks to finish
2016/07/23 16:16:46 Local file system at /home/user/www/folder/Shared\ by\ other\ people/Google\ Drive/Someone's Really Big Google Drive Folder (55.6 GB!): Waiting for transfers to finish
2016/07/23 16:16:46 Attempt 1/3 failed with 0 errors and: directory not found
2016/07/23 16:16:46 Local file system at /home/user/www/folder/Shared\ by\ other\ people/Google\ Drive/Someone's Really Big Google Drive Folder (55.6 GB!): Waiting for checks to finish
2016/07/23 16:16:46 Local file system at /home/user/www/folder/Shared\ by\ other\ people/Google\ Drive/Someone's Really Big Google Drive Folder (55.6 GB!): Waiting for transfers to finish
2016/07/23 16:16:46 Attempt 2/3 failed with 0 errors and: directory not found
2016/07/23 16:16:46 Local file system at /home/user/www/folder/Shared\ by\ other\ people/Google\ Drive/Someone's Really Big Google Drive Folder (55.6 GB!): Waiting for checks to finish
2016/07/23 16:16:46 Local file system at /home/user/www/folder/Shared\ by\ other\ people/Google\ Drive/Someone's Really Big Google Drive Folder (55.6 GB!): Waiting for transfers to finish
2016/07/23 16:16:46 Attempt 3/3 failed with 0 errors and: directory not found
2016/07/23 16:16:46 Failed to copy: directory not found

The local folder name is not the problem here because I can download a a folder without special characters and spaces, like "Samplefolder", completely fine.
So are there any ways to actually download this folder? Renaming it is not preferred.
I tried various methods like using "", '', and \ but nothing worked.

For some reason it now works after a restart.

Strange!  If you can reliable reproduce it then please re-open.
Thanks
Nick


Can  push any video file?

What I mean is that the driver reads the video file as a video stream

Can you do it for me? I can pay for it.

I am not good at developing in C   ··

Nope sorry.
But why don't you decode the video and just push the frame buffer to the driver? You can do that in any language you know.
Or you could use OBS?


Release GA and bump for PR

Description
Changes proposed in this pull request:
New GA:

bump image to PR-xxxx on Pull Request open
create a release on a tag creation

Related issue(s)

/hold


⚠ Processors has degraded performance

In 3eaf843, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 83 ms

Resolved: Processors performance has improved in 35dee3e.


Smile is not as expected

Hi,
thanks for a great package!
The MouthType.SMILE produces a smile with no teeth and tongue, whereas the expected smile (ref getavataaars.com) is with teeth and tongue. Is py-avataaars using an older version of the avatar components? If so, it would be great if this could be updated..
Cheers,
Stein

Hi,
thanks for letting me know about this issue, I will check that.
TBH if didn't update, maybe that's the reason.
Cheers
Krzysiek

Fixed, same issue was in several mouth types.

Hi Krzysztof,
thanks for looking into this so quickly!
I upgraded to version 1.0.0, but now I get the error below. It seems like
the smile template may be missing, and I get the same for grimace. I
upgraded jinja2 to version 2.11.2, but that didn't work.
I also tried to uninstall and reinstall. Am I doing something wrong, or is
there an issue in the new deployment?
TemplateNotFound: face/mouth\smile.svg at
C:/pyenv/rpa3.7.2/lib/site-packages/jinja2/loaders.py,
line 31 called from C:/pyenv/rpa3.7.2/lib/site-packages/jinja2/loaders.py,
line 232 called from
C:/pyenv/rpa3.7.2/lib/site-packages/py_avataaars/templates/face.svg,
line 3 called from
C:/pyenv/rpa3.7.2/lib/site-packages/py_avataaars/templates/main.svg,
line 81 called from
C:/pyenv/rpa3.7.2/lib/site-packages/py_avataaars/templates/base.svg,
line 3 called from
C:/pyenv/rpa3.7.2/lib/site-packages/py_avataaars/templates/main.svg,
line 8 called from C:/pyenv/rpa3.7.2/lib/site-packages/jinja2/_compat.py,
line 37 called from C:/pyenv/rpa3.7.2/lib/site-packages/jinja2/environment.py,
line 780 called from C:/pyenv/rpa3.7.2/lib/site-packages/jinja2/environment.py,
line 1008 called from
C:/pyenv/rpa3.7.2/lib/site-packages/jinja2/asyncsupport.py,
line 76 called from
C:/pyenv/rpa3.7.2/lib/site-packages/py_avataaars/init.py,
line 285 called from
C:/pyenv/rpa3.7.2/lib/site-packages/py_avataaars/init.py,
line 290
On Wed, Jul 8, 2020 at 11:36 AM Krzysztof Ebert<EMAIL_ADDRESS>wrote:

Closed #2 https://github.com/kebu/py-avataaars/issues/2.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kebu/py-avataaars/issues/2#event-3524342269, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AEATI6IXAASUHKBVGJB2BVTR2Q43DANCNFSM4OQ2BDEA
.

@steininge Should work with 1.0.1 version

Hi, it works well on Linux, but I still get the same error on windows. The local template path is changed, but it fails when building the full path in jinja2.
TemplateNotFound: face\mouth\smile.svg
at C:/pyenv/rpa3.7.2/lib/site-packages/jinja2/loaders.py, line 32
called from C:/pyenv/rpa3.7.2/lib/site-packages/jinja2/loaders.py, line 245
called from C:/pyenv/rpa3.7.2/lib/site-packages/py_avataaars/templates/face.svg, line 3

Great, with 1.0.2 it runs perfectly on Windows too. Thanks!


Update Morpheus Request for Comments w/ Capital contracts expansion to stMATIC

Added MRC 12: Capital contracts expansion to stMATIC

Thanks. Open to expanding Capital sources. However the first thing needed is a generalized context for how to denominate all yield contributed. I think ETH is the only logical choice, however the rate of calculating between MATIC or SOL or any other contribution to its ETH value is worth thinking through.

Resolved the conflicts. Merging. This merge represents the start of this discussion regarding the MRC.


Tests are too slow for libraries with eager-mode dispatch overhead

For example this job: https://github.com/google/jax/actions/runs/6804780902/job/18502996983, which is associated with https://github.com/google/jax/pull/16099 took 4.5 hours to run about 1000 tests.
========== 567 failed, 439 passed, 116 skipped in 16419.47s (4:33:39) ==========

This is slow enough to be virtually unusable.
~Is there anything I can do to speed up the tests during development of the JAX array API?~
Edit: as mentioned below, this is due to the frequent use of patterns within the tests that every value in each array via indexing, and the fact that in eager execution, each of these indexing operations have a small dispatch overhead that leads to slow tests when arrays are large.

They shouldn't be that slow. The NumPy tests finish in a fraction of that time https://github.com/data-apis/array-api-compat/actions/runs/6565885145/job/17835396340.  It might be worth investigating what is going on.
Although even there, the NumPy tests took an hour to run, which seems like a lot. We should investigate if something slowed down recently.
Generally, though, you can speed things up by lowering the hypothesis --max-examples. By default it is 100, but something like 50 should make the tests run in roughly half the time.

I just ran ARRAY_API_TESTS_MODULE=numpy.array_api pytest array_api_tests/ locally and it took 12 minutes. So that's the about time the test should run in (there were a few failures which speed up the runtime a bit, but in general it shouldn't take more than 20 minutes).

Can you run something like pytest --durations=10 to print the 10 slowest tests? That would help to pin down what is going on.

I think the slowness comes from test patterns that look like this: https://github.com/data-apis/array-api-tests/blob/f82c7bc8627cc2c3a44fa3e425f53a253a609aa8/array_api_tests/test_creation_functions.py#L358-L364
In JAX, each operation outside the context of JIT compilation has a small amount of overhead, so running $\mathcal{O}[N^2]$ indexing operations outside JIT will end up being very slow.

There's a variable that limits the max array size https://github.com/data-apis/array-api-tests/blob/master/array_api_tests/hypothesis_helpers.py#L160. The default is 10000 but we should make it configurable. Lowering it to 1000 or so for JAX would probably fix this.

I pasted the slowest 20 tests below.
For the most part I think it comes down to the slow repeated indexing I mentioned above: every one of these that I've checked indexes each element of the output to check it against a reference implementation.
 You lose the granularity of the error, but that could be addressed using where when generating the error message.
Rewriting tests this way would make the test suite usable for JAX and other libraries that have non-negligible dispatch overhead in eager mode.

That would work for the creation functions like eye, but how would you change the elementwise function tests? For example, test_bitwise_left_shift (one of your slowest tests):
https://github.com/data-apis/array-api-tests/blob/f82c7bc8627cc2c3a44fa3e425f53a253a609aa8/array_api_tests/test_operators_and_elementwise_functions.py#L822-L837
The loop is done in this helper https://github.com/data-apis/array-api-tests/blob/f82c7bc8627cc2c3a44fa3e425f53a253a609aa8/array_api_tests/test_operators_and_elementwise_functions.py#L311
You have to loop through the input arrays to generate the exact outputs. Maybe there's some way to extract the original input array list from hypothesis (assuming it didn't go through any further transformations after being converted to an array). @honno, thoughts?
Anyway, I think changing it to be like that for the creation functions is fine.

Anyway, I think the best solution for you is to make MAX_ARRAY_SIZE configurable. I expect 1000 (or even 100) would be fine for most test cases, but would drop the runtime of those tests down correspondingly.

Another option would be to use dlpack to export the full array to numpy or some other standard, where eager-mode indexing is not problematic.

I did a bit of profiling and testing to figure out what's going on. The result of:
$ py-spy record -o profile.svg -- pytest array_api_tests/

is this:

That takes about 15 minutes, and ~75% of the time is spent in test_special_cases.py. Special cases are really not of interest to start with when developing an array API implementation, so the next step bash to add:
--ignore=array_api_tests/test_special_cases.py

That brings it down to ~4 minutes. With NumPy 1.26.0, there are still 4 failures when running on numpy.array_api. These 4 failures can be reproduced also with
--max-examples=1

and that runs in about 3 seconds. Adding back the special cases tests makes it run in 18 seconds with --max-examples=1.
Right now we are in the position that we need this 3 second run to pass on libraries. That is far more important than anything else; there are, as of now, zero implementations that actually pass 100%. The array_api_compat layer is missing array methods like .mT and .to_device for numpy and shows casting rule issues (as expected until numpy 2.0); plain numpy.array_api comes closest but still needs a couple of fixes.
It looks to me like we need to focus on that. And in addition, make some of the extra-costly checks for JAX vectorized, as we're discussing in gh-200 right now.

Thanks - with --max-examples=5 and a number of skips related to mutation and other issues, the jax.experimental.array_api PR now passes the test suite! https://github.com/google/jax/pull/16099
I did find that it errors with this week's hypothesis 6.88.4 release; perhaps I should file a bug for that separately.

Awesome, that's great to see!


Correction in go doc example

Correction in go doc example to ensure example satisfies the Game interface.
Current example results in:
cannot use game (type *Game) as type ebiten.Game in argument to ebiten.RunGame:
	*Game does not implement ebiten.Game (wrong type for Update method)
		have Update() error
		want Update(*ebiten.Image) error (exit status 2)

My bad, just spotted I was looking at the /v2 doc and using a different version in the code.


Add a method of git() that bypasses cmd parsing.

Fixes #30
This PR adds the git(::AbstractVector{<:AbstractString}) method discussed in https://github.com/JuliaVersionControl/Git.jl/issues/30#issuecomment-805866340.
Bonuses:

Adds more examples to README.md.
Adds a module docstring.
Fixes a missing escape in the git docstring.
Removes a duplicate test (in fact hijacks it).

Fixes #30?

I'd say #34 fixed #30, but yes, this adds the second item discussed there. I didn't include a git(::AbstractString) method which would be closer to the removed cmd macro, although that's a small thing to add if desired.


Error: Process exited with non-zero code: 60

$ yarn ios
yarn ios v0.24.6
$ react-native-scripts ios
22:17:35: Starting packager...
22:17:49: Starting simulator...
22:18:08: Failed to start simulator:

Error: Process exited with non-zero code: 60

Exiting...
✨  Done in 32.91s.

Sometimes I got random error like this... rerun yarn ios again usually works, but still.

Doing some google searching, it seems like this is a more widespread iOS simulator issue, specific to some machines but not others, and Apple hasn't offered any particular solution yet. I'm not sure there's much we can do other than wait for the underlying Xcode tooling bug to get fixed.

https://github.com/react-community/create-react-native-app/issues/62

me too


illegal instruction in libmpir

upon startup a program using nocrypto crashes with the following on x86_64
any idea?

nocrypto-0.5.4-1
ocaml-4.07.1
mpir-3.0.0
NixOS-19.03

Program received signal SIGILL, Illegal instruction.
0x00007ffff7f8c8b5 in mpn_lshift () from /run/current-system/sw/lib/libmpir.so.23
(gdb) bt
#0  0x00007ffff7f8c8b5 in mpn_lshift () from /run/current-system/sw/lib/libmpir.so.23
#1  0x0000000000568019 in ml_z_shift_left ()
#2  0x00000000004840d6 in camlNocrypto__Numeric__lsl_1789 () at src/numeric.ml:94
#3  0x0000000000484688 in camlNocrypto__Numeric__loop_1833 () at src/numeric.ml:124
#4  0x0000000000494a39 in camlNocrypto__Dh__s_group_2386 () at src/dh.ml:81
#5  0x0000000000494ca9 in camlNocrypto__Dh__entry () at src/dh.ml:93
#6  0x00000000004786f9 in caml_program ()
#7  0x000000000058b7ba in caml_start_program ()
#8  0x000000000058bb25 in caml_startup_common (argv=0x7fffffffd6f8, pooling=<optimized out>, pooling@entry=0) at startup.c:157
#9  0x000000000058bb7b in caml_startup_exn (argv=<optimized out>) at startup.c:162
#10 caml_startup (argv=<optimized out>) at startup.c:167
#11 0x000000000058bba2 in caml_main (argv=<optimized out>) at startup.c:174
#12 0x0000000000477f2c in main (argc=<optimized out>, argv=<optimized out>) at main.c:44

0x7ffff7f8c8b5 <mpn_lshift+149> vpbroadcastq %xmm6,%ymm6

# cat /proc/cpuinfo
model name      : Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz
...
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm cpuid_fault epb pti tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts

after reinstalling zarith with gmp instead of mpir it works now, there was also an issue with setting the correct libdir via opam on nix

https://github.com/ocaml/opam-repository/issues/13818
https://github.com/NixOS/nixpkgs/issues/58950
https://github.com/NixOS/nixpkgs/pull/58951


Fix indentation in fpga-manager to avoid warnings

When i build yocto from source i get warning in the build output like:
WARNING: /home/[redacted]/yocto-nightly/build/../meta-xilinx-tools/recipes-bsp/fpga-manager-util/fpga-manager-util_1.0.bb: python should use 4 spaces indentation, but found tabs in fpga-manager-util_1.0.bb, line 124

please resove the merge conflicts so that I can pull the change in

Closing the pull request as the current master has the said changes.


[WIP] MB-4234 Add an MTOAgentUpdater service object

Description
This PR adds the MTOAgentUpdater service object to the services package and creates a new set of validators for this object (in mto_agent_validators.go).
// TODO general flow, more detail, etc
Reviewer Notes
A few things I'd appreciate feedback on:

Do the validators seem usable and scalable? Please let me know if anything is confusing!
How do you feel about the organization of the code in this package? Does it make sense to have these validators in their own file?
Do you think this setup could be mimicked effectively for other service objects (like shipments, for example)?
Anything else you want to say! This was a tricky problem to solve and I know this is a meaty solution.

I'd also appreciate extra scrutiny on my use of pointers. I tried my darnedest, but I'm still learning.
Setup
Right now we only have the tests to go off of for this code. Feel free to write an adhoc script to call this service object against the dev database, but the tests should be fairly comprehensive. I tried my best to do TDD when I could!
You can run:
make server_test

for the full suite of tests. Or you can run:
go test ./pkg/services/mto_agent -v

for more detail.
Code Review Verification Steps

[x] The requirements listed in Querying the Database Safely have been satisfied.
[ ] Request review from a member of a different team.
[x] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change.

Messages

:book:
:link: MB-4234

  Generated by :no_entry_sign: dangerJS against 61da0e460a42728d2a2ea51964e967600e1a28ab


model_dump converts file objects / streams to SerializationIterator

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
Consider this code
class DocumentUpload(BaseModel):
    file: Any = None

myUpload = DocumentUpload(
    file = open("some_file.png", "rb")
)

dump = myUpload.model_dump()

dump will have the file buried within a SerializationIterator
When printed, it outputs: SerializationIterator(index=0, iterator=<_io.BufferedReader name='/Users/me/path/to/some_file.png'>)
The behavior of dict() in pydantic 1.x left the file alone. There is nothing in the migration guide on how to work around this
Questions

How can I keep it from translating certain classes? I still want it output from model_dump, but I want it in its original form. This was the behavior of dict() in pydantic 1.x
Alternative: how can I get the original value out of SerializationIterator? All I get is an index and __next__ to iterate through the file

Example Code
class DocumentUpload(BaseModel):
    file: Any = None

myUpload = DocumentUpload(
    file = open("some_file.png", "rb")
)

dump = myUpload.model_dump()

Python, Pydantic & OS Version
pydantic 2.6.1, python 3.12, Mac OSX 14.1

@benogle,
Good question. Here's a summary of the different behavior:
# some_file.txt
hello from some_file.txt!

# tester.py
from pydantic.v1 import BaseModel as V1BaseModel
from pydantic import BaseModel as V2BaseModel

from typing import Any

class DocumentUploadV1(V1BaseModel):
    file: Any = None

class DocumentUploadV2(V2BaseModel):
    file: Any = None

print(DocumentUploadV1(file=open("some_file.txt", "rb")).dict())
#> {'file': <_io.BufferedReader name='some_file.png'>}
print(DocumentUploadV1(file=open("some_file.txt", "rb")).json())
#> TypeError: Object of type 'BufferedReader' is not JSON serializable

print(DocumentUploadV2(file=open("some_file.txt", "rb")).model_dump())
#> {'file': SerializationIterator(index=0, iterator=<_io.BufferedReader name='some_file.png'>)}
print(DocumentUploadV2(file=open("some_file.txt", "rb")).model_dump_json())
#> {"file":["hello from some_file.txt!"]}

As you can see, in V2, the behavior is more desirable in terms of the json dumping behavior. It serializes the object like it does other generators. I'm not sure off the top of my head how to get the V1 behavior back, but I'll think a bit and get back to you tomorrow!

I feel like it's reasonable to class it as a bug that the Python behaviour creates a SerializationIterator here, that's an internal type to pydantic_core which I don't think we intended to be user facing. It might be better if the Python serialisation didn't change the object (and maybe in mode="json" read the complete bytes out).
So something like this might be better (just typed this out, didn't run)
print(DocumentUploadV2(file=open("some_file.txt", "rb")).model_dump())
#> {'file': <file object>}
print(DocumentUploadV2(file=open("some_file.txt", "rb")).model_dump(mode="json"))
#> {'file': ['hello from some_file.txt!']}
print(DocumentUploadV2(file=open("some_file.txt", "rb")).model_dump_json())
#> {"file": ["hello from some_file.txt!"]}

Aside, why is there a list wrapping the file contents for model_dump_json()? That seems unnecessary? Or is it for chunks in the file? Doesn't seem helpful IMO 🤔

Thanks for the responses. Are there any workarounds? We rely on the file being a BufferedReader when passing the files to a graphQL client. Anything I can wrap the file with to defeat the behavior for now? Anything I can do to extract the file from the SerializationIterator?

Good question. Unfortunately, regarding extracting the file from the SerializationIterator, there's not a workaround that I know of at the moment, because it seems that there's no convenient way to get the iterator from the SerializationIterator instance, as counterintuitive as that is 😢.
Maybe @davidhewitt will have a better idea, but I think the better approach will be to fix this bug!

I feel like it's reasonable to class it as a bug that the Python behaviour creates a SerializationIterator here, that's an internal type to pydantic_core which I don't think we intended to be user facing. It might be better if the Python serialisation didn't change the object (and maybe in mode="json" read the complete bytes out).
So something like this might be better (just typed this out, didn't run)
print(DocumentUploadV2(file=open("some_file.txt", "rb")).model_dump())
#> {'file': <file object>}
print(DocumentUploadV2(file=open("some_file.txt", "rb")).model_dump(mode="json"))
#> {'file': ['hello from some_file.txt!']}
print(DocumentUploadV2(file=open("some_file.txt", "rb")).model_dump_json())
#> {"file": ["hello from some_file.txt!"]}

Aside, why is there a list wrapping the file contents for model_dump_json()? That seems unnecessary? Or is it for chunks in the file? Doesn't seem helpful IMO 🤔

+1 on the model_dump() should return the file object as-is.
As for the model_dump(mode="json") or model_dump_json(), shouldn't the output be a single string representing the bytes within the file?
> print(DocumentUploadV2(file=open("some_file.txt", "rb")).model_dump_json())
#> {"file": "hello from some_file.txt! \n some other content of the file" }

I'd be curious in finding out what use cases are there for dividing the files into a list as well.
On the other hand, I would want to contribute in fixing the behavior as specified below if it is open to contribution.
# some_file.txt
hello from some_file.txt!

# tester.py
from pydantic import BaseModel as V2BaseModel

from typing import Any

class DocumentUploadV2(V2BaseModel):
    file: Any = None

# current behavior
print(DocumentUploadV2(file=open("some_file.txt", "rb")).model_dump())
#> {'file': SerializationIterator(index=0, iterator=<_io.BufferedReader name='some_file.png'>)}

# desired behavior
print(DocumentUploadV2(file=open("some_file.txt", "rb")).model_dump())
#> {'file': <_io.BufferedReader name='some_file.png'>}

@wannieman98 you are very welcome to contribute a fix. I think this will require Rust work in pydantic-core, I would search for SerializationIterator there to start figuring out how this gets created. I haven't tried to investigate the code paths at all.

@davidhewitt hi, just checking to see if there is a work item for this. In the meanwhile, I have changed our implementation to a dataclass and it is working for now.

It is not currently high on my list of priorities, external help is welcomed.

Hey guys, was there any update regarding this issue?

Not yet, PRs welcome from the community 👍

I have the impression that the problem lies in the is_generator check: https://github.com/pydantic/pydantic-core/blob/39435c236f011262011fd275b0eac310a0273e4f/src/serializers/ob_type.rs#L369
this check incorrectly classifies file like objects as in my case a BytesIO object as a generator object.
because file like objects are no generators:
>>> isinstance(BytesIO(b"adasd"), types.GeneratorType)
False

evaluates to False
It is true that file like objects are iterable:
>>> from collections.abc import Iterable
>>> isinstance(BytesIO(b"adasd"), Iterable)
True

but in fact it does not make sense to marshal a file object as an iterator, it should be passed as is, as @davidhewitt has pointed out above.
I have tried it out by commenting out the check for Generator in infer.rs lines 272 to 282 and the fallback case passed correctly the BytesIO object.
cargo test also passed, just with a warning AnySerializer.get() is not used, since these lines were the only place for it to use.
Also SerializationIterator is not used in pydantic except in one test case test_replace_types_with_user_defined_generic_type_field
I am not deep enough into your code to start off with a pull request, so I would appreciate comments if i should make a PR on this.

I think probably rather than specifically looking for generators, we should add special handling for file-like objects. I think while the "ob type" is "Generator" really I think that code is likely to be appropriate for iterables.

so we could:

provide a check function fn is_file_like() in ob_type.rs that checks if the object is an instance of io.IOBase
in is_generator exclude this case since file like objects are iterable but no generators.
this would also involve extending the ObType enum with a FileLike or so