« first day (421 days earlier)      last day (3367 days later) » 

6:00 PM
hello
 
github.com/pigeonhole/newsfeed can you suggest some improvements in the design of my app.
 
I'm working
 
6:01 PM
o
thats fine.. if someone had a little free time.. else i won't disturb anyone..
 
have a live demo of it? People would be more apt to help
 
includes jQuery and jQuery mobile.
BAD
I give you a 1/10
 
@rlemon generous?
 
I'm Canadian. our scale has no 0, makes people feel better
 
6:05 PM
emm .. no.. its just as lively as dwlding and opening it in chrome. or somewhere ... .. no wait.. i don't know anything about jquery mobile.. i simply used to make it look like a mobile interface ..
 
you should have used the vanilla.js framework
 
A demo will help ten fold.
 
it is so awesome and includes everything you need!
 
Can you recommend me a publish FA button?
 
also, every browser today is shipped with it by default!
how amazing is that!
 
6:07 PM
@IonicãBizãu fa-bomb ;)
 
@IonicãBizãu firstly. use fontello.com not font-awesome
more options and a better UI :P
 
user652649
@mikedidthis Sup!
 
it too much work to make it look like one.. i did one .. here github.com/pigeonhole/JustBnW/blob/master/vf1.2/main.css
 
@Wesabi eat a dick :D
 
how do i put up a live demo?
 
user652649
6:08 PM
:D missed that :D
 
HE MISSED THE D
 
@shortCircuit use pages? pages.github.com
@Wesabi Sup man. I won't lie, I / we have missed you.
 
@rlemon Didn't know about that. Thanks!
@ZachSaucier Yeps... :-)
 
@IonicãBizãu np. it is so much better, and you can import your old packages and own icons
 
user652649
@mikedidthis liar, you missed talking about poop, that's the truth! :D
 
6:11 PM
@Wesabi don't confuse me with @rlemon
 
yea, what an insult to me
 
user652649
lol
 
user652649
i feel like i'm an alien in this room now
 
haha
 
user652649
a @mralien
 
6:12 PM
!!slidepoop
 
in JavaScript, Mar 13 '13 at 1:40, by rlemon
(Random Fact, when rlemon was 13 he pooped on a slide. he isn't proud of it, but he felt it was time to confess. I'm sorry slide.)
 
@Wesabi stick around, you will get comfy again.
 
user652649
i'm not sure i want to stay :D
 
why's that?
 
user652649
well the same reasons i left, plus the fact that my productivity got improved :D
 
6:15 PM
Can you share why you left? Apart from productivity?
You don't have to btw. I am just being nosey.
 
user652649
i can but i don't want to. anyway it is not something important and not related to SO
 
user652649
anyway now i have some days off so i can annoy you all :D
 
I hope everyone is watching google.com/events/…
 
Nope, maybe after work
actually not tonight, probably. I'm barely awake as it is, and I've got routesetting to do after work and then trivia to go to at the pub later on
normally I don't go to it but two of my friends will be there that I don't see often and the group needs my help because it's harry potter night
"The Power Tools of Chrome DevTools" in 30 minutes though. That might be fun
 
6:31 PM
!!Should I sleep or watch?
 
@SomeGuy Should I sleep
 
Uh, I don't know
 
lol
I will definitely watch their googleX ones though
 
6:47 PM
 
@shortCircuit is what visible?
 
the working demo
 
I can see it if that's what you mean
 
ok, so can you suggest improvements on it
 
no, I can't
I'm working, remember? :)
 
6:51 PM
o yes...
i am getting alzeimers .. how do u spell that #jeez
 
lol stackoverflow.com/questions/24416417/… the comment is on point
 
@shortCircuit Alzheimer's
 
@shortCircuit Embolden the category headers instead of the line items
Or do something to signify their importance; now it looks like they're just less-important text than each link, when in fact they should be more important
 
lol, from +2 to -1
 
ok @TylerH
 
@ZachSaucier I like how that guy's avatar is the circle he's trying to animate
 
Such a sad but intriguing project
 
interesting, but there's no reason why he should make it out of paper
 
Of course not
But he wants to
And it is an interesting idea
 
i think i need to write my own.. i don't even know how to control this :(
 
7:14 PM
@SomeGuy he stoles my idea
 
HE STOLES IT
 
steals it back
 
Don't to go the Indie Quilt link at bottom - opened a baddd site for me
 
vuhooo my bro got admission in physio \o/
 
7:18 PM
@Mr.Alien tell him congrats, he will know who I am :D
 
@mikedidthis haha thank you and you are already famous here as well :D
 
@Mr.Alien grump white boy, I know I know.
 
haaa, that reminds me of one thing
 
@SomeGuy lol that is such a misleading picture
for spacechem
that game is fun, but def for hardcore puzzle people
 
more or less than Myst?
 
7:20 PM
Haha for sure
 
I never played Myst, its different
more like umm logic puzzles?
 
Nope
 
not click around aimlessly puzzles
 
@mikedidthis enjoy your 3k, 23 hrs to go
 
er I mean Space chem is more like logic puzzles
 
7:21 PM
Yeah, you really can't do that
 
I know how Myst is, thats why i never played it
 
@Mr.Alien yay / welp!
 
not into those type of games at all really
 
:D
@mikedidthis play the devils role in closing
 
er I guess what more like mathmatical puzzles @SomeGuy
 
7:21 PM
Not really mathematical
 
@SomeGuy see this website amupmdc.org
 
hard to explain I guess, you basically have to build a system
and combine the correct molecules
 
You build paths
With several possible modifiers
The path has to be perfect
So you have to think it through
 
it seems like Alchemist but a fuck tonne harder.
 
but there are still diff ways to do it thoug
 
7:22 PM
@Mr.Alien Yeah, these websites are atrocious
 
so not necessarily everyone solution will always be the same
 
Yeah
 
@SomeGuy chrome used to warn me before, for malicious content :p all hail indian gov websites
 
I had to go through a bunch of levels for the achievement hunt a few years back
it was one of the harder ones to do
 
Hahaha
I quite enjoyed it
Never finished it, though
 
7:23 PM
and I got that beautiful badge
 
10 Second Ninja is so much fun!
 
havent played that at all
 
Get it. It's frustrating, but really cool
Did you like SMB?
 
yea
 
Or Trials?
 
7:24 PM
loved smb
 
Then you have to get it!
 
and Trials :P love both
 
Trials is awesome.
 
Yep, same here
 
yeah ill grab it today after work
 
7:24 PM
I got to play Evolution at the weekend. They nailed the community track sharing.
 
I got PvZ Garden Warfare yesterday
its suprisingly fun
like tf2 in a way
 
@mikedidthis Yeah, it's pretty great
 
I am still sad that Dungeon Keeper is PTW
 
hah yea
 
I don't enjoy having to open Trials through uPlay, but it takes only a second, so it's okay
 
7:25 PM
I backed the spiritual succesor
 
@Loktar related. The voice of the announcer in TF2 is GlaDOS.
 
War for the Overworld I think its called
 
I didn't know that.
 
crazy me neither
 
wow @SomeGuy The two mini games they have so far are aweful
 
7:26 PM
@mikedidthis wftogame.com
 
@ZachSaucier I wouldn't be surprised
 
really promising, dev is coming along great
 
No PTW?
 
they even got the original dungeon keeper voice guy
hah no pay to win
 
Sold.
 
7:27 PM
Molyneux backed it as well
 
I got access to suvarium finally :D
 
@mikedidthis hah nice I played that a few months back
was pretty cool but the lag was annoying
 
@Loktar still downloading...
 
all the servers were in Russia
 
7:28 PM
@benlevywebdesign why did you share that
 
because I am trying to recreate that and I get an error
I copied and pasted into jsfiddle and it doesn't work
 
lol
there's your problem
 
you need to include jQuery - you can do so in the left panel on jsfiddle
 
^ that.
 
7:30 PM
I did
Well I did choose one of the jquery options and then I just retried with another one and it worked
 
Include it again
I'm sure it'll help
/sarcasm
 
@SomeGuy measure twice, cut once, right?
 
how the heck does that question from earlier continue to get upvotes?
 
I don't know why it didn't work the first time but now its working
 
7:34 PM
hahahaha
 
@Loktar I never played it either, but I've heard it is everybody's favorite puzzle game
 
yeah people go crazy over it
that and Riven
they were the top sellers for freaking ever too I remember
PC Gamer used to list the top 10 games on sale... for years those stupid games were the top
lol then were replaced by the sims
in JavaScript, 6 mins ago, by abdellah mansur
Hi guys! is there a Javascript equivalent to Python's CLI command profile -s cumtime app.py where -s denotes the ordering and cumtime the cumulative time (cum = cumulative) and app.py the script
I laughed so hard at that.
I cant believe more people didn't say something
I imagine the koolaid man busting in yelling its cumtime!!!
 
I did!
I was the first
you are just a poser.
poser..
 
@rlemon haha I know just me and you really said anything
 
7:39 PM
:P
 
not even Anal Greg
 
haha
 
lol the anal greg thing is pissing Jan off
er not dystroy
 
and Jan it seems
but everything pisses Jan off
 
@rlemon yeah thats who I meant
 
7:40 PM
STOP!
 
CUMTIME
3
he is totally ok with that though
 
HAMMERTIME!
 
@ZachSaucier Holy cow, 5 upvotes and 5 favorites? Makes me a sad panda
 
people laugh - upvote I'd assume
 
it's already a duplicate even beside the fact that it's an awful question
I wonder how voting would be affected if we hid the downvote and upvote arrows behind a line or two of text that you had to click through each time
instead of a tooltip on hover
 
7:45 PM
@ZachSaucier but it is
 
@benlevywebdesign but it's not.
give us the jsfiddle link and we'll prove ya wrong
 
@ZachSaucier never mind I got it
 
7:59 PM
in JavaScript, 5 mins ago, by rlemon
well here goes anyways, hopefully (again) someone has tried this before and I don't have to wade into the deep end on my own. I figured out I can go server to server with socket.io-client package. cool. now my question is: will this cause issues because I'll be connecting from the client AND the server to the same end point?
 
Why? ^
 
"write my code for me"
no thanks.
 
> Incidentally, I am not at all a coder
 
I don't think that's what he's asking, really. He has already done much of the work.
 
man, screw work today. I've worked on like 7 different tasks today
 
8:04 PM
His snippet just doesn't sort the data well
 
then don't cv
I still am, and I still disagree the question is well suited
 
well I can't CV anyway, but I'm curious why you want it closed, since it's been inactive for three months already
 
look at the users question history. he latest is horrible and I peeked at his others to see if they were inline
this one was, so I'm CV'ing it
someone has to clean up the shit out there
 
9:04 PM
I got a resize: both; on the white parent window. And 100% width/height on the video iframe inside it. Is there a way to make it 100% but fit inside the parent? I tried with margins and paddings. I want the right side to look like the left side:
http://i.imgur.com/lQL1H8a.png
 
@Schoening looks like you need box-sizing: border-box on the parent.
I presume you have width: 100%; padding: 40px; or something.
 
9:23 PM
@mikedidthis yes I do. Sorry for afk
 
No worries. Yeah you will need to the box-sizing, so it equals 100% total.
 
Thanks. I think I gotta read about it. Coz just copy pasting it in didnt do it :p
 
You may need prefixes.
 
I pasted -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; into the parent. So I think I gotta read what it does :p
 
tl;dr it makes sure the element is never over 100% width when you use padding.
With out it. 100% width + padding = 100% + padding.
If that makes sense.
 
9:28 PM
It does. Sounds like it does what I thought padding alone would do with %
@mikedidthis It works! Thanks :) !
Now I got a keyboard and a re-sizable screen.
 
9:41 PM
@Schoening no problem. Usually I set that as a global: * { box....}
 
What is this with Google dropping webkit btw? I only read briefly about it. Does that mean the syntax changes too?
 
9:54 PM
@Schoening Do you mean using blink as apposed to webkit as a rendering engine?
 
Yeah
 
@Schoening Nope the prefix syntax won't change, I think they've been on Blink for about a year now. Will have to check though
 
Oh ok :) I only looked it up when someone in the ubuntu chatroom said they were gonna replace V8 engine, which I found very unlikely.
 
Blink is just a forked version of webkit that has been cleaned up heaps. Apparently they removed something like 4.5 million lines of code. I also assume that it means the project is run more by Google (even though it is open source) than by Mac.
 
Ahh alright.
 
10:22 PM
Anybody know php well? I'm trying to figure out why this happens:

$word = 'stw_weight';
echo ltrim($word, 'stw_');

output: "eight" (I want it to be weight)
 
10:34 PM
@joshhunt ltrim trims charachters, not a string, i.e because you specified a w it removed the other one aswell
Note the example
$hello  = "Hello World";
$trimmed = ltrim($hello, "Hdle");
-> string(7) "o World"
echo str_replace('stw_', '', $word, 1);
 
10:56 PM
@Billy Sorry just saw your reply. That makes sense, what does the 1 do in str_replace?
Does that mean it only replaces the first instance of "stw_" that it finds?
 
Tells it how many times to replace. If you omit it it would replace all occurrences of the search parameter
Php's docs tell you everything you need to know about every function
 
Why is your answer not in this thread: http://stackoverflow.com/questions/4517067/remove-a-string-from-the-beginning-of-a-string
It seems a lot simpler than the ones that are there... but maybe that person had a requirement that I'm missing??
@Billy Thanks for your help btw, I really appreciate it
 
it is
0
A: Remove a string from the beginning of a string

Bogstr_replace ( mixed $search , mixed $replace , mixed $subject [, int &$count ] ) now does what you want. $str = "bla_string_bla_bla_bla"; str_replace("bla_","",$str,1);

But the question was asked before the $count parameter was introduced
And np
 
That makes sense, just out of curiosity is there somewhere in the php docs where it says what is supported / not supported by certain php versions?
I mean it says "(PHP 4, PHP 5)" but it doesn't say that the count parameter was added on a certain version as far as I can tell: php.net//manual/en/function.str-replace.php
 
Yes it does there is a section called changelog
count was added in PHP 5
 
11:05 PM
@Billy duh, my bad
 
;]
I will update the correct answer on that question
 
11:16 PM
@Billy any idea why this error is coming up? sandbox.onlinephpfunctions.com/code/…
Ohhh... apparently count is only used to count the number of replacements: stackoverflow.com/questions/10521693/…
 
yeah, I just read that.
Sorry, my bad, I misunderstood the docs
$prefix = 'bla_';
$str = 'bla_string_bla_bla_bla';

if (substr($str, 0, strlen($prefix)) == $prefix) {
    $str = substr($str, strlen($prefix));
}
 
:D
 

« first day (421 days earlier)      last day (3367 days later) »