HNHacker News
TopNewBestAskShowJobs

insanebits

44 karma · joined October 25, 2013

submissionscomments
insanebits··on Show HN: Nixar – New design of Linux command line
Then how can you have "cat" and not "ls"?
insanebits··on Show HN: Nixar – New design of Linux command line
Looks really nice from first glance, would need to give it a try for a week or so to see how it really fits in my workflow.

>In daily life I need work linux shell and got the understanding that this kind of library can be applied in shell as well. S

Then why not sticking to unix command names? For example my most used command on linux is "ls", which in nixar is "fs" for some reason. Am I missing something?

I would try to get it to be as close to unix commands as possible, if you really hoping to achieve linux shell feel. And it would be really easy to jump from linux machine to it.

What would be nixar's selling point? Why would users choose it instead of cygwin or minGW?

insanebits··on How Google’s AMP project speeds up the Web
I agree with idea of the general idea of AMP. BUt this is simply wrong.

What happens if I am an owner of "minor" ad network. It's essentially trying to prevent anyone entering ad bussiness in my oppinion.

And what does it mean to the developer who has to create some custom interactive component because that's what management wants?

I fully understand that it's counter measure against facebook and apple. But there should be better ways to improve websites performance not just removing years of web standards development. Google as a major search engine could influence faster web by giving it more influence on SERPS which would make publishers take a notice on how to make their sites faster.

This is not reasonable to create yet another version of the website just to please google.

Sorry for the rant, you can guess what I do for a living:)

insanebits··on A new approach to web performance
TLDR; I mostly agree with monopoly idea.

We had WML for mobile devices before mobile devices were powerful enough to render HTML. Then we got smartphones better than my computer bought 5 years ago. AMP in my oppinion is a step back, yes you can do a lot of things in CSS. But in reality there are cases where it needs to happen dynamically. For example: javascript input validation, you cannot validate data using CSS. Are we then going to reinvent Javascript using some new fancy name?. Also, how about backwards compatibility(IE7-8 I'm looking at you)?

Those companys could spend their resources on better things, like implementing ways to load viewport dependent images(it seems it's already done using picture tag). Because multimedia takes huge chunk of the website.

And like always there are ways to write performant websites using existing technology and even more ways to write slow websites using all the "bleeding edge" technology. It's up to the developer mostly.

insanebits··on A new approach to web performance
Isn't HTML already templating engine for displaying text?
insanebits··on Ask HN: I have a mental block designing software. Time to quit?
I agree with a TDD, but it really depends on the framework/cms you're working, some of them are incredibly hard to write tests agaist. One of the examples would be writing unit tests for the WordPress plugin, if you're sticking to the WordPress way of coding unit testing is practically impossible because there is lot's of database access and events which do mess up.

You can write plugin folowing OO principles and abstract things out to be able to mock them as nessesery. It really depends on the coding standarts you're folowing.

As for unit testing. In my personal experience it enforces you to write cleaner code, because when I started I had to do heavy refactoring to be able to test my prototype, but as I wrote more testable code I started separate unrelated parts which reduced amount of spagetti code.

Another way to achieve cleaner code in my opinion would be design patters which lets you separate code logically(for example MVC), and make some things cleaner(I'm big fan of laravel's Facades for example).

insanebits··on Why Introverts Make Great Entrepreneurs
In my oppinion there is truth to it, big part of top management positions are filled with extraverted people because they are most likely to speak before everyone else. While introverted people like to take their time to think about it.

Like the article said, introverted people are better leading self-motivated employees who don't need a lot of direction. Which means he has more time to focus on the things that matter.

← PreviousPage 2 of 2