deprecated<EMAIL_ADDRESS>

npm WARN deprecated<EMAIL_ADDRESS>Please use @jridgewell/sourcemap-codec instead

└─┬<EMAIL_ADDRESS>  └─┬<EMAIL_ADDRESS>    └─┬<EMAIL_ADDRESS>      └──<EMAIL_ADDRESS>
According to the documentation of @vue/compiler-sfc module https://www.npmjs.com/package/@vue/compiler-sfc it may be replaced by main vue package.

@mahnunchik sourcemap-codec isn't a direct dependency of this package. I don't see what we can do about it?

@gkatsanos According to the documentation of @vue/compiler-sfc it should be replaced by main vue package as:
const { compileTemplate } = require('vue/compiler-sfc')
// or

import { compileTemplate } from 'vue/compiler-sfc/index.js';

Note: as of 3.2.13+, this package is included as a dependency of the main vue package and can be accessed as vue/compiler-sfc. This means you no longer need to explicitly install this package and ensure its version match that of vue's. Just use the main vue/compiler-sfc deep import instead.

@mahnunchik : https://github.com/jpkleemans/vite-svg-loader/pull/103/files not sure this is the case, by looking a bit around https://stackoverflow.com/questions/63863222/after-upgrading-to-vue-3-cannot-find-module-vue-compiler-sfc-package-json it seems that when you go to Vue3 , you need to explicitely add the vue compiler sfc as a separate dependency (exactly as we had).
Feel free to jump in the PR if you see something obviously wrong :)

@gkatsanos great, thank you! I think vue can be added to peerDependencies.

@gkatsanos could you please release 4.1 to npm

I dont have publish permissions. @jpkleemans

Released


Documentation wrong?

Stores the hashed backup codes in the database

Where does it actually save?
def generate_otp_backup_codes!
  codes           = []
  number_of_codes = self.class.otp_number_of_backup_codes
  code_length     = self.class.otp_backup_code_length

  number_of_codes.times do
    codes << SecureRandom.hex(code_length / 2) # Hexstring has length 2*n
  end

  hashed_codes = codes.map { |code| Devise::Encryptor.digest(self.class, code) }
  self.otp_backup_codes = hashed_codes

  codes
end

http://www.rubydoc.info/gems/devise-two-factor/2.2.1/Devise/Models/TwoFactorBackupable#invalidate_otp_backup_code!-instance_method

Ah yeah, that sounds like a confusing piece of the documentation. We're storing the backup codes in the model but those updates haven't been persisted to the database (yet).

I’ll create a PR. :)

@ce07c3 any update on this? Looks like it still does not save hashed codes in the database.

This gem is a bit old, don't know if it makes sense.


[WIP] Quicksort animation

Completed Quicksort viz. I might try to squeeze more perf in a diff PR before releasing tho.


Add support R needs X11/Cairo to be built for plotting

@achevali Is this just a simple doc change to make sure cairo and png are supported in a capabilities() call?

@achevali can we close this issue?

Issue moved to broadinstitute/gatk #2828 via ZenHub


Add support to Unsigned Integer data type.

I need to validate IP for ULong from https://github.com/jOOQ/jOOU before to integrate this.
(CQ : https://dev.eclipse.org/ipzilla/show_bug.cgi?id=22566)

@dachaac :pray:  thx you very much for all the reviews !

I'm still waiting  about CQ for this one :/

@boaks, @sophokles73  about CQ/IP do you know if code could be integrated in master or even in milestone release without CQ approval ?
I mean : Is CQ only needed for release ?
(if you don't know to not start research for me, I will search on my side)

In the master-branch, no problem.
For a milestone, I don't know.
I would argument, that it depends more on your own check of the license of that material. If all is well, I would also go for a milestone. Sometimes a comment on the CQ, that you want to release something, helps also to speed up. But not always.

I finally integrated this in master.
This is too long to get CQ validation or even to get answer to questions.
So let's bet this will be accepted. (other version of this library is already accepted. I think the issue here could be mainly because we modified a bit the code)


Feature/httpcache resource type extension improvement

Added possibility to check on resource super type as well as regular resource type. By default false for backward compatibility.

Pull Request Test Coverage Report for Build 4130

0 of 14 (0.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 51.16%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

bundle/src/main/java/com/adobe/acs/commons/httpcache/config/impl/ResourceTypeHttpCacheConfigExtension.java
0
14
0.0%

Files with Coverage Reduction
New Missed Lines
%

bundle/src/main/java/com/adobe/acs/commons/mcp/impl/ProcessErrorReportExcelServlet.java
1
66.22%

Totals

Change from base Build 4118:
-0.02%

Covered Lines:
12765

Relevant Lines:
24951

💛  - Coveralls


changes Search in SelectionPrompt to accept Space Key as text

fixes #1536

[x] I have read the Contribution Guidelines
[x] I have commented on the issue above and discussed the intended changes
[ ] A maintainer has signed off on the changes and the issue was assigned to me
[x] All newly added code is adequately covered by tests
[x] All existing tests are still running without errors
[x] The documentation was modified to reflect the changes OR no documentation changes are required.

Changes

This changes the hotkeys for the single Selection (not the Multi Selection) in such a way that the Space key does not select the option anymore but instead is typed into the search.
If the search is not enabled for the Selection, Space still selects the current option.

Please upvote :+1: this pull request if you are interested in it.

@microsoft-github-policy-service agree


Introduce global exception handler

Refactor:

throw custom exceptions instead of multiple exitProcess(...) invocation
introduce common exception handler

The refactor looks awesome. I think this cleans up the logic. Requested changes about documenting the new exit codes and what they mean. Downstream tools will read the exit codes.

@bootstraponline @jan-gogo
I've implemented requested changes , please review. Thanks!

Codecov Report

Merging #696 into master will increase coverage by 0.97%.
The diff coverage is 59.74%.

@@             Coverage Diff              @@
##             master     #696      +/-   ##
============================================
+ Coverage     77.48%   78.45%   +0.97%
- Complexity      642      652      +10
============================================
  Files           112      113       +1
  Lines          2594     2595       +1
  Branches        368      375       +7
============================================
+ Hits           2010     2036      +26
+ Misses          347      314      -33
- Partials        237      245       +8


V1.4 UG Updates (Shanyl)

Added information on design + UI under Design Methodology section.
Updated photos that were outdated or unused in the UG.
Changed the command format for optional fields from '[ ]' to '{ }' to fit some standard conventions.
Shifted Help command to commands section from features section, and added exit command.

lgtm!


Remove the borrow of the device id string

While the borrow of the device id string minimizes the amount out copying, it does make the IoTHubClient harder to use.  The reference means you cannot, e.g., pass the client through a channel, or put it as a member of a struct due to the self-referential struct problem.  I don't see a significant downside of just copying the device ID into the client (I didn't actually see it being used, but I didn't want to just remove it).  If you prefer, I can try and create a "IoTHubClientOwned" version of the struct that owns the deviceID string.  There may be great reasons for the reference (and the associated lifetime) that I just don't understand.

I'd been thinking the same thing 👍


Using Chrome on Android

I have an https site. I have a page that uses getUserMedia to access the user's microphone. It works fine using Firefox on a PC or on Android. When I use Chrome it only works on the PC. On Android I get a security error. Does anyone know why Chrome on Android does not recognise my https?
https://www.mediacours.com/recorder1
Oops! If I click on this link it now seems to be working! At least the downloading but not the playback!?

I still can't figure out why the security warning suddenly disappeared. However, to continue with the subject Chrome on Android, there is another issue. I think the playback on my example is not working (when I use Chrome on Android) because the this version of Chrome does not allow the property autoplay to function. I think that this is probably why the recording is not played back on your demos either. Had you noticed this?


Should not have option to Approve my own PR

For my own PR:

Request Changes should remain grayed out and and Approve should also be greyed out to be consistent with GitHub:

Duplicate of https://github.com/microsoft/vscode-pull-request-github/issues/888


Vault backend is not recursive

The vault backend calls c.client.Logical().Read(key) which will return items at that specific key, but not child keys. For that, I believe we need to also process the output of c.client.Logical().List(key). Without the List, the conf.d/*.toml needs to identify each key you want to use in Vault and you can only iterate over multiple values of a single key, rather than multiple nested keys.

@bmitch3020 if you wouldn't mind PR'ing the change along with relevant changes to the integration tests, that would be wonderful. :)

I claim no expertise on on golang, but I'll take a swing at it.

@bacongobbler I'm running out of time to put together some proper tests, and I'm rather far from a decent go coder (but it looks like it's worth learning when things slow down). Below is a commit that I got to work in my own lab. If it's far enough along to deserve a PR, I'm happy to send that over.
https://github.com/kelseyhightower/confd/compare/master...bmitch3020:master


updating dependency

github/codeql-action/upload-sarif@v1 is deprecated

@arothian Merge Requested


add eko-konnect and wacren partners

Closes https://github.com/inveniosoftware/invenio-app-rdm/issues/178

BLOCKED Eko Konnect logo is not a png.

Transparent:

Resized:

Current status:


[Snyk] Security upgrade Microsoft.Bot.Builder.Integration.AspNet.Core from 4.12.0 to 4.17.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `nuget` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

samples/01.getting-started/k.direct-line-token/csharp/bot/TokenSampleBot.csproj

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

696/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 7.5
Insecure Defaults SNYK-DOTNET-NEWTONSOFTJSON-2774678
No
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

update

merged


The source folder link tooltip for Version Nuget Package says "VSIX"

Azure DevOps Extension you are using
Version Nuget Package
Where are you running it?

Azure DevOps Service (VSTS)

Version of Extension/Task
2.*
Steps to reproduce the problem

Thanks for pointing that out. I will fix it in the next release

This has been fixed and released


feat(vm-logs): AM/PM

Pull Request Test Coverage Report for Build 1307

5 of 27 (18.52%)  changed or added relevant lines in 4 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.04%) to 53.638%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/app/snapshot/recurring-snapshots/recurring-snapshots.component.ts
0
1
0.0%

src/app/snapshot/recurring-snapshots/snapshot-policy.service.ts
1
2
50.0%

src/app/vm-logs/redux/vm-logs.reducers.ts
2
4
50.0%

src/app/shared/services/utils/utils.service.ts
2
20
10.0%

Files with Coverage Reduction
New Missed Lines
%

src/app/vm-logs/redux/vm-logs.reducers.ts
2
50.62%

Totals

Change from base Build 1303:
-0.04%

Covered Lines:
8141

Relevant Lines:
13336

💛  - Coveralls

To test:
Time inputs in recurring snapshots (regression)


Add a rule to refuse -> between 2 exported resources

This is rather peculiar but I have just noticed that puppet (3.8.2) refuses -> between two exported resources.
If it is indeed intended (not a puppet bug), we might want to add a rule to refuse such syntax:
  @@postgresql::server::pg_hba_rule { 'pg_hba open local access for salt':
    description => 'MD5 access to the puppetdb database',
    type        => 'local',
    database    => $db_name,
    user        => $db_user,
    auth_method => 'trust',
  } ->
  @@postgresql_psql {'create table jids':
    db          => $db_name,
   ......

Can you try the following cases too ?
@@foo -> bar
foo -> @@bar


Update EXPORT/IMPORT DATABASE to recognize db table

Fixes detection of cluster tables for EXPORT/IMPORT statements (DELETE FROM DATABASE works with cluster tables and served as a template).
Reproduce:
CONSTANTS gc_test TYPE c LENGTH 10 VALUE 'TEST'.
DATA gt_data TYPE TABLE OF string.
" works:
DELETE FROM DATABASE indx(zr) ID gc_test.
" "indx" not found(check_syntax):
EXPORT data = gt_data TO DATABASE indx(zr) ID gc_test.
" "indx" not found(check_syntax):
IMPORT data = gt_data FROM DATABASE indx(zr) ID gc_test.
I added a couple tests although there were already some similar ones.

thanks 👍


Have I missed something? Doesn't seem to work with .net 2.0 projects

Hi, Despite the filter in the menu bar, this seems to be only for .net 2.1
Is that right?

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

ID: 77889d43-fedb-f8b4-8fea-379ec946555c
Version Independent ID: f499b131-8b14-7e10-1728-543fdd5a5656
Content: Integration tests in ASP.NET Core
Content Source: aspnetcore/test/integration-tests.md
Product: aspnet-core
GitHub Login: @guardrex
Microsoft Alias: riande

@ianpowell2017 Hello ... Yes, 2.1 only. I'm missing a setting in the metadata. I'll patch that right now. Thanks for letting me know. :+1:

Thanks Luke,
Do you have any links for .net core 2.0
I have a .net core app with controllers without any tests and no descent articles to point me in the right direction
Thanks for your help
Ian

On 2 Jul 2018, at 21:45, Luke Latham<EMAIL_ADDRESS>wrote:
@ianpowell2017 https://github.com/ianpowell2017 Hello ... Yes, 2.1 only. I'm missing a setting in the metadata. I'll patch that right now. Thanks for letting me know. 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/aspnet/Docs/issues/7418#issuecomment-401929308, or mute the thread https://github.com/notifications/unsubscribe-auth/Ac-h_I4A_BDvEp4IMHDTehxaaoXTYbtUks5uCoZtgaJpZM4U_6b7.

We have yet to upgrade the one on testing controllers (the sample on this one is still 2.0) :point_right: https://docs.microsoft.com/aspnet/core/mvc/controllers/testing


"homeshick check" fails using git 1.7.1

Noticed that the git ls-remote call in homeshick check passes the -q option which only appeared in git 1.8, which means check doesn't work in CentOS 6/RHEL 6 which ships with that git version.
Calling git ls-remote with an explicit repo and ref doesn't output a URL line, so it's safe to omit the -q. PR incoming.

Fixed.


Tensorflow importing issue

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): windows 10
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: none
TensorFlow installed from (source or binary): tensorflow.org
TensorFlow version: 2.2.0
Python version: 3.8.3
Installed using virtualenv? pip? conda?: pip
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

I can not import tensorflow, it shows an import issue that i tried to fix, but it is still not working. Any help is appreciated. Thanks a lot
Traceback (most recent call last):
File "C:\Users\david\AppData\Local\Programs\Python\Python38\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\david\AppData\Local\Programs\Python\Python38\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\david\AppData\Local\Programs\Python\Python38\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\david\AppData\Local\Programs\Python\Python38\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\david\AppData\Local\Programs\Python\Python38\lib\imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: DLL load failed while importing _pywrap_tensorflow_internal: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<pyshell#0>", line 1, in
import tensorflow
File "C:\Users\david\AppData\Local\Programs\Python\Python38\lib\site-packages\tensorflow_init_.py", line 41, in
from tensorflow.python.tools import module_util as module_util
File "C:\Users\david\AppData\Local\Programs\Python\Python38\lib\site-packages\tensorflow\python_init.py", line 50, in
from tensorflow.python import pywrap_tensorflow
File "C:\Users\david\AppData\Local\Programs\Python\Python38\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 69, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\david\AppData\Local\Programs\Python\Python38\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\david\AppData\Local\Programs\Python\Python38\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\david\AppData\Local\Programs\Python\Python38\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\david\AppData\Local\Programs\Python\Python38\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\david\AppData\Local\Programs\Python\Python38\lib\imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: DLL load failed while importing _pywrap_tensorflow_internal: The specified module could not be found.
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors
for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.

@neon-neon
What is make/model of your cpu?
I suspect your cpu model does not support AVX instructions sets.See hardware requirements
Make sure to download the latest microsoft visual c++ redistributable from here.
.Also, please follow the instructions from to install from Tensorflow website.
Please, check Your CPU/Python is on 32 bits?Please, refer #36167 and see if it helps you.Please, refer similar issue #36167 #36151 #36138 #36054 #36045 #36020 #36003 #35988 #35903 #35880 #35865 #35805 #35789 #35773 #35772 #35767 #35766 #35749 #35721 #35618 #35204
Thanks!


Errors in setDataset and crossvalidation

When I try to run the L_main_tagging_SvsS.m function with the VIPeR dataset, I get problems at line 22 in the SetDataset function,  dset(j).globalindex = [dset(j).globalindex permit_inds(i)]; with dset being undefined.
I managed to fix that by copypaste some code out of the for loop at the start of the function, but then I got an error with line 95 in crossvalidation.m, that says Index exceeds matrix dimensions.
I'm not sure if the last problem is something I introduced when I made changes in setdataset.m, but I can't get the code to work at any rate.

If you got that error, it means that lines 17-20 where not executed before.
The function dynamically create the dset variable for each person j. It scans dir_e_list and add a new element when idperson ~= idpersonold.
A reason why that might not work in your case is because you did not rename the images of the dataset VIPeR. The images have to be in a single folder with the following name:
XXXXYYY.bmp
XXXX = person ID           YYY = {001 for cam_a, 002 for cam_b}
e.g.: 0004002.bmp is person 4 view cam_b
Notice that our XXXX starts from 1 while the original one starts from 0.

Thanks, I got it to work now
Best regards
Håvard Svoen
2015-03-03 18:06 GMT+01:00 Loris Bazzani<EMAIL_ADDRESS>
If you got that error, it means that lines 17-20 where not executed before.
The function dynamically create the dset variable for each person j. It
scans dir_e_list and add a new element when idperson ~= idpersonold.
A reason why that might not work in your case is because you did not
rename the images of the dataset VIPeR. The images have to be in a single
folder with the following name:
XXXXYYY.bmp
XXXX = person ID YYY = {001 for cam_a, 002 for cam_b}
e.g.: 0004002.bmp is person 4 view cam_b
Notice that our XXXX starts from 1 while the original one starts from 0.
—
Reply to this email directly or view it on GitHub
https://github.com/lorisbaz/SDALF/issues/4#issuecomment-76987659.

I am getting a similar problem for ETHZ datasets. Is there any format in which I need to set the name of the images in the ETHZ dataset?

As far as I remember the dataset ETHZ should be already in a format that is similar to VIPeR (after it is renamed as explained above). Therefore, ETHZ should work without any renaming.
Could you be more specific and maybe report the error? Please open a different issue.

When i try to run L_main_tagging_MvsM with ETHZ1 i get the following error:
Index exceeds matrix dimensions.
Error in blobs_inside_image (line 15)
COV=mvec([4 5 5 6],:);
Error in MSCRmatch_DynVSDyn_Cl (line 69)
[keep_list,BB]= blobs_inside_image(mser.mvec,[H,W]); % used to compute
BB
Error in L_main_tagging_MvsM (line 233)
MSCRmatch_DynVSDyn_Cl;

It could be related to the fact that MSCR is not able to find any blob. But this is pretty unlikely since I run the experiment using ETHZ1 as reported in our CVPR paper.
I would suggest to debug and find the reason why this is happening.

I have had the same problem as hsvoen.
For SetDataset.m I inserted the following before the for loop:
dset(1).globalindex = []; dset(1).index = []; j = 1;
Also, I was only interested in VIPeR. So I did not rename all the VIPeR images as lorisbaz suggests. Instead I copied all the images from cam_a and cam_b of the VIPeR dataset in a new folder named "VIPeRa" (or name it as you want and then change the dir_e variable accordingly). There were name conflicts for only two images so I just appended a "_b" in the end of those names. Then in SetDataset I replaced idperson = str2num(n(1:4)) with idperson = str2num(n(1:3)). The three first characters of the name of the .bmp's correspond to their id. The other characters are not used (at least for VIPeR -> only SvsS)
PS: I also had an issue with getmapping (with Matlab 2016a). bitshift with 3 args is as described here: https://www.mathworks.com/help/matlab/ref/bitshift.html. So I replaced line 37 of getmapping with:
j = bitset(bitshift(i,samples),1,bitget(i,samples));


Add empty index.js file to out dir

Package has "main" field
https://github.com/pirix-gh/ts-toolbelt/blob/master/package.json#L26
but this file doesn't exist. I think thats why eslint triggers error Unable to resolve path to module 'ts-toolbelt'  import/no-unresolved.
I create this file manually by touch ./node_modules/ts-toolbelt/out/index.js and the error is gone

@rifler thanks, looking into it

Fixed


Nats 1.1.0 Undefined index: ssl_required

I'm trying to connect to nats: 1.1.0 and Exception occures:
/var/www/api/vendor/repejota/nats/src/Nats/ServerInfo.php on line 106
Undefined index: ssl_required
This is because of ServerInfo tries to get 'ssl_required' from response data array, but there is not this field already.
INFO {"server_id":"NoABA0dKfQ5MHXHZBgpCqB","version":"1.1.0","git_commit":"add6d79","go":"go1.9.4","host":"<IP_ADDRESS>","port":4222,"auth_required":false,"tls_required":false,"tls_verify":false,"max_payload":1048576}
but the previous nats version 1.0.6 had it:
INFO {"server_id":"yMuJO0GoePqmnzQwYxztDN","version":"1.0.6","git_commit":"02dd205","go":"go1.9.4","host":"<IP_ADDRESS>","port":4222,"auth_required":false,"ssl_required":false,"tls_required":false,"tls_verify":false,"max_payload":1048576}
Fields aren't checked for existence:
public function __construct($connectionResponse)
{
$parts = explode(' ', $connectionResponse);
$data  = json_decode($parts[1], true);
    $this->setServerID($data['server_id']);
    $this->setHost($data['host']);
    $this->setPort($data['port']);
    $this->setVersion($data['version']);
    $this->setGoVersion($data['go']);
    $this->setAuthRequired($data['auth_required']);
    $this->setSSLRequired(**$data['ssl_required']**);
    $this->setTLSRequired($data['tls_required']);
    $this->setTLSVerify($data['tls_verify']);
    $this->setMaxPayload($data['max_payload']);
}

Solved https://github.com/repejota/phpnats/pull/115


fix(local): wait for consul to be ready before running jobs

Ref: #35

May also fix https://github.com/fermyon/installer/issues/21


Open Project emit error

I often get this error when I open projects. I do not know how to provoke it:

I have never seen this error, either on Mac or Windows. Is the project folder missing or something?

Happens quite often for me. Played a bit with it and it happened at least every 3-4 times and once it’s there it required a restart of the app to get rid of it.
I checke the project and all is ok at the file level.
Regards,
Kenneth Lausdahl
<EMAIL_ADDRESS>
On 14 Jul 2017, at 23.14, Luis Diogo Couto<EMAIL_ADDRESS>wrote:
I have never seen this error, either on Mac or Windows. Is the project folder missing or something?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/into-cps/intocps-ui/issues/251#issuecomment-315469522, or mute the thread https://github.com/notifications/unsubscribe-auth/ACdMOnN4vH-t3j7A2Hgf5vVNiV8c2VMxks5sN9pGgaJpZM4OYi_d.

Hmm. Does it happen in the packaged app, npm version or both?

both

good. I mean, in a sense that it's a code issue.
Have you ever seen this error on Win or Linux?

I dont remember. But it also seen it on mac during project creation, which makes sense since it opens the project right after creation.

Ok...
I'm not sure what we can do for now except try to isolate it. Let's see if anyone else has experience this error.
L

This seems to have gotten worse recently, whether due to to #267 or something else.
@lausdahl your idea to work around it seems good.


[BUG] calculate-min-fee for Unwitnessed Tx BabbageEra

Internal/External
External .
Area
cardano-cli
Summary
Do you know what I need to do to calculate the commission for Unwitnessed Tx BabbageEra type of transaction body?
Or what should I do to change the type of transaction body?
Why do I only have these types on the mainnet? (TxUnsignedByron, TxUnsignedShelley, TxBodyAllegra, TxBodyMary, TxBodyAlonzo, TxBodyBabbage)
In general, a strange situation, because in the testnet this type of transaction body works and I can calculate the commission and sign it in the future.
On the mainnet, I have the following problem:
Command failed: transaction calculate-min-fee
Error: Failed to decode neither the cli's serialisation format nor the ledger's CDDL serialisation format.
       TextEnvelope error: /dev/stdin:
       TextEnvelope type error:
       Expected one of: TxUnsignedByron, TxUnsignedShelley, TxBodyAllegra, TxBodyMary, TxBodyAlonzo, TxBodyBabbage
       Actual: Unwitnessed Tx BabbageEra
       TextEnvelopeCddl error: /dev/stdin: Could not JSON decode TextEnvelopeCddl file at: /dev/stdin Error: Error in $: not enough input

How I do it on the testnet:
cardano-cli transaction calculate-min-fee \
  --testnet-magic 1 \
  --protocol-params-file <(echo '<this is a protocol params>') \
  --tx-body-file /dev/stdin <<< '{"type": "Unwitnessed Tx BabbageEra", "description": "Ledger Cddl Format", "cborHex": "<hex>"}' \
  --tx-in-count 1 \
  --tx-out-count 2 \
  --witness-count 1
175269 Lovelace

System info:

OS Name: Ubuntu
OS Version: 20.04
Node version (output of cardano-node --version)cardano-node --version
cardano-node 1.35.5 - linux-x86_64 - ghc-8.10
git rev 8762a10efe3f9f97939e3cb05edaf04250456702

CLI version  (output of cardano-cli --version)cardano-cli --version
cardano-cli 1.35.5 - linux-x86_64 - ghc-8.10
git rev 8762a10efe3f9f97939e3cb05edaf04250456702

Sorry, I cannot change the label :(

It sounds like you're working with the Cardano blockchain, and specifically, trying to calculate the commission for a transaction with an Unwitnessed Tx BabbageEra type of transaction body.To calculate the commission for a transaction, you need to know the size of the transaction in bytes, as well as the current fee per byte on the network. The formula for calculating the minimum fee is:minimum fee = fee per byte * transaction sizeYou can use the Cardano CLI command transaction calculate-min-fee to calculate the minimum fee for a transaction. For example:cardano-cli transaction calculate-min-fee --tx-body-file tx.raw --tx-in-count 1 --tx-out-count 1 --mainnet --witness-count 0 --protocol-params-file protocol.json--protocol-params-file protocol.jsonThis command will calculate the minimum fee for a transaction with one input and one output, and no witnesses, using the protocol parameters specified in the protocol.json file.To change the type of transaction body, you may need to use a different command or version of the Cardano CLI. It's possible that the Unwitnessed Tx BabbageEra type of transaction body is not supported on the mainnet yet, or that there is a bug in the current version of the CLI. You may want to check the Cardano documentation or forums to see if there are any known issues or workarounds.As for why you only have certain types of transaction bodies on the mainnet, it could be due to the current state of the Cardano network and the development of new features. Different eras and features may be rolled out gradually, and may not be available on all nodes or wallets at the same time. This is why it's important to keep up to date with the latest releases and changes in the Cardano ecosystem.I hope this helps. CheersJames RupeCEO CardanoMint.comSPO Maximum Mint (Ticker AMINT)Co-CarPool Blockchain EducationOn Mar 6, 2023, at 11:52 AM, Ilya @.***> wrote:
Internal/External
External .
Area
cardano-cli
Summary
Do you know what I need to do to calculate the commission for Unwitnessed Tx BabbageEra type of transaction body?
Or what should I do to change the type of transaction body?
Why do I only have these types on the mainnet? (TxUnsignedByron, TxUnsignedShelley, TxBodyAllegra, TxBodyMary, TxBodyAlonzo, TxBodyBabbage)
In general, a strange situation, because in the testnet this type of transaction body works and I can calculate the commission and sign it in the future.
On the mainnet, I have the following problem:
Command failed: transaction calculate-min-fee
Error: Failed to decode neither the cli's serialisation format nor the ledger's CDDL serialisation format.
TextEnvelope error: /dev/stdin:
TextEnvelope type error:
Expected one of: TxUnsignedByron, TxUnsignedShelley, TxBodyAllegra, TxBodyMary, TxBodyAlonzo, TxBodyBabbage
Actual: Unwitnessed Tx BabbageEra
TextEnvelopeCddl error: /dev/stdin: Could not JSON decode TextEnvelopeCddl file at: /dev/stdin Error: Error in $: not enough input
How I do it on the testnet:
cardano-cli transaction calculate-min-fee
--testnet-magic 1
--protocol-params-file <(echo '')
--tx-body-file /dev/stdin <<< '{"type": "Unwitnessed Tx BabbageEra", "description": "Ledger Cddl Format", "cborHex": ""}'
--tx-in-count 1
--tx-out-count 2
--witness-count 1
175269 Lovelace
System info:
OS Name: Ubuntu
OS Version: 20.04
Node version (output of cardano-node --version)
cardano-node --version
cardano-node 1.35.5 - linux-x86_64 - ghc-8.10
git rev 8762a10efe3f9f97939e3cb05edaf04250456702
CLI version  (output of cardano-cli --version)
cardano-cli --version
cardano-cli 1.35.5 - linux-x86_64 - ghc-8.10
git rev 8762a10efe3f9f97939e3cb05edaf04250456702
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

You can use the Cardano CLI command transaction calculate-min-fee to calculate the minimum fee for a transaction.

Yes, I use the command but there are problems on the mainnet as described above.

To change the type of transaction body, you may need to use a different command or version of the Cardano CLI. It's possible that the Unwitnessed Tx BabbageEra type of transaction body is not supported on the mainnet yet, or that there is a bug in the current version of the CLI.

If there were no difficulties in finding information, then I would not ask about it.  Unfortunately, I haven't found a solution to my problem yet.
It would be great to see an example of creating a transaction body with other available types.

@CarlosLopezDeLara, @Jimbo4350
Hi!
Can you help me with these mistakes from the description?

@andrejpodzimek, hi!
Did you solve the same problem?

The testnet expected one of:

Witnessed Tx ByronEra,
Witnessed Tx ShelleyEra,
Witnessed Tx AllegraEra,
Witnessed Tx MaryEra,
Witnessed Tx AlonzoEra,
Witnessed Tx BabbageEra,
Unwitnessed Tx ByronEra,
Unwitnessed Tx ShelleyEra,
Unwitnessed Tx AllegraEra,
Unwitnessed Tx MaryEra,
Unwitnessed Tx AlonzoEra,
Unwitnessed Tx BabbageEra

But the mainnet only:

TxUnsignedByron,
TxUnsignedShelley,
TxBodyAllegra,
TxBodyMary,
TxBodyAlonzo,
TxBodyBabbage

@Jimbo4350, @CarlosLopezDeLara
Through trial and error, it turned out that the problem was in the operating system of the cardano image. The pipes are broken on Debian-based, so we've moved to Ubuntu-based images on all environments.
BUT you have to investigate and fix it for Debian-based image.

Oh great find! I hope things work now. Cheers!James RupeStake Pool OperatorMaximum Mint (Ticker AMINT)CardanoMint.comOn Mar 9, 2023, at 5:52 AM, Ilia @.***> wrote:
@Jimbo4350, @CarlosLopezDeLara
Through trial and error, it turned out that the problem was in the operating system of the cardano image. The pipes are broken on Debian-based, so we've moved to Ubuntu-based images on all environments.
BUT you have to investigate and fix it for Debian-based image.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Up

@Jimbo4350, @CarlosLopezDeLara
Through trial and error, it turned out that the problem was in the operating system of the cardano image. The pipes are broken on Debian-based, so we've moved to Ubuntu-based images on all environments.
BUT you have to investigate and fix it for Debian-based image.

I'll take a look.

@CarlosLopezDeLara, thanks!

@andrejpodzimek, hi! Did you solve the same problem?

No, I did not. I’m looking into ways to retire my pool now, which is sort of hard without the ability to make transactions.

In any case, as long as an Ubuntu-like image exists, I recommend using it before patching.

Hi, this bug is still present in non-Ubuntu images. :)
I'll keep everyone updated.

@soltanoff thanks for the bump. We've moved cardano-cli out of cardano-node repo to: https://github.com/IntersectMBO/cardano-cli
May I ask you to open a new issue there? It will be easier to track it there.

@carbolymer, hi! Sure, thank you!

Moved to https://github.com/IntersectMBO/cardano-cli/issues/939


Replacing a node in a network resets its sample rate

I appended a full example. The network plays a sine wave at 440 Hz. After replacing signal with the same sine wave, the pitch is higher. I don't think the need to set the sample rate after a replace is intended behavior.
On a side note, I understand that declick fades in the signal. When I replace the signal node, a click happens even when the pitch is the same. Is it possible to do a fade in on every replace? Thanks a lot in advance.
//! Make real-time changes to a network while it is playing.
#![allow(clippy::precedence)]

use assert_no_alloc::*;
use cpal::traits::{DeviceTrait, HostTrait, StreamTrait};
use cpal::{FromSample, SizedSample};
use fundsp::hacker::*;
use std::time::Duration;

#[cfg(debug_assertions)] // required when disable_release is set (default)
#[global_allocator]
static A: AllocDisabler = AllocDisabler;

fn main() {
    let host = cpal::default_host();

    let device = host
        .default_output_device()
        .expect("Failed to find a default output device");
    let config = device.default_output_config().unwrap();

    match config.sample_format() {
        cpal::SampleFormat::F32 => run::<f32>(&device, &config.into()).unwrap(),
        cpal::SampleFormat::I16 => run::<i16>(&device, &config.into()).unwrap(),
        cpal::SampleFormat::U16 => run::<u16>(&device, &config.into()).unwrap(),
        _ => panic!("Unsupported format"),
    }
}

fn run<T>(device: &cpal::Device, config: &cpal::StreamConfig) -> Result<(), anyhow::Error>
where
    T: SizedSample + FromSample<f64>,
{
    let sample_rate = config.sample_rate.0 as f64;
    let channels = config.channels as usize;

    // prints 48000
    println!("{sample_rate}");

    let a = Box::new(sine_hz(440.0));
    let mut net = Net64::new(0, 2);
    let signal = net.chain(a.clone());
    net.chain(Box::new(declick() >> pan(0.0)));
    net.set_sample_rate(sample_rate);

    let mut backend = net.backend();

    let mut next_value = move || assert_no_alloc(|| backend.get_stereo());

    let err_fn = |err| eprintln!("an error occurred on stream: {}", err);

    let stream = device.build_output_stream(
        config,
        move |data: &mut [T], _: &cpal::OutputCallbackInfo| {
            write_data(data, channels, &mut next_value)
        },
        err_fn,
        None,
    )?;
    stream.play()?;

    std::thread::sleep(Duration::from_secs(3));
    println!("replace signal with the same function, but now it outputs a higher pitch");
    net.replace(signal, a.clone());
    // uncomment to set sample rate again and the pitch stays at 440 Hz
    // net.set_sample_rate(sample_rate);
    net.commit();
    std::thread::sleep(Duration::from_secs(3));

    Ok(())
}

fn write_data<T>(output: &mut [T], channels: usize, next_sample: &mut dyn FnMut() -> (f64, f64))
where
    T: SizedSample + FromSample<f64>,
{
    for frame in output.chunks_mut(channels) {
        let sample = next_sample();
        let left = T::from_sample(sample.0);
        let right: T = T::from_sample(sample.1);

        for (channel, sample) in frame.iter_mut().enumerate() {
            if channel & 1 == 0 {
                *sample = left;
            } else {
                *sample = right;
            }
        }
    }
}

Thanks for the report. I committed a fix.
I agree that some kind of fading would be a good idea! I'll bump it up in the TODO order.


Allow Header/Footer font properties per column

It would be good to be able to specify different fonts/size/style per column position (left/center/right) in header and footer.
Right now it is only possible to change font settings for the whole header or whole footer.
header:
  recto_content:
    center: blah blah
    center_font_family: Courier

That's reasonable. However, I think we may have to rethink the key structure. We should rename recto_content to recto_page.
header:
  recto_page:
    center:
      content: blah
      font_family: Courier

wdyt?
If you aren't customizing the font, you could write it as:
header:
  recto_page:
    center: blah

In this case, the position is assumed to be the content.

Looks OK.
And recto_content could be deprecated but still functional to provide backwards compatibility.

Yes, I was thinking about backward compatibility. But likely we won't keep it for 1.5.0 since this is still alpha (one of the key reasons we are still in alpha). I'll phase it out maybe in beta.

Now that I've restructured the keys for the content, I can accommodate the font settings as follows:
header:
  recto:
    center:
      content: blah
      font_family: Courier

I'm going to start by experimenting with font_color as that will be easiest to implement.
Open question: Should we name the segment for face "recto_page" and "verso_page" instead of "recto" and "verso", respectively? (Since I'm remapping the legacy keys, I could still do that without breaking existing themes).

Note to self: Update the theming guide to document the new order of the theme key segments once this issue is resolved.

Since there's a lot of terminology surrounding the running content, I'd like to document some of the terms.

position - the position of the running content stamp (header or footer)
side - the page side (recto for right-hand / odd and verso for left-hand / even)
placement - the placement of the column in the 3-column layout (left, center, or right)

Great!

@igagis Any thoughts about the key recto vs recto_page?

@mojavelinux well, recto is shorter, so easier to type. Otherwise, does not matter in my opinion

Okay, we'll stick with recto/verso for now. Thanks for the input!


Interested in volunteering

Name

Natalie Chin

Role / Title / Company

Front-end web designer/developer

Availability

[ ] I'm available all day (7:30 AM - 9:00 PM)
[x] I'm only available in the AM (7:30 AM - 12:00 PM)
[ ] I'm only available in the PM (12:00 PM - 9:00 PM)
[ ] Other… (please specify)

Type of activities you can be involved in

Everything is already planned, booked and coordinated, we're just looking for humans to help scale at the day of the event

[x] Ticketing & Check-in
[x] General Guidance, Q&A
[x] Usher
[ ] Security
[x] Social Media
[ ] Photography
[ ] Food & Catering Organization
[ ] Other…

Additional Comments / Questions?

@nataliejpchin hello, if you're still interested in volunteering, please email<EMAIL_ADDRESS>for next steps.


Migrate files and documents to Amazon Cloud (S3)

We are planning to host all the uploaded documents and published xml files to Amazon S3 cloud. We will migrate all the existing documents to the cloud and update the system so that any new files uploaded or created from now on, will be directly served from S3. This will ensure the high uptime for the files.
The following tasks have been identified.

[ ] Setup Amazon S3 account for staging and demo
[ ] Migrate existing xml files/documents into the Amazon S3 cloud server, tests required
[ ] Update upload functionality to use S3 for new created files/documents
[ ] Update the server config (rewrite) to redirect the existing xml files/documents to the amazon S3 url
[ ] Tests working of all the existing files so that registry doesn't get file-not-found error for linked xml files

Moved all the files to google cloud maintaining the same file structure.


[Request] Make Kazakhstan plate detection too! :)

.

This model should work also pm Kazakhstan plate since it is similar to Russia one :wink:


ImportError: cannot import name hosts

As discussed with @gaelrehault:
Traceback (most recent call last):
 File "./deploy-overcloud.py", line 30, in <module>
   from novaclient.v2 import hosts
ImportError: cannot import name hosts

deploy-overcloud.py fails with the following error. hosts is not in novaclient.v2 anymore. The hosts module is not used by deploy-overcloud.py anyway. I applied the following change and restarted the script:
diff --git a/src/pilot/dell_nfv.py b/src/pilot/dell_nfv.py
index 318f062..95af9d2 100644
--- a/src/pilot/dell_nfv.py
+++ b/src/pilot/dell_nfv.py
@@ -26,7 +26,6 @@ import logging
 import requests
 from requests.packages.urllib3.exceptions import InsecureRequestWarning
 from novaclient.v2 import aggregates
-from novaclient.v2 import hosts
 from novaclient.v2 import servers
 from credential_helper import CredentialHelper
 from datetime import datetime
diff --git a/src/pilot/deploy-overcloud.py b/src/pilot/deploy-overcloud.py
index 04e1738..ab2f61e 100755
--- a/src/pilot/deploy-overcloud.py
+++ b/src/pilot/deploy-overcloud.py
@@ -27,7 +27,6 @@ import novaclient.client as nova_client
 import time
 from command_helper import Ssh
 from novaclient.v2 import aggregates
-from novaclient.v2 import hosts
 from novaclient.v2 import servers
 from ironic_helper import IronicHelper
 from logging_helper import LoggingHelper

get_dell_compute_nodes_hostnames() still uses the hosts module. python-openstackclient provides a similar method: https://github.com/openstack/python-openstackclient/blob/master/openstackclient/compute/v2/host.py#L24

v2.hosts was removed in Queens: https://github.com/openstack/python-novaclient/commit/1d88717e751e743ca7edd978346b95b6e7b3f235#diff-4ef50ccc65413eb1dda481e0484e831b

python-novaclient-9.1.1-1.el7ost.noarch was initially released with OSP13 because of https://review.openstack.org/#/c/571540/ . The last puddle now ships the 10 package, this is the reason why @gaelrehault didn't notice the issue.

Should be fixed now @goneri


Only save guest_id to comments model if user is not authenticated

Looks good to me. Will put this in the next release


Added support for recognizing static library types(.a, .lib file types)

This PR is for issue #59
I modified identify_file_type(filepath) function in id_magic.py to also recognize .a and .lib files.

Hi @nightlark , can you merge this PR?

@docjon09 sorry it took a bit, was taking a training course this past week. Thanks for adding this feature!

@nightlark , thanks. You have been a great guide and after working on this PR, I feel more confident towards contributing to open source projects.


BLE Init API: make it compatible with nRF51

see:
https://github.com/JUMA-IO/STM32_Platform/blob/master/system/juma/inc/bluenrg_sdk_api.h#L104
To make BLE SDK better compatible with both nRF51 and STM32,
tBleStatus ble_init_bluenrg(void);
I think, this API should be renamed to something like ble_init, to make it irrelevant to BlueNRG.
even if under the case that nRF51 doesn't have the ble_init API.

This is NOT an API but an internal function called by main(). it should not be here.

I will fix this.

fixed:
https://github.com/JUMA-IO/STM32_Platform/commit/beafcd8b0ccefc81be38ab9b328e1dd80ab665ed


Create optional parameters for some not CommonMark spans modes

pymd4c author is planning to accept keyword arguments in their issue 13, so I can wait for the implementation of that functionality to perform this.

[ ] strikethrough (as default True)
[ ] latex_math (as default True)
[ ] latex_math_display (as default True)
[ ] underline (as default False)

Needs to be handled in CLI also.

Adressed in pymd4c


Bump Dependencies #8786320181

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/8786320181

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


Deprecate usage of KifaFileCommand

Since we have api likes FindExistingFiles, the legacy framework like approach of KifaFileCommand should be deprecated.

5 left.


JIT results differs from AOT precompiled module

I'm trying to have a function pre-compiled AOT the code is:

preconp.py :

from numba import jit
from numba.pycc import CC
import numpy as np

cc = CC('nbspatial')

@cc.export('s2r',  'f8[:,:](f8[:,:])')
@jit(nopython=True)
def s2r(l):
    lx = l.shape[0]
    sesp = np.zeros((lx, 2))
    for i in np.arange(lx):
        latdec = l[i,0]+(l[i,1]/60)+l[i,2]/3600
        latrad = (latdec * np.pi ) / 180.
        londec = l[i,3]+(l[i,4]/60)+l[i,5]/3600
        lonrad = (londec * np.pi ) / 180.
        sesp[i,:] = [latrad,lonrad]
    return sesp

if __name__ == "__main__":
    cc.compile()

I compile it with:
python3.6 precomp.py

but testing it with:
import nbspatial
import numpy as np

l=np.array([[60, 25, 30, 15, 23, 43], [40, 25, 30, 15, 23, 43]])

nbspatial.s2r(l)

array([[5.e-324, 0.e+000],
       [5.e-324, 0.e+000]])

The same function, works fine if not precompiled:
import numpy as np
from numba import jit

@jit(nopython=True)
def s2r(l):
    lx = l.shape[0]
    sesp = np.zeros((lx, 2))
    for i in np.arange(lx):
        latdec = l[i,0]+(l[i,1]/60)+l[i,2]/3600
        latrad = (latdec * np.pi ) / 180.
        londec = l[i,3]+(l[i,4]/60)+l[i,5]/3600
        lonrad = (londec * np.pi ) / 180.
        sesp[i,:] = [latrad,lonrad]
    return sesp

l=np.array([[60, 25, 30, 15, 23, 43], [40, 25, 30, 15, 23, 43]])
s2r(l)

array([[1.0546152 , 0.26869829],
       [0.70554935, 0.26869829]])

Thanks for the report. I'm fairly sure this is because you have declared an AOT function to take a f8 array and then pass it an integer one. If you do:
import nbspatial
import numpy as np
l=np.array([[60, 25, 30, 15, 23, 43], [40, 25, 30, 15, 23, 43]], dtype=np.float64)
                                                                 #^--- note the dtype
print(nbspatial.s2r(l))

you get:
[[ 1.0546152   0.26869829]
 [ 0.70554935  0.26869829]]

which seems to be the same as running the original function in the interpreter?

@stuartarchibald ,Thank you so much for this reply! Yes, that's the expected result.

Great to hear that. Thanks for confirming. Closing.

Shouldn't the AOT compiled function throw an error if the argument types don't match the signature? Even better would be if it just fell back to the jit decorator, compiling a function with the appropriate argument types on the fly if not of the AOT compiled exports match
Having the AOT compiled function accept incorrect arguments and then silently return the wrong result seems like a bug to me?

Yes, silent failure on this should be considered a bug.

Thanks for the feedback. When reading this I was in two minds about whether the function should raise given a user has declared the type and the contract for AOT compilation is more like that of the compilation of statically typed code. What has swayed me is that a user could feasibly want to use AOT to remove a dependency on Numba for a shipped package and it would be most inconvenient to force the user to have to write guard code to ensure type validity at the call site to guarantee numerical correctness. I've opened #2757 to track.
As to dynamically falling back to compiling for missing signatures, whilst I imagine it is possible it would mean having an optional dependency on the Numba machinery at runtime (the significance of the difference between AOT and cache=True becomes smaller?) and having to include some Numba-compiler-pipline-useable representation of the original function in the compiled module. If this is desirable please feel free to open a ticket to discuss.


feat: include only output dir

I want to add vue-svg-loader to my project, but it conflicts with your created rule in module.js:
config.module.rules.push({
  test: /\.svg$/,
  use: [
    {
      loader: 'url-loader',
      options: {
        limit: 12, <-- what a magic constant?
      },
    },
  ],
})

So... I included only folder where generated sprite is stored. Also notice that this line of code
const urlLoader = config.module.rules.find(rule => String(rule.test).includes('svg'))

does not get actual rule with url-loader, what it does – it gets the  first rule that match .svg files (in my case, my defined svg-rule with vue-svg-loader).  Additionally, can you, please, answer some of my question?

Why do you need url-loader for svg-sprite file if it fallbacks to file-loader?
You have specified a limit in 12 bytes – it simply will never match. What's the 12 bytes mean?

Why do you need url-loader for svg-sprite file if it fallbacks to file-loader?

file-loader increase js chunk, it places base64 encoded file in js chunk, that is not aligned with module goal.

You have specified a limit in 12 bytes – it simply will never match. What's the 12 bytes mean?

This limit is small enough in order to don't match any file, and keep sprite files out of js chunk
I thought we could do a little improvement in extending build, to remove further conflicts with any rule.
Exclude gen directory from default svg loader

@farnabaz , We could iterate over all rules that matches .svg files, and push to exclude property gen folder. What do you think about it?

@andrewvasilchuk
It seems good solution, gen directory belongs to our module only and this way we can prevent conflicts.

The file-loader resolves import/require() on a file into a url and emits the file into the output directory.
ulr-loader – a loader for webpack which transforms files into base64 URIs.
Seems like we can drop url-loader?

Seems like we can drop url-loader?

You are right, we could use file-loader for sprites

Can I create a new PullRequest?


AEBN Scenes being put into same entry

I was playing around with the AEBN scene support today with a Boy Crush title that I have two scenes from.  The title is "Bus Stop Boys" and I have scenes 3 and 5.  I have them named as Bus Stop Boys Scene 3.mp4 and Bus Stop Boys Scene 5.mp4.
After a scan, I get an entry for Bus Stop Boys Scene 3 and that entry has both files under it.
Since I don't know if you can add files to to an issue, I've included a PasteBin link with the log entries from the most recent scan.
Log File

Well thank you for posting a log file. It looks like it is doing as I coded it is it not? It keeps the scene name and has the unique stars for that scene and genres, and keeps the description and image from the main title.
What specifically are you trying to say? Have just Bus Stop Boys then open that on plex to see options for viewing scenes? I don't know if plex is able to do that. If you can find an agent that does that sort of thing I can add it in.

It retrospect, I believe Plex is performing as designed, and I guess it's not really possible to split what it considers scenes.  So yeah, the agent is as designed here.


bots: Make test-bots and run.py independent from current working path.

Looks great, merged, thanks @derAnfaenger!


Handling second-tier references

I use this nuget package which delivers four dlls but references only the top two of them in the csproj. (see my post on SO explaining this behaviour).
VS and MSbuild both do right at compilation, detecting references from other two libraries and resolving them because they are on the same folder (according to this post ) and the four libraries are in the bin folder.
Wax doesn't detect them, and I understand that's because it's based on csproj file, but if MSBuild can do it maybe we can too ?
Regards

I'm working on it, and I'll send you a pull request.

Using Assembly.LoadFile is dangerous, the file will be locked by the VS process forever. I have refactored it using Mono.Cecil  (https://github.com/tom-englert/Wax/commit/d36a782b7ffb5d25f897262b4458c14779e02e14)

Nice ! Thank you for the tip, I didn't know about Cecil, it looks amazing !


v1.12 backports 2023-06-05

[x] #25724 -- ipsec: Fix XfrmInNoStates drops on ESK & AKS upgrades (@pchaigno)

Minor conflicts in node.go due to https://github.com/cilium/cilium/pull/24208 not being in v1.12.
Trivial conflicts in config.go and daemon_main.go due to viper->vp change.

[x] #25744 -- ipsec: Reinitialize IPsec for new devices in ENI mode (@joamaki)

Trivial conflicts in includes and due to minor code movements in loader.go.

[x] #25784 -- ipsec: Fix leak of XFRM OUT policies (@pchaigno)

Trivial conflict in node_ids.go due to a new function added in main.

[x] #25735 -- ipsec: Fix XfrmOutPolBlock drops on upgrades (@pchaigno)

Minor conflict in includes of state.go.

Once this PR is merged, you can update the PR labels via:
$ for pr in 25724 25744 25784 25735; do contrib/backporting/set-labels.py $pr done 1.11; done

/test-backport-1.12

/test-backport-1.12

/test-backport-1.12

I re-did the above, manual tests with the latest changes.


Added link for Sable

Let's add an "Open Sable" button to the sheets in "Activity". You'll have to check if the app is installed using a URL scheme provided by Sable.


Connect remote clients

This PR adds the ability to connect to a federation and download it's config.
To do this I create a struct called WsFederationConnect. This just contains enough information to instantiate WsFederationApi.
This PR also adds commands to download a remote config or generate a WsFederationConnect and print it out JSON-serialized.
I also try to convert some Strings to SocketAddrs in pursuit of https://github.com/fedimint/fedimint/issues/376.

Codecov Report

Merging #315 (d4f5fe5) into master (3232ae3) will decrease coverage by 0.71%.
The diff coverage is 13.59%.

:exclamation: Current head d4f5fe5 differs from pull request most recent head 96581e6. Consider uploading reports for the commit 96581e6 to get more accurate results

@@            Coverage Diff             @@
##           master     #315      +/-   ##
==========================================
- Coverage   81.59%   80.88%   -0.72%
==========================================
  Files          82       82
  Lines        9303     9394      +91
==========================================
+ Hits         7591     7598       +7
- Misses       1712     1796      +84

Impacted Files
Coverage Δ

client/cli/src/main.rs
0.70% <0.00%> (-0.12%)
:arrow_down:

client/client-lib/src/api.rs
81.45% <0.00%> (-4.70%)
:arrow_down:

modules/minimint-mint/src/lib.rs
90.65% <0.00%> (-0.51%)
:arrow_down:

minimint/src/net/api.rs
74.61% <3.84%> (-17.70%)
:arrow_down:

ln-gateway/src/bin/ln_gateway.rs
0.55% <4.16%> (-0.08%)
:arrow_down:

ln-gateway/src/lib.rs
41.62% <100.00%> (+0.28%)
:arrow_up:

ln-gateway/src/webserver.rs
34.37% <100.00%> (+6.78%)
:arrow_up:

minimint/src/config.rs
72.72% <100.00%> (+0.16%)
:arrow_up:

minimint/src/net/peers.rs
93.17% <100.00%> (+0.01%)
:arrow_up:

... and 1 more

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

Should be ready to go. Sorry this took so long!


Change User Info page to be admin rather than developer

The intent of this change is to make the page which summarizes user information (example) accessible to admins, not just developers. It appeared to me that the information contained in the page is user-centric, which feels more appropriate for an administrator role, rather than restricting it to developers. Most of the information is publicly available (either through the MS API, or on SE), or is directly relevant to the individual user.
The button that causes all the moderator sites to be re-determined was left as developer only, as it affects all users and is quite expensive from a SE API point of view.
As usual, these changes include a significant amount of educated guesses on my part as how all this works, so should be reviewed from that POV.
It should also be reviewed from the POV of: "should this actually be changed". This change reflects my opinion/understanding of the separation between admin and developer, which may not be consistent with what was intended.

Re admin vs. developer: pretty much what they say on the tin. Admin is an administrative function. Developer is intended to be a role to grant access to the nuts and bolts and inner workings - stuff that should generally be left alone, but which requires knowledge of the internals when it does need to be poked at.
Sending password reset emails can be an admin function. However, refreshing mod sites and refreshing chat IDs should both remain as developer-only: they should generally be left well alone, but there are reasons to press them if MS isn't working properly (which requires that knowledge of how it works).

I have no problem with refresh_ids being developer and have pushed a commit for it.
The main use-case I was visualizing for that button was where the MS user didn't have an account on one or more of the chat servers at the time the MS user created their MS account. At least my impression was that MS wouldn't pick up a new chat account if one was created after that point. That use-case felt more like an administrator role than developer, but can see it being developer. OTOH, I agree that any other use-case that I'm seeing for it is definitely developer.


Rook Ceph Grafana Dashboard fails to show some info after mgr pod restarts

So mgr pod is the one which is exposing Ceph related metrics. And when this pod restarts the dashbaord shows certain panels with error:
Only queries that return single series/table is supported

See following screenshot:

Now this error occurs because these panels are expecting only one result for the query ceph_health_status and similar ones. But it gets two results(over the period) and hence it is complaining.
ceph_health_status{endpoint="http-metrics",instance="<IP_ADDRESS>:9283",job="rook-ceph-mgr",namespace="rook",pod="rook-ceph-mgr-a-6bc447cfff-sc85b",service="rook-ceph-mgr"}
ceph_health_status{endpoint="http-metrics",instance="<IP_ADDRESS>:9283",job="rook-ceph-mgr",namespace="rook",pod="rook-ceph-mgr-a-6bc447cfff-vplq6",service="rook-ceph-mgr"}

Above is obtained from Prometheus if you look at it in a Graph tab of:

But if you query for that "point in time", AKA Console tab, you see only one result:

@surajssd mind checking if this is still actual?


Page still lists Sentinel as preview

Page still lists Sentinel as preview

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

ID: 9cbfa632-1612-9d5f-7f36-3128d7305f14
Version Independent ID: 000c1405-b54f-6668-daac-ac69c97d9601
Content: Connect CEF data to Azure Sentinel Preview
Content Source: articles/sentinel/connect-common-event-format.md
Service: azure-sentinel
Sub-service: azure-sentinel
GitHub Login: @rkarlin
Microsoft Alias: rkarlin

Thanks for the feedback. I have created a PR with the update and changes will be live shortly.
https://github.com/MicrosoftDocs/azure-docs-pr/pull/90202


can we make the auto reload more responsive?

the default interval for the file watcher is 5007, that means even if gulp detects my changes to the original file and regenerated it within several milliseconds, i need to wait for at least 5 seconds for the page to refresh (because it take 5 sec for gulp-webserver to discover that)
it would be awesome if my page get refreshed as soon as i hit ⌘+S, so i override the default interval parameter to be 500ms (on my machine it often takes 2-3ms to generate a file, and it think 500ms for discovering such a change is pretty enough.)

#92


testing under node version 5 and 6

I'd keep stable, though.

Stable is deprecated. We are removing it everywhere. Gulp 3.x won't be supported on node 7


Example helping implementation of the top-level API

This code provides a basic implementation meeting the requirements that the specification imposes without adding additional API.
The code also provides that basic implementation in an non-tracer specific way.

This implementation is akin to GoHTTPHeader format in Go API, but it's not really a split implementation. For example, the injector does not provide the ability to opt out of propagating trace attributes. The only way to achieve opt out would be to pass an intermediary Map, and then loop through its keys and filter them out by prefix, which breaks the other design goal of the end user not knowing which header names individual implementations use to propagate the context.

I don't think these constants belong in the public API.

Implementing the split is trivial.
You could parameterise the SplitTextFormatInjectorImpl,
eg splitTextFormatInjectorImpl.setTraceAttributesIncluded(false);
or parameterise the tracer and have it register a different injector for maps,
eg registry.register(Map.class, new TraceStateOnlyFormatInjectorImpl());

I'm closing this pull request in favour of opening it again with the correct destination and to start discussion afresh.


Added simd8 usage on FHOG features computation

FHOG module is based on simd4 and works well. I am adding simd8 usage if DLIB_HAVE_AVX is defined
MSVC 2013, Windows 7, x64 - performance is about 3-4% better (not much, but little better)
GCC 5.2, Ubuntu x64 - performance is about 12 % better (i think, it is much better)
So, with my previous PR's, the overall performance is expected to be 20% better on AVX processors - as on Linux, as on Windows
BTW, GCC/Ubuntu build works about 20% faster than MSVC/Windows
For performance testing i am running 100 iterations of detector with 2007_007763.jpg from examples/faces folder. MSVC time is about 12 seconds, GCC - 9.7 seconds on my laptop
Regression test:
Release\dtest.exe --test_fhog
Testing Finished
Total number of individual testing statements executed: 175037700
All tests completed successfully
Is there a better way to organize this code? May be split into separate generic functions? I dont like how #ifdef is used

Cool.  Did you try always running it with the simd8 code?  Is it slower when AVX isn't enabled?

I made some more testing. Added MSVC2015. All testing are now done on fhog_ex sample with one 2007_007763.jpg image, upsampled several times (lower time is better)

OS
Compiler
Compiler SIMD mode
Dlib simd class used
Time RGB24, s
Time GRAY8, s

Windows7 x64
MSVC2015 x64
AVX
simd8 with __mm* functions
11.8
8.0

Windows7 x64
MSVC2015 x64
AVX
simd4 with __mm* functions
12.6
10.0

Windows7 x64
MSVC2015 x64
AVX
simd8 with 2xsimd4
13.8
11.4

Windows7 x64
MSVC2015 x64
SSE2
simd4 with __mm* functions
19.3
14.4

Windows7 x64
MSVC2015 x64
SSE2
simd8 with 2xsimd4
18.4
13.4

Windows7 x64
MSVC2013 x64
AVX
simd8 with __mm* functions
13.4
9.4

Windows7 x64
MSVC2013 x64
AVX
simd4 with __mm* functions
13.6
10.5

Windows7 x64
MSVC2013 x64
AVX
simd8 with 2xsimd4
15.5
12.8

Windows7 x64
MSVC2013 x64
SSE2
simd4 with __mm* functions
21.3
15.2

Windows7 x64
MSVC2013 x64
SSE2
simd8 with 2xsimd4
20.7
15.7

Ubuntu 15 x64
GCC 5.2 x64
AVX
simd8 with __mm* functions
9.8
6.2

Ubuntu 15 x64
GCC 5.2 x64
AVX
simd4 with __mm* functions
9.8
8.3

Ubuntu 15 x64
GCC 5.2 x64
AVX
simd8 with 2xsimd4
10.0
7.2

Ubuntu 15 x64
GCC 5.2 x64
SSE2
simd4 with __mm* functions
19.6
15.1

Ubuntu 15 x64
GCC 5.2 x64
SSE2
simd8 with 2xsimd4
19.0
13.4

As I said, I upsampled image several times - to make near 8000x5000 size and runned 10 iterations. On small images, < 2 MP there will be no difference for simd4/simd8 - this is important for fhog_ex sample where we are building HOG features only for one pyramid level
With face detection we are building image pyramid and processing one image many times, so we will get profit from simd8 instructions
Most interesting results are on GRAY8 images (array2d) - benefit from simd8 on GCC is very high
Using simd8 instead of simd4 everywhere in fhog module to make it work as 2xsimd4 is an open question. I think results will vary much on different CPU/Compiler/OS

Nice analysis.  So it looks like it's generally a win to use simd8 all the time rather than switching based on AVX support or not.  I ran some tests on my computers and simd8 was also generally a little bit faster regardless of AVX. Since using simd8 all the time avoids needing to use #ifdef in the code and is faster can you modify this PR to use simd8 all the time and not use any #ifdef?

Done. Now only simd8 is used for fhog

Sweet, thanks for another nice patch :)


Add distributed train script

Didn't get much time to work on this today. Had some cluster issues to debug

Going to close this. We've been talking on the issue.
Not sure what to upstream from the distributed code.  Will leave it separate.
Maybe the XLM stuff. But it's so slow at the moment anyway.


restart only postprocessings that were not classified as virus

Description
only restart postprocessings that haven't been classified as virus files yet
Related Issue
Motivation and Context
How Has This Been Tested?
in a setup that has a virus scanner
Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[ ] Tests only (no source changes)

Checklist:

[x] Code changes
[ ] Unit tests added
[ ] Acceptance tests added
[ ] Documentation generated (make docs) and committed
[ ] Documentation ticket raised:
[ ] Documentation PR created:

Is there also some documentation about this magic CLT parameter?

$ ocis storage-users uploads sessions --help
NAME:
   ocis storage-users uploads sessions - Print a list of upload sessions

USAGE:
   ocis storage-users uploads sessions [command options] [arguments...]

OPTIONS:
   --id value    filter sessions by upload session id (default: unset)
   --processing  filter sessions by processing status (default: unset)
   --expired     filter sessions by expired status (default: unset)
   --json        output as json (default: false)
   --restart     send restart event for all listed sessions (default: false)
   --help, -h    show help

Well I was hoping for something on owncloud.dev or alike.

Well I was hoping for something on owncloud.dev or alike.

Doesn't go much more into details: https://owncloud.dev/services/storage-users/#sessions-command

Doesn't go much more into details: https://owncloud.dev/services/storage-users/#sessions-command

At least there is something. I was unable to find it.


Examples.classification.crescent_data()

This example isn't working, no attribute m.pseudo_EM().
Ricardo, I think this is your old code from Master? It would be cool to get it working again ... is it a big issue to fix?

Is this going anywhere? I have not launched the example in a long time.

I thought at the last (and only!) developers meeting we decided to convert
examples to benchmarks/tests and have the real examples in the notebooks. I
may have misremembered though! We can rediscuss when we start developer
meetings. Thanks for clearing up all these issues Max!
On Wed, Sep 9, 2015 at 6:59 PM, Max Zwiessele<EMAIL_ADDRESS>wrote:

Is this going anywhere? I have not launched the example in a long time.
—
Reply to this email directly or view it on GitHub
https://github.com/SheffieldML/GPy/issues/142#issuecomment-138990897.


add CDNJS version badge in README.md

This badge will show the library version on CDNJS!

Thanks!


Empty ZIP files generated - why?

The following code is supposed to generate a ZIP file with one file foo.txt
inside. However the resulting out.zip file is empty. Why?
-----------

[ajung@dev1 onkopedia_buildout]$ cat x.py
import fs.zipfs

z = fs.zipfs.ZipFS('out.zip', 'w')
z.open('foo.txt', 'wb').write('nmj')
z.close()

[ajung@dev1 onkopedia_buildout]$ bin/zopepy x.py
[ajung@dev1 onkopedia_buildout]$ !un
unzip out.zip
Archive:  out.zip
warning [out.zip]:  zipfile is empty

Original issue reported on code.google.com by zopyxfilter on 31 Jul 2014 at 6:17

Shouldn't whatever is returned by z.open() have a __del__ method that closes it automatically? At least that's the behavior of other file-like objects in Python (of course open('foo', 'w').write('bar') is still ugly, but people do it nonetheless ;x)

It does, but in the original code the file didn't go out of scope. It was still open at the time the zipfs was closed.


Extremas for inverted series showing in wrong location

Checklist

[x] I updated the card to the latest version available
[x] I cleared the cache of my browser
[x] I verified that I'm really running the lastest version in my browser console
[x] I checked if there is another issue opened with the same problem

Describe the bug
When enabling extremas for an inverted series, the extrema flags are located at the non-inverted peak and trough. These y position for these should be inverted prior to display.
Version of the card
Version: 1.7.1
To Reproduce
This is the configuration I used:
cache: true
header:
  show: true
  title: Network Bandwidth
  show_states: true
  colorize_states: true
all_series_config:
  type: area
  show:
    extremas: true
series:
  - entity: sensor.wan_bandwidth_in
  - entity: sensor.wan_bandwidth_out
    invert: true
graph_span: 2h

Screenshots
If applicable, add screenshots to help explain your problem.

Expected behavior
Extrema for inverted series to be displayed below the 0 line on the y axis
Desktop (please complete the following information):

Browser Chrome
Version 88.0.4324.150 / 88.0.4324.182

Smartphone (please complete the following information):
Phone: Huawei Mate 20 Pro
OS: Android (EMUI <IP_ADDRESS>8)
Browser: Firefox
Version: 85.1.3
Additional context
Add any other context about the problem here.

Good catch! Forgot about that one :)

That fixed the inverted point placement, but I also didn't notice the -ve sign on the value in the legend. (My bad, sorry!) The expected value is in the header, but the legend shows with a preceding -ve.


Initialise video dynamically

What options are there to initialize a video dynamically?
Currently videos are initialised via loading the component and that is bad when you must set the video source et al dynamically.
Cheers,
Erwin

https://github.com/surmon-china/vue-video-player/blob/master/src/player.vue#L157
In fact, when the configuration parameters of your incoming components change, the components will be released and re-initialized, which can meet your needs?

how in ssr ?

@surmon-china this is working very well! It's only when other plugins fail with non-existent data yet ( youtube embed) that causes me trouble.
I have fixed this simply by adding a state parameter to data: videoLoaded: false/true
and added a condition to the component:
<video-player v-if="videoLoaded"...>
This worked better than anticipated!

@mercs600 In fact, as long as there is any change to your videoOptions, will the player release and reinitialize it, whether it's youtube or something else?
https://github.com/surmon-china/vue-video-player/blob/master/src/player.vue#L221

this is not working on Nuxt SSR mode.

@mercs600 In fact, as long as there is any change to your videoOptions, will the player release and reinitialize it, whether it's youtube or something else?
https://github.com/surmon-china/vue-video-player/blob/master/src/player.vue#L221

this is not working on Nuxt SSR mode. I use link from youtube as source.

add this directive  v-if  as :
 <div
      v-if="videoLoaded"
      class="video-player-box"

         @play="onPlayerPlay($event)"
         @pause="onPlayerPause($event)"
         @ready="playerReadied"
         @statechanged="playerStateChanged($event)"
         v-video-player:myVideoPlayer="playerOptions">
    </div>

I use it under the Nuxt and asyncData  is invalid because ‘’this‘’ cannot be obtained after rendering


Policies: Need to support users.

Because Concourse and terraform deployments work best with users registered on the account they are deploying to (i.e. not assumed roles), we need to support adding policies to a user also. This can perhaps be done with count:
resource "aws_iam_user_policy" "cloudformation" {
  count  = "${var.deploy_user == "" ? 0 : 1}"
  name   = "${var.prefix}-cloudformation-policy"
  user   = "${var.deploy_user}"
  policy = "${data.aws_iam_policy_document.cloudformation.json}"
}

The above would require that the deploy_user variable is not calculated (because of count), which would not be too much hassle for the end user. If we need to split the two, I'll need to think some more on how to do that - might have to resort to JSON policies in that case.

Fixed by #44.


header when printing file from Editor

Issue Report Checklist

[ ] Searched the issues page for similar reports
[ ] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[ ] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[ ] Tried basic troubleshooting (if a bug/error)

[ ] Restarted Spyder
[ ] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[ ] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
When I print code from the Editor (File menu, 'print') it would be extremely helpful to have a page header listing at the very least, the filename, date, and possibly path. Matlab does this from its editor, and the header can be configured in 'page setup' or something in 'preferences.' Otherwise you have text output with no identification, so I have to write the filename, date by hand
What steps reproduce the problem?

anytime you print from the editor

What is the expected output? What do you see instead?
I just get the text file but want a header so I can identify it for reference
Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

Spyder version:
Python version:
Qt version:
PyQt version:
Operating System name/version:

Dependencies

PASTE DEPENDENCIES HERE

Hi @dinosg thanks for the feedback! I'm not totally sure if that is easily achievable (we are basically using the support that Qt gives to access a print dialog in a cross-platform way as far as I recall) but it seems to me that it could be something nice to have!
Just in case pinging @spyder-ide/core-developers to hear some thoughts :)

Hi @dinosg thanks for the feedback! I'm not totally sure if that is easily achievable (we are basically using the support that Qt gives to access a print dialog in a cross-platform way as far as I recall) but it seems to me that it could be something nice to have!
Just in case pinging @spyder-ide/core-developers to hear some thoughts :)

The relevant code is here. Qt doesn't have an API to easily add headers and footers, but we could write our own...would certainly be nice, but not trivial to do. Examples heres, and here.

The relevant code is here. Qt doesn't have an API to easily add headers and footers, but we could write our own...would certainly be nice, but not trivial to do. Examples heres, and here.

Thanks for the feedback @CAM-Gerlach :+1:

Thanks for the feedback @CAM-Gerlach :+1:

For people that work with Notepad++ you can set this up under Settings, Preferences, Print ... you can specify headers and footers to include date, time, filename etc.  It might make it easier for windows users to simply use Notepad++ as their default text editor/printer.

For people that work with Notepad++ you can set this up under Settings, Preferences, Print ... you can specify headers and footers to include date, time, filename etc.  It might make it easier for windows users to simply use Notepad++ as their default text editor/printer.


Exclude author solutions from counting

resolves  #896

@driesvints I took a look at the query and it doesn't have a big impact on performance so I think we're good.
However, it doesn't actually have an impact on the counts for the current top 5.
The query (event without this addition) is ~500ms on production, so it may be worth raising an issue to look into this. Having said that, we cache it every 30 minutes so I don't think it's too much of a problem.

Thanks @faissaloux & @joedixon!


Export cropped images for a single worm

Hi,
Is it possible to export every single cropped images for a single worm shown in the video? For example, if a video with 1000 frames contains 5 worms and I would like to have 1000 cropped images that only show a single worm for each worms, how do I export the 5000 images? Is it something built in the GUI or I have do it with command lines and specific functions?
Thanks,

Sorry for the long delay on this.  Hopefully you've already got a solution, but in case others have the same issue, it's not something we've built into the GUI so you would need to code something separately.  In case the purpose is to visualise some close-up worm videos for a presentation, people in the lab often use the GUI to select a worm of interest and then do a screen capture of the close up to create sample videos.

Here's some Matlab code I wrote that I think will do what you need (you would just need to select the region around a single worm based on the skeleton coordinates for plotting).
https://github.com/aexbrown/tierpsy-tools-matlab/blob/master/frame_image_export.m


Update vulnerable package: xmldom

Updated to @xmldom/xmldom which is now valid.
Done npm audit fix to resolve other issues.
Resolves: https://github.com/x2js/x2js/issues/110

The problem isn't that you tried to "reach" me, neither the time, it's that you tried to reach me on every possible ways you can get, as quick as possible.
I didn't said that I do not have time for this. Just, even if it was my job to maintain x2js, this is not ok to do that.


fixed "video returned by Youtube Isn't what was requested"

credit to LuanRT(https://github.com/LuanRT) for new player params (i tested it on client version 19.07.39 didnt encounter the issue during 6 hours of testing)

Can confirm this works. Thank you! 🎉

I can also confirm this works!


Update JobCard component

Release Type: Non-breaking changes
Fixes https://x-team-internal.atlassian.net/browse/XP-3311
Description

Please make sure to review and merge https://github.com/x-team/xp-ui/pull/465 first as this one if built on top of that.

This PR add some fixes in the JobCard component.
Checklist

[x] set yourself as an assignee
[x] set appropriate labels for a PR (In Review or In Progress depending on its status)
[x] move respective JIRA issue to the IN REVIEW column
[x] make sure your code lints (npm run lint)
[x] Flow typechecks passed (npm run flow)
[x] Snapshots tests passed (npm run jest)
[x] component's documentation (.stories.js file) is changed or added accordingly to reflect any new or updated use cases or variants usage
[x] if any snapshots have been changed, verify that component still works and looks as expected and update the changed snapshot
[x] manually tested the app by running it in several different browsers (Firefox, Chrome, Opera, Safari, MS IE/Edge, etc.) and checked nothing is broken and operates as expected!

Related PRs

branch
PR

XP-3311-applicant-apply-for-a-job
XP

XP-3376-applicant-screen-notification
XP

Steps to Test or Reproduce

Go to http://localhost:9001/?path=/story/ui-components-jobcard--basic-usage

Impacted Areas in Application
JobCard component
Screenshots

Resolved merge conflicts


Revert "Make envoy user part of the tty group instead of chown stderr…

…/stdout (#34830)"
This reverts commit 43d6b1e0faeb47815dfe284f6185aa40fb8c18d5.

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

cc @dobrerazvan

I tested this using kubectl exec and all was good. Indeed, I retested it now on OpenShift and the chown error is gone, but it still doesn't work. What environment did you use for testing?

What environment did you use for testing?

its a ubuntu 22.04 host - not so available today - but will look further when i get chance


FileSystem - Folder expands after project save

Godot version:
3.1 stable
OS/device including version:
Windows 7x64
Steps to reproduce:

Expand folder in FileSystem,
Select some file in this folder,
Collapse folder,
Press Ctrl+S

Result: folder is expanded again
Expected: folder is not expanded, cause it was collapsed

I can confirm this on commit 7ca9863079c2c033e5dd550e0ab989c8593352cc.

Still relevant on 4ee8ecd.
Perhaps ensure_cursor_is_visible keeps expanding items used by a Tree (if ever used).


Letter rotated

Note: Ignore the failing tests for now ^^ We forgot to update the Snapshot tests. I will do that (and add a Snapshot test for LetterRotated)

Note /self: Animated.parallel, interpolate


l1-loss

Description
Cree el notebook de las perdidas L1 loss, l2 loss y lp loss en la carpeta losses
Checklist
Ensure your pull request meets the following requirements:

[x] I have reviewed existing notebooks to avoid duplications.
[x] My notebook is fully executed.
[x] I have included a list of all libraries and their versions used in the notebook.
[x] The notebook file is named clearly to reflect the topic (e.g., cross-entropy-loss.ipynb).
[x] I have placed the notebook in the appropriate directory under notebooks/.
[x] My code is simple, precise, and adheres to good coding practices.

Linked Issues
Additional Information

please respect the contribution guidelines, only reviewers can make merge until all requested changes are resolved


chore: defined a new ADR proposal process

The proposed process is to be initaly manual, with an aim to automate it in the short term.

In the process, it seems (considering what you have done) that proposed ADRs in PRs are in proposed status.
Should this process explain how an ADR moves to Accepted status ? Or more generally the ADRs  lifecycle ?

In the process, it seems (considering what you have done) that proposed ADRs in PRs are in proposed status.
Should this process explain how an ADR moves to Accepted status ? Or more generally the ADRs lifecycle ?

Good point! Will submit a correction.

Could be squashed and merged


jwt lib update

updated jwt lib to v5.2.1
Closes #833

Reviewer checklist

Read PR description: a summary about the changes is required
Changelog updated
Documentation: docs/{Reference, Cli, ...}, Docker and cli help/usage
Pulled branch, manually tested
Verified requirements are met
Reviewed the code
Reviewed the related tests

BTW, there are other dependecies that could be updated, too, for a 1.13 release.


Add 'New View For File' to file menu

New option in the file menu to create a new tab for the current active pane item. Only works if the active item is a TextEditor object. The new item is then set as the active item. newViewForActiveTextEditor() returns the new TextEditor or 'undefined' if the active pane item is not a TextEditor. This closes atom/atom#8409.
Preview

Note
No spec for this yet, because I am not sure which spec this should belong to. Might want to change the command name from application:new-view-for-file to something else. I was not sure if it should be 'application' or 'pane' in the command.

Maybe rename it to: "Duplicate View For File"...

How about just "Duplicate File"?  Though that might suggest you're also duplicating it on the disk.

Personally I like Sublime's name for this (New View into File). I think the into makes it more clear that you're just opening a second "peek" into the file, rather than creating something that might be saved to disk.

@jerone That could work if the Atom team likes it.
@50Wliu I think "Duplicate File" would be confusing.
@mnquintana The original issue mentioned that. That would work well, just wasn't sure if the Atom team wanted to use those exact words.

Sadly, it looks like this feature will never see the light of the day.

I think it needs to start with a verb. I like @jerone's suggestion: Duplicate View For File.
This will need specs for the new command.

No response.


Port tests in wildcard.rs to sqllogictest

Which issue does this PR close?

Closes https://github.com/apache/arrow-datafusion/issues/6216
Rationale for this change

What changes are included in this PR?

Are these changes tested?
Yes, I tested it with $ cargo test -p datafusion --test sqllogictests -- wildcard and $ cargo test -p datafusion --test sql_integration

Are there any user-facing changes?
No

Since I am trying to keep the number of open PRs down I took the liberty of merging up from main to this branch as there was a conflict.


Add Nordic Energy Token

[x] I will not ping the Discord about this pull request.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR
At minimum each entry should have
Token Address: CjpDCj8zLSM37669qng5znYP25JuoDPCvLSLLd7pxAsr
Token Name: Nordic Energy Token
Token Symbol: NET
Logo: https://i.imgur.com/wOmG3UV.png
Link to the official homepage of token: https://nordicenergy.io/
Coingecko ID if available: (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

Added Nordic Energy Token


SAS Logical Interconnect Group - Name to URI conversion fails on logicalInterconnectGroupUri fields

Scenario/Intent
Pass in a name of a SAS LIG instead of a URI in a puppet manifest.
Environment Details

Puppet module for HPE OneView Version: 2.2.0

Steps to Reproduce
Run a manifest where a SAS LIG name is given in a LogicalInterconnectGroupURI field.
i.e.:
oneview_enclosure_group{'Enclosure Group Create':
    ensure => 'present',
    data   => {
      name                        => 'TEST_with_sas',
      stackingMode                => 'Enclosure',
      # interconnectBayMappingCount => '8',
      interconnectBayMappings     =>
      [
        {
           interconnectBay             => '1',
           logicalInterconnectGroupUri => 'SASTEST'
         },
         {
           interconnectBay             => '4',
           logicalInterconnectGroupUri => 'SASTEST'
         },
      ],
    }
}

Expected Result
Should automatically swap the name for the URI to make the calls.
Actual Result
Returns a resource not found error, since it is looking strictly for Logical Interconnect Group resources and not SAS Logical Interconnect Group

Was just about to open this up but it looks exactly like yersterdays issue. Thanks!

Was just about to open this up but it looks exactly like yersterdays issue. Thanks!

@frippe75 Fix is in, please be sure to update your repository and let us know if you hit something else.
Cheers :octocat:


Improved mapping table AWS <> Google

Include items from here:
https://cloud.google.com/docs/compare/aws/
https://storage.googleapis.com/gregsramblings-downloads/aws-gcp-mapping-full.pdf

I've created this PR which addresses some of these: https://github.com/open-guides/og-aws/pull/108


Species spawning without traits

Don't have time to hunt for the cause right now, but looks like the trait assignment system broke.

Works just fine in Heavy

Nvm, can't replicate it anymore either.

Confirmed cause. They spawn just fine, but the AI doesn't know how to genemod for shit, so occasionally it'll revert its species back to the original (empty) template for no reason.


Profile improvements roadmap

At the risk of sounding like I'm setting something in stone, I thought I'd write down my thoughts for recent profile expansion conversations to talk through it.

Finish #807 --- I have internals in a draft, and a PR from Pelsin to implement the UI, and then I just need to test OLED display a bit.
Add profile enabled field --- seems like a good idea for a toggle profile hotkey. Would default to enabled for backwards compatibility, no need for a migration. I think this would go in GpioMappings along with the label.
Consolidate the core Config GpioMappings and ProfileOptions GpioMappings, making the former just one more entry in the latter. This cleans up some code, and especially removes some duplication in the API and UI code. I always meant to do this, and there might be some landmines here to look into, but this seems like the right choice. The migration for this would bump ProfileOptions.gpioMappingsSets from 3 to 4, copy 3 into 4, 2 into 3, 1 into 2, Config.GpioMappings into 1, and then deprecate Config.gpioMappings. Thankfully there's already a bit of a facade pattern for this thing so I think most of the gamepad code won't need to be changed. While I'm here, I should make sure nothing hardcodes 3/4.
By this point I probably need to have increased the Config size, but if I somehow haven't... maybe we should just do it here anyway, in anticipation of:
Bump profiles from 4 to 6. If I do item 3 right, this is either a protobuf change and updating one define, or maybe just the protobuf change.

I thought that occurred. Any input can be done for the profile label, e.g "ÅÖÄ". Currently it works nicely in the UI, but i assume there could be issues rendering these chars on the display.

A thought that occurred. Any input can be done for the profile label, e.g "ÅÖÄ". Currently it works nicely in the UI, but i assume there could be issues rendering these chars on the display.

Currently high ASCII is reserved for extra glyphs with input history, and doesn't account for accented characters. There's also a concern about Unicode, which is pretty much no-go with the current font set.

How difficult is it to constrain the UI fields to low ASCII? A protobuf string of len X translates to a char array of len X+1.

For the sake of profile names? Trivial.

So adding validation for the input between the \x20-\x7F range? Should be simple yeah, I'll update the PR when the time presents itself.

For #3, getting gpio mappings, I think we can be profile agnostic and wrap a function around it. So for example:
instead of:
mappingUp = profileMapping[currentProfile][up];
we do:
mappingUp = mapping->getPin(up);
or
mappingUp = getMapping(up);
Then its easier to implement different ways to handle the way we get up, etc. That way if we lets say add more profiles, or add some checking logic, etc. etc. its all broken out into its own functionality. Basically wrap a tiny API around the functionality so its easier to expand or change logic in the future.
Memory size is getting pretty big, I think its a good time to think about board settings vs user settings protobuf packages. We're at the point where calling protobuf breaks our core1 usb code, so we might want to think deeper on how to break up those two components.
So user settings MUST be under a certain size to ensure we don't break usb host, and board settings can be some big size.

Updated the PR

For #3, getting gpio mappings, I think we can be profile agnostic and wrap a function around it. So for example:
instead of: mappingUp = profileMapping[currentProfile][up];
we do: mappingUp = mapping->getPin(up); or mappingUp = getMapping(up);
Then its easier to implement different ways to handle the way we get up, etc. That way if we lets say add more profiles, or add some checking logic, etc. etc. its all broken out into its own functionality. Basically wrap a tiny API around the functionality so its easier to expand or change logic in the future.
Memory size is getting pretty big, I think its a good time to think about board settings vs user settings protobuf packages. We're at the point where calling protobuf breaks our core1 usb code, so we might want to think deeper on how to break up those two components.
So user settings MUST be under a certain size to ensure we don't break usb host, and board settings can be some big size.

The current method of loading the profile into an in-memory mapping structure should satisfy the main vs. alternative concern, though I agree that the "API" of it could be enhanced or improved. I cheated with the profile labels and just added a method to storage to get it in an agnostic fashion regardless of the copied live mapping, which works but isn't unified in the way you might be thinking.
As for protobuf(s), I think that conversation might be a bigger thing to chew on.

Update: I scratched out step 3 (combining GpioMappings into one area) because I think there is still some logic, in how step 2 turned out, in keeping them separate for now, so it's mostly a deferment until/unless it becomes a problem.


Updat supported architecture in the doc

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Transparent mode fail with looking up failure.

Steps to reproduce the problem:

Launch Wifi Access Point(OS X)
Setup pfctl configuration so that http packet will be forwarded.
Launch mitmproxy ( sudo mitmproxy -p 8080 -m transparent --showhost )
Access web page after connecting to AP which launched before.
See event log.

Any other comments? What have you tried so far?
When I tried to use transparent mode with OS X(10.11.6).
RuntimeError("Could not resolve original destination.") raised.
I investigated this bug.
And I found that this is caused by difference between AF_INET's and AF_INET6's peername.
https://github.com/mitmproxy/mitmproxy/blob/de006ea8adc08b9a8a6aa94eda2b30468727c307/mitmproxy/net/tcp.py#L567
If we use AF_INET, getpeername() return string like "<IP_ADDRESS>:45670".
But if we use AF_INET6, getpeername() return string like "::ffff:<IP_ADDRESS>:45670".
pfctl -s state 's result is like below.
ALL tcp <IP_ADDRESS>:45670 -> xx.xx.xx.xx:33291 -> xx.xx.xx.xx:443       ESTABLISHED:ESTABLISHED
As you see, ::ffff: doesn't exist.
So lookup function raises RuntimeError() because spec in i condition won't become true.
System information
Mitmproxy version: 3.0.0 (release version)
Python version: 3.6.2
Platform: Darwin-15.6.0-x86_64-i386-64bit
SSL version: OpenSSL 1.0.2l  25 May 2017
Mac version: 10.11.6 ('', '', '') x86_64

Thanks for the awesome report! :smiley: 🍰


Avoid getting same BlockType object repeatedly

Currently, we're getting BlockType object 47 times, even if there're 9 block types on the Home page of Elemental Full demo site. That means, we're loading block type controller 47 times, calling Concrete\Core\Filesystem\FileLocator::getRecord 78 times, calling $app->make() 156 times. We can reduce it to 9 times if we use request cache.
Before

After

Thanks for all these pull requests.... this will be very helpful!

Neat. Is the $item->isMiss() on line 70 necessary? Can the code get here if its not already a miss?

Not necessary, but for safety.