Re: [plug] auto-display of jpg file behind a php script

2015-04-13 Thread Robert Locke
What’s the URL and how are you referencing it? Are you setting the mime-type for the returned image? Something like: header(‘Content-Type: image/jpeg'); Cheers, Rob > On Apr 14, 2015, at 7:42 AM, Roberto Verzola wrote: > > Hi guys, > > I need more help on this one: I have a WordPre

Re: [plug] PLUG Digest, Vol 119, Issue 28

2015-03-28 Thread Robert Locke
Thanks for the link and lightning fast approval Zak! Rob > On Mar 29, 2015, at 10:24 AM, Zak Elep wrote: > > https://www.Facebook.com/groups/linux.ph/ > <https://www.facebook.com/groups/linux.ph/> > On Mar 29, 2015 10:07 AM, "Robert Locke" <mailto:roblo..

Re: [plug] PLUG Digest, Vol 119, Issue 28

2015-03-28 Thread Robert Locke
Facebook group? Where’s this? I need to get with the times! Rob > On Mar 29, 2015, at 1:55 AM, Zak Elep wrote: > > On Sun, Mar 29, 2015 at 12:19 AM, Arvin Hagad wrote: >> guys this is tech forum for linux shiteee why u guys discuss stupid stuff >> and raising point by point issue, stop wh

Re: [plug] PLDT rate limiting torrents?

2014-01-06 Thread Robert Locke
; > > > > > On Sunday, 5 January 2014, 23:22, [C]hicken [G] od > > > wrote: > > > I am no networking expert but according to the local forums PLDT has some > > > issues with one of the international undersea cables. If torrents work on > > > an

Re: [plug] PLDT rate limiting torrents?

2014-01-05 Thread Robert Locke
od > > wrote: > > I am no networking expert but according to the local forums PLDT has some > > issues with one of the international undersea cables. If torrents work on > > an encrypted connection the rumours may be true that throttling is occuring. > > On Jan 5, 2014 9:09

Re: [plug] PLDT rate limiting torrents?

2014-01-05 Thread Robert Locke
d it for? Cheers, Rob On Jan 6, 2014, at 10:38 AM, Dan Sweeney wrote: > Oh yes.. you are definitely being *application rate limited* > > see: > > http://www.noaccess.com/~dsweeney/DPI-BRAS-Philippines.ppt > > Dan > On Jan 5, 2014, at 9:16 PM, Robert Locke wrote

Re: [plug] PLDT rate limiting torrents?

2014-01-05 Thread Robert Locke
rding to the local forums PLDT has some > issues with one of the international undersea cables. If torrents work on an > encrypted connection the rumours may be true that throttling is occuring. > > On Jan 5, 2014 9:09 AM, "Robert Locke" wrote: > Hi gang, > > Is any

[plug] PLDT rate limiting torrents?

2014-01-04 Thread Robert Locke
Hi gang, Is anyone experiencing problems with BitTorrent on PLDT myDSL? I'm maxing out at 10 to 20kB/s download, a far cry from the 600 to 700 kB/s I used to be getting a few weeks ago. For the record, my connection seems fine in every other respect - http, video, voip, etc all work well. Sp

Re: [plug] cannot access AWS console on PLDT

2013-11-23 Thread Robert Locke
: > Anyone still experiencing this issue? I was able to load > console.aws.amazon.com since lastnite. > > > > > > On Wed, Nov 20, 2013 at 1:31 AM, Robert Locke wrote: > > Yup, that's my understanding as well Fooler. > > Tried JP's excellent idea of

Re: [plug] cannot access AWS console on PLDT

2013-11-20 Thread Robert Locke
7;s socks setting and you are all set to access any > websites including aws console... > > fooler. > > > On Tue, Nov 19, 2013 at 12:31 PM, Robert Locke wrote: > > Yup, that's my understanding as well Fooler. > > Tried JP's excellent idea of switching to

Re: [plug] cannot access AWS console on PLDT

2013-11-19 Thread Robert Locke
> type 0, 8 and 11 for security reasons... but some of them are misconfigured... > > use tcptracroute instead to get more accurate results and pinpoint where your > packet stops... > > fooler. > On Mon, Nov 18, 2013 at 10:30 PM, Robert Locke wrote: > > To

Re: [plug] cannot access AWS console on PLDT

2013-11-18 Thread Robert Locke
elnet .signin.aws.amazon.com 443" in case if you have firewall problem. if you have problems with AWS service(s) (eg. cloudformation, ec2, s3, router53, etc), feel free to ask as i'm happy to answer your question(s).  fooler.On Mon, Nov 18, 2013 at 3:19 AM, Robert Locke <roblo...@gmail.

Re: [plug] cannot access AWS console on PLDT

2013-11-18 Thread Robert Locke
case if > you have DNS lookup problem > 2) "telnet .signin.aws.amazon.com 443" in case if > you have firewall problem. > > if you have problems with AWS service(s) (eg. cloudformation, ec2, s3, > router53, etc), feel free to ask as i'm happy to answer your qu

Re: [plug] cannot access AWS console on PLDT

2013-11-18 Thread Robert Locke
nd don't have issues > accessing the console. > > Ramon Tayag > > > On Mon, Nov 18, 2013 at 4:19 PM, Robert Locke wrote: > Hi gang, > > Not really a Linux question, but I'm wondering if anyone else is having > problems reaching the AWS console

[plug] cannot access AWS console on PLDT

2013-11-18 Thread Robert Locke
Hi gang, Not really a Linux question, but I'm wondering if anyone else is having problems reaching the AWS console login page on a PLDT DSL connection: https://console.aws.amazon.com/ For the past few weeks I've had to use a VPN to access it. But only when I'm on my home PLDT DSL conne

Re: [plug] Linux distro in Filipino

2012-12-04 Thread Robert Locke
I strongly agree with Paolo, Lenny, Anuerin, etc. In fairness, though, I have lost a lot of the exuberance of my youth so more power to you if you decide to pursue it. At the very least, you'll learn a lot. =) On Dec 5, 2012, at 2:28 PM, Michael Janapin wrote: > This reminds me of a discu

Re: [plug] PHL Cybercrime Law: Say goodbye to torrent and file-sharing

2012-10-01 Thread Robert Locke
Hi, Reading this sent shivers down my spine: PNP FB Admin First to Abuse Cybercrime Law http://filipinofreethinkers.org/2012/10/01/pnp-fb-admin-first-to-abuse-cybercrime-law/ Assuming it's true, then this is scary, scary stuff. Rob On 10 1, 12, at 4:42 PM, seekuel wrote: Thank you for the

Re: [plug] Gov’t to set up ‘private cloud’ of servers to host e-mail, ICT services | Inquirer Technology

2012-05-01 Thread Robert Locke
I see your article and raise you: http://techcrunch.com/2012/05/01/google-wins-35-million-u-s-government-contract-over-microsoft/ ;-) Rob On 05 2, 12, at 1:24 AM, fooler mail wrote: http://www.informationweek.com/news/software/productivity_apps/232300539 fooler. On Wed, May 2, 2012 at 1:

[plug] hardware for htpc...

2011-05-13 Thread Robert Locke
Hi, I'd like to tap the big brains in this group to get recommendations for building my own HTPC. The rough plan is basically a Linux box + Boxee/XBMC + DLNA server (for an IP TV in another room) + NAS + Android remote. I don't think I'll need a TV tuner card or DVD/Blu- ray player, but I

Re: [plug] awk script and fields with spaces

2011-02-23 Thread Robert Locke
Hi Gabriel, Assuming the fields are in that order and there are no double quotes inside any of the values then here's a sed pattern that should do the trick: sed -e 's/^(authentication_type="[^"]*"\).*\(fullname="[^"]*"\).*>/\1;\2;\3;\4/' bar.txt Rob On 02 23, 11, at 4:02 PM, Gabriel

[plug] India's e-voting machines vulnerable to fraud

2010-05-08 Thread Robert Locke
Apropos of nothing: http://www.boingboing.net/2010/05/06/indias-e-voting-mach.html _ Philippine Linux Users' Group (PLUG) Mailing List http://lists.linux.org.ph/mailman/listinfo/plug Searchable Archives: http://archives.free.net.ph

Re: [plug] Question about Perl Closure [OT]

2009-12-01 Thread Robert Locke
Hi Ludwig, "$total_size" is not out of scope because it is implicitly global since it was not declared with "my" in the subroutine. If you remove the initial declaration, the code still works. If, within the subroutine, you do... find (sub {my $total_size += -s if -f},'.'); ... the c

[plug] Sequoia To Publish Source Code For Voting Machines

2009-10-28 Thread Robert Locke
"Voting machine maker Sequoia announced on Tuesday that they plan to release the source code for their new optical-scan voting machine. The source code will be released in November for public review. The company claims the announcement is unrelated to the recent release of the source code f

Re: [plug] COMELEC SUED (Was: The Death of Election2010SourceCodeReview)

2009-10-13 Thread Robert Locke
> From: plug-boun...@lists.linux.org.ph > [mailto:plug-boun...@lists.linux.org.ph] On Behalf Of Robert Locke > Sent: Wednesday, October 14, 2009 10:11 AM > To: Philippine Linux Users' Group (PLUG) Technical Discussion List > Subject: Re: [plug] COMELEC SUED (Was: The Death of >

Re: [plug] COMELEC SUED (Was: The Death of Election 2010SourceCodeReview)

2009-10-13 Thread Robert Locke
Even if Mr. Plameras was right (which he's not), it's irrelevant. The source code review is required by law according to Mr. Manalastas, so what's there to argue? This is a legal issue, not a technical one. On 10 14, 09, at 9:57 AM, Paolo Alexis Falcone wrote: > Sure we know the dictio

Re: [plug] COMELEC SUED (Was: The Death of Election 2010 SourceCodeReview)

2009-10-12 Thread Robert Locke
Oscar, If I had a closed system that did the following: if (current_date < '2010-05-10) { do_a_normal_tally(); } else { do_something_slightly_different_but_not_too_obvious(); } How would your proposed "Testing the System by Outcomes" catch

Re: [plug] COMELEC SUED (Was: The Death of Election 2010 Source Code Review)

2009-10-12 Thread Robert Locke
Another perspective: http://www.dwheeler.com/secure-programs/Secure-Programs-HOWTO/open-source-security.html Rob On 10 12, 09, at 1:54 PM, Oscar Plameras wrote: > I think it's silly to spend so much money and time to test the > Election System by reviewing Source code. > > From my experience,

Re: [plug] Mac-using PLUGgers (was re: Eric Pareja (not Raymond) in Baguio)

2009-05-13 Thread Robert Locke
Hi Migs! > My personal laptop boots Linux, and, I'm shopping for an upgrade. > Can't afford the Macs out of my own pocket :) Slightly OT but: http://gizmodo.com/5156903/how-to-hackintosh-a-dell-mini-9-into-the- ultimate-os-x-netbook Hehe. Rob _

[plug] Are commercial databases worth it?

2009-05-01 Thread Robert Locke
Apropos of a recent discussion thread, I thought this article was fairly balanced: http://www.codingthewheel.com/archives/are-commercial-databases- worth-it Sans intentions of stirring a hornet's nest, Rob _ Philippine Linux Users' Grou

Re: [plug] parsing wwn

2009-02-12 Thread Robert Locke
I'm sure someone will come up with something more clever but: echo '1000C95E0D0A' | sed -e 's/\(..\)/\1:/g' -e 's/:$//' Rob On 02 13, 09, at 12:41 AM, thad wrote: what would be a quick and dirty way to parse this: 1000C95E0D0A into this: 10:00:00:00:C9:5E:0D:0A TIA, tha

Re: [plug] PHP + SQL Server

2008-06-10 Thread Robert Locke
s like invoking t-sql might not work so great... I'd be leery of depending on a reversed engineered wire protocol for my production... :-P On 6/10/08, Robert Locke <[EMAIL PROTECTED]> wrote: Hi Jagi, You can actually use freetds to make that configuration work fine in a *nix environme

Re: [plug] PHP + SQL Server

2008-06-10 Thread Robert Locke
et.ph Robert Locke | CTO | Digital Media Exchange Mobile +63 920 951 5012 | yahoo/skype id: rlockerl [EMAIL PROTECTED] | http://www.dmii.net http://www.mobiusgames.net _ Philippine Linux Users' Group (PLUG) Mailing List http://lists.linux.org.

Re: [plug] PHP + SQL Server

2008-06-01 Thread Robert Locke
Hi Rommel, Yes, we've gotten PHP to talk to SQL Server. Specifically: PHP 5.1.6 + mssql + PEAR::DB + freetds 0.63 -> SQL Server 2000 So, yes it's possible. Let us know if you run into any specific problems and good luck! Rob On 06 1, 08, at 12:12 PM, Rommel Asibal wrote: > Hello

[plug] 23,000 Linux PCs For Filipino Schools

2008-01-28 Thread Robert Locke
Da Massive writes "Speaking at the linux.conf.au event in Melbourne, Australia, independent open source consultant Ricardo Gonzalez has told of how he has helped bring 23,000 Linux PCs to over 1000 schools in the Philippines: 'Ministers in the Filipino government now understand Linux can do so

Re: [plug] Large MySQL table

2008-01-17 Thread Robert Locke
I think Tiger's dissertation on the subject said it all. =) I'm not sure what using an int datatype would buy you above and beyond just indexing datedue. I suppose using int *might* be slightly faster, but you would lose date functionality. And, from a purist's perspective, call a spade a spa

Re: [plug] Large MySQL table

2008-01-16 Thread Robert Locke
> So in my case since I have a lot of functions that deal with dates i > would need at least two int columns to replace the date column. Is > this the widely accepted industry practice? I can't speak authoritatively on industry practice but we've been able to get away with just using indexed date

Re: [plug] Large MySQL table

2008-01-14 Thread Robert Locke
Hi, Bear in mind that your query will include that given month across multiple years. For example, with month = 5, you would be including data from May of 2001, 2002, 2003, 2004, etc. Is that your intention? Assuming you have an index on due_date, your database will not be able to take advan

Re: [plug] how to get traffic every 5 mins.

2007-11-14 Thread Robert Locke
Try: sed -e 's///' -e 's/ (.*//' Rob On 11 15, 07, at 2:33 PM, Nelson Serafica wrote: >  I tried this: > > cat test.txt | awk ' NR == 1 || NR == 9 {print }'   # 1 and 9 are the column > >  231.7 kb/s (9.7%) >  16.8 kb/s (0.7%) > > It works. The limitation here is how to g

Re: [plug] How to determine multiple copy of a PostgreSQL record in SQL

2007-08-07 Thread Robert Locke
> The obvious answer would be, have a primary key on FirstName + > LastName to avoid duplicates in the first place. Indeed. Or atleast a unique compound index. > Second answer, SELECT COUNT(*) FROM table WHERE FirstName = ? AND > LastName = ? And to see all duplicates: select firstname, last

Re: [plug] OT: Embedding NP-complete problems in restaurant orders

2007-07-12 Thread Robert Locke
7 mixed fruit appetizers would do the trick... but make for a boring lunch! ;-) Rob On 07 12, 07, at 5:31 AM, Pablo Manalastas wrote: > I am working on a program to solve the linear > Diophantine equation in N variables. So far, it can > solve for any N, but the solutions are, as yet, > inte

[plug] WikipediaFS

2007-05-08 Thread Robert Locke
Cool hack of the day: http://wikipediafs.sourceforge.net/ =) Rob _ Philippine Linux Users' Group (PLUG) Mailing List plug@lists.linux.org.ph (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: ht

Re: [plug] Need Advise on Server Setup

2007-03-30 Thread Robert Locke
Here's a relevant and recent Slashdot post on virtualization (quoted below): http://slashdot.org/articles/07/03/29/1219218.shtml And the link to the referenced report: http://tinyurl.com/33kyzn "This just-released research report, Load Testing a Virtual Web Application, looks a

Re: [plug] My favorite text editors: JOE and GEDIT

2007-03-28 Thread Robert Locke
This thread moves closer and closer to the edge of the slippery slope. =) The best editor debate has played itself out thousands of times before - just Google "Emacs vs. vim" and you'll get about a million results. But the question of the best editor has no single answer and is really more

Re: [plug] My favorite text editors: JOE and GEDIT

2007-03-28 Thread Robert Locke
If it's any consideration, Zak and I are both Emacs users (sorry Zak :P). Glad to hear I'm not alone. :-) Personally, and like I said, I use Emacs as my primary editor of choice for most of my editing work, vim for administrative tasks (and editing of files over an ssh connection) Me too. A

Re: [plug] My favorite text editors: JOE and GEDIT

2007-03-26 Thread Robert Locke
> So this really kicks Emacs out of this discussion. :P Touché! Rob _ Philippine Linux Users' Group (PLUG) Mailing List plug@lists.linux.org.ph (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://

Re: [plug] My favorite text editors: JOE and GEDIT

2007-03-26 Thread Robert Locke
know.. emacs.. cough cough. :) seriously speaking, emacs may once have been a huge piece of bloatware, but compared to say Eclipse, i'm sure it's pretty speedy nowadays. On 3/27/07, Robert Locke <[EMAIL PROTECTED]> wrote: I hate to weigh in on an editor discussion as it can lead do

Re: [plug] My favorite text editors: JOE and GEDIT

2007-03-26 Thread Robert Locke
I hate to weigh in on an editor discussion as it can lead down the slippery slope to an all-out editor war, but I have to give "props" to Stallman and the FSF for creating the infinitely customizable and extensible Emacs - my editor of choice since, well, a lng time ago. :-) Rob On 03

Re: [plug] linux terminal pdf viewer

2007-02-12 Thread Robert Locke
To avoid leaving around temporary text files, you could stream the text to stdout by specifying "-" as the second parameter, then pipe the output to less: pdftotext /path/to/source/pdf - | less Best, Rob On 02 12, 07, at 5:19 PM, Dong B. Calmada wrote: pdftotext /path/to/source/pdf