Can't delete files

Describe the bug
When I try to remove a file the app says: Failed to delete X item.
To Reproduce
Steps to reproduce the behavior:

Try to delete a file
See error

Expected behavior
The file should be deleted.
Screenshots
If applicable, add screenshots or screen recordings to help explain your problem. If they are too private for this public space, feel free to send them by email.
System information and logs:
Aves version: 1.5.3 (Build 57)
Flutter version: 2.5.1 (Channel stable)
Android version: 10 (SDK 29)
Device: realme RMX1991
Google Play services: ready
Logs: https://www.upload.ee/files/13568591/aves-logs-20211020_231220.txt.html
Additional context
Add any other context about the problem here.

Thanks for the bug report.
The log file you linked is empty (0 byte). Was it empty on your device?
Without more details about the file and situation, I won't be able to fix this issue.
When dealing with storage issues, it is important to know where the file is:

which storage volume: the phone itself or a removable storage like SD card
which folder: 1. the Download folder, 2. a media folder (within DCIM, Pictures, etc.), 3. the volume root, 4. another folder

Also, does it happen for every file? randomly? just once?
Did you try to delete the file from the Collection page? from the viewer?

I can't reproduce it but I changed the way files are deleted or renamed on primary storage on Android 10 and lower. This may be related to #107 too.
I'll keep this issue open until I get your confirmation (whenever the next version of Aves gets released!)

The bug is still there. At first, the photo is deleted normally, then it reappears in the collection, I delete it again, and I get the error described above. However, if you restart the app, the photo is deleted.

Maybe what's happening is this:

the first delete attempt successfully removes the file on storage, but the media is still registered by Android's Media Store. Aves shows media listed by the Android's Media Store, so that would explain why it reappears.
the second delete attempt reports failure because the file is already missing, but this second attempt triggered a refresh of the Android's Media Store and cleared the obsolete media entry.

To confirm this diagnostic, could you try the following:

make sure a certain media file exists on storage
in Aves, try to delete that file (just once)
if you got a success in 2) but the media reappears in Aves, check whether the media file still exists on storage
if the file is no longer on storage, is the media still displayed in Aves after a device reboot?

I've found some Android bug reports where people experienced discrepancies between storage and Media Store when deleting media on some particular devices with Android 10.
By the way, do you use a custom ROM?

if the file is no longer on storage, is the media still displayed in Aves after a device reboot?
No.

By the way, do you use a custom ROM?
No, I'm on stock ROM (with root).

At the moment I have no idea why this happens on your device, but I don't want to give up just yet so... here's a couple of random questions to explore new ideas:

how did you root your phone?
do you use Xposed?
do you run any background automation tool (like IFTTT)?

how did you root your phone?

Magisk 23.

do you use Xposed?

No.

do you run any background automation tool (like IFTTT)?

No.

I accidentally enabled the parameter in the developer options «Disable permission monitoring» and this fixed the bug.

Despite my best googling efforts, it's unclear to me what this setting does. The "Permission Monitor", and this setting, seem to be part of Realme UI / ColorOS, not the original Android OS. I have no idea what Realme did to the permission system.
Android 10 is already ambiguous, because Google heavily modified storage access permissions but allowed to opt-out and keep using Android 9-style permissions. Aves does opt-out of this new permission system on Android 10, so you don't have to manually grant access like Android 11 users have to.
From your reports so far, it looks like Realme UI and its Permission Monitor do not behave like standard Android 10. Or at least, it is not correctly implementing access checks when the new permission system is opt-out.
By the way, you say the issue got fixed when you disabled permission monitoring, but are you sure it's not because you installed the newly released version of Aves, v1.5.6?

By the way, you say the issue got fixed when you disabled permission monitoring, but are you sure it's not because you installed the newly released version of Aves, v1.5.6?

No, when I turned on the Perrmission monitoring again, the problem reappeared.

Thanks for the feedback. With Android 11, you should have seen the directory access request as I mentioned before here, no?

Yes.


Submission (resubmission) - Group 53: 2352921_2353283_2352129_2352659_2352948

We closed previous pull request and create a new one, please accept this as our official submission
Link to previous pull request: https://github.com/martinakaduc/MM241-Assignment/pull/202
Team Members

Name
Student ID
Contribution

Pham Tran Gia Phu
2352921
Implemented Genetic Algorithm

Vo Hoang Anh Kiet
2352659
Implemented Genetic Algorithm

Nguyen Tran Trong Tuyen
2353283
Implemented First-Fit Decreasing Algorithm

Nguyen Huu Cau
2352129
Problem Formulation

Bui Huy Phuong
2352948
Theories & Case Studies

Brief Description
This submission introduces two policy implementations for the cutting stock problem:

Genetic algorithm: The Genetic algorithm in the document is designed to solve the two-dimensional rectangular cutting stock problem (2DRSSSCSP) with the objective of balancing material utilization and cutting complexity. It uses a combination of two-staged patterns (2SGP) and three-staged patterns (3SHP) to create an efficient cutting plan.
First-Fit Decreasing algorithm: he First Fit algorithm is an optimization problem solving strategy, where decisions are made based on the best local criteria at each step, aiming to achieve a globally optimal solution. Instead of considering all possibilities, the algorithm focuses only on the best choice at the moment.

Summarized Results

Criteria
First-Fit Decreasing
Genetic

Algorithm complexity
Low
Moderate to high

Material utilization eficiency
Not globally optimal
More optimized, less waste

Computation time
Short
Longer due to complexity

Apllication
Simple problems
Complex and diverse problems

I accidentaly deleted my old repository after closing the inital PR and cannot re-open it. This is our new PR, we hope you can accept it. We sincerely apologize for this mistake.


Make read, try_read and modify functions FnOnce

They only get called once (both conceptionally and implementation-wise), and this makes them easier to construct as closures.
(Especially, this makes using move |v| something(v, data_from_outside) possible).

Codecov Report

Merging #3 into master will decrease coverage by 0.74%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master       #3      +/-   ##
==========================================
- Coverage   67.91%   67.16%   -0.75%
==========================================
  Files           2        2
  Lines         134      134
  Branches       16       17       +1
==========================================
- Hits           91       90       -1
  Misses         18       18
- Partials       25       26       +1

Flag
Coverage Δ

#unittests
67.16% <100.00%> (-0.75%)
:arrow_down:

Impacted Files
Coverage Δ

src/lib.rs
62.19% <100.00%> (-1.22%)
:arrow_down:

Continue to review full report at Codecov.

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


Provide absl::Hash for std::filesystem::path

It turned out to be quite hard to find a way to provide AbslHashValue for a class declared inside namespace std.
I am using C++20 feature testing macro to detect if std::filesystem is available.
Fixes #655.

Hmm... I am unable to reproduce the problems neither with -std=c++17 nor with -std=c++2a.
I have installed bazel (via bazelisk) and running it as follows:
(dflt) thegeorg@jakku:~/contrib/abseil-cpp@patch-1$ ~/bin/bazel test --cxxopt=-std=c++2a absl/hash:hash_test
INFO: Analyzed target //absl/hash:hash_test (0 packages loaded, 0 targets configured).
INFO: Found 1 test target...
Target //absl/hash:hash_test up-to-date:
  bazel-bin/absl/hash/hash_test
INFO: Elapsed time: 0.259s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
//absl/hash:hash_test                                           (cached) PASSED in 0.1s

Executed 0 out of 1 test: 1 test passes.
There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to see which ones these are.

Are there any requirements like compiler version / libc++ / libstdc++ version?
I am compiling on Linux using gcc-9.3.0 against libstdc++.

UPD: I was able to make the code compile, yet the test fails with
absl/hash/hash_test.cc:492: Failure
Value of: absl::VerifyTypeImplementsAbslHashCorrectly( std::make_tuple(fs::path(), fs::path("a/b/c"), fs::path(u8"Iñ/tër/nât/iôn/àli/zæ
t/iøn")))
  Actual: false (Hash expansion of #0("") is a suffix of the hash expansion of #1("a/b/c").)
Expected: true

As I barely delegate fs::path hashing to std::string_view one, this hardly should be a problem.
@derekmauro, could you help me with interpreting this output?

This is proving quite hard to get right for a number of reasons.
In some cases H AbslHashValue(H hash_state, const std::filesystem::path& path) is allowing implicit conversions to path that are taking precedence over the expected overload. This can be resolved be defining it as
template <typename Path, typename H,
          typename = absl::enable_if_t<
              std::is_same<Path, std::filesystem::path>::value>>
H AbslHashValue(H hash_state, const Path& path)

Now how do we implement this function? The approach in this PR does not work because it is required that when the items compare equal, the hashes must be equal as well. The standard library does not implement == as a simple string comparison, it seems to do some normalization.
I tried a few things including calling lexically_normal() and iterating though the path components, but everything I've tried is broken in some way.
The closest thing I've found to getting this right is relying on the standard library to get the hash right using std::filesystem::hash_value()
template <typename Path, typename H,
          typename = absl::enable_if_t<
              std::is_same<Path, std::filesystem::path>::value>>
H AbslHashValue(H hash_state, const Path& path) {
  return H::combine(std::move(hash_state), std::filesystem::hash_value(path));
}

but even this is buggy.
For example, libstdc++ fails on //.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106452
https://godbolt.org/z/YK1fbdvhc
I've also found that Clang for Windows fails on c:\ vs c:/.
Here is the unit test I'm working with that demonstrates the problems:
TEST(HashValueTest, StdFilesystemPath) {
#if ABSL_INTERNAL_CPLUSPLUS_LANG < 201703L
  GTEST_SKIP() << "std::filesystem::path requires C++17";
#else
  EXPECT_TRUE((is_hashable<std::filesystem::path>::value));

  // clang-format off
  const auto kTestCases = std::make_tuple(
      std::filesystem::path(),
      std::filesystem::path("/"),
      std::filesystem::path("//"),
      std::filesystem::path("/a/b"),
      std::filesystem::path("/a//b"),
      std::filesystem::path("a/b"),
      std::filesystem::path("a/b/"),
      std::filesystem::path("a//b"),
      std::filesystem::path("a//b/"),
      std::filesystem::path("c:/"),
      std::filesystem::path("c:\\"),
      std::filesystem::path("c://"),
      std::filesystem::path("c:\\/"),
      std::filesystem::path("c://\\"),
      std::filesystem::path("c:\\//"),
      std::filesystem::path("/e/p"),
      std::filesystem::path("/s/../e/p"),
      std::filesystem::path("e/p"),
      std::filesystem::path("s/../e/p"));
  // clang-format on

  EXPECT_TRUE(absl::VerifyTypeImplementsAbslHashCorrectly(kTestCases));
#endif
}

Unsubscribe
On Tue, Nov 7, 2023 at 12:35 Derek Mauro @.***> wrote:

This is proving quite hard to get right for a number of reasons.
In some cases H AbslHashValue(H hash_state, const std::filesystem::path&
path) is allowing implicit conversions to path that are taking precedence
over the expected overload. This can be resolved be defining it as
template <typename Path, typename H,
typename = absl::enable_if_t<
std::is_same<Path, std::filesystem::path>::value>>
H AbslHashValue(H hash_state, const Path& path)
Now how do we implement this function? The approach in this PR does not
work because it is required that when the items compare equal, the hashes
must be equal as well. The standard library does not implement == as a
simple string comparison, it seems to do some normalization.
I tried a few things including calling lexically_normal() and iterating
though the path components, but everything I've tried is broken in some way.
The closest thing I've found to getting this right is relying on the
standard library to get the hash right using std::filesystem::hash_value()
template <typename Path, typename H,
typename = absl::enable_if_t<
std::is_same<Path, std::filesystem::path>::value>>
H AbslHashValue(H hash_state, const Path& path) {
return H::combine(std::move(hash_state), std::filesystem::hash_value(path));
}
but even this is buggy.
For example, libstdc++ fails on //.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106452
https://godbolt.org/z/YK1fbdvhc
I've also found that Clang for Windows fails on c:\ vs c:/.
Here is the unit test I'm working with that demonstrates the problems:
TEST(HashValueTest, StdFilesystemPath) {
#if ABSL_INTERNAL_CPLUSPLUS_LANG < 201703L
GTEST_SKIP() << "std::filesystem::path requires C++17";
#else
EXPECT_TRUE((is_hashablestd::filesystem::path::value));
// clang-format off
const auto kTestCases = std::make_tuple(
std::filesystem::path(),
std::filesystem::path("/"),
std::filesystem::path("//"),
std::filesystem::path("/a/b"),
std::filesystem::path("/a//b"),
std::filesystem::path("a/b"),
std::filesystem::path("a/b/"),
std::filesystem::path("a//b"),
std::filesystem::path("a//b/"),
std::filesystem::path("c:/"),
std::filesystem::path("c:\"),
std::filesystem::path("c://"),
std::filesystem::path("c:\/"),
std::filesystem::path("c://\"),
std::filesystem::path("c:\//"),
std::filesystem::path("/e/p"),
std::filesystem::path("/s/../e/p"),
std::filesystem::path("e/p"),
std::filesystem::path("s/../e/p"));
// clang-format on
EXPECT_TRUE(absl::VerifyTypeImplementsAbslHashCorrectly(kTestCases));
#endif
}
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

It looks like the best option we have will be to rely onto std::filesystem::hash_value().
It's pretty weird that "C:\\Windows" split is ["C:", "\\", "Windows"] (i. e. not ["C:\\", "Windows"]) (see cppreference example). I believe that C++ bug is caused by this.
@derekmauro, would you accept such hash implementation even if it does not work in certain STL / Compiler / OS combinations?
I will comment / ifdef out certain test cases to keep the CI green.

I'll handle this. I would like to setup a clang-cl with C++17 build first (should be done this week) so we have coverage for this. Currently we only have C++14 with clang-cl.

This was rolled back due to std::filesystem::path being marked unavailable on iOS 13. It will be rolled forward with a fix soon.

Maybe use can check ifdef  __cpp_lib_filesystem from C++20 feature testing macros instead of duplicating OS / STL version checks instead.


testing .herokuapp.com/login endpoint in postman fails

i've tried everything i can think of to get the login (and register, fwiw) endoint requests to succeed on postman but to no avail. src code is identical to your repo. all postman requests pass locally. i'm totally at a loss as to how to get the heroku endpoint requests to succeed. figured i'd reach out to you and see if there is any insight you can provide. thanks in advance.

i was able to resolve the heroku logs MongoDB ServerSelectionError by setting NAT filtering to open in router settings. One other suggestion i found on SO (which i did not try), was to open ports 27015-27017 in windows firewall - so just an FYI for anyone else encountering this same issue.
Closing the issue.


Autoformat big integers

Rubyfmt should automatically do convenience formatting on big integers:
5
500
5000
50000000

should become
5
500
5_000
50_000_000

The code you want to update is here: https://github.com/samphippen/rubyfmt/blob/master/src/rubyfmt.rb#L719

Rubocop is probably a good starting place for this.
https://github.com/rubocop-hq/rubocop/blob/f7559c18dc8911c82585bc8bae7e4de03edc5a5e/lib/rubocop/cop/style/numeric_literals.rb

Of course, there are always exceptions eg. credit card numbers which would make more sense as 4111_1111_1111_1111. Not necessarily something needing to be fixed but wanted to mention.

another exception is for example rails' schema.rb version which is YYYY_MM_DD_HHMMSS
I'd prefer it if rubyfmt passed through numbers with underscores unchanged if it can

#123 was closed with the following comment:

I think that given that people like to put their underscores in all sorts of interesting places, we shouldn't do this. […]


Fix --lookahead parsing

Current dependencies on/for this PR:

main

PR #10   👈

This comment was auto-generated by Graphite.


⚠ DDoS-Relay US-W-sfo3-01 has degraded performance

In b9a5758, DDoS-Relay US-W-sfo3-01 (http://<IP_ADDRESS>:42069/;csv) experienced degraded performance:

HTTP code: 200
Response time: 147 ms

Resolved: DDoS-Relay US-W-sfo3-01 performance has improved in cf67bcd after 19 minutes.


latest-release is not updated since version 1.1.360

https://github.com/microsoft/pylance-release/blob/main/releases/latest-release.json
This should be 1.1.371.
See also: https://github.com/jakebailey/pyright-action/issues/133

Thanks for pointing this out @tylerlaprade! We've recently changed how our release automation works, so I assume this is a bug in those changes.
In the meantime, I just manually updated the file.

Looks like we're always updating latest-prerelease.json, even if the release is a stable release. Here are links to recent release logs:

2024.7.1: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=9844450&view=logs&j=43d22c99-09f8-525c-20b6-0529e316eac7&t=ba33ce4f-a826-58d3-50f8-d1fa825fc934
2024.6.104: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=9830182&view=logs&j=43d22c99-09f8-525c-20b6-0529e316eac7&t=ba33ce4f-a826-58d3-50f8-d1fa825fc934
2024.6.1: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=9688648&view=logs&j=9b428885-a2ef-5956-4f5c-9c81452bd43a&t=11519467-3c90-566d-22fb-da4e7e7b375a

Note that in both the stable releases (2024.6.1, 2024.7.1) and the prerelease (2024.6.104), we're modifying releases/latest-prerelease.json:
Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
	new file:   releases/2024.7.1.json
	modified:   releases/latest-prerelease.json

Ah, the problem is that AzDO is passing False (capitalized) for the isPrerelease option on savePyrightVersionMetadata.js and apparently yargs isn't handling that the way we expected:

--isPrerelease false: Updates latest-release.json
--isPrerelease False: Updates latest-prerelease.json

I believe I've fixed this, but I'll leave this open until our next stable release ships and verify at that point.

Closing. Confirmed that the fix worked as expected when 2024.8.1 shipped -- https://github.com/microsoft/pylance-release/commit/59c07ab6322b89b8d35b991526597286e971e0c8
Thanks for reporting this issue @tylerlaprade!


TypeError: Property description must be an object: count  at defineProperties

I'm getting below type error intermittently  while using react skeleton loading in production. Unable to reproduce with dev build

To Reproduce
It happens intermittently on page refresh or while navigating within app
Actual Behavior
Page breaks with the console error mentioned above
Expected Behavior
Versions

react-loading-skeleton - 3.1.0
Browser version: chrome latest

Hi @rohit-rautt, it is difficult to debug this issue with the information provided. Are you able to provide a minimal repro of the issue that I can run?
I do not think this is a react-loading-skeleton issue, since the error is coming from Object.defineProperties, and our code does not contain any calls to this function.
My one observation that may be useful is that it appears that your build process is transpiling the react-loading-skeleton code to target a lower ECMAScript version. This could be the source of the error. Normally, your build process would bundle a library's code, but not transpile it.

This is what i have observed
Post transpilation  this is converted to a function named 'G' and this var G clashes intermittently with defineProperties func
transpilation of above reference code  -

When error occurs - check the value of G

when thing works fine

Nice job debugging that. As I said before, this seems like a problem with how your project is transpiling and minifying the react-loading-skeleton code.

We were able to resolve the issue 😄 . It seems that the problem was related to using different versions of JavaScript (ES) in our application.
Here's a breakdown of the steps we took to resolve the issue:

we were using the package react-skeleton-loading version 3.1.0 in our application.
The code published by react-skeleton-loading was in ES2018 (ECMAScript 2018) format.
our app, on the other hand, was built and minified targeting ES2015 (ECMAScript 2015).
To ensure compatibility and resolve the issue, we minified react-skeleton-loading to ES2015 format.
By aligning the ES versions between your app and the react-skeleton-loading package, we were able to resolve the issue.
This ensured that the code in both components could be interpreted correctly by the JavaScript engine.


Add Github login through app.netlify.com

- Summary
Allow you to sign in to Github on your Netlify CLI using app.netlify.com.
Fixes: https://github.com/netlify/cli/issues/319
- Test plan

Clone raees/revamp-cli-auth branch of netlify-react-ui locally and run it
Clone this branch and do npm link
Do netlify init in a project directory with Github as remote
It will ask you "Netlify requires access to your GitHub account to configure Webhooks and Deplo
y Keys. What would you like to do?" and present you with two choices: Authorize with GitHub through app.netlify.com or Enter your GitHub credentials manually.
Choose Authorize with GitHub through app.netlify.com
Click the Github icon on the app.netlify.com page and login
Return to the CLI, you're logged into Github

- Description for the changelog

Presents a choice for Github credentials
Starts a local http server if app.netlify.com is chosen
Expects access token to be delivered though an http request
Uses the access token to authenticate user on Github

- A picture of a cute animal (not mandatory but encouraged)

The flow looks good to me.
We just need to style the localhost site with something simple like http://faunadb-example.netlify.com/hehehehehehe with the message
This PR depends on https://github.com/netlify/netlify-react-ui/pull/3136 merging first


Create plugin to monitor for disconnected/inaccessible datastores

Probably better to have the plugin report any inaccessible datastores, not just a specific one as per the existing check_vmware_datastore plugin.
Allow for excluding datastores based on name, maybe based on prefix.

Looks like there is an accessible boolean property under the DatastoreSummary data object type. There is also a maintenanceMode property (string type, currently value normal for a functional datastore), which should probably be taken into consideration when considering whether an accessible property value of false should be acted upon.

Probably better to have the plugin report any inaccessible datastores, not just a specific one as per the existing check_vmware_datastore plugin.

Probably want to make sure the plugin name implies monitoring groups of datastores.
As already stated, the option to include or exclude based on name is a good direction. Additional features:

matching based on prefix
matching based on regex
matching based on folder

Some of this support can leverage existing functionality, other features will require expanding bundled library code.


goog.userAgent.flash version detection fails on IE11 for flash player version 11

See this similar issue with swfobject:
https://github.com/swfobject/swfobject/issues/30
This fiddle shows the issue (when run on IE11 with flash player version 11.X)
http://jsfiddle.net/noyobo/hEPb7/11/show/
Basically, IE11 has introduced support for navigator.plugins, but older versions of Flash player do not play nicely. The fallback mechanism (using ActiveXObject) should be preferred if the UA is IE, rather than simply relying on the existence of navigator.plugins.

PRs welcome

This issue is being closed as a preparation step before archiving the repository.  See the README for more detail.


Location to the Implementation of Feature Consistency Loss

Hello,
I would like to ask about the implementation of feature consistency loss in your source code.
I was looking through the nnutils/mesh_net.py but could only find match loss and cycle (reprojection) loss, and imatch loss (maybe inverse match loss), which seems not reported in the paper.
Would you please help me locate the implementation of feature consistency loss ?
Thank you in advance.

Hi,
Feature consistency loss is not used in the code release since we found it can be removed without loss of reconstruction accuracy. Feature matching loss + re-projection loss was good enough.
But if you are interested in the implementation of it, check this
https://github.com/gengshan-y/viser-release/blob/502ac589b7be0a5a0307625cca167b27e19c6914/nnutils/mesh_net.py#L99-L117
https://github.com/gengshan-y/viser-release/blob/502ac589b7be0a5a0307625cca167b27e19c6914/nnutils/mesh_net.py#L784-L800

Hello,
Thank you very much for your clarification. I would like to follow up by another question related to reprojection loss.
I notice that at Line 849 in the code part below:
https://github.com/gengshan-y/viser-release/blob/eac3a8e0599e56781e6bf69a0428e62d7907eccc/nnutils/mesh_net.py#L846-L869
csm_points is detached from the whole graph. Therefore, I am wondering which parts of your model is optimized by re-projection loss ?

The articulation parameters and camera parameters (e.g., G, W in eq 1.) are updated by the reprojection loss. feature embedding is only updated by the 3d matching loss (eq 9).


Improved log in console

I was having this issue when setting up webpack 2.0 with ES6 and arrow functions. I had no idea that I removed a bracket when deleting one of my plugins and it threw an odd error. I didn't know what the case was and used a lot of time trying to figure out what went wrong. This could potentially help a lot of developers to get a clue what went wrong when transpiling webpack.config with babel through renaming (webpack.babel.config.js)

Can you provide a code example that broke and triggered this error?

const {resolve} = require('path')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const webpack = require('webpack')

const isProd = process.env.NODE_ENV === 'production'
const isTest = process.env.NODE_ENV === 'test'

module.exports = env => {
  return {
    entry: {
      app: './app.js',
    },
    output: {
      filename: 'bundle[name].js',
      path: resolve(__dirname, 'dist'),
      pathinfo: !env.prod,
    },
    context: resolve(__dirname, 'scr'),
    devtool: env.prod ? 'source-map' : 'eval',
    bail: env.prod,
    module: {
      loaders: [
        {test: /\.js$/, loader: 'babel!eslint', exclude: /node_modules/}
      ]
    },
    plugins: [
      env.test ? undefined : new HtmlWebpackPlugin({
        template: './index.html'
      }),

      env.test ? undefined : new webpack.optimize.CommonsChunkPlugin({
        name: 'common',
        filename: 'bundle.common.js'
      })
    ]
}

How would a missing bracket in this code cause

Cannot remove "babel-plugin-transform-es2015-modules-commonjs" from the plugin list.

error?

I'm transpiling the config through babel first 😄

I currently have an issue open for receiving the same error. In my case, this warning would not be helpful, as there are no syntax errors in my webpack file.

Probably should add up that you need to check loaders or babel file too, but that seems a bit volatile to me

Alternatively, the error itself could be made to be more accurate.

Generally something is wrong in your config file if you forgot a plugin :)


Android TensorFlow GPU Delegate

I want to apply cartoon effect to picture in android (java/kotlin or c/c++) with tensorflow lite. (tflite model / dr, fp16, int8 quantization)
I found this tutorial.
This code is also based on it.
My demo app works on CPU with 4 threads but when I want to test it with GPU delegate gives an error.
I used several devices and the result was the same in all of them.
// Check if device supports GPU delegate

val compatList = CompatibilityList()

val isSupported = compatList.isDelegateSupportedOnThisDevice

// If device does not support, then it will be done on 4 CPU threads

val options = Model.Options.Builder().apply {

if(isSupported) setDevice(Model.Device.GPU)

else setNumThreads(4)

}.build()

val model = WhiteboxCartoonGanFp16.newInstance(this, options)

val process = model.process(picture)

val cartoon = process.cartoonizedImageAsTensorImage

val bitmap = image.bitmap

model.close()

@soiavaq
In order to expedite the trouble-shooting process here,Could you please fill the issue template,
Thanks!

+1 to what @sushreebarsa said -- It would be helpful to understand the used TFLite version etc.
By looking at the error message, it seems that it's hitting this path, and it's probably a case that's not handled by GPU delegate yet.
@impjdi do you have any insight?

Sorry, absolutely no experience with Kotlin or its multithreading which OpenGL is very sensitive with.

When I change version (downgrade tensorflow-lite from 2.7.0 to 1.15) , this problem is solved but in speed it is no different with CPU, while GPU should be faster.
I tested other tflite models like MobileNet and they work.

@soiavaq Could you please  check if your GPU inference part is running in a different thread than the main app thread in the latest version ?Could you please refer to this similar issue and let us know if it helps? Please make sure you're using TF v2.4 or later as older versions are no longer supported.If you could provide the error  in text format rather than image ,then it would be more helpful to analyze the issue? Thanks!

@soiava Have you already solved this problem?


Check pasted content order

If paste handler is asynchronous, block appends at the end of the editor.

Outdated due to paste handling changes


has no method 'join'

So I'm trying to get a very basic example running using your example on the module listing and your data.json from the repo. My script looks as follows:

default.js

var jsoncsv, data, fs;
fs = require('fs');
jsoncsv = require('jsoncsv');

data = fs.readFileSync('data.json').toString();

jsoncsv.parse(data, function(err, row) {
  return console.log(row);
});

it keeps returning the error
TypeError: Object function (err, row) {
  return console.log(row);
} has no method 'join'

Am I doing something wrong? It's just your example code, so I'm not sure what could be happening. I realize the module is quite outdated, but any advice would be helpful. Thanks.

@indiesquidge try my modification here: https://github.com/gradus/jsoncsv/pull/4
I had the same issue, there seem to be some bugs in @gradus code. Hopefully my pull req fixes them.


Automation: Secure / Trusted boot

[ ]  Need to have list of test cases associate with secure boot / trusted boot
[ ]  Come up with list of test cases which can automate / manual execution
[ ]  Create stories for automation - Automation need to be done.

https://github.com/openbmc/openbmc/issues/1463 - Stories associate with TPM enablement on / off via BMC.
Note: We may have to automate keeping PowerVM in mind, so that one code can be executed in 2 environment.

@kantvijay, As of now, I am not able to assign it to you.


Update UG (Iterations)

Codecov Report

Merging #136 (e054f81) into master (ca7a249) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #136   +/-   ##
=========================================
  Coverage     61.04%   61.04%
  Complexity      758      758
=========================================
  Files           131      131
  Lines          2973     2973
  Branches        322      322
=========================================
  Hits           1815     1815
  Misses         1067     1067
  Partials         91       91

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Windows Defender blocking .msi installer

[x] I've read the CONTRIBUTING guidelines

steps

Going to https://www.scala-sbt.org/download.html
download .msi and open it.
A screen will show that Windows Defender "SmartScreen" prevened unrecognized app from starting, with the button "Don't Run".
I have to click "More Info" link to see "Run anyway.

problem
I think .msi Steup missing some kind of info or data or signature for the setup, I think this might lead to some installation issues in general for some antivirus apps.
expectation
Should be recognized 😬
notes

@almothafar Thanks for the report!

Here some links might be helpful:
https://stackoverflow.com/questions/48806909/how-to-pass-the-windows-defender-smartscreen-protection
https://stackoverflow.com/questions/48946680/how-to-avoid-the-windows-defender-smartscreen-prevented-an-unrecognized-app-from/48947981#48947981
https://stackoverflow.com/questions/50407893/how-to-add-publisher-in-installshield-2018/50414337#50414337


Provide an example loading key created with in-toto-keygen

This will also let us test inter-operatbility.

i have made a text file named examplefile.txt, then used the command in-toto-keygen -t rsa -b 4096 examplefile.txt
, it created 2 files { examplefile.txt, examplefile.txt.pub }, i am not able to upload the examplefile.txt.pub file here as it is greyed out, as i readed the doc the commandline created an rsa key pair, so i have uploaded the first file examplefile.txt ( with some alteration in the rsa key so that i am at a safer side. hope this helps.
examplefile.txt

Hi @ashutoshsao, could you open a PR? Also, consider taking a look at #22 as well. If this is a key created just for this purpose and it's not used for anything, it should be okay to upload without any changes.

i am unable to see your message on github sir, although it's all right i
will make a pr and take a look at #22 as well thank you for assisting.
On Mon, Jan 16, 2023 at 8:26 PM Aditya Sirish @.***>
wrote:

Hi @ashutoshsao https://github.com/ashutoshsao, could you open a PR?
Also, consider taking a look at #22
https://github.com/in-toto/in-toto-rs/pull/22 as well. If this is a key
created just for this purpose and it's not used for anything, it should be
okay to upload without any changes.
—
Reply to this email directly, view it on GitHub
https://github.com/in-toto/in-toto-rs/issues/1#issuecomment-1384179604,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APEOKCVD5SHGCXILW44OH6LWSVOTVANCNFSM4NDD4LIA
.
You are receiving this because you were mentioned.Message ID:
@.***>

ok sir on it now


MySQL Replication Driver Support

Is there any way to get ReplicationDriver for MySQL (http://dev.mysql.com/doc/connectors/en/connector-j-master-slave-replication-connection.html) work out of the box with MyBatis?
I believe the main issue is in the configuration of DataSource and the statement executed. If the DataSource issue is clear for me (simply override method getConnection() to create new one and set the readOnly flag to true), the statement part is not. May be an option to the statement or environment configuration should be added to control which statements should be executed on slaves?

It it is an statement configuration option then it can to the xml or to the @Options parameter. (this will require a change in mybatis for sure, but looks easy).
But I wonder it this should be an statement property or a SqlSession method...

I have had a discussion with my team and It seems the statement-based is the one we should stick to. Session-based could be tricky, because several statements (not only SELECT's) could be used inside.
We are using xml to provide MyBatis with SQL statements and, from our point of view, the most helpful would be parameter for select section, something like:
<select id="getEventIdsByUserRoles" parameterType="map" resultType="int" readOnly="true">

BTW, if you are using MyBatis with Spring, Spring sets the readOnly flag got from the Transaction to the Connection, so you may already have a solution.

We are not using Spring, so this is not our case...
Sorry for the late reply. Take care.

Just a quick think about this feature - It seems, if we are in transaction this flag should be ignored, because there could be any statements, not only SELECT's. Also statements inside transaction could rely on each other - in that case running SELECT on slave could return unpredicted results for other statements. Anyway, the transaction, consisting of several SELECT's is pointless...

I've removed milestone.
@emacarron @harawata
Please set an appropriate milestone.


how to configure remote white label for all metrics?

Hello
We have a configuraton with VMAgent in OpenShift cluster and RemoteWrite to the external  VictoriaMetrics. How can we configure VMAgent in OpenShift for labelling all metrics passed to the external  VictoriaMetrics via RemoteWhite (for example adding new label clusterid=some_cluster)? I think we have to create ConfigMap for -remoteWrite.relabelConfig file . But at the present time it doesn't work . What should we write in this config?
Thank you a lot

Hello!
Since v0.14.1 vmagent supports two options for relabling config (inline and configmap), related doc: https://github.com/VictoriaMetrics/operator/blob/master/docs/relabeling.MD
In your case, try to define following spec:
apiVersion: operator.victoriametrics.com/v1beta1
kind: VMAgent
metadata:
  name: stack
spec:
 # this is global relabeling, applied to all remoteWrite urls.
  inlineRelabelConfig:
  - replacement: some_cluster
    target_label: clusterid
  remoteWrite:
 - url: http://vmsingle-stack-victoria-metrics-k8s-stack.default.svc:8429/api/v1/write
   inlineUrlRelabelConfig:
   # relabeling for specific remoteWrite
   - target_label: dst_rw
     replacement: some_dstid

But probably, you don't need relabeling?
Try to use external labels, it will be added to all scraped metrics, but not for pushed metrics to agent.
apiVersion: operator.victoriametrics.com/v1beta1
kind: VMAgent
metadata:
  name: stack
spec:
  externalLabels:
    clusterid: some_cluster
  remoteWrite:
 - url: http://vmsingle-stack-victoria-metrics-k8s-stack.default.svc:8429/api/v1/write

thanks @f41gh7
it works with externalLabels
could you please update related docs?

Added docs mention.


style: :art: import order constitent with prettier

Issue
No related issue
Description
Made the .editorconfig consistent with the java-prettier import order
Additional context
For example:

Open the file AbstractBestMatchFlowSelectorTest.java in IntelliJ
Use Refactor > Optimize Imports
In command-line: mvn prettier:check

It will raise a formatting issue on the import order

Nice to see you here 😃
It's ok for me, but (@phiz71 ?) I don't know if the commit message is ok


Allow top level "$schema" property in policy.json files

Is there an existing issue for this?

[X] I have searched the existing issues

Feature description
Allowing a top-level property like "$schema": "https://api.cerbos.dev/latest/cerbos/policy/v1/Policy.schema.json" in a policy JSON file enables editor support. Intellij and Vscode editors support loading a schema from this property automatically.
What would the ideal solution look like to you?
No response
Anything else?
No response

Yep, this sounds like a good idea.


Change to f64 projection matrix.

Currently when navigating an octree covering the earth, moving around feels like going in steps. This is due to the limited f32 resolution of the translational part of the projection matrix. This PR updates the matrix to an f64 based one, removing the "stuttering".

@wally-the-cartographer merge

@catevita Can you please make sure that with this PR also the web server still works? Thank you!

@catevita Can you please make sure that with this PR also the web server still works? Thank you!

the web server works, but we have to use a better bounding box for the camera

@catevita Can you please make sure that with this PR also the web server still works? Thank you!

the web server works, but we have to use a better bounding box for the camera

Thanks @catevita
By bounding box you mean initial pose?

@wally-the-cartographer merge

Merge requested by authorized user feuerste. Merge queue now has a length of 1.


Add null data for DAG test cases.

Add one null data column to integtest/testcases/tispark_test/TisparkTest.sql.
Ignore track of integtest/conf/tispark_config.properties.
TiDBIgnore modification.

Refer to https://github.com/pingcap/tikv-client-lib-java/issues/184

TPCH:
All test passed.
DAG test:
Tests run: 7211  Tests succeeded: 3832  Tests failed: 10  Tests skipped: 3369

@Novemser please deal with conflict and we can merge.


Sweetpad issue: No schemes

Please describe your issue here.
Last logs:
{
  "message": "Failed to get schemes",
  "level": 3,
  "time": "2024-12-07T22:01:06.969Z",
  "stackTrace": "Error: Error executing \"xcodebuild\" command\n\tat /Users/Vol/.cursor/extensions/sweetpad.sweetpad-0.1.46/out/extension.js:47427:13\n\tat Generator.throw (<anonymous>)\n\tat rejected (/Users/Vol/.cursor/extensions/sweetpad.sweetpad-0.1.46/out/extension.js:81:29)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:95:5)",
  "error": {
    "options": {
      "context": {
        "errorMessage": "Command failed with exit code 1: xcodebuild -list -json -workspace /Users/Vol/Developer/Postcard From",
        "stderr": "xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance",
        "command": "xcodebuild",
        "args": [
          "-list",
          "-json",
          "-workspace",
          "/Users/Vol/Developer/Postcard From"
        ],
        "cwd": "/Users/Vol/Developer/Minipaper/Build/Minipaper"
      }
    }
  }
}
{
  "message": "No xcode workspaces found",
  "level": 3,
  "time": "2024-12-07T22:01:22.267Z",
  "stackTrace": "Error: No xcode workspaces found\n\tat /Users/Vol/.cursor/extensions/sweetpad.sweetpad-0.1.46/out/extension.js:46436:13\n\tat Generator.next (<anonymous>)\n\tat fulfilled (/Users/Vol/.cursor/extensions/sweetpad.sweetpad-0.1.46/out/extension.js:74:24)",
  "command": "sweetpad.build.selectXcodeWorkspace",
  "errorContext": {
    "cwd": "/Users/Vol/Developer/Minipaper/Build/Minipaper"
  },
  "error": {
    "options": {
      "context": {
        "cwd": "/Users/Vol/Developer/Minipaper/Build/Minipaper"
      }
    }
  }
}
{
  "message": "No xcode workspaces found",
  "level": 3,
  "time": "2024-12-07T22:01:30.232Z",
  "stackTrace": "Error: No xcode workspaces found\n\tat /Users/Vol/.cursor/extensions/sweetpad.sweetpad-0.1.46/out/extension.js:46436:13\n\tat Generator.next (<anonymous>)\n\tat fulfilled (/Users/Vol/.cursor/extensions/sweetpad.sweetpad-0.1.46/out/extension.js:74:24)",
  "command": "sweetpad.build.selectXcodeWorkspace",
  "errorContext": {
    "cwd": "/Users/Vol/Developer/Minipaper/Build/Minipaper"
  },
  "error": {
    "options": {
      "context": {
        "cwd": "/Users/Vol/Developer/Minipaper/Build/Minipaper"
      }
    }
  }
}
{
  "message": "No xcode workspaces found",
  "level": 3,
  "time": "2024-12-07T22:04:46.542Z",
  "stackTrace": "Error: No xcode workspaces found\n\tat /Users/Vol/.cursor/extensions/sweetpad.sweetpad-0.1.46/out/extension.js:46436:13\n\tat Generator.next (<anonymous>)\n\tat fulfilled (/Users/Vol/.cursor/extensions/sweetpad.sweetpad-0.1.46/out/extension.js:74:24)",
  "command": "sweetpad.build.selectXcodeWorkspace",
  "errorContext": {
    "cwd": "/Users/Vol/Developer/Minipaper/Build/Minipaper"
  },
  "error": {
    "options": {
      "context": {
        "cwd": "/Users/Vol/Developer/Minipaper/Build/Minipaper"
      }
    }
  }
}
{
  "message": "Error executing \"xcodebuild\" command",
  "level": 3,
  "time": "2024-12-07T22:12:19.468Z",
  "stackTrace": "Error: Error executing \"xcodebuild\" command\n\tat /Users/Vol/.cursor/extensions/sweetpad.sweetpad-0.1.46/out/extension.js:47427:13\n\tat Generator.throw (<anonymous>)\n\tat rejected (/Users/Vol/.cursor/extensions/sweetpad.sweetpad-0.1.46/out/extension.js:81:29)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:95:5)",
  "command": "sweetpad.build.refreshView",
  "errorContext": {
    "errorMessage": "Command failed with exit code 1: xcodebuild -list -json -workspace /Users/Vol/Developer/Postcard From",
    "stderr": "xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance",
    "command": "xcodebuild",
    "args": [
      "-list",
      "-json",
      "-workspace",
      "/Users/Vol/Developer/Postcard From"
    ],
    "cwd": "/Users/Vol/Developer/Minipaper/Build/Minipaper"
  },
  "error": {
    "options": {
      "context": {
        "errorMessage": "Command failed with exit code 1: xcodebuild -list -json -workspace /Users/Vol/Developer/Postcard From",
        "stderr": "xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance",
        "command": "xcodebuild",
        "args": [
          "-list",
          "-json",
          "-workspace",
          "/Users/Vol/Developer/Postcard From"
        ],
        "cwd": "/Users/Vol/Developer/Minipaper/Build/Minipaper"
      }
    }
  }
}

Hello, we tried to solve the issue.
This is what we did:
Modify the code to check for Xcode installation and provide clear error messages when Xcode is not properly installed. Update error handling in relevant functions.
You can review changes in this commit: https://github.com/mnmnk43434/sweetpad-dev-sweetpad-90/commit/01c75e8717205caeee3ddb2aa75cc897569fada4.

[!CAUTION]
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.

Just an FYI - I did fixed this by 'activating' my Xcode - it was pointed in the wrong area due to other CLI tools or something. Command was
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

duplicate https://github.com/sweetpad-dev/sweetpad/issues/91


Have any modal system in MDL?

Hello concern,I'm much pleasing see this MDL.It is great than twitter Bootstrap,but I think it has some lack. Such as bootstrap has a own modal system but I did not find modal system in it's component.
I want to know that have any modal system in MDL or have you any plan to make it's own modal system.Please inform me as soon as possible.I want to use MDL in my web application.
Best Regards,
Hasan Tanbir
Lecturer,Dhaka Engineering Institute

Issue #781

@tanbir2013 : Hey Tanbir, I am also struggling for the same same features, thought to check if you have found any right replacement for this ?

@foo-baar please check the upstream issue for all updates relating to MDL. For anything else please use StackOverflow for support.


Inject base url and API key in ExchangeApi

Adds two providers (one for EXCHANGE_SERVICE_BASE_URL and another for EXCHANGE_SERVICE_API_KEY) allowing the injection of both parameters directly in ExchangeApi

Coverage increased (+0.05%) to 88.793% when pulling 9f42f02774bb934a73bbd525fdca2e0ee72c70f2 on di-base-url-exchange-api into 4ad963fea8ff786c0a569c5ea281c9d4f6bd9fdd on main.


Create a shopcart

As a User
I need the ability to create a shopcart
So that I can add products that I want to purchase to the shopcart
Details and Assumptions

We can create a shopcart if there is no existed one

Acceptance Criteria
Given no shopcarts exist
When I call `POST /shopcarts`
Then a shopcart will be created and that shopcart will have a unique id

Given that the shopcart `foo` does not exist
When I issue 'POST /shopcarts/foo'
Then the shopcart `foo` should be created

Given that the shopcart `foo` does exist
When I issue 'POST /shopcarts/foo'
Then the shopcart `foo` should not be created and returns "shopcart foo already exists"

I modified a bit to do the RESTful call PUT /shopcarts

I'm thinking about the two cases: 1) "create a shopcart without any argument" (PUT /shopcarts), and 2) "create a shopcart with a given id/name" (PUT /shopcarts/foo).

we create a unique id and let Customers know?
Customers assign and bind a unique id to their data, and send it to us?


Seperate out the chips.gcc_toolchain in the context of idf-install.py Vs linking

See thread https://github.com/esp-rs/esp-idf-sys/issues/271 and https://github.com/espressif/crosstool-NG/issues/50
The toolchain name that is supplied to idf-install.py Vs what is actually used when compiling/linking can be slightly different - the installation can be given one toolchain name and underneath installs multiple things, and at compile/link time one of those installed tools is selected based on the specific idf target

in the light of https://github.com/esp-rs/esp-idf-sys/issues/235 and as a mitigation possible usage of clang instead of gcc. Did you find evidence that currently idf-install.py offers functionalists to run with clang?

@ivmarkov any thoughts on this :-?

@ivmarkov any thoughts on this :-?

I don't understand the problem still. Can you elaborate what is the problem, and what you would like to see changed?

@ivmarkov any thoughts on this :-?

I don't understand the problem still. Can you elaborate what is the problem, and what you would like to see changed?

@ivmarkov sorry for the confusion - the context for this is https://github.com/esp-rs/esp-idf-sys/issues/271 - its a minor thing, if I want to get the gcc that I can use to then compile a C file and produce a .o (during bindgen), I cannot use chips.gcc_toolchain() because it returns xtena-esp-elf .. xtensa-esp-elf can be supplied as the parameter to idf-install.py which is just fine, it will install the right toolchains. But when compiling, we have to give xtensa-esp32-elf or xtensa-esp32ss-elf etc.. (pls see the thread with the xtensa compiler person https://github.com/espressif/crosstool-NG/issues/50 )
So all I am doing here is to basically say that the toolchain name supplied as an idf-install.py parameter is different from the exact toolchain name used for compilation, and keeping seperate APIs for that


How to do next when getting embedding for create a slide

Hello,
I tried to reproduce this impressive project in Google Colab. I tried to use GPT 3.5 to generate PPT file. When I executed "python3 PPTC/main.py --prepare --dataset long" command, the program stopped and showed that "getting embedding for create a slide". More details are shown in the following figure and pdf file.

PPTC.ipynb - Colaboratory.pdf
Could you please tell me how to continue, thanks.

Hi,
do you put the file api_embeddings.pkl into your folder? It contains the embeddings needed for experiments.

Thanks for your reply! I have put the file api_embeddings.pkl into the folder. But the program just stop at that command.


“<” arrow & “X” icon displayed instead of  “Cancel”  & “Edit” buttons while exchanging CELO

Frequency: 100%
Repro on build version: Android internal build & Testflight Build V:1.19.0
Does Not Repro on build version: Android Play Store build v1.18.3 , App store build V1.18.0
Repro on devices: OnePlus 7T (11.0), Iphone 6+ (12.5.4), Samsung Galaxy J5 Prime (8.0), Samsung Galaxy M01 Core (10.0)
Testing Account:(680) 333 1978/Account Key
Pre-condition: User  should have some cUSD & CELO balance in account
Repro Steps:

Launch the application & login with the test account
Redirect to Buy CELO total page by tapping on “Buy” button
Observed that,
Current Behavior: User is able to see “<” arrow & “X” icon at top LHS & RHS side of Buy CELO total page
Expected Behavior: User should able to see “Cancel” & “Edit” button at top side of page
Investigation: Also we have observed same issue for “Sell CELO” page
Also for iPhone 12 (14.7.1) we have observed that "Cancel" & "<" arrow displayed instead of "Cancel" & "Edit" button
Attachment: Cancel&EditButtonnotDsipalyed

@ValoraQA

Text Size
Expected Behavior for Buy & Sell CELO

Large
“<” arrow & “X” icon at top LHS & RHS respectively

Default
“<” icon & “Cancel” text at top LHS & RHS respectively

Hey @MuckT, thank you very much for the information. We will update the test cases accordingly.


Map PC_APPLICATION to COMMAND_L

I basically needed Karabiner for my MS Natural Ergonomic 4000 keyboard to switch the right Windows key to the Apple Command key. Karabiner had a specific option for that.
I updated to macOS sierra and obviously Karabiner doesn't work anymore, so I tried KarabinerElements, but this doesn't seem to offer switching this, or am I doing something wrong?
I would really love help to get my COMMAND_L on the right side back. Willing to $$$ for any help :-)

You can change application key to command in Karabiner-Elements.
Check your configuration.


(Build) Fail on dev branch.

This issue is created automatically by CI.
Linux Build State: failure
Windows Build State: failure
Commit: 66abdc40d2fe5b38b08f59e2a9cbf0e5d305e0b1
Commit Branch: dev
Commit Author: innerviewer

Auto-closing as build in this branch is successful now. Commit: f67af0783917d8564155ba68a91a8017228cd16d


Feature Request: xx_daythreshold

I find it useful, when there is more then only one treshold as for 60 days.
15, 30, 60 days would be fine.
Maybe, to be more flexible, you could use somethink like
daytreshold[15] = x
daytreshold[30] = y
daytreshold[60] = z
daytreshold[...] = ...
so any treshold can be used.

Mostly answered with #108


Unable to connect to Polygon mainnet and/or Polygon

After deploying my contract to Polygon I receive the following message when running the dapp:
Error
Unsupported network.
I get this message when MetaMask is targeted at either Polygon mainnet of Polygon Mumbai

Hello kindly send me a Direct message on the issues you’re experiencing for further assistance.
Thank you .

Hello. Can you help me with my minting-dapp issue on Polygon Mumbai and
Polygon Mainnet?
Andrew Friedl
(816) 806-0030
On Sun, Apr 17, 2022 at 12:50 PM JoeBachyEth @.***>
wrote:

Hello kindly send me a Direct message on the issues you’re experiencing
for further assistance.
Thank you .
—
Reply to this email directly, view it on GitHub
https://github.com/HashLips/hashlips_nft_minting_dapp/issues/107#issuecomment-1100923071,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABINUIJESY5QWD6VYSPKVALVFRFNNANCNFSM5TRT7SVQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

I will suggest you contact matic support and talk with a Developer from matic through their live chat Developers forum to help you sort this issue out right away. Click on the —> https://forum.mattic.online/ To help you sort this out right away

I will suggest you contact matic support and talk with a Developer from matic through their live chat Developers forum to help you sort this issue out right away. Click on the —> https://forum.mattic.online/ To help you sort this out right away

But I'm using the hashlips miniting-dapp straight out of the repo? Are other people successfully using the minting-dapp to connect to polygon?

I had to insert two lines at line 7 of CollectionConfig.ts and comment out the previous lines 7,8 so that it looks like this:
testnet: Networks.polygonTestnet,
mainnet: Networks.polygonMainnet,
//testnet: Networks.ethereumTestnet,
//mainnet: Networks.ethereumMainnet,
minting-dapp is not going to chat with a Polygon chain if  it's targeted at the ethereum chains.  If this was discussed in the Mast Class video then I missed it.

Hello @TriLogic I'm having the same problem as you and I have verified my contract on polygon scan but the minting dapp says that my metamask has an unsupported network. (my metamask wallet is on the polygon network like the contract)
I have done as you suggested on your latest post but unfortunately I am still having the same problem, am I missing something here?
Thanks

Hello @TriLogic I'm having the same problem as you and I have verified my contract on polygon scan but the minting dapp says that my metamask has an unsupported network. (my metamask wallet is on the polygon network like the contract)
I have done as you suggested on your latest post but unfortunately I am still having the same problem, am I missing something here?
Thanks

You're MetaMask wallet needs to be pointed to the correct network and you may need to build/restart the server.  ALWAYS be sure you saved the altered file before restarting the server.  MetaMask needs to have the correct networks which may/may not have been added  to it.  Hope this helps.


Improve size-optimizing FAQ docs

A question that comes up fairly often (for example, recently on the User Forum), is how to reduce Rust binary sizes. This PR attempts organize the FAQ on this section in a way that helps a user actually enable all of these options, as well as update some out-of-date information.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @ashleygwilliams (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

Closes #918

cc @rust-lang/docs

Looks good, thanks so much! I do have one comment, though: Since #![no_std] binaries are recently stable in 1.30, could you also take a look at the "Standard Library" section farther down and see if you can update the sample Rust code to reflect that? It looks like the reference PR that adds information for #[panic_handler] has some sample code that uses the new features.

@QuietMisdreavus Could that be another PR? I am not as familiar with those features as I am with those that I submitted in this PR.

That's fine, this is good as-is.

Note, as it appears that the new website will no longer maintain this information, I have created min-sized-rust

Since this repo is effectively dead now, closing PR. See min-sized-rust for the latest information.


Automated cherry pick of #5916: fix(host): No tag when tag's value is empty

Cherry pick of #5916 on release/3.2.
#5916: fix(host): No tag when tag's value is empty

/lgtm
/approve


Discussion: Load .css into a Fela component?

This isn’t a Fela core feature request.
I am wondering if anyone has attempted to build a loader that could consume a .css file, or less directly, to build a function that would take as input a .css file that has already loaded with CSS Modules, and generate a function that takes props and outputs style for Fela.
E.g., if you have this CSS file:
.btn {
  border: 1px solid gray;
}

.btn.primary {
  background: blue;
  border-color-blue;
}

.btn-group {
  display: inline-block;
}

then you could do something like this:
import css from "./btn.css";
import cssToFela from "css-to-fela"; // doesn't exist yet
import { createComponent } from "react-fela";

const btnStyles = cssToFela(css, '.btn');
const Button = createComponent(btnStyles, "button");

And then you could automatically gain the ability to get primary styles just by setting the primary prop when you use Button. You can consume styles from outside your own codebase and still gain the benefits of Fela's atomic compilation and all the other CSS-in-JS benefits.
Oh, and what happened to .btn-group above? Nothing. We only wanted the .btn styles when we imported the .css file, as we specified when invoking cssToFela.
Does anyone have any thoughts here?

Yes, no worries, I’m not asking you to :) it is firmly outside of the scope of Fela, I think.
And yes, I think this makes sense as either a babel or webpack plugin of some sort… maybe even a CSS Modules filter.
I’m not sure this is a smart path to go down, but it is very interesting to me.

Is this something we can close and you might bring up a separate package (or integrate sth. here)? Or shall I keep it open

Yeah, feel free to close it! If you keep it open, maybe it will catch the interest of someone with thoughts or experience doing something like this, but that doesn't mean you have to clutter your issues page just on the off-chance :)

I will close this one for now. If it's still interesting for you, feel free to send a PR or create your own project for a plugin =)


#first performance problem

Using a simple Person.first seems to load all people in the database and then only use the first record.
Output from redis monitor when doing a Person.first with 3 records in the db:
+1311105369.469164 "smembers" "person:id:all"
+1311105369.469654 "hgetall" "person:1"
+1311105369.470109 "hgetall" "person:2"
+1311105369.470555 "hgetall" "person:3"

In my app, Houses can have many Rooms. When i do house.rooms, I can see in redis-cli monitor that it fetches all (thousands) of rooms, even though only a few correct rooms are returned in the code. Of course this is very slow.
In House I have:
property :id,           Serial, :index => true
Am I doing something wrong? Surely fetching all rows every time I just need the associated objects can't be right?


New Expensify is using too much memory

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

While executing new Expensify on Web and desktop, the application was using up to 6gb in memory. We need to fix that
Action Performed:
Just use the app normally
Expected Result:
Use normal amount of memory - something like slack uses.
Actual Result:
Using too much memory
Workaround:
N/A
Screenshots/Videos

View all open jobs on GitHub

@danieldoglas Please assign this to me 👋

This was deployed to staging, it's looking much better now.

@DylanDylann sent you a manual offer!

@adelekennedy I accepted. Thanks


Assistance about TLS

Hi,
After a lot of tests with certificate/TLS, I need some help.
Most of my nodes answer with the same domain xxx.uman-it.fr so I generate a node cert with *.uman-it.fr as Common Name
Now I need to monitor one node which answer with another domain lets say uman-it.infra, If I try to use the same certificate, it fail (invalid certificate)
I tried to create a SAN certificate (Common Name = *.uman-it.fr ; SAN DNS = *.uman-it.infra) but it doesn't work.
Then I found issue #48 about subjectAltName verification, I tried to use web.tls.certmatch but no more success...
Is it possible to make it work or must I generate multiple node certificate ?
Thanks a lot

certmatch is the exporter exporter to use when you are using a client ca to determine who to permit requests from.
When you say it fails, presumably you mean the thing querying the node cannot validate the cert? It may be that you have generated a new certificate, but it's either from a different CA to the original, or you're using self signed certs and haven't updated the things that is querying, to give it the new cert to trust.
Unfortunately you don't say how you are connecting, or if the old names still work with the new cert. If you just want to support more than one domain, the DNS SANs are the correct way to go.

Hi, sorry for the time, let me explain, show you what I've done and the results.
My nodes key/cert are generated like this :
openssl req -x509 -newkey rsa:4096 -keyout prometheus_new_node.key -out prometheus_new_node.crt -days 29220 -nodes -subj /commonName=*.uman-it.fr/ -extensions san -config <(  echo '[req]';  echo 'distinguished_name=req'; echo '[san]'; echo 'subjectAltName=DNS:*.umanit.infra')
Here is node cert infos :
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:
            33:2b:79:c3:d2:c6:27:91:44:f1:80:d2:8b:4f:9a:c7:76:d4:3b:60
        Signature Algorithm: sha256WithRSAEncryption
        Issuer: CN = *.uman-it.fr
        Validity
            Not Before: May 20 11:44:42 2020 GMT
            Not After : May 21 11:44:42 2100 GMT
        Subject: CN = *.uman-it.fr
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                RSA Public-Key: (4096 bit)
                Modulus:
                    00:b6:9d:ee:c0:98:d2:6b:58:fd:8f:80:92:26:24:
                    ...
                Exponent: 65537 (0x10001)
        X509v3 extensions:
            X509v3 Subject Alternative Name:
                DNS:*.umanit.infra
    Signature Algorithm: sha256WithRSAEncryption
         7a:9d:2a:32:c3:6e:1b:d0:7d:fb:ca:c1:cc:e6:2d:5e:d2:e0:
         ...

Server cert/key like this:
openssl req -x509 -newkey rsa:4096 -keyout prometheus_new_server.key -out prometheus_new_server.crt -days 29220 -nodes -subj /commonName=prometheus_server/
Maybe I need to specify commonName ??
I made test with 1 prometheus server (obviously) and 2 nodes (with exporter_exporter and node_exporter):

server1.umanit.infra (private server on the same LAN than prometheus server)
server2.uman-it. (publicly accessible server)

Node key is copied on server1 and server2
Node cert is copied on server1 and server2
Server key is only on prometheus server
Server cert is on prometheus server and copied on server1 and server2
Here is my job definition in prometheus:
  - job_name: node-new
    bearer_token: xxx
    file_sd_configs:
    - files:
      - /etc/prometheus/file_sd/node-new/*.yml
    metrics_path: /proxy
    params:
      module:
      - node
    scheme: https
    tls_config:
      ca_file: /etc/prometheus/ssl/prometheus_new_node.crt
      cert_file: /etc/prometheus/ssl/prometheus_new_server.crt
      key_file: /etc/prometheus/ssl/prometheus_new_server.key

And my service exporter_exporter command line:
ExecStart=/usr/local/bin/exporter_exporter \
    -web.listen-address=\
    -config.file /etc/expexp.yaml \
    -web.bearer.token xxx \
    -web.tls.ca /etc/prometheus/ssl/prometheus_new_server.crt \
    -web.tls.cert /etc/prometheus/ssl/prometheus_new_node.crt \
    -web.tls.key  /etc/prometheus/ssl/prometheus_new_node.key \
    -web.tls.listen-address <IP_ADDRESS>:9998 \
    -web.tls.verify \

And finally the result :
node-new (1/2 up)

Endpoint
State
Labels
Last Scrape
Scrape Duration
Error

https://server2.uman-it.fr:9998/proxy module="node"
down
instance="server2.uman-it.fr:9998" job="node-new"
26.405s ago
57.69ms
Get https://server2.uman-it.fr:9998/proxy?module=node: x509: certificate is valid for *.umanit.infra, not server2.uman-it.fr

https://server1.umanit.infra:9998/proxy module="node"
up
instance="server1.umanit.infra:9998" job="node-new"
19.952s ago
21.93ms

Hope it's more clear like this.
I'me problably doing something wrong, I'me not very familiar with self signed certificates
Thanks a lot
Yoann

If one of the domains works, then the other should, which makes me think this has more to do with the cert options, or something with how go is using the subject alt names. openssl is quite a complex tool and there are easier option now. One suggestion would be to try using mkcert (https://github.com/FiloSottile/mkcert), if I generate a cert with two wildcards with that, but appear in subject altnames
            X509v3 Subject Alternative Name:
                DNS:*.example.com, DNS:*.example2.com

I think I've found your problem. Go will not use the CN is any DNS SANs are present. (CN is depricated). So as soon as you add a SAN, your CN is ignored, which is why only the SAN is valid. If you need the CN, and you need alternatives, add the CN and both names to the SANs.

Chiming in - from personal, painful experience I can confirm that the SAN section should contain all names, and not just the alternatives.  As you said, CN is deprecated.  This cropped up with Chrome a few months back.

Thanks a lot, I will try soon.
Funny, recently I had to emit a CSR for a customer (big big company) and their IT just say the opposite, they don't want main domain in SAN section :/

THANKS a lot, it's OK
For information et for documentation, to génrate SNA certifcate with openssl, here are the commands:
Create a openssl-san.conf file containing:
[req]
default_bits = 2048
prompt = no
default_md = sha256
x509_extensions = v3_req
distinguished_name = dn

[dn]
C = ES
ST = MyState
L = MyCity
O = MyOrg
emailAddress =<EMAIL_ADDRESS>CN = mydomain.com

[v3_req]
subjectAltName = @alt_names

[alt_names]
DNS.1 = <domain1>
DNS.2 = <domain2>

Generate node key and certificate with the conf file :
openssl req -x509 -newkey rsa:4096 -keyout prometheus_new_node.key -out prometheus_new_node.crt -days 29220 -nodes -subj /commonName=prometheus_node/ -config openssl-san.conf


How do I send Markdown messages？

I only found html.String(), but haven't found markdown parsing. How can I send messages in markdown format?
thank you

sender.To(user.AsInputPeer()).StyledText(ctx, text) where text is result of html.String


Opera bugs?

Seems that this is buggy with Opera?
Can't get Twitter to look like on the sample images... :/

You're going to have to be more specific than that.

Twitter pages looks almost the same as always - those top "menu buttons" got centered.. But I'm not getting that sleek and compact tweet-list like in your sample image.

Happy to receive PRs fixing things in (latest) Opera, but I don't have time to fix things for it. It's based on Chromium, so things should just work (in theory).


Expose a history-filtering hook

@NotPersistent doesn't scale well when you're trying to use MultiKey and TreeKey. E.g., suppose your TreeKey hierarchy has entries that look like this:
Root > LoggedIn > Senstive > ScreenFiveOfEightyInSensitiveScope
I'd like to be able to put @NotPersistent on Sensitive, but Flow won't see it there. But do we really want to invite the kind of poisoning surprises that would happen when a stray annotation is applied to a common ancestor?
Rather than making @NotPersistent more complicated, it seems like we should drop it and instead introduce a hook to allow a delegate to filter history as its being saved.
See also issue #216

Exposing a hook is the way to go. Maybe we could keep an implementation based on @NotPersistent.

Something like this:
  History scrubHistory(History h);
}

class Flow {
  void setHistoryFilter(HistoryFilter filter);
}

With a default implementation that preserves the current @NotPersistent behavior.


question

how are the grades obtained via aeries?

short answer: through undocumented API calls. the app takes credentials and networks them to Aerie's api endpoints. separate API for login, grade overall, and assignments for each class


MAINTENANCE: move to organization account, add more maintainers

Hi everybody,
As can be seen on GitHub, it's quite evident that the current state of the project is sub-par. With 84 open pull requests, I get the feeling that the current maintainer(s) do not have enough time to devote to the project to give it the ❤ it needs.
This is no strange thing at all; in fact I think it's very common with FOSS projects. Initially, you have time to devote to it, but as time goes, other things tend to get more of your attention (like: other projects, family, non-computer-related activites, etc).
@schacon and @robertodecurnex, I admire the great work that you and many, many others have done during the past.
Would you be open to move the project to an organization account (https://github.com/ruby-git that I just created)? It then makes it more clear that this is a "community project" and not something personally owned by an individual. We did the same thing with rack-test a while ago, where the project was in a very similar shape (the original maintainer didn't have time to devote to the project, other people were willing to step in).
We can then work together to try and get the project into a better shape. (Note: I don't personally have very much time to devote to it either, I'm more just "helping it happen" and can devote a few minutes here and there.)
If other people are willing to contribute time, please note it here as well! I think especially people who have contributed to this project in the past would be very interesting, but also people who have done quality contributions to other Ruby-related projects in the past would also be very welcome from my POV.

Emailed Scott today, let's see if we can get this one moving in a good direction.

The repo has now been moved to the new address: https://github.com/ruby-git/ruby-git/, and I have been granted access to it also. Thank you for this, @schacon!
I don't have that much time available at the moment for going through bugs etc, so if we have volunteers available who would be willing to step up, please sign up and help us make ruby-git an even better gem than it currently is. The comment field below is where you enroll. 😉


[bugfix] Fix bug with PERCENT_SEGMENTS_AVAILABLE metric rounding down

Description
For tables that have high number of segments PERCENT_SEGMENTS_AVAILABLE reports 100% availability despite a few replicas being offline. Caused by rounding down (nOffline * 100 / nSegments) to int before subtraction from 100.
This PR changes metric logic to properly round down PERCENT_SEGMENTS_AVAILABLE and report 99% availability in such scenarios.
Testing

Added unit test to verify

Good catch. Can you take a look at the test failures?

I'm not quite sure why some tests end up failing, it's also different set of tests that fail when I run maven locally. Let's see how successful they are after this change.

Codecov Report

Merging #10348 (c6adede) into master (3ba6d26) will increase coverage by 38.28%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master   #10348       +/-   ##
=============================================
+ Coverage     32.05%   70.33%   +38.28%
- Complexity      236     5940     +5704
=============================================
  Files          2029     2035        +6
  Lines        109970   110228      +258
  Branches      16711    16748       +37
=============================================
+ Hits          35253    77532    +42279
+ Misses        71563    27270    -44293
- Partials       3154     5426     +2272

Flag
Coverage Δ

integration1
24.48% <0.00%> (-0.06%)
:arrow_down:

integration2
24.47% <0.00%> (?)

unittests1
67.77% <ø> (?)

unittests2
13.76% <0.00%> (+<0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

...e/pinot/controller/helix/SegmentStatusChecker.java
89.50% <0.00%> (+1.65%)
:arrow_up:

...elix/core/periodictask/ControllerPeriodicTask.java
66.07% <0.00%> (-5.36%)
:arrow_down:

...ntroller/helix/core/minion/TaskMetricsEmitter.java
88.46% <0.00%> (-3.85%)
:arrow_down:

...not/broker/broker/helix/ClusterChangeMediator.java
75.26% <0.00%> (-3.23%)
:arrow_down:

...r/helix/SegmentOnlineOfflineStateModelFactory.java
54.20% <0.00%> (-1.87%)
:arrow_down:

.../helix/core/realtime/SegmentCompletionManager.java
72.15% <0.00%> (-0.82%)
:arrow_down:

...lix/core/minion/PinotHelixTaskResourceManager.java
50.78% <0.00%> (-0.23%)
:arrow_down:

...pache/pinot/core/query/utils/idset/EmptyIdSet.java
25.00% <0.00%> (ø)

.../java/org/apache/pinot/client/PinotConnection.java
66.66% <0.00%> (ø)

...t/core/operator/filter/MatchAllFilterOperator.java
100.00% <0.00%> (ø)

... and 1276 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Travis builds are failing

Opening an issue to capture what we currently know.
Initial Travis configuration was merged via https://github.com/sky-map-team/stardroid/pull/137.
However, builds are still failing with the message:

Tests on test(AVD) - 6.0 failed: Instrumentation run failed due to 'Process crashed.'
com.android.builder.testing.ConnectedDevice > No tests found.[test(AVD) - 6.0] FAILED
No tests found. This usually means that your test classes are not in the form that your test runner expects (e.g. don't inherit from TestCase or lack @ Test annotations).
:app:connectedDebugAndroidTest FAILED
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:connectedDebugAndroidTest'.
There were failing tests. See the report at: file:///home/travis/build/sky-map-team/stardroid/app/build/reports/androidTests/connected/index.html

Other potential wrinkle is that if any tests rely on Google APIs or Google Play Services, there is currently a problem getting a working Google API emulator running on Travis.  I'm not sure if this impacts stardroid?
If it does, relevant issues are:

Android-maps-utils - https://github.com/googlemaps/android-maps-utils/issues/284
Travis - https://github.com/travis-ci/travis-ci/issues/6122

I believe we're stuck waiting on Travis for resolution for this specific problem, see that issue for latest.

I can't reproduce this error when running gradlew app:connectedAndroidTest -PdisablePreDex on a Windows machine with an x86 emulator with HAXM enabled.  I'm guessing it might have something to do with slower arm emulator execution, so I'm currently trying to repro locally on that configuration.

I don't know what's going here either.  This build target executes fine for me on OSX.  Originally I thought the issue was a failing test (which I removed), but I think they're all green now.  Do you know a way to pull the test report mentioned in the stacktrace?

I'm definitely not a Travis expert, but AFAIK Travis builds are ephemeral, so you'd have to push the log file to an external resource (e.g., FTP, Github) at the end of the build the same way you'd push a generated APK.  On a related note, I just found out in https://github.com/travis-ci/travis-ci/issues/6122#issuecomment-235792183 that there is a Travis Docker image (https://quay.io/repository/travisci/travis-android) that we could use to try to reproduce locally in the actual Travis environment.

Related to the "Instrumentation run failed due to 'Process crashed.'" error - from https://github.com/robotiumtech/robotium/issues/249#issuecomment-132643174:

Problem is not with testcase problem is with application. See if you use System.exit(0) anywhere in the application. It causes instrumentation test runner to run. Because it causes Dalvik virtual machine to exit. This result in finalization of all the objects. Use finish() instead of System.exit(0).

After searching the project, I saw System.exit(1); (which I assumed would have similar result) in the following classes:

AbstractProtoWriter
AsciiProtoRewriter
AsciiToBinaryProtoWriter

However, I removed them in this build and still got the same error message.

I also haven't been able to reproduce this issue on an armeabi-v7a emulator locally on a Windows machine.

The only other lead I have is related to the "com.android.builder.testing.ConnectedDevice > No tests found.[test(AVD) - 6.0] FAILED" message:
http://stackoverflow.com/questions/34042730/no-tests-found-for-instrumentation-tests-for-lollipop-and-above
Seems like it might be related to Dagger and/or certain annotations, and maybe this manifests on Travis in particular?  The tests are definitely configured differently than most other projects I've worked with, due to the project's origin with the older build systems pre-Gradle.
Per Jake Wharton's suggestion in https://github.com/google/dagger/issues/271#issuecomment-163977140 I tried configuring gradle-apt-plugin, and Travis is currently running a build for that.

Thanks Sean.  I believe those Writer classes only get used for the
regeneration of the data files in assets/ , so they shouldn't be involved
in normal tests or app execution.
On Mon, 1 Aug 2016 at 22:12 Sean Barbeau<EMAIL_ADDRESS>wrote:

Related to the "Instrumentation run failed due to 'Process crashed.'"
error - from RobotiumTech/robotium#249 (comment)
https://github.com/RobotiumTech/robotium/issues/249#issuecomment-132643174
:
Problem is not with testcase problem is with application. See if you use
System.exit(0) anywhere in the application. It causes instrumentation test
runner to run. Because it causes Dalvik virtual machine to exit. This
result in finalization of all the objects. Use finish() instead of
System.exit(0).
After searching the project, I saw System.exit(1); (which I assumed would
have similar result) in the following classes:

AbstractProtoWriter
AsciiProtoRewriter
AsciiToBinaryProtoWriter

However, I removed them in this build
https://travis-ci.org/barbeau/stardroid/builds/147936211 and still got
the same error message.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sky-map-team/stardroid/issues/143#issuecomment-236773417,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APq7C5qyDnzdUU3U7BR84FMZWZFKLyFLks5qbqePgaJpZM4JW07q
.

No luck with the above build trying to address potential dagger issue.  I also tried running on a Kitkat emulator, but that build failed as well with the same error.

For future troubleshooting purposes, there are some good debugging script statements in this commit.

<3 @barbeau thanks for leaving that note!


Update syntax to PSR12 coding standards

Added .editorconfig which is supported by all modern IDE
Update to guzzlehttp/guzzle:7.4. Because guzzle/guzzle v3.9 is very old and unsupported now
Remove php_codesniffer prefer PHP CS Fixer with best practice rules @Symfony
#1236 - Migrate to PSR12 coding standards
#1239 - Update composer stability to stable

No any breaking changes.

I'm all for updating to PSR12 standards, but I'm not merging this until all the checks pass
If they pass because we decide to drop PHP 7.4 like in https://github.com/boxbilling/boxbilling/issues/1240 that's good by me, otherwise the composer json and lock file will need to be updated to get everything passing correctly
PS: Thanks for the PR :)

@BenNottelling I'l be waiting decision by issue #1240.

Where did these additional files from? src/bb-library/font/unifont/

I will check this.

Greate PR, happy about it.

That makes two of us. I am glad we are moving forward and communicating as a team. Keep up the great work and let me know if you all need anything.  Sent from Mail for Windows From: Andrius PutnaSent: Friday, April 1, 2022 6:02 AMTo: boxbilling/boxbillingCc: SubscribedSubject: Re: [boxbilling/boxbilling] Update syntax to PSR12 coding standards (PR #1237) Great PR, happy about it.—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID<EMAIL_ADDRESS>
@fordnox @timothygwebb I'll wait for merge and start to next... ;)


Roadmap DRAFT

Roadmap DRAFT

[!NOTE]
This is still a work in-progress, some items may change.

Short Term Goal

[ ] CI

[ ] Promote NPM releases using automation
[ ] Improve overall CI scripts (parallel automation) e.g build:vite, build:nuxt and etc... (could be improved from the current implementation)

[ ] Improve

[ ] SSR / Nuxt Support
[ ] Better tree-shaking
[ ] Documentation by using something like Nuxt UI Pro for simple integration

ui.nuxt.com

[ ] Replace v-motion with <Motion /> component

  <script setup>
   	const motionRef = ref()
  </script>
  <template>
  	<Motion
  	   :ref="motionRef"
  	   :enter="{ ... }"
  	   :leave="{ ... }"
  	>
          <div />
  	</Motion>
  </template>

[ ] Fix all typescript 5 errors marked within the code @ts-expect-error - Typescript 5 fix later
[ ] !! Work on outstanding bugs currently

Long Term Goal

[ ] Re-structure repo for less deps required by overall package
[ ] Working towards a more stable v2 --> v3
[ ] Ask for additional hands to help support maintaining @vueuse/motion

If you have additional items you would like to see please feel free to give your ideas 💡 below.

@cpreston321 This is really great news! Are you still planning to keep the v-motion presets? This is one of the most useful parts of this library like adding in quick fade type animations..
The main aspect I really like about this library is how flexible the useMotion composible is for more complex animations.. However the major bug of this entire package functionality wise is this issue. Essentially elements that are in the immediate viewport do not acknowledge the motion properties for whatever reason. The current workaround is to use the useMotion composable within an onMounted hook.
The following example is for a spring animation for a mediaItems v-for loop:
// Media DOM refs
const motionItems = ref(null)

// Animation
const animate = (i) => ({
  initial: {
    y: 30,
    opacity: 0
  },
  visibleOnce: {
    y: 0,
    opacity: 1,
    transition: {
      type: 'spring',
      delay: 75 * i
    }
  }
})

// Init animation w/ useMotion
onMounted(() => {
  const items = motionItems.value

  if (items) {
    items.forEach((item, i) => {
      useMotion(item, animate(i))
    })
  }
})

Regarding automation and npm releases, I think adding/publishing a @vueuse/motion-edge or @vueuse/motion-nightly package automatically based on the last commit on main would be useful. This can be used to confirm issues have been resolved and if users want to use merged changes that haven't been published yet (though don't mind the release being potentially unstable).
Also adding issue template for bugs and feature requests could make issue triage easier.

Regarding automation and npm releases, I think adding/publishing a @vueuse/motion-edge or @vueuse/motion-nightly package automatically based on the last commit on main would be useful. This can be used to confirm issues have been resolved and if users want to use merged changes that haven't been published yet (though don't mind the release being potentially unstable).

I like @vueuse/motion-nightly a lot of other pkgs follow this namespace.

Also adding issue template for bugs and feature requests could make issue triage easier. (I'll see when I have time to open a PR for this)

Agreed 💯 I've been following Nuxt's issue template of most of my projects but we can come up with something similar.

@cpreston321 This is really great news! Are you still planning to keep the v-motion presets? This is one of the most useful parts of this library like adding in quick fade type animations..

Correct. I think the goal is to keep current functionality the same as v-motion directive.

I can also help with a documentation site if needed. I am a designer and front-end dev primarily using Vue/Nuxt. You check my portfolio on my profile if needed:)
Although I am not sure what new information needs to be on the documentation 🤔

Hey guys!
Any chance to use motionone instead of popmotion in the new major?

@sadeghbarati thank you.
Motionone documentation and npm packages have been officially delivered to us. What can we do in the same place? I am open to collaborations if you have ideas.

Another reason we should consider restructuring the repo (besides the benefits of splitting deps) is so we can use https://github.com/nuxt/module-builder to build the Nuxt module. The module builder will generate the correct types for Nuxt based on type exports which we are currently missing  (e.g. runtime config types).

@cpreston321  @BobbieGoede  I think the next step should be to migrate to https://motion.dev/.
Benefits:

Uses performant Web Animations API.
Great built-in API for scroll, inView and timeline animations (https://gesture.vueuse.org/ can be deprecated).
Small bundlesize (<4kb gzipped).

Hey @BobbieGoede just checking the status of this 🤓
Not sure how I feel about the migrating to Motion One, although the benefits are definitely a thing to consider (the Web Animations API and small bundlesize are great). However, there are some third party libraries that are currently integrated with @vueuse/motion such as hero-motion, which is a phenomenal addition to create more Framer-motion UI components. Ideally, something like hero-motion could be integrated into this package, along with other planned updates.
I'd recommend to keep this repo separate from Motion One and possibly integrate a new API or add shared layout animations like in hero-motion.
Also no need to rush a major update, this repo does its job atm and the updates that have happened this year are very appreciated by all of us I am sure!

@rylanharper
We're not in a hurry to replace popmotion anytime soon (unless there's high demand for it) but it will happen in the long term as it's no longer maintained. This doesn't necessarily need to be a breaking change, it may be possible to keep our API unchanged while migrating, otherwise this would need to happen in a new major version.
In the short(er than long) term I'll be focusing on the following: SSR/Nuxt support, reducing bundle size, stabilizing <Motion /> and <MotionGroup /> components, and general maintenance (docs, issues, ci). No time estimations or anything as it's all during off-hours 😅

@BobbieGoede Thanks for the update! This all sounds awesome. Yes, no rush on anything - this is a phenomenal package!

We've changed the release process and also added a nightly release channel https://github.com/vueuse/motion#nightly-release-channel (https://www.npmjs.com/package/vueuse-motion-nightly). So we should be able to publish changes easier/faster now!


[Upstream] Add threads_per_warp field to autotuner configurations

Add threads_per_warp (equivalent to subgroup size) field to Config so autotuner can use that as an additional parameter during its workflow.

Start up work on https://github.com/intel/intel-xpu-backend-for-triton/issues/952

Not really much testing for the autotuner. What's the preferred way of testing this for you guys?

Assigning @chengjunlu in case you think this is worth getting done. I'm dropping to take on a different task.

@victor-eds
Thanks for the code changes. It looks good to me.
I'd like to pick it and make it a formal code PR.

Closing this PR, as another PR #1133 is created.


invalid link references

link to script library is invalid
WindowsServerDocs/storage/storage-spaces/deploy-storage-spaces-direct.md
SMB Share Configuration for Hyper-V Workloads

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


support empty capabilities in kt

kt equivalent of https://github.com/PolymerLabs/arcs/pull/4842

imported copybara manually successfully passing tests #299366871. merging.


Maintenance: simplify and revisit tsconfig files & settings

Description of the feature request
Right now the tsconfig files located in the folder of each utility (Logger, Metrics, Tracer) have repeated settings with some differences.
Example: resolveJsonModule in the Logger utility, but there might be others.
Would be good to revisit the current tsconfig setup and the way we transpile our code.
Problem statement

Inconsistent, potentially unnecessary tsconfig settings across the same utility and different utilities.
Summary of the feature

Simplify tsconfig files & settings.

Code examples

I like the way the AWS SDK v3 does it, extending one another:
https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3
Benefits for you and the wider AWS community

Simplification and better governance.
Describe alternatives you've considered

N/A
Additional context

This issue affects all existing utilities.
Related issues, RFCs

Hi @saragerion! as far as I have understood, this issue is regarding making one common file for tsconfig for all three folders(Logger, Metrics, Tracer) which has similar settings, and extend individual/different settings in each of the folder through new tsconfig files. ryt? please let me know if I'am missing something here :) Thanks!

@goverdhan07 thanks for commenting the issue, I understand that what you're mentioning is correct but there might also be some settings in the tsconfig.json files that are unnecessary and that might be possible to remove. Ideally we'd need to go through all of them, extend when possible and remove when redundant.

Also note that there are some additional tsconfig files like tsconfig-dev.json and tsconfig.es.json. If they are not needed, the could be deleted. And another note: tsconfig.json only includes "src/**/*" but not tests, so all the compiler settings (like e.g. "strict": true) won't be applied to the test code which is a bit unfortunate (e.g. no consistent live linting in VSCode for tests).

Not sure if related, but in #1373, and specifically in point 4 of the issue it's mentioned that even though strict: true is applied in the config, interfaces are not flagging errors when a class that implements them does so incorrectly, i.e.:
const MetricUnit = {
    Bites: 'Bites'
} as const;
type MetricUnit = typeof MetricUnit;

interface MetricsInterface {
    addMetric(name: string, unit: MetricUnit, value: number): void
}

class Metric implements MetricsInterface {
    // Should show an error saying that `addMetric` is not compatible with the one defined in the interface
    public addMetric(name: string, unit: MetricUnit, value: number, resolution: string): void {
        console.log(name, unit, value);
    }
}

This playground for instance instead works.

Additionally, I have looked into this:

Also note that there are some additional tsconfig files like tsconfig-dev.json and tsconfig.es.json. If they are not needed, they could be deleted. And another note: tsconfig.json only includes "src/**/*" but not tests, so all the compiler settings (like e.g. "strict": true) won't be applied to the test code which is a bit unfortunate (e.g. no consistent live linting in VSCode for tests).

The reason why we have these separate config files that selectively include the tests are that we want both src/**/* and tests/**/* to be part of the config but we want only the content of src to be included in the build output. We could however simplify the setup and override only that setting like suggested in the OP.


ci: update mergifyio config to use queue action

Mergifyio is deprecating merge action, which will
be replaced by queue action.
https://blog.mergify.com/strict-mode-deprecation/
This commit makes necessary changes for the same.
Refer: https://docs.mergify.com/actions/queue/
Signed-off-by: Rakshith R<EMAIL_ADDRESS>

@Rakshith-R rule is showing as invalid PTAL

@Rakshith-R rule is showing as invalid PTAL

I guess mergifyio deprecated the settings, This error is being thrown at https://github.com/csi-addons/kubernetes-csi-addons/pull/55/checks?check_run_id=4758014887 too
We need to merge this pr to get mergifyio to work again
Tested this settings in my fork repo
https://github.com/Rakshith-R/kubernetes-csi-addons/runs/4758014886
https://github.com/Rakshith-R/kubernetes-csi-addons/blob/main/.github/mergify.yml

@Rakshith-R rule is showing as invalid PTAL

Manually checking in the mergify config editor shows that the proposed configuration is valid.


Enable REST frontend protocol by default

Why are the changes needed?

REST frontend protocol was introduced in Kyuubi 1.4.0 https://github.com/apache/kyuubi/pull/1349, more and more users are using REST in recent days, and to simplify the planned Web UI developments, I think we should enable the REST by default for master(1.8.0-SNAPSHOT).
I do not remove the "experiment" because we don't have strong confident to ensure the API stability in this time, I would like to defer it until the community has confident to mark it as stable.
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

Thanks all, merged to master


boards: risc-v: add BeagleV Starlight JH7100 board support

Adding support for beagleV Starlight board based on Starfive JH7100
SoC. It's a base support, no drivers other than UART has been tested.
Depends on https://github.com/starfive-tech/beagle_ddrinit/pull/8

Adding support for beagleV board based on Starfive VIC7100
SoC. It's a base support, no drivers other than UART has been
tested.
Depends on starfive-tech/beagle_ddrinit#8

a note on naming: BeagleV is a category term that refers to all RISC-V boards from BeagleBoard.org, BeagleV Starlight is the name of BeagleV boards with StarFive SoCs.  There are two version: BeagleV Starlight JH7100 (the beta prototype) and BeagleV Starlight JH7110 (future production version)
https://github.com/beagleboard/beaglev-starlight#guidance-on-naming-conventions

a note on naming: BeagleV is a category term that refers to all RISC-V boards from BeagleBoard.org, BeagleV Starlight is the name of BeagleV boards with StarFive SoCs. There are two version: BeagleV Starlight JH7100 (the beta prototype) and BeagleV Starlight JH7110 (future production version)
https://github.com/beagleboard/beaglev-starlight#guidance-on-naming-conventions

Thanks for specifying naming conventions, @pdp7

Can this board be purchased somewhere?

BeagleV Starlight is currently in the hands of developers working on
projects like this. (Minutes ago, I PR'ed a similar commit to another
Apache operating system for this hardware.)
Orders for the actual board have not yet begun.
https://beagleboard.org/beaglev will have more information when the time is
right.
On Tue, Jun 22, 2021 at 7:35 AM Anas Nashif @.***>
wrote:

Can this board be purchased somewhere?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zephyrproject-rtos/zephyr/pull/35731#issuecomment-865945191,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACCSD32Z72FOJ4ZFEK7ID73TUB7RVANCNFSM45UQ34KA
.