Add options to force Nuget source and use local file paths with bootstrapper

Added a --force-nuget command-line argument to the bootstrapper to get paket.exe from nuget rather than github, and to not automatically fallback to github as the --prefer-nuget option does. Did this by just setting the FallbackStrategy to null, as the bootstrapper appears to already handle that here.
Additional changes coming to allow using a local file path for the nuget source specified with --nuget-source, rather than a web API.

@DavidHayden87 could you please review. thx

@DavidHayden87 Should work now as of 14b9b4c; still need to update the code for the bootstrapper to update itself with.

@forki does it make sense to be checking the latestVersion value against String.Empty like this, versus using String.IsNullOrWhiteSpace? Trying to match the surrounding code.

I guess nullorwhitespace would be better
On Nov 30, 2015 7:34 PM, "Anthony Perez"<EMAIL_ADDRESS>wrote:

@forki https://github.com/forki does it make sense to be checking the
latestVersion value against String.Empty like this, versus using
String.IsNullOrWhiteSpace? Trying to match the surrounding code.
—
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/pull/1268#issuecomment-160716916.

I've pulled down the binary from AppVeyor and tried it in our case where we pull from an internal NuGet web server, and it all seems to still work.

@forki Just updated with changes to use String.IsNullOrWhiteSpace in the places I've touched, left all other use of String.Empty as-is for someone else to worry about. :wink:
@DavidHayden87 Thanks!


(#2635) You are calling a deprecated version of the Ads API.

Hello,
I am trying to do a basic call to get the ads of the account but get this error:
(#2635) You are calling a deprecated version of the Ads API. Please update to the latest version: v2.9.
I can create an instance perfectly :D but get stuck with trying to retrieve the ads :( Code below:
namespace App\Http\Controllers\FacebookMarketing;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

use LaravelFacebookAds\Services\FacebookAdsService;
use LaravelFacebookAds\Clients\Facebook;

class FacebookController extends Controller
{
    /** @var FacebookAdsService */
    protected $facebookAdsService;

    public function __construct(FacebookAdsService $facebookAdsService, Facebook $facebookClient)
    {
        $this->facebookAdsService = $facebookAdsService;
        $this->facebookClient = $facebookClient;
    }

    /**
     * Show ads
     *
     * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
     */
    public function index()
    {
    	$instance = $this->facebookAdsService->instance();

    	print_r($instance);//woo works! got my instance :D

    	$client = $this->facebookClient;
        $accountId = 'act_1234567890';
        dd($client->account($accountId)->ads()); //#2635 error :(
    }

}

Hi @nickbluestone98
Did you remember to update to the latest version? Please check your composer.lock

Hello, thanks for your response.

Updated your lib to 1.0.3
My composer.lock facebook api version 2.10.1

No deprecation error now! thanks! Woo!
I am getting a AuthorizationException Unsupported get request. in RequestException.php (line 144) The account ID I am using has admin access and the Ads API Access Level:development.
Is this something at my end or an issue with the API?
Regards,
Nick.

@nickbluestone98
Did you follow the instructions on generating an api token?

@nikolajlovenhardt ,
I did the generation of everything through the Marketing Facebook API menu with the QuickStart instead of your method. I am now getting a response object, thanks for all your help 👍 .
I need to work out how to pull data for a specific business page through the API, if you can advise that would be great.
My response object looks like this
array:2 [▼
  "data" => array:1 [▼
    0 => array:10 [▼
      "frequency" => "0"
      "impressions" => "200"
      "reach" => "0"
      "social_impressions" => "200"
      "social_reach" => "0"
      "spend" => "20"
      "total_actions" => "0"
      "total_unique_actions" => "0"
      "date_start" => "2017-09-10"
      "date_stop" => "2017-10-09"
    ]
  ]
  "paging" => array:1 [▼
    "cursors" => array:2 [▼
      "before" => "MAZDZD"
      "after" => "MAZDZD"
    ]
  ]
]

My code:
    public function index()
    {
    	$instance = $this->facebookAdsService->instance();

    	//dd($instance);//woo works! got my instance :D

    	$client = $this->facebookClient;

        $accountId = 'act_123445566721';

        $fields = array(
		  'frequency',
		  'impressions',
		  'reach',
		  'social_impressions',
		  'social_reach',
		  'spend',
		  'total_actions',
		  'total_unique_actions',
		);

        dd( $client->account($accountId)->getAccount()->getInsights($fields )->getResponse()->getContent() );

    }

I have no idea where it is pulling that data from... I really need to link that to a specific business page.
Nick.


Hide thanks clip not working

Hello Trudeau566 I had a similar problem, I was able to fix it by just going full screen in and out, and then it will do as intended but it's a temporary fix.

What browser are you using? and what version of AdashimaaTube are you using?

你使用的是什么浏览器？ 您使用的是什么版本的 AdashimaaTube？

edge
AdashimaaTube 2.14
It suddenly failed a few days ago

This issue also happened to me before, but only the "CLIP" button was appearing even when disabled.

I can't help since I couldn't reproduce on my end. I guess is a bug of browser.

2.1.8 version problem solved


Unable to run gui.py on more recent matplotlib

I am using Python 3.9.12 and with matplotlib 3.6.1 and trying to run the gui. Initially I would get the "IMPORTANT: Resizing figure is not supported" error from line #80. Then I realized that my backend was set to MacOSX, so I installed PyQt5, and then tried switching matplotlib's backend by adding the following to the top of gui_utilities.py:
import sys
import matplotlib
matplotlib.use('Qt5Agg')
import matplotlib.pyplot as plt

This doesn't error right away but I can't see a visible GUI...
Trying to deprecate matplotlib now based on requirements.txt, but is there an easier way to run the gui on updated matplotlib?

Update: created a virtual environment in conda with
python=3.6 numpy=1.14.0 scipy=1.0.0 matplotlib=2.1.2

The backend now matches the expected Qt5Agg, and the code appears to execute, but no GUI window is soon. This is with X-forwarding from a remote linux machine so that could be a part of the issue.

Hi, thanks for pointing this out! I will look into it as soon as I find some time - there were some issues with this before as well, and I was only testing on my machine at the time running Windows.

The issue seemed to stem from a missing plt.show(block=False) line that is required to render the initial figure and allow the interactive updates afterwards. I have updated the code to set the default backend to Qt5Agg as the default MacOSX on Mac systems was still not behaving as expected. The requirements.txt was updated to reflect this additional requirement.


[10.x] Add prefix support to rate limit key

Related issues and PRs: https://github.com/laravel/framework/issues/28323 https://github.com/laravel/framework/issues/16786 https://github.com/laravel/framework/pull/28339 https://github.com/laravel/framework/pull/28856
The same issue, which was resolved in https://github.com/laravel/framework/pull/28856 for inline throttle definition in middleware.
Example:
// User can send 1000 requests of any kind in an hour.
Route::prefix('pane')->middleware('auth', 'throttle:1000,60')->group(function() {
    // User can download 10 times a minute, but not more than 100 times an hour.
    Route::post('/download', 'Ctrl@create')->middleware('throttle:10,1,minute_download', 'throttle:100,60,hour_download');
    // User can email 5 times an hour
    Route::post('/email', 'Ctrl@email')->middleware('throttle:5,60,email');
    // User can search 100 times an hour
    Route::get('/search', 'Ctrl@search')->middleware('throttle:100,60,search');
});

This pull request adds prefix support to the by() method of the rate limiter. The by() method is used to set the key of the rate limit. With this change, you can now specify a prefix string that will be added to the key, allowing you to easily differentiate between different rate limits that use the same key.
The updated method signature now includes an additional parameter $prefix which is an optional string. If a prefix is provided, it will be concatenated with the $key parameter, and the resulting string will be used as the rate limit key.
This change provides greater flexibility and control over rate limiting in Laravel applications, particularly in cases where multiple rate limits may need to be applied to the same key.
I've tested this change thoroughly and it has been working as expected in my local environment.
Thank you for considering this pull request.
Example:
protected function configureRateLimiting(): void {
	$unique_identifier = 1;
	RateLimiter::for('verify-code', function (Request $request) use ( $unique_identifier ) {
    		$phone = $request->input('phone');
    		return [
    			Limit::perMinute(config('rate-limits.verify-code.every-minute'))->by($phone, $unique_identifier++),
    			Limit::perMinutes(5, config('rate-limits.verify-code.every-5-minutes'))->by($phone, $unique_identifier++),
    			Limit::perMinutes(30, config('rate-limits.verify-code.every-30-minutes'))->by($phone , $unique_identifier++),
    			Limit::perHour(config('rate-limits.verify-code.every-1-hour'))->by($phone, $unique_identifier++),
    			Limit::perMinutes(360, config('rate-limits.verify-code.every-6-hours'))->by($phone, $unique_identifier++),
    			Limit::perDay(config('rate-limits.verify-code.every-day'))->by($phone, $unique_identifier++),
    		];
		});
	}

It seems pretty fine.

I had a problem in rate limiter, and it doesn't work on multiple rate limiter fine, it can fix that issue.

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.

Just pass the prefix to by directly.

As @taylorotwell mentioned here is the solution:
Handle rate limit in RouteServiceProvider.php

RateLimiter::for('get-sms', function (Request $request) {
			$ip = $request->header('x-real-ip') ?? $request->ip();
			return [
				Limit::perMinute(config('rate-limits.get-sms.every-minute.value'))->by($ip . config('rate-limits.get-sms.every-minute.key')),
				Limit::perDay(config('rate-limits.get-sms.every-day.value'))->by($ip . config('rate-limits.get-sms.every-day.key')),
			];
		});

Sample route:
Route::get('/getSms', [ V1::class , 'getSms'])->middleware(['throttle:get-sms']);

Or handle rate limit in api.php ( inline mode ):

Route::any('/getSms', [ V1::class , 'getSms'])->middleware('throttle:10,1,get-sms-per-minute-limit', 'throttle:100,86400,get-sms-per-day-limit');


hca-util sync'ed files still missing in ingest

Describe the bug
After using hca-util to sync the files to the ingest s3 bucket the files' status remains missing in ingest, despite the files being present in the ingest s3 bucket.
This is problem persists after deleting the submission, reuploading the spreadsheet and syncing the files again.
Affected projects: potentially all new project
examples:

DendriticCellActivationHCM - ebi-ait/hca-ebi-wrangler-central#1227
EndStageHeartFailureSimonson - ebi-ait/hca-ebi-wrangler-central#1225

To Reproduce
Steps to reproduce the behaviour:

Go to https://contribute.data.humancellatlas.org/projects/all
Selct one project and upload a spreadsheet - example
Upload files with hca-util sync - example uuid fa6518af-997d-4c4a-9936-e3e83f97d926
Files are transferred succesfully
See error - the files are still missing in the submission

Expected behaviour
I expect the files to be recognised by ingest and validation to start
Environment

[x] prod
[x] staging - test here with same project as above
[ ] dev

Browser

[ ] Chrome
[ ] Safari
[ ] IE
[x] Firefox

Trying to follow dev troubleshooting sop

Step 2.  validation job logs in aws
nothing here

Step 3.  file in s3
file is there, nothing evident

Step 4. lambda function logs - filtering for the file
dcp-upload-csum-prod. I found errors sending notifications to ingest about fie validation status:
2024-01-18T17:44:10+0000 INFO
upload.common.ingest_notifier failed to send notification d47ab7e8-69b7-4a59-8741-b50653ebd87b with payload

{
'upload_area_id': '8e330a2f-25c1-4bb7-95a0-0fc4e602b0bd',
'name': 'Human_5171_counts_0_1_HHJTNDSXY_S1_L003_I1.fastq.gz',
 'size': 894113556,
'content_type': 'binary/octet-stream; dcp-type=data',
 'url': 's3://org-hca-data-archive-upload-prod/8e330a2f-25c1-4bb7-95a0-0fc4e602b0bd/Human_5171_counts_0_1_HHJTNDSXY_S1_L003_I1.fastq.gz',
'checksums': {
   'sha1': 'e6353f4c2aa830d3d58cc3278d4d10465ea20f08',
   'crc32c': '824be187',
   'sha256': '2b46f29fdd0e1894d9c333755061c1d6e2dc34290d16d044ff6ee5df00144fa3',
   's3_etag': 'cfdda042513ef5106a9cf273a4e57380-14'
 },
'last_modified': '2024-01-18T17:44:05+00:00'
}

and error Expecting value: line 1 column 1 (char 0)

This is probably not the issue, as a bit further down the log, at 024-01-18T17:44:41.087+00:00, it shows that the notification succeeded.
[INFO]	2024-01-18T17:44:41.87Z	7b41a1e8-92e3-5879-947f-ffcbf775ef3a	Notified Ingest: file_info={
'upload_area_id': '8e330a2f-25c1-4bb7-95a0-0fc4e602b0bd',
'name': 'Human_5171_counts_0_1_HHJTNDSXY_S1_L003_I1.fastq.gz',
'size': 894113556,
 'content_type': 'binary/octet-stream; dcp-type=data',
'url': 's3://org-hca-data-archive-upload-prod/8e330a2f-25c1-4bb7-95a0-0fc4e602b0bd/Human_5171_counts_0_1_HHJTNDSXY_S1_L003_I1.fastq.gz',
'checksums': {
   'sha1': 'e6353f4c2aa830d3d58cc3278d4d10465ea20f08',
   'crc32c': '824be187',
   'sha256': '2b46f29fdd0e1894d9c333755061c1d6e2dc34290d16d044ff6ee5df00144fa3',
   's3_etag': 'cfdda042513ef5106a9cf273a4e57380-14'},
 'last_modified': '2024-01-18T17:44:05+00:00'},
status=d47ab7e8-69b7-4a59-8741-b50653ebd87b

Step 5: suspicious error messages in the logs
Looking in the logs of ingest-core in Grafana I noticed errors related to the service account<EMAIL_ADDRESS>java.lang.RuntimeException: com.auth0.jwk.SigningKeyNotFoundException: Cannot obtain jwks from url
<EMAIL_ADDRESS>
Hitting the url mentioned in the error message resulted in an HTTP 404 error message:
{
  "error": {
    "code": 404,
    "message": "Requested entity was not found.",
    "status": "NOT_FOUND"
  }
}

Investigating in the GCP console, I noticed the project ingest-service-301110 was shut down & marked for deletion. I was able to restore it, and that fixed the problematic url, which now is back to return the public keys.
The next step is to verify whether this solved the file validation problem.

It was indeed the deleted GCP project ingest-service-301110 that caused this mess.
The workaround for any affected projects is to re-sync the upload area so that validation is re-triggered.


Ecommerce tracking scripts

Hi @punalsc,
Would you be able to have a look at this PR? One thing I also meant to ask: with the extractMetaTagContent module, you pass 2 parameters - the meta tag name and a custom message to be displayed if the meta tag can't be found. However, if we use these parameters, certain properties in the object are then set to 'Meta tag not available' when Helen doesn't actually want them sent i.e. if the id meta tag doesn't exist because the purchase hasn't been completed, the object will say id: 'Meta tag not available'. Instead, should we pass null as a parameter instead of a custom message? Then these properties can be removed when Helen doesn't need them.
Many thanks,
James
P.S. - Hope the code is understandable, feel free to slack me whenever if I haven't made sense.

Hi @JamesWChan,
The PR looks good. Could you coordinate with @Helen-Creeke , to see if the data is coming through. Let me know when this is done, and i can do the merge. Cheers


Allow tradeparty electronic address with leitwegid like setEmail

I'm using ZUGFeRD2PullProvider with the profile XRechnung.
I want do add the recipient. It's necessary for validation to add an electronic address. I want to use the leitwegId instead of the email-address.
Maybe you can provide a new method setElectronicAddress(String address, String easCode) for this purpose? In Javadoc you can add a hint to use the eas-code from this list: https://www.xrepository.de/details/urn:xoev-de:kosit:codeliste:eas_5#version
<ram:BuyerTradeParty>
        <ram:ID>98765</ram:ID>
        <ram:Name>Mustermann GmbH</ram:Name>
        <ram:PostalTradeAddress>
          <ram:PostcodeCode>99999</ram:PostcodeCode>
          <ram:LineOne>Teststraße 1</ram:LineOne>
          <ram:CityName>Musterhausen</ram:CityName>
          <ram:CountryID>DE</ram:CountryID>
        </ram:PostalTradeAddress>
        <ram:URIUniversalCommunication>
          <ram:URIID schemeID="EM">mustermann@example.com</ram:URIID>
        </ram:URIUniversalCommunication>
      </ram:BuyerTradeParty>

setElectronicAddress("123456789", "0204") should generate:
<ram:BuyerTradeParty>
        <ram:ID>98765</ram:ID>
        <ram:Name>Mustermann GmbH</ram:Name>
        <ram:PostalTradeAddress>
          <ram:PostcodeCode>99999</ram:PostcodeCode>
          <ram:LineOne>Teststraße 1</ram:LineOne>
          <ram:CityName>Musterhausen</ram:CityName>
          <ram:CountryID>DE</ram:CountryID>
        </ram:PostalTradeAddress>
        <ram:URIUniversalCommunication>
          <ram:URIID schemeID="0204">123456789</ram:URIID>
        </ram:URIUniversalCommunication>
      </ram:BuyerTradeParty>

good idea, I suggest to use a SchemedID instance for that purpose, three possibilities:

I can show you how to implement & push it yourself (possible meetings e.g. https://doodle.com/meeting/participate/id/b6Y3gqLa),
You could wait until someone has time and feels like it
if you want to push it: commercial support support for that is clearly in the three-digit-euro-range


Fix import for mainline pytest and some changes to nginx cluster.

pytest -v from top level directory now works. Also some minor changes to
nginx cluster.

Current dependencies on/for this PR:

main

PR #173   👈

PR #174

This stack of pull requests is managed by Graphite.

Merge activity

Nov 22, 10:45 PM: @rohinb2 started a stack merge that includes this pull request via Graphite.


Norminette program escape * with a . And stop flag every norm error.

Describe the bug
If you make a comment like this: /**/ but add a backslash between the two *, the norminette considers that everything below is inside a comment.
Erroneous code
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   main.c                                             :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: lseiller<EMAIL_ADDRESS>                  +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2022/12/08 14:17:47 by lseiller          #+#    #+#             */
/*   Updated: 2022/12/08 14:19:36 by lseiller         ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#include <unistd.h>

/*\*/
int	main()
{
	for (int i = 0; i < 10; i++)
		write(1, "42\n", 3);
	return (0);
}
/**/

Additional infos

OS: Ubuntu 22.04.1 LTS
python --version: Python 3.10.8
norminette -v: norminette 3.3.51

Additional context
The norminette should tell us that using a for control structure is forbidden. But the norminette doesn't report an error and tells us that everything is OK.
Since everything between /*\*/ is ignore by norminette, student could use that to avoid everything in the 42 norm.
In correction it can be quite visible, if he use for loops, switch case etc. For the rest, it's hard to see with the our eye the rows spending 80 in columns, the functions with more than 25 line, aso...

duplicate #293


Reflector metrics are not available

Expected Behavior
See reflector metrics exported
Actual Behavior
No reflector metrics are exported
Steps to Reproduce the Problem

Installed v0.19.0 for Knative Serving on OCP, K8s version v1.18.2.
Port-forward and listed metrics for the Controller pod, for a dump check here

It seems this is due to https://github.com/kubernetes/kubernetes/pull/74636 check relevant discussion here https://github.com/kubernetes-sigs/controller-runtime/issues/817. Not sure if this has been discussed before, I see a related comment here. Should we remove these metrics?
/cc @mattmoor @evankanderson @vaikas

I dug into the client go/pkg commit history, so the metrics stopped being used from this commit Upgrade kubernetes-1.12.6 -> kubernetes-1.12.9 (#508).


Change min/max daily lend rate depending on exchange

Description
Allowing bot to change the max daily lending rate percent, which is 7% on Bitfinex and 5% on Poloniex, depending on current exchange being used
TESTING STAGE
tested for 24 hours + and executed at least one loan offer on Bitfinex
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have read CONTRIBUTING.md
[x] I fully understand Github Flow.
[x] My code adheres to the code style of this project.
[x] I have updated the documentation in /docs if I have changed the config, arguments, logic in how the bot works, or anything that understandably needs a documentation change.
[x] I have updated the config file accordingly if my change requires a new configuration setting or changes an existing one.
[x] I have tested the bot with no issues for 24 continuous hours. If issues were experienced, they have been patched and tested again.

Also I'm pretty sure there are a few more files needed to be edited but it seemed to work with just this one and I wanted to push out this PR. Thanks!

Hi @chriscrutt
Thanks for the PR and contributing, could you make a cosmetic change?
exchangeMax = 7 if exchange == 'BITFINEX' else 5

Then use exchangeMax in bot min&max lines... a bit less code to achieve the same functionality.

I added a new commit


feat: 5204 - multi-product price addition

What

Now we can add several product prices in one shot, and even offline.
For the time being, it's just that on all the "add a single price" pages we can add and remove products (and their prices).
The products are found by barcodes, locally, and from the server if needed.
Many possible improvements in next PRs:

more obvious "Add prices" / "Add receipt" buttons - but I don't know where to put them in the app
more refined product selection - scanner, list of previous "price" products, list of local products, full text search, ...

Screenshots

top
middle
bottom

Et voilà:

Fixes bug(s)

Fixes: #5204

Impacted files

app_en.arb: added 3 labels and removed one redundant one
app_fr.arb: added 3 labels and removed one redundant one
background_task_add_price.dart: now we manage multiple products, in Lists
price_amount_card.dart: small UI/UX differences for a single product among several products; minor code simplification
price_model.dart: now we manage multiple products
price_product_search_page.dart: added "no initial product" case
product_price_add_page.dart: now we manage multiple products

Codecov Report
Attention: Patch coverage is 0.96154% with 103 lines in your changes missing coverage. Please review.

Project coverage is 7.38%. Comparing base (4d9c7fc) to head (f9a3e61).

Files
Patch %
Lines

..._app/lib/background/background_task_add_price.dart
0.00%
43 Missing :warning:

...kages/smooth_app/lib/pages/prices/price_model.dart
0.00%
21 Missing :warning:

...smooth_app/lib/pages/prices/price_amount_card.dart
0.00%
20 Missing :warning:

...h_app/lib/pages/prices/product_price_add_page.dart
0.00%
19 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           develop   #5375      +/-   ##
==========================================
- Coverage     9.54%   7.38%   -2.17%
==========================================
  Files          325     384      +59
  Lines        16411   19633    +3222
==========================================
- Hits          1567    1449     -118
- Misses       14844   18184    +3340

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Thank you @teolemon for your quick review!
Play with it and tell me what you like / don't like.
cc @raphael0202 @raphodn


Fix FIPS related config issues

This PR fixes 3 issues:

A mem leak in the event that a mis-configuration causes the FIPS module to fail to load
A failure to apply "default_properties" in the config file in the event that a provider fails to load
A hang when trying to use "fips_mode=yes" from inside a config file

This also adds a test case for the above issues which includes negative testing to ensure proper behaviour in the event that the FIPS provider fails to load.
Fixes #16166
Fixes #16163
Fixes #16165

The CI test failures appear to be test order related. I can recreate with a default build and:
make TESTS=test_evp_fetch_prov OPENSSL_TEST_RAND_ORDER=1627403827 test

Fixup applied. Lets see if that makes a difference.

CIs are now all green.

I've marked this as urgent given the close proximity to the final beta release.

Great work tracking these down.  They don't look like they were easy to diagnose.

Still approved and useful change to make the context always clear.

Merged to master, thanks for the fix and review.


View and edit configuration details for all the components.

Description
As a Privacy Engineer, I want to check and edit the configuration details I have entered for the components.
Assumptions

The user completed all the configuration tasks.
The user has all the required permissions.

AC

I can view the configuration details entered for all the components from the privacy requests tab.
When I click on a component (messaging provider configuration or storage configuration), I’m presented with an alert showing that this is an existing configuration, and to exercise caution before editing.
I can click to edit individual parts of the current type of component
I can switch between component types and add/edit configuration specific to that type.
I can save to update the details and delete to clear the entire configuration for a type.
I can test the configuration wherever it’s applicable.

Figma link

This work is completed as part https://github.com/ethyca/fides/issues/2236


Make it work with AFNetworking 3.0.0

AFNetworking changed it's architecture to use NSURLSession and we need to migrate this in our app, but RACExtensions doesn't even seem to install because of dependencies:
[!] Unable to satisfy the following requirements:

- `AFNetworking/NSURLSession (= 3.0.0)` required by `AFNetworking (3.0.0)`
- `AFNetworking/NSURLSession (= 3.0.0)` required by `AFNetworking/UIKit (3.0.0)`
- `AFNetworking/NSURLSession (~> 2.0)` required by `AFNetworking-RACExtensions/NSURLSession (0.1.8)`

Any chance someone was able to make this work?
Thanks!

  s.subspec 'NSURLConnection' do |ss|
    ss.dependency 'AFNetworking/NSURLConnection', '~> 2.0'
    ss.dependency 'ReactiveCocoa/Core', '~> 2.0'
    ss.source_files = 'RACAFNetworking/AFURLConnectionOperation+RACSupport.{h,m}', 'RACAFNetworking/AFHTTPRequestOperationManager+RACSupport.{h,m}'
  end

  s.subspec 'NSURLSession' do |ss|
    ss.dependency 'AFNetworking/NSURLSession', '~> 2.0'
    ss.dependency 'ReactiveCocoa/Core', '~> 2.0'
    ss.source_files = 'RACAFNetworking/AFHTTPSessionManager+RACSupport.{h,m}'
  end

RACExtensions needs AFNetworking 2.x. if you want to work with AFNetworking 3.x , the pod spec has to be modified.

Honestly I can't maintain this package anymore, nor do I have the desire to given the direction AFNetworking is heading and the way RAC is too.  If you want to submit a pull request offering 3.0 support, then this framework needs to be updated to work with the latest RAC too, and that necessitates a rewrite I don't want to do.  If either of you wishes to take over this repository from me, I'm open for suggestions, otherwise you'll have to update this on a fork and maintain it there.
I'll be updating the README to discuss this feature freeze.

Great library, sad that u can't maintain it anymore. So many people need it)

Great library!!!
Thank you for providing so great library.
Would you tell me why RACExtensions needs AFNetworking 2.x.
I want to fit 3.0...how can i do ?


Documentation seems to provide an incorrect example on adding hosts file entry for docker host

An example is provided on this page
https://docs.docker.com/reference/commandline/cli/#adding-entries-to-a-container-hosts-file
...detailing how to add an entry in the docker container's hosts file to the docker host.
As far as I can see this actually injects the ip of the default gateway on the parent host which doesn't help.
Perhaps a better example would be to inject the ip of the docker0 interface as follows:
$ docker run  --add-host=docker:ip route show | grep docker0 | awk '{print \$9}' --rm -it debian

closed by https://github.com/docker/docker/pull/10902


Arch Linux AUR deployment

Description
It would be very helpful for Arch Linux/Manjaro users (i.e. me) to deploy to the AUR automatically (in the same way we deploy to pypi). This PR aims to test this action.
Checklist:

[X] I have performed a self-review of my own code
[X] My code is PEP8 compliant (flake8 anesthetic tests)
[X] My code contains compliant docstrings (pydocstyle --convention=numpy anesthetic)
[X] New and existing unit tests pass locally with my changes (python -m pytest)
[X] I have added tests that prove my fix is effective or that my feature works
[X] I have appropriately incremented the semantic version number in both README.rst and anesthetic/_version.py

@lukashergt this has worked when it was part of the CI workflow, so all that remains to be tested is as a part of the full deployment, which can only be done through a full merge.

@appetrosyan it looks like GitHub needs you t to be a collaborator for your review to count -- could you accept the invite and then re-approve?

Depends on branch protection rules. Thank you for the invitation, though. I feel it's high time to include supernest and paranestamol


Update rcsInfo and legacyInfo schema for RCS v2.0

RCS version is updated(v2.0)
agencyKey, brandKey, kisaOrigCode are added for security

int type에 max_length를 constraints 설정을 해서 테스트코드 에러나고 있어서 수정했습니다.

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (aa6b458) 100.00% compared to head (b6d43e3) 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##              main       #18    +/-   ##
==========================================
  Coverage   100.00%   100.00%
==========================================
  Files            1         6     +5
  Lines            1       985   +984
==========================================
+ Hits             1       985   +984

Impacted Files
Coverage Δ

rcs_pydantic/__init__.py
100.00% <100.00%> (ø)

rcs_pydantic/enums.py
100.00% <100.00%> (ø)

rcs_pydantic/errors.py
100.00% <100.00%> (ø)

rcs_pydantic/exceptions.py
100.00% <100.00%> (ø)

rcs_pydantic/main.py
100.00% <100.00%> (ø)

rcs_pydantic/scheme.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Clarify a few sections

IWYU is not required.
Inline functions clarifications.
Within pydrake, we use clang-format.

(Still WIP.)

This change is

cppguide.html line 393 at r1 (raw file):

Inline Functions

WIP

Working
In particular, DRAKE_DEMAND or DRAKE_THROW_UNLESS is not on its own a reason to move a function definition into the cc file.  We have carefully tuned those functions to have a reasonable impact on object code, even when inlined.
\CC @rpoyner-tri FYI

Tagging everyone for review, please:
+@ggould-tri
+@rpoyner-tri
+@sherm1
+@sammy-tri
+@SeanCurtis-TRI
+@xuchenhan-tri
+@EricCousineau-tri
+@RussTedrake
I'll leave this open for one week (until 2022-10-31) for any comments, at which point I'll unassign anyone who hasn't replied.


8-2 HW

Added:
RemoveAll in DAOs, Repositories, Api and Db clients by truncate table cascade;
Added tests to check tests ordering by:

Classes (IsolatedFirstTests, IsolatedSecondTests, IsolatedThirdTests);
Methods (IsolatedTests).

HW was approved in: https://github.com/arrnel/niffler-ng-6/pull/35.
New PR after changing branch name.


Write a Scala program to find the eigenvalues of a matrix

Description
Write a Scala program to find the eigenvalues of a matrix
The eigenvalues and eigenvectors of a linear transformation are the values and vectors that determine the transformation. The eigenvalues of a matrix A are the values λ for which the matrix equation Av = λv has a non-trivial solution.
Input  :
1 2 3
4 5 6
7 8 9

Output :
16.116843969807043
-1.1168439698070427
0.9999999999999998

How to contribute

Save the solution in findTheEigenvaluesOfAMatrix.scala file
Add findTheEigenvaluesOfAMatrix.scala file in program/find-the-eigenvalues-of-a-matrix folder

i'd like to solve the problem, would you assign me to it , thanks!


be able to use a entity with DiscriminatorMap

Use DiscriminatorMap with two entities and consolidate them into a single index

Hello @james2001 thank you for your PR.
Could you please elaborate and give me an example of your use case for this change ?
Thank you :)

Hi @npotier,
Thank you for your feedback. Here’s an example of the use case for my PR:
In my project, I utilize Doctrine to manage data persistence, and I have a Subnet entity with two subclasses: SubnetV4 and SubnetV6. These subclasses represent different versions of subnets in my system. I employ the JOINED inheritance strategy, so Doctrine returns instances of SubnetV4 or SubnetV6 depending on the cases.
I wish to index these subnets in Typesense for later searching. I have a Typesense configuration defined in acseo_typesense.yaml to index the Subnet entity. However, without my modification, the Typesense bundle does not recognize instances of SubnetV4 or SubnetV6 as instances of Subnet, and thus, they aren't indexed correctly.
Here's my configuration:
#acseo_typesense.yaml
acseo_typesense:
    typesense:
        url: '%env(resolve:TYPESENSE_URL)%'
        key: '%env(resolve:TYPESENSE_KEY)%'
        collection_prefix: '%env(TYPESENSE_PREFIX)%'
    # Collection settings
    collections:
        subnets:
            entity: App\Entity\Subnet
            fields:
                id:
                    name: id
                    type: primary
                sortable_id:
                    name: sortable_id
                    type: int32
                    entity_attribute: id
                name:
                    name: name
                    type: string
            default_sorting_field: sortable_id

And my Subnet entity:
//Subnet.php
#[ORM\InheritanceType('JOINED')]
#[ORM\DiscriminatorColumn(name: 'type', type: 'integer')]
#[ORM\DiscriminatorMap([4 => SubnetV4::class, 6 => SubnetV6::class])]
class Subnet
{
//....
}

With my PR, I've amended the bundle to recognize SubnetV4 and SubnetV6 as subclasses of Subnet, so now, they are indexed correctly under the Subnet entity in Typesense.
I hope this elucidates the necessity of my PR. I’m happy to provide further information if needed.
Thank you!

Thank you @james2001 for your explanations and your contribution.
Your work is merged here : https://github.com/acseo/TypesenseBundle/pull/93 (I have just addes some comments and tests.)
The feature is available with the 0.7.1version of the bundle.


Added a new macro called disableAutofill

Prevent password managers to autofill user/email and password fields.
WHY
BEFORE - What was wrong? What was happening before this PR?
When creating or editing a user in backpack, password managers like lastpass often auto-fill email and password fields with the saved credentials for that website.
AFTER - What is happening after this PR?
Prevent password managers to auto-fill these fields.
HOW
How did you achieve that, in technical terms?
On page load set the fields to be readonly and then remove the readonly attribute on input focus.
Is it a breaking change?
No
How can we test the before & after?
Create a new crud controller with these fields and make sure you have a password manager with some credentials saved.
The password manager should not auto-fill the read-only fields.
CRUD::field('id');
CRUD::field('email')->type('email');
CRUD::field('password')->type('password');

->
CRUD::field('id');
CRUD::field('email')->type('email')->disableAutofill();
CRUD::field('password')->type('password')->disableAutofill();

Hey @susanu thanks again for one more contribution. 🙏
I get the problem you are trying to solve. I would avoid using a js solution as much as possible if there is something else that works too.
I am not sure about the password managers, but browsers have compatibility with the autocomplete="new-password" on the inputs, https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion#preventing_autofilling_with_autocompletenew-password
I think most browsers respect that directive AFAIK, so should the password managers that integrate with the browsers.
Mind testing, or are you aware it won't work ?
Let me know what you think.
Cheers

Hi @pxpm,
I wrote this piece of code like 1.5 years ago and i know at that time i had issues with getting the browser/password manager to not auto-fill the email and password fields.
Some of the browsers respected that, some of them not and then i came across this ugly fix.
It's possible that this is not the case anymore, i just tested again on 2 different environments and it was ok without the code.
If nobody has this issue with auto-fill, i think you should reject the pull request or change it with your own implementation.
Sorry about this.

Sure, I am happy that it works without the JS.
Probably we will find some browser that does not respect that, but I think by now it should be "okaish" for most scenarios.
I don't dislike the disableAutoFill macro that much. If it were a more request feature I would consider adding it to CRUD. But I think by now it's the first time someone asks for it, either because they don't need, or because they found a solution for it.
I will be closing this. This is in a public repo so should be archived by google and be visible on the organization search.
If interest on this comes up we can always re-evaluate.
Thanks again for a very good suggestion 🙏


Missing date values in csvs

The ruby code misses date values when it exports project data to a CSV file. It seems like this code needs a line to dig date values around L322 in field_value_attributes.
E.g.:
        field_value_data.dig("date") || \

I'm adding a test date to https://github.com/users/fiedl/projects/2/views/1 to try this out.

[2023-07-13 21:56:05] fiedl@fiedl-mbp ~/rails/github-project-to-csv main 90f25af
▶ ./github-project-to-csv.rb --project https://github.com/users/fiedl/projects/2 --output project.csv
▶ open project.csv

The test date is not exported as reported.

[2023-07-13 22:06:04] fiedl@fiedl-mbp ~/rails/github-project-to-csv main e890233
▶ ./github-project-to-csv.rb --project https://github.com/users/fiedl/projects/2 --output project.csv

@sakatani Thanks for reporting this. Could you update to the latest commit and try it again?

@fiedl This works now. Thank you!


Finish Main Repo ReadMe

everybody create an ORCID and put into readme

Ty's ORCID: https://orcid.org/0009-0003-0699-5838

Shaun's ORCID: https://orcid.org/0009-0007-1998-3392

Kelly's ORCID: https://orcid.org/0009-0004-2508-4746


Updated the version to release the "async_await" feature

Hey :wave:!
I see that an async_await feature was added but no version containing it has been pushed to crates.io, so I just bumped the version number so that you can re-publish the crate :smile:.
Thank you! :heart:

Argh... GitHub's UI tricked me into merging this branch into my fork's master :rofl:


More inertia fixes

The previous PR with inertial parameter fixes did not sufficiently address the disparity in how inertial parameters in pi format require moments of inertia w.r.t. centers of mass, while inertial parameters in theta format require moments of inertia w.r.t. body origins.  That previous PR managed to load inertial parameters in a way that made the original pi parameters match those provided in the URDF.  However, it neglected to convert to/from theta format accurately, given pi format did not contain the correct moments of inertia expected by the Rucker and Wensing pi-to-theta conversion.
To address this discrepancy, this PR proposes to replace any mention of pi parameters with one of two alternatives:  pi_o or pi_cm, both in the original pi format but with moments of inertia expressed w.r.t. the body origin or the body center of mass, respectively.  Inertial parameters can be converted between these two via InertialParameterConverter.pi_o_to_pi_cm() and InertialParameterConverter.pi_cm_to_pi_o(), which perform the conversions using the Parallel Axis Theorem.
Thus, theta format is calculated via Rucker and Wensing's method, starting from pi_o format.
This PR primarily involves the additional necessary functionality in inertia.py to represent and convert to/from the new inertial parameter formats.  Secondary files multibody_terms.py and urdf_utils.py feature variable name changes to clarify pi_o versus pi_cm format and function call changes to reference new methods in inertia.py.

The latest commit (e470600) corrected a bug in the pi_o to pi_cm and pi_cm to pi_o conversions which turned positive any negative I_xy, I_xz, I_yz off-diagonal moments of inertia.  None of my original test systems matched this scenario, so I had missed it earlier.  Thanks to some more extensive testing and @mposa for identifying this behavior.

I addressed and/or responded to each of the comments.  The results of some lingering conversations include:

drake_to_pi_o's implementation relying on Drake's functionality instead of as a pass-through of other PLL methods:  let me know if you'd prefer the pass-through implementation instead.
An exploration of simplifying the inertia parameter extraction from a pydrake.multibody.tree.SpatialInertia object:  After some exploration, I couldn't find a way that would avoid an element-by-element conversion like in the current implementation.
Correcting minor Sphinx autodoc-related issues in other files:  While correcting the inertia.py autodocs, I took care of anything that triggered a warning and/or clearly was rendered in an unintentional way, without changing the contents of that other documentation.


chore: Add leaderboard definitions

A first step toward a leaderboard offering, I've documented and
translated the internal proposal to a grpc protocol buffers spec.
This isn't connected to any client languages yet; those can be
opted in as we add support and implement the service.

Also I believe this RPCs Request/Response messages should be prefixed with _

Thanks, I forgot this one


ci: fix it by pinning importlib-metadata

importlib-metadata now requires python3.8+ or typing-extensions since 3.2.0
And pytest doesn't pin the version of importlib-metadata.
So on the CI when we uninstall typing-extensions after installing pytest, it crashes!
Let's pin importlib-metadata to 3.1.0 for now
ℹ I think this is the safest decision for now but IMO we could make typing-extensions a required dependency in the near future for pydantic on python 3.6 and 3.7 It's a remark that has already been made and it feels like it could be better for everyone.

This looks correct to me.  Thanks for resolving quickly. I'll rebase #2196 once this is merged.

👍 looks good to me


Fix VMSS create errors

It appears that OsDiskCreateOption is now required
It seems like Standard_DS2 are not very common anymore

@kfarnung : Thanks for your contribution! The author, @vhorne, has been notified to review your proposed change.

@kfarnung
Thanks for reporting this issue. As it turns out, this article has been replaced by https://docs.microsoft.com/en-us/azure/application-gateway/tutorial-manage-web-traffic-powershell.
That article is in the TOC and inherited some of the same issues that you identified here. I updated that article and deleted the article you found.
The updates should be live later today.
#please-close

Thanks @vhorne, is it expected that the page is listed as "Azure Portal" in the table of contents?


Question about QM9 usage

I'm executing
gschnet_train --config-dir=/home/huzheyu/ai_lab/gener_ai/test experiment=gschnet_qm9
but get the error
Cannot find primary config 'train'. Check that it's in your config search path.

Config search path:
      provider=hydra, path=pkg://hydra.conf
      provider=main, path=pkg://schnetpack.configs
      provider=hydra-colorlog, path=pkg://hydra_plugins.hydra_colorlog.conf
      provider=command-line, path=file:///home/huzheyu/ai_lab/gener_ai/test
      provider=schema, path=structured://

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

I don't know what causes this error, if you guys can answer I'd be very grateful.

The bug was caused by the setup of schnetpack, where config files were not properly copied into the package. We fixed this in the schnetpack repository and released version 2.1.1.
So it should be possible to upgrade to schnetpack 2.1.1 now and run the training as expected.
Please let me know in case this fix does resolve your problem.
Best regards,
Niklas

OK, It's working, thanks for you very much.
------------------ 原始邮件 ------------------
发件人:                                                                                "atomistic-machine-learning/schnetpack-gschnet"                                                                                @.>;
发送时间: 2024年9月5日(星期四) 晚上7:58
@.>;
<EMAIL_ADDRESS>主题: Re: [atomistic-machine-learning/schnetpack-gschnet] Question about QM9 usage (Issue #16)
The bug was caused by the setup of schnetpack, where config files were not properly copied into the package. We fixed this in the schnetpack repository and released version 2.1.1.
So it should be possible to upgrade to schnetpack 2.1.1 now and run the training as expected.
Please let me know in case this fix does resolve your problem.
Best regards,
Niklas
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


⚠ ClamAV has degraded performance

In 73417a9, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 199 ms

Resolved: ClamAV performance has improved in 427069d.


DRILL-3898 :  Sort spill was modified to catch all errors, ignore rep…

…eated errors while closing the new group and issue a more detailed error message.
Seems that the spilling IO can run into various kinds of errors (no space, failure to create a file,..) which are thrown as different exception classes. Hence changed the catch() statement to catch a more general Throwable , and add the exception's message for more detail (e.g., no disk space).
Before the change the "no disk space" Throwable was not caught, and thus execution continued.
Also the closing of the newGroup could hit some IO errors (e.g., when flushing), so a try/catch was added to ignore those.
Note that this change should also fix  DRILL-4542 ("if external sort fails to spill to disk, memory is leaked and wrong error message is displayed").


Update jetty-client, jetty-server, ... to 9.4.24.v20191120

Updates

org.eclipse.jetty:jetty-client
org.eclipse.jetty:jetty-server
org.eclipse.jetty:jetty-servlet

from 9.4.21.v20190926 to 9.4.24.v20191120.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.eclipse.jetty" } ]

Superseded by #2990.


path is always relative even when useRelativePath: false

Hi,
I'm trying to setup my first webpack configuration ( not so easy as the advertising says ;) ) the problem of today is with file-loader plugin ( used in conjunction with html-loader ),
my setup contain multiple entry points ( multi-page app ) and not all html files are in the root dir, so entrypoints are like
'index.js' -> 'src/index.js' ,
'sub1/index.js' -> 'src/sub1/index.js' ,

the problem is that file-loader when is linking images correctly find the image references in html ( if the src=.. point to  a wrong path it doesn't compile the bundle ) , but then the emitted path is the same for both files in root and in sub1 ,
so .. ok , I've seen some opened issues here about multiple path and useRelativePath:true , so the solution should be to use useRelativePath:false right? WRONG, images links in the final htm page doesn't contain anymore relative path navigation ( such ../../ ) but start with a full path like :
<img src="images/logo.png">
the problem is that this is missing a prepending / or I'm wrong ? without this the path still being relative
so the file in root ( /) will resolve to /images/logo.png , the file in /sub1 will resolve to /sub1/images/logo.png,
now there is a bug for relative path ( see other issues currently opened ) , and absolute  path doesn't work, this is also one of major plugin used in all image assets example/code I've found around..
So I'm still in doubt that I'm doing something wrong,
someone have a clue ?

ok, actually this doesn't seems a bug anymore to me ..
my issue was the combination of publicPath + outputPath that overridden the behaviour of (useRelativePath: false ) I've found a combination of the three variables to achieve the desired output :)
thank you


Allow for imports in examples

if this is already possible im sorry but i cant find a good way, we have modal components that are split into three components (Modal, ModalBody, ModalHeader) how would one do an example that used all three to show a "Modal" example?

@th3fallen
Hey (:
If the components are also available through UiZoo you can use them directly in the example JSX and they will work automatically.
For example, the components you mentioned, consider jsdoc for Modal
@example <Modal>     <ModalHeader>Header</ModalHeader>     <ModalBody>Body</ModalNodu </Modal>

Excellent! thanks for the quick response.


Add sqltransformer function to execute SQL statements in the Pipeline

During machine learning training, we typically process raw data (mainly SQL operations) and then build pipelines for training. However, when we use the LocalPredictor loading model for prediction, the original data still needs to go through data processing, so the code of data processing part needs to be repeatedly written in the prediction program.
Can Alink provide functions similar to Spark sqltransformer and perform SQL calculations in the Pipeline to simplify the code in the prediction stage?
The following is an example of Alink, Can we put this part of the processing into the Pipeline as well：
Imputer imputer = new Imputer()
.setSelectedCols("Age","Fare")
.setStrategy("mean");
ImputerModel imputerModel = imputer.fit(source);
String fields1 = "PassengerId,Survived,Pclass,Name,Sex,Age,SibSp,Parch,Fare,Embarked,Family,Title," +
"case when Age<16 then 1 else 0 end as Child," +
"case when Age>17 and Sex ='female' and Parch >0 and Name like '%Miss%' then  1  else 0 end as Mom," +
"case when Age>0 and Age <20 then 1 when Age>=20 and Age<30 then 2 when Age>=30 and Age <50 then 3 when Age>=50 then 4 end as AgeCat";
BatchOperator res = imputerModel.transform(source).select(fields1);

I expect this feature so much and it really helpful for a machine learning solution


feat(android io WEB)  Web implementation and integration with app

Overview
Adds the WebIO implementation of ArDriveIO to perform I/O operations on Web platform.
Integrates the ArDrive Web App with ardrive_io package using its functionalities to save and pick file(s).

Was fixed an issue using the WebIO on Web. In some cases, we can not get the lastModifiedDate. I added try catch block to handle it setting it to DateTime.now().


Automated Package Upgrade

:tada: This PR is included in version 25.6.123 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


wait 10 more seconds for dev to show up during provision-develop

related to https://github.com/Nitrokey/nitrokey-3-firmware/issues/187#issuecomment-1484869788
just an idea, if it doesn't fit, I'll close this but so far it works with this patch

Sure thing I can change it to 5s, I’ll check if it still works but it should

Sure thing I can change it to 5s, I’ll check if it still works but it should

works perfectly with 5s too - I'll push again once github is back

Interesting, thanks for the PR!  Strange that I never ran into the issue.  I’ll test and merge it after the v1.3.0 release.

@robin-nitrokey Bump - had you any chance retesting that?
I use sleep 5 on my side.


Add support for Windows ARM64

Add support for Windows ARM64.
I successfully compiled on ARM64 Windows through some unequal means, but I hope to get official support.

I'd also like to request official support for Win ARM64


less: 483 -> 481: Use recommended upstream version since less-483.tar.gz has disappeared

Motivation for this change
Change less version to 481 since the current source http://www.greenwoodsoftware.com/less/less-483.tar.gz has become unavailable, making it impossible to build this.
Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

This is a fix for the current package source file
http://www.greenwoodsoftware.com/less/less-483.tar.gz
not being available anymore.
We bump the less version back to 481, and adjust the source package hash
accordingly. This is a (slight) downgrade from 483 as opposed to an
upgrade since
a) 481 is the current Recommended version by http://www.greenwoodsoftware.com/less/download.html
b) Upstream is unreliable about keeping experimental versions around.

Thanks!


 Discuss and reason the license choice in an issue in your package repository. All team members should make meaningful contributions to this discussion in the GitHub issue.

I think we can continue using MIT license since this package is for convenience of everyone that work with Google Analytics data so we want to encourage others to use and improve it. The current package is still far from perfect since it only contains four functions and it need to be improved with help of other developers. As MIT is one of most permissive and commonly used license, other developers will know they are encouraged to contribute to this package when seeing the MIT license.

I think MIT should be fine. It’s widely used, and should be common for everyone.

I agree. The MIT License is simple and let us freely use, change, and share our software. It's widely accepted and makes combining our work with others' projects easy, appealing to both open-source communities and businesses. In real working space, usually there is legal expert to add extra contents to this license.

my preference would be the GNU license; if we make our code open source, I would want all derivative works to remain open source as well. BUT I will concede to popular demand ~


outrageous:0.3.0

I am submitting

[ ] a new package
[x] an update for a package

Changelog:

use context expressions in favor of deprecated style function (https://github.com/RubixDev/typst-outrageous/pull/4, https://github.com/RubixDev/typst-outrageous/issues/3)
update broken links in readme (https://github.com/RubixDev/typst-outrageous/issues/5)

Thanks :)


Enable IPv6 RA accept to have virsh net-start succeed again

Recently IPv6 got enabled on the mkchX hosts, causing all jobs to
fail with the error message:
error: internal error: Check the host setup: enabling IPv6 forwarding
with RA routes without accept_ra set to 2 is likely to cause routes
loss.

I'm pretty sure we had IPv6 on mkchX before.
https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt says, this only makes a difference, when IPv6 forwarding is enabled (which it is not (yet) except on mkcloud1 and mkchi).

SP2 hosts show rpm -qi libvirt
Install Date: 2017-03-31T19:36:35 UTC

Fail to start network instead of losing routes if IPv6 forwarding is required. bsc#1025252

so this error shouldn't have been triggered unless an ipv6 network has been created (which we're currently not doing). so we could either close this or merge it anyway as it will prevent issues with IPv6 support going forward.

Let's ignore this for now.


External consoles have startup errors

From<EMAIL_ADDRESS>on 2010-06-24T17:35:04Z
What steps will reproduce the problem?

Open Spyder
Launch an IPython or Python external console. What is the expected output? What do you see instead? Expected error free launch.

Here is the startup trace from an IPython external console:
'import site' failed; use -v for traceback
------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python26\lib\site-packages\spyderlib\widgets\externalshell\startup.py", line 75, in <module>
ipythonshell = IPython.Shell.start()
File "C:\Python26\lib\site-packages\IPython\Shell.py", line 1241, in start
return shell(user_ns = user_ns)
File "C:\Python26\lib\site-packages\IPython\Shell.py", line 1126, in init
shell_class=MatplotlibMTShell)
File "C:\Python26\lib\site-packages\IPython\Shell.py", line 870, in init
on_kill=[self.wxexit])
File "C:\Python26\lib\site-packages\IPython\ipmaker.py", line 104, in make_IPython
from site import _Helper
File "C:\Python26\lib\site.py", line 513, in <module>
main()
File "C:\Python26\lib\site.py", line 504, in main
execsitecustomize()
File "C:\Python26\lib\site.py", line 472, in execsitecustomize
import sitecustomize
File "C:\Python26\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 9, in <module>
win32console.SetConsoleCP(_cp)
error: (6, 'SetConsoleCP', 'The handle is invalid.')
Python external consoles have an import error at startup, too:
Python 2.6.2 ( r262 :71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
'import site' failed; use -v for traceback
>>> What version of the product are you using? On what operating system? Spyder 1.1.0, Python 2.6 on XP
Please provide any additional information below
. This was not an issue in the previous release candidate. I suspect changeset 3b3e417407d8 is the culprit.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=242

From pierre.raybaut on 2010-06-25T01:10:16Z
Could you please add a "print _cp" just before line 9 in "C:\Python26\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py"?
Status: Accepted

From<EMAIL_ADDRESS>on 2010-06-25T07:40:14Z
Done. Here are the new error traces.
IPython External Console:
1252
'import site' failed; use -v for traceback
1252
------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python26\lib\site-packages\spyderlib\widgets\externalshell\startup.py", line 75, in <module>
ipythonshell = IPython.Shell.start()
File "C:\Python26\lib\site-packages\IPython\Shell.py", line 1241, in start
return shell(user_ns = user_ns)
File "C:\Python26\lib\site-packages\IPython\Shell.py", line 1126, in init
shell_class=MatplotlibMTShell)
File "C:\Python26\lib\site-packages\IPython\Shell.py", line 870, in init
on_kill=[self.wxexit])
File "C:\Python26\lib\site-packages\IPython\ipmaker.py", line 104, in make_IPython
from site import _Helper
File "C:\Python26\lib\site.py", line 513, in <module>
main()
File "C:\Python26\lib\site.py", line 504, in main
execsitecustomize()
File "C:\Python26\lib\site.py", line 472, in execsitecustomize
import sitecustomize
File "C:\Python26\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 10, in <module>
win32console.SetConsoleCP(_cp)
error: (6, 'SetConsoleCP', 'The handle is invalid.')
Python External Console:
1252
Python 2.6.2 ( r262 :71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
'import site' failed; use -v for traceback
>>>

From pierre.raybaut on 2010-06-25T09:57:57Z
issue #244 has been merged into this issue.

From pierre.raybaut on 2010-06-25T09:56:52Z
Fixed here: https://code.google.com/p/spyderlib/source/detail?r=97f352324825da89ddbd5f16f0c847046f867dcb&repo=v11
Status: Fixed

From<EMAIL_ADDRESS>on 2010-06-25T10:02:16Z
Could this be released as hotfix package (1.1.1) over the week-end? I would like to use spyder together with IPython in an internal seminar on monday, and a bug-fixed version that is easy to install for the participants would be awesome.
Thanks!

From pierre.raybaut on 2010-06-25T10:05:18Z
This is already available ;)

From eryksun on 2010-06-29T02:24:21Z
This fix causes an error on non-Windows systems. You can't try to import "pwintypes" and attempt to catch "pywintypes.error" (line 10 of sitecustomize.py). It yields a NameError.

From<EMAIL_ADDRESS>on 2010-06-25T10:10:53Z
Downloaded version 1.1.1, Python 2.6, Windows XP. Looks like it's fixed.

From pierre.raybaut on 2010-06-29T04:34:11Z
Damn, I'm an idiot...
Fixed and will be part of forthcoming v1.1.2: https://code.google.com/p/spyderlib/source/detail?r=262c2f4d9d8613bb5339d2a250fcca78c7ae0313&repo=v11


Electrum wallet password not working

Hello,
        I created my electrum-vtc wallet a couple of days ago and I transfered some vertcoins to my wallet. All well, transaction made. Logged off and logged on yesterday, everything ok.

Today when I wanted to log in to my wallet, it says the password (word sequence) is incorrect so I cannot access my wallet even though I haven't changed anything at all.
Any opinions?
Thank you!

I think the password you need to enter each time, is different from that sequence of 12 words. That password is probably shorter (like a normal password).

@ilius is correct, your seed is different from your password. You'll need your wallet password to unlock the wallet.


Listen for ESC key when popup is open

I think it is more than a nice to have feature, since the popup is big and the focus of the mouse is around the marker.

I tried binding keyup/keydown/keypress in several places but none of them worked...

I've looked into it, I think I got it.
Hopefully in the next few hours I'll have a solution..


Check out sync functionality without extension

Error is happening while syncing without extension, check it out.

Everything works good, couldn't reproduce any problem with syncing without extention.


Controllers With catchAysnc

Wrapped all the required controllers within catchAysnc.

Add your info in README.md and contribution cli

Done

@Gaurav-Verma07 Please add the JWOC tag and the difficulty tag in the PRs too.


post(mame) : post sur les nouveaux locaux

Could you please use a spelling editor to fix errors ? I've read the first sentence and it is full of spelling errors :/


log errors

Hello i get this error message every time i start hummingBot from the terminal
`2023-07-14 11:45:02,441 - 1 - hummingbot.connector.exchange.kraken.kraken_exchange - WARNING - The Kraken API does not allow enough bandwidth for a reduced rate-limit share percentage. Current percentage: 50.0.
2023-07-14 11:45:03,478 - 1 - hummingbot.connector.time_synchronizer - NETWORK - Error getting server time.
Traceback (most recent call last):
File "/home/hummingbot/hummingbot/connector/time_synchronizer.py", line 65, in update_server_time_offset_with_time_provider
server_time_ms: float = await time_provider
File "/home/hummingbot/hummingbot/connector/exchange/binance/binance_web_utils.py", line 69, in get_current_server_time
response = await rest_assistant.execute_request(
File "/home/hummingbot/hummingbot/core/web_assistant/rest_assistant.py", line 75, in execute_request
raise IOError(f"Error executing request {method.name} {url}. HTTP status is {response.status}. "
OSError: Error executing request GET https://api.binance.us/api/v3/time. HTTP status is 403. Error:

ERROR: The request could not be satisfied

403 ERROR
The request could not be satisfied.

The Amazon CloudFront distribution is configured to block access from your country.
We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.

If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.

Generated by cloudfront (CloudFront)
Request ID: oQAbPJHBHUvxMTvKNmBnL-FILgj26zILR1tToXWNz3utxgIuh4o03Q==

2023-07-14 11:45:03,481 - 1 - hummingbot.connector.time_synchronizer - WARNING - Could not refresh server time. Check network connection.
2023-07-14 11:45:03,807 - 1 - hummingbot.connector.exchange.binance.binance_exchange.BinanceExchange - ERROR - There was an error requesting exchange info.
Traceback (most recent call last):
  File "/home/hummingbot/hummingbot/connector/exchange_py_base.py", line 1092, in _initialize_trading_pair_symbol_map
    exchange_info = await self._make_trading_pairs_request()
  File "/home/hummingbot/hummingbot/connector/exchange_py_base.py", line 1105, in _make_trading_pairs_request
    exchange_info = await self._api_get(path_url=self.trading_pairs_request_path)
  File "/home/hummingbot/hummingbot/connector/exchange_py_base.py", line 896, in _api_get
    return await self._api_request(*args, **kwargs)
  File "/home/hummingbot/hummingbot/connector/exchange_py_base.py", line 938, in _api_request
    request_result = await rest_assistant.execute_request(
  File "/home/hummingbot/hummingbot/core/web_assistant/rest_assistant.py", line 75, in execute_request
    raise IOError(f"Error executing request {method.name} {url}. HTTP status is {response.status}. "
OSError: Error executing request GET https://api.binance.us/api/v3/exchangeInfo. HTTP status is 403. Error:

ERROR: The request could not be satisfied

403 ERROR
The request could not be satisfied.

The Amazon CloudFront distribution is configured to block access from your country.
We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.

If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.

Generated by cloudfront (CloudFront)
Request ID: h2M4yjeYd4lbQFsg6fsRXi-vsPI22kbt4V25gpBxCPAWjpm3PLyv7A==

2023-07-14 11:45:12,740 - 1 - hummingbot.core.utils.trading_pair_fetcher - ERROR - Connector k2 failed to retrieve its trading pairs. Trading pairs autocompletion won't work.
Traceback (most recent call last):
  File "/home/hummingbot/hummingbot/core/utils/trading_pair_fetcher.py", line 64, in call_fetch_pairs
    pairs = await fetch_fn
  File "/home/hummingbot/hummingbot/connector/exchange/k2/k2_exchange.py", line 867, in all_trading_pairs
    return await K2APIOrderBookDataSource.fetch_trading_pairs()
  File "/home/hummingbot/hummingbot/connector/exchange/k2/k2_api_order_book_data_source.py", line 62, in fetch_trading_pairs
    async with client.get(f"{constants.REST_URL}{constants.GET_TRADING_PAIRS}",
  File "/home/hummingbot/miniconda3/envs/hummingbot/lib/python3.8/site-packages/aiohttp/client.py", line 1117, in __aenter__
    self._resp = await self._coro
  File "/home/hummingbot/miniconda3/envs/hummingbot/lib/python3.8/site-packages/aiohttp/client.py", line 619, in _request
    break
  File "/home/hummingbot/miniconda3/envs/hummingbot/lib/python3.8/site-packages/aiohttp/helpers.py", line 656, in __exit__
    raise asyncio.TimeoutError from None
asyncio.exceptions.TimeoutError
2023-07-14 11:53:35,919 - 1 - hummingbot.connector.exchange.kraken.kraken_exchange - WARNING - The Kraken API does not allow enough bandwidth for a reduced rate-limit share percentage. Current percentage: 50.0.
2023-07-14 11:53:37,106 - 1 - hummingbot.connector.time_synchronizer - NETWORK - Error getting server time.
Traceback (most recent call last):
  File "/home/hummingbot/hummingbot/connector/time_synchronizer.py", line 65, in update_server_time_offset_with_time_provider
    server_time_ms: float = await time_provider
  File "/home/hummingbot/hummingbot/connector/exchange/binance/binance_web_utils.py", line 69, in get_current_server_time
    response = await rest_assistant.execute_request(
  File "/home/hummingbot/hummingbot/core/web_assistant/rest_assistant.py", line 75, in execute_request
    raise IOError(f"Error executing request {method.name} {url}. HTTP status is {response.status}. "
OSError: Error executing request GET https://api.binance.us/api/v3/time. HTTP status is 403. Error:

ERROR: The request could not be satisfied

403 ERROR
The request could not be satisfied.

The Amazon CloudFront distribution is configured to block access from your country.
We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.

If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.

Generated by cloudfront (CloudFront)
Request ID: _vnLx378MRrEeGhznQtQh9MNZhScLdohUxQFYLnOEkLHxEBRLVon3w==

2023-07-14 11:53:37,111 - 1 - hummingbot.connector.time_synchronizer - WARNING - Could not refresh server time. Check network connection.
2023-07-14 11:53:37,362 - 1 - hummingbot.connector.exchange.binance.binance_exchange.BinanceExchange - ERROR - There was an error requesting exchange info.
Traceback (most recent call last):
  File "/home/hummingbot/hummingbot/connector/exchange_py_base.py", line 1092, in _initialize_trading_pair_symbol_map
    exchange_info = await self._make_trading_pairs_request()
  File "/home/hummingbot/hummingbot/connector/exchange_py_base.py", line 1105, in _make_trading_pairs_request
    exchange_info = await self._api_get(path_url=self.trading_pairs_request_path)
  File "/home/hummingbot/hummingbot/connector/exchange_py_base.py", line 896, in _api_get
    return await self._api_request(*args, **kwargs)
  File "/home/hummingbot/hummingbot/connector/exchange_py_base.py", line 938, in _api_request
    request_result = await rest_assistant.execute_request(
  File "/home/hummingbot/hummingbot/core/web_assistant/rest_assistant.py", line 75, in execute_request
    raise IOError(f"Error executing request {method.name} {url}. HTTP status is {response.status}. "
OSError: Error executing request GET https://api.binance.us/api/v3/exchangeInfo. HTTP status is 403. Error:

ERROR: The request could not be satisfied

403 ERROR
The request could not be satisfied.

The Amazon CloudFront distribution is configured to block access from your country.
We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.

If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.

Generated by cloudfront (CloudFront)
Request ID: 6fcabznh5eXQrZ-nTZK-EA88i-wImF-aVdQxWxpVqHvwtCpno-jHDw==

2023-07-14 11:53:46,732 - 1 - hummingbot.core.utils.trading_pair_fetcher - ERROR - Connector k2 failed to retrieve its trading pairs. Trading pairs autocompletion won't work.
Traceback (most recent call last):
  File "/home/hummingbot/hummingbot/core/utils/trading_pair_fetcher.py", line 64, in call_fetch_pairs
    pairs = await fetch_fn
  File "/home/hummingbot/hummingbot/connector/exchange/k2/k2_exchange.py", line 867, in all_trading_pairs
    return await K2APIOrderBookDataSource.fetch_trading_pairs()
  File "/home/hummingbot/hummingbot/connector/exchange/k2/k2_api_order_book_data_source.py", line 62, in fetch_trading_pairs
    async with client.get(f"{constants.REST_URL}{constants.GET_TRADING_PAIRS}",
  File "/home/hummingbot/miniconda3/envs/hummingbot/lib/python3.8/site-packages/aiohttp/client.py", line 1117, in __aenter__
    self._resp = await self._coro
  File "/home/hummingbot/miniconda3/envs/hummingbot/lib/python3.8/site-packages/aiohttp/client.py", line 619, in _request
    break
  File "/home/hummingbot/miniconda3/envs/hummingbot/lib/python3.8/site-packages/aiohttp/helpers.py", line 656, in __exit__
    raise asyncio.TimeoutError from None
asyncio.exceptions.TimeoutError
2023-07-14 12:04:18,436 - 1 - hummingbot.connector.exchange.kraken.kraken_exchange - WARNING - The Kraken API does not allow enough bandwidth for a reduced rate-limit share percentage. Current percentage: 50.0.
2023-07-14 12:04:19,408 - 1 - hummingbot.connector.time_synchronizer - NETWORK - Error getting server time.
Traceback (most recent call last):
  File "/home/hummingbot/hummingbot/connector/time_synchronizer.py", line 65, in update_server_time_offset_with_time_provider
    server_time_ms: float = await time_provider
  File "/home/hummingbot/hummingbot/connector/exchange/binance/binance_web_utils.py", line 69, in get_current_server_time
    response = await rest_assistant.execute_request(
  File "/home/hummingbot/hummingbot/core/web_assistant/rest_assistant.py", line 75, in execute_request
    raise IOError(f"Error executing request {method.name} {url}. HTTP status is {response.status}. "
OSError: Error executing request GET https://api.binance.us/api/v3/time. HTTP status is 403. Error:

ERROR: The request could not be satisfied

403 ERROR
The request could not be satisfied.

The Amazon CloudFront distribution is configured to block access from your country.
We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.

If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.

Generated by cloudfront (CloudFront)
Request ID: ivR4rK6jL2Yl-5vhw0Cq3uPx36F2Stl95NguXIUvJVjn4jhB5anQdQ==

2023-07-14 12:04:19,410 - 1 - hummingbot.connector.time_synchronizer - WARNING - Could not refresh server time. Check network connection.
2023-07-14 12:04:19,653 - 1 - hummingbot.connector.exchange.binance.binance_exchange.BinanceExchange - ERROR - There was an error requesting exchange info.
Traceback (most recent call last):
  File "/home/hummingbot/hummingbot/connector/exchange_py_base.py", line 1092, in _initialize_trading_pair_symbol_map
    exchange_info = await self._make_trading_pairs_request()
  File "/home/hummingbot/hummingbot/connector/exchange_py_base.py", line 1105, in _make_trading_pairs_request
    exchange_info = await self._api_get(path_url=self.trading_pairs_request_path)
  File "/home/hummingbot/hummingbot/connector/exchange_py_base.py", line 896, in _api_get
    return await self._api_request(*args, **kwargs)
  File "/home/hummingbot/hummingbot/connector/exchange_py_base.py", line 938, in _api_request
    request_result = await rest_assistant.execute_request(
  File "/home/hummingbot/hummingbot/core/web_assistant/rest_assistant.py", line 75, in execute_request
    raise IOError(f"Error executing request {method.name} {url}. HTTP status is {response.status}. "
OSError: Error executing request GET https://api.binance.us/api/v3/exchangeInfo. HTTP status is 403. Error:

ERROR: The request could not be satisfied

403 ERROR
The request could not be satisfied.

The Amazon CloudFront distribution is configured to block access from your country.
We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.

If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.

Generated by cloudfront (CloudFront)
Request ID: M55f_-gpwT5vZvq0hOYRNmGvx5bag5KzMrq05_xEYATLWkqFfdwLcQ==

2023-07-14 12:04:28,763 - 1 - hummingbot.core.utils.trading_pair_fetcher - ERROR - Connector k2 failed to retrieve its trading pairs. Trading pairs autocompletion won't work.
Traceback (most recent call last):
  File "/home/hummingbot/hummingbot/core/utils/trading_pair_fetcher.py", line 64, in call_fetch_pairs
    pairs = await fetch_fn
  File "/home/hummingbot/hummingbot/connector/exchange/k2/k2_exchange.py", line 867, in all_trading_pairs
    return await K2APIOrderBookDataSource.fetch_trading_pairs()
  File "/home/hummingbot/hummingbot/connector/exchange/k2/k2_api_order_book_data_source.py", line 62, in fetch_trading_pairs
    async with client.get(f"{constants.REST_URL}{constants.GET_TRADING_PAIRS}",
  File "/home/hummingbot/miniconda3/envs/hummingbot/lib/python3.8/site-packages/aiohttp/client.py", line 1117, in __aenter__
    self._resp = await self._coro
  File "/home/hummingbot/miniconda3/envs/hummingbot/lib/python3.8/site-packages/aiohttp/client.py", line 619, in _request
    break
  File "/home/hummingbot/miniconda3/envs/hummingbot/lib/python3.8/site-packages/aiohttp/helpers.py", line 656, in __exit__
    raise asyncio.TimeoutError from None
asyncio.exceptions.TimeoutError
`

Hi @jacobabiola thanks for opening the ticket, however the error indicates that The Amazon CloudFront distribution is configured to block access from your country.. might be an issue with your server. Also can you at least let us know how this happened or steps to reproduce? I am not getting this error atm. Thanks

@rapcmia i am running Hummingbot on a desktop docker setup. i don't know how that might be the issue

hi @jacobabiola this is expected behavior since it's not related to the bot Client, it's related to your location (from not supported by Cloudfront warning message).
If you want to fix You could try to use Cloud services such as AWS.
Using different locations of the Cloud services could fix this issue.

Also this issue might not affect to use other connectors locally. So you could try to run them.


add branching and submodule imports

Users can now import modules using branches, tags, or specific commits by way of pins (small data structures stored in .antipackage/pinnings.json). The README.md and doc files have been updated to explain how to enable this new functionality.
Additionally, entire repositories are now downloaded instead of individual modules.

I think having two top-level objects is a bit more complex than needed. Let's try to do this in one main object. Here is how:

Have a top-level set_branch('github.org.repo','branchname') function that sets the branch for a particular repo. Should also have get_branch(repo) that should simply default to master that we will use when building the URLs.
Make the main object work with both single files and subpackages.

I think this will simplify things a lot.

bugs present at the moment

should be fixed now

OK great, I will have a look soon!
On Thu, Apr 30, 2015 at 2:40 AM, Ryan Morshead<EMAIL_ADDRESS>wrote:

should be fixed now
—
Reply to this email directly or view it on GitHub
https://github.com/ellisonbg/antipackage/pull/1#issuecomment-97721874.

--
Brian E. Granger
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

rebase?


Pairs of reactions with identical stoichiometry and one has a GPR and one doesn't

Reaction without GPR should be removed and reaction with GPR should be made reversible if not already

[X] MAR06884: cobamide-coenzyme [e] --> cobamide-coenzyme [c], GPR: ENSG00000107611 and ENSG00000134812 and ENSG00000166126
MAR06873: cobamide-coenzyme [c] --> cobamide-coenzyme [e], no GPR

[X] MAR11815: calcitriol [e] --> calcitriol [c], GPR: ENSG00000015520 or ENSG00000073060 or ENSG00000135218
MAR11964: calcitriol [c] --> calcitriol [e], no GPR

[X] MAR00108: L-carnitine [c] + oleoyl-CoA [c] <=> CoA [c] + octadecenoylcarnitine(5) [c], GPR: ENSG00000110090 or ENSG00000169169 or ENSG00000205560
~MAR11310: CoA [c] + octadecenoylcarnitine(5) [c] <=> L-carnitine [c] + oleoyl-CoA [c], no GPR~ already removed by #573

[X] MAR02404: 10-HETE [e] <=> 10-HETE [c], GPR: ENSG00000184999
~MAR10410: 10-HETE [c] <=> 10-HETE [e], no GPR~ already removed by #573

[X] MAR07178: PE-LD pool [c] <=> PE-LD pool [r], GPR: ENSG00000163586
~MAR00464: PE-LD pool [c] <=> PE-LD pool [r], no GPR~ already removed by #573

[X] MAR06621: dUTP [m] + H2O [m] + oxidized thioredoxin [m] <=> thioredoxin [m] + UTP [m], GPR: (ENSG00000048392 and ENSG00000100348 and ENSG00000167325 and ENSG00000171848) or (ENSG00000048392 and ENSG00000136810 and ENSG00000167325 and ENSG00000171848)
~MAR02490: thioredoxin [m] + UTP [m] <=> dUTP [m] + H2O [m] + oxidized thioredoxin [m], no GPR~ already removed by #573

I found these with the Python code mentioned in #562

@Devlin-Moyer sorry for the late response
for the paired reactions MAR06884/MAR06873 and MAR11815/MAR11964, not sure if merging is a good idea. Because the transporters of the import reactions are annotated for uptake only. For example, the activity of  ENSG00000135218 is irreversible for import, ENSG00000134812 and ENSG00000015520 are also annotated for absorption only. Therefore, merging the pairs into reversible one would be inaccurate implementation. What do you think?

Ah I didn't think to check the annotations of the genes themselves since one reaction had no genes in each pair; in that case, should MAR06873 and MAR11964 exist at all? I'm pretty sure the only things calcitriol and cobamide-coenzyme can really do in Human-GEM is wind up as biomass precursors, so do they need to be capable of moving from [c] to [e]? I suppose if you wanted to model the maximum possible production of either one independent of the rest of the biomass precursors, you'd want them to be able to reach their exchange reactions.
Should I

Close #656 and leave MAR06884/MAR06873 and MAR11815/MAR11964 exactly as they are, or
Edit #656 to leave MAR06884 and MAR11815 as irreversible [e] to [c] reactions, but still remove MAR06873 and MAR11964?

should MAR06873 and MAR11964 exist at all? I'm pretty sure the only things calcitriol and cobamide-coenzyme can really do in Human-GEM is wind up as biomass precursors, so do they need to be capable of moving from [c] to [e]?

good questions and I'm not exactly sure. A feasible principle, which Human-GEM is applying now, probably is to make changes whenever evidence is provided

I suppose if you wanted to model the maximum possible production of either one independent of the rest of the biomass precursors, you'd want them to be able to reach their exchange reactions.

this appears to be a reasonable claim to keep MAR06873 and MAR11964 as they are

alright so in that case I'll just close #656 as well as this issue


Is there a publicly accessible way to determine which fixes have been included in production WMF/PowerShell?

My work is very much benefiting from Microsoft's responsiveness to PowerShell issues that this repository seems to have brought.  Thank you very much for that.
There are a few painful bugs that are dear to me that seem to be fixed (or are on their way) in the 6.0-alpha releases.  It seems that sometimes those bugs are released to production. 2578 is apparently such an example.  @SteveL-MSFT wrote that "the change...was accepted into servicing already".  I think he meant that the change would be distributed through Windows Update/WSUS, but I haven't found any evidence of that (on my systems powershell.exe has modified dates of 2016-02-13 and 2016-07-19 for WMF 5.0 and 5.1, respectively).
This all leads me to these questions:

Is there a publicly accessible way for me to determine which issues resolved in this repository are now available in which production versions of WMF and/or PowerShell?
If not, what is the best method of determining whether an apparent fix to an issue in the repository is, in fact, included in a particular patch level of WMF and/or PowerShell?

Thanks for your help,
Alex

@alx9r I understand your frustration.  The situation is that although PowerShell is OSS, Windows certainly is not.  Windows servicing (which is what I was referring to) is a long process because app-compat is a top priority for Windows so each servicing fix goes through rigorous validation across all of Windows (which is a pretty big organization and product).  At this time, the expectation is that only critical fixes go back to PowerShell 5.x (this means security issues and any approved fixes that have gone through Microsft customer support channels).  Our team's focus is on PowerShell Core 6.0.
The release notes of WMF5.1 should include all notable fixes.  Unfortunately, I can't be more specific about Windows servicing releases.

@SteveL-MSFT Thank you for the clear statement.  Understanding what to expect helps a great deal to make good decisions at my end.
#2505 affects the development pace of PowerShell modules.  It looks like #2505 is improved (at least partly) in 6.0-alpha.14, but that release is affected by #2902 which seems to preclude its use for the development of DSC resources.  I'm hoping for a release where DSC and the reloading of modules containing classes both work.  I understand that this might be asking too much, but can you provide any guidance on when I could expect such a release?


Consistent use of bash shebang

Sometimes we use:
#!/usr/bin/env bash

And sometimes we use:
#!/bin/bash

I prefer the former, though we should at least stick to one convention throughout the codebase. I believe the tests use the latter, though there is at least one example of it's usage in the main codebase.

Agreed. I can make that PR in the morning unless you'd like to.

Feel free to do so, I only noticed as I was going through the pluginhook docs I'm writing.


How pass variables to template?

Hi there,
I want to know how I can pass additional variables to the template.
The following code does not work.
render() {
        let characterNameStyle,characterNameHelpBlock;
        if (this.props.character_name.status == 'invalid') {
            characterNameStyle = 'error';
            characterNameHelpBlock = this.i18n.t('add_character.character_name.empty');
        }else if (this.props.character_name.status == 'valid') {
            characterNameStyle = 'success';
        }
        //{characterNameStyle ? true : false}
        **return Template.apply(this,[characterNameHelpBlock,characterNameStyle]);**
    }

I want to use this variables on the bgStyle and help Input props
<Panel header={this.i18n.t('add_character.panel_title')} bsStyle="primary" class='flipInX animated'>
             <form onSubmit="{this.handleSubmit.bind(this)}">
               <Input type="text"
                  bsStyle="success"
                  hasFeedback=true
                  label={this.i18n.t('add_character.character_name.label')}
                  value={this.props.character_name.value}
                  placeholder={this.i18n.t('add_character.character_name.placeholder')}
                  help="{characterNameHelpBlock ? characterNameHelpBlock : ''}"
                  autoFocus
                  onChange="{this.onChangeName.bind(this)}"/>
                <Input type='radio'
                  name='gender'
                  label={this.i18n.t('add_character.gender.female')}
                  defaultChecked="{this.props.gender == 'female' ? true : false}"
                  value='Female'
                  onChange="{this.onChangeGender.bind(this)}"/>
                <Input type='radio'
                  name='gender'
                  label={this.i18n.t('add_character.gender.male')}
                  defaultChecked="{this.props.gender == 'male' ? true : false}"
                  value='Male'
                  onChange="{this.onChangeGender.bind(this)}" />
              <ButtonInput bsStyle="primary" type="submit" value={this.i18n.t('add_character.submit')} disabled="{this.props.character_name.status == 'valid' ? false :true}"/>
             </form>
          </Panel>

Thanks and Greetings

I'm not sure what you are asking, perhaps do you want to scope one or more variable so that is visible in the template? can you make a simpler example?

Hi,
I think I can not include control structures in the template.
So, I want to include these conditionals on the render method and pass those variables to the template
I put a very basic example where the ternary operator in template is not worth me:
render() {
        let characterNameStyle;
        if (this.props.character_name.status == 'invalid') {
            characterNameStyle = 'error';
        }else if (this.props.character_name.status == 'valid') {
            characterNameStyle = 'success';
        }
        //instance template AddCharacter.rt.js
       // this => React Component Context
       //[characterNameStyle] => addiotionals variables
        return Template.apply(this,[characterNameStyle]);
    }

Now, I want use characterNameStyle variable in template with {characterNameStyle}
Thank you for your attention

First write a function that does your ternary operator:
characterNameStyle(props) {
   if (props.character_name.status == 'invalid') return 'error';
   if (props.character_name.status == 'valid') return 'success';
   return "something else";
}

then in your template, you can make your variable available via the scope attribute:
<virtual scope="{this.characterNameStyle(this.props) as characterNameStyle}">

Hello {characterNameStyle}!

</virtual>

(the <virtual> tag isn't strictly necessary, you can use divs, spans, etc too).

Perfect, Thaks you very much for help me.


chore(deps): update common-dev-assets digest to b273cc7

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
9925b6c -> b273cc7

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

:tada: This PR is included in version 1.0.9 :tada:
The release is available on:

GitHub release
v1.0.9

Your semantic-release bot :package::rocket:


⚠ ClamAV has degraded performance

In bf985f5, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 69 ms

Resolved: ClamAV performance has improved in 05d2e46.


Description Hover Effect

Hello,
felt nostalgic after seeing this repository as it was one of my favourite shows. I want to add description hover effect without hampering the original card design/ website design as the present one looks uneven. This hover effect will bring evenness to site. I would be happy contributing to this project as am a beginner to open source contributions and hacktoberfest.
Excited to contribute {finger's crossed}

Hey @ZeelParekh10 you can work on this

I have already opened a pull request #788, kindly check it. IT works perfectly and the site is looking good

Can you please assign this issue to me


python311Packages.maestral: 1.9.2 -> 1.9.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.maestral is: Open-source Dropbox client for macOS and Linux
meta.homepage for python311Packages.maestral is: https://maestral.app
meta.changelog for python311Packages.maestral is: https://github.com/samschott/maestral/releases/tag/v1.9.3
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.9.3 with grep in /nix/store/rh41s5gf8d4ddm9qxh112wb62ywkhbcb-python3.11-maestral-1.9.3
found 1.9.3 in filename of file in /nix/store/rh41s5gf8d4ddm9qxh112wb62ywkhbcb-python3.11-maestral-1.9.3

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath

maestral
maestral-gui
python311Packages.maestral

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/rh41s5gf8d4ddm9qxh112wb62ywkhbcb-python3.11-maestral-1.9.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.maestral https://github.com/r-ryantm/nixpkgs/archive/9bf3beeac858e0673cb01ec9b5136b1fdb50ac83.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/9bf3beeac858e0673cb01ec9b5136b1fdb50ac83#python311Packages.maestral

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/rh41s5gf8d4ddm9qxh112wb62ywkhbcb-python3.11-maestral-1.9.3
ls -la /nix/store/rh41s5gf8d4ddm9qxh112wb62ywkhbcb-python3.11-maestral-1.9.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

4 packages built:

maestral (python311Packages.maestral)
maestral-gui
maestral-gui.dist
maestral.dist (python311Packages.maestral.dist)

Maintainer pings
cc @peterhoeg @SFrijters for testing.

Bigger PR already exists at https://github.com/NixOS/nixpkgs/pull/305814


Datatype mismatch using Eloquent Model

Laravel Version: 8.44.0
PHP Version: 7.4.19
Database Driver & Version: PostgreSQL 13.3 with pgBouncer

Description:
When using save() method on PostgreSQL database with \PDO::ATTR_EMULATE_PREPARES => true, DB connection cast boolean to integer in the prepareBindings and bindValues methods.
Steps To Reproduce:
Uses::create([
    'name' => 'Laravel user',
    'password' => 'password',
    'is_suspended' => false,
]);

Error: SQLSTATE[42804]: Datatype mismatch: 7 ERROR: column "is_suspended" is of type boolean but expression is of type integer

Are you sure you're on PHP 7.4.19? Is your CLI version also the same one as the web server one? There was a bug in PHP 7.4.18 that caused this.

Are you sure you're on PHP 7.4.19? Is your CLI version also the same one as the web server one? There was a bug in PHP 7.4.18 that caused this.

I ran a command on the server: docker exec -it laravel php -v
Execution result
PHP 7.4.19 (cli) (built: May 12 2021 13:21:40) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies

It would strike me as odd that nobody has ever run into this before. Since my experience with PostgreSQL is limited I'm going to have to ask you to first try a support channel to actually verify this bug. Maybe somebody with PostgreSQL experience can help you out. If you can actually identify this as a bug, feel free to report back and I'll gladly help you out and re-open this issue.

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

Thanks!


We shouldn't output both part_of and is_active_in annotations in the GPAD from models

The GPAD being generated from models is outputting both part_of and is_active_in annotations when an MF occurs in a CC. This creates confusion for downstream resources who filter duplicates. If they consider these annotations to be duplicates, then we filter out one of the statements, but if we don't consider them to be duplicates and don't display the whole set of new qualifiers, they look like duplicate annotations. We should solve this at the reasoner level by either inferring one statement or the other. If a gene product enables a function that occurs in a CC, then it is active in the cc. Is it a part of that CC or is it located in that CC? We should think about the current structure of the ontology as we consider this.

The part_of inference comes from a SWRL rule in RO, which we added pretty much for supporting GPAD output, prior to changing to is_active_in.

@ukemi @balhoff
Do we just need to delete that SWRL rule, then?
A separate, but perhaps related, issue would be to check existing production GO-CAMs to make sure we don't have cases where an MF 'occurs in' a protein-containing complex (or child term).

I suspect that for the latter, there will be lots of this kind of clean-up.

Note, however, that we still need to either delete the SWRL rule from RO that is also generating the 'part of' inference or filter the redundant 'part of' CC annotations from the GPAD output.

SWRL rule will be deleted by this PR: https://github.com/oborel/obo-relations/pull/468

This work is completed.


mulitpass FFT

Add fft processing option to multipass

@jack-elliott Just an fyi, this fixed the weird filtering we were seeing because multipass was still looking for correlation in the top left (template matching) with fft correlations (middle).

Awesome. So maybe on Monday we reassess the median filter default value.