Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
romaniv
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
91 ms
·
781.
▲
by
romaniv
15y ago
They don't need to cache-optimize, but knowing how stuff really works can help prevent some pathological cases of premature optimization in higher-level languages. I've read most of this during my undegrad OS course, and found it absolute
782.
▲
by
romaniv
15y ago
ASP.NET core it not terribly well-designed, but it has has peripheral things like Razor, design-by-contract, PEX, Moles and there are tons of other interesting technologies from MS research. A lot of those things are genuinely new in some w
783.
▲
by
romaniv
15y ago
One of the addition I would make to this search engine is to delete all the Wikipedia clones from the results.
784.
▲
by
romaniv
15y ago
Why? If I search, say, for a game review, I don't care whether it comes from a popular website or a blog no one reads. In fact, the topmost websites are more likely to be biased, since they try to appease everyone and they also have strong
785.
▲
by
romaniv
15y ago
Why would anyone want Wikipedia in search results is beyond me. If I want to read a Wikipedia article, I can just search Wikipedia itself. I know the kind of information it has, so there is no point in "ranking" it against other websites.
786.
▲
by
romaniv
15y ago
If it was simple, there would be no articles about "proper" ways to construct objects and arguments regarding whether using the "new" keyword is a a bad practice. It's absolutely ridiculous that such core language features need to be discus
787.
▲
by
romaniv
15y ago
I would argue that the biggest issues with JavaScript are: - Most obvious solutions to simple problems are often wrong. (Examples: iterating over a "dictionary", getting a variadic function to work.) - Callbacks that create callbacks and s
788.
▲
by
romaniv
15y ago
I've started programming in JavaScript before or at the same time I started programming in Java and still find that the author's argument is mostly valid. It's not a matter of habit, it's a matter of consequences and the amount of knowledge
789.
▲
by
romaniv
15y ago
When discussing structural issues, like routing, code samples will be either deceiving or extremely verbose, because the ideas like that involve interaction of multiple components that simply doesn't happen in "hello world" examples.
790.
▲
by
romaniv
15y ago
CSS and HTML have quite a few baked in flaws that are unlikely to get fixed anytime soon, but there are workarounds. That's the problem. 90% of modern web design is all about workarounds. Those workarounds became more important than core
791.
▲
by
romaniv
15y ago
That might be a good solution for transition period, but in the long run, another custom rendering engines in JS is the last thing the web needs right now. It needs a practical, declarative and semantic way of creating modern websites. So t
792.
▲
by
romaniv
15y ago
There is nothing wrong with providers giving you an option to use your number for notifications. However, if we are required to provide phone number for security features that can be implemented without using phones, there are a few thing
793.
▲
by
romaniv
15y ago
The article sounds like this requires you to sumbmit a cell number to Gmail. (In fact, I think merely registering an account nowadays requires a number, but I'm not sure about that.) If you think that's the only way to get 2-factor authenti
794.
▲
New Threats to the Internet Infrastructure [video]
(youtube.com)
1 points
by
romaniv
15y ago
|
0 comments
795.
▲
by
romaniv
15y ago
This is not just a question of population size. It would be if the decision to browse without JavaScript was an arbitrary choice, and if designing website relying on JavaScript resulted in better overall design. Neither are the case. Very o
796.
▲
by
romaniv
15y ago
I think this aspect of unit testing is largely overrated. True, it does stop people from writing something ridiculous, like a 1000-line method that handles a dozen different things. But it also encourages developers to go overboard in the o
797.
▲
by
romaniv
15y ago
That's a common problem with a lot of web frameworks. Every single one of them claims to make "web development" easier. They promote themselves by showing how well they solve some narrowly-defined and often imaginary problem (in this case -
798.
▲
by
romaniv
15y ago
I've programmed in PHP for many years and still use it for my side projects, but I would state that the criticism in the article is mostly fair and relevant. Yes, as an environment PHP is easy to deploy, fairly well-documented and has som
799.
▲
by
romaniv
15y ago
I was thinking more along the lines of somehow forcing certain space complexity on every hash computation so it can't be as easily parallelized. However, I see that my exact reasoning in the post above is not solid. Having longer strings
800.
▲
by
romaniv
15y ago
What about appending a significantly long random string to all passwords? Would that slow down re-computation of hashes significantly enough to thwart brute-force attacks? I don't know enough about GPU architecture to tell for sure.
801.
▲
by
romaniv
15y ago
There's nothing worse than realizing that you spent a whole bunch of time reimplementing something someone had already built when you could have simply taken a fraction of that time to understand why it was the way it was and, if applicabl
802.
▲
by
romaniv
15y ago
Any change to a badly written application can break some obscure functionality or integration. I repeat, any change. Assuming that you're still working on the codebase in question (and why else someone would care to rewrite it?) there is
803.
▲
by
romaniv
15y ago
There's a significant difference between the two statements "I don't get this code, it's crap, let's rewrite it." and "I understand this code, it's crap, let's rewrite it". There are cases when the code is a convoluted, buggy, unintelligi
804.
▲
by
romaniv
15y ago
As for your points a and b, I believe some implementations (V8 comes to mind) actually do handle this optimization for you indicating that the language isn't preventing it. The language isn't mandating it either. Therefore, anyone working
805.
▲
by
romaniv
15y ago
This is a great example of why I dislike JS as a language. There is a page on optimizing for loops with 6 examples . Four of them are deemed sub-optimal. The two "preferred" examples are miles away from being intuitive or natural. And it's
806.
▲
by
romaniv
15y ago
Are non top-tier universities really that bad? Here is my experience in undegrad. 1. Most students simply don't care about their major's subject. 2. Most professors don't care about the subjects they teach enough to care about how student
807.
▲
by
romaniv
15y ago
That doesn't sounds like a good enough reason to redesign a web API, especially if it means making it several orders of magnitude more complex. Stuff like that is clearly a problem, but it's not a browser problem.
808.
▲
by
romaniv
15y ago
Someone who is still using XP has a computer that's more than five years old and has never upgraded. Or, they assemble computers from scratch and don't want to shell out extra cash for an upgrade, especially considering that Windows 7 is
809.
▲
by
romaniv
15y ago
If everyone followed this advise, most of my professional life today would consist of tweaking hundreds of bandaids for PostNuke modules and Classic ASP pages done in Visual Basic. Technologies change. More importantly, requirements and vis
810.
▲
by
romaniv
15y ago
This does take explicit coding. But, if fragments of the page are being replaced as bcx does, then you need to do similar coding anyhow. It should not be similar. There is a huge architectural difference between the two approaches. In ser
More ›