« first day (715 days earlier)      last day (4459 days later) » 

18:04
@StartupCrazy Why do you add this to the website (W3C validated and best viewed on: )?
Nobody cares. It's like those old banners back in the day on sites [html] at the bottom of sites
Ooh! You should add a hit counter! Those are all the rage!
anyone know any website like codepad.org but mobile web?
@I'll-Be-Back huh?
Doesn't codepad work on "mobile web"(whatever that is :P)?
optimized for mobile i meant
18:07
@I'll-Be-Back To run from you mobile?
mobile layout
@I'll-Be-Back codepad is optimized for nothing. Haven't you seen it. Eeeew
@SomeKittens lol nice one
@I'll-Be-Back What does optimized for mobile mean in your perception?
18:08
For example: m.facebook.com
write yourself a simple PHP proxy script that is submitting the codez for you and returning the results :)
@I'll-Be-Back I mean is there a problem viewing codepad on your mobile. Why would you make another CSS?
Because it seems to work here
There is no problem but would be nice though
sockoverflow work great on mobile =)
sockoverflow?
heh. SockOverflow. Sounds like how my clothes are organized.
18:12
stackoverflow*
lol
LMAO!!
If you mean SO. The desktop version also works fine. Sounds more like you just need to upgrade you phone :P
@hakre thanks for your help earlier, I feel like my question was raped earlier.
hey I love samsung s3 :P
@I'll-Be-Back Then WHY do you need a mobile version?
Just because?
@I'll-Be-Back Are you a sales person or a developer?
huh
Developer
18:15
@I'll-Be-Back Exactly. "Mobile web" is a sales something. Just another way of getting more work imho :)
"When should I learn XML?"
"When you need a new buzzword for your resume"
@PeeHaa Right it's there, sorry for the epic mega commit, got a bit distracted by the unmaintainableness of the config page when adding the new opts. The only known issue with that build is that when a vote request is edited you lose a notification, which I am determined to fix this evening
Heavy duty refactoring:
> Showing 11 changed files with 2,020 additions and 1,921 deletions.
@DavidEaton Consider to re-write it and add your answer below. But probably reduce it to the part for the two output chunks (embed with and w/o autoplay). Then I'd say this is of use for others, too (if this has not been asked before).
What are these lines doing / for:
/*jslint plusplus: true, white: true, browser: true */
 	 2
+/*global $ */
18:20
You probably need to add it as new question then.
@DaveRandom
Btw. Gotta love these comments: "// TODO: implement this in vanilla JS, generally make less crap" :)
//TODO: add comment
I know, I was feeling lazy. jQ plugins are not the answer, but given the amount of jQ that's already in there it was the easy way out.
hehe
@hakra review: Website exists.
18:28
@hakra You sure you don't have a shitload of SQLi vulnerabilities in it?
Is it your own website or is it not yours / production?
k
:)
I would never sell something like this
And it took me 1 second to test just that
The fact that you care about the order of the characters is a big tell in my book.
Before I am going to do things wrong again: JS doesn't have something like namespaces or does it? (wrong room I know)
anyone good with facebook api?
@SarvarNigmat Depends on the question
@PeeHaa OK right I'm an idiot and I've just found the source of the notification-loss-on-edit problem
@PeeHaa Yes it does, because you can have nested classes
(although I admit it's not exactly namespacing)
@PeeHaa I have 2 pages and i am trying to get facebook albums. one works fine without access token but other requires one. any ideas why?
Privacy settings?
18:42
of the page?
@DaveRandom But that will gets messy when spreading it over multiple files (dev) right?
@SarvarNigmat public vs private resource?
its public page so i dont think thats the issue, i've checked the settings over n over
@SarvarNigmat What does the API return?
18:44
nothing
with access point returns album info
@PeeHaa Depends how you look at it. You can do var MyNamespace = {}; in one file and MyNamespace.ChildClass = function() {}; in another if you want. I don't consider than too messy, YMMV.
i meant access token
@DaveRandom Ah right. Cool. That's not messy indeed and is exactly what I am looking for :)
Gangnam Style made it to Number 1 in the UK. The End Times are upon us.
@SarvarNigmat It has to return something. At least an HTTP status code
@PeeHaa There's probably a "better" prototyped way to do it though - you should go ask @rlemon, he was criticising my factory approach and telling me I should have done that in the prototype, although I have yet to find someone who can give me and acceptable explanation as to why that is better.
@SarvarNigmat Sorry I've never used the API explorer
Tbh I've also haven't ever used FB :P But it looks like the images in that collection (if any) or private, because it gets the resource ok (status 200)
@hakra Also stop doing inline javascript
And don't include you stylesheet at the end of the body
And don't make JS only menus
@PeeHaa Yeh I just did a quick sanity check to make sure what I said was right and it is: jsfiddle.net/PDgDw
Thanks
18:59
hi , why this echoed the same writing , not the style affected , it echo same text . return "<font style= 'font-size:16px; color:grey;'>".$return."</font>";
it echo this ` "<font style= 'font-size:16px; color:grey;'>".$return."</font>";`
some quotes are wrong ?
@hakra Stars aren't bookmarks
Interesting for hakra maybe, but not for the transcript
are you stupid, arrogant or trolling ?
and if you found those things useful, then i would recommend for you to start learning , because those where NOT "useful". What they were was "basic"
trolling. already on site today. ;)
@tereško please change your way of talking , since i knew you and you are always like that calling people stupid and , go learn , and ........ and use capital letters , and ........
your way of talking is hard always
If you couldn't tell from the odd letters in his name, he's not from the US. Quit being an arrogant American.
please , do not assume that, just because you replace swedish words with english couterparts , makes it a proper english sentence
@hakra what you are spreading there is crap , not answers
@DaveRandom One last offtopic question
what about it ?
19:14
@hakra OH NOES A DOWNVOTE. Look at the ratio of good:bad answers.
I had some "fun" yesterday with .call() but is it also possible to access the this of the class again? Without doing something like var self = test or saving to temporary variable and after that add it to the class variable? jsfiddle.net/wAFrf @DaveRandom
what ?
aaaaand ignored.
@PeeHaa Just been buggering about with it and var self = this; at the head of test() is the only way I can find of making it work. Is that a problem?
@DaveRandom , JS is a functional language , and you quite often end up executing functions in a different context
19:25
@DaveRandom No biggy. Just wondering whether you are aware of something cleaner.
practice of assigning this locally is quite common
I'll ask here because the javascript room is dead.
Any idea how I'd loop through something like remove(3254)remove(32523) and delete divs with the id in the brackets inside the loop?
for example php sends back
remove(325)remove(35435)
#get 235 remove it
#get 35435 and remove it.
Any idea how?
user1125394
javascript is a multi-paradigm language, not just functional
Fuck me I'm stupid
4
19:31
that would make for a nice t-shit
Asynchronous stuff bites me in the ass again :(
@tereško lo0l
-0
@tereško I would be very surprised if it isn't one already
Even Douglas Crockford doesn't have much to say on the subject, he just sort of says "do this (ha!), it is necessary because JS is annoying"
> By convention, we make a private that variable. This is used to make the object available to the private methods. This is a workaround for an error in the ECMAScript Language Specification which causes this to be set incorrectly for inner functions.
^ that's what he says
Personally I'm not sure I agree with set incorrectly for inner functions, it's not incorrect it just might not be what you would expect.
19:46
posted on September 30, 2012 by Johannes Schlüter

Some time ago I was writing about the InnoDB Memcache Daemon plugin already for the MySQL server. Back then we had a labs release with a little preview only. Meanwhile quite some time passed and new developments were made - just in time for the MySQL 5.6 RC announced this weekend by Tomas. The innodb_memcache daemon plugin is a plugin for the MySQL Server end contains an embedded memcach

my sister does a great work in finding cv candidates. just track her list of answers and the chance is high you find a question to close.
i get a feeling that there was a joke somewhere in that sentence .. but i cannot figure it out
@hakre hakra = your sister? :o
@MadaraUchiha !rly
Was a bit scared there for a moment :D
20:06
346
Q: How to parse and process HTML with PHP?

RobertPittHow can one parse HTML and extract information from it? What libraries exist for that purpose? What are their strengths and drawbacks? This is a General Reference question for the php tag

Duplicate ^
@hakre I actually find that a valid question.
A bad one (research-wise), but valid.
@MadaraUchiha , this makes me think that you are pretty bad at CSS
@MadaraUchiha He doesn't define "it doesn't render correctly" so I disagree. Basically another "it doesn't working" question.
@MadaraUchiha no the question does not contain the right context. it's useless to ask that way.
20:08
because it is a classical "guess my code" topic
Why is blue always a darker blue as I think blue must be?
2
Point taken
@Gordon del vote right ahead so we can spare the mods the work
@tereško Also, I've finished my CSS basics 101 about 8 years ago, thank you very much.
@hakre Turn the brightness on your monitor up.
20:09
Right after I stopped using table-layouts :D
QFT: "member for today"
@DaveRandom :) But I was talking about clothes.
@hakre already did
@hakre Turn the brightness on the lights in the room up then :-P
@DaveRandom spot on :)
How to not ask a question: stackoverflow.com/questions/12664715/…
20:16
@hakre What's wrong with that question?
aside from the obvious paradox in his question...
@MadaraUchiha well that guy did update it and added: not commandline note after my comment.
^ "Please mark this as urgent"
20:27
⚠ ⌚ << are these (or all) unicode symbols compatible across OSes?
Where can I find out about the compatibility?
user1125394
what's the plural of criteria
criteria is a plural
user1125394
think it's like data
what is are your criteria?
user1125394
one google datum
20:38
Chrome's spell-checker just stopped working for me altogether since the new version
All settings are enabled etc, anyone has something to suggest? :(
user1125394
I'm on an old version (18) can't help
20:59
@cyril Why are you still on version 18?
@Greg In Chromium's default sans-serif font, they appear as boxes.
user1125394
I'm using my job's ubuntu 10.04 ubuntu server edition
user1125394
could upgrade it, but they don't want yet for compatibility with other pc in the network
ubuntu server is like a marlboro mint .. you can dress it up as you want , but i would not drink that tea
user1125394
why do you have a "server" with GUI?
user1125394
21:06
@tereško which linux you like, I guess debian
user1125394
I installed ubutnu-desktop
arch, gentoo ... tolerate: centos
for myself, i'm using freebsd 9.x
user1125394
but don't smoke it's bad hor health
I'll be starting taking a gentoo course in october
well .. it's good for you
the software management system takes time to understand , but when you do , you can have system which always runs latest stable (or , if you wish, unstable ) software
and the solutions that you use in gentoo almost universally work in other distros too
not recommended for people who feel intimidated by black screen with white letters
you could say that gentoo is what was made by slackware users who played around with BSD for a bit
user1125394
21:21
you must not fail your kernel upgrade
lolwut ?
"you" can and "you" will fail at the kernel upgrades ... and there is simple and straight-forward way to reverse the change
this is called "learning"
user1125394
prefer windows less to learn then
wow
you ignorance is staggering
place you grandparrents in-front of windows and see hoe easy it is to learn
user1125394
as hard as ubuntu, I don't want to learn other linux distribution as long as I'm forced to, it's like having to learn C++ :D
@ChiperSoft That's a great commentary on the state of our industry. Then again, Drupal has never been known for good code anyway...
21:58
Has someone got a minute to join me in the sandbox to test something?
(preferably someone who knows what is)
@DaveRandom I only know what is, but no one ever takes note. :(
Jokes aside, what do you need?
Well just for someone to post a request and then edit the post
I did that before...last I checked it used to work.
No this is for the chrome helper extension, which I am revamping and I think I've fixed the last (known) problem
If you do it in the sandbox it won't end up in the backlog so you can safely do it with any random question
1 sec @DaveRandom
22:05
cool
22:31
later all
@PeeHaa Later
22:56
@ircmaxell Hmm. IIRC drupal is running tests since pretty long ago.
cu @PeeHaa
and later all
emm ... more like "experiments"
Man I'd forgotten just how badly IE8 sucks big fat hairy balls
technically you have to support IE7 too
No, I'm using it. I abandoned support for IE quite a while ago, everything I develop at work is for internal use and I forced everyone to use either Chrome or FF as one of the first things I did. Any foreigners I do I have a designer friend who does the sites (I generally suck at cross-browser CSS, I have no shame in admitting) and I deal with the scripting side.
we work in profession where personal preferences are quite irrelevant and usually misleading
3
23:10
@tereško I know, but I actually had the option to enforce mine on others so I took it. I am well aware that it's not productive in the long run, but I am in a position where I regularly get given "do this yesterday" tasks (I know, we all get that as well) and what matters is that I get it done quickly. And since I force everyone to use browsers that behave sensibly, I only have to do everything once.
I do know full well that if I were a pro developer this would not be an option
dunno .. i think having to make sure that your project works same on different platforms give you a better understanding
also , in my experience , dealing with IE is quite easy , because IE has several mechanisms for writing browser-targeted code
the real problems are when you encounter a bug in one version of Safari , which does not exists Chrome or vice-versa
there is practically no clear way to fix it
@tereško ...and when it is necessary, I do just that. But my employers will be happier if I do two things in <insert unit of time here> rather than one thing that works in environments we don't use. I don't in any way disagree, it's just not the way in which my current employment permits me to operate.
good in short-term , might cause you to be out-of-touch when the gig changes
well it's cool if the customer contacts you a year later and thanks you again how stable the code was you provided.
gn8
@tereško Which is yet another reason I'm not exactly 100% happy with my current employment.
the beauty of Java API and docs .. this is basically th reason why i stopped using
Best. Class name. Ever.
My F*&^ that is ludicrous.
I enrolled in Algorithms on Coursera and immediately un-enrolled at the first mention of Java. I have no desire to even learn it.
Recaptcha has some truly ludicrous words in it. WTF is "hisDani" supposed to be? That is not a real word. That was the recognised word as well, not the could-not-OCR one.
Lol. I get some odd ones from time-to-time too.
23:25
@DaveRandom in some languages you split words , when there is no space in the line ledt
@JordanArseno I quite like Java as a language, although it does annoy me that "you will put this in a class regardless of what you are doing"
@tereško What, simply by capitalising the second word? camelCase FTW!
more likely it was a PascalCased word originally , but it was split near the middle
@DaveRandom yeah, I've dabbled, but that is it. There is an excellent blog post on this called Execution in the Kingdom of Nouns
The reCAPTCHA demo on Google seems to be broken. It didn't display anything but the submit button, which when clicked, displays the error An error occurred: An internal error occurred: 4CAF3A2789DC0.AA40655.4BA8
It's a fairy tale, if you've got kids, read it to them as a bedtime story ;)
23:29
@hakre running tests != testing
Oh right so you mean it was hy-
phenated in the first place and I'm looking at the part that has spilled over on the next line? That makes a little more sense, I guess...
It's working again: hnzensiu has
ntroliU pat/bat
23:48
@ircmaxell sure, but picking that statement isolated would look funny.
sure...
From the test culture, I'd say for a PHP based project of that age, drupal is not that bad.
I would.
Also open tickets =/= open bugs
that for example is wordpress.
your point being...?
23:52
these projects can afford a lot of maintenance cost. there is not much use of testing when you can let the users do the testing and come to your bug tracker and do reports.
so far the theory. the practice shows that TDD is not a good tool to cope with refactoring, which was the reason it has been introduced for.
Not that testing is bad, just you pointed to that.
huh?
what practice is that?
The practice that I've seen is that TDD with good tests is a very good tool to cope with refactoring
in fact, it's the only tool that works well at preventing regressions in large-scale refactoring

« first day (715 days earlier)      last day (4459 days later) »