« first day (1431 days earlier)      last day (3517 days later) » 

7:00 PM
@LeviMorrison what interesting things did you implement as schoolwork?
 
I don't have any CS schoolwork because I didn't take CS!
 
@NikiC Self balancing binary trees, a basic equation solver...
Remember, the key feature of rust is lifetimes. You need to build something where there are a few objects with different lifetimes interacting.
 
<-- "Calculating magic angle spinning for nuclear magnetic resonance experiments" - way less interesting than it sounds.
 
I still need more Integer Semantics votes: wiki.php.net/rfc/integer_semantics#vote
 
7:03 PM
@LeviMorrison hm...
that would mean remembering how them avl trees work
 
The only hard part is the rotations. Wikipedia has nice graphs for them.
But you get to build a Tree that interacts with nodes and whatever things you are storing.
Have to do memory management and lifetimes.
Would be a good place to start, I think.
I built a LinkedQueue with std::unique_ptr last night. Linked queues are easy but it focused on the key aspect: managing the feature.
You don't want to learn to solve a problem, you just want to learn to solve a problem in a new way with a new tool.
 
@Leigh Definitely don't preserve the elseif junk. I'd say foreach() else is the critical piece.
 
Evenings
 
Evening @PeeHaa
 
7:19 PM
@AndreaFaulds hey
You made up your mind about phpnw yet? :)
 
twas ioncube ... junk ...
 
Yeah....time to start asking for vagrant or gtfo.
 
@LeviMorrison I've been thinking about it, and have basically convinced myself that do {} while else {} is also perfectly legitimate
 
@PeeHaa need to... problem is transport/accomodation
 
7:36 PM
Nobody has commented on my other RFC, not particularly bothered about that, just worried that it might get all the way to voting and then get a bunch of no's without any discussion. Think I should leave it until a week is passed then poke the list?
 
@Leigh A lot of internals readers wait until the last possible moment before commenting. A poke of the list is a good idea, especially one that says "unless someone objects I'm gonna open up voting X days from now."
 
yea that'll get comments because "omg rules!"
 
Well, where X is the day where you can open up votes normally :)
 
@LeviMorrison agree
The Dunning–Kruger effect is a cognitive bias manifesting in unskilled individuals suffering from illusory superiority, mistakenly rating their ability much higher than is accurate. This bias is attributed to a metacognitive inability of the unskilled to recognize their ineptitude. David Dunning and Justin Kruger of Cornell University conclude, "the miscalibration of the incompetent stems from an error about the self, whereas the miscalibration of the highly competent stems from an error about others". == Proposal == The phenomenon was first tested in a series of experiments published in 1999 by...
^^ EPIC
 
It's this line that's the killer for me.
> This bias is attributed to a metacognitive inability of the unskilled to recognize their ineptitude.
 
7:47 PM
no, the epic part is at the very top
user image
2
^^ Wordpress's Security Model
5
 
@Leigh Sorry... what RFC?
 
> This article needs attention from an expert on the subject.
 
lol
 
@derp bingo
 
7:55 PM
@Leigh it's short, simple and to the point. What more do you want?
 
Discussion starts when you open the voting, anyway
 
I dunno, someone always objects
so I'd rather address issues before it gets to voting
feels odd when there's no bikeshedding
 
@Leigh Eh, wasn't the bikeshedding phase when it was turned into an RFC from a simple discussion on the list?
 
Very few people ever actually use pack()/unpack() though, the ones who do will see that it's sensible, the ones who do the bikeshedding are the people who probably don't have a valid opinion in the first place.
 
furry muff
 
8:01 PM
@Leigh btw what's the pointer thing useful for in Perl? IPC between processes with shared mem or something?
(I don't know perl really at all)
 
@DaveRandom no idea, not sure anyone has actually used perl since the 80s
I just know it's useless in PHP
 
If you know how to slam your face into your keyboard, you know perl.
 
With "7" (or preferably earlier) would it be sensible to consider removing the scalar type aliases? bool/boolean, int/integer, etc.
 
why?
 
we talked about that at some point, I don't think it's going to be feasable...
 
8:03 PM
@DanLugg why?
 
Really? Purely because BC?
Because unnecessary aliases are unnecessary; I honestly don't see the value in being able to express something so specific in multiple ways.
 
They aren't keywords so it's a BC break for no real gain
 
@Leigh Yeah man, have no idea.
Probably not going to vote.
 
hooray, it'll pass with just rdlowrey and a single vote ;D
 
the question is benefits vs amount of code that needs to be changed. E.g. our keywords should also totally be required to be lowercase. But introducing it at this point ... nobody's gonna do it
 
@Leigh I'll vote +1 on it, I've done all sorts of kludgy hacks to make that work before
 
Understandably. Am I to assume that removing (for example) integer leaving only int would be non-trivial?
 
@DanLugg it's no problem from php's side of things
just drop a couple of |s in the lexer
 
That's what I thought.
 
the problems are rarely technical ;-)
 
8:06 PM
it's an approximately three line change. minus tests
 
@DanLugg Generally agree, but in this case I see it as harmless. It's not like someone will see it and "wtf does that do?" like with some of the old function aliases
 
@ircmaxell Also understandable. However, I would figure "7", in all it's BC-clobbering glory could be an opportunity to narrow the aliases. (I would like to see some function aliases get torched too, but I figure that's probably more sensitive)
 
you say "bc-clobbering", but the sentiment hasn't been "ignore all for BC", but that we can break bc when it makes sense for significant benefit
 
@DanLugg Yeh but, as Stas recently pointed out, 7 shouldn't be taken as license to break BC for the sake of it. There has to be a good solid reason for it, and in this case I personally don't think there is one.
 
@ircmaxell , I recall you were setting up CI system using Jenkins
what was the result of that project?
 
8:10 PM
It would be nice if we considered all automatically fixable BC breaks acceptable.
 
I used to use Jenkins, but now I just rely on Travis
 
for private repos ?
 
@NikiC I don't think all, especially if you can't easily run the same code on 5.x and 7.x...
 
@ircmaxell Travis > Jenkins?
 
@ircmaxell yes, I mean if it can be converted to something that runs on both
 
8:11 PM
yeah, then I'm mostly +1 there
 
Well, subjective is subjective; I personally think removing aliases is hugely beneficial (especially functions) when they're eating up perfectly good names, and muddying the waters around the functions they alias.
 
but I suspect that policy won't go through ;)
 
@NikiC As in s/(integer)/(int)/ -- 100% agree.
 
@NikiC If the tool existed before the proposal then it might
Would have a better chance, anyway
 
I don't think it should be a policy, but instead a gate rule (shouldn't allow changes that don't match)...
 
8:18 PM
@ircmaxell since the company I work for are real penny-pincher, I doubt I will be able to argument why we need path 100€/mo for some "testing thing"
 
yeah, that's fair
I've done Jenkins systems before though
what's your concern?
 
http://php.net/manual/en/function.sizeof.php
http://php.net/manual/en/function.join.php
http://php.net/manual/en/function.is-writeable.php
http://php.net/manual/en/function.is-real.php
http://php.net/manual/en/function.chop.php
http://php.net/manual/en/function.fputs.php
http://php.net/manual/en/function.is-integer.php
http://php.net/manual/en/function.doubleval.php
http://php.net/manual/en/function.strchr.php
 
the requirements for the box
what do you need to run it ?
... it's java, so it makes me worried
 
it's not a lot of overhead
 
@DanLugg I like is_writeable()
 
8:19 PM
I think I was running it on a box with 1gb ram at one point
 
@DaveRandom I know, right? What a joke.
 
what a useful joke
 
No I mean I actually like it :-P
 
Can't tell if serious. Either way, much disagree.
 
unless I somehow managed to appropriate one of the legacy servers in the office, having a 1GB VPS is not really an option that they will be ready to way for
 
8:21 PM
currant($array); // Y U NO WERK?
 
@tereško what can you give it?
 
my current options are: git box (1gb, has already gitlab + redmine running) or "staging server" (unknown RAM, but tends to be abused and sometimes runs production-level code for facebook apps) or the python box (512MB ram, used by single project for slicing designs to be used on some Django thing)
.. or a VM on my work laptop
 
@DaveRandom Here's an even better idea.
 
hmmm... the git box would be natural... Worth trying, shouldn't be pain
 
foreach ($functions as $function) {
    if (levenshtein($function, $what_you_typed) < 5) {
        dispatch_to($function);
    }
}
throw new MashTheKeyboardException();
 
8:26 PM
@ircmaxell I have been looking at GitLab-CI but I don't know anyone who has actually used it
 
Jenkins is nice and pretty easy to setup
 
i have been using travis and scrutinizer for my public github projects nevermind
installation is not an issue, I am quite comfortable wearing the sysadmin hat when I need to
what I am worried about are the loads
 
@ircmaxell I've heard that although it's probably the best thing to use, that it does fall over a lot, and that the best thing to do is when Jenkins says a build fails, to have it retry the build before notifying anyone.
 
Hey folks.
I am having a hard time adding custom definitions to Parsedown.
I am trying to add *_text_* as subscript and ^(text) as superscript
 
8:30 PM
@JesperJacobsen Yes, you asked earlier. I don't think anyone here uses parsedown. You should improve your question stackoverflow.com/questions/25868146/… so that people are tempted to answer it.
 
@Danack I havent' had those problems...
 
Delegating constructors are so nice. How did C++ ever work without them? Seriously...
 
@tereško What do you think how did he manage to "engrave" the script?
 
@tereško Same. That's sweet.
 
@ircmaxell Enough people have that there's a plugin for it - wiki.jenkins-ci.org/display/JENKINS/Naginator+Plugin
 
8:31 PM
Danack I know, I am just afraid it'll get lost in the sea of questions on SO.

I am using it to take notes in class and store them in a DB to always have a backup - but today we need sub/super script.
 
But yeah - apparently it is the best even with flaws.
 
:-/
 
I suppose, I am just getting lost in the jungle of it's structure -> I am not really familliar with the way he coded it
 
@JesperJacobsen No one here is either.
 
Okay, I'll try to reach out to him, who knows - It might pay off ;)
 
8:38 PM
Does anyone know of a library that has the command line parsing power of Symfony console without the 'making me want to punch myself in the face power' of Symfony console? Or to put it another way, does anyone know of a 'command line router'?
 
Hi I need an advice what's better : Imagine a class foo with method bar where (inside method I calling class Friend and its method findByName and some params. My class Friend has so many DI and codes requires and so on class foo is called from a index script and foo has some functions like process names load names and so on but it called inside construct And I want to know what is better to return an object from foo (class Friend) or call(create an object) inside Foo
 
MT "@Giuliano84:What Programmers Say vs. What They Mean. #developers #devs #webapps #javascript #swiftlang http://t.co/RG9maDtE5N" @Actuate
3
 
@VeeeneX That would be much easier to interpret as code...
 
@Danack I'm on mobile so. But good mention
And I think that you are clever and smart and you understand me
 
@VeeeneX can you rephrase that?
 
8:41 PM
"I can read this Perl script" is just a flat out lie, even if you wrote it
 
I'm not smart so I can't understand it
 
I will try to make a pastie
 
@JoeWatkins pthreads really already has over one thousand stars… :o
 
:-)
 
@ircmaxell well disappointed on line one...
 
8:48 PM
lol
 
I often tell people it will require a horrible hack... then they make me write it anyway
 
yup
 
Oh, pastie.org sorry something went wrong
So I need advice for this "code"
If you can take a look at it ircmaxell or Patrick, Danack I'd be pleased
 
I rather like some horrible hacks.
 
@Patrick ^^ I've pasted the "code"
 
9:01 PM
f = new Friend //~ 100 methods
what... :x
 
As I told : "code" @Danlugg
@Patrick yes with DI
So what is better to return an object or run it inside the class?
 
9:18 PM
Neither is inherently better - you ought to design you code to be as clean and understandable as possible.
 
ThW
@VeeeneX 'What is faster?' is usually the wrong question.
You should always aim to separate the creation and the use of an object. An in you case you put 3 jobs in one class, loading friends, calling a friend and looping over a list of friends and trigger a call.
 
9:35 PM
user image
6
 
9:55 PM
Morning
 
 
1 hour later…
11:13 PM
@SecondRikudo ROFLMAOCOPTER
 
11:30 PM
"Now doctor, isn't it true that when a person dies in his sleep, he doesn't know about it until the next morning?" "Did you actually pass the bar exam?"
@SecondRikudo pandaaamonium14.tumblr.com/post/56271045443/… slightly different wording for some
 
> Can you give us an example of something you forgot?
 
I didn't really think it was funny, but then again, I'm british
 
:(
 
11:44 PM
@DanLugg header("HTTP/1.0 307 Hey look, an eagle!");
 
Right so.. what should be done with an answer that is not in English, and has a cell phone contact number? Unsure what to flag it here.
0
A: Azerbaijani to ASCII Transliteration

Mrs. Teresa OrtizHörmətli Esteem Müştəri, Orada Hi, Mən xanım Teresa Ortiz, Beynəlxalq Kredit satış meneceri və investisiya şirkəti, London, Birləşmiş Krallıq deyiləm. Biz ildə 3% faiz dərəcəsi dünyada, həm də fiziki şəxslər və şirkətlər üçün təminatlı kreditlər və təminatsız kreditlər verir. Bizim xidmətlər kre...

In fact, it may be spam c.c
 
@Daedalus did you try calling the number?
 
Nevermind; its spam; flagging.
 
The +447 makes it suspicious, that's british mobile number... but so foreign
I'd flag it
 
I translated it; it's an advertisement for a finance firm
 
11:47 PM
@Daedalus refresh
 
Thanks, heh
 
Anyone ever had problems with a vimeo video going full screen on your website? Mine has a weird problem, instead of the video going full screen, the page itself changes to fullscreen
 
if you see any more let us know, happy to deface all kinds of things
@Carnal not ignoring you, just don't have an answer, never experienced
 
will do.
 
I'll show you though just in case. Just a weird problem. Using wordpress too.
tiltamsterdam.com and click the first portfolio item then try changing the vid to fullscreen
 
11:51 PM
@Leigh I defaced it again!
 
@Leigh FFF (Fixed Fucking Fast/Fucking Fast Fix/Fast Fucking Fix)
 
@CSᵠ I don't have time for so much fucking
 
@Leigh that sounds worse that it probably is! have you tried seeing a doctor? :P
 
thanks for the help, guys
 
11:53 PM
@Carnal yea that makes the browser fullscreen, call vimeo
 
Damn you vimeo i guess. lol
 
nah, sensible suggestion
your method of embedding might be wrong
never embedded a vimeo before, but from the look of it ... the source frame is player.vimeo.com/video/99269921
now, when you click fullscreen on that, it seems to be ok
but....
the method it uses to go fullscreen is: make browser fullscreen
is it possible to embed without an iframe, I suspect that is the problem here
 
Hmm.
 
iframe + make browser fullscreen ---> make parent fullscreen
that's my guess
 
Let me try and remove i frame.
 

« first day (1431 days earlier)      last day (3517 days later) »