« first day (1177 days earlier)      last day (3775 days later) » 

2:00 PM
well i m applying to jobs in the states and germany which ever comes first i ll go with it
 
@tereško still hungry? "edible" :)
 
@webarto but i want to go there since i have an old acquaintance that's starting his own thing and wants me to be part of it
 
@tereško just save the page as full webpage. The page is nothing but a static HTML file right now.
 
@PatsyIssa That's fine, but it's more expensive than USA and salaries are lower, just saying. Go wherever you feel like :P
 
webarto please me too I want to go abroad working
can you advise me
too
I have tried to apply for jobs in germany but they require german skills and experiences in technologies
 
2:03 PM
@webarto Cheers on the advice ^^ i ll weight out the pros and the cons before making my decision
 
well, I'm finally off to bed. nite all =o)
 
^ O_o
9AM, duuude.
 
morning @webarto, all
 
morning @Joe :)
 
ThW
Good Morning
 
2:20 PM
almost good until the end... :-X
 
okay, so now lester starts to promote his totally-unrelated blog posts on the internals list. great
 
lol
 
@ircmaxell to be honest isn't he just stating the obvious >.<
 
the first 3/4 of the video aren't bad
the end where he recommends hash(password + salt) kills it
 
@NikiC What does someone have to do to get banned from there?
 
2:34 PM
@Danack just name the amount of time
ah, from "there". sorry. misread. I thought you meant from here
what a difference a t makes
 
Looks like Gordon's got an itchy ban-hammer.
 
nah, just happy to help with getting away from chatting when it keeps you procrastinating ;)
 
> Microsoft account passwords can contain up to 16 characters. If you've been using a password that has more than 16 characters, enter the first 16.
Lol fail.
 
Does anyone grok Chef/Ruby? I'm failing at something that is probably obvious:
"can't convert String into Integer

1:  pecl_modules = data_bag('pecl_modules')
2:
3:
4>> pecl_modules["modules"].each do |pecl_module|
Recipe [here](https://github.com/Danack/intahwebz/blob/master/conf/chef/cookbooks/php_compile_pecl/recipes/default.rb#L4) and
and the [databag here](https://github.com/Danack/intahwebz/blob/master/conf/chef/data_bags/peclmodules.json).
actually both pecl_modules["modules"] and pecl_modules[:modules] fail.
 
2:56 PM
@Danack silly question, but why call data_bag('pecl_modules') (with underscore) but have the bag be named (file name, and id) peclmodules (no underscore).
 
@salathe That's......not a silly question, that's a typo.
 
The docs hint that you'll probably also want to call data_bag_item() at some point.
 
@salathe Yeah - i was using that, but had the same error. I broke the loading of the data_bag and accessing the var from it out to be separate to try to debug it.
 
:( heats ink packaged up, now I am stuck on an iPad for the next 3+ days :-/
 
Apparently Chef doesn't care about underscores in the filename/ID - still getting "Symbol as array index" when doing "peclmodules[:modules].each"
 
3:00 PM
A chance to read my books perhaps
 
@Danack it looks like you might want...
pecl_modules = data_bag_item('peclmodules', 'peclmodules')['modules']
pecl_modules.each do |pecl_module|
(I don't have anything up and running to test that)
 
TRying that now - weirdly with the code I had pecl_modules is an array - I was expecting it to be an object.
 
IIRC it's just an array of the keys (ids)
 
user895378
@NikiC lol.
 
3:24 PM
@ircmaxell Cocaine?
 
Mornig
 
user895378
@webarto I know you can appreciate this: I got my first "Your code doesn't have comments" bug report today on github.
 
user895378
E_INSUFFICIENT_DOCBLOCKS
 
Hello World! I'm back :p
 
user895378
@FernandoSilva Hello :)
 
user895378
3:28 PM
Things like that bug report are why these pointless arbitrary PSR things are harmful. You get all these people who think that simply by putting comments on things and naming their files in a certain way that it somehow makes for good code. Who cares that the code itself is terrible and unreadable if it has docblocks and composer.json!?!!?11
 
@rdlowrey Haha, yes, funny people :) If you can't see the code style then you should quit programming or whatever you do. So many boilerplate things so little real code.
 
> (..) but when i use external libraries for my private projects they have to meet some quality measures.
his primary project: github.com/ClanSphere/ClanSphere
It's a shame he doesn't seem to apply same quality standards to his own code
 
Cute.
 
3:46 PM
... and yes, if you suspect that I do "background checks" on people who annoy me, you would be correct
 
@Danack did @salathe fix your problem?
 
@dyelawn Nope. In fact shit got weird. It looks like Chef has suddenly decided to start skipping that file, and I'm not sure why.
 
skipping the recipe?
it's been awhile since i've done chef/ruby, but if i were having that prob, i'd probably start by messing around with hashes in irb.
 
Yep - I think I may have borked something unrelated.
 
user895378
@tereško lol
 
3:49 PM
Evening
 
user895378
@MadaraUchiha Good evening.
 
i'm looking at my chef-repo right now; unfortunately none of my databags have multiple levels; just k=>v
 
@MadaraUchiha Hi... good to see you fighting along side Naruto-chan :p
 
@FernandoSilva I think you're confusing me with someone else.
Seeing as I'm about to obliterate "Naruto-chan", I don't see myself fighting "alongside" him.
 
@MadaraUchiha lol, ur right... what's up ur sleeve next... i'm kinda waiting on the next episode
 
3:52 PM
@Danack this is how they look in my recipes: secrets = Chef::EncryptedDataBagItem.load("secrets", node['dyelawn']['environment'])
 
@FernandoSilva Manga or Anime?
 
@MadaraUchiha fan-fic .. noice the 'chan'
 
@dyelawn And then how do you iterate over 'secrets' ?
 
@MadaraUchiha manga
 
i don't iterate; they're all k => v
here, let me just post the secrets.json :)
 
3:53 PM
@MadaraUchiha 661 should come out today right?
 
@tereško Wha?
@FernandoSilva Since when do chapters come out on Sundays? :o
 
@MadaraUchiha wow, didn't know about that room... but i saw somewhere that last year's 1st chapter came out on a sunday...
 
@DanAck here's how they're used: gist.github.com/dylanlgs/0d747a58c4ea49e474c5
 
@FernandoSilva Well if it isn't out this time of the day, I don't think it will today.
 
@MadaraUchiha I was just point in out that he opted for "-chan" instead of "-kun"
 
3:56 PM
@MadaraUchiha nw, not important... just got pulled into the subject when I saw ur name popup :p
 
@tereško Ah, yeah :P
 
@Danack can i ask why you're using a databag for that instead of just attributes in your [cookbook]/attributes/default.rb
 
@dyelawn I have no idea what I'm doing and the documentation sucks.
 
hence we must be dealing with some gender-bender fan fiction
 
yeah the docs are terrible
hold on a sec
 
3:57 PM
I thought that a databag would make it easier to switch which dataset gets used i.e. be able to swap between different configs.
 
yeah, that'd make sense the way most people think, but there's kind of like a "waterfall" of configurations going on in chef.
 
@tereško I haven't had much sleep lately, cut me some slack xD
 
take a look at how the community php cookbook handles config hashes: github.com/opscode-cookbooks/php/blob/master/attributes/…
 
@FernandoSilva you must have never met me before
3
 
if you wanted to revise something like default['php']['version'], you'd do it in your role with override_attributes
 
3:59 PM
@tereško nope, but I appreciate the debug mode... I do it often as well :p
 
@dyelawn That's exactly what I wanted to avoid - cascading options. I just want to be able to define a list of stuff, and then swap the whole list in/out rather than having the options overwrite each other.
 
@Danack if you were just interested in getting in done instead of doing it in a way that made any sense, you could just create different roles for all of the things you were considering creating databags for.
 
@BenjaminGruenbaum lol
@BenjaminGruenbaum I gotta get one of those for my social networks... specially for the "oh so cute" posts :p
@tereško but tereško, nice to meet a fellow "disapprover"... won't do much of that around here though since I'm still new to the place, maybe once I start getting a hang of this programming stuff :p
 
morning
 
4:07 PM
@Patrick afternoon
 
user895378
@BenjaminGruenbaum Insta-star.
 
user895378
Can I get that as a vector, please?
 
user895378
Ahhhh. That's what I get for not clicking the starred links at right.
 
The svg is somewhere near there
 
4:08 PM
I hope will keep the royalties commig =P
 
:-)
 
lol, I'd just make the "seal of disapproval" start left to right
 
<?php
if (extension_loaded("router")) {

	class Console {
		public static function main($argv = array()) {

			printf(
				"I am the console program :)\n");

			return true;
		}
	}

	try {
		$router = new Router();
		$router
			->setConsole(array("Console", "main"))
			->addRoute("get", "~/getting/.*~", function(){
				echo "I am routed request!";
				return true;
			})
			->addRoute("get", "~.*~", function(){
				echo "I am default route";
				return true;
			})
			->route();
	} catch (RoutingException $re) {
am I breaking any rules ?
 
several
 
4:12 PM
tell me about them
 
each class should be in a separate file, you are passing the name of the class and function instead of callable, CQS
 
user895378
I need to decide once and for all: should I start using public function instead of just function in my PHP classes?
 
oh .. and then there is the issue with having a static class
 
@rdlowrey I would say yes
 
I actually meant the router stuff
 
4:14 PM
@tereško agreed with first, doubt about the second - since arrays are valid callable in PHP
 
^ and that, array is callable technically ...
 
Everytime I see you doing that I have to stop for s second and think whether it is a mistake or not
 
user895378
@PeeHaa all right. Most people seem to agree with you. public function it shall be.
 
@rdlowrey IMHO, it is a good practice to add public, because it makes you be sure that it is actually a part of the public interface
even if the interfaces is not defined
 
user895378
Should I do public function in interface definitions as well? It seems pointless to do there because anything defined in an interface is public ...
 
4:17 PM
@rdlowrey ehm.. I'm adding. Just habit
 
@Danack try running knife data bag show pecl_modules (or knife databag show pecl_modules peclmodules)
 
Hi everyone! don't know if a thread for this exists but I don't have time to search so I'm gonna ask it right away. Our team is creating this social networking type app with common features like view feeds, upload photo and videos, comments, likes, search, hashtags, etc. I'm the one responsible for backend and they are askng me to give a suggestion of what or where would I host this kind of high traffic app. If there's any server guy who could tell me the stuff I need to consider. thanks
 
@rdlowrey Yes. If only for consistency
 
^ +1
 
@JohnMicahFernandezMiguel I can. Hire PM, architect and developers
 
user895378
4:18 PM
Done and done. Never let it be said that I won't change my mind about something if people make valid arguments in opposition to my stance.
 
:D
 
@rdlowrey ask @salathe
ah nvm
 
@JohnMicahFernandezMiguel i'd probably suggest hosting it on the internet somewhere
 
user895378
;)
 
4:19 PM
@AlmaDo need to give it in an hour :( I'm getting stressed. I can't make valid and considerable estimations because I'm not that expert on this field though.
 
@JohnMicahFernandezMiguel if you are thinking of making such a site, you should have a capable sysadmin "on staff"
 
@JohnMicahFernandezMiguel even an expert would probably take more than an hour; if you wanted them to give you good information, that is.
 
I'll probably start researching instead of asking. thanks
I can't argue with them I'm just a slave and doing my job
 
@JohnMicahFernandezMiguel well - thinking of it - I assume your input conditions were too vague, thus I've suggested to think about whole picture first (and that is why hiring was an advice ..). Anyway, there's no silver bullet for you issue
 
@JohnMicahFernandezMiguel Not building it in r(or) would be a good start
Shit tends to scale bad by default
 
4:23 PM
@PeeHaa yep. So this is universal formula, garbage in - garbage out
 
what is r(or)?
 
@JohnMicahFernandezMiguel if they're giving you shitty, undoable tasks like that, just go in and say a bunch of stuff that doesn't mean anything. they probably won't know the difference
 
@JohnMicahFernandezMiguel rubyonrails.org
 
"When mitigating for considerations like multi-node infrastructural complexities of continuous integration and four phase testing, i believe the inode structuring of filesystems and memory in digital ocean cloud instances far surpasses the capabilities of AWS and Rackspace"
 
@PeeHaa or else.. sh*t doesn't tend to scale bad. it tends to scale into sh*t (:
 
4:25 PM
I'm using the free tier of amazon ec2 as my test server but I'm afraid to upgrade it into something I'm not sure of.
I think maybe I should search something on google like "server infrastracture of instagram or facebook"
 
@JohnMicahFernandezMiguel i don't think a micro instance is going to be enough if you're expecting any real traffic at all
 
@JohnMicahFernandezMiguel hold on one second
 
@dyelawn okay thanks
 
brb food
 
4:30 PM
@JohnMicahFernandezMiguel just take this in there: docs.google.com/a/lgsconnect.com/spreadsheet/…
 
this is treasure. thanks for this. will review it :)
 
if there's a microphone in there, be sure to drop it.
@JohnMicahFernandezMiguel save a private copy of that in your google drive so i can delete that copy
 
yeah already saved it as pdf. gonna search the meaning of some keywords. thanks a lot
if you are not that busy. what is an RDS gateway?
 
np
i saw you, whoever else was viewing that thing :)
there weren't any goodies in there anyways (i think)
 
I also found this. I think it might be helpful on other people out there instagram-engineering.tumblr.com/post/20541814340/…
 
4:59 PM
user image
16
new and improved!
 
that was a bit of fun ...
 
@salathe perfect^^
 
user895378
@JoeWatkins The README code shows abstract Router but router.php uses $router = new Router(); ... am I missing something?
 
yeah, the abstract is docs :)
what else does a router need ?
 
yet another router… umpf…
 
user895378
5:09 PM
Nothing really. Are we sure it's a complex enough problem to warrant an extension, though? I mean how much are you really gaining from doing it there instead of just preg_* in userland?
 
not php, is c
 
I thought you'd like to do some windows-dev…
@JoeWatkins well… do we need an ext for things we can do easily in PHP too?
 
well we can do nearly anything easily in php ... it's not needed, am playing ...
hi, I'm krakjoe ... I write code without thinking too much about it :)
 
user895378
I honestly don't see a lot of benefit from compiling that code. Userland routing implementations are terribly slow because they write slow regexes or iterate over every route making preg_* calls. They aren't slow because they're in userland -- they're slow because people don't know how to write a good compiled regex.
 
^ agree
 
user895378
5:12 PM
But in any case, I don't see any problems with it if you want to compile :)
 
I dunno about that, switching in and out of the vm on every iteration of a loop isn't free ... but once again didn't write it because it's required ...
hey who starred that, it looks like I didn't think about the code .... doh ... apparently I write sentences without thinking about them too ...
wow, lester emailed internals without mentioning E_STATIC
 
user895378
(fixed that for you: the star on your message upthread)
 
huh ? he mentioned it ?
oh hehe
 
@rdlowrey I read ftfy as fuck this, fuck you.
 
user895378
lol
 
5:23 PM
Makes things a whole lot funnier
 
@MadaraUchiha urbandictionary.com/define.php?term=FTFY look at 4. and 5. :p
 
5:43 PM
heading out, have fun^^
 
hello
good morning
 
@dyelawn Thanks for trying to help. The problem was that the fucking documentation was just wrong. This with this works fine.
 
np
 
7:15 PM
@JoeWatkins that's why I had starred that ;-) because you even don't think about what you say sometimes…
 
7:31 PM
o sssiit... i am back
with one question
how do the developers devise algorithms for crossprocess, vintage etc. effects. google is not getting me anywhere
 
7:58 PM
@rdlowrey I merged the 'grammar' PR because one of his changes was helpful and the other is whatever (as you noted).
Sorry if you didn't want it merged; I felt like accepting the PR would help foster contributions.
o.o Your Arya push was bigger than I expected. Good job.
 
@LeviMorrison erm… wrong Chat?
 
Eh, it is PHP right?
^^
 
Well… Arya is still private repo… so maybe the pseudo dart chat?^^
 
We talk about Aerys all the time in here, what's the difference? ^^
 
@LeviMorrison didn't notice that?
 
8:04 PM
Maybe we should rename Dart Lang, though.
 
@LeviMorrison * not having the karma *
 
I still like Dart and follow it, but since I had a job change I simply didn't get into it like I thought I would.
It really did become alternate PHP chat.
 
already a long time ago…
 
Because PDO isn't a wrapper already, right?
> Ok but why is using the global scope a bad design choice? I don't understand how it it improperly accomplishes this task.
...yeah, great thread over there.
 
8:11 PM
the question is obviously from someone who does not know any better ... the answers are from people who are mentally retarded
 
8:29 PM
The lack of a comment and seal of disapproval from teresko disappoints me in that php thread
 
8:42 PM
?
 
Is it just me or is the following script a inefficient way to count the number of users currently on the site?
Putting everyone in a database and deleting who are currently not active. Wouldn't that unnecessarily put too much pressure on the database?
 
if that's for unregistered visitors then - probably, yes (there always be someone who'll be happy to attack, I guess.. )
 
@AGirlSaidMySmileIsCute @mysql_connect <- this is the line at which I would label it "crap" and close that "tutorial"
 
@tereško shame on me :( I've even didn't look there..
I.e. didn't open that link :D
 
@BenjaminGruenbaum Can I simply let my burninate script run without looking at the questions?
 
Yeah sure! if you have a script for that! I didn't know we had one.
 
@tereško Should be using PDO, but is the idea of storing stuff in the DB and frequently inserting/accessing/deleting stuff in the DB efficient? Do other sites do it? I don't want the site to crash or become extremely slow because of overload of connections, since the whole point of me trying to find out the number of users on the website is to compare it against the max limit of users and restrict others from entering (in order to prevent the web host from temporarily blocking the site).
@AlmaDo No registered users. All visitors.
 
why the fuck would you even wont something that stupid ?
cannot you use 3rd party analytics?
 
I am temporarily using a free web hosting service. Unfortunately, they put a bandwidth and active connections limit. I definitely don't want the end user to be seeing an error page from the web host saying that website has been temporarily taken down due to too much bandwidth use.
 
9:02 PM
the whole idea smells like "Johny's first page"
 
Ehh, I am just trying to prevent the web host from messing my userbase up
 
... so .. you actually have no idea what was meant by "3rd party analytics"
how about you look it up
 
I kinda know what it is. Not an expert, but it's not like I've never heard of it!
 
before making the "I don't know what it is, but I magically know that it will use my traffic, even though I have no idea what it is, therefore I will not use it" conclusion
 
wait, what?
 
9:04 PM
because , since you are spouting that bullshit about traffic limit, you obviously have NO IDEA what it is
 
Alright one second, I don't care about traffic limit.
 
> Unfortunately, they put a bandwidth and active connections limit. I definitely don't want the end user to be seeing an error page from the web host saying that website has been temporarily taken down due to too much bandwidth use.
 
@BenjaminGruenbaum I have a script for everything that involves manual labor otherwise ;)
 
I just don't want the web host to take down the site because there are too many users on it at one time.
 
why didn't I have that user in ignore list already .. I wonder
 
9:06 PM
@tereško ugh.. that was upvoted?..
 
sigh I guess it's just a misunderstanding.
 
@AlmaDo yes, and multiple times, and accepted as "correct answer"
 
@tereško then OP didn't understood either his problem or that answer..
or explained bad
 
@BenjaminGruenbaum done
 
@PeeHaa yeah, I closed a bunch too (like 60), thanks for helping (and anyone else who helped)
 
9:10 PM
np
 
9:48 PM
hello
is there any project in which can I participate with you
PeeHaa
 
@begiPass I doubt it :)
 
what do you mean PeeHaa
 
What is your github profile?
 
I don't have
for now
but I am ready to create one
 
Why would anyone want to participate in a project with me?
 
9:59 PM
hmm ... guys & gals , lemme pick your brain a bit
would you agree that projects top directory list should reflect what the project is about ?
and if "yes" then it what way ?
 

« first day (1177 days earlier)      last day (3775 days later) »