« first day (2067 days earlier)      last day (2882 days later) » 

9:00 PM
@FilipDupanović I am using mutexes because I don't have control over the caller and my engine supports async/await natively, so why even bother with callback-ish stuff.
 
^ if you want some reading
!!afk chasing groundhogs with a stick. those sumbitches click at you when mad.
 
@rlemon i understand pythagoras
but thanks for the link ^^
 
user1596138
@rlemon lol
 
user1596138
Do the jug thing @rlemon
 
user1596138
Pour a huge jug of water down the hole and wait for it to swim into it.
 
user1596138
9:02 PM
Wait I think that's gophers..
 
@rlemon well, i don't know what wizardy you used but it works better than mine :3
 
@bitten rlemon is afk: chasing groundhogs with a stick. those sumbitches click at you when mad.
 
i'm still calling it getLineFromAngleAndthings too
 
echo {1..3}{x..z}" +" "..."
     # 1x + 1y + 1z + 2x + 2y + 2z + 3x + 3y + 3z + ...
who thought that syntax made sense?
 
the quotes are off, no?
ah no, I see
which language is that? bash?
 
9:17 PM
@GNi33 hah that's awesome!
 
@FlorianMargaine yeah, from the features they added in 3.0
@Loktar have you seen necropolisgame.com ?
 
that's pretty terrible, yeah :/
 
nope, that looks pretty awesome @ssube
 
@FlorianMargaine it expands to something like range(1, 3).perm(range('x', 'z')).join(' +') + '...'
 
added to wish list
 
9:18 PM
@ssube have you seen the latest project I started? :D github.com/ralt/conet/tree/master/dhcp-server
@ssube yeah, understood, still pretty bad
 
@FlorianMargaine you're writing a DHCP server?
 
why do you do this to yourself? :P
 
it's fun!
you stay away from networking, I embrace it :P
 
> networks
> fun
:|
I should probably learn how it all works, but not while learning lisp
although my list right now is Ansible and docker-compose
 
9:25 PM
meh
I started writing an ansible-like too at some point :D
(I should get back to that at some point, the ideas were pretty nice)
(if I find the project... let me try to find it)
right
the idea was to create a debian package (rpm can be supported later) for each node
 
I remember you talking about that way back
 
and each node just does an apt-get install $(hostname)
heh, 8 months ago
time flies
 
I'm kind of starting to like YAML, dirty as the format itself is, cause it's really nice for smaller list/map constructs
although I suppose JSON would work just as well
 
I like JSON as a data format, I prefer YAML as a config format, yeah...
much less clutter...
although I'm on the fence with ini when the data structures allow it
 
Should I buy this? I'm one click away from checking out...
I thought amazon used to onebox
 
9:32 PM
does anyone have any good docker tutorials they could pass along? specifically those that deal with continuous delivery with a system like jenkins? sorry for the offtopic
 
Why does it never work when I do it?
 
@ndugger https
 
Ah
 
@FlorianMargaine INI doesn't offer anything YAML doesn't have
except no indentation
 
9:33 PM
that
it doesn't care about spaces
 
@NathanJones the gitlab CI docs are pretty good on getting a docker-ized CI setup
 
which is nice for config files, because YAML can be a real bitch
 
@FlorianMargaine I use plenty of YAML heredocs in my Hiera stuff
 
@ssube thanks i'll check it out
 
@NathanJones just skip the gitlab specific stuff
 
9:34 PM
@ssube yeah, so do I, but now and then I end up with 3 spaces instead of 4 and boom
 
docker's getting started stuff is also ok
 
(hopefully our CI catches this kind of stuff)
 
@FlorianMargaine you could run lint/tests :P
we don't really have CI set up for puppet yet, tbh
 
@ssube I do, but it's still a pain
 
testing the modules is going to be a mess
 
9:35 PM
@ssube we do, mostly testing that the yaml parses though
to avoid stupid breaks
 
@NathanJones also, CI is super on-topic and you managed to ask that right when the two infrastructure people were around, so gj
 
@FlorianMargaine that and puppet's lint tools seem to cover a lot
 
@ssube yup
we do some more like testing that some files are present when the context requires it, this kind of stuff
 
Where's @Loktar?
 
9:36 PM
@ndugger planet earth
 
no u
 
I am too, yes
 
i'm feeling really overwhelmed getting into infrastructure/devops stuff
 
@Josiah don't know where his hole is
he comes into my yard from the fence (which is a stupid fence and I can't block completely)
 
mostly because i've never worked with CI
 
9:38 PM
@Josiah caught him in the garden so I chased him to under the wheel barrow where he just sat and clicked at me (I was like a foot away with my camera)
 
@NathanJones I think you have a way to just use normal jenkins, and configure it to use a docker container to run your builds
 
so grabbed a stick and poked / slapped him in the ass until he pissed off (took a few hits, he'd run a foot then turn and click more)
 
so you just need to setup docker images properly... which means just going through the normal docker tutorials
@rlemon pics?
 
@NathanJones don't say devops, you're just embarrassing your manager
 
user1596138
@rlemon Buy a jack russel terrier
 
user1596138
9:40 PM
He will rip them apart lmfao
 
@NathanJones getting gitlab's CI up and running is super easy
much better than jenkins, IMO
 
@Josiah I'm going to let a cat loose next time. he's just a baby
 
teamcity is great for features, but allows/encourages a ton of bad practices
 
like the size of a small bunny
 
@NathanJones yup, jenkins has a docker plugin wiki.jenkins-ci.org/display/JENKINS/Docker+Plugin
but honestly if you're new to that kind of stuff, just go with normal jenkins
 
9:41 PM
@FlorianMargaine @ssube right, ok. i'm still wondering about high availability: how can i create a collection of reduntant app containers where i can take container1 down, update, bring up, then repeat with container 2, etc.
 
and install the packages you need for your builds on the jenkins box
 
@NathanJones that's containers, not CI
and it has to do with clustering, registering with a load balancer, etc
 
@rlemon noice
 
facepalm
 
9:42 PM
also, make sure you give docker its own partition, or it will screw you real quick
 
yeah, I don't see how high availability is related to CI
 
Kidnap it and train it to click morse code
 
maybe you meant Continuous Deployment?
 
then what does "continuous" mean?
 
nahh, bastard was eating my carrots and beans
 
9:42 PM
in this case
 
and not continuous integration?
 
had no interest in my peppers
 
@FlorianMargaine i think so
 
yeah, that's CD, not CI
 
@NathanJones CI = build each batch of changes, run tests, and make sure they're ready to go out. CD = send them out.
 
9:43 PM
in this case, just subscribe to platform.sh :D
 
@FlorianMargaine ohh did you see froggo?
 
@ssube ah
 
@rlemon niiice!
 
he's been in my pond since last year
he can get out quite easily. seems to be happy here
 
did you try kissing him?
 
9:44 PM
:P
 
To see if Lemon turns into a prince?
 
he chills in the plants / on the stone wall most of the day
 
@NathanJones check out HAproxy
put a health check in your app, have the proxy check it and balance traffic
 
in the winter (apparently) he hibernates in the mud at the bottom of the pond
 
9:45 PM
he just hangs out there by the wall? probably selling drugs
@NathanJones or nginx. :)
 
@ssube i'm already doing that. i just don't know how to orchestrate the update itself.
 
@NathanJones for the update, you need to shutdown all the web servers, freeze your db, update the code, unfreeze db, run migrations, open web servers
put a proxy in front of your web servers with a long connect timeout and you won't have any downtime if your migrations run fast enough
 
we're looking at maybe using rancher to help with this.
 
Ubi's "Steep" game looks really cool
Otherwise, their presentation was garbage
 
but seriously, you don't need containers for that...
 
9:48 PM
@FlorianMargaine ok, that brings me to a big question i've had about docker: when do you need it? what problems does it solve?
 
connecting vessels in space nvm, KSP is working again.
 
I mean, containers are nice, but (1) don't run docker in production unless you know it very well (2) you need a CD setup first, then you can switch to containers
for (1), you mostly need to know about the volume management
 
@ssube i'm sure i already do. or, maybe not. i am the closest thing to a "senior" developer here, which inspires Lovecraftian terror in me that is beyond words or comprehension
 
@NathanJones it lets you very easily replicate the complete environment between dev and prod, basically
 
@FlorianMargaine we're in a huge state of flux right now, so we're looking at options to make things better. moving some legacy PHP code to a python+django environment and we're about to start some big projects with it, so we figured some infrastructure change would be good.
 
9:52 PM
@NathanJones I'd seriously suggest you to use some sort of PaaS for that. I'm obviously biased since I work for one, but it'd let you avoid a lot of work.
 
google cloud.
 
that's a IaaS, not a PaaS
 
It does both.
 
er.. i think. If I understand App Engine
 
9:54 PM
App Engine is bordering the line, yeah
 
and container engine
 
dunno that one
 
@FlorianMargaine i kind of doubt mgmt would get behind us using a PaaS considering the money we spent on our virtualization infrastructure.
 
@Loktar just bought this: amazon.com/gp/product/B01FWI7J7G/… -- Building a computer finally! It's gonna take 2 weeks for the gfx card to ship, but I'm getting all the other parts this Sunday
 
how difficult is it to move an existing codebase to Docker vs using it from the onset?
 
10:01 PM
it's just a matter of how you configure processes
 
codebase wasn't the right word
 
Dockerify existing architecture, those are the words you're looking for in the JS chat room
 
@NathanJones fair enough :)
@NathanJones in your case, I'd make it work for your app, and move on. Don't try to go the generic orchestration route unless you have months to spend on this.
 
@FlorianMargaine make docker work, or make CI/CD work?
 
@NathanJones make CI/CD work
once that's up, you can make docker work
 
10:10 PM
Should I use mongoDB or MySQL if my app will never have to deal with big data?
 
mysql
it just werks
 
and mongoDB doesn't?
 
except when it doesn't
 
@ray9209 postgresql, obviously
 
^
psql4lyfe
 
10:15 PM
or oracle, if you're into that kind of fancy stuff
 
postgres has bells and whistles.
 
sqlite isn't bad I suppose
but I really like postgres
 
hehe, mysql 'just works'.
I call bullshit on that one.
sqlite and postgres are very different beasts..
opposite sides of the spectrum
 
@rlemon if you have <10 concurrent users, yeah
 
yea ofc, but sqlite isn't bad at all
 
10:17 PM
(maybe even less)
 
@FlorianMargaine well it is lite
 
@rlemon yeah, sqlite is a great piece of engineering
 
it works wonders on the small embedded system I use
 
@FlorianMargaine :memory: could scale more (shouldn't it?)
 

« first day (2067 days earlier)      last day (2882 days later) »