<infinisil>
drakonis: you have been blessed with the chance of helping iqubic, good luck lol
<Drakonis>
lol
<Drakonis>
i know, right?
<infinisil>
I probably shouldn't make any fun of them, because I'm starting to think they have a serious mental problem. It's not normal to be *so* unable to learn anything
<Drakonis>
i wish i was an channel ops
<Drakonis>
so i can challenge people into doing things
<infinisil>
I should add a thing to my bot that allows user a to ask something of user b
<infinisil>
,ask b to echo foo
<{^_^}>
b to echo foo: Just ask your question. It's the best way to know if anybody can help.
<infinisil>
Then everytime b starts their message with "a:" the bot will reply with "Did you echo foo already? Say Done to indicate that"
<infinisil>
(Haha probably not, kinda mean, but that would be a bit funny and especially useful for iqubic)
<Drakonis>
that'd be quality.
<Drakonis>
potty training for new packagers
<Drakonis>
infinisil, you broke builds :(
<Drakonis>
everything wants to build llvm atm
<Drakonis>
i'll just go to sleep and let that fix itself
* joepie91
is making progress with his data modeling library
<Drakonis>
noice, which language?
<joepie91>
JS
<Drakonis>
oic
<joepie91>
drakonis: tl;dr library that lets you specify a canonical definition of the persistent data types in your application, from high-level types to validation rules / regexes for strings / etc., as well as relation mechanisms
<Drakonis>
v. nice
<joepie91>
all of that is then consistently strictly validated
<joepie91>
also, traits :P
<Drakonis>
hmm, i don't know if i should submit the pull requests i have pending or not
<Drakonis>
with ofborg being unavailable, i feel i should wait until tomorrow to do it
<infinisil>
Drakonis[m]: first of all it wasn't me that broke the builds, second the builds aren't broken, don't blame me for something I didn't do and didn't happen..
<infinisil>
,tell drakonis first of all it wasn't me that broke the builds, second the builds aren't broken, don't blame me for something I didn't do and didn't happen..
<{^_^}>
infinisil: I'll pass that on to drakonis
<ldlework>
infinisil: a version of your recursive auto-importer but for overlays would be neat
<ldlework>
hopefully you understand what i mean by that
<ldlework>
i'm looking at the existing code and i kind of understand it
<ldlework>
but not sure how to go about actually importing each module
<joepie91>
though mostly done, and lots of tests...
<joepie91>
cc ldlework samueldr
<joepie91>
see tests for some examples :P
ekleog has quit [Quit: WeeChat 2.0]
ekleog has joined #nixos-chat
pie_ has quit [Ping timeout: 244 seconds]
__monty__ has quit [Quit: leaving]
sir_guy_carleton has joined #nixos-chat
pie_ has joined #nixos-chat
ekleog has quit [Quit: WeeChat 2.0]
ekleog has joined #nixos-chat
pie_ has quit [Ping timeout: 260 seconds]
<andi->
Python and JSON document parsing... I am hating it. Why is there no solid deserialization Framework aka rust's serde? :/
<makefu>
andi-: python shelve maybe?
<andi->
does that implement JSON as storage format?
<andi->
Lasdt time I checked that was `db` (berkley) etc..
<makefu>
serde looks pretty great, maybe there is nothing like this in python right now
__monty__ has joined #nixos-chat
<andi->
I might start implementing something leightweight for this project. It is really upsetting to see also those errors..
<makefu>
what i do to serialize is normally just: def load(dbfile): return json.load(open(dbfile)) and the respective save function
<makefu>
maybe try-catch around
<makefu>
but this of course only works for primitives and not classes
<andi->
I only have primitives but would like to have things as namedtuples since it is read-only..
<andi->
with nested namedtuples
<andi->
so I do reduce the risk of Attribute Errors etc..
<andi->
At least those should be cought during deserialization not deep in to business logic..
<makefu>
maybe you could try to use type hints in python to avoid these errors
<andi->
I have introduced type hints everywhere. The problem is that JSON mostly will be annotated like Dict[str, Dict[int, List]]... nobody is going to do that for the entire document. :)
<andi->
I also do not want to duplicate validation/documentation/implmentation too much
<makefu>
yeah
<andi->
especially since I have a bunch of related services. I am also working on establishing internal libs to share those things..
snajpa has quit [Max SendQ exceeded]
snajpa has joined #nixos-chat
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos-chat
<tazjin>
any hotel recommendations (decent & not so far from the venue) for NixCon?
pie_ has joined #nixos-chat
sphalerite_ has joined #nixos-chat
tazjin has quit [Ping timeout: 240 seconds]
sphalerite has quit [Ping timeout: 240 seconds]
unlmtd[m] has quit [Ping timeout: 240 seconds]
NinjaTrappeur has quit [Ping timeout: 240 seconds]
tazjin has joined #nixos-chat
<andi->
tazjin: try #nixcon ;)
<tazjin>
andi-: I have a suspicion the overlap with this channel is very high ;-)
<andi->
well yes but it is more on topic and less noisy
__monty__ has quit [Quit: leaving]
Drakonis has joined #nixos-chat
<Drakonis>
infinisil, my mistake
<{^_^}>
drakonis: 7 hours, 14 minutes ago <infinisil> first of all it wasn't me that broke the builds, second the builds aren't broken, don't blame me for something I didn't do and didn't happen..
__monty__ has joined #nixos-chat
Sonarpulse has quit [Ping timeout: 265 seconds]
Drakonis has quit [Read error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number]
Drakonis has joined #nixos-chat
Drakonis has quit [Remote host closed the connection]
NinjaTrappeur has joined #nixos-chat
Sonarpulse has joined #nixos-chat
sir_guy_carleton has quit [Quit: WeeChat 2.0]
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos-chat
Drakonis has joined #nixos-chat
<ldlework>
infinisil: what country are you in?
<infinisil>
Switzerland :)
<ldlework>
cool
<infinisil>
You?
<ldlework>
US
<infinisil>
I see
<ldlework>
infinisil: I got pretty far with using unstable qtile through configuration alone, but there were some strange issues. clever was in a very helpful mood last night :)
<ldlework>
infinisil: is it cold in Switzerland?
<infinisil>
It is really hot recently, as in most of europe I think
<ldlework>
How hot is really hot?
<ldlework>
:)
<infinisil>
Up to like 33 degrees!
Drakonis has quit [Remote host closed the connection]
<ldlework>
That's like 90F or something?
<infinisil>
> cToF = c: c * 1.8 + 32.0
<{^_^}>
cToF defined
<infinisil>
> cToF 33
<{^_^}>
91.4
<infinisil>
Apparently!
<LnL>
yeah, it's also been really hot here
lassulus has quit [Ping timeout: 240 seconds]
<ldlework>
lol
<ldlework>
90 is pretty hot
lassulus has joined #nixos-chat
<LnL>
ideal weather to have my computer blow out some hot air while testing my pr