~tfardet

https://tfardet.srht.site

I'm a postdoctoral researcher working on complex systems and networks, notably in neuroscience.

My projects include mostly graph-related libraries in Python and C++. https://git.sr.ht/~tfardet https://codeberg.org/tfardet

You can follow me on the Fediverse: https://fediscience.org/@tfardet https://scicomm.xyz/@tfardet

~tfardet/nngt-developers

Last active 3 months ago

~tfardet/orgmatt-dev

Last active 3 months ago

~tfardet/nngt-users

Last active 1 year, 7 months ago
View more

Recent activity

Re: [git-sendmail.io] Removing part of ProtonMail warning 7 months ago

From Tanguy Fardet to ~sircmpwn/sr.ht-discuss

On 10/02/2022 10:34, Drew DeVault wrote:
> The ProtonMail disclaimer was not written by accident.

I can provide a little more context: the disclaimer was added following
an issue [1] I encountered while sending patches via my ProtonMail address.

Whether the parts that wrap the factual information [2] are
necessary/fair or not (notably given the absence of disclaimer on an
other well-known provider) is a valid question but the point is that
using ProtonMail "as is" to send patches is, at best, unreliable.

The situation can be improved by using ~emersion's bridge (hydroxide)
[3] but PM has regularly broken the API or other stuff, making email
sending via hydroxide also unreliable.

Re: Community mentoring and CodeJams for SourceHut 8 months ago

From Tanguy Fardet to ~sircmpwn/sr.ht-discuss

> i requested this to be a topic in the meeting over a month ago, but
> unfortunately was unable to attend to meeting.
>
> is there any more news on this front?

No, there's was no follow-up so I did not go further on this,
considering that there were not enough people interested to start
something (I cannot do this on my own).
If you are interested, though, I'll have more time to discuss what one
could do starting February.

T

Community mentoring and CodeJams for SourceHut 9 months ago

From Tanguy Fardet to ~sircmpwn/sr.ht-discuss

Hi all,
following this week's meeting, I would like to propose some ideas to
organize community mentoring/onboarding and codejams on SourceHut.

What exactly would be covered by the community mentoring and onboarding
is open for debate but my initial idea would be to provide a dedicated
place (mailing list?) where people can ask if someone would be available
to introduce them to the SourceHut ecosystem.
The onboarding could be something like a call with the person, showing
how the services work and helping them set up what they need.
It might also be worthwhile to ask them if they are fine with the
session being recorded so that we can later reuse part of these sessions
into some video introduction to SourceHut that could be linked for new
users.

Re: Collecting topics for the next Mumble meeting 10 months ago

From Tanguy Fardet to ~sircmpwn/sr.ht-discuss

I would be curious to have the opinion of the SourceHut community on
ForgeFriends [1] (formerly FedeProxy) and potential interactions.

[1]: https://forgefriends.org

[PATCH NNGT v1] I/O - Full GraphML support and NN/GML improvements 1 year, 2 months ago

From Tanguy Fardet to ~tfardet/nngt-developers

Library independent support for GraphML format (read/write).
Bugfix for GML in corner cases with 0 nodes or edges.
Correction of neighbor list for undirected graphs.
Improved checks for edges attributes.
---
 README.md                        |  12 +-
 nngt/analysis/nngt_functions.py  |  13 +-
 nngt/core/graph.py               |   4 +-
 nngt/core/gt_graph.py            |   4 +
 nngt/core/ig_graph.py            |   7 +-
 nngt/core/nngt_graph.py          |   4 +
 nngt/core/nx_graph.py            |   7 +-
 nngt/generation/connectors.py    |   8 +-
 nngt/io/graph_loading.py         |  17 ++-
[message trimmed]

[PATCH NNGT v1] Core - More efficient edge attribute access 1 year, 2 months ago

From Tanguy Fardet to ~tfardet/nngt-developers

Make access to a subset of edge attributes faster by using the underlying library's methods rather than generating the array for all edges every time.
This also reduces the memory footprint.
---
 doc/developer/library_shipping.rst |  2 +-
 nngt/core/graph.py                 | 40 ++++++-------
 nngt/core/gt_graph.py              | 76 ++++++++++++------------
 nngt/core/ig_graph.py              | 62 ++++++++++++-------
 nngt/core/nngt_graph.py            | 36 +++++++++++
 nngt/core/nx_graph.py              | 95 +++++++++++++++---------------
 nngt/io/saving_helpers.py          |  9 ++-
 nngt/lib/connect_tools.py          | 13 +++-
 nngt/lib/graph_helpers.py          |  2 +-
 nngt/lib/rng_tools.py              |  6 +-
 testing/test_attributes.py         | 18 +++---
[message trimmed]

[PATCH NNGT v1] Version 2.4.0 - Core - Make default NeuralGroup excitatory and fix Structure.create_neta_group 1 year, 3 months ago

From tfardet to ~tfardet/nngt-developers

---
 nngt/__init__.py              |  2 +-
 nngt/core/graph.py            |  3 ---
 nngt/core/group_structure.py  |  4 ++--
 nngt/core/neural_pop_group.py |  4 ++--
 nngt/generation/connectors.py |  2 ++
 testing/base_test.py          |  1 -
 testing/test_group_pop.py     |  7 +++++++
 testing/test_nest.py          | 13 +++++++++++--
 8 files changed, 25 insertions(+), 11 deletions(-)

diff --git a/nngt/__init__.py b/nngt/__init__.py
index 3252b42..ede5108 100644
--- a/nngt/__init__.py
[message trimmed]

[PATCH NNGT v1] Core - Check Graph **kwargs, automatic class 1 year, 3 months ago

From tfardet to ~tfardet/nngt-developers

This patch checks that all keyword arguments passed to the Graph classes
are eventually used or raises a warning if not.
It also introduces a
custom __new__ method for Graph that automatically converts new Graphs
to Networks or SpatialGraphs if a population or shape argument is
detected.
---
 nngt/core/graph.py                    | 41 +++++++++++++++++++-
 nngt/core/gt_graph.py                 |  4 +-
 nngt/core/ig_graph.py                 |  2 +-
 nngt/core/networks.py                 | 54 +++++++++++++++++++--------
 nngt/core/nngt_graph.py               |  4 +-
 nngt/core/nx_graph.py                 |  4 +-
 nngt/core/spatial_graph.py            | 11 +++---
[message trimmed]

[PATCH NNGT v5] Simulation/Analysis - NEST3 support and bugfix for SWP 1 year, 3 months ago

From tfardet to ~tfardet/nngt-developers

This patch provides full support for NEST 3 as well as some fixes for
NEST 2 and tests for the simulation functions.
It also fixes an extra square that was missed in 223231a2.
---
 .build.yml                             |   4 +-
 doc/conf.py                            |  10 +-
 doc/examples/basic_nest_network.py     |  21 +++-
 doc/examples/introduction_to_groups.py |   4 +-
 doc/examples/nest_network.py           |  17 +++-
 doc/examples/random_balanced.py        |  41 ++++----
 doc/user/nest-interaction.rst          |   6 +-
 doc/user/neural-groups.rst             |  16 +--
 doc/user/tutorial.rst                  |   4 +-
 nngt/analysis/activity_analysis.py     |  40 +++++---
[message trimmed]

[PATCH NNGT v4] Simulation/Analysis - NEST3 support and bugfix for SWP 1 year, 3 months ago

From tfardet to ~tfardet/nngt-developers

This patch provides full support for NEST 3 as well as some fixes for
NEST 2 and tests for the simulation functions.
It also fixes an extra square that was missed in 223231a2.		
---
 .build.yml                             |   4 +-
 doc/conf.py                            |  10 +-
 doc/examples/basic_nest_network.py     |  21 ++++-
 doc/examples/introduction_to_groups.py |   4 +-
 doc/examples/nest_network.py           |  17 +++-
 doc/examples/random_balanced.py        |  41 ++++----
 doc/user/nest-interaction.rst          |   6 +-
 doc/user/neural-groups.rst             |  16 ++--
 doc/user/tutorial.rst                  |   4 +-
 nngt/analysis/activity_analysis.py     |  40 +++++---
[message trimmed]