GRU cells

I added the possibility to use GRU cells.

Wow, this looks amazing - thanks a bunch! There's even a unit test! I want to look through it in a bit more detail before merging, and I probably won't have time to do so today.

Thanks. It could certainly be further optimized, but, at least, it seems to work fine.

Any update on this? Just a quick scan, but it seems changing util/DataLoader.lua shouldn't be part of this pull request?

For those interested, I also added a gridgru adapted from http://arxiv.org/abs/1507.01526 in the Dev branch

Running a small benchmark using 1000 iterations on tiny Shakespeare (Epoch 3.8), I got the following results :
LSTM :
{"i":1000,"val_loss_history":[1.6292053406889],"val_loss_history_it":[1000],"forward_backward_times":{},"opt":{"max_epochs":50,"checkpoint_every":1000,"batch_size":50,"memory_benchmark":0,"init_from":"","grad_clip":5,"model_type":"lstm","lr_decay_every":5,"print_every":1,"wordvec_size":64,"seq_length":50,"input_json":"data/tiny-shakespeare.json","num_layers":3,"input_h5":"data/tiny-shakespeare.h5","reset_iterations":1,"rnn_size":800,"dropout":0,"checkpoint_name":"cv/lstm","batchnorm":0,"learning_rate":0.0005,"speed_benchmark":0,"gpu_backend":"cuda","lr_decay_factor":0.5,"gpu":0}
GRU :
{"i":1000,"val_loss_history":[1.4681989658963],"val_loss_history_it":[1000],"forward_backward_times":{},"opt":{"max_epochs":50,"checkpoint_every":1000,"batch_size":50,"memory_benchmark":0,"init_from":"","grad_clip":5,"model_type":"gru","lr_decay_every":5,"print_every":1,"wordvec_size":64,"seq_length":50,"input_json":"data/tiny-shakespeare.json","num_layers":3,"input_h5":"data/tiny-shakespeare.h5","reset_iterations":1,"rnn_size":800,"dropout":0,"checkpoint_name":"cv/gru","batchnorm":0,"learning_rate":0.0005,"speed_benchmark":0,"gpu_backend":"cuda","lr_decay_factor":0.5,"gpu":0}
GRIDGRU :
{"i":1000,"val_loss_history":[1.4313773946329],"val_loss_history_it":[1000],"forward_backward_times":{},"opt":{"max_epochs":50,"checkpoint_every":1000,"batch_size":50,"memory_benchmark":0,"init_from":"","grad_clip":5,"model_type":"gridgru","lr_decay_every":5,"print_every":1,"wordvec_size":800,"seq_length":50,"input_json":"data/tiny-shakespeare.json","num_layers":3,"input_h5":"data/tiny-shakespeare.h5","reset_iterations":1,"rnn_size":800,"dropout":0,"checkpoint_name":"cv/gridgru","batchnorm":0,"learning_rate":0.0005,"speed_benchmark":0,"gpu_backend":"cuda","lr_decay_factor":0.5,"gpu":0}
NB : for GRIDGRU, wordvec_size is the size of the network along depth, so it should be about the same as rnn_size

I wonder how fair this comparison is. GRIDGRU has as twice as more parameters than LSTM, and 2.5 times more parameters, than GRU.  So, 3x800 GRIDGRU has roughly the same amount of parameters than, say, 3x1070 LSTM or 3x1250 GRU.

This has been open for a while, mind if one of the contributors merge this?

@scheng123 An equivalent implementation is also merged into https://github.com/torch/rnn/ with the name SeqGRU.


DSBugBash: How to connect to local Jupyter Notebook session

When running cells, a session is created and Jupyter Notebook is running.
Is there any way to connect to this instance of Jupyter Notebook, i.e. open it in the browser?
Why?

I don't know why anyone would want to do this, but the question is
Is VSC enough to warrant not ever having to use Jupyter Notebook? If not, then we might want a way to allow users to connect to Jupyter Notebook

Workflow Option 1:

User runs cells and sees output in Interactive Window
If user want to go into Notebook, then export as notebook and open that in Jupyter
Run code all over again

Workflow Option 2:

User runs cells and sees output in Interactive Window
If user want to go into Notebook, from Interactive Widow they click a button and we launch Jupyter Notebook connected to local session.

If I can, I would like to propose a third workflow option. This is were, upon execution of the code / notebook, the user wants to further tinker with variables and results without re-running the code / notebook.
To do this, the user needs access to the kernel that the notebook is running in. That way, using an ipython shell, the user can tinker with the results before further refining code.
I find this to be my primary method of operating when doing data science in Python. It's what makes Spyder so darn useful even though it is so clunky.

@mcdevitts Thanks for the suggestion! Just so I understand - you'd like to have a fully-editable iPython console for tinkering with variables using the running-kernel before making changes to the code in the editor?

Yes. Absolutely correct.

@mcdevitts This is already possible (though it should be more straightforward). If you run
jupyter console --existing from a terminal, it will connect to the most recently launched running kernel. You can do the same using VSCode's builtin terminal, and it makes for a pretty pleasant experience overall. Just make sure that if you want to exit the jupyter console without also shutting down the kernel to use exit(keep_kernel=True) in lieu of <ctrl+c>.
It would be nice if there were easier ways to connect to running kernels/interrupt kernels/etc as one can with vscodeJupyter, especially since that extension conflicts with this one at the moment.

#3316 will enable connecting to local or remote running kernels.

@johnfarina IT would be nice to just have a right-click option to open the active jupyter console.
Sorry for replying after this is closed.


Fix the build

The build was failing because we didn’t lock down Middleman to v3.x, and it was installing v4.x, which is a major upgrade and removes Sprockets, which we need.

Add CircleCI configuration (I removed the Travis integration and replaced it with Circle, as we do on most of our projects)
Update and lock down gems

:shipit:

:rocket:


setDefaultQueryParamValue - not working as expected?

First off, I think I just stumbled upon a gem. :thumbsup: LOVE the problems this addon is proposing to solve!
(Let me know if my expectations are off on this or not.)
I'm assuming that anywhere/anytime I set setDefaultQueryParamValue and those queryParams are in the URI they'll be removed (because they are now the default)? Currently that isn't the case though, looks to be the same way in the demo as well. You add "Jump" to the tags and hit "Set as Defaults" but it remains in the URI.
Is this the expected behavior?
Then, my own application, (perhaps you can tell me if this is the improper place to use setDefaultQueryParamValue):
Within my route's setupController I make a request to the API and in that response I'm able to derive what my queryParams defaults will be so I fire controller.setDefaultQueryParamValue('facetContext', record.mapBy('key')); however like I previously noted the URI does not change and is still populated with the query param values (which should now be the defaults).
Thanks!

EDIT: I've also tried moving my setDefaultQueryParamValue call into the beforeModel hook in case things need to be set before a model hook resolves.
Just as a test if I was to statically set the defaultValue: ['value1', 'value2'], it will work as expected (omitting these values from the URL) but using setDefaultQueryParamValue instead does not work.

@Aaronfischer glad you're liking that addon!

You add "Jump" to the tags and hit "Set as Defaults" but it remains in the URI.
Is this the expected behavior?

This is actually intended behavior. Since we cant control whats in the URI, setDefaultQueryParamValue and defaultValue are only used to check for changes and give you the ability to reset your query params to their specified defaults.

@offirgolan Oh okay, thanks! So, if you don't mind, where would be the proper place to set the defaultValue to not have it appear in the URI?
I was thinking that if setDefaultQueryParamValue was called in beforeModel that should prevent it from being added to the URI? (but I'm not finding that to be true)

@Aaronfischer the URI default values are set by Ember on initial runtime. There currently is no way to change it no matter where you actually put the setDefaultQueryParamValue logic 😞 .
I guess one way to do this might be to make your API call in an initializer and create your QueryParam map from there and mix it in to the appropriate controller.

I guess one way to do this might be to make your API call in an initializer and create your QueryParam map from there and mix it in to the appropriate controller.

This is interesting and could be a way to approach my issue in #54.


Adding Request and tx-builder apps

Travis automatic deployment:
https://pr1003--safereact.review.gnosisdev.com/app


Training speed plumets after a few minutes of training - ECAPA-TDNN

Hello, I am attempting to train the ECAPA-TDNN model (on a single GPU for now) on Voxceleb1+2 and am experiencing the issue mentioned in the title. I am running everything on a single node in a cluster environment with 2 RTX A6000's and 64GB of RAM.
When training begins:

After a few minutes:

Training script & hparams
Training script: I am using the train_speaker_embeddings.py script from the VoxCeleb/SpeakerRec recipe with a few modifications (namely skipping prepare_voxceleb.) this is the script I am using
I start training with: python /speechbrain/recipes/VoxCeleb/SpeakerRec/train_speaker_embeddings.py /speechbrain/recipes/VoxCeleb/SpeakerRec/hparams/train_ecapa_tdnn.yaml --data_folder=/Data/voxceleb/voxceleb2/
hparams:
# ################################
# Model: Speaker identification with ECAPA
# Authors: Hwidong Na & Mirco Ravanelli
# ################################

# Basic parameters
seed: 1986
__set_seed: !apply:torch.manual_seed [!ref <seed>]
output_folder: !ref results/ecapa_augment/<seed>
save_folder: !ref <output_folder>/save
train_log: !ref <output_folder>/train_log.txt

# Data files
data_folder: !PLACEHOLDER  # e.g. /path/to/Voxceleb
train_annotation: !ref <save_folder>/train.csv
valid_annotation: !ref <save_folder>/dev.csv

# Folder to extract data augmentation files
rir_folder: !ref <data_folder> # Change it if needed

# Use the following links for the official voxceleb splits:
# VoxCeleb1 (cleaned): https://www.robots.ox.ac.uk/~vgg/data/voxceleb/meta/veri_test2.txt
# VoxCeleb1-H (cleaned): https://www.robots.ox.ac.uk/~vgg/data/voxceleb/meta/list_test_hard2.txt
# VoxCeleb1-E (cleaned): https://www.robots.ox.ac.uk/~vgg/data/voxceleb/meta/list_test_all2.txt.
# VoxCeleb1-E and VoxCeleb1-H lists are drawn from the VoxCeleb1 training set.
# Therefore you cannot use any files in VoxCeleb1 for training if you are using these lists for testing.
verification_file: https://www.robots.ox.ac.uk/~vgg/data/voxceleb/meta/veri_test2.txt

skip_prep: False
ckpt_interval_minutes: 15 # save checkpoint every N min

# Training parameters
number_of_epochs: 12
batch_size: 64
lr: 0.001
base_lr: 0.00000001
max_lr: !ref <lr>
step_size: 65000
sample_rate: 16000
sentence_len: 3.0 # seconds
shuffle: True
random_chunk: True

# Feature parameters
n_mels: 80
left_frames: 0
right_frames: 0
deltas: False
n_fft: 512
win_length: 32 # 32 for n_fft=512

# Number of speakers
out_n_neurons: 7205 #1211 for vox1  # 5994 for vox2, 7205 for vox1+vox2

dataloader_options:
    batch_size: !ref <batch_size>
    shuffle: !ref <shuffle>
    num_workers: 0

# Functions
compute_features: !new:speechbrain.lobes.features.Fbank
    n_mels: !ref <n_mels>
    left_frames: !ref <left_frames>
    right_frames: !ref <right_frames>
    deltas: !ref <deltas>
    n_fft: !ref <n_fft>
    win_length: !ref <win_length>

embedding_model: !new:speechbrain.lobes.models.ECAPA_TDNN.ECAPA_TDNN
    input_size: !ref <n_mels>
    channels: [512, 512, 512, 512, 1536]
    kernel_sizes: [5, 3, 3, 3, 1]
    dilations: [1, 2, 3, 4, 1]
    groups: [1, 1, 1, 1, 1]
    attention_channels: 128
    lin_neurons: 192

classifier: !new:speechbrain.lobes.models.ECAPA_TDNN.Classifier
    input_size: 192
    out_neurons: !ref <out_n_neurons>

epoch_counter: !new:speechbrain.utils.epoch_loop.EpochCounter
    limit: !ref <number_of_epochs>

augment_wavedrop: !new:speechbrain.lobes.augment.TimeDomainSpecAugment
    sample_rate: !ref <sample_rate>
    speeds: [100]

augment_speed: !new:speechbrain.lobes.augment.TimeDomainSpecAugment
    sample_rate: !ref <sample_rate>
    speeds: [95, 100, 105]

add_rev: !new:speechbrain.lobes.augment.EnvCorrupt
    openrir_folder: !ref <rir_folder>
    openrir_max_noise_len: 3.0  # seconds
    reverb_prob: 1.0
    noise_prob: 0.0
    noise_snr_low: 0
    noise_snr_high: 15
    rir_scale_factor: 1.0

add_noise: !new:speechbrain.lobes.augment.EnvCorrupt
    openrir_folder: !ref <rir_folder>
    openrir_max_noise_len: 3.0  # seconds
    reverb_prob: 0.0
    noise_prob: 1.0
    noise_snr_low: 0
    noise_snr_high: 15
    rir_scale_factor: 1.0

add_rev_noise: !new:speechbrain.lobes.augment.EnvCorrupt
    openrir_folder: !ref <rir_folder>
    openrir_max_noise_len: 3.0  # seconds
    reverb_prob: 1.0
    noise_prob: 1.0
    noise_snr_low: 0
    noise_snr_high: 15
    rir_scale_factor: 1.0

# Definition of the augmentation pipeline.
# If concat_augment = False, the augmentation techniques are applied
# in sequence. If concat_augment = True, all the augmented signals
# # are concatenated in a single big batch.

augment_pipeline: [
    !ref <augment_wavedrop>,
    !ref <augment_speed>,
    !ref <add_rev>,
    !ref <add_noise>,
    !ref <add_rev_noise>
]
concat_augment: True

mean_var_norm: !new:speechbrain.processing.features.InputNormalization
    norm_type: sentence
    std_norm: False

modules:
    compute_features: !ref <compute_features>
    augment_wavedrop: !ref <augment_wavedrop>
    augment_speed: !ref <augment_speed>
    add_rev: !ref <add_rev>
    add_noise: !ref <add_noise>
    add_rev_noise: !ref <add_rev_noise>
    embedding_model: !ref <embedding_model>
    classifier: !ref <classifier>
    mean_var_norm: !ref <mean_var_norm>

compute_cost: !new:speechbrain.nnet.losses.LogSoftmaxWrapper
    loss_fn: !new:speechbrain.nnet.losses.AdditiveAngularMargin
        margin: 0.2
        scale: 30

compute_error: !name:speechbrain.nnet.losses.classification_error

opt_class: !name:torch.optim.Adam
    lr: !ref <lr>
    weight_decay: 0.000002

lr_annealing: !new:speechbrain.nnet.schedulers.CyclicLRScheduler
    base_lr: !ref <base_lr>
    max_lr: !ref <max_lr>
    step_size: !ref <step_size>

# Logging + checkpoints
train_logger: !new:speechbrain.utils.train_logger.FileTrainLogger
    save_file: !ref <train_log>

error_stats: !name:speechbrain.utils.metric_stats.MetricStats
    metric: !name:speechbrain.nnet.losses.classification_error
        reduction: batch

checkpointer: !new:speechbrain.utils.checkpoints.Checkpointer
    checkpoints_dir: !ref <save_folder>
    recoverables:
        embedding_model: !ref <embedding_model>
        classifier: !ref <classifier>
        normalizer: !ref <mean_var_norm>
        counter: !ref <epoch_counter>

I haven't been able to figure out the cause of this and was hoping someone would have an idea. Thank you!

That's hard to say.  Does it happen systematically (i.e, if you restart the script do you see the same issue at the same time)?


coverage threshold not respected when defined in package.json

Link to bug demonstration repository.
https://github.com/oprogramador/nyc-issue-threshold-not-respected
In this repo you can view the first failing commit and the second one which is a workaround.
Expected Behavior
This build https://travis-ci.org/oprogramador/nyc-issue-threshold-not-respected/builds/472442830 should pass.
Observed Behavior
This build https://travis-ci.org/oprogramador/nyc-issue-threshold-not-respected/builds/472442830 fails.
Forensic Information
You can view all the details in CI.
In brief:
OS: it fails for both Ubuntu 14.04.5 LTS (in CI) and Mac OS X 10.12.6 (locally)
Node.js: 10.15.0
NPM: 6.4.1
yarn: 1.3.2
nyc: 13.1.0
mocha: 5.2.0
chai: 4.2.0
So when I have:
  "nyc": {
    "check-coverage": true,
    "watermarks": {
      "lines": [
        30,
        40
      ],
      "statements": [
        30,
        40
      ]
    }
  },

in package.json, I see ERROR: Coverage for lines (42.86%) does not meet global threshold (90%) so it looks that my settings are ignored.
Fortunately running ./node_modules/.bin/nyc  --check-coverage --lines 40 yarn test works.

@oprogramador thanks for the issue, but, I think watermarks is not what you're looking for. From the readme it's not for enforcing the required coverage, but just to show in the reports what you consider good or bad.
The --lines option actually enforces 40% from your command, so the equivalent config would be:
"nyc": {
  "lines": 40
}


[x] Added options to VM
[x] Updated smart-record server with new VM implementation
[x] Basic tests

@petar, this is ready for review. Next step: the reachable smart tag. Unfortunately, I don't think it'll be ready till next week, I need to jump now into other things. Thanks!

@petar, I've addressed your comments and this is ready for an additional review :) Thanks!

Hey, @petar. I've addressed the latest comments. Let me know if you want me to review anything else before merging. Thanks!


why not actually vanilla shaders

instead of using crappy mods

vanilla shaders don't have the extra sampler support as well as the variables needed inside shaders


ExtensionClass is not a constructor when trying to load swatches

Description
color picker doesnt load, error on console is:
TypeError: ExtensionClass is not a constructor
at Colorpicker.registerExtension (Colorpicker.js:238)
at Colorpicker.js:224
Context

bootstrap-colorpicker version: 3.2.0
bootstrap version: 4
jQuery version: 3.4.1
Browser name and version: Chrome 83.0.4103.97 (Build oficial) (64 bits)
Operative System name an version: Windows 10

Expected behavior
load color picker with swatches
Actual behavior
doesnt load and show error
Live Example
http://jsfiddle.net/Lb57n394/

your jsfiddle example has syntax errors and does not work


"No Such Module" after installing pods

Overview
I have added in my Podfile:
pod 'Brightroom/Engine', '2.0.0-alpha.9'
pod 'Brightroom/UI-Classic', '2.0.0-alpha.9'
pod 'Brightroom/UI-Crop', '2.0.0-alpha.9'

And when adding:
import BrightroomUI
import BrightroomEngine

It gives me No such module 'BrightroomUI'
Details
Here is my complete Podfile:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '13.0'
use_frameworks!

target 'project-ios' do
	pod 'Alamofire', '~> 5.2'
	pod 'Kingfisher', '~> 6.0'
	pod 'KeychainAccess'
	pod 'Instabug'
	pod "PromiseKit", "~> 6.8"
	pod 'Brightroom/Engine', '2.0.0-alpha.9'
	pod 'Brightroom/UI-Classic', '2.0.0-alpha.9'
	pod 'Brightroom/UI-Crop', '2.0.0-alpha.9'
end

Would any of you have any solutions for me?

oops, sorry.
You can import with Brightroom when you installing with CocoaPods.

Great! Thank you so much!

[IMG]https://i.imgur.com/uZYkp4K.png[/IMG]
How to solve it?


Ghost atoms 3

it kinda works!

it's cool to see the model choose to make some ghost atoms vs make some real atoms

Note: Although cool, this experiment isn't that useful. Why? because the model already implicitly creates materials of the proper size by adjusting the lengths of the diffused lattice. By adding more atoms, the lattice will naturally expand and create a material that is more realistic. Adding ghost atoms just adds an extra dimension the model needs to optimize for.
Since the experiment isn't 100% yielding better results, I'm closing this PR


How can catch 'not contribute to the likelihood'?

Technical question - third paragraph of Intro (and elsewhere I think) says that 'Annual fishery catch is not considered data in the sense that it does not contribute to the likelihood.'
I can't see how this is true - surely in the population model the catch appears somewhere and thus influences populations size and therefore affects parameter estimates.
The other catch-age models I've done have a relative survey index, and so the catch is the only thing that scales the population. Whereas the hake survey gives an absolute estimate of biomass, and so sets a scale.
The intro continues: 'However, the catch is an important source of information in contributing to changes in
abundance and providing a lower bound on the available population biomass in each year.'
To me that partly contradicts the first sentence. As an extreme case if catch is greater than survey estimate then that surely affects the parameter estimates.
I could try running a model where I drastically change catch to see what happens to understand better, but any quick thoughts would be useful. Could discuss on Friday also.

Sorry, we did discuss this earlier: issue #208.  I'll take a look and then add to this issue (or hopefully close).

Okay, Ian and Aaron agreed earlier in #208 that no need to make the distinction, so I'll just make it consistent in the main text (and presumably second bullet point of one-page-summary).


Session not working in Edge and IE

Caused by IE and Edge caching API responses. Added header values to prevent caching API responses.


Cow: Watch capitalizetitles.com

Cow requests the watch of the watch_keyword capitalizetitles\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

capitalizetitles\.com has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


Running templatized Pig scripts (PigOperator/BashOperator)

Hi,
We are trying to run some Pig scripts, but it seems the only way to do this is to use BashOperator. However BashOperator doesn't seem to support Jinja template. Am I missing something? If not, is there any plan to implement a PigOperator with better Jinja support?
Thanks for the awesome work!

https://github.com/airbnb/airflow/pull/1075


[KBV-380] update README with required secrets per deployment

Proposed changes
What changed
Readme updated to reflect secrets per GH pipeline
Why did it change

The readme needed updating
PR required to test workflow

Issue tracking

KBV-380

Checklists
Environment variables or secrets

[X] No environment variables or secrets were added or changed
[X] Documented in the README

Other considerations
None

Superseded by PR-33


Add CI

Let's setup CI environments.
Ref: http://devcenter.wercker.com/docs/languages/golang.html

Thanks, but I have no test, so I try to write test!


[AutoPR marketplaceordering/resource-manager] Marketplace Ordering: Fix operation type

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5411

(message created by the CI based on PR content)


Navigate to CSS

Dear all,
I saw a video where brackets was on the left and the browser was on the right half of a monitor.
Then someone moved the mouse pointer over an HTML element inside the browser, pressed command key (seems it was a Mac) and clicked and then a list of items pops up, e.g. HTML-tag, css styles, etc.. Then by clicking on one of the listed items immediately the matching code / css was opened in brackets.
For me this is not working. I am on Windows 7 professional, latest brackets version (from today) and latest Chrome browser. Chrome browser was opened by clicking the 'Live view' symbol in the top right of brackets. My HTML page opens up in Chrome, I moved the mouse over an HTML-tag, pressed CTRL, clicked the HTML-tag with the mouse. But no popup opens :-(
What I am missing?
Thanks!

@cmburns We're sorry, but this feature was never actually implemented in an official Brackets release.
It was only a proof of concept.
It is though tracked here: https://waffle.io/adobe/brackets/cards/540a32ef82b317f7d9ae495f (#8996)


Not Working for GFG

** Bug**
Geeks for Geeks Solutions are not being uploaded to GitHub

Hi @geoffgeorgein,
Thanks! If it is not working anymore, GFG has probably updated their website. Unfortunately, I am not actively developing the GFG submissions. Currently my focus is on Leetcode. I cloned GFG from the original authors only to keep it preserved. I will take a look but I cannot promise I can solve it in the near future...


Firefox support

Hey is there any chance you could support Firefox?

Thanks for your interest!
Actually, I have had a version ready for Firefox for a while. My main challenge was to find a graceful way to manage the build workflow for both Firefox and Chrome.
But your suggestion is valuable and motivates me to think about this again. Stay tuned for updates!

Hey @Thaodan,
The Firefox version is now supported. Check it out at: Chrome Emacs on Firefox.
I will close this issue, but feel free to open a new one if you encounter any problems.

Thanks I will try.
I hope your extension will deal better with pages having long input
buffers such as Github compared to Ghosttext.

If you mean the bug with incomplete frames in websockets (see issue), make sure that you use the atomic-chrome fork, because it is fixed in the fork.

Yes, this works, but ensure that you use version 0.5.2, not 0.5.1.


#1173 : add a link to website generator

Fix for #1173 . Opinions? @Princu7

Codecov Report

Merging #1174 into development will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           development    #1174   +/-   ##
============================================
  Coverage        63.06%   63.06%
============================================
  Files                8        8
  Lines             1397     1397
  Branches           218      218
============================================
  Hits               881      881
  Misses             516      516

Continue to review full report at Codecov.

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

@sumedh123 Thanks so much for the request :) I think that you misunderstood a bit. We only need to add a home button on the deployment page. No need to add it to the generated event sites. We want to add it on the Automatic deployment to Github page through which the user can go back to the event generator page.
Where we want to add the home button

Where we want to go after pressing the home button

Ohh sorry I misunderstood. But what's the use of adding it to the deployment page?@princu7

Okay it's a little change but it is useful.....I ll get it done

@sumedh123 No problem at all :) Yeah, it is just a small useful change. When the user has clicked on the deploy button and the whole deployment process has completed, it would be nice to have a button which can take the user back to the event generation page from which he/she originally came from. It kinda looks odd to leave the user stranded on the page with no links after the deployment process has completed :smile:

@sumedh123 Thanks for doing the required changes :) Code looks good. Two points:

Please provide a screenshot of the new deploy page with the home button.
Squash the commits into one.

This is how it looks now.

The screenshot looks really nice. Good job. Thanks for squashing the commits. But there is still one problem. Discard all the changes you made to the config.json file(Github client id, client secret, session secret and callback url) while testing the deployment part locally. Just retain the changes made in the deploy.html file in this pull request. Thanks :)

@Princu7  Done.

Thanks!!


Fixed some unit-tests that were relying on an implicit definition of "_" at the top of the file.

Previously, sequence of keys were interpreted using a language hack at the top of the file.
using _ = Keys;
The statement defaulted to a class that contained both K and ucK for lower-case K and upper-case K respectively.
Now, _ is a member of the class that points to a KbdLayout class with members k and K respectively.
Therefore, the unit-test was broken when the definition of _ changed.

I would like to help for other failing tests but this involve other syntaxes and are pertaining to Emacs mode which I'm less familiar with. Also, I think this PR is prerequisite before I can update the - now failing - #811 pull request.

Thanks for catching this.
I think @daxian-dbw started looking at the CI failures yesterday, but if there are tests that aren't running, he might miss those (as I obviously did).

I'm working on the CIs and I did see two test cases are failing even when running locally:
[xUnit.net 00:00:02.39]     Test.en_US_Windows.ViMoveToEndOfLine_NoOp_OnEmptyLine [FAIL]
Failed   Test.en_US_Windows.ViMoveToEndOfLine_NoOp_OnEmptyLine
Error Message:
 System.Exception :
---- Assert.Equal() Failure
Expected: 1
Actual:   2
Stack Trace:
   at Test.ReadLine.Test(String expectedResult, Object[] items, Boolean resetCursor, String prompt, Boolean mustDing) in D:\Repos\PSReadLine\test\UnitTestReadLine.cs:line 409
   at CallSite.Target(Closure , CallSite , ReadLine , String , Object )
   at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid3[T0,T1,T2](CallSite site, T0 arg0, T1 arg1, T2 arg2)
   at Test.ReadLine.ViMoveToEndOfLine_NoOp_OnEmptyLine() in D:\Repos\PSReadLine\test\MovementTest.VI.Multiline.cs:line 110
----- Inner Stack Trace -----
   at Test.TestConsole.ReadKey() in D:\Repos\PSReadLine\test\MockConsole.cs:line 105
[xUnit.net 00:00:05.91]     Test.en_US_Windows.ViMoveToFirstNonBlankOfLogicalLine_NoOp_OnEmptyLine [FAIL]
Failed   Test.en_US_Windows.ViMoveToFirstNonBlankOfLogicalLine_NoOp_OnEmptyLine
Error Message:
 System.Exception :
---- Assert.Equal() Failure
Expected: 1
Actual:   2
Stack Trace:
   at Test.ReadLine.Test(String expectedResult, Object[] items, Boolean resetCursor, String prompt, Boolean mustDing) in D:\Repos\PSReadLine\test\UnitTestReadLine.cs:line 409
   at CallSite.Target(Closure , CallSite , ReadLine , String , Object )
   at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid3[T0,T1,T2](CallSite site, T0 arg0, T1 arg1, T2 arg2)
   at Test.ReadLine.ViMoveToFirstNonBlankOfLogicalLine_NoOp_OnEmptyLine() in D:\Repos\PSReadLine\test\MovementTest.VI.Multiline.cs:line 94
----- Inner Stack Trace -----
   at Test.TestConsole.ReadKey() in D:\Repos\PSReadLine\test\MockConsole.cs:line 105
Results File: D:\Repos\PSReadLine\test\TestResults\dongbow_DONGBO-DEV2_2019-04-09_18_47_50.trx

Total tests: 161. Passed: 159. Failed: 2. Skipped: 0.

I don't see ViMoveToFirstNonBlankOfLogicalLineThenJumpToEndOfLogicalLine failing in my local runs with the en-US keyboard layout, but it's failing constantly in AppVeyor with fr-FR layout.

AppVeyor is broken and Azure DevOps are not reporting test failures.
Currently the CIs are not guarding the code base as it's expected to. I need to fix it before taking new product code contributions.

@daxian-dbw is the test failing even with this pull request?
I think I corrected it and it is succeeding both with en_US and fr_FR local runs on my end.

@springcomp Yes, you are absolutely right. The tests tab of the AppVeyor CI run shows that all applicable tests were passing. We can ignore the ADO CIs for now.


Bundle.categories.groupby output does not preserve order of multiple keys

Giving multiple keys for Bundle.categories.groupby should yield tuples in the same order as the keys given. For example, doing:
import datreant.core as dtr

for i, name in enumerate(('a', 'b', 'c', 'd')):
    t = dtr.Treant('groupby_tests/{}'.format(name))
    t.categories['age'] = i
    t.categories['name'] = name

b = dtr.discover('groupby_tests/')

b.categories.groupby(['name', 'age'])

yields
{(0, 'a'): <Bundle([<Treant: 'a'>])>,
 (1, 'b'): <Bundle([<Treant: 'b'>])>,
 (2, 'c'): <Bundle([<Treant: 'c'>])>,
 (3, 'd'): <Bundle([<Treant: 'd'>])>}

Given that we gave 'name' before 'age', we would expect to see, e.g. ('a', 0) for the first entry instead of (0, 'a').

@sseyler are you good to clear this in time for 0.7.0?

@dotsdl Yes!


Revert "Remove dependencies: jQuery, Bootstrap, fullScreen.js"

Reverts nikhilmufc7/Hacktoberfest-PR#12

Didn't you like the changes?
Is there anything you want done differently?

Actually there were many Merge conflicts as soon as I sorted that ,it somehow changed the whole complexion of the website. Can you please refork the updated website and then add the changes, thanks a lot @bingocaller

Sure thing, I'll try! 🙂

thanks


Prefix directories for scalability

It may well be too late, but looking at this for the first time after a discussion with @bgruening, if other communities are likely to join and the list grows further (which would be great! :tada:), I wonder if adding a top-level prefix directory (/1/1000genomes) to reduce the total number of listings in a single directory by a factor of ~36 has been discussed. (Currently there are 38543 entries in the data directory.)
See for example the package links in Debian:
http://ftp.de.debian.org/debian/pool/main/a/acct/acct_6.6.4-5+b1_amd64.deb

Hi @joshmoore! Yes we should do that and adopt our bots accordingly.


x-scheme-handler to open mpv-handler doesn't work in plasma-6

Thank you for your hard work in creating mpv-handler.
x-scheme-handler to open mpv-handler doesn't work in plasma-6 (due to possible upstream issue) and so it requires adding the scheme directly to the handlers.json in Firefox profiles folder.
"mpv": {
    "action": 2,
    "handlers": [
        { "name": "mpv", "path": "/home/abishek/.local/bin/mpv-handler" }
    ]
    }

Firefox? Maybe this issue isn't plasma related.
Try searching network.protocol-handler.expose.mpv and network.protocol-handler.expose.mpv-debug in about:config.
Click "add mark" of the results, select type to Boolean, and set these to false.
See #55

Thank you, I did try the flags you mentioned in #55 earlier but not sure whether it was in the same combinations. Anyways the current config in the handlers.json works and I will continue to use.
I will close this issue for now.

You can try it in other browser, if they have same issue on Plasma, reopen this issue.
Thanks.

Sorry I forgot to mention that I already tried in Chromium and it didn't open mpv just becomes a query for google search.

I guess this indeed is a plasma error and so I'll keep it open to see if anyone else face this issue.

Try xdg-open <URL> in the console?

When I tested on Arch with Plasma 6.1.5
I had to copy the binary mpv-handler over to /usr/bin
Inside Firefox it kept redirecting me to a search query.
I had to append the URL with an extra "/"
Example: mpv://play/aHR0cHM6Ly93d3cueW91dHViZS5jb20vd2F0Y2g_dj1HZ2tuMmY1ZS1JVQ/

@DeltaCopy
Try xdg-open mpv://play/aHR0cHM6Ly93d3cueW91dHViZS5jb20vd2F0Y2g_dj1HZ2tuMmY1ZS1JVQ

@DeltaCopy Try xdg-open mpv://play/aHR0cHM6Ly93d3cueW91dHViZS5jb20vd2F0Y2g_dj1HZ2tuMmY1ZS1JVQ

Yes that works, mpv launches and the video plays

Yes that works, mpv launches and the video plays.
After clearing out the Firefox cache it started working, and no longer need to append the extra "/"

Hmm, I don't know what caused this, will it work properly in chromium now?

I agree that this isn't a Plasma issue.
Chromium works as well after clearing the cache.

I think @abishekmuthian needs to clear the cache out of both browsers and retry.

Please try userscript v2024.09.27. Some users reported that "target  = _blank" causes the issue.

Apologies for the delayed reply, xdg-open  on terminal worked from the start, chromium doesn't work after clearing cache. Firefox continues to work as intended (with manually added scheme as mentioned in OP).

Apologies for the delayed reply, xdg-open  on terminal worked from the start, chromium doesn't work after clearing cache. Firefox continues to work as intended (with manually added scheme as mentioned in OP).

Ok, I'll test this in a VM sometime.

Sorry, I can't reproduce this issue on my plasma installation.

Arch Linux
plasma-desktop 6.1.5
firefox 131.0
chromium 129.0.6668.89

All are works fine. Please check your configs or update your applications.
Done.

I don't know how you installed mpv-handler.
If you installed it manually, did you add $HOME/.local/bin to the environment variable PATH (https://wiki.archlinux.org/title/Environment_variables#Per_user)?
If you configure it only in per session or shell, plasma will not be able to read the relevant values. (such as set PATH in ~/.bashrc or ~/.zshrc)
If you can't add it, you can also try to modify mpv-handler.desktop and mpv-handler-debug.desktop.
Change Exec=mpv-handler %u to Exec=/home/abishek/.local/bin/mpv-handler %u%

I had added it manually and the mpv-handler path is correctly set. Thank you for your time in testing the plasma integration, Issue might be at my end. Since it works flawlessly in FF with my custom scheme I haven't explored further on why it doesn't work with Chromium. I will come back if there's more concrete data to share.
Thank you all for your great work.


in _handle_request_noblock : When agent attempts to connect

Empire Version 1.50
OS info
Kali 2016.1
4.6.0-kali1-amd64 #1 SMP Debian 4.6.2-2kali2 (2016-06-28) x86_64 GNU/Linux
Python 2.7.12
Kali updated daily via apt-get update && apt-get dist-upgrade
Issue
When I attempt to use macro stager, launcher_bat or launcher_vbs on my Windows 10 lab I get the same issue on each one.
UPDATE: I've also tried the launcher_vbs stager on my virtual installation of Windows Server 2012 R2 running on latest vmware, same outcome .
``(Empire)` > [+] Initial agent AZADHT1VEDNGZZSG from <IP_ADDRESS> now active
[+] Initial agent 3R43K3ENFXFHRLKK from <IP_ADDRESS> now active
Exception happened during processing of request from ('<IP_ADDRESS>', 56492)
Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 290, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 318, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 331, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.7/SocketServer.py", line 652, in init
self.handle()
File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
self.handle_one_request()
File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
method()
File "/pen/payload/Empire/lib/common/http.py", line 86, in do_GET
(code, responsedata) = self.server.agents.process_get(self.server.server_port, clientIP, sessionID, resource)
File "/pen/payload/Empire/lib/common/agents.py", line 1133, in process_get
taskings = self.get_agent_tasks(sessionID)
File "/pen/payload/Empire/lib/common/agents.py", line 825, in get_agent_tasks
cur.execute("SELECT taskings FROM agents WHERE session_id=?", [sessionID])
OperationalError: no such column: taskings``
Empire states 3 agents are active.When going to agent menu, I receive
'[!] Exception: need more than 29 values to unpack'
Ive included empire.debug  http://pastebin.com/4vuSgtb7
Any additional information
Had no issues with empire prior to upgrading Kali to the latest 2016.1 version.
I had pulled most recent version of empire from Git and I have also ran  the installation script again
Thanks in advance

The '[!] Exception: need more than 29 values to unpack' error sounds like some type of code is out of sync. Can you try cloning a fresh copy of Empire, running through a fresh setup, and retrying?

Closing due to inactivity


bug: deleting non-last method signature argument raises error

Should also be fixed, thanks for the report!


Need to add unit tests for the Export-html and the convertto-formattedhtml function

added E2E tests and opened bugs for the top 2 issue, issue #15 and issue #16


radio buttons readonly when value is false

let say I have
= simple_form_for @copy_content do |f|
  = f.input :copy_emails, as: :radio_buttons, collection: [['Yes', 'true'], ['No', 'false']]
  = f.submit 'Submit'

the Yes radio button is fine but the No (false value) radio button has a "readonly" property
(same apply when i have  [['Yes', true], ['No', false]] )

* Copy emails

     <input class="radio_buttons required" type="radio" value="true" name="copy_content[copy_emails]" id="copy_content_copy_emails_true" />Yes

    <input class="radio_buttons required" readonly="readonly" type="radio" value="false" name="copy_content[copy_emails]" id="copy_content_copy_emails_false" />No

is this a bug or a feature?  ( http://www.eq8.eu/bug.png ) ... if a feature, can someone explain to me  why ?
thx

just to clarify, event if the collection options are [["Foo", 'will-work'], ["Bar", 'me-too'], ["Car", 'me-three'], ["Dar", 'false']], Foo Bar Car will be normal Dar will be read-only

@equivalent yeah, it's a bug. The problem is that when we have optional :readonly we have readonly: false in the input options that propagates to rails helper - https://github.com/rails/rails/commit/dfac1b188e98d59bda0fac1148c417a9761f7b54 and false option becomes readonly. Not really sure how we can properly fix it. @carlosantoniodasilva @rafaelfranca what do you think guys?

Can we stop to put readonly option in the hash?

Hi!
I have the same problem. Do you know any workaround to allow readonly to be false ?
Kind regards,
Sylvain

+1
It's a hard problem for me because some CSS framework become unusable with the readonly thing...
I cant' check my radio button anywore with the R2.0 of www.semantic-ui.com for example :(
Thanks for your help !

So, this may not be applicable to library maintainers, but for people running into this issue in your application...
tldr; This looks like a feature for users of rails, and a bug for users of rails and simple form.
After looking at the rails code that adds the readonly option, it seems like if you delete the simple_form configuration line b.optional :readonly, then you should be fine. Consider the two cases:
A. You want the input to be readonly. If you do f.input :foo, readonly: true, then your input will be readonly because rails will see the readonly option as non-nil.
B. You don't want the input to be readonly. If you don't include the option at all (after removing it from your config) then rails will skip it because the value will be nil. (e.g https://github.com/rails/rails/blob/dfac1b188e98d59bda0fac1148c417a9761f7b54/actionview/lib/action_view/helpers/tags/collection_helpers.rb#L49)
It's almost like if simple_form detects rails > whatever version introduced this rails feature, then we can just noop -- perhaps with deprecation.

The workaround worked for us, thank you very much @tonywok !

bump.

Just came across this issue when I was googling why the HTML validator was throwing errors when validating my form. I got this:

Attribute readonly is only allowed when the input type is date, datetime, datetime-local, email, month, number, password, search, tel, text, time, url, or week.

MDN says:

readonly
This attribute indicates that the user cannot modify the value of the control. The value of the attribute is irrelevant. If you need read-write access to the input value, do not add the "readonly" attribute. It is ignored if the value of the type attribute is hidden, range, color, checkbox, radio, file, or a button type (such as button or submit).

HTML5 spec says:

Note
The difference between disabled and readonly is that read-only controls are still focusable, so the user can still select the text and interact with it, whereas disabled controls are entirely non-interactive. (For this reason, only text controls can be made read-only: it wouldn't make sense for checkboxes or buttons, for instances.)

Given the above, it would be save to skip this attribute when those controls are about to be rendered. I am not a ruby developer, hence my question, is that feasible?
Cheers
Patrik

A workaround (in case you don't want to change config) is to do this:
= simple_form_for @copy_content do |f|
  = f.input :copy_emails, as: :radio_buttons,
                             collection: [['Yes', 'true'], ['No', 'false']],
                             readonly: nil
  = f.submit 'Submit'

or as actuall boolean values:
= simple_form_for @copy_content do |f|
  = f.input :copy_emails, as: :radio_buttons,
                            collection: [['Yes', true], ['No', false]],
                            readonly: nil
  = f.submit 'Submit'

Thanks for this post folks, just spent ages on this one so pleased to find I'm not alone and that there's a solution. Both options worked for me, though just FYI i still get a warning when you running my tests of Attempt to set readonly element with value: true * This will raise an exception in a future version of Capybara when using the readonly: nil solution.

readonly: nil worked for me

Hi, I've run into this recently and have finally found a reason for it in the guide documentation! The issue is the if the Vue "v-bind" directive (or short-cut of colon ":") is not added to "value" attribute of the radio button, the Boolean false value is converted to the string 'false' after a few transitions of the radio button group! Since "false" === false, the readonly attribute is applied to the element when it shouldn't be!!!

...V-bind forces Vue to treat as JavaScript expression rather than a string...

<blog-post v-bind:likes="42"></blog-post>

<blog-post v-bind:likes="post.likes"></blog-post>

Guide - Props
This change from a Boolean (not surrounded by quotes) to a String (surrounded by quotes) is visible in Vue devtools!


Update type handling to use sqlglot

Switch to sqlglot for column type handling. Fixes missing autoincrement support.

LGTM! I tried what I considered to be some corner cases on column type conversions and all looked good.


makedoc.sh assumes 'typings' installed

Description
The node sdk doc makedoc.sh script that generates the node sdk documentation presumes that the user has 'typings' installed.
Describe How to Reproduce
try to run https://github.com/hyperledger/fabric/tree/master/sdk/node/makedocs.sh on a system that does not have the 'typings' command installed.

Hi @kamraanki, I see that this PR has not been merged yet. Please transfer your PR to Gerrit so it can be merged. Thanks!


Inconsistent handling of Host header

I've been trying to use sttp for a utility to make requests across a bunch of different IPs but all with the same Host header, so that I can bypass a load balancer. It appears that sttp treats the Host header in a special way, which causes some problems:

Host is apparently set someplace I don't have access to manipulate. Unless I'm missing something in the API that gives me access to it, I think sttp is not usable for my (I would have thought straightforward) use case.

The behavior is surprising because it happens automatically and does not model the underlying protocol it is supposed to represent. The Host header is just another header, and one would reasonably expect to be able to set it by calling .header("Host", hostname) on a request. Instead, setting the header that way appears to work just fine, but it is sneakily replaced at the last minute with a different value.

Other functions in sttp behave incorrectly because they are also not privy to the magic manipulation of the Host header. For instance, if you as above set the Host header by calling .header("Host", header) on a RequestT and then call .toCurl on it, it will generate a curl command that is not actually representative of the request. It will generate with a Host header specified by the .header call, which as stated above is not the Host header that sttp will actually send when it makes the call.

Thanks for the report! Which backend are you using?

I am using the default backend. Specifically, the relevant code amounts to bringing in
"com.softwaremill.sttp.client" %% "core" % "2.2.4"
in build.sbt and then running something equivalent to
import sttp.client._ val ip = "<IP_ADDRESS>" val request = basicRequest.get(uri"http://$ip/endpoint") val response = request.send()
To repro the incorrect output from toCurl you can instead do
import sttp.client._ val ip = "<IP_ADDRESS>" val request = basicRequest.get(uri"http://$ip/endpoint").header("Host", "hostname.net") println(request.toCurl)
That will output curl -L --max-redirs 32 -X GET -H 'Host: hostname.net' 'http://<IP_ADDRESS>/endpoint' but if you actually call request.send(), that Host header will not be what is sent.

I poked around and realized that this is an issue with the underlying java library. I don't know that it makes sense to do anything explicitly about it, since the underlying library's expected usage is to set the sun.net.http.allowRestrictedHeaders system variable, but it's probably worth a note in the documentation so it's more obvious to users that my described use case doesn't work without additional fiddling.

Yes, it would probably be good to document that. Also, behavior when using e.g. async-http-client or OkHttp might be different.

Docs about overriding host header has been updated ;)


Stack file documentation

@appcelerator/amp team: Use this gist for now to start adding input to the stack file documentation. It doesn't need to look pretty for now; it's just a rough draft. @hagantzer and I will make edit it to create a doc that we add to the repo. We're using a gist instead of committing a rough draft so there isn't a storm of edit commits for now. The end result should be similar to the Compose file reference and Docker Cloud Stack YAML reference.

@hagantzer Can you please work with @freignat91. We need more thorough documentation ASAP for the release. See examples above. The documentation should make it clear what options are available for configuring networks, the volume support, etc. There is currently not enough information! Thanks.

@hagantzer This is the target document after inputs have been gathered in the gist.

@subfuzion I guess we can close this issue now that we use compose v3+


Implement CI

Fixes #6

Current coverage is 65.35%

Branch #7 has no coverage reports uploaded yet.

No diff could be generated. No reports for master found.

Powered by Codecov. Updated on successful CI builds.


Migrate GP Customer Classes

This change enhances the GP cloud migration to include migrating GP Customer Classes to BC Customer Posting Groups.

For each GP customer class that has related accounts a new Customer Posting Group will be created in BC.
Any customer migrated from GP that is part of a customer class will have the related Customer Posting Group assigned.
A configuration option has been added to give the ability to not migrate Customer Classes, disabled by default.

Availability update: We will publish a fix for this issue in the next update for release 20.
Build ID to track: 43275.


"error: Incorrect function. (os error 1)" on review prompt under MSYS2

Description
Running cargo insta review displays the diff and displays the prompt but it's followed immediately by an error:
  a accept   keep the new snapshot
  r reject   keep the old snapshot
  s skip     keep both for now
error: Incorrect function. (os error 1)

This is when I run the command under MSYS2 in Windows. The same command works if I run it in cmd.exe.
I suspect a bug in the console crate, but I haven't looked into it.
Reproduction steps

Create a new test (or make an existing one have a diff).
Run cargo insta review in an MSYS2 prompt.

What did you expect
The process shouldn't end with an error. 😄  And I don't want to use built-in command prompt in Windows.

Closing this here for now. Might be worth reopening for console.


Running MetaMorpheus on Mono

Hi,
Due to some compatibility problems running dotnet in Conda, we in Barsnes Group (University of Bergen, developers of SearchGUI) are interested on running MetaMorpheus on Mono. But, when running it with Mono, we get different type of internal exceptions. Is there a possibility of supporting Mono in a not too long term?
Greetings,
Carlos

Hi Carlos!
We've been trying to figure out how to handle this exact issue this week: https://github.com/bioconda/bioconda-recipes/pull/27130. That's interesting information about the internal MetaMorpheus exceptions. Could you share more detailed information about those?
dotnet and dotnet-sdk are available through conda-forge now. I'm out of the office until March 12, so I could take a look after then, but if you have the chance, could you check if those might work for running metamorpheus?
Do you have more information about this incompatibility? Is it glibc like I ran into with the PR linked above? It looks like dotnet within conda-forge makes a special requirement of that packaging https://github.com/conda-forge/dotnet-feedstock/blob/master/recipe/meta.yaml#L56.
Best regards,
Anthony

Hi @acesnik ,
Yes, I'm collaborating with people participating in https://github.com/bioconda/bioconda-recipes/pull/27130
and I'm afraid I have similar information about the dotnet Conda packages compatibility problems.
It is because of that that I decided to open this issue focusing it more on, if possible, trying to find an easy workaround to make MetaMorpheus to work on Mono. It is surprising that it crashes just starting the execution without any parameter:

> mono CMD.dll

Welcome to MetaMorpheus
Can't find custom attr constructor image: /home/carlos/GitHub/searchgui/target/SearchGUI-4.0.19/resources/MetaMorpheus/UsefulProteomicsDatabases.dll mtoken: 0x0a000024 due to: Could not resolve type with token 01000046 from typeref (expected class 'System.Xml.Serialization.XmlRootAttribute' in assembly 'System.Xml.ReaderWriter, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a') assembly:System.Xml.ReaderWriter, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a type:System.Xml.Serialization.XmlRootAttribute member:(null)

Unhandled Exception:
System.TypeLoadException: Could not resolve type with token 01000046 from typeref (expected class 'System.Xml.Serialization.XmlRootAttribute' in assembly 'System.Xml.ReaderWriter, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a')
  at (wrapper managed-to-native) System.MonoCustomAttrs.GetCustomAttributesInternal(System.Reflection.ICustomAttributeProvider,System.Type,bool)
  at System.MonoCustomAttrs.GetCustomAttributesBase (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inheritedOnly) [0x00019] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
  at System.MonoCustomAttrs.GetCustomAttributes (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inherit) [0x00040] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
  at System.RuntimeType.GetCustomAttributes (System.Type attributeType, System.Boolean inherit) [0x0003e] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
  at System.Xml.Serialization.TempAssembly.LoadGeneratedAssembly (System.Type type, System.String defaultNamespace, System.Xml.Serialization.XmlSerializerImplementation& contract) [0x00023] in <32c3e38f366e434db513ac7ca6d10f6c>:0
  at System.Xml.Serialization.XmlSerializer..ctor (System.Type type, System.String defaultNamespace) [0x00096] in <32c3e38f366e434db513ac7ca6d10f6c>:0
  at System.Xml.Serialization.XmlSerializer..ctor (System.Type type) [0x00000] in <32c3e38f366e434db513ac7ca6d10f6c>:0
  at UsefulProteomicsDatabases.UnimodLoader+<ReadMods>d__2.MoveNext () [0x00022] in <44edd01367d5464d8e6111820f310531>:0
  at System.Collections.Generic.List`1[T].AddEnumerable (System.Collections.Generic.IEnumerable`1[T] enumerable) [0x0005f] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
  at System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) [0x00076] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
  at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0002c] in <d22af090bceb4be792f53595cf074724>:0
  at EngineLayer.GlobalVariables.LoadModifications () [0x00041] in <67782660abfc4eb3a9069a37bdff761f>:0
  at EngineLayer.GlobalVariables.SetUpGlobalVariables () [0x000c0] in <67782660abfc4eb3a9069a37bdff761f>:0
  at MetaMorpheusCommandLine.Program.Run (MetaMorpheusCommandLine.CommandLineSettings settings) [0x00031] in <04ca7c31ff3a4d36b5e0cbff8a2e82ae>:0
  at MetaMorpheusCommandLine.Program+<>c__DisplayClass3_0.<Main>b__1 (MetaMorpheusCommandLine.CommandLineSettings options) [0x00000] in <04ca7c31ff3a4d36b5e0cbff8a2e82ae>:0
  at CommandLine.ParserResultExtensions.WithParsed[T] (CommandLine.ParserResult`1[T] result, System.Action`1[T] action) [0x00011] in <ad4268bf6c3c424890cb4ba721da5c71>:0
  at MetaMorpheusCommandLine.Program.Main (System.String[] args) [0x0003f] in <04ca7c31ff3a4d36b5e0cbff8a2e82ae>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not resolve type with token 01000046 from typeref (expected class 'System.Xml.Serialization.XmlRootAttribute' in assembly 'System.Xml.ReaderWriter, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a')
  at (wrapper managed-to-native) System.MonoCustomAttrs.GetCustomAttributesInternal(System.Reflection.ICustomAttributeProvider,System.Type,bool)
  at System.MonoCustomAttrs.GetCustomAttributesBase (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inheritedOnly) [0x00019] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
  at System.MonoCustomAttrs.GetCustomAttributes (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inherit) [0x00040] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
  at System.RuntimeType.GetCustomAttributes (System.Type attributeType, System.Boolean inherit) [0x0003e] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
  at System.Xml.Serialization.TempAssembly.LoadGeneratedAssembly (System.Type type, System.String defaultNamespace, System.Xml.Serialization.XmlSerializerImplementation& contract) [0x00023] in <32c3e38f366e434db513ac7ca6d10f6c>:0
  at System.Xml.Serialization.XmlSerializer..ctor (System.Type type, System.String defaultNamespace) [0x00096] in <32c3e38f366e434db513ac7ca6d10f6c>:0
  at System.Xml.Serialization.XmlSerializer..ctor (System.Type type) [0x00000] in <32c3e38f366e434db513ac7ca6d10f6c>:0
  at UsefulProteomicsDatabases.UnimodLoader+<ReadMods>d__2.MoveNext () [0x00022] in <44edd01367d5464d8e6111820f310531>:0
  at System.Collections.Generic.List`1[T].AddEnumerable (System.Collections.Generic.IEnumerable`1[T] enumerable) [0x0005f] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
  at System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) [0x00076] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
  at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0002c] in <d22af090bceb4be792f53595cf074724>:0
  at EngineLayer.GlobalVariables.LoadModifications () [0x00041] in <67782660abfc4eb3a9069a37bdff761f>:0
  at EngineLayer.GlobalVariables.SetUpGlobalVariables () [0x000c0] in <67782660abfc4eb3a9069a37bdff761f>:0
  at MetaMorpheusCommandLine.Program.Run (MetaMorpheusCommandLine.CommandLineSettings settings) [0x00031] in <04ca7c31ff3a4d36b5e0cbff8a2e82ae>:0
  at MetaMorpheusCommandLine.Program+<>c__DisplayClass3_0.<Main>b__1 (MetaMorpheusCommandLine.CommandLineSettings options) [0x00000] in <04ca7c31ff3a4d36b5e0cbff8a2e82ae>:0
  at CommandLine.ParserResultExtensions.WithParsed[T] (CommandLine.ParserResult`1[T] result, System.Action`1[T] action) [0x00011] in <ad4268bf6c3c424890cb4ba721da5c71>:0
  at MetaMorpheusCommandLine.Program.Main (System.String[] args) [0x0003f] in <04ca7c31ff3a4d36b5e0cbff8a2e82ae>:0

I was not able to find any clear information about this although digging deep into Google I may have found some clue about it:
https://webcache.googleusercontent.com/search?q=cache:Ynu8dKiXv88J:https://fastdoc.online/api/q/8088+&cd=4&hl=es&ct=clnk&gl=no&lr=lang_en|lang_es&client=firefox-b-d
Greetings,
Carlos

I wasn't able to open that googleusercontent .com website for some reason.
Is it typical to run a .NET Core DLL in Mono? My understanding is that .NET Core is supposed to replace Mono in the near future, as it's cross-platform. If that's the case, I think we should aim to figure out how to get dotnet working within conda-forge or bioconda, rather than backtrack to getting Mono working. Happy to hear your thoughts on that!

I've created a PR in conda-forge using dotnet https://github.com/conda-forge/staged-recipes/pull/14252.
I believe making MM compatible with mono again would require building and distributing it with .NET Framework again, which adds a layer of complexity to the project that may not be necessary. Is there any other reason to go through with this other than making MM available in conda?

Hi @acesnik ,
Sorry for not responding in time to your previous post. If, as you say, making MM compatible with Mono requires such changes, I agree on there is no point in doing so. And, at least from my perspective, there was no other reason for doing it
than to make MM available on Conda.
Greetings,
Carlos

No worries!
MetaMorpheus is now in conda-forge using dotnet.
MM PR:
https://github.com/smith-chem-wisc/MetaMorpheus/pull/2050
PRs for merging it into conda-forge:
https://github.com/conda-forge/staged-recipes/pull/14252
https://github.com/conda-forge/staged-recipes/pull/14623
Now in conda-forge:
https://github.com/conda-forge/metamorpheus-feedstock
https://anaconda.org/conda-forge/metamorpheus


diffRewardMap error for test that transfers funds from treasury to stake address using MIR certificate

OS:
Your OS: Linux Mint 20.2 Cinnamon
Linux Kernel: 5.4.0-90-generic
Machine Specs:
Processor: AMD Ryzen 9 3900X 12-Core Processor × 12
RAM: 32 GB
Versions
The db-sync version : 32e69cd7010686bc7438473e4c4c48511058a31d on master
PostgreSQL version: 12.8
Build/Install Method
The method you use to build or install cardano-db-sync:
cardano-db-syncwas built with nix using official instruction docs.
Run method
The method you used to run cardano-db-sync (eg Nix/Docker/systemd/none):
PGPASSFILE=config/pgpass db-sync-node/bin/cardano-db-sync --config config/config.yaml --socket-path ../cardano-node/state-node/node.socket --schema-dir schema/ --state-dir ledger-state/qa_cluster

Additional context
This was discovered during our nighlty tests.  Error happened during a test that transfers funds from treasury to stake address using MIR certificate. This was for commit: 32e69cd7010686bc7438473e4c4c48511058a31d on master however the validate.hs https://github.com/input-output-hk/cardano-db-sync/blob/master/cardano-db-sync/src/Cardano/DbSync/Era/Shelley/Validate.hs has not been changed in 20 days so this can happen for version 12.0.0 of db-sync too.
The test: https://github.com/input-output-hk/cardano-node-tests/blob/master/cardano_node_tests/tests/test_governance.py#L602
Problem Report
diffRewardMap error for test that transfers funds from treasury to stake address using MIR certificate.
[db-sync-node:Error:1048] [2021-12-11 03:18:24.61 UTC] diffRewardMap:
[db-sync-node:Error:1048] [2021-12-11 03:18:24.61 UTC]   e011b1685a333acb205662f6f21a89668c21b3cb189e5ffc4b647e6c63: [(RwdTreasury,DbLovelace 50000000),(RwdTreasury,DbLovelace 50000000)] /= [(RwdTreasury,Coin 50000000)]

@ArturWieczorek What era does that transfer happen in?

@erikd  It happens in Alonzo era.
This is one test https://github.com/input-output-hk/cardano-node-tests/blob/master/cardano_node_tests/tests/test_governance.py#L689 but it is parametrized:
 @pytest.mark.parametrize("fund_src", (RESERVES, TREASURY))
so in effect there are two test "instances", one sends funds from the reserves pot to stake address and the other one from treasury pot to stake address.
I asked about two transfers @mkoura  and have some details from him:

Because of the locking mechanism tests cannot run at the same time on single cluster instance. It cannot run in single epoch either, because in one epoch the MIR cert is submitted, then the test waits for another epoch and checks the transfer. So the MIR certs cannot be submitted in the same epoch. Every MIR tests wait for another epoch to check the effect, so it cannot be side effect of other test either.


Inconsistent idea project configuration

Opening the existing project configuration from .idea with IntelliJ IDEA shows some errors: Files .idea/modules/alpha.iml, .idea/modules/alpha_test.iml, and .idea/modules/alpha_main.iml do not exist.
So the project configuration in .idea is inconsistent and should either be made consistent or removed from the repository.

@lorenzleutgeb can you help, please?
According to this article, .iml and .idea/modules.xml files do not have to be shared for gradle projects, since they "will be generated on import". However, when I try to import the gradle project to IntelliJ IDEA, it tells me that "The project file '[...]\Alpha.idea' already exists. Would you like to overwrite it?".
In our case, the .iml files are not under version control, but .idea/modules.xml is.
Also, why did you split the project up into a main and a test module? As far as I can see (but I am a beginner with IDEA), this is not necessary because you can just designate the corresponding source folders as main or test (or generated) source folders within one module.

On a related note:
The file .idea/misc.xml is under version control. In it, the name of the JDK used for building is fixed to the value 1.8, which is in conflict with the fact that I am currently using version 11.
Apparently, OpenJDK 8 is not available for Windows, so I cannot (easily) switch to JDK 1.8 (since, AFAIK, Java 8 versions released after January 2019 may not be used within businesses). What do you @lorenzleutgeb @AntoniusW think of upgrading to 11 (or 12)?

Regarding .idea
I acknowledge that there's a problem and that it is a long standing issue. I'll look into it.
Regarding the Java version to use
I am using 12 locally, for Alpha and for other projects. Just recently (in #176) I updated the list of versions we test against and also tried to establish a guideline going forward. So if "upgrading" means "installing and using for development locally", then sure, I am already doing that.
However if "upgrading" also means bumping (source|target)Compatibility, then this opens the door to backward-incompatible changes to Alpha, and we have to be a bit more careful with these parameters. I would like to suggest the next version to be 11 (since it is an LTS release). It really sounds like Java 8 is being phased out, so from my point of view we can make that change any time.

@lorenzleutgeb
Regarding .idea
Thanks! :)
Regarding the Java version to use
No, I am not proposing to change the compatibility version, it should stay at 1.8. I´d merely like to change the project-jdk-name from 1.8 to 11 in misc.xml. How are you using JDK 11 locally without running into versioning issues with this configuration file?

How are you using JDK 11 locally without running into versioning issues with this configuration file?

I don't. I keep the version that works for me locally in my git stash.

Also, why did you split the project up into a main and a test module? As far as I can see (but I am a beginner with IDEA), this is not necessary because you can just designate the corresponding source folders as main or test (or generated) source folders within one module.

This was done automatically by IntelliJ. The convention is to have one IntelliJ module per Gradle source set, so this is what the Gradle plugin does. See:

https://stackoverflow.com/questions/37018567
https://stackoverflow.com/questions/36372571


Refactor all recipe workflows into a single generic workflow recipe

Based on how similar the recipe workflows are we could refactor them into a singular workflow with individual job for any recipe that requires steps outside the standard.

I think this will be held until after Release 1.0. Agreed @lmilbaum?

I think this will be held until after Release 1.0. Agreed @lmilbaum?

Sure. Totally makes sense.


Next Permutation

🚀 Feature
(A clear and concise description of what the feature is.)
Have you read the Contributing Guidelines on Pull Requests?
(Yes)
Motivation
(WoC)
Pitch
(Implement the next permutation, which rearranges numbers into the numerically next greater permutation of numbers for a given array A of size N)

Please assign me this issue in C++

@shraddhavp can u pls look into this issue and assign me this?

Can you please assign this issue to me in C++ or python

@aryan-anand Assigned for python!

I want to solve this in Java, please assign

assigned @pranjalshinde

I have solved the problem and created pull request

#1709

please review my PR https://github.com/TesseractCoding/NeoAlgo/pull/1709

@shraddhavp

please review my PR #1709


Create a vtkMRMLROS2TfBroadcaster

Notes for implemantation

[ ] Should be only 2 files (public one and the internals - i think)
[ ] Functions should be similar to publisher: Create, AddToROS2Node, Broadcast (can be overloaded like publish)
[ ] Should operate with observers (we don't have to call Broadcast ourselves)
[ ] Input to broadcast will be a reference frame and a moving frame (unlike publish just being the message) -> see logic for example

I think the API should provide two methods to set/get ParentID and ChildID (using std:string).  Then the Broadcast method wouldn't these IDs in the signature.  The Broadcast method should check if both IDs are set (i.e. not empty()) and if not, perform actual broadcast, add to mNumberOfBroadcast and return the number of broadcast.
Write and ReadXML should save the parent and child IDs.
I'm not sure you can use a space in the reference/role, specially in the XML Read.  We currently have "tf broadcaster".  To be safe maybe we should rename this "tf2broadcaster"?

Question tomorrow about reloading broadcasters into the scene! No error but calling broadcast after reload causes a crash.


Search shortcut for Windows is broken

Need to fix this one. The CTRL icon(?) is not looking fantastic.

Seems it's normal now and the shortcut works on my Windows laptop.
@kiaking would you mind a double-check? :-)

I found the main difference is @vue/theme uses <span>s rather than <kbd>s to render the keys. As a result, it shows different styles before and after the real search box is loaded.
Since the code is not the same as the default theme of vitepress (this could be another separated topic), I think the minimized solution is changing spans into kbds. As I tested it worked. PR created. #71

Closing as it seems to have been fixed


Parsing dates prior to 1970-01-01

An unhandled exception is thrown when serializations.py tries to parse a date prior to the beginning of the UNIX era, 1970-01-01. As an example, I have a field called deathDate in a Person object.  When this is set to a date later than 1970-01-01 (stored internally as a positive long integer) all is well. Setting is before this date, e.g. 1964-12-01 (negative long integer) throws the unhandled exception at line 329:
collected = datetime.fromtimestamp(float(collected) / 1000)
where collected = -160426800000
I assume this is a ValueError because the collected argument to fromtimestamp is out-of-range.
Any suggestions as to how to repair this or how I can represent dates prior to 1970 in a meaningful way? I tried alter database datetimeformat "yyyy-MM-dd HH:mm:ss GG" to no avail.

I cannot replicate this bug in any way it seems to work well for me,
any way the exception will be raised by pure python,
If you run the two lines you wrote in a python interpreter
collected = datetime.fromtimestamp(float(collected) / 1000) where collected = -160426800000
they raise an exception?
maybe it's a different point that explodes?


Not able to fetch data from the php api

I had been trying to fetch data php api
Following is my code ..correct me if i am wrong
Future<List<Data>> getData() async {
    var response = await http.get(Uri.parse("http://<IP_ADDRESS>/moea/list.php"),
        headers: {"Access-Control-Allow-Origin": "*"});

    //await http.get(Uri.http(Env.URL_PREFIX,"/moea/list.php"),);

    var jsonData = jsonDecode(response.body);
    List<Data> dataList = [];
    for (var u in jsonData) {
      Data data = Data(u["id"], u["name"], u["age"]);
      dataList.add(data);
    }
    print(dataList.length);
    return dataList;
  }

I tried in many way which is availabel internet but i wasnt favored with luck
Folllowing are the error that i am getting
Error: XMLHttpRequest error.
    C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 963:28                get current
packages/http/src/browser_client.dart 69:22                                                                                <fn>
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/zone.dart 1685:54                                              runUnary
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/future_impl.dart 147:18                                        handleValue
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/future_impl.dart 766:44                                        handleValueCallback
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/future_impl.dart 795:13                                        _propagateToListeners
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/future_impl.dart 557:7                                         [_complete]
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/stream_pipe.dart 61:11                                         _cancelAndValue
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/stream.dart 1530:7                                             <fn>
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 334:14  _checkAndCall
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 339:39  dcall
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/html/dart2js/html_dart2js.dart 37309:58                              <fn>

    at Object.createErrorWithStack (http://localhost:60875/dart_sdk.js:5093:12)
    at Function._throw (http://localhost:60875/dart_sdk.js:20399:18)
    at Function.throwWithStackTrace (http://localhost:60875/dart_sdk.js:20396:18)
    at async._AsyncCallbackEntry.new.callback (http://localhost:60875/dart_sdk.js:40921:18)
    at Object._microtaskLoop (http://localhost:60875/dart_sdk.js:40778:13)
    at _startMicrotaskLoop (http://localhost:60875/dart_sdk.js:40784:13)
    at http://localhost:60875/dart_sdk.js:36261:9

Thanks for posting this question. Questions like this are better asked at a user forum like StackOverflow, where there are many more eyes to look at the question.


Refactor explanation for "Common situations where layouts unexpectedly change"

In the HCI chapter - it needs to be modified so that it is bullet points rather than a run on paragraph.
Assigning to Tim, as he can probably do a better job of it than me :-)

Done - turned into bullet points. New version has been pushed.

@timbellnz  Just a quick question, was it intentional to have semi colons at the end of each bullet point?

It was, but on reflection, making them full stops (and capitals) would be better.

Yeah I agree. I'll leave you to quickly fix that :-)

Done.
From: Heidirose <notifications<EMAIL_ADDRESS>Reply-To: uccser/cs-field-guide <reply<EMAIL_ADDRESS>Date: Thursday, 17 December 2015 12:45 pm
To: uccser/cs-field-guide <cs-field-guide<EMAIL_ADDRESS>Cc: Tim Bell <tim.bell<EMAIL_ADDRESS>Subject: Re: [cs-field-guide] Refactor explanation for "Common situations where layouts unexpectedly change" (#132) [SPAM: 21.741]
Yeah I agree. I'll leave you to quickly fix that :-)
—
Reply to this email directly or view it on GitHubhttps://github.com/uccser/cs-field-guide/issues/132#issuecomment-165310997.


Translation not found.

Context: { "id": "admin.menu.custom_shipping", "domain": "messages", "locale": "en" }
\src\Elcodi\Plugin\CustomShippingBundle\Builder\MenuBuilder.php

@kodermax can you add the english translation using the translation-server?

This issue is solved in https://github.com/elcodi/bamboo/pull/670


Adding the new blogs

Hello. I have multiple questions here.

It looks to me that the adding of new blogs to the list became incredibly slow and difficult. It literally takes days!!! It is slow either if you copy a list of blogs from the text file or you add blogs manually one by one through the clipboard. Blogs are being added, but the number of pictures inside sometimes does not show at all. Or the blog itself is not showing up at all. And after the restart of the program you need to add the blog again since it disappears.

Also once the process of adding new blogs from the list is going on, as slowly as it goes, program itself almost does not react to anything and do not do the downloads at the same time with normal speed or at all. More to that if you are trying to sort the added blogs by different column, while it is still being added, an error shows up and the option of reordering the way it looks by clicking on the column no longer works.

Also in the details - it used to be possible to change multiple blogs crawler all at once from one to another one. Now it has to be done separately one by one. If you have a lot of blogs - it takes forever. Is it possible to return to the previous option of multiple blogs change?

Identification is still not working properly and disappears all the time after short period of time.

I am not sure if this is a bug /bugs or something is not working with Tumblr itself.
Thank you in advance

Hello,
what type of blogs do you use?

Once successfully added the blogs should remain, even after restart of the program.

The import blog list button/process is a heavy work one and not much other things should be executed awhile.

We've to look into that one.

That's a known problem. As long as you can still download respective blogs you shouldn't reopen the settings dialog just to reassure yourself it still shows the info.

Are you adding them one by one, with import blog list or check clipboard? Can you move a working blog to the start of your "list" and check if the first one still fails to show the number?
That should work without a problem. Please make sure that neither the folder (%LOCALAPPDATA%\TumblThree\Settings) nor the settings.json are write protected by permissions or read-only attribute.

I use check clipboard most of the time. And it is always the first blog in the list. I can put the non working blog as the last one and it will be added no problem, but then another one which would happen to be first will not show the number. So in other words this is not about some particular blog, but rather which one is being added as a first one. If you delete the blog without the number and add it later - everything is showing up fine.
As of these file and folder that you showed me - let me try today and see if this will work the way it is supposed to.
Thank you for your time
Alex


Memory corruption during burst write

Short description
This bug only happens when writing with burstcount > 1, i.e. when issuing writes of more than 2 bytes. Basically, the controller ignores the byteenable input on all but the first clock cycle. This bug was observed in the ILA while investigating issue #2.
To reproduce
Start a write with burstcount = 2 and write the following:

cycle: data = X"BBAA" with byteenable = "11"
cycle: data = X"DDCC" with byteenable = "01"

Expected behavior
The memory is updated with the three bytes X"AA", X"BB", and X"CC".
Observed behavior
Four bytes are written to memory, i.e. the fourth byte X"DD" gets written as well, thus corrupting one byte of memory.

Fixed in commit 11fb085


Set maximum records limit per-page in config.

This PR adds a max_limit configuration to prevent end-users from arbitrarily setting a large value for the length request parameter, which could otherwise cause the server to overload if not handled manually (e.g., in middleware).
If the length value exceeds this limit, it will be overridden with the specified max_limit.
The default value is 100.

Thanks for the PR! The changes look good, however, I suspect this might break the export functionality of buttons package.
Will check further when I get the chance.


add input popup close method

Creates a close popup function and moves popup closing into anvil state.

Merged the method here into https://github.com/Smithay/smithay/pull/1044, which is meant to replace the previous PR.
If this is a workaround for misuse of the protocol, we should probably document that, report/fix it in clients that do this incorrectly, and get any questions here clarified in the v3 protocol: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/112.
But it's fine for now, given this is already how we're doing things.


init: Reboot to recovery after benchmark its finished

Instead of keep rebooting and doing the benchmark again,just reboot to recovery to let us know the benchmark has finished

Not all devices have a separate recovery partition (most A/B devices don't), and this makes testing very inconvenient in my workflow with framebuffer console + UART debugging. It's not something that works well for newer devices where there's no recovery partition or even a custom recovery in some cases.

Not all devices have a separate recovery partition (most A/B devices don't), and this makes testing very inconvenient in my workflow with framebuffer console + UART debugging. It's not something that works well for newer devices where there's no recovery partition or even a custom recovery in some cases.


Update

Update cdat-lite to 6.0.1

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


TypeError: Cannot read property 'expression' of undefined

at extract (/path/node_modules/jsx-ast-utils/lib/values/expressions/index.js:170:20)
    at /path/node_modules/jsx-ast-utils/lib/values/expressions/ObjectExpression.js:38:32
    at Array.reduce (<anonymous>)
    at Object.extractValueFromObjectExpression [as ObjectExpression] (/path/node_modules/jsx-ast-utils/lib/values/expressions/ObjectExpression.js:36:27)
    at extract (/path/node_modules/jsx-ast-utils/lib/values/expressions/index.js:183:21)
    at /path/node_modules/jsx-ast-utils/lib/values/expressions/ObjectExpression.js:38:70
    at Array.reduce (<anonymous>)
    at Object.extractValueFromObjectExpression [as ObjectExpression] (/path/node_modules/jsx-ast-utils/lib/values/expressions/ObjectExpression.js:36:27)
    at Object.extract [as JSXExpressionContainer] (/path/node_modules/jsx-ast-utils/lib/values/expressions/index.js:183:21)
    at getValue (/path/node_modules/jsx-ast-utils/lib/values/index.js:48:27)

Can you elaborate on when this happens, on what code?

I will try to dig deeper later to figure out which component is causing that. For now I added a check on .extract function to verify if the value is not undefined fist and it started working again.

I was able to figure out which part of the code is breaking. Doesn't seen to make a lot of sense.
<Link
          className={s.sortable}
          to={{
            pathname,
            query: {
              ...query,
              sort: `${sortKey}-${dir === 'asc' && isSorting ? 'desc' : 'asc'}`,
            },
          }}
        >
          {children}
</Link>

I fixed it by extracting the object inside to= to a new variable and passing the variable instead. It fixed the problem.

I had the same issue.
Before (errors):
<Link to={{
  pathname: '/sign-up',
  state: { ...get(this.props.location, 'state', {}) },
}} />

After (no errors):
const state = { ...get(this.props.location, 'state', {}) };
...
<Link to={{
  pathname: '/sign-up',
  state,
}} />

A PR would be great.

Can confirm that I had the same issue, also when attempting to spread an object in a ReactRouter Link component.
Before(errors):
<Link to={{ pathname: manageRoute, state: {...data}}>Manage</Link>

After(no errors):
const stateForLink = {...data};
...
<Link to={{ pathname: manageRoute, state: stateForLink}>Manage</Link>

Fix for realz in https://github.com/evcohen/jsx-ast-utils/pull/75


DE4562 -- Fix nullpointer on line 109 of OsDAIUpgradeMetaTask

Debbugging showed that this.deleteSvaServerTask was the null field responsible for the exception. Made sure it is copied over.

fixes #372


Updating the validation of " @param redefine"

The previous code only checked if the user provided @param "redefine" . But now it will also check if the user gives a wrong @param type or "undefined" .

Hello, and thank you for your PR. This piece of code is just the equivalent of a default parameter for Node.js versions that do not support that type of syntax. Ultimately, passing any falsy or truthy param is supports, just like any other boolean-type argument in the JavaScript platform APIs.


Replace chrono with time

From RUSTSEC-2020-0071:
Users of time 0.1 do not have a patch and should upgrade to an unaffected version: time 0.2.23 or greater or the 0.3. series.

This must happen in chrono:
$ cargo tree
├── chrono v0.4.19
│   └── time v0.1.43
│       └── libc v0.2.104

I have not the time to do it right now and it doesn't seem to require immediate action. Thus, deny.toml now contains an ignore field, see https://github.com/duesee/imap-codec/blob/main/deny.toml#L3. Lame, I know, but replacing chrono with time is not straightforward.
Note to myself:
Did the scheduled workflow fail? No. RUSTSEC-2020-0071 was updated only some hours ago to include time="0.1", see https://github.com/rustsec/advisory-db/commit/e7d342f190cc40b76eb7478775e41acc7001a0a5.

e612f0d9731366b56cefacd7a8ea8202976cea71 resolved RUSTSEC-2020-0071. We now ignore RUSTSEC-2020-0159 instead :P (See 98783384e6cff2a8d8cd65269fccac019ea0e84f)

It's complicated. We will keep chrono for now.


Fix VSBuildV1 support old versions of VS

Task name: VSBuildV1
Description: Fix VSBuildV1 task support old versions of VS
Documentation changes required: (Y/N) Y
Added unit tests: (Y/N) N
Attached related issue: (Y/N) N
Checklist:

[x] Task version was bumped - please check instruction how to do it
[x] Checked that applied changes work as expected

Hi Anna,
For transparency we hit this bug and created a ticket for at over at
https://developercommunity.visualstudio.com/t/build-pipeline-using-build-task-with-visual-studio/1532729?viewtype=all
It contains a confirmed workaround.
I suppose this was a real bug and DevOps is not planning to deprecate MSBuild14/VS2015?
We'll just wait for 1.192.3 to be released and I'll remove the pinning of the task at that point.
Kind Regards, Tom

Yes, @buckleyGI, you are right.
We'll just wait for 1.192.3 to be released and you can remove the pinning of the task at that point.

Hello @AnnaOpareva ,
What will be the schedule for releasing 1.192.3 ? We are also facing this issue. We are using classic pipelines (no yaml) and I don't know how to pin to an older version bypassing this issue.
Thanks.
Best regards,
Eric

Hi @ericgoudriaan
There is a workaround for no yaml pipeline posted at
https://developercommunity.visualstudio.com/t/build-pipeline-using-build-task-with-visual-studio/1532729?viewtype=all
It ain't pretty (copy over a folder) but hopefully will deblock you.

Hi @AnnaOpareva
We are noticing issues on projects using VC140 toolset to build old modules.
With the introduction of the new VM image '20220316.1' all builds for the old modules are failing. What are the revoked Toolsets and .NET targets?
Kind regards
Wouter

@wouterkestevens Your question is related to the virtual images and the software installed on them. It will be better to ask it in a more appropriate repo https://github.com/actions/virtual-environments/issues to have the right eyes on it.


Navigations: Inverse one-to-one references not rewritten

In the following queries, the second nav. in each projection (ParentBackNavigation) is not processed during nav. rewrite. In the first case, it triggers a null-ref at execution time, and in the second, the EF.Property call is present in the final compiled query tree.
context.Children
	.Select(c => new
	{
		c.SelfReferenceBackNavigation,
		c.SelfReferenceBackNavigation.ParentBackNavigation
	});

context.Children
	.Select(c => new
	{
		SelfReferenceBackNavigation
		= EF.Property<IChild3409>(c, "SelfReferenceBackNavigation"),
		ParentBackNavigationB
		= EF.Property<IParent3409>(
			EF.Property<IChild3409>(c, "SelfReferenceBackNavigation"),
			"ParentBackNavigation")
	});

Test enabled ineabc74efb9f4565bc489f638b3c64755c9b84200


Why does Napoleon come up in contributors?

http://data.nypl.org/resources/105212766

Artifact of Lenox


Fix bug in eigenvalue solver

This closes issue #190.

Coverage remained the same at 81.403% when pulling 765e4a993ef8c26db8853ad3cb507ba43d24c04e on fix/modalsolver_time into b950ba312aacb5b19479bb6f08c0b4d8cea46f3e on master.


Redirect ResizeObserver article.

The new version is up. https://web.dev/resize-observer/

Whoops!
There were 1 warnings that will prevent this PR from being merged. Please take a look, and either fix, or provide a justification for why they can't be fixed.
WARNINGS
src/content/en/updates/2016/10/resizeobserver.md - Unable to read file, was it deleted?


Define cross-tenant authentication story for #35

In issue #35, we need to dispatch InternalUsageEvents from a customer managed app, into an EventHub running in the ISV tenant. So we need to define the cross-tenant authentication strategy here.

Implemented as part of the managed app, using the shared resource broker.


repeatedly failing to install manim

I'm trying to install Manim on an Oracle VM machine. The guest system is Lubuntu 20.04, host and guest don't have any shared folders or anything like that. Host system ist Win10, but I don't do anything in windows.
I have reproduced this issue on version 19.10 and 20.04 multiple times each. I always used the tutorial made by theory of beethoven.

I can't install python3.7-minimal, apt and apt-get seem to not find this package, so I googled and added another repository and then install python3.7.8
When getting pip It gives the note "Defaulting to user installation because normal site-packages is not writeable", an Error message "ERROR: launchpadlib 1.10.13 requires testresources, which is not installed" and several warnings about being not on PATH
When installing pyreadline and pydub: "Defaulting to user installation because normal site-packages is not writeable"

After executing all the commands shown in the video and executing the example manim-command, Manim produces an error stating "ImportError: cannot import name '_imaging'"...

Check it out. https://github.com/gargVader/Manim-Tutorial#using-virtual-box . All the dependencies are pre-installed so that you are directly use manim.

thx a lot, but still: whats the cause for my problem?


In ability to set location of folders whose filename starts with an angle bracket

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Name any folder with th first character starting with and angle brakcet, eg. [MyFolder]
no just to cd in this path: cd /path/to/[Myfolder]
is unreliable and will almost always eventually fail.
As you can see on the attached screenshot, I could initial cd into the folder
but after sometime the path can't be found, even as printing the folder contents show its present

nt
Expected behavior
PS c: cd /path/to/[Myfolder]
PS /path/to/[Myfolder]:

Actual behavior
PS c: cd /path/to/[Myfolder]
Set-Location: Cannot find path '/path/to/[Myfolder]' because it does not exist.

Error details
Set-Location: Cannot find path '/path/to/[Myfolder]' because it does not exist.

Environment data
Name                           Value
----                           -----
PSVersion                      7.2.0
PSEdition                      Core
GitCommitId                    7.2.0
OS                             Microsoft Windows 10.0.19043
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals

@nebzz : This is why Set-Location and similar cmdlets have LiteralPath parameter:
> cd -LiteralPath D:\TMP\[Student]\
D:\TMP\[Student] >

But this is not obvious, for instance,
I was compiling my java files using vscode java pack.  vscode (not commands I type) would try to compile and run the java files, and would run into the same problem... considering these are legal file names would it not be best to adapt PS to be able to handle such file names

The adaptation is -LiteralPath, that's how PS handles them.
The reason this particular adaptation is necessary is mainly historic; wildcard patterns on Windows (and even DOS) have always accepted [abc] and similar patterns as a wildcard expression when searching or filtering items.
There is a lot of work that can be done to make this interface friendlier, and there are a number of existing issues around PS's specific implementations and edge cases where things aren't quite as nice (see #7999 for a decently comprehensive breakdown).
It's possible that Set-Location specifically could be updated to not use wildcards at all, but I suspect it was implemented as a convenience feature to minimise the amount of typing required to navigate. I'm unsure how likely it would be to expect this to change in the future, but typically features like this with a long history are difficult to change due to the risk of breaking existing code.

Noted, thank you.

You can add this to your $profile to replace the cd alias with a function:
Remove-Item -LiteralPath Alias:\cd
function cd ([string]$Path)
{
    Set-Location -LiteralPath $Path
}

Great, thank you!

LP is an alias for the LiteralPath parameter, so this:
> cd -LiteralPath D:\TMP\[Student]\

can be shortened to:
> cd -lp D:\TMP\[Student]\


Fix JSON output for SASL{Response,InitialResponse}

Hex encoding the Data field in the SASL responses made debugging SCRAM
more difficult than actually helping.
Before:
F{"Type":"SASLResponse","Data":"633d655377732c723d4d4d4e4e6d666b536f5862694a68385833466d324f2b4d77787354692f4550753052414157484b7a306b7376336c5747392f4d4a5267504d2c703d616742664b533164383937674b4f4a6d4c7171626c49326b6b4a506f2b58354359516c63473458357657343d"}
F{"Type":"SASLInitialResponse","AuthMechanism":"SCRAM-SHA-256","Data":"792c2c6e3d2c723d4d4d4e4e6d666b536f5862694a68385833466d324f2b4d77"}
After:
F{"Type":"SASLResponse","Data":"c=eSws,r=9dR43UQLL1KbrKKl4/QbxjqgVjZYR9mqnx3rFBiI7R/1pp5oeVYMGhXj,p=b2hmuvTvWn2xN0fclm+O4TwLAarRM8xoHSN7jsKDHAU="}
F{"Type":"SASLInitialResponse","AuthMechanism":"SCRAM-SHA-256","Data":"y,,n=,r=9dR43UQLL1KbrKKl4/Qbxjqg"}

Seems reasonable.

I'm hoping to get a new release for all the pgx family packages sometime in the next few weeks.


When Searching Cannot read property 'indexOf' of undefined

I have used Dropdown. When using search input box the error of Cannot read property 'indexOf' of undefined arises.

Hi @h-assefi ,
Please provide example code.

<Dropdown                 data={data}                 labelField="name"                 valueField="id"                 search                 value={selectedData}                 searchPlaceholder='search'                 flatListProps={{                   onEndReached: () => {                     retrieveMore();                   },                   onEndReachedThreshold: 0.6,                   ListFooterComponent: () => {                     if (moreData) {                       return <ActivityIndicator />;                     } else {                       return null;                     }                   },                 }}                 onChange={item => {                   setSelectedData(item.id);                 }}               />

Hi @h-assefi , Please provide example code.

Hi, In OnSearch Function > propSearchFunction > labelText got "unidentified" everytime.
I've try to change
const dataSearch = data.filter(searchQuery ? propSearchFunction : defaultFilterFunction); to
const dataSearch = data.filter((o) =>                   Object.keys(o).some((k) =>                     String(o[k]).toLowerCase().includes(keyword.toLowerCase())                   )                 );
It's worked.

@hoaphantn7604 What should I do ?

Hi @h-assefi ,
I can't reproduce your problems.
Can you provide an example code on Expo?

@hoaphantn7604 I don't know how to provide example code on Expo.
How can I do that ?

hi @h-assefi ,
Same Ex: https://snack.expo.dev/@ivanzm/react-native-element-dropdown-with-keyboardavoidingview

I found the problem. It was because of the LabelField data that I was passing. One of them was NULL.


fix: New Works for You pagination

This PR resolves ONYX-1174

Related Metaphysics PR: https://github.com/artsy/eigen/pull/10647

Description
This PR implements pagination for the "New Works for You" screen. Before we always fetched 100 artworks.
Screenshot

PR Checklist

[ ] I have tested my changes on iOS and Android.
[ ] I hid my changes behind a feature flag, or they don't need one.
[ ] I have included screenshots or videos, or I have not changed the UI.
[ ] I have added tests, or my changes don't require any.
[ ] I added an app state migration, or my changes do not require one.
[ ] I have documented any follow-up work that this PR will require, or it does not require any.
[ ] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

"New Works for You" screen pagination fix - ole

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Cross-platform user-facing changes ("New Works for You" screen pagination fix - ole)

  Generated by :no_entry_sign: dangerJS against 1c7e652167eed6c7413e506bb6672db7787ec892