« first day (1849 days earlier)      last day (3090 days later) » 
00:00 - 19:0019:00 - 00:00

12:18 AM
is anyone against having a kind of modifier to make 'switch' strict? this sort of thing really pisses me of 3v4l.org/IQb7p
 
@marcio just cast the damn thing before you pass it to switch?
like an explicit (string) $i ?
 
it would help if casting rules weren't so strange.
 
hmm?
 
see the var_dump(0 == 'x') edge case.
 
yeah, as said, explicit cast first^^
 
12:25 AM
switch($i) { declare(strict_types=1);
   ...
}
J/K
 
:-D
 
We just need match case instead of switch case :D
 
case === 'x':
case really really 'x':
 
12:45 AM
case really seriously for real this time no fucking around 'x':
 
Morning @Sherif :-)
 
Mornings :)
E_NOT_AT_ALL_EXCITED_ABOUT_THIS_PROJECT
 
what project?
 
Something for work I have to start on Monday. Not really too happy about some of the choices made here :/
I've given in to "it is what it is" syndrome.
 
I assume you're not allowed to go more into detail?
 
12:49 AM
It's a message queue using mongodb, do you really wanna know?
 
@Sherif I'm not going to sleep soon…
 
It's really a God damn nightmare is what it is.
This is one of those scenarios when everyone wants to throw their "random technology stack" hat into the ring because they've been allowed to work an legacy system that needs "revived".
So it's like "OK let's use Mongodb because cool" or "Let's use rabbitmq because awesomesauce"
 
and what's about the rational point?
 
Exactly
 
o/ morning
 
12:52 AM
Zero thought put into this and of course I'm going to be the one to end up maintaining it after everyone else smears it with shit first.
E_NOT_AT_ALL_EXCITED_INDEED
 
@Sherif is it about your coworker making bad decisions?
 
More like a lack of decisions, really.
Cow-boy coding
 
working with DB oriented developers. meh
 
I find that perfect decentralization is one of the hardest things to do. We usually end up having a master somewhere…
 
@Sherif so it's not greenfield?
@bwoebi what's the context?
 
1:01 AM
@andho What's greenfield?
 
@Sherif completely new project without any current code base.
 
@andho nothing in particular, just thinking out loud…
 
@andho No, this is an existing code base already in production, but it's quickly falling apart at scale. Single points of failure, poor design, unmaintainable legacy code nightmare, you name it...
 
Working on aerys … and then and when I begin thinking too big…
 
@bwoebi When you think about it decentralized systems are not much different than centralized systems. You have points of failure you want to eliminate with redundancy, and you have interoperability you want to maintain with good abstractions. The question is who is designing such systems, not necessarily what controls them.
Centralized systems can be just as difficult to maintain as decentralized ones when their abstractions are poor.
Of course sans the operations overhead :)
 
1:07 AM
@Sherif The point is when you have that much machines that you can't just broadcast, but need to send updates to just a few hosts without having single points of failures. Basically a bit like how the Internet routing is propagated…
 
@bwoebi Sure, caching can be an abstraction.
 
how is that related to caching?
caching usually means that there exists a master copy which gets cached…
 
hmm, for a moment there I read that as DNS propagation.
 
nah
 
heh
 
1:09 AM
@Sherif the way I see it, at least you have distributed complexity
 
rather BGP propagation
 
@bwoebi Still involves some caching, but my point was that good layers of abstraction make it easy to change the underlying implementation without changing how other parts of the system rely on it.
Which is just good architecture.
 
@Sherif not quite. with BGP all copies are equal, no masters there?
 
Isn't there some kind of "trusted" ANSs or something?
 
Not that I'd know?
 
1:12 AM
I mean I see your point, but master/slave relationship isn't exactly what I'm talking about. You surely will need some level of centralization, but the idea is to still build up redundancy even if for fail-over purposes.
Surely nothing can stay perfectly centralized.
 
you mean decentralized?
 
that
 
why not?
 
Probably because we're not always certain of how we're going to scale things when we're building them. We always start off small and at a small scale it's easier to build centralized systems.
Peer-to-peer networks are hard stuffs
 
this.
19 mins ago, by bwoebi
I find that perfect decentralization is one of the hardest things to do. We usually end up having a master somewhere…
 
1:16 AM
I guess I get your point more clearly now.
 
that boils down to under-scoping and poor foresight.
 
yea well, so long as hindsight is 20/20, foresight will never be perfect.
 
and stop with the Master/Slave reference. We should change it to Lord/Peasant to be more tasteful.
 
Yes, then I can tell people I'm British upper class :)
But if we call it Lord/Peasant then what do elections become?
 
Go full class system. Queen node, Duke nodes, etc.
 
1:20 AM
@Sherif with BGP routing it's not that hard to find your peers… you just look at who's physically connected to you … but how do you find peers at the IP layer, where you basically can reach everyone?
@andho nah, that's not tasteful, that's hiding the cruelty which renders the terms even more cruel.
 
@bwoebi There are people that have spent years writing their doctrates on peer-to-peer networks. Damned if I understand any of it.
 
@andho I was not in this meeting, but I have heard 2nd hand about how one of the senior people in a company started referring to the relationship between two machines as the 'giver' and the 'receiver'.
 
@Sherif I don't doubt that you'll be able to understand some… but I think coming up with these things yourself is on a whole other level, yea…
 
@Danack that would be just server and client right. But with server to server replication does that make sense?
 
@andho They take turns 'giving' and 'receiving'.
Sometimes, if you set it up right - some one machine can be giving and receiving at the same time.
 
1:24 AM
@Danack that would be master-master right. hehe
 
@bwoebi What little of it I understand basically involves reinventing the ARP over TCP/IP, tracking set membership through bloom filters, and performing round-robin heart-beats.
 
make sense I guess
 
aposdjpidh markdown.
 
@Sherif yes!...I knew I had something about that I wanted to mention (bloom filters). I didn't know if it applied though. Not very knowledgeable on network architecture.
 
@Sherif uhm… ARP is still using some hierarchies… That sounds like you're going to pass things up and down through a static hierarchy again
 
1:29 AM
Yes, some do have hierarchies.
Not sure how peery that is, but I've seen it done that way before.
But mostly you're just creating some way for the peers to announce to their nearest neighbors that someone else has joined.
It's not like you're building authoritative systems.
@andho Well, if you wanted every node in the network to track potentially millions or even billions of other nodes, bloom filters are about the most space and time efficient data structures to do so with.
 
Yep… well, when I look at IRC, what I see there is some sort of MST, leading to e.g. netsplits when one route goes down… I feel like something's imperfect there.
 
Yea, but IRC isn't designed to be a peer-to-peer network.
Well, I guess that kind of plays on your definition of peer.
 
well, it's basically what you described with your ARP strategy… it goes up, connects to one peer and then it goes the hierarchy down again
 
Yes, announcing yourself to a network is about the stupidest way to build a network, but hey it works!
:D
 
:-P
 
1:37 AM
someone directly emailed me about what I think about first class functions in PHP
uhhhhhhhhhhhh
 
@Andrea so… what do you think? :-D
 
I have some thoughts but I don't really want to reply to this
 
Aren't closures already first-class functions?
I mean, technically, they're objects, but what the heck.
 
@Andrea well, I don't know who the someone is…
 
1:40 AM
well that's the thing
 
Are they someone important?
Is it Obama?
 
no and no
 
Is it Al Gore claiming he invented functions?
 
Is there where I scream? I am terrible at regex
 
@SuperNoob If you scream into a fiber optic cable no one can hear you.
 
1:50 AM
I know :(
 
@SuperNoob I find that this cheat sheet helps quite a bit.
 
I'm trying to re-use a bunch of old files and code, but I want to change every reference to bear to grizzly... but it's not just bear, it's Bear, Bears, Bear, bear, bears, CamelBear....
and so on
 
/([a-z].bears?)/i
 
@Sherif you mean * instead of . I guess?
 
I do
Of course, I leave debugging up to QA, right?
:p
 
1:58 AM
@Sherif This has come up before, and a lot of people instantly pooh-poohed the idea that first class functions in PHP are already present as closures. The thing I found useful to ask is them is, "what is the difference between a first class function and closures if they're not the same?".
 
omg...I had it the first time. I just didn't know how to use this damn tool right, regex101.com/#pcre
 
Apparently that's what the kids are doing these days
 
the /g is way over there ---------->
 
@Sherif sure. QA tests with two azbear and it works… fails in production :-D
 
@bwoebi You mean I can't just throw code over a wall?
There goes my day job...
@Danack Yea, I don't get it either.
 
2:00 AM
heh
 
Also:
$('foo') // creates a closure to function foo
$($this, 'bar')  //creates a closure this objects bar method.
Not just to annoy the jQuery people.
 
@Danack you don't have named first class functions except via Reflection (which you're going to fix, right? ;-))
@Danack dat........
 
Ahh, named first class functions... That's what they're probably on about.
 
The syntax matters.....although that RFC would be awesome (imho) the syntax is too verbose to actually use it in code, as it's just too bulky - particularly when compared to Javascript.
 
First class/second class... we're all citizens of the finite state machine!
Let's just get along.
 
2:04 AM
bar(Closure::fromCallable('foo')) or bar(new Closure('foo')) are equally terrible. bar($('foo')) is probably as short as it could be in PHP.
A wild @Sara appears.......I've never asked. Is the person who named these banned from naming anything ever again?
 
Dude, it's facebook. They probably gave her a medal for it.
him/her whoever
 
@Danack Heh. I dunno. What would you call it?
 
@Sara callable() and merge the functions.
 
I have to say if(fun()) die; else (call_meth('dealer') AND die())
 
That.... has nothing to do with how those functions work.
 
2:09 AM
@Sara Closure::fromCallable but I'd prefer introducing a special syntax for it - $('foo').
 
@Danack Actually.... I kinda like that
 
Chances of getting it through internals........minimal.
 
@Danack s/fromCallable/__construct/ :-(
 
@bwoebi why __construct?
 
@bwoebi we've done this before. As the static method I can do:
$c = ['Closure', 'fromCallable'];
$c('zot');
$c('fot');
$c('pik');
 
2:12 AM
god no.
That's a reason in favor of construct :-D
 
@marcio Object oriented programming is cool. And constructors are the coolest bit of OOP.
 
is using break inside a nested if statement looked down upon?
 
That has nothing to do with object oriented programming :-D
 
@Danack hell no, constructors were a bastardized way to design OO
oh, he is joking
 
@DemCodeLines Some say yes, some say no. I'd suggest writing the code then once it's finished and working come back to see if you feel bad about doing it and refactoring it.
 
2:14 AM
/ cancels stabbing
 
There are times when avoiding breaks are just too much effort to justify.
 
I'm not sure whether it was a mistake or not to bundle methods and values in a same container. (so called classes) Instead of separated structs and traits being able to operate on these structs…
 
if (...) {
    if (...) {
        a
    } else {
        // SAME OUTCOME AS
    }
} else {
    // THIS ONE
}
 
@DemCodeLines so, you want if (… && …) { } else { /* the same outcome */ } ?
 
^^ that.
 
2:17 AM
shit I've been accidentally listening to Rebecca Black for over an hour
I BLACKROLLED MYSELF AND NEVER CLOSED THE TAB
 
@Andrea Can't believe this is an accident.
 
If the nested if condition isn't satisfied, the code block that is supposed to execute inside the else block is the same thing as what would execute in the else code block of the outer statement.
 
@bwoebi I literally only just realised
 
My code goes something like this:
 
(… && …) <--- boobies post nipplectomy
 
2:19 AM
@Sara I learned a new word :x
 
@bwoebi Is it "coulrophobia"?
 
@Sara Not sure whether to fear you…
 
if (image1.size == image2.size) {
    if (imageData(image1) == imageData(image2)) {
        // Something happens here
    } else {
        // Image is not the same
        runCode()
    }
} else {
    // Image is not the same
   runCode()
}
runCode() writes a file to the filesystem. I don't want to be doing that twice.
Basically, can I put break in the nested else?
 
@DemCodeLines yes, you really want && and please tell me runCode() has an argument and you're not using a global variable.
 
if ((image1.size == image2.size) && (imageData(image1) == imageData(image2))) {
// Something happens here
} else {
// Image is not the same
runCode()
}
 
2:22 AM
There was a reason (that I no longer remember) that I was trying to avoid that, but you're right.
@marcio I'm not. This is just pseudocode here.
 
@bwoebi Are you calling me a clown? DO I MAKE YOU LAUGH????
 
inches away, slowly, then faster
 
@Sara Well… and cry.
 
@bwoebi is there a way to run phpdbg and close immediately after script conclusion?
 
@marcio yeah, pass -qrr flags
 
2:29 AM
great, ty :) sometimes I'm using phpdbg -r vendor/bin/phpunit only to get the code coverage
 
@marcio that's what I'm doing too… just that per help options -rr means "Run execution context and quit after execution (not respecting breakpoints)"
 
worked nicely here. Hopefully I'll never need to enable xdebug again, some test suites get incredibly slow.
 
is phpdbg much faster?
 
according to my experience, yes
usually ~2.5 times faster, grossly speaking
and xdebug is still crashing a lot, so it will take a little while to be useful with PHP7
 
s/still/same as always
I had to stop using it with 5.x.....just wasted too many hours investigating things that disappeared when xdebug was turned off.
 
2:44 AM
yes, I've run into this too
 
3:01 AM
@Danack I dunno… we have a function named _
 
...I only just realised that _ is dependent on locale.......which shouldn't be used anyway.
 
3:24 AM
@Danack uh, of course? gettext's entire purpose is to look up locale-specific te- wait do you mean it uses C locales
 
3:42 AM
@Andrea it apparently uses C locales.... php.net/_
And on that bombshell, nn.
 
yep
 
 
1 hour later…
5:07 AM
0
A: Prevent SQL injection in PHP forms

SherifTL;DR; Use prepared statements and read How can I prevent SQL-injection in PHP? carefully While this is not a code review site, but a question and answer site, I would like to point out that as long as you are doing things like this.... $result = mysqli_query("SELECT * FROM members WHERE usern...

I don't think he's picking up what I'm putting down.
 
:-(
 
I mean it's bad enough he's storing plain-text passwords.... but... bleah
Sometimes I wonder if people create user profiles on SO with hot chicks just to get answers faster stackoverflow.com/users/5482568/r-katherine
hmmm
I mean clearly this person got 0 answers so far, but I'm starting to notice a trend of profile pics that look more like they belong on adultfriendfinder than SO lately.
 
I don't trust profile pics at all...
 
5:24 AM
:P
btw morning Orangepill
 
morning
 
5:44 AM
> [05:38:09] warning Generator::next() expects exactly 0 parameters, 3 given in /Users/Bob/Aerys/vendor/amphp/amp/lib/UvReactor.php on line 420
sigh… I want to use it as a callback…
no problem for userland funcs, but stupid internal funcs need extra treatment :-(
 
 
1 hour later…
6:49 AM
Starts process with php cli… doesn't terminate. Starts process with phpdbg… Successful termination. Sigh.
Okay… turns out it's about Uv being marked as keep-alive…
 
7:46 AM
I have about 50 Tabs open… Chrome: 17.78 GB. Somewhere there must be a memory leak…
 
17.78 gb chrome is so hungry
 
Abe
mine's fine.
 
Anyone who's good at C?
My C program works fine in lldb, not without it.. :/
 
8:12 AM
What's ||db?
 
It's lldb
eleldb
debugger
for C
 
Do you have any idea?
 
8:37 AM
Fixed it, woo!
 
magic
 
8:58 AM
@rdlowrey nah, not even close
 
9:17 AM
mornin
 
morning teresko
 
Damn, C is greek. Can't even imagine how to get rid of this linkedlist link
 
moin
 
Abe
morning
 
9:27 AM
I went to open my garage side door last night and it literally crumbled ... so gonna be carpenter for the day ...
I really hate hanging doors ... it's so hard to get right ...
 
Abe
i've "built" a "door" once. i've used a hammer
 
I just went and bought a door ready made
I think I got the wrong kind of lock though ... waiting for shops to open ...
 
Abe
that's what i did too, then the dry wall collapsed and i opted for an open space
 
the door is supposed to be the right size, but it doesn't fit and it says on the label that you can "trim" the door ...
I object to the word trim, like you might be able to do it with paper scissors ...
 
Abe
lol
 
9:34 AM
"spend many hours finishing the manufacturing process" is much more realistic ...
 
Abe
9:59 AM
still dealing with the worst code ever written
mysql_query($query); // with "or die()" the script dies, reason unknown
 
Hi Guys - Just wanted some advice on clean code / throwing exceptions if anyone has 5 mins?
 
Abe
don't ask to ask just ask
 
Oops ;) - I have 4 methods in a class that keep having to check if a given ID is valid
at first I had them all checking the return value of the method (true|false) and then throwing an exception for each one
Am I right in thinking it is more sensible to throw the exception in the isValid method
even though it will pretty much be a void|throwException method
it feels a bit wrong
 
Abe
you mean that $checks->isValid(20) would throw an exception if 20 is invalid
 
correct
 
Abe
10:07 AM
that's likely bad, but depends on what the validation is about i suppose
 
` protected function isValidPid($pid)
{
if (!preg_match("^(OSD|UIA)([0-9]{4})$", $pid)) {
throw new \InvalidArgumentException('Invalid PID');
}
} `
 
Abe
i mean it should just return true or false
 
shit, completed failed the code format
 
Abe
it should definitely return true or false, not throwing an exception
 
ok, but wouldn't that mean having:
throw new \InvalidArgumentException('Invalid PID');
in 5 of my methods
that also feels unclean lol
 
Abe
10:09 AM
oh, i see it now
then it's not validation, it's a guard method :P
 
basically this is a service layer class, and all my public methods need a valid PID
 
Abe
name it guardInvalidPid($pid)
@EquinoxMatt you should consider having a PID class
 
like a value object?
 
Abe
class PID{ function __construct(){ ... } function toString(){} }
correct
 
ok, good shout - thank you. I wasn't sure if it was acceptable for value objects to validate themselves
 
Abe
10:16 AM
what do you mean? every object should be valid when created - and therefore validate itself
 
I wish PHP had it's own default framework just like .NET
 
Abe
@HassanAlthaf NO
 
y
which had sxc API's like Java.
 
@Abe - I am not sure what I mean! I think I may be over-thinking it. I have gone with the value object like you suggested
 
Abe
@EquinoxMatt code of the value object?
(the validation should stay in the constructor)
 
10:19 AM
`code` class PilotId
{
protected $pid;

public function __construct($pid)
{
if (!preg_match("^(AFA|PAY)([0-9]{4})$", $pid)) {
throw new \InvalidArgumentException('Invalid PID');
}
}

public function get($key)
{
if (property_exists($this, $key)) {
return $this->pid;
} else {
return false;
}
}
}
ffs can't get the hang of this code formatting tag
 
Abe
why get($key) ?
 
ahh yeah
pointless
There is a bit later, where the idea is to change the ID from one to another - so I was going to compare the two objects, and see if they contain the same ID, which is not allowed
 
hello
this is my select quuery that has a name '$dbresult

$dbresult=mysql_query("SELECT tablesite.name,
tablesite.family,
tablesite.username,
tablesite.phone_number,
tablesite.email,
action.service_provider_comment,
action.customer_comment,
action.price,
action.date,
job_list.job_name,
action.ind
FROM $db_table
INNER JOIN job_list
on job_list.job_id=action.job_id
INNER JOIN tablesite
on tablesite.id_user=action.service_provider_id
WHERE vote!=''",$con);

how can call example $dbresult(name)
is there any way to do this?
 
@sajad please learn to use prepared statements with PDO or MySQLi
 
Abe
@EquinoxMatt 3v4l.org/ZXAjn
 
10:28 AM
@Abe - Thank you
 
@tereško is that my answer?
 
Abe
technically you can use == also on the instance, without casting first, but that won't be good with polymorphism
php isn't really good with comparison
 
@sajad your question was "what should I feed my horse for long distance travel?" and my answer was "get a car"
 
Got you. I went to a conf yesterday where they were talking about immutable objects and value objects. Read about them online, but it was very good to see a talk about it
 
10:44 AM
Going back to @sajad code, isn't it scary it is 2015, and resources are stil out there that encourage the use of mysql and variables in SQL code?
 
11:05 AM
@EquinoxMatt i know that, but it is my final project of university and will not run on real server, never
just runing on wamp server
 
11:33 AM
0
Q: fetch database twice PHP SQL

sajadthis is my code. i want to echo both name and family service provider and customer tigether by fetching from database, first by fetching name and family service_provider and then by fetching name and family customer. <?php $id=$fgmembersite->UserID(); /* echo "$id"; */ $db_host = 'localhos...

please solve this problem
 
 
1 hour later…
12:39 PM
@sajad - I wasn't criticising you specifically. Just in general.
 
1:18 PM
@sajad that is a really bad excuse
 
@Abe I can't believe it took me all morning, I just finished and it's not even painted/stained yet...
 
1:47 PM
Maybe you guys are interested stackoverflow.com/questions/33594629/…
 
morning
 
morning
 
Abe
@JoeWatkins just be happy that you didn't tear down the whole house :D
 
Abe
what a sad race i've just watched
marquez watchdog-ing lorenzo for the whole race
 
1:56 PM
@sajad - just because this code will only ever run on a localised server, doesn't mean that you should learn bad practises.... use good practises whenever writing code, whether for personal use or for clients..... get into good habits, then you will be less likely to make mistakes when it does matter
 
 
2 hours later…
Abe
4:07 PM
3v4l.org/vcgLq <3 PHP 7
 
eww
 
@ircmaxell Have you ever implemented a working sparse constant propagation?
I can't quite figure it out
 
Hi guys, how to trace PHPUnit memory usage? I have 40 tests in my project and phpunit take up 800MB of memory which is really bad.
 
@TrungDQ Why do you care how much memory PHPUnit takes up?
 
I run tests on a 512MB RAM VPS, so...
 
4:14 PM
Depending on whether I use top or bot as the result of evaluating an expression that has a top operand I either get an invalid propagation or don't propagate far enough (bot out too early). Must be missing some important bit about how the optimistic assumptions are supposed to work...
 
@TrungDQ apart from making sure coverage generation is turned off, I can't think of anything that would make PHPUnit use that much memory.
 
@Danack I have a 40MB database dump that will be load at the beginning of the test process, guess this is the problem.
 
I also doubt that it's going to be easy to find explicitly what is eating the memory. What you could try is splitting the tests into different groups, and running them in those separate groups, rather than running them all at once.
....that doesn't sound like a unit test.
 
I tried a minimum test suite and find out the database load part takes 300MB more memory.
but overall, it should not takes up to 800MB
So there would be duplicate loads somewhere...
that's what i'm thinking.
Yeah, you are right, 40MB database dump doesn't sound like a unit test (it actually my full database), but it helped me to figure out the problem and when I find it out I will definitely construct a minimum database dump for unittest.
I'm not sure if i'm going the right way, please guide me.
 
"I will definitely construct a minimum database dump ...." - or you could decouple your code from being dependent on a database.
 
4:22 PM
well, is that mean we should have another unittest for database queries?
 
e.g. separating stuff out, by using the 'repository' pattern:
interface BlogPostRepo {
    function getBlogPost($blogPostID);
}

class BlogPostSQLRepo implements BlogPostRepo {
    function getBlogPost($blogPostID) {
        //Does SQL stuff.
    }
}

class BlogPostRepoStub implements BlogPostRepo {
    function getBlogPost($blogPostID) {
        $blogPost = new BlogPost();

        return $blogPost;
    }
}
@TrungDQ not unit test, an integration test. And most people misunderstand integration tests - I strongly recommend watching that video. (even though the quality of the recording is a bit crap.)
 
You are so right.
Thank you very much.
I'm not using repository pattern in my project but I have something similar, anyway I got the idea.
It would require a lot of extra works but worth it, I guess.
too bad, I have pushed the 40MB dump file to my repository, lol.
 
It's not that much work...creating interfaces doesn't take that long, and then creating the stub implementations is also not very much work...but yes it's some overhead.
 
Abe
@Danack Y
 
Anonymous
Has anyone tried groovy language?
 
Anonymous
4:35 PM
if (!session) {
  session = request.getSession(true);
}

if (!session.counter) {
      session.counter = 1
}

html.html {
  head {
    title 'Simple Groovlet'
  }
  body {
    h1 'Welcome to my Groovlet'
    p "The current time at this server is ${new Date()}"
    p "The session counter is now at ${sesson.counter}"
    br()
    p "System properties:"
    ul {
      for ( prop in System.properties.keySet()) {
        li "$prop: ${System.getProperty(prop)}"
      }
    }
  }
}

session.counter += 1
 
Anonymous
The easiest language ever
 
Abe
can't tell if you are serious or not
 
Anonymous
edited
 
Abe
42 secs ago, by Abe
can't tell if you are serious or not
 
Anonymous
I'm serious
 
Anonymous
 
Abe
groovy is groovy but not that groovy
 
Anonymous
better than angular2
 
@Abe Having to mentally push things onto a stack to understand code is bad. Having to parse horizontally is bad.
 
Abe
how do they even compare @samayo
 
@samayo Now add the classes and I.D.s and javascript bits that html needs and see what it looks like.
 
Anonymous
4:40 PM
@Abe I was comparing the learning curve
 
Abe
lol^
 
Anonymous
tbh, the HTML part is a bit retarded.
 
Abe
4:52 PM
@Danack but ewww is too harsh :D
 
Maybe. I guess ternary statements are their own punishment anyway.
 
Abe
lol
i (ab)use them
 
 
1 hour later…
6:15 PM
Is it just me or this guy splitting split hairs with this? sitepoint.com/php-authorization-jwt-json-web-tokens
I mean, he's talking like we've just discovered hmac for the first time in history.
 
@rdlowrey Why do we have this? github.com/amphp/aerys/blob/master/lib/Vhost.php#L251 /cc @bwoebi
 
Because aerys used to support 5.x
 
Yes, but we had something like that in the bootstrap file already.
 
@samayo basic also is really easy language .. it's also shit
 
Abe
6:39 PM
groovy isn't shit though. it's a better java
wait that sounded like a bad thing
it's awesome considering it's based on jvm [...]
 
mogguh
 
00:00 - 19:0019:00 - 00:00

« first day (1849 days earlier)      last day (3090 days later) »