<aleph->
gchristensen: zoneminder set up to stream it's videos to a facial recognition daemon when it pings a person on it's cameras which does facial recognition and then after getting a match hits a personal info/social graph daemon to throw up info on a person
<aleph->
Social graph one has been fun, just need a way to get around being able to scrape data without having to just create fake accounts and use a headless browser to scrape data
<samueldr>
gnome-disks is actually quite useful in mounting a disk image's partitions, it can handle the commands I never remember to attach /dev/loopXp* from the image file
<gchristensen>
nice
<aleph->
Hmm I need to go learn some sql
<aleph->
I figure sqlite will work for a db
<gchristensen>
sqlite is great if you have one reader/writer
<gchristensen>
<3 sqlite
<aleph->
gchristensen: Yeah trying to think of a better way to scrape data off social media and I figure I should finally store it in a proper db
<gchristensen>
yes though if you want a *graph* you should probably use a graph database
<aleph->
Probably. Realistically, I should split it into a few dbs. One for general info on a person/node. A second for the social graph itself
<aleph->
Hmm, maybe instead I should just create a fb app and get folks to install it.
<aleph->
Eh could just go with a headless browser scraper still...
<aleph->
But that's slow.
<clever>
samueldr: `man losetup`
<samueldr>
clever: right, and if I don't remember that it's named man^W losetup?
<samueldr>
:)
<samueldr>
used too infrequently
<clever>
samueldr: my memory is just weird, i use it less then once a year, yet i can remember the cmd
<samueldr>
there are things I can remember flawlessly, but dang it if losetup is not one of those :)
<clever>
samueldr: ive read enough kernel source code, that i can instantly identify parts of the linux kernel, when a tv show flashes it as an example of "hacking"
<Shados>
aleph-: Although, given infinisil's article link earlier, perhaps storing graphs in a relational db wouldn't be so odd ;).
<aleph->
Hmm why? algebra maps well to relational dbs?
<aleph->
I forget if they have an algebra to them
<aleph->
I think theres a relation algebra?
drakonis has quit [Ping timeout: 245 seconds]
drakonis has joined #nixos-chat
{`-`} has joined #nixos-chat
endformationage has quit [Quit: WeeChat 2.4]
<Shados>
aleph-: Both it and relational algebra are built on top of set operators (with some restrictions in the relational case)... although on further thought, in practice sql has enough differences that it might not be that viable
<aleph->
Nod nod
Myhlamaeus has joined #nixos-chat
MichaelRaskin has quit [Quit: MichaelRaskin]
<kalbasit>
I'm curious, what's the size of cache.nixos.org?
<kalbasit>
I'm able to pull from the cache for nixos-15.09, so I'm expecting some really large size :O
<lassulus>
we are currently in the planning phase (what do bring, if we want to have talks at the village, if they are streamed/saved, if we want a big tent, etc...)
<etu>
lassulus: Cool, I have my own village that I go with
<etu>
lassulus: You should add a tag to the village (nixos)
nckx has quit [Ping timeout: 248 seconds]
nckx has joined #nixos-chat
__monty__ has joined #nixos-chat
drakonis has joined #nixos-chat
<joepie91[m]>
I made flatbread
<joepie91[m]>
it's nice
<samueldr>
.o( is tortilla a flat bread? )
<Taneb>
(is pizza?)
<joepie91[m]>
samueldr: yes, actually!
<joepie91[m]>
but in my case, it was icelandic flatbread
<drakonis>
they point out use cases in a compelling way
<__monty__>
Marketing's only effective if it gets eyeballs.
<drakonis>
they're getting more eyeballs
<__monty__>
I don't mind though, I see guix marketing as surrogate nix marketing : )
Myhlamaeus has joined #nixos-chat
<__monty__>
Are they?
<drakonis>
well, they have been posting more often
<__monty__>
I know they were a lot more present at FOSDEM this year for example. But a couple years back it was nix.
<drakonis>
at a rate of two articles a month
<__monty__>
You can post twice a day. Doesn't mean you're getting eyeballs.
<drakonis>
on average
<drakonis>
i'd suggest a nix in a nutshell post covering the use cases
<drakonis>
for when flakes comes out
pie_ has quit [Ping timeout: 272 seconds]
<drakonis>
the big new feature that's likely to bring more attention to nix
<drakonis>
__monty__, they keep getting posted to other websites
<__monty__>
I'd be sad if people started focusing on nix v. guix. It should be nix+guix v. the world.
<eyJhb>
Anybody know of a nice way, to execute multiple commands in e.g. vim/ranger, something? E.g. I wnat to make a file with one command for each line, and then execute them
<__monty__>
Sounds like a shell script?
<samueldr>
maybe :source for vim
<samueldr>
ranger seems to also have source
<samueldr>
(if it is vim/ranger commands you want to run, and not system commands)
<__monty__>
Maybe you're looking for a way to edit the current command in an editor? Fish does that with `alt-e`.
<eyJhb>
Might need to switch to fish at some point
<eyJhb>
Now I am having trouble with vim not replacing in the visual selected block, bur rather the selected lines
<__monty__>
Substitute's syntax is line based. I run into this frequently too.
<__monty__>
Work around this by adding `\%V` to the search pattern of your substitute command.
<__monty__>
`:s/\%Vmatch/replacement/flags`
<eyJhb>
Fixed it! - But I was really hoping for something like :bulkrename, but just for commands... Endeed up creating a .sh script to do it
<eyJhb>
If anybody have a nice and sleak solution for copying files in the format <folder-name>/writeup.md , to <folder-name>-writeup.md, would be nice
<__monty__>
eyJhb: You could try ranger's :flat 2?
<__monty__>
You can abuse :bulkrename to execute a random script btw. Just edit/erase all the mv commands you get for confirmation.
endformationage has quit [Ping timeout: 272 seconds]
manveru has quit [Ping timeout: 252 seconds]
pie_ has joined #nixos-chat
manveru has joined #nixos-chat
arguser has quit [Ping timeout: 256 seconds]
Guanin has joined #nixos-chat
endformationage has joined #nixos-chat
drakonis has quit [Read error: Connection reset by peer]
__monty__ has quit [Quit: leaving]
<Shados>
eyJhb: nixpkgs.file-rename (perl-rename elsewhere, usually)! Lets you do 'mv' operations by regex.
<Shados>
So something like `rename -v 's|^([^/])+/(writeup.md)$|\1-\2|' */*` would do what you want (not that I've tested it; -n for a dry run).