Guzzle 6.2 incompatible

  Problem 1
    - Installation request for league-php/leaguewrap ^0.7.0 -> satisfiable by league-php/leaguewrap[0.7.0].
    - league-php/leaguewrap 0.7.0 requires guzzlehttp/guzzle ~6.1.0 -> satisfiable by guzzlehttp/guzzle[6.1.0, 6.1.1] but these conflict with your requirements or minimum-stability.

Using Laravel 5.3 base.
    "require": {
        "php": ">=5.6.4",
        "laravel/framework": "5.3.*",
        "guzzlehttp/guzzle": "^6.2"
    },

You are requiring guzzle 6.2 while leaguewrap requires 6.1. The versions
are conflicting and therefor you can't load it. You either have to change
your own requirement to 6.1 or test if this wrapper also works with 6.2 and
load it manually.
Cristian Ferreyra<EMAIL_ADDRESS>schrieb am So., 13. Nov. 2016,
21:53:

Problem 1
- Installation request for league-php/leaguewrap ^0.7.0 -> satisfiable by league-php/leaguewrap[0.7.0].
- league-php/leaguewrap 0.7.0 requires guzzlehttp/guzzle ~6.1.0 -> satisfiable by guzzlehttp/guzzle[6.1.0, 6.1.1] but these conflict with your requirements or minimum-stability.
Using Laravel 5.3 base.
"require": {
    "php": ">=5.6.4",
    "laravel/framework": "5.3.*",
    "guzzlehttp/guzzle": "^6.2"
},

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/LeaguePHP/LeagueWrap/issues/2, or mute the thread
https://github.com/notifications/unsubscribe-auth/AEeQ8gk6V2q-YFiHz-msiscmMSWo2VEcks5q93jigaJpZM4KwzL_
.

We can also update to guzzle 6.2 in the future, there have been no breaking changes and tests pass. What do you think @danijoo?
As of right now there is a guzzle-6.2 branch @SnakeSaurio

Sure!
Michal Baumgartner<EMAIL_ADDRESS>schrieb am Mo., 14. Nov.
2016, 00:27:

We can also update to guzzle 6.2 in the future, there have been no
breaking changes
https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md#620---2016-03-21
and tests pass
https://travis-ci.org/LeaguePHP/LeagueWrap/builds/175571521. What do
you think @danijoo https://github.com/danijoo?
As of right now there is a guzzle-6.2 branch @SnakeSaurio
https://github.com/SnakeSaurio
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/LeaguePHP/LeagueWrap/issues/2#issuecomment-260221437,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEeQ8jj604anb9Y2kfDA_xbXoKscj9voks5q95zLgaJpZM4KwzL_
.


rewrote \skillsection{SRU}

An attempt to make that paragraph more suited for 4.2. Research Skills.

Starting that paragraph with "FAIR" somehow primes (at least me) for
undestanding "re-use" in the "production sense".

I tried to focus this on skills that are not necessary for re-use in
traditional SE.

The climate model example I was mentioning in the meeting is mentioned here:
https://agupubs.onlinelibrary.wiley.com/doi/full/10.1029/2022MS003588 but I
guess that is too esoteric to mention it in the SRU paragraph.

The bit about "software citation and metadata skills" is redundant because
that is also mentioned in \skillsection{SP}.

We may have to think about whether some of the citation (if not all) should be moved from SP to SRU
instead of removing it here.
The technical part about providing rich metadata should possibly stay with SP,
but I think everything else could move here.
Especially, since one of the sentences has the word reuse in there directly.

Then we might just call the other section Software Publication being concerned with the technical site of the
developer and re-use being more the user perspective.

For me the software discovery aspect might be lost....?


Thumbnail not available or black thumbnail seen

Selecting driver as default camera on Teams or Zoom does not show the content preview. FYI: I am sending a video to the driver although the remote person can see the output coming from the driver but I cannot see it. if you have used teams it appears on right side corner @bottom. How can we fix it?

No idea, this is just a random project if you have any issues feel free to track down and fix it :D
I just shared my code :)


--fail-fast is available for test and build but isn't documented.

I opened https://github.com/dbt-labs/dbt-rpc/issues/65 because the docs implied that --fail-fast was only available on dbt run, not dbt test or dbt build. It turns out it is supported in both, but not on dbt Cloud because the rpc server doesn't support it.
The docs for build and test should be updated to have equivalent documentation as https://docs.getdbt.com/reference/commands/run#failing-fast
Or, should fail-fast be pulled out instead of repeating the same info over and over? Depends on our docs strategy cc @runleonarun

Or, should fail-fast be pulled out instead of repeating the same info over and over?

This is what I did for all "global configs" in prerelease docs for v1: https://github.com/dbt-labs/docs.getdbt.com/blob/next/website/docs/reference/global-configs.md#failing-fast

@joellabes do we just need to refer to the global command from build and test now?

Yeah i think thatd do it!

Assigning to @genwhitt

Fixed with PR #3347


Cannot Build cartographer_ros

I tried building cartographer on a ROS system, but I am running into some issues:
error: 'const TrajectoryOptions' has no member named 'num_laser_scans'
options->num_laser_scans = msg.num_laser_scans;
error: 'const TrajectoryOptions' has no member named 'num_multi_echo_laser_scans'
options->num_laser_scans = msg.num_multi_echo_laser_scans;
I built according to the instructions at https://google-cartographer.readthedocs.io/en/latest/ and https://google-cartographer-ros-for-turtlebots.readthedocs.io/en/latest/

It sounds like not all of your repos are up-to-date with head. Make sure you pull in both cartographer and cartographer_ros to get the latest version.


Support for subplots

Is it possible to remove the restriction against subplots? Willing to investigate this further myself

@trexfeathers No need to investigate. This is resolved in a feature branch, and will be available soon.
First port of call is Python3 support, which is also in a feature branch.


[Feat] do not focus output window on sync

💡 Is your feature request related to a problem? Please describe.
Noticed this when enabled this Settings Sync extension and the vs builtin settings sync.
When they are both on, there seems to be a conflict with the Settings Sync extension and VSCode's built-in settings sync colliding. When that happens the Settings Sync extension thinks there are changes at every startup.
This "changes ocured" causes a very annoying behavior:   the output --> Code Settings Sync pane from being focused upon every vscode startup (maybe it is really "upon settings sync performing an action", but that occurs on startup)
💡 Describe the solution you'd like
probably don't need to worry about the re-upload (let it happen)   just dont' focus the output window on upload
💡 Additional context
I originally thought this was a problem with the VSCode builtin.   see: https://github.com/microsoft/vscode/issues/107245

@jasonswearingen I was having the same issue and it was getting really annoying. I think this is the setting that stops it:
{     "sync.quietSync": true, }

Why quietSync isn't the default is beyond me. Nobody wants SettingsSync to constantly steal focus.

@jasonswearingen I was having the same issue and it was getting really annoying. I think this is the setting that stops it:
{ "sync.quietSync": true, }

glorious

All of my sync settings in the JSON file are greyed out as unknown config settings.  The output tab launching on ever start is really annoying, what am I missing?


Files API

Description of the feature request:
Perhaps I am missing this, but I haven't found a way to access the Gemini Files API from the Dart SDK. Asking Gemini how to do it produced an answer suggesting using a package named Gemini from pub.dev which has nothing to do with google-gemini.

What problem are you trying to solve with this feature?
Upload larger files into the Files API for use with generative AI
Any other information you'd like to share?
No response

Please don't say this is not part of the package. There's no other way to handle audio or video!

Note this closed ticket: #70

Our current recommendation for use cases that need functionality beyond what is provided in this package is to use vertex AI through https://pub.dev/documentation/firebase_vertexai/latest/

Closing as a duplicate of #70


Reference to closed issue without being resolved

I revisited this issue which was closed without resolving.
ROCclr build issue, make failed. #1358
It was closed because it is waited too long. Waiting too long does not resolve the issue, why you (rocm-support) think doing so will resolve the issue itself?
This will cause test escape and problem to escape and only to regress later.
I have revisited the problem and found the problem for you at no cost when rocm-support did not root cause but instead chose to close.
The export statement in the README is wrong and does not set path correct. Please revisit the closed one and found yourself.
It should be rocm-support's responsibility to root cause not me and test their solution on their end not me as submitter.
I was able to build but I am not going to post the solution as it should have been your responsibility.
You should not close this one either until instruction is corrected in the README that led to a successfull build no longer how long the issue stays dormant. Because otherwise you dont root cause, yet you close the issue when the problem exist, that is bad practice for rocm-support.

Thanks @gggh000
We have not closed intentionally.
As we did follow up with you for 3 times and as there was no response, it was closed.
Atleast we request you to put some response so that the ticket will be active until its resolved.
Reg the real issue:
We always wish to keep our documentation perfect and we word hard towards maintaining good documentation.
We already shaped up our docs in a better way and we are still working on improvements.
There might be still some issues and we are always ready to resolve whenever found.
Thank you.

And also I am not able to reproduce this issue anytime.
Before that I installed ROCm using apt install rocm-dkms and then I blindly followed steps given in _https://github.com/ROCm-Developer-Tools/ROCclr_ and all went well for me.
Can you please point me to the exact problem so that I will try for resolution asap.
Thank you.

Kindly find the logs attached.
When I said we are not able to reproduce we mean it.
We can solve anything when there is any problem. If there is no problem witness by us we cannot solve the same.
OpenCL_compilation_logs.txt

Your compilation is half baked. there is no way it can compile following the instruction without satisfying prerequisite in the README file in the 4.0x. You did not even include what you did for satisfying prereq. I am not satisfied with your response.

Here is the original log, I am wasting so much time on your trying to explain what is wrong with the build instruction.
I filed this bug here since there seems no ROCclr project on its own.
I downloaded source for 4.0.0 but ROCclr build problem.
I built and installed llvm, ROCm-Compiler-support and ROCm-device-libs ok as prereq.
But build instruction for ROCclr as follows:
Set the environment variables
export ROCclr_DIR="$(readlink -f ROCclr)"
export OPENCL_DIR="$(readlink -f ROCm-OpenCL-Runtime)"
Build ROCclr
Here is command to build ROCclr:
cd "$ROCclr_DIR"
mkdir -p build; cd build
cmake -DOPENCL_DIR="$OPENCL_DIR" -DCMAKE_INSTALL_PREFIX=/opt/rocm/rocclr ..
make -j$(nproc)
It appears settings OPENCL_DIR is necessary. So i set the env variable and make sure it is ok (below).
But "make" command after cmake resulted in following error:
oot@sriov-guest:~/ROCm/ROCclr/build# env | grep ROCclr
OPENCL_DIR=/root/ROCm/ROCclr/build/ROCm-OpenCL-Runtime
OLDPWD=/root/ROCm/ROCclr
PWD=/root/ROCm/ROCclr/build
ROCclr_DIR=/root/ROCm/ROCclr/build/ROCclr
"root@sriov-guest:~/ROCm/ROCclr/build# make
[ 2%] Building CXX object device/rocm/CMakeFiles/oclrocm.dir/roccounters.cpp.o
In file included from /root/ROCm/ROCclr/device/rocm/roccounters.hpp:24:0,
from /root/ROCm/ROCclr/device/rocm/roccounters.cpp:21:
/root/ROCm/ROCclr/include/top.hpp:36:10: fatal error: CL/opencl.h: No such file or directory
#include "CL/opencl.h"
^~~~~~~~~~~~~
compilation terminated.
device/rocm/CMakeFiles/oclrocm.dir/build.make:62: recipe for target 'device/rocm/CMakeFiles/oclrocm.dir/roccounters.cpp.o' failed
make[2]: *** [device/rocm/CMakeFiles/oclrocm.dir/roccounters.cpp.o] Error 1
CMakeFiles/Makefile2:122: recipe for target 'device/rocm/CMakeFiles/oclrocm.dir/all' failed
make[1]: *** [device/rocm/CMakeFiles/oclrocm.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
"
I dont think building ROCm-OpenCL-Runtime is prereq because 1. it does not say so in the ROCclr's readme and ROCm-OpenCL-Runtime build readme specified ROCclr build is a prereq.

Hi @gggh000
I got your problem and am able to reproduce your problem now.
Initial steps are:
git clone https://github.com/ROCm-Developer-Tools/ROCclr.git
git clone -b master-next https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime.git
Both(ROCclr and OpenCL Runtime) are different repositories and so both should be cloned in the same directory path one after the other. For example, clone both in user space, means: cd ~ and then clone both spaces one by one.
But in your case, you cloned OpenCL runtime inside ROCclr and so its not able to find the headers. Request you to not to do the same.
The conclusion is
The steps in the documentation are clear and they are still perfect too. We do not see any issues when we follow the steps exactly as mentioned in the document.
So request you to exactly follow(or copy-paste the steps mentioned) in https://github.com/ROCm-Developer-Tools/ROCclr for good experience.
Thank you.
Please let me know if you have any more issues.
Thank you.

Request you to clone both ROCclr and ROCm-OpenCL-Runtime in the same directory path. Then your issue will go away.

Hi @gggh000
Request you to update on this asap. Close it if the above solution solves your issue.
Thank you.

Cloning both ROCclr and ROCm-OpenCL-Runtime in the same directory path makes issue go away.


Run Selection/Line fails when some lines end in commas

Describe the bug
Lines ending in commas seem to cause R: Run Selection/Line to send the wrong lines to the console.
To Reproduce

Create a file temp.R with the following content:

list(
    1,
    2
)

Place cursor on second or third line
Use command R: Run Selection/Line

Expected: All four lines are sent to console (if cursor was on second line), or only '2' is sent to console (if cursor was on third line)
Actual: Middle two lines are sent to console:
> 1,
Error: unexpected ',' in "1,"
>     2
[1] 2

If cursor is one third line, sending all four lines to the console would be fine too.

The problem is that the algorithm treats commas the same as operators like '+', so it views lines 2 and 3 as a complete expression. But a comma can only exist inside parentheses or brackets. The correct behaviour would be: If a comma is encountered, the algorithm keeps consuming lines until it finds surrounding parentheses/brackets.

This, or a similar issue, seems to be related to the radian console. For me, long hard-wrapped lines terminated by a comma worked fine when sent to the native R terminal or in radian after adding options(radian.auto_match = FALSE).

Commas doesn't seem to matter in this problem.
In the following code with no comma, if I place the cursor on the second line and execute the Run Line command, only the second line will be sent to the terminal.
print(
  1
)

The line ending in ( may be causing the problem.
The following code will send all three lines to the terminal regardless of which line the cursor is on.
print(1+
1
)

On the other hand, if the cursor is on the second line in the following code, only 1 will be sent.
print(
1
+1)

A line without an operator at the end of the line may be the problem.
If I place the cursor on the second line of the following code and execute it, 1 will be sent to the terminal.
print(foobar
1
)

The general concept was to send the 'minimum bit of runnable code' to the console. That's why 1 is sent to the console in this example with the cursor on the second line:
print(
  1
)

The main exception to that concept is that it also looks for operators at the end of the previous line, as you've found. I think I chose that behaviour mainly to handle chains of lines ending in %>%, and possibly for compatibility with RStudio.
So those cases are intended behaviour. The comma examples aren't intended behaviour, because the comma code isn't runnable without the surrounding parentheses/brackets and so what gets sent to the console produces an error.
The intended behaviour could be changed, of course - I'm just noting what the intended behaviour was when this was implemented.

Thank you for the explanation.
I'm convinced that this is the intended behavior except for commas.
It is true that at that time it was hard to imagine a situation without a comma in parentheses except with the magritter's pipe operator %>%, but now it is more likely to occur since the native pipe operator |> was introduced in R 4.1 this year.
For example, the following code will be interpreted as quote(sort(mtcars$mpg, decreasing = TRUE)) by R.
mtcars$mpg |>
  sort(
    decreasing = TRUE
  ) |>
  quote()

However, if I place the cursor on the third line and execute it, only the third line will be sent to the terminal.

So it may be worthwhile to consider changing the intended behavior.

Something to consider if changing the existing behaviour is how to handle nesting. Consider the following case:
a(
    b(
        1
    )
)

If the cursor is on line 3, should it send b(1) or a(b(1))?
I don't use R much these days and haven't made any changes to the vscode-R code base in some time, so it's unlikely I'll make a PR relating to this any time soon. But anyone else is of course welcome to take it on if they'd like. If changing intended behaviour, I recommend getting agreement from one or two other active contributors before starting on the code modifications.
I think the best way to see the current intended behaviour for selecting code to be sent to the terminal is the unit tests in this file: https://github.com/REditorSupport/vscode-R/blob/master/src/test/suite/extension.test.ts

I don't quite understand why this is the expected behavior. Everything inside a parenthesis, are there because their working together makes it work... in addition to the parenthesis itself.
It's a similar issue to whether or not line execution should involve pipe. It doesn't make sense to execute without pipe, and it doesn't make sense to execute an individual line inside a parenthesis without the function that calls it.
In the example of:
a(
    b(
        1
    )
)

Yes, all 5 lines should be executed.

Hi @brianmsm, thank you for the feedback. It does seem like a few people have found the existing behaviour surprising and undesirable. It could be changed but it would need a volunteer to make the code changes.
If anyone would like to volunteer, I'd recommend getting agreement from one or two active contributors before starting on the code modifications.

I have a question, what part of the code is handling this behavior?

@brianmsm Here's the function that handles it: https://github.com/REditorSupport/vscode-R/blob/da579cc17a9485f7a11bf5e75bf6b9c347eca116/src/selection.ts#L161

Changing the behaviour could perhaps be achieved by adding ( to this line:
https://github.com/REditorSupport/vscode-R/blob/da579cc17a9485f7a11bf5e75bf6b9c347eca116/src/lineCache.ts#L73
Then the algorithm would check for a ( at the end of the previous line in the same way as it currently checks for %>% etc.

Any update on this? This is the only thing I am missing from RStudio.

Would anyone like to volunteer to try making the one-line change I suggested above? I think that would probably fix the comma issue and also change the behaviour so that parenthesised expressions split over several lines are sent to the console in full. If that works, a few unit tests would also need to be updated and then a PR could be made.
If no volunteers I will probably make the change myself at some point but hard to say when.

Thank you for making this happen :)


Lacks a Typescript Definition

Would be cool to be able to use with Typescript and Browserify.

Of course :)
Can you make a pull request? I have no idea how to do that.

Yes I'm gonna try to do that when I have some time.

???????

@Teebo I did not find time

@kube OK thanks for the reply, I will take the opportunity to learn how to type an API and make a PR, that's OK right?

@Teebo Sounds great, please go ahead!


Is project alive?

28 days since bug reports and two PRs have been opened with no response from the team. I would like to know if the team is alive and willing to support the project or should I just go ahead and fork it completely?

@jalkanen sorry about that. We're alive. I've been changing jobs so super busy interviewing and preparing for interviews. I'll take a look at the PRs today


Remove deprecated behaviours

This PR removes the functionality to generate breadcrumbs (via the SectionInserter), related items (RelatedItemsInserter) and meta tags via setting an "artefact" (in the MetadataInserter).
This is possible because all applications are now using the content-store for data and use GOV.UK components to render the HTML.

[x] Test this with a frontend application (business-support-finder)

https://trello.com/c/KfgeIRtP

Deleted code is the best type of code 🚢


Quick Start with Docker instructions in Iroha 2 require updates for new docker-compose files in dev branch

Description:
The Quick Start with Docker instructions in the Iroha 2 documentation no longer work without additional modifications to the docker-compose file names in dev branch, as the default docker-compose.yml file is no longer available. Instead, there are multiple docker-compose files to choose from:

docker-compose-local.yml
docker-compose-lts.single.yml
docker-compose-stable.single.yml
docker-compose.dev.yml
docker-compose.dev.single.yml
docker-compose.lts.yml
docker-compose.stable.yml

This change requires an update to the Quick Start with Docker instructions to reflect the new available docker-compose files and the necessary adjustments for using them.
Steps to Reproduce:

Follow the Quick Start with Docker instructions in the Iroha 2 dev branch documentation
Observe that the docker-compose.yml file is not available, and there are multiple docker-compose files to choose from
Attempt to run docker-compose up as described in the instructions

Actual Results:
The Quick Start with Docker instructions do not work, as they reference a non-existent docker-compose.yml file. Users must manually select and adjust the docker-compose file name to proceed.
Expected Results:
The Quick Start with Docker instructions should be updated to include the necessary modifications to the docker-compose file names, providing clear guidance on which file to use and any necessary adjustments. This will allow users to successfully follow the instructions and quickly start using Iroha 2 with Docker.

Thanks, I will address that.


Update 'requirements' to reflect Travis CI testing.

Or maybe testing on 3.3 should be stopped?

Coverage remained the same at 38.899% when pulling cfab1bcc5535b4c16bd7073dd843fe91753d75da on frewsxcv:patch-2 into d41dc8deb363567e09fd8088028057b75552c2b4 on eldarion-gondor:master.


Fix broken tests for newer ruby and rspec

Rspec uses 'instance_exec' instead of 'instance_eval' if ruby supports it (from about 1.9 I believe).
Two tests were failed from this difference and now fixed.

Just tested all major version of ruby with our tests and everything seems to be ok. (1.9, 2.0 and 2.1). I am closing that PR since it seems is not needed. Please check if the problem still appear and if so provide more details how to recreate it. Please also provide some more information about rspec and instance_exec vs instance_eval (maybe some official documentation?) and if possible rspec version which you are using.


[Perf] Refactor tests.yml into one file per package per language

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

Other data-plane KV packages each have performance tests as well -- is it intentional to only have a perf-tests.yml file for azure-keyvault-secrets?

Yes, it's intentional.  We don't have perf pipelines running for KeyVault yet.  Making them work will require using test-proxy instead of the live service, and it may be a fairly large work item to add test-proxy to our perf pipelines.
However, we did have some tests for keyvault-secrets in the large tests.yml that is being deleted, so I wanted to migrate them to perf-tests.yml to avoid losing the data.


Generating fixture

Unfortunately, I did not found any way to insert files on the server side so I could generate fixtures after reseting Meteor. I have already tried some approaches.
The first one proposed to use a little workaround to create HTML5-like file objects which can then be used in combination with Images.insert() (where Images is an CFS collection). Unfortunately, XMLHttpRequest() is not available.
Furthermore, you could try to use the Asset API to load images from the application's /private folder, but the returned object is not valid when passing it to the insert function because the DataMan constructor requires a type argument when passed a Uint8Array.
Using the core http package in combination with the http-extra package by aldeed. Unfortunately, it only accepts http and https urls. I also did not find a way to use jQuery methods.
Are there any possible solutions to generate fixture on server start?

FYI if you're still looking:
  // for images, with Images as the collection

  const url = '/whatever.png';
  const image = new Buffer(Assets.getBinary(url));
  const base64 = image.toString('base64');
  const newFile = new FS.File();
  newFile.attachData(new Buffer(base64, 'base64'), { type: 'image/png' }, (error) => {
    if (error) throw error;
    Images.insert(newFile);
  });
}

This is assuming you store your image in the private/ folder. If it's in public/, then use one of the node FS streams to read it. The conversion back and forth between base64 is probably unnecessary, but I haven't tested otherwise since I was using this method to store pictures from an iOS app.

Ok thanks, I will give it a try. Unfortunately, CFS is now deprecated, maybe looking for an alternative with more future.


React-36 check nextProps used twice

For issue #235

@cowCrazy awesome, this is great! I had to change the syntax for running the regex in the actual tests so it would return a boolean so the test assertion would pass or fail appropriately, but otherwise, this works great to ensure the expected behavior. Thanks a lot!


Implementing undo

If the user marks a task completed but wants to reverse it they should be able to do it. For this purpose after the user submitted the index of the completed task there should be a request to confirm the intention. If the user wishes to undo the completion they choose the undo option and the task gets reverted to it's original state.

I have already done it differently. I added an extra option, undo.


it's possible Helidon SE support swagger ui?

Environment Details

Helidon SE : 1.3.0
JDK version: 12

it's possible Helidon SE support swagger ui?

If you use swagger-ui-dist you can serve it using the StaticContentSupport. See an example here.

tks,i implemented successfully


locate-project usage message is wrong and option name non descriptive

The usage message for locate-project mentions "benchmarks" for no apparent reason (seems like the remnant of a cut/paste).
Options:
    --manifest-path PATH    Path to the manifest to build benchmarks for

Similarly, the --manifest-path option is ill-named : the path to the manifest is precisely what we're looking for.
On a side note, read-manifest ought to locate-project automatically when it's not provided a --manifest-path. I could hack at it if anyone is interested.

The read-manifest command is losing the requirement of --manifest-path in https://github.com/rust-lang/cargo/pull/1955, but feel free to submit a PR to update the docs of this!

My search-fu is lacking ... PR looks good though, thanks.

LOL! I've seen this happen so many times, an issue lays around for months and then two people notice it like the same day :) I wasn't sure what the argument to locate-project should be called instead of --manifest-path but I agree that it doesn't make sense... --search-path maybe?

@carols10cents Wouldn't it make sense to just drop the option altogether and make it a normal argument ? cargo locate-project ~/in/some/path
Maybe rename locate-project to locate-manifest too for consistency ... but that might be too disruptive.

I think for now we'll just leave the name as-is, but I'd be fine adding another option for something like --search-path or something similar.
In the meantime I'm labeling this as a docs bug as the help page should just be update dnow.

In the meantime I'm labeling this as a docs bug as the help page should just be updated now.

This looks fixed, closing this!
$ cargo locate-project --help
Print a JSON representation of a Cargo.toml file's location

Usage:
    cargo locate-project [options]

Options:
    --manifest-path PATH    Path to the manifest to locate
    -h, --help              Print this message


sync with amoh-godwin

Hello @amoh-godwin! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file pyffmpeg/pseudo_ffprobe.py:

Line 126:38: E231 missing whitespace after ','
Line 134:1: W293 blank line contains whitespace
Line 182:80: E501 line too long (95 > 79 characters)
Line 185:80: E501 line too long (101 > 79 characters)
Line 212:20: W292 no newline at end of file

In the file test_pseudo_ffprobe.py:

Line 6:1: E302 expected 2 blank lines, found 1
Line 9:1: E302 expected 2 blank lines, found 1


remove QGLWidget used to create a valide context since it is deprecated class

A way to call glGetString that do not need to construct a QGLWidget.
Also increase format buffer size.

No crash on my side. Do i need to test specific things?
My computer:


Kafka Streams API support

Adding support for the Streams API[1] offers some benefits, and is well matched for Monix's strengths which would allow interoperability with the KStream DSL[2]. This could be implemented as a Monix KafkaStreamSubject in monix-kafka, as the Streams API is used for both consuming and publishing to topics.
[1] https://docs.confluent.io/current/streams/introduction.html#the-kafka-streams-api-in-a-nutshell
[2] https://docs.confluent.io/current/streams/javadocs/org/apache/kafka/streams/kstream/KStream.html

👍 but only if somebody commits to developing it

Any thoughts on how state stores would be handled within the API without leaking the Kafka Streams abstractions through? I'm keen to help as this is something I'm probably going to do professionally in the near future anyway.

@Avasil @ryanworsley any help is welcomed! I just started defining config and wrappers, it seems kind of straight forward after looking at KStream API but I don't know if Iterant should fit in some places.
Focused on some issues regarding TaskLocal in monix but I will be engaging in this shortly again. Waiting for some feedback and pointers for the first approach.


CA1707 warning In Test project

Best practices for test naming convention is defined in https://docs.microsoft.com/en-us/dotnet/core/testing/unit-testing-best-practices as:

The name of the method being tested.
The scenario under which it's being tested.
The expected behavior when the scenario is invoked.

And those three parts are represented in a method name separated by an underscore.
But the description's CA1707 warning is:

By convention, identifier names do not contain the underscore (_) character. The rule checks namespaces, types, members, and parameters.
When to suppress warnings
Do not suppress a warning from this rule.

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

ID: 06cee199-3ccc-7575-2c1d-296e2714a16e
Version Independent ID: 2be241bf-b98a-5088-1e1b-0e39b1384b9a
Content: CA1707: Identifiers should not contain underscores - Visual Studio
Content Source: docs/code-quality/ca1707-identifiers-should-not-contain-underscores.md
Product: visual-studio-windows
Technology: vs-ide-code-analysis
GitHub Login: @gewarren
Microsoft Alias: gewarren

It seems to me like the example in the unit testing best practices article should be updated. I logged an issue for that: https://github.com/dotnet/docs/issues/14747.

The suggestion is:
CA1707 is meant only for production code, so should be explicitly turned off for test projects using https://docs.microsoft.com/en-us/visualstudio/code-quality/use-roslyn-analyzers?view=vs-2019#rule-severity.
I'll update the doc with this.


Replace future::empty with future::ok in heartbeat pulse future

Using future::empty means that this task will never finish, preventing
the runtime executing from stopping. Instead, it is now using future::ok
which will immediately return.

This is weird.
The future::empty() call is in the "or_else" branch, which should only be called if there was an error in the tx/rx.
Sending a message to rc shouldn't go in the or else and should terminate the heartbeat accordingly.
With this change, any error in the heartbeat handle would just stop the heartbeat, which is not what we want

Hmm, yeah you're absolutely right. Don't know why I thought this would be a good idea. I thought it solved a problem I encountered, but it would seem that no, I'll continue to investigate.
Thanks for your time!


camelCase Fields

Hi,
I need some help with camelCase field names.
I want to config objection to work with camelCase fields. I try it but no success :
My table :

My model :
import { Model,  snakeCaseMappers} from "objection";
import knex from '../../obj-db';
Model.knex(knex);

class Teste extends Model {
  static get columnNameMappers() {
    return snakeCaseMappers();
  }
  static get tableName() {
    return 'medicamentos_temp';
  }
}
export default Teste;

My return :
{
        "CODIGODEBARRAS": "7894916503761",
        "NOMEDOPRODUTO": "AGLUCOSE 100MG 30S",
        "PRECODECUSTO12": "27",
        "PRECODEVENDA12": "37.32",
        "PRECODECUSTO17": "28.63",
        "PRECODEVENDA17": "39.58",
        "PRECODECUSTO18": "28.98",
        "PRECODEVENDA18": "40.06",
        "PRECODECUSTO19": "29.34",
        "PRECODEVENDA19": "40.56",
        "PRECODECUSTOZFM": null,
        "PRECODEVENDAZFM": null,
        "VALORDESCONTO": "5",
        "QTDMINIMA": "0",
        "CODIGO": 1273,
        "CODIGOOPERACAO": "20042016150521040",
        "PRECODECUSTO175": "0.00",
        "PRECODEVENDA175": "0.00"
    },

It only remove the "_" from the field names.

snake_case to camelCase in objection is done by iteration.. going through each character of the string, starting at the first character:
1.  If the current character is not an underscore (`_`),
    and the previous character is not an underscore (`_`),
    the character is pushed to the stack.

2.  If the current character is not an underscore (`_`),
    and the previous character *is* an underscore (`_`),
    the character is uppercased and pushed to the stack.

3.  If the current character *is* an underscore (`_`), it is ignored.

In your case, since every character in your column is uppercased, the conversion simply "removes" all the underscores.
You need to lowercase your column names in SQL for it to work.

@heisian is right. I could add an option for snakeCaseMappers that would allow uppercase columns.

@heisian is right. I could add an option for snakeCaseMappers that would allow uppercase columns. I'll add this to my todo list.

@duard I implemented support for UPPER_SNAKE_CASE, but this issue https://github.com/tgriesser/knex/issues/2630 in knex is blocking it. It needs to be fixed before I can release the feature. I'll fix the knex issue, but it will take some time before they release a new version
When this is implemented, you will be able to do this:
import { Model,  snakeCaseMappers} from "objection";
import knex from '../../obj-db';
Model.knex(knex);

class Teste extends Model {
  static get columnNameMappers() {
    // The `upperCase` option will be available once this feature is out.
    return snakeCaseMappers({ upperCase: true });
  }

  static get idColumn() {
    // This is also needed since your id column is not `id`
    return 'ID';
  }

  static get tableName() {
    // You need to use the database casing here. so UPPER_CASE
    // and not lower_case.
    return 'MEDICAMENTOS_TEMP';
  }
}
export default Teste;


Router returns 404 if route exists but method does not match

When registering a route with GET /test and I send a POST request to /test, the return is 404.
It should be 405 Method Not Allowed.

This needs to keep track of or check endpoints and all their defined methods since 405 is used to signal that the endpoint is good but the method used is not allowed (and replay should contain an Allow header). For example, read-only endpoints. 404 is used to signal an invalid endpoint. But this behavior is something that would be expected of a REST implementation. A custom router/route could apply this REST specific implementation by returning 405 for a particular endpoint and a particular method.


Initial setup of fprime-gds to work with OpenMCT

Originating Project/Creator
Mohit Singh

Affected Component

Affected Architectures(s)
F-Prime GDS

Related Issue(s)

Has Unit Tests (y/n)

Builds Without Errors (y/n)

Unit Tests Pass (y/n)

Documentation Included (y/n)
y

Change Description
Add functionality to run OpenMCT from the F-Prime GDS. A user can specify the openmct argument at command line by running fprime-gds --openmct , and they will get two tabs; one that launches the standard GDS, and one that launches an OpenMCT server with all the telemetry channels registered and showing Real Time Telemetry.
Rationale
The current F-Prime GDS has two ways of visualizing telemetry. Channels and Charts. These telemetry visualizations can be expanded upon by integrating OpenMCT with F-Prime. OpenMCT allows for users to create dashboards, utilize gauges, stacked/overlay plots, and tables. It also incorporates conditional coloring based on user defined limits.
Testing/Review Recommendations
Currently this functionality has been fully tested with the base Ref deployment. It should be tested with additional deployments to ensure no critical values are hardcoded, since that would hinder general usability.
NOTE: This pull request is breaking. Users will need to install the fprime_openmct python package repo since that is imported at the start of run_deployment.py. That package is available at https://github.com/mohitsingh999/fprime-openmct currently and can be registered as a python package by running pip install . at the root of fprime-openmct. A pull request has been created to merge this repo into https://github.com/fprime-community/fprime-openmct, and is currently being reviewed.
Future Work
Work needs to be done to ensure the OpenMCT integration with fprime-gds happens in parallel with integration of fprime-openmct in fprime-community. General installation instructions will need to be updated to inform users to install fprime_openmct with pip, in addition to fprime_tools and fprime_gds. fprime-openmct needs to be registered on PyPI as well, just like fprime-gds and fprime-tools.
@jwest115 will be taking over managing OpenMCT integration related tasks after August 10th

I just tested this feature. I like it, is there something I can do to help merge this pull request?

@SMorettini we are working on the addition of a plugin architecture to the GDS (https://github.com/nasa/fprime/issues/2268) and we would like the OpenMCT integration to be using it. I believe we decided to hold off on this PR until then. Copying @LeStarch for sanity check and because he's going to be the one doing the plugin architecture.

Plugin PR was just merged! https://github.com/fprime-community/fprime-gds/pull/164
We have a plugin system - some work is probably needed to incorporate this into it.

In order for this to work, we need the "start-up application" plugin defined.  That hasn't been done yet, but isn't much work.

I don't think this merge request should be merged in this stage. I'm working on some big change on it in my fork.
This setup is not optimal and doesn't work with big setup with a lot of channels because the  full dictionary for openmct is downloaded every time when a smarter system should be used and only the dictionary for the channel requested you should be downloaded. Moreover it doesn't work except for the channel made by a single value.

Out of curiosity how does openmct compare to yamcs? My org uses that so I'm looking into a similar effort for that support

@ReggieMarr We are aware of yamcs, but haven't gotten around to digging deeply into it. I took a quick look a while ago, and it supports commanding and telemetry aspects that probably could be adapted to F Prime. It doesn't support (as far as I can tell) the  F Prime notion of events.
OpenMCT is really meant to display telemetry. It is great for building views and plots and the like, but it doesn't support commanding and events. Our adaptation was meant to run along side the regular F Prime ground system.


edited big list is a bit slow to do

need to speed it up somehow

I think I fixed this, doing a test run now
sed in a file loop is kinda dumb (if anybody ever reads this)

fixed it by using awk to compare the files


Using Dnscrypt with Quad 9

Hi does anyone know why I'm not able to use dnscrypt proxy with Quad9? I can connect to cloudflare just fine and even other services like the OpenNIC. But Quad9 doesn't work for me.
Usually I've tried typing this in for the sources
quad9-dnscrypt-ip4-filter-pri
quad9-dnscrypt-ip4-filter-alt
But I've also tried these and no luck
quad9-dnscrypt-ip4-nofilter-pri
quad9-dnscrypt-ip4-nofilter-alt
quad9-doh-ip4-filter-alt

Can you define "doesn't work"?
What exact log/error messages from dnscrypt-proxy  do you get when server_names includes one of the Quad9 resolver name?

[2019-05-04 21:38:55] [NOTICE] [quad9-dnscrypt-ip4-filter-pri] OK (DNSCrypt) - rtt: 148ms
[2019-05-04 21:38:55] [NOTICE] [quad9-dnscrypt-ip4-filter-alt] OK (DNSCrypt) - rtt: 102ms
[2019-05-04 21:38:55] [NOTICE] [quad9-dnscrypt-ip4-nofilter-pri] OK (DNSCrypt) - rtt: 140ms
[2019-05-04 21:38:55] [NOTICE] [quad9-dnscrypt-ip4-nofilter-alt] OK (DNSCrypt) - rtt: 187ms
[2019-05-04 21:39:01] [NOTICE] [quad9-doh-ip4-filter-pri] OK (DoH) - rtt: 330ms
[2019-05-04 21:39:01] [NOTICE] [quad9-doh-ip4-filter-alt] OK (DoH) - rtt: 342ms
[2019-05-04 21:39:01] [NOTICE] [quad9-doh-ip4-nofilter-pri] OK (DoH) - rtt: 144ms
[2019-05-04 21:39:02] [NOTICE] [quad9-doh-ip4-nofilter-alt] OK (DoH) - rtt: 137ms
[2019-05-04 21:39:23] [NOTICE] Server with the lowest initial latency: geekdns-doh-east (rtt: 25ms)
[2019-05-04 21:39:23] [NOTICE] dnscrypt-proxy is ready - live servers: 44

There doesn't seem to be anything wrong here?
geekdns-doh-east was preferred because it's 6 times faster than Quad9 servers for you. But the quad9 resolvers responded just fine.
If you want to use specific resolvers, set their names in resolver_names.

Can you define "doesn't work"?
What exact log/error messages from dnscrypt-proxy do you get when server_names includes one of the Quad9 resolver name?

Hi I don't get an error message, but when I try to go to any websites nothing loads. I'm on Linux Mint, and I kept dnsmasq but followed the wiki and set <IP_ADDRESS> in network manager.
I'm using the sources.'public-resolvers' that was included by default. Could you elaborate on where I set resolver_names? Should I have enabled the "sources.quad9-resolvers" option?
Thanks

Sorry, I was confused by AnyWAT who hijacked the thread.
After stopping the service, can you attach the output of the dnscrypt-proxy command? (starting it manually)

Sorry, I was confused by AnyWAT who hijacked the thread.
After stopping the service, can you attach the output of the dnscrypt-proxy command? (starting it manually)

Sure it says "[FATAL] Unable to load the configuration file [dnscrypt.proxy.toml] -- Maybe use the -config command line switch?"
Hmmm it's strange that it says that because it seems dsncrypt is working with the toml file. When I use dnsleaktest it shows the dns servers I set the toml file to.

Do you have a dnscrypt-proxy.toml file in the current directory?
See the generic installation instructions for Linux here: https://github.com/jedisct1/dnscrypt-proxy/wiki/Installation-linux


Problem while trying to connect to SFTP server

Hi!
I am new to React and its libraries and I can't seem to figure out how to connect to an SFTP server. Its true that in the README file there are the steps and all, but since I am a beginner I cant seem to understand, sorry for the inconvenience.
Hope you can help

Hey @aymanMFD
More than happy to try help out. As you're asking about a "how do I do ... ?" topic, I've opened discussions on this repo and moved your query there. Checkout https://github.com/dylankenneally/react-native-ssh-sftp/discussions/17 to continue the conversation.


Feature/record unit test

Integrate the record/replay test into slang-unit-test.
We use the slang-unit-test infrastructure to run the examples to test the record/replay layer.
The unit test will run the modified example as a new process, and read the stdout from the process, then it will launch the slang-replay as another process, and read the stdout from that process. Then parse the hash code from the stdout and compare to check whether the test passes.
The unit test can be run as
 ./build/Debug/bin/slang-test slang-unit-test-tool/RecordReplay -category unit-test
Fix the slang-test bug
Since we reorganize the build directory, now the libraries are
located at different directory with executables in non-Windows
platform, we have to change the code on how to find the dll directory.

There are some failures that cannot reproduce locally, so I need to debug it by uploading debug commits.
Change this to draft now.


Add Viber in SAFE_URL_PATTERN

Add safe link viber://forward?text=lalalala for social messenger

Thanks for the PR!
We'll pass on this since this is not a standard and there are hundreds of these. But given the chance I checked out the latest upstream file from  Angular and it seems we are missing sms so I'll add this later.


Add noob-friendly --documentation-links option

Hi @jonringer!
I got to see your chat with @zimbatm on Nix friday, where you mentioned working on this project.
Loved the idea, and reading through the README.md, I got inspired by the --comments item you left on your Roadmap.
Not sure you accept contributions to this project, but I tried out something and figured you might be interested:
This PR adds a --documentation-links (or -d) option to add links to relevant sections of the Nixpkgs contributor guide.
And whether you want it or not: Thanks for nix-template!

That's a great idea :)

LGTM
[nix-shell:/home/jon/projects/nix-template]$ ./target/debug/nix-template stdenv --stdout -d -pname test -v 1
{ lib, stdenv, fetchFromGitHub }:

# See the guide for more information: https://nixos.org/nixpkgs/manual/#sec-using-stdenv
stdenv.mkDerivation rec {
  pname = "name";
  version = "1";

  # See the guide for more information: https://nixos.org/nixpkgs/manual/#chap-pkgs-fetchers
  src = fetchFromGitHub {
    owner = "CHANGE";
    repo = pname;
    rev = "CHANGE";
    sha256 = "0000000000000000000000000000000000000000000000000000";
  };

  # See the guide for more information: https://nixos.org/nixpkgs/manual/#ssec-stdenv-dependencies
  buildInputs = [ ];

  # See the guide for more information: https://nixos.org/nixpkgs/manual/#chap-meta
  meta = with lib; {
    description = "CHANGE";
    homepage = "https://github.com/CHANGE/name/";
    license = license.CHANGE;
    maintainers = with maintainers; [  ];
  };
}

I think when I implement --comments it will imply document links as well


Feature request: target syntax expansion

Please implement a syntax to support IP address ranges. Given that so many sites are multi-hosted, both whitelisting and blacklisting are fraught without this feature.
Possibilities:
subnet mask, for example:
block:
  list:
    - '<IP_ADDRESS>/24'

global marker (*), for example:
block:
  list:
    - '13.33.2.*'
    - '*.mojang.com'

range, for example
block:
  list:
    - '<IP_ADDRESS>'-'<IP_ADDRESS>'

networkintercept reload command would also be a big help, so that IP addresses could be added (or removed) without having to restart the server. There is an outstanding PR.

We are going to address this functionality by interpreting allowed or denied IP addresses based on FQDNs. It will still be possible to list individual IP addresses, but the need will be greatly reduced. More to follow.

Release in NetworkInterceptor 2.0.0


Named parameters

Hello,
thanks for the good library! What is the best way to add named parameters?

@theguild Hi!
How is this?
struct Subtract: JSONRPCKit.Request {
    typealias Response = Int

    let minuend: Int
    let subtrahend: Int

    var method: String {
        return "subtract"
    }

    var parameters: Any? {
        return [
            "minuend": minuend,
            "subtrahend": subtrahend,
        ]
    }

    func response(from resultObject: Any) throws -> Response {
        if let response = resultObject as? Response {
            return response
        } else {
            throw CastError(actualValue: resultObject, expectedType: Response.self)
        }
    }
}

In the future, I'd like to support Codable.

Great! Thanks 👍


Add missing self argument to Repository.formatIssueUrl()

Triggered by adding 'Repository: whatwg/mediasession/' to the config as per
https://github.com/tabatkins/bikeshed/issues/477#issuecomment-137526035
To be recognized as GitHub a full URL is needed, it seems.

...how did no one run into this already?

And no, omitting the trailling slash should work.


为什么壁纸不能一直显示(Why can't wallpaper always show)

为什么每次壁纸选择完后，重启WINDOWS，壁纸就会变成选择之前的壁纸。
(Why every time after the wallpaper selection, restart WINDOWS, wallpaper will become the choice before the wallpaper.)
my english is poor , sorry.
Splashify  is the best wallpaper software i used.
thanks.

Duplicate of #9.


pull newer ApplicationWorker based session worker out of magriculture and add generic tests

Merged after some refactoring and moving it into vumi.demos.


Degree Field of View

I'm trying to figure out how can I modify the Degree Field of View from predefined 240º to, for example, 180º or 210º. I really don't know how to manipulate the scripts to achieve it.
Thank you for this amazing Domemaster!

I added 180 and 210 fov.


add missing overrides

Enable compilation on macOS with strict compiler flags

CI gfxreconstruct build queued with queue ID 19736.

CI gfxreconstruct build # 2402 running.

CI gfxreconstruct build # 2402 passed.

Looks beautiful. +1 from me.


Spyder file open problems

Description
What steps will reproduce the problem?

What is the expected output? What do you see instead?
Please provide any additional information below
File "/usr/lib/python3/dist-packages/spyder/plugins/editor.py", line 1853, in load
self.edit_filetypes = get_edit_filetypes()
File "/usr/lib/python3/dist-packages/spyder/config/utils.py", line 124, in get_edit_filetypes
supported_exts = _get_pygments_extensions()
File "/usr/lib/python3/dist-packages/spyder/config/utils.py", line 86, in _get_pygments_extensions
for lx in lexers.get_all_lexers():
File "/home/kwantics/.local/lib/python3.6/site-packages/pygments/lexers/init.py", line 53, in get_all_lexers
for lexer in find_plugin_lexers():
File "/home/kwantics/.local/lib/python3.6/site-packages/pygments/plugin.py", line 55, in find_plugin_lexers
yield entrypoint.load()
File "/home/kwantics/.local/lib/python3.6/site-packages/pkg_resources/init.py", line 2442, in load
self.require(*args, **kwargs)
File "/home/kwantics/.local/lib/python3.6/site-packages/pkg_resources/init.py", line 2465, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
File "/home/kwantics/.local/lib/python3.6/site-packages/pkg_resources/init.py", line 791, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.VersionConflict: (pytz 2019.3 (/home/kwantics/.local/lib/python3.6/site-packages), Requirement.parse('pytz<2017.0,>=2016.3'))
Version and main components

Spyder Version: 3.2.6
Python Version: 3.6.8
Qt Versions: 5.12.4, PyQt5 5.12.3 on Linux

Dependencies
pyflakes >=0.6.0 :  2.1.1 (OK)
pycodestyle >=2.3:  2.5.0 (OK)
pygments >=2.0   :  2.4.2 (OK)
pandas >=0.13.1  :  0.25.1 (OK)
numpy >=1.7      :  1.17.3 (OK)
sphinx >=0.6.6   :  2.2.0 (OK)
rope >=0.9.4     :  0.14.0 (OK)
jedi >=0.9.0     :  0.14.1 (OK)
psutil >=0.3     :  5.6.3 (OK)
nbconvert >=4.0  :  5.6.0 (OK)
sympy >=0.7.3    :  None (NOK)
cython >=0.21    :  None (NOK)
qtconsole >=4.2.0:  4.5.5 (OK)
IPython >=4.0    :  7.8.0 (OK)
pylint >=0.25    :  2.4.2 (OK)

pkg_resources.VersionConflict: (pytz 2019.3 (/home/kwantics/.local/lib/python3.6/site-packages), Requirement.parse('pytz<2017.0,>=2016.3'))

This is pretty clear: please solve the package conflict reported in that message to have Spyder working again.
If you don't understand how to do it, we really recommend you to switch to Anaconda.


Serializer should be able to create non-object from response

It would make sense to be able to create a serializer that can for example return a struct from a response.
Since Alamofire uses AnyObject? for Serializers this seems not possible.
Is there any particular reason, why this has to be an object type?
Switching out AnyObject? with Any? in the right places crashes the compiler with a segmentation fault though. This is produced by the JSON and PLIST Serializers when using Any
Not sure why the cast from AnyObject? to Any? fails here:
let JSON: Any? = NSJSONSerialization.JSONObjectWithData(data!, options: options, error: &serializationError)

Sorry, didn't mean to ask for support. I was wondering if there is a specific reason why Alamofire can return only reference types from response serializers and can't serialize the response to an enum for example. (Would be great for e.g. a Swift XML solution)
This would make it more of a feature request I guess. I hit a snag, when the compiler crashed while trying to add this feature.

I'm interested in this too.

Something like this could work @mattt ?
https://github.com/bilby91/Alamofire/commit/2c88aeb83aa3846b2cf4d9da6ce626fb42e7aaf5

We're looking to add better support for this in the 1.3.0 release. Please stay posted 👍🏻

+1 I hit this wall when I was trying to add a Serializer for a struct which conforms to a protocol Decodable from another framework Argo. So there's really nothing I can do to change the protocol.
@cnoon If I want to help with this, could you give me some guidance on how can it be done and what should be considered?

I wrote a workaround using a Box class to wrap the structs. I took some shortcuts with the json part but you can get the general idea.  https://gist.github.com/jqsilver/82a515bfaca9a8552ad0

Hey everyone, thank you so much for your patience! I just pushed up PR #593 for Response Serializer Generics. If you could check it out and help with feedback I'd really appreciate it.
If you could please redirect all comments to #593 from here on out, that would be helpful. I'm going to go ahead and close this issue out.


Be able to sort facet values by alpha or count

This PR introduces a new sortFacetValuesBy settings parameter to expose the facet distribution in either count or lexicographic/alpha order.
Mini Spec of the sortFacetValuesBy Settings Parameter
This parameter can be set in the settings to change how the engine returns the facet values. There are two possible values to this parameter.
Please note that the current behavior changed a bit, and keys are returned in lexicographic order instead of undefined order. The previous order wasn't defined as we were using a HashMap, which returns entries in hash order (undefined), and we are now using an IndexMap, which returns them in insertion order (the order we actually want).
Also, note that there are performance issues when the dataset is enormous. Here are the timings of the engine running on my Macbook Pro M1 (16Go of RAM). The dataset is 40 million songs file, and the database size is about 50GiB. Even if you think 800ms is not that high, don't forget that the API is public, and anybody can ask for multiple facets in a single query.

Search Kind
Get Facets
Max Values per Facet
Time for Alpha
Time for Count
Count but with #3788

Placeholder
genres
default (100)
7ms
187ms
122ms

Placeholder
genres
20
6ms
124ms
75ms

Placeholder
album
default (100)
9ms
808ms
677ms

Placeholder
album
20
8ms
579ms
446ms

Placeholder
artist
default (100)
9ms
462ms
344ms

Placeholder
artist
20
9ms
341ms
246ms

Order Values in Alphanumeric Order
This is the default one. Values will be returned by lexicographic order, ascending from A to Z.
# First, update the settings
curl 'localhost:7700/indexes/movies/settings/facetting' \
  -H "Content-Type: application/json"  \
  -d '{ "sortFacetValuesBy": { "*": "alpha" } }'

# Then, ask for the facet distribution
curl 'localhost:7700/indexes/movies/search?facets=genres'

{
    "hits": [
        /* list of results */
    ],
    "query": "",
    "processingTimeMs": 0,
    "limit": 20,
    "offset": 0,
    "estimatedTotalHits": 1000,
    "facetDistribution": {
        "genres": {
            "Action": 3215,
            "Adventure": 1972,
            "Animation": 1577,
            "Comedy": 5883,
            "Crime": 1808,
            // ...
        }
    },
    "facetStats": {}
}

Order Values in Count Order
Facet values are sorted by decreasing count. The count is the number of records containing this facet value in the query results.
# First, update the settings
curl 'localhost:7700/indexes/movies/settings/facetting' \
  -H "Content-Type: application/json"  \
  -d '{ "sortFacetValuesBy": { "*": "count" } }'

# Then, ask for the facet distribution
curl 'localhost:7700/indexes/movies/search?facets=genres'

{
    "hits": [
        /* list of results */
    ],
    "query": "",
    "processingTimeMs": 0,
    "limit": 20,
    "offset": 0,
    "estimatedTotalHits": 1000,
    "facetDistribution": {
        "genres": {
            "Drama": 7337,
            "Comedy": 5883,
            "Action": 3215,
            "Thriller": 3189,
            "Romance": 2507,
            // ...
        }
    },
    "facetStats": {}
}

Todo List

[x] Add tests
[x] Send analytics when a user change the sortFacetValuesBy
[x] Create a prototype and announce it in https://github.com/meilisearch/product/discussions/519.

bors cancel


Configure pre-commit

Looks like it would be simpler just add different hooks via several commits (like with yamllint) in this PR than create several others PRs.
Resolve #16

I've deleted isort and flake8, should I add them here in next commits or would be better to add them in separate PR?


Typescript definitions for sqlite.core.js

I've created the type definition based on sqlite.core.js and the two test files to infer the promise and callbacks signatures.

Decided to not continue with this pull request, I think there is still some work I need to get done


What does 'Accuracy' mean in Regression?

Hello, Keras
I appreciate for this useful and great wrapper.
and I am building a network for the regression problem.
I saw that Keras calculate Acc and Loss even in regression.
how is it calculated?
loss moves alike MSE but the values are different to each other.
thank you

The Keras docs about custom metrics say (emphasis mine):

The function would need to take (y_true, y_pred) as arguments and return a single tensor value.

The metrics/loss functions given here do not seem to do that, e.g.:
def rmse(y_true, y_pred):
    from keras import backend
    return backend.sqrt(backend.mean(backend.square(y_pred - y_true), axis=-1))

Here, backend.mean() is applied along the last axis only, thus all axes but the last axis will stay intact. I would think there should be a backend.mean() over all axes around the return value. Like so:
def rmse(y_true, y_pred):
    from keras import backend
    return backend.mean(
        backend.sqrt(backend.mean(backend.square(y_pred - y_true), axis=-1))
    )

Is that not needed?
Also, why is the backend imported inside each function. Wouldn't a single regular import at the top be sufficient as well?

@WittmannF I would even have the choice to use (1 - R2) as the loss and R2 as the performance metric.

def r_square_loss(y_true, y_pred):
from keras import backend as K
SS_res =  K.sum(K.square(y_true - y_pred))
SS_tot = K.sum(K.square(y_true - K.mean(y_true)))
return 1 - ( 1 - SS_res/(SS_tot + K.epsilon()))
Is this correct for data having multiple variables/attributes in time series forecasting?

@fchollet It seems like no-one has answered the original question: in keras what is the 'accuracy' metric computing in regression problems?
I would still very much like to know, because it seems meaningful given that it is always non-zero (even for regression problems) & increases at a reasonable rate w.r.t. loss. But I do not know if I can trust it until I know what it is actually doing.

I have the same issue, my regression model is reporting a low 'accuracy' but it seems to perform fine on actual input.


Upgrade to Bootstrap v4

We use v3 which is now is unsupported.
https://getbootstrap.com/

This is done now.  The Bootstrap library is what we use for autocomplete (in the search box), for creating dialog boxes and it gives us basic stuff like default font styles and sizes.
A lot of the look of the site has changed slightly but I hope it's not enough to notice.  If you do see anything that now looks worse please let me know.


RESTKit failling to map array property properly

I can an object, lets call it 'Foo', that contains two relevant properties.  Those properties are both arrays containing other mapped objects (Call them Bar1 and Bar2).  One of them functions properly, the other one is throwing the error:  *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Invalid type in JSON write (Bar2)'
I have Foo mapped like so:
RKObjectMapping *fooMapping=[RKObjectMapping mappingForClass:[Foo class]];
[fooMapping addRelationshipMappingWithSourceKeyPath:@"bar1array" mapping:[Bar1 generateMapping]];
[fooMapping addRelationshipMappingWithSourceKeyPath:@"bar2array" mapping:[Bar2 generateMapping]];

Bar1 and Bar2 generateMapping are not identical methods, but other than changing of property names / quantity of properties, can be considered identical.  As Bar2 is the one that is failing, I'll use bar2 as the sample code:
RKObjectMapping *bar2Mapping=[RKObjectMapping mappingForClass:[Bar2 class]];
[bar2Mapping addAttributeMappingsFromDictionary:@{
                                                                   @"ommitedProperties":@"AreOmmited"
                                                                   }];
return bar2Mapping;

What's really frustrating is that I even turned the debug level up to maximum (trace), and I can see that RESTKit is executing the mapping for Bar2, but the end result is:
2015-01-18 22:06:08.199 West Pak QC[453:161549] T restkit.object_mapping:RKMappingOperation.m:690 Mapped relationship object from keyPath 'bar2array' to 'bar2array'. Value: (
    "<Bar2: 0x1a129260>",
    "<Bar2: 0x16886760>",
    "<Bar2: 0x1a127340>",
    "<Bar2: 0x157bfa80>",
    "<Bar2: 0x1686cd20>"
)

As far as I can tell, and for no apparent reason, RESTKit is mapping the object, then discarding the mapping in favor of the original.  I've spent... far too much time debugging it this far, and I am making exactly zero further progress forward at this point.

Is there any way you could write a failing unit test that demonstrates the issue?

@segiddins Sadly, I'm here because I can't figure out why it's failing.  I'll see if I can reproduce in a test project or something.

I ran into the same problem, @rlugge . Eventually, I mapped whatever is supposed to be a NSArray as a NSSet.
Then you can get and set the NSArray or NSMutableArray like so:
NSArray *theArray = [theSet allObjects];
NSMutableArray *theMutableArray = [NSMutableArray arrayWithArray:[theSet allObjects]];
NSSet *theSet = [NSSet setWithArray:theArray];
Hope this helps

@orenk86 thanks for the thought, unfortunately it didn't work.  Changing over to using a set didn't fix the mapping issues.

@rlugge that's strange... it's working flawlessly in my apps.
Don't know if it'll change anything, but try setting the NSSet as a (nonatomic, copy) property. That's how the sets are declared in my apps...

@orenk86
Actually, a co-worker just helped me find the problem.
RESTkit is actually doing exactly what I told it to.  It's mapping from Bar2... to Bar2.
RKObjectMapping *bar2Mapping=[RKObjectMapping mappingForClass:[Bar2 class]];
This is actually my upload mapping, it needs to map NSMutableDictionary, not Bar2.  Oops.


Slow now 1.2 version for split

With version 1.2 the Split to .apk process is now slow; Also when I want to split .xapk the app crashes.

With version 1.2 the Split to .apk process is now slow

It may seem this way, because it only starts antisplit when you selected the place to save, but it will be more efficient, before it was writing it to the cache directory and then copying it. Now I added an option to save directly to the same directory as the selected file, like AntiSplit-G2 does, so there can be the best of both worlds.

Also when I want to split .xapk the app crashes.

It should be fixed now in the latest release

@snavsvpn Sorry for such late response
No don't select the directory, just disable this option then it will automatically save there and it should be faster now


Feature-Request: Provide a parameter to switch versions of side-by-side installation via choco

Assuming we have installed different versions of a package using choco:
choco install package --version 1.2.3 -my
choco install package --version 2.0.0 -my

It would be nice to allow using the same shim-file with a version parameter:
$ package --shimgen-help
[shim]:
=========
Shim Help
=========

This is a shim, generated by Chocolatey's ShimGenerator (shimgen).
This shim calls a target with the following settings:
 Target: 'C:\ProgramData\chocolatey\lib\package.2.0.0\tools\package.exe'
 Target exists: 'True'
 Working directory: 'C:\WINDOWS\system32'
 GUI: 'False'
 Wait for exit: 'True'
 command (optional): ''

$ package -packageArgs --shimgen-version 1.2.3  --shimgen-help
[shim]:
=========
Shim Help
=========

This is a shim, generated by Chocolatey's ShimGenerator (shimgen).
This shim calls a target with the following settings:
 Target: 'C:\ProgramData\chocolatey\lib\package.1.2.3\tools\package.exe'
 Target exists: 'True'
 Working directory: 'C:\WINDOWS\system32'
 GUI: 'False'
 Wait for exit: 'True'
 command (optional): ''

It should also work if the target is  Target: 'C:\ProgramData\chocolatey\lib\package\tools\package.exe'
┆Issue is synchronized with this Gitlab issue by Unito

Based on some changes happening to the Chocolatey repositories, this issue has been moved from the chocolatey/shimgen repository to the chocolatey/home repository.

As we plan to deprecate side-by-side installs in version 2.0.0 of Chocolatey CLI, I'm going to go ahead and close this issue.


New probe for Redis

As needed to better inspect / debug Redis commands and behavior in our production services.
Credits to OpenTelemetry (https://github.com/open-telemetry/opentelemetry-ruby), which helped me find a good place for monkey-patching the redis gem and notice different ways to call Redis commands.
The tests should nicely explain how Redis commands are turned into spans.

I got the tests to run. 💪🏼


Bug: Zoom overlay is misaligned for column (and other discrete*) charts

Description
When zooming in discrete* charts, the zoom overlay (and selection) will be slightly off. As a result, the zoom event contains incorrect data which is unintuitive and annoying for the user.
*: While the columns appear to be discrete and the similarity across all affected charts, the x axis (which we zoom on) is continuous (timestamp as unix milliseconds). Furthermore, on the zoomed callback, the plot would be re-generated with data of a finer granularity.
Steps to Reproduce

Go to the stacked column charts demo
Click and drag the mouse to zoom on the x axis
See how the highlighted area is not aligned with the mouse cursor

It is also slightly off with candlestick charts, or boxplot charts
Expected Behavior
The zoom overlay should be aligned with the mouse cursor just as it behaves with line charts, area charts, mixed charts without columns, range charts, timeline charts
Actual Behavior
The zoom overlay is always slightly misaligned and not where the mouse cursor is located.
This offset however is constant as the zoom overlay is expanded.
In all cases, the plots had a datetime axis (which from my understanding is internally calculated as milliseconds).
From my understanding it should be possible to have an accurate reading, given that the zoom event exposes these accurate values (which are off due to this bug).
A issue related to the resolution/precision of the data can therefore be ruled out.
Screenshots
I tried to take screenshots but unfortunately, the cursor was not included in them.
Which is difficult as the screenshot has to be made during zooming.
It they are deemed necessary anyways I can try to provide screenshots taken using a smartphone.
Reproduction Link
The CodePen Demo is based on a demo from the apex charts website, reduced to a minimum. Change chart.type: bar to line or area and the zoom overlay works as expected.

Any news?

Also discovered the same bug and would be very happy if that could be fixed.
As I already prepared a repro-codepen, here is the link (including further bugs): CodePen
An assumption from my side: could tickPlacement: "on" be the source of the problem? At least when I count the pixels from the render area to the first tick its the same as the zoom background offset:

changing the tickPlacement is no option as the zooming functionality relies on it.


force to use sphinx 1.7.9 to restore search

maybe there is a better fix, but seems our search has been broken by updates to sphinx, tried 2.1, 2.0 then 1.8.5 localy, none of them worked, falling back to 1.7.9 did, so falling back to that for now.

I'm not sure the requirements file is used on Travis?

ah, indeed https://github.com/kivy/kivy/blob/c9157d3f898469cdf6d3414ea387d3c3c84e0950/.travis.yml#L89


Added docs on selecting and ordering optional/nullable fields

Added a short section in the where CRUD documentation, dealing with optionals. Also includes a snippet on ordering by an optional field.

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

Excellent, thank you!


Add global properties to SdkResolverContext

This will allow the NuGet SDK resolver to read the global property NuGetInteractive so it can prompt the user.

Please review ASAP to get this in so I can update NuGet's SDK resolver.

@nguerrera any thoughts or concerns with this?

I'm not a fan of this approach, as I mentioned in https://github.com/Microsoft/msbuild/issues/2095#issuecomment-301152970.

I've asked for it a few times, See #2095.

Though restricting to global properties helps, I'm not sure it's enough since you could have global properties set in a p2p reference.

At the end of #2095, I asked if global properties alone would be OK. Seems we have varying answers still. :)

I have no objections and you can close #2095 if you decide to take it. I don't have a pressing need for this either.

Nevermind...


Convert calculate-employee-redundancy-pay to use ERB templates

LGTM :+1:

Manually merged in 7cc6eb885b73e03738f2a7ebd0580683a1c0a211.


SAK-45873 Calendar: Import Events: Microsoft Outlook Comma-separated File Does Not Import Titles

https://sakaiproject.atlassian.net/browse/SAK-45873

Why keep the 'import.outlook.charset' in the translation files if all of them have the same value? Do you think we can do a cleanup here?

Why keep the 'import.outlook.charset' in the translation files if all of them have the same value? Do you think we can do a cleanup here?

Done!


chore(config): add repository.url to all package.jsons

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 96.581%

Totals

Change from base Build<PHONE_NUMBER>8:
0.0%

Covered Lines:
473

Relevant Lines:
480

💛  - Coveralls


chore(master): release 4.1.0

:robot: I have created a release beep boop
4.1.0 (2022-05-24)
Shortly after the last release, we bring you another release that brings some nice improvements and new features together with some fixes.
✅  Node 18
We have verified the support for Node 18. It introduces a native implementation of fetch API that we are using under the hood and if it is available this API will be used. This implementation wraps the errors that it throws into a nested Error object, so we unwrap these errors for better error handling.
⏳  Waiting for postage stamps to be usable
When a postage stamp is created the (BeeDebug.createPostageStamp() method is called), Bee creates an on-chain transaction that creates this transaction in the smart contract, but the stamp is not immediately "usable" as Bee waits for several blockchain blocks in order to be sure that the postage stamp won't disappear from the blockchain. During this period Bee won't accept this stamp and will return the error stamp is not usable. After this period Bee pronounces it as usable and the users can upload content using it.
In most use cases, when you create the postage stamp you want to actually wait until the stamp is usable and only then return it to the user. For that, you had to implement your own waiting logic, but no more!
The BeeDebug.createPostageStamp() method has a new option waitForUsable which if specified, then the Promise this method returns is resolved only after the Bee confirms the postage stamp to be usable. Be aware that if used, then the call time of this method raises dramatically!
In the next breaking release this option will be turned on, by default!
🔐  Wallet endpoint support
The Bee 1.6.0 release introduced /wallet endpoint that exposes the balance of the node's wallet and some other related metrics. In this release we add support for this endpoint.
Features

cids support (#681) (02d8f9c)
support for waiting on stamp to be usable (#678) (f675dc3)
wallet endpoint support (#683) (2af84c0)

Bug Fixes

modify the ENS validation to work in safari or older browsers (#687) (2e172fb)
no invalid amount for stamps (#682) (b2697d5)

This PR was generated with Release Please. See documentation.

4.1.0 (2022-05-24)
Shortly after the last release, we bring you another release that brings some nice improvements and new features together with some fixes.
✅  Node 18
We have verified the support for Node 18. It introduces a native implementation of fetch API that we are using under the hood and if it is available this API will be used. This implementation wraps the errors that it throws into a nested Error object, so we unwrap these errors for better error handling.
⏳  Waiting for postage stamps to be usable
When a postage stamp is created the (BeeDebug.createPostageStamp() method is called), Bee creates an on-chain transaction that creates this transaction in the smart contract, but the stamp is not immediately "usable" as Bee waits for several blockchain blocks in order to be sure that the postage stamp won't disappear from the blockchain. During this period Bee won't accept this stamp and will return the error stamp is not usable. After this period Bee pronounces it as usable and the users can upload content using it.
In most use cases, when you create the postage stamp you want to actually wait until the stamp is usable and only then return it to the user. For that, you had to implement your own waiting logic, but no more!
The BeeDebug.createPostageStamp() method has a new option waitForUsable which if specified, then the Promise this method returns is resolved only after the Bee confirms the postage stamp to be usable. Be aware that if used, then the call time of this method raises dramatically!
In the next breaking release this option will be turned on, by default!
🔐  Wallet endpoint support
The Bee 1.6.0 release introduced /wallet endpoint that exposes the balance of the node's wallet and some other related metrics. In this release we add support for this endpoint.

We have verified the support for Node 18. It introduces a native implementation of fetch API that we are using under the hood and if it is available this API will be used. This implementation wraps the errors that it throws into a nested Error object, so we unwrap these errors for better error handling.

Is this true? Because in our tests we actually disable it. #685

Release v4.1.0 addresses this.


Compare Chart: Code Markup and CSS for Devs

@moschel @julia-allyce - This is already to go here.  Please pay close attention to class names in the markup to keep everything consistent.  Branch is here:
https://github.com/donejs/donejs/tree/matrix-design

I am personally not a fan of how the fixed left column text is also scrollable (for small responsive), but I understand why it was designed like this in the example I used.  It's because every row would have a variable height and not line up with the rows that slide under it.  One way to achieve this would use JS .height to apply inline height to everything to ensure everything lines up.


Add Medpac Management to gameplay screen

Someone suggested adding medpac management to the gameplay screen, and even provided some artwork:

Medpacs could be shown in the gameplay screen, with a manual counter. The counter starts with 1 at each mission and can be freely increased / decreased by the players. You can also click on it to open a window with the following text:
“A hero can use a medpac when they perform a rest action, and an ally figure can use a medpac as an action. When a figure uses a medpac, it recovers 5 {H}. Medpacs can be found in crates.
[Use] [Cancel]”
Clicking “Use” decreases the counter by 1 and displays the message: “Recover 5 {H}.”

Done. 🏆


small bug in mobile ver fixed

payment buttons was not clicking in mobile version

https://github.com/simplcommerce/SimplCommerce/commit/b135cc3a5a3dbe502531ea52c0f0297bc86b9b63


Tidy enterprise documentation

Short description
As a user it should be clear to me which guides are part of the enterprise offering.
The 'enterprise' directory only contains an introduction, other docs (e.g. 'cluster management with CAPA') are mixed in with core documents. I'd assume that all enterprise documentation would live in its directory.
Possible solutions
Everything that is enterprise only is moved into the 'enterprise' directory or the enterprise directory is removed and enterprise documents have a clear call-out at the start to make them clear they only apply to that version of the application

closing based on upcoming changes to docs which should remove the enterprise directory 🤞


fix parsing of bad binary exponents in hex floats

The binary exponent must have some decimal digits
A + or - after the binary exponent digits should not be interpreted as
part of the binary exponent.

Fixes: #4500

Amazingly, the CI-macos-clang-release build started only 30 minutes ago (roughly).

Amazingly, the CI-macos-clang-release build started only 30 minutes ago (roughly).

It had failed because of a machine issue, so I restarted it.


Docs: Requirements for Init script

npx cssg init already needs access to a Contentful space. In the README we could point out the possibilities (contentful login or .env).
If it is done manually via .env, then it is important to know that the management token is also needed.
Example:
CONTENTFUL_SPACE_ID = ''
CONTENTFUL_DELIVERY_TOKEN = ''
CONTENTFUL_PREVIEW_TOKEN = ''
CONTENTFUL_MANAGEMENT_TOKEN = ''

fixed in<EMAIL_ADDRESS>Should be working fine now :)


Not working if installed from pip in ubuntu 15.10

This is what I get after installing it with pip under ubuntu 15.10, and trying to run it:
Traceback (most recent call last):
  File "/usr/local/bin/psdash", line 9, in <module>
    load_entry_point('psdash==0.6.1', 'console_scripts', 'psdash')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 558, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2682, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2355, in load
    return self.resolve()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2361, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/local/lib/python2.7/dist-packages/psdash/run.py", line 3, in <module>
    patch_all()
  File "/usr/local/lib/python2.7/dist-packages/gevent/monkey.py", line 185, in patch_all
    patch_socket(dns=dns, aggressive=aggressive)
  File "/usr/local/lib/python2.7/dist-packages/gevent/monkey.py", line 124, in patch_socket
    from gevent import socket
  File "/usr/local/lib/python2.7/dist-packages/gevent/socket.py", line 659, in <module>
    from gevent.ssl import sslwrap_simple as ssl, SSLError as sslerror, SSLSocket as SSLType
  File "/usr/local/lib/python2.7/dist-packages/gevent/ssl.py", line 386, in <module>
    def get_server_certificate(addr, ssl_version=PROTOCOL_SSLv3, ca_certs=None):
NameError: name 'PROTOCOL_SSLv3' is not defined

This is a relatively easy fix.
sudo nano /usr/local/lib/python2.7/dist-packages/gevent/ssl.py

Search for (CTRL-W) the line that includes SSLv3. Change it to SSLv23, as such
def get_server_certificate(addr, ssl_version=PROTOCOL_SSLv23, ca_certs=None):

I git this error just runing pip command
Traceback (most recent call last):
  File "/usr/local/bin/pip", line 9, in <module>
    load_entry_point('pip==7.0.3', 'console_scripts', 'pip')()
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 552, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2672, in load_entry_point
    return ep.load()
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2345, in load
    return self.resolve()
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2351, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/local/lib/python2.7/dist-packages/pip-7.0.3-py2.7.egg/pip/__init__.py", line 15, in <module>
    from pip.vcs import git, mercurial, subversion, bazaar  # noqa
  File "/usr/local/lib/python2.7/dist-packages/pip-7.0.3-py2.7.egg/pip/vcs/subversion.py", line 9, in <module>
    from pip.index import Link
  File "/usr/local/lib/python2.7/dist-packages/pip-7.0.3-py2.7.egg/pip/index.py", line 30, in <module>
    from pip.wheel import Wheel, wheel_ext
  File "/usr/local/lib/python2.7/dist-packages/pip-7.0.3-py2.7.egg/pip/wheel.py", line 35, in <module>
    from pip._vendor.distlib.scripts import ScriptMaker
  File "/usr/local/lib/python2.7/dist-packages/pip-7.0.3-py2.7.egg/pip/_vendor/__init__.py", line 92, in load_module
    raise ImportError("No module named '%s'" % (name,))
ImportError: No module named 'pip._vendor.distlib.scripts'

@elRadix This seems to be a different issue. Please try this.

This will be fixed in the next release (v0.6.2). I'll try to get it out soon. Meanwhile you can install the latest from git and it should work.

@paradoxally, allready tried it, installed, still same error

I've released v0.6.2 now. You should be able to upgrade using pip install -U psdash


bug: the tests in the token bridge has uninitialized vars

The copied file is missing some objects that are used in the test. Below I post the error-msg, but the referenced vars that are not initalized are found here:
a: https://github.com/AztecProtocol/aztec-packages/blob/aztec-packages-v0.50.1/yarn-project/end-to-end/src/e2e_cross_chain_messaging.test.ts#L137
b: https://github.com/AztecProtocol/aztec-packages/blob/aztec-packages-v0.50.1/yarn-project/end-to-end/src/e2e_public_cross_chain_messaging/deposits.test.ts#L102
Error-message when running the test:
    fixtures/shared/cross_chain_test_harness.test.ts:217:11 - error TS2304: Cannot find name 'rollup'.

    217     await rollup.write.setAssumeProvenUntilBlockNumber([
                  ~~~~~~
    fixtures/shared/cross_chain_test_harness.test.ts:218:13 - error TS2304: Cannot find name 'rollup'.

    218       await rollup.read.pendingBlockCount(),
                    ~~~~~~
    fixtures/shared/cross_chain_test_harness.test.ts:325:11 - error TS2304: Cannot find name 't'.

    325     await t.assumeProven();
                  ~

I initially thought this was just a warning, but it also prevents the tests from running...
    test/cross_chain_test_harness.test.ts:75:23 - error TS7006: Parameter 'instance' implicitly has an 'any' type.

    75     ...instances.map((instance) => deployInstance(sender, instance!).request()),


Root module outputs wrong vault_lb_addr

It looks like the output vault_lb_addr doesn't match its description.
https://github.com/terraform-google-modules/terraform-google-vault/blob/ff2003290d615b8d010c6c1300548f4742c00470/outputs.tf#L38-L46
An example output of vault_addr is https://<IP_ADDRESS>:8200 ("Full protocol, address, and port (FQDN) pointing to the Vault load balancer")
However, so is vault_lb_addr: It's also https://<IP_ADDRESS>:8200. I would expect it to be <IP_ADDRESS>. ("Address of the load balancer without port or protocol information.")
Perhaps the vault_lb_addr output in the root module meant to export the vault_lb_addr output in the sub-module instead?

Fix available at #102

#102 merged. Thanks for submitting this issue.

This is released in v5.0.1


Scrollbar is hidden on Post Modal

Expected behavior
Users have to see the scrollbar all the time (or not at all).
Actual behavior
The scrollbar is there, but it is hidden by the header of the Post Modal. When scrolling it down, it will be visible after a while.
How to reproduce
Open this post (or any long one) and scroll down to see what I'm talking about.

Browser: Firefox 51.0.1
Operating system: Ubuntu 16.10 (64bit)

Maybe connected with #141

actually the issue was there since the beginning or modal implementation, still not fixed because we're planning new direction for modal so it should be fixed soon.
https://github.com/adcpm/busy/issues/204


[Bug]: respirator not working

Mod Loader (Required)
Forge
Minecraft Version (Required)
1.19.2
Mod Version (Required)
4.0.0
Notes (Required)
respirator does not effect anything after comparing breath loss with and without it on. tried using all the items in the mod with the respirator on and off multiple times. I love the mod so its a shame.
latest.log (Optional)
No response

Fixed in v4.0.1 and v8.1.0.


[FEATURE] Get merge/diff tool config from git

Could be nice to init the merge/diff tool config from gitconfig.
For exemple :
[merge]
tool = p4merge
conflictStyle = diff3
[mergetool "p4merge"]
cmd = p4merge.exe -dw -tw 4 -le win "$BASE" "$LOCAL" "$REMOTE" "$MERGED"
[diff]
tool = p4merge
colorMoved = default
[difftool "p4merge"]
cmd = p4merge.exe -dw -tw 4 -le win "$BASE" "$LOCAL" "$REMOTE" "$MERGED"

I've pushed a commit that changes the Custom mode to Use Git Settings, which means you need not config difftool/mergetool commands in this app.

You can try it from https://github.com/sourcegit-scm/sourcegit/actions/runs/9558840357

Hi,
I have got a "[$home]\AppData\Local\Temp/git-blob-b58684/[myfile]" is invalid
The file does not exist

And "Custom" disappeared

And "Custom" disappeared

Yes, as I said, Custom has been replaced with Use Git Settings. It means there are only two ways to use external difftool/mergetool:

Use tools supported by this app. In this way, you need only provide the path to the executable file.
Use git settings. In this way, this app will open the external difftool/mergetool by command git difftool -g --no-prompt ${DIFF_OPTIONS_FROM_CHANGE} or git mergetool ${CHANED_FILE}

I've test the p4merge, and can not re-produce the issue your video shows.
https://github.com/sourcegit-scm/sourcegit/assets/4075673/496e433f-39b9-429b-b35d-a86620cc6fa6

I've add the P4Merge to the build-in external merge/diff tool. You can try from this build https://github.com/sourcegit-scm/sourcegit/actions/runs/9607351924


Avoid string concatenation in PHPMethod

An army 💂💂💂 of .-s may defeat us.

BTW This is my PHPCS sniff banning the dot operator.
https://github.com/szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset/blob/master/PSR12NeutronRuleset/Sniffs/Strings/ConcatenationUsageSniff.php

We have clear instructions in CI output:

All green 🍏 again.


Ubuntu 20.04 Docker is not running, but is?

Hello!
I've recently moved to ubuntu for development and would like to use this tool to manage my services.
The docker service is running:

But am getting a "Docker is not running" error when trying to enable MySQL:

Am I doing something wrong?

I also had the same issue, I realize by default the docker daemon required root access.
Trying installing docker as a non-root user. This link will help https://docs.docker.com/engine/security/rootless/
when you can run docker with adding sudo and the output gives
$docker

Usage:	docker [OPTIONS] COMMAND

A self-sufficient runtime for containers

Options:
      --config string      Location of client config files (default
                           "/home/cybersai/.docker")
  -c, --context string     Name of the context to use to connect to the
                           daemon (overrides DOCKER_HOST env var and
                           default context set with "docker context use")
  -D, --debug              Enable debug mode
  -H, --host list          Daemon socket(s) to connect to
  -l, --log-level string   Set the logging level
                           ("debug"|"info"|"warn"|"error"|"fatal")
                           (default "info")
      --tls                Use TLS; implied by --tlsverify
      --tlscacert string   Trust certs signed only by this CA (default
                           "/home/cybersai/.docker/ca.pem")
      --tlscert string     Path to TLS certificate file (default
                           "/home/cybersai/.docker/cert.pem")
      --tlskey string      Path to TLS key file (default
                           "/home/cybersai/.docker/key.pem")
      --tlsverify          Use TLS and verify the remote
  -v, --version            Print version information and quit

Management Commands:
  builder     Manage builds
  config      Manage Docker configs
  container   Manage containers
  context     Manage contexts
  engine      Manage the docker engine
  image       Manage images
  network     Manage networks
  node        Manage Swarm nodes
  plugin      Manage plugins
  secret      Manage Docker secrets
  service     Manage services
  stack       Manage Docker stacks
  swarm       Manage Swarm
  system      Manage Docker
  trust       Manage trust on Docker images
  volume      Manage volumes

Commands:
  attach      Attach local standard input, output, and error streams to a running container
  build       Build an image from a Dockerfile
  commit      Create a new image from a container's changes
  cp          Copy files/folders between a container and the local filesystem
  create      Create a new container
  deploy      Deploy a new stack or update an existing stack
  diff        Inspect changes to files or directories on a container's filesystem
  events      Get real time events from the server
  exec        Run a command in a running container
  export      Export a container's filesystem as a tar archive
  history     Show the history of an image
  images      List images
  import      Import the contents from a tarball to create a filesystem image
  info        Display system-wide information
  inspect     Return low-level information on Docker objects
  kill        Kill one or more running containers
  load        Load an image from a tar archive or STDIN
  login       Log in to a Docker registry
  logout      Log out from a Docker registry
  logs        Fetch the logs of a container
  pause       Pause all processes within one or more containers
  port        List port mappings or a specific mapping for the container
  ps          List containers
  pull        Pull an image or a repository from a registry
  push        Push an image or a repository to a registry
  rename      Rename a container
  restart     Restart one or more containers
  rm          Remove one or more containers
  rmi         Remove one or more images
  run         Run a command in a new container
  save        Save one or more images to a tar archive (streamed to STDOUT by default)
  search      Search the Docker Hub for images
  start       Start one or more stopped containers
  stats       Display a live stream of container(s) resource usage statistics
  stop        Stop one or more running containers
  tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
  top         Display the running processes of a container
  unpause     Unpause all processes within one or more containers
  update      Update configuration of one or more containers
  version     Show the Docker version information
  wait        Block until one or more containers stop, then print their exit codes

Run 'docker COMMAND --help' for more information on a command.

Then you know it will work now.
Using
$sudo usermod -aG docker your-user

will allow you to run docker without sudo but still takeout will not be able to.

I believe this issue has been resolved. Please let us know if you are still seeing any errors when enabling a takeout container.