Monday, January 26, 2015

Reddit error page

Seems to change often

datalist html5 options limit

There seems to be a limit to the amount of options that can be provided for the datalist feature which is like a suggestion to textbox, built into html5. here's an example I use:

<datalist id="suggestions">
foreach($getShows as $show){
echo '<option value="'.$show['showname'].'" >';

<input placeholder="Search shows" id="q" name="q" value="<?php if(isset($_GET['q']))echo $_GET['q']; ?>" onkeypress="if (event.keyCode == 13)'?q='+this.value,'_self')" list="suggestions" />
<img src="images/search.gif" onclick="'?q='+document.getElementById('q').value,'_self')" style="cursor:pointer">

If this makes sense to you, know this; the limit from my testing for today's version of google chrome (40) is about 100, maybe 130 but didn't always work.

UPDATE Jan 28, 2015: It seems the issue was with the queries and there were too many for the server to load or something. Works with larger amounts (over 200).

Let me know what methods you use for this if any and if you use this feature. Thanks.

Wednesday, January 21, 2015

Je Suis Charlie Notepad plus plus update January 10, 2015 edition

I updated my notepad++ (which is one of my favorite free software, by the way) and something started typing on it's own!

I was able to capture some amateur video view it on youtube

Screen shot of the page:

The complete typed out:

Freedom of expression is like the air we breathe, we don't feel it, until people take it away from us.

For this reason, Je suis Charlie, not because I endorse everything they published, but because I cherish the right to speak out freely without risk even when it offends others.
And no, you cannot just take someone's life for whatever he/she expressed.

Hence this "Je suis Charlie" edition.
- #JeSuisCharlie

And I decided to see what's on twitter, after seeing some @notepad_plus tweets and their blog post:

The Notepad++ official site was hacked on 12th January 2015, due to its controversial new version 6.7.4 "Je suis Charlie" edition, released on 10th January 2015. The site was restored on the same day.
The binaries of this edition are on another server and they are not compromised (the SHA1 published on 11th January 2015 is always available on SF). The automatic typing in Notepad++ "Je suis Charlie" edition after installation is a feature. Sorry for the panic.

The message of the defacement accused Notepad++ of inciting hatred towards Islam and accusing Islam of supporting terrorism. The statements of Notepad++ "Je suis Charlie" edition support nothing but the freedom of expression and only that. The fact of Notepad++ supporting the "Je suis Charlie" movement has nothing to do with any accusation towards a specific community. In fact the "Je suis Charlie" movement in France, as far as I can tell, deserves no label of racism or of Islamophobia. I have many Muslim friends who are for "Je suis Charlie". And sincerely, I don't think that two extremist fools can stand for all Muslims or Islam itself.

If you don't like "Je suis Charlie" edition, that's fine. You can still use Notepad++ v6.7.3 - they are the same in terms of features and bug fixes. could be hacked over and over again, but I will always find a way to distribute Notepad++ "Je suis Charlie" edition - that's my freedom of expression which I claim as my right. [Source]

Give me your thoughts in the comments.