!etBYPdyCKgnXJSXexD:matrix.org

NixOS GSoC

124 Members
16 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
23 Mar 2024
@agge3:matrix.orgagge3 Couple thoughts:

instead of changing instances of <code>Path</code> to
<code>std::filesystem::path</code>, what about changing <code>std::string
typedef</code> to <code>std::filesystem::path</code> - then working from
there. Keeps interface the same
for other developers and follows pre-established naming conventions. Looks
better being grouped with <code>CanonPath, Path, etc.</code> and makes more intuitive
sense not knowing the reason for <code>std::filesystem::path</code> and
using the other paths.

Could make some documentation that explains the mechanisms of Path and
what exactly it's invoking.
Other developers won't really need to know if it's cross-platform or not and
can happily carry on.

OR, what about making a class <code>Path</code> that handles the boiler-plate of conversion from <code>std::string</code> to <code>std::filesystem::path</code>, and if that boiler-plate is done successfully then it solves the problem at its root.

Are you SET on changing something like <code>Path path</code> to <code>std::filesystem::path path</code> to be explicit of what the object is/don't want to mess around with any naming convention benefits of keeping the existing <code>Path</code>

Both routes I think are effective and that's the real question.
00:22:17
@agge3:matrix.orgagge3 *

Couple thoughts:

instead of changing instances of Path to
<code>std::filesystem::path</code>, what about changing <code>std::string
typedef</code> to <code>std::filesystem::path</code> - then working from
there. Keeps interface the same
for other developers and follows pre-established naming conventions. Looks
better being grouped with <code>CanonPath, Path, etc.</code> and makes more intuitive
sense not knowing the reason for <code>std::filesystem::path</code> and
using the other paths.

Could make some documentation that explains the mechanisms of Path and
what exactly it's invoking.
Other developers won't really need to know if it's cross-platform or not and
can happily carry on.

OR, what about making a class <code>Path</code> that handles the boiler-plate of conversion from <code>std::string</code> to <code>std::filesystem::path</code>, and if that boiler-plate is done successfully then it solves the problem at its root.

Are you SET on changing something like <code>Path path</code> to <code>std::filesystem::path path</code> to be explicit of what the object is/don't want to mess around with any naming convention benefits of keeping the existing <code>Path</code>

Both routes I think are effective and that's the real question.

00:22:29
@agge3:matrix.orgagge3 *

Couple thoughts:

instead of changing instances of Path to
std::filesystem::path, what about changing std::string typedef to std::filesystem::path - then working from
there. Keeps interface the same
for other developers and follows pre-established naming conventions. Looks
better being grouped with CanonPath, Path, etc. and makes more intuitive
sense not knowing the reason for std::filesystem::path and
using the other paths.

Could make some documentation that explains the mechanisms of Path and
what exactly it's invoking.
Other developers won't really need to know if it's cross-platform or not and
can happily carry on.

OR, what about making a class Path that handles the boiler-plate of conversion from std::string to `std::filesystem::path</code>, and if that boiler-plate is done successfully then it solves the problem at its root.

Are you SET on changing something like <code>Path path</code> to `std::filesystem::path pathto be explicit of what the object is/don't want to mess around with any naming convention benefits of keeping the existingPath`

Both routes I think are effective and that's the real question.

00:23:29
@agge3:matrix.orgagge3 *

Couple thoughts:

instead of changing instances of Path to
std::filesystem::path, what about changing std::string typedef to std::filesystem::path - then working from
there. Keeps interface the same
for other developers and follows pre-established naming conventions. Looks
better being grouped with CanonPath, Path, etc. and makes more intuitive
sense not knowing the reason for std::filesystem::path and
using the other paths.

Could make some documentation that explains the mechanisms of Path and
what exactly it's invoking.
Other developers won't really need to know if it's cross-platform or not and
can happily carry on.

OR, what about making a class Path that handles the boiler-plate of conversion from std::string to std::filesystem::path, and if that boiler-plate is done successfully then it solves the problem at its root.

Are you SET on changing something likePath path to std::filesystem::path pathto be explicit of what the object is/don't want to mess around with any naming convention benefits of keeping the existingPath

Both routes I think are effective and that's the real question.

00:24:04
@agge3:matrix.orgagge3 *

Couple thoughts:

instead of changing instances of Path to
std::filesystem::path, what about changing std::string typedef to std::filesystem::path - then working from
there. Keeps interface the same
for other developers and follows pre-established naming conventions. Looks
better being grouped with CanonPath, Path, etc. and makes more intuitive
sense not knowing the reason for std::filesystem::path and
using the other paths.

Could make some documentation that explains the mechanisms of Path and
what exactly it's invoking.
Other developers won't really need to know if it's cross-platform or not and
can happily carry on.

OR, what about making a class Path that handles the boiler-plate of conversion from std::string to std::filesystem::path, and if that boiler-plate is done successfully then it solves the problem at its root.

Are you SET on changing something likePath path to std::filesystem::path pathto be explicit of what the object is/don't want to mess around with any naming convention benefits of keeping the existing Path

Both routes I think are effective and that's the real question.

00:24:49
@agge3:matrix.orgagge3 *

Couple thoughts:

instead of changing instances of Path to std::filesystem::path, what about changing std::string typedef to std::filesystem::path - then working from
there. Keeps interface the same for other developers and follows pre-established naming conventions. Looks better being grouped with CanonPath, Path, etc. and makes more intuitive sense not knowing the reason for std::filesystem::path and
using the other paths.

Could make some documentation that explains the mechanisms of Path and what exactly it's invoking. Other developers won't really need to know if it's cross-platform or not and can happily carry on.

OR, what about making a class Path that handles the boiler-plate of conversion from std::string to std::filesystem::path, and if that boiler-plate is done successfully then it solves the problem at its root.

Are you SET on changing something likePath path to std::filesystem::path pathto be explicit of what the object is/don't want to mess around with any naming convention benefits of keeping the existing Path

Both routes I think are effective and that's the real question.

00:25:47
@agge3:matrix.orgagge3 *

Hello everyone! I'd like to work on the project Nix Internals: Use std::filesystem::path for Path. I see there are others already interested in that project, so I do not mean to bring unwanted competition. Nevertheless, C++ is my preferred language, so I really like the idea of following cxx 17 standards. Also, I've had some experience with cross-dev unix-to-windows (a nightmare), and I like the mission goal of bringing anything unix to windows (hence, the cross-dev). My experience with nix is setting up containerized dev environments to keep things consistent for multiple users, so I really believe in nix and think it's a highly effective tool for something that is otherwise a complete nightmare.

I could have more experience because I don't daily-drive. My platform is using nix package manager on gentoo w/ openrc init. Can operate in a more integrated environment (nixos, systemd + nix) if this is a problem.
Skills are C, C++, sh, (some) lisp

Sorry for being a little late to the party.. chaotic last weeks - open to other suggestions, if we're trying to spread proposals

00:29:24
@federicodschonborn:matrix.org@federicodschonborn:matrix.org joined the room.00:40:02
@jashanpreet:matrix.orgjashanpreet joined the room.02:01:04
@ss:someonex.netSomeoneSerge (back on matrix) changed their display name from SomeoneSerge (hash-versioned python modules when) to SomeoneSerge (migrating synapse).02:11:21
@agge3:matrix.orgagge3 *

Couple thoughts:

instead of changing instances of Path to std::filesystem::path, what about changing typedef std::string to typedef std::filesystem::path - then working from
there. Keeps interface the same for other developers and follows pre-established naming conventions. Looks better being grouped with CanonPath, Path, etc. and makes more intuitive sense not knowing the reason for std::filesystem::path and
using the other paths.

Could make some documentation that explains the mechanisms of Path and what exactly it's invoking. Other developers won't really need to know if it's cross-platform or not and can happily carry on.

OR, what about making a class Path that handles the boiler-plate of conversion from std::string to std::filesystem::path, and if that boiler-plate is done successfully then it solves the problem at its root.

Are you SET on changing something likePath path to std::filesystem::path pathto be explicit of what the object is/don't want to mess around with any naming convention benefits of keeping the existing Path

Both routes I think are effective and that's the real question.

06:38:47
@agge3:matrix.orgagge3 *

Hello everyone! I'd like to work on the project Nix Internals: Use std::filesystem::path for Path. I see there are others already interested in that project, so I do not mean to bring unwanted competition. Nevertheless, C++ is my preferred language, so I really like the idea of following cxx 17 standards. Also, I've had some experience with cross-dev unix-to-windows (a nightmare), and I like the mission goal of bringing anything unix to windows (hence, the cross-dev). My experience with nix is setting up containerized dev environments to keep things consistent for multiple users, so I really believe in nix and think it's a highly effective tool for something that is otherwise a complete nightmare.

I could have more experience because I don't daily-drive. My platform is using nix package manager on gentoo w/ openrc init. Can operate in a more integrated environment (nixos, systemd + nix) if this is a problem.
Skills are C, C++, sh, (some) lisp, (some) perl

Sorry for being a little late to the party.. chaotic last weeks - open to other suggestions, if we're trying to spread proposals

06:39:38
@nuko:shimeji.cafe@nuko:shimeji.cafe changed their profile picture.07:42:36
@janik0:matrix.orgJanik (they/them)Hey everyone, it's awesome to see all the people interested in working on Projects, but I have to warn you we will only be able to accept two, maybe three project candidates because this is the first time the NixOS foundation participates in google summer of code, so I can highly recommend you to also apply to other orgs if you want to participate in GSoC.16:20:34
@rafaelsgirao:matrix.org@rafaelsgirao:matrix.org

A question about the pnpm idea: was this PR taken in mind? https://github.com/NixOS/nixpkgs/pull/290715
Is this considered a valid approach to pnpm dependency locking, or did the idea author have something else in mind?

I'm asking this because the idea's description states:
(...) this should be a non problem for us if we use a fod fetcher like the nixpkgs npm tooling. Some packages use a fetcher without strong reproducibility guarantees.
Which IMO seems to describe the FOD created in that PR

17:03:33
@rafaelsgirao:matrix.org@rafaelsgirao:matrix.org *

A question about the pnpm idea: was this (draft) PR taken in mind? https://github.com/NixOS/nixpkgs/pull/290715
Is this considered a valid approach to pnpm dependency locking, or did the idea author have something else in mind?

I'm asking this because the idea's description states:
(...) this should be a non problem for us if we use a fod fetcher like the nixpkgs npm tooling. Some packages use a fetcher without strong reproducibility guarantees.
Which IMO seems to describe the FOD created in that PR

17:03:50
@rafaelsgirao:matrix.org@rafaelsgirao:matrix.org *

A question about the pnpm idea: was this (draft) PR taken in mind? https://github.com/NixOS/nixpkgs/pull/290715
Is this considered a valid approach to pnpm dependency locking, or did the idea author have something else in mind?

I'm asking this because the idea's description states:
(...) this should be a non problem for us if we use a fod fetcher like the nixpkgs npm tooling. Some packages use a fetcher without strong reproducibility guarantees.
Which IMO seems to describe the FOD created in that PR

If it's a valid approach and therefore could be used as starting ground for e.g a makePnpmPackage function of sorts, is this idea still on the table for GSoC?

17:05:21

Show newer messages


Back to Room ListRoom Version: 10