« first day (935 days earlier)      last day (2853 days later) » 
02:00 - 23:0023:00 - 00:00

02:31
Who wants to buy me the Space Engineers/Medieval Engineers pack on steam \o/
 
1 hour later…
Abe
Abe
03:33
user image
4
04:01
@Abe America
are you even surprised anymore
Abe
Abe
:D
04:41
@Cerbrus do I look like I care ;)
@cimmanon You mean PC Principal isn't just a parody?
 
1 hour later…
06:06
posted on November 21, 2015

New Cyanide and Happiness Comic

 
1 hour later…
07:30
-1
A: How to center <u> html element?

Nisha SSsimply you can use div. <div style="text-align:center"> <a href="kobe1.html"><u style="font-size:10px">click images for more information </u></a> </div>

:|
07:40
got into the overwatch beta
its pretty great
07:51
@Loktar nice
Been trying to get React.js and Foundation drop-downs working together... Haven't had any success >.<
08:52
@Loktar send inv. pls D:
10:01
10:16
the favicon on that website kills me :P
@Neil
@MethodMan How come? They're only pixels on a screen. They can't hurt you
:P, PEANUT BUTTER JELLY TIIMMMEEE
11:14
@Neil I don't get it :P cpt obvious plz
Abe
Abe
how can you not get it :P
it's a trap for nerds
don't see it
you expect a fun science fact, but it is just an insult
lol
Abe
Abe
@easwee did weather change there as well? we had a long nearly summer weather till yesterday, today we've got a 15-20°c temp drop. lol
11:19
raining atm
Abe
Abe
i'm expecting it to snow
must be around 5 degrees
@Abe our caretaker prepared his mini snow-plow in the morning
maybe it will snow if temperature drops more
Abe
Abe
i see it coming
the fux. t-shirt last week, 2-3 sweaters today :D
eh it's not that bad
I went for lunch and still sit outside
it's just crappy because it's raining
well it's true I'm a bit burned from yesterday - went drinking with a russian guy
ouch
do russians drink black russians/white russians?
just curious
11:25
no idea what that is
type of drink
we had beers and a few viljamovka's inbetween
i bet that made me look really bad if you didn't know that
viljamovka is pear schnaps
hehe
dunno - maybe we have another word for that
Abe
Abe
it's vodka and coffee @easwee
11:31
black russian is coke and vodka
wat!?
Abe
Abe
is it?
i thought black russian and white russian are coffe and vodka, plus the white russian has milk cream in it
dunno - never saw a russian mix vodka with anything :D
Abe
Abe
The Black Russian is a cocktail of vodka and coffee liqueur. It contains five parts vodka to two parts coffee liqueur, per IBA specified ingredients. Traditionally the drink is made by pouring the vodka over ice cubes or cracked ice in an old-fashioned glass, followed by the coffee liqueur. This combination first appeared in 1949, and is ascribed to Gustave Tops, a Belgian barman, who created it at the Hotel Metropole in Brussels in honor of Perle Mesta, then U.S. ambassador to Luxembourg. The cocktail owes its name to the use of vodka, a typical Russian spirit, and the blackness of the coffee...
it's not coffee, it's coffee liqueur
coretto :D
almost
Abe
Abe
Antony Ferrara's talk about PHP youtube.com/watch?v=MWTe-iswnqc
11:37
what do you use for code documentation ?
Abe
Abe
my keyboard? :P
lol
what do you mean?
i mean something like phpdoc.org
Morning
11:39
@NullPoiиteя you mean like auto docs generation out of code comments?
yeah we use some tool that does that but can't remember the name now
Abe
Abe
@NullPoiиteя phpdoc sux, use apigen
phpdoc is a fucking plague
@Abe 200+ loc HAHA, with regex would be 3
11:40
ok ok buddy cool down
Abe
Abe
ahaha @NullPoiиteя i'm angry at phpdoc, not you :D
it's like ten years that they are failing to define a style for php documentation
@CSᵠ yeah 3 my ass :D
that thing also tells you what you wrote wrong though
regexps just fail
sorry, i meant 2 regexps :D
/**
 * Description what function does
 * @param {Number} a
 * @param {Number} b
 * @return {Number} sum
 */
I always write like that
but I don't do php :P
@Abe isn't goto evil (btw i personally like it)
?
Abe
Abe
it's not evil for certain things (includes parsing)
without goto would have been like 30 times slower and 30 times longer
11:45
@Abe lol
i know, goto's a life saver is certain situations
Do you know how goto even got to the language?
@easwee i think we all do same :)
Abe
Abe
i don't
Some highschool kid wanted to try out his C skills, and implemented goto for PHP. He then put it in internals for review, and they merged it in.
11:46
true we all know, you dont write documentation at all :D
Abe
Abe
...
goto is definitely, absolutely an evil construct that should not have been a part of the language.
@MadaraUchiha good thing he did
Abe
Abe
that's your opinion @MadaraUchiha
No other language except for C and a bunch of other insignificants have it, and we do parsing in Java and JS very well
11:47
@MadaraUchiha no! it extends the language, it's good
Abe
Abe
@MadaraUchiha so?
how it can be used, meh
@CSᵠ So do global variables, right?
@MadaraUchiha that's old
They're awesome! They make everything easy! No pesky scope
Abe
Abe
11:47
you are like, 21? it's not that you are much more than high school
but yes..
@Abe That's not the point
The point is it was someone's pet project and it was merged in because whatever
(Also, I'm 24)
but it was merged
@MadaraUchiha shut up, you're not
@CSᵠ Well, I usually omit the 1, I'm 124 years old.
@MadaraUchiha that sounds more accurate
:)
Abe
Abe
11:49
occasionally you really disappoint me @MadaraUchiha you get captured by the flood of common thinking without thinking yourself
@Abe lolwut?
I don't need to remind you that I've programmed PHP for the better part of my programming life
I know exactly what goto is and what potential usecases it has.
Abe
Abe
what does even mean
@MadaraUchiha ever programmed in BASIC ?
But it makes code so unbearably ugly and unreadable, that it's not worth any of it.
i know that's old
11:50
@CSᵠ Nope.
Abe
Abe
that's your opinion, again
i tried functions, i tried regexps
only with goto i managed to get that code readable
@Abe you could have made it nice and replace all the gotos with function calls
but gotos work in that case
Abe
Abe
that is how it looked at the first
but it was a mess
more so if you carefully design with goto in mind from the start
Abe
Abe
it is way much nicer with goto
11:52
but... the goto label naming... meh!!! TRY_* !?!??!
dafuq?
Abe
Abe
it does exactly what it says
tries to consume a token, otherwise does other things
@Abe one more thing...
you need no else branches in your design...
at least from what i skimmed from your code
Abe
Abe
yeah some stuff can be optimized
but i added elses on purposes to keep it readable in some places
reduce loc and readability maybe
but.. may not be so inteligible as with the else branches
some people don't get that...
^ yeah
Abe
Abe
consider that i wrote this at least 10 times already
this is the nicer i could come up with
but sure some parts of it can be improved
and also i don't really care, it's experimental stuff
11:58
using nikic's php-parser?
Abe
Abe
nope
just token_get_all
what Lexer then?
Abe
Abe
the lexer is just that basically:
hmm
does this get optimized?
for($i = 1; $i < count($tokens); $i++){
or count gets eval'ed each time?
@MadaraUchiha ^
Abe
Abe
it's optimized, array size is stored in php (count increment/decrement happens on add and remove)
12:02
so.. it doesn't make a func call each loop iter?
Abe
Abe
it does make a function call, but it doesn't actually count the items
btw, you on slack?
Abe
Abe
it just returns the previously calculated count
ok, so just f.call overhead
Abe
Abe
yeah
12:09
black
serotonin
!!!!
what?
Abe
Abe
@MadaraUchiha it could be that, but it was surely something others wanted as well
for instance rdlowrey and bwoebi use it extensively in their php server
!!youtube black serotonin
Abe
Abe
because it is extremely useful for certain things and it is as fast as an inmate first fuck since it has no fcall overhead
12:16
@Abe Are you talking about their event loop implementation?
Abe
Abe
i don't remember exactly what
You mean that thing that certain other languages have natively and it works a lot better and doesn't require getting knee deep in OOC?
I've given up on PHP for a reason, you know.
Aight, as interesting as this is, time for some honesty.
Who do you really think's gonna win these elections?
Not who you hope would win, who's going to?
Abe
Abe
i don't think you are going to win, according to the primaries
guys i need help i made a question
http://stackoverflow.com/questions/33843150/delete-item-from-controller
@Abe The primaries generally don't mean much
12:19
its with angularjs so not sure it here where i should post it
History suggests I'm not going to win though, and we do have some quality candidates.
Abe
Abe
you should really avoid talking about anime next time. i'm an objective person and i won't judge anyone by what they like, but i believe most of people do. they think you are "just a kid that watches cartoons"
@Abe Where did I mention anime (outside me moderating the Anime site)?
Abe or Madara could you help me out with my question maybe?
@DylanGomes Maybe.
12:22
@MadaraUchiha i really hope you will, but doesn't really look like
Ed seems to
@CSᵠ Ed looks like the favorite, yeah.
i wanted to have only a 1st choice vote... can i do that?
@CSᵠ Sure, but it's basically a wasted vote
why?
Because of how votes are counted.
Abe
Abe
12:23
i meant that, and that is already too much, imho
@DylanGomes read the rules.... "Don't ask to ask, just ask, and ask once!"
hmm, can ytou refresh my mem, on how @MadaraUchiha ?
@MadaraUchiha I really need a answer its for my exams who are coming up
The computer determines how many votes are needed to win (say, 100)
@DylanGomes.... RULES BRUH
12:23
Each round, the votes are counted
Yeah sorry it was sended right afther you told me
@DylanGomes i can help you maybe
If someone made over 100 (say, 200), then he wins.
Only half of the votes of the voters who picked the winner go to the winner (just enough for them to win)
Would be great i posted the link of the question here a bit above
The other half goes to the 2nd choice
12:24
mod positions, 3... 10 candidates remaining?
Also, if the candidate you picked first was eliminated, all of your vote goes to your 2nd choice.
and roomrules are speak english & don't be a dick
@DylanGomes Also, if someone is interested and wants to help, they will.
I don't know Angular, and frankly, the conversation I'm having is really interesting
@DylanGomes also, don't be a dick by stating don't be a dick
Please do not barge in on others' conversations, I realize that you're under pressure due to exams, but no one is obligated to help you just because.
12:26
i know just trying to solve the problem i have
hey, let him... what's a gonna hurt... we can replay to each';s msgs anyway
@CSᵠ If you only pick one candidate, and they lose, your vote is lost. If you only pick one candidate and they win, then part of your vote is lost (that could have influenced a second candidate's winning)
Well @MadaraUchiha I voted for you <3
hmm
@MethodMan Cheers
Abe
Abe
12:27
@MadaraUchiha what do you think? honestly... i see it "i'm really proud to have been the moderator of [something only kids would care of]"
@Abe A lot of people don't see anime like that (and it's really not that)
@MadaraUchiha also, imho i believe you started with your left foot with this elections...
because of the text you present yourself with
It's like saying cartoons like the Simpsons or Futurama or Family Guy or South Park are just for kids.
@CSᵠ How so?
Abe
Abe
in fact i wouldn't write that either @MadaraUchiha
if you don't win this time... maybe take some time for the next election to reflect on your presentation
Abe
Abe
12:29
because simpsons are also for kids
@Abe Key word here is just
@CSᵠ What, in your opinion, did I do wrong?
Abe
Abe
you didn't mention your skills at all, but you mentioned anime
@MadaraUchiha I wouldn't say wrong per se
Abe
Abe
this is what i think.
but the wording and contents is very important
12:30
@CSᵠ OK, what would you have done differently?
put some marketing into it, and social hacking psy :P
@CSᵠ Yeah, I hate that crap.
@MadaraUchiha i have NO idea, because it must come from you
If I can't win by being sincere, I'd rather not win at all.
@MadaraUchiha i know... i understand that, i feel the same, but this is politics level, and that is played differently
@MadaraUchiha nobody wins by that alone
grow up from the pink garden
Abe
Abe
12:31
nobody is suggesting you should have lied
I'm not going to be Donald Trump and promise all Indians to be banned from the site.
Abe
Abe
lol
Or that I'd magically build a wall around the review queue.
@Abe exactly! not at all
@Abe it's snowing now
Abe
Abe
12:32
@easwee i knew it
lol
they key is to handle the most important parts that you can't handle yourself now.. eg flag que, really messy stuff
Abe
Abe
my bones are actually a great weather meter. i'm sensible to even a single degree change :D
@MadaraUchiha "the extra abilities of a mod won't be too drastic" <- that's against you, negative wording score...
".. being a mod is the diamond" MEH
^ kid dreams
@Abe haha you are like my grandpa
12:35
i'm kinda sorry i haven't given you feedback earlier
but i'm just a guy on the interwebs :P
@CSᵠ It's fine, I appreciate you giving it now (even if I can't do anything about it).
Depending on the results from this election, I'll decide whether or not I'm going to run for the next.
you'll run
you got serious backing
History suggests otherwise.
I ran 3 times prior to this one
"vacuum cleaner" <- cliché is negative also
Placed 11-11-10 in order.
12:37
i know.. i voted 3 times for you :))
Major backing from 4 chat rooms isn't enough.
The silent majority is what determines the outcome.
If I see some sort of fluctuation, I'll consider running next time.
there are 3 spots.. you're not gonna get the 1st now for sure, but i hope you get one of the 3 anyway, there are good chances
I wasn't intending to run this time either.
Was peer pressured into it.
i know, you're crazy
@CSᵠ The problem I have is that I always get my hopes up, even when I tell myself I shouldn't, then I'm bummed about not winning afterwards.
Being kind of blatantly rejected 3 times in a row hurts, even when you try to brush it off.
12:40
well... don't, when it's gonna be your time, you'll feel it :)
or have a surprise
the problem is half solved:D
Abe
Abe
@easwee i broke my shoulder when i was a kid, when weather changes i literally feel it in my bones :D
they probably put a barometer in your shoulder before they fixed it
12:55
they always do
Abe
Abe
lol
everything is solved i thank you guys for the efford
what a mess ^
Abe
Abe
@MadaraUchiha i find way more bad the fact that the function is just declared and not called
:P
lol
Abe
Abe
surprisingly @MadaraUchiha didn't point out i wrote "declared" instead of "defined"
13:46
@Abe That's because I'm not a Java developer
I don't dwell in petty semantics.
(I did notice though)
Abe
Abe
bs, i could feel from here your ocd about to explode
user image
6
0
Q: PHP get variable from json results

user3774914Using PHP I have a json result of {"text_block":[{"text":"XYZ","left":0,"top":0,"width":10,"height":12}]} I can get this printed by the below code: $json= file_get_contents('https://api.url'); $result = json_decode($json, true); //this returns an array $result = json_decode($json); $data = ge...

sigh
I.. just.. what are you even doing on my front page?
Abe
Abe
14:12
YES
i have all the grammar working :D
(last famous words)
@Abe famous last words*
Looks like you still don't have all the grammar working.
Abe
Abe
haahhaah
I was literally waiting for you to make a grammar mistake :D
You made it all too easy.
Abe
Abe
position of adjectives in this case isn't switchable?
@Abe No
Famous last words means your last words were famous
Last famous words means that among all the famous words you've said, these were last.
Abe
Abe
14:19
it's about the same, i don't care.
:D
{
    "isInterface": true,
    "isClass": false,
    "isAbstract": false,
    "isFinal": false,
    "typeName": "Foo",
    "typeParameters": [
        {
            "variable": "$T1",
            "compare": "isin",
            "definition": {
                "name": "Bar"
            }
        }
    ],
    "extendsInterfaces": [
        {
            "name": "Baz",
            "arguments": [
                {
                    "variable": "$T1"
                }
            ]
        },
        {
interface Foo<$T1 isin Bar> extends Baz<$T1>, Qux
it's a simple thing, but i never did a parser before. i'm so proud of me
@CSᵠ final version is 296 loc
wtf did you do? it was 230
KISS?
Abe
Abe
i added unions and intersections
unicorns?
Abe
Abe
unions
class A<$T1 is C|B>
yeey, rainbows
Abe
Abe
14:26
unions
i like trains
Abe
Abe
!!tell CSᵠ ead
@CSᵠ Eat a Dick™
!!tell Abe ead
@Abe Eat a Dick™
Abe
Abe
14:28
!!tell CapricaSix ead
@CapricaSix Eat a Dick™
lol
!!tell CapricaSix tell CapricaSix ead
@CSᵠ Command tell cannot be used in /tell.
at least.
14:46
hi
lmfao
 
2 hours later…
17:11
posted on November 21, 2015 by Pedro Botelho

Tips for Better SVGs * Mo.js Tutorial * Unsplash Book * Gamepad API * Classy CSS * notie.js * Foundation 6 Collective #195 was written by Pedro Botelho and published on Codrops.

crl
crl
which css transition/animation would reflect the best an elastic move?
crl
crl
17:26
well a physical move of a target linked to a fixed thing with an elastic, that in CSS (just a random thought)
acceleration with the stretched elastic, deceleration with friction
I mean we should be able to put Physics laws in CSS :p
in js you'd have to deal with absolute positioning, not fun
 
1 hour later…
18:48
@David Please leave time for Q&A to answer before posting in the chat.
Also please only post it in relevant rooms
ask and trash huh
crl
crl
19:28
I know this is is JS, but do you know if window.getComputedStyle is expensive in calculation? it returns a shit load of things try window.getComputedStyle(document.body)
or does it just return things that the browser had already computed
if it returns a shitload of data it's mem expensive also, that's a thing to worry about too
crl
crl
yes, I'd call it repeatedly in a dragover callback.. could be a stupid move
call it more specific
i mean, dont get all and filter, get specific instead and use
it's expensive
crl
crl
ok ^, I'll see how to call it less often, only when the component is 'mounted', thanks
 
1 hour later…
20:34
hey guys can anyone guide me as to techniques i can use to prioritize user requirements for a software system i am developing
meow
@devdar not really sure what u mean
need more info about the entire thing
crl
crl
requirements.sort((a,b)=>Math.random()-.5)
Was wondering if anyone was aware of this fix for Jumping Scrollbar Issue
crl
crl
requirements.sort((a,b)=>+/(important|urgent)/i.test(a)-/(important|urgent)/i.t‌​est(a))
mm is flexbox for overall page layout bad?
!!google flexbox for overall page layout bad
like said here below
crl
crl
20:50
bad for IE certainly
I guess flexbox are good for just particular elements
crl
crl
21:18
until grid layout, in a decade
 
2 hours later…
22:57
Is there a way to hide the increment/decrement buttons on a <input>?
This is what I'm talking about: i.imgur.com/Y10vUhc.png
02:00 - 23:0023:00 - 00:00

« first day (935 days earlier)      last day (2853 days later) »