#dev 2016-12-29

2016-12-29 UTC
tantek, KartikPrabhu, KevinMarks_, AngeloGladding and miklb joined the channel
#
tantek.com
edited /next-iwc (-1) "Planning!"
(view diff)
KevinMarks_ joined the channel
tantek, myfreeweb_ and prtksxna joined the channel
#
petermolnar
https://etherpad.indieweb.org/micropub -> "ReferenceError: require is not defined in https://etherpad.indieweb.org/micropub (line 541)"
#
petermolnar
!tell aaronpk https://etherpad.indieweb.org/micropub gives "ReferenceError: require is not defined"
#
Loqi
Ok, I'll tell them that when I see them next
#
cweiske.de
edited /WhatsApp (+167) "/* Criticism */"
(view diff)
cweiske, myfreeweb, petermolnar, chrisaldrich1, chrisaldrich_, chrisaldrich and pfefferle joined the channel
#
Loqi
ok, I added "http://cweiske.de/tagebuch/pager.htm" to the "See Also" section of /pagination
#
loqi.me
edited /pagination (+39) "cweiske added "http://cweiske.de/tagebuch/pager.htm" to "See Also""
(view diff)
#
Loqi
[Christian Weiske] A good pager
#
@call_user_func
[New]pfefferle/wordpress-semantic-linkbacks Semantic Linkbacks for WebMentions, Trackbacks and Pingbacks https://packagist.org/packages/pfefferle/wordpress-semantic-linkbacks
(twitter.com/_/status/814473577214812160)
#
GWG
pfefferle, see you have been busy
#
GWG
pfefferle, I think we continue to get closer to a new release.
#
pfefferle
GWG sure!
#
GWG
I find that exciting.
#
GWG
In 2017 I want to look at exotic and deleted posts at some point
#
aaronpk
petermolnar: what browser? it looks fine for me in osx chrome
#
Loqi
aaronpk: petermolnar left you a message 3 hours, 39 minutes ago: https://etherpad.indieweb.org/micropub gives "ReferenceError: require is not defined"
pfefferle joined the channel
#
petermolnar
ff, though I haven't checked if ublock is blocking anything, which might be the case
#
petermolnar
yep, that was the case, sorry for the false alarm
pfefferle joined the channel
#
ben_thatmustbeme
aaaand i have started rewriting my entire site in laravel
#
ben_thatmustbeme
because if you want to really learn a thing, might as well do multiple projects in it
#
aaronpk
oh? wow
#
aaronpk
i use laravel too!
#
aaronpk
tho i bet i'm using an old version now
#
ben_thatmustbeme
its on 5.3 now, not actually sure how to tell what version you are on
#
aaronpk
i'm on 5.2.something based on composer.json
#
aaronpk
i should probably update soon so i don't get two versions behind
#
Loqi
I agree
#
ben_thatmustbeme
they moved some file locations around
#
aaronpk
would that matter if i'm using composer?
cweiske joined the channel
#
ben_thatmustbeme
the learning vid i was using was 5.2, and i'm working in 5.3 so i actually have been watching the changes between them as well
#
ben_thatmustbeme
i would think so, it doesn't know how to migrate it as far as i know
#
ben_thatmustbeme
the routes file moved to a completely new location
#
aaronpk
oh, like where it expects *my* files to be?
#
aaronpk
ugh this is why i hate frameworks
#
aaronpk
just make a decision and stick to it plz. why change everything every point release.
#
aaronpk
oh there's a 5.4 now
#
ben_thatmustbeme
oh, yeah, thats just the master branch
#
ben_thatmustbeme
its not released yet
gRegorLove joined the channel
#
aaronpk
well at least they do a good job of documenting the changes
#
aaronpk
oof yeah i should set aside some time for this. looks like it's going to be hard to have to jump two versions, so gotta get this one out of the way now
#
aaronpk
cool, definitely gonna use that to get iOS notifications about webmentions!
#
ben_thatmustbeme
thats pretty neat
#
ben_thatmustbeme
my only dislikes of laravel thus far has been that their ORM conventions don't match up with what i have always used as convention
#
ben_thatmustbeme
posts.post_id or posts.id
#
ben_thatmustbeme
but the relation setup thankfully lets you customize that
#
aaronpk
ah i'm not using their ORM, just the DB wrapper
#
ben_thatmustbeme
yeah, i am going to be using that in a bunch of spots too i'm sure
pfefferle joined the channel
#
aaronparecki.com
created /responses-naming (+4821) "move old discussion to its own page"
(view diff)
#
aaronparecki.com
edited /responses-naming (+1690) "move the rest of the history section too"
(view diff)
#
aaronparecki.com
edited /responses () "(-6339) moved discussion to its own page [[responses-naming]]"
(view diff)
#
aaronpk
ahh much better
#
aaronpk
now that page doesn't look like a trashfire
KevinMarks joined the channel
#
cweiske
the laravel db wrapper doesn't abstract away.
#
cweiske
I tried to use db migration code that worked fine on mysql on sqlite and had to change every single of the ~50 migrations
#
cweiske
to make them work on sqlite
#
cweiske
and the whole laravel thing is a big bunch of mud
#
Loqi
[Christian Weiske] Dependency injection: Because var_dump should be useless
#
cweiske
and don't try to find out what a model class actually does and which methods is has
#
dansup
lol
#
cweiske
the __call() and __callStatic() shit they are doing is .... I have no words for it
#
dansup
cweiske, yeah the migrations aren't magic. You can't call json() on a mysql db but you can on postgres
#
cweiske
the model doesn't have this method? call the method on the query builder!
#
cweiske
the query builder doesn't have this method? call the method on the database layer!
#
dansup
cweiske, the query builder was written before the active model ORM
#
cweiske
oh, you have *two* database connections and the wrong db layer is used? haha, bad luck!
#
Loqi
rofl
#
cweiske
good luck debugging a couple of hours!
#
dansup
you must be really special
#
cweiske
I am very special
#
dansup
if you can't read docs
#
dansup
laravel has wonderful documentation
#
cweiske
yes, I wondered often
#
cweiske
dansup, I'm talking about bugs here. bugs in laravel
#
aaronpk
Yea I'll stay away from their model classes
#
cweiske
some software is easy to debug
#
cweiske
and then there is laravel
#
dansup
"Laravel makes interacting with databases extremely simple across a variety of database backends using either raw SQL, the fluent query builder, and the Eloquent ORM. "
#
cweiske
.. until you actually try it
#
dansup
I have used laravel a lot
#
cweiske
surely with different backends at the same time
#
cweiske
and multiple database connections
#
cweiske
at the same time
#
dansup
different backends? Why would you have multiple databases? Why not one db and one cache
#
Zegnat
I have yet to see a framework that handles multiple db connections smoothly without the user having to beat the framework with a bat. They are all build on the assumption of 1 storage method and then be done.
#
cweiske
please go back playing in the children's room
#
dansup
cweiske, you should be using mongodb if you want webscale
#
Zegnat
dansup, work example? For data segregation clients demand separate databases for their confidential data. But if you don’t want core application data to be duplicated amongst all those databases you will have at least 2 connections at all times: 1 to your application db, 1 to your client db.
#
aaronpk
cweiske: be nice
#
Zegnat
At least that is why we ar stuck on having multiple databases at work.
#
aaronpk
Makes sense
#
dansup
Zegnat, oh I see, yeah I have never had to separate data like that
#
Zegnat
They are definitely edge-cases, but also not unheard of. They are just not the type of applications people have in mind when building a PHP framework.
#
petermolnar
I nearly jumped on Laravel, then I had to learn Perl and Python for work. I think destiny made good calls here :)
#
petermolnar
joke apart, multiple db connections in PHP is already a problem
#
petermolnar
eg. php-fpm with sqlite...
#
petermolnar
and that's one db - multiple connections
#
petermolnar
I tried to move WordPress on to sqlite, to at least get away from MySQL; it always died on file locks
#
petermolnar
and I didn't even try to use multiple dbs
#
petermolnar
which is usually a must, once you enter sharding land
#
petermolnar
by the way, isn't JSON supported in MySQL 8?
#
aaronpk
8? wow i have a ways to go before i upgrade to that
#
petermolnar
8 is the dev branch
#
aaronpk
ah, i'm running 5.7 on my laptop but not on my server yet
#
aaronpk
5.7.14
#
petermolnar
5.7.8+ for JSON
#
dansup
petermolnar, i meant mariadb, I dont use mysql :)
#
petermolnar
yeah, right. Poke me when it doesn't crash every other day.
#
aaronpk
oh yeah i use mariadb
gRegorLove joined the channel
#
cweiske
we're using multiple databases to keep canonical data in a relational database (mariadb) that's managed via the backend API only, and have a crate.io store for the frontend - which contains enriched data sets optimized for frontend use cases, so that web pages only have to do a few queries instead of multiple complicated ones
#
cweiske
everytime canonical data change, enriched data sets are written into crate
#
cweiske
another case we have is integration testing. spinning up a dozen services on our CI setup is not what I want, so I prefer not to start a full MariaDB/MySQL daemon on each test run. simply exchanging the database adapter with an SQLite one is much easier
#
cweiske
I really miss the webscale videos
#
cweiske
they're long gone
#
GWG
I am thinking of solving my problems by copying aaronpk
#
GWG
They say imitation is the sincerest form of flattery.
tantek, pfefferle, chrisaldrich, chrisaldrich1, chrisaldrich_ and barryf joined the channel
#
vanderven.se martijn
uploaded /File:just-posted-for-the-first-time-in-a-while.png "[[Facebook]] notification of a friend’s activity."
#
vanderven.se martijn
edited /Facebook (+106) "/* Activities Examples */ Alice just posted for the first time in a while."
(view diff)
tantek, KartikPrabhu and pfefferle joined the channel