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 Javascript Arrays and Functional Programming
The good old question about sacrificing performance for readability. Anyway these days filter is not so bad.

[1] https://jsperf.com/array-uniq-filter

drinchev··on Javascript Arrays and Functional Programming
Wouldn't do it with variable, since it will make your function impure [1]

1 : http://www.nicoespeon.com/en/2015/01/pure-functions-javascri...

drinchev··on Javascript Arrays and Functional Programming
Some more practical examples

    // Grab unique
    [1,1,2,3,4].filter( ( item, index, array ) => array.indexOf( item ) === index )
    // => [1,2,3,4] 

    // Flatten
    [[1,2],[3,4]].reduce( ( result, item ) => result.concat(item), [] );
    // => [1,2,3,4]
Not sure why the author missed `sort`.

    // Sort
    [1,2,4,3].sort( ( a, b ) => a - b )
drinchev··on How to find a remote job
> Upwork, PeoplePerHour and Freelancer are great places to secure remote work. What you’ll find may be more short-term, but that doesn’t mean it can’t evolve into something permanent (if that’s what you’re looking for).

Scratch that! Those platforms are useless even for freelancers.

Best advice that worked for me is to apply for any job and during the interview process you just say that you will work remote and come to the office once per XX amount of days.

drinchev··on The man who has focused on the word 'Macedonia' for 23 years
Broken link, fixed.
drinchev··on The man who has focused on the word 'Macedonia' for 23 years
This conflict might resolve soon.

My country of origin ( Bulgaria ) just signed a contract with FYRM which states that we have some shared history [1].

I think the current government of FYRM will do as much as it can to open the door for joining EU, so I would not be surprised if the talks about the name with Greece, continue in the next months.

1 : https://www.reuters.com/article/us-macedonia-bulgaria-treaty...

EDIT: Broken link.

drinchev··on Can QML become the next standard for web UI?
I like the second part of your comment better.

> if it were going to happen, it would have happened already

Backward compatibility allows another technology to be used side by side with existing one ( WebAssembly ? ).

drinchev··on Tech is the best industry for women
Article should be titled :

"Tech is the best industry for women, compared to the others"

It's not like it's the 60-ies. Posting photos about you having fun should always be allowed wherever you work ( well, maybe public jobs is an exception - politics, teachers, etc. ).

I'm sick of this topic, anyway.

drinchev··on JavaScript Fatigue: Realities of Our Industry
> Nowadays something I see very often is people looking for boilerplates when they’re trying to learn a new technology, but, in my opinion, you should avoid boilerplates when you’re starting out.

The top of the top JS Fatigue I've seen, for a while, is Electron React Boilerplate [1]. Just take a look at dev dependencies [2].

I totally agree with the author with not starting with a boilerplate, but as far as I can see, the community thinks the other way around.

1: https://github.com/chentsulin/electron-react-boilerplate

2: https://github.com/chentsulin/electron-react-boilerplate/blo...

drinchev··on Show HN: Themes based on the biggest startups
Looks awesome! Really like the idea of reusable sass files. I would suggest maybe some GNOME UI components or anything OSS, since most of what you have is kinda dodgy with the license ( I assume ).
drinchev··on Ask HN: What are the typical work hours in Silicon Valley?
Wow, here in Berlin things go totally different.

1 hour lunch break is often encouraged by employers. Working as a freelancer I work an "extra" hour, because of my lunch break. So do the employees here.

drinchev··on Ask HN: What are the typical work hours in Silicon Valley?
What about lunch break ?
drinchev··on How MTA shut down my app for Penn Station commuters
They could publish the log of passed trains, though. This will hurt nobody.
drinchev··on How MTA shut down my app for Penn Station commuters
Ahhh.. Missed that. Thanks!
drinchev··on How MTA shut down my app for Penn Station commuters
Why the OP did not continue with scraping the website then? I think there will be no legal issue if he does that.
drinchev··on ECMAScript 2017 Language Specification
For anyone wondering what's NodeJS support of ES8.

Everything is supported, except "Shared memory and atomics"

[1] http://node.green

drinchev··on Launching Today: CircleCI 2.0 Reaches General Availability
I've heard some reasons like :

- Privacy issues - Owning critical service component

Unfortunately I've never heard the reason that I think is the right one ( at least from what I can see is happening here ), which sounds like :

"Hey, we don't need this, because at Zalando / Nokia Maps, etc. we used Jenkins, so I don't wanna spend time maintaining a new tool ( CircleCI )."

Same stuff happens with project management ( dominated by JIRA around Berlin ).

At one point a company trashed all my CD-setup ( which was with the free plan anyway ) to run Jenkins with Docker ( I don't know how well supported docker is with CircleCI, but I doubt that is so much different than Jenkins ).

EDIT: I'm freelancing in Berlin, so I usually do a hand-over when the team of devs is hired.

drinchev··on Launching Today: CircleCI 2.0 Reaches General Availability
CircleCI is great!

I use it almost everywhere.

Unfortunately here in Berlin mostly everyone switches to self-hosted version of Jenkins at one point.

drinchev··on SoundCloud cuts jobs, closes SF and London offices
Living in Berlin, doing freelance. Just giving my advice here.

Now is a good opportunity for you guys to go that road. It's never been easier to find projects and there are lots of companies that can benefit the experience you got and offer short-term contractor work.

If someone needs help to get started in Berlin ( taxes, advice, etc. ) feel free to contact me.

Wish you good luck!

drinchev··on SoundCloud cuts jobs, closes SF and London offices
That is so sad for Berlin as well. SoundCloud is one of the companies that made the startup scene an actual scene.

I know that SoundCloud's interview process is tough, so I guess it's a good day for companies looking for talent around Berlin.

drinchev··on A set of best practices for JavaScript projects
> Organize your files around product features / pages / components, not Roles:

Oh really? Can someone explain why is this a good thing and what's the benefit?

[1] : https://github.com/wearehive/project-guidelines#6-structure-...

drinchev··on UK election: Conservatives lose majority
Last season of House of Cards is dangerously close to reality this time.

In US, Trump might loose his presidency. UK is a mess, based on wrong political decisions.

I still wonder "Who is Frank Underwood and what does he win from all of this".

There is nothing unusual about a political scandal, but this time is obvious that the elite is quite power-driven and the society is nothing more than a voting variable in their equation.

drinchev··on Apple Announces macOS High Sierra
Sounds great.

I think most of the Safari updates are as well in it's webkit js engine.

Although I'm really still confused why does Apple bounds their Safari browser with it's OS updates.

I will be very, very happy if I can receive up-to-date battery-savvy browser, without having to wait for a full-blown conference.

drinchev··on GitHub Major Service Outage
A bit weird. GitHub says they fixed it, but on the other hand CircleCI still considers it as an outage :

> Monitoring

> May 31, 2017 3:08 PM

> GitHub have declared the outage resolved and we are starting to see incoming GitHub hooks. Builds are being triggered again. However we are still seeing failures with the GitHub API. This continues to prevent our webapp > from fetching data from GitHub. We are monitoring the situation and will ensure sufficient capacity for when their service resumes normal operations.

drinchev··on Node v8.0.0 Released
I have not started programming wit JavaScript. The point is that node js is event driven and you can hardly escape from callbacks, except with syntatic sugar.

A sync await is an argument for people like you, who are trying hard to change its nature. It was added to the specs, because of "browsers got stuck to JavaScript".

There are better server side languages, so you can use them.

drinchev··on Node v8.0.0 Released
Thanks. I actually wrote the comment, because of :

> This enables writing code using async and await at all times, which is what any sane developer would do when writing code for Node.js.

drinchev··on Node v8.0.0 Released
Wow, what about good old promises? I totally dislike async, await, because they force you to switch to async code-flow-thinking.
drinchev··on Node v8.0.0 Released
I constantly use `.map` and `.reduce` out of bluebird. I'm not sure I will replace these soon, since it's out of the Promise A+ specs.

As a matter of fact, does anyone have a benchmark of the new nodejs 8's promise implementation against bluebird, because I so far bluebird was faster than the native implementation.

drinchev··on Node v8.0.0 Released
Express is the most popular. As a freelancer I always enjoy when I see express as the framework of choice, since it's very easy to maintain the produced code and is very hard to go unmaintainable.

As a matter of fact, what I don't recommend is Sails [1], which tries to do as much as it can and is quite inflexible in terms of technical decisions

1 : http://sailsjs.com

drinchev··on Why are hidden files with a leading tilde treated as super-hidden?
Okay, so who decided on that? Is it a PM or a developer? What's their reasons and why didn't they document it?

Do I have other "invisible" files around that I can't see?

← PreviousPage 9 of 30Next →