Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
romaniv
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
68 ms
·
661.
▲
by
romaniv
13y ago
Apache rules? They'd stay human-readable. I look forward to servers having different text representation of the same binary headers in their config files. tell me one thing, one single thing, that only humans are able to do with HTT
662.
▲
by
romaniv
13y ago
First, I'm not sure what majority you refer to. Neither do I know what you mean by "manually" editing. I used this text-based function on more than one occasion: http://php.net/manual/en/function.hea
663.
▲
by
romaniv
13y ago
The same arguments can be applied to HTML, CSS, JSON, RSS and so on. I fail to see the crucial difference between those and HTTP. Or would you say the web as a whole should be binary? Fifth, redundancies introduced from the beginning of ti
664.
▲
by
romaniv
13y ago
I can vividly imagine this conversation: 'We have a lot of stateful frontend code that's hard to debug and test.' 'Maybe you should strive for less stateful frontend code?' 'Nonsense! We should completely reing
665.
▲
by
romaniv
13y ago
Firefox and Chrome already allow you to re-size textareas. At the very least this library shouldn't shut that functionality down.
666.
▲
by
romaniv
13y ago
PHP's popularity comes from the fact that it has good documentation, it's easy to deploy, there are lots of ready-to-use solutions written in it and its core API has many methods to solve common problems.
667.
▲
by
romaniv
13y ago
It would be very, very useful if only it worked with regular expressions. Or if you could run it against F# functions.
668.
▲
by
romaniv
14y ago
Weird characters aside, having URLs of the form example.com?stuff has many advantages. For one, you don't need any weird magic to get relative URLs working properly.
669.
▲
by
romaniv
14y ago
I don't want to imply that you personally shouldn't use a CDN, but the page you linked to loads 43 files. If you consolidated, removed links to or inlined some of them, the difference with and without CDN would likely to be much smaller.
670.
▲
by
romaniv
14y ago
I still find the idea of CDNS repugnant. No matter how you slice it, you rely on an external resource for important parts of your application. "What it it goes down?" is one question. But you also should be asking yourself about what will h
671.
▲
by
romaniv
14y ago
The main website it was on no longer exists, but there are bits and pieces here and there. http://code.ohloh.net/project?pid=LOfjD4AHjNo&prevcid=1&... doc_code2html() takes PHP code as argument, and uses built-in PHP tokenizer to ad
672.
▲
by
romaniv
14y ago
Many (around 5) years ago I wrote a library that parsed PHP files and generated logical "anchors" after classes and functions. I combined that with a simple CRUD application that allowed anyone to view source code in the browser and add/cha
673.
▲
by
romaniv
14y ago
I don't see why this would invalidate the concept of physical keys. The problem of visual key copying can be easily solved by either making keys in a shape that doesn't allow to see the ridges easily (something like 'E' with middle bar bei
674.
▲
by
romaniv
14y ago
First, people have done similar things in Flash and Java applets before. At the time, both of those technologies allowed for running things inside the browser. Second, I am pretty sure that if someone have done this in another language (Pyt
675.
▲
by
romaniv
14y ago
I don't think anyone genuinely finds this impressive. People simply up-vote because it's written in JavaScript and allows for some immediate clicking gratification. Which, I agree, is sad. (And will be vehemently denied.) I wouldn't really
676.
▲
by
romaniv
14y ago
It's not hesitance to learn something new. People avoid SQL for a variety of fairly rational reasons. For me, the biggest one is that most general-purpose programming languages encourage you to solve large problems by splitting them up into
677.
▲
by
romaniv
14y ago
Yeah, but seriously, why would you want to link to a particular state in a desktop-style application? Especially if the intent of the app is to be used by a single user working with private data. For example, to save some kind of setup yo
678.
▲
by
romaniv
14y ago
My overall problem is that a lot of modern web development trends undermine the reasons web became so popular in the first place. Linking is an easy example. Something that didn't require any "extra" effort now requires "correct" usage of s
679.
▲
by
romaniv
14y ago
That's because it's not generally a requirement Is that a new way of saying "I just don't care about it"? The idea of a single-page app is to make it feel like a desktop application, not to make it highly linkable I've heard that before
680.
▲
by
romaniv
14y ago
From the answer: " First know that Single-page apps are apps. They're not webpages. " This is an artificial dichotomy that aims to obscure architectural deficiencies and explain away usability problems.
681.
▲
by
romaniv
14y ago
I find it highly annoying that people who promote client-side MVC and one-page apps always claim that it's trivial to make pages linkable and make browser navigation work, yet the wast majority of real-life single-page apps are missing
682.
▲
by
romaniv
14y ago
I totally agree that tests aren't a replacement for thoughtful design, but neither is thoughtful design a replacement for tests. Thoughtful design can greatly reduce the number of tests you need by reducing the complexity of your software
683.
▲
by
romaniv
14y ago
So we should wait for browser vendors to agree on a new next generation language for the web and wait until everyone updates to a browser that supports it? No, we should grab the first thing available and run with it, making sporadic addi
684.
▲
"Paintable" Checkboxes
(quickenloans.github.com)
2 points
by
romaniv
14y ago
|
0 comments
685.
▲
by
romaniv
14y ago
This is what happens when there is no meaning (semantics) behind core page markup. Small changes have seemingly arbitrary results that completely break the page.
686.
▲
by
romaniv
14y ago
I think you are forgetting that whether your website works without images and JS is up to you as a developer. Disabling those things should not completely break normal websites. The immediacy of those checkboxes is a good reminder.
687.
▲
by
romaniv
14y ago
You would be surprised how may designers dismiss basic usability concerns by saying something along the lines "this is an app, not a website". Every wave of technologies carries a certain culture with itself. A lot of the things in the list
688.
▲
by
romaniv
14y ago
Text boxes don't look like text boxes. Buttons don't look like buttons. Checked toggles might be easily confused with unchecked. Toggles also look like something you should drag, but do nothing unless you click them. Unchecked check-boxes l
689.
▲
by
romaniv
14y ago
It sound like they hate synchronous APIs. Well, the synchronous nature of it wouldn't be a problem if: 1. JS has a language-level support for asyncrony. 2. The implementation of retrieval was performant enough or allowed for some way to con
690.
▲
by
romaniv
14y ago
This in an incredibly short-sighted comment. The engine is just a client application. There are millions of websites on the other end of the line. Any changes to web standards also affects them. That's why it's incredibly harmful to treat a
More ›