« first day (773 days earlier)      last day (4193 days later) » 

12:02 AM
FAK
forgot again
 
12:15 AM
WAT
 
the voting .. i forgot to vote again
also .. on a different note: the most useful code snippet : codepad.viper-7.com/Bt6mqy
 
we discussed that already haven't we
Aug 20 at 12:47, by tereško
damn .. i can never remember what was the result of [ 1 => 1, 2 => 2 ] + [ 2 => 4]
 
yes
and i still cannot remember
and i use it ALL THE FAKING TIME
 
it is called brainfuk
 
12:32 AM
and i am not sure .. is vBox broken or was it my fault that my VM basically was completely useless
 
Suggest a way of saving data from 2 textareas (with revisions)...
 
user50049
@webarto Got Redis? Pretty simple if you do. Use one hash per textarea, with members named by timestamp.
 
12:48 AM
@TimPost I'm guessing it is a nice excuse to try it. I'm making email newsletter editor, HTML, CSS, HTML with inline CSS, and Preview are the fields. Thanks!
 
@webarto How do the first three fields work? Which ones are editable and how are you compiling separate/inline CSS?
(out of interest)
 
var d = $("#preview")[0].contentWindow.document;
d.open(); d.close();

var body = $('body', d);
var head = $('head', d);

$('#html').keyup(function()
{
  body.html(this.value);
});

$('#style').keyup(function()
{
  head.remove('style').append('<style>' + this.value + '</style>');
});
 
user50049
@webarto It would be a great way to learn it, and sharpen your point a bit too. Getting and storing input quickly becomes trivial and it persists. What becomes interesting is decaying the in-memory data to an RDBMS
 
@DaveRandom that one is for preview... for inline CSS, I use Zend_Dom, and add style attribute from CSS (xhr call)...
 
12:56 AM
@webarto -1 not enough jQuery. The first two lines are not good enough. :-P
 
@TimPost I'm definitely going for that, since that is the only functionality I need. I only know some PHP and MySQL #fml :P
@DaveRandom #1 Just make it work :D
 
hey guys
if i need a whitelist (array, that will be looked up to determine if field is allowed) , should i keep the valid option as keys or values in that array
i guess i kinda should aim this question at @NikiC
 
user50049
@tereško Keys seem easier for most applications, more rational.
 
it is a whitelist of table columns
 
$allowed[$column] === true
something like that...
 
1:01 AM
basically , the question is whether i should use array_key_exists( $field, $this->whiteList) or in_array( $field, $this->whiteList )
 
for(i = 0; i < 999999; $i++)
you know the rest :P
 
user50049
@tereško Yeah, keys make sense there, I usually just use in_array(). Depending on the size and use I sometimes use hashes for keys though.
 
/me lazy
 
user50049
When you boil the problem down, you just need a simple dictionary - and that serves the purpose quite well.
 
@tereško If you are going to use keys, why not isset()? To me that would be the main reason for using keys because lookups would be very slightly more efficient, even if that is micro-optimisation of the highest order.
 
1:08 AM
@tereško If you think it will ever be a large list, use keys and array_key_exists.
 
$('#myDiv').text("Good night!");
 
@DaveRandom because codepad.viper-7.com/vm3srT
 
I'd just use an Spl\HashSet because I have one :)
 
user50049
@DaveRandom More robust is to use isset() to determine if a type constrained value can be obtained, allowing four possible states for any given key. Not set, NULL, TRUE and FALSE. Or, or ... if (isset($dict[$key]) && ($dict[$key] & 0XDEADBEEF)) ... NOW THERE'S SOME ART! (I kid, I kid!)
 
@TimPost I used deadbeef 10min ago :)
 
1:10 AM
@tereško ...so set the values to TRUE (or something other than NULL)
 
@webarto , if you use a "live beef" you are a milker ... or maybe muslim
 
@TimPost But it's a whitelist. Things are either in it or they aren't, there are no grey areas.
 
@DaveRandom Who says isset is any faster than array_key_exists?
 
user50049
@DaveRandom I was being intentionally stupid.
 
@LeviMorrison it actually is
i just don't like it
 
1:12 AM
@tereško I eat bacon, your argument is invalid.
 
@LeviMorrison You've got me there, I was assuming that function vs language construct is faster, but I don't know.
 
@tereško I've never seen this evidence. Although honestly, I've never cared.
 
there was some benchmark , somewhere ... micro-optimization
 
@TimPost First time for everything :-P
 
BENCHMARK TIME! ^_^
@tereško phpbench.com ?
 
1:13 AM
isset still has to check to see if the thing is an object/array and act differently.
I think array_key_exists has a chance.
I could see either being faster.
 
user50049
@DaveRandom Hehehehe, I realize it's just a whitelist. I was kind of making fun of the fact that we're still talking about it :P
 
Also, I think I'm getting close to a decent design for my PHP data-structures library.
If anyone is interested in testing, feel free to let me know what you think.
LinkedList is working properly, but I'm sure there will be additions to its API. It's the newest structure.
 
user50049
I just found proof that knowledge of parameterized queries does not always lead to better questions.
 
It is just mysql_* in disguise...
 
Aww, apparently there's no function called array_shit() :-(
 
1:23 AM
 
@DaveRandom That's a whole family of functions, isn't it?
 
Blink was so fast, you can't even get screenshot of it. 'Night guys...
 
@LeviMorrison Oooohhh! Oh no he didn't! I imagine it would be operationally quite similar to array_pop() - "Craps an element out the end of the array"
 
Or maybe that's array_poop()
 
1:27 AM
@DaveRandom They're all so similar. I get lost.
 
Nothing like a bit of toilet humour to brighten the day.
 
@DaveRandom hahahaha
 
If I encrypt data using a user's password (and I don't store the password on disk, but keep it in the session to decrypt), what things do I have to watch out for? Browser fingerprint, IP address, ??? I just need to worry about password strength and session hijacking, yes? And theoretically, if someone knew what they were doing and had control of the server they could expose the session info?
 
user50049
@Stephane First, if using server side sessions you are storing it on disk. You'd use a cookie for this and encrypt it, I assume?
 
1:44 AM
Not sure. I was just going to encrypt with the password so nothing on the server has anything do easily decrypt. I want to assume the server is compromised and make it more difficult to get the data.
 
that's a weird thing to assume XD
 
user50049
@Stephane Then don't use conventional sessions, use a cookie instead. Store the key to decrypt the cookie. That's about as 'safe' as you can get with the scenario you describe, but if the server is known compromised the attacker can of course intercept requests, use the key to decrypt the cookie, get the password stored in it and then use that to decrypt whatever it is you're hiding.
 
1:59 AM
@Stephane what exactly are you trying to do ?
do not encrypt passwords
hash them
there is huge difference
 
new computer = fast.
 
$html = file_get_contents('nl.txt');
$html = utf8_encode($html);
$html2 = $html;
$dom = new Zend_Dom_Query($html);
$results = $dom->query('li');
foreach ($results as $result)
{
    $old = Site5_Dom::innerHTML($result);
    $result->setAttribute('style', 'color:pink');
    $new = Site5_Dom::innerHTML($result);
    $html2 = str_replace($old, $new, $html2);
}
var_dump($html === $html2); # true
@tereško sorry, wasn't full code... not an object... it doesn't replace anything... but $old !== $new is true...
 
nope ... problem is still the same
 
var_dump($old === $new); # boolean false
inside loop...
 
oh ?!
emm ... actually , why are you doing this >
cannot you just manipulate the dom and then export it from the Zend_Dom_Query ?
 
2:09 AM
adding inline CSS to elements... was going to... just an example...
I'm not really fluent with whole DOM methods...
 
neither am i , but this is just perversion
 
str_replace is malfunctioning, heh...
 
it's sign from Odin to stop doing such atrocities ... and go kill some peasants
 
var_dump(strpos($html, $old)); # false
you are right... this is funked up...
 
2:15 AM
frell this dren
 
user50049
@Lusitanian Photon torpedoes launched.
 
@TimPost Target neutralized. Good work.
 
user50049
Felt great to see SPAM that wasn't up voted by /review for a change :)
 
lol
 
2:27 AM
@tereško I don't think I was clear. I'm trying to protect data that someone is entering on a site. I want to encrypt it in a way that even i can't see the data easily. I was thinking that if I used the user's password stored in session to decrypt (still hashing the password in the DB) that would work pretty well. I know there's still session hijacking or even someone being able to see the session on the server, but these are much more difficult than just looking at a mysql table.
 
I'm sorry, but can you even read? "The data I receive from the server isn't even json which is even harder for me to figure out how to get data with javascript" — Jung3o 1 min ago
meh, what a (insert word here)
 
@tereško file encoding issue #fml
 
@webarto afaik , you are well compensated for it , so stop bitching
 
you know that we have short expiration date, right...
 
@webarto define "we"
 
2:34 AM
php dwellers...
 
define "short expiration date"
 
@Lusitanian you end up fried like @DaveRandom, but he is British, it can't be worse than that :P
 
lolol
 
Why I oughta... <shakes fist>
 
@DaveRandom Oh Dave, I haven't recognized you :D
 
2:40 AM
Just wait till you get to my age, you'll be laughing on the other side of your face when the kids are kicking your walking stick out from under you and pointing and laughing.
 
Dave is 31 points away from 30k, let the upvotes begin...
@DaveRandom LOLOLOL
 
what do you call all values that are not numeric ?
 
non-numeric?
 
$this->hasNonNumerics() sounds a bit off
 
NAN
math acronym for not a number
 
2:47 AM
hmm ... that will do
 
Yeh, there's not a word that I'm aware of that sums that up, because there are so many other things it could be. hasNonNumerics() or isNotNumeric() seem reasonable to me
 
@tereško what are they?
 
$this->isNaN() maybe?
 
or !isNumeric()
 
@ShaquinTrifonoff yes , that will be quite right
 
2:51 AM
isAlpha()
 
isAlpha('%^*^$E&%^žžžžžžžžžžz')
 
@DaveRandom 29,999 :D
 
> 29,999 reputation
 
30,009 now
 
MUAHAHAHAHA! Soon I will have conquered the world! What do you get for 30K? Oh yeh, nothing.
Bet I get "serial upvoting reversed" in the morning.
Tnx for the thought though :-)
 
user50049
2:56 AM
Umm, one vote is not really 'serial' unless you're a Keebler elf.
 
@TimPost lol
 
@TimPost No but I seem to have gained +80 in the last 3 hours and I've not answered a question for well over week. Also I seem to keep collecting passing rep for this which is annoying because it's probably OT so I've been considering deleting it, but it's obviously high in Google and people find idiots guides useful.
 
@DaveRandom I have a jQuery answer that I feel similar about.
 
user50049
@DaveRandom I get that too from time to time. I rarely even answer questions any more yet I sit down to see my rep has gone up 100something overnight.
 
3:01 AM
I wished this phenomenon happened more often.
Don't feel like rep-whoring my way to 10k.
 
@LeviMorrison Lend @PeeHaa your account for a few weeks, I'm sure he can help you out :-P
 
lol
I'm assuming you knew him when he was @RepWhoringPeeHaa?
 
Indeed so. He likes to pretend that was somebody else, but we all know the truth...
 
PHP is awesome... end of discussion...
 
@webarto You seem to be writing a dating site. Is the situation that dire that you have to write a dating site just to get yourself a girlfriend? Also, couldn't you do that whole thing in JS?
 
3:14 AM
@DaveRandom It's for a girlfriend which works in company which mainly does dating websites, she's in email marketing department, and this will be very handy... it is JS, only the inline CSS part is few lines of PHP code (DOMDocument)...
 
@webarto What can you do with DOMDocument that you can't do with JS DOM?
(in sensible browsers, which I suppose is a limiting factor)
 
@DaveRandom Probably nothing, I just don't know anything about it... not a limiting factor at all :)
 
@webarto Well the API is more or less identical. You've even made it easy for yourself by using frames so you have multiple documents to play with. There's a good chance that you wouldn't need to do much to port your PHP to JS apart from removing some $s and changing some ->s to .s
 
<?php

require 'bootstrap.php';

$html = $_POST['html'];
$css = $_POST['css'];

$dom = new Zend_Dom_Query($html);
$css = parseCSS($css);

foreach($css as $key => $value)
{
  $results = $dom->query($key);
  foreach ($results as $result)
  {
      $old = X_Dom::innerHTML($result);
      $result->setAttribute('style', $value);
      $new = X_Dom::innerHTML($result);
      $html = str_replace($old, $new, $html);
  }
}
$html = htmlspecialchars($html);
$html = nl2br($html);

echo $html;
probably :) I'll do that sometimes, I'm rusty with JS... btw nice knowledge of JS you have...
 
XPath support is limited, only really works in Chrome and recent FF. It looks you are only really doing document.querySelectorAll(), but you might will need a 3rd party lib for parsing the CSS string.
 
3:23 AM
sizzlejs.com something like this? Oh, right, CSS...
 
so I kind of used a weird system to log out, on the click, i use jquery to include another file with basically just unsets the session, then jquery to append a meta refresh to the body of my index page
 
@DaveRandom , if you are parsing CSS that has been embedded in HTML tags, you are already doing it wrong
 
the only problem is that the meta refresh adds a "?" to the end of the url, and after that the login won't work
any idea why its adding the ? I have no GET variables
 
@tereško It's not embedded it's a string in a textarea, and it's being converted to inline styles for an email (necessary?) anyway it's not me doing it, shoot @webarto if you have a thirst for blood.
 
Yup, inline CSS for an email newsletter... can't use <style> or anything... We are not savages to make inline CSS manually...
 
3:43 AM
@webarto What are upearch results?
 
@ShaquinTrifonoff Nothing, just hit random keys to check onkeyup event etc...
 
:P
Show up in search results?
 
Show Up Higher in Search Results :P
 
4:07 AM
if someone wants 500 webfonts from google fonts...
 
@radleybobins why don't you use location.href = url
 
4:45 AM
@FlorianMargaine in the PHP room? I thought you did only JS (and other stuff excluding php)
 
@webarto thanks!
 
PHP should overhail
 
5:10 AM
Good morning all.
How to loop from 0 to 2Pi with using float value. Idea behind this is to check the comma values?
 
@NerujaJoseph Incrementing by 1?
 
@NerujaJoseph , between 0 and 1 there are infinite number of fractions
what exactly you want to iterate ?
 
I have some radian values i want to check in that loop
 
then you loop over the radian values , and check it they are within the interval
 
Do you know how to do that?
 
I never use double/float loops
 
@NerujaJoseph are the radian values in an array ?
 
then loop over that array
and NO , we WILL NOT give you code
 
@tereško so basically he wants to loop through an array?
 
5:20 AM
Anyways i understand the point.
@ShaquinTrifonoff Thanks a lot.
 
@ShaquinTrifonoff please stop feeding the help vampires
 
@tereško I don't mind when it's a simple problem, and takes ~30 secs to solve :P
 
@ShaquinTrifonoff maybe you can take some more time and let them find out with little hints :P
 
a) you did not solve it b) which part of "stop feeding help vampires" was hard to comprehend ?
 
5:34 AM
> If anybody can and wants to help, they will.
But I do agree just giving code doesn't really help them in the long run.
 
Is there any difference between $this::staticprop vs self::staticprop?
 
how to compare date with timestemp in sql php?
 
hi @tereško
 
@qwertymk you will not have $this ins static scope
 
and when I'm in instance scope?
 
does $this get overridden and self not?
 
static variables are tied to class , not the instance
 
so theres no difference?
 
yes , one is extremely stupid piece of code, and other is just bad
 
user50049
 
5:41 AM
@tereško it's a bad idea to use static methods?
 
Hi all, I have a string which is like name=blahblah&gender=male&phone=123123 how can I seperate them and get values for name,gender and phone? The string is returned to me from an API.
 
@TimPost huh?
y?
 
@TimPost that is almost completely unlike helpful metaphor
 
@teresko any example on this date query
 
Am I doing something wrong?
 
5:43 AM
.. and yes .. i have read all 5 books in that trilogy
 
user50049
Yeah, bad metaphor. I'm not sure why that sounded good initially.
 
@Nileshpatel no , read the page
it's 8AM here .. and i'm nearing 24 hour uptime
 
@Kishor you can use explode function to split the string into an array based on a given delimiter
 
@qwertymk static methods are mostly frowned upon. I doubt you'll get much help with them. I would explain more, but I'm off to bed. It's not a quick thing to answer, but hopefully you'll find someone to answer your question.
 
@tereško i read page i think date() function useful for me but don't know how to use it
 
5:47 AM
try
open the mysql CLI client and write a query
 
andho - explode the whole string using & and explode each substrings using =? Thats the easiest way to do it? I thought of that, just thought I would ask here if someone knew about a direct method
 
parse_str
 
webarto - Awesome. Just searched for it and seems like that does the thing. Thanks! ;)
 
@webarto holy smokes "there's a function for that"
 
@tereško 7AM, someone gets up for work, someone goes to sleep :)
 
5:50 AM
well .. i need an hour more to finish up this thing .. maybe more =/
it depends on how will the code work when i finish building the server (i'm basically writing this thing blind , with only CLI php as help)
 
@qwertymk Static hurts because it can be called globally. It makes code rely on particular static classes (which increases coupling, which means that your code requires lots of other code to function properly) It makes unit testing very difficult because units are hard to separate with a fixed dependency on a static class method.
 
oh man, go to sleep, you can't work in daylight, wake up at 1800 and rock on :) @tereško
@andho you should be surprised if there isn't one :)
 
cannot .. have to finish it till start of working day
hmm ... cmake has almost finished compiling
i guess it could set up lighttpd in meanwhile
 
@Paul what's coupling?
 
5:55 AM
@qwertymk Read up on SOLID for good OOP practices. I explain coupling in my answer here: codereview.stackexchange.com/questions/11004/…
 
@Paul I'm using my class mostly as a container for a bunch of utility functions
I'm coming from js so it makes sense to me
 
@qwertymk This is equivalent to:
namespace Utility;

function firstFunction() { /* Implementation */ };
function secondFunction() { /* Implementation */ };
 
@Paul I guess but I'm more comfortable autoloading them as I plan on having a bunch of these classes in my project
 
@qwertymk It is procedural code. Personally I prefer OO for most of my code. Generally there is a way to relate things back to the real world solution (which allows you to formulate an object) so that you can group together the state and function required. A different design could gather these into appropriate objects.
 
ill look into that, anyway it's late and im pooped, have a gn
 
6:06 AM
@qwertymk Just so long as you don't want to unit test or reuse the code you are writing.
goodnight
 
it's alive !!
 
@Paul I could never find good articles on SOLID, can you give some links?
 
now i only need to finish compilation and config of mysql and i can actually see what the hell i managed to write
@andho did you look on objectmentor.com ?
 
nop, just searched there for SOLID and nothing shows up. I only encountered one SOLID article and it explained why SOLID is good with one very concrete example. But I don't know anything else about SOLID.
 
@tereško Hi
My site webduos.com bandwidth empty. now I want to date of rebandwidth of this. How can i do this
 
6:18 AM
lol
first of december
 
6:39 AM
posted on November 27, 2012 by Cal Evans

Blog:  http://www.meetup.com/buffalophp/members/2652380/ Twitter: Show Notes: http://www.meetup.com/buffalophp/ buffalolab.org   Sponsored by: Engine Yard

 
7:12 AM
In computer programming, SOLID (Single responsibility, Open-closed, Liskov substitution, Interface segregation and Dependency inversion) is a mnemonic acronym introduced by Michael Feathers for the "first five principles" identified by Robert C. Martin in the early 2000s that stands for five basic principles of object-oriented programming and design. The principles when applied together intend to make it more likely that a programmer will create a system that is easy to maintain and extend over time. Overview {| class="wikitable" style="width: auto; font-size: 95%; table-layout: fixed; l...
There is additional chapters for each principle with links in the Reference section to the original articles by Uncle Bob.
 
the zarking MySQL is still compiling , and i am running out of time .. rapidly
 
@Gordon Thanks Gordon :)
 
I remember checking this out like an year ago, but dunno, didn't seem to go forward. Will give it another go.
 
7:21 AM
I promised myself I would watch all of Uncle Bob's videos :P
 
"My data is in php format" ... finally, php has their own format!
 
@Jack array( 'something' => array( 'stuff', 'another thing') ); often used for configurations :P
 
7:39 AM
@andho I would hardly call the output of var_export() a format though, especially since only one language supports it :)
 
7:50 AM
@tereško I'd use the keys in that case. isset() has constant time lookup, whereas in_array() is linear. That might not make much of a difference for small list sizes, but I just feel that it's cleaner to do that way (as array keys are basically PHP's version of sets).
 
@NikiC what is the core level difference between isset() and array_key_exists() ?
 
hi there, when I installed XAMPP it installed along with MySQL Server 5.1.50, I think thats not latest even thought I downloaded latest XAMPP, so should I explicitly install latest MySQL, will that be difficult configure or stick to what is running

just curious how you use MySQL, explicit install and then manually configure with XAMPP or just live with what XAMPP install

also want to know do you use phpMyAdmin for managing MySQL or install any explicit GUI tool?
 
current is mysql 5.5.28
and it depends on personal preferences
 
did u installed it explicitly?
 
yes , it actually finished compiling about 30 minutes ago
 
7:53 AM
@tereško isset() returns false if the value is NULL, array_key_exists() doesn't. Apart from that isset() is a language construct, so it's faster, can't be used as a callback function and can handle several levels of nesting at the same time
 
i build all the software from source
 
why? i mean any specific reason?
 
@Mahesha999 You get up-to-date software for example :) Packages usually (significantly) lag behind
 
i'm using FreeBSD as development environment , the "build from source" is the optimal way for managing software
it was built in tools that let you do it semi-automatically
 
@Mahesha999 Also you get the chance to ./configure your stuff to your needs
 
7:55 AM
and yes ... i get the latest software this way
 
@Mahesha999 But obviously, if you are on Windows you shouldn't try to build the stuff yourself ;)
 
well .. i am on windows too .. the BSD is running in VirtualBox , that has ports forwarded to localhost
 
@tereško That's actually a very nice idea
 
i can share some others , if you want
 
well you are right and yes have started using Ubuntu now
 
7:57 AM
@tereško Go ahead :)
 
and how do u manage it? thru any GUI or ?
 
@NikiC two apps that you might consider : F.lux and Prio
if you do not have them, you need to install them ASAP
@Mahesha999 via console
 
ohkay
 
just finished installing an extension for PHP
 
@tereško f.lux looks fun ^^
 
8:01 AM
to do it i had to write cd /usr/ports/deve/php-xdebug && make install clean
@NikiC Prio is fun too , if you want windows to remember the priorities that you set in task manager
 
@tereško I never use those
 
for example uTorrents does not need "normal" priority .. ever
same goes for your VM tool
 
why?
 
@tereško hey, I tried to build php from source. Man it was easy, but couldn't figure out how to build the default extensions.
 
because they are greedy
 
8:03 AM
But wouldn't it get slower if you depriorize it?
 
of course they can
especially if the default behavior for such apps are "take all you can get"
@NikiC , then again , if you are not no a netbook like me , you might not feel the difference
 
@tereško yeah
The only occasion where I feel the VM lagging my computer is when I use make -j4
But in that case I want it to lag ^^
 
that thing also add ability to see netstat and manage users
 
you GUYS use windows :S ???
 
@andho i like to play games
 
8:07 AM
@tereško me 2, but ugh, it's so inefficient for development. How do you do it??
 
how is it inefficient ?
 
@andho It's inefficient?
 
well, open explorer > goto php setup folder > double click the installer > click next, next, next
ofcourse, you guys build from source
 
@andho Because I'm setting up PHP every day :D
 
@NikiC hehe, that's just an example man
you guys don't use the command line?
or shell?
or all that you do on the POSIX compatible VM
 
8:10 AM
@andho On windows I don't usually use the command line
On linux I don't usually use anything but the command line :D
 
@andho lolwut ?!
 
@NikiC what do you use windows for actually, other than gaming??
 
is there actually a next-next-finish installer for PHP ?
 
@andho Also, just for reference, installing PHP on windows is as simple as downloading a zip archive and extracting it :)
 
@tereško i don't know, not that i know of.
@NikiC yeah and putting in the path
 
8:12 AM
@andho Any development that does not need compilation. The tooling is simply better on windows ;)
@andho I have a lot of different php versions so I don't put it in path ^^
 
@NikiC what tooling do you use? I gradually moved away from windows due to the ease in development on linux
and now i don't play games that much :'(
 
@andho I mostly live in the browser and my IDE. Both also run on Linux, but they don't run as well ;)
Also, if I'm on Linux I just always have the feeling that using anything but vim just isn't "right" :P
 
@NikiC how can any IDE be better than vim :)
 
8:21 AM
i am currently using locally installed php (on win) with xdebug , a CLI mysql client , workbench , openssh CLI client , git CLI tools , ExpandDrive (for mounting remote filesystems) , SublimeText2, Titanium Studio and FreeBSD in vBox with 22, 80, 5432 and 3306 ports forwarded to localhost
 
@andho If you know vim really well, then probably no IDE can be ;)
But I just don't know it well enough. That's why I like my IDE ;)
 
@andho it's 21st century , we can use mouse now
 
anyway, see ya later
 
@tereško mouse is so last decade
every second I have to use my mouse, I lose a second of my life
 
@NikiC vimtutor
 
8:23 AM
@Gordon good one, I've only done level 1
oh no wait, I'm referring to the online gamified vim tutorial
 
hi anyone guide me to use web service response translation other than google/bing api's
 
8:38 AM
morning
 
'morning
 
8:57 AM
hey guys , is there a way to get the ID from the row that i just now updated in MySQL ?
SET @update_id := 0;
INSERT INTO Owners( ip, total ) VALUES (:ip, 1)
ON DUPLICATE KEY UPDATE total = total+1 , owner_id = (SELECT @update_id := owner_id)
this one seems to be failign
 

« first day (773 days earlier)      last day (4193 days later) »