« first day (2240 days earlier)      last day (2699 days later) » 
00:00 - 19:0019:00 - 00:00

12:02 AM
@PeeHaa Would you mind take a look once again?
 
Look at what? The same thing?
 
Yes.. I have done some changes
 
Does it involve even more reinvented buildin functionality? :)
 
Hopefully enough to not go insane :-)
Not sure if correct to create a property, which assign result value of hours. Only used for 1 object..

http://sandbox.onlinephpfunctions.com/code/6ba1b5a809f50e21591a2c37484898db6a54c098
 
12:25 AM
@PeeHaa pretty sure that is not how consentment works
... ba doum tssss
 
:P
 
lol this guy
I've known many coders like you.. Not smart enought but with a huge ego. Put your feet back on the ground. — RaulOne 26 secs ago
 
Anonymous
@FélixGagnon-Grenier flagged (Y)
 
Anonymous
He's seems like a right gem
 
heh... I was hesitant to flag since I am somewhat emotionally involved in this, y'know. I guess you're right :D
 
Wes
12:34 AM
@FélixGagnon-Grenier your problem is that you didn't ask me :B
 
@Wes indeed! I think you weren't around at that time though..
 
Wes
the guy overreacted but that's not a too bad idea. sometimes that's the only option. if you want to "eat" the whitespace between two inline elements
<span>foo</span><!--
--><span>baz</span><!--
--><span>qux</span>
this is something people actually do, because sometimes there are no other solutions :B
clearly i would hate doing that...
but, why you dislike the usual solutions to that question?
 
Yeah, that comment trick is also mentioned in the css-tricks page I linked in the question. I dislike those because..
it basically disturbs me. But more importantly, it gets in the way of readability.
I guess at some point one can get fluent in the manipulation of html that features such tricks.
 
Wes
if you read about making layouts with inline-block you are likely reading some bad stuff. but again sometimes inline-block is the only option... most of times it isn't
like in your case
 
actually... I totally stopped doing that and started using bootstrap, ang stuff
turns out I'm rather bad at that, and people have created so many great tools; let's use them \o/
 
Wes
12:46 AM
> started using bootstrap
user image
2
 
Wes
@FélixGagnon-Grenier jsfiddle.net/3psysuey/2
this is one of several possible solutions..
 
:d still laughing
 
Wes
:P
 
1:07 AM
@Wes hmmm, (ab)using display table :)
Interesting. Basically the basis of a grid, apparently.. nice
@Wes also you are a douchebag. launching neverending processes like that in people's browsers!
 
Wes
lol
"tables shouldn't be used for layout" doesn't include display:table if that worries you
 
yeah, took me some time because I am dense but at some point I accepted that it really is not the same thing
 
1:26 AM
@Wes still waiting on the followup for the bare metal 12 columns grid system
 
Wes
the what?
 
Wes
i never get you @FélixGagnon-Grenier :'(
 
the most... simple(?) one? That which you just made, was basically a bare-metal container system. I was half-jokingly asking about what is that same thing but for a 12-column layout grid, as these css libraries offer?
(sorry someone rang at the door at that time!)
 
Wes
12 column layout is an exaggeration, right? :B
 
1:32 AM
half-jokingly because I am very interested in pedantically use my own grid system next time I start a doomed personal project :D
... I have no sense of measure..!
 
Wes
you can use floats, tables, flexbox. none of them does all the things. it depends on what you want to achieve
flexbox is the most.... flexible but also that has some problems
 
Is it smart to keep JS code in a MySQL field?
 
Anonymous
Hahah
 
Anonymous
And now I'm casually being downvoted in all my old and new answer/questions. Please delete my account from stackoverflow. Don't wanna lose my time anymore trying to help and get this. Even got downvoted by a moderator because I didn't write exactly as he wanted. I should see a delete account in my profile but I can't see it. — RaulOne 16 mins ago
 
Anonymous
@FélixGagnon-Grenier what have you done you animal
 
Wes
1:37 AM
@Alesana unless you mean json data, i'd say not at all
 
@Wes I thought there was no difference between <table></table> and <div class="table"></div><style>.table {display:table;}</style>
:| If I want to be able to save JS code that a user inputs should I just use fwrite?
 
@JayIsTooCommon ikr?
 
Wes
no difference in what? display, kinda the same, but the tag table carries semantics, while display:table doesn't
 
They seem to be in some level of distress.
 
Ah I see!
So, I want a user to be able have my widget on their site, and their widget will complete the JS that the user wants when one of my user's users sees the widget. Should I just make a new JS file for each widget instead of saving the JS in a MySQL field?
 
1:43 AM
uhm... can you say that again, slowly?
 
Wes
sounds like something you should just generate on the fly every time, without saving it
 
Hmm.. I will try to explain it better.
I have a service where you can create a widget that requires a user to complete an action in order for JS to be completed. So, you go on my site, create a widget, put in the javascript you want to be completed, then save it. Then, my site gives the user a link to a JS file that brings my widget up. They put it on their site and then whenever someone goes on their site and completes the action on the widget, it will run the JS that my user saved.
 
ok.
and you ask, wether or not you should keep that whole widget saved in database? Only the part they give?
 
Wes
that sounds something you shouldn't do. why do you need to generate a js? shouldn't you just parameterize it through querystring or something?
 
Cap'Wes to the rescue™
 
1:51 AM
I'm asking if the JS they want to be completed should be saved in a database or as a separate file and the link to the JS file will be saved in a database
 
Sorry, you were the target of me failling at unicode :)
 
Well, parameterizin it would still require it to be saved somewhere I just don't know the best idea for where to save it
parameterizing*
 
you can edit your messages, either by hitting the up key on your keyboard or by using the downward facing arrow that appears when your hover your message
 
Wes
@Alesana no, you would save only the custom parameters, not the whole js file
 
@Wes Hmm maybe I don't understand what you mean by parameterize it. So, I will have no idea what the JS could be. It could be to redirect them to another page, to send a JS alert, etc..
 
1:56 AM
Saving user scripts on your server needs extra care because you don't want them to be publicly visible, so they can't be run.
and assemble them on request, maybe caching them.
 
That's why I wanted to save it in the database, however if not, my idea was to make something generate a random alphanumerical string and save it under {randomstring}.js and then just keep {randomstring}.js saved in the database so it knows where to link to.
I think I will go with the latter. I don't know if there's something wrong with it but something just doesn't sit right with me putting JS code into a database haha
 
security through obscurity, it feels like though..
 
Hi everyone. Anyone know how to delete undelete able file.
I try unblocker(unblocker Not responding).
I try cmd commands. Not working cmd hang.
What should i do?
 
2:14 AM
Yup
Well, I don't think they'll be dealing with extremely sensitive JS
 
2:26 AM
Hmm now my PDO update code is showing it worked but not updating anything -.-
This code echos Success
	$query2 = $dbh->prepare("UPDATE tablethadoesnotexist SET completionjs = :string WHERE columnthatdoesnotexist = :id");
	$query2->execute(array(':completionjs' => $string, ':id' => $_GET['id']));
	if ($query2) {echo 'Success';}
 
Wes
2:39 AM
im hungry
With PHP 7.1 tagged I feel it's time to thank @dshafik and @krakjoe for their effort in the past few months. Thank you! 👏
PHP 7.1 is out and some of you people are still on PHP 5??? FIVE?!?!?! . DO YOU HATE PERFORMANCE??? DO YOU LIKE SLOW WEBSITES???
 
Does that make Phil the carrot and me the stick?
Wait, that's not Phil... who is that?
All you white guys look alike to me.
 
Wes
lol, i don't know
he looked like phil, if you mean sturgeon :P
 
2:55 AM
Yeah, I went by the photo before looking at the username. Thought it was sturgeon
 
Wes
me too lol, i think it's because he always appears in sunglasses in public :B
 
3:28 AM
moin
 
Wes
\o
 
I should be able to fopen($file, "w"); via PHP on a file with 0666 permissions, right?
I'm able to fopen($file, "r"); fine but I can't with w
 
3:47 AM
@bwoebi I think I bashed it enough because of its primitive obsession
 
 
1 hour later…
4:55 AM
$write = fopen($file, "w");clears the file, but fwrite($file, 'test'); doesn't write to it, not return any errors.
 
5:06 AM
Morning
 
Morning @Linus
o/
 
\o
 
Wes
mornin
 
mornin Wes
 
5:14 AM
o/
!!dad javascript
 
Have you heard of the band 1023MB? They haven't got a gig yet
Don't trust atoms They make up everything
 
Morning all!
Can someone preferably point me in the right direction with this... I need to read a value from a database and then update that value to show that I'm using it in my php script. The issue is... if 2 scripts were running at the exact same time, they'd both select the same value and would likely get angry at each other. I've been reading about transactions and whatnot; but I'm a little lost as to what would actually happen with a transaction in this scenario.
 
Wes
'member when programs cared of user experience? I mis̲s accelerators...
 
Do transactions execute as if they're one statement, or do they just prevent all changes being written to the database if there's a conflict?
 
Wes
@Rawrskyes the first transaction would block the other
 
5:28 AM
Hrmm
Do you know if there's a better way to do the same task?
 
Wes
but depends, if you lock rows in shared mode there can be concurrent reads, but no changes
no. transactions are the only way
 
Is there a way to just re-try the whole transaction if it fails?
 
Wes
of course
you just wait some time and re-run the thing
!!wiki isolation database
 
Ah; I think I see that sort of thing on the PHP manual
 
@Wes Sorry I couldn't find that page.
 
Wes
5:31 AM
In database systems, isolation determines how transaction integrity is visible to other users and systems. For example, when a user is creating a Purchase Order and has created the header, but not the Purchase Order lines, is the header available for other systems/users, carrying out concurrent operations (such as a report on Purchase Orders), to see? A lower isolation level increases the ability of many users to access data at the same time, but increases the number of concurrency effects (such as dirty reads or lost updates) users might encounter. Conversely, a higher isolation level reduces...
there is very little about the isolation, transactions can have different "levels of protection"
 
What do you mean?
 
Wes
check the above page ^
it's pretty simple to understand
 
if $value is null will if($value == 0) {} return true?
 
Wes
@Alesana don't do that. always use the triple equal ===
 
@Wes yeah I had switched it to === and it fixed my problem, that's why I was asking
 
Wes
5:38 AM
anyway yes null == 0 is true
but you should never compare different types
if you want to check for null, do === null, if you want to check false do === false, and so on
 
I didn't know that
I will go back and fix all my code haha
 
@Wes Just to make sure I have this right... If any one of the statements fail, they throw an error (which is why you lock the row so that it'll fail if already locked). If this happens I should rollback and repeat the whole process after a delay?
 
Wes
it's a good idea to do that. anything implicit (type coercion) is scary @Alesana
 
Yeah thinking back on it I can see how it could cause some things to go awry
 
Wes
yes @Rawrskyes
you can try how it works easily creating two pdo objects in a php file and launching concurrent queries @Rawrskyes
 
5:43 AM
@Wes Thanks greatly for the help!
I think I will!
 
Wes
yw :P
 
Sometimes the abundance of information on the internet can make finding relevant info a little hard!
 
I've always disliked closed source software ... I find myself with a new extreme hatred of closed source things ... they are making my life very difficult ...
I don't understand why I don't get access to all the source code I need, having paid for the fucking device
several times over, I might add ...
I mean what is that ... what are they protecting ... nothing, absolutely nothing, it still gets reverse engineered, it still has open source drivers written, they are just wasting many years of everyone's time
it's not a quantum computer, it's an soc gpu ... nothing special about that, my television has one, my phones, my tablets, everyone is making them ...
</rant>
 
They're protecting themselves and their future! To make something valuable it normally needs to be scarcely available. Until we turn into a unified society where we all work together to further the human species; I think you'll likely need to put up with closed source software :(
 
they are hindering their progress
people have started writing drivers and given up after many years of work, because it's just too hard to guess
someone else picked it up, and it spurred other people to work on other drivers ... but these things are already written, they are distributed in binary form, with incorrect and badly packaged software and headers ... they are doing a poor job of releasing it as closed source, I don't know why ... but they could just publish the code and have their workforce be increased by orders of magnitude ... everything would be better if I could read the code I am relying on ...
 
6:35 AM
 
Wes
Time: 30.56 seconds, Memory: 76.00MB
OK (10121 tests, 164540 assertions)
it works again!
 
@AaronHall congratulations and thank you for you volunteering... :-) @BhargavRao @deceze
Well done and good luck with your new task!
@BhargavRao Congrats! Good to see a mod from Namma Bengaluru, Proud of india :-)
 
7:02 AM
@Wes have you got a pi2/3 ?
 
Wes
nop
 
aww
I still for some reason can't get a screenshot
I haven't looked at why actually ... I probably should ...
@Wes can you see what I mean ?
 
Wes
not really. everything is purplish?
 
it doesn't at all look purple, it's black, but those red bits are still visible ... terrible photo
 
Wes
elephos LOL
 
7:16 AM
right in the center at top, there is two red-ish stripes
 
Wes
i have no idea. i don't think it's the img
 
7:38 AM
I was hoping for a clue ... I also have no clue ...
 
Wes
have you tried with a solid color background?
if it does the same thing
 
8:23 AM
Good mornin' all.
I was wondering if any of you kind folk can inform me as to the necessity of performing a defrag on a linux server running a php to mysql database on permanence, perhaps for the mysql folder?
Sounds like it wont help unless there are very large files being stored, but I thought it might be interesting to look into it a little further.
 
8:39 AM
@iain as a rule of thumb: defragging ssds = harmful, defragging mechanical drives = fine
 
8:51 AM
@Wes I did yeah
 
@Gordon Thanks for the input Gordon, do you think that there could be a performance gain? I suppose setting up and array of disks or faster disks would be more likely to help out, it is a very old machine, ssds are defiantly not a concern here.
 
I cant tell :)
 
:) need an ssh into the system for that I suppose!
It is a pain in the proverbial because system lag is causing double entries, I suppose I need to write a code check for this; I am surprised its not already there.
 
@JoeWatkins can I have a sanity check on stackoverflow.com/questions/14157347/… pls
the question asks to call a trait's ctor. I answered it's not possible. Thy guy said it is with aliasing. He provided his own answer in which he then calls $this->aliasedCtor(). However, I think this is nonsense as this would be like doing this->__construct()
 
9:28 AM
@DaveRandom you did this ??
 
He did the entire family.
 
@Ocramius well, Aerys is not that a primitive API!?
 
9:56 AM
mo
 
10:22 AM
Hello Everyone
anyone have idea about CyberSource Payment Gateway Integration?
 
Rule of Thumb: no one likes Painment Gateways. Ask the Gateway provider for support.
 
10:36 AM
:P
 
@Gordon i already did the same thing but saturday sunday support is off. :(
 
@SagarNaliyapara great, so don't work over the weekend
 
but office allow me only one day off and that is sunday @Gordon
 
slave labor
 
::::----(((
 
10:48 AM
@BarneyStinson not yet no because I am still in bed, but part 1 looks trivial, what are you stuck with?
 
@DaveRandom I was working on day 3 puzzle!
 
@Gordon sounds right to me ... there is a deep misunderstanding going on here though ...
> parent::__construct(); // Doesn't work...
well of course it doesn't ...
 
@JoeWatkins aliasing shouldn't work either or should it?
I mean, yes, effectively it does, but semantically?
and yes, of course, parent:: doesn't work
it probably boils down to effectively and technically.
 
hello everyone.
Im facing a problem consuming my web service
it gives this error "The HTTP request was forbidden with client authentication scheme 'Anonymous'"
we have just migrated our server
but did not add SSL certficate there
could this be the problem?
 
@JoeWatkins imo, there is no equivalent to a parent::__construct horizontally
 
11:01 AM
not adding ssl cert?
anyone?
 
!!? The HTTP request was forbidden with client authentication scheme 'Anonymous'
 
Search for "The HTTP request was forbidden with client authentication scheme 'Anonymous'" (https://www.google.com/search?q=The+HTTP+request+was+forbidden+with+client+authentication+scheme+%27Anonymous%27&lr=lang_en)
• The HTTP request was forbidden with client authen… - 2 okt. 2014 - I am trying to create a secure webservice …. I ran into this exception but it was due… (http://stackoverflow.com/questions/26169136/the-http-request-was-forbidden-with-client-authentication-scheme-anonymous-th)
• The HTTP request was forbidden with client authen… - 4 nov. 2015 - First of all let me describe my
 
I have already followed these links
but nothing helped
i just want to know if not adding the ssl certificate causes this problem
 
if you have already followed all these links, why don't you just try to add the ssl cert and see if it helps?
 
its not up to me. I want to tell the cause with certainty to whoever is responsible for adding it.
i was hoping if someone here faced the same problem
 
11:30 AM
@BarneyStinson Just find the biggest number of the 3 and check whether the sum of the other two numbers is > the biggest...
 
oh shit men! I understood something different!
I thought element 1+element2 > element 3
Thanks @DaveRandom
 
11:46 AM
@DaveRandom I did that! :p
 
part 2 is more interesting ;-)
 
@DaveRandom how they are giving Gold * . Based on trial ?
 
Where, sorry? You get a star for each correct answer, there are two possible correct answers per day. If you do 1 it shows as a silver star, if you do 2 it shows as gold, on the private leaderboard at least
 
Okay thanks @DaveRandom
 
12:12 PM
Evenings!
 
!!Evenings
 
!!dad
 
I don't trust stairs. They're always up to something.
 
morning
 
morning \brzuchal
 
12:21 PM
o/
It's quite sunny today in my place, no sign of winter yet! :)
 
\o
 
ThW
Morning
 
Morning Thw
 
@Jeeves good lord
 
1 kb/s 2kb/s :D
 
12:28 PM
@Jeeves Stairs can go down to somewhere too…
 
I was going to try bcompiler from pecl but, it fails on install last version released 5 years ago so I don't see any sense of it being in pecl repo any longer. Are there some rules describing when extensions from pecl are being removed while unmaintained ?
 
no idea
 
12:55 PM
mornin
 
morning @tereško
 
hi guys, i was wondering if theres a framework out there that has a sort of pagebuilder for it
like to use templates for generating pages,forms and tables instead of having a control/model/view for each page?
 
@SagarNaliyapara Thanks!
 
1:12 PM
Morning o/
 
\o mornin
 
Finally I have some time to do some unpaid programming today \o/
3
 
@PeeHaa I assume by "unpaid programming" you mean "drinking"
 
Sorry @DaveRandom for hardcoding the twitter endpoint base url at the wrong place. I knew it became a problem, but I thought I would have solved it before anybody else was going to touch that :P
lol timing
@DaveRandom I do have a whiskey here, but I am going to write some shit
Just not sure what yet
 
1:26 PM
@PeeHaa the only real remaining issue is the it needs to disable the request timeout - artax times out after 120sec by default
+ error handling and reconnect logic, of which there is currently none
that's relatively simple though
The whole get() and post() API is somewhat problematic, since streaming requests can be either of those methods and getStream() and postStream() seem not nice
need a way to pass options like $noTimeout etc
 
oh k
 
maybe int $flags?
 
If sanely possible I would like it without flags
 
Indeed, seems like something that belongs on Request VO
but then so does the request method...
 
True
I think I even thought about doing that
 
1:30 PM
I won't have time to work on it this w/e but if you want to clone that branch and do some shit then feel free
 
Not sure if "lazy and get shit done" or there was some actual argument I had against it
I think I will at least play some with it after I done some more "normal" request implementations
 
k cool
 
1:44 PM
> Upcoming changes to Tweets
Oh goddamnit
Also: why the fuck keep they mutilating their docs site :(
 
They really do seem to hate developers
 
It started out as the best dev website out there and it is getting to the dev.paypal level now :(
 
I mean I can't claim that my docs are any better, but they are fucking Twitter. They could employ a team of people full-time to keep the docs up to date and not even notice.
 
Hell if you wanted to learn how to implement oauth dev.twitter was the go to place. Now it's just another fucked up turd
> Code Quality Analysis: - Project wide PHP 7 strict types
\o/
Now implement 7.1 features jetbrains
hmmm no in-application update
 
2:02 PM
@PeeHaa what, in PHP storm?
 
yea
 
Yes I find that really irritating, unreasonably so
 
I just got a update popup with three buttons "blog/download", "ignore" and "remind me later"
wtf
 
They've built a really sophisticated application, one which is capable of doing patch updates already, and they can't download an MSI and do a shell exec? :-(
 
Super annoying
Unrelated question @DaveRandom. Is there a way from within c (php-src) to know whether we are running ps or cmd?
 
2:07 PM
uhhh
 
You are the windows guy in here :P
Well I am too, but you actually understand it sometimes
 
I don't understand ps at all
It doesn't seem to be easy
 
poop
 
XY: why do you ask?
Doesn't seem that relevant
 
I want to look into proper escaping based on the shell used
 
2:09 PM
oic
well yeh then I don't think it's relevant anyway
 
huh
 
I don't think the behaviour of exec() would change
 
confused look
 
would have to test though
/me has RL to do
ttyl
 
have fun o/
 
 
1 hour later…
3:12 PM
@NikiC Can you please review github.com/php/php-src/pull/2226 ? Or did you just not yet have the time to?
 
3:51 PM
there is ice falling from the sky
 
4:05 PM
@bwoebi The refactoring of ZEND_ASSIGN_* opcodes looks like something we should land separately
Just to clarify, this will cause one additional fcall to the helper for each of those, right?
 
@NikiC the helper is marked inline, so no
 
@bwoebi Thanks
I didn't even know we had two handler types ^^
 
@NikiC Possibly yes, I just was too annoyed to have to add the same line like a 10 times or such, thus I just refactored that out
@NikiC it's the same one, just with (_INLINE)? in the regex matching ^^
and I had added it back then
 
yeah, that's what I mean. never noticed we had an INLINE version
 
@NikiC It actually never has been used until now, but I think here it's appropriate
@NikiC Shall I separate it out now?
 
4:11 PM
@bwoebi I think it would be good
 
@NikiC will do, can you review the other changes too, please?
 
@bwoebi yeah
 
@@ -2234,6 +2057,7 @@ ZEND_VM_HANDLER(136, ZEND_ASSIGN_OBJ, VAR|UNUSED|THIS|CV, CONST|TMPVAR|CV, SPEC(
 	if (OP1_TYPE == IS_UNUSED && UNEXPECTED(Z_TYPE_P(object) == IS_UNDEF)) {
 		zend_throw_error(NULL, "Using $this when not in object context");
 		FREE_UNFETCHED_OP2();
+		FREE_UNFETCHED_OP_DATA();
 		HANDLE_EXCEPTION();
 	}
^ note for later, should be applied in yet another separate commit
 
4:34 PM
@NikiC github.com/php/php-src/compare/… … like this? ;-)
@NikiC Opened a PR for it too: github.com/php/php-src/pull/2227
 
ugh. revisiting some tests: "I should change the way the application works h... wait a minute..."
I think I failed somewhere.
 
4:52 PM
@bwoebi It checks varname_op_type == IS_CONST because it assumes that varname_op_type == IS_CONST implies polymorphic_cache_slot
The other code path instead directly checks polymorphic_cache_slot
@bwoebi Looking good. I think you should check this by dmitry, but I don't think there should be any objections
@bwoebi The static prop patch also looks fine to me. I suspect dmitry will complain about vm code size increase :P
 
@NikiC fine
@NikiC That's my only concern though
@NikiC so, what to say when he complains about that?
 
5:11 PM
@bwoebi try to reduce it?
 
@NikiC Well, making it a never_inline would surely help… but …
@NikiC fyi: updated the PR to incorporate your suggestions
 
5:29 PM
Evening
 
\o
 
Howdy !!!!!!!!!!!!!!!!!!
 
@NikiC well, sent, let's see what he says
 
Wes
5:49 PM
hi
 
Hi
 
6:06 PM
I'm having a real hard time to install php7 on my debian server
I followed this guide: https://www.dotdeb.org/instructions/
but I can't add the gpg key for the repository
Or in short, apt-key add key.gpg isn't working :(
 
user1804599
6:33 PM
@NikiC is there a pretty printer for your AST?
 
@rightfold which pretty printer and which ast?
 
user1804599
Your AST library, is it possible to convert ASTs back to PHP code?
 
@rightfold PHP-Parser or php-ast?
 
user1804599
Hmm.
 
user1804599
PHP-Parser.
 
user1804599
awesome :D
 
I want to write a rant about how sanitisation is an anti-pattern
should I
 
Wes
for example @Andrea ?
 
@Wes every instance of it I can think of is either a failure of validation or a failure of escaping
Stripping non-ASCII characters? Either you're not handling Unicode properly, or you're not validating your data properly.
Stripping HTML tags? You're not escaping your data before outputting it.
etc.
 
Wes
6:48 PM
i agree on those but depends, no? say you are asked to enter a number in a text field and you add spaces around it by accident. you could get rid of them automatically
 
that sort of thing is valid, yeah
 
Wes
though that too could be an input error. maybe signaling it would be better than making assumptions about it...
 
oh, one case that comes to mind is when you're storing untrusted HTML (rich text editing)
in that case you want to remove anything potentially nefarious
though, again, that's arguably more validation than anything else
after all, if the user put a <script> tag there, maybe they wanted it?
 
00:00 - 19:0019:00 - 00:00

« first day (2240 days earlier)      last day (2699 days later) »