Added checkbox column type

@damnko, thanks for your PR.

@damnko, @LexZhukov just thought of a situation when we have a column with boolean value by default, then we would need to configure it like this:
editor: {   type: 'checkbox',   config: {     true: true,     false: false   } }
which looks a bit redundantly, don't you think?

I think that you can simply omit config and it defaults to true|false. It should be written in the documentation too, please let me know if it does not work as expected or the doc is not clear so I act accordingly, thanks

@damnko ah sorry, missed that part (I'm a bit under the weather today :)), then we are good!

Eheh ok no problem


Remove experimental enableclerkimages

Type of change

[ ] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

Packages affected

[ ] @clerk/clerk-js
[ ] @clerk/clerk-react
[ ] @clerk/nextjs
[ ] @clerk/remix
[ ] @clerk/types
[ ] @clerk/themes
[ ] @clerk/localizations
[ ] @clerk/clerk-expo
[ ] @clerk/backend
[ ] @clerk/clerk-sdk-node
[ ] @clerk/shared
[ ] @clerk/fastify
[ ] @clerk/chrome-extension
[ ] gatsby-plugin-clerk
[ ] build/tooling/chore

Description

[ ] npm test runs as expected.
[ ] npm run build runs as expected.

Remove images FF. This needs to be merged and released after #1239

Closing in favor of #1245 in order to avoid resolving all the merge conflicts

Closing in favor of https://github.com/clerkinc/javascript/pull/1245 in order to avoid resolving all the merge conflicts


get_campaign_contacts raises TypeError: exceptions must derive from BaseException

Hey guys,
thanks for this wrapper - I'm trying to figure it out and expand it with tag functionality.
I must note that, although I have a solid programmer background, I have not coded for a decade, so understandably i am a bit slow hehe :)
I've been playing with the wrapper/GR API for a few hours now, and had success with the more basic methods like:
accounts();
get_campaigns();
get_campaign();
After I got the campaign id I actually need to work withon, tried to get all the contacts in it by using 'get_campaign_contacts', which raises the error:
TypeError: exceptions must derive from BaseException
that I fail to make sense out of it.
I did succeed to invoke the corresponding api method directly using requests (without the wrapper):
https://api.getresponse.com/v3/campaigns/{campaign_id}/contacts
Which made me wander - what is actually wrong with the way the wrapper does the same?
Any ideas why is it not properly working?
Thanks!

OK, I figured out this has been fixed in the branch "addcontribution" :)
Replaced "raise with return"

Hey it's OK mate.
I'm going to apply some (actually quite a lot) more,
so you can leave it for later.
It's now worth your time right now :)
Thanks!
On Mon, Aug 26, 2019 at 7:14 PM Miguel Ferrer<EMAIL_ADDRESS>wrote:

Hello there, sorry for the delay.
Create a Pull Request from your branch to our branch and I will evaluate
the fix that you applied.
Thanks for your interest in our library.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/GearPlug/getresponse-python/issues/6?email_source=notifications&email_token=AIOSUKJR7H5P6KQAVPYGNV3QGP6OPA5CNFSM4IPGG43KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5E3KEI#issuecomment-524924177,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIOSUKNT4IZ3OY2CDT2P6Z3QGP6OPANCNFSM4IPGG43A
.

--
--
The Universe is made of thoughts - your thoughts among them too.
You are the center of the Universe - the Universe is you.


Lab 3 - authorization via browser fails -  authorizedCallback Validation, iat rejected id_token was issued too far away from the current time

At the following stage of the workshop I encountered an issue when attempted to authorize via the client Angular SaaS application - https://catalog.us-east-1.prod.workshops.aws/v2/workshops/b0c6ad36-0a4b-45d8-856b-8a64f0ac76bb/en-US/lab3/45-login-saas-app
I get a login failure screen, and the Chrome browser console shows the following error:
authorizedCallback Validation, iat rejected id_token was issued too far away from the current time
I tracked this back to a behaviour of the following version of the angular-auth-oidc-client library, which had been installed during the npm install - https://github.com/damienbod/angular-auth-oidc-client/releases/tag/release_11_6_11https://github.com/damienbod/angular-auth-oidc-client/releases/tag/release_11_6_11
I'm able to work around it by setting a high value (e.g. 20000 seconds) for the config setting maxIdTokenIatOffsetAllowedInSeconds in the following file: /aws-serverless-saas-workshop/Lab3/client/Application/src/app/views/auth/auth-configuration.service.ts
I'm wondering if the current deployment can result in the client and server times being unsynchronised, and maybe this is the cause? There's a discussion here that includes comments from the primary author of the angular-auth-oidc-client library - https://github.com/damienbod/angular-auth-oidc-client/issues/175

Closing this issue. Please re-open if need so.


includes and non includes

so some files are not included in the source code please state those

if they are available in market place or you build them own
what assets are not included, name them and where they present in your project
Any additional points state here

As stated in this repo's readme:
"While I'd love to completely open-source Ethereal Legends, significant portions of the code used to create the full game is currently within UE4's Blueprint system, and of course I do not have the rights to redistribute any of the assets I've used to create the game. So this repository is the best I can do, providing you with the direct source I've used to build the game's foundation."
This repo for Ethereal Legends is source-code only.  It comprises approximately 40% of the game's underlying structure.  This repo includes no assets whatsoever, nor does it contain any project-specific files (such as the .uproject, .sln, config files, etc).  Everything you might find in the "Content" directory of a UE4 project is missing.  It is strictly source code found in the "Source" directory of the full UE4 project, uploaded here and meant as a learning resource and reference material.  This repository is not meant for end-users to be able to freely play or modify the full game.
The list of missing assets is far too long to compile and include anywhere.  There are literally thousands of them.  The assets used to create Ethereal Legends are mixed between things I sourced freely from UE4 tutorial content, things I purchased from online marketplaces, things I had custom-made by external artists, and things I made myself.  For the majority of assets, I do not have the rights to redistribute them in source form, and therefore they cannot legally be added to this repo.


Can I use the custom Icon in place of default pins

I dont want to use the default pins on the map location. I want to give different icons based of different status. How i can do this in Google-maps-for-rails

yes, read the doc, you can customize the picture attribute


Azure CLI identity via DefaultAzureCredential doesn't work

Package Name: azure-identity
Package Version: 1.17.1
Operating System: 20.04.6 LTS (Focal Fossa)
Python Version:  3.11.9

Describe the bug
I am trying to get token credential via DefaultAzurecredential. When I am calling it via
token_credential = DefaultAzureCredential(exclude_environment_credential=True,  exclude_managed_identity_credential=True, exclude_cli_credential=False)`
I am getting following error:
`Traceback (most recent call last):
  File "main.py", line 16, in <module>
    token_credential = DefaultAzureCredential(exclude_environment_credential=True,  exclude_managed_identity_credential=True, exclude_cli_credential=False)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/azure/identity/_credentials/default.py", line 92, in __init__
    super(DefaultAzureCredential, self).__init__(*credentials)
  File "/usr/lib/python3/dist-packages/azure/identity/_credentials/chained.py", line 44, in __init__
    raise ValueError("at least one credential is required")
ValueError: at least one credential is required

To Reproduce
Steps to reproduce the behavior:
Create main.py file. Insert following code and try to run it python3.11 main.py
from azure.identity import DefaultAzureCredential
token_credential = DefaultAzureCredential(exclude_environment_credential=True,  exclude_managed_identity_credential=True, exclude_cli_credential=False)

Expected behavior
Package should be able to authenticate via active Azure CLI session.

Thanks for reaching out.
Unfortunately, I cannot repro the issue.
Have you tried creating a new virtual environment and install azure-identity?

You are right. Sorry for such a nooby problem.


SQL injection in register.php GeniXCMS v0.0.8(latest version)

/register.php
if (isset($_GET['activation'])) {
    # code...
    $usr = Db::result(sprintf("SELECT * FROM `user` WHERE `activation` = '%s' LIMIT 1", $_GET['activation'] ));

the activation param leads to sql injection vulnerability
POC:
http://<IP_ADDRESS>/GeniXCMS/register.php?activation=1' AND (SELECT 1 FROM(SELECT COUNT(*),CONCAT(version(),0x23,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.TABLES GROUP BY x)a)%23

We'll find that the database version in the response page, which proved the vulnerability exist.
By the way, if you can help me apply for a CVE-ID, i will be very grateful.XD

this has been fixed with this commit. https://github.com/semplon/GeniXCMS/blob/master/register.php#L119
thanks


Fixes #851

Fixes #851

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

@yesoreyeram It seems your commit message is not in the right format: https://github.com/newrelic/newrelic-client-go/blob/main/CONTRIBUTING.md#commit-messages
Would it be possible to change it? https://stackoverflow.com/questions/8981194/changing-git-commit-message-after-push-given-that-no-one-pulled-from-remote


2.1.8 downgraded some assemblies from 2.1.7

The 2.1.8 shared framework contains some assemblies older than the 2.1.7 framework. This is a result of incorrect data in the baseline file. For instance:
https://github.com/aspnet/AspNetCore/blob/4cceccd5689ebf7712c03789df536cbb4cfc2efc/eng/Baseline.xml#L123
The actual latest stable release of Microsoft.AspNetCore is 2.1.7. This can cause runtime exceptions such as https://github.com/aspnet/AspNetCore/issues/3503#issuecomment-463134356 if users target 2.1.7 but rollforward to newer shared frameworks.
cc @dougbu @mikaelm12 @Eilon

Oops. Are there any good workarounds to this? Add explicit reference to the correct version? (Downgrading to older patch is not a "good" workaround.)

There are several workarounds.

add <PackageReference Include="Microsoft.AspNetCore" Version="2.1.7" /> (NB: this is NOT the .App package)
Remove version from AspNetCore.App <PackageReference Include="Microsoft.AspNetCore" />
Update AspNetCore.App: <PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.8" />

To help us catch this in the future, I think we should consider adding a unit test which reads this baseline and checks that it matches the latest 2.1.* on nuget.org. The SDK team did this for a similar kind of baseline file problem.

This looks like a patch candidate for sure.
@dougbu Would you be the right person to fix this? Could you prepare a PR and ping me on it, so that we can bring this to shiproom tomorrow? This can be a tactical PR just to fix the issue, but we definitely need to add the test @natemcmaster specifies above to prevent this from happening again.

I'd appreciate it if @mikaelm12 could take a look at this first. @mikaelm12 is that :ok: with you?
But, I'll double-check the current 2.1.9 branding.

Yeah, I can do it.

Problem remains in current release/2.1 branch. I'll fix that up and leave the test to @mikaelm12

See aspnet/AspNetCore#7556

Is the following related to this issue?
https://github.com/dotnet/core/issues/2304#issuecomment-463154664
cc @joeloff

@muratg probably related

@muratg Yes, that's the exact same error.

I've manually checked the Baseline.xml file against the current NuGet versions of each package. Nothing other than Microsoft.AspNetCore was behind.
Rather than do 2.2.3 manually, I'll turn to the test…

One alternative: Change the Baseline.xml file to list only Major.Minor versions and have BaselineGenerator determine the latest patch version.
@natemcmaster I don't see anything but BaselineGenerator that reads Baseline.xml. Am I missing anything?
Other thoughts on this infrastructure reformat versus a separate test?

I don't think we should only list Major.Minor. This could lead to non-deterministic behavior when re-generating baselines.
@mikaelm12 was looking into adding test coverage for this. I added @dougbu to the email thread in which we're brainstorming fixes.

FYI: App Services in Azure also updated to the latest DotNet Core SDK, so this bug could effect your apps published to there.
Today I just had to fix one of our Asp.Net applications.
In the eventlog.xml I saw the following error entry:
Application: dotnet.exe CoreCLR Version: 4.6.27317.3 Description: The process was terminated due to an unhandled exception. Exception Info: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.AspNetCore, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'.

@dougbu and @mikaelm12 in addition to the automation, could you guys please review the file (for both 2.2 and 2.1) to make sure it's correct on both branches?

I'll sync up with @dougbu on this today

Though my comment above said I only did the release/2.1 branch. I checked the versions manually in both branches.
The new test should confirm what I saw.

I've also just manually checked the versions in both the 2.1 and 2.2 branches. The shouldn't be any version downgrade issues

Thanks guys!


Create ASP.Net Core, Tailwind CSS and Spring frameworks components #113

Description
feat:  #113 (add)

Add components of  frameworks like ASP.NET Core, Tailwind CSS and Spring.
Tested Locally.

Please suggest if any additional implementations or ways to help me improve.
Thank you!

Pull request merged

This is an automated message from Fork, Commit, Merge - web [BOT].

Thank you for your contribution! Your pull request has been merged and your name has been added to the List of Contributors in README.md.
Please leave a star if you enjoyed working on this project.
What's next?
If you're looking for more ways to contribute, I invite you to check out my other projects here.


Unable to create new variables

2nd time I've experienced this issue. Previously it went away when I restarted EnvKey, but now restarting won't fix the issue and I am unable to add new variables.
I am trying to add my variable like normal, and when I click "Create Variable" nothing happens.
When I open the inspector, the console shows an error when I press Create Variable:
Uncaught TypeError: Cannot read property 'canUpdate' of undefined
    at entry_form.tsx:89
    at Array.map (<anonymous>)
    at onClick (entry_form.tsx:83)
    at Object.Fe (react-dom.production.min.js:52)
    at Ve (react-dom.production.min.js:52)
    at react-dom.production.min.js:53
    at Mr (react-dom.production.min.js:100)
    at Er (react-dom.production.min.js:101)
    at react-dom.production.min.js:113
    at Pe (react-dom.production.min.js:292)

Hey @nicholasareed, a fix will be out shortly.

Should now be fixed as of 2.1.11


stage1: flavor=usr-from-host: restore install target in Makefile

I thought I could simplify it, but it did not always work when switching flavors.
Fix #997

lgty @crawford ?

@crawford @jonboulle : branch updated.

looks functional to me


1.5.0 is missing

As in the title the newest version of code isn't tagged. Could you please provide some details on when is it going to be available?

Was going to release this week but didn't find the time, expect it early next week :)

@sebastiandedeyne any updates on that ? I think I'll have to implement a workaround for now as I can't wait any longer :) Cheers

Published!


initial_trie_root is never Some

https://github.com/cspr-rad/kairos/blob/2dd35183d7ad0112cc55500d429a67c12a11f5ef/demo-contract-tests/tests/test_fixture/mod.rs#L34
We should add a test

It is in testing. If I test from a randomly generated trie I have to provide it with the pre-batch root.

You're right, I grepped for a explicit Some


Content-Security-Policy causes adyen.js to block

Describe the bug
Setting Content-Security-Policy header causes adyen.js v.5.0.0+ to block with the following message:
adyen.js:1487 Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src https://checkoutshopper-test.adyen.com ...".
    at Function (<anonymous>)
    at adyen.js:1487
    at adyen.js:1489
    at adyen.js:2

To Reproduce
Steps to reproduce the behavior:

Install adyen-web v 5.0.0 or higher using npm
Set up Content-Security-Policy header. Do not allow 'unsafe-eval' execution.
Load the page importing adyen-web functionality.

Expected behavior
adyen.js should be loaded correctly.
Actual behavior
adyen.js execution is blocked by the browser.
Note
The problem doesn't appear in versions less than 5.0.0.
The problem might be related to webpack compiler options.
Webpack should be set up to avoid generating unsafe javascript evaluations.
Screenshots

Hi @ahimik ,
Thanks for reaching out. Indeed there is an issue with excluding 'unsafe-eval' from the CSP. I am going to create a ticket in our backlog for the fix, and I will update this ticket once it is solved. Thanks for reporting it!

Hi @ahimik . We released v.5.11.0 which contains the fix for this problem, therefore I am closing this thread. Thanks for reporting it.


HighlightOptions need some help......

I am new to flutter, and Since last few days i am struggling with configuring HighlightOptions field in elastic_client,
can anyone help me HighlightOptions example,
thanks from me, you guyz did a great job, it helped me a lot to connect and search my flutter app to ES. just his HighlightOptions part I can't figure out, its quite complicated for me.

sorry for issue, I have discovered the way, sorry if you find my code little rusty.
here is my code that worked for me, still figuring some ways to improve highlight.
and once again Thanks the creator who did this amazing elastic_client. thank you.
here is code.
`    elastic_me.HighlightField hlFields = elastic_me.HighlightField(numberOfFragments: 5,fragmentSize: 150);
Map<String, elastic_me.HighlightField> hlfieldsMAP =  {'alltext': hlFields};

elastic_me.HighlightOptions hlOption = elastic_me.HighlightOptions(
     fragmentSize: 150, numberOfFragments: 5,fields: hlfieldsMAP);

final rs2 = await client.search(
    index: 'lawapp',
    type: '_doc',
    query: elastic_me.Query.term(
        'alltext', [currentSearch().FullText.toLowerCase()]),
    highlight: hlOption,
    limit: 1,
    //fields: ["_index","_type","_id","doc","_doctype","country","language","fileid","courtid","isOriJudFound","Courttitle","Appellant","Respondent","Judge","Advocate","AppealType","AppealNo","alltext"],
    // source: ['some','name'],
    sort: [
      {'_id': 'asc'}
    ]);

`


kinematic-body: check contact equation is enabled before applying force

This allows the use of body.collisionReponse (aframe-physics-extras collision-filter.collisionForces) to have collisions which are detectable but do not cause a physical response (e.g. to trigger an action upon entering a zone).

Ugh, no more sending PR's before 10am.
Fixed.

Awesome thanks!


Construct Vector2 & Vector2i from int or float.

GDScript Example:

print(Vector2() == Vector2(0, 0) and Vector2(0) == Vector2(0, 0)) # prints "true"
print(Vector2(12) == Vector2(12.0, 12.0)) # prints "true"

print(Vector2i() == Vector2i(0, 0) and Vector2i(0) == Vector2i(0, 0)) # prints "true"
print(Vector2i(12.5) == Vector2i(12, 12)) # prints "true"

C++ Example:
print_line(Vector2(0) == Vector2(0, 0)); // prints "true"
print_line(Vector2(12) == Vector2(12.0, 12.0)); // prints "true"

print_line(Vector2i(0) == Vector2i(0, 0)); // prints "true"
print_line(Vector2i(12.5) == Vector2i(12, 12)); // prints "true"

Nice PR but I would not change the godot sourcecode with this just yet, as it introduces a lot of changes that will generate long term merge conflicts. You can add your change most likely to godot and godot-cpp, but no need to update the godot codebase with this. Eg. the file core/input/input.cpp doesn't need to update to this new constructor, as it's internal implementation.

Will keep this as a draft, until I do some local tests if it works fine with current godot GDExtensions.


Revocation Handle Comm

This PR adds commitment functionality to the revocation handle attribute. This is achieved through the following changes:

Introduction of new revocation handle types pertaining to signatures, signature types, and signature options
More generalized attribute functionality to handle both enrollment id and revocation handle commitment schemes
Addition of ability to generate a pseudonym of a revocation handle (commitment)
Addition of ability to generate a signature containing both an enrollment id pseudonym and a revocation handle pseudonym
Functionality for auditing and verifying the new signature type

PR motivation: https://github.com/IBM/idemix/issues/21

Hi @ale-linux , I have extended the test to cover the cases you pointed to. Please, have another look :)


Crypto Currency

The React app on cryptocurrency tracker is a powerful and user-friendly application built using the React JavaScript library. It is designed to provide real-time information and analysis of various cryptocurrencies, enabling users to track their favorite digital assets efficiently. Users can view detailed information about each cryptocurrency, such as current price, market capitalization, trading volume, and price charts over different timeframes.
The app leverages APIs from reputable cryptocurrency exchanges and data providers to fetch real-time market data. This ensures that users receive accurate and up-to-date information on cryptocurrency prices and market trends. The app's integration with these APIs enables users to make informed decisions about buying, selling, or holding their cryptocurrencies.
ScreenShots

I am a GSSoC23 contributor. Kindly assign me this issue. @Shreyaar12 @cleveranu @artimanputra @Dharmesh177

Sure !!
Assigned to u. Complete it in 10 Days and follow contributing.md  Guide


Immutable object mutation

"react-native-sentry": "^0.9.0"
Hi
I am receiving errors in my app that I believe Sentry wants to catch - which is good. However, this seems te generate an error itself. Any thoughts if this is in the Sentry plugin or somewhere else?

Duplicate #57

@HazAT thanks, the workaround in #57 helped me for now

Fixed in v0.12.10


Sc set

Added set command setCommands.js and updated upload return value to integrate ArNS record setting option

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Testing classes that inherit from ContentfulModel::Base

I've got some classes that inherit from ContentfulModel::Base & I've added some methods to them, which I'd like to test in model unit tests.
For example, I'd like to test html_class & target in this Button class:
class Button < ContentfulModel::Base
  self.content_type_id = 'button'

  return_nil_for_empty :color
  return_nil_for_empty :hollow
  return_nil_for_empty :label
  return_nil_for_empty :new_window
  return_nil_for_empty :url

  def html_class
    classes = %w(
      c-button
      test-button
    )

    classes << "c-button--#{color}"
    classes << 'c-button--hollow' if hollow

    classes.join(' ')
  end

  def target
    new_window ? '_blank' : '_self'
  end
end

I can do this like this:
require 'rails_helper'

RSpec.describe Button do
  let(:fields) do
    {
      'label'      => 'Test label',
      'url'        => '/test/url',
      'new_window' => true,
      'color'      => :green,
      'hollow'     => true,
    }
  end
  let(:obj) do
    {
      'sys'    => {
        'id'     => 'button-id-1234',
        'locale' => 'en-GB',
      },
      'fields' => fields,
    }
  end
  let(:button) { ContentfulEntry::Button.new(obj) }
  # If you instantiate button using the next line instead, you don't need to set
  # Contentful::Client::DEFAULT_CONFIGURATION[:default_locale]
  # let(:button) { ContentfulEntry::Button.new(obj, nil, nil, 'en-GB') }

  before(:each) do
    # Need to set the default_locale
    Contentful::Client::DEFAULT_CONFIGURATION[:default_locale] = 'en-GB'
  end

  context '#html_class' do
    it 'adds the color class' do
      expect(button.html_class).to include('c-button--green')
    end

    it 'adds hollow if hollow is `true`' do
      expect(button.html_class).to include('c-button--hollow')
    end

    it 'does not add hollow if hollow is `false`' do
      fields['hollow'] = false
      expect(button.html_class).not_to include('c-button--hollow')
    end
  end

  context '#target' do
    it 'is _blank if new_window is true' do
      expect(button.target).to eq('_blank')
    end

    it 'is _self if new_window is false' do
      fields['new_window'] = false
      expect(button.target).to eq('_self')
    end
  end
end

My question is - is there a better way to instantiate these Button instances?

Hey @aldreth,
I'd go for something like using vcr to record a fetch of an actual object, and then use that as your mock object. If you're not interested in doing that, you can do something similar to your current setup and should work.
Cheers


Add config 'key' to the table chart configuration

Purpose
By defining this property in the configuration user can stop duplication of data based on values of a column
    {
        charts: [{
            type: 'table',
            key: 'rpm',
            columns: [
                // column configurations...
            ],
        }],
        maxLength: 15,
        width: 400,
        height: 200,
    }

Test environment
Node.JS v8.8.1, NPM v5.4.2

@CharukaK , shall we change the "key" to a meaningful name?


Deployment to Private Network

Deployment of mock spacestation script deploys two vm instances with azure public IP's. Currently using a subscription behind an expressroute. Would like to use customer owned networking in deployment.
Can the script be updated to include deployment using a custom private IP address from existing vnet?

Hey @cbrown101 thanks for opening up an enhancement! That doesn't sound unreasonable. The team will take a look and tag you back here in this Issue when a change is in that optionally allows the use of a private IP address from an existing virtual network.

Should be able to make use of the mock spacestation on a local machine with Visual Studio Code or from an Azure VM thanks to @bigtallcampbell. We'll get the docs updated soon with an explicit walkthrough on how you can see ground station and space station directories synchronize.

Attempted to deploy new json file, it still requires a public IP. I need to deploy this using our internal vnet addressing while not using a public IP.

We'll make updates to the docs to make it a bit easier, but have you tried cloning the repository and opening it with Visual Studio Code's Remote Containers? The groundstation and spacestation will be provisioned locally as containers without deploying a virtual machine to Azure.
+@bigtallcampbell to provide more context


The remote endpoint could not be called, or the response it returned was invalid.

While run command on alexa simulator, got remote endpoint could not be called
My Request :-1:
{
"session": {
"sessionId": "SessionId.6f446605-b6e6-429a-bb2f-c9fbde5bb4c9",
"application": {
"applicationId": "amzn1.ask.skill.d3d106a3-c219-4b15-b1de-32d2615aa9ea"
},
"attributes": {},
"user": {
"userId": "amzn1.ask.account.AFP3ZWPOS2BGJR7OWJZ3DHPKMOMPJGJDT6UCRLWQGOPXNPE7QGE33ZOKJWNZRFVVXZK55KQD3XJYPQMW4IHTKIPWXVQTKWFX6RRHOQFGYQPS34ATA54AJF5Y34J7AULCLC35JPIP567TOTSTGPOTAKYNEHKRNQU2QETGAXBPX5IAZWZIDASQJXSGMKWIMRPCHNR572LYWZGON3A"
},
"new": true
},
"request": {
"type": "IntentRequest",
"requestId": "EdwRequestId.a961f5ed-e3cb-417f-8fdb-ac208a821e29",
"locale": "en-US",
"timestamp": "2016-09-07T12:28:06Z",
"intent": {
"name": "OneshotTideIntent",
"slots": {
"State": {
"name": "State"
},
"City": {
"name": "City",
"value": "Seattle"
},
"Date": {
"name": "Date",
"value": "2016-09-10"
}
}
}
},
"version": "1.0"
}

same

This generally means that either the URL you entered in the Amazon portal is invalid, or the end point itself is not returning an expected result.  Are you using the simulator and logging the request to a console?

Are you using Long Form Audio in your skill? If so, you can only test the skill physically or use the test event of Lambda, because the JSON format of the request is different for skills with LFA, and the simulator does not support that kind of requests right now, sorry. And here is a sample JSON request with LFA, replace the ids and test it in your Lambda test event:
{
"version": "1.0",
"session": {
"new": true,
"sessionId": "",
"application": {
"applicationId": ""
},
"user": {
"userId": ""
},
"attributes": {}
},
"context": {
"AudioPlayer": {
"playerActivity": "IDLE"
},
"System": {
"application": {
"applicationId": ""
},
"user": {
"userId": "amzn1.ask.account.SAMPLEUSERID"
},
"device": {
"supportedInterfaces": {
"AudioPlayer": {}
}
}
}
},
"request": {
"type": "IntentRequest",
"requestId": "",
"timestamp": "2016-10-04T21:18:48Z",
"locale": "en-US",
"intent": {
"name": "",
"slots": {
"": {
"name": ""
}
}
}
}
}

The other thing to check in these situations in the CloudWatch logs for your Lambda function. Log into the AWS console, go to Lambda, then select your function, and then "View Logs in CloudWatch"

Also check that your APP_ID (if provided) in the index.js file in the lambda function matches that of the skill.

Please be advised that we're no-longer providing support for this project and so instead, please check out the replacement Alexa Skills Kit SDK for Node.js:
https://github.com/alexa/alexa-skills-kit-sdk-for-nodejs
Also, we have a number of sample skills based on this newer SDK, under here:
https://github.com/alexa


[wishlist] A dark theme

Thanks for the great work, I really appreciate it. Simple and clean, well done!
I would love to see a dark theme with true black background and white foreground (e.g. as seen in Twidere).
The current night-mode doesn't realy fit me needs, as the dark red text isn't readable both by day and night. :)
Device: Nexus 5X
Android: 7.1.2
ARSS: 1.7 (latest I found on F-Droid)

I think, many person does not like the red text. In Version v1.9 it is more like twidere

Where can I find it?
I saw also people mentioning 1.8, but the latest release I can find is 1.7.

fdroid is not very fast. google play store is a bit faster. I place an signed APK (the some signed version linke on the play store) here - get the app or direct here


Registration

There is no message to inform me that the registration was successful. As a suggestion, it should redirect to the homepage after a successful registration.

Thank you for the suggestions. After registering, the user was correctly returned to the home page, and I added a message showing the registration was successful.


No border: none to clear borders

https://github.com/tachyons-css/tachyons/blob/master/src/_borders.css
How to clear a border? Could set border-style, but feels odd/different category?

@hongkonggong yeah I've gone back and forth on this. There are a few ways to set borders to 0 in css.
both border-width: 0 and border-style: none work. I'll add something to this module though to make it more clear.

So there is b--none in the border-style module, which will also clear borders, but I also added it to the borders module as well.


Upload new release to pypi

The latest version of hid on pypi is from 2015, and is missing some critical features, such as python 3 support. Could we get a new release? Thank you!

latest master dubbed 1.0.0 and uploaded to pypi


TreeItem label can't accept a custom node

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
Passing a node into label throws an error:
The above error occurred in the <ForwardRef(TreeItem)> component:
    in ForwardRef(TreeItem) (created by WithStyles(ForwardRef(TreeItem)))
    in WithStyles(ForwardRef(TreeItem)) (created by FileSystemNavigator)
    in ul (created by ForwardRef(TreeView))
    in ForwardRef(TreeView) (created by WithStyles(ForwardRef(TreeView)))
    in WithStyles(ForwardRef(TreeView)) (created by FileSystemNavigator)
    in FileSystemNavigator

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://fb.me/react-error-boundaries to learn more about error boundaries.

Expected Behavior 🤔
Should be able to do more with content than just a string label (thanks for adding tree view btw!)
Steps to Reproduce 🕹
https://codesandbox.io/s/material-demo-zz0i1
<TreeItem nodeId="1" label={Applications}>

Context 🔦
Want to customise the label of a tree view a lot
Your Environment 🌎

Tech
Version

Material-UI
v4.3.1

React
16.8.6

Browser
Chrome 74

TypeScript
no

etc.

@DominicTobias Confirmed, something is not right. The label type (node) doesn't match the expectation of the implementation (string). @joshwooding What was the intention? Should we support a node and have a fallback a11yLabel string prop?

What would be the use case for wrapping the label in arbitrary nodes? The text is important for keyboard navigation and another prop just adds another source of truth which is brittle.
@DominicTobias Could you share what you intended by wrapping the text in a span?

For me I would like to have some extra data for each node - some metrics and organise this and style it using elements and styling, it's not a simple name I want to represent for each node. Also at any given node I want to handle click events such as view or edit this node.

I was looking around and didn't like the API in other ones so I ended up starting to do it myself. Notice how there is complete control over the state and I am custom rendering the content (in this case <TeamInfo />. Code behind is very simple just a handful of lines for each component so far.
function TeamTree({ teams }) {
  const [expandState, setExpandState] = useState(createExpandState(teams, 'bpxId'));

  function handleExpandToggle(itemId) {
    setExpandState({
      ...expandState,
      [itemId]: !expandState[itemId],
    });
  }

  const recursiveTreeRender = teams => (
    <TreeView>
      {teams.map(team => (
        <TreeItem
          key={team.bpxId}
          itemId={team.bpxId}
          hasChildren={!isEmpty(team.children)}
          expandState={expandState}
          onExpandToggle={handleExpandToggle}
        >
          <TeamInfo {...team} />
          {expandState[team.bpxId] && recursiveTreeRender(team.children)}
        </TreeItem>
      ))}
    </TreeView>
  );

  return recursiveTreeRender(teams);
}

And because state is fully controlled the expansion state of children is remembered too:

@DominicTobias Thanks for sharing your use case! It seems that we could handle your use case by relying on a labelRef.current.textContent[0] logic, instead of accessing the label prop value. Would it work?

I'm not exactly sure what you mean with textContent, wouldn't this still only be able to represent a string rather than an arbitrary JSX/HTML structure? I think it would be handle if the user can render what they want inside some wrapping element - and the wrapping element can still be controlled by Material for things like key presses.
But will close as I will plow on with a custom implementation as I want to handle things like selection and drag & drop! Thanks for the input though and keep up the great work!

The breaking logic is on the accessibility part of it (keyboard [a-z]) . I think that we should support any arbitrary label node. I'm reopening as it's something I think that we should better handle. Regarding the drag and drap. We have plan for it. Regarding the lazy rendering, we also have an good first issue open about it.

t seems that we could handle your problem by relying on a labelRef.current.textContent[0] logic, instead of accessing the label prop value. Would it work?

The problem with this is that it requires all nodes to be resolved. This not the problem for very few items in sync mode. In concurrent react or virtualized views this is impossible which is why the label prop is the better API. In addition to that it might cause issues with whitespace.
IMO label + renderItem props seems like the better option. The less we rely on the DOM the better.


Clash test does not work on Windows

I'm using Windows at work (unfortunately) and when I run bundle exec clash test, I get below stack trace. Double checked on Ubuntu and works fine there.
c:/tools/ruby215/lib/ruby/2.1.0/find.rb:42:in `block in find': No such file or directory (Errno::ENOENT)
        from c:/tools/ruby215/lib/ruby/2.1.0/find.rb:42:in `collect!'
        from c:/tools/ruby215/lib/ruby/2.1.0/find.rb:42:in `find'
        from c:/Users/User/Repositories/clash/lib/clash/diff.rb:64:in `each'
        from c:/Users/User/Repositories/clash/lib/clash/diff.rb:64:in `to_a'
        from c:/Users/User/Repositories/clash/lib/clash/diff.rb:64:in `dir_files'
        from c:/Users/User/Repositories/clash/lib/clash/diff.rb:51:in `mattching_dir_files'
        from c:/Users/User/Repositories/clash/lib/clash/diff.rb:40:in `diff_dirs'
        from c:/Users/User/Repositories/clash/lib/clash/diff.rb:17:in `diff'
        from c:/Users/User/Repositories/clash/lib/clash/test.rb:97:in `block in compare'
        from c:/Users/User/Repositories/clash/lib/clash/test.rb:93:in `each'
        from c:/Users/User/Repositories/clash/lib/clash/test.rb:93:in `compare'
        from c:/Users/User/Repositories/clash/lib/clash/test.rb:18:in `run'
        from c:/Users/User/Repositories/clash/lib/clash/tests.rb:64:in `run_test'
        from c:/Users/User/Repositories/clash/lib/clash/tests.rb:51:in `block (2 levels) in run'
        from c:/Users/User/Repositories/clash/lib/clash/tests.rb:47:in `each'
        from c:/Users/User/Repositories/clash/lib/clash/tests.rb:47:in `each_with_index'
        from c:/Users/User/Repositories/clash/lib/clash/tests.rb:47:in `block in run'
        from c:/Users/User/Repositories/clash/lib/clash/tests.rb:46:in `chdir'
        from c:/Users/User/Repositories/clash/lib/clash/tests.rb:46:in `run'
        from c:/Users/User/Repositories/clash/bin/clash:79:in `<top (required)>'
        from c:/tools/ruby215/lib/ruby/gems/2.1.0/bin/clash:23:in `load'
        from c:/tools/ruby215/lib/ruby/gems/2.1.0/bin/clash:23:in `<main>'

Interesting. Thanks for the post. I wonder if Ruby's Find works differently there. I don't have a Windows machine to test this on, but I'll look at the code and see if there's anything weird I'm doing.

This is what I see in the debugger: In diff.rb in diff_files I see a first call with _expected_output and then a second call with _output. But _output does not exists and that's why find.rb throws an exception. Here is the context:
  def find(*paths) # :yield: path
    block_given? or return enum_for(__method__, *paths)

    fs_encoding = Encoding.find("filesystem")

    require 'pry-byebug'
    binding.pry

    paths.collect!{|d| raise Errno::ENOENT unless File.exist?(d); d.dup}.each do |path|

with d being _output. I see on Ubuntu that after running the test, there is a _output that has been created.
I also saw that you create _output in test.rb, but if I set a break point in there at the beginning, it is not reached before the other error occurs.

Fixed this issue in #18.


unable to encode outgoing TypedData

Result: Failure Exception: TypeError: unable to encode outgoing TypedData: unsupported type "<class 'azure.functions.http.HttpResponseConverter'>" for Python type "NoneType" Stack: File "/azure-functions-host/workers/python/3.6/LINUX/X64/azure_functions_worker/dispatcher.py", line 345, in _handle__invocation_request pytype=fi.return_type.pytype) File "/azure-functions-host/workers/python/3.6/LINUX/X64/azure_functions_worker/bindings/meta.py", line 83, in to_outgoing_proto f'unable to encode outgoing TypedData: '
Investigative information
Please provide the following:

Timestamp: 2020-05-21 02:32:44.974
Function App name:  XXXXXXXXX-python
Function name(s) (as appropriate): decom_cleanup
Core Tools version: 2.7.1846

Repro steps
Provide the steps required to reproduce the problem:

Expected behavior
Provide a description of the expected behavior.

Actual behavior
Provide a description of the actual behavior observed.

Known workarounds
Provide a description of any known workarounds.

Contents of the requirements.txt file:
Provide the requirements.txt file to help us find out module related issues.

Related information
Provide any related information

Links to source
Bindings used

Hi @szaher,
Please fill in the template before raising an issue in the future. This helps us to narrow down the issue and diagnose your problem more quickly.
As for HTTP trigger, the function annotation indicate that you need to return an HttpResponse object instead of a None. If you expect your http client receive no content, you should use return func.HttpResponse("", status_code=200) instead.

I've got the same issue here.

I still have the same issue. It has been a few months. Here is an example:
import logging

import azure.functions as func
def set(name, id, value):
        return func.HttpResponse(
            "Variable {name} set to {value}. Check the project to see if it worked.",
            status_code=200
        )

def main(req: func.HttpRequest) -> func.HttpResponse:
    logging.info('Python HTTP trigger function processed a request.')
    set("example", "1234", "9999")

"You've got to return something. It says it in the function's declaration with the arrow operator... it's that obvious! how could you not see that you dummy?"
is what I said to myself after discovering the mistake x) thanks @Hazhzeng 🙏
@thegamebegins25 you are not returning anything too, hence, the NoneType return error. What you are doing actually is returning a value from the function set, that you are calling in main, without using that value, so in main, you are returning nothing. Add a return in front of set.

I figured that out months ago lol
On Wed, Dec 14, 2022 at 9:15 AM Feuerstein @.***> wrote:

"You've got to return something. It says it in the function's declaration
with the arrow operator... it's that obvious! how could you not see that
you dummy?"
is what I said to myself after discovering the mistake x) thanks @Hazhzeng
https://github.com/Hazhzeng 🙏
@thegamebegins25 https://github.com/thegamebegins25 you are not
returning anything too, hence, the NoneType return error. What you are
doing actually is returning a value from the function set, that you are
calling in main, without using that value, so in main, you are returning
nothing. Add a return in front of set.
—
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-functions-python-worker/issues/683#issuecomment-1351460460,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AS5JYOW5MAQL65V2YZ3GFQDWNHJAVANCNFSM4NGQ275Q
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Thanks!, Will


[Hub Generated] Review request for Microsoft.KubernetesConfiguration to add version preview/2020-07-01-preview

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
Contribution checklist:

[x] I have reviewed the documentation for AME onboarding.
[x] Validation tools have been run on swagger spec(s) updated and errors have all been fixed with this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[x] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.

adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Please follow the link to find more details on PR review process.

/azp run automation - sdk

Can one of the admins verify this patch?

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

@yungezz, what is the next step?  I want this spec to be ARM reviewed.  How do we include the review board?  Can you pl. provide guidance?

/azp run automation - sdk

@NarayanThiru email sent to review board for reviewing

Please go through the checklist added as part of the review and mark them completed.

/azp run automation - sdk

@chiragg4u , I've addressed the review comment.   I am attaching the email thread explaining the details of why we have these violations.  I have also started a Violation Suppression Request process, as outlined at Swagger Validation Errors Suppression.
ARM Violation Explanation - email thread.pdf

Abandoning this PR, as I am splitting the changes (one for adding a new resource type and another for modifying an existing one) into 2 separate changes.

Added swagger for 2020-07-01-preview. The api is already available in ARM. Please review and approve the PR.

WaitForARMReview

@NarayanThiru and @safeermohammed - From our offline discussion, I understand this API version is already added in manifest and CLI already released. Please incorporate the outstanding comments in upcoming new API version.


log-search: Fix precedence in no-color case.

Fixes: A silly mistake (no output when piped through cat) that I made by before-push "cleaning up" the code and not testing afterwards.

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Merged, thanks @alexmv!


Support cycles.

Hi, I searched for sankey cycles support and found some issues debating this some time ago. Among approaches with some working code, perhaps https://github.com/soxofaan/d3-plugin-captain-sankey seems the most interesting. It seems his author expected it to be subsumed into an official d3 repo (which I presume would be this one) at some point. But it's not clear to me what has happened since.
What's the status of this?
Thanks.

Hi Eliseo,
As you yourself have noted in this issue, which the author has confirmed in another issue.
The author has not contacted either me or Mike Bostock to my knowledge, so I'm not sure about whether it was their intention to merge their changes into this repository.
However, it seems like the change you want regarding reverse-links could be implemented. I will take a closer look at this later this weekend and will keep this issue open till this is resolved. If you have further comments or suggestions, feel free to leave them here.
Thanks!

Ok, I'll wait to hear from you.
Thx very much for your prompt response.

At a minimum it would be nice if it didn't cause an infinite loop if a cycle exists. (just pretend that link doesn't exist, for example.)

Using d3-sankey and I just ran into this issue :(

As of version 0.9.1 (ef0ca636b8e256a46dcab37213d0cd3913013fa4), we throw an error rather than going into an infinite loop.

There are two alternatives that do support circulair links:

https://github.com/tomshanley/d3-sankey-circular/
https://github.com/ricklupton/d3-sankey-diagram


Civic Camp - Book artspace for Friday night

In process, need check

Check delivered and they have confirmed. We are good.


type(update): Updated Litmus-UI to 1.2.0 and added minor UI fixes ⚡

Signed-off-by: Sayan Mondal<EMAIL_ADDRESS>
Proposed changes

Updated Litmus-UI to 1.2.0
Added minor UI fixes ⚡

Types of changes
What types of changes does your code introduce to Litmus? Put an x in the boxes that apply

[X] New feature (non-breaking change which adds functionality)
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices applies)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[X] I have read the CONTRIBUTING doc
[X] I have signed the commit for DCO to be passed.
[X] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[ ] I have added necessary documentation (if appropriate)

Please do not merge this before this PR gets merged: https://github.com/litmuschaos/litmus/pull/2882


Running an exe made with flet pack flashes two terminals before opening

Description
So I'm trying to build a big selenium based application that uses flet for the GUI part, and it works well. But using pyinstaller onefile no terminal mode or using flet pack, both return in an exe that flashes two terminals before opening the GUI. I want to eliminate that, but I don't know ho.
Code example to reproduce the issue:
import flet as ft
def main(page: ft.Page):
    page.add(ft.SafeArea(ft.Text("Hello, Flet!")))
ft.app(main)

Describe the results you received:
When you make it an exe, it works, but it flashes two terminals first.
Describe the results you expected:
I expect it not to flash two terminals
Additional information you deem important (e.g. issue happens only occasionally):
Flet version (pip show flet):
Name: flet
Version: 0.22.1
Summary: Flet for Python - easily build interactive multi-platform apps in Python
Home-page:
Author: Appveyor Systems Inc.
Author-email<EMAIL_ADDRESS>License: Apache-2.0
Location: C:\Users\abdul\AppData\Local\Programs\Python\Python312\Lib\site-packages
Requires: cookiecutter, fastapi, flet-runtime, packaging, qrcode, uvicorn, watchdog
Required-by:

Give your requirements.txt file (don't pip freeze, instead give direct packages):
flet
selenium
rich
toml

Operating system:
Windows 11

this is invalid, turns out i mistaked the page resizing to a terminal.


Fix issues when customizing docker bridge-v2

When customizing docker bridge with --bip, I found two issues here:

docker daemon failed when creating docker0 bridge
After manually delete original docker0 bridge, docker instance network cannot reach outside

This PR try to address above issues automatically for docker in libnetwork by:
a. Provide DestroyNetworks for docker daemon to cleanup networks from different drivers
b. Take advantage of negative case of iptable -C to check exist of nat rule
The test has been done based on https://github.com/mrjana/docker/tree/cnm_integ,
and once libnetwork got merged, I will update docker daemon Shutdown procedure.
Change log:
v2:

Apologize for creating a new PR re-basing with master, original one is #156
Squash the commit which solving build failure

@fengyuleidian0615 Continuing the discussion from #156, How is this any different from today's docker behavior ?
Also, with the new pluggable driver mechanism, the network is managed by the drivers. any unconditional DeleteNetworks on all the networks is not preferred. If the user really wants to delete a network, he/she can chose to delete them individually. We have REST-APIs and dnet cli tool available to do just that.

@mavenugo  I mean when the docker daemon stopped, should the previous created "networks" hold on?

@fengyuleidian0615 Yes, all the networks created persist until they are explicitly deleted by the user. There is a bug in networks created for bridge driver which doesn't conform to this but it will be fixed shortly.
So taking a step back, the current behavior is the intended behavior and there is no intention to change that for now. So closing this for now. We can still continue the discussion here if you'd like.


List of Algebraic Formulas

Proposal
Adding list of algebraic formulas.
For eg: (a^2-b^2)=(a+b)(a-b)
(a+b)^2=(a^2+b^2+2ab)
(a-b)^2=(a^2+b^2-2ab) and so on..
I will be adding nearly 15-20 such algebraic formulas.
hey @sairish2001 please assign this issue to me.

Go ahead
Feel Free to ask your doubts, if any
Deadline 25 March,2021 (11:59 PM IST)


[11.x] Apply Laracon 2024 private files feature

This PR adds newly added features to the Laravel skeleton configuration files.
Otherwise, the Configuration Publishing commands use outdated configuration files that do not contain the changes.
It might be worth coming up with some mechanism to synchronize configuration files in the future.

There is already a similar PR.
https://github.com/laravel/framework/pull/52756


[BUG]:  Can we add scrollbar for video timeline on replay of recorded typing speed

Description
Can we add scrollbar for the video timeline on the replay of the recorded typing speed
It can help user to view particular timestamp in a recording
Code of Conduct

[X] I agree to follow this project's Code of Conduct

I can have a look into the feasibility of this

@jwtly10 sure, please go ahead


Unpin python dateutil

Ping @rsignell-usgs, the pangeo env should work with this change. Note that upstream already made this change, and nothing else in the past 2 years, and the tests seems to be passing there.

@conda-forge-admin, please rerender


error in test_Sony.py

after download and extract raw Sony data in dir dataset/Sony.
run test_Sony.py
got error at line 151:
im = raw.postprocess(use_camera_wb=True, half_size=False, no_auto_bright=True, output_bps=16)
rawpy._rawpy.LibRawFatalError: b'Unsufficient memory'
could you have met this?
Appreciate for answer.

Never met this error before. How large is your RAM?

32Gb. I also run the code with another pc with 64Gb, got the error again.. it so confuse me.

@cchen156

I am not sure what the problem is because I am not able to reproduce the error. Can you try output_bps=8?

I received the same error. I changed the 'half_size' parameter to True and it worked. I don't understand why, because I have enough RAM on my computer.

My GPU memory is 12GB,the same error as you, i follow the danielberbece‘s advice,but the result is absolutely wrong

Maybe there is a bug in the new version of Rawpy. Which version did you use? @PeterStone007 @danielberbece @ninesun127

I am using 0.10.1 and I cannot reproduce the error.

0.11.0
it is a really terrible thing~

@cchen156  yeah,when i download the rawpy  0.10.1, there is no error when running。genuinely thanks for your patient reply.
as you said,there is a bug in the new version of Rawpy.

yes, downgrading from 0.11.0 to 0.10.0 solved the issue for me too


stacks yml variables result always in value "filler"

Given following:
variables:
  node_password:
    type: string
    from:
      vault: ${PROJECT}_REDIS_SENTINEL_PASSWORD
      prompt: Redis password
    to:
      vault: ${PROJECT}_REDIS_SENTINEL_PASSWORD

and command kontena stack install -n myname stackfile.yml results says:
> Redis password : asdf
Value for PROJECT is not set. Substituting with an empty string.
Value for PROJECT is not set. Substituting with an empty string.

And in kontena vault key is:
filler_REDIS_SENTINEL_PASSWORD

So it's not "empty" and shouldn't be: I think that the install / deploy should be aborted.

Updated the bug: interpolations don't work at all.

And by "not at all" you mean inetrpolations inside the variables: block?

yep, always a "filler" even if PROJECT=myproject set

The two env vars that are defined internally for stackfile interpolation are GRID and STACK. The PROJECT is used for kontena app, not stacks.
There seems to be some ordering issue with the YAML reader interpolation vs when those vars are defined - the Kontena::Cli::Stacks::YAML::Reader#interpolate happens before the stack_from_yaml helper defines the GRID and STACK envs.
If I run STACK=test kontena stack install ... then the Kontena::Cli::Stacks::YAML::Reader#interpolate operates correctly... but it seems that the variables: ...: from/to: vault happen before the interpolation, so they end up using the "filler" placeholder :/
Running Kontena.run("vault read --return filler.wordpress-mysql-root", returning: result
Command raised Not found with message: Not found
Running Kontena.run("vault read --return filler.wordpress-mysql-password", returning: result
Command raised Not found with message: Not found
Setting to vault: filler.wordpress-mysql-root
Running Kontena.run("vault write --silent filler.wordpress-mysql-root LEzQh2BQ9okltleN8XJ5rlbVpdYJ2heY", returning: status
Command raised {"name"=>"Name isn't in the right format"} with message: {"name"=>"Name isn't in the right format"}
Setting to vault: filler.wordpress-mysql-password
Running Kontena.run("vault write --silent filler.wordpress-mysql-password vn6SPQdOQwCNzgIs97IU2N5CpQE7BhpY", returning: status
Command raised {"name"=>"Name isn't in the right format"} with message: {"name"=>"Name isn't in the right format"}
interpolate ENV["STACK"] = "wordpress-test"
interpolate ENV["STACK"] = "wordpress-test"
interpolate ENV["STACK"] = "wordpress-test"
interpolate ENV["STACK"] = "wordpress-test"
interpolate ENV["STACK"] = "wordpress-test"
interpolate ENV["STACK"] = "wordpress-test"
interpolate ENV["STACK"] = "wordpress-test"
set ENV['STACK'] = wordpress
Running Kontena.run("stack deploy wordpress-blue", returning: status

(#1474 for ignoring the vault write ... error)

So it's not "empty" and shouldn't be: I think that the install / deploy should be aborted.

:+1:

Actually I just the PROJECT without even thinking about kontena app's PROJECT.

Fixed


Object-oriented API for 3.0

The current API does not make it clear that certain configuration options must be provided to both token generation and verification functions. I would like to suggest changing the API to capture the configuration state in an API class instance, rather than the current function-based approach.

[ ] New classes: HOTP and TOTP.
[ ] Default instances with recommended quick-start configurations.
[ ] As this is a breaking change, either move legacy API to compat module or remove entirely.

Sound like a good idea.
When this item kickstarts, please let me take part. thanks.

I can start with whatever contribution you’d like to make. API design, inheritance patterns, quickstart settings, etc. I’d hold off on writing code, though, until people have a chance to provide input.

On Feb 27, 2017, at 9:03 PM, Connie Leung<EMAIL_ADDRESS>wrote:
Sound like a good idea.
When this item kickstarts, please let me take part. thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/speakeasyjs/speakeasy/issues/82#issuecomment-282943164, or mute the thread https://github.com/notifications/unsubscribe-auth/AAm4bxfzC63qzEo876W7JpGPwl-jeLPWks5rg6qigaJpZM4MN5Ke.

This seems to make sense given the additional functions that we have now that require some of the same configuration options. What's the easiest way to ensure continuity for current module users? I'd like to allow everyone who has Speakeasy in their package.json to continue using it without having to move to another legacy package.
I could potentially see this as a) a separate module that relies on, and is a wrapper of Speakeasy, or b) that Speakeasy is a wrapper for. This is mainly because I'd prefer not to make a huge API change to an existing project that completely changes its architecture – that seems like a separate project to me. But I could be convinced otherwise. Thoughts?

Could use the name Passcode for the new API and have Speakeasy implement a compatibility layer on top of the new API. Not that many people use Passcode: https://www.npmjs.com/package/passcode

On Feb 28, 2017, at 12:01 AM, Mark Bao<EMAIL_ADDRESS>wrote:
This seems to make sense given the additional functions that we have now that require some of the same configuration options. What's the easiest way to ensure continuity for current module users? I'd like to allow everyone who has Speakeasy in their package.json to continue using it without having to move to another legacy package.
I could potentially see this as a) a separate module that relies on, and is a wrapper of Speakeasy, or b) that Speakeasy is a wrapper for. This is mainly because I'd prefer not to make a huge API change to an existing project that completely changes its architecture – that seems like a separate project to me. But I could be convinced otherwise. Thoughts?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/speakeasyjs/speakeasy/issues/82#issuecomment-282969445, or mute the thread https://github.com/notifications/unsubscribe-auth/AAm4b4-mHP2jjvOohiWxGHYa7p1QzYfGks5rg9RWgaJpZM4MN5Ke.

That could work, as long as we make sure the functions, especially verify, absolutely break (i.e. never return truthy) if someone inadvertently updates to passcode 2.x while using code written for 1.x. Or we can see if there are other names that could work.

libotp

On Feb 28, 2017, at 12:14 AM, Mark Bao<EMAIL_ADDRESS>wrote:
That could work, as long as we make sure the functions, especially verify, absolutely break (i.e. never return truthy) if someone inadvertently updates to passcode 2.x while using code written for 1.x. Or we can see if there are other names that could work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/speakeasyjs/speakeasy/issues/82#issuecomment-282971950, or mute the thread https://github.com/notifications/unsubscribe-auth/AAm4b5aJWRjdPq_jHhm_OmNyttTvzxX0ks5rg9dqgaJpZM4MN5Ke.

I am not proficient in OO JS and not sure what inheritance pattern.
I can look it up.
I think a new module should be used for version 3.0.
So speakeasy should be used for v1 and v2 only.

Pure JS prototypical inheritance is tricky. Most people are unfamiliar with it. ES6 introduces the more traditional class inheritance pattern. We can take advantage of Babel to write the new module using ES6.
I agree that a new module would be most appropriate. For lack of a better name, I'll give it the code name of libotp.

On Feb 28, 2017, at 4:10 AM, Connie Leung<EMAIL_ADDRESS>wrote:
I am not proficient in OO JS and not sure what inheritance pattern.
I can look it up.
I think a new module should be used for version 3.0.
So speakeasy should be used for v1 and v2 only.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@railsstudent Would you be interested in taking the lead for libotp?

@mikepb Would prefer if you took the lead since it seems like you have a sense of what an ES6/Babel/class inheritance-based implementation would look like

@mikepb  If use ES6/Babel/class, tools such as webpack/gulp may be need3ed for trancompilation. That should be consider for build process.


difference between EDI INSERT and GUI INSERT?

Hi
I am asking this because it is much easier for me to remain in EDI INSERT while writing in Word and switch to other apps etc., than to need to switch to GUI INSERT every time I am doing something outside Word.
Thanks
Gil

Thanks again.
GUI Insert
There is only change_to_insert to transition it and the function generates left click event.
Edi Insert
There is a lot of ways to transition it like below.

change_to_edi_insert (i)
change_to_edi_BOLinsert (I)
change_to_edi_bkinsert (a)
change_to_edi_EOLinsert (A)
change_to_edi_nlinsert_below (o)
change_to_edi_nlinsert_above (O)

Both mode passes all inputs to Windows. In this points, there are no differences.
By the way, there is solution for your concern. Please try Dedicate To One Window option.
You can enable it in Preferences > Settings >  Options > Dedicate To One Window.
You can target one window. If then, transition to Edi Normal when you select the window and change to GUI Insert outside it automatically. Please try it.

I will! Thanks!
I need to think some more about the identity between the two modes, maybe worth collapsing to one (for greater clarity, ease of use, etc.)? But let me try some more and make suggestions.
This tool is amazing as it is.

So I played around a bit with EDI Insert, which is very useful for typing -- I could not use GUI Insert for typing (which is obvious -- it is not meant for that clearly). But is there anything with GUI Insert can do which EDI Insert cannot?

But is there anything with GUI Insert can do which EDI Insert cannot?

No. There are no differences in both states themselves. In other words, they are a state only passing inputs to Windows. The differences are just transition functions.
Why is there the same mode? It's because of using as preset-groups depending on the situation. For example, we use <Esc> in many popular game applications. If there are only Edi Insert and start-up with Edi Insert, the <Esc> typing is reacted by change_to_edi_normal. In the end, we won't be able to input with the keyboard unintentionally. Thus, GUI Insert is needed as a resident mode.
Do you have another solution?

Yes, I had exactly this situation working in .... guess what? .... Vim!! Hitting Esc to switch modes inside Vim suddenly took me from EDI Insert to EDI Normal .... which is not good. I will now try using GUI Insert and GUI Normal instead....
Thanks!

Please try Suppress for Vim option!!

So this exactly handles the situation of EDI Insert in Vim, correct?

In any mode, if you select a window that includes vim in the program name (e.g. vim.exe, gvim.exe, nvim.exe), it will automatically change to GUI Insert. However, automatic return from GUI Insert to Edi Insert is not implemented yet. The implementation is possible.

I would need a bit more practice time to check this. But I think it might be confusing to create a "shortcut" from GUI Insert to Edi Normal just for Vim application....I will try to give feedback after working some more with the "Suppress for Vim" option on.


perf: skip es-module-lexer if have no dynamic imports

Description
Do a quick regex check for dynamic imports before using es-module-lexer to parse for dynamic import vars.
Additional context

I'm testing with https://github.com/sapphi-red/performance-compare, but it doesn't yield much improvements because React's HMR code has this: cc @ArnaudBarre
import(/* @vite-ignore */ import.meta.url).then((currentExports) => {
  RefreshRuntime.registerExportsForReactRefresh(__SOURCE__, currentExports);
  import.meta.hot.accept((nextExports) => {
    if (!nextExports) return;
    const invalidateMessage = RefreshRuntime.validateRefreshBoundaryAndEnqueueUpdate(currentExports, nextExports);
    if (invalidateMessage) import.meta.hot.invalidate(invalidateMessage);
  });
});

But for other cases, less files will be transformed with es-module-lexer now, which should make things faster.

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[ ] Documentation update
[x] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the PR Title Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

Sadly this is a required runtime check that is required to solve all the HMR edge cases for React.
This regex could be done by the React plugin before injecting the hmr code and if no match also inject something like // __vite_safe_skip_dynamic_import

Sadly this is a required runtime check that is required to solve all the HMR edge cases for React.
This regex could be done by the React plugin before injecting the hmr code and if no match also inject something like // __vite_safe_skip_dynamic_import

That could work. Or maybe the react plugin could use a virtual module to expose the dynamic import too 🤔
import { __hmr_import } from 'virtual:react-hmr-utils'

__hmr_import(import.meta.url).then((currentExports) => {
// ...

I think either ways it would be nice to take advantage of the optimization.

Yeah I can even put this small wrapper in the RefreshRuntime modules. I will try it


I want to knwo can this model estimate the real distance?

Can I estimate the real distance after prediction? Can I get like some depth information besides color?
Thank U!

@sjwhhhi you run our code an access the output.
@oneTimePad you are correct. The focal length can be found in the NYU-Depth dataset camera calibration files. Here: https://cs.nyu.edu/~silberman/datasets/nyu_depth_v2.html


Add instructions in the README.md on how to start the frontend

is someone already working on the issue??
i would like to do it

Yes, you can @Zaker237


Add link title support for commonmark

Bug/issue #, if applicable: Close #67
Summary
Add link title support for CommonMark
Dependencies
None
Testing
See new test case in LinkTests.swift
Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[x] Added tests
[x] Ran the ./bin/test script and it succeeded
[x] Updated documentation if necessary

@swift-ci please test

This seems good to me but I'm not familiar enough with the details to know the potential pitfalls.

Got it. Thanks for your review. Maybe we can wait for @QuietMisdreavus 's review suggestion.

This seems good to me but I'm not familiar enough with the details to know the potential pitfalls.

Got it. Thanks for your review. Maybe we can wait for @QuietMisdreavus 's review suggestion.

I would be fine with merging this and addressing any concerns from @QuietMisdreavus later, if there are any.

@swift-ci please test

@swift-ci please test

This seems good to me but I'm not familiar enough with the details to know the potential pitfalls.

Got it. Thanks for your review. Maybe we can wait for @QuietMisdreavus 's review suggestion.

I would be fine with merging this and addressing any concerns from @QuietMisdreavus later, if there are any.

Ping @QuietMisdreavus

It looks like this is breaking tests in Swift-DocC: https://ci.swift.org/job/oss-swift-package-amazon-linux-2/2319/consoleText
@Kyle-Ye Are you able to take a look?

I will revert this change to unblock Swift toolchains from being built and we can land this change back alongside the Swift-DocC changes once they're ready.

It looks like this is breaking tests in Swift-DocC: ci.swift.org/job/oss-swift-package-amazon-linux-2/2319/consoleText
@Kyle-Ye Are you able to take a look?

The breaking is expected. Sorry I forgot to update the test case for swift-docc.
Here is the fix PR: https://github.com/apple/swift-docc/pull/708


chore(dataflow): delete {unused, insecure} sample

This (seemingly unused) sample uses a vulnerable version of log4j.
cc @davidcavazos

@ace-n Thank you! 🙏


[WIP] Codecov Integration

codecov.io is a service which provides an easy way to view coverage results.  While we already use coveralls.io there's a few things which codecov.io offers that can improve on our experience with code coverage:

It works on Windows, Mac and Linux.
It easily integrates with both Travis and AppVeyor.
Coverage reports are commit dependent rather than build dependent.
Codecov will make one comment in a review and update it rather than making several.
The results are shown faster and the interface is cleaner.

Current coverage is 72.09%

Branch #354 has no coverage reports uploaded yet.

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

Powered by Codecov. Updated on successful CI builds.

@guidow, PTAL.  I've been using this on another project, pywincffi, for a while and overall it's a much better service.


api: adds request/response attributes ExtProc options

What type of PR is this?
This PR adds obvious config options for the extproc: requestAttributes and responseAttributes.
What this PR does / why we need it:
While I am developing a custom WAF external processing, I want to be able to
access attributes information while processing the requests listed below:
https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/advanced/attributes#arch-overview-attributes
Which issue(s) this PR fixes:
ref: https://github.com/envoyproxy/gateway/issues/3170

sorry I won't need one after I had an offline chat


Automatic interval for seamless mode

It would be nice to enable automatic interval calculation for data lists with only one timestamp information. Example:
sample 1: features.type.time = '2019-07-01 19:20:27+02:00'
sample 2: features.type.time = '2019-07-01 19:30:27+02:00'
sample 3: features.type.time = '2019-07-01 19:50:27+02:00'
The respective coordinates for sample 1 should be kept visible until sample 2 appears (=10 minutes), whereas sample 2 should be drawn for 20 minutes. Right now I see no way to accomplish that without writing start and end value into the geojsonp file in a preprocessing step. There is no way to access the next feature element within getInterval().

As mentioned in #138 I'd like to show multiple data-points thats starts and end within a single day.
Example for a json-feature:
{ "type": "Feature", "properties": { "start": "2019-01-01", "end": "2019-01-01", "datum": "Dienstag, 1. Januar 2019", "Tatort": "Erkelenz", "Deliktsgruppe": "Volksverhetzungsdelikt" }, "geometry": { "type": "Point", "coordinates": [ 6.31559, 51.07967 ] } }
Adding an automatic one-day-interval for the playback-function would solve my problem.


modify GPU code to use given thread number

to use generated code from another language.

dup #11


Issue #95 Seperate "set locale" and "load current locale" sagas

This tidies up the locale sagas implementation and fixes an issue on master where we get stuck on the loading screen (because the reducer currently handles the wrong action on initial startup (before a users locale preference has been persisted to database).

@bensinjin @rasmus-storjohann-PG would be great to get this merged quickly as it fixes a bug in master. The changes are pretty minor.

Looks fine to me.

I've also noticed in the app that changing the locale from e.g. English to Chinese (i.e. without changing the RTL state) also is asynchronous, even though the app reboot is not needed. Would it be possible or easy to make that change run faster?

This is asynchronous as the user's preference needs to be persisted to storage (an asynchronous action).
But you are right, in cases where layout change (reload) isn't required, we don't need to block the (re)render while the preference is persisted. It currently does block for consistency/simplicity but it shouldn't be difficult to make the saga / reducer logic a bit smarter.

Ok, I have partially addressed error handling by making sure we store any potential error messages in the reducer. While not functional, this at least provides some justification for the existence of the message property in the async failure actions (and associated tests). We can build upon this in: #98 when the time is right.
I have created #101 with an explanation of how we can improve the language switching experience if toggling between languages that are have the same layout/text direction. I have also pushed a rough implementation to feature/101-improve_switch_locale.
Finally, I have added the initial implementation of a 'fallback locale' to LocaleManager this lets our saga handle the (non-error) case where loadCurrentLocale() returns null without treating it like an error has occurred. It will also allow me to address feedback in #59 around leaking locale concerns into unrelated test builders and such.
So, can we please merge this so I can get on to finalizing #59? :)


Improve wording regarding E5 trial + configuration enabled

[Improve the wording to make it clear that configurations and controls activated during an E5 trial will be retained if the customer chooses to commit to a minimum of 12 months of contract upon the trial's conclusion. This is currently unclear, and many customers have questions about this scenario if they decide to continue with E5 after the trial period.]

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

ID: 9487dd6d-c534-ee70-0f59-00fcd20c0c93
Version Independent ID: 69908dd8-ae60-0697-0b1c-0934f2ad2568
Content: Try or buy a Microsoft 365 for business subscription
Content Source: microsoft-365/commerce/try-or-buy-microsoft-365.md
Service: microsoft-365-business
GitHub Login: @cmcatee-MSFT
Microsoft Alias: cmcatee

@cmcatee-MSFT Please help us in resolving this issue. Thanks

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


Prevent uninstalling bundler on newer rails

Welcome back @JonRowe!
CI failure seems unrelated. LGTM

What the ...
$ script/downgrade_bundler_on_old_rails
Warning dowgrading to older version of Bundler
Removing bundler
Successfully uninstalled bundler-2.0.2
ERROR:  While executing gem ... (Gem::InstallError)
    gem "bundler" cannot be uninstalled because it is a default gem
The command "script/downgrade_bundler_on_old_rails" failed and exited with 1 during .

https://travis-ci.org/rspec/rspec-rails/jobs/574205506
It is inconsistent.

I also noticed we should use 2.4.6 instead of 2.4.4.
Locally with the script I have weird results:
$ script/update_rubygems_and_install_bundler
....
Fetching bundler-2.0.2.gem
Successfully installed bundler-2.0.2
Parsing documentation for bundler-2.0.2
....
1 gem installed

$ script/downgrade_bundler_on_old_rails
Warning dowgrading to older version of Bundler    <<<<< typo? :)
Removing bundler
Successfully uninstalled bundler-2.0.2
Gem 'bundler' is not installed    <<<<< This is the difference. The CI say "ERROR:  While executing gem ... (Gem::InstallError)"
Fetching bundler-1.17.3.gem
Successfully installed bundler-1.17.3
Parsing documentation for bundler-1.17.3
Installing ri documentation for bundler-1.17.3
Done installing documentation for bundler after 4 seconds
1 gem installed

I'm gonna try to run the Travis build locally.

Also the warning is bizarre but yes we raise an Gem::InstallError when we uninstall https://github.com/rubygems/rubygems/blob/0ff39e76462b5f27fe0fd82a3f7b397a4becb538/lib/rubygems/uninstaller.rb#L108-L110
I have no idea why we see a succeed than a failure.

Maybe we should look into Travis instead. Their is few solution here https://github.com/travis-ci/travis-ci/issues/8717

Good catch with Ruby 2.3. I didn't saw it was even mentioned in the comment. 🤞

Thanks a lot Jon 🙏


Any plan to write a keystore encoder ?

http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/8u40-b25/sun/security/provider/JavaKeyStore.java?av=f#473
It's useful to replace the keytool command when we don't want to install JDK in the server.

Hi, @yougg, I am on vacation now. Let's talk about it on 20 of July.

Hi, @yougg,
Yes, it would be great to have keytool replacement but at the moment I am only interested in decoder. If you have interest in encoding part I can implement encoder as library feature without CLI part. Do you have interest?

Hi, @yougg,
I have implemented encoder d310e13775050e63ac7b314d332b795824c0411d
You are welcome to use it.

:+1:
Thanks very much.
i'll try to use it.

@yougg You are welcome.
PS. Please, take into account that v1.0.0 have been released recently with integrity check and breaking changes in the api.

@pavel-v-chernykh thanks for the notice, i'll pull the latest update.

one more question.
how to construct a valid keystore.KeyStore in go?
i have only pem encoded data now.

Hi, @yougg
Generate private key using openssl in pem format
openssl genrsa -out privkey.pem 1024

Read generated pem encoded private key in go and create KeyStore.
Take into account that you can work with KeyStore like with ordinary go map.
package main

import (
	"crypto/x509"
	"encoding/pem"
	"github.com/pavel-v-chernykh/keystore-go"
	"io/ioutil"
	"log"
	"os"
	"time"
)

func main() {
	pke, err := ioutil.ReadFile("./privkey.pem")
	if err != nil {
		log.Fatal(err)
	}
	p, _ := pem.Decode(pke)
	if p == nil {
		log.Fatal("Should have at least one pem block")
	}
	if p.Type != "RSA PRIVATE KEY" {
		log.Fatal("Should be a rsa private key")
	}

	keyStore := keystore.KeyStore{
		"alias": &keystore.PrivateKeyEntry{
			Entry: keystore.Entry{
				CreationDate: time.Now(),
			},
			PrivKey: p.Bytes,
		},
	}

	kfo, err := os.Create("keystore.jks")
	defer kfo.Close()

	if err != nil {
		log.Fatal(err)
	}

	err = keystore.Encode(kfo, keyStore, "password")
	if err != nil {
		log.Fatal(err)
	}

	kfi, err := os.Open("keystore.jks")
	defer kfi.Close()
	ks, err := keystore.Decode(kfi, "password")
	if err != nil {
		log.Fatal(err)
	}

	entry := ks["alias"]
	privKeyEntry := entry.(*keystore.PrivateKeyEntry)
	key, err := x509.ParsePKCS1PrivateKey(privKeyEntry.PrivKey)
	if err != nil {
		log.Fatal(err)
	}

	log.Printf("%v", key)
}

Hope it helps.

Hey, @yougg does it help?

Hi @pavel-v-chernykh , sorry for late feedback, i was busy in past week.
Thanks for your example code, and i have an another question.
i generate a cert in go, i want to know which way shoud i put the bytes of cert into keystore?
certBytes, _ := x509.CreateCertificate(......)

// 1.  use cert bytes directly
cert := keystore.Certificate{
	Type:    "CERTIFICATE",
	Content: certBytes,
}

// 2. use pem format bytes
cert := keystore.Certificate{
	Type:    "CERTIFICATE",
	Content: pem.EncodeToMemory(&pem.Block{Type: "CERTIFICATE", Bytes: certBytes}),
}

Hi, @yougg, you are right, Certificate.Content is X.509 DER-encoded certificate.
Take into account that you should specify valid Certificate.Type recognizable by keystool. In your case it should be "X509"


implemented feature to set static ip instead of dhcp

Added optional setting to set static ip address

Thanks @munzili


Add Code Review to Contributing.md

Add a "Code Reviews" section on CONTRIBUTING.md
Put the following under the header:

If you can, please look at open PRs and review them. Give feedback and help us merge these PRs much faster! If you don't know how, Github has some great information on how to review a Pull Request.

Link the header in the Contributing.md Table of Contents
Add a link to the README.md file: Review Pull Requests under "Contributing Section"

@thinkingserious: PR: https://github.com/sendgrid/sendgrid-nodejs/pull/595


Updated REPET to 2.5, RepBase to 2017-01-27

Still get a bunch of the following errors, but now the image builds:
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:

Thanks Johannes! Future internet science!


[Feature] Get space/size of file as entity property

Is your feature request related to a problem? Please describe.
When need to getting size of the file firstly we need to get entity file. And sometimes it returns null and also delay  occurs caused by await.
Describe the solution you'd like
Maybe we can access directly the space property of mentioned entity's file. (e.g entity.space or entity.storage)

Size/disk space is not a general abstraction on all platforms, especially when it involves sandbox, scoped storage, etc.
We can obtain the total size of an asset only when an actual I/O method is called.


$file or $files null after first use and upload method called multiple times

I am having an issue where I can always successfully upload one or multiple the first time.
The next time I try, it calls the upload method 2 times.  One time the file is null and the second time results is no files being sent to the server.  If I keep trying, it will call the upload method 1 time for each upload attempt.
Is it keeping a reference somewhere?
Here's my code:
Add Document(s)

uploadDocument(file): void {
                this.uploadService.upload({
                    url: "[my api url]",
                    data: { file: file }
                })
                    .then((response) => {
                        this.documents.splice(0, 0, <Models.Document>{ id: <number>response.data, name: file.name }));
        }

I have no problems with drag and drop and I can also use a file input with a separate upload button.  If I try to use the ngf-select on the input file to immediately upload, it also has the same issue.

Check for null. When you click on the select it will empty previous files so that's why you see null value for the model, so if you cancel the popup the value would stay null.

The problem was happening after successfully uploading file(s), not when canceling the dialog.  I was able to work around the behavior by having an ng-if on the button element that does not show the button when uploading.  Then when the upload is finished, the button is displayed.
I think there is a scope/reference problem because my workaround is essentially removing the button after each uploading and replacing it with a new one.  It is worth noting that the app has many ng-includes and is using controller as.  If time permits, I will put together a jsfiddle to repro.
From: Danial Farid<EMAIL_ADDRESS>Sent: Sunday, December 27, 2015 3:40 PM
To: danialfarid/ng-file-upload<EMAIL_ADDRESS>Cc: John Powell<EMAIL_ADDRESS>Subject: Re: [ng-file-upload] $file or $files null after first use and upload method called multiple times (#1232)
Check for null. When you click on the select it will empty previous files so that's why you see null value for the model, so if you cancel the popup the value would stay null.
—
Reply to this email directly or view it on GitHubhttps://github.com/danialfarid/ng-file-upload/issues/1232#issuecomment-167440159.

So what the problem is? Can you describe the steps to reproduce?

I am facing the same issue.
1- I upload multiple pictures.
2- retry, then I see my upload methods is called 2 times this time. One with null and the other one with my pictures.
So two uploads, my methods is called 3 times.

@m2omou read https://github.com/danialfarid/ng-file-upload/issues/1232#issuecomment-167440159

@danialfarid Yes this is what I am doing currently to avoid that :)

I'm seeing the same issue, but only on firefox, on Chrome it works fine.
Essentially you select a file, and I can see the file is loaded as I used the ngf-thumbnail, but then if I click on the button to select another file, this time the file model will be null.

@darkmavis1980 that's expected when you click old file will be cleared so the model will be set to null.

Yes, but when you select a new file, it should populate the  model with the new data no?

yes it would.

Unfortunately it's happening but only on Chrome, on Firefox it stays null.
I'm using the latest version of the library 11.2.3, I tried to go back to 10.1.x to see if it was making any different, but nothing, it just doesn't work on Firefox (I'm using version 46.0a2, but it's the same with previous versions like 44)

Create a jsfiddle with steps to reproduce.


New Contribution

Contributor: vhickybhorb
SSH Public key: SHA256:ZuAuN//HRs5JEq3YaQ/Z+HabOJAmhNWJuvK1g+Vhj4s
Attestation: [any form of attestation for contribution (e.g., signature) - Optional]

i am contributing now


Schedule on a specific day from() to ()

I would like to know if it's possible to use the Scheduler module to schedule a task that starts at a certain time in a day let's say at('08:15:00'), and then I would like to run that job hourly on the same day till ('16:30:00')
Regards!

As far, as I know there is no built-in way to do it, but it's not hard to implement.
Here is the code:
import schedule
import time

class YourJob:
    job = None

    @staticmethod
    def start():
        YourJob.payload() # Execute exactly at 08:15:00
        YourJob.job = schedule.every().hour.do(YourJob.payload)

    @staticmethod
    def stop():
        if YourJob.job is not None:
            schedule.cancel_job(YourJob.job)

    @staticmethod
    def payload():
        # Here is your code for job
        print("Hello world")

schedule.every().day.at("08:15:00").do(YourJob.start)
schedule.every().day.at("16:30:00").do(YourJob.stop)

while True:
    schedule.run_pending()
    time.sleep(1)

Thanks for the reply!
I did the same thing but instead of using job i'm tagging every task with a unique tag, then i'm using the built-in cancel method to cancel that specific at task at a certain time!


C:/users/******/_bazel_quickride/obpmm2rb/external/double_conversion/BUILD.bazel:7:1: C++ compilation of rule '@double_conversion//:double-conversion' failed (Exit -1)

I stuck with this problem i had installed cmake also but iam not able to build the the tensarflow demo application.
C:/users/*****/_bazel_quickride/obpmm2rb/external/double_conversion/BUILD.bazel:7:1: C++ compilation of rule '@double_conversion//:double-conversion' failed (Exit -1)

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce
Mobile device

OS Platform and Distribution -  Windows
TensorFlow installed from -  https://github.com/tensorflow/
TensorFlow version - I dint know exactly which version i took from the git hub latest pull.
Bazel version - I think  it latest
CUDA/cuDNN version - NA
GPU model and memory - NA
Exact command to reproduce - Iam building the APK in which readme file sepecified in tensarflow/android.
Mobile device - One Plus 3, Samsung J7, Moto g

Nagging Assignee @tatianashp: It has been 15 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

You may be compiling with GCC 5 or later. I faced the same issue due to this and got it fixed by passing --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0" as an argument to the bazel build command. It is required for GCC 5 or later as mentioned under GPU Support. The other alternative is to build with GCC 4.8.

Nagging Assignee @tatianashp: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatianashp: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatianashp: It has been 45 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


Plotting values

I am unable to use the plot package when using malt. The following code fails to plot the function square:
(define (square x) (* x x))
(plot:plot (plot:function square  0 2 #:y-min 0 #:y-max 4)

The code above shows a window with the correct x- and y-axis but the function plot itself is missing.
Note that I dealt with collisions by requiring a (prefix-in plot: plot).
It would be nice to be able to plot easily some of the results in the book, and in general, when using this library for machine learning.

Noticed that this issue has already been raised.


Fix ref.update() to apply all paths.

.update() was not passing the accumulator value inside .reduce() so only the last change in the
.update() object would apply.

Seems alright by me. Nice work @esprehn !


Fixes incorrect link syntax in README file.

There were two cases where the square bracket ] id not touch the parentheses (.
This MR fixes that.

Merged, thanks!


Customize Dropdown

Issue Type

[x] Clearly didn't understand how to do it

Description
I'm playing with boostrap-styled but I tried to use the theme props on the dropdown component <Dropdown theme={{}}/> and adding some style like in the documentation :
<Dropdown
    theme={{
         "$component-active-bg": "#fff",
    }}
>

But it doesn't works... Moreover, the caret disapear!
I tried to look inside of the defaultProps and I found a theme props, soooo I tired a dirty approach :
<Dropdown
  theme={Object.assign({}, Dropdown.defaultProps.theme, {
      "$component-active-bg": "#fff",
      // "$btn-padding-x": "2rem"
  })}
>

But nothing works.
The documentation says that I need a shape type on the theme prop with the full list of parameters we can manipulate.
I clearly doing something wrong. I hope someone could show me how I can customize a Dropdown without customizing them all! (Like having two dropdown on the same page without having styling conflict)
Steps to reproduce
<Dropdown
    theme={{
         "$component-active-bg": "#fff",
    }}
>

Versions

Node/NPM: 8.10
OS: OSX
bootstrap-styled: ^3.0.6

Thx a lot ! 😄
Update :
It works well on Button right now, but not on Dropdown...

The problem is that if you want to give just 1 theme variable, then the whole default props.theme will be overridden by your value.
Currently, we are not merging the two as it may cause additional troubleshoot for the different use case.
If you want to generate a full bootstrap theme just by editing a few variables, I suggest you to use a <BootstrapProvider />.
This one use makeTheme function and will calculate a full default bootstrap styled theme.
Another way around is to use the makeTheme when configuring your dropdown:
import { makeTheme } from 'bootstrap-styled/lib/theme';

<Dropdown
    theme={makeTheme({
         "$component-active-bg": "#fff",
    })}
/>

@kopax   I'll try your solution right now!
I'm using it! It's a Next.js app, the BoostrapProvider is called on the _app.js 😄
Everything should be setup correctly, I was having some difficulties for the Dropdown customization.
Thx for answering, I really appreciate it!

Oooook !
In fact, I wanted to customize the button, your code is perfect for the popup!
Using the same thing for the DropdownToggle allow me customize it.
It's closed, thanks you a lot for helping me understanding this aspect of boostrap-styled 😄


Corrections after unfinished style1 conversion

finishing changes from PR #3805

Before:

After:

Before:

After:

Before:

After:

@epwinchell @dclarizio

@miq-bot add-label ui

@h-kataria can you please look at these changes, I want to make sure we don't lose the spinners turning on/off with these changes to the selects.  Thx, Dan

@romanblanco miqSelectPickerEvent JS function currently does not support turning spinner on/off. You will need to change that method to support that, initially that method was added for a select that didn't need to turn spinner on/off. You can change that function to handle an incoming hash and pass that hash onto miqJqueryRequest function that handles the spinner based upon the incoming options. See suggested changes below:
function miqSelectPickerEvent(element, url, options){
  $('#' + element).on('change', function(){
    var selected = $('#' + element).val();
    options = options || {};
    miqJqueryRequest(url + '?' + element + '=' + selected, options);
    return true;
  });
}

after changing the function you can change your views to pass in options to miqSelectPickerEvent, for the select that currently sets both "data-miq_sparkle_on"  => true, "data-miq_sparkle_off" => true change like this:
miqSelectPickerEvent('miq_action_type', '#{url}', {beforeSend: true, complete: true})

for the select that currently sets only "data-miq_sparkle_on"  => true change like this:
miqSelectPickerEvent('miq_action_type', '#{url}', {beforeSend: true})

let me know if you have questions

@h-kataria @dclarizio updated PR.

@dclarizio Looks good