« first day (849 days earlier)      last day (4115 days later) » 

7:00 PM
People shut all up for a second. I believe I have found a ninja in our room:
 
PeeHaa: To confirm we are talking about the error.log from Apache?
 
@PeeHaa Was going to say where is it :D You are the chosen one! Only you can see it!
 
The other one is trying real hard but is actually @Jasper
Must be my ninja traning
 
:D
 
7:01 PM
One more pope joke then I'm done.
 
@DawidJoubert correct
 
PeeHaa: Yeah nothing there. Odd indeed.
 
The pope resigned. I would too if my boss never showed up and I'd never met him.
 
@webarto still not working... I've already taken enough of your time, thank you ! I'll try to figure out another way to achieve that...
 
When did the pope resign?
 
7:02 PM
today/lastnight/something
 
@DawidJoubert Strange. Well it's solved now so I wouldn''t worry too much about it :)
 
@JonathanLaf Try on your localhost (just that piece of code). Your server is always sending 404, intercepting. You could try to force it, but just change the f* server.
 
It's not so much God not showing up but the whole Catholic system being like one big legacy software program.
6
@PeeHaa: Yes. Thanks for your help.
 
:7665894
 
@DawidJoubert meh. all of the religions are like one big legacy software program.
 
7:03 PM
okay @webarto i'll give it a try on my local server see what's appen
 
@JonathanLaf Just copy all code (without headers_remove()), and try. Also, it seems that PHP on your server is below 5.3.
 
actually there's lots of good analogies. religion is like internet explorer, you have it because it was there when you started, you're too stupid to change it or you're afraid to get anything new.
 
@DawidJoubert yw
/me had to start stable chrome
 
@PeeHaa not canary?!?!
 
@Lusitanian I couldn't type anymore in chat with canary
 
7:05 PM
lol
 
Fuck it, I'm resigning too.
 
@Gordon :D
 
I saw it coming though, because it started to add strange / random characters all over the place
@Lusitanian the new chrome design is very likable though
 
is it? need to boot up canary and try
 
@Lusitanian: That would explain all the forks you get in Christianity.
 
7:07 PM
hehehehe
 
@webarto just a last thing, downloadFile("liste_des_activitees.xls", 'http://jonathan.lh/export_activites_echo.php');

ask for the file itself ?

is it not going to create a loop... ?
On my local server i did'n received any error but still loading the page...
 
@JonathanLaf Make a .php file on your local server, copy the exact code I gave you in pastebin, remove line 6, save, execute the code.
 
On my local server i did'n received any error but still loading the page...
that's exactly what i've done
 
@JonathanLaf http://jonathan.lh/export_activites_echo.php why this link then, when it was http://livresenfete.org/wp-content/plugins/cpt_medialog/export_activites_echo.php ?
 
I've tried with the distant server and directly to local
 
7:15 PM
@JonathanLaf pastebin.com/KNXA6jpH This code works fine for me.
 
@ircmaxell Not really, no
 
Well, the CFP closes on Friday, so if you do want to go, think about it...
 
@NikiC you could submit a paper on coroutines
 
@JonathanLaf Your server is now throwing error 500 etc. Change it.
 
@webarto has I can understand maybe i'm not a "specialist" but you made me make a loop
maybe that's why my server send 500 error
 
7:23 PM
@JonathanLaf File is missing: i.imgur.com/CGhu1yz.png
 
Right now I know that file are missing, you havn't answered my question, does it was a loop ? I've removed online file to be sure that if it was a loop the server won't crash.
 
@JonathanLaf You are talking nonsense. It's not a loop, it's waiting for request to finish.
 
Okay, but has what i've seen and understood, a file (local one) is requesting another file (the one online) that request itself (so when it request itself, it request itself, and itself... )
no ?
@webarto
 
@JonathanLaf
Leave export_activites_echo.php with all that ugly code. Then export_activites.php (from local) will request export_activites_echo.php.
Just f* echo the table in one file, and request it with other (that file with echo).
 
Okay
I try that lemme a minute or two
 
7:32 PM
Wait you are trying to force the download of an HTML table as an Excel file?
 
@PeeHaa Yes, sort of idiotic.
 
@JonathanLaf And you expect that to work?
 
@webarto thank you... and sorry, there where a loop, but only because I havn't understand what you where asking me to do..
@PeeHaa and yes that work...
 
@JonathanLaf wut?
 
@PeeHaa Sort of (but if table is matrix like)... it pops up a huge warning...
@JonathanLaf Server is f* up...
 
7:37 PM
Wow. Learned something new every day
 
@Jo
@webarto ? server is okay right now no ?
 
Aha. It opens it as a textfile
nothing to see here
 
Wat server, wat are you talking about, who are you?
 
@PeeHaa I don't mind to make a real excel file, all the client was asking for is a excel file that she can order..
 
user652649
 
7:38 PM
@JonathanLaf Why not make a csv / tab delimited text file?
 
@PeeHaa because client are dumber than me ;)
 
Sorry, no blood left. Please insert coin to refill.
6
 
Thank you very much @webarto for your patience and your help!
 
@JonathanLaf You are the one trying to write to an excel file using an HTML table and I don''t know the client. So for now I give the client the benifit of the doubt :P
 
user652649
@JonathanLaf what are you trying to do?
 
7:40 PM
@PeeHaa LOL!
;)
 
:)
 
@PeeHaa unfortunately i've done that
it's a soul sucking experience
 
@wes everything's "fine" right now thank you for asking
 
user652649
@JonathanLaf everything's fine? did you just killed @webarto for no actual reason?
3
 
user652649
:P
 
7:42 PM
WAT?! Did I miss the memo where it was stated that is the way to go to write to an excel file. Next thing everybody else in the room will say: I concur!
 
Lol
 
lol
 
@PeeHaa It's Wordpress style.
 
/me is re-watching the monad-lecture again
 
got to go, thanks everybody, and have a great day trying to figure out what's happening to the world now that people write to an excel file while pope resigning ... ;) Apocalypse has started...
 
7:44 PM
@JonathanLaf later :)
 
$('<div></div>').addClass('message').html(html).clearQueue().show(0).delay(6000).slideUp().remove().appendTo('#messages');
I'm going to see if this works.
 
@webarto ...what is that horrendous blob of jquery?
 
No, doesn't work. Thanks Pope.
 
fluent interfaces for the loss
why are you removing it? from where?
 
@ircmaxell I'm really torn on this one :/
 
7:49 PM
@NikiC go for it!
 
user652649
@webarto love that jquery's sync/async mess
 
@ircmaxell Just trying to be hackish, adding few div .message to #message which disappear after 6 seconds. I know how to solve this, but just checking if this insanity works :)
 
user652649
i will never use jquery
 
8:08 PM
function message(html)
{
  var id = 'id_' + Math.random().toString().replace('0.', '');
  var message = $j('<div />').addClass('message').attr('id', id).html(html).clearQueue().show(0).delay(1000).slideUp(400);
  $j('#messages').append(message);
}
Why? Works good :P
 
what have we done to you to deserve such atrocities ?
 
1st: Make it work with jQuery 2nd: Make it work with VanillaJS :P
 
user652649
3rd: delete the jquery code evil-laughing?
 
function message(html)
{
  var id = 'id_' + Math.random().toString().replace('0.', '');
  var message = $j('<div />').addClass('message').attr('id', id).html(html);
  $j('#messages').append(message);
  setTimeout(function(){$j('#' + id).slideUp(400).remove();}, 1000);
}
@tereško It's a start :D
 
user652649
webarto you should only use: sizzle, an animation framework, a xbrowser wrapper for xmlhttprequest and a xbrowser wrapper for events
 
@wes In all honesty jQuery does that all (badly)
 
Anonymous
oops, I upvoted
 
Hi guys, how can I parse Excel files (.xls and .xlsx) in php?
 
What is with the Excel wtf?
function message(html)
{
  var id = 'id_' + Math.random().toString().replace('0.', '');
  var message = $j('<div />').addClass('message').attr('id', id).html(html);
  $j('#messages').append(message);
  setTimeout(function()
  {
    var o = $j('#' + id);
    o.slideUp(400, function()
    {
      $j(this).remove()
    });
  }, 1000);
}
 
8:17 PM
:P
 
@wes there, I did it :P
 
@ Shaquin Trifonoff thanks.. but i clicked on download button, it gives me error
 
user652649
@webarto you just used ; instead of . :P:P:P:P
 
8:21 PM
Shaquin Trifonoff Thanks. I always get quick reply. i love stackoverflow.
 
@webarto would it be too much to ask of you - please , learn proper javascript
 
@tereško No, I will, for sure... that is the direction I want to go :) Only use something from microjs.com, and that is it.
 
stackoverflow.com/questions/14819964/… .. another "suggest framework" post
on a completely unrelated note - investing ~50$ in a mouse was a good idea
 
@tereško I lost mine... feel like without hand... what's yours?
 
When a POST data is retrieved it comes with escape characters. and json_decode this function fails
 
8:31 PM
@weber67 Change your server.
 
any reasons to why json_decode fails?
 
user652649
@weber67 are you json_decoding a function? :|
 
please tell me a nice answer. If tell this to my boss. He will change the developer
@wes yes
json_decode($_POST["data"]);
 
@weber67 Escaped how? Run php.net/manual/en/function.stripslashes.php on string and try again.
@weber67 json_decode(stripslashes($_POST["data"]));
 
user652649
8:33 PM
@weber67 what post data contains?
 
@weber67 did you look in the NETWORK tab in your browser ?
 
@tereško You are asking too much :D
 
see if the "json" that you receive is actually valid JSON ?
 
8:34 PM
yes let me try stripsplashes
 
@weber67 stop guessing
btw, where do you work ?
 
@tereško had this one Genius 555, was good, dunno. What made you choose M705?
 
@webarto it was with a discount
 
@tereško Still quite expensive O_o, mine was $30 on regular price. Although maybe Genius is a crap.
 
i spent something like 2 minutes from thinking "hmm .. my current mouse, maybe is shold step into computer shop" till the "please enter pin code" stage
 
8:37 PM
good afternoon all
 
@tereško :) If I could only remember my PIN heh. Cool.
 
woohoo finally got the site for my web framework up: thegoodsuite.org
The site has more pages without content than with content and I wouldn't recommend anyone to use the framework yet, but the site design is something I'm quite happy with :D
 
user652649
@Jasper virtual beer for all?
 
after removing the splashes , I get a json. tested it not JSONLINT. It gives me a valid JSON. BUT, code crashes at json_decode
 
user652649
rotfl splashes
 
8:41 PM
I also checked server php version , its 5.2.17
 
@wes most definitely
 
one of my shared hosting accounts was on 5.1 :s
 
@webarto the one i had before that (before it broke) was a much cheaper rat: acme's mw-07
 
@weber67 5.2 ?
5.1 :|
 
(of course, I spent way too much time on that layout, but since I'm using it as a test-drive for a website where that time is justified, it's alright)
 
8:43 PM
@PeeHaa yeh. Server php version supprts json_decode
 
It was more that I was wondering why you would have something with 5.2 on it
:P
@Jasper I''ve been to the brewery in Arcen
 
@Jasper please , look up in youtube "clean code talks" lectures from Miško
 
@PeeHaa I've had several opportunities to (it's a regular event at a camp I go to regularly) but passed them up for the sake of playing (pc-less) games. I have been to Hoegaarden, though
@tereško how so?
 
stackoverflow.com/questions/14820208/… OP viewing PHP file in browser, not on a web server
 
@Jasper because your code sucks
 
8:49 PM
or actually, anything in particular?
 
@crypticツ One does not simple try to post multiline chat messages and expect the MD parse to get it ;)
 
one does not simply walk into mordor
 
user652649
@tereško it is not nice deride a person just because he is not as good as you are
 
@PeeHaa have you put any more effort into yadeo recently btw?
i'm not crazy about octopress, definitely not using wordpress, etc.
i might need to write my own blog.
 
@tereško Then why should I spend time on YouTube instead of fixing it?
 
8:50 PM
@Lusitanian None at all
@Lusitanian What were the cons?
 
@PeeHaa eh, i'd rather have a web interface for authoring blog posts over doing it locally
 
forget it .. you really do not need those lectures
you obviously already know all you need/want to know about php and programming in general
 
user895378
<--- hates multipart messages with an unmitigated fury. Really? Multiple non-overlapping byte-range requests for a resource in a single HTTP message? Grrr.
 
@Lusitanian What does ""doing it locally" in this context mean?
 
@PeeHaa writing blog posts in markdown in text files
though i suppose i could just write a web interface to do that..hmm...
 
8:52 PM
@Lusitanian Ah k.
 
Mark down is nice though. I've really started to love it
 
user895378
8
A: PHP If Statement: unexpected '}'

njkYou're missing ; after your includes. You should be using echo instead of include. The include statement includes and evaluates the specified file.

 
user895378
All those upvotes? And you're a 10k user? You shouldn't even be answering that question, d-bag.
 
8 votes in 1 minute .. seems like someone is scamming the system here
 
8:53 PM
@rdlowrey Hey. You are doing it to yourself. :)
 
@NikiC Well, no pressure at all, but it would be awesome if you could, and if you need anything in that context let me know
 
user895378
@tereško It was 9 before I 'd. After watching it go 7 -> 8 -> 9 in about five seconds I had to dv.
 
user895378
It definitely seemed fishy.
 
8:55 PM
@Lusitanian You are hiding dogs eyes which is important :P
 
@rdlowrey it has 11 upvotes...
 
user895378
wtf
 
user895378
lol it's his second highest score of 607 answers, too :)
 
weird
 
i wish i had good friends who knew php meep meep
 
8:58 PM
eh actually not really
 
(for Yii Framework) I have a problem with RBAC . I asked my question with all details, here : yiiframework.com/forum/index.php/topic/40271-basics-of-rbac I'm trying to create a role and make some assignment to this user. But itsn't working. Can you help me about this
 
user895378
@PeeHaa I have this mental picture of some moron requesting byte ranges 0-499, 500-999 and 1000-1499 for a 1500-byte file.
 
@rdlowrey :P
 
good evening
 
9:02 PM
@rdlowrey I do that when I drink vodka and get bored
 
user895378
"I know you have the whole file, but I want it in three multipart/byteranges segments if it's okay with you."
 
@tereško Not everything, you're quite right on that. But I do know there are issues with my code and plan to fix them, so unless you mention something a more specific than over three hours of talks I can't know if it's stuff I know needs to be fixed or stuff I still need to learn
 
not that i give a fak anymore ..
 
9:07 PM
@tereško Well I care. If you feel you can just say my code sucks like that, you should also be prepared to say what you think is wrong with it...
And yes, I do want to get better at programming and I do think such resources can be good, but "Go watch several hours of code talks" is barely ever useful advice
 
@igorw /me remembers to bring vodka to the next conference
 
@tereško This is really pathetic. As long as you can sling insults at people's heads you're willing to spend time on it, but as soon you are asked to make your criticism a little more constructive, you "don't care anymore"
 
Meh.
 
@Jasper it doesn't look like you have any tests, so maybe check the video on unit testing and decide after that.
unless of course you already know all that and just decided not to write tests
 
I just didn't get to writing test yet, it's on my todo-list
@igorw Thanks for the more constructive feedback
 
9:22 PM
@Jasper any reason you're using mysql_* instead of PDO?
 
@Jasper the clean code talks, fwiw, are really great resources
 
@Jasper you should really have a README in the repo
possibly also a composer.json, and you should look into PSR-0 and autoloading
if you have parts that can be used individually, you should split them into separate parts
for example, the GoodLooking template engine should probably be a separate repo altogether
(assuming it has no dependencies on the rest of the framework)
 
The thing is, I know that the whole thing is messy code that needs to be cleaned up, one of the modules (Looking) is code that I wrote quite some time ago and needs a near-complete rewrite and I still need to write tests and do proper Doxygen commenting. I know I have a lot to do.
 
@Jasper lets recap ... i looked at your code , saw it was bad and recommended you one of most useful lecture series on youtube which would let you identify and fix the problems in you code. Instead you answer was "meh, prove me that i need to watch them" .. so I see no reason to bother with you anymore
 
@igorw There isn't anywhere I am using mysql_* over mysqli_* right? As for that, I wrote it before I really realized that PDO was possibly a better option. However, as I understand it, there isn't much of a downside to using mysqli_ as long as you do the escaping properly. Am I mistaken with that?
 
9:30 PM
 
@igorw That's a good one, I'll look into it. It'll be a plain text readme, though, as I see github as a host for my central repository here, not as a tool in itself.
 
I saw some code using mysql_* but the point is that PDO provides a) a mostly sensible API, b) more importantly, allows other DBs than MySQL
 
;)
 
... just wanted to point out
 
9:35 PM
Keyword: config file
 
also ... i wonder , how exactly this "using of mysqli" happens : github.com/JasperHorn/GoodSuite/blob/master/Good/Looking/…
 
@igorw Maybe. The idea is that things are independently usable wherever (though sort of a single-direction dependency from many modules to a single one is turning up) I thought about messing around with a bunch of sub-repositories, but I thought it not to be worth the effort. I do intend to fix this in the way the downloads will be available on the website as well as provide a nice installer for the different parts
@igorw I'll look into that, thanks
 
user652649
guys I have a question, it is a little off topic but maybe you can help me
 
@tereško Well, it happens outside the file that was written too quickly test how stream wrappers combined with a sql database backend and happens to be inside the one directory I mentioned was written a long time ago (in other words, that rewrite will for that file mean deletion)
 
@Jasper instead of inventing your own custom installer and package concept, just make separate packages and use composer. we have enough monolithic frameworks already.
 
9:44 PM
You last voted on this answer
May 19 '10 at 14:51
Your vote is now locked in
unless this answer is edited
 
6 messages moved to bin
2 messages moved to bin
 
if you just bluntly replace mysql with mysqli , you have not learned anything about how to use mysqli
 
lol
 
neither you are utilizing exception , nor prepared statements
instead you are just concatenating the string just like you did for mysql_*
 
9:51 PM
@igorw I'll look into that option. The idea is indeed not at all to be monolithic, but requiring the use of your own installer does not immediately make it monolithic, or am I mistaken there?
 
@Jasper you're not automatically monolithic, but you are not fitting into the ecosystem either.
I'd find it hard to justify, but maybe that's because I'm active in the composer community and that has put me into an echo-chamber. I'd like to think that that isn't the case though ;-)
 
@tereško So, yes, I should turn exceptions on, that's a good point. And maybe it's being daft, but I still do not see what the advantage is of prepared statements over concatenation with proper escaping is other than an API you may prefer. Would anyone mind pointing me at a resource explaining this?
@igorw You're making good points. I'll look into using composer.
 
@Jasper prepared statements.
 
?
 
14
A: Are dynamic mysql queries with sql escaping just as secure as prepared statements?

ircmaxellYes, but a qualified yes. You need to properly escape 100% of the input. And you need to properly set character sets (If you're using the C API, you need to call the mysql_set_character_set() instead of SET NAMES). If you miss one tiny thing, you're vulnerable. So it's yes, as long as you do ...

 
10:00 PM
evening
 
morning
 
noon
 
davester
 
That's not a time of day.
 
i disagree
wow, i really just wrote digress instead of disagree...wat.
 
10:02 PM
@igorw Does PDO actually handle thing like how the LIMIT syntax is different in MySQL and PostgreSQL?
 
Damn you, mental auto-correct
 
user652649
@Jasper no
 
@Jasper no, PDO doesn't do SQL query abstraction. it only abstracts over the drivers.
 
user652649
@tereško i hope you were not offended by that joke, btw...
 
i don't know that he's capable of getting offended
 
user652649
10:05 PM
i apologize, i didnt resist the temptation :P
 
user652649
@Lusitanian hope so
 
user652649
hey @DaveRandom wazzupp in britain?
 
Dessert for dinner
 
@igorw Well, then I really don't see how PDO offers an advantage over a class that is trivial to write and isn't all that long, which can abstract over the drivers as well as the parts of the query that need abstracting
 
user652649
@DaveRandom and that is it?
 
10:10 PM
Also BBC iPlayer is really crap and doesn't have last nights Top Gear on it yet :-(
(I'm having a pretty slow night, The Boy did go to sleep until half an hour ago and I'm pretty drained)
 
@DaveRandom finalgear.com?
 
(And yes, the file I linked to is exactly that. It's used everywhere except in the unused file @tereško linked to.)
 
user652649
watched already... not a nice episode :(
 
user652649
i miss old top gear
 
10:12 PM
But that requires that I find the mouse for the TV computer
 
user652649
they are getting old
 
and that requires that I stand up
 
14 mins ago, by ircmaxell
14
A: Are dynamic mysql queries with sql escaping just as secure as prepared statements?

ircmaxellYes, but a qualified yes. You need to properly escape 100% of the input. And you need to properly set character sets (If you're using the C API, you need to call the mysql_set_character_set() instead of SET NAMES). If you miss one tiny thing, you're vulnerable. So it's yes, as long as you do ...

 
lol
 
user652649
@DaveRandom dvd-r ?
 
10:13 PM
Telling a user how to access web console in Firefox, typed this "In Firefox you should use the web console to access it press CTRL+SHIT+K" =o\
3
 
user652649
lol
 
@Jasper both mysql and postgres have same LIMIT ... OFFSET .. syntax
 
Mysql have officially started generating depreciation errors.. Prepare for SO to be spammed with "how do I fix depreciated function: mysql"
 
@crypticツ It's Firefox, most tasks involve SHIT in one way or another.
4
 
@DaveRandom I only got the joke when you typed SHIT. Eureka @webarto.
@webarto Eureka to you too.
 
10:17 PM
@webarto replying to your own messages?
 
@Lusitanian I'm talking to myself, don't interrupt.
 
@Lusitanian me too
 
that's it .. another one has snapped
 
lol
 
@tereško For some reason I was only aware of the LIMIST <offset>, <limit> syntax in MySQL. However, there are probably other things that are different
(e.g. the regex comparison operator if memory serves me right)
 
10:19 PM
if you want a DBAL, why reinvent the wheel?
 
.. which is why you should never use materials which advertise that they will teach you both mysql and php ... they don't .. neither one
 
user652649
25.media.tumblr.com/tumblr_licgdjJgY91qzdclko1_500.png @DaveRandom Jenkins, you imbecile, it's not a bed, it's rubbish!
 
@Lusitanian .. in my case, because i can write my own data mapper =P
 
@tereško lol, didn't link to their ORM. but i agree
using a giant library in order to persist three types of objects to a database is one of the definitions of overkill, not to mention the flexibility it kills
 
Not to mention, slow(er).
 
10:23 PM
related to that, a good blog post by the manitainer of doctrine: Doctrine and SOLID
 
@igorw reading now
 
@Lusitanian Because it's less effort to write the parts of the abstraction I want myself than to learn to use their API. It's probably a lot more light-wight as well
 
Sorry, got distracted by the need to lose badly at a game of Wii tennis. Apparently it's harder sitting down.
 
Well it is hard to make one to rule them all...
@DaveRandom At least you've got Wii :D
 
@DaveRandom table tennis is virtually the same standing/sitting
 
10:25 PM
It's my gf's. Actually I'm not a huge fan, but it is kind of entertaining sometimes.
 
just a friendly tip for laziness
 
@ircmaxell , did you managed to wrap you brain around all of th content in that talk ?
 
@DaveRandom It's nice fan for couples I think... at least they show it like that on US shows..
 
@wes hey!
 
/me will need at least one more watch-through
 
10:27 PM
@tereško hey!
 
@tereško Yeah, I get monads to the point he made, I don't get the why of it. I see how it's handy, but I need to see it in real-world use in a language I'm good with
 
@orourkek Noted, thanks. If I put a table tennis table in the lounge there won't be much room for anything else though...
 
AHHHH, Promises are monads!!! click
 
well .. my tripping point are the "promises" .. have been trying to understand them for few month already
 
@ircmaxell it's the maybe monad, right?
 
10:29 PM
|genre = Sports |modes = Single-player, multiplayer |ratings = |platforms = Wii |media = |requirements = |input = Wii RemoteNunchukWii MotionPlus }} is a sports video game developed and published by Nintendo for the Wii video game console, and is the successor to Wii Sports. It is one of the first titles to require the Wii MotionPlus accessory, which is bundled with the game. Wii Sports Resort was first announced at E3 2008 Wii Sports Resort is a simple collection of twelve sports games, which includes enhanced games from Wii Sports along with completely new selections, designed to take...
^ that's what I meant :]
 
Oh right lol
 
@igorw it's the maybe monad, but where the value is resolved in the future as opposed to the maybe monad which resolves in the past
bbl
 
@ircmaxell ok, so I already understand a bit of monads.
@tereško which part do you have trouble understanding? where does it get confusing?
 
@webarto Yeh it is good fun. It is much cheaper than the alternative consoles as well, you definitely get your money's worth. Although I still need my GTA though, and it won't do that.
 
function teresko(msg) {
    return msg.replace(/ , /g, ', ').replace(/\s+\.\.(\s+)/g, '...$1').replace(/(\w)$/, '$1.').replace(/^(\w)/, function(_, letter) { return letter.toUpperCase(); });
}
 
10:34 PM
@ShaquinTrifonoff huh? lol
how does that teresko a message
 
@Lusitanian Maybe un_teresko would be a better function name
 
it adds the dots everwhere
 
lol
 
i know, it's and ancient habit of mine .. i tend to place dots whenever there would be a pause in the flow of a spoken sentence
 
10:38 PM
teresko('well .. my tripping point are the "promises" .. have been trying to understand them for few month already');
// Well... my tripping point are the "promises"... have been trying to understand them for few month already.
 
user1105787
10:59 PM
http://stackoverflow.com/questions/14822480/enable-wordpress-plugin-via-href-using-php
 

« first day (849 days earlier)      last day (4115 days later) »