« first day (1005 days earlier)      last day (4168 days later) » 

Anonymous
00:09
I should really go rep whoring stackoverflow.com/q/17688986/1640606
Anonymous
smh
Anonymous
You know that will get deleted sooner or later, right?
@Jasper not automatically though =o(
@crypticツ Nope, I know. What I meant was that rep whoring on it is useless, since we have watchful people like @crypticツ who will make sure the reps get deleted as well.
Anonymous
00:14
The volume on how these question get deleted is disproportional
00:30
@Jasper Well yes. But there's only so much stupidity you can code around
In any case, I'm hitting the hay
night @all
@DaveRandom well, if it's based on user input (which is one of the better reasons to be using a Dictionary at all) it's not stupidity. Also, you can code around it (using a prefix).
Good night.
@Jasper the system put in place makes sure to remove the rep, people just trash the trash
morning
and btw... i hate Joomla and all it's shit
morning
and I know, I was just being creative with language rather than literally correct
@crypticツ btw: WOW on the job done on cv-pls.com !!! wtg
@CSᵠ thanks, finding bugs here and there though =o( Right now fixing bug regarding truncated title cutting off in middle of an html entity.
00:40
> why do you have that?
and some music...
@CSᵠ in case title is too long it will break the table, had to make table fixed width to have the fixed table headers on scroll list
just randomly got error saying document was malformed to find that the html entity encoding SE does happened to have entity fall right where the string is truncated to so &quote; became &quo
ohh
now that's ugly
tried that, doesn't seem to work with the table setup. If you can figure out then would be apprecated =oP
00:43
anybody here?
nobody is home
@crypticツ looks like a job for a little regex ? :D broken entities are the only ones funking it up?
yeah.. i'm in a cabin in the woods
with my laptop and gsm connection
@CSᵠ yeah, what I was going to do as a quick fix was fetch the data unsanitized, then truncate then sanitize on output, that way the chars will be native and not entitied when they are truncated.
> sounds better
and then text-overflowed
00:48
> what about this regex trick? regex101.com/r/mP0aM1
@CSᵠ benchmark it on 500 titles and we'll see. =oP
COME ON
you and your regexes, you probably have a regex to do your taxes.
ok then.....
not sure about the rfc specs but... /&[a-zA-Z0-9]*$/
that's definitely faster
it's basic regex anyway, simple enough not to bother any eyes
> i don't regex my taxes... my taxes look like regex :P
Thanks that was very unhelpful. I know mysql_ is deprecated but I haven't made the switch. So can you help or not? Sheesh... — user2555621 1 min ago
@user2555621 that ^ is not a proper reply for someone who bothered to read your question
How so?
00:56
word based splitting makes more sense to me, as it actually adds functionality rather than trying to plug a single hole
His comment is completely off-topic and unhelpful.
@user2555621 No, it was just not directed at you... it was part of the conversation that was going on before you entered the room...
Then why comment it on my question?
@user2555621 StackOverflow is not here to fix your problems, it's a Q&A site to help others too so please keep this in mind. Also mysql_* IS deprecated and that comment IS on-topic since you're using it in your code
@user2555621 you're being very needy. There is a term for people like you. A 'Help Vampire' it's always gimme gimme gimme. Just let your question sit for longer than the 3hrs and be patient.
00:59
What would you guys call a method that would extract the highlighted part of a string. Something that would allow me to add comments to parts of a whole text???
It's completely Off-topic... If I ask a question I expect it to be addressed. Maybe if he included a real answer it wouldn't be bothersome.
Along with his bogus answer that's unhelpful and widely known.
@user2555621 Wow, you expect a lot from a site that provides FREE help.
As for my impatience I apologize.
I don't expect alot.
@user2555621 My bad. I missed that he did reply to you. Your attitude is all wrong though and is not going to garner you any help
I expect an answer, that's all.
That's not that much.
Everyone expects an answer.
01:00
@user2555621 awesome, thank you for reply-ing to my comment, it would be grat if you could include those details in the post's body to make it clear for those who would wish to help you
How is that expecting "alot"?
user... ask your question again and Ill answer it for you, but please easy on the spam.. i need an answer too :)
I've waited days for an answer. I don't expect someone to answer it within a few hours.
@ViniciusSantana Adnotate something....
I've waited weeks for a good answer :)
everything else is in the manual/book
@user2555621 You are expecting people to answer at your whim as if you are paying them for it, but you are not. An answer will come when it comes. Until that time, either be grateful people are trying to help you find a MAJOR problem in your code, or don't post code with the problem,
01:03
@CSᵠ I wouldn't have done that. I would have spammed the PHP chat. =oP
How do websites like Facebook, Twitter and Instagram lay out the access to database? Is it a centralized file that has the details of the database and connects to it and then that file is included by all files?
@crypticツ it's my most "noted" regex question... even created the regex room... nothing to spam :P anyway.. more theoretical than an immediate need, i'd fix a need :P
@AshKetchum honestly you would have to ask them. I don't think their back-end setup is documented to the public for proprietary reasons.
@AshKetchum Smaller websites generally do it like that. Big websites like the ones you mentioned probably run a more complicated setup (i.e. not a single database)
@crypticツ TL is gone :((((((((((((
01:07
@CSᵠ yeah, it's OT now
> which one...
understanding?
@CSᵠ not sure, I know the parse error stuff is under the 2nd option
whichever fits best, if you can't find anything then custom option at bottom
@user2555621 What's the problem?
It's fixed.
01:16
Cool.
see being patient does work
can someone help me out real quick?
SELECT * FROM urls ORDER BY RAND() LIMIT 2
Is it possible to order a query by multiple things?
I want to ORDER BY RAND() and ORDER BY last_used DESC
is that possible?
31
Q: SQL multiple column ordering

Señor Reginold FrancisI am trying to sort to multiple columns in SQL, and in different directions. coloumn1 would be sorted decending, and coloumn2 accending. How can I do this?

@user2555621 does that solve your problem?
Reading it.
@user2555621 Also, search this website for "SORT BY RAND()" I believe it was @tereško who wrote up a nice piece on why you really shouldn't use it (including a good alternative)
01:25
it'll be fine for my usage but thx
@user2555621 uhm.. I doubt so. Though it will work, it's really slow. Though you might not plan to get more rows in your database, if you do it will become a major PITA to find the slowness later on
16
A: Doing a while / loop to get 10 random results

tereškoPlease, stop using ORDER BY RAND(). Just stop. This operation has complexity of n*log2(n), which means that the time spent on query would grow " entries | time units ------------------------- 10 | 1 /* if this takes 0.001s */ 1'000 | 300 1'000'000 | ...

had it favorited, since such an eye opener on how slow it is
@crypticツ Thanks
Anonymous
01:41
I suspect vote rigging :p
@Simon_eQ that q should have at least -5 not a + score
Anonymous
@CSᵠ there is something fishy going on there. Not to mention, about my answer
Anonymous
damn you @CSᵠ :)
@Simon_eQ ? what's fishy?
Anonymous
Did you just upvote the other answer to make look like a fool?
Anonymous
01:44
Yes, you did
and the question is trash... cv-able\, more so as it has answers
Hey im new to coding and im 13, what would be the best and fastest way to learn objective c?
@jonathan wrong room
lol whoops ok
:)
01:46
what room should i go to?
the one about objective c :)
probably NSChat :P
dunno, i don't frequent that
Anonymous
fastest way to learn Objective C, is to learn about Objective C
lol
01:46
k thanks
search obj in chat, you'll find 10 rooms about it
@Simon_eQ you could really even delete your answer as you're recommending explode like the other guy did... redundant, bad q, nothing to gain...
PHP's native parser is no doubt faster than say json_decode, parse_ini_string, and simplexml_load_string right?
Anonymous
@CSᵠ You don't get it, do you? the whole answer/question is bad. But, I should have been upvoted for answer first, and yet answered it the simplest possible way...
Anonymous
that was the point
01:50
@Simon_eQ i see you answered 1 minute later than the other guy saying the same thing basically, that usually means both of you started writing the answer almost the same time havind the same idea...
@Simon_eQ: I have upvoted your answer for being faster (and roughly the same as the one with +2)
anyway... it's a RTFM question, really not upvote-worthy
@DaveChen what do you mean?
it's a silly question though I agree
Anonymous
@DaveChen :) ty. @CSᵠ you still don't get it, go to sleep ... or maybe I should. because, it is : 3:46 AM in here
lots of regex ones are unfortunately
i got your part too @Simon_eQ
01:54
@Simon_eQ On top of all that, his answer isn't just code, but explanation too (which is better) and you use a structure that doesn't work on older (but still way overused) versions of php without even noting that. Using explode doesn't seem like a good solution to me (it's way inefficient if the string is long and he only wants the first number) and the question is bad enough that no answer to it at all should really get upvotes.
@Simon_eQ probably we should notify @Gordon to check any relation between stackoverflow.com/users/499106/noah and stackoverflow.com/users/1438393/amal-murali regarding this question: stackoverflow.com/questions/17689393/… [packaged message]
Anonymous
@Jasper Got that. I am pretty sure now, it must be due to the explanation. I suspected a vote rigging :p at first
anyway, too many upvotes
@Jasper ++ on all of that
strpos and substr is what I would have used. If the number will always be 2 chars (remote chance) then $string[0].$string[1] would work too
I wish we had a shorthand like $string[0-5] would give me the first 6 chars]
that would be nice indeed
Anonymous
01:58
I wish we had a WHERE statement for characters in PHP
language feature :P
@crypticツ no way... that's stone-age fire, regex ftw !!!
Anonymous
$var = 'The king of Iron first tournament 5';
echo search_foo('FIND FROM $var WHERE strlen.length = 10 '); // tournament
Anonymous
How about that ^^ ??
@CSᵠ I wish SO search would have a regex option so you can search the site using a valid regex, of course it would be ripe for abuse.
Anonymous
Sorry, but I have got to tell @peehaa about my brilliant idea :p
02:02
@Simon_eQ confusing since strlen() means anything in a string even spaces.
@crypticツ just... love
@CSᵠ meta post regex search feature request
@crypticツ you have the guts to do it?
it's gonna be shot down with rage
@Simon_eQ Isn't that just a less powerful (and reinvented) way of writing a regex?
@CSᵠ I won't have the willpower, laziness is a powerful force.
Anonymous
02:03
@crypticツ Yea, well... it could use built-in ctype_ validation to check everything. It would have to be pretty dynamic function though.
Anonymous
@Jasper believe it or not, there are people who NEVER use regex ..
@Simon_eQ /\b\w{10}\b/ ?
@Simon_eQ And how is that a reason to reinvent the wheel?
I mean, regexes are hard to read but powerful and do exactly what you are doing there (and once you start adding "functions" to it yours becomes hard to read as well and probably still can't do as much as regexes
Anonymous
@Jasper If you are speaking about that, then that would mean many PHP string functions have also reinvented the wheel
@Simon_eQ Because the same thing can be done with regexes you mean? Well no, those are generally more efficient and much clearer. What you are doing is inventing another language that does sort of the same thing as regexes.
Anonymous
02:10
I guess you are right, but implying that PHP apprentice should compulsorily learn regex also, doesn't make sense.
Anonymous
Learning regex should be optional
learning should be optional
well on that note.. learning mysql should be optional, html also with css too, etc
@Simon_eQ I never meant to imply that. I just meant that if one needs such functionality he or she should learn regexes rather than some yet-to-be-created SQL-ish syntax that does sort of the same but not quite as much
In fact, if you've got the time/opportunity I'd recommend you to learn regexes (after you've learned php or another language) because it's a tool that is very powerful and it is likely that you will be able to use the skill in the future for problems that would otherwise be hard. That said, there's absolutely no need to learn regexes
actually, no need to learn regex to create the basic site, but when you're in text processing you'll wanna learn it for sure, at least the basics
ohh an btw.. regex is ugly, damn ugly, but it balances that with smarts
Anonymous
@Jasper Its weird, everytime I set out to learn about regex, the first tutorial I see just throws me off. It seems hard, to pick up at first, like you said.
02:17
reddit.com/r/Wordpress/comments/1ifd2w/… I love how sides of a story tend to twist and distort the truth
@Simon_eQ You're absolutely right, it's not easy to start with because it is so ugly and because it so different from what you're used to. It is one hell of a swiss army autopowered toolbox, though
Anonymous
LOL
Anonymous
btw: If I am not making sense, it is because, I am on the verge of narcoleptic collision :p
Anonymous
4:16 AM
Anonymous
Time to go to bed, before I get embarrassed by people trying to get up to work.
02:21
@ircmaxell In fairness, the custodians of code widely used in 2013 that uses addslashes() would know a lot about irresponsibility.
@ircmaxell I'm all for full-disclosure for proprietary code, for open source responsible disclosure is merited, but that does not give them an excuse to drag their feet.
That's the point. I believe that this was responsible disclosure, as we had agreed upon the disclosure date. It wasn't that I said "I'm doing it on tuesday, screw you if you don't like it".
I held them to what we agreed upon when I saw no further progress being made. That's the point of responsible disclosure IMHO...
@ircmaxell in a previous message you said july 16 (90 days) but looks like you guys agreed on about 3 weeks?
24hrs is all anyone gets from me =oP
lol
02:24
@CSᵠ the timeline is in the blog post
@crypticツ going all 0-day :))
Disclosure Timeline
April 17 - Initial report sent to lead developer (at his request)
April 17 (10 minutes later) - Response acknowliding issue and discussing potential solution
June 23 - I emailed stating intention to disclose on July 1, as it has not been fixed nor has progress been made
June 23 (10 minutes later) - Response indicating a plan of action. Promise to send code within 24 hours.
June 23 - I agree to delay disclosure to July 16, to give more time.
July 14 - I received an email requesting an additional 2 weeks, stating that I would get code "within 24 hours" again.
@CSᵠ it's not 0-day if you give them a day =oP more like 1-day
oww well
@crypticツ that's why you give them 23:59 :P
 
2 hours later…
@Bracketworks needs to be in that format otherwise backlog won't pick it up =o)
04:28
DevZer0: Use helicopter. — Philips Tel 18 mins ago
lolzzz
@Dave I blame someone else.
In meekly copied what was already there. I never actually wrote or changed it into that.
That said, there needs to be a way to remove questions from the backlog.
@YogeshSuthar wtf is going on with that post? One minute talking about outputting some numbers in PHP, then to JS, then to quantum computing, then to helicopters. I think OP might be trollin
today i hosted a website on godaddy
but php scripts are not working
What's the problem ???
@Cody you're using GoDaddy
@crypticツ yep
04:36
@crypticツ Yes, he has even answered for his question after getting proper answer from other users.
@crypticツ any suggestions ??
0
A: Printing the total number at the top of iteration

suhailYou can use goto to control the flow of execution <?php $started = true; if ( $started ) goto iw_begin; if(false) iw__begin: if ( $started ) goto iw_text; if(false) iw__text: goto iw_end_gt; if (false) iw_begin: echo 'calculates:<hr>'; $total = 0; for( $i = 1; $i <= 5; $i+...

O_o
@crypticツ lolzzz -6.
@YogeshSuthar did you see his JS solution? lol
@crypticツ Yeah with -2. :)
04:48
@crypticツ glad to hear
@tereško I actually went back through my old scripts and updated them after reading your post.
@MadaraUchiha hmm why did you ping me ?
@YogeshSuthar Your bro...
and yes, btw finally uploaded the landing page ...
@Mr.Alien I don't have that kind of brothers.
Goodmorning .. :-)
04:56
@YogeshSuthar so its u urslf, I caught u :p
@Tredged mornin
@Mr.Alien I don't have multiple accounts. :P
@YogeshSuthar Ya ryt :p
Well anyone interested in cleaning up this question
@Mr.Alien done
05:01
I was so sleepy like 5 minuts ago, I am drinking my coffee and I feel like superman :)
@Tredged drink beer and you will feel like god...
LOL
I am at work so cant just open a beer here :(
@Tredged You can fill your water bottle with beer
user1642018
hi all.,
user1642018
helloow
05:04
@AmbroseBwangatto If you are not going to ask a question than hi...
user1642018
lol
user1642018
how do you know?
@Mr.Alien and sip through a straw
user1642018
*how do you know ?
@AmbroseBwangatto we chat everyday here.. and we know what hi means from a newbie...
4
user1642018
05:05
anyways , i wont ask question.
@tereško yea, the fat one...
@AmbroseBwangatto aa great...
user1642018
:)
user1642018
i used to code like that, with all echo stuff.
everyone used to
05:08
well .. one of my coworkers never did
he's still writing using "all print stuff"
probably from a c background...
java
aahhh
and that's one of the guys who did not get what's so funny about bottle of singleton
05:10
@Mr.Alien marJAVA, mitJAVA, lutJAVA. :P
JS has a good thing, we can declare var like var a,b,c;, PHP should introduce the same thing, will save 100's of isset...
@YogeshSuthar haha that joke is quiet popular here
@Mr.Alien 1 more satkeJAVA.
must be an indian thing =/
user1642018
whats that new version of java ?
1.8 ?
user1642018
05:12
no i meant ,satkeJAVA? anyways got it
@YogeshSuthar lol @tereško yes, 1st is die, 2nd is erase, 3 is robbed, 4th is even I dunno
@tereško Yeah, my java version is satkeJAVA :P
@AmbroseBwangatto LOL LOL LOL it's just indian words, with santa banta joke.. nothing to do with real java
@Mr.Alien satkeJAVA is getting mad. :P
user1642018
05:13
lol
Yellow bottle sippin, yeah yeah that stuff look like a toupet
ohhh yea, girls often speak that in movies.. haaay, mai sadke jaava
salaaaam aaaaleeeeikuuuum
@Tredged I guess thats assalam valekum
I know a few words in arabic :P
firekillz ;x
I need a new personal project, any suggestions ;x?
05:19
@Tredged in what field/area/topic
Doesnt matter LOL just want to code something thats usefull in a way
@Tredged create elgoog = google :P
@Tredged depends, I started a blog (@YogeshSuthar reviews on the UX plz) yest... will be programming a hell of a c panel...
@Mr.Alien bachhe log b bana lege ye. :P
05:23
I don't know who marked this to shift it to superuser
achha he gr8
@YogeshSuthar lol
@Mr.Alien Looks nice
@Tredged thank you
will start working on it soon
Does anybody know how I can prevent the PHP session start if the files are in a map called example V1 only the session works in that map the main map wont work for some reason.
@Mr.Alien Goodluck, keep me posted looks cool :)
05:24
@Mr.Alien received when clicked on links OOPs :( Seems Like You Are Lost.... You used OOP concept here. :p
@Tredged sure and @YogeshSuthar yea, I've made custom 404 ;)
@YogeshSuthar I'll be keeping notes on that too, kinda all the stuff which I refer often
@Mr.Alien I am not talking about custom 404, I am talking about OOP. :P
Bleh let me explain different
If have a URL blabla.com/V1 when going there it works but testing the session in blabla.com wont. how can I make the session work on the whole general domain?
@YogeshSuthar yes, finally... pheeew
and I've kept it real simple and elegant, faster loading...
@Mr.Alien faster loading... how?
05:27
by simply writing session_start()
for some reason it wont recognize the session without being in the V1 map @Mr.Alien
@YogeshSuthar less images, minifying css(though not currently), sprites, using font awesome instead of icons, and much much more
Optimized code works good ;x
@Tredged you must be ending the session than...
@Mr.Alien I simply tested it with this:

<?php
session_start ();

$_SESSION['test'] = 'testsession';
?>
05:28
when using pdo how come when i do this: while($row = $stmt2->fetch()){} it will only loop one row
turns out it was this guy who wants to migrate the php question to superuser
Hey guys... i'm experimenting with highlighting a portion of a text and have it saved to the database plus full text, origin url and other stuff. It's going all right but im sure that i'm not doing anything new.. have anyone else tried anything like that before.. im looking for references.. i found some stuff on google and here as well but nothing exciting so far.
@Tredged should work..
and map before:

<?php
session_start ();

echo $_SESSION['test'];
?>
Output is nothing ;x
unless ur in /test map the 1st code is located.
@Tredged is your browser accepting cookies?
05:29
@Tredged have you set it ? Also check error logs
@Mr.Alien Yes, @Dave Nothing wrong there..
so thats on a different page ^?
@Mr.Alien Yeah that things are necessary to load site faster.
Yes @Dave thats the error different map
in V1 the session works in the main folder 1 before V1 it wont work
session_start (); < remove the space between start and () maybe
05:30
no love? :)
session_start();
have you also get error reporting on ?
@YogeshSuthar I've not yet turned on the leverage caching as of now...
even the hover effects you see, I've made them using pure css
@Tredged are you sure you don't have whitespace or any content output prior to calling session_start()?
@crypticツ than it will throw a warning
I guess not, since it would work if everything would be right xd
05:32
Well, you should have all notices and errors displayed during devt
So error_reporting(-1).
@Mr.Alien As a server side coder I am not thinking of this kind of stuff.
@Mr.Alien But when I am developing my own site I have to think about them.
Ok..let me refrase.. does anyone here knows how to add a comment to the a selected (highlited) portion of a string?
@ViniciusSantana Ctrl-Shift-/ ?
@YogeshSuthar you are a web dev, you need to think about all this, also, its the server side coder who thinks this, as he doesn't want his server to drain high amt of bandwidth...
How come this wont work? (QUESTION FROM A FRIEND)

IF NOT EXISTS( SELECT NULL
            FROM INFORMATION_SCHEMA.COLUMNS
            WHERE table_name = 'users')  THEN

ALTER TABLE `users` ADD `klikmissie` int(3) unsigned NOT NULL;
ALTER TABLE `users` ADD `klikdl` int(11) unsigned NOT NULL;
ALTER TABLE `users` ADD `kliktijd` datetime NOT NULL DEFAULT '0000-00-00 00:00:00';
ALTER TABLE `users` ADD `klikken` int(10) unsigned NOT NULL DEFAULT '3600';
ALTER TABLE `users` ADD `kliktijd_2` datetime NOT NULL DEFAULT '0000-00-00 00:00:00';
05:36
wat?
First of all, group all those alter statements together.
You will understand the difference if your users table has 2m records.
:) I mean.. let's say you have an article... i want to be able to highlight a portion and somehow save it to the database with it's origin url and the whole text separately.
@ViniciusSantana Hmm, copy-paste always works fine for me :)
im sure Jack.. :)
im going for something like this
but im still researching.. i have found a few different ways to deal with it but Im wondering if you guys have any ideas.
@Tredged And second, obviously that statement doesn't work, because IF is not supposed to work that way. I think I know what it's trying to do, but you'd be better off using forward/backward SQL scripts and applying those with some more intelligence than a single SQL script.
@Jack Thanks for the advise :)
05:41
homepage(top) has some cool effects
Jack... just to share... ive founded this
http://mark.koli.ch/2009/09/05/get-selected-text-javascript.html
ive found*
@Mr.Alien yeah true, but we don't care about css.
Who doesn't care about css? It's like saying who cares about having a face :)
Should I use WAMP?
@Gordon Thank you so much :)
@AshKetchum yes you should
its good
05:45
Or Microsoft WebMatrix
@Ash if you dont want to setup your apache and mysql wamp or xampp are good options.
@YogeshSuthar you should, css too eats up your bandwidth
@AshKetchum I remember how webmatrix fcked my ports... and I was unable to start wamp, than I used to access local using localhost:8080/
@Mr.Alien Okay, I do believe you're pulling that info out of your ass lol
How does css eat up bandwidth again?
If it's properly cached, it's a one-time hit.
engrish pls @YogeshSuthar
@Jack lol which
@Jack okk. @Mr.Alien yeah, from now on I will take this into consideration.
05:53
I hate when the request increases because of the web fonts
web fonts can be cached too.
@Jack oh, I got it, and yes, it does, what if the site is loaded for the first time on the mobile browser, in a country like india where we have speeds like 54kbps...
you really need micro optimizations, yes it is useful only when you have a high trafic website like google, they care for a single character, if that single character is chopped from the html, they save large amt of bandwidth
For phone you should have mobile version, obviously :)
Packet sizes should be taken into account when you do that.
Splitting a single char isn't going to make a diff.
Anu
Anu
Hello.. Can any one help me to answer this "How to save a video server-side php, from a base64 data string"?
@Jack yea, but somethings like fonts, etc cannot be ignored even when we are loading on phones, and for us it wont, for big websites, they do... I have bloated source for many things, doesn;t matter as far as I am running low traffic, once that gets popular, optimizing bits does make sense
05:58
In fact, this is what kept news sites alive during 9/11 ... they managed to fit their pages into a single TCP packet ;-)
@Mr.Alien Again, phones -> mobile version.
You can optimize images quite well though, that would be my first target.

« first day (1005 days earlier)      last day (4168 days later) »