await-promise not compatible with intern types

Bug Report
We use the intern as a functional testing library
https://github.com/theintern/intern
It has classes which extend Promise that I am attempting to configure tslint to recognise as Promise types, but am unable to do so.
The .d.ts for the intern method in question looks like:
Command.d.ts
    execute<T = any>(script: Function | string, args?: any[]): Command<T, any>;

where Command is:
export default class Command<T, P = any> extends Locator<Command<Element>, Command<Element[]>, Command<void>> implements PromiseLike<T> {

TSLint version: 5.12.1
TypeScript version: 3.1.6
Running TSLint via: (pick one) CLI

TypeScript code being linted
await remote.execute("some javascript to run in the browser");

with tslint.json configuration:
{
  "rules": {
    "ban": false,
    "class-name": true,
    "eofline": true,
    "forin": true,
    "interface-name": [false],
    "jsdoc-format": true,
    "member-access": false,
    "member-ordering": [false],
    "no-any": false,
    "no-arg": true,
    "no-bitwise": true,
    "no-conditional-assignment": true,
    "no-consecutive-blank-lines": true,
    "no-console": [true, "debug", "info", "time", "timeEnd", "trace", "log"],
    "no-construct": true,
    "no-debugger": true,
    "no-floating-promises": [true, "CancellablePromise", "Command"],
    "await-promise": [true, "Command"],
    "no-duplicate-variable": true,
    "no-empty": false,
    "no-eval": true,
    "no-inferrable-types": true,
    "no-internal-module": true,
    "no-null-keyword": false,
    "no-require-imports": false,
    "no-shadowed-variable": true,
    "no-string-literal": true,
    "no-switch-case-fall-through": true,
    "no-trailing-whitespace": false,
    "no-unused-expression": false,
    "no-var-keyword": true,
    "object-literal-sort-keys": false,
    "radix": true,
    "switch-default": false,
    "triple-equals": [true, "allow-null-check"],
    "typedef": [true, "property-declaration"],
    "variable-name": [true, "ban-keywords"]
  }
}

Actual behavior
The await-promise rule fails with "Invalid 'await' of a non-Promise value."
Expected behavior
No error

☠ TSLint's time has come! ☠
TSLint is no longer accepting most feature requests per #4534. See typescript-eslint.io for the new, shiny way to lint your TypeScript code with ESLint. ✨
It was a pleasure open sourcing with you all!

🤖 Beep boop! 👉  TSLint is deprecated 👈 (#4534)  and you should switch to typescript-eslint! 🤖
🔒 This issue is being locked to prevent further unnecessary discussions. Thank you! 👋


”Gostinari”, ”Mironești” are listed in the drop-down menu

Description:
When user writes ”Gostinari”, ”Mironești” the locations appear in the drop-down menu next to the comune and the county witch is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Gostinari"

Expected results
The location appears in the drop-down menu as "Sat Gostinari, GIURGIU (Gostinari)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Mironești"

Expected results
The location appears in the drop-down menu as "Sat Mironești, GIURGIU (Gostinari)".


Add option to weight by reading pc

This extends the feature to weight by the point intensity in the map.

Thanks for the PR!


Support function declarations

Describe the feature
Maybe intentional, maybe not, but function declarations seem to be not supported:
const mod = parseModule(`export default function foo(){};`);
// Throws MagicastError: Casting "FunctionDeclaration" is not supported
console.log(mod.exports.default);

Additional information

[ ] Would you be willing to help implement this feature?

Apologies, this is a duplicate of #37.


Handle timeouts in DataLayer AppHelper

When sending messages phone <-> watch, gracefully handle timeouts.

Closing as low priority, reopen if keen to work on it.


Unreasonable calibration output

System information (version)

Operating System / Platform => ❔
OpenCV => ❔
Ceres => ❔
Boost => ❔
C++ => ❔
Compiler => ❔

Vision system

Number of cameras => 2
Types of cameras => perspective (perspective, fisheye, hybrid)
Multicamera configurations => overlapping (overlapping, non-overlapping, converging)
Configuration file => ❔ (i.e. *.yml)
Image sequences => ❔

number of images per camera
if relevant and possible, please share image sequences

Describe the issue / bug
Please provide a clear and concise description of what the issue / bug is.
Hello,
We are attempting to calibrate two cameras (eventually, 5) for proof of concept using a printed charuco board on a 24 inch x 36 inch poster board. We printed this using 4000x6000 resolution at a neighborhood printing center. We have one camera with 1920x1080 resolution, and another with 2048x732. To make this easier, I will call the1920x1080 "Camera 1" and the 2048x732 "Camera 2".
Camera 1 has the ability to zoom in/out and focus but Camera 2 does not. We currently have a stream running of Camera 1, from which snap photos every ~8seconds. We found that Camera 2 has issues with quality when taking photos from a stream, so we are pulling them directly from the camera and encoding into a BMP. We take these photos every ~9 seconds.
We've tried a variety of approaches to gathering the data for the calibration, but here are the constants:

We point both cameras to a specific spot, which as much overlap as possible. Since Camera1 has the ability to zoom. we often find that Camera 2's frame has a longer length. In terms of width, both frames are similar. These cameras are mounted on top of a vehicle.
We have the 24inch x 36inch board mounted/taped to a dolly/hand cart. Since we are taking these pictures outside, we place the back of the board against the sun as to reduce possibility of glare.
We move the board around on the camera frames, trying to cover every inch of the frame on both cameras. There are instance where none/small parts of the board is shown on Camera 1, but is still visible on Camera 2. We leave the board still for about 30 seconds, allowing us to take 3-4 photos per position. We then move the dolly/hand cart to find a new position.

We originally took about ~300 photos on each camera ~60 meters away from the cameras. We moved the board around and tried to fill every spot on the frame, while trying to leave at 50% of the board in the frame. Since the pictures are taken every X seconds, there were photos were the board was in transit/turned/not fully secured on the spot we wanted to put it. Upon running MC-Calib, we ran into the error code :
what():  OpenCV(4.2.0) ../modules/core/src/matrix_expressions.cpp:23: error: (-5:Bad argument) Matrix operand is an empty matrix. in function 'checkOperandsExist'
We then thought perhaps the board is too far away and it is harder to see the squares for the camera at that distance. We wanted proof of concept that the program could work with closer pictures. We moved the board to about ~15m from the cameras, which resulted in the board almost covering the entirety of the Y axis on Camera 2. We adjusted Camera 1's zoom to fit, and took about 25 photos on each camera, once again taking pictures every 8-9 seconds from the stream. We took most of the pictures towards the center of the frame. We were able to run the program without an error, but got wildly unexpected values for the respective positions of the cameras. Our rough measurements with a tape measure says the cameras are about 40 inches x 40 inches x 0 inches away from each other. The program seemed to suggest the cameras are 150-200 inches away in each direction.
We proceeded to take pictures at the same distance (15 meters). We grabbed about 800 photos on each camera, moving the board to various positions around the frames. Once again, we ran into the same error code as above.
We then moved the board to about 18-20 meters where we felt Camera#2 had the best focus. We moved the board up and down the frame over the course of a few hours, taking ~1200 photos on each camera. Same error as above.
We feel that we're running out of options. It's difficult for us to get perfect quality photos since the photos are being taken outside, not in a controlled environment.
Our questions are:

Is it important to delete/omit photos in which the board is in transit or not in full view ? Since we are taking photos every X seconds, there will be times where the board is in transit/slanted and does not give full view. The cameras are not perfectly synced in when they take the photo, so some of the photos will have discrepancies in the board position.
Does every picture need to show the board in both of the cameras' frames? Since one of the cameras cover a wider width than the other, we do have pictures where the board exists on one, but not the other.

If you have any recommendations on how we can improve the way we take data, I would really appreciate it.
Thank you

Thank you very much for your interest in this toolbox.
I have a few questions regarding your setup:

Zoom/Focus: Did you fixed the focus and zoom of Camera 1? A camera with auto-focus and variable focal length cannot be calibrated this way.
Individual calibration: Have you tried calibrating Camera 1 and Camera 2 separately? What happens when you run the code with a single camera?
Versioning: Are you using the Docker provided with MC-Calib to avoid any versioning issues?
Syncrho: Are the cameras perfectly synchronized? If you have motion blur, I suspect something is moving (either in the scene or due to camera ego-motion). If the cameras are not synchronized via any hardware, then the board and the cameras should be perfectly static during the image capture.
log: Could you provide us with the entire log? It would help to see exactly where the code is crashing.
Config: Could you also share your configuration file?
Shutter: Are your cameras CCD or CMOS? (rolling or global shutter)
Moving elements: Do you move the board or the cart?

A few clarifications:

Motion blur: Normally, images with excessive motion blur should be automatically rejected, either because the Aruco markers cannot be detected, or when the points are refined, or via RANSAC (depending on the threshold and amount of blur). However, it is certainly better to input proper pictures in the first place.
It is completely okay if the board is partly visible on one or both cameras, but you might need to adjust the parameter min_perc_pts to a lower value (e.g., 0.3 --> 30% of the corner visible required to consider the board for calibration)
The board's distance should not necessarily be a major issue (it should still be possible to calibrate with a good reprojection error).
If you are calibrating cameras with significantly different focal lengths, you might want to print more than one checkerboard, for instance, a large one and a smaller one.
Overlap is not strictly necessary for MC-Calib, but it would greatly facilitate the calibration. Moreover, knowing your cameras are mounted on a platform without Y-axis freedom, you might encounter severe degeneracy problems if you rely solely on the non-overlapping capability of the toolbox.

I am looking forward to hearing back from you and seeing how we can help you. Also, please do not hesitate to share some of your pictures with us if possible.

Thank you for your response. We have tried some new things but have not yet achieved calibration. Instead of trying to calibrate two different cameras, we chose to calibrate two of the same. We have one camera with focus and zoom capabilities, and four cameras without those capabilities. We tried to calibrate two of the four cameras, to see if that would bring better results.
I have a few questions regarding your setup:
- Zoom/Focus: Did you fixed the focus and zoom of Camera 1? A camera with auto-focus and variable focal length cannot be calibrated this way.
+Camera 1 has the ability to zoom and focus. Camera 2 does not have either. We turned off auto focus on camera 1 and moved the frames on both cameras to overlap as much as possible. Because Camera2 has a much wider frame, there are parts of the frame where camera 1 cannot see
- Individual calibration: Have you tried calibrating Camera 1 and Camera 2 separately? What happens when you run the code with a single camera?
+Yes, we were not able to get good results. We got infinite error values
- Versioning: Are you using the Docker provided with MC-Calib to avoid any versioning issues?
+Yes we installed using MC-Calib's instructions
- Syncrho: Are the cameras perfectly synchronized? If you have motion blur, I suspect something is moving (either in the scene or due to camera ego-motion). If the cameras are not synchronized via any hardware, then the board and the cameras should be perfectly static during the image capture.
+Hardware synchronization is impossible for out setup. Instead, we did notice very small amounts of movement on the camera, either due to wind or other factors. We tried to create an environment where nothing in the frame moves.
- log: Could you provide us with the entire log? It would help to see exactly where the code is crashing.
- Config: Could you also share your configuration file?
%YAML:1.0
#config for calibration of drvid cameras

######################################## Boards Parameters ###################################################

number_board: 1 # number of boards used for calibration (for overlapping camera 1 is enough ...)

number_x_square: 4 #number of squares in the X direction

number_y_square: 6 ##number of squares in the Y direction

resolution_x: 4000  # horizontal resolution in pixel

resolution_y: 6000  # vertical resolution in pixel

length_square: 0.04  # parameters on the marker (can be kept as it is)

length_marker: 0.03 # parameters on the marker (can be kept as it is)

number_board: 1 # number of boards used for calibration (for overlapping camera 1 is enough ...)

square_size: 5.4375 #5.4375

cam_prefix: "Cam_"

root_path: "../data/"

######################################## Camera Parameters ###################################################

distortion_model: 0 #0:Brown (perspective) // 1: Kannala (fisheye)

distortion_per_camera : []

number_camera: 2  # number of cameras in the rig to calibrate

refine_corner: 1  # activate or deactivate the corner refinement

min_perc_pts: 0.7  # min percentage of points visible to assume a good detection

# cams_params_path: "../intrinsic/double-drvid-curated.yml"

# fix_intrinsic: 1

######################################## Optimization Parameters ###################################################

quaternion_averaging: 1    # use Quaternion Averaging or median for average rotation

ransac_threshold: 3        # RANSAC threshold in pixel (keep it high just to remove strong outliers)

number_iterations: 1000    # Max number of iterations for the non linear refinement

######################################## Hand-eye method #############################################

he_approach: 0 #0: bootstrapped he technique, 1: traditional he

######################################## Output Parameters ###################################################

save_path: "workthistime/"

save_detection: 1

save_reprojection: 1

camera_params_file_name: ""

- Shutter: Are your cameras CCD or CMOS? (rolling or global shutter)
- Moving elements: Do you move the board or the cart?
+We moved the cart after pictures were taken from the stream, as to cover the entire frame of the camera.
Following are the pictures we used for the calibration. The Drv1 and drv2 folders are pictures from our last attempt. In this attempt, we used two cameras that have 2048x732 resolution. Neither of these cameras have focus or zoom capabilities. The error message and configuration parameters above are from this attempt.
https://drive.google.com/drive/folders/1smcpgeDjNZrd_Y_Vu1MqarU9XAFN72-j?usp=sharing

Thank you very much for sharing all this information with us.
I have looked at the pictures you shared, and I might have some comments:

Certain parameters seem to be missing in your configuration file such as number_x_square_per_board and other, I am not sure if it can cause some issue
From your log it seems the toolbox struggles to detect the keypoints in the board properly (it only detects one or 3 points maximum which is not sufficient to calibrate the camera). Try to set the min_perc_pts to 0.5 to ensure you have sufficient points to calibrate. If the problem of detection persists, could you please give a try with a square board (just in case it is a bug in the toolbox for a rectangular shape)?
The number of images for each camera should be exactly the same to perform multi-camera calibration. Even if the image captured with one camera does not contain the checkerboard, it should be included in the folder.
The naming of the images should ideally include proper zero padding, such as cam01_00001.jpeg, cam01_00002.jpeg, etc.
The images you use lack diversity; the board always has the same orientation. You should try to diversify the viewpoints by tilting and panning the board a bit, or it can affect the calibration accuracy.

What I recommend doing here is calibrating your system in two stages. First, calibrate the intrinsics of both cameras individually, which will give you more freedom to acquire proper images. Then, you can use these intrinsic parameters and calibrate only the extrinsic parameters using MC-Calib.
I hope it is helping. Best of luck with your calibration, and do not hesitate to seek help here!

Based on the pictures from the drive link I sent you, did you feel like image quality was an issue? We were wondering if the images we took had good enough quality for the toolbox

My sincere apologies for getting back to you so late. I have been quite busy in the past month due to other responsibilities.
In my view, the quality seems acceptable. However, have you tried to implement all the feedback I mentioned in my previous message? I believe the naming convention and the number of images are definitely problematic in your case.
Please remember that the images should have consistent naming, and even if the checkerboard is not visible, all the images captured by the cameras should be provided.
I hope you have managed to address these issues. In my opinion, if you can resolve the problems I mentioned in my previous message, everything should work properly!


wrong type for _eepromPosition

For Atmega328, EEPROM is 1kbyte and in the code, _eepromPosition is unisgned char. Not enough if you put your data after 255

v2.0.0 is now technology agnostic (you provide the set and get state callbacks).


RE: /airbrake-faq/deploy-tracking

EngineYard has changed it's variable names. https://support.cloud.engineyard.com/hc/en-us/articles/205407008-Use-Ruby-Deploy-Hooks has more info.

environment is now config.environment_name
current_role is now config.current_role
revision is now config.active_revision
repo is now config.repo
current_path is now config.current_path

Relevant diff:
-  if notify_deploy_environments.include?(environment) && notify_deploy_roles.include?(current_role)
-    run "cd #{current_path} && bundle exec rake airbrake:deploy TO=#{environment} REVISION=#{revision} USER=`whoami` REPO=#{repo}"
+  if notify_deploy_environments.include?(config.environment_name) && notify_deploy_roles.include?(config.current_role)
+    run "cd #{config.current_path} && bundle exec rake airbrake:deploy TO=#{config.environment_name} REVISION=#{config.active_revision} USER=`whoami` REPO=#{config.repo}"

Hi @oskarpearson! Thanks for reporting this one and including so many helpful details.
I have updated the EngineYard example to use the new naming convention (config.environment_name).
I also updated this example to use the current environment variable that the Airbrake API expects a deploy to have ( ENVIRONMENT, USERNAME,REPOSITORY, REVISION).
Please let me know if you have any further issues with the current EngineYard example.


webpki 0.21.2

Type: Incomplete
Summary:
Clarify declared license
Details:
This project uses an ISC license for the main code, as well as BSD-3-Clause for some third party chromium code, both were discovered correctly, but the package itself didn't state the expression which left the crate in an ambiguous state.
Resolution:
Combined the ISC and BSD-3-Clause with AND to indicate the crate is licensed under both of these terms.
Affected definitions:

webpki 0.21.2

@ariel11 Yes, based on the current curation guidelines, this should be "ISC" as declared.


Rendered page link is not working

Please change https://kparc.github.io/refcard/ to https://kparc.github.io/ref in README.md

https://kparc.github.io/ref/ https://kparc.github.io/refcard/
On Sun, 26 May 2019 at 01:39, Alexander Belopolsky<EMAIL_ADDRESS>wrote:

https://kparc.github.io/refcard/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kparc/ref/issues/3?email_source=notifications&email_token=AALVXXXYVLNKNQFLHRKZSH3PXHEZZA5CNFSM4HPVSNBKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GV3YD5Q,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALVXXU65VXH43XKBZ5IKXLPXHEZZANCNFSM4HPVSNBA
.

Fixed in latest commit via @kelas. Also fixed on the GitLab placeholder page.


rename project (fixes #23) — DON'T MERGE!

This is what it'd look like to rename the project to offline-github-pages while calling the command-line tool oghp. This is a complete fix for #23 (the only test failure is due to offline-github-pages not yet existing in npm), but I've labeled it WIP (and marked it DON'T MERGE!) because I'm still not sure that we should do it.
I'll decide by tomorrow, but at the moment, after looking at this, I'm leaning against changing the name, since it's easier to remember the name of the command-line tool if it's the same name as the package (and project), and offline-github-pages is long and cumbersome as a name for a command-line tool.

Per https://github.com/mozilla/oghliner/issues/23#issuecomment-156575287, we're not going to do this after all.


[Test Coverage Improvement] Add Tests for Saved Object Sharing

There's no existing tests for the saved object sharing functionality to capture bugs like the one reported on the issue.

[Triage] Could you provide what these test(s) should exercise in the product?

The sharing saved object with url feature does not have test coverage, so the issue was not caught by automation tests.

Closing this issue as work is shifting towards the workspaces initiative, where sharing saved objects will be improved.


Use-case: Creating a "not implemented" base class

I think #61 is going into plenty of depth, and this isn't necessary.


fix formspecs

add default background detail for formspecs
and remove duplicate recipe for hides

Can you use tabs to indent?

yes, but, please squash the two commits so you don't break code indentation to begin with!

Damn, Sofar, I already deleted this from my repositories,
Do I need to just delete this whole pull request and start over?

No, This can be squashed when it gets merged.


[fix](doris compose) Fix not show ms recycler .out log in cloud mode

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


added short version as requested in https://github.com/hako/durafmt/i…

…ssues/11

Codecov Report

Merging #12 into master will decrease coverage by 5.63%.
The diff coverage is 75%.

@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
- Coverage     100%   94.36%   -5.64%
==========================================
  Files           1        1
  Lines          57       71      +14
==========================================
+ Hits           57       67      +10
- Misses          0        2       +2
- Partials        0        2       +2

Impacted Files
Coverage Δ

durafmt.go
94.36% <75%> (-5.64%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 987f93c...e37045b. Read the comment docs.

Documentation update still pending following approval of function names.

Thanks for this! Before I merge this, could you please improve the coverage? Only two statements to 100%.

LGTM 👍


ModuleNotFoundError: No module named 'validate'

Hello,
I started getting this error after updating python-configobj from 5.0.6-9 to 5.0.6-10 on Arch.  I've noticed it has changed its installation directory so I guess todoman should import from configobj.validate instead.

Having the same issue here, Arch as well.

A fix has been applied to the Arch package:
https://github.com/archlinux/svntogit-community/commit/2cefd39f45b2a98d3f62e441407b61d9e3ac2483

ArchLinux is currently packaging an unreleased 5.1.0 version.
$ python -c "import configobj; print(configobj.__version__)"
5.1.0

$ pacman -Qi python-configobj
Name : python-configobj
Version : 5.0.6-10
...

I can't fix this in todoman, since I can't really support something that's unreleased. It does seem that configobj's next minor release will have breaking changes though, so I'll keep this open to keep an eye on that.

This seems like the best solution to deal with distro's that don't package the shim:
https://github.com/scheibler/khard/pull/283/files

This is fixed in main and will be released with 4.0.0.
The configuration format has changed, so that requires some (minor) manual attention.


ivi-homescreen_git.bb: remove duplicated rdepends

Rdepends to flutter-engine has been added twice to the recipe over time. See line 24.

@emanuel-th Hi.  Thanks for the PR.  Looks like I have it duplicated in flutter-auto as well.  Can you add change for that as well?

@jwinarske I added the change for flutter-auto.

@emanuel-th thanks!


multi crop from one file

have create multi crop from 1 file upload?

I guess the backup / reset method would do the trick: http://image.intervention.io/api/reset


Server error: GET https://office.eclabs.de/healthcheck resulted in a `502 Bad Gateway

I get the error "Fehler beim Anschließen" with the message
Server error: `GET https://office.mydomain.de/healthcheck` resulted in a `502 Bad Gateway

I have installed nextcloud via docker and ONLYOFFICE also via the docker-compose file (see #88 )
both are n the same guest-VM in my XEN host, where I have a proxy-VM (nginx) that redirects to the according ports on the guest-VM
the site https://office.mydomain.de works in my browser, but I cannot reach https://office.mydomain.de/healthcheck there either

Hello @rubo77 healthcheck function are not ready and not released.

But how do I integrate ONLYOFFICE into my nextcloud then? I get this error when trying to add my version into the Nextcloud settings

For integrating Onlyoffice document server in Nextcloud - please see this repo.


Publish 0.9.0?

Any chance we can get 0.9 published on pub.dartlang (even as a dev release if necessary)?
We're having some issues grabbing it from GitHub in our automated builds and we've started using popover.

Sorry I'm on vacation far from my computer, I'll be back next week. I'll try to publish soon if I got some time.

OK, thanks!

it's published


Update README.md with more details

@adarsh-ramakrishna-sfdc please resolve this pull req. open new issues to track open items

@adarsh-ramakrishna-sfdc please close out all open pr

Sure @vamshi-sfdc

Created new PR #47  . Closing this PR


Updating heapless and allowing external usage

This PR fixes #52 by publicly using heapless. It also updates the heapless version to use a version that does not have a security vulnerability in it.

Have you thought about a new release?

I definitely think we should cut a new release so that we can get something out in the wild that doesn't depend on a vulnerable version of heapless. I'll go about the housekeeping after we get this merged


chore: Add Usage Trend of InstantSearch Family

I’d like to suggest adding a link to the README that shows the usage trend of the InstantSearch family of packages. This link will direct users to a dynamic chart that visualizes the download trends of related packages over the past three years, helping new users evaluate the popularity and adoption of InstantSearch tools.
As a maintainer of npm-compare.com, I’m also happy to implement any other features that could benefit your project, if you find them useful.
Thanks for considering my suggestion!

Thanks for your contribution! This could be interesting, but I wonder what people would learn from the graph? That Vue InstantSearch is not used very much in comparison, or something else I'm missing? Thanks

Thanks again for your suggestion. In the end the team is not convinced this input helps people decide on using InstantSearch or what flavour to use, so we won't be merging it. Thanks though for your input and I'll keep the site in mind for when I want to compare packages!


Update use-mat.md

info about neutralresource language that needs to be set

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

@stevewhims : PR passed the acceptance checklist. Please evaluate further. Note also that a few adjustments to the submission would align it better with Microsoft style. Specifically:

Avoid ellipses. (Lines 17, 60)
Format names of UI elements in bold (e.g., "Properties", "Assembly Information").
Use numbered lists, not bulleted lists, for sequential steps.
Make items in lists (numbered or bulleted) grammatically and logically parallel.

Thanks!

@stevewhims just wanted to share info about MAT here, feel free to change/edit/post/delete when/where needed.

Great, well I'll pass this info along to the .NET content folks and also to the MAT development team. Once it's in the right hands, they'll be best situated to make the determination as to how to use the info. Again, many thanks for your contribution! And I'll close this PR once I've safely copied the info out of it.


Show correct data type in data table cell editor

Fixes #2424 .
The application does not remember the data type of a cell as a cell only stores information related to the cell value. Hence, to show the correct data type on the front end, we can just use typeof to get the data type of the cell before rendering the HTML. This way of using typeof is also consistent with the rest of the application (e.g. the rest of the code in cell-ui.js etc).
This works with different languages as well since the select values are in English regardless how OpenRefine is localised.

Sorry for the delay (been rushing my thesis for the past month)! My bad for missing out the date - I've fixed it and checked all the cell types this time round.
As for extracting it into a separate type checking function, I did consider it as well. However, I am not sure where the best place to do that would be. Looking at the code base, it seems like serializing the cell data type in Cell.java when a cell is retrieved as a JSON object is the 'cleanest' way of doing things. But I am not sure if doing this would affect other parts of the application, and whether this is indeed the best way to do things. In the meantime, I have added an additional line to check for the date type using existing cell properties instead.

@joanneong Thanks! And best of luck on your thesis!

Hmm, actually this breaks the editing of null cells, I should have checked it more thoroughly. The fix is on me.


Adapt + port flatten library to devfile/api side

Description
The code we have for flattening devfiles (by grabbing resources from the internet/a kubernetes cluster) will be useful for all users of the devfile 2.0 spec. We should remove DWO-specific bits from pkg/flatten and port it to the devfile library so that it can be used by anyone who wants it.
Syncing this port back to DWO would then require replacing the custom functionality we provide (e.g. support for web-terminal).

cc: @yangcao77 I'll work on this this week.


Add some limited effects to abilities & fallouts

It would be good to automate the "add X resistance" style abilities.

Similarly, some abilities effectively add permanent equipment (e.g. "Kiss of the Drowned Queen" for the Junk Mage), which could be automatically added.


[QUESTION] What's the protocol used between JuiceFS and Pod/Volume? In other words, how to achieve mount between pod path and Juicefs.path?

Question
Before asking a question, make sure you have:

Reviewed relevant Kubernetes information: Google your error messages and look at K8s docs.
Searched open and closed GitHub issues
Read the documentation: JuiceFS CSI Driver Doc

What help did you want:
Environment:

JuiceFS CSI Driver version (which image tag did your CSI Driver use):
Kubernetes version (e.g. kubectl version):
Object storage (cloud provider and region):
Metadata engine info (version, cloud provider managed or self maintained):
Network connectivity (JuiceFS to metadata engine, JuiceFS to object storage):
Others:

Hi @KiwiGeorge , you can read docs of JuiceFS CSI Driver architecture for more details. Thanks.


move PDOK hosting

Soon (matter of days) we're going to move the hosting of the nlmaps site at PDOK to our space in the Azure cloud.
Deployments will be based on a tagged releases of the nlmaps source. Is the latest develop (including this PR) ready to be released? And if so, could you make one? The only differences I see are some fixes.
I see there are also some alias domains active, 302-ing to nlmaps.nl. No certificates as far as I can see (so https redirects don't work). How relevant are these? Used/published before? Or just reserved domain names?
(don't know if this list is exhaustive)

www.nlmaps.nl
nl-maps.com
nl-maps.nl
nlmaps.com
nlmaps.eu

The move will happen this week (depends on a third party flipping the DNS). ea41057 will be served from the new location. The question about the alias domains is still open.

As of 14h00 today it has been moved.


Fix Jenkins File to match latest plugins

(Zulip notification, Code Coverage)

@pjmonks If you want to have a look at this one, and then we can merge into any existing PRs


fix: automerge crowdin CI failures due to branch being out of date

Description
As the title - currently we are often seeing Crowdin PR's being rejected due to the base translation being part of the files changed but this happens because the branch is out of date. This PR updates the branch before running the file checks to reduce the times we have to manually intervene.
Other changes
N/A
Tested
N/A
How others should test
N/A
Related issues
N/A
Backwards compatibility
N/A

Hey @MuckT since NA is mentioned in how other should test section, we are skipping this PR
Cc: @kathaypacific
Thanks.!


Ross/aad tenant

PR for issue #1795
What is being addressed
Gitea and Guacamole should be able to access the AAD_TENANT_ID when building workspace services
How is this addressed

Add the AAD_TENANT_ID into the ws KeyVault
Gitea and Guacamole should read this value from Keyvault and not the core api app settings

/test-extended

Are the deploy.sh files not still required?

They are used for local debugging and I have replaced them with a file called debug.sh which is more explicit what it is used for and added it to the dockerignore file

/test-extended

/test


Drop qemu-wrapper

The wrapper needs to be dropped to use libvirt as intended.
Opening this tracker because it might not happen in one PR but in several steps.

Hi @fabiand  , what is the diffrence between the VMs created by kubevirt and virsh tool?
And the VM created by kubevirtis a really VM or just a logical VM (VM in container similar to the DinD),  it can be managed by virsh or not?

VMs created by KubeVirt will internally be managed by libvirt. Thus if you use virsh, you will see KubeVirt VMs as regular VMs.
And thus, yes, the VMs are really true full fledged VMs (qemu processes, managed by libvirt) - KubeVirt is defining an API to allow you to specifiy them like you could do it with libvirt directly.
Today you can change the VMs using virsh, but the virt-handler will notice and will react to it.
Anyhow, this ticket is about a wrapper we introduced to move VMs into the correct control group.

@fabiand , Thank you for your detailed explanation, I understand.

While the qemu wrapper does still exist, it's functionality has been greatly reduced. It's effectively invisible to libvirt now.  The wrapper only acts as a way to place the qemu process in the POD's cgroups. The qemu process itself now inherits the wrapper's pid.


Finish go-license-detector

Parent objective:  #11
Progress: 0%
Relates to https://github.com/src-d/feature-idea/issues/4

[ ] [P1] Ensure the proper src-d/go-license-detector code quality
[x] [P1] Publish the blog post https://blog.sourced.tech/post/gld/

Update description \w link to blog post https://blog.sourced.tech/post/gld/
@vmarkovtsev mentioned that the second item was already done by @campoy

@vmarkovtsev could you update the status of the pending item as of friday the 29th?

This is all done and working beautifully.


Question: Is there any command to check files in source folder are in destination folder and they are same?

Hi Nick!
I copy a local source folder "Pictures" with some pictures, adding it to a destination folder "Pictures" in acd with the same name that my local folder. So in my destination folder I have the files new copied files from my local folder, plus old files copied in past backup times and deleted from my local folder.
I would like a command in rclone to compare and just tell me if files in local folder are present and they are all the same in my acd destination folder. Not considering old files added past times because they was deleted from my local Pictures.
Is it posible Nick?
Thank you!
When filing an issue, please include the following information if
possible as well as a description of the problem.

What is your rclone version (eg output from rclone -V)
1.29
Which OS you are using and how many bits (eg Windows 7, 64 bit)
mac capitan
Which cloud storage system are you using? (eg Google Drive)
ACD
The command you were trying to run (eg rclone copy /tmp remote:tmp)

A log from the command with the -v flag (eg output from rclone -v copy /tmp remote:tmp)

If you do a rclone --dry-run copy local remote: then it will list any files that needs updating from the local to the remote.
Is that what you mean?

It can be, let me explain you with this phrase.
I need it lists any files presents in local, and no presents in remote, or needs updating in remote.
Thank you very much and regards!

I think rclone --dry-run copy local remote: will do exactly that.

Fantastic, I am seeing that Transferred = 0 and Errors = 0 means that all in local is equal in remote,
I am creating a bash file which it runs normal rclone copy and next rclone --dry-run copy, then I would like to add this "read rclone --dry-run copy log file and, if Transferred=0 and Errors=0, then send me an email telling me that "backup comparation: files in source are present in remote and they are equal".
How can I do the part "if Transferred=0 and Errors=0"?
Do you know any awk or similar to check this?
Thank you very much
David

Sorry, not a shell expert :-(
I'm going to close this now as I think we've got to the bottom of the rclone stuff.
Thanks
Nick


Inconsistent fields: Title in UserHandler

We need to remove the title field as an input for the backend and database.

Okay i will have a patch shortly

Check now


🦺[Tech Debt]  Refactor project to allow sync on dev env.

Goal
Describe the work to be done
The basic spike and work to make sure all iOS devs workspaces are synced so pairing and discussions are aligned.
Definition of Done

[x] Review the steps for dependencies
[x] Test the proposed configuration with other agent accounts
[ ] Submit PR

cc: @JasperHeist  higher priority ....please standby

closed by #74


Server crashes instantly when opening the page in a browser.

Issue description
Server starts good, and says the typical:
INFO streama.Application - Started Application in 26.377 seconds (JVM running for 28.274)
Grails application running at http://localhost:80 in environment: development

When I open the page in a browser, however, it instantly crashes without more information.
I've had streama running for almost a year now and I've never got this problem before.
Steps to Reproduce

Clone the repository of streama
Customize the application.yml to point to a new database (I've used MySQL as db backend from the first time I installed it, flawlessly)
Open a terminal, and do "gradlew bootRun --stacktrace".
The server starts nicely, and greets us with the typical message:

INFO streama.Application - Started Application in 26.377 seconds (JVM running for 28.274)
Grails application running at http://localhost:80 in environment: development

Open http://<IP_ADDRESS>:80/ in a browser.
The server instantly crashes before even showing the login page.

Expected Behaviour
The server should handle the request as it has done all this time, and greet us with the login page.
Actual Behaviour
The server crashes with the code: -1073740940
Full stacktrace:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':bootRun'.
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
        at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
        at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
        at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
        at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
        at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
        at org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:154)
        at org.gradle.internal.Factories$1.create(Factories.java:22)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:151)
        at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:99)
        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:93)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:93)
        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:82)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)
        at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
        at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:77)
        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:47)
        at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
        at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
        at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
        at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:170)
        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
        at org.gradle.launcher.Main.doAction(Main.java:33)
        at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
        at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
        at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
        at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
        at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129)
        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Caused by: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files (x86)\Java\jdk1.8.0_181\bin\java.exe'' finished with non-zero exit value -1073740940
        at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:367)
        at org.gradle.process.internal.DefaultJavaExecAction.execute(DefaultJavaExecAction.java:31)
        at org.gradle.api.tasks.JavaExec.exec(JavaExec.java:75)
        at org.springframework.boot.gradle.run.BootRunTask.exec(BootRunTask.java:62)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:227)
        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:220)
        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:209)
        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:585)
        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:568)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
        ... 60 more

BUILD FAILED

Total time: 2 mins 8.483 secs

Environment Information

Operating System: Windows 7 x64
Streama version: master branch ( https://github.com/streamaserver/streama/commit/cded52715e77f9fe9ad1c5352060fe7213126ff4 right now )
Custom streama build, describe customizations or provide link to fork (If Applicable): No
Container Version (If Applicable): If container means docker or something like that, I don't use it.

Looks like some kind of heap corruption error. I'm not sure this is caused by Streama.
Try things like reinstalling Java, try 64bit java, reboot, enable Clean boot, etc

Will do tomorrow first thing and update this.
I already use Java 64 bit, the last version, but will try reinstalling it as well as another version.
What do you mean by 'clean boot'?
It's kinda weird that this started happening just after git pull'ing yesterday. Before that, I had it running for 30 days straight without problems!
Thanks for the quick reply.

Your stack trace shows C:\Program Files (x86)\Java\jdk1.8.0_181\bin\java.exe witch is very likely a 32 bit version of Java.
The last few commits only changed front end stuff so I'd be surprised if that was causing a heap corruption. You could also try rolling back to a previous commit and see if the issue is still present.
Clean boot (remember to switch back after troublshooting): https://support.microsoft.com/en-au/help/929135/how-to-perform-a-clean-boot-in-windows


[HUDI-1685] keep updating current date for every batch

What is the purpose of the pull request
When current date is not specified as config setting, the current system date should keep getting updated and should not be initialized in the constructor
Brief change log
Verify this pull request
There exists tests for this code already (https://github.com/apache/hudi/blob/master/hudi-utilities/src/test/java/org/apache/hudi/utilities/sources/helpers/TestDatePartitionPathSelector.java#L193)
Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@akanungoz we need to file a bug and link the ticket id to this.

Codecov Report

Merging #2671 (e3dff4d) into master (20786ab) will increase coverage by 17.42%.
The diff coverage is 33.33%.

@@              Coverage Diff              @@
##             master    #2671       +/-   ##
=============================================
+ Coverage     52.00%   69.43%   +17.42%
+ Complexity     3579      363     -3216
=============================================
  Files           465       53      -412
  Lines         22268     1963    -20305
  Branches       2375      235     -2140
=============================================
- Hits          11581     1363    -10218
+ Misses         9676      466     -9210
+ Partials       1011      134      -877

Flag
Coverage Δ
Complexity Δ

hudicli
?
?

hudiclient
?
?

hudicommon
?
?

hudiflink
?
?

hudihadoopmr
?
?

hudisparkdatasource
?
?

hudisync
?
?

huditimelineservice
?
?

hudiutilities
69.43% <33.33%> (-0.11%)
0.00 <5.00> (ø)

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

Impacted Files
Coverage Δ
Complexity Δ

...ies/sources/helpers/DatePartitionPathSelector.java
54.68% <33.33%> (-1.57%)
13.00 <5.00> (ø)

...apache/hudi/utilities/deltastreamer/DeltaSync.java
70.00% <0.00%> (-0.35%)
52.00% <0.00%> (-1.00%)

...src/main/java/org/apache/hudi/cli/TableHeader.java

...va/org/apache/hudi/common/fs/ConsistencyGuard.java

...java/org/apache/hudi/common/engine/EngineType.java

...he/hudi/common/model/EmptyHoodieRecordPayload.java

...ache/hudi/common/util/collection/DiskBasedMap.java

...til/jvm/HotSpotMemoryLayoutSpecification64bit.java

...che/hudi/common/table/log/HoodieLogFileReader.java

.../java/org/apache/hudi/hadoop/InputPathHandler.java

... and 404 more


Fix typos - Update string_types.jl

There might be more, but I was checking the code for other things.
It seems like a nice package! You can only have one condition for each typo, e.g. lower case, or you just use a regex? For e.g. numbers you might want to have a min and a max. Those constraints are maintained at runtime, not just for construction? Then have a performance cost... but yes I've been thinking of my own float type for only positive numbers. You can actually get away with then just a performance cost, exceptions on minus, and other operators unchanged.

@PallHaraldsson, hi, thanks for the PR. I will get back to you about the license a bit later.

@PallHaraldsson Hi, if I understood the question correctly, then no, you can impose multiple conditions on a type, for example:
StringLowerCase{StringMinLength{StringMaxLength{String,6},3}}("abcde")

NumberPositive{NumberLessOrEqual{NumberOdd{Float64},10}}(7)

Those constraints are maintained at runtime, not just for construction?

Conditions are checked only when an object is created or when a new value is assigned to a field of some type (in fact, this is exactly what the package was designed for)
mutable struct MyStruct
    some_field::NumberPositive{Float64}
end

a = MyStruct(1.0)

# Yes
a.some_field = 2.0

# No
a.some_field = -1.0

And of course it won’t be possible to do something like
b = NumberPositive{Float64}(1.0)

# No
b.value = 2.0

because constraint types are immutable

https://github.com/bhftbootcamp/BoundTypes.jl/pull/7
@PallHaraldsson сс


Showing matched rule on the page

Additionally fix an error in dealing with optional fields that are of the type 'array'

I have made the requested changes, kindly have a look!

Could you verify whether the modification for light mode works now?


Xrdp Slow

Hello there,
i m just installa frech install of ubuntu 20.04 and update evrything i just install
sudo apt_get install xrdp
so i can connect on my virtual machine got to issue very bad :

No sound
and the acess is very slow

can u help me to fix this please

Hi @gamersalpha

sound: the distro xrdp doesn't include the pulseaudio drivers, so you'll need to follow the procedure we've already discussed in #1564 I'm happy to help you with that if you want to try it.
slow:  You've not given us a lot to go on. What are you trying to achieve exactly?  Running a remote desktop over a network is never going to be as quick as running locally.

If you're trying to use a console login at the same time as a remote login on any version of 20.04, read this wiki page.

Hello there,
so i try again, i get smooth moving windows is slow
so i m on windows and i connect in rdp to my linux machine ubuntu  20.04 desktop

Hi @gamersalpha
Are you saying that just dragging Windows about on the desktop is slow?
That doesn't sound like normal behaviour. What kind of network have you got between the two machines? Are they on the same LAN? Are you running wired or wireless?

@matt335672 thanks for the cool measuring tips!
Below are my measurements.

There doesn't seem to be anything wrong with your network, so that's a good start.
If I'm reading your numbers right (and I'm not entirely sure about that), you're using around 10% of the link bandwidth for the session. Depending on the round-trips needed for communication, this could be suffering from latency. I can't see anything else here which would account for it.
What backend are you using? Xorg or Xvnc?
Xorg can be a bit tricky to set up. If you're using it. see https://github.com/neutrinolabs/xrdp/issues/1026#issuecomment-502302768 and try the settings there.

I am using Xorg.  I tried setting the connection speed to LAN and I already had the color depth set to 32 bit.  I still see the same lag.  Here is a video showing the input, rendering, and animation lag with LAN+32bit: https://www.dropbox.com/s/zzyqi4l13espvyn/input-lag.mp4?dl=0
I checked that the video (and the uploaded version played in the browser) accurately depicts the input lag I'm seeing (window lags behind the cursor) and the animation lag (clicking log out).  The slowness is not an artifact of video compression.  I have tested with direct access to the "remote" machine (monitor, keyboard, and mouse plugged in to the physical box) and do not see the same latencies.

Hi @ehaughee
Maybe the video's not doing your user experience justice, but that doesn't look entirely unexpected.
The cursor is drawn locally, the mouse move is sent to the remote end and the remote end updates the screen and sends it back. That looks like a fairly high res screen you've got there to me (is it 2160p?), with a fairly nuanced backdrop. You're going to be sending a lot of data for each redraw, and that will explain the delay.
You could try using a single colour backdrop for the remote session. Areas of a single colour pretty much compress to nothing,  and that will reduce bandwidth and hence round-trip-times.
Other than that, I can't think of anything else which would improve on that experience I'm afraid.

The monitor is 1080p.  If this is the best performance I can get from a local connection, that's fine, just wanted to make sure there wasn't something else I could do.
For anyone else following along, I ended up turning off the KDE Plasma compositor (System Settings/Display and Monitor/Compositor) which helped a little but obviously disabled things like animations and transparency for the theme I was using.  This is fine for my use-case but may not be for others.
Thanks, @matt335672, for your help!

After doing a lot of research, I got good performance with these settings:
xfce4
xorgxrdp-glamor
In /etc/xrdp/sesman.ini and /etc/xrdp/xrdp.ini:
Policy=UBDI
max_bpp=16
xserverbpp=16
use_compression = yes
crypt_level=none
KillDisconnected=true
DisconnectedTimeLimit=0
tcp_send_buffer_bytes=4194304
Tweak for TCP (2x request buffer size):
sudo sysctl -w net.core.wmem_max=8388608
see https://github.com/neutrinolabs/xrdp/issues/1483
Disable compositor:
xfconf-query -c xfwm4 -p /general/use_compositing -t bool -s false


Suppress modernize-use-integer-sign-comparison

The modernize-use-integer-sign-comparison was added to Clang-Tidy and is only applicable to C++20 code. Therefore, we suppress this check.

Is this showing a lot of hits?  Should we create a helper function for pre-c++20 that makes those comparisons safer?

Is this showing a lot of hits? Should we create a helper function for pre-c++20 that makes those comparisons safer?

See https://github.com/nlohmann/json/actions/runs/12396405659/job/34604358473?pr=4557.
The first hit is this:
/__w/json/json/include/nlohmann/detail/input/binary_reader.hpp:1112:13: error: comparison between 'signed' and 'unsigned' integers [modernize-use-integer-sign-comparison,-warnings-as-errors]
 1112 |         if (len != static_cast<std::size_t>(-1))
      |             ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |             std::cmp_not_equal( ,              )

len is of type std::size_t here. Not sure what to make out of it.
Yes, one approach could be to have our own implementation of cmp_equal, cmp_not_equal, cmp_less, cmp_greater, cmp_less_equal, and cmp_greater_equal and use it throughout. I would still like to merge this first, because all pipelines will fail now without suppressing this issue.
Are you OK with this and having an issue to fix this in the future?

Yeah, since all the current usages are safe, and the compiler is apparently looking right through the cast that we're using to make it "safe", then I think it's fine to log it for the future.  Maybe we can use std::numeric_limits<std::size_t>::max() instead of static_cast<size_t>(-1).

coverage: 99.634%. remained the same
when pulling 0f7836fd4b8efd69798be6787a58968d72ff81ee on fix-clang-tidy
into 094bd2651bd16510b3b2d59cfda002beb24922eb on develop.


Beware of intellectual property bothering

I'd just like to warn that GitLab might bother you for intellectual property reasons. See https://github.com/Logerfo/lab-notifications/issues/34 for more info.

Thank you so much for the warning. I completely miss the message 🙈


initial build and test workflow

this is a work in progress...
Signed-off-by: The MathWorks, Inc<EMAIL_ADDRESS>

Codecov Report

Merging #589 (7da5cb8) into development (9db1747) will decrease coverage by 3.26%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           development     #589      +/-   ##
===============================================
- Coverage        90.98%   87.71%   -3.27%
===============================================
  Files              185      118      -67
  Lines             7273     4755    -2518
===============================================
- Hits              6617     4171    -2446
+ Misses             656      584      -72

Impacted Files
Coverage Δ

...mework/include/cppmicroservices/GetBundleContext.h
0.00% <0.00%> (-100.00%)
:arrow_down:

...ework/include/cppmicroservices/detail/ScopeGuard.h
0.00% <0.00%> (-100.00%)
:arrow_down:

framework/include/cppmicroservices/detail/Log.h
7.69% <0.00%> (-92.31%)
:arrow_down:

...rk/include/cppmicroservices/detail/WaitCondition.h
0.00% <0.00%> (-85.72%)
:arrow_down:

framework/include/cppmicroservices/Any.h
12.82% <0.00%> (-83.18%)
:arrow_down:

.../cppmicroservices/detail/BundleAbstractTracked.tpp
72.60% <0.00%> (-13.66%)
:arrow_down:

framework/src/bundle/BundleRegistry.cpp
80.48% <0.00%> (-12.56%)
:arrow_down:

framework/src/util/FrameworkPrivate.cpp
66.94% <0.00%> (-11.32%)
:arrow_down:

...include/cppmicroservices/detail/ServiceTracker.tpp
75.75% <0.00%> (-10.71%)
:arrow_down:

...ork/src/service/ServiceRegistrationBasePrivate.cpp
85.71% <0.00%> (-6.60%)
:arrow_down:

... and 211 more


Clarify write behavior

Hey Ronan, great work, as usual!
I think that there are two conflicting statements in the RADME:

Note that this plugin, by default, does not touch the filesystem. It happens in memory.

And later you say:

This task will write the modification to disk. By default it overwrite the sources. if the dest option is set, it will write in that folder instead (and keep sources intact).

So which one is it? Does hardhat-preprocessor modify my source contract by default, or not?

@PaulRBerg thanks for your feedback.
the preprocess task was added later. It is actually not needed.
The plugin will automatically preprocess source file in memory based on the configuration setup in hardhat.config.ts
The preprocess task is useful if you want such processing to be then written to disk, either on the same files or in a different destination folder.
Maybe I should call it differently. any suggestion ?
I'll revisit the readme to make it more clear.

Oh, I see! Thanks for confirming.

Maybe I should call it differently. any suggestion ?

Maybe "parse"? Don't know, naming is always tough.

Thanks, I added some more text to explain hopefully better the 2 different behavior


Improve docs for KILL statement

Minor improvements for code added in https://github.com/sqlparser-rs/sqlparser-rs/pull/479 from @ovr

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
8091

Relevant Lines:
8951

💛  - Coveralls


[Released version] Ongoing timer resets when a notification is received

I was grilling today and set a custom timer of 15:00. I was 3 minutes into the counter when I got a notification from WhatsApp. After the notification clears from the watch, the screen resets the timer.
I suspect this is also a bug on the [development] version. Perhaps with one of the methods of the BehaviorDelegate.
I will debug this from the source code and on the watch. The simulator does not cover the notifications.

We'll have to see what the lifecycle is for the app. I read somewhere that based on some things (memory pressure usually) the device will put the app to sleep sometimes and when it does that, the whole initialization happens again when it's brought back to the foreground.
I'm not sure if this means our timers are killed and restarted, or if we just need to avoid resetting things to zero based on a "we're running" flag we store in the apps settings?

Is this the first time you've seen it or do you think this is a new issue?
We're using about 55k in the simulator which is pretty close to the 64k max on the FR235. We could comment out for now the extra strings and pickers that we're not using to reduce that.

No, this is the second time but I could not narrow down why it happened. I though I had clicked by accident but yesterday I confirmed that it is because I got the notification and screen changed. Finally the weekend is here so I'll debug the current development branch on the watch and test for that. If this behavior is gone with the simplified state machine then we don't have anything to do. May have been something related to the old state machine that was more intricate. The current way is very clean.

do a fresh pull of development and try it. I completed the merge for the STOP timer and commented out all the unused classes and resources so memory usage has been knocked down by about 8k.

The new stop button is great. Very useful. I just tested it and the timer no longer resets after being interrupted by a popup notification from the phone.


Mastodon doesn't accept replies, wants a "public key"

This log
Particularly
I 2021-05-14 07:26:26.271407+00:00 Received 401: Public key not found for key<EMAIL_ADDRESS>W 2021-05-14 07:26:26.278356+00:00 401 Client Error: Unauthorized for url: https://fed.fab.industries/users/fabsh/inbox ; Public key not found for key<EMAIL_ADDRESS>W 2021-05-14 07:26:26.281131+00:00   File "/workspace/oauth_dropins/webutil/util.py", line 1507, in call
    resp.raise_for_status()

  File "/layers/google.python.pip/pip/lib/python3.9/site-packages/requests/models.py", line 943, in raise_for_status
    raise HTTPError(http_error_msg, response=self)

Ugh, thanks for filing. Mastodon probably changed their requirements yet again, as in #73 and #29 and other times. We may need to ping them again and ask.

Oh sorry, only half explicit, it's from the h-card p-nickname on your homepage.