Use BufReader for LocalFileReader to revert performance regression in parquet reading

Which issue does this PR close?

Closes #1363
Rationale for this change

Parquet reading was slow. This recovers the performance regression in the TPC-H benchmark.
There is still a slowdown in query 10 - and other queries, but this is unrelated to Parquet reading https://github.com/apache/arrow-datafusion/issues/1367 (and performance still improves from roughly 10 to 7s on that query).
What changes are included in this PR?

Use the BufReadtrait instead ofRead`.
Are there any user-facing changes?

🎉

Thanks @Dandandan ! Can you quickly explain what the reason for the slowdown was exactly?

Thanks @Dandandan ! Can you quickly explain what the reason for the slowdown was exactly?

As far as I can explain:
The earlier code used the parquet-based API to read from a file, which uses a BufReader internally, which is crucial for the performance.
By introducing the object storage abstraction, we were directly reading from a File instance without any buffering in between, i.e. having lot's of extra calls to the OS (as you also hinted at in #1363).
This leads to both slowdown in loading the data but also was very expensive in the part that reads metadata /statistics (which normally takes something like <1ms locally). Probably that part does many small read calls.
By wrapping the File instance in the BufReader we avoid those calls to the OS.
Maybe a potential improvement would be having a bit more control, such as setting the capacity of the buffer.


"[HMR] Hot Module Replacement is disabled."

Do you want to request a feature or report a bug?
i think it's a bug

What is the current behavior?
i want to save files ,the browser can refresh right now.
If the current behavior is a bug, please provide the steps to reproduce.
webpack.config.js not work
package.json
"scripts": {
"dev": "node_modules/.bin/webpack-dev-server --config webpack.config.js --port 8089 --open",
"build": "webpack --config webpack.config.js"
},

webpack.config.js
var path = require('path');
var webpack = require('webpack');
module.exports = {
entry: ['webpack/hot/dev-server', path.resolve(__dirname, 'main.js')],
output: {
path: path.resolve(__dirname, './build'),
filename: 'bundle.js'
},
module: {
loaders: [
{
test: /(.js|.jsx)$/,
exclude: /(node_modules|bower_components)/,
loader: 'babel-loader',
query: {
presets: ['es2015', 'react']
}
}
]
},
plugins: [
new webpack.HotModuleReplacementPlugin()
]
};

What is the expected behavior?
no
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.

You didn't use WDS correctly. Don't pass HotModuleReplacementPlugin instead pass --hot


bug: maximum call stack

could be due to async persistedstate: https://github.com/soc221b/pinia-plugin-persistedstate-2
vue 5.5.3
devtools latest

I'm having the same issue but couldn't create a minimal reproduction. It starts with Vue version 3.5.0 and happens in every version up to 3.5.4. The console spam begins when I click the Vue tab in Developer Tools. It doesn't occur in 3.4.38.

I'm having the same issue but couldn't create a minimal reproduction. However, I’ve noticed a few things:

The issue starts with Vue version 3.5.0 and persists through 3.5.4.
It doesn't occur in version 3.4.38.
The console spam begins after I open the Vue tab in Developer Tools.
If I open a new tab and do not click on the Vue tab, there’s no spam.
It is definitely related to Pinia.

Thanks for the feedback, could you also use https://github.com/soc221b/pinia-plugin-persistedstate-2?

could be due to async persistedstate: https://github.com/soc221b/pinia-plugin-persistedstate-2
vue 5.5.3 devtools latest

I can not reproduce it, can you provide a mini repo? thanks.

I'm having the same issue but couldn't create a minimal reproduction. However, I’ve noticed a few things:

The issue starts with Vue version 3.5.0 and persists through 3.5.4.
It doesn't occur in version 3.4.38.
The console spam begins after I open the Vue tab in Developer Tools.
If I open a new tab and do not click on the Vue tab, there’s no spam.
It is definitely related to Pinia.

Thanks for the feedback, could you also use https://github.com/soc221b/pinia-plugin-persistedstate-2?

I'm using https://github.com/prazdevs/pinia-plugin-persistedstate, but I tested without it as well, and the issue still persists.

having the same issue on a work project, without pinia-plugin-persistedstate plugin, can't show the code but trying to reproduce in a clean installation

I'm not sure if it related to vue, can someone upgrade to vue 3.5.5 and try again?

I'm not sure if it related to vue, can someone upgrade to vue 3.5.5 and try again?

I´ve just tried it and the issue is still happening.

I'm not sure if it related to vue, can someone upgrade to vue 3.5.5 and try again?

I´ve just tried it and the issue is still happening.

Can you help to provide a mini repo? 🙏

It’s strange that there’s no such issue in the minimal reproduction.
Could someone fork it and add some details closer to your product?
https://stackblitz.com/edit/vitejs-vite-uiu4uu?file=src%2Fcomponents%2FHelloWorld.vue

I tried to create a minimal reproduction, but at this point I still don't know what exactly is causing the issue. I'll try to do some more tests when I have more time.

I'm getting the same - and I'm using the Beta version of the Chrome Extension:

I don't have pinia-plugin-persistedstate. I do use pinia and also TanStack Query Devtools.

I'm getting the same - and I'm using the Beta version of the Chrome Extension:

I don't have pinia-plugin-persistedstate. I do use pinia and also TanStack Query Devtools.
Other packages include:
    "pinia": "2.2.2",
    "primevue": "4.0.7",
    "vue": "3.5.6",
    "vue-i18n": "10.0.1",
    "vue-router": "4.4.5"

Can you provide a mini repo or share the repo to help we reproduce this issue? thanks 🙏

I'm getting the same - and I'm using the Beta version of the Chrome Extension:

I don't have pinia-plugin-persistedstate. I do use pinia and also TanStack Query Devtools.
Other packages include:
    "pinia": "2.2.2",
    "primevue": "4.0.7",
    "vue": "3.5.6",
    "vue-i18n": "10.0.1",
    "vue-router": "4.4.5"

Can you provide a mini repo or share the repo to help we reproduce this issue? thanks 🙏

it's a bit complicated, how do you do a proper debug ?

We are experiencing the same issue with our app
Works when downgrading to to<EMAIL_ADDRESS>Also using:

pinia
vue-i18n
vue-router
tanstack/vue-query

sacki5

I can not reproduce it. Can you help to provide a mini repo 🙏?

We are experiencing the same issue with our app Works when downgrading to to<EMAIL_ADDRESS>Also using:

pinia
vue-i18n
vue-router
tanstack/vue-query
We are not using pinia persisted state

Not sure if it helps but sometimes I get another stack trace.

I can not reproduce it. Can you help to provide a mini repo 🙏?

This is also happening with latest Vue 3.5.10
Using also

Pinia
Vue-router
Vue-i18n

Not using pinia persisted state.
Not sure if this helps, but some of the stack traces were leading to setTimeouts. We have simple timeouts to mock API response lag when not developing against a real backend:
// This is just for dev purposes to simulate loading delay.
function delay(ms: number): Promise<void> {
  return new Promise<void>((resolve, reject) => {
    if (typeof ms !== 'number' || ms < 0) {
      reject(new Error('Delay must be a non-negative number.'))
    } else {
      setTimeout(resolve, ms)
    }
  })
}

...

const returnMockData = async () => {
  await delay(500)
  return [<mock data array>]
}

Sorry, don't have time to build reproduction repo atm.

We are experiencing the same issue with our app Works when downgrading to to<EMAIL_ADDRESS>Also using:

pinia
vue-i18n
vue-router
tanstack/vue-query
We are not using pinia persisted state

Not sure if it helps but sometimes I get another stack trace.

I can not reproduce it. Can you help to provide a mini repo 🙏?

Haven't had time creating a mini repo yet. Also not sure what is causing it yet. Will try to create one as soon as I have more time.

we do have a problem because of https://github.com/wobsoriano/pinia-shared-state/issues/38 ?

If anyone is still experiencing this issue, any feedback and reproducible examples would be greatly appreciated. 🙏

I've tried in many different ways to reproduce the same error in another repo but I simply can't replicate the same behaviour. Can't share the project either because it's a private project from another company.
Here' the dependencies if someone has similar:
{
  "dependencies": {
    "apexcharts": "^3.54.1",
    "axios": "^1.7.7",
    "dayjs": "^1.11.13",
    "hls.js": "^1.5.17",
    "howler": "^2.2.4",
    "pinia": "^2.2.4",
    "v-calendar": "^3.1.2",
    "vue": "^3.5.12",
    "vue-my-toasts": "^2.0.1",
    "vue-router": "^4.4.5",
    "vue-the-mask": "^0.11.1",
    "vue3-apexcharts": "^1.7.0",
    "vuetify": "^3.7.3"
  },
  "devDependencies": {
    "@vitejs/plugin-vue": "^4.6.2",
    "eslint": "^8.57.1",
    "eslint-plugin-vue": "^9.29.1",
    "sass": "1.78.0",
    "vite": "^4.5.5",
    "vite-plugin-vue-devtools": "^7.5.2",
    "vite-plugin-vuetify": "^2.0.4"
  }
}

Some details of the environment if it could help:

Using Firefox 131.0.3;
Using Bun 1.1.29;
Running on Ubuntu 22.04 LTS;

The project also uses websockets, which maybe can affect in some way?
The error starts specifically when open the panel for the first time in the instance of the tab, and then piles up each time the mouse moves in different parts of this panel, like pinia, components, routes etc
If someone who has the same problem have dependendencies or another thing in common, post here, hope this helps

Try to fix it in v7.5.3 (vite plugin) and browser extension v7 beta.11 (pending review), if this issue has been resolved in the latest version, please let me know, thanks 🙏

I am not getting the issue after updating to 7.5.3 so at least for my case the fix seems to work fine. Thank you very much @webfansplz

It is fixed for me too. Thanks @webfansplz!

Does not work without downgrading to vue 3.4.38 for us still. For those who got this fixed, can you post your versions of vue and pinia?

Does not work without downgrading to vue 3.4.38 for us still. For those who got this fixed, can you post your versions of vue and pinia?

Hi, what’s your devtools version?

Hi, what’s your devtools version?
I tried vite plugin 7.5.3 and chrome extension 7 beta 11

Hi, what’s your devtools version?

I tried vite plugin 7.5.3 and chrome extension 7 beta 11

I can't reproduce it. Could you provide a mini repo? Thanks. 🙏

Does not work without downgrading to vue 3.4.38 for us still. For those who got this fixed, can you post your versions of vue and pinia?

For me it stays the same as above, pinia 2.2.4 and vue 3.5.12. Now working fine on Bun


[Event Request] Codeunit 99000834 Purch. Line-Reserve "OnPurchLineReserveCallItemTracking"

Can we please get the following event?
 procedure CallItemTracking(var PurchLine: Record "Purchase Line")
    var
        TrackingSpecification: Record "Tracking Specification";
        ItemTrackingLines: Page "Item Tracking Lines";
        IsHandled: Boolean;
    begin
        TrackingSpecification.InitFromPurchLine(PurchLine);
        if ((PurchLine."Document Type" = PurchLine."Document Type"::Invoice) and
            (PurchLine."Receipt No." <> '')) or
           ((PurchLine."Document Type" = PurchLine."Document Type"::"Credit Memo") and
            (PurchLine."Return Shipment No." <> ''))
        then
            ItemTrackingLines.SetRunMode("Item Tracking Run Mode"::"Combined Ship/Rcpt");
        IsHandled := false;
       //Event Request Begin
        OnPurchLineReserveCallItemTracking(PurchLine, IsHandled);
      //Event Request Begin
        if not IsHandled then
        if PurchLine."Drop Shipment" then begin
            ItemTrackingLines.SetRunMode("Item Tracking Run Mode"::"Drop Shipment");
            if PurchLine."Sales Order No." <> '' then
                ItemTrackingLines.SetSecondSourceRowID(ItemTrackingMgt.ComposeRowID(DATABASE::"Sales Line",
                    1, PurchLine."Sales Order No.", '', 0, PurchLine."Sales Order Line No."));
        end;
        ItemTrackingLines.SetSourceSpec(TrackingSpecification, PurchLine."Expected Receipt Date");
        ItemTrackingLines.SetInbound(PurchLine.IsInbound);
        OnCallItemTrackingOnBeforeItemTrackingFormRunModal(PurchLine, ItemTrackingLines);
        RunItemTrackingLinesPage(ItemTrackingLines);
    end;

local procedure OnPurchLineReserveCallItemTracking(var PurchLine: Record "Purchase Line"; IsHandled: Boolean)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


docs: update relative position tooltip style

:tada: This PR is included in version 1.0.16 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[go router] roadmap

Question
Is there some place to see the roadmap or the direction go_router will be taken now after development is done by the Flutter team?
I guess the ShellRoute was the first larger thing that was planned. It would be great to have an overview similar to the Dart Language Funnel https://github.com/dart-lang/language/projects/1
Might be there is some place with this already, it is just a bit harder to find now that go_router lies under flutter/packages

/cc @chunhtai for thoughts.

We have created a project https://github.com/orgs/flutter/projects/17/views/1 to prioritize issues. We have not finish planning for Q4 so issue priority may change. The plan is to move issues we want to work on in the quarter to P0.

I will close this as fixed, feel free to reopen if you have more questions.

We have created a project https://github.com/orgs/flutter/projects/17/views/1 to prioritize issues. We have not finish planning for Q4 so issue priority may change. The plan is to move issues we want to work on in the quarter to P0.

The URL takes me to a 404 page. Should it be open?

It is public now, let me know if you still can't see it.

It works now. Thank you!
Maybe it could be linked to in the Readme or something so that it was easy for people to find?

good idea


AndroidManifest.xml is malformed after patching

Description
After patching a not debuggable APK with RenderDoc, the patched APK can't be decoded with apktool because the AndroidManifest.xml is malformed (it has a wrong closing tag name).
Analyzing the patched APK with Android Studio, I get the following AndroidManifest.xml: patched_manifest.txt
It happens when the "debuggable" attribute is added to the manifest file and it's size increases but the "end" point is not updated to the new manifest size. In this case, when the stringpool ids are updated, the loop does not reach the end because the original manifest end point is used.
A possible fix for this issue which I have tested and works for me:
https://github.com/tabikati/renderdoc/commit/8eae2658292b65dafad14394a9b2e8d0731b0230
I will create a pull request if you would like.
Environment

RenderDoc build: v1.x, 2019-06-12.
Operating System: Android

Can you share a repro case for this so that I can investigate? Either the APK you were testing with or an equivalent build that still reproduces the problem?

Here is the APK: app.zip

This should be fixed with that commit.


Support running local scripts with pipenv run

Currently pipenv run will run either:

An executable in the $PATH
A script listed in Pipfile's [scripts]

However, it is quite a common occurrence that users will want to run a local script, e.g. ./app.py. Currently there are a few ways to do this, but each has their downsides

Add it to the [scripts] section - this works but assumes the user knows beforehand which scripts they may want to execute. Not good for ad-hoc running of scripts
pipenv run python app.py - this forces the user to specify the interpreter. This means the shebang line is ignored, and requires the user to know which interpreter they want (if it's a shell script it shouldn't be run with python). Unix philosophy dictates that we leave the choice of interpreter up to the script itself (hence the existance of the shebang)
Start a pipenv shell, and then run ./app.py. This is (imo) too much of a heavyweight solution. Starting a new shell shouldn't be required to run a single script.

Thus, could we implement the ability for pipenv run to execute arbitrary local scripts? Or is there some philosophical reason why we aren't allowing this?

I was thinking about this for a while (in a more general sense). Maybe we can add a fallback that when the first argument looks like a path, or starts with - (a dash), send the command line to python, so you can do
pipenv run -m foo   # Runs the foo module, like python -m foo
pipenv run ./foo.py  # Like python ./foo.py

(The path case has python preprended because it makes generalisation easier, and also works better for Windows.)
This would, however, requires a PEEP, and I just don’t currently have the time and capacity to draft it. I would be interested in assisting if you are interested in submitting a PEEP request.
https://github.com/pypa/pipenv/blob/master/peeps/PEEP-000.md

Maybe we can add a fallback that when the first argument looks like a path, or starts with - (a dash), send the command line to python

I don't think we should assume that the script is a python script. For example, what if someone make a bash script that uses the pipenv python, but itself runs using the bash interpreter? If someone wants to run a local python script I think adding a shebang line (#!/usr/bin/env python) or simply running pipenv run python foo.py would be sufficient.

This would, however, requires a PEEP, and I just don’t currently have the time and capacity to draft it.

I'd be happy to do this. Do I just PR a markdown document into the peep folder? What else should I add on top of what I have already written?

Personally I feel it is more productive to assume python, since pipenv run bash ./foo is always available, and the goal of pipenv run is never to duplicate shell parsing. This kind of discussion is exactly why a PEEP is needed though. Another possibility is to implement a shebang parser (it’s not that hard).
Yes, just send a PR to add a Markdown document to the peeps directory. The PEEP would need to summarise discussions around the particular topic, why certain ideas are rejected, and why a certain one is chosen. You don’t need to write all that immediately though. Start with copy-pasting your original post into it to kick off discussion, and gradually add things as they are discussed/resolved/rejected.
See #2819 for an example of discussions for PEEP-002. Also you might be interested in reasing some of Python’s PEP to get a feeling how this kind of documents can be structured. PEP 517 is a good example IMO.


Local Windows - Cannot Connect to Neo4j desktop - Could not user APOC procedures

I have my configuration files set up properly, i think, see attached.
Error I get is
"Could not use APOC procedures. Please ensure the APOC plugin is installed in Neo4j and that 'apoc.meta.data()' is allowed in Neo4j configuration"
I know my credentials are good, if I put in a bad password I get another error
am using bolt localhost:7687
neo4j.zip

OK - i looked at config again and realized I had
dbms.security.procedures.allowlist=apoc.coll.,apoc.load.,gds.,bloom.
when I added apoc.* it works
dbms.security.procedures.allowlist=apoc.coll.,apoc.load.,gds.,bloom.,apoc.*


Airspeed is negative and differential pressure is infinite

I hooked up an airspeed sensor and the readings that I am getting for airspeed and differential pressure are starting extremely high (differential pressure was x10^19) close to start up of the naze32. These readings then increase to until differential pressure becomes infinite at which point velocity becomes a very small negative number (ros reads -0.0). This is seems to be a problem with the firmware where the readings are being added together over and over but I have not confirmed that yet. Temperature readings seem fine though. I tried calibrating the airspeed with (rosservice call /calibrate_airspeed), but that didn't seem to do anything.

@drinkdhmo, @dallinbriggs,  Did you observe this behavior on your last flight?

No, but we flew the 'drinkdhmo:sensor_outlier_rejection' branch of firmware on Friday.

Hmm..  let's merge they in soon.

Hmm..  let's merge they in soon.

Okay, so I just flashed a clean build of the rc1.0 branch.  Here is my output

The noise on the sensor pretty large around 0.  (Like +/- 8 m/s)  It seems to be a lot less noisy when real airspeed is being measured.  There is absolutely no filtering on the airspeed measurement, so you'll want to do some pretty heavy low-pass filtering in your code.
@drinkdhmo, I think that your sensor_outlier_rejection branch is using the latest breezy.  Is that correct?

That is correct. Just waiting on Dan to merge.

Okay.  So, @sethholsinger, have you tried the latest rc1.0 branch?  It seems to be working pretty well for me.
I remember seeing issues like you're seeing.  They tend to be a problem with old versions of Breezy - the F1 driver layer.  Perhaps try a git submodule update after pulling the latest rc1.0 branch.  It could be that you are flashing an old version of the board drivers.

Thank you all for your input. The good new is that flashing the latest version of the firmware allows me to see both temperature and differential pressure readings. Unfortunately I don't get any velocity readings. ROS just always outputs 0,0.

That's weird....
Which topic are you reading no velocity on?

/airspeed

hmmm...  Which version of ubuntu are you on?

I downloaded a fresh version from master and that is when I got the errors that I mention in my last post. I used 14.04.

Could you please post the output of catkin_make?  14.04 ships with a different version of eigen than 16.04.  It's super annoying, and can cause weird compilation issues.
Also, try commenting out lines 87 - 97 of rosflight/rosflight/CMakeLists.txt
(https://github.com/rosflight/rosflight/blob/master/rosflight/CMakeLists.txt#L87)[https://github.com/rosflight/rosflight/blob/master/rosflight/CMakeLists.txt#L87]

The error is with eigen3 though I do have eigen3. I would post the error but it is extremely long. So here is a some of the error:
/usr/include/eigen3/Eigen/src/Core/ProductBase.h:91:34:   required from ‘Eigen::ProductBase<Derived, Lhs, Rhs>::ProductBase(const Lhs&, const Rhs&) [with Derived = Eigen::GeneralProduct<Eigen::GeneralProduct<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op, const Eigen::ReturnByValue<Eigen::internal::inverse_impl<Eigen::Matrix<double, -1, -1> > > >, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 5>, Eigen::Matrix<double, -1, -1>, 5>; Lhs = Eigen::GeneralProduct<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op, const Eigen::ReturnByValue<Eigen::internal::inverse_impl<Eigen::Matrix<double, -1, -1> > > >, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 5>; Rhs = Eigen::Matrix<double, -1, -1>]’
/usr/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix.h:391:66:   required from ‘Eigen::GeneralProduct<Lhs, Rhs, 5>::GeneralProduct(const Lhs&, const Rhs&) [with Lhs = Eigen::GeneralProduct<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op, const Eigen::ReturnByValue<Eigen::internal::inverse_impl<Eigen::Matrix<double, -1, -1> > > >, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 5>; Rhs = Eigen::Matrix<double, -1, -1>]’
/usr/include/eigen3/Eigen/src/Core/GeneralProduct.h:595:91:   required from ‘const typename Eigen::ProductReturnType<Derived, OtherDerived>::Type Eigen::MatrixBase::operator*(const Eigen::MatrixBase&) const [with OtherDerived = Eigen::Matrix<double, -1, -1>; Derived = Eigen::GeneralProduct<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op, const Eigen::ReturnByValue<Eigen::internal::inverse_impl<Eigen::Matrix<double, -1, -1> > > >, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 5>; typename Eigen::ProductReturnType<Derived, OtherDerived>::Type = Eigen::GeneralProduct<Eigen::GeneralProduct<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op, const Eigen::ReturnByValue<Eigen::internal::inverse_impl<Eigen::Matrix<double, -1, -1> > > >, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 5>, Eigen::Matrix<double, -1, -1>, 5>]’
/home/seth/flight_ws/src/rosflight/rosflight/src/mag_cal.cpp:454:59:   required from here
/usr/include/eigen3/Eigen/src/Core/util/BlasUtil.h:213:60: error: no matching function for call to ‘Eigen::internal::blas_traits<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op, const Eigen::ReturnByValue<Eigen::internal::inverse_impl<Eigen::Matrix<double, -1, -1> > > > >::extractScalarFactor(const type&)’
{ return - Base::extractScalarFactor(x.nestedExpression()); }
^
/usr/include/eigen3/Eigen/src/Core/util/BlasUtil.h:213:60: note: candidate is:
/usr/include/eigen3/Eigen/src/Core/util/BlasUtil.h:170:30: note: static const Scalar Eigen::internal::blas_traits::extractScalarFactor(const XprType&) [with XprType = Eigen::ReturnByValue<Eigen::internal::inverse_impl<Eigen::Matrix<double, -1, -1> > >; Eigen::internal::blas_traits::Scalar = double]
static inline const Scalar extractScalarFactor(const XprType&) { return Scalar(1); }
^
/usr/include/eigen3/Eigen/src/Core/util/BlasUtil.h:170:30: note:   no known conversion for argument 1 from ‘const type {aka const Eigen::Matrix<double, -1, -1>}’ to ‘const Eigen::ReturnByValue<Eigen::internal::inverse_impl<Eigen::Matrix<double, -1, -1> > >&’
make[2]: *** [rosflight/rosflight/CMakeFiles/calibrate_mag.dir/src/mag_cal.cpp.o] Error 1
make[1]: *** [rosflight/rosflight/CMakeFiles/calibrate_mag.dir/all] Error 2
make: *** [all] Error 2
Invoking "make -j1 -l1" failed
Removing those lines of code worked and it built. Thanks!

Okay I tried getting new version of rosflight and new firmware working together and the imu is unresponsive on the new version of the firmware (I reflashed the old version to make sure the imu is still good). I am getting differential pressure for the /airspeed topic, but no velocity on the new firmware.

@dpkoch, can you look into this error?  I don't have a v5 naze with me, but there is one in my desk.

Just a bit of additional information I tried this on both 14.04 (on a virtual machine) and 16.04 (on an odroid xu4). In order to get both of them to work I had to delete the rosflight_sim package and comment out the lines  87 - 97 of rosflight/rosflight/CMakeLists.txt as suggested by @superjax.

Quick question.  When you say the IMU is unresponsive, do you mean you are getting the "IMU not responding error?".
Could you check to see if you are actually receiving IMU messages?  I just noticed a bug where that error gets thrown and immediately cleared when reading or writing parameters, because the parameter write and read takes too long.

Sorry about the eigen compilation issue.  Perhaps we should just add into the cmakelists a check on the eigen version and disable that code if it's going to break.

Yes, I am receiving imu messages but its just displays all values as zero over and over again or the last message sent to ros master of that type. This also is happening with /rc_raw,

That's fine.  I'm actually out of town, so I don't have any way to test the v5 until Monday anyway.
This issue with the accel has me stumped.   I won't have time to look at it until Monday, but @len0rd, @cmcquinn or @dpkoch may have time to look at it before me.  Could you post

Your parameters.yaml
Hardware config (board/sensor configuration)
Compiler version (gcc-arm-none-eabi --version)

Let's see if we can reproduce the issue and help you out.

That's fine.  I'm actually out of town, so I don't have any way to test the v5 until Monday anyway.
This issue with the accel has me stumped.   I won't have time to look at it until Monday, but @len0rd, @cmcquinn or @dpkoch may have time to look at it before me.  Could you post

Your parameters.yaml
Hardware config (board/sensor configuration)
Compiler version (gcc-arm-none-eabi --version)

Let's see if we can reproduce the issue and help you out.

I'm sorry, I've been working from my phone, and accidentally closing this issue.  Haha.

Parameters are the stock parameters I didn't change them at all after the flash. I have tried both rev 5 and 6 naze32 but I have only hooked up an airspeed sensor to the rev 6.Both of these boards have barometers on them. My compiler version for g++/gcc is 4.8.4.

Issue is not observed on currently supported hardware.


文件压缩 释放

new ZipFile("filename.zip").addFolder(new File("/user/myuser/folder_to_add"));
请问使用这个方法 ，最后一个ZIP压缩文件的java进程如何释放呢？
thank you very much！

Please report your issue in English.

new ZipFile("filename.zip").addFolder(new File("/user/myuser/folder_to_add"));
I use the above method. The permission of the last zip file is not released (for example, if I delete it, I can't delete it). What should I do now?
thank you very much！

which OS are you on? Windows? Mac? Linux?

Windows
thank you very much！

I tried this on a windows machine, and I was able to delete the zip file successfully. Which version of zip4j are you using? If you are on an older version of zip4j, can you please try with the latest version?

And also, are you sure that there is no handle left open in your code for that file?

Did not stop the service to delete the file
I use the version: 2.6.1

But, my question was if you were sure if there is a file handle open in any other part of your code? Because I could not reproduce this locally. Would it be possible to attach the zip file?

Closing this issue as there is no further feedback. Please feel free to reopen if you have any feedback to my question above.


Console Tool throws System.Reflection.ReflectionTypeLoadException

So when I am trying to run the following command in the console:
dotnet benchmark Benchmarks.dll --filter *

it throws the following error at me:
Unhandled Exception: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Could not load file or assembly 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.

with the following StackTrace:
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeModule.GetTypes()
   at System.Reflection.Assembly.GetTypes()
   at BenchmarkDotNet.Extensions.ReflectionExtensions.GetRunnableBenchmarks(Assembly assembly) in W:\Work\BenchmarkDotNet\src\BenchmarkDotNet\Extensions\ReflectionExtensions.cs:line 131
   at BenchmarkDotNet.Running.TypeFilter.GetTypesWithRunnableBenchmarks(IEnumerable`1 types, IEnumerable`1 assemblies, ILogger logger) in W:\Work\BenchmarkDotNet\src\BenchmarkDotNet\Running\TypeFilter.cs:line 34
   at BenchmarkDotNet.Running.BenchmarkSwitcher.RunWithDirtyAssemblyResolveHelper(String[] args, IConfig config) in W:\Work\BenchmarkDotNet\src\BenchmarkDotNet\Running\BenchmarkSwitcher.cs:line 92
   at BenchmarkDotNet.Running.BenchmarkSwitcher.Run(String[] args, IConfig config) in W:\Work\BenchmarkDotNet\src\BenchmarkDotNet\Running\BenchmarkSwitcher.cs:line 67
   at BenchmarkDotNet.Tool.Program.OnExecute() in W:\Work\BenchmarkDotNet\src\BenchmarkDotNet.Tool\Program.cs:line 44
--- End of stack trace from previous location where exception was thrown ---
   at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.Invoke(MethodInfo method, Object instance, Object[] arguments)
   at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.OnExecute(ConventionContext context)
   at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.<>c__DisplayClass0_0.<<Apply>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at McMaster.Extensions.CommandLineUtils.CommandLineApplication.<>c__DisplayClass138_0.<OnExecute>b__0()
   at BenchmarkDotNet.Tool.Program.Main(String[] args) in W:\Work\BenchmarkDotNet\src\BenchmarkDotNet.Tool\Program.cs:line 26

C# version: 8
.Net version: .Net Preview 5 preview 3
Console Tool version: 0.12.1

What is the issue for RepoDb here?

My god, I actually managed to post the issue to the wrong repo, it was pretty late, my bad.

@TwentyFourMinutes - it is okay, quite interested on what you're working for :) Please do not hesitate to share the result in your README file.

@mikependon Will defiantly do once I get the base operation done. On the one hand its just for me to give myself a challenge, on the other hand I really want to get an ef core alternative which handles insert/delete/update/query for foreign tables.


After many rebuilds, "FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory"

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Prerequisites

[X] I'm using the latest version of Docusaurus.
[X] I have tried the npm run clear or yarn clear command.
[X] I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
[X] I have tried creating a repro with https://new.docusaurus.io.
[X] I have read the console error message carefully (if applicable).

Description
Consistently when developing on github.com/typescript-eslint/typescript-eslint, after a dozen or two rebuilds, the JavaScript heap runs out of memory:
✔ Client: Compiled successfully in 110.32ms
client (webpack 5.74.0) compiled successfully
ℹ Compiling Client
✔ Client: Compiled successfully in 166.16ms
client (webpack 5.74.0) compiled successfully
ℹ Compiling Client

<--- Last few GCs --->

[95379:0x130048000]  1517409 ms: Mark-sweep (reduce) 4074.8 (4103.0) -> 4012.5 (4039.3) MB, 11.8 / 0.0 ms  (+ 32.0 ms in 1 steps since start of marking, biggest step 32.0 ms, walltime since start of marking 120 ms) (average mu = 0.946, current mu = 0.965)[95379:0x130048000]  1517589 ms: Mark-sweep (reduce) 4158.7 (4184.5) -> 4158.6 (4184.7) MB, 104.5 / 0.0 ms  (average mu = 0.856, current mu = 0.419) allocation failure; scavenge might not succeed

<--- JS stacktrace --->

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
 1: 0x1005b7c60 node::Abort() [/Users/josh/.nvm/versions/node/v18.7.0/bin/node]
 2: 0x1005b7de8 node::ModifyCodeGenerationFromStrings(v8::Local<v8::Context>, v8::Local<v8::Value>, bool) [/Users/josh/.nvm/versions/node/v18.7.0/bin/node]
...
82: 0x1053b108c
error Command failed with signal "SIGABRT".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Note: I don't think this is the same issue as #4765. This is about rebuilds crashing, not performance.
Your environment

Public source code: https://github.com/typescript-eslint/typescript-eslint
Public site URL: https://typescript-eslint.io
Docusaurus version used: 2.0.1
Environment name and version (e.g. Chrome 89, Node.js 16.4): Chrome 100, Node 16 or 18
Operating system and version (e.g. Ubuntu 20.04.2 LTS): macOS Monterey

This has happened on multiple laptops over the last few months. I've just gotten around to posting now.
Self-service

[ ] I'd be willing to fix this bug myself.

Also the first time I see something like that.
Maybe it could be a memory leak due to something custom, but it would be hard to know hat exactly without investing time profiling it.
For example, one memory leak was reported once writing a custom remark plugin here: https://github.com/facebook/docusaurus/pull/4997
Maybe worth giving it a try: https://engineering.fb.com/2022/09/12/open-source/memlab/

Got it, thanks - I'll move this issue over to typescript-eslint then. Cheers!


WIP: testing/ods/common.sh: switch to the KFNBC image

WIP bits to launch a KFNBC RHODS instance
/cc @kpouget

Tested in https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/openshift-psap_ci-artifacts/450/pull-ci-openshift-psap-ci-artifacts-master-ods-jh-on-ocp/1552302637083267072/artifacts/jh-on-ocp/test/artifacts/
I think KFBNC was correctly deployed, and ODS-CI failed as expected.


useClientEffect$ in custom hook breaks

Qwik Version
0.10.0
Operating System (or Browser)
MacOS 12.6 - Chrome 106.0.5249.103
Node Version (if applicable)
v16.13.0
Which component is affected?
Qwik Runtime
Expected Behaviour
Using a custom hook that wraps useClientEffect$ multiple times would each work independently
In the below example:

I expect the first "false" to change to "true" after .5 seconds
I expect the second "false" to change to "true" after 1 second

import { component$, useClientEffect$, useSignal } from<EMAIL_ADDRESS>
export function wait(duration: number) {
  return new Promise((resolve) => {
    setTimeout(() => {
      resolve(null);
    }, duration);
  });
}

export function useDelay(duration: number) {
  const ready = useSignal(false);
  useClientEffect$(async () => {
    console.log(`delaying for ${duration}`);
    wait(duration).then(() => (ready.value = true));
  });
  return ready;
}

export default component$(() => {
  const val1 = useDelay(500);
  const val2 = useDelay(1000);

  return (
    <>

{val1.value}

{val2.value}

    </>
  );
});

Actual Behaviour
The two uses of the custom hook end up conflated, and the behavior isn't correct.

The first does not change after .5 seconds
The second changes after 1 second

import { component$, useClientEffect$, useSignal } from<EMAIL_ADDRESS>
export function wait(duration: number) {
  return new Promise((resolve) => {
    setTimeout(() => {
      resolve(null);
    }, duration);
  });
}

export function useDelay(duration: number) {
  const ready = useSignal(false);
  useClientEffect$(async () => {
    console.log(`delaying for ${duration}`);
    wait(duration).then(() => (ready.value = true));
  });
  return ready;
}

export default component$(() => {
  const val1 = useDelay(500);
  const val2 = useDelay(1000);

  return (
    <>

{val1.value}

{val2.value}

    </>
  );
});

Additional Information
Using two separate useClientEffect$s in the component directly works as expected, as does having a single useClientEffect$ that does the work of changing both values

Got the qwik version wrong 🤦. Just updated it

Same bug in version 0.11.0. Playground


java.lang.NullPointerException: Deflater has been closed

java.lang.NullPointerException: Deflater has been closed
at java.util.zip.Deflater.ensureOpen(Deflater.java:551)
at java.util.zip.Deflater.deflate(Deflater.java:426)
at java.util.zip.Deflater.deflate(Deflater.java:352)
at okio.DeflaterSink.long okio.Buffer.size()()
void deflate(boolean)
void okio.Buffer.setSize$okio(long)
void deflate(boolean)
void deflate(boolean)
at okio.DeflaterSink.void write(okio.Buffer,long)(:2)
at okhttp3.internal.ws.WebSocketWriter.void okhttp3.internal.ws.MessageDeflater.deflate(okio.Buffer)(:7)
void writeMessageFrame(int,okio.ByteString)
at okhttp3.internal.ws.RealWebSocket.boolean writeOneFrame$okhttp()(:7)
at okhttp3.internal.ws.RealWebSocket$WriterTask.long runOnce()()
at okhttp3.internal.concurrent.TaskRunner.void runTask(okhttp3.internal.concurrent.Task)(:3)
void access$runTask(okhttp3.internal.concurrent.TaskRunner,okhttp3.internal.concurrent.Task)
at okhttp3.internal.concurrent.TaskRunner$runnable$1.void run()(:7)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)

Can you provide a bug reproduction, it isn't clear from the stacktrace what type of behaviour will trigger this bug.

Hello!
I'm getting precisely the same problem on version 4.9.1. Unfortunately, I can't reproduce this. My guess was about the concurrency issue during simultaneous shutdown and writing. More specifically, shutdown should be caused by some failure because I have another problem that may be connected to this: https://github.com/square/okhttp/issues/6723
I had run a stress test with lots of send operations and fail during onMessage callback, but I got nothing from this. Everything was fine.
Is there any chance that two WebSockets with the same endpoint may share Deflater? RealWebSocket code shows that it creates it for every instance. But maybe I missed something.
Thank you for any help or feedback! I'm stuck on this problem for a while.
Fatal Exception: java.lang.NullPointerException: Deflater has been closed
       at java.util.zip.Deflater.ensureOpen(Deflater.java:583)
       at java.util.zip.Deflater.deflate(Deflater.java:458)
       at java.util.zip.Deflater.deflate(Deflater.java:384)
       at okio.DeflaterSink.deflate(DeflaterSink.kt:91)
       at okio.DeflaterSink.write(DeflaterSink.kt:64)
       at okhttp3.internal.ws.MessageDeflater.deflate(MessageDeflater.kt:45)
       at okhttp3.internal.ws.WebSocketWriter.writeMessageFrame(WebSocketWriter.kt:155)
       at okhttp3.internal.ws.RealWebSocket.writeOneFrame$okhttp(RealWebSocket.kt:527)
       at okhttp3.internal.ws.RealWebSocket$WriterTask.runOnce(RealWebSocket.kt:620)
       at okhttp3.internal.concurrent.TaskRunner.runTask(TaskRunner.kt:116)
       at okhttp3.internal.concurrent.TaskRunner.access$runTask(TaskRunner.kt:42)
       at okhttp3.internal.concurrent.TaskRunner$runnable$1.run(TaskRunner.kt:65)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
       at java.lang.Thread.run(Thread.java:919)

Like #6723 we are probably blocked reproducing this without a leap in insight, so might be worth us focusing on how to avoid the cases we are worried about like thread unsafety (#6725)

Going to close this unless we can get a reproduction. Any failing test case, or example code that triggers it would be helpful.

We have been getting many crash reports in the same line.
It's difficult to reproduce, but extremely common error. The worst is that it just crashes the entire app/server. Could this be a malformed compression from the WS server?
Exception java.lang.NullPointerException: Deflater has been closed
  at java.util.zip.Deflater.ensureOpen (Deflater.java:583)
  at java.util.zip.Deflater.deflate (Deflater.java:458)
  at java.util.zip.Deflater.deflate (Deflater.java:384)
  at okio.DeflaterSink.deflate (DeflaterSink.kt)
  at okio.DeflaterSink.write (DeflaterSink.kt)
  at okhttp3.internal.ws.MessageDeflater.deflate (MessageDeflater.kt)
  at okhttp3.internal.ws.WebSocketWriter.writeMessageFrame (WebSocketWriter.kt)
  at okhttp3.internal.ws.RealWebSocket.writeOneFrame$okhttp (RealWebSocket.kt)
  at okhttp3.internal.ws.RealWebSocket$WriterTask.runOnce (RealWebSocket.kt)
  at okhttp3.internal.concurrent.TaskRunner.runTask (TaskRunner.kt)
  at okhttp3.internal.concurrent.TaskRunner.access$runTask (TaskRunner.kt)
  at okhttp3.internal.concurrent.TaskRunner$runnable$1.run (TaskRunner.kt)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1137)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:637)
  at java.lang.Thread.run (Thread.java:1012)

This seems to be correlated with an onFailure event
    java.net.ProtocolException: Control frames must be final.
      	at okhttp3.internal.ws.WebSocketReader.readHeader(WebSocketReader.kt:130)
      	at okhttp3.internal.ws.WebSocketReader.processNextFrame(WebSocketReader.kt:102)
      	at okhttp3.internal.ws.RealWebSocket.loopReader(RealWebSocket.kt:293)
      	at okhttp3.internal.ws.RealWebSocket$connect$1.onResponse(RealWebSocket.kt:195)
      	at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:539)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
      	at java.lang.Thread.run(Thread.java:1012)

This suggests okio should probably convert NPE here to an IOException.
Exception java.lang.NullPointerException: Deflater has been closed
  at java.util.zip.Deflater.ensureOpen (Deflater.java:583)
  at java.util.zip.Deflater.deflate (Deflater.java:458)
  at java.util.zip.Deflater.deflate (Deflater.java:384)
  at okio.DeflaterSink.deflate (DeflaterSink.kt)

Can it pipe it down to a catchable event, though?

https://github.com/square/okio/issues/570 suggests this might be an OkHttp bug. But I still think Okio should handle it, if it's somewhat normal.

Hello together - have the same Error. Happens occasionally. Exact one as OP


remove django_extensions/management/utils:get_project_root

Remove the get_project_root method for version 1.4.0
New Django installs specify BASE_DIR in settings.py which can be used instead for a consistent way to get the project root.
We should promote users adding BASE_DIR and explicitly telling us the project root.

I have a problem with this command:
./manage.py clean_pyc
CommandError: No --path specified and settings.py does not contain BASE_DIR

Why?

@SalahAdDin please do not cross post your question


Create a Wireframe design for front-end

Is your feature request related to a problem? Please describe.
Front-end  UI design is missing , any modification is performed directly in code form .
Describe the solution you'd like
Creating a Wireframe for front-end page of water-monitoring-system so that a basic flow is website is created before implementing it in code .

@Swarnimashukla Please share your mocks here!

This is header part which includes image slides of product or save water theme along with four tanks and level part of project.

This is footer part which includes demo video of product customer review and sign up option


Update queries.py

add new function order_as, limitr
example:
import pypika
customers = pypika.Table('customers')
q = pypika.MySQLQuery.from_(customers).select(
customers.id, customers.fname, customers.lname, customers.phone, "sdfas"
).where(
((customers.age >= 18) | (customers.age < 10)) & (customers.lname == 'Mustermann')
).groupby(customers.x).order_as('DESC').orderby(customers.y).limitr(11,22)
print(str(q))
output:
SELECT id,fname,lname,phone,sdfas FROM customers WHERE (age>=18 OR age<10) AND lname='Mustermann' GROUP BY x ORDER BY y as DESC LIMIT 11, 22

Coverage decreased (-0.3%) to 97.933% when pulling 9827decabdf97c8ddfdcbdfea999489f79a84d78 on vorlon001:master into c467f6da7e15843b34c4af6f5ef09ef44c78d158 on kayak:master.

Coverage decreased (-0.3%) to 97.933% when pulling 9827decabdf97c8ddfdcbdfea999489f79a84d78 on vorlon001:master into c467f6da7e15843b34c4af6f5ef09ef44c78d158 on kayak:master.

Coverage decreased (-0.3%) to 97.933% when pulling 9827decabdf97c8ddfdcbdfea999489f79a84d78 on vorlon001:master into c467f6da7e15843b34c4af6f5ef09ef44c78d158 on kayak:master.

Coverage decreased (-0.3%) to 97.933% when pulling 9827decabdf97c8ddfdcbdfea999489f79a84d78 on vorlon001:master into c467f6da7e15843b34c4af6f5ef09ef44c78d158 on kayak:master.

Coverage decreased (-0.3%) to 97.933% when pulling 9827decabdf97c8ddfdcbdfea999489f79a84d78 on vorlon001:master into c467f6da7e15843b34c4af6f5ef09ef44c78d158 on kayak:master.


xtensa-esp32-elf/bin/ld: cannot find -lrtc (IDFGH-5081)

I'm compiling the firmware of micropython for esp32 with esp-idf 4.0. I encountered the following problems and asked for assistance；
xkp@xkp-VirtualBox:~/esp32/micropython/ports/esp32$ make
MicroPython v1.13-30-g1d344f446-dirty
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
Building with ESP IDF v4
LINK build-GENERIC_SPIRAM/bootloader.elf
/home/xkp/esp32/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: cannot find -lrtc
collect2: error: ld returned 1 exit status
Makefile:979: recipe for target 'build-GENERIC_SPIRAM/bootloader.elf' failed
make: *** [build-GENERIC_SPIRAM/bootloader.elf] Error 1
xkp@xkp-VirtualBox:~/esp32/micropython/ports/esp32$ make V=1
MicroPython v1.13-30-g1d344f446-dirty
Building with ESP IDF v4
LINK build-GENERIC_SPIRAM/bootloader.elf
xtensa-esp32-elf-gcc -nostdlib -L/home/xkp/esp32/esp-idf/lib -L/home/xkp/esp32/esp-idf/ld -u call_user_start_cpu0 -Wl,--gc-sections -static -Wl,-EL -Wl,-Map=build-GENERIC_SPIRAM/bootloader.map -Wl,--cref -T /home/xkp/esp32/esp-idf/components/bootloader/subproject/main/esp32.bootloader.ld -T /home/xkp/esp32/esp-idf/components/bootloader/subproject/main/esp32.bootloader.rom.ld -T /home/xkp/esp32/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld -T /home/xkp/esp32/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld -T /home/xkp/esp32/esp-idf/components/esp32/ld/esp32.peripherals.ld -o build-GENERIC_SPIRAM/bootloader.elf -Wl,--start-group -Lbuild-GENERIC_SPIRAM/bootloader -lbootloader_support -llog -lspi_flash -lsoc -lmain -L/home/xkp/esp32/esp-idf/components/esp_wifi/lib_esp32 -lrtc -L/home/xkp/esp32/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/esp32-psram/ -lgcc -Wl,--end-group
/home/xkp/esp32/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: cannot find -lrtc
collect2: error: ld returned 1 exit status
Makefile:979: recipe for target 'build-GENERIC_SPIRAM/bootloader.elf' failed
make: *** [build-GENERIC_SPIRAM/bootloader.elf] Error 1
Hope to get your help, thank you very much

Please check if librtc.a is found in /home/xkp/esp32/esp-idf/components/esp_wifi/lib_esp32, the file is normally in that directory. If the directory is empty, it means that the submodules haven't been initialized (git submodule update --init in ESP-IDF directory).
One additional point, it looks like you are trying to build with ESP-IDF 4.0 and GCC 5.2.0 based Xtensa toolchain. This is not supported, please use GCC 8.x based Xtensa toolchain for IDF 4.x releases: https://docs.espressif.com/projects/esp-idf/en/release-v4.0/get-started/index.html#step-3-set-up-the-tools.

OK, thank you very much for your reply. Now is OK!  How did I solve it?
I'll just download clone again from GitHub and the warehouse. It was originally from the warehouse clone that I transferred from gitee, and the sub module was imported by myself. Maybe the sub module that I imported from gitee is incomplete.

Please check if librtc.a is found in /home/xkp/esp32/esp-idf/components/esp_wifi/lib_esp32, the file is normally in that directory. If the directory is empty, it means that the submodules haven't been initialized (git submodule update --init in ESP-IDF directory).
One additional point, it looks like you are trying to build with ESP-IDF 4.0 and GCC 5.2.0 based Xtensa toolchain. This is not supported, please use GCC 8.x based Xtensa toolchain for IDF 4.x releases: https://docs.espressif.com/projects/esp-idf/en/release-v4.0/get-started/index.html#step-3-set-up-the-tools.

OK, thank you very much for your reply.
After careful examination, my own ESP IDF repository on gitee is really short of lib_ Esp32, as you said, thank you very much.
But I need to confirm why I import gitee's warehouse from GitHub's warehouse. I need to think about why this file has not been imported together.
Thank you again for your guidance! Very useful!
Best wishes

No problem, good to know the problem is solved!


Problem with discord

Hey ! I currently own the free version of the bot and I aim to upgrade to the premium version very soon, but I'm currently experiencing a problem with a problem in the console when compiling the pokeball.py "ModuleNotFoundError: No module named 'discord'" when discord is well established where the problem may come from?

The discord in the error refers to the Python library discord.py, not your discord client. This error indicates that your setup.bat didn't execute successfully. Verify that Python is added to path by running where python in a command prompt.
If the path points to the WindowApps folder, open another command prompt, but in admin mode.
Then run del /f "insert the path in the previous cmd". Then reinstall python and rerun the setup.bat.

Closing this due to inactivity. Feel free to re-open if the error persists.


Freezing upon pressing Tab

Its not my performance clearly.
I am running smoothly at 40-60 at most of the map,   Anytime I press Tab for the Inventory, Scoreboard or to even see the menu my game will freeze indefinetely   I am sure since I left it on the screen for 20 minutes and nothing happens except repeating sounds which were on the game last.
I have less than 30 addons installed and all they are is for the server this is happenning on         I have the workshop HL2RP content addon so it cant be a ui texture thing.     I am really running out of ideas.
I have tried verifying game cache and resetting my lua folder
I have reinstalled steam and Garry's Mod multiple times and it still happens and it is really halting my experience on HL2RP as a whole.

Have you tried this w/o any addons at all?

Does this happen for every server you play on?


types: remove unused equal method and add test case.

matcher miss a method for equal.  The current way is that compare two structures directly.  matcher needs a special method for compare equal.
add a test case for matchers compares.

updated.


Add option to continue if an Error occurs in one section

Closes #124
What has been done:

Add a configuration option skip_if_error to the build, git, rustc and sysinfo features, to allow skipping a feature and continuing if an Error occurs. configure_cargo is not fallible, so the option wouldn't make sense there.
Emit a cargo:warning if an Error was skipped in this way.
Add a test for skip_if_error for the git feature. This adds a new dependency tempfile, which is just needed for this one test of the git feature. Sadly, there is no way to define optional dev-dependencies (https://github.com/rust-lang/cargo/issues/1596), so I deactivated the unused_crate_dependencies lint.
Add documentation for the option and mention option_env!.
Fix two unrelated nits.

Open questions:

I'm not sure if skip_if_error is a good name, please suggest a better one :)
It would be nice to add tests for the other features, too. Do you have an idea how to make them Error?
Is disabling unused_crate_dependencies okay for you?
If you prefer, I'll open a separate PR for the unrelated nits.
Please tell me if you'd like the commits squashed :)

Hey, could you please approve the CI run? I'm a first-time contributor to this project, so GitHub prevents me from running CI (and rightly so) :)

Thank you :) No problem, I hope the vacation was nice :tropical_drink:
I messed up formatting, sorry :sweat:

That's why the check is there :).  I miss formatting all the time.

Thanks for merging :) :tada:


Export ES6 default property in CommonJS and global object

In Babel 5, the ES6 default property was exported as both default
property under the CommonJS export (module.exports) and global object
(in UMD wrapper, on browser). With babel 6 this behaviour was changed
(https://github.com/babel/babel/issues/2212) and now using library
requires e.g.
require("react-modal").default instead of just require("react-modal")
ReactModal.default instead of ReactModal
This babel plugin restores the old behaviour.
Fixes https://github.com/reactjs/react-modal/issues/470

Coverage increased (+0.2%) to 87.404% when pulling 3a7febc8b5088aef36acbf2604668333071803b8 on Deraen:master into ba526cffe0bc29910dd17b8cb0da93db14d4f456 on reactjs:master.

Coverage increased (+0.2%) to 87.404% when pulling 3a7febc8b5088aef36acbf2604668333071803b8 on Deraen:master into ba526cffe0bc29910dd17b8cb0da93db14d4f456 on reactjs:master.

Hi @Deraen, Thanks! You can remove the dist/* files because they are generated
when we publish a new version.

@diasbruno Done

Thank you! I'll publish a new version later today.

Coverage increased (+0.2%) to 87.404% when pulling 52767c777965772e332c65d34df00c6ac187cbdc on Deraen:master into ba526cffe0bc29910dd17b8cb0da93db14d4f456 on reactjs:master.

Coverage increased (+0.2%) to 87.404% when pulling 52767c777965772e332c65d34df00c6ac187cbdc on Deraen:master into ba526cffe0bc29910dd17b8cb0da93db14d4f456 on reactjs:master.

Released v2.3.2.


[YBUG.IO] Hi- I threw some SOV/RBTC into...

Hi- I threw some SOV/RBTC into this pool yesterday, and it is not reflected in the "Your current share of the reward pool." Why is that? Thank you very much
Source url: https://live.sovryn.app/liquidity
Reported by<EMAIL_ADDRESS>Reported at: 01 May at 15:03 UTC
Location: US, Florida, Palm Beach Gardens
Browser: Chrome 90.0.4430.93
OS: Windows 10.0
Screen: 1920x1080
Viewport: 1273x926
Screenshot:

For more details please visit report page on Ybug:
https://ybug.io/dashboard/reports/detail/nrgyzwvpfgwqvjx08xgv

@BetsyBraddock I think this may be a problem with a backend?

@creed-victor this sounds like an issue with the backend, but it's very difficult to debug without a wallet address. The backend has a bit of a lag because the transaction has to be mined and then it needs to be picked up by the data feed, added to the database and returned to the frontend.
We can definitely implement a better solution (websocket, a spinner on the frontend that shows until the backend picks up the transaction, or we could show the transaction with the word "pending" in the liquidity mining event list while it is being mined and processed by the database), let's talk about it next week

Issue should be resolved by latest Liquidity Mining frontend updates, I'll close this ticket after testing


⚠ Nextcloud has degraded performance

In 7c465af, Nextcloud ($URL_NEXTCLOUD) experienced degraded performance:

HTTP code: 200
Response time: 23641 ms

Resolved: Nextcloud performance has improved in cfa81c5.


Filters in 'orders' query

Great gem. Thanks for your contribution.
I have this strategy that requires me to check whether there is an existing open order before placing a new one.
Using the REST API, is it possible to check that, for example, there is a pending buy limit order for EUR-USD at 1.0650 ??
I have gone through the whole OANDA documentation and can't figure this out. Furthermore, their tech support don't know and told me to contact their api email address but they won't answer my query.
Using their testing console suggests it's possible. Do you think it's possible? Would you know how to implement such a feature?

Hi allesklar,
The API allows open orders to be filtered by instrument or order id. If you need to filter further, you'll have to retrieve all orders, say for a given instrument, and write your own filter.
For example,
client = OandaAPI::Client::TokenClient.new(:practice, ENV.fetch("OANDA_PRACTICE_TOKEN"))

orders = client.account(ENV.fetch("OANDA_PRACTICE_ACCOUNT_NO")).orders(instrument:"EUR_USD").get

filtered_orders = orders.select |order|
  order.type == "limit" && order.price == 1.0650
end

These methods might help you implement a more general filter:
def account_no
  ENV.fetch "OANDA_PRACTICE_ACCOUNT_NO"
end

def client
  OandaAPI::Client::TokenClient.new :practice, ENV.fetch("OANDA_PRACTICE_TOKEN")
end

def orders(instrument)
  orders = client.account(account_no).orders(instrument: instrument).get
end

def filter_orders(orders, criteria={})
  criteria ? orders.select { |order| criteria.all? { |k, v| order.send(k) == v } } : orders
end

# Returns an array of open buy limit orders, with a price of 1.0650
filtered_orders = filter_orders orders("EUR_USD"), type: "limit", side: "buy", price: 1.0650

Very good nukeproof.
I appreciate you taking the time to showing me this. :-)


feature: [M3-7442] - Put Firewall-Nodebalancer behind feature flag

Description 📝
This PR is to place the Firewall-Nodebalancer behind a feature flag.
Changes  🔄
List any change relevant to the reviewer.

Created new feature flag in featureFlags.ts
Placed code behind feature flag

How to test 🧪
Prerequisites

Access to Launch Darkly

Verification steps
Toggle the flag on and off and ensure the feature work toggles as well in the following pages:

[ ] http://localhost:3000/firewalls

On
Off

[ ] http://localhost:3000/firewalls/create

On
Off

[ ] Any firewall's details page: http://localhost:3000/firewalls/[firewall_id]

On
Off

[ ] http://localhost:3000/nodebalancers/create

On
Off

[ ] Any NodeBalancer's details page: http://localhost:3000/nodebalancers/[nodebalancer_id]

On
Off

[ ] Any NodeBalancer's details settings page: http://localhost:3000/nodebalancers/[nodebalancer_id]/settings

On
Off

As an Author I have considered 🤔
Check all that apply

[x] 👀 Doing a self review
[x] ❔ Our contribution guidelines
[x] 🤏 Splitting feature into small PRs
[x] ➕ Adding a changeset
[x] 🧪 Providing/Improving test coverage
[x] 🔐 Removing all sensitive information from the code and PR description
[x] 🚩 Using a feature flag to protect the release
[x] 👣 Providing comprehensive reproduction steps
[x] 📑 Providing or updating our documentation
[x] 🕛 Scheduling a pair reviewing session
[x] 📱 Providing mobile support
[x] ♿  Providing accessibility support

@tyler-akamai can we add the flag to our dev tools? FeatureFlagTool.tsx

Looks good, but I noticed the table borders don't go the length of the entire row. As long as that's cleaned up in the actual feature branch, this is ok


When can we expect a LEMP based on 24.04?

Hi,
When can we expect a LEMP based on 24.04, preferably with PHP 8.3?
Thanks!

+1


chore(main): release 1.5.2

:robot: I have created a release beep boop
1.5.2 (2022-12-01)
Delete

删除无用样式 (ed8f198)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/School-of-Website-Engineering/Rosy-DR-Code-Ling/releases/tag/v1.5.2 :sunflower:


[firebase_messaging] FCM messaging using Flutter does not work on iPhone, but it works fine on Android device and iPhone simulator

Bug report
I am able to run an iOS simulator and send notification while in the foreground but this doesn't trigger on a physical device. I configured the firebase messaging for iOS and it just seems to not work.
An example of how I handle notification is below :
Future initialise() async {
    if (Platform.isIOS) iOSPermission();

    _fcm.getToken().then(onTokenGet);
    _fcm.configure(
      onMessage: (message) => _notificationMessage(message, context),
      onResume: (message) => _notificationMessage(message, context),
      onLaunch: (message) => _notificationMessage(message, context),
      onBackgroundMessage: myBackgroundMessageHandler,
    );
  }

  void iOSPermission() {
    _fcm.requestNotificationPermissions(
        IosNotificationSettings(sound: true, badge: true, alert: true));
    _fcm.onIosSettingsRegistered.listen((IosNotificationSettings settings) {
      print("Settings registered: $settings");
    });
  }

  Future<dynamic> _notificationMessage(
      Map<String, dynamic> message, context) async {
    print('triggered');

    String type;
    String notificationType;
    bool iOS = Theme.of(context).platform == TargetPlatform.iOS;

    if (iOS) {
      type = message['type'] ?? null;
      notificationType = message['notificationType'];
    } else {
      type = message['data']['type'] ?? null;
      notificationType = message['data']['notificationType'];
    }

    print(notificationType);

    FirestoreService firestore = FirestoreService.instance;

    var stream = Provider.of<AuthenticationProvider>(context, listen: false)
        .currentUser();

    var doc = await stream.first;

    Player user = Player.fromJson(doc.data());

    print('${user.username} NOTIFICATION MESSAGE ON MESSAGE HANDLER TRIGGERED');

    print('notification message handled: ' + message.toString());

    if (notificationType == 'teamMatchmakingRedirect') {
      _teamMatchmakingNotificationHandler(
        message,
        type: type,
        currentUser: user,
        iOS: iOS,
      );
    } else {
      var fromUsername =
          iOS ? message['fromUsername'] : message['data']['fromUsername'];
      var requestingUserMap = await firestore.fetchDocument(
          collectionPath: 'users', documentPath: fromUsername);
      Player requestingUser = Player.fromJson(requestingUserMap);

      if (notificationType == 'friendsRequest') {
        _friendsRequestNotificationHandler(notificationType,
            notificationRegular: NotificationRegular.fromJson(
                iOS ? Map.from(message) : Map.from(message['data'])),
            notificationMessage:
                NotificationMessage.fromJson(Map.from(message['notification'])),
            type: type,
            user: user,
            requestingUser: requestingUser,
            fromUsername: fromUsername,
            firestore: firestore);
      } else if (notificationType == 'partnersRequest') {
        _partnersRequestNotificationHandler(notificationType,
            notificationRegular: NotificationRegular.fromJson(
                iOS ? Map.from(message) : Map.from(message['data'])),
            notificationMessage:
                NotificationMessage.fromJson(Map.from(message['notification'])),
            type: type,
            user: user,
            requestingUser: requestingUser,
            fromUsername: fromUsername,
            firestore: firestore);
      } else if (notificationType == 'gameLobbyQuit') {
        NotificationMessage notificationMessage =
            NotificationMessage.fromJson(Map.from(message['notification']));
        NotificationRegular notificationRegular = NotificationRegular.fromJson(
            iOS ? Map.from(message) : Map.from(message['data']));

        print('game lobby quit message ' +
            notificationMessage.toJson().toString());
        print(
            'game lobby quit data ' + notificationRegular.toJson().toString());

        await showDialog(
          context: context,
          builder: (_) => notificationView.buildRegularDialog(
            notification: notificationMessage,
            notificationData: notificationRegular,
            isRegularMessage: true,
            shouldRedirect: true,
          ),
        );
      }
    }
  }

[✓] Flutter (Channel stable, 1.20.2, on Mac OS X 10.15.4 19E266, locale en-CA)
    • Flutter version 1.20.2 at /Users/xcodeclub/flutter
    • Framework revision bbfbf1770c (4 weeks ago), 2020-08-13 08:33:09 -0700
    • Engine revision 9d5b21729f
    • Dart version 2.9.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /Users/xcodeclub/Library/Android/sdk
    • Platform android-30, build-tools 30.0.1
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 48.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] Connected device (1 available)
    • iPhone 8 (mobile) • A8FC503F-6E9D-4D27-B3AD-D66A72F3663E • ios •
      com.apple.CoreSimulator.SimRuntime.iOS-13-6 (simulator)

Hi @Doetheman
Your code sample is incomplete hence not runnable, can you please try the official example and see if you have the same issue on the physical device using the official example
if the problem persists with an official example, Can you please provide flutter run --verbose logs while trying o get notifications
Thank you

I am facing the same issue. OnMessage is working as aspected on iOS simulator but not on several physical devices. Anyways OnLaunch and OnResume is working just fine. I am confronting this issue since updating firebase_messaging (^6.0.16 -> ^7.0.0) and firebase_core (^0.4.5 -> ^0.5.0).
Xcode debugger shows the following message on an incoming message in foreground:
didReceiveRemoteNotification:fetchCompletionHandler: but the completion handler was never called

Flutter doctor:
[✓] Flutter (Channel stable, 1.20.3, on Mac OS X 10.15.6 19G2021, locale de-DE)
    • Flutter version 1.20.3 at /Users/.../Development/flutter
    • Framework revision 216dee60c0 (8 days ago), 2020-09-01 12:24:47 -0700
    • Engine revision d1bc06f032
    • Dart version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /Users/.../Library/Android/sdk
    • Platform android-30, build-tools 30.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.7, Build version 11E801a
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.48.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.13.2

[✓] Connected device (1 available)
    • iPhone 11 Pro Max (mobile) • 44C744ED-90EF-4916-9727-A2E600BE5CBE • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-7 (simulator)

@Doetheman
Adding the following to the AppDelegate.swift solved it for me:
    if #available(iOS 10.0, *) {
      UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
    }

Seems like it somehow worked without this additional lines in the previous versions.


[v2.0.0-alpha.41] Can't install npm package due to failing postinstall script

This issue was introduced in v2.0.0-alpha.40 by cd5032c2a7c3907d0c443e346a8f2cda260ba27f and is not encountered in the earlier v2.0.0-alpha.39.
My PR #312 probably provides only part of the solution. Beyond lacking the scripts folder in the npm package, I'm also getting these TypeScript errors after introducing it:
[4/4] 🔨  Building fresh packages...
success Saved lockfile.
$ bash scripts/sync-stack.sh
+ rm -rf src/vendor
+ mkdir -p src/vendor
+ cp -r node_modules/@react-navigation/stack/src/TransitionConfigs <EMAIL_ADDRESS>node_modules/@react-navigation/stack/src/navigators <EMAIL_ADDRESS>node_modules/@react-navigation/stack/src/utils node_modules/@react-navigation/stack/src/views src/vendor/
+ patch -p0 -i scripts/stack.patch
patching file src/vendor/index.tsx
patching file src/vendor/navigators/createStackNavigator.tsx
patching file src/vendor/types.tsx
patching file src/vendor/views/Header/Header.tsx
patching file src/vendor/views/Header/HeaderBackButton.tsx
patching file src/vendor/views/Header/HeaderBackground.tsx
patching file src/vendor/views/Header/HeaderContainer.tsx
patching file src/vendor/views/Header/HeaderSegment.tsx
patching file src/vendor/views/Header/HeaderTitle.tsx
patching file src/vendor/views/Stack/CardContainer.tsx
patching file src/vendor/views/Stack/CardStack.tsx
patching file src/vendor/views/Stack/StackView.tsx
$ bob build
ℹ Building target commonjs
ℹ Cleaning up previous build at lib/commonjs
ℹ Compiling 45 files in src with babel
✓ Wrote files to lib/commonjs
ℹ Building target module
ℹ Cleaning up previous build at lib/module
ℹ Compiling 45 files in src with babel
✓ Wrote files to lib/module
ℹ Building target typescript
ℹ Cleaning up previous build at lib/typescript
ℹ Generating type definitions with tsc
✖ Errors found when building definition files:
example/App.tsx:2:23 - error TS2307: Cannot find module 'expo-asset'.

2 import { Asset } from 'expo-asset';
                        ~~~~~~~~~~~~

example/App.tsx:11:31 - error TS2307: Cannot find module 'react-native-paper'.

11 import { List, Divider } from 'react-native-paper';
                                 ~~~~~~~~~~~~~~~~~~~~

example/src/GestureInteraction.tsx:8:25 - error TS2307: Cannot find module 'react-native-webview'.

8 import { WebView } from 'react-native-webview';
                          ~~~~~~~~~~~~~~~~~~~~~~

example/src/GestureInteraction.tsx:9:21 - error TS2307: Cannot find module 'react-native-maps'.

9 import MapView from 'react-native-maps';
                      ~~~~~~~~~~~~~~~~~~~

example/src/LifecycleInteraction.tsx:3:32 - error TS2307: Cannot find module 'expo-barcode-scanner'.

3 import { BarCodeScanner } from 'expo-barcode-scanner';
                                 ~~~~~~~~~~~~~~~~~~~~~~

example/src/LifecycleInteraction.tsx:36:15 - error TS7006: Parameter 'data' implicitly has an 'any' type.

36             ? data => {
                 ~~~~

example/src/StackWithDrawer.tsx:10:8 - error TS2307: Cannot find module 'react-navigation-drawer'.

10 } from 'react-navigation-drawer';
          ~~~~~~~~~~~~~~~~~~~~~~~~~

example/src/StackWithDrawer.tsx:14:8 - error TS2307: Cannot find module 'react-navigation-tabs'.

14 } from 'react-navigation-tabs';
          ~~~~~~~~~~~~~~~~~~~~~~~

example/src/StackWithDrawer.tsx:62:23 - error TS7006: Parameter 'props' implicitly has an 'any' type.

62     contentComponent: props => <Menu {...props} />,
                         ~~~~~

Found 9 errors.

These could be avoided by including a tsconfig.json that specifies to ignore the "example" directory, or passing a CLI argument to tsc that specifies to ignore that directory. We don't need anything from the example directory in the lib, do we?

Closed by the v2.0.0-alpha.42 release, which removes the postinstall script.


run mypy static typechecker on entire repository

https://github.com/python/mypy

RenderCV uses Pyright for static type checking. Please see the developer guide.


SPIKE: Inbound SFTP flow for Data Exchange

This is a SPIKE / research ticket for understanding and designing an inbound SFTP traffic flow for data streams.
Summary
Secure File Transfer Protocol (SFTP) is one of the transport protocol that many of our external customers use for transferring csv files. It supports other types of file types, but most commonly for csv files. Other common transport protocols include HL7v2 and FHIR.
We would like to have a design approach to how to incorporate a SFTP flow for data exchange.
Example solutions

CDC Reportstream SFTP server - an existing project already being used by customers.
Blob Storage - SFTP support is now in "preview" but there are caveats and limitations with this approach including support certain SFTP clients and how to onboard users.

Design Consideration
This is not an exhaustive list, and also not in any particular order of importance.

Authentication / Authorization (ex. user's SFTP public key for authentication)
Data separation for users
Observability - the ability to view SFTP messages / dropped messages
Cost

virtual machine if needed
storage cost
bandwidth cost

This has been completed and shared with @rmharrison via https://cdc.sharepoint.com/:w:/r/teams/CDC-Data-Exchange/_layouts/15/Doc.aspx?sourcedoc={59ACA8BE-FA00-4F0F-A771-BC38E228341D}&file=Technical-Considerations-for-SFTP-Service.docx&action=default&mobileredirect=true&DefaultItemOpen=1.


Improved logging and fix promise warning.

Merged in a696a6a854fc10a809d10db09e7194ac3088b09c. Originally I wanted to link the debug logs to npm start dev but there are probably people who want to debug other stuff independently from this module, so this solution seems sensible.


Compilation time is very^very high (suspicious)

Look at cids:
654
652
651
650
more than 20000!
I don't know why...
Two hypotheses:

we don't properly compute compilation time (what's strange is that compilation dates are quite close eg 2018-04-13 13:33 and 2018-04-13 13:29... only 4 minutes)
the process for compiling takes too much time

I have observed many times these days that the process can be somehow "suspended" on
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
(at least it does not make any apparent progress for a while, suggesting that nothing happens)
more details below:
The following additional packages will be installed:
g++-6 libstdc++-6-dev
Suggested packages:
g++-multilib g++-6-multilib gcc-6-doc libstdc++6-6-dbg libstdc++-6-doc
The following NEW packages will be installed:
g++ g++-6 libstdc++-6-dev
0 upgraded, 3 newly installed, 0 to remove and 2 not upgraded.
Need to get 8516 kB of archives.
After this operation, 39.8 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian stretch/main amd64 libstdc++-6-dev amd64 6.3.0-18+deb9u1 [1420 kB]
Get:2 http://deb.debian.org/debian stretch/main amd64 g++-6 amd64 6.3.0-18+deb9u1 [7094 kB]
Get:3 http://deb.debian.org/debian stretch/main amd64 g++ amd64 4:6.3.0-4 [1546 B]
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> line 3.)
debconf: falling back to frontend: Readline
Fetched 8516 kB in 0s (8602 kB/s)
Selecting previously unselected package libstdc++-6-dev:amd64.
(Reading database ... 24181 files and directories currently installed.)
Preparing to unpack .../libstdc++-6-dev_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libstdc++-6-dev:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package g++-6.
Preparing to unpack .../g++-6_6.3.0-18+deb9u1_amd64.deb ...
Unpacking g++-6 (6.3.0-18+deb9u1) ...
Selecting previously unselected package g++.
Preparing to unpack .../g++_4%3a6.3.0-4_amd64.deb ...
Unpacking g++ (4:6.3.0-4) ...
Setting up libstdc++-6-dev:amd64 (6.3.0-18+deb9u1) ...
Setting up g++-6 (6.3.0-18+deb9u1) ...
Setting up g++ (4:6.3.0-4) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode

An example: for cid 668
compilation time is 31674.1
9 hours? very strange
logs attached
c668.zip

I don't have an explanation but I suspect a "crazy" MLfood process
It seems no longer active
I plan to remove such suspicious entries in the database
I will try to replicate then

Is there an advancement on this issue ? Did it came back since then ?

There was not other "strange" compilations time since those cid. So may i close this issue ? I think it was a bad manipulation or a specific machine that stop working for minutes because of some functionality.

Yes! We need to clean the database for the early CIDs but that's another story (issue) ;-)


Google Calendar-style 'Schedule' view as the 4th supported type of view

Version
1.13.0
Current Behavior
Month/Week/Day views are available.
Expected Behavior
A fourth view called 'schedule' is created that mimics the look-and-feel of a google calendar schedule view.
Example from calendar.google.com after selecting 'Schedule':

This is a list view.
It is in the 2.0 feature plan.

Where is the code? Can I help?

It is still in the early stages of development. You can of course help.
However, before working on it, a specific plan is needed.:)

OK so some project planning needs to take place. Well, I await this eagerly..


The evidence file format should be avinput like or vcf like?

Hi,
I want to prepare the evidence file for my annotation, and I checked the guide,  found "Chr Pos Ref_allele Alt_allele  evidence_list
" and tab seperated, without specifying the ref and alt should be avinput like or vcf like?
Looking forward to your reply.   Thanks a lot.

The ref and alt should be avinput like.

@quanliustc Copy! Thanks a lot.


nft-817 (Internal)

Migrated the reNFT SDK to support the concept of versioned deployments.
Contracts are now instantiated using a RenftDeployment object, which declares:

The network it was deployed on.
The address of the contract.
The type of the contract.
The version of the contract.

Using this information, we are able to determine the correct type-safe interface to use for the contract.

This enabled us to change client-side contract interfaces arbitrarily, and elevate typing errors if they attempt to invoke the contract with incorrect data for a given version.

As part of this refactor, we needed to export an architecture which conforms to the convetions of how contracts with arbitrary interfaces may be deployed. This meant that:

We moved away from using classes to define implementation logic. This is because classes expect a common interaction interface for subclasses, which is untrue for our intended use case.
Functions which erroneously coupled the network and contract type, like toScaledAmount or fromScaledAmount, have been renamed to toWhoopiScaledAmount and fromWhoopiScaledAmount, since the original behavior was that for any network other than whoopi, we would throw. This allows us to still pass in a network to help define the appropriate Resolver, and also extends the possibility for whoopi to be deployed on other networks (even though we likely won't, it's just nice that the codebase reasonably permits this capability).
To create a Contract, we call getRenftContract and pass an instance of a RenftDeployment to resolve the specific interface required for interaction.

dist/
We are currently versioning the dist/ directory on this branch to serve to the front/; before merging this branch we need to re-enable gitignoring the dist/ directory prior to pushing to npm.

size can be expected to fail since we're now versioning the dist/ directory to support serving the branch to front since we have decided to forego deployment onto npm until we're satisfied with our internal usage.

Some of our internal builds currently rely upon the presence of the dist/ directory in this branch.
Closing this branch in favour of #6, which will allow us to merge onto main/ and release an up-to-date SDK without invalidating current internal clients. Once these have been refactored back to consuming from npm, we can delete this branch altogether.


self-made initial audio data

This is the initial audio data for audio decoder
Signed-off-by: Michał Szołucha<EMAIL_ADDRESS>

One nitpick, please create wav sub dir inside db/audio

Done


switch mrtk profile runtime

Hi, is it possible to switch between profiles during runtime?
Thanks
My setup:
Unity Version [2020.3.17f1]
MRTK Version [v2.7.2]

Found it in the doc....
MixedRealityToolkit.Instance.ActiveProfile = profileToUse;


Start addressing #1116

This is a start of addressing the issues described in #1116.
I haven't run any of this code, but it does contain most of the ideas. In my mind, this:

has reasonable demands of the project file;
gives a relatively clear error message if those demands are not met;
returns a reasonable result for further processing.

The last point is the most contentious. You have logic for converting the list of dicts with dataframes into a dataset.
What this PR does address is the fact that for the simple IDFs, they have to be "turned off" every next stress period definition: essentially, we are turning the project file + simple IDFs into a time series for each well point too.
However, this requires inserting starting and end times into the dataframes. That could be done here, but it may be easier to do in the subsequent processing step. I find that difficult to judge.
Note that the associated IPFs already have a time column.

I've currently just written the helper functions in the body of the main function. Given the complexity here, it's probably better to move it into a separate module. There's already a prj folder, after all. The only thing to keep in mind is that _try_read_with_func should then be split off into another module to avoid circular imports.

I think I've just thought of another complication: this currently uses the associated IPF entries of the first stress period block to define them. However, it's technically possible to use the same associated IPF twice, but with a different layer entry. This means the current check is inadequate. So technically, I guess any unique (layer, associated IPF) is fine.
However, I think it's more reasonable to disallow assigning an associated IPF to more than one layer. It's pretty weird, and seems more likely to be the result of user error.

Fixed in https://github.com/Deltares/imod-python/pull/1142


Ahead-of-time GZIP compression

Upon next build. This is for the next major.

[x] For main build files - https://github.com/zeit/next.js/pull/565
[x] For JSON pages - https://github.com/zeit/next.js/pull/571
[ ] Allow to extend compression via next.config.js- https://github.com/zeit/next.js/pull/657

So, we detect the accept-gzip header and server gzipped version if so.
Okay, that's a good idea.

Closing this in favor of #984


test: sha256 failure

sharing a sha256 test that fails. i havent had time to dig into it yet
the input is
{"type":"webauthn.get","challenge":"0x044e3adc845e501b01c6904dd2b0cd0d084bb01240966d39c3165481dfcae65w","origin":"https://controller-e13pt9wwv.preview.cartridge.gg","crossOrigin":false}

ah actually issue is with n_bits


Row to Bit

error accured: Error: Row too big to fit into CursorWindow requiredPos=0, totalRows=1
GetAll() return error

Hi @Maxim-Costa , thanks for opening this issue.
Can you please add your complete code and env versions to more clearing the problem.
Thanks.


Document the process of creating a new managed class

I should write down the steps that I go through to add a new managed class. This would be a helpful pre-req for automating it.

ignore the commit above.... in moving the repo from Github Enterprise to public Github, the issue numbers don't match up, so it refers to a closed issue from the old repo :(


Fix the use of MBox

Hey there! Thanks for this fix and sorry for breaking it in the first place :pensive: Looking at the code I thought the dependency was still being pulled in from your personal fork. I've moved my lil experiments to a different branch now, so this shouldn't happen again.
Again, sorry for breaking your build

You did not break anything. 😄 I just want to reference the nyantec repo again instead of my personal one, that's all. Thanks for merging!


feat: allow merge of several gravitee.yml

Issue
https://github.com/gravitee-io/issues/issues/ARCHI-380
Description
Allow merging gravitee.yml
left.yml
person:
  name: Hank
  age: 42
  single: false
  addresses:
    - street: Venice Beach
      town: Los Angeles
    - street: 1st Avenue
      town: Hollywood
  emails:
    -<EMAIL_ADDRESS>creditCards:
  - visa

right.yml
person:
    name: Hank Moody            # override
    addresses:
        - {}                    # skip
        - town: Hollywood, LA   # partial override
        - street: 1, Broadway   # append object
          town: NY
    emails:
        -<EMAIL_ADDRESS>   # override
vehicle:                        # add object
    kind: 911
    brand: Porsche
creditCards:
    - {}                        # skip
    - mastercard                # append

merged.yml
person:
  name: Hank Moody
  age: 42
  single: false
  addresses:
    - street: Venice Beach
      town: Los Angeles
    - street: 1st Avenue
      town: Hollywood, LA
    - street: 1, Broadway
      town: NY
  emails:
     -<EMAIL_ADDRESS>vehicle:
  kind: 911
  brand: Porsche
creditCards:
  - visa
  - mastercard

Additional context

:tada: This PR is included in version 6.1.0 :tada:
The release is available on:

6.1.0
GitHub release

Your semantic-release bot :package::rocket:


Implemented eventarc event publishing API (#1617)

Thanks Pavel!
Could you take a pass through for the two global nits?  This was the "ask:"
Wherever possible, use present tense is instead of "will" or "will be."
Also, commas after phrases like "if not provided" help the flow.
There are several more instances of both to look at.

@egilmorez made another global pass as per your suggestion. PTAL.


html files shows dark background color

If you create an empty .html file and open it, it will have dark background color.
I'm working on a website in a local folder and have to disable ShadowFox to be able to see the original background color of my website.
Is there a fix for this?
Thank You :)

This was due to the themeing of directory listings (any url starting with file:///) that was introduced in #39.
I've changed the @-moz-document qualifier to now match any url that starts with file:///, but doesn't end with .html.
I think that should take care of this problem :)


ScrollSpy in Docs not working

Hello,
I was recently browsing the BootStrap 4 docs and found that the scrollspy example does not appear to work in the docs. I remember seeing it work properly in the docs for Bootstrap 3 so was surprised to see it no longer working in the BS4 docs.
As I usually look to the docs for my examples, I hope this issue is able to be resolved.
Thanks in advance for any assistance.
James

Sorry @JamesPierce82 but our examples works perfectly in our documentation :thinking:
https://getbootstrap.com/docs/4.0/components/scrollspy/#example-in-navbar
https://getbootstrap.com/docs/4.0/components/scrollspy/#example-with-list-group

I'm guessing that @JamesPierce82 is referring to the right-side navigation (.section-nav), which doesn't implement scrollspy

I think you're right @bkdotcom but I'll wait a bit ☺

@Johann-S: what do we need for this to work?

It seems we have <body class="bd-docs" data-spy="scroll" data-target=".bd-sidenav-active"> which is useless in v4, right?

/CC @mdo for thoughts

Scrollspy isn't implemented in the docs, and it cannot be as we do not control the output of that menu—it's from a Jekyll plugin. I opened #24408 to address @XhmikosR's comment about that <body> element's attributes.

Jekyll-TOC just released v0.9.0 which might addresses this
https://github.com/toshimaru/jekyll-toc/releases/tag/v0.9.0

Yeah, I already updated in #27540, still waiting for the ID support.
I already discussed this with @Johann-S so instead of me making a new issue let's re-open this one.

Is this still an issue?

I'm interested in scrollspy support in my own ToC (based on the bootstrap one).
The docs do specify that:

It must be used on a Bootstrap nav component or list group.

But I don't think this needs to be a constant necessarily does it? Without the hierarchy functionality, it can work on near enough anything. With the hierarchy functionality, I think it can be inferred from the toc form.

Right now scrollspy requires particular markup. I have a new docs design for v5 that eliminates the right side ToC for a central ToC. For now though, given the lack of movement on this issue, going to close this out regardless.


Dismissal of text box in Fototoon

It would be nice to be able to dismiss the edit by clicking outside of the box? As it is natural in modern UI's.

Currently you have to click on the Icon again to close.

@llaske Can i work on this ?

@ManasMadan, sure. No need to ask as mentioned here https://github.com/llaske/sugarizer/blob/dev/CONTRIBUTING.md

It's the standard behavior of Sugar UI.

The issue has been solved. Unnecessary now.


Update README.md

Only one wheel for Windows-AMD64 is here, AFIACS.
It would also be nice to see the purpose of this wheel.

I assumed that the file name made it evident what arch it was compiled for.
I had originally intended to host multiple wheels for multiple builds of the CUDA kernels. However, due to the frequent and drastic changes of the repo, all of the projects that I know of switched to using their own forks. As far as I know, the kernels in those forks are the same ones that this wheel was compiled for.
In general, I doubt I'll be hosting anything other than Windows-AMD64 wheels, as other systems seem to have a much easier time compiling for themselves.


Add powershell completion

What does this PR change? What problem does it solve?
Restic can generate completion files for bash, fish and zsh, but not for powershell.
Cobra can generate this, too.
Was the change previously discussed in an issue or on the forum?
No. I have spotted that cobra can do this and wondered why restic does not use it.
Checklist

[X] I have read the contribution guidelines.
[X] I have enabled maintainer edits.
[ ] I have added tests for all code changes.
[X] I have added documentation for relevant changes (in the manual).
[x] There's a new file in changelog/unreleased/ that describes the changes for our users (see template).
[X] I have run gofmt on the code in all commits.
[X] All commit messages are formatted in the same style as the other commits in the repo.
[x] I'm done! This pull request is ready for review.

Oh, and could you please squash all commits into one and rebase it on the latest master?


create analysis plan API update for selected variables

update so only the selected variables are copied to variable_info

included in #807


Double click

I could only find samples for a single click. Is there a behavior that triggers on a double click?

https://github.com/wieslawsoltes/AvaloniaBehaviors/blob/b7be7ca642fd55244f7c1e9d328cdc0e14d39eea/src/Avalonia.Xaml.Interactions.Custom/ToggleIsExpandedOnDoubleTappedBehavior.cs#L14
It's in Avalonia.Xaml.Interactions.Custom nuget package.


Replace Firebase Authetication with Torii

We should look into using Torii to wrap the firebase login adapter code. This will make it easier to move away from Firebase to using google oauth directly. Using google directly will give us the ability to obtain a refresh token when google logs the user's session out.
Relevant links:

https://github.com/Vestorly/torii
https://github.com/MattMSumner/torii-fire

Duplicate of #17


Add Bn254 Garaga hints to operate

Garaga is a "Efficient pairing library using polynomial representation of field elements, written in Cairo 🐺 (Cairo Zero). It'll soon be audited, and integrated as a syscall on Starknet.
Problem: Garaga relies on specific hints that speed up the computation. These hints are implemented in the old Python-VM and need to be added to the Cairo-VM Rust hint manager.
Note: using this hints doesn't hurt the security, reliability or provability of the computations.
Solution: add the hints to the Cairo-VM in Rust.
Process: in order to refine this issue ->

Take each Garaga required hint, add it in the Hint manager of Cairo-vm rs
Implement the logic of it in Rust -> translate the existing python logic
Test the behaviour using the Groth16 verifier / unit test cases for the curve operations

First file to consider (in the list) is: https://github.com/keep-starknet-strange/garaga/blob/main/src/bn254/fq.cairo
Investigation task: Try to implement the first hint of the list in Cairo-VM Rust. Work hand in hand with @feltroidprime to coordinate the effort with the python implementation and to accelerate the cleaning up of the original hints.
Caveats and how tos:

How to match the python string and extract variables?
How to test the behaviour unitarily -> Feltdroidprime will work on unit test cases in Cairo for the hints
How to manipulate program_input and program_output, example:      %{
        for var_name in list(program_input.keys()):
            fill_element(var_name, program_input[var_name])
     %}

Additional context
This will also be useful for Cairo 1 -> When Starknet wants to use Bn254 operations in the current network (Current version of Cairo compiler), it'll need to call garaga through syscalls, like it is currently doing for P256 (Braavos hardware signer).

Side node: Hints managing program_input is not necessary for Starknet. They are mainly used to input test data. We can overcome this by inputing test vectors manually and slighlty change cairo programs to have the test values hardcoded.

Mainly the hints will use BigInt lib (unsigned), as negative values should be handled.
A polynomial lib implementing euclidean divisions for polynomials.

Starknet 's poseidon hash function.

Hi Guys!
We can make something like we do with some Kakarot hints. We added the hints they needed under a feature flag, here is the PR https://github.com/lambdaclass/cairo-vm/pull/1476
Right now we are finishing other Starknet projects, so we can't focus on implementing these hints, but if you want to send some PRs implementing them, we will be happy to help

Hi Guys! We can make something like we do with some Kakarot hints. We added the hints they needed under a feature flag, here is the PR #1476 Right now we are finishing other Starknet projects, so we can't focus on implementing these hints, but if you want to send some PRs implementing them, we will be happy to help

I'd be happy to try to do that this week:)!


exceptions raised to main are logged/printed

Uses existing logging from phew, so that info is printed to the console AND logged as an exception.
Includes awkward hack to get traceback information within standard micropython.
logged message remains on one line of the log so that it can easily be cut/pasted into a python repl like:
print('''<pasted_contents>''')
ex)  For a new install where no "wifi.json" exists, the "log.txt" entry would look like:
2024-01-12 13:21:41 [exception / 106kB] > Traceback (most recent call last):\n  File "main.py", line 83, in <module>\nOSError: [Errno 2] ENOENT\n

... directing curiosity towards the os.stat(WIFI_FILE) line of code.

This is a great change that makes troubleshooting much easier. I wonder if we should disable this feature in the production build. I can't predict how many errors will occur and how large the "log.txt" will be.
but I'm running it on my OrangeClock now :-)

I suspect that phew is handling the size of the log, aiming to keep it down to 3 4K blocks on the pico.  Until a better logging solution exists, maybe it's already a self-contained useable setup? if not it seems simple and configurable.
In phew's logging module, it sets thresholds for when to start to truncate and how much log.txt to leave here
and then for any of the end-user apis where a message is logged, part of writing the log entry is truncating if necessary here.