Problem when processing per-FASTQ files

When I try to process add a prep, I observe a syntax error in a bash script.
 Can't submit private task 'complete_job':
Std output:
Std error: /bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `qiita-private-launcher-qsub 'workon qiita2' complete_job '31fe725b-0ad9-4000-9a1f-5706433a384b' '{"artifacts": null, "success": false, "error": "The number of provided files doesn't match the number of samples (118): 113 raw_forward_seqs, 0 raw_reverse_seqs (optional, 0 is ok)"}''

I am currently observing this in study 11282.

Turns out the problem was that some samples had more than one FASTQ file (my mistake), however the error was not clear about that.

I'm going to flag this as a documentation issue and a duplication of #2283

This is closed via: https://github.com/qiita-spots/qp-target-gene/pull/15. Note how each possibility is clearly described by the error message. Closing as this is not part of qiita but the qp-target-gene plugin.


Workflows support

[x] #1138
[x] #1167
[x] #1168
[x] #1169
[ ] Add Application related workflow changes
[ ] Add Subscription related workflow changes
[ ] Add Life-cycle related workflow changes
[ ] Add Key-generation related workflow changes

Currently on-hold, will reopen if needed.


Code completion menu: application lose focus

From<EMAIL_ADDRESS>on 2009-10-07T05:53:33Z
Steps to reproduse:

write in editor: 'obj.method' and press Enter.
write 'obj.' and now you see complition list with one element - 'method'.
Spyderlib application lost focus and now not response on any key pressed.
To return back focus I should press <alt>+

Environment:
OS: Ubuntu 9.04
DE: Gnome 2.26.1
Python version: 2.6.2
QT version: 4.5.0
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=65

From pierre.raybaut on 2009-10-07T07:58:27Z
This a known bug which is not coming from Spyder but from Gnome/Compiz, see: https://code.google.com/p/pydee/issues/detail?id=30&can=1
Status: WontFix

From pierre.raybaut on 2009-10-28T23:59:41Z
Summary: Code completion menu: application lose focus


emails: Truncate overly-long sender addresses for SES compatibility

Address issue #17558.
The second commit is a side commit to replace SMTPExceptions by an EmailNotDeliveredException as discussed in the linked issue above. Ready for a review.
Testing plan:
Automated tests.
Fixes: #17558.

@pletinckxc the changes look great, but we need tests and you should write proper commit messages for these changes explaining why they're necessary and correct (it's sorta covered in the issue thread, but we like to have it in the commit message as a useful reference).
Check out the Zulip commit message guidelines for more details: https://zulip.readthedocs.io/en/latest/contributing/version-control.html#commit-messages

@timabbott Oh right thank you for your feedback I'll tackle these changes. About the commit messages I did it for my first PR but I saw closed PR having this kind of commits so I thought it was fine. I'll correct this as well.

@timabbott I updated the PR with the requested changes. It's the first time I write new tests for Zulip so I'm ready to modify them if they are not good enough or not well formatted or anything else.

@alexmv @timabbott PR updated.

I merged the first commit as b7fa41601de25d7386b5861614f7302827f0354c, after cleaning up a bit of language in the commit message, and rewriting/moving the comment in send_email.py to avoid mixing things with the envelope-from comment in a way that suggests two unrelated ideas are connected.  Thanks @pletinckxc!
Is the second commit https://github.com/zulip/zulip/issues/17896?  @alexmv I think it is, since we already catch EmailNotDeliveredException in deliver_email.py.  If so, we should mark it as such; I also did some cleanup to its commit message and pushed back here.

One other observation: We should make sure we don't break existing code that catches SMTPException, i.e. we should change it to catch the new exception instead:
$ git grep SMTPExc
zerver/tests/test_signup.py:            side_effect=smtplib.SMTPException("uh oh"),
zerver/tests/test_signup.py:            side_effect=smtplib.SMTPException("uh oh"),
zerver/views/registration.py:            except smtplib.SMTPException as e:
zerver/views/registration.py:            except smtplib.SMTPException as e:

Is the second commit #17896? @alexmv I think it is, since we already catch EmailNotDeliveredException in deliver_email.py. If so, we should mark it as such; I also did some cleanup to its commit message and pushed back here.

The second commit does not address #17896, which is about making sure that the exceptions raised by send_email are retried by deliver_email.  This commit looks to make send_email raise EmailNotDeliveredException instead of sometimes raising a more specific smtplib.SMTPException.  Unless this covers all of the cases from retry_send_email_failures (smtplib.SMTPServerDisconnected, socket.gaierror, socket.timeout) I don't think it helps simplify code elsewhere.  And it doesn't address the retries in deliver_email -- I guess it does prevent the exception from killing the process, but we don't retry.  It will retry the next go-around, I guess?

@timabbott PR updated.

I just merged a couple other email changes -- can you rebase this one atop them?

@alexmv Done ! I had to add some little changes to take the new commits into account but everything should be ok.

@alexmv The two bunches of changes are now split into two commits.

lgtm; @alexmv feel free to merge if you're happy with this.
(I think this sort of well-tested change is safe at this point in the release cycle; if it does introduce bugs, the fixes will be easy to fix and backport).

Looks good -- thanks, and merged, @pletinckxc!


[AMBARI-24666] Implement data visualization color palette

What changes were proposed in this pull request?
Colors in data visualization should be used in the following order of priority:
#41bfae
#79e3d1
#63c2e5
#c4aeff
#b991d9
#ffb9bf
#ffae65
#f6d151
#a7cf82
#abdfd5
#3aac9c
#6dccbc
#59aece
#b09ce5
#a682c3
#e5a6ac
#e59c5b
#ddbc49
#96ba75
#9ac8bf
#83d5ca
#a8ede1
#99d7ee
#d9caff
#d1b7e6
#ffd1d5
#ffca9b
#f9e18e
#c6e0ae
#c8eae4
How was this patch tested?
Tested manually

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4019/
Test PASSed.


Unable to run the app with crewai run command

Description
When the crewai run command is run it is throwing the following error is thrown
crewai run
Running the Crew
error: Distribution onnxruntime==1.20.1 @ registry+https://pypi.org/simple can't be installed because it doesn't have a source distribution or wheel for the current platform
An error occurred while running the crew: Command '['uv', 'run', 'run_crew']' returned non-zero exit status 2.
Steps to Reproduce

Create conda environment with python=3.12
Activate conda environment
pip install crewai crewai-tools
crewai create crew <project_name>
cd <project_name>
crewai run

It throws the error
Expected behavior
It should run the crew
Screenshots/Code snippets
Running the Crew
error: Distribution onnxruntime==1.20.1 @ registry+https://pypi.org/simple can't be installed because it doesn't have a source distribution or wheel for the current platform
An error occurred while running the crew: Command '['uv', 'run', 'run_crew']' returned non-zero exit status 2.
Operating System
Other (specify in additional context)
Python Version
3.12
crewAI Version
crewai==0.80.0
crewAI Tools Version
0.14.0
Virtual Environment
Conda
Evidence
Running the Crew
error: Distribution onnxruntime==1.20.1 @ registry+https://pypi.org/simple can't be installed because it doesn't have a source distribution or wheel for the current platform
An error occurred while running the crew: Command '['uv', 'run', 'run_crew']' returned non-zero exit status 2.
Possible Solution
None
Additional context
MacOS - Sequoia

Hey, was facing the same issue. Found the resolution here - Crew AI Community
according to beijingrong, python 3.12 does not work, as any onnxruntime>=1.15.0 will report the wheel errors while chromadb requires onnxruntime>=1.14.1.

I had already tried it but didn't work. It failed during the crewai install step with the following error
help: greenlet (v3.1.1) was included because poem (v0.1.0) depends on crewai[tools] (v0.86.0) which depends on crewai-tools (v0.17.0) which depends on embedchain (v0.1.125) which depends on
sqlalchemy (v2.0.36) which depends on greenlet
An error occurred while running the crew: Command '['uv', 'sync']' returned non-zero exit status 1.

https://community.crewai.com/t/onnxruntime-doesnt-have-a-source-distribution-or-wheel-for-the-current-platform/1495/18
Follow this exact steps:

Use Python 3.11
Downgrade to crewai 0.8 version
pip install socksio # also required to create crew
Modify dependencies dependencies = [
“crewai[tools]>=0.80.0,<1.0.0”,
“onnxruntime==1.15.0”,
“socksio>=1.0.0”,
“pyarrow==17.0.0”,
]

These exact steps helped me fix the issue


Update ObjectRewriter to support initializer

Looks file, but what about object initializers, is this a case we want to handle too?

No, I think it's better if object initializers are not automatically converted, because I think it's more likely that a class that gets a mock in its initializer will need the real mock and not the object itself


Menu function not returning correct bool

I set up a menu in my config.toml:
[[menu.topbar]]
    name = "Home"
	url = "/"
	weight = 10
	identifier = "home"
[[menu.topbar]]
	name = "work"
	url = "/work"
	weight = 20
	identifier = "work"
[[menu.topbar]]
	name = "methods"
	url = "/methods"
	weight = 30
	identifier = "methods"
[[menu.topbar]]
	name = "blog"
	url = "/blog"
	weight = 40
	identifier = "blog"
[[menu.topbar]]
	name = "team"
	url = "/team"
	weight = 50
	identifier = "team"
[[menu.topbar]]
	name = "contact"
	url = "/contact"
	weight = 60
    identifier = "contact"

And this is how I'm rendering it out:

      {{ $currentNode := . }}
      {{ range .Site.Menus.topbar }}

{{ .Name }}

      {{ end }}

The issue I'm having is that the $currentNode menu functions only return true when I access the home or blog page for every other page it does not return true so the class active is never added.

This is as designed.
If you want the pages to be in the menu you would either

Define the menu in each page's front matter
Have a look at the menus for the lazy blogger feature

Is there a working example for v0.15? I tried both options without success :(


[Do not merge] Possible workaround for #1184/#871

Related issue: #1184,#871

Type of change: other enhancement

Impact: API modification

Development Phase: proposal
Release Notes

Can one of the admins verify this patch?

Problem is that this breaks code that actually obeys valid Chisel3 semantics:
[error] /home/chisel/repo/chisel3/src/test/scala/chiselTests/MultiAssign.scala:53:13: overloaded method value U with alternatives:
[error]   (width: Int)chisel3.UInt <and>
[error]   (width: chisel3.internal.firrtl.Width)chisel3.UInt <and>
[error]   ()chisel3.UInt
[error]  cannot be applied to (Int, Int)
[error]         (15.U)(1, 0) := 7.U

Thanks @edwardcwang for the quick feedback! You are absolutely right and unfortunately this is not gonna work :(
I'm closing this and try to see if there's another way around.

@kammoh I feel your pain; it's a tricky problem 😢


Increased test coverage for conn_interface.

Codecov Report

Merging #108 into master will increase coverage by 0.14%.
The diff coverage is 93.24%.

@@            Coverage Diff             @@
##           master     #108      +/-   ##
==========================================
+ Coverage   86.48%   86.63%   +0.14%
==========================================
  Files          37       38       +1
  Lines        3264     3337      +73
  Branches      259      259
==========================================
+ Hits         2823     2891      +68
- Misses        213      216       +3
- Partials      228      230       +2

Impacted Files
Coverage Δ

src/conn_interface.c
86.95% <100%> (+11.59%)
:arrow_up:

tests/test_conn_interface-rws.c
93.15% <93.15%> (ø)

tests/test_client_list.c
90.76% <0%> (-6.16%)
:arrow_down:

Continue to review full report at Codecov.

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

The fixes for test_token.c are also in pull request 106.


how to use on windows

I have tried almost for three months but it didn't work. please reply me as soon as possible

Please re-post with more details. As soon as possible :-)


Sending namespace during fork

Fixing that namespace is not sending during project fork

@gecka would you mind resolving the conflicts?


Batch put doesn't add member.

It seems like the batch put doesn't add any members (update works though). Not sure if it's an issue with MailChimp or with this wrapper.
Method:
"lists/{$listID}/members/{$hash}"

I've being struggling trying using the Batch method for a couple of days. I try first with my own functions and later with this wrapper. In either case I can get my batches requests to go through but all operations will fail with this error:
{
"status_code": 404,
"operation_id": null,
"response": {
"type": "http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/",
"title": "Resource Not Found",
"status": 404,
"detail": "The requested resource could not be found.",
"instance": ""
}
},
I have try with PUT and POST to update list with members but I always get errors. Mailchimp support says:
Alejandro,
Thank you so much for writing back with that information. Since your first email, we were able to do some testing on our end, and we are finding that a lot of POST calls are producing that error message, even for valid POST calls.  We've been able to replicate these findings that you are seeing.
It looks like when the same POST command is being made with the same parameters and values, they are successful. The action only fails when it is used in a batch operation. We have not found out why this is happening just yet, but we have brought the issue to the attention of our developers. To set the right expectation, while they are working towards a solution, we would not be able to provide an estimated time frame for their progress as we have not yet determined why this behavior is occurring.
However, in the meantime, I recommend making the POST calls as regular calls, rather than inside batch operations. Alternatively, you are able to use the API v2.0 in the meantime if you need to make a bunch of POSTs at once.  If you are making the same calls outside of batch operations and still seeing an error, feel free to reach back out and let us know. We'll be happy to troubleshoot this further. Additionally, if you think of anything that may help with this issue, let us know.
We'll keep an eye out for your response.
Thank you,
Josephine
Has any body been successful with this?

It sounds very much like MailChimp are admitting it's a problem at their end.

I'm also adding a user to a list (not using bash), and getting the following internal server error:
type: about:blank
response: Internal Server Error
exception: 9b5827785cda110dce282058b7596e6a
detail:  A deep, internal error has occurred during the processing of your request. Please contact support.
instance: 56a4cc8f-1004-470b-9755-be898633d4e6
status: 500
title: Internal Server Error
type: about:blank
Dropped them an email and waiting on response. Reverting to v2 for now :(

Just a quick update with what they answered:
Hey Alejandro,
Thanks for getting back to us with those details, our developers have been hard at work at identifying why these POST calls were having trouble, and just recently they were able to push a fix that has resolved these issues with POST calls in these batch operations.  To address your earlier question, while we don't rate limit, attempting to send large numbers of requests is best done through batches, as they are more robust.
Could you attempt to re-send these batch calls with the original POST methods you were using beforehand?  If you are continuing to see errors after resending this with the original POST versions, please don't hesitate to reply back and we'll be glad to continue investigating.
Thank you,
Roman
Everything is working OK now.

Resolved my above issue by not using the example.com email address from the README.
All good!

This is my first post on github so hopefully I'm following the rules ok.
I've also noticed some changes recently to my implementation of  Super-simple, minimum abstraction MailChimp API v3 wrapper. Everything had been working great for a number of weeks. I was able to retrieve lists, members, activity, campaigns....
About a week or so ago i noticed the campaign stats were failing with a 500 internal error. I checked a second implementation of the wrapper in a different project and the same thing was happening; campaign stats were failing but list, activity and members data were still being returned as expected.
I changed the end point of my request for campaigns from:

$campaigns = $MailChimp->get("lists/$list_id/campaigns");

to:

$campaigns = $MailChimp->get("campaigns");

And my campaign request started working again.
I hope this helps someone who may be experiencing a similar issue.
On a second note,
I am also now experiencing issues with deleting members.  Add / Update members still work as expected. However, deleting a member is failing partially (see screenshot attached). Only my custom name field is being deleted. The subscribers email address etc remains in my list.
My endpoint has not changed and is per the documentation:

$MailChimp->delete("lists/$list_id/members/$subscriber_hash");

Whilst i appreciate there are minor issues to be resolved (most likely due to changes MailChimp's end) i would like to take the opportunity to say a big thank you to Drew and everyone else who has contributed. I have aggregated and visualised (using Google Graphs API) various datasets using this wrapper, which have offered an extremely insightful perspective, particularly with trending.
Also doing some other cool stuff with the datasets, like exporting in pseudo MS Excel format.
As a result, I've integrated the wrapper into a Content Delivery System I'm looking to release end of the summer.
Keep up the good work,
Darren

@dc001 All the wrapper does is ferry your messages back and forth to the MailChimp API. We don't control the end points or the behaviour. You should raise your issues with MailChimp directly.

Hi Drew, thanks for the reply. I opened a ticket with MailChimp the day i first experienced the issue.  The dialogue is ongoing, with nothing of note to feedback at this stage.
With regards my issue with Delete, you can confirm there has been no change to the lists/$list_id/members/$subscriber_hash endpoint we call when using the wrapper?
Apologies for posting in the wrong thread earlier, i wasn't aware there was more than one, i could just see the open thread (#90) when i landed on the page.

It seems that MailChimp api v3 has still a lot of problems internally. Currently MailChimp is trying to solve my issue, but apparently it's hard.

@dc001 The wrapper doesn't have any endpoints of it's own. If the end point you're using has changed, that's a change in the MailChimp API.

Many thanks for your prompt reply Vennik, it's appreciated.
I share the same sentiment. I'll refrain from making any changes and wait for their response.

Thanks for the reply Drew.
Indeed, i understand that. I just wanted to double check you were not aware of any changes that they may have made recently and / or the documentation on using the wrapper not yet updated. However, It sounds like everything is as it should be and that I'm calling the endpoint correctly. As suggested, it sounds like an issue MC's end that needs fixing.
Again, I thought it may useful to clarify this point just in case anyone else is experiencing the same issue.
When i get a resolution from MailChimp support desk i shall update the thread.
Cheers

Update on Delete Member issue:
Hey Darren,
Thanks so much for providing those additional details. That was super helpful.
To clarify what you're seeing, we recently made changes to how we handle deleted subscribers. While we remove those subscribers from the list in the app and remove all of their associated merge data, we keep the actual address on the list with a blank status. This helps bounce and unsubscribe requests occur for those subscribers, even after they've been deleted from the list.
As such, if you make a GET request directly to the /lists/{list_id}/members/{subscriber_hash} endpoint, you'll receive a 404 error since that subscriber has been deleted. **However, when making a GET request to the /lists/{list_id}/members endpoint, those subscribers will be included in the results with just their email address and a blank status. **
That being said, if you're seeing deleted subscribers returned at the /lists/{list_id}/members/{subscriber_hash} endpoint or with a status that isn't blank, definitely let us know and we'll be happy to continue troubleshooting.
Cheers,
Steff

For anyone getting the same error still: don't submit<EMAIL_ADDRESS>or<EMAIL_ADDRESS>addresses to Mailchimp's API. This makes testing more difficult, but it works if you replace it with a different domain (preferrably one you own).

MailChimp fixed their internal bug, so this is solved.
Apparently it is normal to release a new API filled with bugs.


Php8

Codecov Report

:exclamation: No coverage uploaded for pull request base (4.3.x@a2bf17f). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             4.3.x       #8   +/-   ##
========================================
  Coverage         ?   70.30%
========================================
  Files            ?       36
  Lines            ?     1162
  Branches         ?        0
========================================
  Hits             ?      817
  Misses           ?      345
  Partials         ?        0

Continue to review full report at Codecov.

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

Codecov Report

:exclamation: No coverage uploaded for pull request base (4.3.x@a2bf17f). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             4.3.x       #8   +/-   ##
========================================
  Coverage         ?   70.30%
========================================
  Files            ?       36
  Lines            ?     1162
  Branches         ?        0
========================================
  Hits             ?      817
  Misses           ?      345
  Partials         ?        0

Continue to review full report at Codecov.

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


Feature request: Use as standard module

It would be great if you added a function(s) inside the Free_games.py so we can do something along these lines, instead of using dotenv. I would like to integrate this script into a project that I'm working on.
import Free_Games

epic_games = Free_Games.claim(email='epic_email', password='epic_password', two_fa_key='epic_2fa_key')  # perhaps return the games that were claimed, or at a minimum the status of the claim function (true/false)

I'm no longer going to update this repository. Please use this new and improved one that makes use of the Epic Games desktop app rather than logging in via the browser:
https://github.com/MasonStooksbury/Free-Games-V2


Convert e2e_update_node.cpp to e2e test files

This PR performs the following:

Converts e2e_update_node.cpp into tinysnb/update_node/create.test, tinysnb/update_node/delete.test and tinysnb/update_node/set.test.
Adds -DEFINE to create variables
Adds ARANGE start end to create lists
Example:

-DEFINE MY_LIST ARANGE 0 10
# MY_LIST = [0,1,2,3,4,5,6,7,8,9,10]
-STATEMENT MATCH (a:person) WHERE a.ID=0 SET a.Pref ="${MY_LIST}"
...

-DEFINE R_EXCEPTION Runtime exception:
-CASE DivideBy0Error
-QUERY RETURN 1 / 0
---- error
${R_EXCEPTION} Divide by zero.

-CASE ModuloBy0Error
-QUERY RETURN 1 % 0
---- error
${R_EXCEPTION}  Modulo by zero.

One feedback, though not related to this PR, is that when a test cases contain multiple test units (each identified by a NAME), is there a way that we can print which test unit fails in the log? Currently I believe we only report which test case fails, but it's unclear where the test case breaks.


Uploaded image using this plugin from Gallery or Picture taken

From primary reading about this plugin, I have observed that this plug in should have one feature - Image file size.
In my case, I want to restrict user to some size like user could not select image more then 5 MB or any size.
Can we have this on this plugin or suggest code snippet to get size.

Not planned and not really possible with available APIs


Use metascraper instead of unfurl.js

Hello,
I' maintainer of metascraper. I replace your unfurl.js for it, because:

It detected best high resolution for favicon (see here).
It always returns an absolute url path (see here).
It uses og and twitter metadata fields as well but it adds more selectors as fallback to find the data. (See for example the rules related to get the description)

I updated your rules properly, but I feel metascraper can detect more things, like video or dates. Check the documentation if you are interested to enrich with more data your previews 🙂

@Kikobeats thanks for the PR!  metascraper looks really cool.
There are some tests that are failing after merging in the examples from #11. Could you take a look and see if you can fix them?
Thanks. 🙇

I want to do it, but it's not clear what result you want to expect
Can you clarify your expected output payload?
I think metascraper response is so easy, check the docs!

author_name is an object in both build failures. I would expect it to be either a string or null.
    +   "author_name": Object {
    +     "author": null,
    +     "date": null,
    +     "description": "Internet Archive is a non-profit digital library offering free universal access to books, movies & music, as well as 321 billion archived web pages.",
    +     "image": "https://archive.org/images/WaybackLogoSmall.png",
    +     "lang": "en",
    +     "logo": "https://archive.org/images/glogo.jpg",
    +     "publisher": null,
    +     "title": "Internet Archive: Digital Library of Free Books, Movies, Music & Wayback Machine",
    +     "url": "https://archive.org/",
    +     "video": null,
    +   },

In the first build failure, fallback and text are also this same object. I would also expect that these are a single value.


Add translations to Spanish

This adds the Roarer translations to Spanish (ands solves small typos from the original en.ts).

Did I just start a review-


System: Add online name/login checks

Create checks; with this it would be interesting to create some throttling on server side to protect routes (in this case searching for usernames).

This is more excercise than it has some real meaning.

Closing as it's done in a bit different way.


Modify HBaseTableScan to log amount of time to return rows at level info instead of debug

At line line 194 in the HBaseTableScan (https://github.com/hortonworks-spark/shc/blob/master/src/main/scala/org/apache/spark/sql/execution/datasources/hbase/HBaseTableScan.scala#L194) the number of rows is logged at the log level debug. By changing the log level to info, users can collect metrics about what percentage of their spark job is time spent taking data out of HBase without having to sort though many of the other debug log messages.

PR #42 has been merged. Resolved and Close this. Thanks.


Multiline in table header

Hello!
It seems that in case of multiline header your plug-in somehow miss to add thead_close and thus it crash markdown-it-attrs.
But in case multiline on tbody everything is ok.
| Col | Col | \
| 1 | 2 |
| ---: | :---|
|1|2| \
|3|4|
| ^^ |6|

{.dataTable}

I tried to run into code but stucked in somewhere here https://github.com/redbug312/markdown-it-multimd-table/blob/3477cd3c46ddfecb534189e089192fad06e390a7/index.js#L370
Thanks for a great work and useful plugin. :)

I missed marking the first line because the trToken refers to the last line and is dropped. As a result, the multiline row isn't detected as the last row in the table header.
https://github.com/redbug312/markdown-it-multimd-table/blob/3477cd3c46ddfecb534189e089192fad06e390a7/index.js#L212
Thank you for the report. I'll fix this in the next release.


Programmatically get token prices

[ Will add details -- hold for now ]

so @zer0dss as you saw, @rbyh has a spreadsheet that lists prices. What I think we want to do is:

Re-factor this "fetch_prices" function to instead make a call to coop
Have coop draw from this spreadsheet instead, at least for now. Longer-term, we might create an interface.
Have the edsl code that estimates costs actually use these prices

Shouldn't we just have those in a yaml instead of having a call? Coop can just access a local file to calculate + this can also be use in price pages

Not opposed, but I'd rather than have to run do a PR & edit a YAML every time we want to change prices, add new models, etc. I was thinking longer-term we'd have an admin view in coop that would let us change things there, but as a short-term fix. I also don't think we'd fetch it frequently - I was imagining something with a LRU decorator with re-fetch prices that expire like 6 hours or so. Could also just read from a YAML that that some service writes to periodically.

I think this has been superceded by other things, but an admin pricing page should be part of our larger "get ready for more users" planning, @rbyh


[Docker] Unable to collect network data

Hello !
Describe what happened:
When trying to collect data from the network on a docker host, following the documentation here: https://docs.datadoghq.com/fr/network_monitoring/performance/setup/?tab=docker
The agent seems unable to start the system probe. The following appears in the logs:
starting system-probe
2021-03-17 15:49:27 UTC | SYS-PROBE | INFO | (pkg/util/log/log.go:526 in func1) | Features detected from environment: map[0:{}]
2021-03-17 15:49:27 UTC | SYS-PROBE | INFO | (pkg/util/log/log.go:526 in func1) | no config exists at /etc/datadog-agent/system-probe.yaml, ignoring...
2021-03-17 15:49:27 UTC | SYS-PROBE | INFO | (pkg/util/log/log.go:526 in func1) | overriding API key from env DD_API_KEY value
2021-03-17 15:49:27 UTC | SYS-PROBE | INFO | (pkg/util/log/log.go:521 in func1) | network_config not found, but system-probe was enabled, enabling network module by default
2021-03-17 15:49:27 UTC | SYS-PROBE | INFO | (pkg/util/log/log.go:521 in func1) | enabling process-agent for connections check as the system-probe is enabled
2021-03-17 15:49:27 UTC | SYS-PROBE | INFO | (cmd/system-probe/main.go:97 in runAgent) | running system-probe with version: Version: 7.26.0, Git hash: aac3dbbb9, Git branch: HEAD, Build date: 2021-02-23T11:08:19, Go Version: 1.14.12,
2021-03-17 15:49:27 UTC | SYS-PROBE | INFO | (pkg/network/tracer/utils_linux.go:38 in IsTracerSupportedByOS) | running on platform: debian
2021-03-17 15:49:27 UTC | SYS-PROBE | INFO | (cmd/system-probe/modules/network_tracer.go:43 in func1) | Creating tracer for: system-probe
2021-03-17 15:49:27 UTC | SYS-PROBE | ERROR | (cmd/system-probe/loader.go:39 in Register) | new module `network_tracer` error: error guessing offsets: could not load bpf module for offset guessing: couldn't adjust RLIMIT_MEMLOCK: operation not permitted
2021-03-17 15:49:27 UTC | SYS-PROBE | INFO | (cmd/system-probe/modules/tcp_queue_tracer.go:21 in func4) | TCP queue length tracer disabled
2021-03-17 15:49:27 UTC | SYS-PROBE | INFO | (cmd/system-probe/modules/oom_kill_probe.go:20 in func2) | OOM kill probe disabled
2021-03-17 15:49:27 UTC | SYS-PROBE | INFO | (cmd/system-probe/modules/security_runtime.go:29 in func3) | security runtime module disabled
2021-03-17 15:49:27 UTC | SYS-PROBE | CRITICAL | (cmd/system-probe/main.go:137 in runAgent) | failed to create system probe: no module could be loaded

The other metrics seems to work (host, containers, processes, logs ...), only the network won't show on the datadog page.
Additional environment details (Operating System, Cloud provider, etc):
The agents are deployed on a Docker swarm with 3 manager nodes (hosted on 3 OpenStack instances).
Docker 19.03.3
Datadog agent Agent (v7.26.0)
Deployed with docker-compose stack:
version: '3'
services:
  datadog:
    image: "datadog/agent:latest"
    deploy:
      mode: global
    environment:
       DD_AC_EXCLUDE: 'name:datadog-agent'
       DD_SITE: 'datadoghq.eu'
       DD_LOGS_ENABLED: 'true'
       DD_LOGS_CONFIG_CONTAINER_COLLECT_ALL: 'true'
       DD_SYSTEM_PROBE_ENABLED: 'true'
       DD_PROCESS_AGENT_ENABLED: 'true'
       DD_API_KEY: '<MyAPIKey>'
    volumes:
    - /var/run/docker.sock:/var/run/docker.sock:ro
    - /proc/:/host/proc/:ro
    - /sys/fs/cgroup/:/host/sys/fs/cgroup:ro
    - /sys/kernel/debug:/sys/kernel/debug
    cap_add:
    - SYS_ADMIN
    - SYS_RESOURCE
    - SYS_PTRACE
    - NET_ADMIN
    - IPC_LOCK
    security_opt:
    - apparmor:unconfined

Any idea what I'm doing wrong ?
Thanks !

Can you check your system logs to see if there anything about restricting a call to syscall setrlimit? I'd also check to see if you are running seccomp.


fractional abundance precision?

Should we adjust the fractional abundances to just round to a couple of decimal places, and maybe to be formatted as percentages? For this example, this:

could become 59.85%?
This doesn't need to happen for the first release.

👍 for percent formatting. Do we need more than 2 decimal places for this type of data?

I don't think so.

Fixed in #1.


docs: Quick update to your install instruction: sudo

From @jakedemian on December 20, 2016 2:48
Type: docs
Ionic Version: 2.x
Platform: all
For the install instructions, running the exact command from your guide "npm install -g cordova ionic" gave me errors, I needed to add sudo to the front so that I had access permissions to touch the necessary files.  I just think that it would probably be beneficial to mention this for the mac/linux users out there that might run into that issue and not know the solution.

Copied from original issue: driftyco/ionic#9717

http://ionicframework.com/docs/v2/setup/installation/
Already there.


Remove/Update Natixis?

There has been a rebrand of the company the now the site just redirects to this https://natixis.groupebpce.com/natixis/en/home-j_6.html

Intersting 🤔 @marianasilva14 can you give some insight here, please? 😄

Hello Afonso,
Sim, agora a Natixis faz 100% parte do grupo BPCE e por isso até o site
devem ter alterado 😀
Espero que estejas bem!!
Um beijinho
Afonso Jorge Ramos @.***> escreveu em ter., 13/09/2022
às 22:40 :

Intersting 🤔 @marianasilva14 https://github.com/marianasilva14 can you
give some insight here, please? 😄
—
Reply to this email directly, view it on GitHub
https://github.com/marmelo/tech-companies-in-portugal/issues/299#issuecomment-1245981020,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFOHC4A5TVT6COR76AVXD5DV6DYFNANCNFSM6AAAAAAQL2TXH4
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks Mariana! I guess that's settled then!


Tasks to be shown on date

Have the amount of tasks due on one date, on the side date thing

Thanks Mate! 💩

I expect this to be added by the end of the week


Create tests for layers-view and layer-view classes

[x] layer-view c5ae0cb
[x] layers-view

cc @viddo @javierarce

closing since will be covered in #6886


fix: updated color of the dropdown to be the same as other components

Description:
AppDropDown wasn't using the text-body class. This caused the text color to be incorrect in light mode.
Related issue(s):
Fixes #1321
Notes for reviewer:
Thanks for showing me how to do this, Svet!

I believe the text should be white here


add JIMS college

add JIMS college

@AnishRawat Thank you for your patience while waiting for a review and processing your request. Pull request merged.


help using Rust generator for streaming input

I just downloaded the project and am running through the Rust example but I've hit upon a problem:  if you're reading a stream of data and you don't know what the type of each message is going to be then how do you start decoding it?  the start_decoding_ methods assume you know what type you'll be decoding.
What I'm imagining is that you'd read the header first, look at the template_id, and the call the decoder for that.  But ScratchDecoderData is private and the wrap methods are private so there's not much you can do except look at the buffer without decoding it, get the templateid, and then decode from the same place.  That seems clunky.
Any suggestions?
I think what I want is something like:
let (header, remaining) = start_decoding_message_header(&buffer)?;
match header.template_id {
   CarMessageHeader::TEMPLATE_ID => {
      let car = CarFieldsDecoder::wrap(remaining);
     //process car
   },
   _ => panic!("unknown template_id!");
}

note that I'm also imagining that the block_length, template_id, schema_id, and version would be added as associated constants.

#685 are what I was thinking of.  does that make sense?

The Rust codec seems close to abandoned. I was considering removing it to avoid confusion. If someone is willing to properly maintain it I'd be happy for it to remain. Is @dm3 or @ZackPierce still interested in it?

According to the Rust mailing list thread on SBE @ZackPierce doesn't have the resources to maintain the codec. I don't plan to enhance it further either. The decoder works for my use cases as it is right now.
If the Rust codec isn't good enough quality to keep in the SBE tree we should probably keep it somewhere else as it's at least a working implementation. Can be useful as a starting point to someone else interested in writing a better or enhancing the current version.

Is this OK to close now?

Yes, #685 closes this issue.  feel free to @ me on issues regarding the Rust codec.  I can't be an official maintainer but I'm happy to help if I have time.


Run test action with all parameters

Run a test action with all parameters to ensure we don't regress in future with https://github.com/codemanufacture/magento-coding-standard-action/commit/c053dc438c994b49626ad59a60f445c69eb5f9e4
Use the helper https://github.com/codemanufacture/magento-coding-standard-action/blob/main/tests/test_helper/phpcs and validate output in bash

🤔


Remove softlinks for multiqc commands

Resolves #497
Testing
WGS ALIGNMENT QC:
wfr.60a422d45fd84b3db9717be4b6388ba0 wfr.6860a547568842e2b9c7a821af4d6a91
WGS SOMATIC_WITH_GERMLINE:
wfr.aa4c7122979044d48aebb26726ea0d3c

Testing somatic as well since this one has multiple inputs into the multiqc directory

WTS WORKFLOW
wfr.91a26437fd2c482c83a01ba3d2623154

All workflows successful, should have gone through this route a lot sooner


cloud issue new format invites

Fix https://github.com/uProxy/uproxy/issues/2215
@trevj as FYI, but assigning to @dborkan since I mentioned it to him earlier.
The relevant diffs are the Dockerfile and line 31 and the bottom lines of issue_invite.sh - the rest are my editors opinion about tabs in bash scripts (which does make it more consistent with other bash scripts in this repo).
The approach is hacky but it does work (i.e. I tested it successfully on Linode). It gives results like this (no longer running this server so the invite doesn't work):
https://www.uproxy.org/invite/v=2&networkName=Cloud&networkData=~'7b22host223a2<IP_ADDRESS>222c22user223a22giver222c22key223a*22LS0tLS1CRU...&userName=giver
The length of the generated URL was ~2400 characters - an improvement over 3000, but not sub-2000.

Fantastic stuff. Just a couple of tiny things then we're ready to go!

I think it's a bit weird that we have the cloud social provider generating the full invite URLs.  I suppose this is fine for now if we expect all cloud servers to be manually configured via SSH, but I think in the future we want to remove all of this and instead have the cloud social provider generate invites via the .inviteUser method - this just returns an object that is then serialized as networkData in the invite url, and uProxy code can worry about the format of that URL the same as with any other social network.

Responded to comments, and re: @dborkan - I agree that if the long-term plan is for uProxy to do more of the work in generating the URL then this approach isn't needed. As for whether or not we want to push for that long-term now or not, I can't say.

@dborkan: Quite right! I just tried issuing a new invite with this change and...it doesn't work. Good catch.
@soycode: After thinking about this a bunch, let's make the following change to this PR:

by default, issue_invite.sh should output $CLOUD_INSTANCE_DETAILS, as JSON
add a switch to issue_invite.sh which causes it to output a complete invitation URL, i.e. with jsurl-encoded networkData component
run_cloud.sh should invoke issue_invite.sh with this new switch

Sorry, I know that's annoying but hopefully it's not too big of a change from what you already have.
Separately, I will work on the changes/fixes required to uProxy.

Makes sense, did the change (and since I seem to need the npm install in the invite script, I at least put it in the condition for actually using it).

Comments addressed, thanks!

Just one thing, then :+1: !


Significant, sporadic lag when the "Time Tracking" panel is open

Type
Performance
Operating System
Windows
OS Version
Windows 10 (10.0.19045.2364)
Bug description
I've noticed while doing farm runs, that if I have the "Time Tracking" plugin panel open, there is significant input delay every few seconds.
My FPS will go from ~160FPS to ~70FPS roughly every 5 seconds as well.
It is worth noting that I am also running 117HD, but the performance issues only occur when that specific panel is open. Other ones (such as Loot Tracker) do not seem to have this effect.
Screenshots or videos
No response
RuneLite version
RuneLite version: 1.9.6
Launcher Version: 2.2.0
Logs
client.log
launcher.log

Your logs show no issues. Does this behavior happen while running in safe mode?
To open in safe mode on Windows: In Command Prompt, run:
"%localappdata%\runelite\runelite.exe" --clientargs --safe-mode

Or on Mac: In Terminal, run:
/Applications/RuneLite.app/Contents/MacOS/RuneLite --clientargs --safe-mode

Looks like it does occur while using safe mode (though of course the frame rate goes from ~50fps to ~35fps since safe mode has the FPS cap)
One way to easily notice the behavior is to use the middle mouse button to move the camera for a bit and you'll see it basically "snag" on itself

I'm told this is the same issue as #14978

I have near same issue, as explained here: https://github.com/runelite/runelite/discussions/16088
input failing to register is the crux of my issue with the time tracking feature


Not working with snowpack it does a full page refresh

To recreate do:
npx create-snowpack-app test-preact --template @snowpack/app-template-preact --use-yarn
cd test-preact
yarn start

Then go to src/App.jsx and change reload. to reload! and you will see it do a full page reload.

Hey @cj
Thank you for reporting this issue, I found the fix and I'm releasing the 1.1.1 plugin in a bit!


feat: add docs wirte guide

Add docs write guide.

@LinuxSuRen If you may have better suggestions, I can update the documentation later. 😆😆

LGTM


kodi checker use regex to read json

Needs to be refactored, @Paulchen-Panther pointed me to this, maybe he is interested to refactor this.

perhas we can use new qt json parser in this document as a test for migration the more complex parts?

Hm, another question.
If we start and stop the grabbers later during runtime, make it sense to remove the kodicheck part out of all grabbers and just start and stop the grabber with this function?
My biggest problem may be that i have no idea how big the delay is from start grabber to start grabbing. Currently the switch is faster than the video you start (or pause/play) :)

kodicheck triggers grabber start/stop - this won't change
additional every grabber can have idle detection that suspends the grabber. v4l2 does this already
start/stop during runtime is also needed, if we start with an unconfigured (no) grabber and then enable a grabber in the webinterface - or we want to change configuration of a grabber during runtime (without a restart)

But it triggers inside the grabber code, if you trigger the grabber external it is a "bigger" initialize phase?
This was my concern.

you mean when using hyperion-dispmanx instead of grabber in hyperiond?
start/stop grabber deosn't mean that we launch/kill the app regarding it's status.  The grabber (e.g. hyperion-dispmanx) is running all the time.

yes
if we implement it this way yes


Navigationbar sorts itself after the view got rendered

After the view got rendered, the navigation bar sorting is wrong. After a view seconds the elements are jumping to their correct position.
Please improve the navigation bar that the elements doesn't jump anymore when the view is already rendered

I'm not sure whether this can be improved. It should actually only happen when the visibility of menu entries has changed e.g. because the permission has changed to view entries.
The menu entries that you are writing
<div mw-menu-entry
             ng-if="!hidePublicStore"
             active-urls="['/public/*']"
             url="#/public"
             icon="rln-icon apps"
             label="{{'publicStore.publicStore' | i18n }}">
        </div>

Are not the actual items that are rendered. They are just dummy items to keep it simple for you to add new entries. The actual rendered items find the dom position of those items to define the order. When an element is hidden or becomes visible the whole order has to be rechecked thats why "they are jumping to the correct position"

The bug gets more and more visible and has to be fixed

it is resorting the menu items all the time on my instance on every refresh - please fix asap


hacktoberfest 2021 PR

task Completed with a new pattern for the repo

butterfly or stick-insect 😄😆

add hacktoberfest tag plz


CSL and other weapon selection abilities do not need to show weapon selections for ALL

b79c3ebaf0b3fc402b11af05eebf4ed045abf8dd

The custom adders are still created, so potential room for further improvement.


Unable to load foreign library (GRPC-CLIENT-WRAPPER)

I have installed the cl-protobufs and the (ql:quickload "cl-protobufs") has no error in REPL.
But when I was trying to (ql:quickload "grpc"), I get the error message below return
Unable to load foreign library (GRPC-CLIENT-WRAPPER).
  Error opening shared object "/Users/{username}/quicklisp/local-projects/grpc/grpc.dylib":
  dlopen(/Users/{username}/quicklisp/local-projects/grpc/grpc.dylib, 0x000A): tried: '/Users/{username}/quicklisp/local-projects/grpc/grpc.dylib' (no such file).

Do I mess up the path or I need to do something else to generate the grpc.dylib like the protoc-gen-cl-pb in cl-protobufs?
Thank you
grpc and cl-protobufs: master branch version.
protoc: libprotoc 3.21.4
runtime: SBCL
OS: macos 12.5

So Lisp gRPC runs on top of gRPC core (written in c++)
so you'll have to install grpc core from source, then run
the lisp gRPC makefile to generate the shared libraries.
Please see
https://github.com/qitab/grpc/blob/master/.github/workflows/SBCL-test.yml
for an example of how we do it in tests.
There may be better ways of generating/saving the shared libraries but I
don't know them.

I find a temporary solution that can load grpc.
Yes, I need to install the grpc first. I install it through homebrew, and when I saw the debugger tell me cannot find GRPC-CLIENT-WRAPPER during ql:quickload the grpc, choose the 1. [USE-VALUE]; and input the ("/usr/local/Cellar/grpc/1.48.0/lib/libgrpc.dylib").

I gave a PR #45 that make (ql:quickload "grpc") runs successfully. Please check it out. Thanks.

Will do, but please sign the CLA.

Just did. Thanks for reminding.

Submitted, thanks!


Proper deadline in gRPC LB

Plus a couple bugfixes

What if there are multiple calls each trying to make the lb policy connect?

@ctiller good point. Changed to consider the longest deadline across calls. PTAL.

Hmm... Is it actually good enough to simply use the max of the deadlines?  For example, consider the following situation:  At time=0, we get a call with deadline set to time=5, and we start an LB request with that deadline.  Then, at time=1, we get a call with deadline set to time=6.
If the LB request is still pending when the second call comes in, it seems wrong for us to cause the LB request to timeout before the second call's deadline (which, of course, we didn't know when we issued the original LB request).  Ideally, if the LB request would complete between time=5 and time=6 (i.e., between the deadlines of the two calls), then we should still be able to use the result for the second call, rather than having it be abandoned early.
This makes me think that perhaps we should not be trying to propagate the original call's deadline to the LB request, because even if the LB response comes back after the original call has timed out, another call may come along that might be able to use the same data.  Would it make more sense to have the LB deadline be independently configurable?

@markdroth you raise a very good point. Short of changing the deadline "in-flight" this will always be an issue. In order to make progress on other fronts, I'm leaving the current "infinite deadline" in place with an updated TODO comment. However, this PR does contain other necessary bugfixes. I've changed its title. Please review for those other points.


unsloth/Meta-Llama-3.1-405B-Instruct-bnb-4bit

new version of transfomer, no need to use BetterTransformer, try setting attn impl to sdpa...
attn imp: <class 'transformers.models.llama.modeling_llama.LlamaSdpaAttention'>
Unused kwargs: ['_load_in_4bit', '_load_in_8bit', 'quant_method']. These kwargs are not used in <class 'transformers.utils.quantization_config.BitsAndBytesConfig'>.
running layers(cuda:0):   1%|▊                                                                                | 1/129 [00:03<07:01,  3.30s/it]
Traceback (most recent call last):
File "/root/test.py", line 18, in
generation_output = model.generate(
File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/transformers/generation/utils.py", line 1989, in generate
result = self._sample(
File "/usr/local/lib/python3.10/dist-packages/transformers/generation/utils.py", line 2932, in _sample
outputs = self(**model_inputs, return_dict=True)
File "/usr/local/lib/python3.10/dist-packages/airllm/airllm_base.py", line 369, in call
return self.forward(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/airllm/airllm_base.py", line 569, in forward
new_seq = layer(seq, **kwargs)[0]
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1562, in _call_impl
return forward_call(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/transformers/models/llama/modeling_llama.py", line 677, in forward
hidden_states, self_attn_weights, present_key_value = self.self_attn(
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1562, in _call_impl
return forward_call(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/transformers/models/llama/modeling_llama.py", line 565, in forward
key_states = key_states.view(bsz, q_len, self.num_key_value_heads, self.head_dim).transpose(1, 2)
RuntimeError: shape '[1, 9, 8, 128]' is invalid for input of size 18432

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

Have you found a solution to the same problem?

This hacky fix seems to work: https://github.com/lyogavin/airllm/issues/172#issuecomment-2322887273
But it's definitely a bug in AirLLMLlama2 as it works for Llama 3.1 70B model without any tweaks


StormLib: fix darwin build

Description of changes
Making the framework path relative allows installing under /nix/store. This fixes darwin builds.
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

@viraptor any guess on the aarch64-darwin failure?

Should be the same fix as https://github.com/NixOS/nixpkgs/pull/161620/files
I'll update tomorrow

The error is in libtomcrypt, however.

Thanks!


Menu

VSCode Version: Code 1.9.1 (f9d0c687ff2ea7aabd85fb9a43129117c0ecf519, 2017-02-09T00:26:45.394Z)
OS Version: Windows_NT ia32 10.0.15031
Extensions:

Extension
Author
Version

Steps to Reproduce:

Open VS Code
Try to click on the File menu

Expect: the menu opens
Actual: it does not open

dup of #20569


Raise minimum Symfony version to 2.5

ValidatorInterface used in AttachRefreshTokenOnSuccessListener was moved and deprecated in 2.5: https://github.com/symfony/validator/blob/master/CHANGELOG.md

I think we have to add support to Symfony 3.0. In actual branch i want to support from 2.3.

Sorry, I think you might have misunderstood my comment.  It doesn't currently work with Symfony 2.3 or 2.4, because in 2.5 they moved Validator/Validator/ValidatorInterface to Validator/ValidatorInterface.  This library uses that new interface, so an error is thrown when AttachRefreshTokenOnSuccessListener receives the deprecated interface in __construct().
The composer.json requires Symfony 2.3+, but this is inaccurate given the incompatibility above.  Since you say the other branch is going to be 2.5-3.0 anyway, this fix is really only relevant in the meantime.  But currently any 2.3 project that updates from 0.1.1 to 0.1.2 of this library will break despite composer allowing it.

You're right but you need to edit composer.json to avoid 3.x versions

Ah, I was the one that misunderstood.  It looks like travis is failing due to an API change made in 2.8.


Draft: Fix #615 Add Meta Quest support

This pull request adds a --metaquest flag for generating universal APKs compatible with Meta Quest devices that open Trusted Web Activity (TWA) on regular Android devices and open Meta Quest Browser on Meta Quest devices. This will allow to abandon ovr-platform-util in favor of Bubblewrap (e.g. in PWABuilder).

Is there a way to change android:minSdkVersion="19" to 23, if --metaquest flag is passed? If so, how?

@andreban It seems I've found a solution. PTAL.

@andreban The pull request is ready to review and merge. :wink:

@PEConn would you mind taking a look too?

@PEConn @andreban Could you please release a new version of Bubblewrap that contains this pull request? It's needed for further work on PWABuilder.

Done, the changes should be in version 1.18.0 of core and cli.

@PEConn Thanks!
BTW, just noticed that version 1.18.0 is not listed at https://github.com/GoogleChromeLabs/bubblewrap/releases.


Fastlane finished with errors Too long with no output

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

Command executed

default_platform :ios

platform :ios do
  before_all do
    setup_circle_ci
  end

  lane :tests do
    run_tests(scheme: "STRAUS", workspace: './ios/STRAUS.xcworkspace')
  end

end

Complete output when running fastlane, including the stack trace and command used

 [`[04:58:17]: ▸ Running script 'Bundle React Native code and images'
[04:58:18]: ▸ the transform cache was reset.
[04:59:25]: ▸ Copying /Users/distiller/Library/Developer/Xcode/DerivedData/STRAUS-hjmwfaqdniruurdvuutdkppjtvwr/Build/Products/Release-iphonesimulator/OneSignalNotificationServiceExtension.appex
[04:59:25]: ▸ skipping copy phase strip, binary is code signed: /Users/distiller/Library/Developer/Xcode/DerivedData/STRAUS-hjmwfaqdniruurdvuutdkppjtvwr/Build/Products/Release-iphonesimulator/OneSignalNotificationServiceExtension.appex/OneSignalNotificationServiceExtension
[04:59:26]: ▸ Linking STRAUSTests
[04:59:26]: ▸ Linking STRAUSTests
[04:59:26]: ▸ Generating 'STRAUSTests.xctest.dSYM'
[04:59:27]: ▸ 2019-06-12 04:59:27.290 xcodebuild[1161:19870]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[04:59:27]: ▸ /Users/distiller/Library/Developer/Xcode/DerivedData/STRAUS-hjmwfaqdniruurdvuutdkppjtvwr/Logs/Test/Run-STRAUS-2019.06.12_04-51-58--0700.xcresult/2_Test/Diagnostics/STRAUSTests-DC16930B-33A0-4C5F-9581-27FD6F287E4B/STRAUSTests-630C2948-80EC-49E9-9964-EE1D17828741/Session-STRAUSTests-2019-06-12_045927-1vTzjy.log
[04:59:27]: ▸ 2019-06-12 04:59:27.291 xcodebuild[1161:6744] [MT] IDETestOperationsObserverDebug: (3FE5F640-78FC-4803-86D5-93186BB267F6) Beginning test session STRAUSTests-3FE5F640-78FC-4803-86D5-93186BB267F6 at 2019-06-12 04:59:27.291 with Xcode 10A255 on target  {
[04:59:27]: ▸ SimDevice: iPhone 5s (0897050A-99CF-48CA-BA2A-6758F7C020EE, iOS 12.0, Shutdown)
[04:59:27]: ▸ } (12.0 (16A366))
[04:59:47]: ▸ All tests
[04:59:47]: ▸ Test Suite STRAUSTests.xctest started
[04:59:47]: ▸ STRAUSTests
+----------------------------+------------------------------------------------------------------------------------------+
|                                                     Lane Context                                                      |
+----------------------------+------------------------------------------------------------------------------------------+
| DEFAULT_PLATFORM           | ios                                                                                |
| PLATFORM_NAME              | ios                                                                                |
| LANE_NAME                  | ios tests                                                                                |
| ORIGINAL_DEFAULT_KEYCHAIN  | "/Users/distiller/Library/Keychains/login.keychain-db"                                   |
| SCAN_DERIVED_DATA_PATH     | /Users/distiller/Library/Developer/Xcode/DerivedData/STRAUS-hjmwfaqdniruurdvuutdkppjtvwr |
| SCAN_GENERATED_PLIST_FILES | []                                                                                |
| SCAN_GENERATED_PLIST_FILE  |                                                                                |
+----------------------------+------------------------------------------------------------------------------------------+
+------+------------------+-------------+
|           fastlane summary            |
+------+------------------+-------------+
| Step | Action           | Time (in s) |
+------+------------------+-------------+
| 1    | default_platform | 0           |
| 2    | setup_circle_ci  | 0           |
| 3    | run_tests        | 1090        |
+------+------------------+-------------+
[05:09:47]: fastlane finished with errors
Too long with no output (exceeded 10m0s)`]

Environment

 [version: 2
jobs:
  build-and-test:
    macos:
      xcode: "10.0.0"
    environment:
      FL_OUTPUT_DIR: output
      FASTLANE_LANE: tests
    steps:
      - checkout
      - run:
          name: Install Dependencies
          command: yarn install --frozen-lockfile
      - run: bundle install
      - run:
          name: Fastlane
          command: bundle exec fastlane $FASTLANE_LANE
      - store_artifacts:
          path: output
      - store_test_results:
          path: output/scan
workflows:
  version: 2
  build-test-adhoc:
    jobs:
      - build-and-test]

Cannot understand why fastlane tests cannot be passed ...
I just updated native code in my react-native project

How long to these tests run locally?
Do you usually get output in the console while the tests are running?

@janpio It stops here -->
[04:59:47]: ▸ Test Suite STRAUSTests.xctest started
[04:59:47]: ▸ STRAUSTests
and then no output for 10 mins and then there is output that --->
[05:09:47]: fastlane finished with errors
Too long with no output (exceeded 10m0s)`]

I see that, this is why Travis kills the process.
But:

How long to these tests run locally?
Do you usually get output in the console while the tests are running?

@janpio Thanks for your time.
Fixed the issue by reproducing it on my local machine.
Fixed the native Tests file by running it.
Then I had an issue with [11:12:27]: Exit status: 74, but everything said that is was successful.
I removed folder ./fastlane/test_output & ./fastlane/report.xml and everything worked fine

Also I edited my fastlane file like this -->
` default_platform :ios
app_name = "YOUR APP NAME"
platform :ios do
before_all do
ENV["SLACK_URL"] = "https://hooks.slack.com/services/<TOKEN_SLACK>" # Webhook URL created in Slack
setup_circle_ci

end
desc "Installs FixCode which disables the "Fix Issue" button in Xcode"
lane :xcode do
install_xcode_plugin(
url: "https://github.com/fastlane/FixCode/releases/download/0.2.0/FixCode.xcplugin.zip"
)
end
lane :tests do
run_tests(
workspace: "ios/WORKSPACE_NAME.xcworkspace",
scheme: "YOUR SCHEME NAME",
device: "iPhone 8",
include_simulator_logs: true
)
 clean_build_artifacts

end
after_all do |lane|
# This block is called, only if the executed lane was successful
slack(
message: "Tests was successful :rocket:",
success: true,
default_payloads: [:lane, :test_result, :git_branch, :git_author]
)
end
error do |lane, exception|
if is_ci
slack(
message: exception.message,
success: false
)
end
end
end
`


Fix TurboStream code sample

Q
A

Bug fix?
no

New feature?
no

Tickets

License
MIT

This PR fix a mistake in the TurboStream documentation.

Duplicate of #297

Yup, thanks for this - I was slow to merge the original PR. Merged now!


feat(Datagrid): remove filter tags individually from FilterSummary

Contributes to #3402
This PR adds functionality to remove individual filter tags from the filter summary component used in the Datagrid. This change works with both the flyout and panel variants.
What did you change?
packages/ibm-products/src/components/Datagrid/Datagrid/DatagridContent.js
packages/ibm-products/src/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js
packages/ibm-products/src/components/Datagrid/Datagrid/addons/Filtering/constants.js
packages/ibm-products/src/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js

How did you test and verify your work?
Storybook

As a follow up enhancement, the user won't be able to close filters if it's in the dropdown

@matthewgallo Everything else looks great 🎉 🚀 Nice job on this!


Add a KCD unit digest to the driver's compilation metadata. [phab:D1512]

Created by fromberger at 2017-04-12 16:04:52:
When processing compilations from a compilation database, give the driver a way
to find out the identifying digest of the unit being processed.

Add a test for correct AnalysisError invocation.
Add a test for unit digest & revision marker plumbing.

jrtom commented inline (context lost during migration) at 2017-04-12 16:32:25:
Consider restructuring this so that if you're missing both, the error message reflects that.

jrtom wrote at 2017-04-12 16:32:25:
Drive-by comment inline (my Go is insufficient to be sure that everything else is OK).

fromberger wrote at 2017-04-12 16:37:59:

Address review comment.

jrtom wrote at 2017-04-12 16:41:35:
Looks plausible to me; up to you whether you want a more Go- or Kythe-savvy reviewer as a sanity check.

jrtom accepted this revision at 2017-04-12 16:41:35

fromberger closed via commit f14697bacad9e213383fe06f1a3bbf2457d1bc68 at 2017-04-12 16:52:43


[BUG] Crashes when you make config with the same name as one already made

Openbullet crashes when you make config with the same name as one already made.
Latest version

Should be fixed now


Add Safari Support

this would be great to have for firefox too!
https://hacks.mozilla.org/2015/10/porting-chrome-extensions-to-firefox-with-webextensions/

Thanks for the link! I have been struggling all week trying to figure out how to make firefox extensions, I have the PageMod setup I just can't get it to install. Needless to say I have been very frustrated with Mozilla but I will give it another shot tomorrow after class :)


API Key is stored unencrypted

This cookbook's options for receiving PagerDuty API keys are attributes or unencrypted data bags, neither of which are considered sufficiently secure by our operations team. We need a way to provide the API key from an encrypted data bags without passing it through an attribute.

Can you give an example of which API key are we talking about here?

Yea, sorry. I'm specifically referring to the PagerDuty API key, as in
https://github.com/schubergphilis/nagios/blob/master/recipes/pagerduty.rb#L119

Oke, two ways to solve this...
One, we fix the cookbook code...
Two, you create a wrapper cookbook, depend on the nagios cookbook and in your cookbook recipe you do:
include_recipe 'nagios::default'
include_recipe 'nagios::pagerduty'

secret = (read the encrypted databag secret)
# and this will update the key for the pagerduty user:
nagios_contact 'pagerduty' do
    options 'pager' => secret
end

So as you see, you can update / change any configuration item after loading the defaults by just specifying them and updating one of the fields.

Indeed, our plan is to fix this locally with our wrapper cookbook, but also push to get this fixed upstream. The first step of getting this fixed upstream is to make sure upstream wants it fixed, and thus this issue.
But thank you for pointing out that configuration items can be updated. I was expecting to use chef-rewind, but this is more elegant by far.

Yeah databags and the like are going to get refactored out when we rewrite using custom resources.
If you could provide input into secrets management using a resource driven model that would be awesome!

Yeah databags and the like are going to get refactored out when we rewrite using custom resources.

Is the intention to deprecate the use of the nagios_* databags for service check definition and all the other auto population mechanisms of this cookbook, or just for places where secrets are used?


Incorrect documentation for function do_mvar_evaluation

The shape of the input to function do_mvar_evaluation is wrong in the documentation.

Fixed with commit 6bbdd98936b0b7ba636bd2578d6601b1f08722d7


Works great until trying to use a gem

Simply trying to follow the example where we write json to file,
File.open(ENV['RUMBDA_RESULT_JSON_FILENAME'], 'w') do |file|
  file.write(JSON.dump({ statusCode: 200, body: '' }))
end

Except bundler can't seem to be able to find json.
{
  "errorMessage": "Command failed: ./ruby_wrapper '{\"key3\":\"value3\",\"key2\":\"value2\",\"key1\":\"value1\"}'\n/var/task/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find json-2.1.0 in any of the sources (Bundler::GemNotFound)\n\tfrom /var/task/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/spec_set.rb:85:in `map!'\n\tfrom /var/task/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/spec_set.rb:85:in `materialize'\n\tfrom /var/task/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/definition.rb:132:in `specs'\n\tfrom /var/task/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/definition.rb:177:in `specs_for'\n\tfrom /var/task/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/definition.rb:166:in `requested_specs'\n\tfrom /var/task/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/environment.rb:18:in `requested_specs'\n\tfrom /var/task/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/runtime.rb:13:in `setup'\n\tfrom /var/task/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler.rb:122:in `setup'\n\tfrom /var/task/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/setup.rb:18:in `<top (required)>'\n\tfrom /var/task/ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `require'\n\tfrom /var/task/ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'\n\tfrom /var/task/ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:39:in `require'\n",
  "errorType": "Error",
  "stackTrace": [
    "/var/task/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find json-2.1.0 in any of the sources (Bundler::GemNotFound)",
    "\tfrom /var/task/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/spec_set.rb:85:in `map!'",
    "\tfrom /var/task/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/spec_set.rb:85:in `materialize'",
    "\tfrom /var/task/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/definition.rb:132:in `specs'",
    "\tfrom /var/task/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/definition.rb:177:in `specs_for'",
    "\tfrom /var/task/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/definition.rb:166:in `requested_specs'",
    "\tfrom /var/task/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/environment.rb:18:in `requested_specs'",
    "\tfrom /var/task/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/runtime.rb:13:in `setup'",
    "\tfrom /var/task/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler.rb:122:in `setup'",
    "\tfrom /var/task/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/setup.rb:18:in `<top (required)>'",
    "\tfrom /var/task/ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `require'",
    "\tfrom /var/task/ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'",
    "\tfrom /var/task/ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:39:in `require'",
    "",
    "ChildProcess.exithandler (child_process.js:204:12)",
    "emitTwo (events.js:106:13)",
    "ChildProcess.emit (events.js:191:7)",
    "maybeClose (internal/child_process.js:886:16)",
    "Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)"
  ]
}

If this is a bug please point me in the right direction and I'll have a PR ready in no time

There was a problem with my ruby version. Turns out even tho I had 2.2.2 installed, it was only using 1.9.x. Using rbenv when building solved the issue


how to use global var in handler

model Fighter:
  name: string
  skill: string

var fighters = newSeq[Fighter]()

fighters.add Fighter(name: "Ryu", skill: "Hadoken")
fighters.add Fighter(name: "Ken", skill: "Shoryuken")

# compile failed here
serve "<IP_ADDRESS>", 5000:
  "/fighter":
    return { "list": fighters }

serve macro allows to write let/var:
model Fighter:
  name: string
  skill: string

serve "<IP_ADDRESS>", 5000:
  # in this case fighters is variable only in serve macro
  var fighters = @[
    Fighter(name: "Ryu", skill: "Hadoken"),
    Fighter(name: "Ken", skill: "Shoryuken"),
  ]
  "/fighter":
    return { "list": fighters }

You can also use global variables via .gcsafe. pragma but it unsafe method:
model Fighter:
  name: string
  skill: string

var fighters = newSeq[Fighter]()

fighters.add Fighter(name: "Ryu", skill: "Hadoken")
fighters.add Fighter(name: "Ken", skill: "Shoryuken")

serve "<IP_ADDRESS>", 5000:
  "/fighter":
    {.cast(gcsafe).}:
      return { "list": fighters }

it works nice, thanks again ;-)


Creating custom questions from admin

Go to Admin - Questions - Add Question and have fun!
I did not add all questions available in experiment.actions.form.py because:

DropdownQuestion seems to be the same as ChoiceQuestion with DROPDOWN view. Not used anywhere in the code except for one test.
RadiosQuestion seems to be the same as ChoiceQuestion with RADIOS view.
ButtonArrayQuestion same as  ChoiceQuestion with BUTTON_ARRAY view.
RangeQuestion seems not to work at all.

BooleanQuestion looks very similar to  ChoiceQuestion with BUTTON_ARRAY view. But because it adds a different style, I included it here.
Closes #1082

Another change that was made is to leave the creation of questions in the database to the bootstrap command. Before the change, they were also created by the 0002_add_question_model_data.py data migration, but it is actually not necessary. I disabled that migration, we can perhaps delete  it as well. Then bootstrap command was added to all tests that process questions. Bootstrap also creates superuser, so DJANGO_SUPERUSER_USERNAME and DJANGO_SUPERUSER_EMAIL had to be added to .env-github-actions.

It certainly could be done the way you suggest.

choices field for LikertQuestion is shown on purpose, because you can enter custom choices for this question.
choices can be used  by not only by ChoiceQuestion, but also LikertQuestion, BooleanQuestion and AutocompleteQuestion, so we'll need to add one more intermediate class.
You can edit the text content of choices
Is TextField is more difficult to translate than CharField?
The parameters for built-in questions are kept in the code, so it can only be translated by native django translation mechanism. To make them consistent with the custom questions, we'd have to move built-in question definitions to the database.
Built-in questions can be deleted by the user, but they will be restored every time the app starts (bootstrap command)

The issue I see with this approach that it might be more difficult for the user to find a question by the key in the admin. Questions will be spread among different types, whereas now they are all under Questions. The build-in questions will remain under Questions, until we redesign them.

I think discussion IRL would help a great deal. Good point about perhaps making it more difficult to find back questions in the admin interface. At the same time, I would also see a benefit of having the questions grouped into different categories, instead of having them all lumped into one very long list. Searching / sorting by "view" etc. would definitely be needed, also in the implementation you suggest.

@BeritJanssen questions are already grouped with QuestionGroups, and you can assign newly created questions to new groups.
Shall we just ask the opinion of @drikusroor and @Evert-R here?

For the Question model, if there's no strong preference to subclass question types in the team, we can probably stick with Alberta's suggestion to keep it all in one model. The reason I was arguing for splitting out the choices in a model was that I was thinking to go for the django-modeltranslation plugin here, which would already give us a neat admin form. Why I think that it makes sense to use this approach (of which I was hesistant for the Experiment & Block texts) here, is that I expect questions to be reused & localized much more heavily. And that it would make it easier for this particular model to say that we want to add, say, Spanish as an extra language, and to have the fields already created for us, so we don't need to fiddle with manually creating objects for all questions that I want to translate. From Drikus' experiment with django-modeltranslations (https://github.com/Amsterdam-Music-Lab/MUSCLE/pull/1178) I remember that tab view for adding different languages. I had this in mind for the (inline) choices of a question.

Added Choice model and django-modeltranslation for Question.
Thanks @drikusroor for exploring django-modeltranslation  in #1178
Closes #1138

Rebased on develop. Because of the recent changes in Experiment/Phase/Block admin on develop, can't add default QuestionSeries to Block from Experiment admin anymore, so this functionality will have to be integrated separately. At the moment QuestionSeries object has to be created manually and linked to a Block.


References share delta fix

Coverage increased (+0.03%) to 90.961% when pulling 4120b1db23a9ba6520364d7b977cc50c194f6a31 on gl3nn:refereneces-share-delta-fix into 7a0863a0739c38d8ccb787d388a0e92d2e3fbc45 on kayak:master.

Coverage increased (+0.03%) to 90.961% when pulling 4120b1db23a9ba6520364d7b977cc50c194f6a31 on gl3nn:refereneces-share-delta-fix into 7a0863a0739c38d8ccb787d388a0e92d2e3fbc45 on kayak:master.


[Feature request]: Binding to a popup that shows patterns available as CLI is used

What do you need?
After entering '-p', can you create some sort of binding (maybe to fzf) so that the list of available patterns pops up.  A pattern is selected and lands on the CLI.  I don't have the skillset to do this myself (I tried).

Fabric --list already exists

'fabric -l' just shows a list, which you then have to remember to type when you want to use that pattern.  I'm suggesting a popup (with all of the available patterns shown) after you type '-p' so you just have to select one and it is inserted into the command line.

Maybe figured it out... This has only been tested on WSL2.

sudo apt install fzf
Add the following to ~/.bashrc

selectpattern() {
    # Define the base directory
    local basedir="./patterns"

    # Use fzf to select a sub-directory
    local selected=$(find "$basedir" -mindepth 1 -maxdepth 1 -type d | fzf)

    # Check if a directory was selected
    if [ -n "$selected" ]; then
        # Extract only the directory name, not the full path
        local dirname=$(basename "$selected")

        # Use printf to escape special characters in the directory name
        printf -v escaped_dirname "%q" "$dirname"

        # Insert the directory name into the command line at the cursor position
        READLINE_LINE="${READLINE_LINE:0:$READLINE_POINT}$escaped_dirname ${READLINE_LINE:$READLINE_POINT}"
        READLINE_POINT=$(( READLINE_POINT + ${#escaped_dirname} + 1 ))
    fi
}

# Bind the function to a key combination, for example Ctrl+G
bind -x '"\C-p":selectpattern'

to use: CTRL-p whenever you want to list all of the patterns available, use the arrow keys to go up/down and hit enter when you find the pattern you want
Note:  CTRL-p can be a quick substitute for 'fabric -l' and it will only work (as is) from the directory where 'patterns' is a directory below.

The fabric -l pattern isn't friendly for tools like fzf. It' shows a "Patterns" header and indents all of the results. Can we create some sort of raw flag that just lists the patterns and nothing else without a heading, line breaks, or indentations?
I'm willing to create a PR, but want to be on the same page with @danielmiessler and the mods.


All resource controllers should return 404 when they cannot find a resource

All resource controllers should return 404 when they cannot find a resource. Currently they are throwing a 500 from the findOrFail method.

Fixed in 4172b7e97df9714b3ed38d4bd4afead84b69a95e.


Guidance with reference line implementation

Hi,
I'm trying to implement reference lines for a layout with two viewports only. I've taken a look at the issue #619 as well as some older ones (that seem relevant to the viewer prior to the move to React) and am still confused about how to go about the implementation.
Can someone give me some guidance, please?

@sinanmb, can you give https://github.com/OHIF/Viewers/pull/1482 a try and indicate if it resolves your issue?

Hi @dannyrb, thank you for responding quickly! I will give this a try.


Adds splat operator to FactoryGirl example

Adds missing splat operator to the second "Integration with FactoryGirl" example.

If you have an array of keys you want to limit to, you should splat them

http://api.rubyonrails.org/classes/Hash.html#method-i-slice

Looks good to me. :+1:


authentication error

Issue Type: Bug
when i try to join self it gives the error host is offine signout and signin
Extension version: 1.0.3071
VS Code version: Code 1.50.1 (d2e414d9e4239a252d1ab117bd7067f125afd80a, 2020-10-13T15:06:15.712Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i3-5005U CPU @ 2.00GHz (4 x 1995)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
3.91GB (0.38GB free)

Process Argv
--crash-reporter-id 70bd8835-81d0-42c8-92b9-406a99633582

Screen Reader
no

VM
0%

The same thing happened to me but after a while (probably days later) I was able to join from an alternate account. I'm afraid to join with the same account because it could happen again.

Do you only see this issue when you join yourself? Or do you also see it when joining other user’s sessions?

We've changed our authentication service. See #4128 and if the new authentication is giving you an issue, please create a new issue. Thank you for your patience.


Multiple active accordion tabs not working on init

Bug, feature request, or proposal:
When multiple md2-accordion-tab items are active on initialization only the last tab is open.
What is the expected behavior?
Allow for multiple open accordions on initialization.
What is the current behavior?
Only the last active tab is open.
What are the steps to reproduce?
http://plnkr.co/edit/PPkfcS
Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: http://plnkr.co/edit/rQmUz8WYRh5Vz4gwY8E4?p=info
What is the use-case or motivation for changing an existing behavior?
Allow multiple active tabs on initialization.
Which versions of Angular, MD2, OS, browsers are affected?
I tested with Angular 4, MD2 most recent, Windows 10, Chrome
Is there anything else we should know?

https://github.com/Promact/md2/pull/190


Adding Scala 2.13 to Github Actions CI

Seems to work. I see the 2.13-specific warnings in the output (cc #126)


Bugfix for experiment data export storing condition name in condition payload column

This resolves #2090

@ppratikcr7 Could you please explain how/where this PR resolves the 2 issues mentioned in #2090?

In new data export, the filed for Payload seems to copy data from Condition, rather than including the actual payload. Expected behavior is that the Payload field will represent the experiment payload.

Also, rows are duplicated (see markExperimentPointTime fractional seconds).

Also, does anyone know a good way to test/validate this? I'm not sure how to properly QA this. I don't think I can send experiment data to my email when running locally (I get the CredentialsProviderError: Could not load credentials from any providers error).
If anyone is confident in approving this PR, please feel free to do so.


fix: unable to resolve index.tsx dependencies

https://github.com/dependents/node-dependency-tree/issues/118

It took quite a while to find out this RP fix my issue of madge keep skipping some of my dependencies.
Thanks and hope it will be merged soon

Sorry for the inactivity. I'll try to review and merge it today.

Bumping this!

Ah, this would probably fix my issue, so won't open up yet another bug on that.
Some new syntax in TS 'using' that the older parsers don't support.
Thanks for doing this! :)

@SyMind Some of these changes are also included in #379 . Does it change anything wrt to the issue you're experiencing and targeting here?其中一些更改也包含在 #379 中。它是否改变了您在这里遇到和针对的问题的任何内容？

It's not resolved.


Add Permissions for specific Tier/Tag

Is your feature request related to a problem? Please describe.
Our organization use 'Tier 1' to document the most important data assets.
We have automatic process that put the tag according to standing in the requirements.
Currently in OMD, anyone can add 'Tier 1' tag on the assets, meaning we cannot control the assets credibility.
Describe the solution you'd like
An option to set permissions per tag, so only specific role can assign specific tag (in our case it will be a bot, but it can be any role).

fixed in 1.6.0


UnitaryOverlap cannot handle barriers

Environment

Qiskit Terra version: 0.45.0rc1
Python version: 3.10
Operating system: macOS

What is happening?
UnitaryOverlap circuit breaks when input circuits contain barriers
How can we reproduce the issue?
from qiskit.circuit import QuantumCircuit
from qiskit.circuit.library import UnitaryOverlap

qc1 = QuantumCircuit(2)
qc1.ry(np.pi/2, qc1.qubits)
qc1.cx(0, 1)
qc1.barrier()
qc1.rz(np.pi/2, qc1.qubits)

# Create the overlap circuit
overlap = UnitaryOverlap(qc1, qc1)

results in:
CircuitError: 'One or more instructions cannot be converted to a gate. "barrier" is not a gate instruction
What should happen?
UnitaryOverlap should be able to handle circuits with barriers as if they weren't there.
Any suggestions?
No response

Yeah ok, this one is probably on me for letting it through review: https://github.com/Qiskit/qiskit/pull/10734#pullrequestreview-1687299774.


First message is not clear about what Whichost is

When first-time visitors fall into Whichost, they don't know clearly what we are all about.
This is what they see today:

The message: "The largest online community to book parties and celebrations."
If you've never heard of Whichost before, how would you know from that message that you can find and book a pub for your next party? That that's is our solution for you? You wouldn't know from what we are showing today.
Our message is vague and does not explain clearly what's the benefit for you. In the end, people buy for themselves, so they need to see what's in it for them.
So, before we launch our social media campaign to promote our birthday deal, we need to change that first line. Here is my proposal:

Clear and to the point: "Find and book pubs for your parties and celebrations."
Thanks 👍

Pushed on staging, could you check that everything is ok?

Looking good at staging.


[Flow] Extend CollapseDimensionsPass

iree-flow-collapse-dimensions is currently very limited. The pass doenst support propagating collapse of dimensions through multiple operations.  This adds support to collapsing dimensions through chains of operations.
Also, this will need to be disabled in the specific case of softmax fusion since there is a backend bug (https://github.com/iree-org/iree/issues/17948).

ugh, I tried to disable collapse dimensions when there are multiple reduction operations, but that still failed. It seems like the reduction pipeline is incredibly fragile. I increased the specificity of the check to look for >=2 reduction iterators and it seemed to work.


Add possibility to InfoBanner for opening links in same window

Describe the feature you'd like
Add the possibility to add target to the BannerInformation Links in order to use them to redirect inside the same window, instead of using new tabs for every link click.
Something like:
 <InfoBanner variant='warning'                             title='TITLE'                             description='DESC'                             linkText='Link targetted to same window'                             linkUrl='/internal/link/'                             linkTarget='_self'                         />

That possibility is also good to me. 👍


FrontEnd project structure and route

Summary
Setup the Frontend folder structure  and the route from  issue https://github.com/Open-Science-Community-Saudi-Arabia/MOOCs/issues/10

.....

frontend /

node_modules/
public/

vectors/
images/

src/

components/

atom/

Button/

Button.jsx
Button.css

Input

Input.jsx
input.css

molecule/

Header/

Header.jsx
Header.css

Footer/

Footer.jsx
Footer.css

organisms/

pages/

Amin/

Admin.jsx
Admin.css

CourseDetails/

Courses.jsx
courses.css

History/

History.jsx
History.css

Home/

Home.jsx
Home.css         -

Login/

Login.jsx
Login.css

Signup/

Signup.jsx
SignUp.css

Profile/

Profile.jsx
Profile.css

Settings/

Setting.jsx
Settings.css

template/

DashboardLayout/

DashboardLayout.jsx
DashboardLayout.css

PageLayout/

PageLayout.jsx
PageLayout.css

.env
App.js

package-lock.json
package.json

Fixes issues  https://github.com/Open-Science-Community-Saudi-Arabia/MOOCs/issues/16
List of changes proposed in this PR (pull-request)

Project Created Project Structure for front end*

Routed All the available pages with react-router dom v6

What should a reviewer concentrate their feedback on?

[ ] Everything looks ok?

@mufidat3250 Thank you for your work, can you please make sure the title is describing what this PR is about?

Alright done @BatoolMM

@BatoolMM  pls i want to ask  why do we have two branch for the frontend  the dev and dev_team2  what is the difference?

@BatoolMM pls i want to ask why do we have two branch for the frontend the dev and dev_team2 what is the difference?

dev is the main branch where other teams can fork to create their own project. dev_team2 is specific to us.

Hi @Dhei-vid, what is the condition of this branch?
tagging @RealRichi3 and sandygudie!

@BatoolMM I think @mufidat3250 would have more information on that.

Thank you @Dhei-vid!

@BatoolMM I was not aware that the dev_team2  is the branch we are to be making pull request to not until @Dhei-vid made some clarifications.

@mufidat3250  i would close this pull request since you won't be using it anymore


Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts

Description
The solution of Leetcode medium problem "Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts" in C++
Fixes #718
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works

@sardonicankita don't comment out the code

@sardonicankita add main function

Since there is no update so I am closing it


⚠ Nebulance has degraded performance

In c32116c, Nebulance ($NBL) experienced degraded performance:

HTTP code: 200
Response time: 19525 ms

Resolved: Nebulance performance has improved in a546105.


Empty responses using dialogflow

I can't get the dialogflow example to work. I have an app in dialogflow, but action.startWith() always returns empty responses. I have an intent in dialogflow named TestIntent with Test me defined as a training phrase. My code is:
"use strict";
const { ActionsOnGoogleAva } = require("actions-on-google-testing");
const { expect } = require("chai");
const action = new ActionsOnGoogleAva(require("./test-credentials.json"));

action.locale = "en-US";
action.setLocale("en-US");
action.startTest("Bank Test", action => {
    return action
        .startWith("Bank Test")
        .then(response => {
            return action.send("Test me");
        })
        .then(response => {
            console.log(response);
        });
});

action.startTest("Bank Test", action => {
    return action
        .start()
        .then(response => {
            return action.send("Test me");
        })
        .then(response => {
            console.log(response);
        });
});

Both the responses - from first running action.start or action.startWith(), and then action.send() returns the following empty response:
{
  micOpen: false,
  textToSpeech: [],
  displayText: [],
  ssml: [],
  suggestions: []
}

My Actions on Google project has Bank Test as its invocation. The project has a default welcome intent defined in dialogflow as well, with a defined text response.
I originally thought this to be an issue with locale, so I explicitly specified en-US in the test code, Actions on Google console, and DialogFlow Console, but still no luck.
test-credentials.json is generated using generate-credentials.js towards the correct project. If I go to the dashboard for the Google Assistant API under my Google Cloud project, the graphs show that the API is being used, so the error is probably not regarding authentication.

test-credentials.json is generated using generate-credentials.js towards the correct project. If I go to the dashboard for the Google Assistant API under my Google Cloud project, the graphs show that the API is being used, so the error is probably not regarding authentication.

In the Actions console, you will need to make sure that your Action is in test mode. If it works in the simulator, it will work in the automated testing environment.

Yes, using the same account. Just tried setting up a new project, and the same is happening there as well - just empty responses returned. However, the API dashboard for Google Assistant shows traffic in the console.
I have tried using both .start()and .startWith(), with no parameters, passing the project name, and passing the intent name, with no luck.
It may be a configuration issue, but I've tried several times following the readme. I have

Generated credentials with generate_credentials.js, passing the credentials created by registering a device in the Actions on Google console
At the OAuth prompt, logged in with the account associated with the project I want to test

Can you see if your Action is seeing these requests?

@Wimsen were you able to resolve this on your side? I have the same issue after following the steps from the README

No, have not got it working yet.
The metrics for the Google Assistant API within Google Cloud console show incoming requests. I am unable to see if the Actions on Google analytics say the same - the app is not yet published and analytics are not available. We are using Dialogflow, and the Dialogflow analytics show no incoming requests.

Can you try printing out response after calling start() method?
How do you implement the fulfillment for your "TestIntent"?

Just updated to the latest version, and the responses are now longer empty, and it seems to work fine. However, I'm now facing a locale issue.
My action is written in Norwegian, and the corresponding locale is no-NO. If I'm running the tests without specifying locale, I get the expected response from the intents defined for english. If I try to set locale either using action.locale = "no-NO" or action.setLocale("no-NO"), I get the following error:
  Error {
    code: 3,
    details: 'Invalid \'dialog_state_in\': unsupported language_code.',
    metadata: Metadata {
      _internal_repr: {},
    },
    message: '3 INVALID_ARGUMENT: Invalid \'dialog_state_in\': unsupported language_code.',
  }

, thrown from the grpc library. However, the utterances toward Google Assistant have changed language from to Norwegian, so it seems this is an issue with grpc and not this library.

Just updated to the latest version, and the responses are now longer empty, and it seems to work fine. However, I'm now facing a locale issue.
My action is written in Norwegian, and the corresponding locale is no-NO. If I'm running the tests without specifying locale, I get the expected response from the intents defined for english. If I try to set locale either using action.locale = "no-NO" or action.setLocale("no-NO"), I get the following error:
  Error {
    code: 3,
    details: 'Invalid \'dialog_state_in\': unsupported language_code.',
    metadata: Metadata {
      _internal_repr: {},
    },
    message: '3 INVALID_ARGUMENT: Invalid \'dialog_state_in\': unsupported language_code.',
  }

, thrown from the grpc library. However, the utterances toward Google Assistant have changed language from to Norwegian, so it seems this is an issue with grpc and not this library.

I'm facing empty response issue, before it working, suddenly i find it stop working. what version your are using to fix this issue

I can't reproduce this issue. We can open this up if there's more information.


Filter undesired countries

Add a function to filter specific countries not to be shown by iso2.
I'm assuming the signature to be:
exceptCountries(except : Set)

Hello, added with release 2.0.0. Thank you.


worked on the background for valor and also adjusted the modal style

Issue fixed. I just deleted the font folder


Add a callback that fires instantly when the button is clicked

The didSelected delegate callback happens after a one second delay so that it matches the animation, but some applications need a callback immediately when the user taps the button. This patch provides the best of both worlds.

Please merge @xhamr

+1


Installation path prefix

Prefix each role with the installation_path variable and make sure role does not install anything outside of this path.
This step simplifies different roles collocation on the same vm and playbook dependency on the single  home variable.

Yes, no need to reuse a single node for multiple roles


Pc 43 scottish api

Git is a bit weird, this is just for code review, don't merge this (not that that would break anything)

(Actual change merged, closing placeholder review.)