Hacker News new | past | comments | ask | show | jobs | submit | ohwp's comments login

I never used it because I've got Photoshop installed on Windows but just gave it a try.

The first thing I noticed was the enormous lag of the mouse movements. So I think for an free alternative I will stick to Gimp.


I just used it without lag. Consider making a bug report instead of a snarky comment on HN?


What was snarky about it? I agree, he should file a bug report, as I'm on a modern system and don't have lag (I use paint.net and Gimp on Windows 7). But his comment was fairly emotionless and to the point.


First: this could result in:

  echo $blah; // hi <script>alert('foo');</script>
But maybe it's just because you posted an example...

Second: it will double the memory used.

Third: you can't use the variables global anymore


Like you said, I wouldn't use it without first cleaning the input. I guess I use it more out of habit and preferring a straight variable to an array... just feels neater.

Good point on the memory, but I wouldn't think thats a big issue. I haven't tested right now, but I dont remember ever having issues using the $_GET variable after exporting? Not sure if thats what you meant.


If I am not mistaken, PHP is copy-on-write, so if extract just copy value then memory usage wouldn't be doubling.


I think it's still very easy to create injectable queries. Prepared statements are a good start but people still forget to escape everything.

For example:

  prepare("SELECT name FROM users WHERE country = ? ORDER BY " + unescapedVar, country);
  
So I wonder, is there any way to force programmers into writing secure queries (by not writing queries)? Is ORM the way to go?


Just generally, don't write SQL queries as strings. An ORM is one option, language-level extensions another. But for that you need some good macros in your language - or convince the maintainers of your compiler to add it to the language (like Microsoft did in C#).


Android users better use TextSecure which is secure and even can send secure sms.



I was a little disappointed because I thought this would be about 8-bit isometric cities. Like Youcity, an isometric map of SF: http://youcity.com/2009/website_front/index.html#

And some cities based on OSM: http://bitsteller.bplaced.net/osm/


If you mean all accounts + data I think a lot of users will just register again and start over.

If you mean all code it will be the end of Facebook.

But ofcourse this is never going to happen.


Maybe the time has come for Google to use Go for Android. I think it will give Go a nice boost.


Swift's high-level syntax will probably open up iOS development to many people who otherwise would have seen Objective-C's square brackets and run away.

I like Go a lot, but Google switching to it for Android would probably have the opposite effect. Many people learn Java in school. Almost no one learns Go.


People don't learn Objective-C in school, but it has not slowed down adoption of the language for the iOS platform. If the platform is popular, and a language supports it well, programmers will learn.


I love Go; having Go as an option for Android development would be awesome because the language is just so much fun. I'm not getting my hopes up though, because Go was intended for server-side stuff. Object-oriented design is a great strategy for rapid app development, and this is the key different between Swift and Go that I've noticed.


The 'print' button opens a very readable version: http://harpers.org/print/?pid=243068


there is a PDF version too.


Nice :)

Years ago you could buy an old submarine in the Netherlands for around $1 Moving costs excluded ofcourse.

But I always fantasized about putting it on a piece of land using it as a house.


In the Netherlands you can buy various potential houses for 1 euro, like old water towers, factories or boats. The problem is that once bought, you are obliged to renovate the object (since most of them are considered "monuments"), and renovation costs can easily cost €500k to 1M. Also, because the objects are monuments, there are very strict rules on what you are permitted to change (like the color of the paint), making renovation very difficult or even impossible.


I do wonder what the realistic cost of moving it somewhere would be. Assuming, that you would like to take it out of water and put on a property somewhere. Would it be in hundreds of thousands of dollars? Or more like millions?


Do you regret not doing it?


No, I was too young back then.


Yep, it also took me 2 steps:

  * search on Google
  * download the software on the page you are linking to.
But: I agree that it's strange you can't get there via de MS site directly.


Well, you can get there much faster by using the search bar at the top of their homepage.


Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: