Change ID to not be a required argument

Hey! First up, I really like the concept of this gem, it's much more "Rails-like" than other GraphQL gems.
I'm trying to use an ActiveRecord model as a source, but I need to make some tweaks so that I can query via a field other than ID. I notice from reading through the docs that I may be able to use change_field to make ID not required, but I can't quite get the syntax correct.
Here is code that works, if I'm querying a single record via ID:
app/graphql/myapp_schema.rb:
module GraphQL
  class MyAppSchema < GraphQL::Schema
    source Model
  end
end

GraphQL query:
query model($id: ID!) {
    model(id: $id) {
      id
      guid
    }
}

Result:
{"data":{"model":{"id":"1720000","guid":"568a248d-fd18-4a1d-aa5c-3a61230a4ee4"}}}

This all works fine, but when I want to query by a different field (slug):
GraphQL query:
query model($slug: String!) {
    model(slug: $slug) {
      id
      guid
      slug
    }
}

Result:
{"data":{},"errors":[{"message":"Invalid arguments for model field: the \"id\" argument can not be null.","locations":[{"line":1,"column":29},{"line":1,"column":66}],"path":["model","model"],"extensions":{"stage":"organize","exception":"Rails::GraphQL::ArgumentsError"}},{"message":"Variable $slug was provided to model query but not used.","locations":[{"line":1,"column":14},{"line":1,"column":27}],"path":["model"]}]}

So I do want my ActiveRecord source, but I want to override some properties so that I can make ID an optional argument. It's not clear from the docs exactly what's needed to achieve this, and I can't find any examples.
I've tried something like this:
module GraphQL
  class MyAppSchema < GraphQL::Schema
    source Model do
      build_all
      change_field(:query, :id, null: true)
    end
  end
end

This gives me an error saying that id doesn't exist yet. I've tried many other variations of blocks, etc, to try and get it to work, but have so far been unsuccessful.
Does anyone have any tips to point me in the right direction?

Hey, Dan Harper! Thanks for the compliment. This gem has been a long-wanting project!
A little explanation from your code: change_field arguments are 1 - the type of the field and 2 - the name of the field. Your field's name, in that case, is :model (singular of your model. According to your description, you want to change the argument of a field.
Now, how to achieve that, you have several options. You have a more descriptive way of doing that:
module GraphQL
  class MyAppSchema < GraphQL::Schema
    source Model do
      step(:query) do
        field(:model, 'Model', null: false) do
          argument(:slug, :id, null: false)
          on(:prepare) { |event| load_record(find_by: { slug: event.argument(:slug) }) }
        end
      end

      build_all
    end
  end
end

The idea is that you create the field before the automatic way can do it. Changing the argument name is insufficient because you must also change how the record will be found.
However, this will only change the query field, not the create/update/delete fields. If you want a more rounded option, you can do:
module GraphQL
  class MyAppSchema < GraphQL::Schema
    source Model do
      def self.primary_key
        'slug'
      end

      build_all
    end
  end
end

This will make sure that slug is how your records are identified in all the ways. There are several other ways, so just let me know more specifically how many times and places you are going to need the change.
This gave me the idea to implement something like identified_by :slug, which would do something similar to overriding the primary key method.

Awesome, thanks Carlos! I will try out some of these options and hopefully I can get it working. Our use case is a little unusual because we do actually have auto-incremented integer primary keys in our tables, which Rails likes out of the box, but we also have other systems that reference records via guids or slugs depending on the context.


Specify download priority in downloadImageWithUrl?

Currently it's not possible to set task priority when calling downloadImageWithUrl. Can we add another parameter for priority in the API, instead of setting it separately after creating the download task?
Background: We have a long tableView with lots of images, each cell contains random static image or gif image(also load it's first frame as placeholder. gif task priority is changed dynamically based on cell's state and is always lower than static images). When scrolling fast usually there would be a lot of concurrent tasks in manager's _concurrentOperationQueue. Currently changing priority would add another operation to the queue and enumerate all running tasks to find the specified download task, which takes time.

This is a good request @yxztj !  We'd also use such an API from AsyncDisplayKit, since it sets priorities depending on how close an image is to the screen.  When a new screen loads, often there are downloads started for the Visible area, the "almost-visible" area, and the preloading area - and it would be great to be able to pass those priorities in without a separate call.
Have you been able to test whether this makes a difference on how the network requests go out?  There is additional overhead to the extra calls - but, does the network request start immediately or does it wait long enough that the priority calls are able to influence how the initial set of connection slots are allocated?

On Oct 27, 2016, at 2:16 AM, yxztj<EMAIL_ADDRESS>wrote:
Currently it's not possible to set task priority when calling downloadImageWithUrl. Can we add another parameter for priority in the API, instead of setting it separately after creating the download task?
Background: We have a long tableView with lots of images, each cell contains random static image or gif image(also load it's first frame as placeholder. gif task priority is changed dynamically based on cell's state and is always lower than static images). When scrolling fast usually there would be a lot of concurrent tasks in manager's _concurrentOperationQueue. Currently changing priority would add another operation to the queue and enumerate all running tasks to find the specified download task, which takes time.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/pinterest/PINRemoteImage/issues/262, or mute the thread https://github.com/notifications/unsubscribe-auth/AAigA7A7Ni2i581eY9tXnDzm_7CWBLtlks5q4GvbgaJpZM4KiHgq.

@appleguy Yeah I've been using ASDK to set image download priority based on node's interface state(preload, display, visible). We're using FLAnimatedImage and some other image processing so we implemented ASImageCacheProtocol/ASImageDownloaderProtocol on our own web image manager, which relies on PINRemoteImage.
We're logging the _urlSessionTaskQueue operations' priority on each setPriority call. But not seeing the queuePriority property changing right after(guess the set operation is also queued in _concurrentOperationQueue) So maybe setting the initial priority on downloadImageWithUrl could reduce some work?
In addition since NSOperationQueue doesn't guarantee operation with higher priority gets executed first, when we check the network requests using Charles, not seeing much performance advantage after setting download priority dynamically.. Sorry we haven't digged deep into the whole library, could be still missing something.


Hifigan sample config missing

Not sure what you have but I'm running a test with settings here https://github.com/jik876/hifi-gan/blob/master/config_v3.json for now

Unrelated to the issue, but I wonder if it would be good to include wavs generated from a pretrained vocoder model for the training process of the ttm models, just to see if you're still on track.

Yep sorry, I've been waiting for audio files from a friend before uploading a proper pretrained vocoder + samples... but those samples haven't arrived in the last 7 days.

Feel free to use the pretrained models on jik876's repo, I don't think any of the modifications I've made will cause incompatibilities.

Seems like the pretrained models were all on 22050Hz. Is there a way to fix the speedup-effect that results with the mismatch? (Your tacotron2_tm has 44100Hz as default sampling rate)

        filter_length  =  2048,
        hop_length     =   512,
        win_length     =  2048,

The other params can be scaled so 44.1Khz and 22.05Khz produce identical spectrograms. And yeah, just remembered the official HiFi-GAN uses 8000Hz as fmax.
I'll upload a checkpoint in a moment. Check back on this comment in 20~ mins.

https://github.com/CookiePPP/cookietts/commit/b774c91a37cd57b8933d3c03c4f96c32164544f4

Added (untested) support for GTA.py to HiFi-GAN.
Example command to start.
python3 train.py --checkpoint_path "cp_hifigan_universal44Khz" --config "cp_hifigan_universal44Khz/config.json" --input_training_file '/media/cookie/Samsung PM961/TwiBot/CookiePPPTTS/CookieTTS/_2_ttm/tacotron2_tm/GTAflist/map_train.txt' --input_validation_file '/media/cookie/Samsung PM961/TwiBot/CookiePPPTTS/CookieTTS/_2_ttm/tacotron2_tm/GTAflist/map_val.txt' --fine_tuning

I'll be testing it in another hour, I need to rerun GTA.py

HiFi-GAN fine-tuning is tested and working on my system.
Reply if there's any problems on your end. I'll close this issue in a few days if there is no response.
Thanks for the bump!

Just as a benchmark, how long did it take you to train a HifiGAN and Tacotron2 model? I trained LJSpeech on tacotron for 40k steps and 20k steps on Hifi GAN so far, and while the outputs are definitely decipherable they aren't really indistinguishable, perhaps due to the metallic tinge (something something fixed through a denoiser?). See generated and ground truth

I always warm_start from anything I can. So I don't have a number for training from scratch and I have no idea what compute you have.
On 3x 2080 Ti's it takes a couple days to train a model for audiobooks speakers, and a couple weeks for more emotive/challenging speakers.

Training on a Tesla T4, 16gb vram, Intel Xeon Platinum 8259CL CPU, pretty standard. Keeping in mind I'm just testing out on the LJSpeech dataset, I didn't warm start tacotron since I didn't know what I could warm start it off, but I did run the command you mentioned for the vocoder. MSE loss both in training and validation is only lowering by around 0.03 per 1000 steps after around 7 hours of training. Thing is, the outputs sound fairly decent if not for the metallic sound. On WaveGlow increasing the sigma value would fix it but I'm not sure what to do for Hifi GAN.

For HiFi-GAN you'd fine-tune it off of the postnet outputs from tacotron.

Should I aim for a specific value loss/diagonality/etc. then? Tacotron seemed to stay at a very stable 0.42 validation loss and the alignments were fairly bright and diagonal after 1 day/13k steps of training.

diagonality around 1.06 - 1.08. spec_MFSE and postnet_MFSE to the minimum you can during validation. Weighted score during inference to the highest value possible.

bright alignments don't mean the model is outputting good spectrograms, only that it understands where in the text it is.


Disable auto translate for some controls in Project Manager

Label for project name
Button for tag name

Thanks!


[OSC-1301] Split up execution table

https://pageuppeople.atlassian.net/browse/OSC-1301
The goal here is to create a table similar to https://github.com/PageUpPeopleOrg/data-pipeline-orchestrator such that there is an overall summary of each execution

LGTM.. a pitty we can't handle generic failures and in such cases we'd have the correct state not persisted.
one thing though.. i forgot to mention yesterday, can we change
COMPLETED_SUCCESSFULLY = 'Completed Successfully to just SUCCESSFUL = 'Successful'?
I understand that it will add a bit of work on the migration script from the old status to the new status.. but doesn't seem complicated.. makes sense?

So just to double check, you're suggesting to change the existing statuses in the DB to use the new constant?

@ChintanRaval
So just to double check, you're suggesting to change the existing statuses in the DB to use the new constant?

Yes sir.. just added a few commit suggestions for this (so you dnt have to change any further code) with all the code changes (unless I've missed a spot.. oops)

@ChintanRaval
So just to double check, you're suggesting to change the existing statuses in the DB to use the new constant?

Yes sir.. just added a few commit suggestions for this (so you dnt have to change any further code) with all the code changes (unless I've missed a spot.. oops)

also going to have to change all the usages of Constants.COMPLETED_SUCCESSFULLY and add a downgrade script


Ed/integrate orchestrator v2

This PR:

Removes the old centralized server in favor of the web server.  We always have the git copy if we need to pull it back in.
Modifies examples/infra to work with the new orchestrator

Most of the Libp2p code stayed the same, but was moved around.  It would be great if @DieracDelta could check that it works.
Renames ClientConfig to Run
Separates out the orchestrator functionality from the web server; all networking implementations use the same orchestrator interface
Fixes a bug with election initialization (it is always initialized to default for now since we do not pass the election config into the network config; before it would panic on a bad unwrap)

Updates the example executable names in Cargo.toml
Cleans up init_state_and_hotshot; it had redundant logging and unused variables
Moves code around so that the mod.rs file is structured as follows: Orchestrator, Generic Validator, Libp2p, Web Server

NOTE: This PR does not fully support libp2p bootstrap nodes.  That will come in a later PR for this issue: https://github.com/EspressoSystems/HotShot/issues/999.  This PR does fully support running with the web server.

@DieracDelta I've addressed your comments!


Unable to build QMV.js

I tried the following command.
npm install
npm run build

However, an error occurred.
C:\home\edu\javascript\library\qtek-model-viewer-master>npm run build

><EMAIL_ADDRESS>build C:\home\edu\javascript\library\qtek-model-viewer-master
> npm run glsl2js && rollup -c && uglifyjs -c -m -- dist/QMV.js > dist/QMV.min.js

><EMAIL_ADDRESS>glsl2js C:\home\edu\javascript\library\qtek-model-viewer-master
> node build/glsl2js.js

C:\home\edu\javascript\library\qtek-model-viewer-master/index.js → dist/QMV.js...
[!] Error: 'default' is not exported by node_modules\zrender\lib\core\util.js
https://github.com/rollup/rollup/wiki/Troubleshooting#name-is-not-exported-by-module
src\Viewer.js (23:7)
21: import SceneHelper from './graphic/SceneHelper';
22: import defaultSceneConfig from './defaultSceneConfig';
23: import zrUtil from 'zrender/lib/core/util';
           ^
24:
25: import getBoundingBoxWithSkinning from './util/getBoundingBoxWithSkinning';

The environment used for the build is the Windows 10 command prompt.
I also tried Bash on Windows, but the result was an error similar to the previous one.
How can I create the latest version of QMV.js?

It's because one of the dependencies zrender just changed from CommonJS modules to ES6 modules in the latest version. Already fixed in https://github.com/pissang/qtek-model-viewer/commit/8fdee5be90846577a89965ff18576118c8095e26
BTW if you want to build the code by yourself, it is suggested that clone the latest code of qtek and put it under the node_modules.

@pissang I built it according to your advice and it worked. Thanks!


Adding feature status and prerequisite to new feature.

Forgot to add feature state and prerequisite to the documentation section in previous PR. Thanks @alculquicondor  for reminding of this. This PR addresses comment https://github.com/kubernetes/website/pull/21210#discussion_r460148840

\cc @dashpole @savitharaghunathan @sftim

Content looks correct!

/milestone 1.19
/assign

@savitharaghunathan is this OK to go in to the v1.19 docs?

Hi @sftim 👋 , Yes I think its okay to go into 1.19 docs. Looks like this pre-req might be important.

/lgtm


add issue template

resolves #104

pushed an unrelated commit with a link to a new ArcGIS Hub open source ember project.


[326] Update load test README with metrics set-up

Context
Load test environment set-up
Changes proposed in this pull request
Documentation
Guidance to review
Read and see if it makes sense
Link to Trello card
https://trello.com/c/G3W4xht7

 Restore apply-loadtest/JMeter metrics in Prometheus


Connected device limit?

May I know if theres a limit in the number of connected devices? Im a teacher and I wish to create a hotspot that can connect 40 Android devices so that I can easily share files with students

Hi
There is no enforced limit, but I have not personally tested above 8 devices.
Given that your phone is running the hotspot I assume it would struggle dealing with more than 10 devices.
I recommend you investigate a more robust solution to serve 40 students. Perhaps a samba file share or a shared classroom link to a Google Drive could solve your problem better?


rustfmt, clippy and rubocop runs

This commit does a lot of cleanup for styling
(rubocop and rustfmt), and also applies some of
clippy's lints to make the rust code a little more
idiomatic
https://github.com/danielpclark/faster_path/issues/46

I'm sorry I can't merge this.  Benchmarking against the current code base there is a slight loss of performance in the Rust code.  I kept running the benchmarks and even when the Ruby benches happen to come up slightly faster on this pull request the Rust benches are slightly slower.  The Ruby and Rust benchmarks  didn't move in the same direction.  I know it's a very subtle difference but I need smaller changes with verified proof of no regressions.
As far as changes to style I believe those should be discussed individually in issues.  For instance if double quoted strings where slower because of potential interpolation that's worth mentioning.  Then I would recommend the updates be done in small parts as we go along.  Kind of a clean up code as we move forward with our "new" style guide.  But I don't feel comfortable wiping across the entire code base with these changes.

@danielpclark Sure, no problem. Interesting that it is slightly slower, as the only change is while let and using char over string for matching, which should be faster. It is possibly that the compiler deals with loop differently. I'll benchmark the two implementations against each other in rust and feed it back to clippy.
The style is more in keeping with https://github.com/bbatsov/ruby-style-guide.
Both are totally fair. I'll close the PR.

I'm interested in adding at least Rubocop.  Changing the double quotes to single quotes does seem to make a difference performance-wise in Ruby.  I'm considering doing features from Rubocop in phases (not all at once) to help standardize contributions as well as the other advantages Rubocop provides.


figure in matplotlib doesn't show plots created in axes

Environment data

VS Code version: 1.32.3
Extension version (available under the Extensions sidebar): Python 2019.3.6558
OS and version: Windows 1709
Python version (& distribution if applicable, e.g. Anaconda): Ptyhon 3.7.3
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): virtualenv
Relevant/affected Python packages and their versions: matplotlib

Expected behaviour
I am trying to practice using matplotlib in VSCode. In Jupyter, I can do the following. Basically, after I created figure & axes, if I created any plots in axes, figure will show the plot.

Actual behaviour
However, if I do exactly the same in VSCode, figure will return nothing. ax1's plot cannot be shown in the figure.

Steps to reproduce:
import numpy as np
import pandas as pd
from fastai.imports import *

import pyodbc
import matplotlib.pyplot as plt
import seaborn as sns

from IPython.display import display

fig = plt.figure()

ax1 = fig.add_subplot(2, 2, 1)
ax2 = fig.add_subplot(2, 2, 2)
ax3 = fig.add_subplot(2, 2, 3)

ax1.hist(np.random.randn(100), bins=20, color='k', alpha=0.3)

fig

It will have different results between Jupyter and VSCode. Figure should be able to show what has been plotted in axes.

@mukerong We suspect this is an issue with matplotlib's support for dark theme. Can you switch to VS Code Default Light theme to confirm?

Still have the issue.

@mukerong sorry, I didn't make myself clear. Can you re-run the cells in the light theme? Switching themes doesn't automatically refresh plots.

@ronglums  sorry for the late reply. Looks like it works with the light theme! Is it possible to make matplotlib supports the dark theme?

@mukerong thanks for confirming! I'd suggest filing an issue on https://github.com/matplotlib/matplotlib to get attention on the dark theme issue with the plots. Thanks!

Is there any way to just use matplotlib default theme instead of the dark_background? The   "python.dataScience.ignoreVscodeTheme": true now turn the whole interactive window to white if I'm using a dark color theme.

dupe of #8000


🐞[bug]: Contact page is not properly aligned

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
the contact page is not properly aligned
Expected behavior
the contact page must look aligned and readable
Add ScreenShots

What browsers are you seeing the problem on?
Chrome
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24EXTD contributor
[X] I have starred the repository

close this issue @anuza08

#108 im already working on this. don't make existing issues and pl check them before creating a new issue
ps: @Anjaliavv51 close it


MINIFICPP-1304 - InvokeHTTP can get triggered too frequently in case …

…flowfiles are routed back to itself
Thank you for submitting a contribution to Apache NiFi - MiNiFi C++.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with MINIFICPP-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ ] Is your initial contribution a single, squashed commit?

For code changes:

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file?
[ ] If applicable, have you updated the NOTICE file?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

@szaszm : "Arbitrary methods are also supported. Methods other than POST, PUT and PATCH will be sent without a message body."


Use semaphore to prevent concurrent sessions

Instead of just preventing multiple commands from being sent at once, prevent multiple sessions from being used at the same time.
This should prevent the coordinator from polling new values while a command is being sent.
Fixes #28

Fixes #29


Contraceptive method efficacy rates - Kenya

Used data from Guttmacher for developing world for Senegal.

Will leave these for this context


3D graphics support

PyMechanical needs to support plotting the 3d graphics (probably with PyVista)

This has been implemented for showing geometry with pyvista and openUSD.  For results/mesh further development is needed


Using inside package: cannot find template

I am using Iron Router inside a package, and it complains that it cannot find a template, even though I have defined it.
I get Couldn't find a template named "layout" or "layout". Are you sure you defined it?
I have defined a template called layout inside my package: client/templates/shared/layout.html
And I have required that file in package.js like this:
Package.onUse(function(api) {
  api.versionsFrom('<IP_ADDRESS>');

  api.use('iron:router@1.0.9');

  api.addFiles([
    'both/routes.js'
  ], ['client', 'server']);

  api.addFiles([
    'client/templates/shared/layout.html',
    'client/templates/home.html'
  ], 'client');
});

And I am using layout template in my route definition file, both/routes.js
Router.configure({
  layoutTemplate: 'layout'
});

Router.route('/', {
  name: 'home',
  template: 'home'
});

And in my main app, I am using this package. It can be found at .meteor/packages. Is this a bug?

You add routes.js file before the layout.html file so when the router looks for the layout template it hasn't been defined yet.

@zimme The issue was not the load order. I needed to add api.use('templating', 'client'); to get it working.
I see that iron router already depends on templating.. Perhaps adding api.imply('templating', 'client') will prevent problems of this sort in the future. Any thoughts?

I would think the load order was important too, but ok.
Yeah, implying templating would probably prevent this sort of issue in the future.


✨[Feature Request]: Slight Grammatical error in the chatbot part.

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
There is a slight grammatical error in the chatbot section.
The bot should greet the user and say :
Hi there. I hope you are keeping yourself hydrated throughout.
"How can I help you today?"
Use Case
The project will be enhanced as there will be better communication between the chatbot and the user.
Benefits
Better greetings will help the user to communicate clearly and share their problems.
Add ScreenShots

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

i would like to work on this  ! plz assign it to me under gsooc labels.


quick search: Support full state string search

Context
This is not the most urgent, but makes an impact on user experience.
          @josh-chamberlain On the state, currently searches won't return for a full state string because we aren't currently storing it in any of the tables.

Originally posted by @mbodeantor in https://github.com/Police-Data-Accessibility-Project/data-sources-app/issues/91#issuecomment-1802204773
Requirements

[ ] as a quick search user, typing "Pennsylvania" in "where" should work as well as "PA".
(is the idea to make a table of states? handle the conversion in the back end?)

Yeah I think easiest would be just a two column table with abbreviation and full name which the back end can join to in queries for agencies


Alpine 3.3, Python 2.7.11, urllib2 SSL: CERTIFICATE_VERIFY_FAILED

FROM python:2-alpine
CMD ["python", "-c", "import urllib2; response = urllib2.urlopen('https://www.python.org')"]

is causing
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/local/lib/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/local/lib/python2.7/urllib2.py", line 431, in open
    response = self._open(req, data)
  File "/usr/local/lib/python2.7/urllib2.py", line 449, in _open
    '_open', req)
  File "/usr/local/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python2.7/urllib2.py", line 1240, in https_open
    context=self._context)
  File "/usr/local/lib/python2.7/urllib2.py", line 1197, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>

Is this normal?

I didn't apk add ca-certificates to the final image, so there's that.

It worked for me also!
RUN apk --no-cache add ca-certificates


Missing complete/src/test/java/hello/SmokeTest.java

It seems like the file complete/src/test/java/hello/SmokeTest.java is missing and so it doesn't render properly in the guide.  Here's how it is showing up:

Thanks. Should be fixed in 352348c.


Simplify dependencies

The rand crate is only used by the examples.
For the library itself the cursive backend doesn't matter,
those feature can be safely removed. At least one backend
is necessary for the examples to work, re-enabling the default
features of cursive in dev-dependencies solve this.
This is technically a breaking change, bumping version to 0.9 would be necessary.

Good point! Thanks for the PR!


WIP: build demo example for xpd

Codecov Report

Merging #33 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #33   +/-   ##
======================================
  Coverage    97.8%   97.8%
======================================
  Files           5       5
  Lines        1050    1050
======================================
  Hits         1027    1027
  Misses         23      23

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 ac12974...de46d81. Read the comment docs.


Use .Login instead of .Name for generating a remote or branch name.

It is headRepo.Owner.Login that holds the unix account name of the
owner, and headRepo.Owner.Name is omitted from the embedded owner
information, resulting in the following failure:
% hub checkout https://github.com/github/hub/issues/{number}
fatal: '' is not a valid remote name

Ouch. Thanks for correcting my oopsie!
This is one demonstration of how tricky it is to ensure compatibility with GitHub API when we're stubbing the API responses. It makes for fast tests, but they are prone to human errors like mine.

Agreed.  I often feel test code I'm writing would really be testing anything when I just feed what it wants.
Maybe it's an idea to make a test response from a real world snapshot so you can update it from time to time as necessary.
Thanks for the quick merge!


Convert Diffulty strings from an if/then chain to a dictionary lookup

This was implemented as a set of two functions that use an if/then/else chain. This should instead be done as a table/dictionary lookup as the rest of the code does it.

I'm going to tentatively assign this to @cugone.

Fixed the issue. Awaiting GitKraken access approval.


chore: update otelcol core to v0.96.0

changes which impact update:

httpforwarder: Remove extension named httpforwarder, use httpforwarderextension instead ref: https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/24171
spanmetricsprocessor: Remove spanmetrics processor ref: https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/29567
confighttp: Remove deprecated HTTPClientSettings, NewDefaultHTTPClientSettings, and CORSSettings. ref: https://github.com/open-telemetry/opentelemetry-collector/pull/9625

One more deprecation left reported by golangci-lint:
		params.ConfigProvider, err = NewConfigProvider(locations)
		^
Error: configprovider.go:83:3: SA1019: params.ConfigProvider is deprecated: [v0.95.0] Use ConfigProviderSettings instead. ConfigProvider provides the service configuration. If the provider watches for configuration change, collector may reload the new configuration upon changes. (staticcheck)
		params.ConfigProvider, err = otelcol.NewConfigProvider(settings)
		^
make[3]: *** [Makefile:18: lint] Error 1

httpforwarder: Remove extension named httpforwarder, use httpforwarderextension instead ref: open-telemetry/opentelemetry-collector-contrib#24171

are there any config changes?

There aren't any changes in the configuration.
configuration for httpforwarder
## Configuration

The following settings are required:

- `egress`: HTTP config settings to use for forwarding requests.
  - `endpoint` (no default): The target to which requests should be forwarded to.

The following settings can be optionally configured:

- `ingress`: HTTP config settings for HTTP server listening to requests.
  - `endpoint` (default = `<IP_ADDRESS>:6060`): The host to which requests should be forwarded to.
- `egress`: HTTP config settings to use for forwarding requests.
  - `headers` (default = `nil`): Additional headers to be added to all requests passing through the extension.
  - `timeout` (default = `10s`): How long to wait for each request to complete.

### Example

```yaml
  http_forwarder:
    ingress:
      endpoint: localhost:7070
    egress:
      endpoint: http://target/
      headers:
        otel_http_forwarder: dev
      timeout: 5s

configuration for httpforwarderextension
## Configuration

The following settings are required:

- `egress`: HTTP config settings to use for forwarding requests.
  - `endpoint` (no default): The target to which requests should be forwarded to.

The following settings can be optionally configured:

- `ingress`: HTTP config settings for HTTP server listening to requests.
  - `endpoint` (default = `<IP_ADDRESS>:6060`): The host to which requests should be forwarded to.
- `egress`: HTTP config settings to use for forwarding requests.
  - `headers` (default = `nil`): Additional headers to be added to all requests passing through the extension.
  - `timeout` (default = `10s`): How long to wait for each request to complete.

### Example

```yaml
  http_forwarder:
    ingress:
      endpoint: localhost:7070
    egress:
      endpoint: http://target/
      headers:
        otel_http_forwarder: dev
      timeout: 5s


DocsArchive-<IP_ADDRESS>Auto archive content

Auto archive content from https://github.com/OPS-E2E-PPE/docs-archive-test-source

Docs Build status updates of commit 0d346b2:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Archive_master_2019-09-30-17-12-39 has been deleted or has been force pushed: fatal: Couldn't find remote ref Archive_master_2019-09-30-17-12-39

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


LV2 presets

When running without the native GUI (i.e. Zynthian), no way to select bank/presets.
It would be nice to have a simple way for converting bank/preset libraries to LV2 ttl format.
Adding a new native format to preset2lv2 converter is quite simple:
https://gitlab.com/Jofemodo/preset2lv2
;-)
Thanks

Hello @jofemodo
I have thought a bit of such things, and thought to address them in a different way.
This plugin is made to operate in General MIDI and GS/XG modes.
It's because it's a MIDI driver like found in video games, which are also in this model.
It manages presets in its own way, and it's also beneficial because multi-program can be packed into a chip such as emulations are more computationally efficient.
There are some emulators which are good at avoiding loading CPU in case of idle voices (eg. DOSbox), and some others are terrible (most of OPN ones).
Solution
I think to create a separate projects such as MiniOPL, that is really specialized in playing single instruments, and then I can enable use of traditional LV2 presets.
The mode of operation would be like that of JuceOPLVSTi, but with more ability (most notably, support of the 4-operator timbres).
About converted preset banks, they are likely going to be massive, probably in the 10ths of Megabytes, and I will have to store them in groups. (which DPF doesn't yet have, I'd need to make it myself)
This perspective is also going to help with resolving #61.

But current implementation works OK with LV2 presets. The problem is that we have not such presets. If you could give some tip about the "bank" file format:
https://github.com/jpcima/ADLplug/blob/master/resources/opl3/banks.pak
i would generate the LV2 presets/banks that could be used for integrating the current engine implementation on zynthian. I would implement a new class for the preset2lv2 converter.

OK! I found this:
https://github.com/jpcima/ADLplug/blob/master/sources/utility/pak.h
https://github.com/jpcima/ADLplug/blob/master/sources/utility/pak.cc
It seems all we need ... ;-)

No no, this is a format which serves only on the Editor-side.
It's only a pack of banks concatenated together in a Gzip file, preceded by header.
In the synth, there are more state items stored than bank data, which are: chip count, emulator choice, 4op channel mask
If anything will be like a preset to LV2, it's surely the result of getStateInformation which is going to be Juce binary-XML blob.
Anyway have just a bit of patience, I will post a plugin to have it drivable with registers as parameters, which will be more ideal for Zynthian device. I keep you notified about when it's posted, tomorrow possibly.

@jofemodo, this is a OPL3 plugin, mono-timbral and has access to all FM registers as parameters
https://github.com/jpcima/miniopl3
It has also a bank converter wopn-to-lv2-bundle and an example set of 3 banks.

Oh! I'll give this a look, because I'm working in a DAW and using it as a synth, not to playback game MIDIs (I have foobar for that) but to make sound. If this does 4op mode and is an OPL3 then I might pick this over Juice OPL and for my needs close #61, though check there for a possible implementation workaround for the issue at hand.

It needs some special work for VST unfortunately which is not yet made.
LV2 and VST are using some different ways to manage their presets and I need to deal with this problem. The project is a good start.
For the case of VST, I wish to offer a converter of 75 or so collected OPL banks into a set of FXB which can load in Reaper, similar as a thing I made for LV2.

Only FXB support right now, but implementing FXP wouldn't be too difficult.
BTW, the new miniopl3 plugin is already integrated in zynthian ;-)

Thanks for letting me know !
FXB support is not intended for Zynthian, it doesn't need, it's to equip miniopl3 to work in commercial VST plugin hosts.
Given that DPF doesn't have this support unfortunately, I'll have to work it around. Without a doubt, it wouldn't be difficut to wrap it as VST directly.


PutItem ToItemAsync always returns null

Hello,
I am using your great library for one of my projects.
I have difficulties to create objects and get feedback that they have been created correctly so decided to use ToItemAsync (With WithReturnValues) and ToResponseAsync.
None of them work as "I expected".

ToResponseAsync returns an object whose childs are all null. So no useful information
ToItemAsync complains when I set ReturnValues.AllNew telling me only AllOld and None should be used. However, no matter what I use, null is always returned

I have setup a small repo for you with a demo.
https://github.com/wjax/DynamoDbRepository.Playground
To note also that in the doc, it reads ToEntityAsync instead of the actual ToItemAsync

Hey @wjax

ToItemAsync complains when I set ReturnValues.AllNew telling me only AllOld and None should be used.

DynamoDB doesn't allow to set ReturnValues.AllNew for PutItem because it makes no sense in the context of operation. If PutItem is completed successfully, your item is saved and equals the item you've passed in the request.

However, no matter what I use, null is always returned

There is a bug in parsing DDB response that is fixed in #191. In the new version, you'll be able to use either ToResponseAsync or ToItemAsync with ReturnValues.AllOld to get an item state before the update.

Many thanks!


tsc doesn't recognize coercion of object keys to strings

I ran into a scenario yesterday that surprised me a bit. I was using an object literal to store some unique keys that I later extracted with a for-in loop. The keys were all numbers, but I quickly ran into a problem at runtime because i had forgotten that JavaScript coerces number type keys to strings for objects.
To wit, given the coercion of keys to strings, I was surprised that this type checked:
var ids: Array<number> = [];
const myCollection = {
    0: true,
    1: true
};

for (var key in myCollection) {
    ids.push(key);
}

console.log(ids); // => ["0", "1"]

Is this expected behavior, or should this throw a compile time warning?
(TSC Version 1.7.5)

duplicate of #4518


Addon broken cant create any macros

Hi,
I cannot change or create macros. I disabled all addons. Without success. Have a German WOW client. My english is pretty bad, so i translated it on google.

I cant cause this to happen - I can only refer you to : https://github.com/TimothyLuke/GnomeSequencer-Enhanced/issues/713#issuecomment-715582132

Thx its work now.


Not working with Leaflet 1.1.0 and 1.2.0

My original implementation was with Leaflet 1.0.3 and all was OK.
Now I updated to Leaflet 1.2.0 and have exception

Cannot read property 'prototype' of undefined
node_modules/leaflet-rotatedmarker/leaflet.rotatedMarker.js:5:44

Same exception happens with Leaflet 1.1.0.
Can it be updated/fixed so this plugin works with newest Leaflet 1.2.0?

Hi!
This seems to be a duplicate of issue https://github.com/bbecquet/Leaflet.RotatedMarker/issues/13, which was fixed in version 0.2.0. It concerned only version 1.1.0 at the time but I've tested with version 1.2.0 since and it worked.
You probably need to update the version number you import if you want to use it with Leaflet 1.1.0 or 1.2.0.

Thanks for the reply, it is working with the 0.2.0 version.
I was using 0.1.2 version (of leaflet-rotatedmarker).


Page Not Found: docs.zowe.org/stable/getting-started/extend/extend-apiml/authentication-for-apiml-services

Description

Pages to Update

Screenshots

Expected behavior

Additional context

Hi Jakub, may I know where this broken link exists on doc site? Thank you.

Here: https://docs.zowe.org/stable/getting-started/zowe-security-authentication/#authentication-with-client-certificates

All links work properly.

Just tested link and it still does not work. @janan07  to create PR to fix on live site.

@janan07 Link is still broken :(


4306 Added notification for unsupported GeoServer projections.

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

[Enter positive test case here]

METRIC
VALUE

NEW DUPLICATED LINES DENSITY
41.5584415584416

NEW CODE SMELLS
4

NEW SECURITY HOTSPOTS
0

NEW VULNERABILITIES
0

NEW BUGS
1

https://sonarqube.cuahsi-workstation.com:9000/dashboard?id=hydroshare-4311


[x]  Add a subscription model
[x] Members can subscribe to different services
[x] Members can unsubscribe to a single service
[x] Members can see all the active subscriptions

done #e84990b


Code blocks on homepage

The four code blocks on the homepage should be two in one row, instead of wasting a bunch of space:

Those code blocks could easily fit next to each other instead of having a massive amount of horizontal space, like this:

Write your code

import bar from 'foo';
export function bar()

Bundle with webpack

module.exports = {}
<html>

Good point, you'd be welcome to PR this if you're interested. Maybe the best way to go would be a flex box and have them at 50% on larger screens and 100% on mobile?

I tried to do it, but the Markdown + HTML handling didn't work as I expected and I don't have time to dig in further. For somebody who's used to this setup, this should be a five minute operation!

Ok, I can pick this up.


Renaming a wallet file makes it impossible to log into it

Because we store the wallet name in the file, if the latter is renamed, the filename and the wallet name are not in sync anymore, which makes it impossible to load as the origin of the name we use to identify a wallet changes in the code base. Sometime, filname, sometime wallet name.

The problem came from the fact the wallet name was used as a filename and was also set in the file. Renaming the file caused the filename and the file content out of sync. So we decided to remove the wallet name from the serialisation, to only retrieve it from the filename. As a result, renaming the file would rename the wallet.

Tested OK on latest wallet
Created a new wallet, renamed the physical wallet file , then tried to list the wallet and works OK.
root@35838827cce9:/workspace/beehive/behave/features/go-wallet# ./vegawallet_linux_arm list
- TestWallet1
root@35838827cce9:/workspace/beehive/behave/features/go-wallet# cd /root/.local/share/vega/wallets/
root@35838827cce9:~/.local/share/vega/wallets# ls
TestWallet1
root@35838827cce9:~/.local/share/vega/wallets# mv TestWallet1 TestRenamedWallet1
root@35838827cce9:~/.local/share/vega/wallets# cd /workspace/beehive/behave/features/go-wallet/
root@35838827cce9:/workspace/beehive/behave/features/go-wallet# ./vegawallet_linux_arm list
- TestRenamedWallet1
root@35838827cce9:/workspace/beehive/behave/features/go-wallet# ./vegawallet_linux_arm info --wallet TestRenamedWallet1
Enter passphrase:

Type:
HD wallet
Version:
2
ID:
a32ba6011742d6e850d6953c132e099f45d1b8731c074b1f7adda512f9593bdb
root@35838827cce9:/workspace/beehive/behave/features/go-wallet#


Use env variables to connect to the database

Changes Unknown when pulling 713ab772e343aae8e0aca191656a9794a279368b on drivy:feature/env-variables into ** on winebarrel:master**.

Changes Unknown when pulling 713ab772e343aae8e0aca191656a9794a279368b on drivy:feature/env-variables into ** on winebarrel:master**.

Thank you! 👍

v0.3.1.beta2 has been released. 😃

Great thanks!


As an developer, I would like to use In-memory SQLite database for testing

Use In-memory SQLite database for testing
1.a)

No direct dependency on certain databases when running test
Use in-memory SQLite database instead

From project review 2
Make testing isolated to C# by creating a mock webbuilder in test and make function calls to public and private timelines

Mock webbuilder
Test public timeline
Test private timeline


Issues with getFirrtlDirection in gsdt

Users reported the following code to be broken in gsdt:
val queue = Module(new Queue(UInt(width = 32), 8))
Irrevocable(queue.io.enq)

This is simply trying to cast the enq port of a Queue to IrrevocableIO so it can be connect to by IrrevocableIOs. It causes the following requirement from the apply method of Irrevocable to fail:
require(getFirrtlDirection(dec.bits.flatten) == INPUT, "Only safe to cast consumed Decoupled bits to Irrevocable.")

This is obviously absurd as enq.bits (being dec in the above require for "decoupled") is clearly an Input (side note, it is super confusing that enq in Queue is a DeqIO and deq is an EnqIO). Also note that deleting the requirement results in correct Firrtl code.
I tracked down the issue to the rather pedestrian observation that getFirrtlDirection is defined as returning  "firrtlDirection is the direction we report to firrtl.                                                                                It maintains the user-specified value (as opposed to the "actual" or applied/propagated value)." This means the check is wrong because it doesn't take into account that this bundle may be a part of a flipped bundle, thus the failure above because enq is Flipped so the real direction on enq.bits is the opposite of what the require is seeing.
In my opinion, this calls into question the utility of getFirrtlDirection, or at least the fact that it returns a chisel3.core.Direction even though it's not actually even intended to give a Chisel Direction.
This code works if we replace the predicate of the require with:
dec.bits.flatten forall (_.dir == INPUT)

where we actually check each field (recurisvely) of the Bundle for its Chisel direction.

Excellent analysis @jackkoenig. firrtlDirection should only be used when emitting firrtl.
W/r/t the issue of enq and deq in Queue, the perspective is from the client of the Queue. Internally, the Queue object uses the flipped version of the interface used by the client.

Closed by #299


build(toolchain): bump to nightly-2023-10-21

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

Shoud change no_coverage to coverage(off)

Currently blocked on https://github.com/sgodwincs/dlv-list-rs/pull/19#issuecomment-1774786289

Currently blocked on sgodwincs/dlv-list-rs#19 (comment)

Now it's here. https://github.com/zonyitoo/rust-ini/pull/115#issuecomment-1780925215


Add automatic app unified deployment upgrade date to banner

WHY are these changes introduced?
Fixes https://github.com/Shopify/app-deploys/issues/653
WHAT is this pull request doing?
Added a new note with bolded date to indicate the on September 5, 2023 all apps will be automatically opted into the app simplified deployment on the "Simplified deployment available now!" banner.
It would push developers to opt in earlier than later (or seemingly never).
How to test your changes?
Create an app locally: bin/create-test-app.js --bare
Enable app_unfied_deployments_opt_in beta flag only for this app
Go to newly created app folder and deploy: npm run deploy

Post-release steps

Measuring impact
How do we know this change was effective? Please choose one:

[x] n/a - this doesn't need measurement, e.g. a linting rule or a bug-fix
[ ] Existing analytics will cater for this addition
[ ] PR includes analytics changes to measure impact

Checklist

[x] I've considered possible cross-platform impacts (Mac, Linux, Windows)
[x] I've considered possible documentation changes
[x] I've made sure that any changes to dev or deploy have been reflected in the internal flowchart.

Rebasing then merging


[ROS2] Fix unit tests

Uncommented both tests in CMake.
Rearrange the HomotopyClass test to check if the goal has been reached instead of running it forever.

@SteveMacenski not sure if this is useful since there's no CI set up for Rolling here, I can put up the tests results log


06/17/2018 21:44 : Create Pull Request for branch prTesting_2018061721 -> master

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


#8 db web ui

Added in phpLiteAdmin to directly access the backend of the DB.

Added a questionnaire_response column to the db.
Added the new container to the docker-compose file

@terry77228 can you please take a look and see if this works with your front end code to display html text from the questionnaire_response column to the db. You can Access the admin page at http://localhost:2015/phpliteadmin.php


Bugfix in Excel interface to avoid closing previously open Excel windows

Fixes https://github.com/Pyomo/pyomo/issues/355
Summary/Motivation:
Use DispatchEx instead of Dispatch to avoid interfering with open Excel windows. This solution was found based on this StackOverflow question: https://stackoverflow.com/questions/18648933/using-pywin32-what-is-the-difference-between-dispatch-and-dispatchex
Legal Acknowledgement
By contributing to this software project, I agree to the following terms and conditions for my contribution:

I agree my contributions are submitted under the BSD license.
I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.

@blnicho: did you test to confirm that this resolves Pyomo/pyomo#355?

Coverage decreased (-0.04%) to 62.285% when pulling 57104ba3838bc7e8a9fdffb7c0cf48e66c9cee2b on excel_fix into fa6ce9759906670c25a50fca5d66be20a859bfd5 on master.

I did some limited testing on my Windows machine using Anaconda and Python 3.7.1 and it appears to resolve the issue. I'm not sure how to add a test for this though.

Yeah I can do that

Codecov Report

Merging #59 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #59   +/-   ##
=======================================
  Coverage   63.13%   63.13%
=======================================
  Files          87       87
  Lines        8702     8702
=======================================
  Hits         5494     5494
  Misses       3208     3208

Impacted Files
Coverage Δ

pyutilib/excel/spreadsheet_win32com.py
27.56% <100%> (ø)
:arrow_up:

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 fa6ce97...fc6fef5. Read the comment docs.


The carousel in the speaker's section is not working

The carousel in the speaker's section is not working

For more information regarding the bug.
The carousel does not work until there are atleast 4 speakers in the present in the Speakers Model.
The issue has to do with an incorrect implementation of JavaScript, and should mostly be contained in the Speakers.


Finish AlertOperation after call to handler

Is there a reason why it needed to be the other way around?
Currently I have a GroupOperation where the AlertOperation is the only one created at startup. Then depending on the option selected by the alert I add another operation to the group.
However because finish is called before the alert handler, I get an error saying I can't add an operation to the group after it has finished

Hi @felix-dumit thanks for this!
It's a really good point. Looking at the code, I don't see why the handler is not called before finish. So making this change would allow for adding Operation instances after the alert is dismissed directly without using a group - so will merge it.
However... depending on how you've written your GroupOperation subclass, you could still get it to work. As with most things there is more than one way! :) So, for example:
class MyGroupOperation: GroupOperation {

    override func willFinishOperation(operation: NSOperation, withErrors errors: [ErrorType]) {
        if operation === alert {
            addTheNextOperationAfterAlertNow()
        }
    }
}

And the above is the standard approach for adding new operations to a group. However, I can totally appreciate that you want to keep your code organized together, and adding the next operation in the callback from the alert also makes a lot of sense.

Ok. One question related to this. The operation I produce after the alert click is presenting a view controller, which has the MutuallyExclusive<UIViewController> condition.
It would sometimes happen that it would evaluate conditions while the alert operation had not finished and so it would fail.
So what I did was add the alert operation as a dependency of this new operation. Is that generally the way to go?

Hi @felix-dumit yes, that is exactly what you should do.
So you have an alert, and then depending on the result you add a new operation, which is mutually exclusive on UIViewController....
So, you are going to want to setup a dependency, as it's likely that you'll trigger your operation before the alert is finished.


Unbundle windows

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

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.

@conda-forge-admin, please rerender

Don't you need to prefer external and for good measure remove the bundled sources all together?

Don't you need to prefer external and for good measure remove the bundled sources all together?

Of course, thanks! I scanned the bld file and saw the PREFER_EXTERNAL lines but didn't read carefully enough to see that it was OFF :facepalm:.

@conda-forge-admin, please rerender

All seems to work except for three compatibility tests. That means that blosc2 fails to decompress the reference files for zlib compressed data that were created with the versions 1.3.0, 1.7.0, and 1.14.0. This may be due to the fact that zlib-ng is compiled in compatibility mode in case of the vendored copy, but not in the conda-forge version. If that is indeed the case, this would probably be an upstream bug.

I used to have this error, but it is because I had things poorly defined in my builds for external zlib Ng. You can look at my PR upstream recently made for clues on where to debug.

Hm. Good to know. Do you mean Blosc/c-blosc2#393? Do you have any more pointers?

https://github.com/Blosc/c-blosc2/pull/358 also

a breakthrough perhaps?

Yeah, could be. Basically, it seems zlib-ng is aligned much closer with c-blosc than the original zlib in terms of types, i.e. it uses size_t and uint8_t and friends instead of the peculiar uLongf and similar. Now c-blosc, in its wrapper of the zlib functions, comes in with the right types for zlib-ng, but casts them to the original zlib types. For some reason, this fails on windows; I cannot say wether that is a genuine error, possibly because mscv by default uses llp64 instead of the lp64 that is common in Linux (see 64-bit data models), or some compiler quirk.
The difference with llp64 is that long is 32bit, but size_t is 64bit, whereas in lp64 both are 64bit.
In any case, it's probably a good idea to polish the patch and send it upstream.

Thank you, this is great!

Yes i noticed. Thanks for that!


fixes issue 18 - default behavior conn.send sends to connecting socket

add clients to the mockserver to enable broadcasting.

@nicholasjstock looks good. I noticed that there are some extra whitespace lines on a few of the files. Can you remove them and then I will merge it in

removed the whitespace.
I then noticed that in the node package WS
wss.on('connection', function(ws) {
 ws.close(); // closes one connection
}

only closes one connection, and that to close all connections one does
wss.on('connection', function(ws) {
 this.close();
//or wss.close();
}

I modified my onclose binding to call the close function of the client rather than the server.
I also had to modify one of your tests, check it out, see if u agree!

@thoov have you had a chance to look at this?
Thanks!

@nicholasjstock Overall looks good! Just a few nit picky whitespace things. Can you fix those and rebase then I will merge?


Update install_metrics.bash to install CMAKE 3.2.x branch

We're currently building cmake 2.8.12, whereas the 3.2.x branch is now available - Update to 3.2.2

@durack1 @doutriaux1 could this explain that I can't install the PMP anymore on our servers (at IPSL, not at TGCC behind those firewalls)? I've tried multiple times this week to set the PR linked with #219, with no luck. Any idea?

@jservonnat nope, this is not likely the problem.. What's the error..?

We are looking at it with Nicolas Carenton. When we have defined it clearly we'll get back to you.

I'd make sure to build 1.0, the master branch is where we're currently pushing new stuff which has been tested significantly less..

As per discussion set min > 2.8.12 and max = 3.2.2, also set UV-CDAT 2.2.0 as master build point

@jservonnat you were most likely hitting an issue with the UV-CDAT installation, not the pcmdi_metrics.. So once the PR #269 is approved you should now be able to build again with the PCMDI_Metrics master and everything should work as expected


Build(deps-dev): Bump mini-css-extract-plugin from 2.4.5 to 2.4.6 (#2316)

Pull request opened by the merge tool on behalf of #2316

Merged in e35773c20a7ab690000322b3f7372c0da06ce2c5


add io.EOF judgement for support aliyun oss get object

when  getBucketLocation  in Aliyun oss ,  then  no  location answer,   so  return io.EOF error.
this situation  should be default  location.

Please fix build issues @hanqingwu

the bucket-cache test do not support virtual hosted path , so  test FAIL, maybe I should  modify  only Aliyun OSS support Bucketlocation from virtual hosted path ? @harshavardhana

the bucket-cache test do not support virtual hosted path , so  test FAIL, maybe I should  modify  only Aliyun OSS support Bucketlocation from virtual hosted path ? @harshavardhana

Yes that would be acceptable, please write a comment as well.


Perform report

Is this a bug report, a feature request, or a question?
question

Have you followed the required steps before opening a bug report?
(Check the step you've followed - put an x character between the square brackets ([]).)

[x] I have read the guidelines regarding bug report.
[x] I have reviewed the documentation in its entirety, including the dedicated documentations :books:.
[x] I have searched for existing issues and made sure that the problem hasn't already been reported.
[x] I am using the latest plugin version.
[x] I am following the issue template closely in order to produce a useful bug report.

Have you made sure that it wasn't a React Native bug?
not sure

Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?
iOS tested
Is the bug reproductible in a production environment (not a debug one)?
yes

Environment

Environment:
"react": "16.8.3",
"react-native": "0.59.9",
"react-native-snap-carousel": "^3.8.0",
Target Platform:
iOS (12.2)
Expected Behavior

(Write what you thought would happen.)
Actual Behavior

(Write what happened. Add screencasts/screenshots!)
Reproducible Demo
(Paste the link to a Snack example in which the issue can be reproduced. Please follow the guidelines for providing a Minimal, Complete, and Verifiable example.)

Steps to Reproduce

Hi, i use carousel in modal, and i would after modal opened, i scroll to specific item, but, it didn't because its realy slow action.
<Modal
   visible={this.state.modalStoryVisible}
   style={{padding:0, margin:0}}
   transparent={true}
   animationType="slide"
>
  <Carousel
        ref={(c) => this._carouselStory = c}
        data={this.state.favoris}
        renderItem={this.renderModalCarrousel.bind(this)}
	initialNumToRender={this.state.favoris.length}
	firstItem={this.state.activeIndex}
	sliderWidth={width}
	itemWidth={width}
	layout={'default'}
	onSnapToItem={(activeIndex) => {
	      this.setState({activeIndex:activeIndex});
	}}
 />
</Modal>

I would like use initialNumToRender={1} and firstItem={27}, but don't scroll to. I think because listView no render all. how can I do ?

Sorry, please allow me to advertise for my open source library! ~
I think this library react-native-reanimated-carousel will solve your problem. It is a high performance and very simple component, complete with React-Native reanimated 2


Typo in Simple Animation with Jetpack Compose

URL of codelab
In which task and step of the codelab can this issue be found?
Task 6 - Show or hide the hobby on button click
Step 2
Describe the problem
There is a typo in step 2. DogItemButton() is the wrong Composable function. Instead it should be DogItem().
Additional information
Include screenshots if they would be useful in clarifying the problem.

Hello @unomi-zan,
Thank you for reaching out to us and reporting this typo. It is fixed now:


Not working with Android 13

Hi; I recently updated the software on my S22 Ultra to Android 13 and Spotify no longer displays on the idrive. I can see the phone still connects to the car via the AAIdrive app and no settings are changed in the app as far as I can see. Does anyone have any ideas?

Thank you for the bug report! You say that AAIdrive shows that it is connected to the car but not add any of the Connected Apps? Or do you still get Notifications and Calendar? Does it crash at all? What version of AAIdrive are you running?
Can you pull an adb logcat, perhaps there are some errors that might hold more clues.

I just received the Android 13 update (Galaxy S21), currently downloading. Will get back with feedback as soon as I get to test it.

Thank you for your response.
Happy to pull an adb location if it will help but will need some guidance.
On Sun, 13 Nov 2022, 17:38 Bogdan Calapod, @.***> wrote:

I just received the Android 13 update (Galaxy S21), currently downloading.
Will get back with feedback as soon as I get to test it.
—
Reply to this email directly, view it on GitHub
https://github.com/BimmerGestalt/AAIdrive/issues/631#issuecomment-1312783184,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4EDZZEN7ZMZZKLSJMIJKLDWIERQHANCNFSM6AAAAAAR5NF5YM
.
You are receiving this because you authored the thread.Message ID:
@.***>

By installing Android Studio and the Android Platform SDK, you should be able to get easy access to your phone's Logcat system by running adb logcat. I'd be very curious to see if there are any crash messages when it tries to show the notification, which I hear Android 13 has added limits to.
Please also check AAIdrive's Permissions, perhaps there is a Notifications option that you can enable.
I haven't seen any new crashes come through the analytics, have you enabled crash reporting to automatically report crashes for me to look at?

Happy to report that everything seems to be in order on my end - music, screen mirroring, etc.

Just for info: I've also installed One Ui 5 (Android 13) on my S22 Ultra (Exynos) and I had no problems connecting with AAidrive (I'm using the last sentry build)

I am now able to access Spotify sometimes however it does freeze quite
often. Doesn't let me skip or the play time freezes.
On Mon, 21 Nov 2022, 17:40 Emiliano Armellin, @.***>
wrote:

Just for info: I've also installed One Ui 5 (Android 13) on my S22 Ultra
(Exynos) and I had no problems connecting with AAidrive (I'm using the last
sentry build)
—
Reply to this email directly, view it on GitHub
https://github.com/BimmerGestalt/AAIdrive/issues/631#issuecomment-1322426881,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4EDZZCSNWFG3RV6N77MMNTWJOXX5ANCNFSM6AAAAAAR5NF5YM
.
You are receiving this because you authored the thread.Message ID:
@.***>

Check the app's background execution limits, that symptom sounds like AAIdrive (or perhaps MyBMW) is put to sleep because the screen is off and so it can't handle input from the car.


fix: several typos in the documentation

Hello
I fixed some typos in the documentation,
Hope it helps.
Br,
Tudor.

feel free to make this against the upstream


CircleCi Test Enhancements

you could use http://www.yamllint.com/ to see if lint is fine...

I am almost ready with the PR that drops micro-k8s, but I will wait for this one to go in first and then I will merge my changes against that. FYI @ryanjbaxter happy Thanksgiving!

You too!
I hit a snag where I am getting a classnotfoundexcepion when one of the containers is starting for some reason.  I will look at it again next week

sorry for missing so much, I changed countries (even continents) and time has become sparse, but I am still active, just FYI; just slow at times.


Bump OpenSearch Dashboards version to 1.0

Signed-off-by: David Cui<EMAIL_ADDRESS>Description
Bumps OpenSearch Dashboards version to 1.0 in workflows
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

CI failed, please check

also need to change opensearch dependency for reports scheduler to 1.0 from 1.x?


Preview edge not needed

In doc page it is stated:

Install a preview channel of Microsoft Edge

I was able to go through the steps with just using the non-preview Edge browser that comes preinstalled.

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

ID: 99f63e2b-08f3-0123-0290-81ed8e9007a8
Version Independent ID: ddea56f8-1ea4-ac98-1a18-00b107f46a3e
Content: Get started with WebView2 in WPF apps - Microsoft Edge Development
Content Source: microsoft-edge/webview2/get-started/wpf.md
Product: microsoft-edge
Technology: webview
GitHub Login: @MSEdgeTeam
Microsoft Alias: msedgedevrel

Thanks for the report. I'll add this to our documentation backlog and will report back once we have a fix for it.


Partial width registers should work in calling conventions, or alert when detected

Currently if a calling convention using partial width registers in some (all?) positions, this will generate invalid MLIL and above. The core should either accept partial width registers, or alert when a partial width register is used in a calling convention. This was noticed via x64 returning the partial XMM0 as it's floating point return, as opposed to ZMM0.
Additional context
#2612

Thanks for the report -- sorry for the delay in responding, this issue has been set for triage.


Extreme loads and /post bombardment

From @zzottel on October 31, 2014 10:6
I had to disable the red.zottel.net and zottel.red hubs on my server because the load went up to a friggin 480. (It's amazing how usable the VPS stayed in command line terms.)
It started about half an hour after I updated to current git. red.zottel.net bombarded itself with requests to /post. I then disabled red.zottel.net, thinking it might be an issue with the fact that there's a clone there of my zottel channel at zottel.red. It seems to have started when I liked the git's post about the new feature of fetching unknown parent posts. (I liked it at as<EMAIL_ADDRESS>and the git channel is hosted at red.zottel.net, where there's also a clone of zottel.
But then the parlementum hub started to bombard zottel.red with requests to /post, too, so I switched zottel.red off, too.
I'll see what I find in the logs and add that here.
Copied from original issue: friendica/red#669

From @ghost on October 31, 2014 13:13
I can't reproduce and don't know what's going on, but this may help:  A forum does not have to let everyone send their stream for tagging to work.  That was true once upon a time, but hasn't been for a long time.  It wasn't well tested until recently, but it works.

From @zzottel on October 31, 2014 11:38
Still guessing wildly, but I think this might happen at forums where, like at mine, comments are allowed, and so the forum must allow others to send their streams—but to keep the database low, everything is deleted after a day.
But now, if comments come in, everything that was once deleted is fetched anew, only to be deleted again later. Mike already wrote something like that in the commit.

From @zzottel on October 31, 2014 14:4
Ah, yes, that would have been the case at least for the Git channel.
Following the explanations I've now set all my forums not to accept the stream of others. And I've pulled, of course.
Now it seems ok, at least for the last five minutes it's been running now. If it stays that way, I'll reenable the pollers in ten minutes or so. There are currently outq of more then 10.000 on both servers, but I guess that will level out over time with the new code?

From @zzottel on October 31, 2014 14:50
Ok, the pollers are running and everything looks good.
One thing I don't understand, though: By my understanding of include/queue.php, everything from the outq that goes to a certain host should be delivered every 15 minutes if contact can be made to the hub.
In the outq for red.zottel.net, I currently have 8725 entries that go to red.zottel.net, but they were not delivered yet, although created and updated about 7 hours ago. The poller runs every ten minutes since about half an hour ago.
Shouldn't those have been delivered by now?

From @friendica on October 31, 2014 13:37
I thought of a scenario where this could happen - if one allows comments but doesn't allow send_stream. We wouldn't have stored the top level post but would try and deliver the comment (and fail, and try to fetch the parent again, which wouldn't get stored, and then we'd try and store the same comment again and it wouldn't have a parent - repeat ad infinitum ). I added a check to see if the item we're processing is from one of these conversation request packets and avoid sending out a conversation request if we're currently processing one.
There may be other triggers, but this should prevent a runaway request loop no matter what the cause.

From @zzottel on October 31, 2014 23:37
The outqs have gone back to normal meanwhile. Seems everything works as expected, thanks.


Delete old Android TextLayoutManager

Summary:
No longer used after last diff.
Changelog: [Internal]
Differential Revision: D56801475

Merged as https://github.com/facebook/react-native/commit/8871b95cdac9f740082afa57f97a79f59a875173


Static fixes

Issue
This PR fixes #195
Drive-by fixes:

Constrain component status to BlockedStatus, WaitingStatus, to better convey intent + add missing status clearing
make_dirs=True
fetch-lib

@Abuelodelanada lint+static+unit are now green.
Would you like to include your fixes to scenario in this PR?


dplyr::rename?

The dplyr select() function is nice because you can simultaneously select and rename columns. Do you offer this functionality? Alternatively, implementing the function dplyr::rename() would be sufficient.

We don't have this functionality currently but it shouldn't be too hard to
add. The main weird thing is that you would not be able to mix columns
you're renaming with columns you aren't, due to how Python function
definitions work.
On Tue, Mar 5, 2019 at 3:32 PM durrantmm<EMAIL_ADDRESS>wrote:

The dplyr select() function is nice because you can simultaneously select
and rename columns. Do you offer this functionality? Alternatively,
implementing the function dplyr::rename() would be sufficient.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dodger487/dplython/issues/98, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAK-UuCToT3EqDhRUmlizoB5qfPHp9A1ks5vTv5xgaJpZM4bfuMh
.

the "rename" function does currently exist within dplython
On Fri, Mar 8, 2019 at 4:01 PM Christopher Riederer <
<EMAIL_ADDRESS>wrote:

We don't have this functionality currently but it shouldn't be too hard to
add. The main weird thing is that you would not be able to mix columns
you're renaming with columns you aren't, due to how Python function
definitions work.
On Tue, Mar 5, 2019 at 3:32 PM durrantmm<EMAIL_ADDRESS>wrote:

The dplyr select() function is nice because you can simultaneously select
and rename columns. Do you offer this functionality? Alternatively,
implementing the function dplyr::rename() would be sufficient.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dodger487/dplython/issues/98, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAK-UuCToT3EqDhRUmlizoB5qfPHp9A1ks5vTv5xgaJpZM4bfuMh
.


Link to source

The first and most important link in the README.md to the source is broken.

...urls should be immutable 🙈  Fixed it.
Thanks for the notice.


Support for providing JWT from a file in Kubernetes Auth Method

This feature would be particularly useful when using Kubernetes Token Volume Projection, where the JWT is stored in a file and mounted as a volume in the pod.

For now, this feature is only available for the token-based authentication method.
https://github.com/hqdncw/vault-autopilot/blob/5e9b4463f54353ff4e890e815ff2156f54fa8657/src/vault_autopilot/_pkg/asyva/authenticator.py#L67-L69


Revert "[logging] Capture logs from third-party libraries"

This reverts commit 0fa84da6e846f2cc353ef13284c5e89b3192f5ac due to perf regression.

@bors-libra r+

:pushpin: Commit f3fc5cd has been approved by ankushagarwal

:hourglass: Testing commit f3fc5cd2b1086d79de1be9198fde287925d738f9 with merge 8dad62842b177172d59d47946c4ae5dd5e61bd54...

Confirming perf numbers with revert are back 1k tps

:sunny: Test successful - checks-circle_commit_workflow
Approved by: ankushagarwal
Pushing 8dad62842b177172d59d47946c4ae5dd5e61bd54 to master...


Restore never starts on version 4.50.2 on Ubuntu 22.04

Describe The Bug
When trying to Restore from Backup, the restore never starts and we get a spinning wheel forever. Only seems to affect 4.50.2 as rolling back to 4.50.1 or earlier allows the restore to function as expected.  Issue was reported on the Homebridge git: https://github.com/homebridge/homebridge/issues/3305
Logs
No logs are written during the occurrence of this issue.

Config
No response
Homebridge UI Version
4.50.2
Homebridge Version
1.6.0
Node.js Version
18.14.0
Operating System
Ubuntu / Debian (or a variant)
Environment Info

[ ] Using Docker?
[ ] Using Hyper-V?
[X] Using hb-service?

Raspberry Pi Model
None

I also see this behavior on
4.50.2
Ubuntu Jammy Jellyfish (22.04.2 LTS)
1.6.0 homebridge
v18.13.0 nodejs
/var/lib/homebridge
/var/lib/homebridge/config.json
/var/lib/homebridge/node_modules

Bump. Not stale.

+1 Same issue

Spent some time this am on this issue, and was able to recreate the issue.  I created a virtual box image of Ubuntu Jammy Jellyfish (22.04.2 LTS) using the server os, and installed Homebridge per the wiki.
I then connected to the homebridge ui, and selected the restore from backup option, selected a backup image from another machine, and it got stuck.
I then went and downgraded config-ui-x with npm install -g<EMAIL_ADDRESS>from the hb-shell prompt in the  /home/homebridge directory.
Restarted homebridge, and the restore was successful.

Spent more time this morning on this issue, and was able to recreate on a RPI 2 running bullseye
FYI - to reset the environment between tests
sudo apt-get remove -y homebridge; sudo apt-get purge -y homebridge ; sudo apt-get install -y homebridge ; sudo hb-service logs

While we work thru this issue, these are the command line ( shell ) commands to downgrade the bundled version on config-ui-x so you can perform the restore
From a command line on your environment
sudo hb-shell
/opt/homebridge/lib/node_modules/homebridge-config-ui-x/upgrade-install.sh 4.50.1 /opt/homebridge
exit
sudo hb-service restart
sudo hb-service logs

This will install the older version so you can perform the restore

Spent more time investigating this issue, and am getting baffled by the root cause.
If I setup the environment from scratch ie
sudo apt-get remove -y homebridge; sudo apt-get purge -y homebridge ; sudo apt-get install -y homebridge ; sudo hb-service logs

The issue occurs
Then if I go into the environment and re-install the latest homebridge-config-ui-x aka 4.50.2
ie
npm install -g homebridge-config-ui-x@latest

The issue does not occur, which means it is not an issue with the code within this package but something else.  In this setup, Homebridge-config-ui-x is installed by the homebridge-apt-pkg.  I looked at the homebridge-apt-pkg and it is just installing the latest
https://github.com/homebridge/homebridge-apt-pkg/blob/9324c19145ab176deff7637f4817e9624908d6d6/build.sh#L48

I looked into the homebridge-apt-pkg deb package deeper and see that it contains a pre-built directory structure containing homebridge, node, npm and homebridge-config-ui-x including all the dependencies, so my previous comment is not correct.  The file I referenced previously is used as part of the process to create the package, and not during the installation process.
With that said, I grabbed a copy of the current homebridge apt pkg, homebridge_1.0.33_amd64.deb, exploded it, ran npm update against the homebridge-config-ui-x within the package, then created an updated package.
I then installed the updated package and could not recreate the issue.  So this confirms my earlier finding that their is an issue within the dependencies of homebridge-config-ui-x.
So to resolve the issue we need to just re-release homebridge-apt-pkg, and this will update the dependencies and resolve the issue for new installations going forward.
For existing installations, re-installing homebridge-config-ui-x will resolve the issue as this will update the dependencies.
ie
sudo hb-shell
/opt/homebridge/lib/node_modules/homebridge-config-ui-x/upgrade-install.sh 4.50.1 /opt/homebridge
exit
sudo hb-service restart
sudo hb-service logs

Ran into this issue last night, as noted in this other bug that I commented on:
Latest homebridge-config-ui-x v4.50.3-test.1 UI resolved this issue for me.
https://github.com/homebridge/homebridge/issues/3346#issuecomment-1539773507


Failed to list blobs with .NET

list blobs using .NET SDK v12 will cause the following errors:
System.FormatException: String '' was not recognized as a valid DateTime.
at System.DateTimeParse.Parse(ReadOnlySpan1 s, DateTimeFormatInfo dtfi, DateTimeStyles styles, TimeSpan& offset)    at System.DateTimeOffset.Parse(String input, IFormatProvider formatProvider, DateTimeStyles styles)    at System.DateTimeOffset.Parse(String input, IFormatProvider formatProvider)    at Azure.Storage.Blobs.Models.BlobItemProperties.FromXml(XElement element)    at Azure.Storage.Blobs.Models.BlobItem.FromXml(XElement element)    at Azure.Storage.Blobs.Models.BlobsFlatSegment.<>c.<FromXml>b__30_0(XElement e)    at System.Linq.Enumerable.SelectEnumerableIterator2.ToList()
at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)    at Azure.Storage.Blobs.Models.BlobsFlatSegment.FromXml(XElement element)    at Azure.Storage.Blobs.BlobRestClient.Container.ListBlobsFlatSegmentAsync_CreateResponse(ClientDiagnostics clientDiagnostics, Response response)    at Azure.Storage.Blobs.BlobRestClient.Container.ListBlobsFlatSegmentAsync(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri resourceUri, String version, String prefix, String marker, Nullable1 maxresults, IEnumerable1 include, Nullable1 timeout, String requestId, Boolean async, String operationName, CancellationToken cancellationToken)
at Azure.Storage.Blobs.BlobContainerClient.GetBlobsInternal(String marker, BlobTraits traits, BlobStates states, String prefix, Nullable1 pageSizeHint, Boolean async, CancellationToken cancellationToken)    at Azure.Storage.Blobs.Models.GetBlobsAsyncCollection.GetNextPageAsync(String continuationToken, Nullable1 pageSizeHint, Boolean async, CancellationToken cancellationToken)
at Azure.Core.Pipeline.TaskExtensions.EnsureCompleted[T](ValueTask1 task)    at Azure.Storage.StorageCollectionEnumerator1.StoragePageable.GetEnumerator()+MoveNext()
at Microsoft.FSharp.Collections.SeqModule.Iterate[T](FSharpFunc2 action, IEnumerable1 source) in F:\workspace_work\1\s\src\fsharp\FSharp.Core\seq.fs:line 496
at <StartupCode$FSI_0002>.$FSI_0002.main@()
The code is as follows:
#r "nuget: Azure.Storage.Blobs"
open Azure.Storage.Blobs
open Azure.Storage.Blobs.Models
open System.Collections.Generic
let constr = "<Connection String>"
let blobServiceClient = new BlobServiceClient(constr)
let containerName = "samplecontainer"
let containerClient = blobServiceClient.GetBlobContainerClient(containerName)
containerClient.GetBlobs()
|> Seq.iter (fun x -> printfn "%A" x.Name)
Is there any workaround?

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

ID: 07a44a28-a19c-f68e-167c-5e8ad91605e0
Version Independent ID: 33eacdff-4f0a-c543-d8f9-e7b208bab015
Content: Store block blobs on devices - Azure IoT Edge
Content Source: articles/iot-edge/how-to-store-data-blob.md
Service: iot-edge
GitHub Login: @kgremban
Microsoft Alias: kgremban

@levi106 Thank you for your query, our team will further look into it and get back to you at the earliest.

@levi106 Thanks for the feedback. Since I'm unable to repro your issue, I would kindly request you, please report this issue on the azure-sdk-for-net repo (which is better suited for SDK related issues) and the team will be able to help you resolve the issue/provide a workaround.

Thank you for the response. I will report the issue on the SDK repository.

Sure, please share the link here for reference once you post the issue.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Hi @levi106,
I encounter the same issue.
Could you please share the solution if you have?
Thank you!


.omit/.pick support for enums

I have use-cases for pick/omit like https://github.com/colinhacks/zod#pickomit but for enums:

https://github.com/colinhacks/zod#zod-enums
https://github.com/colinhacks/zod#native-enums

Example currently:
export const DatasourceProvidersNormalizedSupportingMigration = z.nativeEnum(
  omit(Reflector.Schema.DatasourceProviderNormalized.enum, ['mongodb'])
)

Imagined example with better API:
export const DatasourceProvidersNormalizedSupportingMigration = Reflector.Schema.DatasourceProviderNormalized.omit('mongodb')

keep alive

keep alive


support with expression

redirect standard stream of expression
if $true {
    echo then;
} else {
    echo else;
} with > ./log.txt

support with expression, in commit f797670a58db4a7a41646a78e717fcc3cccc27ba

add test case in commit f991ebfbb3e8088156ab9082823f6f8489078c37


add margin option

With margin=0:

With margin=1:

And thanks, by the way. Didn't mean to ignore this, my github notifications have gotten the better of me :grimacing:


c++ tensorrt infer with error!

hi, @triple-Mu
i use ultralytics offical export cli command like: yolo task=detect mode=export model=yolov8s.pt format=onnx opset=11, i got onnx and then use trtexec convert to engine, i success compile your c++ demo， when i use this demo to load tensorrt engine, i got error:
ERROR: 3: Cannot find binding of given name: num_dets
ERROR: 3: Cannot find binding of given name: scores....
so, how can i resolve this ? please help me!

Please use export.py and build.py to build your tensorrt engine.
I have optimized the onnx model when export.

hi, @triple-Mu i use ultralytics offical export cli command like: yolo task=detect mode=export model=yolov8s.pt format=onnx opset=11, i got onnx and then use trtexec convert to engine, i success compile your c++ demo， when i use this demo to load tensorrt engine, i got error: ERROR: 3: Cannot find binding of given name: num_dets ERROR: 3: Cannot find binding of given name: scores.... so, how can i resolve this ? please help me!

How about now？

closed, feel free to reopen it if you have further questions. Thanks!


Converts Navigator.js from class to functional component.

Notes for Reviewers
This PR fixes #8798
Signed commits

[x] Yes, I signed my commits.

Hi @Aseem22
Thanks for your PR! I encourage you to share this in the Meshery Development Meeting tomorrow at 8:30 PM IST. Share your screen, and walk us through it. It's cool to take and share feedback. Check the Doc here to include this PR.
You're welcome at the meeting
Check to community calendar for more details of meetings at Layers.

Thanks for this PR, @Aseem22!

Please add a video of your before and after changes to make sure we are not producing any regression issue

Pull request abandoned by author.


No suitable servers found: serverselectiontimeoutms timed out

I can not connect to the server from php 7 gives an error:
No suitable servers found: serverselectiontimeoutms timed out

to debug the following:
[2016-05-11T01:52:46+00:00]     PHONGO: DEBUG   > Connection string: 'mongodb://mongos.jelastic.regruhosting.ru:27017/data?'
[2016-05-11T01:52:46+00:00]     PHONGO: TRACE   > ENTRY: php_phongo_make_mongo_client():1878
[2016-05-11T01:52:46+00:00]     PHONGO: DEBUG   > Creating Manager, phongo-1.1.6[stable] - mongoc-1.3.5(bundled), libbson-1.3.5(bundled), php-7.0.6-1+donate.sury.org~trusty+1
[2016-05-11T01:52:46+00:00]     mongoc: TRACE   > ENTRY: mongoc_topology_description_init():51
[2016-05-11T01:52:46+00:00]     mongoc: TRACE   >  EXIT: mongoc_topology_description_init():68
[2016-05-11T01:52:46+00:00]     mongoc: TRACE   > ENTRY: mongoc_server_description_init():87
[2016-05-11T01:52:46+00:00]     mongoc: TRACE   >  EXIT: mongoc_server_description_init():123
[2016-05-11T01:52:46+00:00]    cluster: TRACE   > ENTRY: mongoc_cluster_init():1597
[2016-05-11T01:52:46+00:00]    cluster: TRACE   >  EXIT: mongoc_cluster_init():1620
[2016-05-11T01:52:46+00:00]     client: DEBUG   > Using custom stream initiator.
[2016-05-11T01:52:46+00:00]     PHONGO: TRACE   >  EXIT: php_phongo_make_mongo_client():1976
[2016-05-11T01:52:46+00:00]     PHONGO: TRACE   > ENTRY: phongo_stream_initiator():1103
[2016-05-11T01:52:46+00:00]     PHONGO: DEBUG   > Applying connectTimeoutMS: 100
[2016-05-11T01:52:46+00:00]     PHONGO: DEBUG   > Connecting to 'mongos.jelastic.regruhosting.ru:27017[mongodb://xxxxxxxxxxxx:27017/data]'
[2016-05-11T01:52:47+00:00]     PHONGO: TRACE   >  EXIT: phongo_stream_initiator():1154
[2016-05-11T01:52:47+00:00]     mongoc: TRACE   > ENTRY: mongoc_server_description_handle_ismaster():383
[2016-05-11T01:52:47+00:00]     mongoc: TRACE   >  EXIT: mongoc_server_description_handle_ismaster():389
[2016-05-11T01:52:47+00:00]     mongoc: TRACE   > TRACE: mongoc_topology_description_handle_ismaster():1400 No transition entry to 4 for 0
[2016-05-11T01:52:47+00:00]     mongoc: TRACE   > ENTRY: mongoc_topology_description_select():493
[2016-05-11T01:52:47+00:00]     mongoc: TRACE   >  EXIT: mongoc_topology_description_select():507

mongodb
mongodb support => enabled
mongodb version => 1.1.6
mongodb stability => stable
libmongoc version => 1.3.5
libbson version => 1.3.5

mongodb/mongodb                       1.0.2              MongoDB driver library

Based on the trace, connection initialization is returning here, which implies that the stream creation failed. This is most likely a timeout issue (i.e. latency to the server is more than 100 milliseconds) or an inaccessible host.
The "No suitable servers found: serverselectiontimeoutms timed out" error message tells me that you may have disabled serverselectiontryonce; otherwise, I would expect to see the PHP stream error in that error message. The relevant code in libmongoc is here -- you should be able to follow how the server selection error is set according to the try_once mode.
Can you share all of the options you're using the construct MongoDB\Client (i.e. MongoDB\Driver\Manager)?

1.2.0alpha2 of the driver has been released, which includes significant changes to our connection handling and persistence. We've entirely dropped PHP's streams API and now rely on libmongoc for all socket communication, which I expect may resolve a number of outstanding connection handling and timeout issues.
@profbiss: Please attempt reproducing your original problem with 1.2.0alpha2 and let us know if the issue persists. If so, I'd also appreciate if you could address the questions from my last comment. Thanks!

@profbiss: Closing this out for inactivity. If you're able to reproduce the problem after upgrading the extension to 1.2.0 and can respond to my previous questions, feel free to follow up here and I'll re-open.


fix(EMS-2667-2778): No PDF - Policy - Different name on policy - validation

Introduction :pencil2:
This PR fixes 2x issues in the "Different name on policy" form where:

The email validation error messages was incorrect.
The "position" field had an invalid varchar.

Resolution :heavy_check_mark:

Update error message content strings.
Update DB dump.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

:exclamation: No coverage uploaded for pull request base (main-application-no-pdf@99fa0a3). Click here to learn what that means.

Additional details and impacted files
@@                    Coverage Diff                     @@
##             main-application-no-pdf    #1853   +/-   ##
==========================================================
  Coverage                           ?   92.46%
==========================================================
  Files                              ?      127
  Lines                              ?     1447
  Branches                           ?      171
==========================================================
  Hits                               ?     1338
  Misses                             ?      109
  Partials                           ?        0

Flag
Coverage Δ

api-test
92.46% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Remove x-powered-by

x-powered-by poses a security risk. We shouldn't tell snooping malware that we might be exploitable. =)

Fixed in https://github.com/ericelliott/isomorphic-express-boilerplate/pull/3


Remove unnecessary spaces

Challenge Name

https://www.freecodecamp.com/challenges/iterate-over-arrays-with-map
Issue Description

There are unnecessary line breaks in "Iterate over Arrays with .map".
This line and this line need to be removed.
To Contributors
Please first read the contributing guidelines before taking care of this issue. And feel free to visit the Contributors Help chat room if you have any questions about helping. We're there to help.
This issue is labeled as first-timers-only so only those who have never contributed to FreeCodeCamp's main repo can take up this issue.
Screenshot

Now:

After:

Can I have this one?

@TheOneAmir unfortunately, it looks like someone else make a PR already #9556. There are two other first-timers-only issues that are fairly written on what needs to be fixed if you're looking to resolve another issue.


Link not recognizing active route in a specific scenario

This is not necessarily the bug in the code (depends on the way you look at it), but at the very least inconsistency between documented (and naturally expected) behavior and the observed result.
Here is the routes definition:
<Route path="/">
  <Route path="entries" component={Index} />
  <Route path="entries/:entryId" component={Entry}>
  ...

And the following link <Link to="/entries">
The question: should the link be active when the current route is /entries/1?
According to documentation:

The <Link> will be active if the current route is either the linked route or any descendant of the linked route.

Of course one may disagree, but natural interpretation is that /entries is a descendant of /entries/1. However, this link is not getting activated since the matching algorithms looks at the tree path:
[0] /
[1] entries/:entryId

and does not see a required route parameter. Making the parameter optional would result in a route conflict.
I can understand the reason for the current implementation, but it results in very non-intuitive behavior and is inconvenient.

This is working as intended. If you wanted what you described, you'd instead do e.g.
<Route path="/">
  <Route path="entries">
    <IndexRoute component={Index} />
    <Route path=":entryId" component={Entry} />
  </Route>
</Route>

I've been considering changing this behavior to work as you describe, as it would let us significantly speed up the calculation of route active status by just doing a substring comparison rather than full route matching, but that would be a pretty major breaking change.
For now, I'd recommend setting up routes as I describe above – it also reduces the redundancy in your route definition, which I see as a win.


Deduplicate floyd_warshall_numpy implementation

Updates graph_floydwarshall_numpy and digraph_floydwarshall_numpy
to share a single inner function that works for both graph types and returns a 2D array.
This deduplicates the code, similarly to #405

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

64 of 64 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.004%) to 96.241%

Totals

Change from base Build<PHONE_NUMBER>:
-0.004%

Covered Lines:
8653

Relevant Lines:
8991

💛  - Coveralls


:flow menu doesn't close if last flow step doesn't end with calendar

Describe the bug
The datepicker menu won't close if flow steps doesn't end with 'calendar'.
To Reproduce
<script setup>
import {ref} from 'vue'
import Datepicker from '@vuepic/vue-datepicker';
import<EMAIL_ADDRESS>
const date = ref(0);
</script>

<template>

  <Datepicker
    v-model="date"
    auto-apply
    :enable-time-picker="false"
    :close-on-auto-apply="true"
    :flow="['calendar', 'month', 'year']"
  />

</template>

After selecting year, the menu should close, but it goes back to calendar. You can pick any date multiple times but the menu won't close.
If you add 'calendar' as fourth (= last) step
:flow="['calendar', 'month', 'year', 'calendar']"
then it will close.
Expected behavior
The menu should close when the last flow step is finished even if it isn't 'calendar' & the value should be applied to the model.
Desktop & mobile (please complete the following information):

Browser [e.g. chrome, safari]
Every browser
Library version [e.g. 3.0.0]
"@vuepic/vue-datepicker": "^8.2.0"

There is no point in opening overlays after selecting the date, as it has no effect, making this point redundant.