Dev branch tests failing

I wanted to make a new riot-route release but it seems that the tests keep failing in the dev branch. @cognitom any clue about what's the issue? The master branch does not have any problem

@GianlucaGuarini see #56

fixed now and a new riot-route release has been published. Thank you @gdub22


a good result, but does not approve of tasks

Challenge Where do I belong has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

function getIndexToIns(arr, num) {
  // Find my place in this sorted array.
  var index;
  function compare(a, b){
    return a - b;
  }
  var sort = arr.sort(compare);
  for (var i in sort){
    if(num <= sort[i]){
        index = i;
        return index;
    }
  }
}

getIndexToIns([3, 10, 5], 3);

@Robson3991 I believe the last test is not being met as nothing is returned. As for the other tests, the issue has to do with your return being a string and not a number. Please consider asking for help in the chat room by clicking the Help button on the challenge.


TQDM Progress Bar doesn't work with Native Notebooks

It's outputting it all and not overwriting per step.

Validated


AttributeError: module 'tensorflow_hub.tf_v1' has no attribute 'estimator'

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

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): MacOS Mojave 10.14.3 (18D109)
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: NA
TensorFlow installed from (source or binary): binary
TensorFlow version: 1.13.1
Python version:  3.7.2
Installed using virtualenv? pip? conda?: virtualenv
Bazel version (if compiling from source): NA
GCC/Compiler version (if compiling from source): NA
CUDA/cuDNN version:
GPU model and memory: Intel Iris Plus Graphics 640 1536 MB

Describe the problem
Provide the exact sequence of commands / steps that you executed before running into the problem
I just installed Tensorflow-hub and Tensorflow as described in the Tensorflow installation instructions. When I run the following code:
`import tensorflow as tf
import pandas as pd
import tensorflow_hub as hub
import numpy as np
import os, sys
from sklearn.metrics.pairwise import cosine_similarity
get cosine similairty matrix
def cos_sim(input_vectors):
similarity = cosine_similarity(input_vectors)
return similarity
get topN similar sentences
def get_top_similar(sentence, sentence_list, similarity_matrix, topN):
# find the index of sentence in list
index = sentence_list.index(sentence)
# get the corresponding row in similarity matrix
similarity_row = np.array(similarity_matrix[index, :])
# get the indices of top similar
indices = similarity_row.argsort()[-topN:][::-1]
return [sentence_list[i] for i in indices]
module_url = "https://tfhub.dev/google/universal-sentence-encoder/2" #@param ["https://tfhub.dev/google/universal-sentence-encoder/2", "https://tfhub.dev/google/universal-sentence-encoder-large/3"]
Import the Universal Sentence Encoder's TF Hub module
embed = hub.Module(module_url)
Reduce logging output.
tf.logging.set_verbosity(tf.logging.ERROR)
sentences_list = [
# phone related
'My phone is slow',
'My phone is not good',
'I need to change my phone. It does not work well',
'How is your phone?',
# age related
'What is your age?',
'How old are you?',
'I am 10 years old',

# weather related
'It is raining today',
'Would it be sunny tomorrow?',
'The summers are here.'

]
with tf.Session() as session:
session.run([tf.global_variables_initializer(), tf.tables_initializer()])
sentences_embeddings = session.run(embed(sentences_list))
similarity_matrix = cos_sim(np.array(sentences_embeddings))
sentence = "It is raining today"
top_similar = get_top_similar(sentence, sentences_list, similarity_matrix, 3)
printing the list using loop
for x in range(len(top_similar)):
print(top_similar[x])
Then I get the following issue after running it:
Traceback (most recent call last):
File "/Users/svea/PycharmProjects/untitled/main.py", line 3, in
import tensorflow_hub as hub
File "/Users/svea/PycharmProjects/untitled/venv/lib/python3.7/site-packages/tensorflow_hub/init.py", line 30, in
from tensorflow_hub.estimator import LatestModuleExporter
File "/Users/svea/PycharmProjects/untitled/venv/lib/python3.7/site-packages/tensorflow_hub/estimator.py", line 63, in
class LatestModuleExporter(tf_v1.estimator.Exporter):
AttributeError: module 'tensorflow_hub.tf_v1' has no attribute 'estimator'
This is my first work with Tensorflow and I could not find any solutions. Thank you for any help!
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

@sveah Please reference this issue link. As this is related to tensorflow hub request you to please post this in TF Hub repo link. Hence this issue will be closed.


Add an instruction to run Android emulator

I described the Bash task to launch the emulator within VSTS build pipeline

@dsame Thank you for your contribution. We have had an issue with the public vsts-docs repo, but they are resolved now and I am incorporating the outstanding changes. For some PRs (such as this one) that were opened after the issue began, I am manually incorporating the changes in our private repo, with a link to this PR in the commit message. Any new PRs will be merged in the regular fashion. Thank you again for your contribution.


Refactor app/Build.gn to enable depending on individual components

Description
For the src/app/Build.gn, every source file was in the same static library which made it impossible to depend on individual components.
The ICDManager is built with apps but needs to depend on the InteractionModelEngine which it couldn't do under the previous structure. See #31563
PR splits the source files into several blocks to enable depending on individuals components.
Tests
PR doesn't change any behavior; Using CI to validate everything can still build

ggg


IMU data acquire

Hello guys,
I'm wondering how to use StreamRecorder to get IMU data.
After tried some ways on internet, it still failed, can anyone help me?
English is not my mother tongue so if there's any inappropriate word or grammar please ignore it, thanks.
Best Regards.

I have the same issue too. The documentation briefly says that the HoloLens has capabilities to record IMU data, and several papers have mentioned it in their methodologies (e.g. https://academic.oup.com/milmed/article/188/Supplement_6/92/7388239), but there are no reproducible instructions. I understand that the HoloLens is discontinued, but would appreciate some guidance from anyone who has faced this issue before.


[google] chef-provisioning-fog doesn't delete the disk in GCE

It seems when i run the typical delete, the disk isn't removed.
14:59:58 chef-provisioning-fog > (master) bundle exec chef-client -z destroy.rb
[2016-02-18T15:00:00-06:00] INFO: Auto-discovered chef repository at /Users/jasghar/repo
[2016-02-18T15:00:01-06:00] INFO: Started chef-zero at chefzero://localhost:8889 with repository at /Users/jasghar/repo
  One version per cookbook

[2016-02-18T15:00:01-06:00] INFO: Forking chef instance to converge...
Starting Chef Client, version 12.7.2
[2016-02-18T15:00:01-06:00] INFO: *** Chef 12.7.2 ***
[2016-02-18T15:00:01-06:00] INFO: Chef-client pid: 91808
[2016-02-18T15:00:05-06:00] INFO: Run List is []
[2016-02-18T15:00:05-06:00] INFO: Run List expands to []
[2016-02-18T15:00:05-06:00] INFO: Starting Chef Run for jjasghar
[2016-02-18T15:00:05-06:00] INFO: Running start handlers
[2016-02-18T15:00:05-06:00] INFO: Start handlers complete.
[2016-02-18T15:00:05-06:00] INFO: HTTP Request Returned 404 Not Found: Object not found:
resolving cookbooks for run list: []
[2016-02-18T15:00:06-06:00] INFO: Loading cookbooks []
Synchronizing Cookbooks:
Compiling Cookbooks...
[2016-02-18T15:00:06-06:00] WARN: Node jjasghar has an empty run list.

Starting Chef Client, version 12.7.2
[2016-02-18T15:03:40-06:00] INFO: *** Chef 12.7.2 ***
[2016-02-18T15:03:40-06:00] INFO: Chef-client pid: 91924
[2016-02-18T15:03:45-06:00] INFO: Run List is []
[2016-02-18T15:03:45-06:00] INFO: Run List expands to []
[2016-02-18T15:03:45-06:00] INFO: Starting Chef Run for jjasghar
[2016-02-18T15:03:45-06:00] INFO: Running start handlers
[2016-02-18T15:03:45-06:00] INFO: Start handlers complete.
[2016-02-18T15:03:45-06:00] INFO: HTTP Request Returned 404 Not Found: Object not found:
resolving cookbooks for run list: []
[2016-02-18T15:03:45-06:00] INFO: Loading cookbooks []
Synchronizing Cookbooks:
Compiling Cookbooks...
[2016-02-18T15:03:45-06:00] WARN: Node jjasghar has an empty run list.
Converging 1 resources
Recipe: @recipe_files::/Users/jasghar/repo/chef-provisioning-fog/google.rb
  * machine[myserver] action converge[2016-02-18T15:03:45-06:00] INFO: Processing machine[myserver] action converge (@recipe_files::/Users/jasghar/repo/chef-provisioning-fog/google.rb line 14)
[2016-02-18T15:03:45-06:00] INFO: HTTP Request Returned 404 Not Found: Object not found: chefzero://localhost:8889/nodes/myserver

    ================================================================================
    Error executing action `converge` on resource 'machine[myserver]'
    ================================================================================

    Fog::Errors::Error
    ------------------
    The resource 'projects/tidal-pathway-119021/zones/europe-west1-d/disks/myserver' already exists

    Resource Declaration:
    ---------------------
    # In /Users/jasghar/repo/chef-provisioning-fog/google.rb

     14: machine "myserver" do
     15:   tag 'thistag'
     16: end

    Compiled Resource:
    ------------------
    # Declared in /Users/jasghar/repo/chef-provisioning-fog/google.rb:14:in `from_file'

    machine("myserver") do
      action [:converge]
      retries 0
      retry_delay 2
      default_guard_interpreter :default
      chef_server {:chef_server_url=>"chefzero://localhost:8889", :options=>{:client_name=>"jjasghar", :signing_key_filename=>"/Users/jasghar/.chef/jjasghar.pem", :api_version=>"0"}}
      driver "fog:Google"
      machine_options {:bootstrap_options=>{:image_name=>"debian-7-wheezy-v20150325", :zone_name=>"europe-west1-d", :machine_type=>"n1-standard-1"}}
      declared_type :machine
      cookbook_name "@recipe_files"
      recipe_name "/Users/jasghar/repo/chef-provisioning-fog/google.rb"
      attribute_modifiers [["tags", #<Proc:0x007fb58634da58@/Users/jasghar/.rvm/gems/ruby-2.1.8/gems/cheffish-2.0.1/lib/cheffish/node_properties.rb:39>]]
    end

[2016-02-18T15:03:49-06:00] INFO: Running queued delayed notifications before re-raising exception

Running handlers:
[2016-02-18T15:03:49-06:00] ERROR: Running exception handlers
Running handlers complete
[2016-02-18T15:03:49-06:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 08 seconds
[2016-02-18T15:03:49-06:00] FATAL: Stacktrace dumped to /Users/jasghar/.chef/cache/chef-stacktrace.out
[2016-02-18T15:03:49-06:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2016-02-18T15:03:49-06:00] ERROR: machine[myserver] (@recipe_files::/Users/jasghar/repo/chef-provisioning-fog/google.rb line 14) had an error: Fog::Errors::Error: The resource 'projects/tidal-pathway-119021/zones/europe-west1-d/disks/myserver' already exists
[2016-02-18T15:03:49-06:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

Not sure if the delete or something isn't being called correctly. But this is just to track this ?bug?.

@kri5 can you take a look at this too? It seems that we should be able to delete the disk if we want to. Maybe a flag to turn it on/off?

@jjasghar i think it's the expected behaviour, as you do not want to destroy any data by default, but maybe you could use this to enable/disable this based on a flag https://github.com/fog/fog-google/blob/master/lib/fog/google/models/compute/server.rb#L165 .
I won't be able to look at this atm.

Ah cool, thats more or less what i was expecting. I just wanted to double check, thanks for the info!

I'm going to close this out since our latest release no longer supports GCE due to the broken fog support for GCE.


use bootstrap-iconpicker in to Vue2

I import files without vue files and it works. but when I want import vue files. bootstrap-iconpicker  is not worked and don't show any errors on console?
what can I do?

I tried to use this with WordPress and it didn't work for me either. It works well in stand-alone HTML; but not when integrated with WordPress. It shows up the popup.
Screencast: http://recordit.co/zReIhVtPpe


Add the optimization to remove duplicate joins of InSubqueries.

@jerrychenhf Hi haifeng. This optimization can reduce execution time of q95 from 113s to 42s when the data scale is 3TB. Thanks.


Add note regarding SP access requirements

Customers may want to keep disks off the MC_ RG for independent life cycle management

#sign-off


Changes in unification rules

Added ExpressionStatement node in UAST
Added test case for function call related to math library

@rultor merge

@rultor merge

@kniazkov OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@kniazkov @pollyvolk Oops, I failed. You can see the full log here (spent 10s)
com.jcraft.jsch.JSchException: Session.connect: java.net.SocketException: Connection reset

@rultor merge

@rultor merge

@kniazkov OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@kniazkov Done! FYI, the full log is here (took me 8min)


An unhandled error occurred while Bolt processed an event

We are facing the following issue with the Slack app when we are trying to add the app to another workspace (different from the one where it was created). Once the authorization is given, we are able to read all the credentials including team id, access token, etc. However, when we try to use the same credentials to access the workspace for any activity,
we are getting the following error:
2023-03-20T18:07:34: [ERROR] An unhandled error occurred while Bolt processed an event
2023-03-20T18:07:34: [DEBUG] Error details: TypeError: Cannot read property 'teamId' of undefined, storedResponse: undefined

I think getting this response from Slack bolt,
In the first line, I'm printing the teamId and same also passing it to the bolt lib(authorizer),
0|slack-app | 2023-03-20T18:10:58: TQXMVxxxx
0|slack-app | 2023-03-20T18:10:58: [ERROR] An unhandled error occurred while Bolt processed an event
0|slack-app | 2023-03-20T18:10:58: [DEBUG] Error details: TypeError: Cannot read property 'teamId' of undefined, storedResponse: undefined

Code:
const authorizeFn = async ({ teamId, enterpriseId }) => {
    console.log(teamId);
    // Fetch team info from database
    db.mongoose
        .connect(process.env.DB_CONNECTION_STRING, {
            useNewUrlParser: true,
            useUnifiedTopology: true
        })
        .then(() => {
            console.log("Connected to the database!");
        })
        .catch(err => {
            console.log("Cannot connect to the database!", err);
            process.exit();
        });
    Slackbot.find({ "access_details.team.id": teamId })
        .then(data => {
            if (!data)
                console.log("Not found slack user with team " + teamId);
            else {
                console.log(data[0].access_details);
                return {
                    // You could also set userToken instead
                    botToken: data[0].access_details.access_token,
                    botId: data[0].access_details.app_id,
                    botUserId: data[0].access_details.bot_user_id
                };
            }
        })
        .catch(err => {
            console.log("Error retrieving slack with team=" + teamId);
        });
}

// Initializes your app with your bot token and app token
const app = new App({
    appToken: process.env.SLACK_APP_TOKEN,
    signingSecret: process.env.SLACK_SIGNING_SECRET,
    logLevel: LogLevel.DEBUG,
    customRoutes: customRoutes.customRoutes,
    processBeforeResponse: true,
    stateSecret: 'my-state-secret',
    scopes: [process.env.SLACK_SCOPES],
    authorize: authorizeFn
});

The following error:

[DEBUG] Error details: TypeError: Cannot read property 'teamId' of undefined, storedResponse: undefined

Comes from one of two locations:

From the AWSLambdaReceiver: https://github.com/slackapi/bolt-js/blob/main/src/receivers/AwsLambdaReceiver.ts#L203
From the HTTPModuleFunction: https://github.com/slackapi/bolt-js/blob/main/src/receivers/HTTPModuleFunctions.ts#L204

First question: are you using this app on AWS Lambda, and using it with the AWS Lambda receiver that bolt provides? I believe the answer is "no", as to configure bolt-js for use on AWS Lambda, you must manually instantiate the receiver class and pass it as a receiver property to your App constructor. However, what confuses me is you are using the processBeforeResponse property, which is aimed for use exclusively with the AWS Lambda Receiver. We should clarify this point and ensure you are not setting processBeforeResponse unnecessarily, as this could also further confuse bolt execution.
Second, I am not exactly sure what is happening in your authorize function, but some observations:

the instantiation of the connection to the mongoose DB is done using promise methods (i.e. then(), catch()) while inside an async function. This means that the DB connection establishment is done in separate ticks of the JavaScript event loop. This jumps out as me as having the potential for race conditions.
I don't know what the Slackbot construct is or what library this uses, but, if this construct relies on the mongoose DB connection, then it is quite possible, as I mentioned in the previous point, that the mongoose DB connection establishment is not complete by the time Slackbot.find is called.

If my assumption that Slackbot relies on the mongoose DB connection, then to fix the potential for race conditions, you could change your authorize function to use await to make sure that the code executes sequentially. Something like the following would address that:
const authorizeFn = async ({ teamId, enterpriseId }) => {
    console.log(teamId);
    // Fetch team info from database
    try {
        await db.mongoose
            .connect(process.env.DB_CONNECTION_STRING, {
                useNewUrlParser: true,
                useUnifiedTopology: true
            });
        console.log("Connected to the database!");
    } catch (e) {
        console.log("Cannot connect to the database!", err);
        process.exit();
    }
    const data = await Slackbot.find({ "access_details.team.id": teamId });
    if (!data)
        console.log("Not found slack user with team " + teamId);
    else {
        console.log(data[0].access_details);
        return {
            // You could also set userToken instead
            botToken: data[0].access_details.access_token,
            botId: data[0].access_details.app_id,
            botUserId: data[0].access_details.bot_user_id
        };
    }
}

Thanks for the quick response.
First question ---> Yes, We are not using the Lambda environment. Also removed the processBeforeResponse param but not luck
Second question:
Small info on the Authorization function:
Authorization is the process of deciding which Slack credentials (such as a bot token) should be available while processing a specific incoming request.
MongoDB connections and fetching the data part are working as expected but It's failing once auth data is passed to Bolt.
FYI Logs:
0|slack-app  | 2023-03-21T19:56:21: TQXMXXXXX
0|slack-app  | 2023-03-21T19:56:21: Connected to the database!
0|slack-app  | 2023-03-21T19:56:21: {
0|slack-app  | 2023-03-21T19:56:21:   ok: true,
0|slack-app  | 2023-03-21T19:56:21:   app_id: 'xxxxx',
0|slack-app  | 2023-03-21T19:56:21:   authed_user: { id: 'xxxxx' },
0|slack-app  | 2023-03-21T19:56:21:   scope: 'team:read,app_mentions:read,channels:history,chat:write,commands,im:history,im:read,im:write,users.profile:read,users:read,users:read.email',
0|slack-app  | 2023-03-21T19:56:21:   token_type: 'bot',
0|slack-app  | 2023-03-21T19:56:21:   access_token: 'xoxb-xxxxxx-xxxx-xxxxxxx',
0|slack-app  | 2023-03-21T19:56:21:   bot_user_id: 'xxxxxx',
0|slack-app  | 2023-03-21T19:56:21:   team: { id: 'xxxxxx', name: 'xxxxxxx' },
0|slack-app  | 2023-03-21T19:56:21:   enterprise: null,
0|slack-app  | 2023-03-21T19:56:21:   is_enterprise_install: false
0|slack-app  | 2023-03-21T19:56:21: }
0|slack-app  | 2023-03-21T19:56:21: [ERROR]   An unhandled error occurred while Bolt processed an event
0|slack-app  | 2023-03-21T19:56:21: [DEBUG]   Error details: TypeError: Cannot read property 'teamId' of undefined, storedResponse: undefined

please let me know if you require any further details

It looks to me like the code now is returning installation data, so progress! But, there is still a Bolt error. Let's take a further look.
This error message:

[ERROR]   An unhandled error occurred while Bolt processed an event

... comes, I believe, from this location in the source code. Given that your authorize function returns a result now (based on your latest logs), I believe this line of Bolt code successfully passes now. However, someone else in the enclosing processEvent method is throwing an exception related to access teamId on something that is undefined. So when the HTTP Receiver for your app calls processEvent here, the catch clause here is triggered, and that is where the final error logging in your last message is coming from.
The question now is, where in Bolt's processEvent method is Bolt attempting to access teamId on an undefined variable?
To make it easier to parse through and figure that out, could you set developerMode to true and socketMode to false in your App constructor and run again and post the logs? The reason I ask for this is to trigger this logging in Bolt so that we can see the details of the event from Slack triggering the exception. This will make it easier to trace through the logic and try to determine why this exception is happening for you.
Also, one more question: what version of bolt-js are you using?

Here are the config and logs,
const app = new App({
    appToken: process.env.SLACK_APP_TOKEN,
    signingSecret: process.env.SLACK_SIGNING_SECRET,
    logLevel: LogLevel.DEBUG,
    customRoutes: customRoutes.customRoutes,
    scopes: [process.env.SLACK_SCOPES],
    authorize: authorizeFn,
    developerMode: true
});

0|slack-app  | 2023-03-21T20:52:14: [INFO]   An unhandled HTTP request (POST) made to /slack/events was ignored
0|slack-app  | 2023-03-21T20:52:15: [INFO]   An unhandled HTTP request (POST) made to /slack/events was ignored
0|slack-app  | 2023-03-21T20:52:31: [INFO]   An unhandled HTTP request (POST) made to /slack/events was ignored
0|slack-app  | 2023-03-21T20:53:15: [INFO]   An unhandled HTTP request (POST) made to /slack/events was ignored
0|slack-app  | 2023-03-21T20:53:45: [INFO]   An unhandled HTTP request (POST) made to /slack/events was ignored

Bolt Version -<EMAIL_ADDRESS>

@anilskalyane please also set socketMode: false on your app constructor.

Added the socket mode also, @filmaj
const app = new App({
    appToken: process.env.SLACK_APP_TOKEN,
    signingSecret: process.env.SLACK_SIGNING_SECRET,
    logLevel: LogLevel.DEBUG,
    customRoutes: customRoutes.customRoutes,
    scopes: [process.env.SLACK_SCOPES],
    authorize: authorizeFn,
    developerMode: true,
    socketMode: false
});

0|slack-app  | 2023-03-21T21:48:31: [DEBUG]  bolt-app {"token":"4sND1EQy5IGQaJGjvIguLynn","team_id":"TQXMxxxxx","context_team_id":"TQXMxxxxx","context_enterprise_id":null,"api_app_id":"A04FLDxxxxx","event":{"client_msg_id":"xxxxx-1a99-45e8-a7ef-94ecce2033ae","type":"message","text":"hifives","user":"U01Vxxxxxxx","ts":"1679415510.997069","blocks":[{"type":"rich_text","block_id":"gz3OT","elements":[{"type":"rich_text_section","elements":[{"type":"text","text":"hifives"}]}]}],"team":"TQXMxxxxx","channel":"D04U2xxxxxx","event_ts":"1679415510.997069","channel_type":"im"},"type":"event_callback","event_id":"Ev04VC8Z2K2M","event_time":1679415510,"authorizations":[{"enterprise_id":null,"team_id":"TQXMxxxxx","user_id":"U04U2xxxxxx","is_bot":true,"is_enterprise_install":false}],"is_ext_shared_channel":false,"event_context":"4-eyJldCI6Im1lc3NhZ2UiLCJ0aWQiOiJUUVhNVlNIUTgiLCJhaWQiOiJBMDRGTEQyVTkwVCIsImNpZCI6IkQwNFUyVFBHWTlaIn0"}
0|slack-app  | 2023-03-21T21:48:31: TQXMxxxxx
0|slack-app  | 2023-03-21T21:48:31: Connected to the database!
0|slack-app  | 2023-03-21T21:48:32: {
0|slack-app  | 2023-03-21T21:48:32:   ok: true,
0|slack-app  | 2023-03-21T21:48:32:   app_id: 'A04xxxxx',
0|slack-app  | 2023-03-21T21:48:32:   authed_user: { id: 'U01V2xxxxx' },
0|slack-app  | 2023-03-21T21:48:32:   scope: 'team:read,app_mentions:read,channels:history,chat:write,commands,im:history,im:read,im:write,users.profile:read,users:read,users:read.email',
0|slack-app  | 2023-03-21T21:48:32:   token_type: 'bot',
0|slack-app  | 2023-03-21T21:48:32:   access_token: 'xoxb-xxxxxxx-xxxxxx-xxxxxxxx',
0|slack-app  | 2023-03-21T21:48:32:   bot_user_id: 'U04U2xxxxxx',
0|slack-app  | 2023-03-21T21:48:32:   team: { id: 'TQXMxxxxx', name: 'xxxxxx' },
0|slack-app  | 2023-03-21T21:48:32:   enterprise: null,
0|slack-app  | 2023-03-21T21:48:32:   is_enterprise_install: false
0|slack-app  | 2023-03-21T21:48:32: }
0|slack-app  | 2023-03-21T21:48:32: [ERROR]   An unhandled error occurred while Bolt processed an event
0|slack-app  | 2023-03-21T21:48:32: [DEBUG]   Error details: TypeError: Cannot read property 'teamId' of undefined, storedResponse: undefined

Sorry for the delay, I have not forgotten about this, just caught up in some other work related stuff! As soon as I have some time to dig deeper in here, I will do so.

@filmaj - Thanks for looking into this! I'll be happy to provide more details and try some other things if it helps

@filmaj thanks for your time and patience.
Yes, I'm trying to install the app to a different workspace using OAuth flow. here is the complete code for your reference,
const { App, LogLevel } = require('@slack/bolt');
const HifivesApi = require('./src/controllers/HifivesApi.js');
const db = require("./src/models");
const Slackbot = db.slackbot;
const app_menu = require('./src/config/menu.json')

const databaseData = {};
const database = {
  set: async (key, data) => {
    databaseData[key] = data
  },
  get: async (key) => {
    return databaseData[key];
  },
};

const authorizeFn = async ({ teamId, enterpriseId }) => {
    console.log(teamId);
    // Fetch team info from database
    await db.mongoose
        .connect(process.env.DB_CONNECTION_STRING, {
            useNewUrlParser: true,
            useUnifiedTopology: true
        })
        .then(() => {
            console.log("Connected to the database!");
        })
        .catch(err => {
            console.log("Cannot connect to the database!", err);
            process.exit();
        });
    await Slackbot.find({ "access_details.team.id": teamId })
        .then(data => {
            if (!data)
                console.log("Not found slack user with team " + teamId);
            else {
                console.log(data[0].access_details);
                return {
                    // You could also set userToken instead
                    botToken: data[0].access_details.access_token,
                    botId: data[0].access_details.app_id,
                    botUserId: data[0].access_details.bot_user_id
                };
            }
        })
        .catch(err => {
            console.log("Error retrieving slack with team=" + teamId);
        });
}

// Initializes your app with your bot token and app token
const app = new App({
    socketMode: false,
    appToken: process.env.SLACK_APP_TOKEN,
    signingSecret: process.env.SLACK_SIGNING_SECRET,
    logLevel: LogLevel.DEBUG,
    stateSecret: 'my-state-secret',
    scopes: [process.env.SLACK_SCOPES],
    authorize: authorizeFn,
    developerMode: true,
    installationStore: {
        storeInstallation: async (installation) => {
          if (installation.isEnterpriseInstall && installation.enterprise !== undefined) {
            return await database.set(installation.enterprise.id, installation);
          }
          if (installation.team !== undefined) {
            return await database.set(installation.team.id, installation);
          }
          throw new Error('Failed saving installation data to installationStore');
        },
        fetchInstallation: async (installQuery) => {
          if (installQuery.isEnterpriseInstall && installQuery.enterpriseId !== undefined) {
            return await database.get(installQuery.enterpriseId);
          }
          if (installQuery.teamId !== undefined) {
            return await database.get(installQuery.teamId);
          }
          throw new Error('Failed fetching installation');
        },
        deleteInstallation: async (installQuery) => {
          if (installQuery.isEnterpriseInstall && installQuery.enterpriseId !== undefined) {
            return await database.delete(installQuery.enterpriseId);
          }
          if (installQuery.teamId !== undefined) {
            return await database.delete(installQuery.teamId);
          }
          throw new Error('Failed to delete installation');
        },
      },
      installerOptions: {
        directInstall: true,
      }
});

app.error(async (error) => {
    // Check the details of the error to handle cases where you should retry sending a message or stop the app
    console.error(error);
  });

app.message('hifives', async ({ message, client, logger, ack }) => {
    console.log("message data", message);
    try {
        ack();
        await client.chat.postEphemeral({
            channel: message.channel,
            user: message.user,
            blocks: [{
                "type": "section",
                "text": {
                    "type": "mrkdwn",
                    "text": `Welcome<EMAIL_ADDRESS>\n\nWhat would like to do today?`
                }
            },
            {
                "type": "divider"
            },
                app_menu
            ]
        });
    }
    catch (error) {
        logger.error(error);
    }
});

async function userBasicDetails(userId) {
    try {
        // Call the users.info method using the WebClient
        const result = await app.client.users.info({
            user: userId
        });
        //console.log(result.user.profile);
        return result.user.profile;
    }
    catch (error) {
        console.error(error);
    }
}

async function postStatusMessage(client, channelId, userId, msg, prefix = "ERROR :") {
    const msgText = prefix ? prefix + msg : msg;
    if (channelId) {
        await client.chat.postEphemeral({
            channel: channelId,
            user: userId,
            text: msgText
        })
    } else {
        await client.chat.postMessage({
            channel: userId,
            text: msgText
        });
    }
    return true;
}

/** Start Bolt App */
(async () => {
    try {
        await app.start(process.env.PORT || 3000);
        console.log('⚡ Bolt app is running! ⚡');
    } catch (error) {
        console.error('Unable to start App', error);
    }
})();

@anilskalyane I am glad I asked the question as I see two problems:

I think it is counter-productive to set both authorize and installationStore options. installationStore aims to handle the OAuth ritual, but also, via the fetchInstallation function, does the exact work that the authorize function would do. My recommendation to you would be to only use the installationStore and drop the authorize function. We call this out in the authorize function documentation: "If you’re using the built-in OAuth support authorization is handled by default, so you do not need to pass in an authorize option." (the "built-in OAuth support" here being the installationStore
With that in mind, the fact that your installationStore uses one storage method for storing installation and token information (in-memory via the databaseData object and database interface) while your authorize function interacts with a Mongo database, those two are at odds. Choose one storage system for your app's installation information (recommended to use a database that can persist data across restarts, like Mongo, over an in-memory solution like the databaseData object your code employs)

If I am missing some aspect of your requirements where you believe you need to leverage both authorize and installationStore, please let me know. If the documentation was unclear on this topic, that is also helpful to know!

It worked 🤯 and thank you for the quick response and help. 🙌


messageFormat not working for text enum

Hi,
I am using text which otherwise is default anyway.
However, I see logs appearing in splunk in a json format.
Can someone please help?

@bharathrajbk - I believe that messageFormat can only impact the format inside the payload - not the entire event. Would you be able to provide an example of what you're experiencing so I can confirm that this is the case?

I had to download the sourcecode to find this, but if you set <type>raw</type> on your logger adapter, you'll get it raw.

We should have a fix for sending events to HEC Raw in #75 in the develop branch, but I'm not sure if that's specifically what you're asking for. Can you confirm that this isn't addressing your issue?

Yes can confirm. By using the "raw" type, you still get the event posted as json. This is because HttpEventCollectorSender always serializes it as json

Agree with @izrobin . Please help provide a fix for this.

Hi all!
Can anybody tell me when this issue will be resolved? It's so annoying to don't have even any opportunity to change the format to a plain text!

@kvaga You can now do it thanks to #83 , please have a look 👍


horizontal layout bio scrollbar

Bio in left column has a scrollbar, almost impossible to navigate since you end up scrolling for the main page instead of the paragraph.

definitely will be addressed (the bio in left column has scrollable content simply as a failsafe but is intended to only have 1-2 short sentences so that won't be an issue for smaller screens


Multi cloud multi instance support

It may have been mentioned before  but would it be possible for the manager software to track multiple cloud and multiple instance usage among users?

@vwpfong Thanks for trying Outline! Many people have requested this, over on our server manager issue tracker:
https://github.com/Jigsaw-Code/outline-server/issues/78


Fix upgrade size calculation inside k8s

As we use the suc-upgrade script to upgrade inside k8s containers, the host rootfs is mounted under $HOST_DIR. The upgrade image fs is actually the rootfs of the container, so its mounted on /
The upgrade calculation was going over this dir when calculating the size for the upgrade, as the host dir is mounted under / This means that we were calling the upgrade with --source dir:/ and that tried to go into the /$HOST_DIR and count that size.
This created 2 issues. The first one is that the upgraed size would be doubled as it counted the upgrade image + the host contents. The second would be that counting an installed system is a bit problematic with dirs like /tmp or /proc in which there can be temp files, broken symlinks and symlinks to self which wont work inside the container (self links point to the running system, so a self link in the mounted host would point to a different process than in the running container)
To fix this, we try to get the $HOST_DIR variable when calculating the sizes. The suc script sets this ALWAYS so if we are running under k8s with an upgrade, we will get it and we can skip counting that dir.
KUBERNETES_SERVICE_HOST is alway set for pods running under k8s so we
can infer that we are under k8s if that its set.
If that its true and the HOST_DIR var is not set, we default to the safe
value that system-upgrade-controller sets the host root into

This requires backport to 2.13.x branch

Tested with k8s and it works as expected!


Add x-restate-server header

This is used by observability tools

Solved by https://github.com/restatedev/sdk-python/commit/8e3d78fc861ad1be9c78f695b047a08ab0da14a8


Wrong set group scope discount calculation

Create a new promotion and create a “Promote sets of products” :
Conditions:
{noformat}Mode: Amount (Gross)
Sorting: Price ASC
Value: 149{noformat}
Discount:
{noformat}Apply to: above set group
Apply to: All items
Apply to a specific range of products only: True
Maximum amount of usages: Unlimted
Type: Percentage
Value: 10 (%)
Maximum discount value: empty{noformat}
Then create 3 products with following prices: A 59.95, B 47.95, C 8.95
Go to storefront and order 4 x A, 4 x B, 3 x C
Expected discount apply: 35.06 euro gross
Actual discount apply: 33.86 euro gross
Hint:
Current calculation: (8.95 * 3 )+ (47.95 * 3) + (59.95 * 3) = 350.55 * 10% = 35.055 ~ 35.06 (gross)
Expected calculation: (8.95 * 3 )+ (47.95 * 3) + (47.95 + 59.95 * 2) = 338.55 * 10% = 33.855 ~ 33.86 (gross)

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-37659.
[created from NEXT-37659, comment 484190]


Spell correct

Fixed the spelling mistake in associations document

Hello @rahulm95
Could you change it here? https://github.com/jinzhu/gorm.io
We moved all documents to this repo.
Thank you.


Allow us to embed youtube videos on the app

Overview
We would like to embed youtube videos on the site in guides.
References and additional details
I believe we need to add youtube to the CSP
Acceptance Criteria
Videos from youtube will be loaded and not blocked
Need By Date
No response
Screenshots/Mockups
No response
Estimated effort
No response

closing as stale - add media-src to the CSP at your discretion https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/media-src


Opening a project from empty window jumps around

When you open a project from the initial empty window, the new window is spawned with different location and dimensions

Fixed in 3.6.4813-dev


reduce the size of generated proto js file by leaving only the decode function

This change is

 Wow. This is great. Can you write the command line and instruction in the README file?

Review status: 0 of 1 files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable

added the instruction for generating the static proto js file and typescript def file.

Review status: 0 of 3 files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable


Wrong link

Link to the "Security & Compliance Center PowerShell"  should navigate to: https://docs.microsoft.com/en-us/powershell/exchange/office-365-scc/connect-to-scc-powershell/connect-to-scc-powershell?view=exchange-ps

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

ID: aac0819e-2ed8-d57f-35f5-cfa5210210a9
Version Independent ID: 61bf03a8-091b-9a33-a7eb-a4a25e8452f3
Content: Delete items in the Recoverable Items folder of cloud-based mailboxes on hold - Admin Help - Microsoft 365 Compliance
Content Source: microsoft-365/compliance/delete-items-in-the-recoverable-items-folder-of-mailboxes-on-hold.md
Service: o365-seccomp
GitHub Login: @markjjo
Microsoft Alias: markjjo

@uz-it Fixed. Thanks for catching this.


[Bug] [spark-connector-v2-example] No class found

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
Running spark-connector-v2-example in idea develop environment failed, the error as the following image:

I think it maybe the dependencies in pom has some problems, I try to add the 3.0.X  janino dependency in pom and fixed it.
In whole project I see it had been added the janino dependency in pom, but the version is 3.1.X, maybe the org/codehaus/janino/InternalCompilerException not be contained in 3.1.X
In my option, we should add the janino 3.0.X dependency in pom.
SeaTunnel Version
dev
SeaTunnel Config
none

Running Command
none

Error Exception
Caused by: java.lang.ClassNotFoundException: org.codehaus.janino.InternalCompilerException
	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	... 47 more

Flink or Spark Version
No response
Java or Scala Version
No response
Screenshots

Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

@CalvinKirs In hive-v2 connector (#2123 )changed this dependency's version and add to dependencyManagement. I think we should remove this in dependencyManagement. Then hive-v2 define the version in own pom.

@CalvinKirs In hive-v2 connector (#2123 )changed this dependency's version and add to dependencyManagement. I think we should remove this in dependencyManagement. Then hive-v2 define the version in own pom. After this done spark's codehaus version will handle by itself.

+1.

Hi, @CalvinKirs @Hisoka-X , I have submitted pr #2192,  please review. Thank you!


Import error with python 3.8

Hi,
I got the below error when importing this package with the latest version (0.1.0rc2).
Did I miss anything?
>>> import google.generativeai
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/conda/envs/chatbot/lib/python3.8/site-packages/google/generativeai/__init__.py", line 59, in <module>
    from google.generativeai import types
  File "/opt/conda/envs/chatbot/lib/python3.8/site-packages/google/generativeai/types/__init__.py", line 19, in <module>
    from google.generativeai.types.text_types import *
  File "/opt/conda/envs/chatbot/lib/python3.8/site-packages/google/generativeai/types/text_types.py", line 34, in <module>
    class Completion(abc.ABC):
  File "/opt/conda/envs/chatbot/lib/python3.8/site-packages/google/generativeai/types/text_types.py", line 49, in Completion
    filters: Optional[list[safety_types.ContentFilterDict]]
TypeError: 'type' object is not subscriptable

Upgrading to Python 3.9 resolves this.

Oh, it looks like our testing didn't cover python 3.8.
I'll remove that from the supported versions (or add testing).
b/282074714

Honestly looking at the bug itself, the issue is fixed if you switch list for List from typing. I went into the code and did this (on Python 3.8.8), and it fixed the issue entirely:

That's right - it was also fixed in #16, so you can check out that commit & pip install locally if you like. We have very few users on 3.8, so it reduces our maintenance costs significantly to support fewer versions. Unless there's a compelling reason to support additional versions, we will likely follow Colab's default runtime version.
Although, @MarkDaoust - we currently have a package in PyPI that claims to supports 3.8, but is broken. WDYT about a "point" release so that we at least don't break 3.8 installs?

Yeah, we could have been more careful about that. Sorry.
We've taken 3.8 out of the list of supported releases, and we've added testing for the Python versions we do support.


Some characters are recognised incorrectly or not at all

Example picture:

Extracted text:

Das Kennwort muss 8-64 Zeichen lang seim
Folgende Zeichen sind zulässig: a-z, A-ZI 0-9,
-+='l 0 0; und Platz.

as you can see, an "n." becomes an "m" and a "Z," becomes a "ZI".
special letters are missing completely

Text Grab uses the OCR which is built into Windows 10 which is not perfect. Clearly one of the places where it does not perform well is with a string of just symbols. I'm working to improve the contrast when a screenshot is taken, but there are limitations to what OCR is capable of doing.
I believe improving Microsoft's OCR engine for Windows is out of scope for this tool.


Success Callback not working

My upload works, but I cannot get the success callback to fire. The files appear on my server, but I cannot get my front end to change on success. I'm using connect-multiparty as middleware. Any ideas?

I'm going to leave this in case other people experience a similar problem, but I was able to fix it by having my server side code (node in this case) send response back


Print: Entry, ":CFBundleIdentifier", Does Not Exist

Trying to set up a new pepperoni project and keep getting this when i try to run the app in xcode for the first time after mirroring. Has anyone else run into this? I really don't know how to get around it.

Hi @abomb14c, thanks for reporting an issue to pepperoni! Just verified it as well with a fresh clone. It seems like a problem of the outdated react-native version the pepperoni-app-it is still using. I'll look into upgrading it soon.


Lokalise: Translations update

This pull request was initiated by Lokalise (user Peter Murray) at 2022-04-12 18:01:40

yarn run v1.22.17
$ eslint .
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.


Update README.md

Fixed the missing links to the Python library and to the ARES paper in the buttons in the header. (The same buttons are broken at the PyPi library site).

Merged pull request.


fix: test every branch release only master

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


The chart does not have an x-axis and CategoryName display

Description
The chart does not have an x-axis and CategoryName display
To Reproduce
1.When I create a new line chart, I find that the Y-axis is displayed normally, but the X-axis and CategoryName are not displayed normally.
Screenshots

Edition
Which edition of ReoGrid do you using?

WPF

Environment

OS: [Windows 10 1903]
Language of OS: English

Seems on the WPF edition, the labels of axes not drawn.


Fix: #225 #226

Description
Recent days, @Dawn-githup has pointed out some relatively important issues, which I think should be fixed as soon as possible.
In this PR, we should fix the #225 issue and the #226 issue.
Thanks to @Dawn-githup for pointing out these issues.
Related issues

fix #225
fix #226

Problem fixed

fix L1 Transaction ckb cannot directly trade after clicking max #225
fix L1 Transfer Completed list is missing the success identifier #226


Add missing Chinese Localization Resources

I've added new localization for Picker component.
@Seaear @zhulige @snys98 - Please, can you help me with these missing localization resources?
In this commit is list of missing resources: https://github.com/skoruba/IdentityServer4.Admin/commit/2a67acd23ba3a7fbe6e08fe03e4e6185c20fd640
Here is a file that contains all new resources:
https://github.com/skoruba/IdentityServer4.Admin/blob/feature/extensible-aspnet-identity/src/Skoruba.IdentityServer4.Admin/Resources/Views/Configuration/ClientClaims.zh-cn.resx#L138-L161
Thank you!

@gebiWangshushu - can you help me with this translation above?

已经选中项

没有选中项

必填“类型”

输入2个以上字符

搜索结果:(点击选择)

选择:

更多...

建议事项：

@zhulige Thank you for you translation - may I ask you - can you split following text into rows? I don't know how to use it. :)

Maybe like this @zhulige :
已经选中项
没有选中项
必填“类型”
输入2个以上字符
搜索结果:(点击选择)
选择:
更多...
建议事项：
Is it correct? :)

@skoruba yes, no problem.

'.zh-cn.resx' is should be '.zh-CN.resx'.
Use lowercase, will can not find the resources under linux/macOS.

@ymind - I will check it.
Thanks!

@ymind - I have change all resources to .zh-CN.resx - please - can you check it?
Thanks!

@skoruba
I tested in Ubuntu 18.04, use '.zh-CN.resx' or '.zh-cn.resx' can not find the resource file, but changed to '.zh.resx' can be found, my browser Accept-Language: zh-CN,zh;q=0.9,zh-HK;q=0.8,zh-TW;q=0.7,en;q=0.6

@Seaear - OK, is it necessary to change all resource files to '.zh.resx'?
Thanks!

@skoruba
It is best not to change to '.zh.resx', I am translated Simplified Chinese, mainly used in mainland China, there is a big difference between translations in other regions.

@Seaear - I see, what do you suggest?
Thanks!

@skoruba
I don't have any good suggestions for the time being, or wait for me to study the problems under Linux in a few days, or wait for someone who knows Linux to solve them.

@Seaear I will be happy for any feedback from you. I'll be waiting - thanks!

@ymind @skoruba
This issue has nothing to do with uppercase and lowercase. This is an msbuild bug.
https://github.com/dotnet/coreclr/issues/20388
https://github.com/Microsoft/msbuild/issues/3897


Add /answers command

Add /answers command, where users will be able to see how many answers they're marked correct in

It would be better to proceed with this:

Private Profile: Ephemeral by default
Public Profile: public by default
An additional argument in the command where user can control that.

how much have you accounted for the chance (while low) that the user isnt in the system right now
Well, New users won't know more about the command. If they'll, then only after they chat in help-forum or offtopic.
If they see someone executing the command, they'll most likely execute it for themself.

Later on, instead of returning, user will receive a reply that: "It looks like you have no answers marked as correct!"

An additional argument in the command where user can control that

No, that would be too complex.

Private AND same user: ephemeral with the number
Private AND not same user: ephemeral without the number
Public: not ephemeral with the number

Well, New users won't know more about the command. If they'll, then only after they chat in help-forum or offtopic. If they see someone executing the command, they'll most likely execute it for themself.

You should still handle the case where the user is not tracked in the database. It being unlikely doesn't mean it is guaranteed to not happen.

Hey there,
I'll proceed with adding the user field when I get free.

Did all the necessary changes which you told on discord

Hey there, @rafaelalmeidatk can you check?


Update datatables to 2.0.0

dt 2 has some features needed, esp column visibility.
NOTE on hold/blocked due to problems, see comments.  branch wip_update_datatables_2-0-0 pushed to repo.

Fixing layout -- in develop, term listing:

In new branch:

Moving the "export" thing to a link in the "Actions" menu.

Done in develop

Backing this out, too many problems.

This is required for #250

Waiting for 2.0.1 per https://datatables.net/forums/discussion/78251/datatables-2-0-0-loading-message-doesnt-show-custom-message-if-no-records-on-first-load
Will still have to fix the sorting causing ajax problems, I think the datatables structures or ajax struct changed somehow.

2.0.1 was released, updated stuff in develop, all tests pass, looks good.

Launched in 3.2.4.


Ability to clear the result pane

Is your feature request related to a problem? Please describe.
Yes, when using large datasets Altair becomes slow. also it will use more and more CPU / Memory
Describe the solution you'd like
If I can clear the result pane without closing the tab that will solve the issue.
Describe alternatives you've considered
For now, I close the tab and create the queries again. this is boring...
Additional context
I don't think additional context is needed. If so let me know. Happy to share more info.

Thanks for reporting this! I'd look into it as soon as I can.

@AlexandruValeanu Yes you can

Thanks @imolorhe. I have raised https://github.com/altair-graphql/altair/pull/1714. Can you please take a look and let me know what you think about the approach? The PR is still missing tests and I'd like to add a few translations where possible but I'd like to do that after I know the solution is ok.

Thanks @AlexandruValeanu I've reviewed the PR and left my comments there.


Increase neon_local http client to compute timeout in reconfigure.

Seems like 30s sometimes not enough when CI runners are overloaded, causing pull_timeline flakiness.
ref https://github.com/neondatabase/neon/issues/9731#issuecomment-2535946443

I agree that it's a bit suspicious, but let's try increasing and return if it doesn't help.


Fixed issue #192 that was causing the error 'Game not found'

@stewartmccoy, give this a whirl when you have a chance.

@nickytonline I was wondering about that. Thanks for getting this in :)


Add Airthings Environment Sensor Applet

Resurrected from: https://github.com/tidbyt/community/pull/739
Adds environmental sensor readings from an AirThings device.
Utilizes the public API (https://developer.airthings.com/consumer-api-docs/), which only supports the client credential oauth flow. Thus, each user must supply their own clientSecret and clientId, which can be generated for free from https://dashboard.airthings.com/integrations/api-integration.

Looks like another applet's tests are failing the CI on this PR.

if you dig deep enough into the test results - you'll see - your app description doesn't have punctuation at the end.

that's the failure.

oh I missed that, thanks @jvivona!


Add data-disabled to test fixtures

Summary:
This can be marked in fixtures to skip a test without commenting it out. We add one more usage of this.
The same functionality existed (unused) before for experiments, which I changed to data-experiments.
Formatting of JS tests changed to be closer to what Prettier would output, and to remove usage of Yoga.UNDEFINED which doesn't existi and just resolves to undefined (this is converted to NaN by the wrapper layer).
Differential Revision: D45723003

@NickGerleman This is awesome. Does this mean that https://github.com/facebook/yoga/pull/1194 is now unblocked? I have some work in progress to export Taffy's test fixtures to Yoga. I'll try to get that into a publishable state, but it might make sense to merge #1194 first, as Taffy has already imported versions of those fixtures and they would therefore be included in an export.


Added an online JSON editor

Added ExtendsClass, an online JSON editor.

Very cool. Thanks!

Thanks!


PowerToys run crashed with infinite exception loop

Microsoft PowerToys version
0.65.0
Installation method
WinGet
Running as admin
No
Area(s) with issue?
PowerToys Run
Steps to reproduce

Have PowerToys Run enabled on "DeviceWithPowerToys"
Enable RDP connections to "DeviceWithPowerToys"
Take other computer :) That has touchscreen, i.e. Dell XPS 9360 "ComputerWithTouchScreen"
Connect via RDP from"ComputerWithTouchScreen" to "DeviceWithPowerToys"
Watch wonderful exceptions blocking screen, until you manage to turn Power Toys run off

✔ Expected Behavior
No exception thrown or more polite behaviour, that doesn't block screen, when exceptions are thrown.
❌ Actual Behavior
2022-12-31.txt
Other Software
No response

Can you please upgrade to latest 0.73 and verify if the issue still occur?
/needinfo


PR #1: Update device drivers FIT v125

Checklist:

[ ] I have tested my changes. No regression in existing tests.
[ ] My code is Linted.

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

/bot run checks


Access network transfer speed api

Access network transfer speed api
Currently, MediaPlayerElement has no debug panel info, while YouTube online player has many debug info, such as speed and video resolution, etc. And iOS's AVPlayer also has many debug info, enough to display info for developers to analysis the network status.
MediaPlayerElement should contains debug panel, but unfortunately they don't!
So I'm asking to help to develop network transfer api to developers, this is really helpful.
And if possible,I hope MediaPlayerElement can support debug panel.

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

ID: 28556949-8291-f501-a82b-b8ee0c8f24e2
Version Independent ID: 10dbdeba-444e-8e04-83d5-8f5c5bb8b9c3
Content: Networking and web services - UWP applications
Content Source: windows-apps-src/networking/index.md
Product: uwp
Technology: communication
GitHub Login: @stevewhims
Microsoft Alias: stwhi

Hi, @hupo376787, and thanks for filing this issue. The feedback channel you're using here (Send feedback about > This page) is for feedback about the documentation itself. For example, if you believe that the content is incorrect, or that info needed to succeed with a common scenario is missing.
But for feedback about the product, like this, you can click Send feedback about > This product, and you'll be taken to the Feedback Hub app (more info about that below).
You can use the info you've provided above with that product-feedback channel.
Here are all of the developer support resources, for completeness.

The Feedback Hub app is the right place to lobby for a change, a feature, or to make a suggestion.
For community assistance with development questions, there are our forums, and StackOverflow.
The Windows developer support site explains other support options.
The Visual Studio developer community is available, and responsive. The former User Voice feature is now there on the Suggest a feature tab, if you want to lobby for a change, a feature, or to make a suggestion.
For developer issues, or suspected product bugs, there's Microsoft Support; a support engineer will look at the repro and see whether the issue is a Microsoft product bug, or something else. If it's a bug with a Microsoft product then the ticket will be free of charge.

If you receive assistance via any support resource, and you believe that information would help us improve the docs, then please come back and let us know.
I'll go ahead and close this issue now, since there's no action I can take in the documentation. You can always reply to a closed issue, or even re-open it if you feel it's been closed in error.
-Steve


(PUP-6604) Extend variables_refreshed sleep on Solaris

This commit extends the sleep statement in the
variables_refreshed_each_compilation test to 61 seconds when
the platform is Solaris.
As per FACT-1497, the system_uptime.seconds fact updates
less frequently on Solaris. Prior to this change this test failed
on Solaris due to this issue with facter.
This is a work around and should be reverted when the underlying
facter issue is resolved.

LGTM


Bluestacks?

I know this question have been asked many times before, but I can't get the script to work on bluestacks always freezing when I start the script. I have no problem running it on nox, but as you may know the support for 32-bit devices will be stopped on next update and nox is still 32-bit.

Someone correct me I'm wrong, but I'm fairly sure that all Android
emulators made for gaming use VirtualBox internally, which only supports
x86 Android, not ARM. So, all emulators, including Bluestacks, won't be
able to run FGO anymore.
Em seg, 2 de set de 2019 22:37, looowkeydude<EMAIL_ADDRESS>escreveu:

I know this question have been asked many times before, but I can't get
the script to work on bluestacks always freezing when I start the script. I
have no problem running it on nox, but as you may know the support for
32-bit devices will be stopped on next update and nox is still 32-bit.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/29988122/Fate-Grand-Order_Lua/issues/238?email_source=notifications&email_token=ABA5ZJV7DYLJGGQBZ622QRDQHW5XJA5CNFSM4ITBDEDKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HI3WBNQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABA5ZJXTAQU5AZC2HOHJOHLQHW5XJANCNFSM4ITBDEDA
.

ah I see, so, rip my afk farming then

Still alive, and clearly I don't want to spend time on reversing to see if Delightworks really compiled x86 libs into the production build.
Anyway, still alive.
大家可以回家啦!

圖片
Hey, finally they kind of figured out that we're not cheaters in a strict sense(no pvp in FGO)...we're players focusing on other aspects apart from the battle.
I'm kind of surprised that I'd say this...thanks, Delightworks!

So, they didn't actually update Unity's libs? Where did those rumors came from then?

Rumor(X) they said that themselves(O)
They did upgrade unity, and possibly a partial or full refactor of the codebase.
The files in data/data/aniplexfgo/* changed a lot.
Game assets's been moved to /sdcard/Android/obb (finally)
The execution speed's now normal. I'm pretty satisfied.

So, a friend of mine who's more knowledgeable of game development and hardware told me that it's possible to setup an ARM -> x86 translation layer in an Android installation. Even though it doesn't work for all apps, it happens to work for FGO.
At this point this is also just another guess though.


camera_optimization suggestion

The CLI utility and function names should be clear that this is a plotting tool, not to be confused with a utility that does the actual camera optimization.  Maybe camera_optimization_plot or something.
But I think this is only a csm_linescan_plot at this point, and only supports linescan input?  At some point, we were hoping to support similar plotting tool for sequence of frame cameras, like the current orbit_plot.py tool.  So maybe just csm_plot, or something.
While we want to plot changes before/after bundle_adjust or jitter_solve, we should also be able to plot a single camera or two cameras, without providing a second "corrected" set.
It would be good to swap in some "clean" test datasets, as the one in the notebook has outliers and is not necessarily representative - this is a minor issue, as I know it is just for testing and development, but these sample figures will inevitably end up used elsewhere, so we should use something that looks good and makes sense, easy to explain, etc.

[ ] rename camera_optimization to csm_plot
[ ] flexible plot for just one camera
[ ] use clean test data

Awesome.  Thanks @bpurinton!


Add mangled names for delegate and struct marshalling stubs

Michal added concept of prefix mangled type/method couples of
days ago which enables us to add managled name for delegate and struct
marshalling stubs.

@MichalStrehovsky  PTAL

@dotnet-bot test OSX Release

@dotnet-bot test X Debug and CoreCLR tests

@dotnet-bot test OSX Debug and CoreCLR tests

@dotnet-bot test OSX Release

@dotnet-bot test OSX Debug and CoreCLR tests

I admit, the interface names have become  a little confusing.  I don't have any better name suggestions either. I can think of  IPrefixMangledTypeContainer/ IPrefixMangledMethodContainer, but I am not sure whether that is any better. I will leave it as it is for now.

@dotnet-bot test OSX Release

I will leave it as it is for now.

You should at lease update the comments on the interfaces then. With your change, the comments are outdated.

This PR builds and passes basic tests on my Mac so we can probably just merge.


remove user-template/auto

Remove the user-template/auto template from the system. Internal user creation should use user-template/direct instead.
In addition, the user-template/direct template should also hash the user's password when creating the user resources.

The user-template/direct template cannot be made to hash the password because too much of the Java code assumes that the password value is already hashed by the client. The user-template/auto template can be removed.


Index check should happen before using index

This may not be a bug, but Cppcheck complains about it
https://github.com/michaelrsweet/pappl/blob/97d7297ee47a21597b19791ccb660da27513db29/pappl/snmp.c#L375
https://github.com/michaelrsweet/pappl/blob/97d7297ee47a21597b19791ccb660da27513db29/pappl/snmp.c#L74

Not really a bug but probably something that should be cleaned up so it is clear about the intent.

[master 9d9df5d] Workaround bogus warnings about index check happening after access (Issue #207)


[ENG-5575] Mark "Email" and "Full name"

Ticket: ENG-5575
Feature flag: n/a

Purpose

update "Add unregistered contributor" modal's placeholders to be correct

Summary of Changes

Reprioritize how the required property is computed to use the @isRequired argument over the inferring it via @validation

Screenshot(s)

Before: (note placeholder text says "optional")

After:

Side Effects

QA Notes

Does an .hbs file need to be updated for the * or does this do it automagically?

It's a bit convoluted, but no hbs file needs to be updated in this case. This required property is used to compute the _placeholder property, and that _placeholder is already being used in the ValidatedInput::Text hbs file


Benchmark VarlenEntry

As a justification for #1050 I wrote a benchmark that hashes VarlenEntry both inline (CRC32) and non-inline (xxh3). I figure this might as well go into master first as we debate #1050.

Added a benchmark for different equality comparison scenarios to help with #1066.


openfoam@2012

Spec:
openfoam@v2012 +paraview +vtk
Fails due to failure in paraview due to failure in llvm
The following spec:
openfoam@v2012
works, with modification in recipe and modification to the packages.yaml to allow installation of texinfo

Recipe was modified to allow compilation and configuration of collated fileHandler as default for Pawsey
recipe has been added to :
setonix/environments/env_apps/package.py.openfoam
But needs to be copied into:
spack-repo/var/spack/repos/builtin/packages/openfoam/package.py

thanks @AlexisEspinosaGayosso ! can you move the openfoam recipe under setonix/repo_setonix/packages/openfoam/ ?  (also carry over any patch file from the original openfoam recipe directory in spack)
this is useful to allow Spack to automatically use that directory for edited recipes.
thanks :)

I have moved file in the branch


KAFKA-6718: Rack Aware Replica Task Assignment

Machines in data centre are sometimes grouped in racks. Racks provide isolation as each rack may be in a different physical location and has its own power source. When tasks are properly replicated across racks, it provides fault tolerance in that if a rack goes down, the remaining racks can continue to serve traffic.
This feature is already implemented at Kafka KIP-36 but we needed similar for task assignments at Kafka Streams Application layer.
This features enables replica tasks to be assigned on different racks for fault-tolerance.
NUM_STANDBY_REPLICAS = x
totalTasks = x+1 (replica + active)

If there are no rackID provided: Cluster will behave rack-unaware
If same rackId is given to all the nodes: Cluster will behave rack-unaware
If (totalTasks >= number of racks), then Cluster will be rack aware i.e. each replica task is each assigned to a different rack. Among the available racks, it'll further preserve stickiness as well as select least loaded if not stiky.
If (totalTasks < number of racks), then it will first assign tasks on different racks, further tasks will be assigned to least loaded node, cluster wide.

Hi @deegoy2 , please note that whenever we are changing the encoding format of the protocol change we need to bump up the version of the protocol, and also please note that in KIP-268 we have proposed the way how to maintain backward compatibility when users upgrade to the new version.

Also note there is another JIRA https://issues.apache.org/jira/browse/KAFKA-6642 proposed for this specific KIP. I think it is similar to your proposed solution but just listing it here:
Assignment of tasks to instances:

1. We assign active tasks to the instances where same task was running as active previously.
2. Active Tasks which couldn't be assigned in first step are assigned to the instances where same task was running as standby previously
3. Active tasks that still couldn't be assigned, are assigned to instances in round-robin way starting from least-loaded instance
4. Above 3 steps are same as StickyAssignor as there is only one active task for any task_id so no extra rack aware logic is required in assigning active tasks.
5. Now we have to assign standy-task, and here we assign these to instances running in racks other than the one with its active task. If we run out of racks then we can assign standby-tasks in same rack but on different instances.
6. This makes the assignment rack-aware but more of a best effort and doesn't guarantee anything. This is because we might not have capacity left in some racks or we might have more number of replicas than number of racks etc
Note: Here we are making current StickyTaskAssignor rack-aware, but doesn't change the logic drastically. For example, current assignor is only sticky for active tasks, and standby task assignment logic is not sticky as it doesn't look for where the task was assigned previously.

also cc @bbejeck since he has recently be working on this class.

Just see if all the below checks are passing with the changes:
(a) ./gradlew checkstyleMain checkstyleTest
(b) ./gradlew findbugsMain findbugsTest -x test
(c) ./gradlew testAll

Hi, Is there a timeline to include this patch to the trunk?

@chienhsingwu This PR seems to be abandoned. It targets 1.1 and not trunk and I would expect it need some cleanup when it's rebased to trunk.
@deegoy2 I will close this PR for now. Feel free to reopen if you are still interested to get it merged.

Also, this feature needs a KIP as pointed out on the Jira ticket, but there was no KIP proposed yet.


Ignored Friend Requests feature integration

Not an issue, but rather a feature request.
Hi. Apparently, VRC's website now has a feature called Ignored Friend Requests. You can check it out here. It is supposed to stop requests from going through if you decline them, by the looks of it, since there is no way to decline a request without adding the person to that ignore list.
Which is the issue here, since the feature seems to be retroactive. Any declined request is automatically ignored now, and there is no way to search/filter through said list, unless I'm missing something. Couldn't find any mention of said feature either, not yet.
It also seems to be in development or generally bugged, as removed people still count as ignored people, thus suppressing their friend requests after they are removed. Not sure if it is a one-off; warrants some testing.
Cheers.

The Ignore and delete notification button are the same thing, they both call to the same endpoint with the same request
https://api.vrchat.cloud/api/1/auth/user/notifications/[NOTIFCATION ID]/hide
this would be adding a feature that already exists under another name

till vrchat actually makes that button do something different the best way to ignore friend requests is to simple not decline them, they cannot send a new friend request if one has already been delivered and has not been accepted or declined then they actaully go to this

nevermind I am completely incorrect the unofficial docs seem to be a bit out of date still 😆

Seems like the notification row button indeed does call to /hide endpoint, but the burger menu subitem called "Delete friend request" both does remove the request and the ignore entry. The website, however, still doesn't provide any way to request the latter endpoint at all.

Seems like the notification row button indeed does call to /hide endpoint, but the burger menu subitem called "Delete friend request" both does remove the request and the ignore entry. The website, however, still doesn't provide any way to request the latter endpoint at all.

yeahh thats why I was a bit confused i got like 40 or so requests still standing so ill do some debugging


sunposition timedeltas

The way that we are working with hourly data (or other interval) to assign a sunposition, is we calculate the interval, and then substract that. For example: hourly data, 12, sunposition is calculated at 11:30.
However, this is not what SAM and PVSyst are doing :
"The way that we are working with hourly data (or other interval) to assign a sunposition, is we calculate the interval, and then substract that. For example: hourly data, 12, sunposition is calculated at 11:30."
https://www.nrel.gov/docs/fy15osti/64102.pdf
Apparently this is the way it works since at least 2015. PVSyst seems to do the same.

this issue was identified by pvlib too on ~ https://github.com/pvlib/pvlib-python/issues/733
there is a fix for this in bifacialvf, need to propagate to bifacial_radiance for next release.

I wouldn't necessarily consider this a 'problem', there's just no consensus out there of whether hourly time-series data should be left-labeled or right-labeled.  At the moment we're assuming right-labeled to follow the TMY3 file format convention.  PVSyst and SAM use left-labeled convention I guess.  pvlib does both - TMY3's are right labeled and EPW's are left-labeled.

A possibility for conditions where we have all three components is to use pvlib.irradiance.dni(ghi, dhi) to re-calculate dni based on sunposition, and compare with measured dni.  If there's a poor match, we can raise a warning that there's a timestamp error.

That sounds nice. But, it would just be easier to also give the option on the function to specify left-label data or right-label data, since we already have it in bifacialVF coded.

this was implemented in the release v0_3_4, closing.


390 add config set tests

solve https://github.com/di-sukharev/opencommit/issues/390 and refactor isCancel

@matscube could you review please

i dont understand why the unit tests fail 🤔

@di-sukharev Hi, It seems that an error occurs when the cleanup function is executed for a directory that no longer exists.
For example, cleanup is executed in beforeEach and afterEach, but globalConfigFile / envConfigFile are set to the same path between each test (it) and test (it), so the same directory is cleaned up twice and an error occurs.
  beforeEach(async () => {
    resetEnv(originalEnv);
    if (globalConfigFile) await globalConfigFile.cleanup();
    if (envConfigFile) await envConfigFile.cleanup();
  });

  afterEach(async () => {
    if (globalConfigFile) await globalConfigFile.cleanup();
    if (envConfigFile) await envConfigFile.cleanup();
  });

  describe(...
    it(...
    it(...

It can be fixed by changing the code to execute cleanup only once, but it seems easier to fix by checking the existence of the directory in the cleanup function.
I created a PR on this branch, so please check it out.
https://github.com/di-sukharev/opencommit/pull/401

thank you @matscube 🙇


How to get the Banking APIs related responses

How to get the below details
1.getbank
2.getbulkBalance
3.get account and transaction details
where to get below headers
x-fapi-interaction-id: string
x-fapi-auth-date: string
x-fapi-customer-ip-address: string
x-cds-client-headers: string

Hi @gobi-it
The issues raised here should be specific to the CDR Mock Register.
The CDR Mock Register does not contain the Banking APIs, as these are implemented within a Data Holder solution.
If you have more general questions about CDR or the Consumer Data Standards, please raise a question via the CDR Support Portal.


Page field not working ?

Expected behavior
I'm trying to export a page to PDF file in A4 format.
Actual behavior
Nothing is generate and no errors. If I don't do page.property  pdf is generate but not in A4.
Steps to reproduce the behavior
Example for google page :
phantom.create().then(function (ph) {
    ph.createPage().then((page) => {
      page.property('paperSize', {
        width: '8.5in',
        height: '11in',
        header: {
          height: "1cm",
          contents: phantom.callback(function (pageNum, numPages) {
            return "
Header " + pageNum + " / " + numPages + "
";
          })
        },
        footer: {
          height: "1cm",
          contents: phantom.callback(function (pageNum, numPages) {
            return "
Footer " + pageNum + " / " + numPages + "
";
          })
        }
      }).then(() => {
        page.open("http://www.google.com").then((status) => {

          page.render('google.pdf').then(function () {
            console.log('Page Rendered');
            ph.exit();
          })
        }).catch(err => console.log(err))
      }).catch(err => console.log(err))
    }).catch(err => console.log(err))
  })

Environment

OS: OSX
Node version (node -v): 4.4.2
package version: 2.0.10

There is a test where it's almost identical to what you are doing here https://github.com/amir20/phantomjs-node/blob/master/src/spec/page_spec.js#L70.
So it should work. I am guessing some error is being thrown and it's not being caught properly. Hm.....

It works for me locally. Make sure phantom is the instance of phantom that phantom.create() returns...


Upper Menu Bar (for clipboard, etc) is gone after update. How to get it back?

Hello,
I'm using this container a long time and the topmost VNC navigation, where users could easily reach the clipboard content has now moved to a 3 dot hidden menu on the left of the screen.
This is very inconvenient and cumbersome to use, if users need use the clipboard option very often, which I do.
I'l looking for a switch to move that clipboard button to the top again.
How would I set this up?
Thank you :-)
Old:

New:

How the new method is inconvenient ?  Clipboard is 1-click away in both cases.
You can always stick the previous version by using the v1.7.2 Docker image tag.  So instead of creating the container using jlesage/jdownloader-2, use jlesage/jdownloader-2:v1.7.2.

its cumbersome because I'm on mac and my (autohidden) dock is on the left side of the monitor too.
so, each time, I try to reach that 3 dot menu, in 90% the trackpad moves 1 pixel to far and the dock opens, which then hides the part of my browser, where the 3 dot menu is.
Also more clicks are needed now:
old: 1 click to open the clipboard, curser was already in the textbox, so I could just paste the content and click "submit".
now its 2 clicks more to focus the clipboard and to close the 3 dot menu again, which also hides too much of my screen. I can not read the content of my tabs while typing or pasting to the clipboard.
That might sound nitpicking, but it is my workflow and it has proven fast and flexible.
this sadly, is now no more.
I have reverted to the previous version, but I thought, it might be possible to switch between two modes.
Thank you for that great and useful container!

I don't think the old UI will come back.  However, the new one can be improved.

old: 1 click to open the clipboard, curser was already in the textbox, so I could just paste the content and click "submit".
now its 2 clicks more to focus the clipboard and to close the 3 dot menu again

So it seems that adding auto focusing on the clipboard text box would solve this issue: first click on the 3 dots, fill the content of the clipboard, then second click to close the menu.

which also hides too much of my screen

You can collapse the Settings section to make the menu smaller.

I can not read the content of my tabs while typing or pasting to the clipboard.

Because of the new position of the menu ?  The old Clipboard box was also taking a similar amount of space.

Hi jlesage,
First of all thanks for making this docker container.. have been using it a lot the past few years..
I agree with gittt54 that it feels a bit less straightforward than the previous version..

The old version used to have a submit button - i think you mentioned the current way is to click on the three dots after pasting? would be nice to have the button back if possible :)
It would be nice to have the three dots/menu on the right hand side of the screen, because currently it blocks stuff more if it's on the left

other than that I think it's fine.. 👍

A submit button is not needed.  What you type in the clipboard is automatically and instantly available to the app.  So closing the menu is not required for the content to be available.
I don't know if you noticed, but you can move the 3 dots up and down.
Finally, having the choice of the location of the 3 dots (left or right side) might be something possible.  I will look at this.

Thanks for the prompt reply - I just tried it and it seems to have automatically added it ok..
Yes I realised I can move it up or down which is nice but putting it on the right would prevent it from obstructing the download titles. But to be honest I think it's something I can used to after a while.

Hello and sorry for the late reply.

old: 1 click to open the clipboard, curser was already in the textbox, so I could just paste the content and click "submit".
now its 2 clicks more to focus the clipboard and to close the 3 dot menu again

So it seems that adding auto focusing on the clipboard text box would solve this issue: first click on the 3 dots, fill the content of the clipboard, then second click to close the menu.

I will love to try this if it is available.

which also hides too much of my screen

You can collapse the Settings section to make the menu smaller.

As far as I remembr, collapsing would close the clipboard box and so I can not type anything.

I can not read the content of my tabs while typing or pasting to the clipboard.

Because of the new position of the menu ? The old Clipboard box was also taking a similar amount of space.

Yes, because of the new position. It now expands over the downloads-tab and hides most (of course, the important text in the middle) of the lines.
The old box was not hiding too much of important text, because the box was on the top of the window and was only hiding jd2 buttons, not the download-items.

Finally, having the choice of the location of the 3 dots (left or right side) might be something possible. I will look at this.
That would be great. Let the user chose, where to put dat 3 dots. left/right corner of the screen or top/bottom. The position of the 3 dots is movable, yes, but as I wrote, having the dock left too will automaticly open the dock if I move the mouse 2 pixels to far and thus will take 2 seconds while I can not open the clibboard box becasue the dock is hiding after 2 seconds and reveals the 3 dots.

Funny, how a small change can make virtual life much harder ;-D

@jlesage I quite like this new menu, much more convenient imo and more pleasing to look at. Out of interest, what practical use do these two sliders (Quality & Compression) serve. I can't see any difference no matter if both are on the lowest or highest setting. I would expect them to control the visual Quality of the App I guess.

just did a quick test and works well.. thanks for the enhancements 👍

Out of interest, what practical use do these two sliders (Quality & Compression) serve. I can't see any difference no matter if both are on the lowest or highest setting. I would expect them to control the visual Quality of the App I guess.

@pchristod, sorry I forgot to answer this.  For an application like JDownloader, these settings won't have a big impact because the content of the UI is not changing a lot.  But if you try for example the Firefox Docker container and start to play a Youtube video with it, you should definitely see a difference when adjusting the settings.

Thanks, appreciate the answer and explanation!

Closing this issue. Please re-open is needed.

I have never updated and use an old docker container ever since.
that will hopefully work forever :-)
thank you!


Rebar3 release with Erlang 20 doesn't include the plugin correctly

I have a Rebar3 release generated, using this plugin. I was generating the release using Erlang 18.3 and never had a problem. Recently upgraded to 20.1 and kept getting an error on release generation:
$ rebar3 as prod release
===> Verifying dependencies...
===> Compiling tp_api
===> Running erlydtl...
===> Starting relx build process ...
===> Resolving OTP Applications from directories:
          /srv/www/tp_api/releases/20171011220543/_build/prod/lib
          /srv/www/tp_api/releases/20171011220543/ebin
          /usr/lib/erlang/lib

===> Failed to solve release:
 Dependency erlydtl is specified as a dependency but is not reachable by the system.

I had erlydtl declared as an application dependency in the app.src file. Now, after getting this, I've removed it from the app.src file, and got the release done. But inside the application, every time I tried to use the generated functions, got an undef error:
(node@<IP_ADDRESS>)2> my_template_dtl:render([{}]).
** exception error: undefined function erlydtl_runtime:init_translation/1
     in function  my_template_dtl:render_internal/2 (, line 534)
     in call from my_template_dtl:render/2 (, line 515)

Note - this only happens inside a release, when you compile and run it with rebar3, it works fine.

I have this problem too.
It seems it's because the plugin depends on git master while the application depends on a certain tag or hex version and some confusion happened between rebar3 and relx.


While a listing is locked in a challenge, tokens cannot be withdrawn if the withdrawal would leave the listing with < minDeposit unstakedDeposit

https://github.com/skmgoldin/tcr/blob/db40cd3c1719e4afc1299867df7acc3244ced3e0/contracts/Registry.sol#L134
The intent of this line is to prevent people from making withdrawals that would leave them subject to touch-and-removes. It does that.
A side effect is that while a challenge is active, tokens cannot be withdrawn which would leave the unstaked deposit less tnan minDeposit, which is actually unnecessary. If the listing loses the challenge they will go away, and if they win they will necessarily be left with at least minDeposit tokens unlocked since they get their deposit amount unlocked plus their winnings from the challenge loser. Since multiple challenges cannot be in flight against a listing at the same time, it is okay if during a challenge a user withdraws their entire unstaked deposit.

Let's put a note about this in the Prospect Park Owner's Manual.


Fix typo in ressource file

 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.:x: felixfx sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


[wiki]: .obsidian/workspaces.json is now .obsidian/workspace

Want to share that the latest version of Obsidian 0.14.6 has changed the .obsidian/workspaces.json file to .obsidian/workspace.
The tips and tricks page still references the old file name.
Logging this issue to request an update to the wiki.
Really enjoying the plugin so far, awesome work =]

Thanks for the issue. I think this change is already half a year old or so.


Commands should not show the signed transaction

The transaction post register-forging-details command shows the signed transaction upon success. The signed transactions have a large signature which can take up a lot of space so it's better to not show them. Just showing a simple success message should suffice.

corrected in 5e1e531d935bcf851e3c7f47c1a8d14b92e4076a


Hello Kaggle! It is a guide for new kaggler

https://github.com/stevekwon211/Hello-Kaggle
It is a Kaggle Guide Document for someone who is new at Kaggle!

yes I am a beginner on Kaggle


CLI modifications to make tests more robust

High-level description
To make the integration tests more robust, Pytest fixtures were modified as part of https://jira.mesosphere.com/browse/DCOS-38213. A few of these changes are more appropriately added to dcos-test-utils:

Allow temporary directory to be provided, so it can be deleted later.
Increase buffer size, to reduce loops iterations.
Allow CLI state cleanup to work if directory does not exist.

Corresponding DC/OS tickets (obligatory)
These JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

DCOS-38213 dcoscli fixture times-out while downloading CLI

Related tickets (optional)
Other tickets related to this change:
Related dcos-launch and dcos PRs
Is this change going to be propagated up into another repo? Test the change by bumping the dcos-test-utils SHA to point to these changes to test it. Link the corresponding PRs here:
https://github.com/dcos/dcos/pull/2971
Checklist for all PRs

[x] Included a test which will fail if code is reverted but test is not. If there is no test please explain here: Minor backwards-compatible changes to test library.
[x] Include a test in dcos-integration-tests in https://github.com/dcos/dcos or explain why this is not applicable: This code is used in integration tests, which will fail if in error.
[x] Include a test in https://github.com/dcos/dcos-launch or explain why this is not applicable:

Integration tests were run and

[x] enterprise integration
[x] OSS integration

PLEASE FILL IN THE TEMPLATE ABOVE / DO NOT REMOVE ANY SECTIONS ABOVE THIS LINE
Instructions and review process
What is the review process and when will my changes land?
All PRs require 2 approvals using GitHub's pull request reviews.
Reviewers should be:

Developers who understand the code being modified.
Developers responsible for code that interacts with or depends on the code being modified.

It is best to proactively ask for 2 reviews by @mentioning the candidate reviewers in the PR comments area. The responsibility is on the developer submitting the PR to follow-up with reviewers and make sure a PR is reviewed in a timely manner.

@cprovencher @jgehrcke @margaret @colin-msphere - can I please get a review?

🤦♀ also just noticed that the links for tests go to dcos-launch... going to make another PR for that


ImportError: libopenzwave.so.1.4: cannot open shared object file: No such file or directory

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.63
Python release (python3 --version):
Python 3.5.2
Component/platform:
python_openzwave==0.4.3
Description of problem:
After upgrading to 0.63 python_openzwave won't install. After installing missing Cython
see: https://github.com/home-assistant/home-assistant/issues/12293
I get ImportError: libopenzwave.so.1.4: cannot open shared object file: No such file or directory
Expected:
zwave to work after upgrade :-/
Problem-relevant configuration.yaml entries and steps to reproduce:

Traceback (if applicable):

Additional info:
2018-02-11 12:14:43 ERROR (MainThread) [homeassistant.setup] Error during setup of component zwave
Traceback (most recent call last):
File "/opt/ha063/lib/python3.5/site-packages/homeassistant/setup.py", line 148, in _async_setup_component
component.setup, hass, processed_config)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in iter
yield self  # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/opt/ha063/lib/python3.5/site-packages/homeassistant/components/zwave/init.py", line 252, in setup
from openzwave.option import ZWaveOption
File "/opt/ha063/lib/python3.5/site-packages/openzwave/option.py", line 29, in
import libopenzwave
ImportError: libopenzwave.so.1.4: cannot open shared object file: No such file or directory
2018-02-11 12:14:43 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: level=ERROR, timestamp=1518347683.4981248, exception=Traceback (most recent call last):
File "/opt/ha063/lib/python3.5/site-packages/homeassistant/setup.py", line 148, in _async_setup_component
component.setup, hass, processed_config)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in iter
yield self  # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/opt/ha063/lib/python3.5/site-packages/homeassistant/components/zwave/init.py", line 252, in setup
from openzwave.option import ZWaveOption
File "/opt/ha063/lib/python3.5/site-packages/openzwave/option.py", line 29, in
import libopenzwave
ImportError: libopenzwave.so.1.4: cannot open shared object file: No such file or directory
, message=Error during setup of component zwave, source=components/zwave/init.py>

I am getting the same problem here. Created a fresh venv (with 3.6 rather than 3.5) but still the same result.
The only libopenzwave*.so I can find is:
./lib/python3.6/site-packages/libopenzwave.cpython-36m-x86_64-linux-gnu.so

For some reason, if I do a make update && make build && make install-api on the python-openzwave checkout (with my venv active) it is working just fine.

I fixed my v0.63.1 install by doing a manual build of the open zwave https://github.com/OpenZWave/open-zwave.git and creating a symbolic link to the library via:
ln -s /opt/open-zwave/libopenzwave.so.1.4 /usr/lib64/libopenzwave.so.1.4

Similar to others I had this issue and had to make a symbolic link to the library. I already had the library in a directory so just the link worked for me.
ln -s /usr/lib/libopenzwave.so.1.4 /usr/lib/local/lib64/libopenzwave.so.1.4

Still there in 0.64.3
File "/opt/hass.0.64.3/lib/python3.6/site-packages/openzwave/option.py", line 29, in
import libopenzwave
ImportError: libopenzwave.so.1.4: cannot open shared object file: No such file or directory

The work-around that i posted is still relevant. If we upgrade python-openzwave to 0.4.7, it will fix it as per upstream:
https://github.com/OpenZWave/python-openzwave/issues/126


Update Medoo.php

ORDER BY RAND() feature added.
Users can add this feature by simply adding it into where clause like asc.
'ORDER' => [
  '' => 'RAND()'
]

It's possible to use RAND() with raw object (https://medoo.in/api/raw). So it don't need for this.


Made shape placement parsing strategy extendable with providers

Changes the hardcoded nature of Placement.info match nodes by opening it up so you can match placement on custom conditions using new providers.
Includes default match providers for contentpart, contenttype, displaytype and path to replicate the current match types.
This should allow us to possibly close the following
#4138
#3671
and solves the problems outlined in #7834

@MatteoPiovanelli-Laser I'm not overly sure i follow? the key is literally the name of the attribute on the match? wouldn't any evaluation for fancy stuff be inside the Match method?
I might be misunderstanding you :) can you provide an example?

Sure.
In the Gist you posted yesterday as an example you had in your Placement.info
<Match Hub="true">

And you Match method did
return contentItem.Has<IClincialArticlePart>() && contentItem.As<IClincialArticlePart>().IsTopicHub;

We could make that more generic with reflection and have the key in the placement info be
<Match ClincialArticlePart.IsTopicHub="true">

Then if we had a bool CheckKey(ShapePlacementContext context, string key) method it could check whether the context.Content.ContentItem had a ClincialArticlePart with a property called IsTopicHub.
The base cases that are in place would still check the key against a constant. Most cases would check the key against a constant. Having the CheckKey method allows more flexibility.
As I am writing this, I feel I would also pass the key to the Match method, for the same reason and to be able to use it in the reflection example.

That would be pretty powerful; though maybe the efficiency would be a concern as it would have to evaluate all those keys against every match in every placement? regardless of if any match statement actually existed for it.
would you not write it
<Match ClinicalArticlePart="IsTopicHub">
...
</Match>

or
<Match Hub="ClinicalArticlePart.IsTopicHub">
...
</Match>

Then just parse the expression to do whatever you wish with reflection; this would prevent the logic getting run if there was no actual match statements in any placement

That would be pretty powerful; though maybe the efficiency would be a concern as it would have to evaluate all those keys against every match in every placement?

Could you explain what you mean? I see that efficiency would probably be poor. I don't understand "evaluate all those keys against every match in every placement"

The placement processor basically says here is a  it will do that for every  node in every module and theme. it then evaluates to see if it knows what to do with the key; so with many modules/themes and in turn many  node it would have to run the key logic for each one; so the performance of doing the logic vs is it this constant would be poor. at the moment the Match() method of the providers which contains logic will only run if there has been a  node in a placement file that matches it's key ....

I get it now.
I would still allow it though. If the CheckKey method compares to a constant then it won't really impact performances. If it does something else it might, but then it's the method's "fault", I think, not the interface's.
I am not saying we should have the fancy provider using reflection, as it will be way overkill in 99.9999% of cases (or more). But maybe we'll find a way a clever caching strategy that would make it's performance impact negligible. Maybe it only even tries to parse the key when it starts with a "@" character, and CheckKey returns false in every other case without doing anything  more.

Just have a key like Predicate with a constraint inside, instead of matching different keys. Could even be some language like JS or C#.
Predicate="ClinicalArticlePart.IsTopicHub == true"

Agreed it shouldn't match diff keys ^ the above is pretty much possible
with what I've done here already no?
On Thu, 31 Aug 2017 at 20:09, Sébastien Ros<EMAIL_ADDRESS>wrote:

Just have a key like Predicate with a constraint inside, instead of
matching different keys. Could even be some language like JS or C#.
Predicate="ClinicalArticlePart.IsTopicHub == true"
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OrchardCMS/Orchard/pull/7837#issuecomment-326392801,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAcaEGGGjjLOnes3Hqq4q96SmEnkD_hHks5sdwTrgaJpZM4PH7sb
.

You confirm nothing is broken by this change?
It's just a new interface, and some code is moved outside, right?

Correct, I can confirm nothing broken
On Thu, 7 Sep 2017 at 20:31, Sébastien Ros<EMAIL_ADDRESS>wrote:

You confirm nothing is broken by this change?
It's just a new interface, and some code is moved outside, right?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OrchardCMS/Orchard/pull/7837#issuecomment-327900535,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAcaEDDiZcHo7zPjgHwx5AEq6EZc_8W0ks5sgESYgaJpZM4PH7sb
.