Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jonascopenhagen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
jonascopenhagen
14y ago
Sure, and that's the way it works by default: In a <textarea> Enter adds a new line - in a single-line <input> Enter submits the form. What I'm saying is that if you have a single-line <input> field and pressing Ente
2.
▲
by
jonascopenhagen
14y ago
Clickable: http://jsfiddle.net/LFkGZ/ http://jsfiddle.net/6r7gh/
3.
▲
Pressing Enter should submit the form
5 points
by
jonascopenhagen
14y ago
|
4 comments
4.
▲
by
jonascopenhagen
14y ago
I don't know if they edited the article, but right now it says "dozens of millions of pounds", which would mean at least £24 million, or roughly $36 million.
5.
▲
by
jonascopenhagen
14y ago
Isn't that weekly? It'd be cool to have a daily one.
6.
▲
by
jonascopenhagen
14y ago
A daily email digest of HN, sent to the user on a specific time he/she wishes, with all of the links (including Ask HN), sorted by points.
7.
▲
by
jonascopenhagen
14y ago
Greece and Cyprus were forced to receive "economic help". Not AFAIK. Their alternatives were just worse.
8.
▲
by
jonascopenhagen
14y ago
Actually the Russian mafia supposedly has a lot of money in the tax haven that is Cyprus. (Source (in Danish): http://www.dr.dk/Nyheder/Udland/2013/03/16/100422.htm )
9.
▲
by
jonascopenhagen
14y ago
I don't understand the need for this. Hosting 10 GB costs $1 per month on Rackspace Cloud Files and even less on Amazon S3. Secondly, if you use a paid service you don't need to run your files through scripts to upload them, and you don't r
10.
▲
by
jonascopenhagen
14y ago
The big thing that killed market fundamentalism for me was doing a stint in business consulting and seeing what the average rich person actually is: a glorified street hustler. Capitalism isn't just about the rich people. Small business o
11.
▲
by
jonascopenhagen
14y ago
what would you accomplish by switching from Ruby to Python? Simpler syntax?
12.
▲
by
jonascopenhagen
14y ago
CRUD apps are inherently simpler than airplanes, and unlike airplanes no one dies when your CRUD app crashes.
13.
▲
by
jonascopenhagen
14y ago
Sure - but if you compare, say, Zend with Laravel, you'll see that the former is hugely complex compared to the latter - and what I'm saying is that the complexity doesn't seem to make the code more maintainable later on - possibly quite th
14.
▲
by
jonascopenhagen
14y ago
I know what you mean, and I realize there's more to web development than what I just wrote. Nonetheless, I think frameworks such as Zend add a level of complexity that is rarely justified. Zend fans would probably claim that doing things th
15.
▲
by
jonascopenhagen
14y ago
> I have yet to see any Java-style absurdity. Then you probably haven't tried Zend Framework ;)
16.
▲
by
jonascopenhagen
14y ago
Pretty much sums up how I feel about most of the big frameworks (Zend in particular, but also Symfony and CakePHP). The problem of over-engineering isn't just related to the big PHP frameworks - the same problem exists in Python and Ruby. A
17.
▲
by
jonascopenhagen
14y ago
> I meant countries where English is not already the native language. English isn't the native language in the Scandinavian countries or Finland, and yet most of us speak English fluently :)
18.
▲
by
jonascopenhagen
14y ago
Yes and no - the Americans I know who live here are generally very happy with it. Some are so used to being able to speak English everywhere in Denmark that they live here for years without getting to know the language. But I would definite
19.
▲
by
jonascopenhagen
14y ago
> Amsterdam is probably the only city, apart from London, where you can get by perfectly speaking only English. You can get by perfectly speaking only English in most of Northern Europe. Southern Europe is a different story.
20.
▲
by
jonascopenhagen
14y ago
What kind of encoding issues are we talking about? I fail to see how PHP in itself should be specifically vulnerable to encoding problems.
21.
▲
by
jonascopenhagen
14y ago
> Encoding. Never had any big problems in Python and a lot in PHP Encoding is rarely a problem in PHP. Use UTF-8 everywhere, make sure every part of the system uses it (the database server, the database client in PHP, the web pages, etc
22.
▲
by
jonascopenhagen
14y ago
Deploying a PHP site can be done with the use of one or two apt-get commands. In Python I'd need to do that plus write WSGI-related stuff in a script, alter the Apache configuration, etc. Check out the instructions for Flask or Django if
23.
▲
by
jonascopenhagen
14y ago
> I will find someone who really hates angularJS because if we have a lot of validation, it will become a messy of ng-* Are you talking about HTML validation? AngularJS supports using data-ng-* which means it's valid HTML.
24.
▲
by
jonascopenhagen
14y ago
Do the majority of people print books themselves at home? Not in my experience. And if they did, they'd waste both time and money and have an inferior product.
25.
▲
by
jonascopenhagen
14y ago
Sure, I agree that 3D printers have a future as children's toys (I wrote that towards the end of my blog post). But the factory-at-home idea where you print cheap objects in order to save money/time is not realistic.
26.
▲
by
jonascopenhagen
14y ago
Home laser printers haven't replaced books, magazines, or professional marketing materials like brochures or flyers. The same way that 3D printing won't replace factory manufacturing.
27.
▲
by
jonascopenhagen
14y ago
> For something you can't (custom items, small parts, little toys, ...), home printing is (or will be) great. Custom items? Order them online (if they're semi-custom, e.g. a standard T-shirt with your custom text on it) - it takes less
28.
▲
by
jonascopenhagen
14y ago
> Who would have more than one material to print with? Well, probably everyone. Currently the number of materials you'd need to stock in your home to be able to print various kinds of products would be quite large (20 or more). That doe
29.
▲
by
jonascopenhagen
14y ago
Flying cars and helicopters are not the same thing. The idea proposed in the early eighties was that "everyone" (meaning the majority of consumers in first world countries) would use flying cars instead of normal ones. This isn't even close
30.
▲
by
jonascopenhagen
14y ago
As an aside, I've talked to a number of people involved with manufacturing and product design who use 3D printers for prototyping. Not a single one of them believe that we'll have 3D printing factories at home (although one of them did ment
More ›