News for hackers. Stuff that matters.

dxjones

Ask HN: Should Google log password resets & failed login attempts?

I was just surprised to receive an SMS text message "Your Google verification code is xxxxxx".I didn't do a password reset, I don't use 2-step verification, and I can't figure out what triggered this SMS message.The thing is, ... Google knows what triggered it, but they keep it a secret.The desktop version of GMAIL allows you to view a log of "Last Activity" with details showing IP address and...

( Read More... | 4 comments | 4 points | on HN )
Re:Competitive Start Fund (CSF) - Enterprise Ireland on Tuesday March 08, 2011 @09:13AM (#2300873)
For 50k they take 10% equity, valuing your startup at a tiny 500k, plus you have to leave the country. You give up a lot.

Why not just pitch to Dave McClure's 500Startups? You can get started with $10k for 1% equity, valuing your startup at $1M. More funding is possible, plus space, mentors, ...

http://500startups.com/

I am a two-spacer too.
Re:ScienceLeaks on Sunday January 02, 2011 @12:11PM (#2060403)
Prediction: ScienceLeaks will be taken down within 1 week. The only reason it wouldn't be shut down is if nobody uses it.

The copyright holders for academic journals have a huge financial incentive to crush ScienceLeaks. The law is on their side, right? ... and why would Google Blogger defend ScienceLeaks? They prefer people to use Google Scholar instead.

Re:Arsenate-based DNA: a big idea with big holes on Sunday December 05, 2010 @11:24PM (#1973900)
Perhaps claims of arsenate-based DNA will go the way of "cold fusion" when some control experiments (as described in the blog post) show the bacteria had phosphate-based DNA after all.
I agree with your comment about jurisdictional arbitrage (lovely phrase). Look at Google, Microsoft, and Linkedin using Ireland as a tax haven. Not only do they play arbitrage, they flex their economic muscle by telling Ireland, if you raise corporate taxes (above the current 12.5%) we'll leave. Instead, Ireland cuts the pay of all govt employees.
Re:Select vs. choose on Saturday December 04, 2010 @10:19AM (#1969346)
Waiter: Here is the wine list. Please let me know if you'd like any help with your wine selection. (later) Have you selected a wine?

This common example uses "select" (correctly) with a list of items on a menu.

Re:University of Toronto Book Print on Demand on Sunday November 21, 2010 @01:21PM (#1927513)
A quick look at their pricing suggests 6 cents a page, but a $60 setup fee. For 10 books at 100 pages each, that is effectively 12 cents a page (averaging in the setup fee).

Self-publishers might want to consider Lulu.com, with low per-page costs, and apparently no setup fee.

Re:Can you have a baby and a startup? (not easily) on Thursday October 28, 2010 @12:21PM (#1843514)
super cute!
Re:Can you have a baby and a startup? (not easily) on Thursday October 28, 2010 @12:08PM (#1843447)
Can you have a puppy and a startup?
After following your suggestion, I dove into the WordPress index.php and followed the flow for how it routes you to a particular page.

I found that I can insert my own PHP code to scrutinize the REQUEST_URI, QUERY_STRING, etc, so I can pull out the parameters needed for my app, and then edit the REQUEST_URI so WordPress is none the wiser, ... and simply displays the proper page. ... then my app code gets invoked, ... plus it has access to my parameters. Solution found.

In WordPress, ... in addition to your (blog) "Posts" you can create a "Page". The typical example would be an "About" page.

In my case, I created a paged called "app". What is nice about this is I can use WordPress as a content management system, I can change Themes easily, etc. ... but embedded inside the page I can put vanilla PHP code.

I tried that, and it gets me part way there, but the internals of the WordPress index.php come into play to prevent this being a solution.

1. WordPress wants the "Page" name to come last, so I followed your suggestion, but with "app" moved to the end. Same idea as your rule, but rearranged. See .htaccess appended below.

2. The REQUEST_URI is "alpha/beta/app", and the QUERY_STRING "p1=alpha&p2=beta", ...

but the WordPress index.php comes into play and seems to do a REDIRECT (so my app never gets a chance to run)

so that REQUEST_URI becomes "app" and QUERY_STRING is empty. My app code runs, but now it is too late; the parameters are gone.

Any further suggestions?

  # .htaccess
  
  <IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^([^/]+)/([^/]+)/app$ /app/?p1=$1&p2=$2 [QSA,L]
  </IfModule>
  
  # BEGIN WordPress
  <IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.php [L]
  </IfModule>
  
  # END WordPress

Seek geek with expert knowledge in WP3 + Apache2 mod_rewrite

I am seeking a geek with expert knowledge in WordPress 3.0.1 and Apache2 mod_rewrite syntax (.htaccess) to help me get past a roadblock in deploying my web app (with a WordPress front-end).I have posted my question on stackoverflow.com ( http://bit.ly/9UeChD ) and wordpress.com ( http://bit.ly/aTSo21 ), but still no joy.Hoping someone on HN has what it takes to rewrite...

( Read More... | 5 comments | on HN )
Re:Get to facebook through the backdoor. on Wednesday October 06, 2010 @01:40AM (#1762861)
WTF?
Re:Linode: Transfer is $0.10/GB, CPU+RAM+HD is free on Wednesday October 06, 2010 @01:34AM (#1762853)
Except, if I don't use 400GB of transfer, I still pay $40, right? So then, my CPU+RAM+HD doesn't seem free anymore.
Re:Ask HN: Best way to accept online payment from Egypt? on Saturday April 24, 2010 @12:19AM (#1290320)
I received email from someone at MoneyBookers. Apparently they can do a Bank Transfer to a US or Canadian bank for a flat fee of 1.80 Euro (about $2.40).

Just in case anyone else wants to accept online payments from locations where PayPal is not available.

-- dxjones

Ask HN: Best way to accept online payment from Egypt?

I have a small online business. Most customers are in North America and pay using PayPal. I have an inquiry from someone in Egypt, where they use Moneybookers and PayPal is not available.What is the best way for a Canada/US web company to accept online payment from Egypt?Moneybookers doesn't seem to support withdrawals to Canada/US bank account. PayPal doesn't seem to support customers in...

( Read More... | 1 comment | 2 points | on HN )
Re:Ask HN: Where do you host your startup web services? on Monday January 18, 2010 @11:59PM (#1061535)
Has anyone had experience to be able to comment on the pros and cons of: Slicehost or Rackspace?

Ask HN: Where do you host your startup web services?

Where do you host your startup?I am looking for a solution that is cost-effective. I want to keep costs very low to start, but I can pay-as-I-grow for increased resources.Imagine a URL shortening/redirecting service (e.g., bit.ly) That's not what my startup is about, but I will have that kind of traffic. I need to handle lots of hits to my web site, but each requires minimal processing and...

( Read More... | 6 comments | 8 points | on HN )
Re:Spread of HINI (Swine Flu) across the United States on Thursday July 16, 2009 @09:16PM (#709118)
I was surprised to see the death rate for swine flu is not much different from the regular seasonal flu (according to the stats given).

wow! the avian flu is incredibly lethal, but I guess it kills its host before it can infect many others.

I wonder what is the most dangerous intermediate death rate that maximizes damage by spreading to a wide population and killing many. Any computational biology geeks reading HN who know the answer?

Ask HN: best free iPhone/iPod app for offline viewing of HTML/PDF

What is your favour free app for offline viewing of HTML and PDF?I am looking for a simple solution to be used for several hundred students, most have an iPod Touch, and some have an iPhone. I want them to be able to download some HTML (or PDF) content when they are online, ... then be able to view it, including navigating links, when they are offline.I have read a things about bookmarking...

( Read More... | no comments | 2 points | on HN )
Re:PHP Team Responds to Google's PHP Tips on Saturday June 27, 2009 @12:23PM (#676949)
Wow! What a stinging rebuke. ... and well-deserved, it seems.

Considering Google's influence and reputation, it's really important the PHP Team took the time and effort to respond to the "tips" and set the record straight.

Re:The SQL Trap on Monday June 22, 2009 @10:05PM (#669730)
I wonder if the author could share something about his startup/web/app that is so ill-suited to MySQL and so much more efficient when implemented using a simple key-value store, plus algorithms in PHP?

I'm just wondering whether this observation has more to do with the nature of your "computational problem", or maybe just a difference in skill level with MySQL queries vs PHP algorithms.

Re:Ten Grand is Buried Here - Microsoft Australia on Wednesday June 17, 2009 @10:19AM (#661854)
Congratulations! You have found $10 Grand buried right here!

Now just click here to pay $4.95 through PayPal to cover mailing charges, and we'll send you the cheque.

Isn't this marketing scheme open to wild scamming?? If nobody knows what the "You've won!" screen will look like, then it opens the door to scammers. You'll just "know" when you've won. "When you find it, it'll be obvious that the $10,000 is yours."

Can you give more details about why you would recommend Amazon FPS over PayPal?
Thanks: PayPal first. Credit Cards second.

What made Google Checkout a collosal waste of time? Do customers choose not to use it? Or is it a hassle to deal with on your end?

Re:All my games are now free on Saturday June 13, 2009 @01:33PM (#656302)
I downloaded Gumdrops and played it on my iPod Touch.

It seems like a game with potential, but I see the rating in the App Store is currently 2/5 stars.

I would recommend that you interview people who have played the game and learn how to increase the enjoyment of the game play.

You might be surprised. If you can improve your games and bump up your rating to 3/5 stars, you might find many more downloads.

Thanks for your informative posting. If your apps earn $1/day with your current rating, it helps you and other app developers know they need to achieve a higher star-rating to be profitable.

Older »