- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 16
- Posts with Upvotes
- 16
- Upvoting Members
- 9
- Downvotes Received
- 2
- Posts with Downvotes
- 1
- Downvoting Members
- 2
201 Posted Topics
I am strugling to find my productivity bottlenecks. I decided I could record a video, so that someone could see how I work and my thinking process. I know one way to increase productivity is to have experience with something. But often there is tasks which are rarely or first …
I noticed there is donating feature and it tells that responses should be faster because responders will get message. But how will they be motivated to help me? Maybe they get money for it? If not, I guess this could also be part of motivation, just need to know how …
Hello, I have about 5 years proffessional experience with PHP. I will try to apply for new jobs soon. But I was considering - maybe I should get the certification so they would believe my skills more. I myself understand that it does not bring much value to the business, …
I can say it how its done using jquery: [CODE]var text = $('textarea').val();[/CODE]
Hello, I don't understand why when clicking on map icons, sometimes the infowindow is blinking on firefox. It blinks when we use images on it. I tested on other browsers - opera, chrome, IE, even IE7 and it works well. Is this a firefox bug or what? You can see …
Granted, you go to MIT and get kicked out of it after the first exam session. I wish a job where I could work 4 hours a day, so I would have much free time to do what I want.
What do you prefer? Open space office or small cabinets? I see that there are lot of good companies with open spaced offices. But I like small cabinets because of privacy. And especially it makes me tired when the tables are such that you sit in front of other worker. …
I drive the opel vectra 1998, 2 litter diesel, 74 kW. Kind of ok car, good thing that the parts are not expensive, because there are lot of such cars. And does not look very terrible, but also its not looking like something making you stand out of the crowd …
hello, [CODE] <div> <div class="floatLeft"></div> <div class="center"></div> <div class="floatRight"></div> </div> [/CODE] The question is - how do I make the div with class "center" actually in the center. Those 3 divs doesn't take all the width available. Another divs are floated as class name says.Or should I use different technique?
[CODE]includes members whose BC username start with[/CODE] Sorry for my english - does this mean that I should look at my first letter of daniweb usename? What does BC stand for? 148
hmm, on what event you are calling this function? Maybe this validation function is callled only once - when data is incorrent, but isn't called antoher time when data is correct?
When I try to search kinetic.js tutorials, I mostly get links to http://www.html5canvastutorials.com or http://www.kineticjs.com/ . There are example in those sites, but not much explainnation. Documantation is also very poor comparing to lets say jquery documentation. There are also other sitesm but as I see they most often post …
it was really weird to see php.net design when I started learning it about 3 year ago. It already looked old. It felt like I am gonna learn some outdated language. Now still not the best imo. They should take a look how frameworks make it, for example I like …
Hello, there is lot of discussions and articles about xdebug but I cannot make it working. Everything I do by those writings does not work. I am using wamp server php 5.3.8 on windows and sublime text 2. Tries setting sublime project this way: { "folders": [ { "path": "/D/projektai/glab" …
Hello, lets say I have to collections - x and y. I know that - when first collection is updated, the second collection has new data and also needs to be updated. So I now did x.fetch and y.fetcg which generates 2 ajax queries. BUt such things when I used …
I made a function ajax where it creates such url: http://darius.lt/lt/live_dogs/live_dogs_screen/echo_next_match_info?mac_list%5B%5D=00%3A1F%3AD0%3A6E%3A90%3AF4 But I need to creante same url without ajax. I mean i need to generate. mac_list array is simply array ( 0: mac1, 1: mac2,... ) when I use: param = {mac_list: mac_list_global}; $.getJSON(this.url, param, function(data) there is not …
Hello, I want to make automatic restart of apache witgh cron. But what about everyghitng going in that moment - what will happen? Will it finish last requests and jobs or instatly stop and then transactions will be rolled back?
using for loop? http://jsfiddle.net/cLLfq/
yesterday I was disucsing with more experienced programmer. He saw that I am using for (var i =0; i< 6; i++) So 6 is the static number. I was iterating throug array. He said to use lengh, just in case array lemngh is not 6. I say - its always …
Hello, there is overridden collection fetch function. fetch: function() { var collection = this; $.getJSON(this.url, function(data) { // do some processing to data here collection.reset(data); }); }, I need to do processing when I get data, so thats why overrride. But the thing - is - the models change event …
Hey, I just finished reading book "PHP Team Development" http://www.amazon.com/PHP-Team-Development-Samisa-Abeysinghe/dp/1847195067 and I can say its interesting read, especially should be interesting for project managers. It might look that there are not many technical things and its waste of time on one hand, but its easy read when you are not …
Hello, there is a function which saves and sends post request: save_car: function(e) { if (e.keyCode != 13) return; if (!this.brand.val()) return; Cars.create({brand: this.brand.val(), color: this.color.val(), max_speed: this.max_speed.val() }); this.brand.val(''); this.color.val(''); this.max_speed.val(''); }, Request URL:http://localhost/backbone/car_list/backend/index.php/welcome/index Request Method:POST Status Code:200 OK Request Headersview source Accept:application/json, text/javascript, */*; q=0.01 Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3 Accept-Encoding:gzip,deflate,sdch Accept-Language:en,lt;q=0.8,en-US;q=0.6,ru;q=0.4,pl;q=0.2 …
hello I don't get where my linux space is gone. when i run df -h, it shows used 15 GB of total 20 GB when I run ncdu program, to find what takes, I do sudo ncdu in my root directory. And I see sorted by size directories: 4.7GB home …
Hello, We are sending email using these settings: $config['smtp_host'] = 'ssl://smtp.gmail.com'; $config['smtp_port'] = 465; $config['protocol'] = 'smtp'; $config['mailtype'] = 'html'; $config['smtp_user'] = '[email protected]'; $config['smtp_pass'] = 'password'; $config['smtp_timeout'] = 40; Thats ok it works. For few days. Later it stops sending. THen we go to gmail acount in web interface to …
I was writing unit tests for half year or more at my work, hoping that I do good job. But the problem is I rarely see the benefit of them. So I don't understand, why it is good. Many of the test functions look like this - they test model …
Hello, For me it is weird this thing: Let say there is a part of xml: <result comments="LAST :T3 DIST : 3/4" favouritenews="WINNER & T3" id="3131846" message="OFF" nonrunners="0" ran="6" settlingstatus="D" statuscode="O"> <position fav="jf" id="8669343" name="Elizas Impact" num="1" photo="N" position="1" runnernumber="4" selectionref="26973474" sp="11/4" winnersTime="00:00:28.920"/> <position id="8669348" name="Amazing Madam" num="2" photo="N" position="2" …
Post is so old but it looks like not many lern backbone. I thougth it is very popular. I am also new at backbone but I will try to say what I think: first thing is - how script would kwow? there are 2 elements with same class - drawer. …
Hello, is there a way to easily fix this: wamp server from time to time starts loading page very slow, once a day sometimes. So I then restart all services and it runs ok again. IS this a lot of work to find where that slowliness comes from or not? …
Hello, Is there a site like this http://snag.gy/ where I could choose the default position where I could add watermark, or just some hide elemet. I mean I need often to upload pictures but in the corner I need that some information would be now visible. Snag.gy is good becasue …
This is something to show to bosses who do thing that taking breasks is lazyness: http://postimg.org/image/3xq7pyolx/ it is from book PHP team development
I never needed caching of javascript. Or at least I think. Can you show me your site and why do you need caching? Is it so heavy?
I have revencly experimented with backbone, but did not use in real project yet. WHen I have oportunity I will try at work. Now considering what to study next. I hear lot of node.js is cool. But really don't understand why should I learn it. I tried googling, reading stackoverflow …
sorry, but I am not fully understanding - what is the benefit of this? to make our own client to read forum? Maybe good - to avoid that purple color :D but is that it? what are more serious benefits of this?
SELECT getdatabaseencoding(), current_setting('client_encoding'), current_setting('lc_ctype'), current_setting('lc_collate'), version(); returns UTF8 UNICODE C C PostgreSQL 9.1.7 on x86_64-unknown-linux-gnu, compiled by gcc-4.5.real (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2, 64-bit select lower('ČĘĖĮ') returns ČĘĖĮ Actually what I want is to seach surnames with ILIKE which is not working for those chars. WHy this can be?
//$('tr[id^=system_type_] input').live('change', function() { $('tr[id^=system_type_] input').on('change', function() { alert('a'); console.log($(this).val()); }); its not the first time, but I read that live is deprecated so I want to use on. But why it does not work in this code?
I have saved code snipped with flush: PHP updating page when function is not finished Tested, works. But does not work when fiddler is running. public function index() { if (ob_get_level() == 0) { ob_start(); } echo str_pad('Loading... ',4096)."<br />\n"; $d = 0; for ($i = 0; $i < 25; …
I took few seconds of look at that site, and one thing instanly comes to my head that they are simply using ajax requests. If you are familiar with ajax and javascript, its nothing dificult. Just make a button show more and on click make ajax request, get data and …
Hello, as one of the forum members susgested - I need to learn PECL to use. So I tried today, but not succesfully. I tried installing random extention, I choose html_parse http://pecl.php.net/package/html_parse\ So as documentattin writes - I run: pecl install html_parse in the ubuntu command line. And get error …
>but doesn't seem to recognize the passed variable ( or maybe the variable isn't getting passed) first thing I see - its not passed. I mean you pass it, but you have to have it in funciton parameters: your code: function pic_shift(){ with parameter should be something like: function pic_shift(param){ …
Hello, I was experimenting with firewall configuration. As I understand there are iptables - there is saved configuration. But as additional tool - ufw can be installed for simpler configuration. I installed it and experimented. Btw I checked sudo iptables --list and there was some lines like Chain OUTPUT (policy …
hello, I want to ask linux guys - what is the benefit of using scp command in putty instead of using winscp and drag and drop copying? I tried to copy, and it does not work for me with scp command, so I have to waste my time figuring out …
for me the popup appears, only there is no image. Popup with no image appears. [screen shot](http://snag.gy/zy6bx.jpg) but then I checked the image url- pasted in the addres barr http://i.imgur.com/XiDtL.jpg and image is ok. After that I reexecuted javascript ,and the image was wisible. It was gettgin 403 errors. Not …
Hello, maybe someone can write most important things what web developer should know about linux? When I am reading linux tutorials, I often find out that I don't need this what I read. At least never needed. So its not fun to read about things which you don't need. What …
Hello, I got really annoyed today. I was even hitimg my mouse into table. I can't stand those search engines. Gooogke is best search engine, so why do I ever need those another autoinstalling without asking me? Those no name, like babylon search and so on. I delete them and …
Hello, I am often opened about 30 windows on my win 7. And often its hard to find which I want quickly, I know the name well, but I cant remember icon or sometimes just finding icon is hard. So for that time there could be to have some tool …
I was foloowing instructions: https://help.ubuntu.com/community/CompilingEasyHowTo and came to this: sudo checkinstall I run this command and at the end I get errors. /bin/mkdir -p '/usr/local/libexec/mc/extfs.d' /bin/mkdir: cannot create directory `/usr/local/libexec': No such file or directory make[5]: *** [install-extfsDATA] Error 1 make[5]: Leaving directory `/usr/local/src/mc-4.8.1.7/src/vfs/extfs/helpers' make[4]: *** [install-am] Error 2 make[4]: …
Hello, I have installed auto-apt using instructions: https://help.ubuntu.com/community/AutoApt but the problem is I cannot execute it bash: apt-file: command not found probably it could be in some directory, but there is not in enviroment variable. So how can I find where it is inslled?
hello, I am stuck with the simple task. I want to run php script every 5 minutes (now trying to run every mionute for testing) I read that I have to run crontab -e and put commands. Somehow the file is having no commnds added, but as far as I …
The End.