Train on custom data

Hi @mawanda-jun
First of all, what an incredible project you have created here! I read the TrainNet research paper and it seems like a very cool idea.
I have a question though - I get mixed results on my own invoices (shipping industry). I was wondering, can I train one of the existing models on my own dataset?
For example, if I have annotated a lot of invoices in below format:
filename	        class	xmin	        ymin	        xmax	        ymax
my_invoice_page1.jpeg	table	193	        717	        389	        790
my_invoice_page2.jpeg	table	220	        940	        362	        997

Will I then be able to re-train one of the models and use it?

Hi and thank you :)First of all, you can definitely train the network on your own dataset, however the performance of the model depends mainly on the quantity of tables you have. Second, it is a quite old project and so I don't know if the pre-trained models and the TF framework are still working. Lastly, it is a proof-of-concept and therefore I must advise you it is not "business ready".If I were you, I'd take this project as reference and try to make my own with updated libraries and new data - I'd definitely look at this dataset: https://github.com/doc-analysis/TableBankI think that the steps I followed are quite straightforward, however the code becomes obsolete really soon and I'm not maintaining it anymore.Tell me if you have any other questions.Have a nice day,GiovanniIl 10 Feb 2020 10:32, Oliver Busk Jensen<EMAIL_ADDRESS>ha scritto:Hi @mawanda-jun
First of all, what an incredible project you have created here! I read the TrainNet research paper and it seems like a very cool idea.
I have a question though - I get mixed results on my own invoices (shipping industry). I was wondering, can I train one of the existing models on my own dataset?
For example, if I have annotated a lot of invoices in below format:
filename	        class	xmin	        ymin	        xmax	        ymax
my_invoice_page1.jpeg	table	193	        717	        389	        790
my_invoice_page2.jpeg	table	220	        940	        362	        997
Will I then be able to re-train one of the models and use it?
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.

I tried using your project "IntelligentOCR" and got it up and running. It actually did a pretty good job, however, it's clear to see that it detect tables found in academic papers better than tables in invoices for example. (Hence why I want to train it on my own dataset).
I have 2000 invoices - all containing tables, that I wish to train a new model on.
I was thinking something like this:

Annotate the 2000 invoices according to the CSV format like above. (filename, class, xmin, ymin, xmax, ymax)
Split the dataset into "training" and "test"
Train the model

Yes, I think it would work just fine. Actually, you can also train the network on my original dataset and then use the resulting model as a pre-training task over your own dataset. You definitely should divide your dataset into training and test. Since you have 2K examples, I'd divide it into 70%-30% to have a good representation at test time.Consider to change also the parameters of the blurring of the images, since I think the invoices has more "sparse" tables, am I right?Il 10 Feb 2020 12:20, Oliver Busk Jensen<EMAIL_ADDRESS>ha scritto:I tried using your project "IntelligentOCR" and got it up and running. It actually did a pretty good job, however, it's clear to see that it detect tables found in academic papers better than tables in invoices for example. (Hence why I want to train it on my own dataset).
I have 2000 invoices - all containing tables, that I wish to train a new model on.
I was thinking something like this:
Annotate the 2000 invoices according to the CSV format like above. (filename, class, xmin, ymin, xmax, ymax)Split the dataset into "training" and "test"Train the model
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.

Thanks for your quick reply! Very much appreciated.
In regards to:

Consider to change also the parameters of the blurring of the images

What do you mean with this? Where do I find this parameter regarding blurring - and why does it matter?

since I think the invoices has more "sparse" tables, am I right?
You most definitely are! These invoice tables don't have any clear column/row separating lines, but is still presented in a "table-like/row-like" list.

Oh, I’m sorry. I thought I implemented it, but I didn’t entirely actually.
I am referring to thishttps://www.researchgate.net/publication/320243569_Table_Detection_Using_Deep_Learning paper, in which they made a transformation of the images in order to let the pre-trained-on-normal-images network to adapt to the sparse, b/w documents with tables.
I thought I implemented it entirely, but I found only a b/w version of this transformation at thishttps://github.com/mawanda-jun/TableTrainNet/blob/6b3cee8ed0250d8cd52b374c76597a70121c398c/dataset/img_to_jpeg.py#L22 line.
I think that I didn’t upload that change because it would have involved RGB images, which were far too heavy for my poor laptop.
However, to implement it, there are few changes to be done: you have to change that function, to look for every time the third dimension of images is involved and change it from “1” to “3”. But there is some work to do, and maybe you’re not interested in doing it. :D
Da: Oliver Busk<EMAIL_ADDRESS>Inviato: lunedì 10 febbraio 2020 14:23
A<EMAIL_ADDRESS>Cc: Giovanni<EMAIL_ADDRESS><EMAIL_ADDRESS>Oggetto: Re: [mawanda-jun/TableTrainNet] Train on custom data (#5)
Thanks for your quick reply! Very much appreciated.
In regards to:
Consider to change also the parameters of the blurring of the images
What do you mean with this? Where do I find this parameter regarding blurring - and why does it matter?
since I think the invoices has more "sparse" tables, am I right?
You most definitely are! These invoice tables don't have any clear column/row separating lines, but is still presented in a "table-like/row-like" list.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmawanda-jun%2FTableTrainNet%2Fissues%2F5%3Femail_source%3Dnotifications%26email_token%3DAI3WBIYJRCFLIDVOMHGFZFDRCFIOFA5CNFSM4KSKR772YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELIPOGY%23issuecomment-584120091&data=02|01||c56050ca191f4015f16b08d7ae2c753b|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637169378273641620&sdata=5EE5pS6K0k9mwWH8QbZY8KnfVKGF4iRQRyN0QueDLKQ%3D&reserved=0, or unsubscribehttps://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAI3WBI2JH53B3KFOBQJL6S3RCFIOFANCNFSM4KSKR77Q&data=02|01||c56050ca191f4015f16b08d7ae2c753b|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637169378273655115&sdata=QUaRRdwKt69yKnIwLS%2FaR3r6orgwQCFWNhuV%2FV%2B5fDk%3D&reserved=0.


No specific start point

Hello,
I have been trying to ascertain the features of this wonderful library. It seems to satisfy the needs of our project except for one feature. I was unable to build a route with no start points i.e. an arbitrary start location, the truck can start at any of the service locations, and optimize for cost. Is this possible with this library or must i run the algorithm n-times where n is the number of service locations.

Currently the start point is necessary.
But I've worked few weeks to such a feature.
https://github.com/braktar/jsprit/tree/noStart
The firsts tests are working well

Hi,
If you provide a custom travel matrix, you can just set travel time and cost to be zero from the vehicle start point to all other locations. So you still technically have a start point, but its fake - i.e. it doesn't really do anything. This is what I do in ODL Studio - see screenshot attached - vehicles starting at the first stop they do but returning to the same end depot.

Thanks for your question, and your @braktar @PGWelch valuable answers.
I assume it is answered.
PS: Please use our forum for such questions: https://discuss.graphhopper.com/


ViewRenderer() is obsolete you need use ViewRenderer(Context) from 2.5 version

Hello,
You can bypass the warning simply adding a constructor to your AdBanner_Droid viewRenderer. Like the code below:
public AdBanner_Droid(Context context) : base(context)
 {
 }

I've already fixed it
Ср, 2 трав. 2018 р., 00:35 користувач Thiago Carvalho <
<EMAIL_ADDRESS>пише:

Hello,
You can bypass the warning simply adding a constructor to your
AdBanner_Droid viewRenderer. Like the code below:
public AdBanner_Droid(Context context) : base(context)
{
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sharmapranav/Xamarin/issues/7#issuecomment-385797941,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ASrdolrPyBujUzAwuzSlznUYvveiXyyJks5tuNUagaJpZM4TVOil
.

Feel free to create a pull request if you guys would like me to merge your fixes.


Some working OSM Planet queries started going out of memory

Some queries on OSM Planet that until yesterday used to run without problems are now returning me errors like "Tried to allocate 16.4 GB, but only 15.6 GB were available. Clear the cache or allow more memory for QLever during startup". For example:

https://qlever.cs.uni-freiburg.de/osm-planet/I2AOOM
https://qlever.cs.uni-freiburg.de/osm-planet/vtQDN8

The same problem pops up also for queries in the Examples list, for example:

https://qlever.cs.uni-freiburg.de/osm-planet/UeFMtV
https://qlever.cs.uni-freiburg.de/osm-planet/Vi3IDq
https://qlever.cs.uni-freiburg.de/osm-planet/fHFePH
https://qlever.cs.uni-freiburg.de/osm-planet/kIcyGc

What happened?
(also, other queries in the Examples list work but return empty outputs, but that's for another issue)
I haven't been able to replicate the problem on Wikidata and OHM instances.

Yes, I did clear the cache but nothing changed. Anyway, now I can run all the queries as well so probably it was just a busy moment for the serve. Thanks, closing.

@LorenzBuehmann @Danysan1 The machine is fine, it's an AMD Rzyen 9 with 16 cores. I have built a new instance yesterday with new GeoSPARQL triples (there is now ogc:sfContains and ogc:sfContainsNew and similarly for intersect, the new ones should be more correct, we are keeping both to check for possible bugs, these are huge predicates).
It currently takes about an hour to fill the geometry cache for the Map View (the map view app has to fetch all the geometries once). During that time queries using geo:hasGeometry/geo:asWKT may run out of memory. You can always work around this by writing geo:hasGeometry ?m . ?m geo:asWKT instead. It shouldn't make a difference, but it does. It's on our list.


Demon Sect Auto Login

Source name
Demon Sect
Source language
Brazilian Portuguese
Describe your suggested feature
They recently changed the website to work only if logged in, so would be cool to have options on the extension settings to set the account automatically, because if logged on webview after some time it gets disconnected, some older extensions had that option so I don't think it's unreasonable, but if it is thanks anyways
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I have updated the app to version 0.15.3.
[X] I will fill out all of the requested information in this form.

You need to check the “Keep me signed in” box


fix(bitcoincashjs): Fixing a naming convention issue

:tada: This PR is included in version 1.0.6 :tada:
Your semantic-release bot :package::rocket:


Run in mdx files

We use docusaurus and, thus, mdx files almost exclusively in our documentation site.  Is there a way to enable this extension for .mdx files?

hey @tylerbecks. Thank you for reporting this! We should be able to add Runme as default editor for .mdx files. Should be able to turn this around quickly. Stay tuned!

Just to be clear @tylerbecks, the rendering of components inside of your markdown will likely not work out of the box. If that's something you want we should track it in a separate ticket.

Yup I figured about the components. That would be awesome if we can use this in mdx. Btw I work at LinkedIn and just posted this in a few slack channels. We got some excitement from our temas.

Tracking mdx support here: https://github.com/stateful/vscode-runme/issues/33

Closing since the .mdx extension as of v0.2.15 will open Runme as well which was the scope of the original issue.


maploop stops at final?

Consider
\documentclass{article}
\usepackage[style=authoryear-comp,uniquename=false]{biblatex}

\DeclareSourcemap{
  \maps[datatype=bibtex]{
    \map[foreach={author, editor}]{
      \step[fieldsource=\regexp{$MAPLOOP}, match=\regexp{Smith,\s+John|Smith,\s+J\.\s*A\.}, final]
      \step[fieldset=\regexp{short$MAPLOOP}, fieldvalue={Smith, John A.}]
    }
    \map[foreach={author, editor}]{
      \step[fieldsource=\regexp{$MAPLOOP}, match=\regexp{Doe,\s+Jane|Doe,\s+J\.\s*B\.}, final]
      \step[fieldset=\regexp{short$MAPLOOP}, fieldvalue={Doe, Jane B.}]
    }
  }
}

\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@article{Smith2000,
  author = {Smith, John},
  title = {Some dubious results},
  journal = {A Great Journal},
  year = {2000},
  volume = {1},
  number = {1}
}
@article{Smith2001,
  author = {Smith, John A.},
  title = {Some more dubious results},
  journal = {A Great Journal},
  year = {2001},
  volume = {1},
  number = {1}
}
@article{Smith2003,
  author = {Smith, J. A.},
  title = {Some dubious results},
  journal = {A Great Journal},
  year = {2003},
  volume = {1},
  number = {1}
}
@collection{Doe2001,
  editor = {Doe, Jane},
  title = {Some more dubious results},
  year = {2001},
}
@collection{Doe2002,
  editor = {Doe, Jane B.},
  title = {Some more dubious results},
  year = {2002},
}
\end{filecontents*}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}

\begin{document}
\parencite{Smith2000,Smith2001,Smith2003,sigfridsson}

\parencite{Doe2001,Doe2002}

\printbibliography
\end{document}

The sourcemap compresses the Smiths but fails to compress the Does as expected. It turns out that changing the order in the foreach to
\DeclareSourcemap{
  \maps[datatype=bibtex]{
    \map[foreach={editor, author}]{
      \step[fieldsource=\regexp{$MAPLOOP}, match=\regexp{Smith,\s+John|Smith,\s+J\.\s*A\.}, final]
      \step[fieldset=\regexp{short$MAPLOOP}, fieldvalue={Smith, John A.}]
    }
    \map[foreach={editor, author}]{
      \step[fieldsource=\regexp{$MAPLOOP}, match=\regexp{Doe,\s+Jane|Doe,\s+J\.\s*B\.}, final]
      \step[fieldset=\regexp{short$MAPLOOP}, fieldvalue={Doe, Jane B.}]
    }
  }
}

shows the exact opposite effect. That suggests to me that the final in a foreach \map applies to the entire looped \map operation and not only to each looped \map individually. The latter seems more useful to me, though (at least here).

Can you please try the DEV build? I think I see the issue and this fix should deal with it.

Works very well in all tests I ran. Thank you very much.

Fixed in latest 2.13 release.


problem loading oil and gas data

I tried data/loadOGdata.sh but got the attached errors.
loadOGdata_error.log.zip

@sichen1234
If running from the project root you can use
npm run loadSeeds:OG

which will execute loadOGdata.sh from the /data workspace.
calling data/loadOGdata.sh will not work as the dataLoader script is not visible from project root

Thanks, but when I ran it, it just kept running like this forever.

Eventually it crashed my computer.
Is there a log that could show me what's going on?

Looks like an issue when pulling oil and gas asset data from Oil_and_Natural_Gas_Wells.geojson ...
The loadOGdata.sh script and the oil and gas data Readme have been modified in PR   674 so that the oil_and_gas asset (well) data is not loaded by default.
You can try loading the asset data manually via
cd data/
npm run dataLoader load_og_assets "./oil_and_gas/files/Oil_and_Natural_Gas_Wells.geojson" -- --format US_asset_data --source "https://hifld-geoplatform.opendata.arcgis.com/datasets/geoplatform::oil-and-natural-gas-wells/explore"

It can take a long time to load the +1.5 million assets into postgres. This might have caused the crash...
To avoid completing this lengthy process I added binary files to download.sh script that can be used to seed/restore the following tables using postgres admin console (after setting up the DB with npm run pg:init).

oil_and_gas_asset
operator
asset_operator

Once these tables have been populated sh loadOGdata.sh should work

The problem was that ts-node needed to be installed first with
npm install -g ts-node

After that it is loading but very slowly:
=== Starting load_og_assets ...
Loading into PostgresDB |░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░| 0% | ETA: 764645s | 4318/1506238 records


[RESOLVED] subscribe data has no response

Hello,
Thanks a lot for writing this amazing library.
I have tried to follow the tutorial, and I can successfully place and close orders through python spyder meaning python and MT4 are successfully connected. Yet when I tried to subscribe to market data there's no response. I've made sure it's not the verbose issue. I can also see clearly in the MT4 experts window the prices are publishing constantly.
_zmq.DWX_MTX_SUBSCRIBE_MARKETDATA(_symbol = 'EURUSD')
[KERNEL] Subscribed to EURUSD BID/ASK updates. See self._Market_Data_DB.
_zmq._Market_Data_DB.keys()
Out[44]: dict_keys([])
_zmq._Market_Data_DB
Out[45]: {}

Thanks for helping

same here

Got it working so make sure your EA is smiling and inorder to print on python while the dictionary is being updated use a while loop to print out the data or make verbose=True then you are good to go.

Hi @codingsett and @hydrali !
@codingsett - Thank you for providing the solution to @hydrali, great community spirit! 👏
After several issue requests pointing to the same thing, we've updated the default value _verbose=True in the class init function to avoid any confusion going forward.
This verbosity flag simply prints JSON exchange in the console when set to True.
Regardless of its status (True or False), all output is stored in self._thread_data_output at all times, so no worries either way 👍

Hi, may I know do anyone still any using this library, i am having the same issues despite the _verbose is set to true and live trading allowed, anyone can offer help? thanks

I have the same problem, when I subscribe to marketdata i get the next response:


how to download and how to make it work

how to download and how to make it work

is there a video?


Jupyterbook, Thebe, and Jupyterlab setup

Ensure that this content can be

Rendered statically (as  JupyterBook site)
As a thebe backed myst site (there may be challenges around earthdata login to overcome here)
As content within a JupyterLab session.

@agoose77 just signing off for today, but here are some running thoughts that I might find the answer to after more poking around tomorrow.
Regarding the above,

Rendered statically (as JupyterBook site)

I would ideally like to save notebook cell outputs, such as figures, to be rendered on the website (rather than relying on myst build --execute). However, the ScienceCore content is written in MyST markdown and not as a Jupyter Notebook, since we send the markdown files off for translation. I seem to recall a conversation before that I would need to link the .md file with a .ipynb file to store the cell outputs, is that right?
If I simultaneously want to achieve

As a thebe backed myst site (there may be challenges around earthdata login to overcome here)

then would I need to use the :placeholder: key?

As content within a JupyterLab session.

https://github.com/jupyter-book/myst-theme/pull/503 is looking great! 🙌

rather than relying on myst build --execute

Is that because the computation is costly? Or is there another reason to avoid compute? We can cache the outputs so that most builds aren't expensive.
Otherwise, yes -- something like jupytext to link or move between formats is probably a good idea.
Regarding James' (2), I think that the issue he anticipates is the lack of auth support in Thebe. You can/should still be able to use Thebe alongside pre-computed outputs.
Relatedly, we will need to communicate with our audience that Thebe's lack of edit support for code-cells is something that is tracked as a feature somewhere (todo).

Thanks @agoose77 ! I'll explore the use of cached outputs and failing that I will link outputs with Jupytext.
I wanted to avoid myst build --execute because some of the computations take a while (e.g. processing satellite data with xarray) and I am not super confident a GitHub runner can handle it reliably.

You can/should still be able to use Thebe alongside pre-computed outputs.

The mechanics of this part I am not super clear.
FYI: I think the auth support is fine actually! You can use the earthaccess package and invoke earthaccess.login() to prompt the user to enter their credentials through Thebe

I am keen to build out solutions for this (and we can at any point pull-apart binderbot for a WIP stopgap) in MyST, but it's a longer-term strat.

https://github.com/NASA-IMPACT/veda-jupyterhub/issues/46 was an attempt to do this as part of the NASA VEDA work, but I don't think our processes were mature enough to handle that properly then. https://github.com/NASA-IMPACT/veda-jupyterhub/issues/46#issuecomment-2249380052 has a branch to do this on a binder.
(Don't let this block your other work though, just wanted to leave this here as an FYI)


npm scoped modules don't show up in search

Compare:

https://npms.io/search?term=fibonacci-heap
https://www.npmjs.com/search?q=fibonacci-heap

We are aware of that, see: https://github.com/npms-io/npms-analyzer/issues/47 and https://twitter.com/satazor/status/735107823256866816


Application is not responsive for Tablet view

Describe the bug
Application is not responsive enough for tablet view
To Reproduce
Steps to reproduce the behavior:

Open the application In tablet view

Expected behavior
At least things should be properly aligned.

@reeversedev It still in your pipeline. If so I would like to pick it up.

@reeversedev It still in your pipeline. If so I would like to pick it up.

@ekas yeah sure! It's indeed an important one.

@ekas yeah sure! It's indeed an important one.

@ekas You still on to it?

@ekas You still on to it?


Problem to install skeleton

In our company we use 3rd party Symfony skeleton (one composer.json file) to create the projects. We want to use our private recipes within it. According to this Symfony Flex server documentation we need to add the extra.symfony.endpoint line to our 3rd party Symofiny composer.json file:
    ...
    "extra": {
        "symfony": {
            "id": "...",
            "allow-contrib": true,
            "endpoint": "http://<IP_ADDRESS>:8000/"
        }
    }
    ...

If we do that and if we try to run composer install after that, the automated composer install symfony command is not able to create the Symfony project and this is the output from the terminal:
...
  - Installing symfony/cache (v4.0.6): Loading from cache
  - Installing symfony/framework-bundle (v4.0.6): Loading from cache
  - Installing symfony/yaml (v4.0.6): Loading from cache
  - Installing symfony/dotenv (v4.0.6): Loading from cache
Writing lock file
Generating autoload files
Warning: Accessing <IP_ADDRESS> over http which is an insecure protocol.
Symfony operations: 4 recipes (e75591840502e826575dba2ec6bef69f)
  - Configuring symfony/flex (>=1.0): From private:master

  [ErrorException]
  Undefined index: .env.dist

Our full 3rd party Symfony skeleton composer is absolutely identical to official https://github.com/symfony/skeleton/blob/4.0/composer.json except "secure-http": false and "endpoint": "http://<IP_ADDRESS>:8000/" are added. Here is a full 3rd party Symfony composer.json content:
{
    "name": "symfony/skeleton",
    "type": "project",
    "license": "MIT",
    "description": "A minimal Symfony project recommended to create bare bones applications",
    "require": {
        "php": "^7.1.3",
        "ext-iconv": "*",
        "symfony/console": "^4.0",
        "symfony/flex": "^1.0",
        "symfony/framework-bundle": "^4.0",
        "symfony/lts": "^4@dev",
        "symfony/yaml": "^4.0"
    },
    "require-dev": {
        "symfony/dotenv": "^4.0"
    },
    "config": {
        "preferred-install": {
            "*": "dist"
        },
        "sort-packages": true,
        "secure-http": false
    },
    "autoload": {
        "psr-4": {
            "App\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "App\\Tests\\": "tests/"
        }
    },
    "replace": {
        "symfony/polyfill-iconv": "*",
        "symfony/polyfill-php71": "*",
        "symfony/polyfill-php70": "*",
        "symfony/polyfill-php56": "*"
    },
    "scripts": {
        "auto-scripts": [
        ],
        "post-install-cmd": [
            "@auto-scripts"
        ],
        "post-update-cmd": [
            "@auto-scripts"
        ]
    },
    "conflict": {
        "symfony/symfony": "*"
    },
    "extra": {
        "symfony": {
            "id": "01C9Q7VP048YH419WJT1WZSMH5",
            "allow-contrib": false,
            "endpoint": "http://<IP_ADDRESS>:8000/"
        }
    }
}

We are not able to install custom Symfony skeleton with composer install by using the private Flex server within it.

Hi there. Thanks for reporting the issue, let's see if we can work this out.
First of all I think that the error report is not very declarative. Could you try to run the composer create command in verbose mode? This will (I hope) provide much more precise information on where and why flex can't resolve the .env.dist file.
There are several possible issues that could cause the problem. I assume you are using the mirroring functionality of the server and have a local copy of the official recipes repo. Quick checks:

Did you download the repo? Did this download go perfectly well? Just to make sure, run php bin/console recipes:reset
In case this doesn't fix the problem, could you post your output of php bin/console server:status?
Just to find out whether or not the mirror is the problem, could you try to disable mirroring in order to get the official repos from the official endpoint?

Hi, thanks on quick answer.
Ok with this configuration it worked:
 ----------------------------------- ----------
  Proxy for official endpoint             enabled
  Caching for official endpoint         disabled
  Local mirror for official recipes     disabled
  Local mirror for contrib recipes    disabled
 ----------------------------------- ----------

Repo status
-----------

 ---------- --------------------------------------------------- ----------------- ------------ ---------------------
  Repo       Url                                                 Remote readable   Downloaded   Last Update
 ---------- --------------------------------------------------- ----------------- ------------ ---------------------
  private    https://.....                                                                  Yes               Yes          2018-03-29 17:15:25
  official   https://github.com/symfony/recipes                        Yes               Yes
  contrib    https://github.com/symfony/recipes-contrib         Yes               Yes
 ---------- --------------------------------------------------- ----------------- ------------ ---------------------

I suppose that I should not use caching and mirroring right?
Thanks again!

From my side I don't have time for investigation at the moment. But great the it works without mirroring at least.


Naming scheme

It would probably be a good idea to add a unique prefix (something like  "xyz_") to the visible entity names for this library, so as to make integration into other codes  easier and/or more consistent with existing practices.

@sfilippone this issue is fixed in commit 826c0472e4c2ab9063a086252a1b04894f0790e3.  I decided to prepend ref_ the names of all modules, submodules, and derived types.  This choice has the nice consequence that the type previously named counter_t is now named ref_counter_t.  I hope this prefix meets your needs/desires for use in PSBLAS.


[BUG] org.opensearch.search.aggregations.bucket.DateRangeIT.testPartiallyUnmapped {p0={"search.concurrent_segment_search.enabled":"false"}}

Describe the bug
The test case org.opensearch.search.aggregations.bucket.DateRangeIT.testPartiallyUnmapped {p0={"search.concurrent_segment_search.enabled":"false"}} is flaky
See: https://build.ci.opensearch.org/job/gradle-check/27311/testReport/junit/org.opensearch.search.aggregations.bucket/DateRangeIT/testPartiallyUnmapped__p0___search_concurrent_segment_search_enabled___false___/
java.lang.AssertionError: Unexpected ShardFailures: [shard [[oFevbBxtQsy8MR4fkfKdlw][idx][1]], reason [RemoteTransportException[[node_s1][<IP_ADDRESS>:45191][indices:data/read/search[phase/dfs]]]; nested: OpenSearchParseException[failed to parse date field [1329264000000] with format [strict_date_time_no_millis||strict_date_optional_time||epoch_millis]: [failed to parse date field [1329264000000] with format [strict_date_time_no_millis||strict_date_optional_time||epoch_millis]]]; nested: IllegalArgumentException[failed to parse date field [1329264000000] with format [strict_date_time_no_millis||strict_date_optional_time||epoch_millis]]; nested: NotSerializableExceptionWrapper[date_time_parse_exception: Failed to parse with all enclosed parsers]; ], cause [OpenSearchParseException[failed to parse date field [1329264000000] with format [strict_date_time_no_millis||strict_date_optional_time||epoch_millis]: [failed to parse date field [1329264000000] with format [strict_date_time_no_millis||strict_date_optional_time||epoch_millis]]]; nested: IllegalArgumentException[failed to parse date field [1329264000000] with format [strict_date_time_no_millis||strict_date_optional_time||epoch_millis]]; nested: NotSerializableExceptionWrapper[date_time_parse_exception: Failed to parse with all enclosed parsers];
	at org.opensearch.common.time.JavaDateMathParser.parseDateTime(JavaDateMathParser.java:247)
	at org.opensearch.common.time.JavaDateMathParser.parse(JavaDateMathParser.java:89)
	at org.opensearch.search.DocValueFormat$DateTime.parseLong(DocValueFormat.java:299)
	at org.opensearch.search.DocValueFormat$DateTime.parseDouble(DocValueFormat.java:304)
	at org.opensearch.search.aggregations.bucket.range.DateRangeAggregationBuilder.lambda$innerBuild$2(DateRangeAggregationBuilder.java:351)
	at org.opensearch.search.aggregations.bucket.range.AbstractRangeBuilder.processRanges(AbstractRangeBuilder.java:104)
	at org.opensearch.search.aggregations.bucket.range.DateRangeAggregationBuilder.innerBuild(DateRangeAggregationBuilder.java:334)
	at org.opensearch.search.aggregations.bucket.range.DateRangeAggregationBuilder.innerBuild(DateRangeAggregationBuilder.java:57)
	at org.opensearch.search.aggregations.support.ValuesSourceAggregationBuilder.doBuild(ValuesSourceAggregationBuilder.java:411)
	at org.opensearch.search.aggregations.support.ValuesSourceAggregationBuilder.doBuild(ValuesSourceAggregationBuilder.java:60)
	at org.opensearch.search.aggregations.AbstractAggregationBuilder.build(AbstractAggregationBuilder.java:155)
	at org.opensearch.search.aggregations.AggregatorFactories$Builder.build(AggregatorFactories.java:459)
	at org.opensearch.search.SearchService.parseSource(SearchService.java:1294)
	at org.opensearch.search.SearchService.createContext(SearchService.java:998)
	at org.opensearch.search.SearchService.executeDfsPhase(SearchService.java:526)
	at org.opensearch.search.SearchService$1.lambda$onResponse$0(SearchService.java:511)
	at org.opensearch.action.ActionRunnable.lambda$supply$0(ActionRunnable.java:74)
	at org.opensearch.action.ActionRunnable$2.doRun(ActionRunnable.java:89)
	at org.opensearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:52)
	at org.opensearch.threadpool.TaskAwareRunnable.doRun(TaskAwareRunnable.java:78)
	at org.opensearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:52)
	at org.opensearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:59)
	at org.opensearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:908)
	at org.opensearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:52)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.lang.Thread.run(Thread.java:1623)
Caused by: java.lang.IllegalArgumentException: failed to parse date field [1329264000000] with format [strict_date_time_no_millis||strict_date_optional_time||epoch_millis]
	at org.opensearch.common.time.JavaDateFormatter.parse(JavaDateFormatter.java:268)
	at org.opensearch.common.time.JavaDateMathParser.parseDateTime(JavaDateMathParser.java:238)
	... 26 more
Caused by: NotSerializableExceptionWrapper[date_time_parse_exception: Failed to parse with all enclosed parsers]
	at org.opensearch.common.time.JavaDateFormatter.doParse(JavaDateFormatter.java:307)
	at org.opensearch.common.time.JavaDateFormatter.parse(JavaDateFormatter.java:266)
	... 27 more
]]
Expected: <0>
     but: was <1>

To Reproduce
Don't see a command in the failed CI
Expected behavior
Test should pass all the time
Plugins
N/A
Screenshots
N/A
Host/Environment (please complete the following information):
N/A
Additional context
N/A

CC @CaptainDredge

@reta can you please close this? Not able to repro it

@CaptainDredge It clearly failed when this issue was opened, that's why it's flaky. It mostly passes, except when otherwise. No repro is not a good reason to close ;)

@CaptainDredge It clearly failed when this issue was opened, that's why it's flaky. It mostly passes, except when otherwise. No repro is not a good reason to close ;)

@dblock that is correct, to reconstruct the picture:

https://github.com/opensearch-project/OpenSearch/pull/9567 was merged and this was the change causing the issue
https://github.com/opensearch-project/OpenSearch/pull/10385 was merged in a day (or two) after fixing the issue

There was some timeframe the tests were failing and the fact issue is not reproducible anymore is a good sign (still watching it).


Rename SECURITY.md to Sparro26.com.org

Sparro26.com.org

Description

Issue

Closes: #

/close
This looks like spam


Add

Buefy version: [0.5.2]
Vuejs version: [2.1.10]
OS/Browser: Win/Chrome
Description
Please add more datepicker settings to the global constructor options. I'm from Germany, so we have different labels and our weeks usually start on Monday. Would be great to have:

day-names
month-names
first-day-of-week

...So I don't need to define this attributes on each component. Also while you're at it, you accidentially switched the default values for day-names and week-names under "API" in the docs at https://buefy.github.io/#/documentation/datepicker

@apocalyarts Good request! We thought about it and we'll be available in next release.
Thanks


Fixed #35769 -- Fixed multiline fields in phone/tablet sizes.

Regression in 96a598356a9ea8c2c05b22cadc12e256a3b295fd.
Trac ticket number
ticket-35769
Branch description
This fixes multiline fields in the tablet and phone screen sizes.
When there are multiple fields in a row, there are issues in both the tablet and mobile screen sizes. First off, there are two instances of a selector that's supposed to match, but doesn't because of the changed structure. If we fix that to match the new structure, then that fixes the phone size class. See phone-before1.png, phone-before2.png, phone-after1.png, and phone-after2.png. The "1" images are manually grabbed/cropped and show a single-line field above it, which is good for comparing to the working single-line example. The "2" images are of that particular DOM node via the Google Chrome Inspector's feature to screenshot just a given node, so those are easier to directly compare.
phone-before1:

phone-after1:

phone-before2:

phone-after2:

With that first issue fixed, the tablet view still isn't correct. In Django 3.2, moving to the tablet view forced one-field-per-line whether that was necessary (width-wise) or not. If I take the same approach here, by setting width: 100% on that <div>, then I get the same behavior and it looks good. Compare tablet-mid2.png (which has the fixed selectors, but no width: 100%) to tablet-after2.png (which has both).
tablet-mid2:

tablet-after2:

Checklist

[x] This PR targets the main branch.
[x] The commit message is written in past tense, mentions the ticket number, and ends with a period.
[x] I have checked the "Has patch" ticket flag in the Trac system.
[ ] I have added or updated relevant tests.
[ ] I have added or updated relevant docs, including release notes if applicable.
[x] I have attached screenshots in both light and dark modes for any UI changes.

Hello @rlaager, thank you very much for your ticket report and for this branch.
Since we haven't been able to reproduce, I'm afraid that we need to close this PR. If the ticket gets re-opened and accepted, I'll be happy to re-open this work.


Swing support

Would you please add support for swing toggle?

Unfortunately that's not a feature my units support so I'm not sure what the code for it would be in the API. If you figure it out, I'd happily accept a PR

@moallemi could you try out the test.py script and see if you can set the field via VERTICAL_SWING? The component value is likely to be the same as what's present in your applicationDetails


⚠ AsianCinema has degraded performance

In 839b428, AsianCinema ($ACM) experienced degraded performance:

HTTP code: 200
Response time: 1442 ms

Resolved: AsianCinema performance has improved in 8a1f077 after 6 minutes.


feat(CORS&Configs): 18 feat add ability to setup cors reponse and default to

Describe your changes
Added config to change cors and to adjust log level
Issue ticket number and link
https://github.com/Carrera-Dev-Consulting/zombie-nomnom-api/issues/18
Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I have defined what tests cover my change and or added new test to cover change.
[x] I have added comments to the change and updated any relevant docs.
[x] I have pulled the latest in the main branch and merged them ahead of time with no conflicts.

Fix your title

Its fixed

area should be (configuration)

changed it to only configuration


Fix database migrations issue wherein running 'flask db migrate' produces a lot of unexpected output

#788
This was originally vanotify-team issue 224.

Replaced with PR 853.


Perform a literature review and create list with interesting books

Get access to the eBook library and create a Markdown file with a list of interesting books.

@philippabele should the list contain interesting books or books specific to the topic "FastAPI"(Or Microservice architecture)

@HenrikFrtz
--> books specific to the topic "FastAPI"(Or Microservice architecture)


Fix tests after refactoring in #19

This PR fixes the tests that were broken by #19
Additionally to that:

added minor tests for timeseries.jl
changed to DelimitedFiles instead of CSV + DataFrames for loading example
significant() fixed when using ::Sigma (I think we might want to call this ::ConfidenceIntervall)
indicators_significance() wrong input type for q (which we might want to rename as it does not have to be a Quantile and might be confusing)
minor suggestion of alternative for equidistant_step(). Commented out in test/timeseries.jl.

Apart from this: I really like the new code. I have a few minor questions to ask when we call next time but it was all very understandable :)

We will rework the significance tests because the same thing is happening in CausalityTools.jl so we want to stop re-inventing the wheel!

@JanJereczek see https://github.com/JuliaDynamics/TimeseriesSurrogates.jl/issues/142


Different minted nft as I've generated

What I've seen on drop page ( no error in console )

what I get

ok after refresh

any explainer?

any explainer?

It's expected but we could show some toast to inform users.

show some toast to inform users.

Please refresh in 20 seconds, setting the metadata.

show some toast to inform users.

Please refresh in 20 seconds, setting the metadata.

I'm not sure if it's possible
cc @vikiival

It still same same as free drop, it is minted in batches every minute.

So TL;DR:
At this current rate we have ~40 tx/min (this will be fixed once we do smarter way of doing txs).
At this point It would be nice to have page about drops on hello and explain that it takes a bit time for KodaBot to update metadata.
cc @JustLuuuu

Open an issue in ops internal with all info you want me to include. Do you want separate page or should I include this to drop pages? But still I think not many people read hello page before drop :D

Continue in - https://github.com/kodadot/ops-internal/issues/1335


v19.2.9 Release Notes

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/0581e70dbc4ef192b33ed0b6f25d1532c8a58df4/
Edited pages:

releases/v19.2.9.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/bc9574479be052fab38e5248b45135b17346e9e5/
Edited pages:

releases/v19.2.9.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/777b91b9bf43d9863541b2c896a8e5138e6504aa/
Edited pages:

releases/v19.2.9.md


Added support for reading from stdin.

Added support for reading from stdin.
As described in this issue.
I only added functionality to read, didn't add an interface in HTML to specify the input. You can change the default MemFS.stdinStr to test this patch.

Why the memfs binary is smaller than original :thinking:

Also, can you remove memfs changes here from the PR?

I just realized you will need to update memfs anyway; host_read isn't defined there, so you'll need to call out from memfs to the host in the same way host_write is implemented.

Also created a PR for your fork of llvm contains the changes of memfs.c.

Another question is that the js file (shared.js) requires the binary mapping of the iovs, such as the first 4 bytes is the buf. So, this can only be used with a specified wasi-sdk version, (10.0 wont work on my side), should we migrate it to use some helper functions from memfs.c such as getBufOfIovs to get the pointer of buf?

So, this can only be used with a specified wasi-sdk version, (10.0 wont work on my side), should we migrate it to use some helper functions from memfs.c such as getBufOfIovs to get the pointer of buf?

I'd guess that there would be a lot more changes required for a different WASI version, so I'm not sure it's worth abstracting it for just this one case.

Ready for final review and merge.

How can I make this work? Because the example C code below inside the editor component doesn't prompt xterm for some stdin:
#include <stdio.h>

int main() {
    int num;
    printf("Enter a number: ");
    scanf("%d", &num);
    printf("The number you entered is %d\n", num);
    return 0;
}


Access CreatedPayIn Object

Hi all,
i am trying to extract the SecureModeRedirectURL from the createdPayIn object to redirect the user to complete the 3DS challenge.
How can i access the redirect url?
Here's my code (which btw works perfectly fine for non-3DS payments, it returns the "Payment success" message):
           $test_amount = 10000;
            // create pay-in CARD DIRECT
            $payIn = new \MangoPay\PayIn();
            $payIn->CreditedWalletId = $wallet_id;
            $payIn->AuthorId = $user_id;
            $payIn->DebitedFunds = new \MangoPay\Money();
            $payIn->DebitedFunds->Amount = $test_amount;
            $payIn->DebitedFunds->Currency = $order->get_currency();
            $payIn->Fees = new \MangoPay\Money();
            $payIn->Fees->Amount = 0;
            $payIn->Fees->Currency = $order->get_currency();

            // payment type as CARD
            $payIn->PaymentDetails = new \MangoPay\PayInPaymentDetailsCard();
            $payIn->PaymentDetails->CardType = $card_type;
            $payIn->PaymentDetails->CardId = $card_id;

            // execution type as DIRECT
            $payIn->ExecutionDetails = new \MangoPay\PayInExecutionDetailsDirect();
            $payIn->ExecutionDetails->SecureModeReturnURL = $return_url;
            $payIn->ExecutionDetails->SecureMode = 'FORCE';
            // create Pay-In
            $createdPayIn = $api->PayIns->Create($payIn);

            // if created Pay-in object has status SUCCEEDED it's mean that all is fine
            if ($createdPayIn->Status == \MangoPay\PayInStatus::Succeeded) {
                return "Payment success";
            }
            else {
                // if created Pay-in object has status different than SUCCEEDED
                // that occurred error and display error message
                $message = $createdPayIn->Status . ' (result code: '. $createdPayIn->ResultCode . '), SecureModeRedirectURL ist '.$createdPayIn->SecureModeRedirectURL.' und SecureMode ist '.$createdPayIn->SecureMode;
                return $message;
            }

When attempting to pay, i receive the following error message, indicating that SecureModeRedirectURL is empty:
"CREATED (result code: ), SecureModeRedirectURL ist und SecureMode ist"
Thank you!
Kind regards
Jan

Hi @janooosh
I'm looking into it, I'll keep you updated
Max

Hi Max,
thanks for your response! It was a quick fix, i was able to find it out myself. It's located in $createdPayIn->ExecutionDetails->ResultCode.
Overall the sdk is a great help, thank you so much for it!! As a minor suggestion, it would however be great to get an overview of all objects and their return values.
Cheers
Jan

Thanks @janooosh !
Feel free to contact us if you have any other questions
Max


[turborepo] Hash always the same on a pruned project

What version of Turborepo are you using?
1.8.4
What package manager are you using / does the bug impact?
npm
What operating system are you using?
Windows
Describe the Bug
Once you have pruned a project, running turbo tasks ex build, within the pruned ./out folder is always giving the same hash
Expected Behavior
Same behavior as you have in the root folder, where as soon as you modify your files you get a unique hash.
To Reproduce

Prune project (npx turbo prune --scope=myapp
cd ./out
Install dependencies (I use npm, so npm ci)
turbo run build --filter=myapp --dry=json
Modify any file within the pruned app
turbo run build --filter=myapp --dry=json - generates the same hash

Reproduction Repo
No response

Hi! I am able to reproduce it and the answer is luckily straight forward. Turbo will ignore .gitignore'd files when calculating input file hashes, and my assumption is that your out folder is ignored completely.
If you remove the ignore on the folder (or rename it) everything will go back to normal. I know this is weird and unintuitive, and the least we can do is warn when that is the case.
Let me know if changing the ignore fixes it, and I will look into surfacing a warning when this is the case.

Hey @arlyon! that was indeed the issue. Thank you for clarifying.

Looks like this has been resolved. Closing down, feel free to ping if we need to re-open @lillheaton!


Fix odd numbered scroll groups if header is rewritten

Fixes #49.
When we were rewriting the frame table, the low bit of the newly expanded scroll group index was getting clobbered.  Also added checking on the scroll group idx to avoid writing over random I2C registers if you specify an out of bounds scroll group.

avoid writing over random I2C registers if you specify an out of bounds scroll group

Ooof!


master_package.rb contains cloned directory resource

Cookbook version
5.0.6
Chef-client version
chefdk 2.4.17
Platform Details
Test Kitchen run: RHEL6 running in an openstack VM
Scenario:
chef run reports this:
[2018-02-03T12:48:47-08:00] WARN: Cloning resource attributes for directory[/var/lib/jenkins] from prior resource
Previous directory[/var/lib/jenkins]: /tmp/chefspec20180203-11484-7ci1e3file_cache_path/cookbooks/jenkins/recipes/_master_package.rb:51:in `from_file'
Current  directory[/var/lib/jenkins]: /tmp/chefspec20180203-11484-7ci1e3file_cache_path/cookbooks/jenkins/recipes/_master_package.rb:68:in `block in from_file' (CHEF-3694)/tmp/chefspec20180203-11484-7ci1e3file_cache_path/cookbooks/jenkins/recipes/_master_package.rb:68:in `block in from_file'.
Please see https://docs.chef.io/deprecations_resource_cloning.html for further details and information on how to correct this problem. at /var/cache/jenkins/bundler/ruby/2.4.0/gems/chef-12.21.31/lib/chef/event_dispatch/dispatcher.rb:43:in `call'

Steps to Reproduce:
We've wrapped the jenkins cookbook and our recipe is running include_recipe 'jenkins::master'

Hi @haidangwa , your issue has been solved :). You can close it.


Automated cherry pick of #2292: task.Params pass paramters

Cherry pick of #2292 on release/2.12.
#2292: task.Params pass paramters

Codecov Report

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

@@              Coverage Diff               @@
##             release/2.12   #2314   +/-   ##
==============================================
  Coverage                ?   7.08%
==============================================
  Files                   ?     452
  Lines                   ?   71318
  Branches                ?       0
==============================================
  Hits                    ?    5055
  Misses                  ?   65845
  Partials                ?     418

Flag
Coverage Δ

#aFlag
7.08% <ø> (?)

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 7efb194...b63fd33. Read the comment docs.

/lgtm
/approve


Done Video - Language Understanding (LUIS)

Related to #52

Start with a demo from SophieBot
Shorten - for 3 or 4 minutes

V4 in https://youtu.be/nzSQ6hB8-qU


3.9.3 typo in answer

The answer provided is:
coord_map() uses map projection to project 3-dimensional Earth onto a 2-dimensional plane. By default, coord_map() uses the Mercator projection. However, this projection must be applied to all geoms in the plot. coord_quickmap() uses a faster, but approximate map projection. This approximation ignores the curvature of Earth and adjusts the map for the latitude/longitude ratio. This transformation is quicker than the because the shapes do not need to be transformed.
There is a type in the last sentence. It should read something more like: "This transformation is quicker than coord_map() because the shapes do not need to be transformed."

Thanks!


Remove old unstable feature

https://github.com/rust-lang/rust/pull/46287 removed this feature a while back, https://github.com/rust-lang/rust/pull/52644 has now made it a hard error to refer to a non-existing feature so bare-metal with const-fn feature active does not compile on the latest nightly (2018-08-13).

Thanks, @Nemo157.
bors r+


Application to IHC stained slides

Hi!
First of all thanks for this great tool that works already very well out of the box!
I would like to also use it with my immunohistochemistry (IHC) slides. Are you planning to include this use case as well?
I tested it with an H-DAB image, it does segment the blue nuclei pretty well, but struggles with the brown ones.

Best,
Sbn

Hey there @usrsbn
Thanks for using HoverFast and for the request. Indeed, IHC is already on the radar and we're working on getting it out with our next release. The pretrained model was trained on H&E and ignores brown spots since those can often be melanin in the case of melanoma or anthracosis for lung. We can likely work around this by deconvolving DAB from Hematoxylin.  We will do some more experimentation in the next few days and hopefully push a new version in the next couple of week!
Cheers,
Petros

Hi Petros,
Our group is also interested in doing nuclear segmentation on IHC, and I was wondering if there is any updates on this. Also, how would you go about this if you wanted to train the model on custom labels?
Kind regards,
Paul


Question about 3D model

Hi, Xin wen!
I am trying to use SlotCon to process 3D data, but some problems hinder me. Such as the operation torchvision.ops.roi_align don't provide 3D version. Do you have some solutions for that?

Hi @zhi-xuan-chen, sorry I do not directly work on 3D, but I think modern 3D detection frameworks should consist of similar operators, please check.

    Thank you for your reply. I will try to figure it out.

---- Replied Message ----

     From

        Xin<EMAIL_ADDRESS>

     Date

    6/26/2023 17:27

     To

<EMAIL_ADDRESS>

     Cc

        Zhi-Xuan<EMAIL_ADDRESS>        ,

<EMAIL_ADDRESS>

     Subject

          Re: [CVMI-Lab/SlotCon] Question about 3D model (Issue #7)

Hi @zhi-xuan-chen, sorry I do not directly work on 3D, but I think modern 3D detection frameworks should consist of similar operators, please check.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>


cannot add header with TisprCard

i can't add a custom header with your sdk !!!

Can you provide more details what you are trying to do ?

these 2 delegate functions are not called

func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, referenceSizeForHeaderInSection section: Int) -> CGSize
func collectionView(_ collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) -> UICollectionReusableView


WIFI_SCAN_PARAMS_DEFAULT_CONFIG macro should also set channel bitmap

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
See the define of this macro:
https://github.com/espressif/esp-idf/blob/6673376297b921d438790d195014b860eaf8bb17/components/esp_wifi/include/esp_wifi_types_generic.h#L154C9-L159
This macro does not clear the channel_bitmap members, which can cause issues as those will then contain random data.
See related PR in arduino-esp32: https://github.com/espressif/arduino-esp32/pull/10282 and related issue: https://github.com/espressif/arduino-esp32/issues/10281

@TD-er  I'm seeing/having a similar issue with WiFi Scan as well and this macro is not set properly.

@TD-er
sorry for late reply
WIFI_SCAN_PARAMS_DEFAULT_CONFIG is  used for  esp_wifi_set_scan_parameters() and struct wifi_scan_default_params_t, and only set scan time releated config, bitmap will be set default and will cauese issue


Added more courses to Computer Networking

What does this PR do?
Adding more courses for computer networks, in-depth and great for beginners.
For resources
Description
Why is this valuable (or not)?
Both are in-depth courses on Computer Networking, but starting off from basics.
How do we know it's really free?
It's on youtube!
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Fix the Alphabetical sorting of the resources


Fix date-time error

May also mean we need to update our UG? To be safe incase someone copy paste our commands. Basically change 2022 to 2023.


feature: add formData schema

Hi,
I don't know how this would affect bundle size, but I think it would be interesting to have an API like :
const reportSchema = formData({
  title: string(),
  content: string(),
  photo: file(),
});

It could be useful in server actions (Next.js) and client-side validations in <form>.

I think the idea is cool, but I don't know yet how much sense it makes, because as far as I know FormData can't be typed. Probably the better approach would be to use object and convert FormData to an object before validation.

Here is a code example:
import { email, minLength, object, parse, string } from "valibot"; // 0.75 kB
import { loginUser } from "~/api";

const LoginSchema = object({
  email: string([
    minLength(1, "Please enter your email."),
    email("The email address is badly formatted."),
  ]),
  password: string([
    minLength(1, "Please enter your password."),
    minLength(8, "You password must have 8 characters or more."),
  ]),
});

export default function LoginRoute() {
  async function login(formData: FormData) {
    "use server";
    try {
      const { email, password } = parse(
        LoginSchema,
        Object.fromEntries(formData.entries())
      );
      await loginUser({ email, password });
    } catch (error) {
      // Handle errors
    }
  }

  return (
    <form action={login}>
      <input name="email" type="email" required />
      <input name="password" type="password" required minLength={8} />
      <button type="submit">Login</button>
    </form>
  );
}

Here is a code example:
import { email, minLength, object, parse, string } from "valibot"; // 0.75 kB
import { loginUser } from "~/api";

const LoginSchema = object({
  email: string([
    minLength(1, "Please enter your email."),
    email("The email address is badly formatted."),
  ]),
  password: string([
    minLength(1, "Please enter your password."),
    minLength(8, "You password must have 8 characters or more."),
  ]),
});

export default function LoginRoute() {
  async function login(formData: FormData) {
    "use server";
    try {
      const { email, password } = parse(
        LoginSchema,
        Object.fromEntries(formData.entries())
      );
      await loginUser({ email, password });
    } catch (error) {
      // Handle errors
    }
  }

  return (
    <form action={login}>
      <input name="email" type="email" required />
      <input name="password" type="password" required minLength={8} />
      <button type="submit">Login</button>
    </form>
  );
}

Yes, in this case it's sufficient, but when we need to upload files, we have to encode the file in base64 on the client side, then decode the base64 on the server side to check the size and buffer, so it's quite redundant. A great library exists in zod for these cases, but its implementation seems heavy.

It is not a good idea to convert a file to base64. Instead the native functionality of the <form /> element should be used. I think that it is currently better for Valibot to focus on validation and leave this functionality to other libraries for now.
In fact, I have already implemented such a function for Modular Forms that can handle even complex objects and arrays: https://github.com/fabian-hiller/modular-forms/blob/main/packages/qwik/src/utils/getFormDataValues.ts

It is not a good idea to convert a file to base64. Instead the native functionality of the <form /> element should be used. I think that it is currently better for Valibot to focus on validation and leave this functionality to other libraries for now.
In fact, I have already implemented such a function for Modular Forms that can handle even complex objects and arrays: https://github.com/fabian-hiller/modular-forms/blob/main/packages/qwik/src/utils/getFormDataValues.ts

Yeah I know that it's not a good idea to convert file to base64 but tRPC did not accept FormData :/
Thanks for your reply, I'm closing this ticket.

Yeah I know that it's not a good idea to convert file to base64 but tRPC did not accept FormData :/

I was not aware of that. If there is no other way, I understand the approach. Because of the modularity of Valibot, this functionality can be added quite easily. If someone starts a project for this that builds on Valibot, I'll be happy to link it on our ecosystem page.


Web smoke test failure - verifies settings

Testing #103819
1) VSCode Smoke Tests (Web)
VSCode Smoke Tests (Web)
Language Features
verifies settings:
Error: Timeout: get element '.view-overlays .cdr.squiggly-error' after 20 seconds.
at D:\Source\github\microsoft\vscode\test\automation\out\code.js:182:23
at Generator.next ()
at fulfilled (D:\Source\github\microsoft\vscode\test\automation\out\code.js:9:58)

@lszomoru What was the exact command line you used to run the smoke test?

@lszomoru Please double check this, since I believe the issue doesn't happen if you skip the notebook tests altogether. Simply replace describe with describe.skip here: https://github.com/microsoft/vscode/blob/f3e4ff91969764238cedeeaa56ba13305d0f5838/test/smoke/src/areas/notebook/notebook.test.ts#L15-L15 And recompile the smoketests with yarn --cwd test/smoke.

@joaomoreno, I am able to reproduce this failure even after commenting out all the notebook tests.

I also have it reproducible on my machine, although I believe it's a timing issue. No configuration event is triggered here after the settings file is updated.


A reliable, formal and clear way of settings synchronization is needed

I'm going to start by saying the following: No, the "Import local settings to remote RuneLite account" is a joke of functionality. There is no way to verify that my settings are successfully uploaded, nor a way to import from the "remote RuneLite account". The reason I need a reliable setting synchronization is so that I have the same marked tiles (and every other setting) on my laptop as on my desktop.
Now, I found an open "Feature request" about this, that suggests copying the settings.properties files located inside the .runelite folder. That idea is what brought me here. I created a private testing GitHub repo in order to keep said file up to date on both computers. I started by committing the default settings, then changed a simple setting (stretched mode) in RuneLite, turning it on and changing the "resizable scaling" to 70%, finally saved and closed RuneLite. I opened it again immediately to see if the current settings were successfully saved (a thing that rarely goes wrong, but does, nevertheless), and it did. I copied the new "modified" file to my repo only to find that it wasn't changed at all.
 I love the client but I hate I cannot rely on the settings configuration, it drives me nuts to configure it every time I open the client.  What am I importing? Was it everything? Was it successful? Am I going to be able to see everything in my other device? Questions that I make myself every time I struggle with this.

You should only press the Import button once in your life in 99% of cases.

I'm going to start by saying the following: No, the "Import local settings to remote RuneLite account" is a joke of functionality. There is no way to verify that my settings are successfully uploaded, nor a way to import from the "remote RuneLite account". The reason I need a reliable setting synchronization is so that I have the same marked tiles (and every other setting) on my laptop as on my desktop.
Now, I found an open "Feature request" about this, that suggests copying the settings.properties files located inside the .runelite folder. That idea is what brought me here. I created a private testing GitHub repo in order to keep said file up to date on both computers. I started by committing the default settings, then changed a simple setting (stretched mode) in RuneLite, turning it on and changing the "resizable scaling" to 70%, finally saved and closed RuneLite. I opened it again immediately to see if the current settings were successfully saved (a thing that rarely goes wrong, but does, nevertheless), and it did. I copied the new "modified" file to my repo only to find that it wasn't changed at all.
 I love the client but I hate I cannot rely on the settings configuration, it drives me nuts to configure it every time I open the client.  What am I importing? Was it everything? Was it successful? Am I going to be able to see everything in my other device? Questions that I make myself every time I struggle with this.

The existing setting synchronization system works well and many people use it. What is probably happening here is you don't understand how it works. Clicking import will import the local settings (which are the settings used when you are not logged in) into your logged-in account, which pushes them up to the "cloud". I would be open to changing some of the wording on the UIs since it uses somewhat-technical terminology and it seems many people interpret it backwards (I've seen this be a problem before).
Instead of Import local settings to remote RuneLite account what about Import logged-out settings to current account?


xpath string(.)

"puppeteer": "2.1.1"
I want get all text from Element,I use xpath as string(.),I met some exception.
const title=await titleEle[0].$x('string(.)')
Error: Evaluation failed: TypeError: Failed to execute 'evaluate' on 'Document': The result is not a node set, and therefore cannot be converted to the desired type.     at __puppeteer_evaluation_script__:3:37     at ExecutionContext._evaluateInternal (e:\Develop\Codes\Program\spider\puppeteer-spider\egg\node_modules\puppeteer\lib\ExecutionContext.js:122:13)     at async ElementHandle.evaluateHandle (e:\Develop\Codes\Program\spider\puppeteer-spider\egg\node_modules\puppeteer\lib\JSHandle.js:63:12)     at async ElementHandle.$x (e:\Develop\Codes\Program\spider\puppeteer-spider\egg\node_modules\puppeteer\lib\JSHandle.js:532:25)     at async e:\Develop\Codes\Program\spider\puppeteer-spider\egg\infoq.js:42:21   -- ASYNC --     at ExecutionContext.<anonymous> (e:\Develop\Codes\Program\spider\puppeteer-spider\egg\node_modules\puppeteer\lib\helper.js:111:15)     at ElementHandle.evaluateHandle (e:\Develop\Codes\Program\spider\puppeteer-spider\egg\node_modules\puppeteer\lib\JSHandle.js:63:42)     at ElementHandle.<anonymous> (e:\Develop\Codes\Program\spider\puppeteer-spider\egg\node_modules\puppeteer\lib\helper.js:112:23)     at ElementHandle.$x (e:\Develop\Codes\Program\spider\puppeteer-spider\egg\node_modules\puppeteer\lib\JSHandle.js:532:36)     at ElementHandle.<anonymous> (e:\Develop\Codes\Program\spider\puppeteer-spider\egg\node_modules\puppeteer\lib\helper.js:112:23)     at e:\Develop\Codes\Program\spider\puppeteer-spider\egg\infoq.js:42:39 {stack: 'Error: Evaluation failed: TypeError: Failed t…am\spider\puppeteer-spider\egg\infoq.js:42:39', message: 'Evaluation failed: TypeError: Failed to exec…     at __puppeteer_evaluation_script__:3:37'}
I know this is a special return value, but it is the correct xpath.

If you need text nodes of an Element, you need const title=await titleEle[0].$x('./text()'), but I am not sure if a text node is a valid puppeteer Element handler.

If you need text nodes of an Element, you need const title=await titleEle[0].$x('./text()'), but I am not sure if a text node is a valid puppeteer Element handler.

yes,i also do it.
_remoteObject:{type: 'undefined'}
but no exception.
I wanted to find a good way to get all the text, and I came up with xpath, but I found that only the convenience works for now.
Thank you.

If .innerText or .textContent in browser context do not suffice, you can try to collect text nodes in the browser context with xPath (document.evaluate()) and transfer them as texts.

Yes, text nodes can be used, but they are not as fast as srting(.).
thank you.


Can't connect to Plex server

Hello
When I enter the data from my Plex server and try to connect I get this error message:
Unable to contact Plex via http://<IP_ADDRESS>:32400 error No JSON object could be decoded
GDM: Servers discovered: 1
Sending discovery message: M-SEARCH * HTTP/1.0
I am sure that my entered data is correct..
Any idea what might be the problem?

Plex support is broken in this version of htpc manager

I'm facing the same issue, just posting so I get any news if this gets resolved:
modules.plex	ERROR	Unable to contact Plex via http://<IP_ADDRESS>:32400 error Expecting value: line 1 column 1 (char 0)

Is Plex support discontinued? Can it somehow be done with a token?

i am getting the same issue any news on this?
modules.plex	ERROR	Unable to contact Plex via http://x.x.x.x:32400 error Expecting value: line 1 column 1 (char 0)

In Plex settings, go to Network, then you need to specify the IP address of the HTPC server where it says "List of IP addresses and networks that are allowed without auth". Then on the PLEX settings in HTPC manager, don't specify the username and password. It will work.
The issue I'm having now is that it's connecting to Plex but not able to show the images. I'm getting this errors:
2021-08-24 11:32:30 | htpc.helpers | ERROR | None None_w225_h338_o_100.0_None 'NoneType' object has no attribute 'tell'
2021-08-24 11:32:30 | htpc.helpers | ERROR | Failed  to download  http://<IP_ADDRESS>:32400/library/metadata/741796/thumb/1617024358 to  /mnt/dietpi_userdata/htpc-manager/userdata/images/7bf69a018d76a3eb3df376351a52a7fa  'dict' object has no attribute 'iteritems'
Carlos
www.NoSoloHacking.info


Suggestion: Change order by drag and drop

ngTagsInput is a great directive, we use it at various points throughout our application. However, in one use case, it would be nice if the end user could change the order of the tags via drag and drop. I know, for standard tags, order doesn't matter, but in this special case it does.
Maybe including an existing drag and drop library/module that would not be too much work.

This issue was selected to be spring-cleaned by a script. More information can be found here.
If anyone thinks this was a mistake and this issue should be reopened, please leave a message below explaining why. Before doing so, please consider reading the CONTRIBUTING file.


[bug] Can't compile the tests because of mutex, that is declared in the doctest

Description
So, I'm trying to learn doctest, but I can't even compile a cpp file just by including doctest.h. When I compile the tutorial example, the following log are showed:
g++ -std=c++11 main.cpp
In file included from main.cpp:2:0:
doctest.h:4750:14: error: 'mutex' in namespace 'std' does not name a type
std::mutex mutex;
^~~~~
doctest.h: In member function 'virtual void doctest::{anonymous}::XmlReporter::test_case_exception(const doctest::TestCaseException&)':
doctest.h:4898:29: error: 'mutex' is not a member of 'std'
std::lock_guardstd::mutex lock(mutex);
^~~
doctest.h:4898:29: error: 'mutex' is not a member of 'std'
doctest.h:4898:39: error: template argument 1 is invalid
std::lock_guardstd::mutex lock(mutex);
^
doctest.h:4898:46: error: 'mutex' was not declared in this scope
std::lock_guardstd::mutex lock(mutex);
^~~~~
doctest.h: In member function 'virtual void doctest::{anonymous}::XmlReporter::subcase_start(const doctest::SubcaseSignature&)':
doctest.h:4906:29: error: 'mutex' is not a member of 'std'
std::lock_guardstd::mutex lock(mutex);
^~~
doctest.h:4906:29: error: 'mutex' is not a member of 'std'
doctest.h:4906:39: error: template argument 1 is invalid
std::lock_guardstd::mutex lock(mutex);
^
doctest.h:4906:46: error: 'mutex' was not declared in this scope
std::lock_guardstd::mutex lock(mutex);
^~~~~
doctest.h: In member function 'virtual void doctest::{anonymous}::XmlReporter::log_assert(const doctest::AssertData&)':
doctest.h:4921:29: error: 'mutex' is not a member of 'std'
std::lock_guardstd::mutex lock(mutex);
^~~
doctest.h:4921:29: error: 'mutex' is not a member of 'std'
doctest.h:4921:39: error: template argument 1 is invalid
std::lock_guardstd::mutex lock(mutex);
^
doctest.h:4921:46: error: 'mutex' was not declared in this scope
std::lock_guardstd::mutex lock(mutex);
^~~~~
doctest.h: In member function 'virtual void doctest::{anonymous}::XmlReporter::log_message(const doctest::MessageData&)':
doctest.h:4946:29: error: 'mutex' is not a member of 'std'
std::lock_guardstd::mutex lock(mutex);
^~~
doctest.h:4946:29: error: 'mutex' is not a member of 'std'
doctest.h:4946:39: error: template argument 1 is invalid
std::lock_guardstd::mutex lock(mutex);
^
doctest.h:4946:46: error: 'mutex' was not declared in this scope
std::lock_guardstd::mutex lock(mutex);
^~~~~
doctest.h: At global scope:
doctest.h:4989:14: error: 'mutex' in namespace 'std' does not name a type
std::mutex                    mutex;
^~~~~
doctest.h: In member function 'virtual void doctest::{anonymous}::ConsoleReporter::subcase_start(const doctest::SubcaseSignature&)':
doctest.h:5353:29: error: 'mutex' is not a member of 'std'
std::lock_guardstd::mutex lock(mutex);
^~~
doctest.h:5353:29: error: 'mutex' is not a member of 'std'
doctest.h:5353:39: error: template argument 1 is invalid
std::lock_guardstd::mutex lock(mutex);
^
doctest.h:5353:46: error: 'mutex' was not declared in this scope
std::lock_guardstd::mutex lock(mutex);
^~~~~
doctest.h: In member function 'virtual void doctest::{anonymous}::ConsoleReporter::subcase_end()':
doctest.h:5359:29: error: 'mutex' is not a member of 'std'
std::lock_guardstd::mutex lock(mutex);
^~~
doctest.h:5359:29: error: 'mutex' is not a member of 'std'
doctest.h:5359:39: error: template argument 1 is invalid
std::lock_guardstd::mutex lock(mutex);
^
doctest.h:5359:46: error: 'mutex' was not declared in this scope
std::lock_guardstd::mutex lock(mutex);
^~~~~
doctest.h: In member function 'virtual void doctest::{anonymous}::ConsoleReporter::log_assert(const doctest::AssertData&)':
doctest.h:5368:29: error: 'mutex' is not a member of 'std'
std::lock_guardstd::mutex lock(mutex);
^~~
doctest.h:5368:29: error: 'mutex' is not a member of 'std'
doctest.h:5368:39: error: template argument 1 is invalid
std::lock_guardstd::mutex lock(mutex);
^
doctest.h:5368:46: error: 'mutex' was not declared in this scope
std::lock_guardstd::mutex lock(mutex);
^~~~~
doctest.h: In member function 'virtual void doctest::{anonymous}::ConsoleReporter::log_message(const doctest::MessageData&)':
doctest.h:5413:29: error: 'mutex' is not a member of 'std'
std::lock_guardstd::mutex lock(mutex);
^~~
doctest.h:5413:29: error: 'mutex' is not a member of 'std'
doctest.h:5413:39: error: template argument 1 is invalid
std::lock_guardstd::mutex lock(mutex);
^
doctest.h:5413:46: error: 'mutex' was not declared in this scope
std::lock_guardstd::mutex lock(mutex);
^~~~~
So, as you can see all the messages are related to the mutex declaration, and std namespace.
Steps to reproduce
Just added the lib in the same folder as the main.cpp file, ctrl+c ctrl+v the tutorial example in it, and ran it, lol.
Extra information
I was looking for some answers about the first line of error: 'mutex' in namespace 'std' does not name a type, and basically everyone said that the mingw default installation of the cpp compiler does not support mutex library, or something like that. However, everyone had this problem using the mutex for threading in their program.

doctest version: latest
Operating System: Windows 10
Compiler+version: MinGW GCC Compiler, version 6,3,0

I guess your version of MinGW doesn't fully support everything from C++11 - mainly threading. I'd suggest that you use MinGW-w64 - just extract it somewhere and add the bin folder to the PATH env var (the link is for GCC 8.1). They also have an official website with installers: https://mingw-w64.org/
In my opinion the original MinGW is lagging behind in support for C++ features and MinGW-w64 is the proper version to use for a few years now.
If you try with VS 2017 or 2019 on windows doctest will work as well.

I guess your version of MinGW doesn't fully support everything from C++11 - mainly threading. I'd suggest that you use MinGW-w64 - just extract it somewhere and add the bin folder to the PATH env var (the link is for GCC 8.1). They also have an official website with installers: https://mingw-w64.org/
In my opinion the original MinGW is lagging behind in support for C++ features and MinGW-w64 is the proper version to use for a few years now.
If you try with VS 2017 or 2019 on windows doctest will work as well.

Both of the solutions worked! Thanks!

I'm closing this since it is not a problem that the framework is using a standard C++11 header :)

I have the same problem on my Ubuntu machine when trying to use doctest with a RIOT-OS project. Am I missing some packages?

@dakrt What compiler are you using? It's likely not fully C++11 compliant.
Maybe try the DOCTEST_CONFIG_NO_POSIX_SIGNALS flag, it should at least get rid of the errors related to sigaltstack.

Sorry for not including that information. I am using the RIOT makefile system. This is sometimes quite overwelming and it took me some time to find the answer.
When printing out the CXX variable of the makefile it shows that arm-none-eabi-g++ is used in verison (GNU Arm Embedded Toolchain 10-2020-q4-major) 10.2.1 20201103 (release). Also I am using the Flag -std=c++1z.
Furthermore Flag -DOCTEST_CONFIG_NO_POSIX_SIGNALS  does not solve the problem.

When I try to utilize g++ by setting the CXX variable RIOT does not compile properly
g++: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
g++: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
g++: error: unrecognized command line option ‘-mno-thumb-interwork’
g++: error: unrecognized command line option ‘-mlittle-endian’
g++: error: unrecognized command line option ‘-mthumb’
g++: error: unrecognized command line option ‘-mfloat-abi=hard’
g++: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
g++: error: unrecognized command line option ‘-mfpu=fpv4-sp-d16’
make[2]: *** [riot/Makefile.base:162: unittests/bin/test.o] Error 1
make[1]: *** [riot/Makefile.base:31: ALL--] Error 2
make[1]: *** Waiting for unfinished jobs....
g++: error: unrecognized command line option ‘-mno-thumb-interwork’
g++: error: unrecognized command line option ‘-mno-thumb-interwork’
g++: error: unrecognized command line option ‘-mlittle-endian’
g++: error: unrecognized command line option ‘-mthumb’
g++: error: unrecognized command line option ‘-mlittle-endian’
g++: error: unrecognized command line option ‘-mthumb’
g++: error: unrecognized command line option ‘-mfloat-abi=hard’
g++: error: unrecognized command line option ‘-mfloat-abi=hard’
g++: error: unrecognized command line option ‘-mfpu=fpv4-sp-d16’
make[2]: *** [riot/Makefile.base:162: unittests/bin/tcp_server/tcp_server.o] Error 1
make[1]: *** [riot/Makefile.base:31: ALL--modules/tcp_server] Error 2
g++: error: unrecognized command line option ‘-mfpu=fpv4-sp-d16’
make[2]: *** [riot/Makefile.base:162: unittests/bin/SvDecoder.o] Error 1
make[1]: *** [riot/Makefile.base:31: ALL--modules] Error 2
g++: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
g++: error: unrecognized command line option ‘-mno-thumb-interwork’
g++: error: unrecognized command line option ‘-mlittle-endian’
g++: error: unrecognized command line option ‘-mthumb’
g++: error: unrecognized command line option ‘-mfloat-abi=hard’
g++: error: unrecognized command line option ‘-mfpu=fpv4-sp-d16’

If your makefile system is similar to cmake then you'd have to use something akin to -D DOCTEST_CONFIG_NO_POSIX_SIGNALS, since it is just a macro flag that is relevant to the code itself.
So stackoverflow gives the following answer: "arm-none-eabi means a system with no OS, just bare metal, so you don't have most of the standard library, so no pthreads (which GCC's std::mutex is built on top of)." Meaning that mutices are indeed not available to you.

I feel like this isn't really doctest's fault. Although if you manage to get it working with only the mutices missing then we could look into allowing a flag to disable them.

The new DOCTEST_CONFIG_NO_MULTITHREADING option should definitely fix this. If it doesn't, please reopen!


Package 'gpac' has no installation candidate

Tried running the ./install.sh on pi4 64 raspbian OS and got the following:
Package gpac is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'gpac' has no installation candidate
root@raspberrypi:/home/tom/RPi_Cam_Web_Interface#
Anybody run into this issue?

Yes, please check the existing discussion here https://github.com/silvanmelchior/RPi_Cam_Web_Interface/issues/689

Hi @ghengistom, you might be interested in this. Be aware that not all functionality has been implemented but it should be a good starting point ^_^


info_table refinements

[ ] Add test for rough equality for selections, to avoid "X had a value of 0.00 which is higher than the region-wide median of 0.00".

[ ] Get Sus fonts incorporated into the ggplots for the legend and graph


PosHold handles GPS regain poorly

This bug occurred using MultiCopter and the ekf_att_pos_estimator algorithm.
This is easily reproducible by the following steps:

Set vehicle in PosHold mode and verify that the mode works as it should
Disable the GPS while hovering in PosHold
After a period of time, the Commander will trigger AltHold because the position fix times out
As expected the position begins to drift and now we enable the GPS again.
The drone makes some wild acrobatics and you'll have to switch back to Manual/AltHold to make it recover.

Example where the problem occurs. Notice how position jumps once GPS is re-enabled (notice the EKF position diverges):

Logfile:
https://drive.google.com/file/d/0B7HSl0pSS6x3TDVLdzFXZFI1SHc/view?usp=sharing

I'm attempting to fix this in #1770.

This has probably nothing to do with either PosCtrl or the mc_position_controller but is rather an issue with the ```ekf_attitude_pos_estimator_ekf````where the states are not properly reset on fix regain:

Fixed by #1770


how can we finetune indicbart pre-trained other than specified language.?

Actually when I fine-tune it for other language, it is getting
RuntimeError: The expanded size of the tensor (20) must match the existing size (17) at non-singleton dimension 1.  Target sizes: [3, 20, 1].  Tensor sizes: [3, 17, 1]

If your language is not in IndicBART then you can use any language identifier from the current set of language identifiers. <2hi> should be fine. If you know which language is the most similar to your language, then you can use that language's identifier.


feat(worksheet): add implementation for flat list

What type of PR is this?
type-feature

What this PR does / why we need it:

add flatList implementation for WorksheetControllerIntegration；
add last access time in DefaultWorksheetService#detail;
add max project worksheet number check in worksheet create and upload

Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Additional documentation e.g., usage docs, etc.:

@yizhouxw  I've implemented your suggestion, please take a look when you have a chance.


New GitHub Terms of Service

GitHub is in the process of updating their terms of service. In the new ToS they require research done by scraping GitHub data to be open-access. We are not currently scraping GitHub data but may need to in the future.
Quote:

You may scrape the website for the following reasons:
Researchers may scrape public, non-personal information from GitHub for academic research purposes, only if any publications resulting from that research are open access.

Is this okay for us?

I commented on Georg's issue (same issue). Shouldn't be a problem for us.

Hi @howderek, Great minds think alike :+1:
Issue duplicate of #11


Indexing hangs Atom

Indexing completely fails on my codebase which is reasonably large but not huge (about 35MB). Atom hangs completely and the memory use of the process keeps growing. I've had this continue for up to 15 minutes before giving up and killing the process. I do have a very large media folder but I assume it will be ignoring image asset files. The code base is a PHP/Magento installation. Running on Windows, Atom v0.129.0.

Same here

@v3ss0n To my mind, this is the biggest issue with the package, but I also think the general problem is largely unsolvable (it takes a long time to go through all the files in the project, parse them using the corresponding grammar, and then iterate through parsed tokens to figure out if they are symbols).
It might help, however, to make the SymbolIndex::processDirectory and SymbolIndex::processFile logic async. This would also mean that we could try to show the symbol list immediately and update it in realtime as the index builds itself.

I just reproudced it , it makes my atom crashed too and had to disable.
making it async or worker proecess will help a lot. We need to test a bit .

same here

This is happening to me on two code bases that it used to work fine with, one of which I haven't touched.

same here

Removing this line could also help. Logging that much does affect performance (I tried to save the whole log for an elm project, it was over 10mb, also atom crashed while saving it).

This is by no means fixed, but it is improved as of 1.8.0. Also, I can recommend a few techniques to help:

Make sure to include file names and extensions you don’t care about in your “More ignored names” options, like: .css .svg webpack.config.js package.json
Exclude your test files (could just be tests if all your tests are in a directory names tests or *.test.js if all of your test files have that suffix)


Add spin cloud-gpu to this repo

Migrate https://github.com/fermyon/spin-cloud-gpu to this repo so we have a centralized home for all supported plugins

Not sure what you mean here @macolso - we should register the manifest here when ready, but not migrate the code.


feat: add expiry date to strapi config

As this is my first open source pr, I hope I did everything well :)
Types of changes

[ ] Bug fix (a non-breaking change which fixes an issue)
[x] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
Currently the strapi token is saved as a session cookie which expires as soon as the browser is closed.
Back in v0, there was a config option which allowed to set the expires property.
With this pull request I have added such a feature.
Checklist:

[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes (if not applicable, please state why)

Hi @luke-z,
First of all, thank you for this PR!
Back in the v0 of the module, the expires key was here to tell the module to use sessionStorage instead of cookies. With this new module, we're only using cookies and the default is indeed set as session as stated in the Nuxt 3 useCookie expires documentation, which will behave differently depending on the browser.
To change this behaviour, I would rather only have a cookie key in the options, typed by CookieOptions to configure useCookie composable.

Hello @benjamincanac
Thank you for the feedback!
It makes more sense to have all the options available.
I changed the config from expires to cookie as you suggested and updated the docs.


Expose the source property on builds.getAllByApplication()

See: https://github.com/resin-io/resin-ui/issues/897
See: https://github.com/resin-io/resin-api/pull/306#pullrequestreview-41516595
See: https://github.com/resin-io/resin-builder/pull/180

Resolved by #351


Ansible 2.10.5 RHEL 8 with package module

When using the package module with the latest RC (as well as latest commit on master branch) of Mitogen for Ansible 2.10.5, I am receiving an exception;
fatal: [EL8]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/libexec/platform-python"}, "changed": false, "module_stderr": "Traceback (most recent call last):\n  File \"master:/Users/dsgnr/.virtualenvs/ansible/lib/python3.7/site-packages/ansible_mitogen/runner.py\", line 975, in _run\n    self._run_code(code, mod)\n  File \"master:/Users/dsgnr/.virtualenvs/ansible/lib/python3.7/site-packages/ansible_mitogen/runner.py\", line 939, in _run_code\n    exec(code, vars(mod))\n  File \"master:/Users/dsgnr/.virtualenvs/py3/lib/python3.7/site-packages/ansible/modules/dnf.py\", line 1330, in <module>\n  File \"master:/Users/dsgnr/.virtualenvs/py3/lib/python3.7/site-packages/ansible/modules/dnf.py\", line 1319, in main\n  File \"master:/Users/dsgnr/.virtualenvs/py3/lib/python3.7/site-packages/ansible/modules/dnf.py\", line 1288, in run\n  File \"master:/Users/dsgnr/.virtualenvs/py3/lib/python3.7/site-packages/ansible/modules/dnf.py\", line 620, in _base\n  File \"/usr/lib/python3.6/site-packages/dnf/base.py\", line 300, in init_plugins\n    self._plugins._load(self.conf, disabled_glob, enable_plugins)\n  File \"/usr/lib/python3.6/site-packages/dnf/plugin.py\", line 131, in _load\n    raise RuntimeError(\"load_plugins() called twice\")\nRuntimeError: load_plugins() called twice\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

+- name: Install package
+  package:
+    name: "{{ package }}"
+    state: present

However, using the individual modules works fine;
+- name: Install package for Ubuntu
+  apt:
+    name: "{{ package }}"
+    state: present
+  when: ansible_os_family == "Ubuntu"
+
+- name: Install package for RHEL up to version 7
+  yum:
+    name: "{{ package }}"
+    state: present
+  when: ansible_os_family == "RedHat" and ansible_distribution_major_version|int <= 7
+
+- name: Install package for RHEL 8
+  dnf:
+    name: "{{ package }}"
+    state: present
+  when: ansible_os_family == "RedHat" and ansible_distribution_major_version|int == 8

Which version of Ansible are you running?
Ansible 2.10.5

Is your version of Ansible patched in any way?

No

Are you running with any custom modules, or module_utils loaded?
No

Have you tried the latest master version from Git?
Running v0.3.0-rc.0

Do you have some idea of what the underlying problem may be?

Mention your host and target OS and versions
Red Hat Enterprise Linux release 8.3 (Ootpa)

Mention your host and target Python versions

# /usr/libexec/platform-python
Python 3.6.8 (default, Aug 18 2020, 08:33:21)
[GCC 8.3.1 20191121 (Red Hat 8.3.1-5)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>

This also occurs if the dnf/yum module is used more than once in the same playbook.
ansible_facts: {}
  module_stderr: |-
    Traceback (most recent call last):
      File "master:/home/wouterhummelink/.local/lib/python3.9/site-packages/ansible_mitogen/runner.py", line 975, in _run
        self._run_code(code, mod)
      File "master:/home/wouterhummelink/.local/lib/python3.9/site-packages/ansible_mitogen/runner.py", line 939, in _run_code
        exec(code, vars(mod))
      File "master:/home/wouterhummelink/.local/lib/python3.9/site-packages/ansible/modules/dnf.py", line 1330, in <module>
      File "master:/home/wouterhummelink/.local/lib/python3.9/site-packages/ansible/modules/dnf.py", line 1319, in main
      File "master:/home/wouterhummelink/.local/lib/python3.9/site-packages/ansible/modules/dnf.py", line 1288, in run
      File "master:/home/wouterhummelink/.local/lib/python3.9/site-packages/ansible/modules/dnf.py", line 620, in _base
      File "/usr/lib/python3.6/site-packages/dnf/base.py", line 300, in init_plugins
        self._plugins._load(self.conf, disabled_glob, enable_plugins)
      File "/usr/lib/python3.6/site-packages/dnf/plugin.py", line 131, in _load
        raise RuntimeError("load_plugins() called twice")
    RuntimeError: load_plugins() called twice
  module_stdout: ''
  msg: |-
    MODULE FAILURE
    See stdout/stderr for the exact error
  rc: 1

This also occurs if the dnf/yum module is used more than once in the same playbook.
ansible_facts: {}
  module_stderr: |-
    Traceback (most recent call last):
      File "master:/home/wouterhummelink/.local/lib/python3.9/site-packages/ansible_mitogen/runner.py", line 975, in _run
        self._run_code(code, mod)
      File "master:/home/wouterhummelink/.local/lib/python3.9/site-packages/ansible_mitogen/runner.py", line 939, in _run_code
        exec(code, vars(mod))
      File "master:/home/wouterhummelink/.local/lib/python3.9/site-packages/ansible/modules/dnf.py", line 1330, in <module>
      File "master:/home/wouterhummelink/.local/lib/python3.9/site-packages/ansible/modules/dnf.py", line 1319, in main
      File "master:/home/wouterhummelink/.local/lib/python3.9/site-packages/ansible/modules/dnf.py", line 1288, in run
      File "master:/home/wouterhummelink/.local/lib/python3.9/site-packages/ansible/modules/dnf.py", line 620, in _base
      File "/usr/lib/python3.6/site-packages/dnf/base.py", line 300, in init_plugins
        self._plugins._load(self.conf, disabled_glob, enable_plugins)
      File "/usr/lib/python3.6/site-packages/dnf/plugin.py", line 131, in _load
        raise RuntimeError("load_plugins() called twice")
    RuntimeError: load_plugins() called twice
  module_stdout: ''
  msg: |-
    MODULE FAILURE
    See stdout/stderr for the exact error
  rc: 1

This could be solved by calling into dnf.plugin.Plugins._unload() but I'm not quite sure where such cleanup should go... ansible or mitogen

This could be solved by calling into dnf.plugin.Plugins._unload() but I'm not quite sure where such cleanup should go... ansible or mitogen

I've locally patched dnf.py in ansible to call _unload() just before the call to init_plugins() that appears to successfully work around this issue.

I've locally patched dnf.py in ansible to call _unload() just before the call to init_plugins() that appears to successfully work around this issue.

@moreati The ansible project appears to be unwilling to fix this on their end.

@moreati The ansible project appears to be unwilling to fix this on their end.

thank you, I don't think this will make it into the next release candidate. Possibly the one after.

thank you, I don't think this will make it into the next release candidate. Possibly the one after.

Hi, I can confirm this on 3 centos8 and a rhel8.
Any help you might need in debugging this, just ping me (I am very happy that mitogen finally is usable with ansible 2.10)!

Another confirmation for CentOS8

As workaround I added the following to the task:
  vars:
    mitogen_task_isolation: fork

Example:
- name: Podman | Installing podman....
  package:
    name:
      - podman
    state: present
  vars:
    mitogen_task_isolation: fork

@Madic- workaround works for me too.

I can confirm this bug for Oracle Linux 8. Mitogen 0.3.0-rc1 and ansible-base 2.10.5.

#816 attempting to reproduce as part of #816

I've reproduced this in https://github.com/moreati/mitogen/tree/issue776

Adding ansible.legacy.dnf to ALWAYS_FORK_MODULES list in ansible_mitogen/planner.py seems to fix this issue with yum.
+++ ./ansible_mitogen/planner.py	2021-03-26 14:18:56.000000000 +0200
@@ -321,6 +321,7 @@
     ALWAYS_FORK_MODULES = frozenset([
         'dnf',  # issue #280; py-dnf/hawkey need therapy
         'firewalld',  # issue #570: ansible module_utils caches dbus conn
+        'ansible.legacy.dnf',  # issue #776
     ])

     def should_fork(self):

@annttu yep, I could confirm that it works with RHEL8/Python3 and Ansible 2.10 ;
thanks for sharing this fix! guys could you somehow release the fix even as an unofficial version?:)
right now I need to reference fork in my build but it just would be nice to reference your awesome project ;)

Adding ansible.legacy.dnf to ALWAYS_FORK_MODULES list in ansible_mitogen/planner.py seems to fix this issue with yum.
+++ ./ansible_mitogen/planner.py	2021-03-26 14:18:56.000000000 +0200
@@ -321,6 +321,7 @@
     ALWAYS_FORK_MODULES = frozenset([
         'dnf',  # issue #280; py-dnf/hawkey need therapy
         'firewalld',  # issue #570: ansible module_utils caches dbus conn
+        'ansible.legacy.dnf',  # issue #776
     ])

     def should_fork(self):

Can confirm this fixes it on Ansible 2.10.7 on MacOS as well, for both package and dnf.

If you want to easily install the PR #845 that contains this fix without manually patching, you can run something like:
pip install git+https://github.com/mitogen-hq/mitogen.git@refs/pull/845/merge

if you look at the ALWAYS_FORK_MODULES list you can see that dnf already was in there for a different reason (#280), it just wasn't migrated to the new naming scheme i guess?


Remove Dead Code in IndexFile

What changes were proposed in this pull request?
Remove dead code in IndexFile
How was this patch tested?
current test pass

LGTM