Better HN
topnewbestaskshowjobs
Log inSign up

ohwp

1,262 karma · joined Nov 21, 2012 (14y ago) · 484 submissions

Submissions

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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

comment 12y ago · link · parent

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?

comment 12y ago · link · parent

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

comment 12y ago · link · parent

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/

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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

comment 12y ago · link · parent

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

comment 12y ago · link · parent

No, I was too young back then.

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

Yes I think evolution is a theory.

A good scientist knows other theories may come and change the landscape. So you need to keep an open mind.

That's why I posted the link to the theory of the deep fountains. I think it's a good theory explaining some events in the past.

Is it true? I don't know. But we also have no proof for evolution. But the theory of evolution works very well to explain a lot.

The only science that has proof is math.

(I'm not a creationist by the way)

http://en.wikipedia.org/wiki/Evolution_as_fact_and_theory

comment 12y ago · link · parent

There already are theories about this. For example: http://www.creationscience.com/onlinebook/FAQ29.html

I'm not sure why you think creationists are dumb people. Even scientists don't agree with all theories in the science books.

So yeah, maybe there was an event where fountains of the deep opened up. Some people believe dinosaurs were killed because after that a change in atmosphere provided less food. Others believe a comet killed them. There is and isn't proof for both theories so maybe there is truth in both.

Our creation / existence is one big riddle everyone tries to solve different.

comment 12y ago · link · parent

I think this is how the NSA became the NSA as we know it today. When your task is to prevent terrorism you need to see. You need to see in time and detect patterns. So you need to store as much data as possible because.

So it's good to stick to some boundaries. In the example of the robot: you could measure room temperature, because maybe the sensors are acting to it. Or you could measure the amount of people in the room because sensors could act to it. Heck, maybe the sensors are acting different to different people, so track there faces and store it. Well maybe sensors are sensitive to somebodies smell so track that too.

There are limits to what is useful to track.

comment 12y ago · link · parent

I always like this Vocaliod opera song: https://www.youtube.com/watch?v=VseHlKR4Ew8 (Voi che Sapete)

While the song is playing you can see the settings. I've played with it once but it's hard to get it right.

First you place the notes to add pitch and length. Then you attach phonetic codes to the notes. So it's not like you are adding words to notes. It's all about how it should sound. Then you also can add things like amplitude settings.

comment 12y ago · link · parent

I was wondering: why did they decide to randomize the address? Why not use the same address for every device?

comment 12y ago · link · parent

I think this shows that scalability and high-availability can be overrated. HN is back online and so are the users. No harm done.

comment 12y ago · link · parent

I've bought a Huawaei and am very pleased with it (only the camera is crap). In the past I tried different Chinese brands but they were all crap. It seems they worked hard to change that. Huawei and Xiaomi both get great reviews for there low cost phones.

Btw: Xiaomi means something as 'grain of rice'. Meaning that small things still can be big.

comment 12y ago · link · parent

Project page: http://www.la-joliverie.com/projets-pedagogiques/microjoule-...

Wikipedia entry: http://en.wikipedia.org/wiki/Microjoule_%28vehicle%29

comment 12y ago · link · parent

Other answer: with a lot of model trains: https://www.youtube.com/watch?v=vC-dmKHiCnY#t=445

comment 12y ago · link · parent

The e's in the Heineken logo are rotated a little to represent a 'smile'. Not a lot of people will see this but the logo gets a 'softer' feeling because of it so people will somehow notice it.

comment 12y ago · link · parent

The articles doesn't give examples of why you need to test your logo in black and as small size. I think some logo designers only focus on digital so here some non digital examples:

Black logo examples:

  Logo on a Fax
  Logo on a photo copy
  Logo on a black-only laser printer
Small logo examples:

  Logo on a pen
  Logo on a USB drive

comment 12y ago · link · parent

Wow, his friends created houses for themselves. He created a forest for everyone...

comment 12y ago · link · parent

From Wp[1]: "The character of Roark was at least partly inspired by American architect Frank Lloyd Wright. Rand described the inspiration as limited to "some of his architectural ideas [and] the pattern of his career".[19] She denied that Wright had anything to do with the philosophy expressed by Roark or the events of the plot."

[1] http://en.wikipedia.org/wiki/The_Fountainhead#Howard_Roark

comment 12y ago · link · parent

There are more architects who tried this. Christopher Alexander dedicated a lot of time to solve building countries to doorsteps.

What amazed me after reading some of his books are the physical effects of today's cities on humans (and animals).

Some examples:

Living higher than 4 stores: there is evidence that this will disconnect you from the life happening on ground level.

Streets made for cars: cars are more important than humans.

comment 12y ago · link · parent

When I read the introduction I immediately thought about Apache + MySQL + PHP + Symfony.

ORM, templating engine, community, it's all there.

comment 12y ago · link · parent

I'm into reef tanks. Its incredible difficult to mimic sea water conditions. A lot of people have great results for years but there system can still collapse within days. A synthetic alternative was started called the DSR method improving a lot but is still fragile.

To me this shows that nature is ofter more complex than we think. Soylent might include all product a body needs but what about chewing for example.

comment 12y ago · link · parent

I like this one even more because it is procedural. No height map needed.

comment 12y ago · link · parent

Its sad that most of the time the parents are to blame.

comment 12y ago · link · parent

Refactoring Wordpress will make it even faster. Look at the difference between Drupal and Wordpress. It's amazing Wordpress is still used for big sites while a ton of recourses could be saved.

But great work on the PHP engine!

12345
17