« first day (1501 days earlier)      last day (3447 days later) » 

5:00 PM
This changes things.
 
no?
 
user895378
@DaveRandom You'd have to inject something into the iterator when the db lib creates it that could set a flag inside the iterator so it knows when there are no more results (so it can return false from Iterator::valid())
 
Someone is going to get a message ID that corresponds to the date in Ymd in the next day or two
 
aside from "resolving aliases"
 
@DaveRandom Problems. You have them :P
 
5:01 PM
@rdlowrey And then let the caller iterate it twice for each result set or something?
 
posted on November 25, 2014 by kbironneau

/* by CodeSage */

 
Oh wait.
 
I really need to properly comprehend promises and co-routines, it's all just a bit fuzzy at the moment :-(
 
Nevermind. Too much stuff in my head, not focussing enough.
^^
 
I love how nobody has scanned the QR code in my blogs favicon
 
user895378
@Feeds Bro do you even version control?
 
@ircmaxell I opened it by itself and it's too small to scan
 
@ircmaxell E_IMPOSSIBRU
 
If zxing won't scan it, it can't be scanned (it's impressed me in some other areas)
 
5:07 PM
Hey guys
 
heh. That's amusing
 
$query = AreGeneral::safeSQL($sql, $query);
$result = mysqli_query($sql, $query);
if(mysqli_num_rows($result) != 0) {

Returns: <b>Warning</b>: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in <b>/home/armarpg/public_html/are/pd.php</b> on line <b>42</b><br />

What to do with that?
I was learning all the time I can use it with mysqli_query only
 
safeSQL is most likely not what it says on the box
 
public static function safeSQL($link, $sql) {
                $string = mysqli_real_escape_string($link, $sql) or die("Real_Escape_String() Error" . mysqli_error($link));
                return $string;
            }
 
@TomášAresakMalčánek YUNO USE PREPARED STATEMENTS?
 
5:10 PM
@TomášAresakMalčánek mysqli_query failed; effectively you are calling mysqli_num_rows(false). This is probably due to a bad query or the fact that your safeSQL method is… inadequate, to put it nicely.
 
I want to improve my security later
 
HUH?
wait
 
@TomášAresakMalčánek .......................
 
seriously, HUH?
 
The times I have heard that
 
5:11 PM
What?
 
you're escaping the entire query?
$query = AreGeneral::safeSQL($sql, $query);
 
@ircmaxell heh, I know where that leads to
 
drupal 8 is not so bad
 
True lel
Im so dumb, I was away for 2 weeks...
:D
 
@ircmaxell because it's relevant to the conversation, here's a 9 month review I got today ... krakjoe.ninja/review-9-months.pdf some people can be awesome team members, they can actually manage to improve those around them, but when nobody really understands what you're doing most of the time, I have no choice to work alone ... I can tell it is working, as it usually does ... my current employer love me ...
apparently I do have an effect, but I don't put any effort into that because busy writing code ...
 
5:12 PM
@Gordon anger leads to hate. hate leads to suffering. suffering is a path to the darkside
 
@ircmaxell and the darkside is raw power
so yay for anger! \o/
 
@JoeWatkins I didn't say you couldn't be effective without a team
 
Does the good side get to shoot lightning out of their fingers?!?!
 
I said you could multiply that effectiveness with the right team
 
@LeviMorrison NO. they suck!!
@ircmaxell I got some slides about team effectiveness in my Commando Code talk.
 
5:14 PM
cool
 
starting from slidr.io/gooh/commando-code#48 up to 70
 
Commando Code? Why would someone have a seminar for programmers not wearing underwear?
 
@Machavity That would be "Coding Commando"
 
@Machavity For me, that would be "Tuesday".
 
5:19 PM
@Machavity Why would someone have a seminar for programmers not wear ing underwear?
 
@ircmaxell I dunno if I'm on the right team, or how to know what the right team is ... I enjoy working with you chaps in the open on stuff, it's usually effective, however, it's effective at a pace that is acceptable for open source, I can't in all honesty say I would enjoy working on a team where everyone has comparable skillset to mine all the time ...
 
@Gordon slidr.io/gooh/commando-code#58 <-- not sure that I 100% agree there. In some cases, yes. But in most that's not really quite true, as it's more complicated than that
 
(A team is sometimes nice to do the things nobody wants to…)
 
@JoeWatkins it's at a pace that's acceptable for OSS, because we're not working together 8 hours a day every day.
hell, look what the two of us accomplished when we did work for 1 weekend together side by side with the predicessor to Recki
being on a team doesn't mean doing the exact same thing, or having the exact same skillset
 
@ircmaxell fair enough
 
5:21 PM
as a "over generalization", definitely
 
Btw @ircmaxell ircmaxell.com won't load for me
 
@AndreaFaulds good, becuase it would be scary if it did
as that server is turned off and in a closet somewhere
 
@ircmaxell from a systemic pov it's not a over generalization though
 
@ircmaxell You should make it redirect to blog.ircmaxell.com then
 
@Gordon well, only if the unit is doing the same literal thing across each member
in reality, we are doing things concurrently so we can pipeline effectively, and have queues built up so that a stop on one doesn't mean all others have to stop (at least a non-trivial percentage of the time)
 
5:25 PM
@ircmaxell they dont need to do the same thing. if I deliver ten tickets to the tester and he can only test 2 then the throughput will be 2. thats theory of constraints.
 
@ircmaxell in the last ~10 years, I have had a handful of weekends like that ... it cannot be the norm to work at that pace, the normal work environment where there are heavy restrictions on what you can do and how prohibit that kind of atmosphere from being the norm ... or I am under the impression it does and the number of those weekends seems to agree ...
 
@ircmaxell Don't get it.
 
@ircmaxell but the point I wanted to make anyway was that the opposite is not true. teams that manage to get past the forming, storming, norming phases to the performing phase (cf Tuckmann) - or simply are cohesive - can indeed outperform individuals. question is how to get there.
 
@Gordon true, but that reduces the overall output of the team, not makes it equal to the lowest output
 
@ircmaxell I quite enjoy being wrong, so if you intended to change my mind then don't let any of the things I just said stop you from trying ... maybe there is a more productive way to work where I'd get even better reviews ... "there is no point in giving Joe deadlines" ... things like that make me think I'm right, and that I'm better positioned next to a team of PHP developers than anywhere else, but do like being wrong ...
 
5:35 PM
"there is no point in giving Joe deadlines" <-- that's a management failure, not yours
 
they gave me deadlines at first, reasonable for them I guess ... I surpassed them by so far that they learned there is no point in giving me a deadline ...
 
@ircmaxell not sure I understand that conclusion. In a pipeline, if I you deliver ten and I deliver two, then the total output will still be two. So that's the lowest output.
 
they don't know how to guess how fast I will write something, nor do I ...
 
@Gordon only if the team is serial
@JoeWatkins again, a management failure
 
maybe, I can see that ... but if I don't know how to tell, then they have no chance of giving me a sensible deadline ...
 
5:38 PM
@ircmaxell why are (artificial) deadlines important?
 
nobody would ever have handed us the deadline of two days, right ?
 
deadlines as a concept are a management failure, designed to relieve the burden of communication instead of relying on it.
@bwoebi on one hand, they aren't. On the other, they are useful in determining "good vs good enough". But there are better ways of doing that (effective communication)
 
is a timebox the same as a deadline?
 
still, suboptimal teams use deadlines so they don't have to communicate and understand each other
@Gordon not in my eyes.
 
I totally agree with that, and communication is very good on current team, they couldn't do the stuff I am doing usually, but are very open to trying to understand ...
 
5:41 PM
@ircmaxell this I completely agree with, but where is the failure, when it's already quasi optimal (Joe)
 
a timebox says "whatever we can get done in this window will be release X", whereas a deadline is "we will get all of this done by this time"
 
@ircmaxell In scrum, most meetings are timeboxed. if you dont manage to get the work done within the box, you may not continue it. that's kinda like a deadline, isnt it?
 
We only set deadlines when we have a hard deadline imposed by some external force, such as the electrical team needing to do work in the data center on a certain day and it must be done then.
 
the direction of the dependency (features on time vs time on features) is what changes
@Gordon I think scrum is really just discuised waterfall, so perhaps not the best example
@Gordon but in that specific question, no, because if you don't get the work done within the box, it happens next time. It's the opposite of "we must get this done today at all costs".
the deadline sets the work in stone before its done. The timebox decides how much work should be done after its done.
 
hmm, fair
 
5:46 PM
@ircmaxell and something in between: this work must be done by then, but if there is more which had been done by then, I'll happily include that too?
 
@bwoebi the question I ask there is: why must the deadline exist? Why must the work you layed out be done by a certain timeframe?
and the answer is usually something along the lines of some external factor (promises made to a customer, ads being purchased, etc)
 
^ yep
 
but that then opens the question what needs to be done by that point
and the fact of the matter is, that's often far less certain than people pretend it is
 
agree
 
which comes back to the point
timelines are useful
deadlines are not
 
5:50 PM
I still think I deserve ice cream, so I'm going out for ice cream :D
lata
 
too cold for ice cream :-P
 
enjoy!
 
Trying to do a month of not sweets. Harder around Christmas too
My mother has already brought me a big box of malteasers, two twix, and a rolo
 
6:03 PM
@ircmaxell Do you happen to know who in the PHP internals actually does the security stuff?
 
Precious few ^^
 
not I
 
"does the security stuff" well there's a magic mailing list with mainly old timers on it
 
@ElizabethMSmith yup, and I was denied membership :-)
 
6:12 PM
but felipe has done quite a bit - as well as solarwhateverIforget without a real name
 
@ElizabethMSmith solardesigner, Alexander Peslyak
 
yes- that
he's done quite a bit
 
yup
 
I"m so horrible with names, but dangit I know what he did :)
 
6:14 PM
well, the only place I know he uses his real name instead of the alias is in academic papers
 
I just remember him being asked if he wanted his real name in PHP and "no no no" being the answer :)
 
also, I'm cited in that paper :-)
 
6:36 PM
who knows hacking
?
u will get 300 bounty
to decode simple youtube link
 
lol
 
k
 
300 of those?!
10
 
I once bought shitload of those
haven't eaten single one since then
 
lol
 
6:39 PM
@salathe I love those!
 
noo not that bounty
i wont give away that bounty
thats delicious
precious
 
ROFL
 
kkk
 
I'd appreciate your review/comments here: meta.stackoverflow.com/questions/277773/…
 
@ircmaxell do you have any text version for your password storage talk?
 
7:11 PM
k
 
@ircmaxell I know people who're not comfortable with video talk; either because of the spoken english, or because they simply prefer reading. I'd like to share this interesting talk though, which has a lot of information :)
 
7:38 PM
hello im new here so bear with me :)
I need some suggestion about my current project situation.. any one up for chat ?
 
@sking Don't ask to ask. If somebody is here and wants to help they will
 
while implementing some feature is it a good idea to code every possible scenario even if its not a required feature for now but may be client can ask it later or is it just a waste of time to do so ?
 
@sking Waste of time
You are doing something which you are not getting paid for
@sking So unless there is some added value (can be anything) for you / your company I would not do it
 
7:57 PM
Hmm.. yes exactly.. I have been following the same.. but lately im getting into a bit trouble. I have been working on a twilio based project for almost a year now with the same client.
I try to schedule the feature coding .. all of a sudden he introduces a new idea and wants that coded. it kinda beaks the whole idea i have planed about it..
 
@FlorianMargaine fair enough
there are tons of things I wrote, but nothing that goes into that sort of detail
 
@sking Well he is the one paying so I don't see how that is a problem. Just work on whatever he wants
 
@ircmaxell erf, ok
I prefer reading too tbh... so that I set the tempo, not the speaker.
 
well.. you know changes are getting me crazy , i was thinking is there anythings wrong with what im doing
and i have been working alone in this project
doing both front end and back end stuff.
 
Sounds like a nice and steady stream of money to me :)
 
8:07 PM
lol.. maybe but mentally getting a bit bored about it..
 
@sking Yeah I get that. What me personally helps in situations like that is to have a nice personal side project to do.
 
its never releasing soon and there are no deadline what so ever..
@PeeHaa but i go play some dota indeed :P
 
8:24 PM
collaborating with a flowchart with client is a good idea ?
 
9:05 PM
bitnami.com/stack/lapp Why include phpMyAdmin when using postgre?
 
@AwalGarg it's a typo
 
@salathe ok. So is there any other thing like phpPgAdmin, or no <>admin at all?
(in the package)
 
any thoughts on what to do for a home page?
 
@ElizabethMSmith I know about that, I meant in that package from Bitnami.
 
9:15 PM
@ircmaxell rlemon.ca is nice
not sure what kind of homepage you want though
my homepage is my blog...
 
honestly, I'd love if it aggregated my content
 
rlemon's homepage aggregates his contents...
 
@FlorianMargaine no snowfall :(
 
there is also @Loktar's homepage: jasonrb.com
more like "aggregated content", I guess
 
@FlorianMargaine no, it just links to it
 
9:19 PM
yeah. Aggregated content would look clunky though
 
bitnami.com/stack/lapp/README.txt - readme says phppgadmin is there
 
@ElizabethMSmith ahh nice.
 
why? that's the most recent :) I'd want it that version
 
owwait
sorry
I read that as 5.5.6 :p
 
9:23 PM
hahaha
 
Morningsings
 
Morningronnie
 
So tommorow is round 2 .. getting abit nervous =]
 
about.me/ircmaxell <-- thoughts?
 
Anyways, what's up PeeHaa.. Anything new?
 
9:31 PM
@RonniSkansing Neh. Just glad it is almost weekend :p
 
=p think I am going to scout a bit in your repo's now..
 
@ircmaxell except for the about.me stuff, pretty good
 
@ircmaxell Looks good. Maybe list upcoming (or past) talks next to the latest posts?
 
that's the one thing, I can't aggregate anything else but that
 
When I sent my email about variance of return types I forgot that the vast amount of people reading have no clue what any of that means, and they probably didn't really read the RFC.
I should have explained it more clearly.
 
9:46 PM
reminds me of jim morrison :)
Guys is there any free flowchart tools to collaborate .. so that multiple person can work on the same page ?
 
I may build a home page custom, with custom aggregators...
 
btw sorry if its off topic :)
 
10:24 PM
@sking, when I search on a popular search engine, I find a couple.
phrase "collab flowchart online"
 
@AndreaFaulds You around?
@rdlowrey Are you around, too?
Very quiet Tuesday.
 
@LeviMorrison to the latest reply on internals: neither do: 3v4l.org/F43Z4
 
I am actually looking for people who will correct him.
I don't want to do it because I don't want to dominate the thread ^^
But when we extend a class and use covariant parameter types, we only emit an E_STRICT.
I intended to put an RFC forward to always fatal this.
 
"remove this"
yeah, that's not going to happen
 
Note that we also fatal for abstract classes.
 
10:34 PM
there's a metric butload of code out there that relies on that, much without even realizing it
 
Then maybe propose E_DEPRECATED.
 
every time you change a constructor in a child (which should be 100% possible)
 
I am going to try to improve this situation ^^
 
...?
 
Aren't constructors explicitly excluded from this?
 
10:36 PM
they are?
 
Emitting E_STRICT and carrying on is stupid.
@ircmaxell Yes, constructors are special.
 
ok
 
(Except when defined in an interface)
 
I think they are. Unless they are declared abstract or part of an interface.
 
emitting an E_DEPRECATED is ok, but it's going to be until 8 before it's change, realistically at least
 
10:37 PM
NikiC, I'd love it if you'd chime in on the variance thread on Internals, even if it's only to correct Marc.
 
@LeviMorrison okay, sent a mail
didn't read your mail yet, too long
 
@NikiC it's still worth reading…
 
user895378
@LeviMorrison I was away much of the day. Just sat back down to do some code before gym.
 
user895378
10:52 PM
I'm planning on staying up late coding tonight though (unless I get tired).
 
user895378
Got several things I want to work on and I'm going to dose myself with some serious caffeine.
 
@LeviMorrison I saw in some places, I think in opcache, that we sometimes append new opcodes to the tail of the opcode array while compiling. Could this help in any way?
 
ircmaxell.typify.io <-- what do you think?
 
you have way too much free time to devote to yourself
 
11:10 PM
@ircmaxell CNAME?
 
sortof
it's a cname, but to a different address
 
hey, can someone help me with a regular expression?
 
lol this is such a great shot.. flickr.com/photos/ircmaxell/15516745335
gn
 
11:28 PM
Practicing the headbutt ;-)
 

« first day (1501 days earlier)      last day (3447 days later) »