HNHacker News
TopNewBestAskShowJobs

ohwp

1,262 karma · joined November 21, 2012

submissionscomments
ohwp··on Paint.Net 4.0 is now available
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.

ohwp··on Every C99.php shell is backdoored
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

ohwp··on OWASP Top Ten Web Vulnerabilities
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?
ohwp··on [dead]
Android users better use TextSecure which is secure and even can send secure sms.
ohwp··on 8-bit maps of world cities
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/

ohwp··on Facebook was down
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.

ohwp··on Go 1.3 is released
Maybe the time has come for Google to use Go for Android. I think it will give Go a nice boost.
ohwp··on The Man Who Saves You from Yourself (2013)
The 'print' button opens a very readable version: http://harpers.org/print/?pid=243068
ohwp··on A Boeing 727-200 Home Project
No, I was too young back then.
ohwp··on A Boeing 727-200 Home Project
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.

ohwp··on The 12 step process to download Microsoft SQL Server Express 2014
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.
ohwp··on Massive 'ocean' discovered towards Earth's core
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

ohwp··on Massive 'ocean' discovered towards Earth's core
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.

ohwp··on Bret Victor: Seeing Spaces [video]
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.

ohwp··on Utau – a Japanese singing synthesizer application
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.

ohwp··on How to randomize your MAC address on OS X
I was wondering: why did they decide to randomize the address? Why not use the same address for every device?
ohwp··on Ask HN: Downtime. What was changed?
I think this shows that scalability and high-availability can be overrated. HN is back online and so are the users. No harm done.
ohwp··on Xiaomi's phones have conquered China – now it's aiming for the rest of the world
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.

ohwp··on The most fuel efficient car ever built: 2072 miles with 1 liter of fuel
Project page: http://www.la-joliverie.com/projets-pedagogiques/microjoule-...

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

ohwp··on How Do You Get a Train Moving?
Other answer: with a lot of model trains: https://www.youtube.com/watch?v=vC-dmKHiCnY#t=445
ohwp··on The Makings of a Great Logo
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.
ohwp··on The Makings of a Great Logo
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
ohwp··on The Man Who Single-Handedly Converted a Washed-Out Land Into a 1,360 Acre Forest
Wow, his friends created houses for themselves. He created a forest for everyone...
ohwp··on How Frank Lloyd Wright Tried to Solve the City
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

ohwp··on How Frank Lloyd Wright Tried to Solve the City
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.

ohwp··on Choosing a Web Framework/Language Combo for the Next Decade
When I read the introduction I immediately thought about Apache + MySQL + PHP + Symfony.

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

ohwp··on Soylent 1.0 arrives at Ars: We mix it up and slurp it down
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.

ohwp··on Realistic terrain in 130 lines of JavaScript
I like this one even more because it is procedural. No height map needed.
ohwp··on Teen Arrested for 30+ Swattings, Bomb Threats
Its sad that most of the time the parents are to blame.
ohwp··on Refactored PHP engine makes Wordpress 20% faster
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!

Page 1 of 14Next →