<libsys>
I tend to use require to make Sequel aware of classes when moving from a parent to a child and vice versa. But the console output yells at me "warning: loading in progress, circular require considered harmful". How to avoid circular dependencies on models when you want to have access to childs from parents and from parents to childs?
tenabl71 has quit [Remote host closed the connection]
weaksauc_ has joined #ruby
_whitelogger has quit [Ping timeout: 246 seconds]
_whitelogger has joined #ruby
Laplace has joined #ruby
Manouchehri has joined #ruby
hansolo has quit [Ping timeout: 244 seconds]
hansolo has joined #ruby
Sheilong has quit []
duderonomy has joined #ruby
szkl has quit [Quit: Connection closed for inactivity]
<John_Ivan>
ox1eef_, it isn't about deciding where to put things in the filesystem.
<John_Ivan>
ox1eef_, I have lots of music, videos, images, etc
<John_Ivan>
trying to decide how to organize them to suit my criteria such as finding the good ones, making it easy to store, etc
<ox1eef_>
Then.. /usr/local/share/audio, /usr/local/share/videos - or look into the XDG spec.
<ox1eef_>
$XDG_DATA_HOME defines the base directory relative to which user-specific data files should be stored. If $XDG_DATA_HOME is either not set or empty, a default equal to $HOME/.local/share should be used.
<leftylink>
it's pretty much just one directory per group or member the video is about
<leftylink>
or event, if it's an event I personally attended and took videos of
<leftylink>
well, they're all in ~/videos
<leftylink>
pictures are pretty much the same way, just ~/pics/[group or member name]
<John_Ivan>
;/
<leftylink>
oh if it's an event the date of the event is in the directory name of course
<ox1eef_>
Follow XDG, or standard filesystem layout. Use groups for permissions. Use 'find' for finding what you want.
<John_Ivan>
ox1eef_, my issue is more akin to a library classification system rather than a filesystem one though
<John_Ivan>
I don't know if putting things in ~/pics/[group/member] name is gonna be sufficient because I'm interested in the most popular groups/members as well as certain criteria from each particular one.
<ox1eef_>
It sounds like you want to add file metadata then.
<John_Ivan>
some pics are also better than others, not just amongst groups or members.
<John_Ivan>
ox1eef_, yeah. but I don't think I have the availability to do that.
<ox1eef_>
Then install iTunes or whatever.
<ox1eef_>
IIRC it will fetch the metadata for you.
<John_Ivan>
ox1eef_, maybe for things that actually are searchable. i have youtube videos downloaded. they won't get any metadata. I have to do it manually. which I don't mind. I just don't have the availability to.
<John_Ivan>
not enough tools/good enough tools. hence why I'm trying to think of a good hierarchical system to best do with what I have as the basic folder system.
FetidToot has quit [Quit: Ping timeout (120 seconds)]
FetidToot has joined #ruby
___nick___ has quit [Ping timeout: 260 seconds]
_ht has quit [Remote host closed the connection]
infinityfye has quit [Quit: Leaving]
shokohsc5 has quit [Ping timeout: 244 seconds]
shokohsc5 has joined #ruby
FetidToot has quit [Quit: Ping timeout (120 seconds)]
FetidToot has joined #ruby
<ox1eef_>
Create your own tool if nothing fits.
gr33n7007h has quit [Ping timeout: 245 seconds]
gr33n7007h has joined #ruby
gr33n7007h has quit [Ping timeout: 244 seconds]
gr33n7007h has joined #ruby
tomtmym has quit [Quit: Gone.]
ruby[bot] has quit [Remote host closed the connection]