HN user

dxjones

428 karma
Posts23
Comments136
View on HN
news.ycombinator.com 13y ago

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

dxjones
4pts4
www.economist.com 15y ago

Economist: WikiLeaks is more of a legal hack, than technical hack

dxjones
8pts2
news.ycombinator.com 15y ago

Seek geek with expert knowledge in WP3 + Apache2 mod_rewrite

dxjones
1pts5
news.ycombinator.com 16y ago

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

dxjones
2pts1
news.ycombinator.com 16y ago

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

dxjones
8pts6
news.ycombinator.com 17y ago

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

dxjones
2pts0
news.ycombinator.com 17y ago

Ask HN: Recommended way to receive customer payments when just starting up?

dxjones
10pts18
news.ycombinator.com 17y ago

Ask HN: Software Key Generation - Best Practices?

dxjones
2pts3
www.scientificblogging.com 17y ago

Hash Algorithm Strength

dxjones
1pts1
news.ycombinator.com 17y ago

Ask HN: Recommend solution for scanning forms?

dxjones
3pts8
www.nowtoronto.com 17y ago

Outrageous Canadian research study on Internet piracy is itself pirated.

dxjones
24pts3
online.wsj.com 17y ago

WSJ: Crazy Compensation and the Crisis

dxjones
1pts0
unseen.ws 17y ago

Netbeans for PHP gets an enthusiastically positive review

dxjones
10pts16
www.scientificamerican.com 17y ago

Scan Uncovers Thousands of Copycat Scientific Articles

dxjones
11pts2
news.ycombinator.com 17y ago

Ask HN: How to use Amazon Mechanical Turk from Canada?

dxjones
11pts1
measuringthemind.wordpress.com 17y ago

Neuroscientists decode brain activity related to navigation and spatial memory

dxjones
2pts1
news.ycombinator.com 17y ago

Ask HN: matrix multiplication within PHP?

dxjones
3pts5
news.ycombinator.com 17y ago

Ask HN: Best slider? (Javascript/AJAX, PHP)

dxjones
2pts2
blog.wired.com 17y ago

Court decides "fair use": Turnitin.com not violating student copyright

dxjones
12pts15
blogs.harvardbusiness.org 17y ago

Academia vs. Industry: The Difference Is in the Punctuation Marks

dxjones
14pts4
news.ycombinator.com 17y ago

Mathematical Test: Rationality vs Altruism

dxjones
4pts0
news.ycombinator.com 17y ago

Ask HN: Best resources for small IPhone Web App?

dxjones
17pts8
news.ycombinator.com 17y ago

Ask HN: How to tell Google Adsense tags for images?

dxjones
1pts0
ScienceLeaks 16 years ago

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.

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.

Select vs. choose 16 years ago

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.

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.

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

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

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?

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.

The SQL Trap 17 years ago

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.

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."

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.

What is missing from this discussion of infinity is the notion that there are multiple infinities that are different from each other.

The integers (like the hotel rooms) are countably infinite. There are only a FINITE number of integers (or hotel rooms) between any two integers (rooms), like between rooms 1 and 100.

The set of real numbers is a larger set than the integers. Both are infinitely large, but the real numbers are a larger infinity. Between any two real numbers, (even 0 and 1), there is still an INFINITE number of real numbers in between.

The notion of a hierarchy of infinities initially seems paradoxical, but once you know how to distinguish countably infinite from uncountably infinite, you have the key concept.

Outstanding result. Compliments to both the student and the Chair of the CS Dept at SJSU.

Not only was the matter resolved properly, the Chair also managed to stop it from "escalating" until lawyers had to get involved.

Instead, the Chair successfully "hit the pause button", reflected on the issues, got some expert advice, and then communicate the result clearly and definitively, so everyone could close this chapter and move on.

Even for the prof who initially complained about the student posting code, this is a good result. It lets him know how he should update his course in the future, and what limitations on students posting code is reasonable, or not reasonable.

Thanks for such a clear answer.

I am more of a Mac programmer. ... In a Microsoft/Windows/Intel world, ... what would be one (or a few) specific examples of hardware id that would be available on most PCs??

I don't need a detailed explanation. Just a few quick links to online info sources would be a great help.

settings aside what is going on inside your head, ...

The article correctly observes that effective communication in a programming language is very concise, structured, non-repetitive, etc. ... which is quite different from effective communication among humans (imprecise, repetitive, analogy-based, etc.)

Some well explained thoughts. Overall, I agree with the "gist" of it. :-)

I have experienced something similar, after rather intense stretches of coding, especially when it involved optimization or visualization, ... I sometimes find it difficult to resurface and be verbally expressive and articulate again.