Compilation Error

I'm getting the follow error when compiling the code.
KalmanTest.cpp:(.text+0x71e): undefined reference to KalmanFilter::KalmanFilter(double, Eigen::Matrix<double, -1, -1, 0, -1, -1> const&, Eigen::Matrix<double, -1, -1, 0, -1, -1> const&, Eigen::Matrix<double, -1, -1, 0, -1, -1> const&, Eigen::Matrix<double, -1, -1, 0, -1, -1> const&, Eigen::Matrix<double, -1, -1, 0, -1, -1> const&)' /usr/bin/ld: KalmanTest.cpp:(.text+0x837): undefined reference to KalmanFilter::init(double, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&)'
/usr/bin/ld: KalmanTest.cpp:(.text+0x9b0): undefined reference to `KalmanFilter::update(Eigen::Matrix<double, -1, 1, 0, -1, 1> const&)'
collect2: error: ld returned 1 exit status

Hi, I also getting the same error is there any solution for it?

That's because you are only trying to compile the kalman-test.cpp file which references kalman.cpp implicitly. If you carefully look through the CMakeLists.txt file (which also needs modifications btw), in the line set(SOURCE_FILES kalman.cpp kalman-test.cpp) we notice that both of these are to be compiled simultaneously in order to run the test-case presented in kalman-test file. So if you are not using CMake for compilation, just use the command g++ kalman.cpp kalman-test.cpp, then run ./a.exe which will give the estimated state vector at each time step and a host of other things.


Update myStatesman logo

I added the reversed version. Still worried a little about the 'my' getting lost, but .... it's there.


objects.filter

Filter iterates over an object and applies a function to each property, for all properties where the function returns true return that property in a new object.
Checklist

[ ] implementation
[ ] tests
[ ] jsdoc

Details

console.log(objects.filter({ small: "ant", medium: "dog", big: "elephant" }, (key, value) => ['small', 'big'].includes(key)));
> { small: 'ant', big: 'elephant' }

References

_.filter

Damn... You're fast. I was going to implement this tonight. I'll take care of removing include/exclude instead.


decision function output is same for every input sample!!

I trained a svm_c based on svm_c_ex.cpp (normalized_function object).
training_data: vector<matrix<double, 128, 1>>
The classifier output is constant and same for every input sample.
what is my mistake?

http://dlib.net/faq.html#Whydoesmydecisionfunctionalwaysgivethesameoutput

Dear @davisking , tanks for your quick reply, you are right. But, I do cross validation using cross_validate_trainer() with the gamma and c that i used for training, and I got good result from cross_validate_trainer() output.
Why a gamma value is good in cross_validate_trainer() but not in trainer.train()?

Dear @davisking , I changed gamma value to many values from small to large, but decision_function outputs are very close together yet.


Minor: NOTICE not needed as there is no uber JAR; bump version for MiMa purposes

I earlier added the NOTICE as is standard practice in Spark, but, totally forgot there is no uber JAR binary distribution here. This software is not redistributed by the project at all, so even following ASF-like best practices, not needed.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #421   +/-   ##
=======================================
  Coverage   87.95%   87.95%
=======================================
  Files          14       14
  Lines         772      772
  Branches       65       65
=======================================
  Hits          679      679
  Misses         93       93

Continue to review full report at Codecov.

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


New dataset: OCR for meal expenses since 2015 using google's cloud vision API

Some stats:

Dataset is made of about 56k receipts
The whole process took around 8 hours to finish in a Droplet with 8CPUs and 16Gb Ram
https://gist.github.com/fgrehm/d4f489404e7e8a4184cd97cc7268ee82 - execution logs of generating 5.1Gb worth of PDFs
https://gist.github.com/fgrehm/8b840b4d07f2cab198bf393a936523df - converting the PDFs to 30Gb images
https://gist.github.com/fgrehm/b7bd2e51dc08fcf2bbedc8ec61c29ba2 - sent images to google, result is 1.1Gb of cloud vision JSON api responses
I've zipped that final 1.1Gb directory into a 100Mb file and uploaded to wetransfer https://we.tl/i1C2z6sBJX
Here's an example of a few responses: https://gist.github.com/fgrehm/f7f5b24947e169c3249542caf958f8cd

/cc @Irio @anaschwendler

Wow… great progress, great data extracted from the PDFs ; )
Some general comments trying to help in the direction of PRs to this repo:

We already have a script to fetch all PDFs so we need to find a way to convert PDFs to PNG (or whatever) without using os.system("pdftoppm …") for greater compatibility (Windows users? Or even different *nix user (brew install vs. apt-gey install vs. macports install vs. yum install and so on) — but maybe that's to utopian…
A script to actually use the Google service and create the data/txt

What do you think?

Hey, my idea here was really just to share the data in case u guys or
others wanna analyse it. Also I have the 300 dollars credit for signing up
for the Google cloud platform that I need to spend over the next 2 weeks
(got 200 left after this first batch of OCRs now).
Making this more robust / making it work on other platforms is "out of
scope" for me for now so feel free to close this issue to avoid the noise.
My plan is to do the same for a few other reimbursement categories that Ana
pointed out to me over Telegram, I'll do my best to get the code in a good
shape but no promises yet as I need to wrap up other PRs I have open ;). If
u believe there are better ways to share that dataset instead of a GitHub
issue LMK.
--
Fábio Rehm
Sent from my phone
On Feb 11, 2017 12:43 PM, "Eduardo Cuducos"<EMAIL_ADDRESS>wrote:
Wow… great progress, great data extracted from the PDFs ; )
Some general comments trying to help in the direction of PRs to this repo:

We already have a script to fetch all PDFs
https://github.com/datasciencebr/serenata-de-amor/blob/master/src/fetch_receipts.py
so we need to find a way to convert PDFs to PNG (or whatever)
without using os.system("pdftoppm
…") for greater compatibility (Windows users? Or even different *nix
user (brew install vs. apt-gey install vs. macports install vs. yum
install and so on) — but maybe that's to utopian…
A script to actually use the Google service and create the data/txt

What do you think?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/datasciencebr/serenata-de-amor/issues/188#issuecomment-279148052,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAE_w-VN35s57kMDcM4tPn_jqlX116xaks5rbckWgaJpZM4L-AHh
.

No worries at all, mate. I think this Issue is pretty useful as it is. People interested in OCR can learn from your experience, try it, get access to data etc. I'll leave it as it is ; )

No worries, I've finished OCR of Publicity of parliamentary activity and Taxi, toll and parking since 2015 https://gist.github.com/fgrehm/572ba814d617e831f4b1faac5e0b9165
I still have $100 left 😱 but that's not enough to OCR the 140k of meal reimbursements which would be what @anaschwendler suggested me to do next on a chat over telegram. I guess for now I'll proceed with subquotas that have less reimbursements until I'm done with those credits and will share a single zip file with you guys with all that at some point this week 🤘
As a side note, I know that the text generated is not 100% accurate but I think we could still have this data on an elasticsearch instance somewhere for full text searching 💭

Also, I've "merged" the code from the 3 initial notebooks into a couple classes that u can find on the gist above. If that's good enough for a PR to toolbox LMK and I'll try to get it going when I have a chance

@fgrehm there no way to request Google a free tier for using into open source projects? I guess they are very welcome in cases like that.

@pedrommone Probably yes, but that's something that serenata's core team will have to do once this has been wired up with rosie / jarbas / etc... My idea with this is to provide enough ammo for analysis to check if it is going to be worth the trouble having this in the first place 😄

provide enough ammo for analysis to check if it is going to be worth the trouble having this in the first place

❤

Here's the dataset with the receipts texts and some numbers about it:

https://we.tl/p1GdsMxPH1
Out of 57460 meal reimbursements since 2015, 56710 have OCR data
Out of 65455 fuels and lubricants reimbursements in 2016, 64989 have OCR data
Out of 70341 "publicity of parliamentary activity" and "taxi, toll and parking" since 2015, 56309 have OCR data

The process of obtaining those texts can be seen on the following gists:

OCR of meal reimbursements since 2015

Part 1
Part 2
Part 3

Refactoring the code and OCR of Publicity of parliamentary activity, and Taxi, toll and parking since 2015
OCR of fuels and lubricants on 2016
Building the CSV with raw responses

I believe that @Irio already uploaded the zip file with raw JSON responses to S3 but I couldn't find the "easy to use CSV" version linked above. Once that file is uploaded to S3 I guess we can close this issue and GH-173. An example of usage is coming up as a PR in a bit 🎉 🍻

@fgrehm I'm so sorry. I had a couple of unforeseen situations this week and I couldn't follow you in time. Now it looks like the file at WeTransfer is not available anymore. Can you re-upload it or send it via PVT so I can upload it (and the one from #173) to S3?
Also, I haven't check, but just as a reminder if that's the case: would you mind documenting this new datasets in the CONTRIBUTING.md?

Hi, all. My recommendation is to run the API again because Google updated the version of API to v1.1 with new features for example Document Text Detection.

@michelpereira yeah, tks for the heads up. That feature got released after I was done with this initial processing and I only found out about the new feature while on the dataset documentation I have in the works 😄 I'm on a work trip right now but I'm going to wrap up that PR as soon as I'm back home

Hi guys,
After to analyze some data and to check the CEAP:
3. O documento que comprova o pagamento não pode ter rasura, acréscimos, emendas ou entrelinhas, deve conter data e deve conter os serviços ou materiais descritos item por item, sem generalizações ou abreviaturas
So, we have some data like that:
http://www.camara.gov.br/cota-parlamentar/documentos/publ/2398/2015/5635048.pdf
The previous mentioned article the reimbursements can't be a generalization. So, could we consider it as a invalid reimbursement?

The previous mentioned article the reimbursements can't be a generalization. So, could we consider it as a invalid reimbursement?

Sure thing. If we could identify all receipts with handwriting description such as that we would have thousands of new suspicions ; )

Hi @cuducos
For these reimbursement with handwriting description, i did a classifier using DeepLearning Keras which archived interesting results. it is in the #238

@fgrehm there no way to request Google a free tier for using into open source projects? I guess they are very welcome in cases like that.

@fgrehm, @pedrommone Maybe you could try Tensorflow Research Cloud.

The datasets are on S3 and docs have been merged. Please follow up on ☝ for additional efforts on this

is this dataset still available for download? the wetransfer (https://we.tl/i1C2z6sBJX) link looks expired.. would love to get my hands on this.

is this dataset still available for download?

Yep.

the wetransfer (https://we.tl/i1C2z6sBJX) link looks expired

That's expected. We use sites such as WeTransfer just to quickly exchange files between collaborators and core developers. Later, as @fgrehm, it's uploaded to our file storage.

would love to get my hands on this.

Hell yeah 🤘 Just go ahead and use the toolboxx mentioned in the README.md to download any dataset we have : )

Hello! Can someone direct me to a link containing the JSON files for the 57K meal reimbursements? Also where can I find the images corresponding to the JSON files? Thanks!!

Can someone direct me to a link containing the JSON files for the 57K meal reimbursements?

@michaelyan-coupa, you can create easily create a CSV using serenata-toolbox to download all reimbursements and then filtering out the ones not related to meals. We do not make tools to parse data in JSON in this project.

Also where can I find the images corresponding to the JSON files?

Yes. With data from the CSV mentioned in my lats paragraph, you can download from the source concatenating the URL as we do in Jarbas.

@fgrehm
Hi, I have tried the serenata-toolbox and I can download the pdf now.   But I can't find the OCR result in the json file "2018-01-05-reimbursements.csv".  There is no other related file in the file list of serenata-toolbox. Could you please tell me where can I get the OCR result of receipts?

@liminghao1630 the file you're looking for is 2017-02-15-receipts-texts.xz ; )

Is it possible to download these receipt images?

Is it possible to download these receipt images?

Yes. I described the process three messages above your question, @sks4world.

Some stats:

Dataset is made of about 56k receipts
The whole process took around 8 hours to finish in a Droplet with 8CPUs and 16Gb Ram
https://gist.github.com/fgrehm/d4f489404e7e8a4184cd97cc7268ee82 - execution logs of generating 5.1Gb worth of PDFs
https://gist.github.com/fgrehm/8b840b4d07f2cab198bf393a936523df - converting the PDFs to 30Gb images
https://gist.github.com/fgrehm/b7bd2e51dc08fcf2bbedc8ec61c29ba2 - sent images to google, result is 1.1Gb of cloud vision JSON api responses
I've zipped that final 1.1Gb directory into a 100Mb file and uploaded to wetransfer https://we.tl/i1C2z6sBJX
Here's an example of a few responses: https://gist.github.com/fgrehm/f7f5b24947e169c3249542caf958f8cd

/cc @Irio @anaschwendler

Could you or anyone please make that raw cloud vision JSON api responses available for download again? I have tried datasets.downloader.download('2017-02-15-receipts-texts-raw.tar.xz') method from serenata_toolbox.datasets but the resource is no longer there.

how can i download this dataset..all recites in pdf format ?


Add ability to generate relative filepath to other files in snippets

I'm trying to create a snippet for a file template (using the Auto Snippet extension). In that snippet, I need to generate an import statement. I cannot see a way to generate a relative filepath to the target of that import, though.
Given the snippet import { foo } from 'ROOT/test/e2e/setup/foo.ts' (where ROOT is some way of indicating the workspace root — there doesn't seem to be a snippet variable for that in the list in the docs) the following should happen:

If I run the snippet in test/e2e/setup/bar.ts, it should generate import { foo } from './foo.ts'
If I run the snippet in test/e2e/setup/baz/bar.ts, it should generate import { foo } from '../foo.ts'
If I run the snippet in test/e2e/bar.ts, it should generate import { foo } from './setup/foo.ts'
If I run the snippet in test/e2e/baz/bar.ts, it should generate import { foo } from '../setup/foo.ts'

The alternative solutions I've looked for seem to involve hard-coding paths, only being able to handle a few folder levels, and having hideously complex regexps.
I'd like to have a built-in way to do this like, perhaps, ${RELATIVE_PATH_IN_WORKSPACE(/test/e2e/setup/foo.ts)} (though having variables suddenly taking parameters is possibly not the cleanest way to do this :)
For my use cases, it doesn't need to be able to go outside the workspace, which is why I've just treated / as the workspace root in the example above.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Error when calculating rotation matrix

Hi all,
I think i've found a mistake in the calculation of the rotation matrix in:
https://github.com/pehses/twixtools/blob/08cc6b7a8b16570b35e0691a20b839b53137b2af/twixtools/geometry.py#L124
The mathematical operation V * V gives a matrix with squared entries, while what we actually need there is a matrix multiplication (i.e. np.matmul(V, V). The resulting rotation matrix otherwise is errorous and not orthonormal.

Should be fixed by merge of pull request #17 from schmidt-jo/fix_rot_mat


Support PostGIS connections

These work just like PostgreSQL connections, but the adapter_name is different.
Fixes a regression from database-cleaner 1.8.5, where PostGIS was detected as PostgreSQL automatically.

Thanks, @leahneukirchen !

@botandrose Could you please release 2.0.1?
https://github.com/DatabaseCleaner/database_cleaner-active_record/compare/v2.0.0...main
We are waiting for this to upgrade DatabaseCleaner in general.


How can I change the relative value in of TestNumberOfNulls() ?

Function:

TestNumberOfNulls()

If I pass a reference dataset in the
data_integrity = TestSuite([
     TestNumberOfNulls()
])
data_integrity_tes.run(reference_data=ref, current_data=curr)

The test fails if the share of nulls and missing values is over 10% higher than in reference. The class contains the following lines:
        if reference_null_values is not None:
            curr_number_of_rows = self.metric.get_result().current.number_of_rows
            ref_number_of_rows = reference_null_values.number_of_rows
            mult = curr_number_of_rows / ref_number_of_rows
            return TestValueCondition(lte=approx(reference_null_values.number_of_missed_values * mult, relative=0.1))

reference: https://github.com/evidentlyai/evidently/blob/c1b1b78f48ecc0c70fa628e8bd98c2daf7611a02/src/evidently/tests/data_integrity_tests.py#L41
I'm asking how can I easily change the value of relative=0.1 to any other value I wanted ?

Okay, I think I reached the solution (not the best one), but that works:
The following code uses the metric instance which is a DatasetMissingValuesMetric class to arrive at the DatasetMissingValuesMetricResult class and use the attributes/metrics of the Null values of the reference and current dataset and thus modify the TestNumberOfNulls() condition based on the values of the reference dataset
My code:
from evidently.tests.data_integrity_tests import TestNumberOfNulls
from evidently.metrics.base_metric import InputData
from evidently.pipeline.column_mapping import ColumnMapping

column_mapping = ColumnMapping()

test_nulls = TestNumberOfNulls()
input_data = InputData(
    reference_data = ref,
    current_data = curr,
    column_mapping = column_mapping
)
data_integrity_null = test_nulls.metric.calculate(input_data)
# First item
data_integrity_null.reference_null_values.number_of_rows

data_integrity_null.current_null_values.number_of_rows

data_integrity_null.reference_null_values.number_of_nulls

So, this condition
lte=approx(reference_null_values.number_of_missed_values * mult, relative=0.1)
uses the
reference_null_values.number_of_missed_values = data_integrity_null.reference_null_values.number_of_nulls
and
mult = data_integrity_null.current_null_values.number_of_rows \ data_integrity_null.reference_null_values.number_of_rows
So now I can call the following code

data_integrity = TestSuite([
     TestNumberOfNulls(
        lte=approx(
                  data_integrity_null.reference_null_values.number_of_nulls *(data_integrity_null.current_null_values.number_of_rows \ data_integrity_null.reference_null_values.number_of_rows `),
                  relative=0.2
         )
)
])
data_integrity_tes.run(reference_data=ref, current_data=curr)

changing the relative=0.2 and still using the metrics of the reference dataset

Hi @samuelamico ,
First of all I apologise for the late answer. You caught us in the middle of major refactoring.
To be completely honest it is not finished yet and right now we do not have the possibility to edit the "relative to the reference" parameter itself. We consider to add it in the future so that it is possible to edit the test default in a simpler way either in the test or in a test preset. Thanks for confirming that it needed!
You can still pass a parameter, you already have a good approach. I can suggest pretty similar way to do it, with a little less code:
data_integrity = TestSuite(tests=[
    TestNumberOfNulls(), # default test parameters
    TestNumberOfNulls(lte=approx(ref.isna().sum().sum(), relative=0.2)), # 20% higher than in reference
])

data_integrity.run(reference_data=ref, current_data=curr)
data_integrity

I hope this helps at lest a little  🙂

Thanks so much @emeli-dral . By the way, I'm creating a tutorial for all Tests available in Evidently AI (written in a jupyter notebook), if you want I can share with you. Thanks

Hi @samuelamico! We'll happily share the tutorial through our newsletter and social channels, please share it with us once it is ready! You can also join our Discord if not yet and share it with the community yourself: https://discord.com/invite/xZjKRaNp8b


Feat: Issue in styling in Career Page

Describe the feature
@SUGAM-ARORA I want to change styling of career page. Kindy assign me this issue.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@Ojas-Arora Issue assigned to you

@Ojas-Arora Make sure not to make major edits in this


Fix #359

Add ability to generate XML reports in versions:property-updates-report goal

We use this in production since months to create our own dependency bot. It works great!

we need an integration test to cover and validation this new behavior - can you provide on in this PR?
here is an example for an existing IT for the old report: https://github.com/mojohaus/versions-maven-plugin/tree/master/src/it/it-property-updates-report-001


feat(Algebra/Module): presentation of a direct sum of modules

Given a family of A-modules M i and a presentation of each M i, we construct a presentation of ⨁ i, M i.

[x] depends on: #18327
[x] depends on: #18408

maintainer merge

Thanks!
bors merge


I am creating a folder into google drive but can't see. it's saying something about permission error with gmail account

When I am creating a folder and getting an id but can't see that folder on google drives

This sounds like an API problem and not a problem with this library. Please post your question to Stack Overflow with the tag google-api. If it turns out to be a problem with this library, you're welcome to open another issue.


No compose previews and images are not supported?

It seems like there are no Compose Previews when trying to use this Compose component (see screenshot)
If we provide markdown with an image component in it ( https://www.markdownguide.org/basic-syntax/#images-1 ), it stops rendering early.

I know this has been an issue for some time. Currently, I have really no idea what is causing this. I'm mostly suspicious of Commonmark library. I'll need to learn more about how Previews work in Compose to solve this error.
Are you sure your app has Internet permission? Same URL work on the demo app for me.

@halilozercan I face the same issue regarding RemoteImage and loading remote image. I test the same in the demo app and it works as expected. My project include Coil library as well but in version 2.0.0 to have access to the AsyncImage composable. Maybe the two library version collapse.

If we provide markdown with an image component in it ( https://www.markdownguide.org/basic-syntax/#images-1 ), it stops rendering early.

I'm facing the same issue in the demo app when you remove the title from the image markdown:
![random image](https://picsum.photos/seed/picsum/400/400)

Is there any update yet on this issue?


Investigate options for GUI sheet builder

In GitLab by @Asacolips on Jun 23, 2021, 08:09
This is a preliminary issue for the #18 issue regarding the sheet builder GUI. This won't actually cover building and finalizing the feature, but it does cover investigating potential options and creating a proof of concept dialog.
Labels (do-not-change)
/cc @Asacolips

In GitLab by @Asacolips on Jul 19, 2021, 08:32
Closing this one now that #18 is in an active milestone and will be the focus of 0.4.x


Server inside vm can't be reached on the host

I tried to make a simple tcp server on linux on virtualbox on windows. I tested it on firefox inside the vm and it worked, but it didn't work on the host neither with port forwarding nor bridged router.
I also tried the crystal http api, and hyper-v. Nothing worked.
I tried serving things to the host with nginx, js (node) and c and all of that worked. I also tried crystal on wsl and it worked.
My intention was to have a crystal virtualbox vm but I couldn't because I couldn't reach the server on the host.
Thanks for listening!

Take sure that the server is listening on all network interfaces (<IP_ADDRESS> or ::).
On what address/port is listening the server?

This is a question for the forum


skip flaky twitter-util tests

as per https://github.com/twitter/util/issues/173

test run: https://scala-ci.typesafe.com/job/scala-2.11.x-jdk8-integrate-community-build/222/consoleFull (404 til Jenkins catches up)


(JOSS) Documentation of software installation

I noticed that there is no explicit set of instructions in the docs to install the software. The required libraries can be inferred from the Example section (I managed to install it easily in the REPL pkg mode). A simple section in the docs that outlines this, with a clear list of other dependencies, and maybe a bit of code that automates the installation, would help.

@fb456  Thank you. Installation instructions have been added.


Mark 1.0 API stable

Signed-off-by: Stéphane Graber<EMAIL_ADDRESS>

jenkins: test this please


Feature Request: Factorio Mod Manager

Feature Request
Factorio module should have a way of properly managing and updating mods.
Feature Information:

What should it do?
The user should be able to upload mod zip files through the interface.
It should be able to search the factorio mod list to be able to select mods from.
It should be able to detect when mods are out of date.
It should be able to update mods.

I am looking for a more stable alternative of https://github.com/mroote/factorio-server-manager

Is it specific to a given application module?
-->Factorio

I confirm:

[x] that I have searched for an existing feature request matching the description.

I highly second this, It would be awesome not to manually have to manage mods but to have them automatically checked for updates before a server start! As well as having an option to manually trigger a mod update.

This is going to happen. There's a really great API for factorio mods so this is definitely something I'd love to implement.

Just thinking in text here,
Roughly what sort of roadmap is there until this feature is available?
Now I understand you guys are quite busy squishing bugs etc. but if it is a while out (as in more than a month or two). What would I need to access when it comes to developing an extension for AMP that could handle this?

This did not age well.

Yeah, so I think delete AMP and moving to the alternative with mod manager is the only solution?

I'd still like to do this but the way it'd happen has changed. Factorio is due to be re-built using the Generic module, and then such functionality would be a Generic plugin rather than an extension of the existing module.

Of course there's nothing stopping anyone else from implementing this as a plugin. Doesn't need to come from me if someone else wants to build that functionality :)


User UX

Hi, the idea of this project sounds great to me, but I think we can improve it somehow the user UX, I mean, if a user want to use a LS from this repo for they development, what are the steps? does user needs to download this repo? It'd be great if they just install a global dockered-lsp command where then it could be called like dockered-lsp run clojure-lsp or something like that.
I'm just trying to think in a better way where user wouldn't need to clone this repo and start pointing to the .sh files... WDYT?

I agree the UX could be improved.  Ideally, we would have the images build automatically and pushed to Docker Hub, users would then just pull the image they want, and then that just leaves the issue of the wrapper script.  I like your idea of a global command.  https://github.com/xendk/rid looks kind of like what we want, but a bit more generic.  I think we could achieve what we need for this project with a simple bash script with just one big switch statement.

Well, one advantage of rid is that you can symlink bash-language-server to rid somewhere in your path, and as lsp-mode looks for a command named bash-language-server It Just Works™. I'm planning to add a switch which will make rid create all the commands in a .rid.yml file automatically.
Of course, we could also make a bin dir in this repo which contains all the language servers under their canonical name.
But it does bring up another issue. rid mounts in the directory of the .rid.yml file rather than $HOME for a reason. I have been meaning to add a warning to the rid readme, advising against putting a .rid.yml in your home dir but rather putting it one level deeper, like ~/dev or what one prefers.
The problem with mounting in ones homedir is that it gives a container access to all you own, including sensitive directories like .ssh and .gnupg. In theory this means you could accidentally run a malicious image which would grab all your keys and send them off to the dark web.
It's a small risk, but it seems prudent to limit the damage a malicious image might inflict.
(and I better get that added to the readme)

Well, one advantage of rid is that you can symlink bash-language-server to rid somewhere in your path, and as lsp-mode looks for a command named bash-language-server It Just Works™. I'm planning to add a switch which will make rid create all the commands in a .rid.yml file automatically.
Of course, we could also make a bin dir in this repo which contains all the language servers under their canonical name.

Those both sound like good options.  The bin dir in this repo as the easier option, and using rid as the more flexible option.

But it does bring up another issue. rid mounts in the directory of the .rid.yml file rather than $HOME for a reason. I have been meaning to add a warning to the rid readme, advising against putting a .rid.yml in your home dir but rather putting it one level deeper, like ~/dev or what one prefers.

That would make it difficult to use with at least elixir-ls, because it also uses the language's package manager, so I would want to expose ~/src and ~/.mix, which doesn't sound like it would be possible with the mechanism rid currently provides for specifying which directory to mount in the container.

That would make it difficult to use with at least elixir-ls, because it also uses the language's package manager, so I would want to expose ~/src and ~/.mix, which doesn't sound like it would be possible with the mechanism rid currently provides for specifying which directory to mount in the container.

Not to worry, I got that covered, see the platform command in the readme. You can specify additional mount points. Another option is the cache option. These are also extra directories mounted in, but rid manages them per command. Means they're empty on the first invocation, but will persist between invocations (they're stored in .config/rid/<command>).
As you can see, rid doesn't impose any limits on specified mounts, I mount in my .ssh dir on platform, as it uses the ssh command and my key.
Though I'm still pondering whether I should reverse the logic and make not mounting the root folder (and the setting of user and current working directory) the default and require an command option for that behavior.

What do you both think of the changes in the easier-wrapper-scripts branch?  It combines the wrapper scripts into a single wrapper script that takes the language-server name/identifier as the first argument, or can be invoked via a symlink with the same name as the language-server's executable, making it entirely transparent to the client.
This is deliberately kept simple, so that there is something convenient provided by this repo, and for a more flexibility, users can instead use rid.

Think you should warn users about the $HOME mounting. Apart from that, looks good.
One more thing you might consider copying from rid: --workdir $PWD. I don't know how relevant it is for language servers, as long as they're working with full paths, it should just work.

I think I have plugged that last security risk properly now (instead of it just being a known limitation of the wrapper script), and I am going to merge it to main.  Feel free to reopen this ticket or open a new one if anyone has any further input.


Implement schemas serialization

Depends on https://github.com/metarhia/metaschema/pull/226

/cc @nechaido PTAL

/cc @nechaido PTAL

/cc @lundibundi PTAL

@nechaido

@nechaido PTAL

We think this can be implemented as default serializer in @metaschema repository.
/cc @belochub @nechaido

Moved to https://github.com/metarhia/metaschema/pull/241.


Execution event for Open and Close circuit breaker, getMetrics() method visibilitiy.

Hi, i have 2 questions:

Is it possible to add a single execution event on circuit open and circuit close ? right before calling $this->stateStorage->openCircuit() and $this->stateStorage->closeCircuit() .
Is it possible to change AbstractCommand->getMetrics() method visibility to public ?

I'll explain what i'm trying to achieve based on this example:
<?php

declare(strict_types = 1);

namespace Path\To\Folder;

use Odesk\Phystrix\AbstractCommand;
use Odesk\Phystrix\MetricsCounter;
use Psr\Log\LoggerInterface;

class TestCommand extends AbstractCommand
{
    private $client;
    private $logger;

    public function __construct($client, LoggerInterface $logger) {
        $this->client = $client;
    }

    protected function run()
    {
        return $this->client->doSomething();
    }

    protected function processExecutionEvent($eventName) : void
    {
        if ($eventName === self::EVENT_SUCCESS) {
            // Log all successful calls to the client
            $this->logger->info("Success on '{$this->commandKey}'");
        }

        if ($eventName === self::EVENT_FAILURE) {
            // Log all failed calls to the client
            $this->logger->info("Failure on '{$this->commandKey}'");
        }

        if ($eventName === self::EVENT_SHORT_CIRCUITED) {
            $this->logger->info("Short circuited on '{$this->commandKey}'");
        }

        if ($eventName === self::EVENT_CIRCUIT_OPEN) {
            // Should be logged only once when circuit breaker is open
            $this->logger->critical("Circuit '{$this->commandKey}' is open.");
        }

        if ($eventName === self::EVENT_CIRCUIT_CLOSED) {
            // Should be logged only once when circuit breaker is closed
            $metrics = $this->getMetrics();
            $failures = $metrics->getRollingCount(MetricsCounter::SHORT_CIRCUITED);
            $message = "Circuit '{$this->commandKey}' is now closed. "
                . "There were {$failures} failures during the outage.";
            $this->logger->critical($message);
        }

        parent::processExecutionEvent($eventName);
    }
}

In current implementation there is no way to log the moment when circuit breaker is opened and closed. This should be a single execution event thrown only when circuit breaker is opened or closed. Other thing is that i can't get any metrics from my command class since getMetrics() method visibility is 'private'. Do you think this is something what could be useful to add ? Please let me know what you think.
Thank you in advance.
Oleg G.

Hi @ogolubenco, you have full access to CommandMetricsFactory, ApcStateStorage and can decorate all the internal components, instrument them with logging or anything else.
That said, I don't mind making getMetrics protected and I don't mind adding two new types of events - although that would require some figuring out and possibly some refactoring, because currently working with the circuit is abstracted away and individual commands do not know whether the circuit was JUST open or has been open for a while.  I would not go there, since there are other ways to get those events logged - e.b. by using your own implementation of ApcStateStorage.

Hi @lcf, if i will use my own implementation of ApcStateStorage and will log open/close event in openCircuit() and closeCircuit() methods, how i can pass metrics to my ApcStateStorage implementation ?
Thank you

since you create the instance of CommandMetricsFactory yourself, you can pass it to the ApcStateStorage and then read stats for any command key.

CommandMetricsFactory takes StateStorage as argument in constructor and passes it to MetricsCounter
Looks like i will have to redo/extend all the logic to be able to get metrics in StateStorage which doesn't look like a good idea.

e.g. something like this
    class LoggingStateStorage extends ApcStateStorage{
        private $metricsFactory;
        public function __construct(CommandMetricsFactory $metricsFactory) {
            parent::__construct();
            $this->metricsFactory = $metricsFactory;
        }

        public function openCircuit($commandKey, $sleepingWindowInMilliseconds) {
            parent::openCircuit($commandKey, $sleepingWindowInMilliseconds);
            $metrics = $this->metricsFactory->get($commandKey, new Config([]));

            // here you can do the logging.
        }

        public function closeCircuit($commandKey) {
            // the same here...
        }
    }
    $stateStorage = new ApcStateStorage();
    $commandMetricsFactory = new CommandMetricsFactory($stateStorage);
    $circuitBreakerFactory = new CircuitBreakerFactory(new \LoggingStateStorage($commandMetricsFactory));

I have not tested, this is to illustrate the idea

Hi, we can make it work this way. Please close this issue.
Thank you

thank you for your feedback. the suggested refactoring is definitely something to consider in the future!


Update waveform page

Spotted by Ken: https://mimic.physionet.org/mimicdata/waveforms/ is now outdated.
"Work to link waveform data with the MIMIC-III Clinical Database is still underway. Please check here for updates on our progress."
This should be updated to link to the waveform data.

the page has been updated: https://mimic.physionet.org/mimicdata/waveforms/


pet dehydrated fish to make him nice to you

About the PR
closes #13870, depends on #14707
adds the friends system, npcs wont attack anyone if they are friends
you can pet a pettable friend (currently dehydrated fishe) and you will be friends
once something with friends is hydrated it cannot be petted anymore!!!
Media
urist petted bottom fish, but not top fish...
https://user-images.githubusercontent.com/39013340/225717585-c2b08ea7-a225-40ac-9714-26f1dc88b222.mp4

[X] I have added a video to this PR showcasing its changes ingame

Changelog
:cl:

tweak: Dehydrated space carp can now be petted to make them nice to you. Have the whole station pet him and be friends forever!

i have methods IgnoreEntity, IgnoreEntities and IsIgnored, what should it be called then? still FactionExceptionSystem? im bad with names h

@EmoGarbage404 tested ingame still works, should i change name of it again or is it ok

adds the friends system, npcs wont attack anyone if they are friends

this will add duplicated behavior if both this and https://github.com/space-wizards/space-station-14/pull/13557 are merged

i guess can change it to depend on that too, what would the equivalent of FactionExceptionSystem be here?

i guess can change it to depend on that too, what would the equivalent of FactionExceptionSystem be here?

add the uid of an entity to FactionComponent.ExceptionalFriendlies and it will get pruned whenever it checks for nearby hostile entities

with your faction changes fish will start prepetted when bought very epic

@Elijahrane due to access i cannot just ExceptionalFriendlies.Contains(uid), what should i do

@Elijahrane due to access i cannot just ExceptionalFriendlies.Contains(uid), what should i do

use the public api for adding friendlies

you shouldn't need it for anything in this PR?

to test if the user is already an exception when petting to change the text to say fishe likes you now

it needs execute access since technically Contains is a function, should probably just add a function like how i had IsIgnored

still works fine with latest factionstuff, can be merged after dependencies if no other issues are found

@EmoGarbage404 no longer using ranes thing anything to change or good to merge


python312Packages.json-repair: 0.27.0 -> 0.27.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.json-repair is: repair invalid JSON, commonly used to parse the output of LLMs
meta.homepage for python312Packages.json-repair is: https://github.com/mangiucugna/json_repair/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.27.2 with grep in /nix/store/8njcrsj12v8f0p812j6xawilng13c8fs-python3.12-json-repair-0.27.2
found 0.27.2 in filename of file in /nix/store/8njcrsj12v8f0p812j6xawilng13c8fs-python3.12-json-repair-0.27.2

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

5 total rebuild path(s)

5 package rebuild(s)

First fifty rebuilds by attrpath

python311Packages.graphrag
python311Packages.json-repair
python312Packages.graphrag
python312Packages.json-repair

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/8njcrsj12v8f0p812j6xawilng13c8fs-python3.12-json-repair-0.27.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/ac04e32b30b0974d566e2dd1542a6f098088d697#python312Packages.json-repair

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/8njcrsj12v8f0p812j6xawilng13c8fs-python3.12-json-repair-0.27.2
ls -la /nix/store/8njcrsj12v8f0p812j6xawilng13c8fs-python3.12-json-repair-0.27.2/bin

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

8 packages built:

python311Packages.graphrag
python311Packages.graphrag.dist
python311Packages.json-repair
python311Packages.json-repair.dist
python312Packages.graphrag
python312Packages.graphrag.dist
python312Packages.json-repair
python312Packages.json-repair.dist

Maintainer pings
cc @greg-hellings for testing.

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

Result of nixpkgs-review pr 333969 run on x86_64-linux 1

8 packages built:

python311Packages.graphrag
python311Packages.graphrag.dist
python311Packages.json-repair
python311Packages.json-repair.dist
python312Packages.graphrag
python312Packages.graphrag.dist
python312Packages.json-repair
python312Packages.json-repair.dist


Optimize image by further cleanup

Remove installed packages that are only need to install but provide
no value at runtime (especially with an entrypoint defined.
Reduce the output from build by making wget quiet.
Leverage /bin for the terraform binaries.

@kenjones-cisco
Great pull request!
Thank you :+1:


Agent should be ably-cocoa by default

I have not checked the code for this lib, but I think we send ably-ios as the agent, yet this library is now ably-cocoa.  We should I believe do the following:

[ ] Change default agent to ably-cocoa
[ ] Include a variant based on platform such as macos, ios, watchos, ipados.  Not sure what the official variants are, but assuming it was ios it would be ably-cocoa.ios
[ ] Check for legacy references in code to ably-ios and replace with ably-cocoa
[ ] Make sure we have no references elsewhere in docs or the website to ably-ios

#954 does the parts of this that concern this repo.


Fix typings of getQueriesForElement

What:
Fix typings of getQueriesForElement function

Why:
There are currently two problems:

Type of queriesToBind parameter is BoundFunctions<typeof queries> | BoundFunctions<typeof queries>[] which is IMO incorrect because the function is doing the binding and thus should receive unbound queries.
Type parameter of BoundFunctions is hardcoded to typeof queries which prevents binding of custom queries

How:

Parametrised getQueriesForElement to enable binding custom queries
Changed type of queriesToBind to type parameter

Checklist:

[ ] Documentation added to the docs site N/A
[x] Typescript definitions updated
[ ] Tests N/A
[x] Ready to be merged

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

@kentcdodds I've just realised that maybe it would be better to make parameter type more specific. See code below. Those are types copied from react-testing-library typings. What do you think?
interface Query extends Function {
  (container: HTMLElement, ...args: any[]):
    | Error
    | Promise<HTMLElement[]>
    | Promise<HTMLElement>
    | HTMLElement[]
    | HTMLElement
    | null
}

interface Queries {
  [T: string]: Query
}

export function getQueriesForElement<T extends Queries = typeof queries>(
  element: HTMLElement,
  queriesToBind?: T,
): BoundFunctions<T>

Ah, sure. Feel free to make another PR :)


Output better executable path

nit: consider filepath.Rel to shorten the output when possible

This would be bad if the output begins with ... Don't overthink this, but take a look if there's something easy to do here that avoids super long strings.

Addressed.
$ ../hpc-toolkit/ghpc create tst.yaml -w
$ ~/wp/../wp/./hpc-toolkit/ghpc create tst.yaml -w
...
./ghpc deploy tst

My simple thought was "run filepath.Clean on the output of algorithm".

Maybe as simple as
  cleanArgs0 := filepath.Clean(args0)

and return that.

I have ~/bin in my PATH and I am executing that, but now it's picking up ghpc from my CWD.

Yeah, because args0 == ghpc, attempt to clean it up makes args0 == ./ghpc, ./ghpc is not the same file as ghpc from PATH => output args0 (./ghpc).
Updated.


Test longruns without dss ops in mesh-warp gradient

Tracks test branch in ClimaCore with no-dss on meshwarp horizontal gradient terms

Is this still relevant?


Update VTR to d6d69ff92

The build is failing in the same way as master: https://github.com/SymbiFlow/fpga-tool-perf/issues/289

@acomodi @mithro @litghost Could someone please look at this? It's a one line change. Thanks.

@HackerFoo FYI, with https://github.com/SymbiFlow/fpga-tool-perf/pull/290 the vtr version is grabbed from the Symbiflow arch defs package.


Installation causes reboot

Checklist

[X] I have used the search function to see if someone else has already submitted the same bug report.
[X] I will describe the problem with as much detail as possible.

App version
6.0
Where did you get the app from?
Other
Android version
10, Oxygen 10.3.8.GM21AA
Device model
OnePlus 7 Pro
Steps to reproduce

Use any of Google Play, F-Droid or direct download from Github to obtain 6.0 APK and install.
Phone spends 30-50 seconds in the installation phase and then reboots, leaving 5.807 installed.

To rule out a general problem, I installed updates to KOReader via F-Droid (no issue) and an update to Duolingo via Google Play (no issue).
Expected behavior
I expected 6.0 to install properly without a reboot.
Actual behavior
The APK is downloaded through all methods, and begins the install process. Then it hangs and reboots the phone.
Logs
No response

If your device reboots, that's almost certainly a bug in your operating system. You could try contacting your device vendor. But they'll probably have a hard time reproducing the issue.
You can probably work around this error by uninstalling the app, then reinstalling it. You might want to export your settings before that (under Settings → Export settings).

cketti wrote:

If your device reboots, that's almost certainly a bug in your operating system. You could try contacting your device vendor. But they'll probably have a hard time reproducing the issue.
You can probably work around this error by uninstalling the app, then reinstalling it. You might want to export your settings before that (under Settings → Export settings).

This worked.
Import of settings claimed to fail, but did not actually fail.
-dsr-


Improve CSS for Login and register Page (html branch)

Improve the responsiveness and styling for login and register page

I want to work on this

Okay you can work on this issue


Chapter computational performance/multiple gpus concise

Job d2l-zh/PR-843/1 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-843/

Job d2l-zh/PR-843/2 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-843/


refactor: remove docker-monitor, kubelete-monitor, health-monitor

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 79.313%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
2285

Relevant Lines:
2881

💛  - Coveralls


How can an ITelemetryInitializer access the Identities of the current HttpRequestData?

Hello, in ASP.NetCore, in order to enrich the telemetry with some information about the current caller, one can inject the IHttpContextAccessor in the telemetry initializer contructor.
Is there a similar helper in the world of azure function/isolated worker?

We're flagging https://github.com/Azure/azure-functions-dotnet-worker/issues/950 for discussion, so will close this in favor of that issue, but please let us know if you have any additional questions.


Segmentation Fault - Raspbian ARM v6.0.0-rc.2

Steps to reproduce

Followed installation process described here:
https://github.com/PowerShell/PowerShell/blob/master/docs/installation/linux.md#raspbian
Tried to use ~/powershell/pwsh

Expected behavior
Powershell should start
Actual behavior
I get segmentation fault and powershell does not start.
Environment data
**Linux xxx 4.9.68+ #1064 Tue Dec 12 14:48:36 GMT 2017 armv6l GNU/Linux
**
Linux version 4.9.68+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #1064 Tue Dec 12 14:48:36 GMT 2017

What OS distro and version are you using?  Only Raspbian Stretch is currently supported on R-Pi2/3.

I was using Raspberry Pi 1 and jessie.
I then updated to stretch.
It worked when I used RP 3

After being idle for a few moments, it then does the segmentation fault.

The same happens here on a RP3, with Raspian stretch
pi@raspberrypi2:~ $ ~/powershell/pwsh
PowerShell v6.0.0-rc.2
Copyright (c) Microsoft Corporation. All rights reserved.
https://aka.ms/pscore6-docs
Type 'help' to get help.
PS /home/pi> date
date
Sat Dec 30 21:09:19 CET 2017
PS /home/pi> $Segmentation fault
pi@raspberrypi2:~ $ date
Sat Dec 30 21:09:42 CET 2017
pi@raspberrypi2:~ $
PS /home/pi> $psversiontable
Name                           Value

PSVersion                      6.0.0-rc.2
PSEdition                      Core
GitCommitId                    v6.0.0-rc.2
OS                             Linux 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0
PS /home/pi>
pi@raspberrypi2:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
pi@raspberrypi2:~ $

Confirmed that it works fine on a clean install of stretch on my RP3.

I had this same problem on my RP3 with Raspbian jessie installed. I upgraded my distro as per the steps here -> jessie to stretch which afterwards PowerShell was working.

Yep, this is an RP3 issue. Look at all the repros (I am hitting this on a new build). Everyone has a Rpi3. @joeyaiello @SteveL-MSFT

Interesting
Thread 14 "pwsh" received signal SIGILL, Illegal instruction.
[New Thread 0x69292450 (LWP 5860)]
[New Thread 0x65925450 (LWP 5861)]
[Thread 0x65925450 (LWP 5861) exited]

Thread 26 "pwsh" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x69292450 (LWP 5860)]
0x65a10050 in ?? () from /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
(gdb) backtrace
#0  0x65a10050 in ?? () from /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
#1  0x65a0ab50 in X509_verify_cert () from /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
#2  0x692914f8 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Yep, looks clearly that it's the libcrypto.so.1.0.0 issue. So CoreCLR is loading 1.0.0 and not 1.0.2, and the upgrade to Stretch from Jessie didn't clean up.

@dantraMSFT Should we create a soft link on right libcrypto version in installer?

this issue appears to be resolved with 6.1
PS /home/pi> $psversiontable

Name                           Value
----                           -----
PSVersion                      6.1.0
PSEdition                      Core
GitCommitId                    6.1.0
OS                             Linux 4.14.30-v7+ #1102 SMP Mon Mar 26 16:45:...
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Stumbled on this when searching for the same error text.  For what it is worth, I'm not using PowerShell nor a RPi, but also Debian Stretch on an ARM i.MX6 embedded device (32bit).  So, perhaps it is a libcryptopp ARM related issue (word size?).


Easier creation and sharing of Ghidra projects

Opening and analyzing a file in Ghidra currently requires a somewhat lengthy process of first creating a project, then importing the sample to this project, and then finally opening the file. Furthermore, sharing Ghidra projects with others is currently only possible with a Ghidra server, which is inconvenient because often there is no server that both parties have access to.
I am suggesting several changes to the way "non-shared" projects are currently handled, or possibly implementing a new project type called "local project" which is based on it, in the following manner:

The .gpr file of a non-shared project seems to always be empty. I believe it serves no purpose other than being a file rather than a folder to open the project from. Furthermore, the .rep directory often compresses very well. I suggest to store the project as a compressed version of the .rep directory, as a single file.
Ghidra currently refuses to open a project if the username does not agree with the value stored in the project.prp file - I am suggesting to completely remove this obstacle so people can share Ghidra projects simply by passing along the project archive.
Finally, it would be very convenient if Ghidra could be called with the path to a file on disk as its parameter to directly create a project, import the file to it, and launch the CodeBrowser.

Export/import already exists

Dear @mumbel, I assume you are referring to the Archive Current Project and Restore Current Project options? Thanks for pointing this out, I was unware of these before. They look very promising: It would be nice if there was an option to create a project that is stored as such an archive by default, that would implement my first two suggestions.

Just FYI, you can also export individual files using the File > Export Program... menu item in the CodeBrowser tool, which is handy if you just want to share a single analysis with someone (and not an entire project with all the files in it).

Copying the the project files should work.   Perhaps some of the files living under the .rep dir have been corrupted?
I'm assuming you are using the File -> Open Project... action in the Front End, pointing the file chooser to the .rep directory?    When you do this, do you get any interesting messages in the application log file?

Sorry for the delay on this.
I open the .gpr (not the .rep) in ghidra, and the only logs I get are:
2021-04-10 13:40:18 INFO  (DefaultProject) Opening project: /home/mart/git/ghidra_projects/firmware
2021-04-10 13:40:18 INFO  (FileActionManager) Opened project: firmware

What is the reason that the project is locked to the user? It is quite frustrating if you work from home or at work on different PCs.

What is the reason that the project is locked to the user? It is quite frustrating if you work from home or at work on different PCs.

https://github.com/NationalSecurityAgency/ghidra/issues/5507#issuecomment-1625610176


Promotes bfloat16 inputs to maximum and minimum to float32.

Without the fix, users will eventually hit a compilation error at TritonGPUToLLVM phase. Example error message is:
'llvm.intr.maxnum' op operand #0 must be floating point LLVM type or LLVM dialect-compatible vector of floating point LLVM type, but got 'i16'

Similar workarounds is already applied in multiple reduction ops like max, min, sum, etc.
To mimic the behavior of other reduction ops, the bf16 to fp32 cast will be added unconditionally regardless of the underlying hardware and the result will not be casted back to bf16.

I agree, it seems reasonable that we be consistent.  (Perhaps we should also upgrade f16 to f32 to match the behavior of min(), but we can worry about that separately.)

This can't be merged because it's failing pre-commits.  (You can run pre-commits before committing to git with pre-commit install.)

Somehow this breaks many execution tests. Could you take a look?


update(README): Add steps to provision a volume

This PR illustrates an example to provision a volume and deploy an app using the same.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@dad77dd). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #20   +/-   ##
=========================================
  Coverage          ?   53.72%
=========================================
  Files             ?       12
  Lines             ?      631
  Branches          ?        0
=========================================
  Hits              ?      339
  Misses            ?      272
  Partials          ?       20

Continue to review full report at Codecov.

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


Bug fixes

fixed game over draw, now it saves.
When typing input to console on some androids, it wouldn't show, now shows.
Made date time set for every 5 minutes.
Other small bug fixes to help chess run on all devices.

Hi Tim, i see some changes in icsclient.xml - do they need to be reflected in landcape view as well?

Hi Jeroen,  I haven't been paying attention to landscape, lately.  I will look at landscape, soon.  Thank you.

There was a phone that would go to numerical input.  It has been fixed.  Landscape is updated.