« first day (873 days earlier)      last day (4075 days later) » 

@DaveRandom k I'll set shit up tonight
@DaveRandom that's a good point :P
Might want to rename the branch to nightly though
@Lusitanian I have a kinda working chat. Need to tweak some templates though. But that shouldn't take a lot of time
Also: morning all
 
"If the call was interrupted by a signal, sleep() returns a non-zero value. On Windows, this value will always be 192 (the value of the WAIT_IO_COMPLETION constant within the Windows API). On other platforms, the return value will be the number of seconds left to sleep."
Assuming it's not Windows, think it's alright to just issue another sleep with the remaining time?
 
Is it ok to set the oven at 180 °C?
Well that's pretty hard to tell without context...
 
@wes @kaᵠ thats what they say "Graps Are Sour".. Ugly Car :)
 
hmm
well, it's for selenium tests
if for example we say if it's IE, do a sleep for 10 secs
 
9:11 AM
@PeeHaa yes, it is.
 
and it's interuppted at 5 secs
then we can issue another sleep for 5 secs
seems alright to me but maybe someone has found an issue here before
like if it's somehow always interuppted then it'll keep going forever
 
@PeeHaa yes, it's ok. as long as you don't put living things inside (or do, and have a good reason for it)
 
@kaᵠ unless your name is Schrodinger
 
@kaᵠ And that's when the context part comes ni :P
 
9:17 AM
That's a great quote... you can never use haha
 
good guy this Einstein.... he invented the atomic bomb
 
@kaᵠ hehe wrong
 
adho?
 
good guy this Einstein... he explained relativity
(E=mc^2) !== atomic bomb
 
@iroegbu but the equation was helpful
1 min ago, by iroegbu
(E=mc^2) !== atomic bomb
 
9:22 AM
Almost. Albert Einstein wrote to President Franklin D. Roosevelt just before the beginning of World War II. Einstein and several other scientists told Roosevelt of efforts in Nazi Germany to purify uranium-235, which could be used to build an atomic bomb.
Hi, btw
 
Morning all!
 
yes, helpful
 
Does anyone have any recommendations on any free sites, programs or apps for tracking bugs

I'm an independent, hobbyist (hate that word!) developer and just want something for myself to use.
Basically bug tracking and the ability to create back logs.
 
@James redmine :)
 
@James dont track them. fix them.
 
9:23 AM
Haha, I will but I want to create a priority list!
 
And although it's not "free", you can get Jira for $10.
 
E≈mc^2 *
 
@James GitHub has an okay issue tracker. probably good enough for a hobby project.
 
@timgws Thanks for redmine suggestion, will look at that, not heard of it before
 
@timgws I agree, Jira is awesome.
 
9:24 AM
@Gordon any language?
 
At work we are evaluating something called Scrumwise but that's for teams and is a paid app
 
@iroegbu what do you mean?
 
Is Jira made by Atlassian, we use Confluence which is a wiki thing which might be the same people
I'll take a look
 
@James get Jira if the team is < 10 people. Don't be cheap, pay the $10 :P
 
@James yeah same people
 
9:25 AM
Yes, it is made by Atlassian.
 
@iroegbu yeah. It's just available via the UI I think
 
GitHub tracker? Doesn't matter which language?
 
Confluence is great for what it does so I'll take a look at Jira too - maybe persuade work to take the hit (Cheap I know!)
 
oh... thanks @AdamLynch
 
@iroegbu no. it doesnt matter. a bug tracker is a bug tracker.
 
9:26 AM
i don't like jira. It's not intuitive
 
@Gordon ok
 
@James you can also try trello.com
 
@Gordon I'll take a look at that too, thanks.
Jira is cloud based too which is a benefit.
 
@James its a more general tool though
 
9:27 AM
@andho I don't agree, I found it rather intuitive. Guess it all comes down to taste in the end.
 
@Gordon It's good. It has a nice win8 app too
 
Trello?
 
@Gordon For me it's like a public Scrumwise/Rally
 
I like Win 8 Apps, especially those lovely ones that provide a useful snap view!
 
@James this does :)
 
9:28 AM
@AdamLynch and its free
 
@AdamLynch more than enough
 
@dragon112 I am with you there. Jira is rather easy to use, once you learn it. And get a fast enough server.
 
@Gordon maybe it's not for private ones?
 
Win 8 snap view is the best thing to happen to Windows since mouse support. (Possible exaggeration)
 
@AdamLynch trello page says it's free
 
9:29 AM
you can set it to private with free account re: trello
 
@timgws i dont like Jira. It's so bloated
 
trello tricked me with the cute dog
 
@andho bastards!
 
@Gordon 'cisely
 
@Gordon ah ok. I was just guessing. You know like GitHub isn't free for private repos
 
9:30 AM
Haha that's what I'm looking at right now!
 
@Gordon I agree with you about the bloat, that is not a reason to not like the product, though :-P
 
Not sure if they even allow you to have a private trello board though
 
@rickchristie hey, long time no see. how are you?
 
Anything you pub on trello is public?
 
@Gordon fine :) - I got a job coding with PHP now :D
what about you?
 
9:32 AM
@Gordon If you get a good server it's no problem in my opinion, the gains outweigh it's bloaty-ness
 
For example, Open Office is bloated, but that is not why I hate it. It's unintuitive, a pain to use, and plain butt ugly.
 
@timgws all of that applies to Jira, too :)
 
Get out.
XD
 
specially butt ugly
 
@timgws oh. and I like OOO :) so much better than MS office. I hate that ribbon crap.
 
9:34 AM
wow trello kicks
 
@Gordon sounds like you have your priorities back to front :-P
 
Monring
 
@Gordon Ribbon is great
 
I use about 75% more of office features now compared to no ribbon
 
9:36 AM
@James yeah, in girl's hair
 
Haha, I've learned by now that you can't convert Ribbon haters!
 
@James I am constantly searching for stuff with ribbons. It drives me crazy each time I have to use them
 
@James, you can. Lock them in a room with a laptop, and let the only application installed be Word.
2 hours using Word, and you can convert anyone.
 
@timgws Wordboarding
 
@timgws Haha, the problem is that people either genuinely don't have need for more than basic formatting tools, or they are too lazy to try and learn something new
 
9:38 AM
No need for extremes.
 
@Gordon lol at Wordboarding.
 
That's it, @James. I was a major ribbon hater until I actually really /used/ it. 30 minutes after finding out where the Macro's where for Word, and I was sold :)
Ribbon all the interfaces.
 
@timgws If only! For Excel ribbon was most useful - there was so much formula, data and pivot stuff I had no idea about.
I find that people just see a bunch of icons, they don't notice the pretty (I thought anyway) obvious categories for each tab, or each section on a tab.
 
haha just changed my organization to trello from jira :P
Ribbon is awesome, but don't hide the advanced stuff from the menu
 
@James And don't forget the tabs that appear if you select like an image and disappear when you deselect it so all the useless stuff isn't hogging your screen space.
 
9:44 AM
It's more that Microsoft had fed people pretty much the same interface since the first version of Word for Windows, without very many changes. Then all of the sudden, BAM, along comes Ribbon.
It's the same hating that you are now seeing with Microsoft Windows 8. But I think even that is an intuitive and (gasp!) original idea.
 
Yeah, don't get the Win 8 hate either. It's not perfect, and some stuff really bugs me. But I've just switched our whole company at work and I started off showing people all the features and then after 2-3 people I realised everyone just got it. I just install it now and don't bother showing anyone anything (great for me!)
 
@timgws windows h8
 
hahaha!
 
Fair enough they don't all use features like universal search, or the share charms. But their just as productive, or more so, than they were with Win Vista/7. Skype snap view is a great tool for internal chat (although buggy as hell atm). Anyway, someone going to start thinking I work for MS soon and I gotta get to work.
 
OH MAN. I love full screen Skype.
nom nom nom.
 
9:48 AM
@timgws okay, now I am sure you are trolling :D
 
Makes me think that I might just get a Windows tablet instead of an iPad...
@Gordon No, seriously.
 
no one loves Ribbons, Windows 8 and Skype
next you tell me you use Internet Explorer
 
@Gordon lol .. there is special place in every asylum for IT professionals who love sky in windows 8
 
Hmm, there's too of us here
two*
 
...
I use IE
 
9:49 AM
@Gordon I agree with you, this is just impossible. Skype is not te be loved.
 
I do use IE, but in conjunction with Firefox and Chrome
 
@James you can edit your msgs here
 
/now/ I am trolling :)
 
@timgws WHAT!?
 
None of the browsers are good enough for single use
 
9:49 AM
Chrome is.
 
Chrome and Firefox don't support file explorer in Sharepoint
 
@James Chrome is the only one worth considdering i suppose
 
... what version of Sharepoint are you running, @James?
 
@James lol sharepoint. examples of microsoft lockin
 
hmm... i want to know whether php session varies for www and non-www versions of a web page. For example, is the session same for example.com/test.php and example.com/test.php
 
9:50 AM
@timgws Sharepoint Oo
 
We're actually switching, just looking for alternative - currently considering Yammer, MangoApps and Jive
Yammer seems horrible though
 
Ban them Uncle, ban them all...
 
just to make sure … this is the PHP chat room. Not the ASP.NET chat ;)
 
lol
 
Show no mercy.
 
9:51 AM
@Gordon my old life was all about looking after a Sharepoint server for a few clients :)
 
Sharepoint: Bah.
 
Agreed.
Seriously, there are like 30 Microsoft patches you need to download from KB articles (can't even get them from Windows Update... :|) before you can even run the Installer.
 
@timgws What did you switch too? Sharpeoint has nice features, just is a bit clunky and bloody horrible for end users
 
@James I realised that I don't like running Sharepoint.
and left the job
 
@timgws Haha! What do you use at the new one, or nothing similar is necessary?
 
9:53 AM
Nothing is really necessary -- I don't dangle in looking after servers any more. I have gone back to my development roots.
 
wow trello is so simple, why didn't i make this????
 
Fair enough.
Well nice chat all, see you later. Going to be late for more SharePoint torture
 
"Hi, my name's Tim. I have not touched a bare metal install of Windows for 4 months."
 
@andho It is not enough to have a good product.
 
Oooooh, something awesome happened today
co-worker who used to be living under a rock asked me for books to read to get better at software architectures. OSOM
 
9:59 AM
@Ocramius you know he'll get worse at them now
 
@Gordon haha! I really hope not :) He also asked me how all this "jenkins" stuff works and so on :P
I see a bright less dark future
 
> Before one studies Zen, mountains are mountains and waters are waters; after a first glimpse into the truth of Zen, mountains are no longer mountains and waters are no longer waters; after enlightenment, mountains are once again mountains and waters once again waters.
 
quick question...in chat, how do you format a quote (so it has the indentation and vertical rule as in the message above this posted by Gordon)?
 
> quote
 
Thank you Gordon :)
 
10:06 AM
@alisamii np
 
Anonymous
10:18 AM
Checking SE from french class. how cool is that.
 
Anonymous
So what is up, roomies
 
@PHPNooB rien
 
Anonymous
haha, I learned that 9 months ago @gordon
 
Anonymous
you know i live in basel. your home is probably hours away from mine
 
@PHPNooB Nowadays yes. But I used to work in Switzerland for six month last year. Near Zurich but I visited Basel during that time.
 
10:25 AM
@Gordon codelesscode?
 
@Gordon wow...so we are all more or less neighbours. I live in Annecy
 
@Ocramius huh?
 
@alisamii well, im back in Germany, so it's about 8 hours to Annecy now
 
Anonymous
10:27 AM
If you come to basel, holla
 
Anonymous
or lausanne
 
lausanne is, of course, just across the border and a bit further along the lake :)
 
@Ocramius i like the last paragraph :)
 
@Gordon that site is full of nice tips on how to stab people about over-thinking :D
 
@Ocramius bookmarked
 
Anonymous
10:30 AM
@alisamii yea, I chose lausanne over basel, as it is more friendly place to live. I was in basel for 6 months
 
well, each has it's benefits.
You get better Rösti and Zuricher Geschnizlete in Basel :)
 
@Ocramius That was a good read!
 
Do you think people are scared to down-vote mods?
 
@crypticツ some people probably are. but some might also make a sport out of it.
 
@crypticツ yes, Some are, I do remember when i joined stackoverflow
 
Anonymous
10:32 AM
@alisamii maybe. I cant say I know much about basel
 
@cryptic are you drinking wine again?
 
is there a built in function that turns : [ 'aa', 'bb' ] into [ '___aa$$$', '___bb$$$' ] .. basically what i need is to add same prefix and suffix to each array value
 
@tereško array_map
 
hmm.. yes , there is that
 
10:34 AM
@tereško probably with str_pad. if that doesnt work, anonymous function
 
what is "bud" ?
 
@crypticツ does it make you wiser?
 
@Gordon No it makes you stupider
 
budweiser, it should ...
 
omg, I can write code like crazy with it
 
10:35 AM
if you are you meant "budweiser" , then the only "natural" part of it is the water
 
@Jimbo budstupider?
 
echo array_count_values($s6);// $s6 is an array
this ended up with following error..
Warning: array_count_values() [function.array-count-values]: Can only count STRING and INTEGER values!
I wonder why 'array_count_values' this function can only count srting but not array
 
Beer is a natural fermentation product.
 
.. then again .. now that you brought this up .. it would be nice the get some dark ale or stout
 
@tereško stdout
@crypticツ leaves the question whether you meant potbuds or budwisers
 
10:37 AM
@crypticツ I think we shouldn't get into this. I'm only against drugs because I have few enough brain cells as it is.
 
Php sessions make me sick... help!
 
@Gordon Budweiser is basically water beer
 
Anonymous
@Ihsan lemee see
 
@crypticツ aint nothing wrong with that
 
I prefer beer from a bottle anyways =o)
 
10:39 AM
Well, it is the egg and chicken problem bothering me. Without refreshing, you can not determine if user accepts cookies etc etc...
 
anyone here know about htaccess deny from?
 
Anonymous
@Ihsan sorry, cant help you. I am alergic to cookies
 
me too
 
1 message moved to bin
@pbvamsi please dont spam
 
@PHPNooB what is your preferred way of session tracking?
 
10:41 AM
who has the link to that x y z example when asking questions?
 
@Gordon its not spam, as i got no reply, after 5min am re-posting it
 
Anonymous
Just the good,noob-old-way of isset
 
@pbvamsi I maybe would agree if you had reposted after 50 minutes. but not 5.
 
@pbvamsi the php documents say:
Throws E_WARNING for every element which is not string or integer.
 
@Ihsan i tried to count number of elements by 'count' function n 'array_count_values' function, neither helped me
 
10:46 AM
@pbvamsi array_count_values "returns an array using the values of the input array as keys and their frequency in input as values.". That explains why
 
@Gordon @Ihsan oh thanks!
 
@pbvamsi array_count_values is not for counting the number of elements in an array, rather it counts frequencies of recurring elements. if an array does not respond to count($yourArray) it should be beaten severely :D
 
@Ihsan ;) its returning but not the true value :p
 
hi folks :)
 
namespace example;

function array_count_values(array $input)
{
    $output = [];
    foreach($input as $value) {
        if (!isset($output[$value])) {
            $output[$value] = 1;
        } else {
            $output[$value]++;
        }
    }
    return $output;
}

print_r(array_count_values($input = ['foo', 'foo', 'bar']));
 
10:51 AM
@PHPNooB I hate UID's appearing in URL's at the top of browser. I do not want to embed UID into some html or js part... And If browser uses cookies, which you are allegic, It autoMagically uses them to store session data.
Hi hakre
 
@pbvamsi the code above is a userland implementation of array_count_values. As you can see it uses the values from $input as keys in $output. In PHP, array keys may only be strings or integers.
 
@Gordon well that makes sense, only the name of the function is off-side :D
 
@pbvamsi so when your input is [[1]], the function will try to do $output[[1]] and that's not possible
 
@Gordon I understand, but by count is returning 10 where the total no of elements is 8! so i messed-up with array_count_values()
 
@pbvamsi you possibly make some problematic removals from your arry
 
10:54 AM
Eventho I'm quite the Jira fanboy, Trello is pretty awesome...
 
@pbvamsi i have no clue what you are doing there, but I am sure you are doing something wrong
 
@pbvamsi use array_splice($array, $deleteIndex, 1); instead of unset($array, $deleteIndex);
 
Anonymous
good point @Ihsan. I should try it as well
 
@Ihsan thanks bro :) let me hit hard this time!
 

« first day (873 days earlier)      last day (4075 days later) »