HNHacker News
TopNewBestAskShowJobs

drinchev

3,581 karma · joined October 4, 2011

Freelance web developer, based in Berlin.

http://www.drinchev.com

[ my public key: https://keybase.io/drinchev; my proof: https://keybase.io/drinchev/sigs/DoNkf0DJhCHcuXXwrX-M5M-qqQV3NqJQJO518YFb8zY ]

submissionscomments
drinchev··on iPhone 6 slows down by 28% after just 4 months use
Interesting for me is that my iPhone 4 is much faster than my iPhone 5S. And the battery lasts much longer on my 4.

I think what Apple changed these days is that the latest version of iOS works both on 5+, while I remember my iPhone 4 was stuck with old version and I was never able to upgrade it.

drinchev··on Everything That's Wrong with Hackintosh
Back in time I installed OS X ( Mountain Lion ) on an i7 / 16GB desktop PC.

Was working quite nice, but missing some core functionality like iMessage / Cloud sync.

Biggest benefit of this was the >feeling< of freedom for upgrading and replacing hardware components.

That was long time ago and things got worse on Apple side for upgradeability.

I'm right now stuck with MBP 2011, because I don't want to spend fortune on top-class MBP with Max RAM and Max HDD ( If you can't upgrade, better take those anyway ).

drinchev··on The Future of JQuery UI and JQuery Mobile
Most of the polyfills these days are pretty much syntax sugar & ES6 transpiling. If you do your code in non ES6 plain JS way, I'm quite sure the IDE will give you the benefits that you receive with jQuery.
drinchev··on The Future of JQuery UI and JQuery Mobile
That was a relevant answer couple of years ago. These days you can achieve most with having a properly setup IDE-intellisense ( e.g. WebStorm ).
drinchev··on The Future of JQuery UI and JQuery Mobile
In this specific case jQuery's `show` is just giving you a shortcut to show/hide arbitrary elements.

Try doing this with CSS, please.

    <div class="element"></div>

    .element { display: block; }
    .element.is-hidden { display: none; }

    document.getElementsByClassName("element")[0].classList.add( "is-hidden" );
You should never ask yourself "How can I accomplish that without jQuery", but rather "What would be the best way to do it!"
drinchev··on Fish: A user-friendly command line shell for macOS, Linux, etc
I switched to zsh 3-4 years ago. I use it only on my local macs ( work & home ).

I will never install it on any remote system, because it doesn't feel right to force a shell to other remote users.

Also how much time do you need something that fancy on a remote prompt? The nice features of bash like [Ctrl-r] works everywhere and the shortcuts ( Ctrl-a, etc. ) are usually the same.

The power that zsh gives me is all about my local dev machine. Things like utilities command completion or `scp remote-server:~/ [tab]` to find a file on a remote machine, or the countless other extras are mostly useful on my local.

drinchev··on Homebrew 1.4.0
It's really sad. I always thought there are lots of companies, acting like WhatsApp ( $1,000,000 donation to FreeBSD [1] ) and return back value to open source, the same way they got value out of it.

I'm really surprised that instead of "lots" I have to write "some".

I also think that it's a much bigger win, financially and for P.R., to donate some of the profits, instead of paying the taxes in selected tax-paradise countries.

1: https://forums.freebsd.org/threads/49056/

drinchev··on Homebrew 1.4.0
The Patreon page says they receive $177 per month. That's too low for a project with such a high popularity and usage.

I read somewhere ( and I bet ) it's used by Google / Facebook / Apple employees.

drinchev··on Bitcoin mining and energy consumption
I don't get why journalists are not writing about the criminal side of Bitcoins.

Lots of "users" ( not investors ) interested in Bitcoins are actually .onion sites or other shady / crime organisations.

They actually don't care for human life and I doubt they will care for electricity consumption.

drinchev··on Insomnia REST Client
I also use cd / mv / cp / rm, but sometimes Finder (macOS) / Explorer (win) / Dolphin (kde) works better.

Not for other humans, for me as well.

It has all those shiny colors, icons, columns, drag & drop, that makes it easier and faster, when you have more complicated task.

I guess it all depends, but GUI in general is a step forward.

drinchev··on What MongoDB got right (2015)
> What is so hard in writing table migration, it is like a few minutes of your time

Wow, I wrote migration script for a couple of table rationalisation and it took me a week, to make it error-prone and to provide a revert option. Not to mention that you usually need to work with production data on your local to test if the migration will work without any errors.

And If you happen to have a migration error on your production database. It is a terrible experience, which usually includes downtime.

Maybe my lack of experience on writing SQL migrations increased that time, but isn't this the whole point of the OP in terms of dev first.

drinchev··on What is it like to live and work in Bali as an engineer?
My question to ask is : What about English in Bali?

Can you deal with banks / landlords / supermarkets / doctors, etc in English?

drinchev··on Asking members to support journalism, The Guardian raises more revenue than ads
Note that Guardian is successful, because of "supporters" and not >subscribers<. It's different than WSJ, where they lock the content, until you pay. The Guardian way looks more like the Wikipedia one.
drinchev··on Ciao, Chrome: Firefox Quantum Is the Browser Built for 2017
Kudos to Mozilla for the new Firefox. I really like it!

Though I'm quite sure I won't switch from Safari, since I don't want to exercise my fans anymore. Tried Firefox Quantum and it really feels fast, but it's still on top of my "significant energy" battery list. When I think about it it would be really hard to beat a native GUI browser with something made for cross-platform, so I feel a bit desperate.

drinchev··on Ask HN: High functioning alcoholism – anyone?
Coming from the Balkans, we also like to drink while having dinner.

I'm drinking usually 1/2 to 3/4 bottle of wine with my wife ( 3 glasses ~ 3/4 of 750ml ) and it's like shocking to see how people around us react on that fact.

In Germany, people are very secretive on their alcohol consumption, although I've seen germans having 5 beers on Friday, instead of having a beer per day - they usually don't share those stories. This makes me feel like I'm having an alcohol problem as well ... but.

On the contrary, when I was in Portugal, people usually had a glass of wine for lunch every day.

Keep in mind that Moderate consumption [1], according to wikipedia is 300ml per day for men ( bottle is 750 ).

I think your problem is more of a "am I loosing control" kind of a problem, so you can just stop drinking for a while ( usually I don't drink any alcohol or coffee in January - cleaning my body ) and replace the glass on your computer with a cup of tea.

1: https://en.wikipedia.org/wiki/Health_effects_of_wine#Moderat...

drinchev··on Ditching Go for Node.js
I'm happy about this article, not because of what it says, but because of the popularity it got. NodeJS is not as bad as people think and I'm really excited about when it will regain status in the "pros" community.
drinchev··on Why we have banned default exports in JavaScript
What I feel strange about default export is that you can actually mix it with named exports.

    export default class Foo { }
    export const Bar = "";
and then

    import Foo, { Bar } from "./module"
I would expect if a module has a default export, then it should not have named ones. Why? At least it puts more structure in your code architecture.
drinchev··on Stop Using Excel, Finance Chiefs Tell Staffs
The startup I'm working with right now is building a tool that allows you to create spreadsheet-based business applications.

What I like to call the product is "excel on steroids".

You can check it at www.ninoxdb.de.

drinchev··on Linus Torvalds: “Do No Harm”
Linux is used in so many critical systems.

What happens when a security bug stops the ventilating machine of a person lying in hospital bed, or halts the screen of a surgeon.

Not to mention voting machines, ISP's, telecoms.

For me having all those stopped, when properly exploited, looks more like a very scary DoS attack vector.

Imagine a security f*ck up, like Heartbleed, but this time with an option to halt kernels / systems.

drinchev··on Show HN: Coinmon – Check Bitcoin Prices in Terminal
I'm quite confident that "whatever you like" does not benefit versus NodeJS anyway.

And of course you should write cli tools with whatever you feel comfortable.

If you want them to be well-received by everyone, well that's a different topic.

drinchev··on Node.js v9.2.0
Depends on the project, mostly a combination between

    - npm scripts ( mocha, nyc, tsc, etc... )
    - webpack
    - gulp
drinchev··on Node.js v9.2.0
I forgot to mention that these days most of the projects that I see use a combination of webpack and npm scripts. I guess gulp will be obsolete in the next years.
drinchev··on Node.js v9.2.0
Node.js and the community behind it are really great. It helped me put bread on my table for several years now.

I remember I passed through all the "trends" around it and I'm super impressed how fast the ecosystem is evolving.

From browserify to webpack, from grunt to gulp, from coffee-script to typescript. It's never been so exciting.

drinchev··on Node.js v9.2.0
According to google trends [1]. Golang seems more popular than nodejs.

1: https://trends.google.com/trends/explore?date=all&q=Node.js,...

drinchev··on Ask HN: What is your favorite place to find work?
Job boards usually sucks.

Your best job will be when you are passively hired ( saw that you are a software engineer ). This, you can achieve with spending some time to build a physical ( go to events ) or virtual network ( LinkedIn ) surrounded by people that would hire a person like you.

drinchev··on Alcohol and tobacco kill far more people than opioids
Living in Berlin and coming from Eastern Europe I would say that people smoke and drink a lot more than US.

It’s quite normal to have a glass of wine with your business lunch in Italy and Portugal. As well as a cigarette allowed restaurants in Czech Republic, and smokers bars here in Berlin.

Almost everyone drinks and smokes at least on the weekend. I was really shocked when I visited SF 2 months ago to discover that having a beer and a cigarette is impossible at any bar I tried ( smoking was forbidden 20 feet from entrance ).

Not sure how does it help reduce the death percentage compared to here ( Europe ) where most people consume moderately.

drinchev··on Show HN: Server.js – A modern Express alternative
Koa was created by the very same person as Express itself [https://github.com/tj] TJ Holowaychuk.

The initial idea is to do the next level express framework using back-then generator functions. What is missing ( for me ) is the smaller community and popularity. So it makes it tough to argue about the business impact between choosing koa over express.

Honestly, being a nodeJS freelancer for the last decade there was not a single project, where koa was in use. Mostly I've seen express or sailsjs [http://sailsjs.com] which is quite a full-blown MVC Rails style solution.

drinchev··on Show HN: Server.js – A modern Express alternative
> Note: this option can be ignored and server.js will work with both .pug and .hbs (Handlebars) file types.

[1] : https://github.com/franciscop/server/blob/master/package.jso...

I think around express 3 the guys decided to go with a modular approach and decouple the server from any of those heavy ( render ) libraries, as well as body-parser ( once it was core module in express itself ).

My really friendly feedback is that I think express carries so much experience that it will be really hard to replace it with something so monolithic. I use express for REST APIs as well as full web app, where I need no render engine and having this installed on my server is an overkill.

Best approach I would think of is having someone rewrite express from scratch and call it express 5, while keeping the same balance of core and extra functionality, as well as new async / promise goodies.

drinchev··on Company gives non-smokers six days holiday to compensate for cigarette breaks
Cigarette break is not a break every time. You usually can't stop thinking about work for the 10 minutes you spend outside. It's quite the opposite.

Smoking break usually shifts you the direction of thinking and you solve a problem probably faster. Not because of the cigarettes itself, but because of the environment change.

This whole idea sounds like "People without social media accounts are allowed 1 more day off, because they don't spend time on checking their facebook messages."

drinchev··on Netflix: Removing client-side React.js improved performance by 50%
> ...improvement on our landing page

React on a landing page sounds like an overkill to begin with.

← PreviousPage 7 of 30Next →