The Browse buttons have been renamed to Choose file

In past we have changed the upload UI element and all the 'Browse' buttons have become 'Choose file' buttons. This pr makes the error messages consistent with that.
I have been looking into extracting these import codes to common concern. However, that is nontrivial to achieve as there are many subtle differences in the forms, javascripts, controllers and models. :disappointed:
Addressing:
https://bugzilla.redhat.com/show_bug.cgi?id=1368113
@miq-bot add_label ui, bug

/cc @gtanzillo

Darga backport details:
$ git cherry-pick -x -m 1  7e2001a
[darga c8db56b] Merge pull request #10669 from isimluk/rhbz#1368113
 Author: Dan Clarizio<EMAIL_ADDRESS> Date: Mon Aug 22 14:56:37 2016 -0700
 13 files changed, 16 insertions(+), 16 deletions(-)

$ git log
commit c8db56bb92474a1b234023b581fbf2228e2f09da
Author: Dan Clarizio<EMAIL_ADDRESS>Date:   Mon Aug 22 14:56:37 2016 -0700

    Merge pull request #10669 from isimluk/rhbz#1368113

    The Browse buttons have been renamed to Choose file
    (cherry picked from commit 7e2001a9a1bcc7062a47ca2b7afd0f9b0f8581e3)


FlatFileItemReader with tab delimiter not working

Every detail here:
https://stackoverflow.com/questions/51738718/flatfileitemreader-tab-delimiter-not-working
esay to reproduce.

Answer is in stackoverflow


Add unit tests for controllers

Coverage increased (+3.7%) to 69.869% when pulling fab79482ab8ca427283c74b8bb54d672cc02846b on x/controller-test into c728c0719db27e2be3a95718d50360feb0748e0f on master.


Get error when compiling Angular 8 from cmd.exe in windows

If you use the polyfill in an Angular 8 project and you compile with the command prompt then you will get the error

TypeError: this._input.charCodeAt is not a function

It works in git bash and vscode but we need the command line for our Jenkins pipeline.  We have tried a number of ways to use the git bash from the command line but we get the same result.  Only opening the git bash manually and then compiling will avoid the error.
I have created a sample project to reproduce the error at
https://github.com/bfis108137/Angular8-i18-PolyFill-Bug
In the sample project I have included a compiled version in the folder distCmd using the command line in case you are on mac or linux.
Below is the console output:

| (anonymous) | @ | main.ts:12
-- | -- | -- | --
  | invoke | @ | zone-evergreen.js:359
  | run | @ | zone-evergreen.js:124
  | (anonymous) | @ | zone-evergreen.js:855
  | invokeTask | @ | zone-evergreen.js:391
  | runTask | @ | zone-evergreen.js:168
  | drainMicroTaskQueue | @ | zone-evergreen.js:559
  | Promise.then (async) |   |
  | scheduleMicroTask | @ | zone-evergreen.js:542
  | scheduleTask | @ | zone-evergreen.js:381
  | scheduleTask | @ | zone-evergreen.js:211
  | scheduleMicroTask | @ | zone-evergreen.js:231
  | scheduleResolveOrReject | @ | zone-evergreen.js:845
  | then | @ | zone-evergreen.js:955
  | bootstrapModule | @ | core.js:40599
  | ./src/main.ts | @ | main.ts:11
  | webpack_require | @ | bootstrap:79
  | 0 | @ | main.ts:12
  | webpack_require | @ | bootstrap:79
  | checkDeferredModules | @ | bootstrap:45
  | webpackJsonpCallback | @ | bootstrap:32
  | (anonymous) | @ | main.js:1

Is fixed in this https://github.com/ngx-translate/i18n-polyfill/issues/60 - add .default to your require


Always close clients if they exist

I fixed that error.
@instagibbs Is this what you had in mind for "I suggest we sprinkle client.close() when not None at the end of each enumerate function." (from https://github.com/bitcoin-core/HWI/pull/109#issuecomment-459101885)

yep, LGTM


Improve DolphinDB compatibility

Few Areas:

Querying tables with timestamps etc. to allow charting
Querying Scalar / vector
Displaying Table Listing.
.dos syntax highlighting
Code completion and docs?

Improved scalar/atom handling:

Chart rendering works for most types:


The "dashboard" API route

This should be moved to something more inline with the core purpose of the route. (The /api/dashboard/size route is the only one so far and I would consider this a /api/machines/<name>/backup/<identifier>/size or something like that.

Fixed as a result of merge 7b182f4e4200ed22ebe29efac73e52c18d268a6e


Initial FieldAPI tests, made FieldAPI typings much more strict

This PR:

[x] Fixes typing issues with insertValue
[x] Makes types more strict for FieldAPI based on the name field input (If no explicit TData is passed)
[x] Adds initial tests for FieldAPI
[x] Updates TypeScript version to avoid a bug where TS couldn't find this
[x] Updates TypeScript ESlint to support the new version of TypeScript
[x] Updates ESlint and prettier plugins to fix issues on my local machine
[x] Temporarily removes React 17 check from CI

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@25237e4). Click here to learn what that means.
Patch has no changes to coverable lines.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #405   +/-   ##
=======================================
  Coverage        ?   59.35%
=======================================
  Files           ?        7
  Lines           ?      374
  Branches        ?       91
=======================================
  Hits            ?      222
  Misses          ?      120
  Partials        ?       32

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


SocketOptions.mqh doesn't compile in latest version of MT5

In Include\Zmq\SocketOptions.mqh file lines 25-45
#import "libzmq.dll"
// We can overload the same function for different data types
// as in the C level the optval paramter is just a pointer
#define SOCKOPT_OVERLOAD_ARRAY(TYPE) \
int zmq_setsockopt(intptr_t s,int option,const TYPE &optval[],\
                   size_t optvallen);\
int zmq_getsockopt(intptr_t s,int option,TYPE &optval[],\
                   size_t &optvallen);\

#define SOCKOPT_OVERLOAD(TYPE) \
int zmq_setsockopt(intptr_t s,int option,const TYPE &optval,\
                   size_t optvallen);\
int zmq_getsockopt(intptr_t s,int option,TYPE &optval,\
                   size_t &optvallen);\

SOCKOPT_OVERLOAD_ARRAY(uchar)
SOCKOPT_OVERLOAD(long)
SOCKOPT_OVERLOAD(ulong)
SOCKOPT_OVERLOAD(int)
SOCKOPT_OVERLOAD(uint)
#import

It seems like the issue might be related to the backslashes at the end of each line in the #define statements. Backslashes at the end of a line in a macro definition are used to indicate that the macro continues on the next line. However, in this case, it appears that they are causing problems during compilation.
I tried remove the backslashes at the end of each line in the #define statements and it compiles again.
#import "libzmq.dll"
// We can overload the same function for different data types
// as in the C level the optval paramter is just a pointer
#define SOCKOPT_OVERLOAD_ARRAY(TYPE) \
int zmq_setsockopt(intptr_t s,int option,const TYPE &optval[],\
                   size_t optvallen);\
int zmq_getsockopt(intptr_t s,int option,TYPE &optval[],\
                   size_t &optvallen);

#define SOCKOPT_OVERLOAD(TYPE) \
int zmq_setsockopt(intptr_t s,int option,const TYPE &optval,\
                   size_t optvallen);\
int zmq_getsockopt(intptr_t s,int option,TYPE &optval,\
                   size_t &optvallen);

SOCKOPT_OVERLOAD_ARRAY(uchar)
SOCKOPT_OVERLOAD(long)
SOCKOPT_OVERLOAD(ulong)
SOCKOPT_OVERLOAD(int)
SOCKOPT_OVERLOAD(uint)
#import

Please modify the code accordingly and make a new push and commit.

Thanks for reporting problems. But I tried this on latest MT4 (build 2404, 7 Jul 2023) and MT5 (build 3914, 4 Sep 2023) and they both compiled fine. So I figured this is not a bug. If you still have problems, please provide your metaeditor version and error messages and I'll look into it futher.


Misleading example for the Greedy Algorithms section

In the Greedy Algorithms section, coin change problem is provided as an example. This creates an impression that every coin change problem can be solved with greedy approach. This is incorrect since using greedy approach in some coin sets gives the incorrect result and needs to be solved with dynamic programming.
More info: https://stackoverflow.com/questions/13557979/why-does-the-greedy-coin-change-algorithm-not-work-for-some-coin-sets

A deceptive example for the Greedy Algorithms section is the Traveling Salesman Problem.
In this example, let's consider a set of cities that need to be visited by a salesperson. The goal is to find the shortest possible route that passes through all cities and returns to the starting point.
A naive greedy algorithm to solve this problem would always select the closest available city at each step. In other words, at each stage, the salesperson would choose the nearest city from the current city and add it to the route.
However, the Traveling Salesman Problem is an NP-complete problem, which means that there is no known efficient solution to solve it in polynomial time. The naive greedy algorithm does not take into account the global optimality of the solution and can therefore provide suboptimal solutions.
While the greedy algorithm may provide reasonable solutions for smaller instances of the problem, it does not guarantee the optimal solution in all cases. Therefore, this deceptive example of the Traveling Salesman Problem highlights the need for more sophisticated approaches, such as dynamic programming or exhaustive search algorithms, to efficiently solve NP-complete problems.


WP REST API vs Sequelize.js

Hi @ramsaylanier
I looked through your project and I am wondering whether there is a necessity to use Sequelize and in general - the idea of mapping Wordpress database.
Namely, what if we would use WP REST API in resolve() instead of Sequelize?
http://v2.wp-api.org/
So, instead of this function implementation:
getPostById(postId){
        return Post.findOne({
          where: {
            id: postId
          }
        })
      },

we would return the result by hitting the appropriate endpoint defined here: http://v2.wp-api.org/reference/posts/
As far as I understand, Post.findOne will ask for the whole post and then filter a result before sending it to the client, isn't it? If true, wouldn't it just easier to would to hit appropriate endpoints in your solution? I might missing something, so please correct me if I'm wrong.
Cheers,

You absolutely could use the WP API if you want. There are several reasons I think Sequelize is a better choice. I think its easier to create your own custom endpoints using Sequelize if you understand how Javascript Promises work. Sequelize automatically returns Promises which work really well with Relay/GraphQL. If you wanted to, say, get a post and then its thumbnail using the API you' have to create your own Promise chain to first query the Post, get its thumbnail ID, then query Media.
Also, you can define model relationships with Sequelize. Where you query a post by its slug in the resolve function you can automatically get all (or some) of that post's postmeta. How do you get custom post meta using the API? I'm seriously asking - I just looked through the documentation briefly but I didnt see it.
But, to answer your question you absolutely could use the WordPress API instead of Sequelize. That's the beauty of GraphQL. You have the power to get data from  your data store however you want.

You absolutely could use the WP API if you want. There are several reasons I think Sequelize is a better choice. I think its easier to create your own custom endpoints using Sequelize if you understand how Javascript Promises work. Sequelize automatically returns Promises which work really well with Relay/GraphQL. If you wanted to, say, get a post and then its thumbnail using the API you' have to create your own Promise chain to first query the Post, get its thumbnail ID, then query Media.

Yes, you are right, Promises should be returned for REST calls. However, if such a mechanism would be applied, then I understand that the effect would be the same, just calling the appropriate rest endpoint for getting Posts and calling the appropriate endpoint for getting Thumbnail from Media in resolve functions. The chain will be ensured by GraphQL.

Also, you can define model relationships with Sequelize. Where you query a post by its slug in the resolve function you can automatically get all (or some) of that post's postmeta. How do you get custom post meta using the API? I'm seriously asking - I just looked through the documentation briefly but I didnt see it.

Here, you are right once again. This REST API has really limited possibilites, so getting data for customized queries is not possible. At the beginning I thought that it is an official Wordpress API and is more sophisticated.
Meanwhile, I found also the following project: graphql-wp
Do you consider it not to be an easier approach due to the fact that we can use built in Wordpress functions?
For instance there is one-line invocation for getting a menu:
return wp_get_nav_menu_items($args['name']) ?: [];
To be honest, I am asking all about that, because I am wondering what would be the best approach to apply something similar for Magento 2:

Sequelize.js
Magento 2 REST API
or an approach like graphql-wp, but accustomed to Magento

Magento has a much sophisticated database than in Wordpress and I think that applying Sequelize.js solution might be overwhelming in case of Magento.

graphql-wp is a PHP implementation, so not useful for this project though I agree it is pretty neat. However, using Sequelize, I've written a function that just takes the slug of a menu and returns all of that menu's pages and sub pages (it only goes down one level right now).
It could probably use some refactoring but here it is.
getMenu(name){
        return Terms.findOne({
          where: {
            slug: name
          },
          include: [{
            model: TermRelationships,
            include: [{
              model: Post,
              include: [Postmeta]
            }]
          }]
        }).then ( res => {
          if (res){
            let menu = {
              id: null,
              name: name,
              items: null,
            };
            menu.id = res.term_id;
            const relationship = res.wp_term_relationships;
            const posts = _.map(_.pluck (relationship, 'wp_post'), 'dataValues');
            const navItems = [];

            const parentIds = _.pluck(_.filter(posts, post=>{
              return post.post_parent == 0
            }), 'id');

            _.map(_.sortBy(posts, 'post_parent'), post => {
              let navItem = {};
              let postmeta = _.pluck(post.wp_postmeta, 'dataValues');
              let isParent = _.includes( parentIds, post.id);
              let linkedId = Number(_.pluck(_.filter(postmeta, meta => {
                return meta.meta_key == '_menu_item_object_id'
              }), 'meta_value'));

              if (isParent){
                navItem.id = post.id;
                navItem.order = post.menu_order;
                navItem.linkedId = linkedId;
                navItem.children = [];
                navItems.push(navItem);
              } else {
                let parentId = Number(_.pluck(_.filter(postmeta, meta => {
                  return meta.meta_key == '_menu_item_menu_item_parent'
                }), 'meta_value'));
                let existing = _.findWhere(navItems, {'id' : parentId})

                if (existing){
                  existing.children.push({id: post.id, linkedId: linkedId })
                }
              }

              menu.items = navItems;
            });

            return menu;
          }
        });
      }
    }

Sequelize is pretty powerful I think. I have no idea about using it with Magento though - this is my first time using Sequelize.


Upgrade tomcat-jdbc to 8.5.9

Unfortunately, the tomcat-jdbc project doesn't provide own release notes, but
you can find the changelog for the Tomcat project here: (you can see the tomcat-jdbc section):
https://tomcat.apache.org/tomcat-8.0-doc/changelog.html. The list of commits here:
https://github.com/apache/tomcat/commits/trunk/modules/jdbc-pool
The biggest feature which  is an additional statistic for the connection pool plus
some bugfixes for handling various timeouts.

Coverage remained the same at 81.734% when pulling 504533c0897b450127fd6e266879c16fd14e2c8c on upgrade_tomcat_jdbc into ca0305f24dbd6ad4f08f97bf15e12f232c395162 on master.

Thanks!


Loop through all multiple value fields when sending form submission by email.

A form field with multiple checkboxes may introduce submissions that have more than one value. The send_email function would loop through all form fields and grab only the first item of each field, ignoring fields that may have multiple values selected. This is a side effect of using QueryDict.get(), which will only return the last value of a list.
This commit fixes that by first converting the QueryDict instance to a regular dict of lists so that get will return all values, then joining multiple items if needed.

Thanks @saevarom! Please could you add a test for this (and investigate the test that's currently failing)?

I've rewritten the changes as per @jaap3's suggestions.
Also, I've added a test that catches the problem I was dealing with in the first place (multiple checkbox values always represented as one value in emails).

Thanks! Merged in 169045b186f15352a9526f4c5cf07329676e7c69.


Overhaul the build system to be modular.

Opening this PR while all the CI stuff is tested to not break immediately. Overhauling the build system so that it uses modular projects. Also included in this is automated scala variant compiling to use composite builds for compiling scala 2.10 artifacts.
Pull repository settings into build plugin.
Remove PMD plugin.
Remove Findbugs and Jacoco. We'll add it back later if we want it.
Add jbaiera to developer list.
Use https links in pom.
Point Hive docs to 1.2.2 because 1.2.1 is just gone.
Include propdeps in build source.
Burn S3 tasks to the ground.
Remove maven deployment for upload archives.
Ditch checksum operation on distzip.
Ditch dist.gradle script.
Add a root build plugin that defines and configures the master
archive tasks. Add an integration plugin that configures the archive
tasks on master with their own artifacts/sources/settings.
Remove test java from test resource dirs.
Convert spark13 to variant build. Revert back to spark 2.2.0.
Assemble should only build the archives. Remove the javadoc and source
jars from the archives configuration since we won't use upload archives
anymore. Pack task still packages all jars. Add distribution task. The
distribution task will take over the previous things that were heaped
on the assemble task, like the distZip, writing poms, and moving
artifacts.

it looks very clean now, but i am a little lost...
i used to change the urls to publish to in dist.grade, but that is gone, and i cannot find anything that looks like publishing urls anywhere else. where are they?
i used to run ./gradlew uploadArchives but this task is gone? how do i publish the artifacts now?
thank you!

The uploadArchives task is indeed gone now. Instead we rely on the CI systems to perform maven operations in the build since it's much easier on each project to have that centrally managed. Can you elaborate further on what you're trying to do? Maybe we can work out a way to get you what you need?

thanks!
i am trying to publish a version with some minor modifications to our inhouse artifact server (nexus, artifactory, etc.)

if the CI system performs these tasks you still need the CI system to call something like uploadArchives, no?

For uploading to maven we have sets of credentials that CI is configured to use. As it stands, the ES-Hadoop project just generates the poms and their corresponding artifacts, and the CI system picks them up and does the uploading. I'm not well versed in how the central CI is set up so I can't really confidently comment much more on it.
The build does still use Gradle's built in Maven plugin for forming the pom. Perhaps it would be straightforward to modify the BuildPlugin.configureMaven() method to include a new upload archives task for your artifact server.


Copy Paste Link To Facebook Post Not Showing Image Thumbnail Image

Hi,
I have a specific requirement in a  project like count the user click rate on the posted link over social networking site (for now facebook.com only) and the count should store in my website database.
The actions are -
1- I have generated the URL (redirect url to my website, when users click on the image) like this -
e.g -
Redirect URL -  http://splitmedia.in/receive?partnerLinkHash=xdZ2iOSv07rS-cN&userReferenceHash=bN19UFgRVdRS8JqkqAiu4WpCPoXEbJRYrsUowNIK-9XYfC4O-yzxY_HHoS1_2qIetWSpoQIs0hw
where partnerLinkHash & userReferenceHash is unique hash code generated for the user and link.
and the image thumbnail link which should show while posting to facebook like -
Image URL - https://bookmein.in/myAssets/images/xexp400.jpg.pagespeed.ic.6Ww3IaWPD9.jpg
Now
When I post the redirect url to my facebook, the image url thumbnail should show and when click on this thumbnail it should redirect to the redirect url.
I tried this, but it could not work for me
example copy and paste this following link on facebook, it does not work -
< link rel='shortlink' href='http://splitmedia.in/receive?partnerLinkHash=xdZ2iOSv07rS-cN&userReferenceHash=bN19UFgRVdRS8JqkqAiu4WpCPoXEbJRYrsUowNIK-9XYfC4O-yzxY_HHoS1_2qIetWSpoQIs0hw' src='https://bookmein.in/myAssets/images/xexp400.jpg.pagespeed.ic.6Ww3IaWPD9.jpg'/ >
Need help here - How can I achieve this.
Thanks

Git is for bug tracking, not questions.
Please use the forums, http://www.yiiframework.com/forum/index.php/forum/42-general-discussions-for-yii-20/

Oh Sorry, my mistake.
Thank you


log.PrefixLogger should become logfmt compliant

logfmt

+1

Might also involve a rename.

I agree a rename is warranted. I was going to raise this exact issue with PrefixLogger today if you hadn't. My apps currently use logfmt via the log15 implementation, and I've used the package linked above for parsing the logs.
I've been considering whether it would be worth it to write an encoding/json or encoding/xml style package that supports marshaling and unmarshaling logfmt data. Thoughts on that idea?

Does that imply logfmt would become the common denominator format/encoding for gokit/log? If so, do you believe it's mature enough for that?

The RFC says:

Log SHALL be format agnostic by providing an interface for log formatting.
Log MAY provide some built in formatters such as RFC3164, JSON, etc.

So I don't think it has to take on that role but I would like it to be one of the choices.
The logfmt package I was postulating would be standalone and gokit could chose to import it or not. It would be awesome if someone has already written such a package, but I haven't found one yet.
Regarding maturity, the best link I can find that speaks to that is: https://brandur.org/logfmt

Ah, so your "an encoding/json or encoding/xml style package that supports marshaling and unmarshaling logfmt data" would be external to gokit/log?

That was the idea, yes. It would hopefully be general enough for use in other logging packages or standalone, as well as providing the parsing side. It should also support encoding.TextMarshaler and encoding.TextUnmarshaler interfaces.

:+1: to the idea!

Status update: I checked that the authors of https://github.com/kr/logfmt are OK with me creating a new Go project for logfmt. I have created the project and started implementing a MarshalKeyvals function built on top of a lower level Encoder.
The package is still unstable, tests are incomplete, and some tests still fail, but for logging basic data types from well behaved sources the MarshalKeyvals function will get the job done.

Thanks, this looks great. Curious, why an org? Do you anticipate more repos, or just more collaborators? :)

@peterbourgon

Curious, why an org? Do you anticipate more repos, or just more collaborators?

More collaborators would be welcome of course, but the primary reason for an org is to take advantage of the shorter import string gopkg.in provides when the org/repo name matches the pattern go-pkg/pkg:
gopkg.in/logfmt.v1      → github.com/go-logfmt/logfmt (branch/tag v1, v1.N, or v1.N.M)

Ah, I didn't know about that. (sigh) Some random convention invented by some random developer 3 years ago echoes through eternity...


trippy: 0.11.0 -> 0.12.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/fujiapple852/trippy/releases.
meta.description for trippy is: Network diagnostic tool
meta.homepage for trippy is: https://trippy.cli.rs
meta.changelog for trippy is: https://github.com/fujiapple852/trippy/blob/0.12.0/CHANGELOG.md
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.12.0 with grep in /nix/store/qqkn8g67vpp0wcgp6pmxz127b4q55a86-trippy-0.12.0
found 0.12.0 in filename of file in /nix/store/qqkn8g67vpp0wcgp6pmxz127b4q55a86-trippy-0.12.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

trippy

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/qqkn8g67vpp0wcgp6pmxz127b4q55a86-trippy-0.12.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A trippy https://github.com/r-ryantm/nixpkgs/archive/898659b94d54aa2da3150bc6ae17411a7758402b.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/898659b94d54aa2da3150bc6ae17411a7758402b#trippy

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/qqkn8g67vpp0wcgp6pmxz127b4q55a86-trippy-0.12.0
ls -la /nix/store/qqkn8g67vpp0wcgp6pmxz127b4q55a86-trippy-0.12.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

trippy

Maintainer pings
cc @figsoda for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 361899

aarch64-darwin

:white_check_mark: 1 package built:

trippy


[ON HOLD for #43065] Workspace - Workspace member can remove the owner

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.82-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause - Internal Team
Action Performed:

User A creates a Workspace and invite User B and User C
User B go to Workspace chat> Members> Add or remove other members and owner

Expected Result:
User B ( member ) should not be allowed to remove the owner
Actual Result:
Workspace member can remove the owner
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/ad56d89c-ae5a-4244-bc3a-e3e85fa2698a
View all open jobs on GitHub

@CortneyOfstad  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

I think this is being handled in https://github.com/Expensify/App/pull/43065

I think this is being handled in #43065

"Prevent removal of admin and default members from workspace chats #43065" Exactly, thank you. @bernhardoj

Yep, this is being tackled within that PR, so going to put this on-hold so we can keep an eye on it 👍

Went into production 2 days ago 🎉 Will keep this open until the hold period is open 👍

Hold period is complete, so closing!!


Roblox Studio Mod Manager creates a runtime plugin error

Only happens with the mod manager, does not occur in normal roblox studio. Happens to different plugins, but only one error usually pops up and it's always the same Component SideBar cannot consume missing context item MaterialController key

Have you found a solution for this ? I'm also having this issue


fix PCB bugs in Revision 2 schematics and board

TX and RX for Copernicus are mixed up
PWM out is off by 1 pin (should be PB6)
9V needs capacitor between + and GND now we wire it on top which isn't reliable

optional:

need more pins for I2C sensors (put 1-2 more 4x pins)
need pins for Raspberry PI +5V/GND

I created the following files to do this work:
schematic_r2.brd
schematic_r2.sch

I fixed:

TX and RX issue
PWM output issue


"The Gauntlet" level: the "Done in fewer than 6 code statements" goal is not unlocking

Although the "Under 6 statements" goal shows as completed in the top-left goals-checklist-thingy, it is not unlocked in the victory modal:

Here's the Python code:
while True:
    self.moveRight()
    self.attack(self.findNearestEnemy())

Fixed, will update soon. Thanks!

Woah that was fast, thanks. :smile:


Expose arr.ai runtime info via //arrai.info

Suggested output format:
@> //arrai.info
(
    version: 'DIRTY-v0.72.0',
    date: //time{2020-06-15T10:43:14Z},
    git: (
        commit: 'f633d75a049bca9343a442ada1d49577b676ff36',
        tags: ['v0.72.0'],
    ),
    go: (
        os: 'linux',
        arch: 'amd64',
        compiler: (
            version: 'go1.14.3',
            os: 'linux',
            arch: 'amd64',
        ),
    ),
)

@anzdaddy Should this issue be on the https://github.com/arr-ai/arrai board instead?


Encrypt network communication using the noise protocol

The messages which contain CET's do not fit into the
65535 byte message size limit of the noise protocol.
These messages are chunked to allow compatibility
with noise.
More research is required into the NOISE_PARAMS and
whether they can be used to configure snow elegantly
handle authentication.

would be cool if we can test rollover successfully as well

I did a manual test and I think it works
2021-10-30 10:49:19  INFO GET /api/feed text/event-stream:
2021-10-30 10:49:21  INFO POST /api/order/sell application/json:
2021-10-30 10:49:21  INFO POST /api/calculate/margin text/plain:
2021-10-30 10:49:21  INFO POST /api/calculate/margin text/plain:
2021-10-30 10:49:29  INFO POST /api/cfd/41deaa9c-d69e-4414-8090-356801997e36/rollOver:
2021-10-30 10:49:29  INFO Received proposal from the taker 88a932c0-ed62-43f0-8b50-167d69573620: RollOverProposal { order_id: OrderId(Hyphenated(41deaa9c-d69e-4414-8090-356801997e36)), timestamp: Timestamp(1635551369) } to roll over order 41deaa9c-d69e-4414-8090-356801997e36
2021-10-30 10:49:39  INFO POST /api/cfd/41deaa9c-d69e-4414-8090-356801997e36/acceptRollOver:
2021-10-30 10:49:39 DEBUG Maker accepts a roll_over proposal order_id=41deaa9c-d69e-4414-8090-356801997e36
2021-10-30 10:49:39  INFO Roll; over request got accepted order_id=41deaa9c-d69e-4414-8090-356801997e36

would be cool if we can test rollover successfully as well

I did a manual test and I think it works
2021-10-30 10:49:19  INFO GET /api/feed text/event-stream:
2021-10-30 10:49:21  INFO POST /api/order/sell application/json:
2021-10-30 10:49:21  INFO POST /api/calculate/margin text/plain:
2021-10-30 10:49:21  INFO POST /api/calculate/margin text/plain:
2021-10-30 10:49:29  INFO POST /api/cfd/41deaa9c-d69e-4414-8090-356801997e36/rollOver:
2021-10-30 10:49:29  INFO Received proposal from the taker 88a932c0-ed62-43f0-8b50-167d69573620: RollOverProposal { order_id: OrderId(Hyphenated(41deaa9c-d69e-4414-8090-356801997e36)), timestamp: Timestamp(1635551369) } to roll over order 41deaa9c-d69e-4414-8090-356801997e36
2021-10-30 10:49:39  INFO POST /api/cfd/41deaa9c-d69e-4414-8090-356801997e36/acceptRollOver:
2021-10-30 10:49:39 DEBUG Maker accepts a roll_over proposal order_id=41deaa9c-d69e-4414-8090-356801997e36
2021-10-30 10:49:39  INFO Roll; over request got accepted order_id=41deaa9c-d69e-4414-8090-356801997e36

I think you should also see the messages where the information was exchanged, similar to the contract setup - are those present in the logs?

2021-10-30 10:49:39  INFO Roll; over request got accepted order_id=41deaa9c-d69e-4414-8090-356801997e36

This message is printed when rollover is initiated but does not tell you anything about the messages being exchanged successfully.

It would actually be sweet if we could add an actor test that covers this as part of this PR!
That would mean a bit more work, but given the currently already existing actor tests it should be relatively trivial to add it.
This would generally go in the right direction, I think future PRs will have to think about adding actor tests as well when necessary - we cannot just cover those tests separately.
What do you think @klochowicz ?

@rishflab it would be sweet if we could add an actor test that covers exchanging the collarborative close messages as part of this PR! (i.e.assert that collaborative close was set up) That would mean a bit more work, but given the currently already existing actor tests it should be relatively trivial to add it. This would generally go in the right direction, I think future PRs will have to think about adding actor tests as well when necessary - we cannot just cover those tests separately. What do you think @klochowicz ?

yeh sure, I can give it a go today. I might need a hand though.

@rishflab it would be sweet if we could add an actor test that covers exchanging the collarborative close messages as part of this PR! (i.e.assert that collaborative close was set up) That would mean a bit more work, but given the currently already existing actor tests it should be relatively trivial to add it. This would generally go in the right direction, I think future PRs will have to think about adding actor tests as well when necessary - we cannot just cover those tests separately. What do you think @klochowicz ?

I agree it's a good idea to add the code coverage there, but I'd personally choose to rather do it as a follow-up PR - this one got approved already, and it significantly changes its scope.
Collab close test is something that's also generally useful, not just for the purpose of adding encryption.
Happy to help with any questions you have @rishflab !

bors r+


[wip] Allow to use rouge as optional dependency

Reference to https://github.com/dry-rb/dry-monitor/issues/9
In current PR I want to set rouge as an optional dependency for dry-monitor.
TODO

[x] Load rouge as dev dependency in gemspec file
[x] Wrap colorize logic to separate class
[x] Try to load rouge gem and initialize specific colorize class
[ ] Add specs for a new logic
[ ] Add warning message if rouge gem not found and user want to use color option
[ ] Update documentation

@solnic I created a simple proof of concept implementation. Could you check my code and TODO list and write WDYT about it?

@solnic can you check if this is a good approach?

@nijikon yeah I'll get to it later this week

@solnic thanks, man! ❤❤❤


Pydantic Fixes

Fixes https://github.com/run-llama/llama_index/issues/12333

BaseEvent was modifying objects passed in. Instead, we can deep clone to avoid this

Fixes https://github.com/run-llama/llama_index/issues/12238

Use dunder variables for private attrs, also fix pydantic import

LGTM!


BUG: toleration_keys lowercase RFC1123

Currently a taint of CriticalAddonsOnly can't be tolerated due to this constraint:
╷
│ Error: Invalid Attribute Value Match
│
│   with flux_bootstrap_git.this,
│   on flux.tf line 27, in resource "flux_bootstrap_git" "this":
│   27:   toleration_keys        = ["CriticalAddonsOnly"]
│
│ Attribute toleration_keys[Value("CriticalAddonsOnly")] a lowercase RFC 1123 label must consist of lower case alphanumeric characters
│ or '-', and must start and end with an alphanumeric character, got: CriticalAddonsOnly

/label bug

I misread the API documentation. It states the following regarding taint keys.

The key is any string, up to 253 characters. The key must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores.

I would rather add this validation instead of just removing the RFC1123 validation. Do you want to update your PR?

@phillebaba I allowed edits on the PR. I honestly wouldn't know where to start.

I created a new PR to fix this with a proper validator. You can close your PR. The fix should be out in the next release.

@phillebaba any ETA on release?


Fix, test, and document filtering bug

Closes #139. This should trigger a new release, I think, because it is kind of a bad bug.

Thanks @fedarko , this looks good.  Sorry about your corner case.


feat: added UnwrapTx to all db adapters to get driver-specific tx

Codecov Report

Merging #163 (d627b3f) into master (4b253ba) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##           master     #163   +/-   ##
=======================================
  Coverage   91.08%   91.08%
=======================================
  Files          11       11
  Lines         617      617
=======================================
  Hits          562      562
  Misses         40       40
  Partials       15       15

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Can't see any Entities or Devices

Hi,
I am new to HA and I managed so far to get HA to run on a Synology on Docker. Also I have been able to install the PyLoxone Binding via HACS. Binding is up and is shown under Devices and Entities.
But I don't get any Devices shown.
HACS Version 1.27.1
PyLoxone Version 0.3.14

Do you use the official app from loxone? Do you see devices on the official app? And do you use the same user and password or did you use a different user for ha?

Thanks. I have made a service account in Loxone, but forgot to add the ui rights to that account.
Thanks a lot!


Leftovers from the example warehouse work

The example warehouse work left a few bugs and obvious improvements behind. Wrap those up:

Change tools to match data model changes
Allow several MX and NX servers per DNS domain
Output NS records for reverse zones
Mark IP objects as explicitly IPv4 only (issue #12)

This is the same code as in pull request #14, rebased onto the new master.

Generated DNS zones are all kinds of broken, but apparently were so before this PR.


Cocoapods

I'd be cool to also add Cocoapods support. I done this implementation myself last week for my library. Just follow this post and this checklist.
Lemme know if you need any help! :smile:

You’ve been a big help.
Thanks~


sys/freebsd: add kmq related syscalls

I think you will need to configure the loader to load mqueuefs.ko during boot, same as for ksem.

Added the module mq


Improve soundness of CommandQueue

Objective
This PR aims to improve the soundness of CommandQueue. In particular it aims to:

make it sound to store commands that contain padding or uninitialized bytes;
avoid uses of commands after moving them in the queue's buffer (std::mem::forget is technically a use of its argument);
remove useless checks: self.bytes.as_mut_ptr().is_null() is always false because even Vecs that haven't allocated use a dangling pointer. Moreover the same pointer was used to write the command, so it ought to be valid for reads if it was for writes.

Solution

To soundly store padding or uninitialized bytes CommandQueue was changed to contain a Vec<MaybeUninit<u8>> instead of Vec<u8>;
To avoid uses of the command through std::mem::forget, ManuallyDrop was used.

Other observations
While writing this PR I noticed that CommandQueue doesn't seem to drop the commands that weren't applied. While this is a pretty niche case (you would have to be manually using CommandQueue/std::mem::swapping one), I wonder if it should be documented anyway.

Can you add a test that miri would yell about for the uninit memory case

(std::mem::forget is technically a );
I think you missed part of the sentence here.

(std::mem::forget is technically a );
I think you missed part of the sentence here.

Oh right, I was trying to rephrase it and then suddently std::mem::forget about it. Anyway, I fixed it.

bors r+


⚠ Samsung has degraded performance

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

HTTP code: 200
Response time: 2435 ms

Resolved: Samsung performance has improved in 45d1807.


xSQLServerSetup: Fixed localization support for MDS feature

Pull Request (PR) description

Changes to xSQLServerSetup

Fixed localization support for MDS feature (issue #671).

This Pull Request (PR) fixes the following issues:
Fixes #671
Task list:

[x] Change details added to Unreleased section of CHANGELOG.md?
[ ] Added/updated documentation, comment-based help and descriptions in .schema.mof files where appropriate?
[ ] Examples appropriately updated?
[x] New/changed code adheres to Style Guidelines?
[ ] Unit and (optional) Integration tests created/updated where possible?

This change is

Codecov Report

Merging #672 into dev will not change coverage.
The diff coverage is 100%.

@@         Coverage Diff         @@
##            dev   #672   +/-   ##
===================================
  Coverage    97%    97%
===================================
  Files        30     30
  Lines      3232   3232
===================================
  Hits       3147   3147
  Misses       85     85

Reviewed 3 of 3 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Connection reset

There's a connection reset in the 'ant boot -Daccept.license=true' step.
The issue is in the download of the following script: http://empowersdc.softwareag.com/ccinstallers/cc-def-10.5-latest-lnxamd64.sh
When testing with curl, I get the following:
` curl -v http://empowersdc.softwareag.com/ccinstallers/cc-def-10.5-latest-lnxamd64.sh

Trying <IP_ADDRESS>...
TCP_NODELAY set
Connected to empowersdc.softwareag.com (<IP_ADDRESS>) port 80 (#0)

GET /ccinstallers/cc-def-10.5-latest-lnxamd64.sh HTTP/1.1
Host: empowersdc.softwareag.com
User-Agent: curl/7.61.1
Accept: /

Recv failure: Connection reset by peer
Closing connection 0
curl: (56) Recv failure: Connection reset by peer
`

I tried from multiple machines, different networks but I fear the problem is with the server.

Thank you for reporting this.
Should be fixed now.
Please clone the project again with --recursive, because the issue was in a submodule ( sagdevops-antcc)
The reason was that the empower server was moved from http to https.
Let us know it if works for you

Closing the issue, as there were no reply.
If the issue appears again, feel free to reopen it.
Bisser


.update() method does not update props cache of child wrappers

Problem
The prop or props methods return stale values, even after update is called on the root wrapper.
Expected behaviour
Either the wrapper.update() function should invalidate the props of all wrappers that derive from it, or else .props() should always fetch the props from the adapter, and not rely on a cached version.
See failing test in this PR: https://github.com/airbnb/enzyme/pull/1322.

I just encountered this, and had to do wrapper.update().find('ChildComponent').props() -- which is obnoxious

This is expected behavior in v3; wrappers are immutable.
As for props, are we talking about shallow or mount? A shallow wrapper is what the component renders - so its .props() might update - but a mount wrapper is the component itself - so its .props() will never change, until you use setProps().

I'd like to keep this conversation flowing. I think it's stalled due to confusion. I'm going to do my best to move it forward.

This is expected behavior in v3; wrappers are immutable.

Immutable is an interesting term to use. I might be misunderstanding how it's being applied here. If I do:
console.log(wrapper.props());
setTimeout(() => {
  wrapper.update();
  console.log(wrapper.props());
}, 1000);

And the two logs could result in different values (because there's a timer that's changing stuff inside the component), then is wrapper really immutable? Anyway, maybe we're talking semantics, but if the above is true, then I think what we're saying (though I may be only speaking for myself) is that we would expect this to also be true:
const child = wrapper.find('ChildComponent')
console.log(child.props());
setTimeout(() => {
  wrapper.update()
  console.log(child.props());
}, 1000);

If something happens within the component within the one second lapse in time, and a prop is changed on the ChildComponent, then we would expect the second console.log() to reflect the child's updated properties. In other words, we expect wrapper.update() to not only update wrapper but also any wrappers that were derived from that wrapper through prior selections.
I suspect the answer is still "this is expected behavior", but hopefully this helps clear some confusion?

@Aaronius fair; it's more that wrappers do not automatically update, and specifically, derived wrappers are entirely cut off from the wrapper they originate from.
In practice, this means that you'll always need to re-find from the root, and call .update() on the root, to get an updated wrapper.


Gsoc 2020

Hey, am also interested in making software better than neuzz , i have implemented neural networks and have some projects regarding security and ml?
I want to contribute ? Can u give me guidelines and mentors

please remember to officially register for gsoc2020 at google's project website.
we can only select students who have done this until the deadline. We don't know how many spots we will get, maybe 1-3 students.
Please familiarize yourself with afl++ and fuzzers in general.
Read the readme and check out the tutorials section in the README.
Fuzz something.
Work on an issue in our issue list and send a PR once it is all good and of a good quality.
For machine learning @domenukk is the best to ask.

Thanks, i will explore it more @vanhauser-thc

Can you please give me link of your signal group.

What are your Guidelines and minimum requirements for Submitting a Proposal.

@vanhauser-thc please tell us about some group so that we can disscuss for gsoc2020

@utkarshshri1016 regards the requirements you have to be skilled in C. A software security, compilers or software testing background is very appreciated.
Submitting patches here from the day 1 without knowing the matter is hard, we are reasoning about some easy to solve issues to propose to students before that GSoC starts.
An example is issue #191 , a prerequisite for the grammar mutator, already picked by the guy on the mailing list that expressed interest on the grammar mutator.
Another can be #143 (https://github.com/vanhauser-thc/unicornafl) that involves patching our fork of unicorn engine.
For reaching us do not open issues here, use the mailing list<EMAIL_ADDRESS>The response rate on the weekend will be low of course. We are all in the CET timezone, so if you are in an opposite timezone be prepared for a very late reply.
The Signal group link will be posted here, on Twitter and on the mailing list ASAP, we are just considering if switching to another messaging app case for 4 ppl Signal is fine, but for more is not the best of productivity.

Another easy task, for who is already familiar with QEMU (but I'm here guys and I can tell you what to do), is to add the equivalent of the LLVM CmpLog routines instrumentation (https://github.com/vanhauser-thc/AFLplusplus/blob/master/llvm_mode/cmplog-routines-pass.cc and https://github.com/vanhauser-thc/AFLplusplus/blob/master/llvm_mode/afl-llvm-rt.o.c#L527) to the i386 and arm lifters.
Another appreciated (the most easy stuff) is writing a tutorial that bwill be published here

Another thing that we will appreciate a lot is the generalization of the features to other archs that are not x86/arm. As you can see in the table here many features of QEMU and Unicorn are not available e.g. on MIPS. If you want to pick this ask always for specific code parts to port, I'll tell you.

Thanks @andreafioraldi

I thought it might be interesting for some of you that how ML can be used in hybrid fuzzing.
https://arxiv.org/pdf/2002.08568.pdf

No grp yet for gsoc?? I have used mailing list but no reply .

No grp yet for gsoc?? I used<EMAIL_ADDRESS>but no reply.

@utkarshshri1016 if you are interested in submitting a project proposal please write a short email to gsoc(at)aflplus(dot)plus to receive an informational message about the process

Okk

I added the port of perf-fuzz into AFL++ in the list of proposed ideas. If you are familiar with Linux Kernel programming, this is your proposal.

Another initial task (easy) to start contributing is to reuse freed region as guard pages in libdislocator.
Libdislocator's malloc map a PROT_NONE region after the allocated region (always mmapped) to catch out of bounds accesses.
Libdislocator's free simply marks also the allocated region as PROT_NONE. This allows catching user-after-free bugs but increases the memory overhead.
We want that the allocated regions, when freed (so when mprotected to PROT_NONE) can be resused as guard pages. This keeps the use-after-free detection equal, the region is always PROT_NONE, but there is no the need anymore to allocato extra guard pages. The policy to select freed region can be a simply random.
Be aware of performace! Perf in fuzzing is important, if you code introduce a measurable slowdown  it is not ok. Feel free always to ping me<EMAIL_ADDRESS>@andreafioraldi on Telegram) for question about this warmup proposal to introduce ppl to the codebase.

@domenukk
For the part of integrating ML, do we we have to create it's python based mutator? Or should we have to integrate it in the main code base for detection?

Heavily depends on the actual concept ;)
It might be a custom mutator, it might feed new seeds to afl as separate process, be in the codebase directly, or some other magic.
First, what do we try to achieve?
ML to find better mutations valid for all binaries? -> Some sort of mutator
ML to find specific inputs for a specific binary? -> Drop them in the queue directly, probably
Some better idea XY -> who knows.
Just adding ML because it's cool isn't the goal, it needs an idea first :)

ML for mutations in python seems a very bad idea. Your code has to be very fast, python mutators are a feature that allows fast prototyping of mutators to the users, not somewhat that we use to add features to AFL++.

Thanks for the feedback @domenukk @andreafioraldi
I will try to find a new idea, but it's going to be really tough..

I'm good at C , C++ and Python . I've also done a few small projects on them and I'd rather say that I'm a complete beginner in this field . Would I be selected If I'm just innately curious to bring out something catchy?

@NishanthMolleti  to be able to write useful mutators etc. you need to know what you are doing and be able to test the effect of what you doing on the fuzzing process (and of course, their results). its not super complex rocket science that needs to be studied for years, but it will take a few months to understand how fuzzing works, how afl++ works, get hands-on experience, etc. - so as you have to submit a proposal, you would need that knowledge already to be able to write a good proposal.

@vanhauser-thc sir, interested to participate in this project under GSOC'20.

@ashiscs we expect students to already actively contribute to afl++ prior their final proposal submission so we can see how they code and approach problems, how good they get into the afl++ structure etc. as the end of submitting the final proposal in 5 days plus a good proposal is to be written I don't think that is achievable

Hi! I am new to open source development. I am pretty efficient in c, c++ and shell scripting. I would like to contribute to afl++. Can anyone help me how to start with beginner level fixes here. Thanks!


Parent iteration shows null

Probably should be hidden or something if there is no parent
http://www.screencast.com/t/H34Qc1RM1hc

Verified


Missing entities

Woke up this morning to most of the entities saying they’re no longer available. Running latest version from HACS.

I'm guessing the 2023.1.0? I haven't upgraded yet.

resolved with 1.3.9 release

Disregard, same as issue #45 in explosivo22
/rinnaicontrolr-ha
Toggling maintenance interval fixed the issue.


Memoize SeedImage building

Currently, if I go to the UI and click "Build ISO" a new SeedImage gets created.
Would it make more sense to add some labels/annotations to that SeedImage CR then match the requested config to allow for reuse?

We somehow already do something that could be useful on the backend side: we have annotations tracking the base image, the referenced registration and the cloud init that would allow us to know if we should re-build the ISO or not on SeedImage update.
So, on the UI side keeping the same name for the seedimage  (overwriting it if already present) may work 🤔
( CC @aalves08 )

Could we move this to the ui repo? (I don't have the correct permissions)


Update hooks.md

This PR fixes:
1- Request object broken link.
2- Optional claims loginHint or sid are not required in ssoSilent.

@salman90 This good to be merged?

@salman90 This good to be merged?
I am facing build issues, and PR is not margin automatically.

@jasonnutter @hectormmg @tnorling @sameerag @bmahall  I don't have access if someone can please merge.


Implement delta backups for Cassandra, part 1

Add the concept of a lighter "delta" backup to Astacus. Lighter "delta" backups contain only the data reported as such by the database itself (e.g. via commit logs or Cassandra incremental backups). Compared to the "regular" snapshot-based backups, delta backups:

do not require listing the hexdigest storage to create the backup
do not require to build a full list of files present in the database to determine the diff
can be restored one on top of the other (during node replacement this allows to do "catch-up" on the replacement before draining&removing the old node, decreasing the window of time the cluster is running with RF-1 nodes)

The delta APIs re-use the download and snapshot methods already present, but:

deltas are gathered and uploaded using a different Snapshotter instance targeted at the delta globs
Cassandra incremental backups require the user to remove the incremental files once the user's done with them, so an additional Clear step is added at the end

This PR is also an invitation to a discussion: do we need a separate "delta backup" concept in Astacus? My main "pro" arguments are:

enables the "catch-up" behavior during replacement
looks more natural in a PITR context (technically one could increase backup frequency to "each 5 minutes" and include the commitlogs since the latest full backup to allow restoring to "somewhere in between", but that looks a bit counterintuitive: why would a snapshot include something that depends on a previous snapshot?)
doesn't require to iterate through all the files (and hexdigests) every time we want to do a backup (might not be compelling enough on it's own, but it's a nice bonus)

So is the idea that you would say once a day do a "full" backup (which is like the checkpoint) and then very frequently do the delta backups and then when restoring download the latest full backup and all the delta backups that occurred after that time?
I think this is great, makes sense to me.  The delta backups are quite different and I think trying to shoehorn them into the existing backups is probably not a good idea.

Codecov Report

Merging #138 (03d3641) into master (c0cc73c) will increase coverage by 0.76%.
Report is 147 commits behind head on master.
The diff coverage is 86.28%.

@@            Coverage Diff             @@
##           master     #138      +/-   ##
==========================================
+ Coverage   87.02%   87.79%   +0.76%
==========================================
  Files         122      136      +14
  Lines        7648     9113    +1465
==========================================
+ Hits         6656     8001    +1345
- Misses        992     1112     +120

Files Changed
Coverage Δ

astacus/coordinator/plugins/flink/plugin.py
0.00% <0.00%> (ø)

astacus/server.py
0.00% <0.00%> (ø)

setup.py
0.00% <ø> (ø)

tests/system/test_astacus.py
100.00% <ø> (ø)

tests/unit/coordinator/test_cleanup.py
94.28% <ø> (ø)

version_from_git.py
0.00% <0.00%> (ø)

...tion/coordinator/plugins/clickhouse/test_plugin.py
28.83% <28.81%> (-11.36%)
:arrow_down:

...tion/coordinator/plugins/clickhouse/test_client.py
36.36% <36.36%> (-4.07%)
:arrow_down:

astacus/client.py
15.58% <43.75%> (+3.77%)
:arrow_up:

astacus/coordinator/plugins/m3db.py
86.36% <50.00%> (-3.36%)
:arrow_down:

... and 89 more

... and 4 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
:loudspeaker: Have feedback on the report? Share it here.

I'm also not sure the multiple snapshotter in the state and the clear operations align well with https://github.com/Aiven-Open/astacus/pull/139

took a look, I don't see any major issues, just introduce a delta Snapshot under a different key in app state and it should work. Could you maybe pinpoint some specific issue?


Is it possible to continue previous downloads?

I thought that would the case when I see that the session is saved but I see that I misunderstood that function
Sometimes when I'm deep in the download process (3900/4785) ,I have to leave for an extended period of time and the conmputer is usually turned off. When I restart the program, is just cycles tthrough everything reporting that it exists and the json is unchanged for every single item until I reach the place I left off. Is there anyway around this

No, it is not yet possible to resume a stopped Instaloader instance. However I like the idea, maybe we could save the end_cursor or some other information in a file to resume downloads. It requires some experiments though - I leave this issue open as feature suggestion for when someone finds the time to work on this.
The "session" it saves refers to the http session cookie which Instagram generates to identify your login, Instaloader saves it to avoid having to type in the password everytime.

This is absoultely what I need because after gettin too many requests error, I have to start from beginning which only checks the same posts again (with False return) and get the same error after a while. If you have time, you can start the code every week (or adapt for your hashtag) but if you don't have time, you get stuck.
By the way, @aandergr thank you very much for the package, it helped a lot.

This is implemented with #732 now.


How to add Depends for the docs page (openapi.json)?

First check

[*] I added a very descriptive title to this issue.
[*] I used the GitHub search to find a similar issue and didn't find it.
[*] I searched the FastAPI documentation, with the integrated search.
[*] I already searched in Google "How to X in FastAPI" and didn't find any information.
[*] I already read and followed all the tutorial in the docs and didn't find an answer.
[*] I already checked if it is not related to FastAPI but to Pydantic.
[*] I already checked if it is not related to FastAPI but to Swagger UI.
[*] I already checked if it is not related to FastAPI but to ReDoc.
[*] After submitting this, I commit to one of:

Read open issues with questions until I find 2 issues where I can help someone and add a comment to help there.
I already hit the "watch" button in this repository to receive notifications and I commit to help at least 2 people that ask questions in the future.
Implement a Pull Request for a confirmed bug.

Description
Is there a way to add a dependency to the openapi.json endpoint? I want to implement an IP whitelist for the docs, so only certain people can view the documentation?
Only way i know how to do this is via a nginx configuration, but I want to do implement the whitelist in the application.
Environment

OS: [Windows 10]:
FastAPI Version [0.61.1]:

Do you want to add a whitelisting to the openapi.json or to /docs or both?

@ycd /openapi.json, as that will block all access to the docs

Well you can override the /openapi.json path and add a basic check.
from fastapi import FastAPI, Request, HTTPException

from fastapi.responses import JSONResponse
from fastapi.openapi.utils import get_openapi

WHLITELISTED_IPS = ["<IP_ADDRESS>"]

app = FastAPI(openapi_url=None)

def check_ip(request):
    if request.scope["client"][0] in WHLITELISTED_IPS:
        return True
    return False

@app.get("/openapi.json")
async def get_openapi_json(request: Request):
    if check_ip(request):
        return JSONResponse(get_openapi(title="FastAPI", version=1, routes=app.routes))
    raise HTTPException(status_code=401, detail="Unauthorized request.")

Maybe:
return JSONResponse(get_openapi(title="FastAPI", version=1, routes=app.routes)) -> return JSONResponse(app.openapi_schema)

@ycd @Kludex
Thanks for your help, but this does not work. When openapi_url=None, fastapi skips a lot of steps, like the creation of the docs and redoc page.
I have figured out a way how to do it, but it's very very hacky: We let fastapi create the openapi endpoint, but after fastapi's initialization, we remove the route and replace it with our own. I agree this is bad code practice, but its a valid workaround in my opinion.
from fastapi import FastAPI, Request, HTTPException

from fastapi.responses import JSONResponse
from fastapi.openapi.utils import get_openapi

WHLITELISTED_IPS = ["<IP_ADDRESS>"]

app = FastAPI()

# All the routes are stored in app.routes
for route in app.routes:
    # Check if route is an instance of the class Route and not of any other class like BaseRoute
    # AND check if the name of the route is openapi
    if route.__class__ == Route and route.name == 'openapi':
        # Remove the route from the list
        app.router.routes.remove(route)

def check_ip(request):
    if request.scope["client"][0] in WHLITELISTED_IPS:
        return True
    return False

# Create a new openapi route, after the default one has been removed
@app.get("/openapi.json")
async def get_openapi_json(request: Request):
    if check_ip(request):
        return JSONResponse(get_openapi(title="FastAPI", version=1, routes=app.routes))
    raise HTTPException(status_code=401, detail="Unauthorized request.")

When openapi_url=None, fastapi skips a lot of steps, like the creation of the docs and redoc page.

Expected, we create Redoc and Swagger using get_redoc_html and get_swagger_ui_html and we are setting it to None.
I'd still prefer this.
from fastapi.openapi.docs import get_swagger_ui_html, get_redoc_html

@app.get("/docs")
async def get_documentation():
    return get_swagger_ui_html(openapi_url="/openapi.json", title="docs")

@app.get("/redoc")
async def get_documentation():
    return get_redoc_html(openapi_url="/openapi.json", title="docs")

@ycd Sure, but there's a lot more code in the fastapi initialization, like the oauth redirection
For now I like my solution better because i don't feel like copying all the code from the FastAPI class.
Both solutions will work, but yours requires a lot more code to work for me.

Thanks for the help here everyone! :clap: :bow:
Thanks for reporting back and closing the issue :+1:


Have krb5.init_context() raise an exception on error.

krb5.init_context() currently just returns a null pointer if the C routine fails, which is unlike the norm in this module and I assume is an oversight. Typically this will fail if there's a syntax error in the libkrb5 configuration (/etc/krb5.conf, or whatever is read). A program using pykrb5 that I wrote segfaulted in this situation, because I then passed the null context to other routines. With this change, we get instead:
In [2]: ctx = krb5.init_context()
---------------------------------------------------------------------------
Krb5Error                                 Traceback (most recent call last)
...
Krb5Error: Included profile file could not be read -1429577697

I assume is an oversight

Yea I have no idea why I didn't do this but thank you for picking this up and fixing this.


Support Dart v2 zone API - in v4

Merged internally.

This is for a +1 release on the v4 channel.
Fixes the health score. See https://pub.dartlang.org/experimental/packages/angular#-analysis-tab-

TBR @ferhatb


FR: Disable/change hotkey for selecting block

I often need to select all the text in the note, but this overrides that. Is there a way around this?

I was thinking about having a double hotkey ctrl-a ctrl-a to select all text. I won't be able to work on this for about a month though, so feel free to make a PR if you would like.
For now, you can do ctrl-home then ctrl-shift-end to select all.

I don't really understand why the hotkey ctrl+a was chosen since it's such a fundamental one... I think I'll just be removing this extension.

I almost never need to select an entire note, and ctrl-a for selecting a whole block makes sense to me. It's also what Notion uses, which is what I based some of the features here from. What do you select an entire note for?

Overridding a pretty important key like this is a big bad idea imo..…

I never really need to select an entire note so I thought overriding ctrl-a was fine, I guess others use it though :)
Thanks for the PR @Lisandra-dev !! I'll take a look at it soon
Probably won't be able to test it for a while though. @huachuman and whoever else that may stumble on this comment: if you want, you can go back to release 1.0.0, which had select block as a command, and you can set your own hotkey there. I was told to change it from a command to an editor extension (which is harder to change hotkeys for) before this plugin got merged, because it causes problems with trying to select all in contexts other than a note.


Update PyQUBO version to 1.1.0

PyQUBO is updated so that it contains wheels for Apple Silicon.
https://github.com/recruit-communications/pyqubo/releases/tag/1.1.0

Hi @kotarotanahashi , we just merged a refactor of our setup.py (#177) that conflicts with this PR, can you rebase?
Also, we would like the sdk to also support aarch64 linux and python 3.10. See https://github.com/dwavesystems/dwave-preprocessing/pull/38 for an example of how we implemented it. Though I believe you use github workflows rather than circleci.

@arcondello
I will create a new pull request for the current master branch.

Also, we would like the sdk to also support aarch64 linux and python 3.10. See dwavesystems/dwave-preprocessing#38 for an example of how we implemented it. Though I believe you use github workflows rather than circleci.

OK, I will add wheel for aarch64 and Python 3.10 in the next version.


Stack Size Limit

In addition to # similar item stacks,
Would an option to limit the stack size be possible.
While there are some like this (that limit # of stacks) and some that limit stack size,  only mod I can find that is supposed to limit both is Variety Matters: Stockpile  and atleast with LWM DS and PUAH,  it seems to bug out,  and very often ignore buth #stacks and stack size limits.

Thanks @laughingowl i finally realized who you are and added you on Steam! :) Doing some mod cleanup this weekend for 1.4 and am currently taking a peek at this.
I see that someone already tried adding it in a fork here: https://github.com/Tmq5521/RimWorld-KanbanStockpile
If I can get that to merge with my latest 1.4 branch, I may do an un-official release of the mod for you to try out. I don't know if that patch is multiplayer compatible or not, and TBH I am not sure the status of MultiPlayer Mod for 1.4 yet.
References

Steam Workshop KanbanStockpile Discussion

@laughingowl - I managed to merge the code from Tmq5521 and it seems to work in my limited testing!  Let me know if this suits your needs - especially with all the changes in 1.4.
I do this for fun, but if you wanted to support feel free to check out my "pay what you want" eBook of mystical poetry over at emptyduck.com xD
Cheers and thanks for your patience and good documentation of feature request!

Thanks @Tmq5521 for your contribution! I've released KanbanStockpile mod version v1.1.1 with your implementation and updated for Rimworld v1.4.
I added your name and give you full credit for this feature! Thanks and cheers!


how to more times incremental learning

Thank you for you good working! i try to work on my datasets 2cls + 5cls, and it's work!. But when i use ft after 2+5 to train more 4 cls, before 7 cls is not work  , ap = 0, so i want to know  how to work on （（2 + 5) + 4 ）+ 6 ......

Hi @lvjs-ut : Glad to know that 2cls + 5cls works well!
For any custom setting, you may have to adjust the hyper-parameters (learning rate, number of iterations for training, etc.) accordingly.
Please reopen if you are still facing troubles.


[iOS] Build fail when rebuilding the scheme

Hi there,
This is a comment rather than an issue to improve the documentation from the README file.
On the "Xcode post installation steps", it's mentioned to remove the scheme and add it again so it rebuilds. It turns out my project wasn't compiling on Xcode (neither command line) any more after that. When the project is originally created, the scheme includes the build of React, which is not included by default when adding the scheme again.
KazuyaHara solution in this issue did work for me:
https://github.com/luggit/react-native-config/issues/86
In any case this is my system information:
RCT: 16.0.0-alpha.6
RN: 0.44.0
RN-FCM: 6.2.3
Issue detected on:
Xcode 8.3.2
macOS: 10.12.5
App not compiling

you don't have to do that anymore. I've removed from readme.
please reopen the issue if you have more question


Pypi metadata - #458

Sorry about the confusion guys. I opened #458 and committed it all to master. I didn't realize that rewinding the commits and force pushing them automatically closed the pull request, so I began doing that when I wanted to work on other parts of this repo.
This was simply a misunderstanding on how github handles pull requests, and I realized that it's WAY easier to handle things cleanly on all separate branches.
So with that being said, I'm resubmitting the commits from #458 and wanna apologize for my confusion in this.

No worries, we are indulging hacktoberfest as an allowed fun (temporarily).

Hahaha FWIW this wasn't a hacktoberfest thing. I genuinely misunderstood how GitHub handled committing directly to master and accidentally closed my own PRs but I'm also glad to see that there's some interest in this PR (at least I think).

Looks mostly out of date, but an updated (and perhaps less verbose) PR would be welcome.


Update extension to target Node 10.2

Change target to ~es2017~ es2018
Change libs to es2015, es2016, es2017, es2018

Check https://node.green/

Check version of node shipped with VS Code (depends on version of Electron used by VS Code)

Will also need optionally udpate data science React code

This might be a possibility when VSC moves to Electron 3, soon.

Solution:

Modify tsconfig accordingly
Modify Azdo to use Node 10.xx (check version defined in contributing doc of VSC)
Update our contributing docs
Ensure we use nvm


[WebTestCaseAssertIsSuccessfulRector] Add test for constant (#250)

Add failing test for #250
I think the fix might be in ValueResolver from PhpParser as we use isValue to check if the constant is equal to int. But maybe we should also resolve the constant values?

I also added a test for WebTestCaseAssertResponseCodeRectorTest which uses same ValueResolver so also fails

@TomasVotruba maybe you can give a hit on where to look?

I did some more digging and found that resolveExprValueForConst in ValueResolver doesn't give the constant value back but you get Symfony\Component\HttpFoundation\Response::HTTP_OK maybe that is expected and i should use different functionality to get the value? Maybe @samsonasik have some insight on this?

You need to register constant into stub class at https://github.com/rectorphp/rector-symfony/tree/main/stubs/Symfony/Component/HttpFoundation

I changed the Response.php in my vendor folder but i still get value Symfony\Component\HttpFoundation\Response::HTTP_OK"

@TomasVotruba can you add hacktober label HACKTOBERFEST-ACCEPTED? just like in https://github.com/rectorphp/rector-symfony/pull/252#issuecomment-1265038904 :)

@JohJohan please update PR title, to something like
[Symfony] Add constant int value support on WebTestCaseAssertIsSuccessfulRector

THank you :clap:

@TomasVotruba can you add hacktober label HACKTOBERFEST-ACCEPTED? just like in #252 (comment) :)

@TomasVotruba thanks for merging can you have a look at ^?

@JohJohan Sure, done :hugs:


Update README.md

what

Clarified where to download the zip during manual installation.
Fix zip link

why
It may be used by users who are new to github. At that time, you may mistakenly download the zip for repository clone. I want to prevent this.

Thanks, @ShortArrow!


Collapse branch views

Collapse brach view and file view
PR for #100

Tested and works in my case, good work!


Sample app, my location broken

My location in the sample app doesn't appear to do anything

Helps if you turn on gps


[Azure Monitor OpenTelemetry Distro] Rename azureMonitorExporterConfig

Addressing API review requested changes

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-monitor-opentelemetry


Trying to add hook on __NR_openat

Hi @jha Just for fun, I am trying to add hook on __NR_openat. Unfortunately, there are a memory issue. Can you check with me ?
I'm testing on 5.3.0-46-generic kernel
Thanks for your work.
In module.c :
    sys_hook_add64(lkh_sys_hook, __NR_openat, (void *)openat_hook);
In hook.h :
typedef asmlinkage long (*original_sys_openat)(int, const char *, int, umode_t);
asmlinkage long openat_hook(int, const char *, int, umode_t);

In hook.c :
asmlinkage long openat_hook(int fds, const char *filename, int flags, umode_t mode) {
    original_sys_openat sys_openat;

    printk(KERN_INFO "tde : In my SYS_OPEN !!!\n");
    printk(KERN_INFO "tde : NR OPEN %d\n", __NR_openat);
    sys_openat = (original_sys_openat)sys_hook_get_orig64(lkh_sys_hook, __NR_openat);

    return sys_openat(fds, filename, flags, mode);
}

Logs from dmesg :

[Mon Apr 27 11:08:23 2020] lkh: loading out-of-tree module taints kernel.
[Mon Apr 27 11:08:23 2020] lkh: module verification failed: signature and/or required key missing - tainting kernel
[Mon Apr 27 11:08:23 2020] lkh initializing...
[Mon Apr 27 11:08:23 2020] lkh loaded
[Mon Apr 27 11:08:23 2020] tde : In my SYS_OPEN !!!
[Mon Apr 27 11:08:23 2020] tde : NR OPEN 257
[Mon Apr 27 11:08:23 2020] BUG: unable to handle page fault for address:<PHONE_NUMBER>2f3fb8
[Mon Apr 27 11:08:23 2020] #PF: supervisor read access in kernel mode
[Mon Apr 27 11:08:23 2020] #PF: error_code(0x0000) - not-present page
[Mon Apr 27 11:08:23 2020] PGD 0 P4D 0
[Mon Apr 27 11:08:23 2020] Oops: 0000 [#1] SMP PTI
[Mon Apr 27 11:08:23 2020] CPU: 1 PID: 504 Comm: systemd-udevd Tainted: G           OE     5.3.0-46-generic #38~18.04.1-Ubuntu
[Mon Apr 27 11:08:23 2020] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1ubuntu1 04/01/2014
[Mon Apr 27 11:08:23 2020] RIP: 0010:__x64_sys_openat+0x6/0x30
[Mon Apr 27 11:08:23 2020] Code: 60 8b 77 28 bf 9c ff ff ff 48 89 e5 80 ce 80 e8 d0 fc ff ff 5d c3 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 <8b> 57 60 0f b7 4f 38 48 8b 77 68 48 8b 7f 70 48 89 e5 80 ce 80 e8
[Mon Apr 27 11:08:23 2020] RSP: 0018:ffffa7d4402f3ef8 EFLAGS: 00010246
[Mon Apr 27 11:08:23 2020] RAX: ffffffff8a2cb7b0 RBX:<PHONE_NUMBER>2a0000 RCX:<PHONE_NUMBER>000000
[Mon Apr 27 11:08:23 2020] RDX: 00000000e258c63a RSI:<PHONE_NUMBER>000000 RDI:<PHONE_NUMBER>2f3f58
[Mon Apr 27 11:08:23 2020] RBP: ffffa7d4402f3f28 R08:<PHONE_NUMBER>000285 R09:<PHONE_NUMBER>000004
[Mon Apr 27 11:08:23 2020] R10:<PHONE_NUMBER>000000 R11:<PHONE_NUMBER>000001 R12:<PHONE_NUMBER>2f3f58
[Mon Apr 27 11:08:23 2020] R13:<PHONE_NUMBER>000000 R14: 00000000e258c63a R15:<PHONE_NUMBER>000000
[Mon Apr 27 11:08:23 2020] FS:  00007fca0ba55680(0000) GS:ffff96713ba80000(0000) knlGS:0000000000000000
[Mon Apr 27 11:08:23 2020] CS:  0010 DS: 0000 ES: 0000 CR0:<PHONE_NUMBER>050033
[Mon Apr 27 11:08:23 2020] CR2:<PHONE_NUMBER>2f3fb8 CR3:<PHONE_NUMBER>484002 CR4:<PHONE_NUMBER>3606e0
[Mon Apr 27 11:08:23 2020] Call Trace:
[Mon Apr 27 11:08:23 2020]  ? openat_hook+0x5a/0x63 [lkh]
[Mon Apr 27 11:08:23 2020]  do_syscall_64+0x5a/0x130
[Mon Apr 27 11:08:23 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[Mon Apr 27 11:08:23 2020] RIP: 0033:0x7fca0b558c8e
[Mon Apr 27 11:08:23 2020] Code: 25 00 00 41 00 3d 00 00 41 00 74 48 48 8d 05 81 0c 2e 00 8b 00 85 c0 75 69 89 f2 b8 01 01 00 00 48 89 fe bf 9c ff ff ff 0f 05 <48> 3d 00 f0 ff ff 0f 87 a6 00 00 00 48 8b 4c 24 28 64 48 33 0c 25
[Mon Apr 27 11:08:23 2020] RSP: 002b:00007ffc47b4d290 EFLAGS: 00000246 ORIG_RAX:<PHONE_NUMBER>000101
[Mon Apr 27 11:08:23 2020] RAX: ffffffffffffffda RBX: 00005647e341f390 RCX: 00007fca0b558c8e
[Mon Apr 27 11:08:23 2020] RDX:<PHONE_NUMBER>2a0000 RSI: 00005647e258c63a RDI: 00000000ffffff9c
[Mon Apr 27 11:08:23 2020] RBP: 00005647e340fcd0 R08: 00000000fec08000 R09: 5f48544150564544
[Mon Apr 27 11:08:23 2020] R10:<PHONE_NUMBER>000000 R11:<PHONE_NUMBER>000246 R12: 00005647e258c63a
[Mon Apr 27 11:08:23 2020] R13: 00000000ffffffff R14:<PHONE_NUMBER>000000 R15:<PHONE_NUMBER>000001
[Mon Apr 27 11:08:23 2020] Modules linked in: lkh(OE) intel_rapl_msr snd_hda_codec_generic ledtrig_audio snd_hda_intel intel_rapl_common snd_intel_nhlt snd_hda_codec snd_hda_core snd_hwdep snd_pcm joydev input_leds serio_raw snd_timer qemu_fw_cfg snd soundcore mac_hid sch_fq_codel ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear crct10dif_pclmul crc32_pclmul ghash_clmulni_intel hid_generic qxl ttm drm_kms_helper syscopyarea aesni_intel usbhid sysfillrect sysimgblt virtio_net fb_sys_fops net_failover aes_x86_64 crypto_simd cryptd drm pata_acpi psmouse failover glue_helper hid i2c_piix4 virtio_blk floppy

@akrogames sorry to bother you, can u please tell me how to use this project ?I'm a beginner .THANKS

@akrogames I have solved your problem

Hello @PeterBishop0 thanks for your answer and so sorry for the delay in my reply. I have found a solution too. Do you have the same ?
The issue was the syscall prototype was wrong on modern kernel. The new prototype is :
asmlinkage long openat_hook(const struct pt_regs *regs)
And that's work :)

Yes,same solution,Thanks for replying!
akrogames<EMAIL_ADDRESS>于2020年5月27日周三 上午3:17写道：

Hello @PeterBishop0 https://github.com/PeterBishop0 thanks for your
answer and so sorry for the delay in my reply. I have found a solution too.
Do you have the same ?
The issue was the syscall prototype was wrong on modern kernel. The new
prototype is :
asmlinkage long openat_hook(const struct pt_regs *regs)
And that's work :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jha/linux-kernel-hook/issues/2#issuecomment-634224209,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH3PRQDNKQYBOFBLQV5HOITRTQITXANCNFSM4MSDP4LQ
.


Visualize point cloud segmentation results in Omniverse

How do I visualize point cloud segmentation results with USD? I noticed that in add_pointcloud_batch, the colors and semantic_ids are marked as not implemented. When will they be added to the repo? Is there a workaround?
Thanks in advance!

Thanks for using Kaolin! This feature is planned and we'll update the bug when it is available.

Hi @haohlin , thank you for your interest in Kaolin! Currently, this feature is under development. Once merged, you are able to visualize pointclouds with colors in Omniverse Kit in the format of UsdGeomPoints.

Hi @haohlin , thank you for your interest in Kaolin! Currently, this feature is under development. Once merged, you are able to visualize pointclouds with colors in Omniverse Kit in the format of UsdGeomPoints.

Any updates on this? Is there something it could be possible to contribute?


Updated serialport dependency

fixes #90

Hi @hrueger, can you run npm install to make sure the package-lock.json file is in sync and then commit those changes? That should keep the CI happy.


Fix BCFtools consensus generation and masking

Check Documentation
I have checked the following places for your error:

[X] nf-core website: troubleshooting
[X] nf-core/viralrecon pipeline documentation

Description of the bug
bcftools consensus fasta is renamed before consensus and masking command, so no variants are included in the consensus nor is masked. Reference genome is rendered.
We'll fix this.

Fixed in https://github.com/nf-core/viralrecon/pull/255 https://github.com/nf-core/viralrecon/pull/256
Are we ok to close this @saramonzon @svarona ?

Yep! I think everything seems fine here!


⚠ Bofrost.ch has degraded performance

In 6548bcd, Bofrost.ch (https://www.bofrost.ch) experienced degraded performance:

HTTP code: 200
Response time: 2485 ms

Resolved: Bofrost.ch performance has improved in ba01249 after 26 minutes.


Fix API documentation bugs

Description
I went through the Doxygen warnings and these stood out as particular trivial problems to fix. Most warnings are due to not documenting return values which is less trivial and can be dealt with in a later PR.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 51.884%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
10468

Relevant Lines:
18998

💛  - Coveralls


Evga fix, webpage toggle, and sound notification

Description
feat: add sound notification ding
feat: toggle for opening webpage (good for if you're trying to run this on a VM or server)
fix: evga; add individual cards, rather than the whole search page for the 3080
New dependencies
"play-sound": "^1.1.3",

I heavily suggest that the notification sound is https://www.youtube.com/watch?v=gjVmeKWOsEU

Otherwise, great contribution. Thank you!


a question about LocomotionMPC_qpoases.m line192

hi vincip,
I am learning about your code. And I find your code in LocomotionMPC_qpoases.m line192 is different from what i derived. Equ1 3 and 4 are same, but equ 2 is a little different.
What i derived is  [0, -lt, -mu*lt]*R_foot_R',     zeros(1,3),        [0, -mu,       1           ]*R_foot_R',   zeros(1,3);
Wait for your response, thanks in advance.
tenghui wang
A_LF2 = 1*[ [0, lt, -mu*lt]*R_foot_R',      zeros(1,3),                     [0, -mu, -1]R_foot_R',     zeros(1,3); %%1
zeros(1,3),                     [0, lt, -mult]*R_foot_L',      zeros(1,3),                 [0, -mu, -1]R_foot_L';
[0, -lt, -mult]*R_foot_R',     zeros(1,3),                     [0, -mu, -1]R_foot_R',     zeros(1,3);%%2?
zeros(1,3),                     [0, -lt, -mult]*R_foot_L',     zeros(1,3),                 [0, -mu, -1]R_foot_L';
[0, lh, -mulh]*R_foot_R',      zeros(1,3),                     [0, mu, 1]R_foot_R',       zeros(1,3);%3
zeros(1,3),                     [0, lh, -mulh]*R_foot_L',      zeros(1,3),                 [0, mu, 1]R_foot_L';
[0, -lh, -mulh]*R_foot_R',     zeros(1,3),                     [0, mu, -1]R_foot_R',      zeros(1,3);%4
zeros(1,3),                     [0, -lh, -mulh]*R_foot_L',     zeros(1,3),                 [0, mu, -1]*R_foot_L'];

Hi sanbens, thanks for reaching out. To be fair with you this particular section was taken from another project, namely https://github.com/DRCL-USC/Hector_Simulation. The main goal of our work was to focus more on navigation algorithm and high level tasks. I'm not sure i'm fully able to reply to your question, can you maybe explain your derivations?


server drops connection when client disconnects

expected behavior is to keep the socket open and wait for the client to reconnect

fixed


fix参数encoder_reparameterization_type

This might be an easily overlooked issue of character loss. I'll fix it.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Timers seem to hang, and act window becomes unresponsive

this happens with levi and titan savage where the timers just stop progressing. like i'm done for the night and the timers are still displayed but stuck like this https://i.imgur.com/M5pqui1.png.
It also screws up my taskbar icon when this happens, i have a number of shortcuts on my taskbar and when the timers hang i start seeing duplicate icons or icons out of place or for example right now i have 2 times on my taskbar right now https://i.imgur.com/ZhRrGIl.png.
audio queues get put through and my dps overlay works same as trigonometry ( which i use to track raid buffs)
this is rather peculiar.
another edit went into normal decent and the bars froze again the text on the timer bars changed colour to black and then disappeared. kind of flashed and then went blank, and tried to start up again and then froze, the act window is unresponsive and the frozen bars are blank and sitting here/ https://i.imgur.com/oPm8xvg.png.
I might just reinstall act and see if it keeps happening.
After fresh install ran a normal eden's prime and act threw up 131 error boxes and broke my alt tab. i mean alt tab still works i just can't see what i'm swapping to any more until i let go of alt tab. pretty neat. it also buggered all my icons and windows adding lines and black bars in many places. it all cleaned up once i close act through the task manager though  oh here's one of the errors
251|2019-09-25T04:51:52.0352583-04:00|ERROR: A device attached to the system is not functioning, STACK=   at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)    at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)    at FFXIV_ACT_Plugin.Overlay.OverlayManager.ShowOverlay(OverlayType type)    at FFXIV_ACT_Plugin.Overlay.OverlayData.Run(Object parameter)|6720d4af31fd2396b9059194c37d804f
they are all the mostly the same line just slightly different time stamps.
hmm i use mudfish do you think that's causing issues? i know it used to mess with logs, but my combat logs are fine.
just going to keep cataloguing until i stumble upon the fix.
had an unknown device sitting in device manager, couldn't hazard what it was all my devices were working fine, so i uninstalled it. went into another normal raid. froze again.  going to try sans mudfish.
mudfish is not the problem.
now i'm really stumped. my task manager after the last freeze https://i.imgur.com/pMhPCDF.png
and another set of errors in the network log `251|2019-09-25T06:09:03.4820341-04:00|ERROR: A device attached to the system is not functioning, STACK=   at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)    at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)    at FFXIV_ACT_Plugin.Overlay.OverlayManager.ShowOverlay(OverlayType type)    at FFXIV_ACT_Plugin.Overlay.OverlayData.Run(Object parameter)|6ebaa15933e4651b9a6ae14f87003e7b
saga may be over.
seems i can't run trigonometry with cactbot or my act explodes.
and now for my quest to find a happy medium.

Interesting; I don't really have much to say except that I can use the combination of Triggernometry/Cactbot/Mudfish without issue personally.
A device attached to the system is not functioning feels extremely concerning.

yeah stuff works fine until trigonometry is added to the mix, this like 50 errors. i wish i knew what the problem was could it be my cpu i wonder? it's probably the oldest component along with my mobo in my computer. Intel core i5 2500k @ 3.3 ghz. but when i look at the load my cpu isn't even that high, i got 16 gigs of ram and that's not being tasked either, gpu is capped usually but that's normal. temps are normal all around as well.  I really wish I could figure this out.


New Create React App does not include src & public folders

Tried all the solutions regarding this like uninstalling create react app, npm and even node but the issue still prestists.
Tried with npx command too as suggest by others
npx create-react-app@latest my-app
I'm using Windows 10
Node Version - 12.16.1
NPM Version - 6.14.4
Can you let me how to install REACT using  Create React App

What error are you getting? I see this error:
warning react-scripts > workbox-webpack-plugin > workbox-build > strip-comments > babel-plugin-transform-object-rest-spread > babel-runtime ><EMAIL_ADDRESS>core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
[2/4] 🚚  Fetching packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/rxjs/-/rxjs-6.5.5.tgz: Request failed \"404 Not Found\"".

**> What error are you getting? I see this error, which seems npm related:

warning react-scripts > workbox-webpack-plugin > workbox-build > strip-comments > babel-plugin-transform-object-rest-spread > babel-runtime ><EMAIL_ADDRESS>core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
[2/4] 🚚  Fetching packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/rxjs/-/rxjs-6.5.5.tgz: Request failed \"404 Not Found\"".
```**

Issue is when trying to install REACT its does install and creates package.json, node_modules and showing msg 'Done' but its not creating src & public folders.

@Azaar-Zaigo can you try and use npm init react-app and show the npm error, I'm getting similar issue on ubuntu 18.04, but no issues on my mac, see #8775 if this is related to yours?
I get an error that there is a malformed JSON file some where, it seems like yarn is just swallowing the error.

I'm also using ubuntu 18.04 and I'm having the same issue.
When I run npm init react-app I get asked to try the create-react-app comment
This is my output.
martin@martin-Apollo:~/projects/react$ npm init react-app
Please specify the project directory:
  create-react-app <project-directory>

For example:
  create-react-app my-react-app

Run create-react-app --help to see all options.```

I am using windows 10, tried 10 to 20 times always src, public folder is not creating.
uninstall create-react-app globally, uninstall node and reinstall node, nothing helping...

npx<EMAIL_ADDRESS>my-app2
[1/4] Resolving packages...
[2/4] Fetching packages...
info<EMAIL_ADDRESS>The platform "win32" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.ackages. This might take a couple of minutes.
info<EMAIL_ADDRESS>The platform "win32" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "react-scripts > @typescript-eslint/eslint-plugin ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>|| >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 13 new dependencies.
info Direct dependencies
├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>└─<EMAIL_ADDRESS>info All dependencies
├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>└─<EMAIL_ADDRESS>Done in 92.57s.
package.json
{
"name": "my-app2",
"version": "0.1.0",
"private": true,
"dependencies": {
"cra-template": "1.0.3",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-scripts": "3.4.1"
}
}

@Karthick-Ramanathan  did you fix the problem?  I have the same issue and couldn't solve it, I tried  clearing the cache and uninstall -g create-react-app
using also yarn create-react-app doesn't work as wall

@Yehudityaacov, No I can't able to fix the issue, I got the create-react-app empty project from my friend and continue using it.

Issue continues, new react prj is not creating scr & public folder after installation on windows. Is any got solution for this.

info<EMAIL_ADDRESS>The platform "win32" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The platform "win32" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "react-scripts > @typescript-eslint/eslint-plugin ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>|| >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
same problem,src and public folders are not created... tried everthing
anybody help

@Yehudityaacov, No I can't able to fix the issue, I got the create-react-app empty project from my friend and continue usin

@Yehudityaacov, No I can't able to fix the issue, I got the create-react-app empty project from my friend and continue using it.

how did you get it?can you help me with it

me to facing the same issue from past few days , still not solved.

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...

<EMAIL_ADDRESS>postinstall F:\my-app\node_modules\babel-runtime\node_modules\core-js
node -e "try{require('./postinstall')}catch(e){}"

<EMAIL_ADDRESS>postinstall F:\my-app\node_modules\core-js
node -e "try{require('./postinstall')}catch(e){}"

<EMAIL_ADDRESS>postinstall F:\my-app\node_modules\core-js-pure
node -e "try{require('./postinstall')}catch(e){}"

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>added 1602 packages from 751 contributors and audited 1606 packages in 123.846s

61 packages are looking for funding
run npm fund for details
found 1 low severity vulnerability
run npm audit fix to fix them, or npm audit for details

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...

<EMAIL_ADDRESS>postinstall F:\my-app\node_modules\babel-runtime\node_modules\core-js
node -e "try{require('./postinstall')}catch(e){}"

<EMAIL_ADDRESS>postinstall F:\my-app\node_modules\core-js
node -e "try{require('./postinstall')}catch(e){}"

<EMAIL_ADDRESS>postinstall F:\my-app\node_modules\core-js-pure
node -e "try{require('./postinstall')}catch(e){}"

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>added 1602 packages from 751 contributors and audited 1606 packages in 123.846s

61 packages are looking for funding
run npm fund for details
found 1 low severity vulnerability
run npm audit fix to fix them, or npm audit for details

"what i do?"

info<EMAIL_ADDRESS>The platform "win32" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The platform "win32" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "react-scripts > @typescript-eslint/eslint-plugin ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>|| >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
same problem,src and public folders are not created... tried everthing
anybody help

Same issue. Did you figure out anything ?


Develop

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 2
- Added 19

See the complete overview on Codacy


edited typos

[x ] I have read freeCodeCamp's contribution guidelines.
[x ] My pull request has a descriptive title (not a vague title like Update index.md)
[x ] My pull request targets the master branch of freeCodeCamp.
[x ] None of my changes are plagiarized from another source without proper attribution.
[ x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Congrats @tasosmazis on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝