Fix unnecessary conditional

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[ ] Code style update
[x] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

https://github.com/vuejs/vue/blob/dev/src/platforms/web/runtime/components/transition.js#L34-L41
If an if block contains a return statement, the else block becomes unnecessary

Thanks for the PR, but the change is rather stylistic and doesn't have any real benefits.


Feature: make storage permission optional for cli installs

Hi,
I was wondering if it's possible to make the storage permission optional when the plugin is installed via cli. I'm currently working on an app that only shares a URL and now my app requests this (pretty intrusive) permission.. is there any way to work around this except opening the android project and just removing the permission? Maybe some flag in the config.xml?

@rejhgadellaabsl
I solved this issue by running a js script on before_compile cordova hook.
You can find it here: https://gist.github.com/gabfusi/aab647e32d7361f449b0e6fa2603072f
This is not the most elegant solution, but it works. Anyway, a flag would be very appreciated.

Right I figured something like that. Well the hook does eliminate the need to modify the Android project so I won't have to change it every time I move the project (I try to keep the platforms/ folder out of my svn). Thanks for the tip. But yeah, it would be nice to have the flag :)

Phonegap build (PGB) doesn't support hooks.
So I wanted PGB to remove from AndroidManifest.xml this:
uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
I followed the instructions here:
http://docs.phonegap.com/phonegap-build/configuring/config-file-element/
and added:
    <config-file platform="android" parent="/manifest" mode="delete">
        <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    </config-file>

Worked like a charm :)


Commands fail with CreateProcessA: The parameter is incorrect

@tru wrote:

Every time n2 tries to execute a subprocess, it exits with CreateProcessA: The parameter is incorrect. this happens already when running cmake, and also when trying to build a small build.ninja without involving cmake.

I have tested a small build.ninja that invokes clang-cl and it worked for me, so I am not sure what's different here.
I checked that in here: https://github.com/evmar/n2/tree/main/tests/manual/clang-cl
@tru could you try running n2 on that dir and let me know if it works?
Some other possibilities:

Which version of Windows?  Mine is Windows 10.

Next I'm eyeballing n2 code vs similar ninja code

https://github.com/ninja-build/ninja/pull/1637/files feels possibly related

That example works fine on my machine, I have Windows 11, but I doubt that's related.  Those things always trip me up as well. Can you add similar error handling in n2, and we can get more info on what's going wrong?

Also, can you paste the failing build.ninja you tried that didn't involve cmake?

(In case you missed it, I pushed a change that has more error handling, so please let me know if it helps.)

FWIW, I was seeing that error when I tried the latest main branch a week or so ago, but it seems to be working fine now.

Hi! Sorry for the late reply, but I was on vacation. I downloaded and ran the latest version and this problem seems to have been fixed!


[FEATURE] Update README to reflect Python requirement

Is your feature request related to a problem? Please describe.
Problem Description:
There is a compatibility issue arising from the project's Python environment setup. The project's dependencies, particularly numpy, require a specific range of Python versions. However, these specific requirements are not clearly stated in the project's documentation, leading to potential setup difficulties and compatibility issues for contributors.
Describe the solution you'd like
Proposed Solution:
I recommend updating the README with detailed instructions on setting up a Python environment that aligns with the project's dependencies. Specifically, the README should state the recommended Python version as ^3.10, <3.13 to ensure compatibility with numpy. The updated instructions should include:

A clear recommendation for the Python version: ^3.10, <3.13.
Detailed steps for creating and activating a virtual environment using tools like venv or pyenv.
Instructions to verify that the correct Python version is being used within the virtual environment.

This update will help contributors set up their development environments more efficiently and reduce the risk of compatibility issues.
Describe alternatives you've considered
Alternatives Considered:

Keeping the setup process as is, but this may continue to lead to inconsistencies and issues among contributors.
Implementing containerization with tools like Docker, although this could add complexity and may not be necessary for all contributors.

Additional context
Additional Context:

Providing explicit environment setup instructions can significantly improve the contributor experience, especially for those who are new to the project.
Clear documentation in the README regarding the Python version requirement will minimize setup-related confusion and streamline the initial development process.

yes


Setup CircleCI

Current dependencies on/for this PR:

main

PR #168   👈

PR #163

This comment was auto-generated by Graphite.


Update Application to Single Page Application (SPA)

As the project evolves, it's crucial to enhance the user experience by transforming the application into a Single Page Application (SPA). Currently, the application relies on traditional page navigation, which can result in longer loading times and a less fluid user interface. By converting it into a SPA, we can improve the overall performance and provide a more seamless browsing experience.
The primary goals of this task are as follows:
Implement a client-side routing mechanism: Integrate a Python-based library or framework (e.g., Flask, Django, or FastAPI) that enables client-side routing. This will allow us to handle navigation within the application without full page reloads.

Refactor the existing codebase: Modify the application's architecture to support the SPA model. This involves breaking down the user interface into modular components that can be dynamically loaded and rendered as needed.

Implement asynchronous data retrieval: Utilize AJAX or similar techniques to retrieve data from the server asynchronously, without requiring full page reloads. This will enable smoother transitions and improve overall performance.

Enhance user experience: Implement visual indicators or loading spinners to provide feedback during data fetching or navigation transitions. This will help users understand that the application is still actively processing their requests.

By transforming our application into a SPA, we can significantly enhance the user experience, reduce loading times, and create a more modern and responsive web application.
Feel free to add any additional ideas, suggestions, or insights to further improve this transition. Let's collaborate and work towards making our application a more efficient and user-friendly SPA!
Please note: This task may require refactoring and modifications to the existing codebase. Let's discuss the implementation strategy and any potential challenges together.
Let me know if you need any further adjustments or information in the issue description!

I'm not sure transitioning to a SPA would be a worthwhile effort for this codebase at this point in time, for a few reasons:

while we don't necessarily have performance issues right now, if we did there are other things like #27 which would be higher priority to implement;
one of the key features of this application is the ability to deep-link to specific releases/files/lines of code, which we would lose with an SPA.
there are many other issues that would be higher priority

As an aside: I don't mean to be rude, but did you perhaps using an LLM like ChatGTP or Bard to write this issue and #121? I ask because it comes off as somewhat vague and missing specific details about this project -- for example, we already use Flask as our web framework, which can be determined with a quick glance at the repo. If you're looking for opportunities to contribute I'm happy to help you do so, but filing issues that don't include any background research into the project might not be the best path towards that.

Hi @di ,
I used chatgpt as I'm new to this, but still everytime navigating between the files is difficult, instead we can having a list of files on page which helps users navigate to other files

No worries. I think https://github.com/pypi/inspector/issues/121 probably makes sense, but given the reasons above I don't think transitioning to a SPA isn't going to be worthwhile, so I'm going to close this.


compatibility to neo4j ogm

Loading a node from a Neo4j database that contains a PhysicalLocation throws a MappingException that is caused by a ClassCastException.
The call:
session.query(Node::class.java,  "MATCH (n) RETURN n", HashMap<String, Any>())
The ClassCastException is caused by the conversion of a Long to a Integer in the LocationConverter and toIntExact expects a long value.
Therefore, I replaced the dangerous conversion with Long.parseLong and tested it.

Looks like we need to merge this manually because it was from an external repo and the restriction is that the "build" job is executed - which is not executed from an external repo, argh.

Looks like we need to merge this manually because it was from an external repo and the restriction is that the "build" job is executed - which is not executed from an external repo, argh.

I will find an "elegant" ;) solution for this problem


MultiZilla Browser

MultiZilla - https://user-agents.net/browsers/multizilla

Coverage remained the same at 100.0% when pulling 7541cd918c067d593d879387fc8c04c6a4291f75 on ayumi-cloud:MultiZilla- into 4899110cd2f87b01e04ced62dbb9dec541031dee on WhichBrowser:master.


Fix delete on Assignment Importers to properly handle school scope.

In response to #1229. Assignment importers were deleting all assignments not imported in the current run as stale. This should only be done for the schools being imported.
For instance, if the school scope doesn't include SHS, the educator_section_assignments and student_section_assignments for SHS shouldn't be deleted.

nice fix! 👍

Yeah, good use of school_scope @jhilde!

@jhilde 👍 👍


archive/tar: write too long

Thank you for using meli and taking your time to report an issue to us.
What operating system and version of operating system are you using?
ubuntu 16
What version of meli are you using? run meli meli --version
0.1.1
What did you do? (be as detailed as you can)
ran meli -up
What did you expect to see/happen/not happen?
service start
What happened instead?
service=yo error=originalErr:: originalErr:: archive/tar: write too long
ThisErr::  :unable to walk dockefile context path Dockerfile
ThisErr:: %!s(<nil>)

Paste the log output generated by meli -up. Please remember to remove any sensitive items from the log before copy-pasting.
meli -up

	 service=app error=originalErr:: originalErr:: archive/tar: write too long
ThisErr::  :unable to walk dockefile context path Dockerfile
ThisErr:: %!s(<nil>)

If you don't mind, copy-paste the docker-compose.yml file that you were using(or an equivalent compose file that reproduces the same issue)?
COPY-PASTE docker-compose.yml file HERE

this is occurring at(ie error is thrown at) [1].
And it occurs when trying to _, err = tw.Write(readFile) where
readFile, err := ioutil.ReadAll(f) and f is a file which is a symbolic link, ie;
stat someFile
File: 'someFile -> '/some-other-path/someFile'
 Size: 31        	Blocks: 0          IO Block: 4096   symbolic link

ref:

https://github.com/komuW/meli/blob/c61ffd08b50a3af1352ac2cc1d20e4399710e60f/api/image.go#L84-L86

for example this compose file:
version: '3'
services:
  symbolic-link-service:
    build:
      context: .

where the context directory has this file;
stat testdata/symbolic-linked-file
File: 'testdata/symbolic-linked-file' -> 'nestedDir/level1/dir.withDot/file.in.here'
  Size: 41        	Blocks: 0          IO Block: 4096   symbolic link

which was created as;
ln -s nestedDir/level1/dir.withDot/file.in.here symbolic-linked-file
will throw this error;
service=symbolic-link-service error=originalErr:: originalErr:: archive/tar: write too long
ThisErr::  :unable to walk dockefile context path testdata/Dockerfile
ThisErr:: %!s(<nil>)

fixed by https://github.com/komuW/meli/pull/70


Version requirements / software component dependencies

Fixes #619
I had a go at #619. .abapgit.xml looks like this. Any software component can be specified that you can find under System -> Status -> Component. Minimum version for release and support package can be specified. Upon receiving a new .abapgit.xml from the remote (e.g. pull or clone) the entries will be checked and displayed in an ALV:

Unmet dependencies are marked red. If there are any a popup is displayed if the user really wants to continue installing the repository.
One thought that came to mind was if custom code can also register itself as a software component. If that were the case this might also be an approach that can be used for package management / dependency management to other abapGit repositories ( #217 ). Not sure if #639 is related.
Appreciate any feedback!

cool, and https://github.com/larshp/abapGit/issues/227 should implement gui functionallity to edit/build the requirements data? Currenlty it has to be done by manually editing the file?

Currently it is manually, yes. I don't think there currently is any way to edit it within SAP GUI, or is there?

Btw, the current implementation causes every .abapgit.xml to be updated with an empty requirements tag. If I remember correctly there was a change at some point to not have empty tags in that file so I am not sure what causes that or if it is troublesome.

it was not changed for the .abapgit.xml file only the object xml files
try changing
  METHOD to_xml.

    CALL TRANSFORMATION id
      SOURCE data = is_data
      RESULT XML rv_xml.

to
  METHOD to_xml.

    CALL TRANSFORMATION id
     OPTIONS initial_components = 'suppress'
      SOURCE data = is_data
      RESULT XML rv_xml.

in ZABAPGIT_DOT_ABAPGIT

Ah ok. Want me to change it? Or keep it as an "update notification" for the feature? :D

you can add it in this PR

@EduardoCopat thanks for reviewing too, I'll get on that tomorrow.

Some topics that might be more suitable for a follow up pull request:

Add requirements to abapGit's own .abapgit.xml (SAP Basis 702) if this works well enough
Add options on repository or user level to not show the dependency popup or not ask if checks should be ignored.
(Extend the requirement system to support more than just software components, e. g. git repos locked at commits / tags)


Form Recognizer Client Library for .NET - Test Reliability

Remaining issues moved to a new epic: https://github.com/Azure/azure-sdk-for-net/issues/30475


Add prepare_hbrt_update to hbrt interfaces

Add placeholder support for prepare_hbrt_update call into
hostboot runtime (opal-prd) code.  This interface is only
called as part of a concurrent code update on a FSP based
system.
Signed-off-by: Dan Crowell<EMAIL_ADDRESS>

Poke - anyone taking a look at this?

Merged to master as of 55ef0db841a0792f5432753f0efdb9ecb07d6231 - will make it into 6.1, and eventually into distros (not that it really matters as we're not using it)


让小车更快完成任务

In this lab, your solution to Laboratory 6 will be optimized and evaluated by comparing its time of execution with those by other robots in the class.

参考教程：

(七)turtlebot3导航包解析


No reason to get parent NS if we're not gonna use it.

And add a comment for the public method
/assign @vaikas @n3wscott

/lgtm
/approve


Unable to Authenticate with ldap server for sftp access

Hi Team,
I deployed sftp-ldap service in ubuntu pod level. below is the attachment, even password is correct for ldap user, its saying invalid credentials. Please suggest ,how to fix this issue

Hi Team,
I deployed sftp-ldap service in ubuntu pod level. below is the attachment, even password is correct for ldap user, its saying invalid credentials. Please suggest ,how to fix this issue

Hello @Bhagi33 Is this issue still occurring ?
If yes, please check that ssl settings are correct between sftp-ldap container and your active directory server, then ensure that LDAP_BIND_USER contains the full DN, not just the relative part of the DN.
Please check on the directory server if you have details about issue like log, error code ... a bad credentials pair usually produce an "49" error code.

Hello @Turgon37,
I do still have this issue, i filled in everything right but it says:
filezilla:
Authenticatie failed!
logs:
2022-11-11 11:54:04,880 INFO reaped unknown pid 34
Invalid user jhogetoorn from <IP_ADDRESS> port 1214
input_userauth_request: invalid user jhogetoorn [preauth]
Failed password for invalid user jhogetoorn from <IP_ADDRESS> port 1214 ssh2

The user IS active and can be used on other services that uses the same ldap server+settings


[WIP] Cabinet declaration controller refactoring

#2431

Coverage increased (+0.02%) to 91.522% when pulling 6b4b343135bb171127bfe375185d237fdbbb2c5f on cabinet_declaration_controller_refactoring_#2431 into 602b675e6af6d77f3cff0b00e4c3967b583b4bcd on master.


syslog issue

adding a syslog issue to the known list

@pipposera : Thanks for your contribution! The author, @sethmanheim, has been notified to review your proposed change.

#sign-off


Manipulations::height() throws invalidWidth exception

https://github.com/spatie/image/blob/master/src/Manipulations.php#L205

We'll handle this further in #49


feat: Add the GraphQL server

Please put the service code under a folder service/ so that it's easier to organize the project.


Doesn't work with vue-class-component

I use Nuxt and I try to use class-component, I installed the plugin:
{
  "plugins": [
    "transform-decorators-legacy",
    "transform-class-properties"
  ]
}

also I tried add in inside nuxt.config
build: {
      vendor: ['vue-class-component'],
      babel: {
        plugins: [
          'transform-decorators-legacy',
          'transform-class-properties'
        ]
      }
    }

but nothing works, What I do incorrect?

When I added presets: ['stage-0', 'es2015']:
babel: {
      presets: ['stage-0', 'es2015'],
      plugins: [
        'transform-decorators-legacy',
        'transform-class-properties'
      ]
    }

it works but hot reload - stopped working. What should I change for hot-reload and class-component - work together?

Discussion moved to vue-class-component#78


Static documentation automatic deployment

I'll merge if Travis is happy, as I need to check whether the build is properly deployed (this is triggered upon updates on master, not by PRs)

Hop https://scikit-optimize.github.io/, fresh and shinny!

📖 📚


Naulinux Abkhazian

Ахҳәаа
Extract the translated applications into Abkhazian:
Адҵақәа:

[x] FireFox 3.0.12 - I have contacted Mozilla in order to integrate the translations to Pontoon, but I was told that the version is too old, "unfortunately it will need to start from scratch."
[x] OpenOffice.org 2.3.0 - discontinued version, what I have is in binary format, might not be able to extract translated strings.
[x] Gnome, I managed to get all the mo files.
Азхьарԥшқәа:
www.naulinux.ru

We should have a meeting with the programmers from Tatarstan to get the source files. Or get the file from Dinyar and Sergay


Added docker helper script for publishing to container registries

Signed-off-by: Steven Bayer<EMAIL_ADDRESS>Description
[Describe what this change achieves]
Issues Resolved
[List any issues this PR will resolve]
Check List

[x] New functionality includes testing.

[x] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

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

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #634 (2f286e5) into main (8dd106b) will increase coverage by 0.12%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main     #634      +/-   ##
============================================
+ Coverage     91.49%   91.61%   +0.12%
- Complexity      570      602      +32
============================================
  Files            72       75       +3
  Lines          1751     1813      +62
  Branches        145      152       +7
============================================
+ Hits           1602     1661      +59
- Misses          114      116       +2
- Partials         35       36       +1

Impacted Files
Coverage Δ

...zon/dataprepper/model/prepper/AbstractPrepper.java
100.00% <0.00%> (ø)

...dataprepper/model/configuration/PipelineModel.java
100.00% <0.00%> (ø)

...ataprepper/parser/model/PipelineConfiguration.java
100.00% <0.00%> (ø)

.../amazon/dataprepper/plugins/source/FileSource.java

...on/dataprepper/plugins/source/file/FileFormat.java
100.00% <0.00%> (ø)

...on/dataprepper/plugins/source/file/FileSource.java
88.09% <0.00%> (ø)

...dataprepper/model/processor/AbstractProcessor.java
100.00% <0.00%> (ø)

...aprepper/plugins/source/file/FileSourceConfig.java
100.00% <0.00%> (ø)

...com/amazon/dataprepper/pipeline/ProcessWorker.java
91.42% <0.00%> (+5.71%)
:arrow_up:

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 8dd106b...2f286e5. Read the comment docs.


Feature/tuya panel sensing sdk

Owner

[x] Nickname(Tuya): tuya-panel-sensing-sdk
[ ] Intra-group review（组内审阅人员）：豆芽

Description
Sensing SDK.
Package

[x] tuya-panel-sensing-sdk

Type of change

[x] New feature (non-breaking change which adds functionality)

Self CheckList
Please check all options.

[x] Intra-group review
[x] ESLint lint
[x] Example Run
[x] Jest Run
[x] No Grammer Error
[x] No Spell Error
[x] No Merge Conflict

lint error


Reworked coroutines implmentation

This is a reworked implementation of the first, much more complex implementation (see PR #674) and takes into account all the comments to the previous version.
It's been made as a separate PR to reduce the number of commits affecting the changes.

Huuuu.. did I do the bad thing?

thats a awful lot of merge commits?

In theory I just got back on par with the current status of the master branch.. don't know if it's still ok or I should just redo the PR. @ilexp?

Those commits from 2015 shouldnt be there. I cannot find the hashes of those commits either. What did you do O_o.

It seems that the release branch that you merged into your branch contains alot of merge commits (all the way to 2015) that are not present in the master branch:

I think what went wrong here is in fact merging the release branch into your branch. I think you should redo it and instead of merging the release branch to your branch you should merge the master branch into your branch.

Ah damn.. got the wrong one.. oh well, a new PR it is 😓


Remove duplicate container declaration

Duplicate container declaration causes an error in the preview for Provider. Just removed the duplicate declaration.

What kind of change does this PR introduce?

Does this PR introduce a breaking change?

Codecov Report

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

@@           Coverage Diff           @@
##           master     #285   +/-   ##
=======================================
  Coverage   67.18%   67.18%
=======================================
  Files          85       85
  Lines         649      649
  Branches      149      149
=======================================
  Hits          436      436
  Misses        213      213

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 85061e6...339ab00. Read the comment docs.

Thanks a lot for contributing!
Based on our community guidelines, every person who has a PR of any kind merged is offered an invitation to the Reakit organization.
Should you accept, you'll get write access to the main repository and a fancy Reakit logo on your GitHub profile. You'll be able to label and close issues, create new branches etc. Make sure to read our contribution and community guidelines, which explains all of this in more detail.
If you have any questions, let me know!


Add emoji-caption

Adds Emoji Caption to the projects list
I realise this is a pretty simple app so if it's not complex enough to be showcased, that's fair enough, I'm not precious!

Looks good to me @alex-saunders! Thanks for being our first public submission :) it should be online in 10 or so after merge.


Snapdragon flight always use internal compass despite I set SENS_EXT_MAG to "External is primary Mag"

I've already used 3DR GPS/MAG module as the external GPS/Mag. Today I find out if I rotate the GPS module, heading will not change on QGC, but if snapdragon flight is rotated, heading changes. SENS_EXT_MAG is set to "External is primary Mag" but seems didn't work. Besides, without GPS lock, heading will slowly turn at random directions. In a real flight this afternoon, I tested POSCTL and Stabilized flight mode, both will takeoff but in the same time spin around fast, just like I continuously give quadrotor a yaw control. In the bench test, I find out one the output PWM duty of the forth motor is lower then other motors though I just add little throttle, without roll, pitch or yaw control.

The Snapdragon's internal mag doesn't even have a released driver yet.
Your testing is flawed, or the attitude estimator is not fusing magnetometer measurements.

If you really want to check, see the raw mag values in the QGC Analyse widget (HIGHRES_IMU message)

@SamChenzx which commit did you test fly?
Note that the rotation option does not work on Snapdragon yet. I need to add it.

@julianoes I suspect that it was the tone vs.  hmc5883l driver clash, which meant that the mag wasn't working? Fixed on master, right?

Correct, even though I wouldn't think something would take off without mag because the ekf2 doesn't initialize.

So that's what was causing my fails before I switched to the Q estimator!

@mhkabir @julianoes  Today I use the latest pull and done more tests.
Firstly, I removed the 3DR GPS/MAG module and cleared sensors calibration parameters, then tried to calibrate sensors, this time can't find GPS information and can't step into compass calibration, thus, make sure external compass on 3DR GPS module is used. But without GPS lock, sometimes heading will turn slowly. As I check the HIGHRES_IMU.x(y,x)mag, both direction, I do  360 degree rotation both directions of 3DR GPS module, the result shows as the follow:

Clearly, the scales has some bugs or my 3DR GPS module encounter a hardware issue.
Secondly,  as we attempt to takeoff outdoor with GPS locked, one or two motors always has lower PWM duty, but which motors, according to our tests, are decided by the angle between snapdragon flight and the direction of 3DR GPS module. The follow is a test result, only throttle is added, obviously, it can't really takeoff , or quadrotor will rotate fast and fall down.

With GPS locked, if I change GPS's direction, heading will slowly change according GPS to the correct direction and shows on QGC.
Thirdly, where I think the core problem is, as snapdragon flight is assembled on quadrotor with optical flow camera face down, the 3DR GPS module is assembled on with it's white heading mark the same direction with snapdragon flight's camera(X+ direction of MPU9250's accelerometer), their coordinate systems are inconsistent. Shown in the follow two pictures,

But when calibration sensors, I leave all the Autopilot orientations "ROTATION_NONE", as in my  comprehension, they point to the same direction, if I'm wrong here, please inform me.
Besides, my snapdragon flight is a P2 board, the orientation of MPU9250 is different from P1 board in X and Y directions as shown in the follow:

So maybe some rotations of sensors should be set, but currently I have no idea how to set them correctly, please help!

Ah.  The mag and gyro are likely "fighting".
The compass is working now though (since you updated to master), as evident from the plots.

Clearly, the scales has some bugs or my 3DR GPS module encounter a hardware issue.

How do you arrive at this conclusion?
@julianoes We really need to implement the rotation functions for the board and compass. This is the first P2 generation board I've seen, and it looks like the sensor orientation might be different.

Besides, my snapdragon flight is a P2 board, the orientation of MPU9250 is different from P1 board in X and Y directions as shown in the follow:

Aha this is important feedback, thanks.
I suggest the following plan:

In the short term: implement the rotations for MPU9250 and HMC5883, so that you can set the orientation (and adapt it to P1 vs. P2.)
In the longer term: come up with some check that discovers if the board is P1 or P2 automagically and set the orientation accordingly.

I arrived at it since the compass is rotated 360 degrees every direction,
the output data will varies from 1to -1 theoretically, or after calibration
it should varies from 1 to -1.
On Friday, May 27, 2016, Kabir Mohammed<EMAIL_ADDRESS>wrote:

Ah.  The mag and gyro are likely "fighting".
The compass is working now though (since you updated to master), as
evident from the plots.
Clearly, the scales has some bugs or my 3DR GPS module encounter a
hardware issue.
How do you arrive at this conclusion?
@julianoes https://github.com/julianoes We really need to implement the
rotation functions for the board and compass. This is the first P2
generation board I've seen, and it looks like the sensor orientation might
be different.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PX4/Firmware/issues/4652#issuecomment-222292935, or mute
the thread
https://github.com/notifications/unsubscribe/AKQpkLUYV8sctCc21NU254WkPTyrr9lMks5qF9-KgaJpZM4IoM5U
.

@julianoes Julian, so the easiest way for me to fix this issue is to set the rotation same as P1 board and still keep the direction of 3DR GPS module's white front mark along with the direction of snapdragon flight's camera?

@SamChenzx yep.

@mhkabir Thanks, I'll try rotation parameters on QGC.

@julianoes Julian, I've done four tests:

Setting the accelerometer and gyro rotation parameter to ROTATION_YAW_270, but leave magnetometer ROTATION_NONE, let 3DR GPS's front mark along the direction of the snapdragon flight's camera.
Setting the accelerometer and gyro rotation parameter to ROTATION_YAW_270, but leave magnetometer ROTATION_NONE, let 3DR GPS's front mark along the Y- direction of the snapdragon flight's MPU9250(compare to P1 board).
Setting the accelerometer, gyro and magnetometer rotation parameter to ROTATION_YAW_270, let 3DR GPS's front mark along the direction of the snapdragon flight's camera.
Setting the accelerometer, gyro and magnetometer rotation parameter to ROTATION_YAW_270, let 3DR GPS's front mark along the Y- direction of the snapdragon flight's MPU9250(compare to P1 board).

Both result seems didn't work, as the output of PWM duty still has one or two channels less then others.
In each experiment, I clear the sensors parameter, and re-calibrate the sensors. Is that due to rotation function hasn't added yet or I set the wrong rotation parameter?

@SamChenzx Not implemented in the drivers yet, sorry! I can do it today, if you're willing to test it.

@mhkabir I will test today, and want to sent snapdragon flight into the air before June. Thanks!

@SamChenzx Could you please post a picture of your vehicle here?

@mhkabir
I think maybe they are two different issues. Here is my vehicle now the GPS module and camera are towards the same direction.

@SamChenzx OK, this looks correct. I'm testing with my own vehicle, give me a minute.
Can you confirm that the artificial horizon functions correctly in QGC with the MPU9250 running with -R 6?

@mhkabir Yes, I set "-R 6" every time I flash the board. Even I have tried to set "-R 6" for the HMC5883.

Just to be clear, you shouldn't need to do anything other than the -R 2 or -R 6 on the MPU9250 driver.
Please confirm whether the horizon behaves correctly in QGC with either of those rotation parameters.

@mhkabir Today I also set ROTATION_YAW90 in QGC when do the calibration, if just set "-R 6", heading will not toward the camera. Is that the problem? But I've noticed rotation in sensors can also work as Julian said.

@SamChenzx Could you please just follow what I'm saying? No additional settings other than -R 6.

@mhkabir If only -R 6 is set, I have takeoff once but the direction not correct. https://youtu.be/tkQ1cZjRAfA

@SamChenzx OK, good. So it flies correctly atleast, as I had expected. Now can you remove the HMC5883 and fly again after recalibrating? Just using internal mag of MPU9250.

@mhkabir This video is shot two days ago, at that time the driver of internal mag hasn't released yet. I really want to know how you define the heading direction of a vehicle?

Heading direction = Direction nose points towards

@mhkabir Yesterday is too late in the night for me to do more test. I tested just now with a new git clone of the Firmware, changed nothing, just make and upload to the snapdragon.
Tried to set df_mpu9250_wrapper start -R 6 or df_mpu9250_wrapper start -R 2, then carefully re-calibrate sensors before each test. Without set sensors ROTATION parameters in QGC, during calibration, the heading direction didn't point to the camera direction. Both time I rotate vehicle counterclockwise 90 degrees, the yaw drifts but the sensor data is correct. shown in the following plot:
I think the drift is the true issue now.
The weird thing is if I set the df_mpu9250_wrapper start -R 2 then arm motor and push up throttle, the quadrotor is still but the yaw is changed shown as the plot 2 last minute. This situation, I think one motor didn't spin due to it want to yaw itself shown in this video: https://www.youtube.com/watch?v=m-bTLDBeHw8&feature=youtu.be
R6: counterclockwise 90 degrees

R2: counterclockwise 90 degrees last one minute push up throttle then push down

px4.config_R2.txt
px4.config_R6.txt

Forget to attach the mag calibration result:

@julianoes @mhkabir Help, can't stop drifting after takeoff! At my last post, the yaw drift seems a bug of 3DR GPS module, fixed that bug, I attempt to use Altitude control and Position control flight mode, both can takeoff stably, but then drift quickly, position control mode flight shows in this video https://youtu.be/XFzFmjOCK5g . Does It seems like GPS didn't lock position correctly, or is there something else didn't work? Please help.

At my last post, the yaw drift seems a bug of 3DR GPS module, fixed that bug

What did you fix?

I just checked the cable, make sure it connect well, sometimes it still
drifts, maybe bugs in snapdragon. But my concern is that why it drifts so
quickly after takeoff?
On Thursday, June 9, 2016, Julian Oes<EMAIL_ADDRESS>wrote:

At my last post, the yaw drift seems a bug of 3DR GPS module, fixed that
bug
What did you fix?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PX4/Firmware/issues/4652#issuecomment-225103258, or mute
the thread
https://github.com/notifications/unsubscribe/AKQpkAZ15ZyUhb7DIImYlPUlU8baGq2wks5qKQM7gaJpZM4IoM5U
.

@SamChenzx Can you share a log or screenshot that shows exactly what drifts and how? Thanks

Yeah I've seen the drift issue as well. It's observable as a skewed artifical horizon in QGC. There is a random offset at boot which converges sometimes, and doesn't other times. I'm running the Q estimator.
On airframes with high vibrations, you can see a similar effect after landing. The attitude estimate just badly diverges.

@mhkabir that is with an external mag?

Yes, I use the external mag, maybe I have the log file on snapdragon
flight, screen shot means the trajectory on QGC?
On Friday, June 10, 2016, Julian Oes<EMAIL_ADDRESS>wrote:

@mhkabir https://github.com/mhkabir that is with an external mag?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PX4/Firmware/issues/4652#issuecomment-225137793, or mute
the thread
https://github.com/notifications/unsubscribe/AKQpkCj5EbdfXOQeBvOiils83Yh3jgLHks5qKS9zgaJpZM4IoM5U
.

@SamChenzx either one might help, yes.

@julianoes Sorry for late. Here are the two logs, Altitude control mode and Position control mode respectively.
px4log.zip

@julianoes I suddenly realized that, the log files I posted yesterday maybe not the exact log file I tested in the field. As I pull them from the "sess0*" directory, which means no GPS locked, but the useful log file I think should under the "2016-06-09" directory.

As I pull them from the "sess0*" directory, which means no GPS locked

This is differently on Snapdragon. sess0* means no date/time set which only happens through wifi and NTP but not through GPS because clock_settime() is not supported on QURT.

@SamChenzx These are helpful logs. And on a first look it seems that the estimator goes wild, even just sitting on ground. You can see it by comparing GPS and GPOS velocities:

I checked the version that you flew and there have been fixes to ecl/ekf2 since, e.g.:
https://github.com/PX4/ecl/commit/f08aee0a7dab450252935c562c2d16125744336d
https://github.com/PX4/ecl/commit/21168f992996503b995094f2cf143dfe2d44469e
I would therefore suggest to flash latest master and test it by just having it sit on the ground and observing QGC or the logs and checking if the position estimate behaves.

Thanks, I would use latest master and test today, will upload logs here.
On Monday, June 13, 2016, Julian Oes<EMAIL_ADDRESS>wrote:

@SamChenzx https://github.com/SamChenzx These are helpful logs. And on
a first look it seems that the estimator goes wild, even just sitting on
ground. You can see it by comparing GPS and GPOS velocities:
[image: vel_gps_and_estimated]
https://cloud.githubusercontent.com/assets/1419688/16008026/a32b6004-316d-11e6-90e9-00300bc2d0a9.png
I checked the version that you flew and there have been fixes to ecl/ekf2
since, e.g.:
PX4/ecl@f08aee0
https://github.com/PX4/ecl/commit/f08aee0a7dab450252935c562c2d16125744336d
PX4/ecl@21168f9
https://github.com/PX4/ecl/commit/21168f992996503b995094f2cf143dfe2d44469e
I would therefore suggest to flash latest master and test it by just
having it sit on the ground and observing QGC or the logs and checking if
the position estimate behaves.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PX4/Firmware/issues/4652#issuecomment-225571537, or mute
the thread
https://github.com/notifications/unsubscribe/AKQpkOvgTfMR6G0v4FQLFinHEeZv1zmGks5qLVIdgaJpZM4IoM5U
.

@julianoes Just now I've done a test on the bench with latest master.
Without GPS signal, I can't have GPS related plot. But one issue always
confused me is the ATTITUDE_TARGET.body_yaw_rate. I use the virtual
joysticks on QGC for controller, when arm it, and push throttle up or down,
ATTITUDE_TARGET.body_yaw_rate will changed intensely while ATTITUDE.yaw
keep still. I think that's a reason for the PWM output goes weird, here are
the plot and log file.

log001.px4log.zip
https://drive.google.com/file/d/0B8KmoPJKKvZeVVBla1cwV3phUmc/view?usp=drive_web

On Mon, Jun 13, 2016 at 5:50 AM, Julian Oes<EMAIL_ADDRESS>wrote:

@SamChenzx https://github.com/SamChenzx These are helpful logs. And on
a first look it seems that the estimator goes wild, even just sitting on
ground. You can see it by comparing GPS and GPOS velocities:
[image: vel_gps_and_estimated]
https://cloud.githubusercontent.com/assets/1419688/16008026/a32b6004-316d-11e6-90e9-00300bc2d0a9.png
I checked the version that you flew and there have been fixes to ecl/ekf2
since, e.g.:
PX4/ecl@f08aee0
https://github.com/PX4/ecl/commit/f08aee0a7dab450252935c562c2d16125744336d
PX4/ecl@21168f9
https://github.com/PX4/ecl/commit/21168f992996503b995094f2cf143dfe2d44469e
I would therefore suggest to flash latest master and test it by just
having it sit on the ground and observing QGC or the logs and checking if
the position estimate behaves.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PX4/Firmware/issues/4652#issuecomment-225571537, or mute
the thread
https://github.com/notifications/unsubscribe/AKQpkOvgTfMR6G0v4FQLFinHEeZv1zmGks5qLVIdgaJpZM4IoM5U
.

@julianoes As my knowledge, if there is no yaw changed, the ATTITUDE_TARGET.body_yaw_rate should gradually back to zero, but it didn't.

@SamChenzx: can you track your PWM troubles to another issue? This thread is already hijacked enough :)

@julianoes I think it comes from the same issue, as it can takeoff in position control mode, PWM output should be correct, but strange in manual flight mode.  The ATTITUDE_TARGET.body_yaw_rate confused me.

The initial issue is resolved since there are presumably only P2 boards around even though the silkscreen says P1.
See: http://dev.px4.io/advanced-snapdragon.html#do-i-have-a-p1-or-p2-board

Yes, and now my snapdragon works well, thanks for your help!
On Wed, Jul 27, 2016 at 3:50 PM, Julian Oes<EMAIL_ADDRESS>wrote:

Closed #4652 https://github.com/PX4/Firmware/issues/4652.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PX4/Firmware/issues/4652#event-736049630, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AKQpkIdVvRFkckchJJYx6X1yVAnQdF3cks5qZw3RgaJpZM4IoM5U
.


Switch between branches / tickets that are in-progress

I often switch feature branches (e.g. when I suspend work on a bigger feature to fix an urgent bug).
git-start could offer to switch to other ongoing branches by matching tickets that are "in progress" with local branch names and show the tickets (and description as a refresher) when there's a matching local branch

Me too :)


Intermittent issues with streaming

Issue: Noticed that sometimes the Bluetooth would not connect, sometimes that Spotify would not work as it wouldn't show up.
Root cause: Running the balena diagnostics quickly identified the source of the problem. Running out of space on the drive (/mnt/data).
When trying to figure out what is using up the data and found the following two folders:
/mnt/data/docker/aufs/diff (~800MB)
/mnt/data/docker/volumes/xxxxx_spotifycache (~300MB)
So, to fix this need to figure out why these folders are getting so large and how to keep them manageable.

@javexed i implemented the spotify cache. I thougt of this problem. When you are playing music on spotify it saves some song data and other things for faster music playing. This file can get really large in the future. I think we should implement a manually clearing of the cache.

@javexed here is a link to what are docker diffs: https://stackoverflow.com/questions/50662178/what-does-docker-aufs-diff-directory-contain-why-is-it-so-big

@AlexProgrammerDE thank you for the info. Let me see what I can figure out about doing a docker prune periodically. Any thoughts on how to manually clear the cache?

Yes, maybe with a var like CACHE_CLEAR

Ok, after digging around a bit, I think that the /mnt/data/docker/aufs/diff directly "should" be ok and is likely just normal. Pruning doesn't do anything as it all looks to be in use. The recommendations in the link recommend doing restarts and upgrades, which don't help in this case. That leaves the spotify cache directly and I see two options:

Periodically clean the cache, only way I figured out how to do this is to "purge data" from the device, though that is manual.
Get an SD card that is bigger than 2GB (as I just had this lying around)

Thus, I think I will try and find a bigger SD card and go from there.
Just thinking out loud, perhaps the documentation should be updated to recommend a minimum size for the SD card.  (https://www.balena.io/blog/turn-your-old-speakers-or-hi-fi-into-bluetooth-receivers-using-only-a-raspberry-pi/)

Hey @chrisys . It would be nice if you paste the SD Card info from the README in your blog post here:  https://www.balena.io/blog/turn-your-old-speakers-or-hi-fi-into-bluetooth-receivers-using-only-a-raspberry-pi/ Thanks in advance.

@javexed chris forgot to write the info to the blog post. In the README is a Sandisk 8GB Extreme recommended.

Perfect. Closing the issue (still recommend updating the blog post to prevent others from doing the same as me.)


Chore split out init_hash_method from node/operator

Proposed changes
split out init_hash_method from node/operator
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

run buildall

run buildall


Agree on how to version control and update instrument data

📋 Info
We need a routine for how to update and version control instrument data for use in the L1B Lambda
Version (a tag in the toml file?) should be propagated to the resulting parquet file.
🏁 DoD

[ ] Agree on routine
[ ] Implement versioning
[ ] Propagate version to parquet

subrepo?


Control return to confirm action

We should introduce something like that for modals
apply this action for all confirmation modals
command+return/control+return

👋

hello i am bot, remove assignment in 12 hours please :D


[YUNIKORN-654] Include node sorting policy in cluster page

What is this PR for?
Showing "node sort policy" in UI dashboard.
What type of PR is it?

[ ] - Bug Fix
[x] - Improvement
[ ] - Feature
[ ] - Documentation
[ ] - Hot Fix
[ ] - Refactoring

Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/browse/YUNIKORN-654
How should this be tested?
https://app.travis-ci.com/github/apache/incubator-yunikorn-web/builds/234336686
Screenshots (if appropriate)

Questions:

[ ] - The licenses files need update.
[ ] - There is breaking changes for older versions.
[ ] - It needs documentation.

thank you @kobe860219  for working on this, thank you @akhilpb001  for the review.
the pre-commit check fails, could u pls take a look?

Hi @akhilpb001 ! There is aa error in pre-commit check. I found the problem below when make test :

I have no idea what cause it. If you available, could you give me some hints ?

seems like the travis job is still failing: https://app.travis-ci.com/github/apache/incubator-yunikorn-web/jobs/529229491.
it says: The command "yarn test:coverage" exited with 1. @kobe860219  could u pls check this? you can run the same command locally as well.

@yangwwei  It's the same error when I run the same command locally. The problem outputs the info TypeError: this.scheduler.fetchPartitionList is not a function . Currently, I have no idea why it occur.

Hi @kobe860219, this is unit test failure. Add following lines to MockSchedulerService in mocks.ts file to fix this.
fetchPartionList: () => of([]),

CC: @yangwwei

@yangwwei  The pre-commit check passed now. Thanks @akhilpb001 help.  I disabled my IDE's prettier and use yarn prettify to format insteed.

thank you @kobe860219 for getting this done
and thank you @akhilpb001 for the review and suggestions!


OSSL_STORE_INFO_PUBKEY is undocumented

3.0 has added a new store info type: OSSL_STORE_INFO_PUBKEY, but it is missing from the documentation

#14415


Enhancement: Display warning if non-existing command is called

If a user type a command which doesn't exist then the output is very general without any message what was wrong.
Example:
m365 entra group add --displayName CliGroup --description 'test group' --type microsoft365 --mailNickname CliGroup

Output:
CLI for Microsoft 365 v7.4.0
Manage Microsoft 365 and SharePoint Framework projects on any platform

Commands:

  docs [options]     Returns the CLI for Microsoft 365 docs webpage URL
  login [options]    Log in to Microsoft 365
  logout [options]   Log out from Microsoft 365
  request [options]  Executes the specified web request using CLI for Microsoft 365
  setup [options]    Sets up CLI for Microsoft 365 based on your preferences
  status [options]   Shows Microsoft 365 login status
  version [options]  Shows CLI for Microsoft 365 version

Commands groups:

  aad *           81 commands
  adaptivecard *  1 command
  app *           4 commands
  booking *       2 commands
  cli *           13 commands
  context *       5 commands
  entra *         82 commands
  external *      7 commands
  file *          3 commands
  flow *          17 commands
  graph *         7 commands
  onedrive *      8 commands
  onenote *       2 commands
  outlook *       17 commands
  pa *            13 commands
  planner *       31 commands
  pp *            31 commands
  purview *       19 commands
  search *        5 commands
  skype *         3 commands
  spfx *          8 commands
  spo *           342 commands
  teams *         68 commands
  tenant *        20 commands
  todo *          10 commands
  util *          1 command
  viva *          1 command
  yammer *        21 commands

That's a good point. Showing the list of available commands is one, but we should definitely show some kind of message. Thanks for bringing it up

Can I work on this one?


Error when running code on method 9

Context: https://tour.golang.org/methods/9
Error:
tmp/sandbox743643020/main.go:22:4: cannot use v (type Vertex) as type Abser in assignment:
Vertex does not implement Abser (Abs method has pointer receiver)

Please read the notes, you must fix the code

Note: There is an error in the example code on line 22. Vertex (the value type) doesn't implement Abser because the Abs method is defined only on *Vertex (the pointer type).


Validation Process

Hello,thank you for your awesome work!When I was training RainMamba, I found that there was no validation process and there were no validation set related settings in the config file. I would like to see the changes in PSNR and SSIM during the training process. How should I modify the code？

Thank you for following our work. I didn't print the validation process during training.
But you can try to add the following code in the config file to implement the validation function. The below code is referenced from mmediting:

Add the following code between train and test in the data dictionary.

val=dict(
        type='SRFolderMultipleGTDataset',
        lq_folder="../data/VRDS/test/lq",
        gt_folder="../data/VRDS/test/gt",
        pipeline=[
            dict(
                type='GenerateSegmentIndices',
                start_idx=0,
                interval_list=[1],
                filename_tmpl='{:08d}.png'),
            dict(
                type='LoadImageFromFileList',
                io_backend='disk',
                key='lq',
                channel_order='rgb'),
            dict(
                type='LoadImageFromFileList',
                io_backend='disk',
                key='gt',
                channel_order='rgb'),
            dict(type='RescaleToZeroOne', keys=['lq', 'gt']),
            dict(type='FramesToTensor', keys=['lq', 'gt']),
            dict(
                type='Collect',
                keys=['lq', 'gt'],
                meta_keys=['lq_path', 'gt_path', 'key'])
        ],
        scale=1,
        test_mode=True),

And you also need to add

evaluation = dict(interval=5000, save_image=False, gpu_collect=True)

after
checkpoint_config = dict(interval=5000, save_optimizer=True, by_epoch=False)

Thank you. I selected 10 videos from VRDS test as the validation set and added them according to your instructions. After training 5000 times and entering the validation process, I found that the progress bar was stuck here and my memory usage was too high. Do you know what's going on？I used two 24GB 3090.

Sorry, I've been a bit busy lately. I will debug this issue in a few days and you can test the checkpoints first to realize the validation process. You can also contact me at<EMAIL_ADDRESS>to add my contact details.

When I tested VRDS, I found that the memory usage of the process started to be normal. As the number of processed video clips increased, the memory usage also continued to increase.

When I tested 30 video collection results, I found that the memory had exploded.The process was killed.I can't see my metric results.

After debugging, I found that the memory usage was continuously increasing while running the test_clip function. Is this normal?

Perhaps due to accidentally deleting some inference related components while organizing the code, I will fix them later. This issue will not affect the output results.
You can use this code  to test the metric.

Perhaps due to accidentally deleting some inference related components while organizing the code, I will fix them later. This issue will not affect the output results. You can use this code  to test the metric.

OK,thank you so much!


"ndt_matching process has died" during the quick start.

I have two laptop to run autoware quick start. They have the same settings. One works normally, but the other always comes to a crash, with the terminal saying

ndt_matching: /build/pcl-1.7-pY82A6/pcl-1.7-1.7.1/kdtree/include/pcl/kdtree/impl/kdtree_flann.hpp:172: int pcl::KdTreeFLANN<PointT, Dist>::radiusSearch(const PointT&, double, std::vector&, std::vector&, unsigned int) const [with PointT = pcl::PointXYZ; Dist = flann::L2_Simple]: Assertion `point_representation_->isValid (point) && "Invalid (NaN, Inf) point coordinates given to radiusSearch!"' failed.
[ndt_matching-6] process has died [pid 19718, exit code -6, cmd /home/hirainbjvr/Autoware/ros/devel/lib/ndt_localizer/ndt_matching __name:=ndt_matching __log:=/home/hirainbjvr/.ros/log/b129ad58-d322-11e6-ab03-484520fe8341/ndt_matching-6.log].
log file: /home/hirainbjvr/.ros/log/b129ad58-d322-11e6-ab03-484520fe8341/ndt_matching-6*.log

The terminal, rqt and rviz screenshots are like that.
This problem has stop me from going on the further Autoware functions for more three monthes. Please somebody help me.
Please!

@kitsukawa

I have never seen the error. It looks like PCL 1.7.1 is installed. Can you upgrade PCL to 1.7.2?
How to upgrade PCL is written in the following page.
https://github.com/CPFL/Autoware/wiki/FAQ(EN)

Thank you for your help. I'll try. Thanks a lot.

I encountered the same problem.
It became successfully run with re-launch.
I think that quick_start's launch file is not enough initialization for ndt_matching.

@YamatoAndo Please check it.

@muralijp @yk-fujii I can not encounter that problem.
When you  execute "$rostopic echo /filtered_points", is there NaN or Inf in the data?

@YamatoAndo
it says /filtered_points was not published yet. The error description also has
Error: CUDA driver version is insufficient for CUDA runtime version /home/autoware/Autoware/ros/src/computing/perception/localization/lib/fast_pcl/ndt_gpu/src/MatrixDevice.cu 11
should I upgrade CUDA? Pls let me know the process

@muralijp
/points_raw is also not published?
Autoware does not support CUDA 9 yet, so please install CUDA 8.

@muralijp NDT supports CUDA 9 in #1027 . Please try.

Hi Yuki and team,
I need some information on how Lidar data is being preprocessed to generate
points_raw topic. Pls let me know
best regards
JP
On Tue, Feb 20, 2018 at 2:40 AM, Yuki Kitsukawa<EMAIL_ADDRESS>wrote:

@muralijp https://github.com/muralijp NDT supports CUDA 9 in #1027
https://github.com/CPFL/Autoware/pull/1027 . Please try.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/CPFL/Autoware/issues/554#issuecomment-366891196, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AhDipOUhPWjAnq8wwsMJoKxMv1HV9pjQks5tWncCgaJpZM4LcUk0
.

@muralijp How lidar data preprocessed to generate points_raw topic depends on lidar. For example, Velodyne lidars outputs the data in polar coordinates(/velodyne_packets) and then cloud_nodelet converts /velodyne_packets into /points_raw (cartesian cordinates).

I solved it.
in my case, first of all, I started bag file and pushed a pause button.
then I clicked map & localization button and resumed bag file.
then It worked :-)

Please try the branch referenced above.


prototype notification service with CIMI

@cjdcordeiro Can you summarize the desired features and requirements in this ticket?  This will be easier for me than trying to remember the previous discussions.

@loomis as a summary of what was described here, what's needed is mostly the ability to get notified when:

a new CIMI resource X is added/deleted (and perhaps modified)

The expected notification should identify which kind of event happened (resourceLeft, newResource, etc.) and contain the body of the corresponding resource


Typo in documentation link.

On:
https://github.com/firebase/quickstart-ios/tree/master/config
The link that says:
Read more about Firebase Remote Config
has a typo. it's missing an "e" in firebase:
https://firbase.google.com/docs/remote-config/

Doh, thanks for the spot!


invalid locking in shell

Describe the bug
When we put our board to sleep we stop shell. When board is woken up we start shell again.
I have a code that log messages in the loop from one thread. This happens even if we go to sleep.
I just noticed that when board is woken up it deadlocks. After connecting a debugger following backtrace is visible.
Remote debugging using :2331
0x00037ca4 in k_spin_unlock (key=..., l=0x2000452c <lock>) at /home/pdunaj/work/ncs/zephyr/include/spinlock.h:92
92              __ASSERT(z_spin_unlock_valid(l), "Not my spinlock!");
(gdb) bt
#0  0x00037ca4 in k_spin_unlock (key=..., l=0x2000452c <lock>) at /home/pdunaj/work/ncs/zephyr/include/spinlock.h:92
#1  _impl_k_poll (events=<optimized out>, num_events=num_events@entry=1, timeout=timeout@entry=-1) at /home/pdunaj/work/ncs/zephyr/kernel/poll.c:218
#2  0x00012bf6 in k_poll (timeout=-1, num_events=1, events=<optimized out>) at zephyr/include/generated/syscalls/kernel.h:133
#3  shell_pend_on_txdone (shell=<optimized out>) at /home/pdunaj/work/ncs/zephyr/subsys/shell/shell_ops.c:361
#4  shell_write (shell=0x3d79c <shell_rtt>, data=0x20001d58 <shell_rtt_out_buffer>, length=12) at /home/pdunaj/work/ncs/zephyr/subsys/shell/shell_ops.c:390
#5  0x000123b8 in shell_fprintf_buffer_flush (sh_fprintf=0x3d7cc <shell_rtt_fprintf>) at /home/pdunaj/work/ncs/zephyr/subsys/shell/shell_fprintf.c:56
#6  shell_fprintf_fmt (sh_fprintf=0x3d7cc <shell_rtt_fprintf>, fmt=fmt@entry=0x39224 "%s", args=<EMAIL_ADDRESS>at /home/pdunaj/work/ncs/zephyr/subsys/shell/shell_fprintf.c:49
#7  0x00012d44 in shell_internal_vfprintf (shell=shell@entry=0x3d79c <shell_rtt>, color=color@entry=SHELL_VT100_COLOR_GREEN, fmt=fmt@entry=0x39224 "%s"<EMAIL_ADDRESS>    at /home/pdunaj/work/ncs/zephyr/subsys/shell/shell_ops.c:459
#8  0x00012d82 in shell_internal_fprintf (shell=shell@entry=0x3d79c <shell_rtt>, color=color@entry=SHELL_VT100_COLOR_GREEN, fmt=0x39224 "%s")
    at /home/pdunaj/work/ncs/zephyr/subsys/shell/shell_ops.c:480
#9  0x000130e4 in print_prompt (shell=0x3d79c <shell_rtt>) at /home/pdunaj/work/ncs/zephyr/subsys/shell/shell_ops.c:339
#10 shell_print_prompt_and_cmd (shell=shell@entry=0x3d79c <shell_rtt>) at /home/pdunaj/work/ncs/zephyr/subsys/shell/shell_ops.c:349
#11 0x00011162 in shell_log_process (shell=0x3d79c <shell_rtt>) at /home/pdunaj/work/ncs/zephyr/subsys/shell/shell.c:1055
#12 0x000111ac in shell_signal_handle (shell=shell@entry=0x3d79c <shell_rtt>, sig_idx=sig_idx@entry=SHELL_SIGNAL_LOG_MSG, handler=handler@entry=0x1112d <shell_log_process>)
    at /home/pdunaj/work/ncs/zephyr/subsys/shell/shell.c:1148
#13 0x000120ea in shell_thread (shell_handle=0x3d79c <shell_rtt>, arg_log_backend=<optimized out>, arg_log_level=0x4 <crc32_ieee_update+4>)
    at /home/pdunaj/work/ncs/zephyr/subsys/shell/shell.c:1210
#14 0x00008616 in _thread_entry (entry=0x12065 <shell_thread>, p1=0x3d79c <shell_rtt>, p2=<optimized out>, p3=<optimized out>) at /home/pdunaj/work/ncs/zephyr/lib/os/thread_entry.c:29
#15 0xaaaaaaaa in ?? ()

To Reproduce
Steps to reproduce the behavior:
See description
Expected behavior
No crashes, no deadlocks.
Impact
Showstopper for projects with always enabled shell. Otherwise annoyance.
Screenshots or console output
N/A
Environment (please complete the following information):
ncs zephyr 745326266d9c32ba3aa67d5af1f727059d9a88e3 (from d9876be upstream)
Additional context
Add any other context about the problem here.
N/A

What's the reproduction strategy for this bug?   It sounds like this is a custom power save state or something and not just the idle thread?  If you get a chance, can you cherry pick the two patches in  #13800 and reproduce it?  Those will give more information about the location of the locks in question, and catch some problems (trying to swap/pend/sleep with a lock yeld) earlier.

Worth putting in a link here to #13591 , which is a very similar symptom.  There it seems like it's plausibly due to a bug in the validation layer, though the rig is complicated enough that I'm not able to reproduce it directly myself.  I'm hoping this one is easier.

@pdunaj  Is this still an issue? Can you reply to comments above?

@carlescufi  fyi

Hi @nashif , to be honest I am not sure if it is still replicating. I am not sure what happened in the bug - I suspected that maybe  this was caused by the "simulated system off in debug mode".
I may try to check but this was a very low priority issue for us as we have no actively used configuration with shell enabled. I will try to add a comment within a week or two.

Hi @nordic-krch , do you know if shell handles switch to deep sleep well?

Yes, I think this is still an issue.  I was having a similar problem disabling the shell when I go to sleep.  I submitted a PR #24404 that may address this issue.  This likely needs a bit of discussion.

#27342 was merged in lieu of #24404.  I'm marking this stale; if it's still a problem please comment.

we should close this, this has been stale for a while.


Command: wrap_block

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1197518-command-wrap_block?utm_campaign=plugin&utm_content=tracker%2F282001&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282001&utm_medium=issues&utm_source=github).

Migrated to limetext/lime-backend#43.


[SPARK-34168] [SQL] Support DPP in AQE when the join is Broadcast hash join at the beginning

What changes were proposed in this pull request?
This PR is to enable AQE and DPP when the join is broadcast hash join at the beginning, which can benefit the performance improvement from DPP and AQE at the same time. This PR will make use of the result of build side and then insert the DPP filter into the probe side.
Why are the changes needed?
Improve performance

Does this PR introduce any user-facing change?
No

How was this patch tested?
adding new ut

@cloud-fan  Please help me review. Thanks.

@cloud-fan  Please help me review. Thanks.

Test build #134257 has started for PR 31258 at commit b2d70f1.

Test build #134257 has started for PR 31258 at commit b2d70f1.

Test build #134257 has finished for PR 31258 at commit b2d70f1.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #134257 has finished for PR 31258 at commit b2d70f1.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

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

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

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

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

Hi, @JkSelf . Could you fix the scala style?

@cloud-fan Updated based on the offline discussions. Please help review again. Thanks.

@cloud-fan Updated based on the offline discussions. Please help review again. Thanks.

Test build #134321 has started for PR 31258 at commit c24efbc.

Test build #134321 has started for PR 31258 at commit c24efbc.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38908/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38908/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38908/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38908/

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

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

cc @maryannxue

cc @maryannxue

Test build #134321 has finished for PR 31258 at commit c24efbc.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #134321 has finished for PR 31258 at commit c24efbc.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

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

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

Hi, @JkSelf .
Could you take a look at the failures? It seems that this PR has 18 relevant failures still.
DynamicPartitionPruningSuiteAEOn.simple inner join triggers DPP with mock-up tables
org.scalatest.exceptions.TestFailedException: false did not equal true Should trigger DPP with a subquery duplicate:
== Parsed Logical Plan ==
'Project ['f.date_id, 'f.store_id]
+- 'Join Inner, (('f.store_id = 's.store_id) AND ('s.country = NL))
   :- 'SubqueryAlias f
   :  +- 'UnresolvedRelation [fact_sk], [], false
   +- 'SubqueryAlias s
      +- 'UnresolvedRelation [dim_store], [], false

Hi, @JkSelf .
Could you take a look at the failures? It seems that this PR has 18 relevant failures still.
DynamicPartitionPruningSuiteAEOn.simple inner join triggers DPP with mock-up tables
org.scalatest.exceptions.TestFailedException: false did not equal true Should trigger DPP with a subquery duplicate:
== Parsed Logical Plan ==
'Project ['f.date_id, 'f.store_id]
+- 'Join Inner, (('f.store_id = 's.store_id) AND ('s.country = NL))
   :- 'SubqueryAlias f
   :  +- 'UnresolvedRelation [fact_sk], [], false
   +- 'SubqueryAlias s
      +- 'UnresolvedRelation [dim_store], [], false

Test build #134426 has started for PR 31258 at commit 89c74bb.

Test build #134426 has started for PR 31258 at commit 89c74bb.

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

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

Test build #134426 has finished for PR 31258 at commit 89c74bb.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #134426 has finished for PR 31258 at commit 89c74bb.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

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

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

Test build #134634 has started for PR 31258 at commit 0d78a62.

Test build #134634 has started for PR 31258 at commit 0d78a62.

Test build #134634 has finished for PR 31258 at commit 0d78a62.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class SubqueryAdaptiveBroadcastExec(
case class InsertDynamicPruningFilters(

Test build #134634 has finished for PR 31258 at commit 0d78a62.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class SubqueryAdaptiveBroadcastExec(
case class InsertDynamicPruningFilters(

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

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

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39222/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39222/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39222/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39222/

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

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

Test build #134636 has started for PR 31258 at commit cdd1226.

Test build #134636 has started for PR 31258 at commit cdd1226.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39224/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39224/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39224/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39224/

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

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

Test build #134636 has finished for PR 31258 at commit cdd1226.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #134636 has finished for PR 31258 at commit cdd1226.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

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

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

Test build #134700 has started for PR 31258 at commit b72830e.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39286/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39286/

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

Test build #134700 has finished for PR 31258 at commit b72830e.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class PlanAdaptiveDynamicPruningFilters(

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

Test build #134810 has started for PR 31258 at commit 765efa8.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39398/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39398/

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

@cloud-fan  Resolved the comments. Please help me review again. Thanks.

Test build #134810 has finished for PR 31258 at commit 765efa8.

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

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

Test build #134859 has started for PR 31258 at commit f1226b1.

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

Test build #134870 has started for PR 31258 at commit 213d2b5.

Test build #134859 has finished for PR 31258 at commit f1226b1.

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

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

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39457/

Test build #134871 has started for PR 31258 at commit 8a77832.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39457/

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

Test build #134871 has finished for PR 31258 at commit 8a77832.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #134870 has finished for PR 31258 at commit 213d2b5.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

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

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

@JkSelf @cloud-fan This implementation can not reuse BroadcastExchange if BHJ after SMJ. For example:
  SELECT count(*)
        FROM   (SELECT c.c_customer_sk,
                       s.*
                FROM   customer c
                       JOIN store_sales s
                         ON c.c_customer_sk = ss_customer_sk) t1
               JOIN date_dim
                 ON ss_sold_date_sk = d_date_sk
                    AND d_year = 2002

Enable AE
Disable AE

@wangyum Yes. This implementation only is the first PR to support the join is bhj before apply AQE rules. We will support the join is smj and then convert to bhj use case in the following PRs.

Test build #134926 has started for PR 31258 at commit a02e307.

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39509/

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

Test build #134926 has finished for PR 31258 at commit a02e307.

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

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

Test build #134971 has started for PR 31258 at commit 3511996.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39554/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39554/

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

Test build #134971 has finished for PR 31258 at commit 3511996.

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

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

Test build #135033 has started for PR 31258 at commit 1e1b097.

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

thanks, merging to master!

Test build #135033 has finished for PR 31258 at commit 1e1b097.

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

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


Constants not defined during compilation

I am trying to compile for an avr.micro and to use the HID-Project library.
When I try to compile with this CMake file
cmake_minimum_required(VERSION 3.0.0)

set(CMAKE_TOOLCHAIN_FILE "/home/user/repositories/arduino/Arduino-CMake-Toolchain/Arduino-toolchain.cmake")

set(ARDUINO_INSTALL_PATH "/home/user/repositories/arduino/arduino-ide/build")
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

project (AH64MFDContorller CXX)

add_executable(AH64MFDContorller lnk/MFDController.cpp)

target_link_arduino_libraries(AH64MFDContorller PRIVATE HID HID-Project core)

set_target_properties(AH64MFDContorller PROPERTIES LINKER_LANGUAGE CXX)

target_enable_arduino_upload(AH64MFDContorller)

I get those errors
In file included from /home/user/Documents/Projects/arduino/AH64MFD/MFDController/lnk/MFDController.cpp:1:0:
/home/user/Documents/Projects/arduino/libraries/HID-Project/src/HID-Project.h:31:2: error: #error HID Project requires Arduino IDE 1.6.7 or greater. Please update your IDE.
 #error HID Project requires Arduino IDE 1.6.7 or greater. Please update your IDE.
  ^~~~~
/home/user/Documents/Projects/arduino/libraries/HID-Project/src/HID-Project.h:35:2: error: #error HID Project can only be used with an USB MCU.
 #error HID Project can only be used with an USB MCU.
  ^~~~~

However when I define them, I get warning about redefinitions.

A few points:

I take you are using Arduino IDE 1.6.7
I'm not familiar with the AH64. It has USB HID?
AH64MFDContorller looks like a typo, i guess it's AH64MFDController

I'm using Arduino IDE 1.8.20
AH64 is an attack helicopter. I'm trying to make an MFD game controller for it to use in DCS World (A flight sim)
Thanks. I fixed the typo, but that wasn't the actual problem.
I am using this CMake file and it seems to work.
cmake_minimum_required(VERSION 3.0.0)

add_compile_definitions(ARDUINO=10820)
add_compile_definitions(USBCON=1)

set(CMAKE_TOOLCHAIN_FILE "/home/paul/repositories/arduino/Arduino-CMake-Toolchain/Arduino-toolchain.cmake")

set(ARDUINO_INSTALL_PATH "/home/paul/repositories/arduino/arduino-ide/build")
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

project (AH64MFDController CXX)

add_executable(AH64MFDController lnk/MFDController.cpp)

target_link_arduino_libraries(AH64MFDController PRIVATE HID HID-Project core)

set_target_properties(AH64MFDController PROPERTIES LINKER_LANGUAGE CXX)

target_enable_arduino_upload(AH64MFDController)

Sorry I was confused about the AH64 :D.
The question is what's your target board, what hardware are you planning to run this on? I was getting at if it has USB HID functionality, but if settings those constants work, I guess yes.

I'm using an arduino pro micro. Flashing with the arduino ide works just fine. I selected avr.micro.
I actually just got done debugging and testing the thing on a breadboard and it works fine, even in the flight sim. So it definitely has HID capability.

Hi,
I could replicate the issue. I'm a bit confused though, i don't have any hid-project library. Did you install any additional packages in the arduino ide?´ that provide this library?

I get compilation errors like
AH64MFD-Arduino/lnk/MFDController.cpp:164:41: error: 'PIN_A0' was not declared in this scope
Where are those definitions supposed to come from?

I've added setting the ARDUINO symbol to the toolchain, it's one error less. Not sure how to get the USBCON symbol, it would need to come from the board definition.

Strange. it compiles fine for me.
I run cmake-gui and I have to configure 3 times before all the errors disappear and then I hit generate. I leave the programmer blank. Though flashing is another issue.
Honestly, I just want to use nvim to write my code. I don't mind compiling and uploading with the arduino thing. But that IDE is a joke.

The Arduino IDE only helps you installing the SDK files, besides that it's just a text editor. I went for cmake because it's a powerful build system, and it allows me to use CLion instead of the Arduino IDE.
So your issue is fixed now?

I am using your fork. And no, it seems it defines `ARDUINO=10000´ and it complains about the version being wrong. I still have to re-define it.

I'm a but confused, did you try with my latest changes? For me it did define a number that was bigger than the required minimum version, so I could compile without redefining it.

When I look at compile_commands.json, then -DARDUINO=100000


Get working on Travis-CI

Lots of failing tests (currently 63) on the Travis-CI build: http://travis-ci.org/#!/keithamus/Tempus
Some of these are likely other bugs (especially #3).
Before 0.2 can be released, we need test-pass parity with Travis-CI, which will ideally be all passing tests

Closing for now. Going to aim for a new release some time this year which is a ground up rewrite.


Color Considerations for Accessibility

Allow for considerations for color contrast for accessibility. Refer to the Draft Accessibility in Data Viz Doc for requirements.

I would like to specifically call out that we need to change the opacity on the hash background bar to a higher percentage because even with black, 30% will not pass accessibility 3:1 contrast.

@laurenbock Can you create a new issue for this? It'll be easier to track that way. We can always link it here if we want.

New issue just for background hash opacity update: https://github.com/cerner/carbon-graphs/issues/113


Add colors for VES, POU, HAD, DOO and BEA

At this point I'm running out of shades of blue and red 😅
I picked similar hues as always with no particular method, but unfortunately some drivers from Ferrari/Alfa Romeo and RB/Alpha Tauri/Alpine etc are starting to have very similar colors.
I don't think there's a good solution, with so many drivers being added.

Teams aren't very creative with their team colours, right? Why doesn't anybody use a nice purple for a change 😅
This needs a better solution in the future. Potentially not just varying colours but also varying line style and/or marker style.
But for now, there's no better solution.


Bing can't get a result

The goole engine can be used successfully, while Bing can't.
I wrote test code like this:
engine = Bing()
results = engine.search("apple",pages=1)
links = results.links()
print(links)

However, the result is an empty list. I tested Google as well, it was fine. So I am really confused about this problem.
Thanks for your reply!

It seems like I can only search a single word in Bing. How can I fix this?

It seems Bing doesn't like our user-agent anymore :( I think it's more ethical to let them know that we're a bot, but sometimes user-agent spoofing can't be avoided. The user-agent and other headers can be changed with .set_headers(), eg:
engine = Bing()
engine.set_headers({'User-Agent':'My User-Agent string'})
...

Also, I've updated the repo, so Bing uses a fake user-agent (Firefox) from now on.
Thanks for noticing this issue.

Thanks! That is really helpful ：）


Clear string scope in string interpolations

To help color schemes highlighting interpolated expressions well, string scope should be cleared. Otherwise some tokens may receive unexpected colors.
A meta.string scope makes sure to be able to address the whole string including interpolation with a simple selector. This may be used by color schemes to dimm out interpolated content for instance.

Thank you very much, and actually I was going to ask about this! I wasn't sure whether it was best practice to keep the string scope inside an interpolation. It leads to variables being rendered as strings in color schemes with no color assigned to variables (such as the popular Mariana). I didn't think about it too hard because I didn't immediately know how to fix it, LOL! But an answer and a fix at the same time is 👨🍳 💋 .
I didn't see this PR until just now, and I had to switch repos due to some dumb choices about large files that I didn't want people to have to download until the end of time. So I'm going to make your changes in the new repo. I'll close this repo thereafter, so you can delete your local copy… but feel free to download the new one!

Committed to the new repo.


Fix primary key sequence resetting in Sequel with Postgres and SQLite

There were some pending specs for the Sequel truncation strategy, because it did not reset the primary key sequence after truncation for Postgres and SQLite. Fix these bugs by using the same techniques as used in Datamapper and ActiveRecord strategies, and update the specs to match, greatly simplifying them in the process.

@etagwerker Resolved merge conflict. :green_heart:


Object.basename is deprecated.

We have two calls to Object.basename which are marked as invalid in /lib/ProjectSystemEpic/PackageFeature/Model/FindPackages.js:
Arguments to path.basename must be strings
Object.basename (/usr/lib/atom/src/electron-shims.js:31:10)
findPackages (/home/gauthier/Molecule/atom-molecule-dev-environment/lib/ProjectSystemEpic/PackageFeature/Model/FindPackages.js:42:83)
<unknown> (/home/gauthier/Molecule/atom-molecule-dev-environment/lib/VersionningEpic/CommitFeature/Actions/RefreshPackages.js:14:87)
dispatch (/home/gauthier/Molecule/atom-molecule-dev-environment/node_modules/redux-thunk/lib/index.js:11:18)
Object.dispatch (/home/gauthier/Molecule/atom-molecule-dev-environment/node_modules/remote-redux-devtools/lib/devTools.js:313:40)
VersionningSidePanel.componentDidMount (/home/gauthier/Molecule/atom-molecule-dev-environment/lib/VersionningEpic/CommitFeature/Layouts/VersionningSidePanel.js:61:18)

This issue looks to be fixed by our recent work.
I can't reproduce the problem (which happened all the time before).


Incorrect modulations/stepcc

This definition is incorrect, or at least misleading.
https://sfzformat.com/modulations/stepccN
It states:
Sets the number of steps with which the modulation target is modulated by MIDI CC N.
In reality, it sets the interval between consecutive steps, not the step count.
Which does indeed, affect the step count, but that's not the meaning of the value.
This formulation has led the author of sfizz into a mistake in the past, so it will be better to rewrite it without confusion.
As an example:
<region>
sample=*sine
pitch_oncc16=1200
pitch_stepcc16=300

This describes a pitch controller which has 5 positions.: 0, 300, 600, 900, 1200.

Thank you!


Added eksa metal and workshop-project modules

This PR contains the following changes:

added metal, eksa, and root modules
added examples on root module
produced genetic README.md with terraform-docs util

@displague I have made changes to resemble the k8s addons format. Have a look when you have a moment

@displague This is ready for your review! Thanks in advance.


Update to OCaml 5.1.1, jsoo 5.8.2

This mainly required time debugging and finding which parts of the code where silently failing with the newer version. Once I found the way to make our version of ppx_metaquot work with the newer ppxlib (very small code change in the end, but it took quite a bit of digging the ppxlib api), most of the effort was actually in updating jsoo rather than OCaml.
We stick at 5.1 for now because ppx_tools (of which we vendor a patched bit) could easily work with it, but isn't ported to 5.2 yet. There has been lots of improvements in jsoo in the 5.x branch, and I expect things to be faster although I haven't run benches.
I expect this to be part of a 1.1 release and bumped the version number in prevision

@erikmd I have been running some quick tests locally, but this probably deserves more thorough testing.


Made CSRF JavaScript example more reusable.

Although this document seems to just be concerned with the CSRF token,  the example caused me confusion about the fetch API. The example code won't work with the changes needed to upload a file.
Uploading files requires capturing the form and using it to create a FormData object. The Request object needs to be initialized with the following key/value pair: {body: formData}. Here's the problem - the second argument to fetch() is an optional init for the Request object. Using it somehow makes the files not upload. So the example is more usable if the 'headers' and 'mode' keys are given to the Request constructor and the fetch() call omits the second argument.

@sdwoodbury  Welcome aboard :boat:


Populate image status

The actual image pull happens in create container today so we have to send something back to keep the kubelet happy.

Kubelet requires all fields set, it could be done by docker inspect for current impl, e.g.  here
                Id:          &image.ID,
		RepoTags:    image.RepoTags,
		RepoDigests: image.RepoDigests,
		Size_:       &size,

@feiskyer The problem is that we haven't even pulled the image until we are creating the container (so we can't docker inspect. There's two options we can do:

Just do a docker pull in ImageStatus, which would give us that information and make container creation faster.

Make ImagePull do a docker pull (in addition to the other stuff we're doing) which overall means that we don't have to worry about pulling in the wrong API interface (and we can also test failing docker inspect inside ImageStatus.

I prefer 2.

@cyphar I agree with option 2. @runcom Is there anything else we can do in the short term?

Make ImagePull do a docker pull (in addition to the other stuff we're doing) which overall means that we don't have to worry about pulling in the wrong API interface (and we can also test failing docker inspect inside ImageStatus

@mrunalp I believe this is the most sane thing to do right now :(

ping @mrunalp

Will just wait for #189 to land.

makes sense

Closing in favor of #189


Question: equivalent implementation of Synchronized class?

I am studying the implementation of Synchronized class in fs2-kafka: https://github.com/ovotech/fs2-kafka/blob/master/modules/core/src/main/scala/fs2/kafka/internal/Synchronized.scala#L43
I come up with an alternative but I am not quite sure if it is equivalent to fs2-kafka:
def of[F[_], A](a: A)(implicit F: Concurrent[F]): F[Synchronized[F, A]] =
    MVar[F].of[A](a).map(mv =>
        new Synchronized[F, A] {
          override def use[B](f: A => F[B]): F[B] = F.bracket(mv.take)(f)(v => mv.put(v))
        })

in case it is equivalent, what's the benefit of using Deferred + Ref?
thanks a lot.

We used MVar briefly in #5 and replaced it with Synchronized in #6. I believe the benefit is small for fs2-kafka's use case in particular. However, Synchronized is a more simple construct than MVar (fewer possible states), and Synchronized avoids this issue: https://github.com/typelevel/cats-effect/issues/382#issuecomment-433739248.
I'm closing this, but feel free to ask further questions. :)


chore: add tcx info in BPF_PROG_TYPE_SCHED_CLS.md

This pull request includes an addition to the docs/linux/program-type/BPF_PROG_TYPE_SCHED_CLS.md file to document the new tcx BPF fast path with BPF link support introduced in kernel v6.6. The changes provide detailed information on the new features and relevant return codes.
Documentation updates:

Added a section on tcx support, including a table of program types, attach types, ELF section names, and sleepable status.
Included the definition of return codes for tcx programs with a code snippet.
Provided a link to further details on tcx from the LSFMM+BPF Summit Recap and Video.

@dylandreimerink
Could you please help to review this PR? Many Thanks!

@dylandreimerink done!


Is there any way to output the log in the terminal instead of the output window?

Is there any way to output the log in the terminal instead of the output window?
Originally posted by @GodOfDeathSam in https://github.com/Rickaym/Manim-Sideview/issues/8#issuecomment-997282831

f13cc14f973d8d0b362803513ead3bb5f49248dc

Release 0.0.13 will allow changing the settings to use OUTPUTS or SETTINGS through preferences.


WIP: js fixups

Looks good to me! Much uglier, but if it's not officially allowed and only supported by some browsers, seems like the ugly way is the only way.

It's one way. The other way is to write e.g. es2015 and 'compile to js' with e.g. babel.

 However, I only found one fix was necessary for the code I'm trying to run, so I guess this is it for the PR - but there may be other cases still left to find.

Should I go ahead and merge then?

That would be great, although I have personally only tested the result of the change on IE11.

Looks safe to me.


Ignore templating delimiters

I would like to run JSCS on .js.erb files, but they are getting hung up on the ERB delimiters (<% and %>). jshint now has an option to include delimiters that can be ignored. Is there any way to do this in JSCS right now? Googling didn't turn up anything.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/25629084-ignore-templating-delimiters?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github).

Hey @thenovices! Thanks for contributing.
We don't currently have a way to allow users to configure delimiters to skip. In https://github.com/jscs-dev/node-jscs/issues/1434, we spoke about giving the user the power to transform source code pre-linting (where you'd be able to remove all of your erb delimiters).
How does JSHint strip the delimiters?

Here is the PR where they added the feature: https://github.com/jshint/jshint/pull/1841/files

Very interesting. Thanks for linking the PR. #1434 gives the user (perhaps too much) power to make their own source transformations (which could include stripping erb tags or anything else). However, the JSHint solution is effective and avoids the redundancy of users regex replacing source files in the case of wanting to strip delimiters.
I'm definitely in favor of supporting a similar feature. @markelog thoughts?

Yeah, we can do this at "pre-parsing" phase, essentially same issues as in https://github.com/jscs-dev/node-jscs/issues/1156

I can we can close either this or #1156 since it's the same. @markelog


Small example projects

Apart from demos it would be great to have some form of examples/samples that would illustrate different small usecases for different features engine provides, i.e. multiple windows, input processing, custom shader usage, etc

Will probably be done in separate repo


Add ability for app to prompt for network addition

Once developers set up their own hyperchain instances and APIs, it may be helpful for apps to prompt users to add them to the wallet as a new network by passing a name and URL to use for confirmation by the user.
The wallet could then toggle to using the new network once confirmed by the user, making the experience more fluid in general for opting into a new hyperchain.
cc @saralab

Reference UI from MetaMask:

I'm closing in favor of https://github.com/leather-io/issues/issues/279#issuecomment-2357804473


pass model from config to getResponse function

the model always defaults to gpt-3.5-turbo even when we specify something else.

Thanks for the fix @AlaEddineBoughanmmi !


Availability of training script

Greetings! Is there any chance that you'll make the training script publicly available any time soon?

I'll work on it and try to get it pushed by the end of day.


Arc not drawing on android Pie

Hie,
Please make your third party compatible with android Pie. I just checked it on pie and the arc is not rendering

I know this bug, please try with https://github.com/florent37/ShapeOfView
I fixed his bug on this other lib

fixed on the 1.0.4


Add a lovely welcome message (motd style)

Let's welcome our tutorial guests 😊

Yes, that was intentional.
But yeah, it would actually be nice in the demo as well 😁

Here we go: c9f20ca