« first day (726 days earlier)      last day (3062 days later) » 
02:00 - 17:0017:00 - 00:00

17:00
> Asia protip: when ordering any kind of drink, ALWAYS say "no ice" unless you want 90% of the glass to be filled with ice
Depending on whether or not you get the bottle along with the glass, 90% is actually pretty nice
a full glass of ice doesn't melt as quickly as just a few blocks, so your drink doesn't water down and stays cool
if you don't get the bottle, then fuck it
also asia protip: always say "no ice" unless you like getting the runs, a lot of the time they just freeze tapwater, which is chock full of stuff our puny western bellies can't handle
lol
same with uncooked vegetables, often rinsed with tap water
avoid
source: got the runs in thailand and vietnam
17:32
how do i change the dns details of a domain registered with godaddy to point to a github page?
@Justcode lol no
!!tell lovetolearn google how do i change the dns details of a domain registered with godaddy to point to a github page?
Literally the top two results.
i embraced unit testing entirely, i write tests before i try to implement anything so that i know how things should work :happy:
17:45
\o/
only thing i hate is having to wrap tests inside methods
i wish there was a simpler syntax
@Worf Wrapping them in methods make sense though
basically 2/3 of the rows is a function test_(.*?)(){
What would you rather do?
idk
i don't have a solution
just saying its annoying
:D
especially naming them gawd
i should just use a counter
function test_1(){}
function test_2(){}
function test_3(){}
function test_4(){}
@Worf in JavaScript it's a tiny bit nicer
17:50
closures?
describe('Suite description', function() {
    describe('Subsuite description (you can nest those infinitely if you want)', function() {
        it('describes test in present simple', function() {
            // Test here
        });
    });
});
that's definitely not nicer :D
too many nested closures :P
@MadaraUchiha
21 hours ago, by Worf
create a php automatic documentation generator in just one day
@Worf just an example
ahahahah i'm still creating the classes for validating the FQCN
poor me
i wish it was that simple
You can pretty easily drop most of it and just be left with it()
17:55
i am like 3 weeks behind with actual work
this week i have to do something lol
another problem i have with unit testing is that i test the interface rather than the implementation
i write tests regardless of the implementation
just to be sure
i don't know if that's wrong anyway @MadaraUchiha
implementation may change
and tests would still be valid / cover properly any expectation
You don't test for implementation
You test for desired behavior out of a unit
not sure
That's unit testing
in phpunit everything seems designed to test implementations
in fact it asks you to test even protected methods
Other forms of tests test for implementation details
18:03
so i'm doing it fine
 
1 hour later…
19:38
[tag:review-pls] http://stackoverflow.com/questions/29882361/show-datalist-labels-but-submit-the-actual-value/29882539#29882539

Even though I'm not even sure a datalist would be the best use case for this, I found at least 8 similar or exact duplicate questions without a decent answer so I tried to create a canonical one.
If you are going to copy and paste material from elsewhere please provide the correct attribution and don't pass off as your own. — Kev Feb 12 '12 at 16:03
20:07
@StephanMuller your naming sucks
@ZachSaucier why?
<input list="answers" id="answer">
<datalist id="answers">
    <option data-value="42">The answer</option>
</datalist>
<input type="hidden" name="answer" id="answer-hidden">
answer errywhere
makes it hard to keep track of what's what
hmm, fair enough
will update that
seems helpful
never tried using datalist myself
the spec is lacking
implementation too, mainly because of that I think
20:10
@ZachSaucier What's tthe point of the hidden?
why are you asking me?
You posted the code.
It's clearly yours :P
context bro
read some :P
@ZachSaucier TL
thanks for the suggestion, fixed and will look over it later for more improvement
but now, pizza time
(cowabunga)
20:15
say you have a "path" object that is only about string manipulation (not related to filesystem), how'd you name the methods for to "open" a sub element or for to "open" the parent element?
path.append("foo")
path.super()
how about that
20:27
kappa senpais
20:52
evening
Hi guys I have a question about CSS:

´´´
.highlight .err,.highlight-ipynb .err {
border:1px solid #FF0000;
}
´´´
Can this be written in a more compact way
@mortenvp Yes
.highlight .err,.highlight-ipynb .err{border:1px solid red}
@mortenvp But use a minifier.
ok, but I need to repeat the .err twice
Yes, you still need to repeat .err
Unless you say "any .err can have a red border"
In which case it's just .err{border:1px solid red}
Lets say something like:

.highlight,.highlight-ipynb { .err { border:1px solid red}}

But I guess that is not legal?
Ok, thanks
21:05
@mortenvp it is in SASS
@mortenvp Legal in Less or SASS
ok, interesting
quite :)
it compiles to what Madara suggests
but is more intuitive to write
21:19
heh
7
Q: User badges not being displayed correctly

IzzyI've realised the user badges are not being displayed as correctly. As you can see from the above image the bronze badge count doesn't display fully. The correct badge numbers should be

When Jon Skeet's involved, it takes two moderators to mark as a duplicate
@TylerH he wasn't a mod
Yes, I'm aware. It was a joke.
 
2 hours later…
23:53
Anyone around who could tell me if it's possible to center a single <td> element inside a <tr> (e.g.: a table with 3 rows, 2 of which consist of 4 columns, while the last column only has 1 column, which needs to be centered)?
^ Nevermind, I just completely forgot about colspan for some reason...
02:00 - 17:0017:00 - 00:00

« first day (726 days earlier)      last day (3062 days later) »