Speech To Text Batch Transcription Support for more formats

Currently it looks like the Batch transcribe feature supports only mp3, ogg and wav formats. The issue is we record calls in MS Teams and the format is mp4. Could you please add the functionality to transcribe from mp4? If not, are there any alternatives. We do not want to leave the azure cloud to perform transcoding if possible as the data could be of a sensitive nature.

Hi there,
mp4 is a multimedia format which may or may not contain audio. It won't be directly supported by the SDK anytime soon. The only alternative would be to have some sort of converter running in an azure function or something like that. You could then write the output to some azure blob storage.
There is a way to turn on transcription for the meetings that stores it with the video though:
https://support.microsoft.com/en-us/office/view-edit-and-manage-video-transcripts-and-captions-3cb9acb6-05b2-4f59-a50d-7df61123aa20#bkmk_how-captions-and-transcripts-are-stored
https://learn.microsoft.com/en-us/microsoftteams/meeting-transcription-captions
Does that solve your problem?

Unfortunately the teams transcripts are having accuracy issuez for us so we wanted to pass in the actual audio to check if the batch transcripts faired better. We would not want to pass the data out of the azure cloud due to security reasons. Any good nuget pkgs?

Yes, there are several NuGet packages that can extract audio from an MP4 file. Here are a few options:

**FFMediaToolkit 4.5.1**¹: This is a cross-platform audio/video processing library based on FFmpeg native libraries. It supports audio/video frames extraction, reading file metadata, and encoding media files from bitmap images and audio data¹.

FFMpegCore 5.1.0²: This is a .NET Standard FFMpeg/FFProbe wrapper for easily integrating media analysis and conversion into your .NET applications. It supports both synchronous and asynchronous calls API². You can use the FFMpeg.ExtractAudio method to extract the audio track from a video file².

Please note that you should check the compatibility of these packages with your project's .NET version before using them.


[ENHANCEMENT] Fixed class name return instead of hardcoded code

This is my first PR for django project. :)
It's an improvement to get the class name instead of hardcoded name.

Thank you for your contribution but this is unfortunately not something that be changed this way.


Add publishing support

This does:

Adds scripts/publish, copied from dcicutils. This is a pretty standard portable script.
Adds a publish-for-ga target in Makefile. (For consistency, I renamed automated-test target to test-for-ga and updated the associated github workflow.)
Adds a workflow to autopublish.

This needs secrets (PYPI_USER and PYPI_PASSWORD) added to make it work). We're now using separated credentials and I don't think I have the user/password information that needs to be added. @willronchetti, maybe you do? This should be done by generating an API token if we have not done it. It's not necessary to use full credentials for this, and anyway that would block on 2FA.

We should create a GA account intended for use with PyPi. It's probably a bad idea to continue using the main hms_pypi account here.


Unknown type 'None' for validator with schema

jsonschema.exceptions.UnknownType:
Unknown type 'None' for validator with schema:

@jtimeus-slalom - Thanks for logging this.
Should be fixed now via: https://gitlab.com/meltano/singer-sdk/-/commit/75946e669cbb9f4d98d7a8ab4d6f3295668be14d
Running poetry add singer-sdk==0.0.2-dev.1064538345 within the repo should resolve.

Sorry, please hold. Looks like the upload to pypi failed at the last moment.

confirm fixed!

Awesome - thanks! 🔥


Improved Scrolling for Speaker Details

Fixed #129. Implemented Collapsing Toolbar with CordinatorLayout.

@creativepsyco , I am closing this PR and have made a new one as some wrong files were pushed. Please refer to #132

@chhavip you can always rebase an existing branch to change whatever you want in the same PR. No need to create a new one.

@mananwason , will keep that in mind from the next time.


feat(sdk): add multi_cred presentation flag to trust evaluation response

Codecov Report
Attention: Patch coverage is 85.71429% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 89.10%. Comparing base (f7795ce) to head (3a5ec78).

Files
Patch %
Lines

...allet-sdk-gomobile/trustregistry/trust_registry.go
85.71%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #756      +/-   ##
==========================================
+ Coverage   89.07%   89.10%   +0.02%
==========================================
  Files         104      104
  Lines        4530     4533       +3
==========================================
+ Hits         4035     4039       +4
+ Misses        321      320       -1
  Partials      174      174

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


Fix sed command for Makefile, resolve git push errors

Fixed sed command for main Makefile which was referencing an old variable
Fixed sed command for PR body
Fixed the push errors by configuring git

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm


Can't preview technology

Whenever i try to preview my technology file it says Can't find technology folder bm_doctrine_1_folder in interface/countrytechtreeview.gui,interface/countrydoctrinetreeview.gui, it worked fine in-game and before, and i have added all the code to countrydoctrinetreeview.gui. I don't understand what the problem can be.

Hi @JustKaarlo, can you please share the code of countrydoctrinetreeview.gui and bm_doctrine_1.txt? Then I'll try to repro this bug on my machine.

countrydoctrineview.txt
bm_doctrine_1.txt
bm_doctrine_2.txt
bm_doctrine_3.txt
BM_technology.txt
There you go!

countrydoctrineview.txt bm_doctrine_1.txt bm_doctrine_2.txt bm_doctrine_3.txt BM_technology.txt There you go!

Hi @JustKaarlo Maybe you accidentally wrote the file name countrydoctrineview.txt instead of countrydoctrinetreeview.gui. The vanilla Hearts of Iron 4 does not have a gui file called the countrydoctrineview.txt, so this file won't be looked up when rendering the tech tree preview.

Hi @JustKaarlo Maybe you accidentally wrote the file name countrydoctrineview.txt instead...

Nope, its named the right why

I guess its not your extension that causing the problem maybe its something with my vscode. If it is how do i find the problem?

Looks like its working again have no clue how it started working it just started working from no where.

It seems to be working again, though I have no idea how. At least it's functioning now, but I’m not sure what I did to fix it.


feat(pie-monorepo): DSW-1577 Evaluate components props and provide additional React props

Describe your changes (can list changeset entries if preferable)
pie-wrapper-react
[Changed] - Updates the React wrapper script to use the workaround suggested by the Lit team for the bug that sets all props as optional in React
[Changed] - Added workaround for missing callback props in React and TS
[Changed] - Updated the React Wrapper to read and include the React base type declaration
[Changed] - updated unit tests snapshots to reflect the changes
pie-cookie-banner, pie-notification, pie-icon-button, pie-form-label, pie-divider, pie-spinner, pie-button, pie-switch, pie-input, pie-modal, pie-card, pie-link, pie-tag
[Added] - React base TypeScript types
[Changed] - set optional props as optional
generator-pie-component:
[Added] - template file for React base type
Author Checklist (complete before requesting a review)

[ ] I have performed a self-review of my code
[ ] If it is a core feature, I have added thorough tests
[ ] If it is a PIE Docs change, I have reviewed the Docs site preview
[ ] If it is a component change, I have reviewed the Storybook preview
[ ] If there are visual test updates, I have reviewed them properly before approving

Reviewer checklists (complete before approving)
Reviewer 1

[ ] If it is a PIE Docs change, I have reviewed the PR preview
[ ] If there are visual test updates, I have reviewed them

Reviewer 2

[ ] If it is a PIE Docs change, I have reviewed the PR preview
[ ] If there are visual test updates, I have reviewed them

/snapit

/snapit

/snapit

I updated pie-wrapper-react to add the types for the events callbacks as the workaround for "props marked as optional" got rid of them.
Now it shouldn't be an issue for React+TS consumers.

If you want to check how the wrapped React components work on pie-aperture check out the branch dsw-1577-test-snapshot-release.


Fix lock file

I accidentally updated a dependency in the lock file but not the main
Cargo.toml .
Test Plan
compiles

Its super weird that CI passed for that PR.

It looks like it built the version on tag v0.3.2 despite the lock file having v0.3.3 and --locked being specified: https://github.com/gnosis/gp-v2-services/runs/3659633806#step:6:98


Fixed a compatibility problem with Sentry/Raven

The logging/monitoring tool Senty and it's django/celery client Raven do a bunch of frame inspection to provide nice stack trace info to developers.  Unfortunately, the tooling that Celery has in place to allow exception info to be pickled strips out too much of the Frame information which results in raven exploding on exception.
I've updated the serializable version of the Frame class to pull in all of the information that raven is looking for while keeping the resulting object pickleable.
If your curious to see what raven is doing to inspect the frame objects, you can check it out here.

I am just doing:
    sentry_client.create_from_exception(exc_info=(kwargs['einfo'].type,
                                                  kwargs['einfo'].exception,
                                                  kwargs['traceback']),
                                        site='celery.example.com')

in my task_failure handler. Though if your error handling code is external to your celery application having tracebacks working is still quite useful.

Ah, I am wiring everything together using Django's logging configuration tools and the raven/sentry logging handler.
I am not super familiar with the full process that Celery does for log/exception handling but at the point where the logging handler receives the exception from the celery worker, the exception has already been turned into the pickleable form.

Ahh, I see. Didn't think about using the Logging handler. Nice to know it
will be working after this fix too :)
On Wed, Dec 28, 2011 at 6:08 PM, Sean O'Connor <
<EMAIL_ADDRESS>
wrote:

Ah, I am wiring everything together using Django's logging configuration
tools and the raven/sentry logging handler.
I am not super familiar with the full process that Celery does for
log/exception handling but at the point where the logging handler receives
the exception from the celery worker, the exception has already been turned
into the pickleable form.

Reply to this email directly or view it on GitHub:
https://github.com/ask/celery/pull/578#issuecomment-3292157

This has actually been merged into master, no idea why Github didn't detect that.
Thanks! :)


Pex groups not inheriting their parent's per world permissions

I am an admin/developer on a server and we have a per world setup for permissions In the config, the Member rank has the permissions for a plot world called plots but the ranks up the inheritance ladder are not receiving those permissions. What can I do to solve this issue?
permissions.yml
Example, the Member rank has the permission plots.claim in world "plots", however, the Admin rank doesn't receive the permission. However, when added directly to the Admin rank, it works fine (Per world setting as well)
permissions.yml file if needed
https://pastebin.com/G69mLSxf

If you have access to the server console, you may see that there's actually an error in the permissions.yml file.  The "HBT" group has a line which reads rank: '7' and it's not under an options; section.  As far as I'm aware, that would invalidate the file, even though the file parses cleanly when it's run through any YAML checker, so the server console should note that error.  At the very least, anything above that (ranks 7 though 1) wouldn't work fully/correctly, and it's more likely nothing would work correctly for any group while that error existed.
Another potential cause of things not working correctly would only matter if the server is running Minecraft 1.9 or higher.  If that's true, every group on the server needs an inheritance: section, even if they're not inheriting from another group.  You can take a look at line 19 of this example to see how your "default" group should be given an inheritance.
Once those 2 issues are addressed, test the server again to see if the inheritance issue you encountered has been corrected.  Let me know if you need additional help.

On an unrelated note, you may want to consider removing all the duplicate "global" permissions from your groups.  For example, "SrAdmin" inherits from "Admin", so "SrAdmin" doesn't need essentials.fly listed in its own permissions: section.  If we wanted to give it to "SrAdmin" on only on one world, we'd list it under that world and negate it in the permissions: section, since it's inherited from "Admin" as a "global" (all worlds) permission.

Problem solved?

No reply from @Firestar311 in more than 7 days.  I guess this issue is resolved.


[WIP] tests: Optimize test-backend performance.

Related #11055
This optimizes test-backend by skipping webhook tests when run in default mode.

@akornor just wanted to check in on this; I assume you're busy but it'd be nice to get this progressing again.

@timabbott I'm working on it. Should have a commit ready soon.

@timabbot excluding webhook tests breaks code coverage

@timabbott Resolved issue with URL coverage. But excluding webhook tests breaks code coverage. I noticed exclduing zerver/webhooks/*/*.py from target_fully_covered reduces code paths with missing code coverage.

@akornor I think for v1, we can just make --coverage without specific paths change the default to include the webhook tests just so we can get something merged. And then in a follow-up  PR, we can work on adjusting target_fully_covered for the webhook case.  Sound good?

@timabbott ready for review.

Merged as 4dc7f5354ddfbde3b732b31d46ec2981b47c427c after making the necessary updates to documentation and CI scripts to have this not impact this, thanks!  The savings are about 25% of test-backend default runtime on my laptop.


feat(): add if-validator

Hi, ifValidator or ifAsyncValidator are simple utility functions for help to simplify change dynamically validation of Angular Reactive Form.

A couple of nits.
Can you add some tests (either unit tests or e2e tests using the test-app)?

Hello, @nartc I've already fixed comments and added e2e testing, but as I'm not experienced with it (e2e), could you help me check it?

@all-contributors please add @develite98 for code

merge #45


Support profiling backend memory usage in JDBC tests

Description
This patch contains an enhancement to JDBC test harness. It adds support for -- backend_memory_profile command. When this command is read in batch_run, it fetches backend pid for current open JDBC connection and spawns a new thread with BackendMemoryProfiler worker. This thread reads VmRSS value from /proc/<backend_pid>/status every 100 milliseconds and writes these values to output file. The thread exits when the backend process exits.
For example, if we add -- backend_memory_profile on top of babel_function.sql (or some other .sql or .txt test) and run mvn test, then additional file babel_function_mprof.txt will be written to output directory next to babel_function.out file. This new file contains the following (where first column is elapsed millis and second column is RSS):
# This file contains recorded RSS values, to create a plot run the following from JDBC directory:
# gnuplot -p -e "set grid; set xlabel 'Elapsed time (millis)'; set ylabel 'Backend RSS for pid: 70794 (KB)'; plot './output/babel_function_mprof.txt' with linespoints"
2 43648
102 46976
202 48512
302 51712
402 51712
502 52352
602 60800
702 68200
802 71272
902 74832
1002 75216
1102 75216
1202 75728
1302 76240
1402 76624
1502 76868
1603 77764
1703 78660
1804 79132
1904 79900
2005 80540
2105 80668
2205 84380
2305 84380
2405 85148
2505 86172
2605 87068

Running the gnuplot command from the top of the file (expected to be only run manually) will display a chart like this:

This profiling can only work when tests are run on the same machine where server is running. It is intended to be used only in local dev environment, when -- backend_memory_profile can be temporary added on top of any test.
I've only tested this on Fedora, but it is expected to work on any recent Linux.
Issues Resolved
No related issue.
Test Scenarios Covered
This is test harness enhancement.
Check List

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

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.
Signed-off-by: Alex Kasko<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
41134

Relevant Lines:
56685

💛  - Coveralls


bump version in setup.py

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
513

Relevant Lines:
566

💛  - Coveralls


Lazy dataset/loader + LANL dataset

Proposed changes
This PR introduces LazyDataset, a dataset that lazily loads graphs from disk into memory per-request, using indexing.
It is especially useful for large datasets that don't fit into memory, and which can be divided into multiple files.
LazyLoader is a loader abstraction to iterate over a LazyDataset.
import os
import pickle

import mlx.core as mx
from mlx_graphs.data.data import GraphData
from mlx_graphs.datasets.lazy_dataset import LazyDataset
from mlx_graphs.loaders import LazyDataLoader

graphs = [GraphData(
    edge_index=mx.random.randint(0, 10, (2, 100)),
    edge_labels=mx.ones((100, )) * i,
) for i in range(100)]

class Dataset1(LazyDataset):
    def __init__(self):
        super().__init__("test_dataset", raw_file_extension="pkl")

    #  Downloads external files
    def download(self):
        pass

    #  In practice, here occurs the preprocessing of the downloaded files
    #  and the storage on disk
    def process(self):
        for i, data in enumerate(graphs):
            path = self.graph_path_at_index(i)
            os.makedirs(os.path.dirname(path), exist_ok=True)
            with open(path, "wb") as f:
                pickle.dump(data, f)

    #  Given a file, we define here how to load it into memory
    def load_lazily(self, graph_path):
        with open(graph_path, "rb") as f:
            obj = pickle.load(f)
            return obj

    #  We define here how to merge multiple graph together
    def __concat__(self, items: list[GraphData]) -> GraphData:
        return GraphData(
            edge_index=mx.concatenate([g.edge_index for g in items], axis=1),
            edge_labels=mx.concatenate([g.edge_labels for g in items], axis=0),
        )

class Loader1(LazyDataLoader):

    #  Manages the indexing. ``self.current_batch`` is incremented
    #  automatically.
    def process_graph(self) -> GraphData:
        start = self.current_batch * self._batch_size
        end = min(
            (self.current_batch + 1) * self._batch_size,
            len(self._all_sorted_snapshots)
        )
        return self.dataset[start: end]

dataset = Dataset1()
>>> test_dataset(num_graphs=100)

#  1 iteration = 1 graph
loader = Loader1(dataset, ranges=(0, 10), batch_size=1)
next(loader)
>>> GraphData(
    edge_index(shape=(2, 100), int32)
    edge_labels(shape=(100,), float32))

#  1 iteration = 10 graphs
loader = Loader1(dataset, ranges=(0, 10), batch_size=10)
next(loader)
>>> GraphData(
    edge_index(shape=(2, 1000), int32)
    edge_labels(shape=(1000,), float32))

#  1 iteration = 30 graphs, starting from the 50th graph
loader = Loader1(dataset, ranges=(50, 99), batch_size=30)
g = next(loader)
>>> GraphData(
    edge_index(shape=(2, 3000), int32)
    edge_labels(shape=(3000,), float32))

g.edge_labels
>>> array([50, 50, 50, ..., 79, 79, 79], dtype=float32)

The LANLDataset is a LazyDataset containing millions of edges, divided and compressed into smaller, discrete graphs, where each graph on disk represents 1 minute of data. It becomes then easy to navigate in time by indexing the dataset with time ranges. All preprocessed files for this dataset are stored on a dedicated Google Drive.
from mlx_graphs.datasets import LANLDataset
from mlx_graphs.loaders import LANLDataLoader

dataset = LANLDataset()  # Each of the 83519 graphs contains 1min of data
>>> LANL(num_graphs=83519)

dataset[0]  # Computes and yields a graph for the first minute of data
>>> GraphData(
    edge_index(shape=(2, 224), int64)
    edge_features(shape=(224, 2), float32)
    edge_labels(shape=(224,), int64)
    edge_timestamps(shape=(224,), int64))

dataset[:60 * 24]  # Computes a graph for the first day
>>> GraphData(
    edge_index(shape=(2, 762125), int64)
    edge_features(shape=(762125, 2), float32)
    edge_labels(shape=(762125,), int64)
    edge_timestamps(shape=(762125,), int64))

dataset[[0, 1, 2]]  # Computes a graph for the first 3 minutes
(with array indexing)
>>> dataset[[0, 1, 2]]
    GraphData(
        edge_index(shape=(2, 768), int64)
        edge_features(shape=(768, 2), float32)
        edge_labels(shape=(768,), int64)
        edge_timestamps(shape=(768,), int64))

#  LANLDataLoader can be used to easily iterate over LANL, and is useful to
#  reduce the size of the graphs with graph compression
loader = LANLDataLoader(
    dataset, split="train", remove_self_loops=False, use_compress_graph=True, batch_size=60,
)
next(loader)
>>> GraphData(
    edge_index(shape=(2, 10064), int64)
    node_features(shape=(13184, 13184), float32)
    edge_features(shape=(10064, 6), float32)
    edge_labels(shape=(10064,), int64))

Checklist
Put an x in the boxes that apply.

[x] I have added tests that prove my fix is effective or that my feature works
[x] I have updated the necessary documentation

@TristanBilot you're using nd.array as a type in some function signatures, but the actual type is np.ndarray - can you double check that?

@TristanBilot you're using nd.array as a type in some function signatures, but the actual type is np.ndarray - can you double check that?

Yes indeed, I just updated all instances of np.array.

@TristanBilot do you want to merge and add the notebook in a separate PR?

Hmm no, I need to take some time to review it.


Use for non-vehicles?

Hi, could this be used for other curve-following items, for example, having a camera follow a curve?

Hi @cadop , thanks a lot for your participation!
And I apologize for the late response!
The extension was initially designed to allow movement of physx-enabled four-wheel vehicles in simulation.
Roughly speaking the extension does the following: it adjusts steering angle of vehicle's wheels, and controls torque and braking force via omni.physx.vehicle API on each Omniverse simulation tick that allows the vehicle to follow a predefined path (trajectory). In the future, I was thinking to use some more robust controllers such as MPC, or  PID.
Although an option for other curve-following items (rigid, bodies, cameras) is very useful too.
The use case you mention is similar to the following (Omniverse Camera Movement with Action Graph), isn't it?
Maybe the extension has to be slightly redesigned to allow that. Or maybe another curve-following extension could be created that will be dedicated to moving rigid objects and items like a camera along the path.
Currently, the latter seems preferable as it will allow a more clear separation of concerns. But it does not have to be that way - keeping everything under one extension umbrella could be fine too if done properly.
What do you think?


Disable default Snapshot policy when creating a new deployment.

Hi,
When creating a new Elastic Cloud deployment, a default Snapshot policy (SLM) is created and enabled. In our development environments we don't need to snapshot data. I would like to know if it's possible to disable this default policy when creating a deployment?
Thank you.

Unfortunately, it will not be possible to do through Terraform. Snapshots are configured using Elasticsearch built-in SLM feature. After deployment is created, you can configure it via UI (in Kibana) or directly via Elasticsearch SLM API


Incorrect credit card number validation when copy/paste

Describe the bug
Incorrect credit card number validation when copy/paste
To Reproduce
Steps to reproduce the behavior:

Go to MyStore
Select 'Credit Card' as payment method
Paste the number of the unsupported card in the 'Card number' field, e.g. 4013 2500 0000 0000 006
Click on Pay
Paste the number of valid card in the 'Card number' field, e.g. 5212 3456 7890 1234
The field validation does not refresh, even though the brand itself was correctly recognized

Expected behavior
In the above case, the validation should be refreshed and allow the payment to continue.
Screenshots

Additional context
It seems that calling the showValidation() function causes some kind of state problem, because without calling it everything works fine

Hi @jkubiszewski
It does indeed seem that it's the pressing of the Pay button between the 2 paste actions that causes the problem.
This is a good find, thanks for pointing this out. We'll look into it

This issue has been addressed and the fix will be available in the next release


Change AddressValidationRules API

I want to merge this change because it brings several minor changes to the AddressValidationRules endpoint.
First of all, it changes query's signature to take country code of type CountryCode!, adds city to the parameters, it drops support for country guessing based on GeoIP.
The second thing is returning allowed and required field names in camel case to be consistent with AddressInput field names.

It fixes #4514 and it fixes #4541.

Pull Request Checklist

[ ] Privileged views and APIs are guarded by proper permission checks.
[ ] All visible strings are translated with proper context.
[ ] All data-formatting is locale-aware (dates, numbers, and so on).
[ ] Database queries are optimized and the number of queries is constant.
[ ] Database migration files are up to date.
[ ] The changes are tested.
[ ] GraphQL schema and type definitions are up to date.
[ ] Changes are mentioned in the changelog.

Here is the report for 3184c5360c0ef742c354983de797bca134f6487e (mirumee/saleor @ change-address-validator-api)
Base comparison is de8091e0fcbf7c7f102637edeaea1ab34d58e016.
No differences were found. (click me)

# api.benchmark checkout
  test name                           	left count 	right count	duplicate count
  ------------------------------------	-----------	-----------	---------------
  add billing address to checkout     	         34	         34	             20
  add shipping to checkout            	          7	          7	              0
  checkout payment charge             	         14	         14	              0
  complete checkout                   	          6	          6	              0
  create checkout                     	         48	         48	             24

# api.benchmark homepage
  test name                           	left count 	right count	duplicate count
  ------------------------------------	-----------	-----------	---------------
  retrieve main menu                  	          5	          5	              0
  retrieve product list               	          4	          4	              0
  retrieve secondary menu             	          5	          5	              0
  retrieve shop                       	          2	          2	              0

# api.benchmark product
  test name                           	left count 	right count	duplicate count
  ------------------------------------	-----------	-----------	---------------
  product details                     	         13	         13	              3

# api.benchmark variant
  test name                           	left count 	right count	duplicate count
  ------------------------------------	-----------	-----------	---------------
  retrieve variant list               	         15	         15	              8


Fix ca_los_angeles_sheriff

Additional details
Los Angeles Sheriff's Department moved its landing page and its data page.
Related pull request(s)

#00

request header stack likely needs to get rebuilt for this to function.
Need to update index JSON URL
Need to update human-friendly page URL in site.init -- I think the correct one has a /page suffix now


Articles are imported repeatedly

Logseq and the plugin are both up-to-date, Mac and Windows have the same problem: articles are imported repeatedly

Enter the template to use for new highlights

{{{text}}}{{#labels}} #[[{{{name}}}]] {{/labels}}
{{#note.length}}{{note}} {{/note.length}}

Enter the template to use for new articles
{{{title}}}
collapsed:: true
{{#author}}
producer:: {{{author}}}
{{/author}}
input:: [[Articles]]
date-read:: {{{dateRead}}}
link:: {{{originalUrl}}}
source:: [[Omnivore imports]]
tags::

Hey @asiyoua , we need {{{omnivoreUrl}}} to be in the article template for deduplicate purpose.
Could you please try to remove this page and resync with Omnivore again?
Thank you!


Simplify example

This simplifies the example notebook in the docs, removing the stuff about the volume budget.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #140   +/-   ##
=======================================
  Coverage   88.49%   88.49%
=======================================
  Files           4        4
  Lines         617      617
  Branches      133      133
=======================================
  Hits          546      546
  Misses         40       40
  Partials       31       31

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 d258be2...ea31581. Read the comment docs.


problem with work sevices

I have next problem, can you help please?
Docker version 19.03.8, build afacb8b7f0
docker-compose version 1.27.3, build 4092ae5d

root@mainflux:/var/www/mainflux# make run
docker-compose -f docker/docker-compose.yml up
Creating network "docker_mainflux-base-net" with driver "bridge"
Creating mainflux-things-db  ... done
Creating mainflux-es-redis   ... done
Creating mainflux-auth-redis ... done
Creating mainflux-users-db   ... done
Creating mainflux-authn-db   ... done
Creating mainflux-nats       ... done
Creating mainflux-vernemq    ... done
Creating mainflux-jaeger     ... done
Creating mainflux-authn      ... done
Creating mainflux-things     ... done
Creating mainflux-users      ... done
Creating mainflux-coap       ... done
Creating mainflux-http       ... done
Creating mainflux-mqtt       ... done
Creating mainflux-nginx      ... done
Attaching to mainflux-nats, mainflux-auth-redis, mainflux-authn-db, mainflux-jaeger, mainflux-users-db, mainflux-things-db, mainflux-vernemq, mainflux-es-redis, mainflux-authn, mainflux-things, mainflux-users, mainflux-coap, mainflux-mqtt, mainflux-http, mainflux-nginx
mainflux-auth-redis | 1:C 24 Sep 2020 14:34:22.430 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
mainflux-auth-redis | 1:C 24 Sep 2020 14:34:22.431 # Redis version=5.0.9, bits=64, commit=00000000, modified=0, pid=1, just started
mainflux-auth-redis | 1:C 24 Sep 2020 14:34:22.431 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
mainflux-authn-db | 2020-09-24 14:34:22.808 UTC [1] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432
mainflux-authn-db | 2020-09-24 14:34:22.808 UTC [1] LOG:  listening on IPv6 address "::", port 5432
mainflux-auth-redis | 1:M 24 Sep 2020 14:34:22.431 * Running mode=standalone, port=6379.
mainflux-coap   | {"level":"info","message":"gRPC communication is not encrypted","ts":"2020-09-24T14:34:27.384501797Z"}
mainflux-authn  | {"level":"info","message":"Authentication service started using http, exposed port 8189","ts":"2020-09-24T14:34:24.682364063Z"}
mainflux-authn  | {"level":"info","message":"Authentication gRPC service started using http on port 8181","ts":"2020-09-24T14:34:24.683303586Z"}
mainflux-authn  | {"level":"info","message":"Authentication gRPC service started, exposed port 8181","ts":"2020-09-24T14:34:24.683341217Z"}
mainflux-es-redis | 1:C 24 Sep 2020 14:34:23.941 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
mainflux-es-redis | 1:C 24 Sep 2020 14:34:23.941 # Redis version=5.0.9, bits=64, commit=00000000, modified=0, pid=1, just started
mainflux-es-redis | 1:C 24 Sep 2020 14:34:23.941 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
mainflux-auth-redis | 1:M 24 Sep 2020 14:34:22.431 # Server initialized
mainflux-auth-redis | 1:M 24 Sep 2020 14:34:22.431 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
mainflux-auth-redis | 1:M 24 Sep 2020 14:34:22.432 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
mainflux-authn-db | 2020-09-24 14:34:22.909 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
mainflux-coap   | {"level":"info","message":"CoAP service started, exposed port 5683","ts":"2020-09-24T14:34:27.394068304Z"}
mainflux-es-redis | 1:M 24 Sep 2020 14:34:23.942 * Running mode=standalone, port=6379.
mainflux-es-redis | 1:M 24 Sep 2020 14:34:23.942 # Server initialized
mainflux-authn-db | 2020-09-24 14:34:23.073 UTC [19] LOG:  database system was shut down at 2020-09-24 13:49:19 UTC
mainflux-http   | {"level":"info","message":"gRPC communication is not encrypted","ts":"2020-09-24T14:34:27.716779186Z"}
mainflux-coap   | {"level":"info","message":"CoAP adapter service started, exposed port 5683","ts":"2020-09-24T14:34:27.394507849Z"}
mainflux-authn-db | 2020-09-24 14:34:23.156 UTC [1] LOG:  database system is ready to accept connections
mainflux-auth-redis | 1:M 24 Sep 2020 14:34:22.432 * DB loaded from disk: 0.000 seconds
mainflux-auth-redis | 1:M 24 Sep 2020 14:34:22.432 * Ready to accept connections
mainflux-http   | {"level":"info","message":"HTTP adapter service started on port 8185","ts":"2020-09-24T14:34:27.722237967Z"}
mainflux-jaeger | 2020/09/24 14:34:23 maxprocs: Leaving GOMAXPROCS=4: CPU quota undefined
mainflux-jaeger | {"level":"info","ts":1600958063.0472581,"caller":"flags/service.go:115","msg":"Mounting metrics handler on admin server","route":"/metrics"}
mainflux-jaeger | {"level":"info","ts":1600958063.0474489,"caller":"flags/admin.go:108","msg":"Mounting health check on admin server","route":"/"}
mainflux-jaeger | {"level":"info","ts":1600958063.0475209,"caller":"flags/admin.go:114","msg":"Starting admin HTTP server","http-port":14269}
mainflux-jaeger | {"level":"info","ts":1600958063.0475388,"caller":"flags/admin.go:100","msg":"Admin server started","http-port":14269,"health-status":"unavailable"}
mainflux-mqtt   | {"level":"info","message":"gRPC communication is not encrypted","ts":"2020-09-24T14:34:27.591593439Z"}
mainflux-es-redis | 1:M 24 Sep 2020 14:34:23.942 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
mainflux-es-redis | 1:M 24 Sep 2020 14:34:23.942 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
mainflux-nats   | [1] 2020/09/24 14:34:22.222839 [INF] Starting nats-server version 1.3.0
mainflux-nats   | [1] 2020/09/24 14:34:22.222891 [INF] Git commit [eed4fbc]
mainflux-nats   | [1] 2020/09/24 14:34:22.223094 [INF] Listening for client connections on <IP_ADDRESS>:4222
mainflux-nats   | [1] 2020/09/24 14:34:22.223101 [INF] Server is ready
mainflux-es-redis | 1:M 24 Sep 2020 14:34:23.943 * DB loaded from disk: 0.000 seconds
mainflux-es-redis | 1:M 24 Sep 2020 14:34:23.943 * Ready to accept connections
mainflux-jaeger | {"level":"info","ts":1600958063.0974753,"caller":"memory/factory.go:55","msg":"Memory storage initialized","configuration":{"MaxTraces":0}}
mainflux-jaeger | {"level":"info","ts":1600958063.1027267,"caller":"grpc/builder.go:75","msg":"Agent requested insecure grpc connection to collector(s)"}
mainflux-jaeger | {"level":"info","ts":1600958063.103305,"caller":"grpc/clientconn.go:242","msg":"parsed scheme: \"\"","system":"grpc","grpc_log":true}
mainflux-jaeger | {"level":"info","ts":1600958063.1039019,"caller":"grpc/clientconn.go:248","msg":"scheme \"\" not registered, fallback to default scheme","system":"grpc","grpc_log":true}
mainflux-jaeger | {"level":"info","ts":1600958063.1039348,"caller":"grpc/resolver_conn_wrapper.go:113","msg":"ccResolverWrapper: sending update to cc: {[{<IP_ADDRESS>:14250 0  <nil>}] }","system":"grpc","grpc_log":true}
mainflux-things | {"level":"info","message":"gRPC communication is not encrypted","ts":"2020-09-24T14:34:26.025950452Z"}
mainflux-things-db | 2020-09-24 14:34:23.624 UTC [1] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432
mainflux-things-db | 2020-09-24 14:34:23.624 UTC [1] LOG:  listening on IPv6 address "::", port 5432
mainflux-things-db | 2020-09-24 14:34:23.706 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
mainflux-jaeger | {"level":"info","ts":1600958063.1044018,"caller":"base/balancer.go:76","msg":"base.baseBalancer: got new resolver state: {[{<IP_ADDRESS>:14250 0  <nil>}] }","system":"grpc","grpc_log":true}
mainflux-jaeger | {"level":"info","ts":1600958063.104446,"caller":"base/balancer.go:130","msg":"base.baseBalancer: handle SubConn state change: 0xc000326520, CONNECTING","system":"grpc","grpc_log":true}
mainflux-things-db | 2020-09-24 14:34:23.884 UTC [18] LOG:  database system was shut down at 2020-09-24 13:49:18 UTC
mainflux-things-db | 2020-09-24 14:34:23.967 UTC [1] LOG:  database system is ready to accept connections
mainflux-users  | {"level":"info","message":"gRPC communication is not encrypted","ts":"2020-09-24T14:34:26.089503359Z"}
mainflux-things | {"level":"info","message":"Things service started using http on port 8182","ts":"2020-09-24T14:34:26.029136476Z"}
mainflux-jaeger | {"level":"info","ts":1600958063.1049109,"caller":"all-in-one/main.go:198","msg":"Starting agent"}
mainflux-things | {"level":"info","message":"Things service started using http on port 8182","ts":"2020-09-24T14:34:26.029158198Z"}
mainflux-users  | {"level":"info","message":"Users service started using http, exposed port 8180","ts":"2020-09-24T14:34:26.095480335Z"}
mainflux-jaeger | {"level":"info","ts":1600958063.1050432,"caller":"app/agent.go:68","msg":"Starting jaeger-agent HTTP server","http-port":5778}
mainflux-vernemq | config is OK
mainflux-vernemq | -config /vernemq/data/generated.configs/app.2<IP_ADDRESS>.34.25.config -args_file /vernemq/bin/../etc/vm.args -vm_args /vernemq/bin/../etc/vm.args
mainflux-things | {"level":"info","message":"Things gRPC service started using http on port 8183","ts":"2020-09-24T14:34:26.029455655Z"}
mainflux-users-db | 2020-09-24 14:34:23.404 UTC [1] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432
mainflux-users-db | 2020-09-24 14:34:23.404 UTC [1] LOG:  listening on IPv6 address "::", port 5432
mainflux-users-db | 2020-09-24 14:34:23.539 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
mainflux-jaeger | {"level":"info","ts":1600958063.1055026,"caller":"grpc/clientconn.go:1139","msg":"grpc: addrConn.createTransport failed to connect to {<IP_ADDRESS>:14250 0  <nil>}. Err :connection error: desc = \"transport: Error while dialing dial tcp <IP_ADDRESS>:14250: connect: connection refused\". Reconnecting...","system":"grpc","grpc_log":true}
mainflux-jaeger | {"level":"info","ts":1600958063.1056511,"caller":"base/balancer.go:130","msg":"base.baseBalancer: handle SubConn state change: 0xc000326520, TRANSIENT_FAILURE","system":"grpc","grpc_log":true}
mainflux-vernemq | Exec:  /vernemq/bin/../erts-<IP_ADDRESS>/bin/erlexec -boot /vernemq/bin/../releases/1.10.2/vernemq               -config /vernemq/data/generated.configs/app.2<IP_ADDRESS>.34.25.config -args_file /vernemq/bin/../etc/vm.args -vm_args /vernemq/bin/../etc/vm.args              -pa /vernemq/bin/../lib/erlio-patches -- console -noshell -noinput
mainflux-vernemq | Root: /vernemq/bin/..
mainflux-users-db | 2020-09-24 14:34:23.775 UTC [18] LOG:  database system was shut down at 2020-09-24 13:49:18 UTC
mainflux-users-db | 2020-09-24 14:34:23.849 UTC [1] LOG:  database system is ready to accept connections
mainflux-jaeger | {"level":"info","ts":1600958063.1102455,"caller":"all-in-one/main.go:241","msg":"Starting jaeger-collector TChannel server","port":14267}
mainflux-jaeger | {"level":"info","ts":1600958063.1103237,"caller":"grpcserver/grpc_server.go:64","msg":"Starting jaeger-collector gRPC server","grpc-port":"14250"}
mainflux-jaeger | {"level":"info","ts":1600958063.1104183,"caller":"all-in-one/main.go:259","msg":"Starting jaeger-collector HTTP server","http-port":14268}
mainflux-jaeger | {"level":"info","ts":1600958063.1104465,"caller":"querysvc/query_service.go:130","msg":"Archive storage not created","reason":"archive storage not supported"}
mainflux-jaeger | {"level":"info","ts":1600958063.1106784,"caller":"all-in-one/main.go:341","msg":"Archive storage not initialized"}
mainflux-jaeger | {"level":"info","ts":1600958063.1113443,"caller":"healthcheck/handler.go:129","msg":"Health Check state change","status":"ready"}
mainflux-jaeger | {"level":"info","ts":1600958063.111372,"caller":"app/server.go:134","msg":"Starting CMUX server","port":16686}
mainflux-jaeger | {"level":"info","ts":1600958063.1113937,"caller":"app/server.go:124","msg":"Starting GRPC server","port":16686}
mainflux-jaeger | {"level":"info","ts":1600958063.1114178,"caller":"app/server.go:111","msg":"Starting HTTP server","port":16686}
mainflux-mqtt   | {"level":"error","message":"Failed to create MQTT publisher: failed to connect to MQTT broker","ts":"2020-09-24T14:34:57.595634915Z"}

It's hrd to know from your logs but it might be that the MQTT broker port (1883) is not free.

If you are reffering on this
mainflux-mqtt   | {"level":"error","message":"Failed to create MQTT publisher: failed to connect to MQTT broker","ts":"2020-09-24T14:34:57.595634915Z"}

That can happen when mainflux-mqtt tries to connect before vernemq is actually ready but it will retry

Closing this one due to inactivity


Release 2.6.2: Some Fixes

Description
Fixing some small items.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Allow for clock drift in checkers

We get our JWTs from a third party service which has on occasion had it's clock set differently to our server.
The Expiration, IssuedAt and NotBefore Checkers are quite strict at what is allowed. This PR adds a optional tolerance value to account for any clock drift.
The default value is 0 to preserve existing behaviour and I've added test coverage to account for original and new cases.

Changes Unknown when pulling 57f2938b124d5407b33b4e5e54ba90a9ee50b1c2 on symm:add-clock-drift-tolerance into ** on Spomky-Labs:master**.

Changes Unknown when pulling af507ad621cdb00a7c0bc4b9965c25a7050f0c0b on symm:add-clock-drift-tolerance into ** on Spomky-Labs:master**.

Changes Unknown when pulling af507ad621cdb00a7c0bc4b9965c25a7050f0c0b on symm:add-clock-drift-tolerance into ** on Spomky-Labs:master**.

Cheers @moderndeveloperllc, i've pushed some changes

Changes Unknown when pulling 802a7ca7a6839fb973e0b4085841741652a9f1cd on symm:add-clock-drift-tolerance into ** on Spomky-Labs:master**.

Changes Unknown when pulling 802a7ca7a6839fb973e0b4085841741652a9f1cd on symm:add-clock-drift-tolerance into ** on Spomky-Labs:master**.

Excellent! Many thanks.


some work on benchmarking

A little bit of work on top of #12511 to demonstrate how we have have runtime benchmarks that live forever.
Just to demonstrate some points.

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2197503

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-each-crate
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2197518

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2197504


Scrolling in mobile feels stuck

This is why it's happening: https://stackoverflow.com/a/2863570

Every time it gets stuck we're getting: [Violation] 'touchmove' handler took 234ms

The problem is setState it's just too slow in the scroll event. There are a lot of questions about it and all seems to points to use refs instead of setState: https://stackoverflow.com/questions/29725828/update-style-of-a-component-onscroll-in-react-js

So after a LOT of research it turns out the main reason was not disabling point-event css on the body element while running the scrolling logic.
After doing that I realized we can use react-virtualized's WindowScroller instead.


create_pull_request command not found after new-pull-request --continue

~/P/d/s/html jl-display-schedule> git new-pull-request

[jl-display-schedule] git fetch --prune

cd /Users/jiexi/Projects/devacurl-education-html

[jl-display-schedule] git checkout develop
Switched to branch 'develop'
Your branch is up-to-date with 'origin/develop'.

[develop] git rebase origin/develop
Current branch develop is up to date.

[develop] git checkout jl-display-schedule
Switched to branch 'jl-display-schedule'
Your branch is up-to-date with 'origin/jl-display-schedule'.

[jl-display-schedule] git merge --no-edit origin/jl-display-schedule
Already up-to-date.

[jl-display-schedule] git merge --no-edit develop
Auto-merging src/html/online-course-level-2.jade
CONFLICT (content): Merge conflict in src/html/online-course-level-2.jade
Auto-merging src/html/online-course-level-1.jade
CONFLICT (content): Merge conflict in src/html/online-course-level-1.jade
Auto-merging src/html/online-course-level-1-cutting.jade
CONFLICT (content): Merge conflict in src/html/online-course-level-1-cutting.jade
Auto-merging src/html/online-course-curl-business.jade
Auto-merging src/html/online-course-camera-ready.jade
Auto-merging src/html/online-course-art-of-texture.jade
CONFLICT (content): Merge conflict in src/html/online-course-art-of-texture.jade
Automatic merge failed; fix conflicts and then commit the result.

To abort, run "git new-pull-request --abort".
To continue after you have resolved the conflicts, run "git new-pull-request --continue".

~/P/d/s/html *jl-display-schedule> git st
On branch jl-display-schedule
Your branch is up-to-date with 'origin/jl-display-schedule'.
You have unmerged paths.
  (fix conflicts and run "git commit")

Changes to be committed:

	modified:   ../css/shared/images.styl
	modified:   academy.jade
	modified:   online-course-camera-ready.jade
	modified:   online-course-curl-business.jade

Unmerged paths:
  (use "git add <file>..." to mark resolution)

	both modified:   online-course-art-of-texture.jade
	both modified:   online-course-level-1-cutting.jade
	both modified:   online-course-level-1.jade
	both modified:   online-course-level-2.jade

~/P/d/s/html *jl-display-schedule> git add -A
~/P/d/s/html #jl-display-schedule> git new-pull-request --continue

[jl-display-schedule] git commit --no-edit
[jl-display-schedule 111846c] Merge branch 'develop' into jl-display-schedule

[jl-display-schedule] git push
Counting objects: 12, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (12/12), done.
Writing objects: 100% (12/12), 1.07 KiB | 0 bytes/s, done.
Total 12 (delta 10), reused 0 (delta 0)
To git@github.com:Originate/devacurl-education-html.git
   56d6625..111846c  jl-display-schedule -> jl-display-schedule
/usr/local/Cellar/git-town/0.9.0/libexec/helpers/script_helpers.sh: line 148: create_pull_request: command not found

To abort, run "git new-pull-request --abort".
To continue after you have resolved the conflicts, run "git new-pull-request --continue".

~/P/d/s/html jl-display-schedule> git br
  develop
* jl-display-schedule
  jl-update-2x-sprite-sheet-css
  jl-update-copy
  master
~/P/d/s/html jl-display-schedule> git st
On branch jl-display-schedule
Your branch is up-to-date with 'origin/jl-display-schedule'.
nothing to commit, working directory clean

Thanks for the report. This is a duplicated of #700. Fix in #712


Improve cluster type (Kubernetes or OpenShift) detection on operator startup

Description
DWO needs to configure its behaviour based on whether it is running in OpenShift or Kubernetes (for example, setting default pod security context, using routes instead of ingresses). This is normally done by checking if OpenShift-specific APIs are being served by the cluster (routes, projects, templates, etc.). However, when a cluster enters a degraded state it can result in API errors that prevent access to any objects on the cluster. This causes the operator to

Fail at leader election, resulting in the controller pod restarting
Fail to check for OpenShift APIs on the cluster

If the cluster then recovers from the degraded state, DWO will be left running under the assumption that it is in a Kubernetes cluster. This can result in workspaces failing to start due to an invalid pod security context (i.e. user ID is 1234 instead of unspecified).
How To Reproduce
Not consistently reproducible, unclear what causes cluster degraded state.
Expected behavior
DWO should improve how it detects cluster type in some way to avoid this issue.
Additional context
This issue manifests due to changes in https://github.com/devfile/devworkspace-operator/pull/953 -- previously, configured pod security contexts were ignored on OpenShift and so the default value did not matter.

After various attempts to reproduce the degraded cluster state that triggers this issue and failing, I've decided to close this issue as unreproducible.
If anyone encounters this again, we can reopen.


Minimum changes needed to refactor against edger8r_params

This is a basic refactor with no logic changes, that moves all code
depending on edger8r_params under gen_enclave_code so we can
refactor out all the deeply nested argument passing. This commit only
moves the code to enable these upcoming changes.

Part of #1839.

bors r+


[BUG] Incorrect file name after resize

Configuration

Extension name: storage-resize-images
Extension version: 0.1.3
Configuration values (redact info where appropriate):

Deployment location: us-central1
Cloud Storage bucket for images: \<projectID\>.appspot.com
Sizes of resized images: 500x500
Deletion of original file: false
Cloud Storage path for resized images: thumbs
Cache-Control header for resized images: Parameter not set

Problem
After uploading an image, it is resized and named _WIDTHxHEIGHT without the original name.
Steps to reproduce:
Upload an image to storage bucket, let's say a.jpg
Expected result
a_500x500.jpg as the resized file name.
Actual result
_500x500.jpg as the resized file name.

Duplicate of https://github.com/firebase/extensions/issues/20


MobilePDFReader 报错

It looks like MobilePDFReader is reassigning its own this.props while rendering. This is not supported and can lead to confusing bugs.
有遇到的吗

same question~

same question~

same question


Add private key arg to forge create command

This PR adds the --private-key arg to the forge create command in the example.
Without the private key arg, the command fails, as expected, since it needs the private key in order to deploy the contract. Here is the error shown when one is not provided:
Error:
   0: error accessing local wallet, did you set a private key, mnemonic or keystore? Run `cast send --help` or `forge create --help` and use the corresponding CLI flag to set your key via --private-key, --mnemonic-path, --interactive, --trezor or --ledger. Alternatively, if you're using a local node with unlocked accounts, set the `ETH_FROM` environment variable to the address of the account you want to use

My editor removed an empty space, I kept it and included it as part of the same commit, but I'm happy to either completely remove it and not change it, or remove it as part of another commit.

Sorry, this was already in #186 which has been merged. Thank you for contributing :)

Oh I missed it @onbjerg 👍🏼


WIP: Make sure SqlSummarizer always returns something

Hello,
I'm not sure what the best solution is to this problem, but the tracing system stops working when we do the following SQL query via Sequel SELECT CAST(SERVERPROPERTY('ProductVersion') AS varchar) (returns the version of MS SQL Server)
The issue is that the 'signature' of the SQL cannot be found, so the identifier of the trace ends up as nil, which the API for good reasons doesn't like. But I'm not sure what is the best solution to this, I have first proposal in here. I will add specs when I know what the expected behavior is.
The error message from the API is as following
    "error_message": "Unable to validate data.",
    "status": 400,
    "structured_error": {
        "traces": "must be object"
    }
}>```

AFAIR I've just used the signature SQL for unmatched queries. If you can change it to that and add a spec I'll be happy to merge this. And thank you once again, Jens!

Okay, I'll update the patch.

:heart: :blue_heart: :purple_heart: :yellow_heart: :green_heart:


push: remove hyper and add a naive http client

PTAL @siddontang @BusyJay

@BusyJay, It seems not easier than using hyper directly.

There is no need to do something like that.  Are you going to write http protocol again and again when you need to use http protocol? Come on, that's why we need library. That's why those great guys create hyper. Please don't trying to hand write http protocol or something similar. Re-use crate instead.

I don't think it's always suitable to re-use crate. It's also important for a library to minimize its dependencies. So if some functionality is very easy to implement, I will prefer implementing it instead of introducing another dependency. The HTTP implementation here looks complicated than we thought, so I agree to reuse hyper or something more lightweight.


IGNITE-7135 IgniteCluster.startNodes() returns successful ClusterStartNodeResult even though the remote process fails.

Fix windows startup scripts.
Add startNodes() Windows support through task scheduling.
Check successful node startup by reading the output log.

The ticket is resolved. Closing PR


When a user logs out, his JWT should become invalid

Expected Behaviour
When a user logs out, his JWT should become invalid.
Actual Behaviour
User's JWT stays valid.

All right, here are my thoughts on improving our authentication system.
Let's start by looking at what happens when a user logs out. I suggest we write their JWT to a blacklist. The token stays there until it expires. When it expires, it's removed from the list.
Every time our auth middleware validates a JWT, we'll check to see if the token is on that blacklist. If it is, we'll make the request fail and return it as unauthenticated.
Now, for this system to work effectively, the blacklist needs to be super fast and performant. For now, a simple memory hash should do the trick. However, we need to look ahead. Once we start scaling horizontally and running multiple services, the blacklist will need a new home. Redis might be an option, but it might also be overkill for this application alone. But let's say we find additional use cases for Redis and we run it anyway, we could definitely use it for our reject list. But let's not limit ourselves. There might be better solutions out there, so let's keep our options open.
Here's a critical point: we need to make sure that no actor can access our system without a valid token. This is crucial, and we may need to make some allowances for performance, for example if the cache fails and needs to be rebuilt. In that case we won't be able to process any requests. Also, it might not be a bad idea to write the blocked JWTs to disk permanently.
And one more thing - to minimise the number of possible keys we're dealing with, it would be wise to keep the token's expiration time short, perhaps an hour or so.
So that's what I'm thinking. A strategic improvement, a robust yet adaptable system. It's going to take some work, but I'm confident we can do it.

No longer relevant as we no longer use JWT.


Claiming namespace rhaen/TinyLeaf

Package information

Package link: https://registry.platformio.org/libraries/rhaen/TinyLeaf/

Description
I am the original author of the package; however accidentally removed the repository and want to reupload a new version with updated code.

Please login with a PIO Account using Github.
$ pio home

User Icon right corner -> Account -> Github
https://docs.platformio.org/en/latest/core/userguide/account/cmd_login.html
The recent source code https://dl.registry.platformio.org/download/rhaen/library/TinyLeaf/0.0.2/TinyLeaf-0.0.2.tar.gz


Ability to set Title. Currently "Disabled"

Select Type Commodity
Ticker "GC"
Currently display "GC" as title. Would like to set to "Gold"
Title is grayed out and "Disabled"

Hey @qnology! Title is disabled as it only adds a text over the image and this is a unwanted behavior (see image attached). What we could do instead,  is to add a new field to add a custom ticker name.

@qnology New version has been released with a new Show as field.
You can download it from here.  I'll be asking ElGato team to update it so it can be downloaded from the store as well.

@matextrem, thank you so much for the quick turnaround. Tested new version and works perfectly!
 Love this app.


Optional headers is not set when transport is ws

Hello Dave,
I set optional headers to connectCaller function, these headers are not sent to freeswitch side when the SIP transport is wss.
But if transport is udp, headers are sent as expected.
I could see the optional headers is ignored inside connectCaller function.
      if (!requiresDtlsHandshake(req.body)) {
        const endpoint = await this.createEndpoint({
          ...opts,
          remoteSdp: opts.remoteSdp || req.body,
          codecs: opts.codecs
        });
        const dialog = await this.srf.createUAS(req, res, {
          localSdp: endpoint.local.sdp,
          headers: opts.headers
        });
        callback(null, {endpoint, dialog}) ;
      }
      else {
        // scenario 2: SRTP is being used and therefore creating an endpoint
        // involves completing a dtls handshake with the originator
        const pair = {};
        const uuid = generateUuid() ;
        const family = opts.family || 'ipv4' ;
        const uri =<EMAIL_ADDRESS>
        /* set state of a pending connection (ie waiting for esl outbound connection) */
        this.pendingConnections.set(uuid, {});

        /* send invite to freeswitch */
        **this.srf.createUAC(uri, {
          headers: {
            'User-Agent': `drachtio-fsmrf:${uuid}`,
            'X-esl-outbound': `${this.advertisedAddress}:${this.advertisedPort}`
          }**,
          localSdp: req.body
        }, {}, (err, dlg) => {

Could you consider fixing this?
Thanks.

Actually it seems that SDP is not required DTLS, optional headers are set when createUAC is called inside createEndpoint function but if required DTLS, optional headers are ignored.

Thanks for merging, i close this issue.


[FLINK-1979] Add logistic loss, hinge loss and regularization penalties

Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list into consideration.
If your changes take all of the items into account, feel free to open your pull request. For more information and/or questions please refer to the How To Contribute guide.
In addition to going through the list, please provide a meaningful description of your changes.

[ ] General

The pull request references the related JIRA issue ("[FLINK-XXX] Jira title text")
The pull request addresses only one issue
Each commit in the PR has a meaningful commit message (including the JIRA id)

[ ] Documentation

Documentation has been added for new functionality
Old documentation affected by the pull request has been updated
JavaDoc for public methods has been added

[ ] Tests & Build

Functionality added by the pull request is covered by tests
mvn clean verify has been executed successfully locally or a Travis build has passed

…zation

Thanks for your contribution @skavulya. The changes look really good :-) I especially like your thorough and clear documentation of the different loss functions. Great work.
I had some minor comments. Once fixed, the PR should be good to be merged :-)

@tillrohrmann @thvasilo I made the changes you recommended. Please let me know if they look ok.

Hi @skavulya, I just quickly reviewed your updated PR and left few comments. They are not critical things but It would be better to fix them. Other things are very good.

Thanks @chiwanpark. I made the changes you recommended. Please let me know if it looks ok.

While working on L-BFGS, I realized that I need to remove the gradient descent step from RegularizationPenalty. I'll update the PR soon.

Okay, please ping me when the PR is updated.

@chiwanpark Decoupling the gradient descent step is complicated for L1 regularization because we are using the proximal gradient method that applies soft thresholding after executing the gradient descent step. I left the regularization penalty as-is. I am thinking of adding an additional method that adds the regularization penalty to gradient without the gradient descent step but I will do it in the L-BFGS PR instead.

@chiwanpark The PR is ready. Let me know if I need to do anything else.

Hi @skavulya, sorry for late response. I've checked the updated PR and looks good to me. I wonder whether the name RegularizationPenalty is proper because the class calculates lots of values. But it is trivial thing.
If there is no objection in few days, I'll merge this. Thanks! 👍

hi @chiwanpark sorry, I hadn't checked this PR for a while. I merged the latest master. Do you have any preference on an alternative name for RegularizationPenalty? Would Regularizer work better?

Could this PR be merged ? Maybe this PR blocks to design GLM(FLINK-2013).

The PR looks good to me. Thanks a lot for your contribution @skavulya. I will merge this PR once the rebased code passes Travis :-)

Thanks @tillrohrmann!


Submenu displays incorrectly when the parent menu.

Version
0.6.15
Environment
MacOS, Chrome, ng-zorro 0.6.15
Reproduction link
https://ng-zorro-antd-setup-wv72op.stackblitz.io/
Steps to reproduce
1.Open the parent menu and the submenu.
2.Close the parent menu.
3.Open the parent menu again, we will find the submenu was closed.
What is expected?
Submenu displays correctly.
What is actually happening?
Submenu displays incorrectly.
Other?

fixed in 0.7.0 already


It takes an additional ~3 seconds for the debugger to attach

My issue here is that this basically increases the edit/compile dev cycle by another 3 useless seconds. I really think that this should be fixable, I mean in Visual Studio it starts up much much faster too..
Just to be 100% clear: This is after the compilation is done and then the rest of the work is only IDE related debugger attachment, that is what this issue is about.
Environment data
dotnet --info output:
[pc@localhost ~]$ dotnet --info
.NET Command Line Tools (1.0.0-preview2-1-003177)
Product Information:
Version:            1.0.0-preview2-1-003177
Commit SHA-1 hash:  a2df9c2576
Runtime Environment:
OS Name:     centos
OS Version:  7
OS Platform: Linux
RID:         centos.7-x64
VS Code version:
C# Extension version: 1.5.2
Maybe it has something to do with these messages:

You may only use the C# Extension for Visual Studio Code with Visual Studio
Code, Visual Studio or Xamarin Studio software to help you develop and test your
applications.
Loaded '/opt/dotnet/shared/Microsoft.NETCore.App/1.1.0/System.Private.CoreLib.ni.dll'. Cannot find or open the symbol file.
Loaded '/home/pc/Apps/dotnet-mytest/bin/Debug/netcoreapp1.0/dotnet-mytest.dll'. Symbols loaded.
Loaded '/opt/dotnet/shared/Microsoft.NETCore.App/1.1.0/System.Runtime.dll'. Cannot find or open the symbol file.
(many more such dlls, cant copy paste this easily)

@Meai1 we have work in flight to switch to pre-native-compiled (ngen'ed) versions of a number of the managed dlls, in the debugger which will have a big impact on startup perf. We will let you know when its done so you can tell us if it feels fast enough or not.

Is this still an issue or did the NGEN'ing fix it?

@Meai1 have you had a chance to try the 1.6.x version of the C# extension? If so, do you feel like it is still too sluggish?

nah it's good now

Great! Thanks!


The current supported currency is too few, new currency is needed

bro,   please tell me what currency you like,  we will consider adding the currency.


Tips delay gets ignored when opening Minecraft through Quickplay

For some reason, when opening Minecraft through the new Quickplay feature, the tips don't have any delay between eachother, and just flash one after another once every 2 or so frames.
Here's a video example (Excuse the watermark...):
https://github.com/UltrusBot/LoadingScreenTips/assets/53577918/69d2391c-d1ff-4a80-8c23-43d1f6ffbd7c

That is extremely cursed, and I have no idea what could even be causing this. I'll test it, I have a feeling it may be something with the config library I use.

oh wait its likely not the config library, I just realized what it might be, I'll test a fix later today


Request to submit xPackageManagement resource

https://github.com/mattmcnabb/xPackageManagement/
This is barebones but I think it's needed. Additional development could add credentials, sources, and providers to the list of properties.
Thanks!

Thank you for your interest in DSC resources development!

There is no need to duplicate common tests in your repo https://github.com/mattmcnabb/xPackageManagement/tree/master/tests

Please, write some information in README.md.

I have removed the common tests and updated the readme file. thanks!

Thank you!
@jianyunt is developing package https://github.com/PowerShell/PackageManagementProviderResource. Is it the same?

Looks similar to me. mattmcnabb, possibly can we merge them?

May not be a need to merge as yours looks much more developed. Not sure how I missed this! I'll take a look and see if there is anything I can contribute.

Thanks! Welcome to contribute it.

Thanks Sergei! I'll close this issue as my work was futile! :(


Add pattern support for Meshery-Traefik-Mesh

Description
Add pattern support for traefik-mesh.
This PR fixes #106
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

Getting this error from running container
INFO[2021-08-28T05:17:26Z] Adaptor Listening at port: 10006              app=traefik-mesh-adaptor
INFO[2021-08-28T05:17:26Z] lstat /.meshery/templates/oam/workloads: no such file or directory  app=traefik-mesh-adaptor
INFO[2021-08-28T05:17:26Z] lstat /.meshery/templates/oam/traits: no such file or directory  app=traefik-mesh-adaptor

Traits and Workloads for traefik

LGTM


map theme

The map theme diverges from the Sequoia plot theme in a couple of small ways - this needs to be cleaned up and then integrated into the prener package.

resolve in commit 3367bc8a5047516ad59f7fb15d85108c1ec18f07


Jekyll SEO - Question

Hello!
This is more of a question rather than an actual issue.
The README, says

Minima comes with jekyll-seo-tag plugin preinstalled to make sure your website gets the most useful meta tags.

while the Jekyll documentation

GitHub Pages is powered by Jekyll. All GitHub Pages sites are generated using the  --safe option to disable plugins (with the exception of some whitelisted plugins) for security reasons. Unfortunately, this means your plugins won't work if you’re deploying via GitHub Pages.

Now, the jekyll-seo-tag plugin is on the whitelist. Does this mean that, even if I am deploying via GitHub Pages, it will still work?
Thank you for your time.

Hello @Ingolfurinn
Yes, your observation is correct. jekyll-seo-tag will work with Minima and GitHub Pages out-of-the-box. You may even "try" unreleased changes to the theme by using the jekyll-remote-theme plugin.
However, the GitHub Pages native build using a very old version of Jekyll, has taken a back seat when they introduced the ability to set up GitHub Actions to handle build and deploy.

Nice, thank you for your exhaustive and fast reply.
I will close the issue now.


Bug: Port reservation failure copies bad command

When setting up and port reservation fails, it mentions that a command is copied to the clipboard. The command that gets copied starts with http add... when it should start with netsh http add...

Hey @mdrichardson,
Loving all the bug/feature reports, thanks for taking the time 😄
This is actually a known bug, and it's fixed in the latest beta (or the new version I'm releasing this weekend).
However, good catch (once again) that it doesn't copy the full command to the clipboard - I'll fix it

No problem! Thanks for the great software!

Fixed in 2022.11.3


Viewer check for model write permission

This fixes #8428 and #8126.

@gfiorav CR this, please.

📦 it!


BeaconHub VID PID ?

Hi
First off thanks for this project, hope I can get it to work on my little project.
Question : I checked my bluetooth usb settings and can see that is runs on the default (0x0A5C, 0x21E8), but when I run it I just get "throw new WinBeaconException("USB device not found, check VID & PID");" ??
I have a LM506 USB dongle from lm-technologies "Chipset : BCM20702".

Check out my instructions about loading the generic driver on #12.

Ahh thanks, I tryed the Zadig but it failed to install the winusb.

I too think that the WinUSB driver is the only thing missing. Where is it failing? Can you add a screenshot of the failure or Zadig tool setup?

Any news on this @Porsborgvej  ?

Hi, yeah after it falied I did a reboot of the pc, and it worked. it was on a windows 7 pc.
I also tryed it on a windows 8/10 worked like a charm. :+1:


[No QA] update JSDoc for API.js functions

cc @aldo-expensify @tgolen
Details

Coming from this comment https://github.com/Expensify/App/pull/9536#discussion_r905457749, this PR adds JSDoc description and function signatures to the API.js functions.
Fixed Issues

N/A
Tests

N/A
PR Review Checklist
N/A
QA Steps

N/A

Cool, thanks for the suggestions! I updated again the JSDoc of the API.js functions

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by @marcochavezf in version: 1.1.79-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @roryabraham in version: 1.1.79-17 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Adafruit macropad examples directory has gone missing

I think the 'exercises' directory might have been accidentally removed: https://github.com/rp-rs/rp-hal/blob/main/boards/adafruit-macropad/examples gives a 404 error.

I don't think it ever existed in the first place.
When we updated all the board support documentation we made the readme's consistent - all the other boards have an examples folder.


Fails to install when using pip currently

Hi,
Attempting to install this via pip however getting the below failure when installing currently.
Details:
Running setup.py egg_info for package python-daemon
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "/tmp/pip-build-root/python-daemon/setup.py", line 26, in <module>
        import version
      File "version.py", line 435
        for item in versions}
          ^
    SyntaxError: invalid syntax
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 16, in <module>

  File "/tmp/pip-build-root/python-daemon/setup.py", line 26, in <module>

    import version

  File "version.py", line 435

    for item in versions}

      ^

SyntaxError: invalid syntax

----------------------------------------
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-root/python-daemon
Storing complete log in /root/.pip/pip.log

Yeah, known issue, I'll get to releasing a version today in a bit.

is there an update on this issue

Any update?

https://github.com/josegonzalez/python-beaver/releases/tag/33.1.0
Sorry about that!

Still errors for me:
Error: Execution of '/usr/bin/pip-python install -q<EMAIL_ADDRESS>returned 1: Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-root/python-daemon
Storing complete log in /root/.pip/pip.log
Here's the big in the log:
Downloading/unpacking python-daemon>=1.5.2 (from Beaver)
Running setup.py egg_info for package python-daemon
Traceback (most recent call last):
File "", line 16, in
File "/tmp/pip-build-root/python-daemon/setup.py", line 26, in
import version
File "version.py", line 438
for item in versions}
^
SyntaxError: invalid syntax
This is OEL6.4.

What python version are you running?

Python 2.6.6 (r266:84292, Dec 20 2012, 15:53:42)


Scraping with clustered RabbitMQ

Hi,
As far as I understand, when running clustered RabbitMQ, by scraping individual node will return mostly same metrics for those that start with rabbitmq_. I guess this is due to stats are shared between nodes.
How would you recommend to scrape this? How will I know which shared which are individual per node?
For example:

rabbitmq_consumers are per node
rabbitmq_exchange_messages_published_out_total are shared

Thanks

Hello,
First, let me quote Management plugin docs:

Note on clustering
The management plugin is aware of clusters. You can enable it on one or more nodes in a cluster, and see information pertaining to the entire cluster no matter which node you connect to.
If you want to deploy cluster nodes which do not have the full management plugin enabled, you will still need to enable the rabbitmq-management-agent plugin on each node.

So all AMQP related stat should be cluster-wide (I just double-checked it btw).
The only node-specific stuff is

Erlang VM stat;
Process exporter stat.

Since Prometheus implicitly adds instance label I don't add node label myself.
In short - 1 AMQP dashboard for entire cluster. 1 Template  dashboard for VM & Process stat.
PS
If you have cool dashboards already, please consider sharing.

Closing, feel free to comment and/or reopen.


Note: npm >= 3 is not supported.

See also #83

@lxe / @Raynos Can we merge this? This is a source of confusion with this package; a note in the README would be helpful


Unable to load native tensorflow

Mac OS X EI Captain.Python Anaconda 3.6, am getting the following error when i run "from keras.models import Sequential"
Using TensorFlow backend.
ImportError Traceback (most recent call last)
/Applications/Anaconda/anaconda/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py in ()
57
---> 58 from tensorflow.python.pywrap_tensorflow_internal import *
59 from tensorflow.python.pywrap_tensorflow_internal import version
/Applications/Anaconda/anaconda/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py in ()
27 return _mod
---> 28 _pywrap_tensorflow_internal = swig_import_helper()
29 del swig_import_helper
/Applications/Anaconda/anaconda/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py in swig_import_helper()
23 try:
---> 24 _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
25 finally:
/Applications/Anaconda/anaconda/lib/python3.6/imp.py in load_module(name, file, filename, details)
241 else:
--> 242 return load_dynamic(name, filename, file)
243 elif type_ == PKG_DIRECTORY:
/Applications/Anaconda/anaconda/lib/python3.6/imp.py in load_dynamic(name, path, file)
341 name=name, loader=loader, origin=path)
--> 342 return _load(spec)
343
ImportError: dlopen(/Applications/Anaconda/anaconda/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so, 6): Symbol not found: _clock_gettime
Referenced from: /Applications/Anaconda/anaconda/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so (which was built for Mac OS X 10.12)
Expected in: /usr/lib/libSystem.B.dylib
in /Applications/Anaconda/anaconda/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so
During handling of the above exception, another exception occurred:
ImportError Traceback (most recent call last)
in ()
----> 1 from keras.models import Sequential
2 from keras.layers import Dense
3 from keras.layers import LSTM
/Applications/Anaconda/anaconda/lib/python3.6/site-packages/keras/init.py in ()
1 from future import absolute_import
2
----> 3 from . import utils
4 from . import activations
5 from . import applications
/Applications/Anaconda/anaconda/lib/python3.6/site-packages/keras/utils/init.py in ()
4 from . import data_utils
5 from . import io_utils
----> 6 from . import conv_utils
7
8 # Globally-importable utils.
/Applications/Anaconda/anaconda/lib/python3.6/site-packages/keras/utils/conv_utils.py in ()
7 from six.moves import range
8 import numpy as np
----> 9 from .. import backend as K
10
11
/Applications/Anaconda/anaconda/lib/python3.6/site-packages/keras/backend/init.py in ()
87 elif _BACKEND == 'tensorflow':
88 sys.stderr.write('Using TensorFlow backend.\n')
---> 89 from .tensorflow_backend import *
90 else:
91 # Try and load external backend.
/Applications/Anaconda/anaconda/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py in ()
3 from future import print_function
4
----> 5 import tensorflow as tf
6 from tensorflow.python.framework import ops as tf_ops
7 from tensorflow.python.training import moving_averages
/Applications/Anaconda/anaconda/lib/python3.6/site-packages/tensorflow/init.py in ()
22
23 # pylint: disable=g-bad-import-order
---> 24 from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
25
26 try:
/Applications/Anaconda/anaconda/lib/python3.6/site-packages/tensorflow/python/init.py in ()
47 import numpy as np
48
---> 49 from tensorflow.python import pywrap_tensorflow
50
51 from tensorflow.python.tools import component_api_helper
/Applications/Anaconda/anaconda/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py in ()
72 for some common reasons and solutions. Include the entire stack trace
73 above this error message when asking for help.""" % traceback.format_exc()
---> 74 raise ImportError(msg)
75
76 # pylint: enable=wildcard-import,g-import-not-at-top,unused-import,line-too-long
ImportError: Traceback (most recent call last):
File "/Applications/Anaconda/anaconda/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "/Applications/Anaconda/anaconda/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "/Applications/Anaconda/anaconda/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "/Applications/Anaconda/anaconda/lib/python3.6/imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "/Applications/Anaconda/anaconda/lib/python3.6/imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: dlopen(/Applications/Anaconda/anaconda/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so, 6): Symbol not found: _clock_gettime
Referenced from: /Applications/Anaconda/anaconda/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so (which was built for Mac OS X 10.12)
Expected in: /usr/lib/libSystem.B.dylib
in /Applications/Anaconda/anaconda/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.work with TensorFlow, or support for problems that are not verified bugs in TensorFlow, please go to StackOverflow.
If you are reporting a vulnerability, please use the dedicated reporting process.
For high-level discussions about TensorFlow, please post to<EMAIL_ADDRESS>for questions about the development or internal workings of TensorFlow, or if you would like to know how to contribute to TensorFlow, please post to<EMAIL_ADDRESS>

I'm having the same issue trying to build Tensorflow 1.13.1 on 10.11.6 with bazel-0.18.1-darwin-x86_64.  Is there any known work-around?
ERROR: /Users/davidlaxer/tensorflow/tensorflow/contrib/ignite/BUILD:148:1: Executing genrule //tensorflow/contrib/ignite:gen_igfs_ops_pygenrule failed (Trace/breakpoint trap): bash failed: error executing command /bin/bash -c ... (remaining 1 argument(s) skipped)
dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
  Referenced from: /private/var/tmp/_bazel_davidlaxer/f9fe21ec5c09226e5ca0dce9376abe82/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/contrib/ignite/../../../_solib_darwin_x86_64/_U_S_Stensorflow_Scontrib_Signite_Cgen_Ugen_Uigfs_Uops_Upy_Uwrappers_Ucc___Utensorflow/libtensorflow_framework.so (which was built for Mac OS X 10.12)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _clock_gettime
  Referenced from: /private/var/tmp/_bazel_davidlaxer/f9fe21ec5c09226e5ca0dce9376abe82/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/contrib/ignite/../../../_solib_darwin_x86_64/_U_S_Stensorflow_Scontrib_Signite_Cgen_Ugen_Uigfs_Uops_Upy_Uwrappers_Ucc___Utensorflow/libtensorflow_framework.so (which was built for Mac OS X 10.12)
  Expected in: /usr/lib/libSystem.B.dylib

/bin/bash: line 1: 74118 Trace/BPT trap: 5       bazel-out/host/bin/tensorflow/contrib/ignite/gen_gen_igfs_ops_py_wrappers_cc , '' 0 0 > bazel-out/darwin-opt/genfiles/tensorflow/contrib/ignite/python/ops/gen_igfs_ops.py
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 36273.121s, Critical Path: 8750.72s
INFO: 4623 processes: 4623 local.
FAILED: Build did NOT complete successfully


Allow mocking of native methods

For example, Binder.getCallindUid()

This seems possible, I can think of a few ways to do it - 1) you can override native methods from parent classes with non-parent subclasses, and 2) You could code generate a native library and load that, and have it provide a faked implementation.
Where it gets more difficult is with the binder example you mentioned - Note that you can't mock final or static methods before Android P (where the mockito-inline support was added). I'm not sure the JVMTI implementation would play with native methods, that still needs more investigation.
I don't know when we'll have time to work on this however. I'll take this to my team and see if anyone can work on it, but also if anyone is interested in trying it out we're open to PRs!


AMQP.basic_publish fails with ValueError: channel must be a valid rabbitpy Channel object

I followed the example at https://rabbitpy.readthedocs.org/en/latest/api/amqp.html for setting up the less opinionated interface.
This traceback results from executing the code below using the latest rabbitpy from master 75d6b7546bca855bdbf2a9ebd35ad8a8adcd9bf7 as well as from pypi:
Traceback (most recent call last):
  File "rabbitpy_perf.py", line 190, in <module>
    main()
  File "rabbitpy_perf.py", line 42, in main
    _handlePublishTest(sys.argv[2:])
  File "rabbitpy_perf.py", line 130, in _handlePublishTest
    deliveryConfirmation=options.deliveryConfirmation)
  File "rabbitpy_perf.py", line 176, in runBlockingPublishTest
    g_log.info("%s: closing connection", implClassName)
  File "rabbitpy_perf.py", line 174, in runBlockingPublishTest
    g_log.info("%s: closing channel", implClassName)
  File "rabbitpy_perf.py", line 169, in runBlockingPublishTest
    body=message)
  File "/Users/vkruglikov/ossdev/rabbitpy/rabbitpy/amqp.py", line 151, in basic_publish
    msg = message.Message(self, body, properties or {}, False, False)
  File "/Users/vkruglikov/ossdev/rabbitpy/rabbitpy/message.py", line 102, in __init__
    super(Message, self).__init__(channel, 'Message')
  File "/Users/vkruglikov/ossdev/rabbitpy/rabbitpy/base.py", line 36, in __init__
    raise ValueError('channel must be a valid rabbitpy Channel object')
ValueError: channel must be a valid rabbitpy Channel object

# Code from https://github.com/vitaly-krugl/amqp-perf
import logging
import rabbitpy

g_log = logging

ROUTING_KEY = "test"

def runBlockingPublishTest(implClassName,
                           exchange,
                           numMessages,
                           messageSize,
                           deliveryConfirmation):
  g_log.info("runBlockingPublishTest: impl=%s; exchange=%s; numMessages=%d; "
             "messageSize=%s; deliveryConfirmation=%s", implClassName, exchange,
             numMessages, messageSize, deliveryConfirmation)

  implClass = getattr(rabbitpy, implClassName)

  assert implClass is rabbitpy.AMQP, implClass

  with rabbitpy.Connection(getConnectionParameters()) as conn:
    g_log.info("%s: opened connection", implClassName)

    with conn.channel() as channel:
      g_log.info("%s: opened channel", implClassName)

      amqp = rabbitpy.AMQP(channel)
      g_log.info("%s: wrapped channel", implClassName)

      if deliveryConfirmation:
        amqp.confirm_select()
        g_log.info("%s: enabled message delivery confirmation", implClassName)

      # Publish
      message = "a" * messageSize

      for i in xrange(numMessages):
        amqp.basic_publish(exchange=exchange, routing_key=ROUTING_KEY,
                           body=message)
      else:
        g_log.info("Published %d messages of size=%d via=%s",
                   i+1, messageSize, implClass)

      g_log.info("%s: closing channel", implClassName)

    g_log.info("%s: closing connection", implClassName)

def getConnectionParameters():
  """
  :returns: URL string respresenting broker connection parameters
  """
  return "amqp://guest:guest@localhost:5672/%2F"

runBlockingPublishTest('AMQP', exchange='', numMessages=1, messageSize=1024, deliveryConfirmation=True)

Sorry for the delay in this. I believe this is long fixed, and just ran it with the following results:
INFO:root:runBlockingPublishTest: impl=AMQP; exchange=; numMessages=1; messageSize=1024; deliveryConfirmation=True
DEBUG:rabbitpy.base:Connection setting state to 'Opening'
DEBUG:rabbitpy.base:IO setting state to 'Opening'
DEBUG:rabbitpy.events:Waiting for 3 seconds on event: Socket Connected
DEBUG:rabbitpy.io:Connecting to ('::1', 5672, 0, 0)
DEBUG:rabbitpy.io:Error connecting to ('::1', 5672, 0, 0): [Errno 61] Connection refused
DEBUG:rabbitpy.io:Connecting to ('<IP_ADDRESS>', 5672)
DEBUG:rabbitpy.base:IO setting state to 'Open'
DEBUG:rabbitpy.connection:Adding channel 0 to io
DEBUG:rabbitpy.io:Socket connected
DEBUG:rabbitpy.base:Channel0 setting state to 'Opening'
DEBUG:rabbitpy.io:Returning PollPoller
DEBUG:rabbitpy.base:Writing frame: ProtocolHeader
DEBUG:rabbitpy.channel0:Received frame: 'Connection.Start'
DEBUG:rabbitpy.channel0:Server b'information': b'Licensed under the MPL.  See http://www.rabbitmq.com/'
DEBUG:rabbitpy.channel0:Server b'cluster_name'<EMAIL_ADDRESS>DEBUG:rabbitpy.channel0:Server b'product': b'RabbitMQ'
DEBUG:rabbitpy.channel0:Server b'version': b'3.6.4'
DEBUG:rabbitpy.channel0:Server b'copyright': b'Copyright (C) 2007-2016 Pivotal Software, Inc.'
DEBUG:rabbitpy.channel0:Server b'platform': b'Erlang/OTP'
DEBUG:rabbitpy.channel0:Server b'capabilities': {b'consumer_cancel_notify': True, b'consumer_priorities': True, b'direct_reply_to': True, b'publisher_confirms': True, b'connection.blocked': True, b'exchange_exchange_bindings': True, b'authentication_failure_close': True, b'per_consumer_qos': True, b'basic.nack': True}
DEBUG:rabbitpy.base:Writing frame: Connection.StartOk
DEBUG:rabbitpy.channel0:Received frame: 'Connection.Tune'
DEBUG:rabbitpy.channel0:Heartbeat interval (server/client): 60/60
DEBUG:rabbitpy.base:Writing frame: Connection.TuneOk
DEBUG:rabbitpy.base:Writing frame: Connection.Open
DEBUG:rabbitpy.channel0:Received frame: 'Connection.OpenOk'
DEBUG:rabbitpy.channel0:Connection opened
DEBUG:rabbitpy.base:Channel0 setting state to 'Open'
DEBUG:rabbitpy.heartbeat:Heartbeat started, ensuring data is written at least every 30.00 seconds
DEBUG:rabbitpy.base:Connection setting state to 'Open'
INFO:root:AMQP: opened connection
DEBUG:rabbitpy.connection:Adding channel 1 to io
DEBUG:rabbitpy.base:Channel setting state to 'Opening'
DEBUG:rabbitpy.base:Writing frame: Channel.Open
DEBUG:rabbitpy.base:Waiting on <class 'pamqp.specification.Channel.OpenOk'> frame(s)
DEBUG:rabbitpy.channel:Checking for RPC request: <pamqp.specification.Channel.OpenOk object at 0x10990e138>
DEBUG:rabbitpy.base:Channel setting state to 'Open'
DEBUG:rabbitpy.channel:Channel #1 open
INFO:root:AMQP: opened channel
INFO:root:AMQP: wrapped channel
DEBUG:rabbitpy.base:Issuing RPC to RabbitMQ: <pamqp.specification.Confirm.Select object at 0x10990e138>
DEBUG:rabbitpy.base:Sending 'Confirm.Select'
DEBUG:rabbitpy.base:Writing frame: Confirm.Select
DEBUG:rabbitpy.base:Waiting on 'Confirm.SelectOk' frame(s)
DEBUG:rabbitpy.channel:Checking for RPC request: <pamqp.specification.Confirm.SelectOk object at 0x109901898>
INFO:root:AMQP: enabled message delivery confirmation
DEBUG:rabbitpy.base:Writing frames: ['Basic.Publish', 'ContentHeader', 'ContentBody']
INFO:root:Published 1 messages of size=1024 via=<class 'rabbitpy.amqp.AMQP'>
INFO:root:AMQP: closing channel
DEBUG:rabbitpy.base:Channel setting state to 'Closing'
DEBUG:rabbitpy.base:Channel 1 close invoked while Closing
DEBUG:rabbitpy.channel:Checking for RPC request: <pamqp.specification.Basic.Ack object at 0x109901ac8>
DEBUG:rabbitpy.base:Read frame while shutting down: <pamqp.specification.Basic.Ack object at 0x109901ac8>
DEBUG:rabbitpy.base:Channel 1 Waiting for a valid response for Channel.Close
DEBUG:rabbitpy.base:Sending 'Channel.Close'
DEBUG:rabbitpy.base:Writing frame: Channel.Close
DEBUG:rabbitpy.base:Waiting on 'Channel.CloseOk' frame(s)
DEBUG:rabbitpy.channel:Checking for RPC request: <pamqp.specification.Channel.CloseOk object at 0x109901ac8>
DEBUG:rabbitpy.base:Channel setting state to 'Closed'
DEBUG:rabbitpy.base:Channel #1 closed
INFO:root:AMQP: closing connection
DEBUG:rabbitpy.base:Connection setting state to 'Closing'
DEBUG:rabbitpy.base:Channel0 setting state to 'Closing'
DEBUG:rabbitpy.base:Sending 'Connection.Close'
DEBUG:rabbitpy.base:Writing frame: Connection.Close
DEBUG:rabbitpy.base:Waiting on 'Connection.CloseOk' frame(s)
DEBUG:rabbitpy.channel0:Received frame: 'Connection.CloseOk'
DEBUG:rabbitpy.base:Channel0 setting state to 'Closed'
DEBUG:rabbitpy.connection:Waiting on socket to close
DEBUG:rabbitpy.events:Waiting for 0 seconds on event: Socket Closed
DEBUG:rabbitpy.io:Exiting due to closing socket
DEBUG:rabbitpy.io:Exiting IOLoop.run
DEBUG:rabbitpy.io:Exiting IO.run
DEBUG:rabbitpy.base:IO setting state to 'Closing'
DEBUG:rabbitpy.base:IO setting state to 'Closed'
DEBUG:rabbitpy.connection:Setting to closed
DEBUG:rabbitpy.base:Connection setting state to 'Closed'


Add cfp to header.

Do you want this Airtable form to replace the system of creating an issue to submit a talk proposal https://github.com/react-ladies/react-ladies-talk-proposals/issues/new/choose? If so, can you update the FAQ so that we have consistent messaging? https://reactladies.com/faq/#how-to-speak
In terms of the audience do you think the word “CFP” in the navigation is familiar enough? Or should we use a different word to describe where someone can submit a talk? Maybe we could combine the get involved, FAQ, and info to submit a talk on a top level “getting involved” page https://reactladies.com/getting-involve
I’m open to combine some of the pages that are current in the top level navigation and am not 100% tied to the FAQ remaining in the top level nav if space is an issue as long as the FAQ has multiple links to it throughout the site.
What are your thoughts?

Do you want this Airtable form to replace the system of creating an issue to submit a talk proposal https://github.com/react-ladies/react-ladies-talk-proposals/issues/new/choose? If so, can you update the FAQ so that we have consistent messaging? https://reactladies.com/faq/#how-to-speak
In terms of the audience do you think the word “CFP” in the navigation is familiar enough? Or should we use a different word to describe where someone can submit a talk? Maybe we could combine the get involved, FAQ, and info to submit a talk on a top level “getting involved” page https://reactladies.com/getting-involve
I’m open to combine some of the pages that are current in the top level navigation and am not 100% tied to the FAQ remaining in the top level nav if space is an issue as long as the FAQ has multiple links to it throughout the site.
What are your thoughts?

"CFP" might seem to serious or even professional and might scare away people new to speaking. I updated to "Submit a talk".
I removed FAQ from the header to the footer and updated the FAQs. We should keeps the FAQs page, as I see the page growing soon.


feat: add pagination support in ListUserApprovals api

Add pagination support to ListUserApprovals api in a backwards compatible way.

Proton PR: https://github.com/goto/proton/pull/5
Closes #5

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

6 of 8 (75.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.0001%) to 75.133%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/store/postgres/approval_repository.go
4
6
66.67%

Totals

Change from base Build<PHONE_NUMBER>:
-0.0001%

Covered Lines:
7904

Relevant Lines:
10520

💛  - Coveralls


Complete the Attestation Administration APIs.

Complete the Attestation administration APIs.
This Pull Request adds support for the Policy Management Certificates family of APIs:

listPolicyManagementCertificates
addPolicyManagementCertificate
removePolicyManagementCertificate.

All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[X] CHANGELOG is updated for new features, bug fixes or other significant changes.
[X] I have read the contribution guidelines.

General Guidelines and Best Practices

[X] Title of the pull request is clear and informative.
[X] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[X] Pull request includes test coverage for the included changes.

API changes have been detected in com.azure:azure-security-attestation. You can review API changes here

API changes have been detected in com.azure:azure-security-attestation. You can review API changes here

API changes have been detected in com.azure:azure-security-attestation. You can review API changes here


Add secret to generator::config

The secret will represent a key that will be used by the wizard.rs only for now.
Proposal
{
  "secret", "{{.env.TAILCALL_SECRET}}",
  "inputs": [
    {
      "curl": {
        "src": "https://example.com",
        "headers": {
          "user-agent": "tailcall-v1"
        },
        "fieldName": "test"
      }
    }
  ],
  "output": {},
  "schema": {}
}

/bounty 30$

blocked on https://github.com/tailcallhq/tailcall/issues/2654