General code cleanup

We can use this issue for miscellaneous code clean-up jobs that we hope to get to eventually (anyone is welcome to submit a PR to help us!).

Any variable called view is most likely using very old terminology and should be called element.
Lots of lines similar to if not isinstance(key, tuple): key = (key,)  which should be replaced with wrap_tuple (maybe a shorter name for this utility would be nice?)

Feel free to add to this list although crossing items off would be more satisfying!

We can keep adding to this list...

In __getitem__ the argument is variously called coords, slices, index, slc, item and even indexslice!

Need to fix all the unused imports flagged up by pyflakes immediately after 1.4 (hence the assigned milestone). It is tricky as you need to know if they are API imports (in which case the ignore comment is needed) or genuinely unused/unnecessary.

Unused imports warnings have been fixed in #379 but the other suggested code improvements are still outstanding.


Fixes #369

This adds implicit return/results.push inside implicit catch blocks.
A couple things to note:

CoffeeScript doesn't push for implicit catch so we may want to call that out in the docs.
Truly implicit returns may imply that -> should become function(){return} but I'll need to think it through a bit before committing to such a thing.

The reason for the return after the if without an else is to prevent the "Not all code paths return a value" error from TS: https://www.typescriptlang.org/play?#code/G4QwTgBCBcUHYE8BQSBmBXOBjALgSwHs4JUAKASggG8kII8yRKa66wBTHdMYgRlogBfJIKA
Longer term as we sort out the blocks better I think we can converge the complicated switch statements into something slightly simpler by having nodes with blocks have them exposed as a key and an additional boolean exhaustiveBlocks to indicate if a trailing push/return is needed.
I think I'd prefer -> to transpile to function(){} without the return for the sake of minimizing the output since it all seems to be the same to TS.


[Build][Bugfix] Use CMAKE_ prefix for _COMPILER_LAUNCHER

Previously, when using set(USE_CCACHE AUTO), the cmake config would set variables CXX_COMPILER_LAUNCHER and C_COMPILER_LAUNCHER. While there are the target-specific properties named <LANG>_COMPILER_LAUNCHER, cmake doesn't check for their use as global variables.
This commit updates the build file to instead set the CMAKE_<LANG>_COMPILER_LAUNCHER variables, which are used as the default for the <LANG>_COMPILER_LAUNCHER property.

@tkonolige This is a follow-up to #12839.  I noticed that ccache wasn't being used in my dev environment, and it looks like there was a different variable to be used.


map->odom tf is unstable when using both scans and pointcloud as input

Hi. I am struggling with the transform from map-> odom, which are computed by cartographer.
I am using 2 lidar scans and 1 3D camera.
The tests I have performed are with the robot standing still in the map (no moving).
When using only 2 lidar scans (num_laser_scans = 2,   num_point_clouds = 0), the map->odom transform is stable, with just some very small noise which not affects the map.
The transform do look like this:
At time 1324.100000000
- Translation: [1.944, 0.436, -0.311]
- Rotation: in Quaternion [0.000, 0.001, 0.003, 1.0]

When using only the pointcloud as input (  num_point_clouds = 1, num_laser_scans = 0), the transform does still look good and stable, and pretty much similar to the previous one.
At time 1324.100000000
- Translation: [1.965, 0.480, -0.311]
- Rotation: in Quaternion [0.000, 0.001, 0.003, 1.0]

But when I try to combine the lidars and the camera (num_point_clouds = 1, num_laser_scans = 2), the transform is jumping around, and the orientation is drifting, making the map look bad (looks like two maps on top of each other, with a rotation between).
Two following transforms look like this:
At time 1306.50000000
- Translation: [2.062, 0.039, -0.336]
- Rotation: in Quaternion [-0.017, 0.003, -0.125, 0.992]
At time 1306.160000000
- Translation: [2.016, 0.630, -0.312]
- Rotation: in Quaternion [-0.000, 0.001, 0.006, 1.000]

Which ofcourse make the map rotate based. Especially the y-coordinates are changing much, and also the z in the quaternions.
Can someone please help me figure out why this is happening?
Thankyou!!
Here is the rest of my lua file:
options  = {
  map_builder = MAP_BUILDER,
  trajectory_builder = TRAJECTORY_BUILDER,
  map_frame = "map",
  tracking_frame = "base_footprint",
  published_frame = "odom",
  odom_frame = "odom",
  provide_odom_frame = false,
  publish_frame_projected_to_2d = true,
  use_odometry = true,
  use_nav_sat = false,
  use_landmarks = false,
  num_laser_scans = 2,
  num_multi_echo_laser_scans = 0,
  num_subdivisions_per_laser_scan = 1,
  num_point_clouds = 1,
  lookup_transform_timeout_sec = 0.2,
  submap_publish_period_sec = 0.3,
  pose_publish_period_sec = 5e-3,
  trajectory_publish_period_sec = 30e-3,
  rangefinder_sampling_ratio = 1.,
  odometry_sampling_ratio = 1.,
  fixed_frame_pose_sampling_ratio = 1.,
  imu_sampling_ratio = 1.,
  landmarks_sampling_ratio = 1.,
}

MAP_BUILDER.use_trajectory_builder_2d = true

TRAJECTORY_BUILDER_2D.min_range = 0.1
TRAJECTORY_BUILDER_2D.max_range = 25
TRAJECTORY_BUILDER_2D.missing_data_ray_length = 25.
TRAJECTORY_BUILDER_2D.use_imu_data = false
TRAJECTORY_BUILDER_2D.use_online_correlative_scan_matching = true
TRAJECTORY_BUILDER_2D.motion_filter.max_angle_radians = math.rad(0.1)

POSE_GRAPH.constraint_builder.min_score = 0.65
POSE_GRAPH.constraint_builder.global_localization_min_score = 0.7

return options

I only use 2d radar, and I have the same problem as you


chore: update to backstage 1.25.0

closes #39
Reason for this change
New backend system in use for local development
Description of changes
Removed all old backend things
Replaced the packages/backend with the new backend system
Description of how you validated changes
Local testing
Checklist

[x] My code adheres to the CONTRIBUTING GUIDE

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Is there a plan to also update obviously deprecated installation instructions? :-)

Good point 😅 Maybe should do that as well.

Thanks @drodil this is a really helpful PR! Let me take some time to look it over and test it.

Should we update the scaffolder package so it declares a module properly and exports it?

@niallthomson yes we should. Just didn't have time to do it yesterday and could also be done in a separate PR.

@niallthomson sure thing! I am off for easter vacation so if you want to get this merged, please add your fixes 🤗

Enjoy your vacation!


Filename is rendered (and editable) inside HTML, even if it is turned off in the settings

Describe the bug
When exporting pages the filename will sometimes get rendered into the page, even if this option is disabled in the settings.
I believe the issue is related to which file was opened most recently, but I haven't been able to nail down the issue.
Operating System
Win10 Pro
To Reproduce
Steps to reproduce the behavior:
Create an empty vault with two pages:
A-Page
# Header A
Some text.

B-Page
# Header B
Some text.

Export this vault as a website. You will notice that the A-Page has the filename listed at the top, but the B-Page doesn't:

In addition, the text on the A-Page is somehow marked as editable:

Screenshots
(see above)
IMPORTANT: Error Log
Nothing to see here really:

Thanks for the report, I'll look into it!

This is fixed, but is replaced by a new bug #202 so I will close this in favor of the new issue


Refactor 20170611 seperate xpath

ok

Be prepared to publish v0.5.0 version,  this version is code refactor.
Seperate html parser part to a single file.


Live view configuration

Who designed this new interface?? Never change a winning team they say. Well they did and it is not good.
What I miss: A clear interface that shows me the configuration in a live window. 90% of the time I come to that page to look at how something is spelled when changing something in the config file. I DO NOT want to download the file and edit it to see what I want!
What I find fugly: All new interfaces are designed to be touch friendly or something. I'd like an interface that is sleek (like the old site who is now disabled!!) small and usable on large high res monitors. Like about 90% of the users of this site.
Please, please make it like the old site and everyone can be happy again.

Documentdetails
⚠ Dit gedeelte niet bewerken. Het is vereist om problemen te koppelen tussen docs.microsoft.com en GitHub.

ID: 67f2376c-177b-110f-9c88-f83d53bd6bc7
Version Independent ID: a98d74e5-f7dc-c073-4cb9-a8901895a89a
Content: Overview of the Office Customization Tool
Content Source: DeployOffice/overview-of-the-office-customization-tool-for-click-to-run.md
Service: o365-proplus-itpro
GitHub Login: @jwhit-MSFT
Microsoft Alias: jwhit

Hi erottier--Thanks for the feedback--it's always important for us to hear what's not working for customers. I've given your feedback to the engineering team. Sorry for the frustration--
Jason


Implement Base object

Within the JSS architecture, all JSON objects are identified by two properties:

identifier
name

This will be represented by the Identifiable protocol and implemented by the class BaseObject which must be inherited by any other object interacting with the JSS architecture.
This will enforce two things for the classes inheriting this BaseObject:

An init?(json: [String: Any]) failable initializer which take a JSON payload and return the instantiated object if the base payload is matched
A toJSON() -> [String: Any] function

Implemented with #11.


esa_matchfinder_find_all_matches dropps all matches with zero offset

Finally a suffix-array match-finder which did see enough love to be actually usable! Thank you for that!
After playing with it for a bit I realized that esa_matchfinder_find_all_matches does drop all matches from the beginning of a parse.
So data like this
hello, hello

the match at position 7 with offset 7 and length 5 will silently be dropped as the offset is zero there.
Is that intended behavior?
for me the parse up-to position 7 looks like this, the one with the + is the one reported back.
# position: ( offset, length ) [reported]
0: (   0,    5)
0: (   0,    1)

1: (   1,    4)
1: (   1,    1)

2: (   2,    3)
2: (   2,    1)

3: (   3,    2)
3: (   1,    1) +

4: (   4,    1)

5: (   5,    2)

6: (   6,    1)

7: (   7,    5)
7: (   7,    1)

@hegdi Unfortunately, this is by design and I noted this in readme "due to implementation details the esa-matchfinder can not find any matches with offset 0.", This certainly can be fixed, but at performance cost. And based on my testing, this limitation does not make any difference in compression ratio.


Automated cherry pick of #10827

Cherry pick of #10827 on release-7.2.
/cc  @mattermod
NONE

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Trying to auto merge this PR.

Pull Request successfully merged
SHA: 8d7b1cd3eb346fcf325352bc7ee1faf43f2c54b5


h3geo.org Python documentation appears incorrect for 4.1.1

The documentation for few of the h3 4.x geometry related functions appear to be incorrect at https://h3geo.org/docs/api/misc/. After reading through a few of the other issues here, I realized that I should be using the Python specific documentation, which appear correct. Regardless, this is something that is confusing and should be fixed imo.
Here is a list of the differences I noticed, though this could be incomplete:

get_hexagon_edge_length_avg vs average_hexagon_edge_length
exact_edge_length vs edge_length
get_hexagon_area_avg vs average_hexagon_area

You're totally right. Thanks for spotting!
If you wanted to take a stab at updating the h3geo.org docs, that would definitely be appreciated. And it shouldn't be too hard to update / we'd be happy to answer any questions.
Otherwise, I'll try to update the doc myself soon.


reword CrateDB licensing documentation

Summary of the changes / Why this improves CrateDB
"CrateDB Enterprise Edition" is now called "CrateDB", and the old "CrateDB" is now called "CrateDB Community Edition". this changeset reflects that
list of changes:

minor formatting fixes for LICENSE and NOTICE
replace "To enable or use any of the enterprise features" section in LICENSE with standard text from the source file boilerplates (example)
update "Enterprise Features" doc page
update crate.yml to match

I do not believe any other changes are needed. enterprise features in the docs are already flagged with an admonition saying "Foo is an [enterprise feature]." with a link through to the "Enterprise Features" page. this remains accurate and useful
Checklist

[ ] User relevant changes are recorded in CHANGES.txt
[ ] Touched code is covered by tests
[x] Documentation has been updated if necessary
[x] CLA is signed

retest this please


'fips make emsc-ninja-release' doesn't work on Windows

The Windows shell interprets the whole command line as the name of the command in subprocess.call.
There's some juggling required with shell=True and not building the command as string but as array of strings.
But this fails on other platforms (for instance 'ninja clean' didn't work).

Fixed.


INT-831 additionally list collections under databases

this creates a db -> collection hierarchy, necessary for the nested sidebar in compass.
Version already bumped to 2.1.0. Just minor because it doesn't change the top-level structure of the instance model and just adds a collections key in the databases objects.

I recommend breaking out the v2.1.0 bump into a separate commit. We'll need to tag it in git.

LGTM modulo the comment above

Rebased to add ticket number to commit summary and undo changes to package.json


Release newest anthropic models in next version

Is your feature request related to a problem? Please describe.
The newest version of 3.5 sonnet and 3.5 haiku are not supported in the latest release.
Describe the solution you'd like
As it has already been implemented and merged, it would be great if someone could do a release und push it to the NPM registry :)
Describe alternatives you've considered
I considered building on my own, but would prefer not to. Currently I'm manually overwriting the ReferenceModel strings.
Additional context
Thanks for the great plugin and have a happy new year 🔥

it is out now: https://github.com/TheFireCo/genkit-plugins/discussions/203


Possible to set key in StreamsBuilder

Hi,
I'm processing a topic and outputting to another however I notice the key for each entry in the topic is the same.
I would like the key to be unique however how do I set this?
fun buildTopology(builder: StreamsBuilder, properties: FeedsTopologyProperties): Topology {
    val stream = builder.stream<String, Song>(properties.inputFeedTopic, Consumed.with(Serdes.String(), JsonPOJOSerde<Song>(Song::class.java)))
    stream
            .mapValues { it }
            .mapValues(::convertSong)
           // I'm presuming i need a step here ?
            .to(properties.outputSongTopic)
    return builder.build()

Any help would be appreciated.

.map({ k, v  -> KeyValue("newKey", v) })

This is really a general question about Kafka Streams and should be asked on some other forum such as Stack Overflow, not here.
GitHub Issues are for reported problems or asking for features for the Spring Kafka project itself.


Custom show/Hide sections

Would be nice to be able to exclude some portions of each page, either with css and selecting sections within each page and use a display:none , so marking sections with id's or classes, or some exclude parameter for the build.

hi @keygjones
Your issue is for this demo project or compodoc ?

Hi @keygjones ,
I was thinking about compodoc :)


Update the French translation for 1.7.0

See #306
@CastagnaIT there is no disclaimer line for the French language in addon.xml and I was not sure if it was on purpose. Should I create it?
For my information why is the line duplicate in the files addon.xml and string.po? There is no way to use the string from strings.po in addon.xml?

not worry for addon.xml
i have to modify it also to other languages,
i will add


Problem with Materials in Android

Godot version
3.4.4
System information
Smasung Not10+ Gles2
Issue description
There is no problem when I test it on the computer, there is no problem on my teammate's phone, but I tested it on 2 Samsung phones and the materials on them are like disco balls.All of the animated objects I added have this problem, they were all downloaded from different sites

https://user-images.githubusercontent.com/64804972/179856760-4c8adf91-0532-4b8d-b1d8-733e972ab129.mp4
Steps to reproduce
All of the animated objects I added have this problem, they were all downloaded from different sites.
Minimal reproduction project
No response

@ismailgamedev Please upload a minimal reproduction project to make this easier to troubleshoot.
Also, note that the default project settings on mobile platforms are different than on desktop platforms.

@ismailgamedev Please upload a minimal reproduction project to make this easier to troubleshoot.
Also, try disabling octahedral compression on all animated objects in the Import dock, click Reimport and export your project to Android again.

Smasung Not10+ Gles2

That device is available with both Snapdragon (in USA and China) and Exynos (in Europe and Latin America). Which SoC does it have? This is important to know, as they use different GPUs with different graphics driver bugs.

Samsung not10+ Exynos

@ismailgamedev Please upload a minimal reproduction project to make this easier to troubleshoot.
Also, try disabling octahedral compression on all animated objects in the Import dock, click Reimport and export your project to Android again.

Smasung Not10+ Gles2

That device is available with both Snapdragon (in USA and China) and Exynos (in Europe and Latin America). Which SoC does it have? This is important to know, as they use different GPUs with different graphics driver bugs. You can check this information in the device's settings.

I tried what you said but it didn't work

it should look like this

I will upload in 20 30 minutes
20 Tem 2022 Çar 12:08 AM tarihinde Hugo Locurcio @.***>
şunu yazdı:

@ismailgamedev https://github.com/ismailgamedev Please upload a minimal
reproduction project
https://github.com/godotengine/godot/blob/master/CONTRIBUTING.md#provide-a-simple-example-project
to make this easier to troubleshoot.
—
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/63218#issuecomment-1189599075,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APONQ3BHJXH2UA73OTTVXI3VU4RNDANCNFSM54BOVSXA
.
You are receiving this because you were mentioned.Message ID:
@.***>

[SOLUTION] The solution for this is issue is to change the following value in the project settings: Project Settings >> Rendering >> Quality >> Skinning: Disable both values "Software Skinning Fallback" and "Force Software Skinning". It now looks fine on mobile device too.

Unfortunately this isn't a solution, it is a workaround.
If there is a bug in the software skinning path, we would really benefit from an MRP (minimum reproduction project) so we can debug and fix it. Particularly anything using blendshapes could be a problem, if I remember right. pouleyKetchoupp originally did the software skinning but I'm sure me and @clayjohn and others can debug / fix problems. :+1:
BTW forcing hardware skinning is a great idea right until your players try and run the game on hardware that doesn't support it, which is why there is a fallback! :grin:


[SPARK-27609][PYTHON] Convert values of function options to strings

What changes were proposed in this pull request?
In the PR, I propose to convert options values to strings by using to_str() for the following functions:  from_csv(), to_csv(), from_json(), to_json(), schema_of_csv() and schema_of_json(). This will make handling of function options consistent to option handling in DataFrameReader/DataFrameWriter.
For example:
df.select(from_csv(df.value, "s string", {'ignoreLeadingWhiteSpace': True})

How was this patch tested?
Added an example for from_csv() which was tested by:
./python/run-tests --testnames pyspark.sql.functions

Can one of the admins verify this patch?

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/12913/
Test PASSed.

Test build #107796 has started for PR 25182 at commit 8e6dc27.

Test build #107796 has finished for PR 25182 at commit 8e6dc27.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/107796/
Test PASSed.

@HyukjinKwon Please, review the PR.

Merged to master.


In 6.0.3 flow types for enableAllPlugins() etc. don't exist in index.js.flow

🐛 Bug Report
Starting with<EMAIL_ADDRESS>flow reports an error when trying to import the immer functions from
https://immerjs.github.io/immer/docs/installation#pick-your-immer-version
To Reproduce
Minimal test file:
// @flow
import {enableAllPlugins} from 'immer';
enableAllPlugins();

Then run flow type checking.
Observed behavior
Flow reports the error:
Cannot import enableAllPlugins because there is no enableAllPlugins export in immer.

Expected behavior
No flow errors.
Environment

<EMAIL_ADDRESS>flow

PR welcome!
On Thu, Apr 2, 2020 at 3:06 PM Steven Watanabe<EMAIL_ADDRESS>wrote:

🐛 Bug Report
Starting with<EMAIL_ADDRESS>flow reports an error when trying to import
the immer functions from
https://immerjs.github.io/immer/docs/installation#pick-your-immer-version
To Reproduce
Minimal test file:
// @flow
import {enableAllPlugins} from 'immer';
enableAllPlugins();
Then run flow type checking.
Observed behavior
Flow reports the error:
Cannot import enableAllPlugins because there is no enableAllPlugins export in immer.
Expected behavior
No flow errors.
Environment

<EMAIL_ADDRESS>flow

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/immerjs/immer/issues/570, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAN4NBC77KGCXYJFFZUI2KLRKSLXHANCNFSM4L2PI4OA
.

I suspect this is showing up in 6.0.3 because flow is now actually using the type definitions from this change. Before that flow would treat enableAllPlugins as having an any type.

@watanas do you want to put a pull request for this together. I just ran into this as well and would love to get updated flow types in. If not, I'd be happy to work on it.

@esturcke Added a pull request for this issue. PTAL. Thanks!

:tada: This issue has been resolved in version 6.0.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


New Python Branch Operator sometimes takes Both (of 2) Branches

I am running Release 1.2. In the image below, you can see that both branches are being taken.

I have 2 BranchPythonOperators and I have now seen this happen with both. The one causing the problem in the image above is really simple. It should always go down the clean_up_db_tables_job branch, but it follows both branches. I see this during a backfill. operation.
def _check_for_parquet_file_branch_condition_internal(ds, **kwargs):
    # TODO Implement this and remove the line below
    found_file = True
    if found_file:
        return 'clean_up_db_tables_job'
    else:
        return 'send_sns_notification_no_parquet_data'

# Branch Operator : Check that there is parquet data for this date range.
# If not, send email
# If so, proceed down main processing line
check_for_parquet_file_branch_condition = BranchPythonOperator(
    task_id='check_for_parquet_file_branch_condition',
    provide_context=True,
    python_callable=_check_for_parquet_file_branch_condition_internal,
    dag=dag)
check_for_parquet_file_branch_condition.set_upstream(generate_new_parquet_files_spark_job)

# Operator : If no parquet file, send an email and terminate early
send_sns_notification_no_parquet_data = PythonOperator(
    task_id='send_sns_notification_no_parquet_data',
    provide_context=True,
    python_callable=_send_sns_notification_no_parquet_data_internal,
    dag=dag)
send_sns_notification_no_parquet_data.set_upstream(check_for_parquet_file_branch_condition)

# Operator : Remove data from DB for this date range
# TODO : Implement this
clean_up_db_tables_job = DummyOperator(task_id='clean_up_db_tables_job', dag=dag)
clean_up_db_tables_job.set_upstream(check_for_parquet_file_branch_condition)

This should not be happening.

Here's the full code if you need it - Operators are in the bottom half :
from airflow import DAG
from airflow.operators import BashOperator, BranchPythonOperator, DummyOperator, \
    PostgresOperator, PythonOperator
from datetime import date, datetime, time, timedelta
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
from pprint import pprint

import base64
import boto.sqs
import boto.sns
import json
import logging
import psycopg2
import smtplib
import sys
import time

# CONSTANTS
SQS_QUEUE_NAME='cousteau-import-receiver-ip'
REGION = 'us-west-2'
DB_CHECK_QUERY='SELECT count(*) from message;'
SNS_TOPIC_ARN_FOR_JOB_STATUS='***'
EP_DB_CONNECT_STRING = "****"
SLEEP_INTERVAL_SECONDS = 10
MAX_WAIT_TIME_SECONDS_FOR_NEW_SQS_MESSAGE = SLEEP_INTERVAL_SECONDS * 30
YESTERDAY = datetime.combine(datetime.today() - timedelta(2),
                             datetime.min.time())

default_args = {
    'owner': 'airflow',
    'depends_on_past': True,
    'start_date': YESTERDAY,
    'email'<EMAIL_ADDRESS>    'email_on_failure': True,
    'email_on_retry': True,
    'retries': 3,
    'retry_interval': timedelta(seconds=5)
}
dag = DAG('ep_demo', start_date=YESTERDAY , default_args=default_args)

# PRIVATE HELPER METHODS
def _check_for_parquet_file_branch_condition_internal(ds, **kwargs):
    # TODO Implement this and remove the line below
    found_file = True
    if found_file:
        return 'clean_up_db_tables_job'
    else:
        return 'send_sns_notification_no_parquet_data'

def _check_for_sqs_message_branch_condition_internal(ds, **kwargs):
    conn = boto.sqs.connect_to_region(REGION)
    q = conn.get_queue(SQS_QUEUE_NAME)
    rs = q.get_messages()
    found_message = True
    start_time = datetime.now()
    while rs is None or len(rs) <= 0:
        elapsed_time_seconds = (datetime.now() - start_time).seconds
        if elapsed_time_seconds >= MAX_WAIT_TIME_SECONDS_FOR_NEW_SQS_MESSAGE:
            found_message = False
            break;
        logging.info("----- WAITING FOR A MESSAGE on SQS Queue : {}".format(SQS_QUEUE_NAME))
        time.sleep(SLEEP_INTERVAL_SECONDS)
        rs = q.get_messages()
    if found_message:
        logging.info("----- FOUND A MESSAGE on SQS Queue : {}".format(SQS_QUEUE_NAME))
        return 'wait_for_new_data_in_db'
    else:
        logging.info("----- GAVE UP ON WAITING FOR A MESSAGE SQS Queue : {}".format(SQS_QUEUE_NAME))
        return 'send_sns_notification_no_spark_data'

def _wait_for_empty_queue_internal(ds, **kwargs):
    conn = boto.sqs.connect_to_region(REGION)
    q = conn.get_queue(SQS_QUEUE_NAME)
    q_size = q.count()
    while q_size > 0:
        logging.info("----- WAITING FOR Queue {} to Drain".format(SQS_QUEUE_NAME))
        q = conn.get_queue(SQS_QUEUE_NAME)
        q_size = q.count()
        time.sleep(SLEEP_INTERVAL_SECONDS)
    logging.info("----- Queue {} Empty".format(SQS_QUEUE_NAME))
    return True

def _wait_for_new_data_in_db_internal(ds, **kwargs):
    db_conn = psycopg2.connect(EP_DB_CONNECT_STRING)
    logging.info("----- Successfully Connected to database {}".format(EP_DB_CONNECT_STRING))
    cursor = db_conn.cursor()

    # Establish a base line
    cursor.execute(DB_CHECK_QUERY)
    result = cursor.fetchone()
    initial_row_count = int(result[0])
    found_new_data = None

    # Detect a change in the record count
    while not found_new_data:
        logging.info("----- WAITING FOR A NEW DATA in DB : base count = {}".format(initial_row_count))
        time.sleep(SLEEP_INTERVAL_SECONDS)
        cursor.execute(DB_CHECK_QUERY)
        result = cursor.fetchone()
        new_row_count = int(result[0])
        if(new_row_count > initial_row_count):
            found_new_data = True
    logging.info("----- FOUND A NEW DATA in DB : (base count ==> new count) = ({} ==> {})".format(new_row_count, initial_row_count))
    return True

def _send_sns_notification_flow_successful_internal(ds, **kwargs):
    conn = boto.sns.connect_to_region(REGION)
    message = 'Airflow EP Data Pipeline Loaded for Org 1 in TAD for {{ execution_date }}'
    conn.publish(message=message, subject='Airflow Flow Complete', target_arn=SNS_TOPIC_ARN_FOR_JOB_STATUS,
                )
    logging.info("----- Sent SNS about FLOW Completion")
    return True

def _send_sns_notification_no_spark_data_internal(ds, **kwargs):
    conn = boto.sns.connect_to_region(REGION)
    message = 'Airflow EP Data pipeline flow completed with no new Spark data for {{ execution_date }}'
    conn.publish(message=message, subject='Airflow Flow Complete with No New Data', target_arn=SNS_TOPIC_ARN_FOR_JOB_STATUS,
                )
    logging.info("----- Sent SNS about FLOW Completion")
    return True

def _send_sns_notification_no_parquet_data_internal(ds, **kwargs):
    conn = boto.sns.connect_to_region(REGION)
    message = 'Airflow EP Data pipeline flow completed with no matching Parquet data for {{ execution_date }}'
    conn.publish(message=message, subject='Airflow Flow Complete with No matching Parquet Data', target_arn=SNS_TOPIC_ARN_FOR_JOB_STATUS,
                )
    logging.info("----- Sent SNS about FLOW Completion")
    return True

def _send_email_notification_flow_successful_internal(ds, **kwargs):
    # TODO - Testing : Read Variables for all of these
    me = "****"
    you = "***"

    # Create message container - the correct MIME type is multipart/alternative.
    msg = MIMEMultipart('alternative')
    msg['Subject'] = "Airflow EP Data Load Successful [TAD]"
    msg['From'] = me
    msg['To'] = you

    # Create the body of the message (a plain-text and an HTML version).
    text = "Hi EP Folks!\nThe EP Data Pipeline Loaded Data in the TAD environment for day: {}".format(ds)
    html = """\

Hi EP Folks!

           The EP Data Pipeline Loaded Data in the TAD environment for day: {}

           Airflow

    """.format(ds)

    # Record the MIME types of both parts - text/plain and text/html.
    part1 = MIMEText(text, 'plain')
    part2 = MIMEText(html, 'html')

    # Attach parts into message container.
    # According to RFC 2046, the last part of a multipart message, in this case
    # the HTML message, is best and preferred.
    msg.attach(part1)
    msg.attach(part2)

    # Send the message via local SMTP server.
    s = smtplib.SMTP('smtp.mandrillapp.com')
    # sendmail function takes 3 arguments: sender's address, recipient's address
    # and message to send - here it is sent as one string.
    s.login('*****')
    s.sendmail(me, you, msg.as_string())
    s.quit()
    return

# DAG Design
# Step : Generate Parquet files -- this also consumes new upload files and moves them into archived
#   Check : If no new Parquet file, send an email, else follow main processing branch
# Step : Clean up target tables for specified time range (currently this is a dummy)
# Step : Run Aggregate Spark Job -- this generates aggregate data from Parquet files
#   Check : If no aggregate data, send an email, else follow main processing branch
# Check : Check SQS for new messages
# Check : Check the DB for new rows
# Check : Wait for SQS to drain
# Step : Send an email that the flow completed successfully

# OPERATOR DAG DEFINITION

# Operator : Pick up the latest collector uploads data and create intermediate Parquet files
generate_new_parquet_files_spark_job = BashOperator(
    task_id='generate_new_parquet_files_spark_job',
    bash_command="ssh -i ~/.ssh/id_rsa_spark<EMAIL_ADDRESS>'. /root/.bash_profile; ~/run_ingest.sh'",
    dag=dag)

# Branch Operator : Check that there is parquet data for this date range.
# If not, send email
# If so, proceed down main processing line
check_for_parquet_file_branch_condition = BranchPythonOperator(
    task_id='check_for_parquet_file_branch_condition',
    provide_context=True,
    python_callable=_check_for_parquet_file_branch_condition_internal,
    dag=dag)
check_for_parquet_file_branch_condition.set_upstream(generate_new_parquet_files_spark_job)

# Operator : If no parquet file, send an email and terminate early
send_sns_notification_no_parquet_data = PythonOperator(
    task_id='send_sns_notification_no_parquet_data',
    provide_context=True,
    python_callable=_send_sns_notification_no_parquet_data_internal,
    dag=dag)
send_sns_notification_no_parquet_data.set_upstream(check_for_parquet_file_branch_condition)

# Operator : Remove data from DB for this date range
# TODO : Implement this
clean_up_db_tables_job = DummyOperator(task_id='clean_up_db_tables_job', dag=dag)
clean_up_db_tables_job.set_upstream(check_for_parquet_file_branch_condition)

# Operator : Read the parquet data and generate aggregate data
# Convert the end_date to epoch seconds
aggregate_data_spark_job = BashOperator(
    task_id='aggregate_data_spark_job',
    bash_command="ssh -i ~/.ssh/id_rsa_spark<EMAIL_ADDRESS>'. /root/.bash_profile; /root/run_aggregation.sh {{ macros.ds_format(macros.ds_add(ds, -3), '%Y-%m-%d', '%s') }} {{ execution_date.strftime('%s') }}'" ,
    dag=dag)
aggregate_data_spark_job.set_upstream(clean_up_db_tables_job)

# Operator : Check a SQS queue for messages
check_for_sqs_message_branch_condition = BranchPythonOperator(
    task_id='check_for_sqs_message_branch_condition',
    provide_context=True,
    python_callable=_check_for_sqs_message_branch_condition_internal,
    dag=dag)
check_for_sqs_message_branch_condition.set_upstream(aggregate_data_spark_job)

# Operator : Send SNS when flow that there is no new data from Spark
send_sns_notification_no_spark_data = PythonOperator(
    task_id='send_sns_notification_no_spark_data',
    provide_context=True,
    python_callable=_send_sns_notification_no_spark_data_internal,
    dag=dag)
send_sns_notification_no_spark_data.set_upstream(check_for_sqs_message_branch_condition)

# Operator : Check for new data in DB
wait_for_new_data_in_db = PythonOperator(
    task_id='wait_for_new_data_in_db',
    provide_context=True,
    python_callable=_wait_for_new_data_in_db_internal,
    dag=dag)
wait_for_new_data_in_db.set_upstream(check_for_sqs_message_branch_condition)

# Operator : Check for SQS Queue to be drained
wait_for_empty_queue = PythonOperator(
    task_id='wait_for_empty_queue',
    provide_context=True,
    python_callable=_wait_for_empty_queue_internal,
    dag=dag)
wait_for_empty_queue.set_upstream(wait_for_new_data_in_db)

# Operator : Send SNS when flow completes successfully
#send_sns_notification_flow_successful = PythonOperator(
#    task_id='send_sns_notification_flow_successful',
#    provide_context=True,
#    python_callable=_send_sns_notification_flow_successful_internal,
#    dag=dag)
#send_sns_notification_flow_successful.set_upstream(wait_for_empty_queue)

# Operator : Send Email when flow completes successfully
send_email_notification_flow_successful = PythonOperator(
    task_id='send_email_notification_flow_successful',
    provide_context=True,
    python_callable=_send_email_notification_flow_successful_internal,
    dag=dag)
send_email_notification_flow_successful.set_upstream(wait_for_empty_queue)

Any updates?

Did it happen using the scheduler or running a backfill command?
I think I may need to update the backfill logic to take the "skipped" status into account

Backfill command.

https://github.com/airbnb/airflow/pull/158 should fix prevent this from happening, merging as soon as the unit tests pass

Verified this works with backfill now with 2 successful runs!

Thank you for beta-testing this feature, we don't use it at Airbnb yet...

My pleasure. We are very interested in making this our workflow scheduler, so we are willing to test out new features. In about 1 month, we will write up a blog post (and I've been asked to give an interview as well) on our current choice of workflow scheduler. I'm hoping to iron out as many bugs as possible by then.


feat(oidc): add extras to revoke access_token and refresh_tokens

A picture tells a thousand words
Before this PR
After this PR

thanks @guillaume-chervet . Really appreciate for prioritizing this.

PR #1295 fixed this


feat: show SubprocessProvider process logs in debug output

What I did
Leverage process logs in SubprocessProvider.
So when we do -v debug in a script or console, we see the output from the subprocess in our normal ape logs
How I did it
daemon queue thingy ma-bobs. Idk I just copy code on the internet.
How to verify it
use hardhat, starknet, or foundry with -v debug and watch for expected HTTP request logs
Checklist

[ ] All changes are completed
[ ] New test cases have been added
[ ] Documentation has been updated

[ ] Perhaps always dump the output into files even not using -v debug

this bad now


Error when there is no rr:TriplesMap

When there is no rr:TriplesMap defined in the mapping file I get an error like this:
22:41:14.251 [main] ERROR be.ugent.rml.cli.Main               .main(193) - Failed to make mapping file conformant to RML spec.
java.lang.Exception: Mapping requires at least one TriplesMap
        at be.ugent.rml.conformer.MappingConformer.detect(MappingConformer.java:80)
        at be.ugent.rml.conformer.MappingConformer.conform(MappingConformer.java:55)
        at be.ugent.rml.cli.Main.main(Main.java:187)
        at be.ugent.rml.cli.Main.main(Main.java:36)

But the XML example in the spec do not provide one either. So who is correct, spec or implementation?

Hi and thanks for using RML,
Indeed, this (non-fatal) error does not align perfectly with the examples in the spec. However, for the spec's examples the implementation can infer what the triples maps are (namely: the subjects of rml:logicalSource) and the output is as intended even without explicitly using stating a rr:TriplesMap.
We are adding a rr:TriplesMap statements to the examples in the spec to make it more clear for everyone.

This is now fixed on https://rml.io/rml/spec.
Let us know if you still have issues.


Backport letop monadic let syntax to pre-4.08 (making it bucklescript compatible!)

🎉🎉🎉
This doesn't have to be part of the main 4.08 diff though, it might make sense to do it as a separate PR, once the main one has landed? idk

Wow, yes yes yes! I love this approach for the following reasons:

The syntax is similar enough to the existing let-anything ppx that we'll be able to completely refactor our existing projects with little more than find and replace.
Having this syntax built-in to the language makes this a much easier sell to developers coming from JS where they are used to having the async / await keyword. Especially when a strong promise library rises to the surface in the community and offers pre-built “let” functions. I just love that, if this gets merged I can teach JS people how to use this feature right away without having to drag them into ppx-land.
So far, in all of my projects, async sugar has been something I reach for early on. Maybe less often in my client apps, but even when writing in React-native and trying to be minimal I’ve found myself going to the trouble of installing the PPX. But the place where it is most important to me is on the server. ppx-let is one of the most used tools in our production server and we love it. The web framework we built on top of express is built upon it. And an open source version of that framework would be much more approachable, I imagine, if we have this syntax in core.

Bob and Cheng, I know you’ve been reluctant to move forward on this in the past, wanting to take the time to get the best thing. I beg you to take this PR and Antonio’s into serious consideration. This would be a huge boon to the server-side Bucklescript users, present and (hopefully many more) future.

I think this makes sense to include in the 4.08 PR. Makes for a much better argument if we support all the versions.


[Improve] [core] Remove System.out.print with Logger

Purpose of this pull request

This patch removes System.out.print with Logger
Check list

[x] Code changed are covered with tests, or it does not need tests for reason:
[x] If any new Jar binary package adding in you PR, please add License Notice according
New License Guide
[x] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs

@asdf2014 In my knowledge, ExposeSparkConf is used to extract conf and set in args, if use log may cause problem, you can find some details in start-seatunnel-spark.sh.

Hi @ruanwenjun, thanks for your comment. Okay, I see. Maybe we can add a relate test to guard this logic.

Hi @ruanwenjun, thanks for your comment. Okay, I see. Maybe we can add a relate test to guard this logic.

Agree with you.

@asdf2014 In my knowledge, ExposeSparkConf is used to extract conf and set in args, if use log may cause problem, you can find some details in start-seatunnel-spark.sh.

+1, close this pr if no more questions.


Keygen sometimes freezes

We've noticed a bug where it appears that the binance lib hangs forever.

We seem to start the 2nd round of keygen, and it just gets stuck there...

Do you have session IDs to distinguish messages for each session as recommended in the readme?

No,we haven't. cause we only accept local http request and we only process one keygen/keysign each time.  We have already resolved this issue from our prepective. We open this issue, cause we think the tss-lib can return the caller something if the caller gives the wrong msg rather then hangs in the invocation.

Spoke to you on Telegram

Do you have session IDs to distinguish messages for each session as recommended in the readme?
As you said, freezing the keygen phase is related to the order of the round messages, but I couldn't find any method or function to map a message to its related round and wrap it in a session ID. How can I map each message to its related round to order messages based on their session ID?


Graph Model Compilation Issue?

nb_feature_maps = 128
max_features = 884
embedding_size = 64
MAX_LEN  = 85

graph = Graph()
graph.add_input(name="input")
graph.add_node(Embedding(max_features, embedding_size), name="embedding", input="input")
graph.add_node(Reshape(1, MAX_LEN, embedding_size), name="reshape", input="embedding")

flat_layer_names = []
ngram_filters = [3, 4, 5, 7]
for n_gram in ngram_filters:
    sngram = str(n_gram)
    conv_layer = 'conv-' + sngram
    activ_layer = 'activ-' + sngram
    pool_layer = 'max-pool-' + sngram
    flat_layer = "flat-" + sngram
    flat_layer_names.append(flat_layer)
    graph.add_node(Convolution2D(nb_feature_maps, 1, n_gram, embedding_size), name=conv_layer, input='reshape')
    graph.add_node(Activation("relu"), name=activ_layer, input=conv_layer)
    graph.add_node(MaxPooling2D(poolsize=(MAX_LEN - n_gram + 1, 1)), name=pool_layer, input=activ_layer)
    graph.add_node(Flatten(), name=flat_layer, input=pool_layer)

graph.add_node(Dense(nb_feature_maps * len(ngram_filters), 15), name="dense1", inputs=flat_layer_names, merge_mode='concat')
graph.add_node(Activation("sigmoid"), name="activ-top", input='dense1')
graph.add_output(name='output', input='activ-top')

graph.compile('adam', {"output" : "mse"})

I am trying out the new graph model to share an embedding layer between multiple convolutions and upon compiling (graph.compile)
         graph.compile('adam', {"output" : "mse"})
  File "build/bdist.macosx-10.6-x86_64/egg/keras/models.py", line 478, in compile
  File "build/bdist.macosx-10.6-x86_64/egg/keras/layers/core.py", line 224, in get_output
  File "build/bdist.macosx-10.6-x86_64/egg/keras/layers/core.py", line 32, in get_input
  File "build/bdist.macosx-10.6-x86_64/egg/keras/layers/core.py", line 334, in get_output
  File "build/bdist.macosx-10.6-x86_64/egg/keras/layers/core.py", line 32, in get_input
  File "build/bdist.macosx-10.6-x86_64/egg/keras/layers/core.py", line 146, in get_output
  File "build/bdist.macosx-10.6-x86_64/egg/keras/layers/core.py", line 263, in get_output
  File "build/bdist.macosx-10.6-x86_64/egg/keras/layers/core.py", line 32, in get_input
  File "build/bdist.macosx-10.6-x86_64/egg/keras/layers/convolutional.py", line 170, in get_output
  File "build/bdist.macosx-10.6-x86_64/egg/keras/layers/core.py", line 32, in get_input
  File "build/bdist.macosx-10.6-x86_64/egg/keras/layers/core.py", line 224, in get_output
  File "build/bdist.macosx-10.6-x86_64/egg/keras/layers/core.py", line 32, in get_input
  File "build/bdist.macosx-10.6-x86_64/egg/keras/layers/convolutional.py", line 142, in get_output
  File "build/bdist.macosx-10.6-x86_64/egg/keras/layers/core.py", line 32, in get_input
  File "build/bdist.macosx-10.6-x86_64/egg/keras/layers/core.py", line 245, in get_output
  File "build/bdist.macosx-10.6-x86_64/egg/keras/layers/core.py", line 32, in get_input
  File "build/bdist.macosx-10.6-x86_64/egg/keras/layers/embeddings.py", line 56, in get_output
    self.words = words
  File "/Users/simon.hughes/GitHub/Theano/theano/sandbox/cuda/var.py", line 142, in __getitem__
    return _operators.__getitem__(self, *args)
  File "/Users/simon.hughes/GitHub/Theano/theano/tensor/var.py", line 401, in __getitem__
    return self.take(args[axis], axis)
  File "/Users/simon.hughes/GitHub/Theano/theano/tensor/var.py", line 433, in take
    return theano.tensor.subtensor.take(self, indices, axis, mode)
  File "/Users/simon.hughes/GitHub/Theano/theano/tensor/subtensor.py", line 2312, in take
    return take(a, indices.flatten(), axis, mode).reshape(shape, ndim)
  File "/Users/simon.hughes/GitHub/Theano/theano/tensor/subtensor.py", line 2290, in take
    return advanced_subtensor1(a, indices)
  File "/Users/simon.hughes/GitHub/Theano/theano/gof/op.py", line 508, in __call__
    node = self.make_node(*inputs, **kwargs)
  File "/Users/simon.hughes/GitHub/Theano/theano/tensor/subtensor.py", line 1615, in make_node
    raise TypeError('index must be integers')
TypeError: index must be integers

Note that error is on compile, so no data has been passed to the model yet. Am I doing something wrong?

The issue here is that is that the input of the graph is set to matrix, when it should be imatrix instead. I think the best way to fix this, UX-wise, would to build automatic input type discovery in the graph (otherwise it is quite error-prone to have to specify what input you are looking for everytime).
So I'll implement automatic input discovery. In the meantime here's a fix:
import theano.tensor as T
graph.add_input(name="input")
graph.inputs["input"] = T.imatrix()
...

Thanks for the prompt replay as always.
I tried your suggestion above on the same code, but I run into a different error:
  graph.add_node(Embedding(max_features, embedding_size), name="embedding", input="input")
  File "build/bdist.macosx-10.6-x86_64/egg/keras/layers/containers.py", line 161, in add_node
  File "build/bdist.macosx-10.6-x86_64/egg/keras/layers/core.py", line 23, in set_previous
AttributeError: 'TensorVariable' object has no attribute 'get_output_mask'

The snippet I posted above works (I'm pretty sure, I haven't actually tested it). Make sure your code matches.

Additionally I pushed a temporary fix which allows to specify the data type of the input in add_input. The long term solution would be to automate this away.
You can now do
graph.add_input(name="input", ndim=2, dtype="int")

This is what I have that gives the error. I only changed the part you mentioned.
import theano.tensor as T
...

nb_feature_maps = 128
max_features = 884
embedding_size = 64
MAX_LEN  = 85

graph = Graph()
graph.add_input(name="input")
# TEMP FIX *******
graph.inputs["input"] = T.imatrix()
# TEMP FIX *******
graph.add_node(Embedding(max_features, embedding_size), name="embedding", input="input")
graph.add_node(Reshape(1, MAX_LEN, embedding_size), name="reshape", input="embedding")

top_layer_names = []
ngram_filters = [3, 4, 5, 7]
for n_gram in ngram_filters:
    sngram = str(n_gram)
    conv_layer = 'conv-' + sngram
    activ_layer = 'activ-' + sngram
    pool_layer = 'max-pool-' + sngram
    flat_layer = "flat-" + sngram
    dropout_layer = "dropout-" + sngram
    top_layer_names.append(flat_layer)

    graph.add_node(Convolution2D(nb_feature_maps, 1, n_gram, embedding_size), name=conv_layer, input='reshape')
    graph.add_node(Activation("relu"), name=activ_layer, input=conv_layer)
    graph.add_node(MaxPooling2D(poolsize=(MAX_LEN - n_gram + 1, 1)), name=pool_layer, input=activ_layer)
    graph.add_node(Flatten(), name=flat_layer, input=pool_layer)
    #graph.add_node(Dropout(0.5), name=dropout_layer, input=flat_layer)

graph.add_node(Dense(nb_feature_maps * len(ngram_filters), len(regular_tags)), name="dense1", inputs=top_layer_names, merge_mode='concat')
graph.add_node(Activation("sigmoid"), name="activ-top", input='dense1')
graph.add_output(name='output', input='activ-top')

graph.compile('adam', {"output" : "mse"})

Well,
graph.inputs["input"] = T.imatrix()
Should be:
graph.inputs["input"].input = T.imatrix()

Ok, that get's me further. This time I get:
 File "/Users/simon.hughes/GitHub/NlpResearch/PythonNlpResearch/Experiments/CoralBleachingAnnotated/ConvolutionalNeuralNetwork/keras_convnet_multiclass_test_graph_model.py", line 177, in test
    model.fit(X_train, y_train, nb_epoch=epochs)#64 seems good for now
  File "build/bdist.macosx-10.6-x86_64/egg/keras/models.py", line 524, in fit
IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices

That's a problem with your input. The fit method of the graph has a different API than that of Sequential models (use a "data" dictionary mapping input names and output names to numpy arrays). Refer to the doc...

ah ok.

Works now thanks.

That's a big help to me, thanks.

Thank you so much! This solved my problem!

hi @simonhughes22  ,i use the graph model ,refer to #41. the verison of keras is 1.0.3
like this,

model = graph()
model.add_input(name='input0',input_shape=())
model.add_node(Convolution2D(),name='c1',input='input0')
.......

And i want to see the output of the c1,Then

getFeatureMap = theano.function(model.inputs['input0'].input,model.nodes['c1'].get_output(train=False),
allow_input_downcast=True)
But it show me that
TypeError: list indices must be integers, not str
Do you give me some advices? Thanks.


Update Lab_31_ConnectDataFromAADToAzureSentinel.md

remove hyper-links to docs.microsoft.com for Azure AD, sign-in logs, and audit logs, and replace with text.
Module: 00
Lab/Demo: 00
Fixes # .
Changes proposed in this pull request:

This appears to have been fixed already via another edit.

R-C-Stewart, looking at the MD file and still see this:
You can use Azure Sentinel's built-in connector to collect data from https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-whatis and stream it into Azure Sentinel. The connector allows you to stream https://docs.microsoft.com/en-us/azure/active-directory/reports-monitoring/concept-sign-ins and https://docs.microsoft.com/en-us/azure/active-directory/reports-monitoring/concept-audit-logs.
I don't believe URLs are supposed to be there.


/ticket list functionality

Can we get a row of the column titles in /ticket list?
Also can we get either the time they were submitted, or the time since they were submitted?
Thanks.

Completed for v1.1.0.


WIP: benchmarking affine transforms

This demonstrates the issues reported in #196

@haesleinhuepf I have added a deprecated function with warning as well as a converter for numpy to list.
Doing it reveled a few issues:

interpolate do not work, if set to yes, it returns an empty image, we need to investigate
the scale function may also have an issue (tbc)

closes #196

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 56.25000% with 7 lines in your changes missing coverage. Please review.

Project coverage is 84.92%. Comparing base (c2adad1) to head (22d6a22).

Files
Patch %
Lines

pyclesperanto/_interroperability.py
56.25%
7 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #197      +/-   ##
==========================================
- Coverage   85.18%   84.92%   -0.26%
==========================================
  Files          18       18
  Lines        1802     1818      +16
==========================================
+ Hits         1535     1544       +9
- Misses        267      274       +7

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

Interpolation returns 0 image. This is fixed by clEsperanto/CLIc#310 which will be available in the next release of CLIc and pyclesperanto

This should work now with the 0.11.0 release (clEsperanto/CLIc#317 && clEsperanto/CLIc#310)


Multiple Loggers and Reporters support

Before

Single Logger instance can be set to AutopilotSettings.loggerAsset field.
Single Reporter instance can be set to AutopilotSettings.reporter field.

After

Multiple Logger instances can be set to AutopilotSettings.loggerAssets field.
Multiple Reporter instances can be set to AutopilotSettings.reporters field.

Other Changes

Single Logger/ Reporter setting field is obsolete.
Converting legacy Logger/ Reporter settings to new multiple Loggers/ Reporters
Refactor initialize settings
Remove CompositeLogger/ Reporter from the context menu
Mod SlackReporter order in the context menu
Fix disabling Reset button

Priority
I hope to review && merge in this week.
There is no need to release it yet.

Contribution License Agreement

[x] By placing an "x" in the box, I hereby understand, accept and agree to be bound by the terms and conditions of the Contribution License Agreement.

@nowsprinting
Will you resolve conflicts?

@asurato san, ok, please wait.

@asurato san, I completed rebase && tests!
Please merge it. Thank you!


Adding Animation

Is your feature request related to a problem? Please describe.**
NO
Describe the solution you'd like**
I want to add animation

Could you explore what kind of changes you want to make?

Like I did in Sharkfolio.
When you refresh the page, the texts are appearing.

Awesome, assigned to you:)

Task finished


Ensure alignment when computing reserved registers

If the routine for computing reserved peripheral memory places at least one u32 after a u16 register, the compiler could insert an extra u16 of padding to align the u32 reservation. The extra padding is not considered by the routine. This can result in incorrect register offsets for all registers placed after the reservation.
This PR ensures that we only use larger-than-byte padding when the address is aligned for that primitive. If the address isn't aligned, use the next-largest primitive. Byte array reservations should be the safest approach, but going that route changes all _reserved members of all register blocks, making it harder to see what peripherals were affected by this issue.
When I run make, I'm generating unrelated changes throughout the source tree, so I'm only checking in the script changes and the changes & tests for the TIM2 peripherals. There might be other instances of this issue that this PR does not address.

Oh, thanks for reporting this! I guess we could use #[repr(C, packed)] to ensure no padding is added, but since we're already putting in the reserved fields it probably does make more sense to leave it as #[repr(C)] and just ensure no padding ends up required (and hopefully all registers are aligned...).
It might be nicer, having done it this way to see what's affected, to nevertheless go with byte arrays for all padding before the next release, what do you think?

This looks fine to me! I'd suggest you just commit the change to the python script and I'll then regenerate all the actual Rust before release. Probably that little bit of the Python could be made simpler now it's only ever generating u8 arrays, too.


hurry

Why does "server.py" need to read the "rag.yaml" file, but I haven't found this file in the project, do I need to write it myself?

I have updated the code, please see #285, thanks.

How can we solve this problem


Need bsg_print_time

The bsg_print_time macro in the bsg_manycore right now just outputs a dummy value to a specific address. In COSIM we can read the time that is printed with the packet statement, but it doesn't work with F1. We need to implement it perhaps similar to bsg_print_int so it prints out the time on the host interface.

Similar to #186

Does #601 Solve this?

Yes I believe so!


Fitting open bspline

Hello,
thanks for very useful implementation. I used it in a context of a research on 3D object extraction. Your code is very useful to fit object profile points to spline.
Is it possible to also fit open bsplines with your code ? or do you know other implementation doing so ?
Of course I will mention your code upon publication of my work.

@rdecharette I was searching for exactly the same thing, and I found it in the following fork of this repo.
https://github.com/Joey4s6l/BSplineFitting

Thanks a lot, that was really useful. Indeed they have implemented Open BSpline fitting there.
Thanks.


PDO/CCF: Separate rpc for generating ledger signing key

CCF based PDO TP supports read rpcs to return a payload signature. The signing key is part of the PDO-TP itself. The verifying key is readable via the "get_ledger_key" rpc. The very first invocation of this rpc (expected to be done by the sysadmin who deploys CCF) generates the signing key for this specific deployment & schedules for global commit. The get_ledger_key will not return the verifying key until the global commit is complete.
We propose to break this rpc into two rpcs: One for generating the signing key & one for returning the verifying key. The external API for generating the signing key shall not return to the caller until the global commit is complete. The API for reading the verifying key shall raise an error until global commit is observed.

Separate RPCs for key-generation and verifying-key-reading in PR 282.


Add delay between downloads

I have found sites, especially where images was placed on google sites that addon operations where detected as bot or auto crawler operations and site were blocking access for temporary time. Even if at normal use of site such detection had no place.
I suspect that this detection is triggered by too many simultanously accesses. I understand that addon have to download all images to detect sizes but I think additional features are needed.

time delay before fetching next image in preview mode. The time for user to set or disable.
once images are downloaded for preview and detection purpose, they should be stored in cache, to not connect the server second time.

(2) is already implemented. Also see #270, there are some options enabling more cache.
For (1), does "retry on failure" option help?
https://github.com/eight04/image-picka#retry-on-failure

(2) is already implemented. Also see #270, there are some options enabling more cache.
So if I didn't check this and did not the steps described under link, images are downloaded twice from server? But when I check
source address of downloaded images firefox points to addon address.

For (1), does "retry on failure" option help? https://github.com/eight04/image-picka#retry-on-failure
Retry on failure maybe works but there is no failure. Site just blocks further access after one time completion of getting thumbnails. It is not that every site does this but I think that such crawling won't be long out of radar and more bans can appears - it's just a matter of time. I am pretty sure I am not only one using such addons.
There is delay functionality in addon but it is delay after failure. Can You extend it to configured delay for any download?

if I didn't check this and did not the steps described under link, images are downloaded twice from server?

Yes. Browsers now separate cache for different "origin" for security a.k.a. cache partitioning.

when I check source address of downloaded images firefox points to addon address.

In batch download, addon loads images to check its dimension. Therefore we always use the cache system in batch download even if download from cache option is disabled.

So the only thing which can be useful is additional delay to not eventually trigger the ban mechanism.

Hi. Is there a simple way to compile addon from sources?

See https://github.com/eight04/image-picka/blob/master/BUILD.md

Seems i need Windows 10 at least. Node.js is no longer supported on windows 7.

You can try installing an older version:
https://stackoverflow.com/questions/62212754/latest-nodejs-compatible-with-windows-7
Though IDK if it can build this project.

I second a request for an option to delay between downloads. I often get locked out of websites when I pick too many images for download at once, or perhaps load too many images in preview mode too quickly. Retry on failure obviously doesn't work if you're locked out for an hour or even permanently, but I think a simple delay between individual downloads could solve this.
I don't know if it's from the preview mode or from being sent to downloads. If the latter, is there perhaps another extension that can delay the download manager, like how the "load background tabs lazy" extension delays opening new tabs?
I have privacy.partition.network_state set to false and "try to download images from browser cache" checked.

Is the delay between downloads already implemented?

The newly implemented delay works great in the preview mode! However when I click Save, the images are still all instantaneously sent to the browser's download manager, and if I pick too many at once one site will still lock me out. Is it possible to delay the download manager too?

The download manager should download images from the local cache so it shouldn't send any request to the server when clicking "save".
You can try disconnecting the network before saving to verify it. If not then please open a new issue.

Thanks, that helped me figure it out. My download manager indeed downloads blobs from cache as expected. The problem was in preview mode and it was my own fault. I missed a subdomain url used for serving images and didn't add it in the delay option.
Is there a way to match all subdomains in the fetch delay option? "example.com" doesn't seem to match "images123.example.com" and I can't get *.example.com or RegExp to work.
Thank you so much for continuing to maintain and improve this awesome addon!

Is there a way to match all subdomains in the fetch delay option? "example.com" doesn't seem to match "images123.example.com" and I can't get *.example.com or RegExp to work.

Nope. Opened a new issue here: https://github.com/eight04/image-picka/issues/341


Conditional type inference does not work with a function's generic argument

TypeScript Version:  3.0.0-dev.201xxxxx

Search Terms: conditional type inference generic
Code
type Get<T> = T extends {} ? true : false;

const fn = <T extends {}>(t: T) => {
    // Expected `true`
    // Actual `T extends {} ? true : false`
    type Result = Get<T>;
}

Expected behavior: correct type inference: type Result = true
Actual behavior: type inference not performed at all
Playground Link: link

This conditional type is distributive because there is a naked type parameter in the check clause. A distributive conditional type will evaluate to never when the check type is instantiated to never, so it is not possible to immediately resolve this to true.
To get the desired behaviour make the conditional type non-distributive like so:
type Get<T> = [T]extends [{}] ? true : false;

const fn = <T extends {}>(t: T) => {
    const x: Get<T> = true; // ok, Get<T> = true
}

Ah, I see. Thanks @jack-williams! Will close this then.


Test - Missing test-driver.template.f90

When executing abaci test, unhandled error on attempt to open test-driver.template.f90.
Attempt to access <install_location>/abaci/fortran/test-driver.template.f90
Inspection of install directory shows: <install location>/abaci/ directory does not have fortran dir or lower.
Reading of gen_test_driver() expects existence of this file. Possibly missing from repo? No conflict with .gitignore file though.
Running on WSL, BCI laptop.

Thanks for reporting - looks like I forgot to update the installer to include the template.
Not sure about that link error however - does it say which symbols are missing?

@HandleTBC - one limitation of the test driver at the moment is that it cannot link to Abaqus-provided subroutines such as vgetoutdir, vgetnumcpus etc. The current work around for this is to write dummy versions in your test module. A long term solution is for Abaci to provide dummy versions of these subroutines.

@HandleTBC - ah yes you're right, abaci is linking the test driver to both the single and double precision libraries. I've opened a separate issue to track that.

Magic, thanks Laurence.


Predict_phenotypes does not plot density plots

For some time predict_phenotypes() does no longer print the density plots.
I am on R 4.4.1, using SPIAT 1.6.3 and when I run the examples for this function it also does not print the plots.
Does anyone have an idea why this is?

Hi @Art-Ink,
Thank you for the feedback. This is due to a mistake in the code that missed printing out the plots when the parameter reference_phenotypes is TRUE.
I have fixed this in the newer version (devel) branch on Github. It's not be updated in the current release version. A workaround to print the plots out with your current version is to set the parameter predict_phenotypes to FALSE. This is just to print the plots and please still use your own parameter setting in your analysis.
Yuzhou

Hi Yuzhou
Thank you for the quick reply, that is good to know.
Christian


PowerToys Run

Provide a description of the new feature / enhancement
It will be greatly appreciated is the feature of transparency could work with PowerToys Run.

Tracked in #4794


[wasm] Update Emscripten to 3.1.67

I bumped it further to 3.1.67 - this seems backwards-compatible and they made a couple more bugfixes.


Add feature flag to control whether NMA runs in monolithic or sidecar container

Add feature flag vertica.com/run-nma-in-monolithic-container which controls running mode of NMA, i.e. whether the NMA process runs in a monolithic container together with the main vertica process (which is the current behavior) or it runs in a sidecar container within the same pod as the server container (which will be supported in the future)
The default value of this feature flag would be false
Add logic in setup-kustomize.sh to explicitly set the flag to true for existing e2e tests to work

Can we add some logic to verticadb_conversion.go to set the annotation so that we monolithic containers is the default? This way v1beta1 will default to monolithic container and v1 defaults to sidecar container.

Could you be more specific about this?
In any case, if this annotation (vertica.com/run-nma-in-sidecar) is explicitly set to any value, we don't change this annotation during conversion?
Then if the annotation is not present in v1beta1 CR, we have the following scenarios.
From v1beta1 to v1:

if VClusterOpsAnnotation is false or not present

we don't set this annotation, because this has no effects for admintools deployment

if VClusterOpsAnnotation is true

we set this annotation to be false, as that is supposed to be the default for the original v1beta1 CR
From v1 to v1beta1:

if VClusterOpsAnnotation is false

we don't set this annotation, because this has no effects for admintools deployment

if VClusterOpsAnnotation is true or not present

we set this annotation to be true, as that is supposed to be the default for the original v1 CR

Can we add some logic to verticadb_conversion.go to set the annotation so that we monolithic containers is the default? This way v1beta1 will default to monolithic container and v1 defaults to sidecar container.

Could you be more specific about this? In any case, if this annotation (vertica.com/run-nma-in-sidecar) is explicitly set to any value, we don't change this annotation during conversion? Then if the annotation is not present in v1beta1 CR, we have the following scenarios.
From v1beta1 to v1:

if VClusterOpsAnnotation is false or not present

we don't set this annotation, because this has no effects for admintools deployment

if VClusterOpsAnnotation is true

we set this annotation to be false, as that is supposed to be the default for the original v1beta1 CR

From v1 to v1beta1:

if VClusterOpsAnnotation is false

we don't set this annotation, because this has no effects for admintools deployment

if VClusterOpsAnnotation is true or not present

we set this annotation to be true, as that is supposed to be the default for the original v1 CR

Do these sound OK?

Yes, this sounds good. Just need to set the annotation, if missing, during the conversion Iwebhook.

Can we add some logic to verticadb_conversion.go to set the annotation so that we monolithic containers is the default? This way v1beta1 will default to monolithic container and v1 defaults to sidecar container.

Could you be more specific about this? In any case, if this annotation (vertica.com/run-nma-in-sidecar) is explicitly set to any value, we don't change this annotation during conversion? Then if the annotation is not present in v1beta1 CR, we have the following scenarios.
From v1beta1 to v1:

if VClusterOpsAnnotation is false or not present

we don't set this annotation, because this has no effects for admintools deployment

if VClusterOpsAnnotation is true

we set this annotation to be false, as that is supposed to be the default for the original v1beta1 CR

From v1 to v1beta1:

if VClusterOpsAnnotation is false

we don't set this annotation, because this has no effects for admintools deployment

if VClusterOpsAnnotation is true or not present

we set this annotation to be true, as that is supposed to be the default for the original v1 CR

Do these sound OK?

Yes, this sounds good. Just need to set the annotation, if missing, during the conversion webhook.

done


Ambiguous return message while creating a new node ($$ CREATE)

Creating a new graph with the query "SELECT create_graph('demo_graph');" returns -  "(1 row)" which  assures me that the graph is created.
This is not consistent when I create a new node in the graph with the query "SELECT * FROM cypher('demo_graph', $$ CREATE (n:Person {name : "james", bornIn : "US"}) $$) AS (a agtype);" which returns "(0 rows)". This is ambiguous to me as an end-user whether the node is actually created or not.
To check whether the query was executed successfully or not, I searched for the inserted record with the query "SELECT * FROM cypher('demo_graph', $$ MATCH (v) RETURN v $$) as (v agtype);" . This returns the result set along with the newly added node. This shows me that the node was created successfully but the return message displays "(0 rows)".

Hello @RC-002 ! From reading the CREATE section on the Apache AGE Documentation: https://age.apache.org/age-manual/master/clauses/create.html
You can return a newly created node by doing the following command:
SELECT *
FROM cypher('graph_name', $$
    CREATE (a {name: 'Andres')
    RETURN a
$$) as (a agtype);

so then it will return:
a
-----
{id: 0; label: ‘’; properties: {name: ‘Andres’}}::vertex
-----
(1 row)

create_graph() is a function to create a new graph and it returns void - 0. It is not the same as the cypher() function that can return any number of results, or none at all.
Additionally, as @MatheusFarias03 stated, you can have it return a result if necessary.

Thank you for the clarification.


Need to handle N/A values in country data

Currently, the API is returning { total_recovered: "N/A"} for the UK.  This results in the UI showing ".m" in the Recovered column for that country.  Presumably, this could happen for any of the data.
Perhaps this should display nothing (e.g. blank / empty string) rather than the confusing ".m"?

Thanks for bringing this up Steve, we noticed this a few days ago and have been keeping an eye on the issue report to the API provider here: https://rapidapi.com/astsiatsko/api/coronavirus-monitor/discussions/15069/Cases-by-country
Great point on dealing with a non expected value.
I was thinking leaving it blank might cause the user to questions whether the data is broken, it's similar to failing silently. Putting N/A would give the user some sort of feedback as to why that data is not available.
What are your thoughts?

I used an empty string for personally aesthetic reasons, but you're right, N/A would be more technically accurate and communicate better to the user that the data is not available.


Ideas for the welcome page

For #53
WELCOME.md contains my suggestions for a welcome page.
For the "View quickstart projects" link, I think it would be nice if it could link to a new VSCode webview presenting the projects, similar to how the IBM Blockchain Platform VS Code extension has their welcome page link to separate VSCode webviews. The new webview would show the list of projects and also would reference the original quickstarts github repository.
Same with the "View guides" link, I think it would be nice if it would open a new webview containing the guides, and also reference the source of all guides: https://quarkus.io/guides/.
I'm not sure if having new webviews is entirely necessary though. I think it would just look neat/organized.
Signed-off-by: David Kwon<EMAIL_ADDRESS>

Screenshot of WELCOME.md:

I think that's a good start. I'm curious to see how vscode behaves when both the java extension pack and quarkus try to open their welcome page. Also, we might get this quarkus extension featured on the java extension pack welcome page (we need to decide how).I'm a bit afraid of redundancy

I've made the webview for the welcome page.
It now looks like this:

I've rebased this branch with the branch for this PR: https://github.com/redhat-developer/vscode-quarkus/pull/99
For now, the welcome page can be viewed only by calling a new VSCode command: "Quarkus: Welcome".

this looks great - whats the best way to "test" it ? any builds that have it ?
also - what does "Open Quarkus Project" do vs "Create Quarkus Project" ?

"Create Quarkus Project" opens the wizard to create a new project, while "Open Quarkus Project" opens a folder chooser window.
Maybe "Open Folder" would be better?

maybe just me - but I would just leave out the "Open Quarkus Project" ... does other welcome screens do it like this too ?

Not that I know of. I've checked the java extension pack. I'll leave it out since opening a folder can be easily done in other ways

The welcome page now looks like this:

This PR adds a new user config setting:

On extension activation, the extension checks if this setting is set to true. If true, the welcome page will display. This setting is true by default.
A good enhancement would be to add a checkbox in the welcome page to control this setting, like the java extension pack does:

@fbricon @maxandersen do we want the checkbox in this PR?
When testing this PR within VS Code, make sure to delete vscode-quarkus/node_modules/ and run npm install. I can also provide a vsix.

what is the default value for that checkbox for Java welcome page ? I would say mimick that rather than another approach.

Here's an update for the welcome page:

The default value for that checkbox for Java welcome page is true. The checkbox for the welcome page in the screenshot now acts the same as the Java Extension pack's welcome page.

What is the status of this PR? @maxandersen @gorkem @fbricon do you think we can merge this PR?

looks good to me.

Thanks @maxandersen for your feedback!


Set path in shell

poetry shell never worked properly for me. Other people reported this in https://github.com/sdispater/poetry/issues/497 and https://github.com/sdispater/poetry/issues/571 but the solutions and workarounds mentioned never worked for me.
The reason is that early on in my shell's config, I reset PATH to a known state and go on to build it up from there. So, even though poetry sets it properly, my config undoes it.
My solution: test POETRY_ACTIVE and then append POETRY_PYTHON_PATH to PATH.
Notes:

I don't know if POETRY_PYTHON_PATH is ideal, since PYTHONPATH already exists and is used differently. Maybe POETRY_PYTHON_BIN or POETRY_PYTHON_BIN_PATH or maybe something else would be better.
I don't have any tests for this, sorry.

Checklist

[ ] Added tests for changed code.
[x] Updated documentation for changed code.

@maw I think a lot of problems with the shell command have been fixed in #1395. Could you test if your specific issue is fixed with the 1.0.0b2 release?

@sdispater I'll try to give it a try during the week or, more likely, this weekend. I'll let you know.
If it doesn't do the trick for me, I'll have a go at writing some tests for @stephsamson

@sdispater @stephsamson I've been using recent builds (I'm on 1.0.0b5 and was using 1.0.0b4 previously) for the past two weeks and the problem as I experienced it doesn't occur anymore.  Thanks.
As an aside, I'd like to mention that Poetry has really come a long way in the past year. Python desperately needed a tool like this, managed by people with the with the intention of seeing the project through to a state where it could be used for serious work. I think you're just about there. Good work!


Pull avatar from gravatar.com

This swaps out the user image to pull from gravatar.com, using an elm library to generate the md5 hash of the user email address in order to generate the gravatar url.
This PR is targeted to merge into @laurencaitlan user-avatar branch, as it builds on the excellent work there.

Note that some formatting changes were made to the code automatically by elm-format, I've got that set in my editor to run automatically on save.


r.allConnections is not iterable

What did I do
连接后，发送信息发送不出去，然后断开连接，再次重新连接时提示：r.allConnections is not iterable

Something you have done.
What happened
Get an error.
Expected
What is the expected result.
Environment

OS: Windows10
MQTTX version, e.g. v1.6.0

More detail
More detail include log information or screenshot

@MrYangZC Could you please post your log file which is located in %USERPROFILE%\AppData\Roaming\MQTTX\logs\log(Windows).
And for emqx.io broker, you should connect WebSocket with port 8083`.
https://www.emqx.cn/blog/connect-to-mqtt-broker-with-websocket.
Look forward to your reply.

[2021-07-30 17:16:33] [INFO] APP init
[2021-07-30 17:17:12] [INFO] Connect client, MQTT/WS connection: ws://www.laiweitec.com:1884/mqtt
[2021-07-30 17:17:12] [INFO] MQTTX client with ID 9cc5a8e3-c44d-4a6d-b35c-7a6127fd1efb assigned
[2021-07-30 17:17:13] [INFO] Connect success, MQTT.js onConnect trigger
[2021-07-30 17:17:34] [INFO] Save subscription topic: laiwei/mlpen/class_activity/status/teacher/# successed
[2021-07-30 17:17:34] [INFO] Message Arrived with topic: laiwei/mlpen/class_activity/status/teacher/1062
[2021-07-30 17:17:34] [INFO] Message arrived: message added #"d92769fc-42e9-4649-b412-b8f94703b5c9" added to topic laiwei/mlpen/class_activity/status/teacher/1062, MQTT.js onMessageArrived trigger
[2021-07-30 17:17:34] [INFO] Message Arrived with topic: laiwei/mlpen/class_activity/status/teacher/1077
[2021-07-30 17:17:34] [INFO] Message arrived: message added #"a9a6d750-1bb0-4430-ac13-27ba1d5eaca5" added to topic laiwei/mlpen/class_activity/status/teacher/1077, MQTT.js onMessageArrived trigger
[2021-07-30 17:17:34] [INFO] Message Arrived with topic: laiwei/mlpen/class_activity/status/teacher/1063
[2021-07-30 17:17:34] [INFO] Message arrived: message added #"61ca9bf1-c11e-46d8-815c-f2d28f719b38" added to topic laiwei/mlpen/class_activity/status/teacher/1063, MQTT.js onMessageArrived trigger
[2021-07-30 17:17:34] [INFO] Message Arrived with topic: laiwei/mlpen/class_activity/status/teacher/1061
[2021-07-30 17:17:34] [INFO] Message arrived: message added #"812eaa8c-73d6-48c2-85c4-3fe79a60fcec" added to topic laiwei/mlpen/class_activity/status/teacher/1061, MQTT.js onMessageArrived trigger
[2021-07-30 17:17:34] [INFO] Message Arrived with topic: laiwei/mlpen/class_activity/status/teacher/166
[2021-07-30 17:17:34] [INFO] Message arrived: message added #"925f68a9-68da-4026-8454-e99585ee1614" added to topic laiwei/mlpen/class_activity/status/teacher/166, MQTT.js onMessageArrived trigger
[2021-07-30 17:17:34] [INFO] Message Arrived with topic: laiwei/mlpen/class_activity/status/teacher/1557
[2021-07-30 17:17:34] [INFO] Message arrived: message added #"a64d303f-193b-4cba-9c65-e9b9f39dfb2d" added to topic laiwei/mlpen/class_activity/status/teacher/1557, MQTT.js onMessageArrived trigger
[2021-07-30 17:17:34] [INFO] Message Arrived with topic: laiwei/mlpen/class_activity/status/teacher/1571
[2021-07-30 17:17:34] [INFO] Message arrived: message added #"1ce805cf-08ad-4216-97a9-088e53203dc9" added to topic laiwei/mlpen/class_activity/status/teacher/1571, MQTT.js onMessageArrived trigger
[2021-07-30 17:17:34] [INFO] Message Arrived with topic: laiwei/mlpen/class_activity/status/teacher/1568
[2021-07-30 17:17:34] [INFO] Message arrived: message added #"3538c739-ad04-4329-b86d-347d1c3f541d" added to topic laiwei/mlpen/class_activity/status/teacher/1568, MQTT.js onMessageArrived trigger
[2021-07-30 17:17:34] [INFO] Message Arrived with topic: laiwei/mlpen/class_activity/status/teacher/1569
[2021-07-30 17:17:34] [INFO] Message arrived: message added #"da32c1b7-21c2-45db-bbb7-c6d8c8683bee" added to topic laiwei/mlpen/class_activity/status/teacher/1569, MQTT.js onMessageArrived trigger
[2021-07-30 17:17:34] [INFO] Message Arrived with topic: laiwei/mlpen/class_activity/status/teacher/
[2021-07-30 17:17:34] [INFO] Message arrived: message added #"e9a6b873-a076-4e7f-b66c-ae7469220532" added to topic laiwei/mlpen/class_activity/status/teacher/, MQTT.js onMessageArrived trigger
[2021-07-30 17:17:34] [INFO] Message Arrived with topic: laiwei/mlpen/class_activity/status/teacher/undefined
[2021-07-30 17:17:34] [INFO] Message arrived: message added #"7f41078d-4163-4ae6-a787-43f328a28f95" added to topic laiwei/mlpen/class_activity/status/teacher/undefined, MQTT.js onMessageArrived trigger
[2021-07-30 17:17:35] [INFO] Message Arrived with topic: laiwei/mlpen/class_activity/status/teacher/188
[2021-07-30 17:17:35] [INFO] Message arrived: message added #"28b319f8-fb79-4631-b9a4-0657df33df4c" added to topic laiwei/mlpen/class_activity/status/teacher/188, MQTT.js onMessageArrived trigger
[2021-07-30 17:17:35] [INFO] Message Arrived with topic: laiwei/mlpen/class_activity/status/teacher/1138
[2021-07-30 17:17:35] [INFO] Message arrived: message added #"3be49c56-8468-4eea-a3b1-7d76568db612" added to topic laiwei/mlpen/class_activity/status/teacher/1138, MQTT.js onMessageArrived trigger
[2021-07-30 17:17:35] [INFO] Message Arrived with topic: laiwei/mlpen/class_activity/status/teacher/1603
[2021-07-30 17:17:35] [INFO] Message arrived: message added #"b6fcaf69-263b-40de-b30d-f061850a06f2" added to topic laiwei/mlpen/class_activity/status/teacher/1603, MQTT.js onMessageArrived trigger
[2021-07-30 17:17:35] [INFO] Message Arrived with topic: laiwei/mlpen/class_activity/status/teacher/1605
[2021-07-30 17:17:35] [INFO] Message arrived: message added #"00a45f5a-cd88-4713-842a-928a445d8e02" added to topic laiwei/mlpen/class_activity/status/teacher/1605, MQTT.js onMessageArrived trigger
[2021-07-30 17:17:35] [INFO] Topic: laiwei/mlpen/class_activity/status/teacher/# successfully subscribed
[2021-07-30 17:17:47] [INFO] Connect close, MQTT.js onClose trigger
[2021-07-30 17:17:47] [INFO] MQTTX client disconnect, client ID : mqttx_4299dff8

会把我的连接信息自动清空变为

May this issue is fixed on https://github.com/emqx/MQTTX/releases/tag/v1.7.0


⚠ Processors has degraded performance

In 4c9841d, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 54 ms

Resolved: Processors performance has improved in 49a6183.


⚠ Samsung has degraded performance

In e8a7fc7, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2183 ms

Resolved: Samsung performance has improved in 3920eba.


Cannot download data

I used the script 'nmt/scripts/download_iwslt15.sh' to download data, but it seems the website 'https://nlp.stanford.edu/projects/nmt/' is not accessible. Can anyone solve this problem? In addition, I have found this repo 'https://github.com/stefan-it/nmt-en-vi' to get the parallel text without the vocab. Could anyone help me to get the vocab? Thanks a lots!

it's available again

Yes, Stanford NLP server was down a few days ago, so closing.


some pylint tidyups

simplification of some conditional statements
fixing of import orders
cleaning up of unneeded chars

Thanks @marksmayo! :nerd_face:
And thanks @svlandeg for the thorough review! :bow:
For most of the code style changes I would just use what is configured in pre-commit (I'm not a fan of PyLInt, actually).
Soon, after removing support for Python 3.6, I will migrate all to Ruff.
This PR covers too many different things, so it would be better to split it to be able to take some things while not taking others.
Specifically, I would take the changes in the Click examples from "some str {blah}".format(blah=blah) to f-strings. That was just an exact copy of Click's tutorials, but now they updated them, we can update them here as well.
For now, I'll close this one, but feel free to add a new PR changing those Click f-strings! :rocket:


chore: correctly categorize dependencies

Preview environments are getting posted here, as soon as they are ready!


v1.1.13

This repository contains GitHub workflows for managing releases automatically.
Please name this issue what you would like the new release to be called. E.x. "v1.0.0"
The following slash commands are available to use in comments on this issue:

Command
Description
Parameters

/release
Creates a new released based on the current state of the master branch
frontend=<version>backend=<version>gitapi=<version>status=<version>dispatcher=<version>agnosticv=<version>anarchy=<version>poolboy=<version>

/promote
Promotes the created release to the next environment
N/A

/cancel
Cancels the current release (and closes this issue)
N/A

/finish
Completes the current release (and closes this issue)
N/A

/release frontend=v1.1.7 backend=v1.0.11 gitapi=v1.0.9 status=v1.0.0 dispatcher=v1.0.12

/promote

/promote

/promote

/promote

/finish


TermsCount(Go,Association) not working for human genes - goa_human.gaf

It works perfectly when I use Arabidopsis thaliana but when I try to use any Homo sapiens I get error while computing TermsCount.
Here is errTraceback:
Traceback (most recent call last):   File "/Users/zeeshannawaz/wp-tomoe-angiogenesis/src/angen/embed/preglove/go/gene_ontology_wrapper.py", line 88, in <module>     termcounts = TermCounts(go, associations)   File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/goatools/semantic.py", line 31, in __init__     self._count_terms(godag, annots)   File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/goatools/semantic.py", line 42, in _count_terms     allterms |= godag[go_id].get_all_parents() KeyError: 'GO:0102756'

Thank you for your interest in GOATOOLS and taking the time to contact us regarding the error that you are seeing. I am investigating it now.

I have updated the code to be more robust in case of association/GODag mismatches. Please do a pull and re-run the script that accesses TermCounts. Please let us know if this code change works for you.
After testing that the code changes work, you may want to re-download both your associations and the GODag. They may be out of sync. I just ran TermCounts on numerous associations that were just downloaded and a GODag containing data for a go-basic.obo file which was also just downloaded.
Please let us know how the code updates work for you. Thank you again for your interest in GOATOOLS and taking the time to log this issue.

We believe that the code changes address your issue. If they do not, please open an new issue and we will pursue it.
Thank you for taking the time to report this issue. Thank you for your interest in GOATOOLS.


setup new gem services

Now that the proposal branch has been merged into master. Could someone with the correct credentials please setup services for Travis CI and CodeClimate. Thanks!

@timriley I added CodeClimate but travis requires admin access. Can you help with this?

@flash-gordon done

@solnic ❤

@solnic @ttdonovan I would be great to add test coverage as well. Codeclimate requires admin access for this: settings -> test coverage -> at the bottom of the page choose travis.

Taking care of this now.

oh, @AMHOL did it 4 minutes ago! 💯

Yeah but I did it wrong

OK, should be fixed now


remoteit.remoteit version 3.1.5

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hopefully the bot gets past this

Hopefully the bot gets past this

Oops, what should I do in this case? Not yet familiar with Silent/SilentWithProgress switches. What I did was update the previous installer URL to the new one, looks like something has changed, I guess...

Weeeell, since the installer is NSIS/Nullsoft AFAIK there is no way to suppress that message unless the developer have added a switch for it which can be whatever...
This is definitively a new popup in the new version and maybe a bug, the only way to fix it might be to contact the developer..


Issue while running tests using grunt

After fixing a bug I ran the grunt command to build the project. Below is the issue I am getting while running the command.

build/umd/min/moment-with-locales.js

Running "concat:tests" (concat) task
Running "qtest" task
Deprecation warning: testing deprecation
Arguments:
Error
at C:\moment\build\umd\test\moment\deprecate.js:154:94
at Object. (C:\moment\build\umd\test\moment\deprecate.js:173:5)
at Test.run (C:\moment\node_modules\qunitjs\qunit\qunit.js:136:18)
at C:\moment\node_modules\qunitjs\qunit\qunit.js:279:10
at process (C:\moment\node_modules\qunitjs\qunit\qunit.js:1277:24)
at Timeout._onTimeout (C:\moment\node_modules\qunitjs\qunit\qunit.js:383:5)
at ontimeout (timers.js:475:11)
at tryOnTimeout (timers.js:310:5)
at Timer.listOnTimeout (timers.js:270:5)
woot Error: Process blocked for too long
at Timeout. (C:\moment\node_modules\qunit\lib\testrunner.js:83:30)
at ontimeout (timers.js:475:11)
at tryOnTimeout (timers.js:310:5)
at Timer.listOnTimeout (timers.js:270:5) { files: 0,
assertions: 0,
failed: 0,
passed: 0,
runtime: 0,
tests: 114,
coverage:
{ files: 0,
statements: { covered: 0, total: 0 },
branches: { covered: 0, total: 0 },
functions: { covered: 0, total: 0 },
lines: { covered: 0, total: 0 } } }
Please let me know what the issue is.

Unfortunately, I don't have the time to help you fix this, but maybe someone else in the community can help out.


Fixes #3406 Add Run_Dora_Run New Game

Pull Request: Add Doraemon Run Game
Fixes #3406
Description
This pull request adds the exciting game "Doraemon Run" to our collection of games. In this adventurous game, players navigate Doraemon through mazes while collecting cakes and avoiding traps. The game offers engaging gameplay with intuitive controls and increasing difficulty levels.
Features

Players navigate Doraemon through mazes using top, left, right, and bottom controls.
Doraemon earns game points for every cake collected during the run.
Each cake collected adds 10 points to the player's score.
Game points decrease if Doraemon crashes into obstacles.
Doraemon's health decreases by 1 every time.
The game tracks both the player's score and health.
The game ends when Doraemon's health reaches 0 or when he crashes into the boundary line.

Testing Done

Tested the game locally to ensure smooth gameplay and functionality.
Conducted thorough testing to verify that players can navigate Doraemon through mazes, collect cakes, and avoid traps as intended.
Checked the scoring system to ensure points are correctly awarded and deducted based on player actions.

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you @kshitizvardhan ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

@kunjgit I am gssoc'24 contributor, so please merge under gssoc label...and this is level-3 as mentioned in issue

Hey @kunjgit , Sorry to bother you! Just wanted to let you know that everything is set for this PR to be merged.
Could you please look into it..

Thank you  @kshitizvardhan , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Make window.hasOwnProperty work in IE8.

This fixes hasOwnProperty IE8 error if you try to query window object. window.hasOwnProperty is undefined otherwise..
Uses the same fix used in for Object.assign (929ce80270c2ed886b09a1b25242551b3ff2f461)
Relates with: #433

@ivoreis thanks for this - could you add a test for it as well?

Added tests for window object. Tested locally and on browserstack.