HNHacker News
TopNewBestAskShowJobs

michaldudek

20 karma · joined February 4, 2013

submissionscomments
michaldudek··on “Let’s use Kubernetes.” Now you have eight problems
I’m a very happy user of Rancher 1.6 for years. Simple, nice GUI, got everything I need, works fast, can deploy as many apps /services as you wish, no new concepts to learn (if you know Docker that is).

Used it in my previous agency to manage clients websites and use it now in my startup to manage multiple envs with few apps (api, front end, workers) and nice and easy deployments via GitLab CI.

michaldudek··on “Let’s use Kubernetes.” Now you have eight problems
I’ve been using Rancher for years. Version 2 is all about K8s, but version 1 is super simple to set up and manage with a nice and clean GUI and pretty much no new concepts.

Unfortunately version 1 is abandoned now (I think) but it’s stable and I haven’t had any problems with it. Give it a go.

michaldudek··on CSS in JavaScript is like replacing a broken screwdriver with your favorite hammer
This! I feel like everyone forgot about CSS Modules, while I think this is the cleanest and nicest solution to all CSS problems and doesn't make you cringe like CSSinJS or styled components and others.
michaldudek··on Tesla Model S and Model 3 comparison
I have put down the deposit and don't really care until final unveiling. I understand their goals in upselling Model 3 reservation holders.

I don't really mind that the $1000 is holding my position in line at Tesla. Otherwise it would sit useless in my bank account.

It is a bit depressing how they downsell the Model 3, but I'm hoping it's just their weird strategy. If some people pull their deposits then even better, I can get my car sooner :P

But I definitely won't be buying before test driving it.

michaldudek··on Tesla Tanks After Goldman Downgrades to Sell
Problem is none of those traditional car brands are actually doing that. All they do is show off concept cars at $100k+. Maybe a few more realistic ones from VW but they're all planned way beyond 2020. By that time Tesla will be years ahead and at massive production scale.
michaldudek··on Tesla Tanks After Goldman Downgrades to Sell
It baffles me how all these smart people completely don't get Elon or Tesla.

Maybe it's hard to understand for some that money is not the ultimate motivator? I'm pretty sure that Tesla could be a profitable company today if they stopped all investments and just focused on selling amazing Model S (who needs AP2?) (best car ever made in opinion of many reviewers!). But they're a tech company that happens to make cars (among many other things), not a traditional car company. That's why they should be valued at tech company criteria. They're doing what all the tech "unicorns" are doing - burning through cash by investing in stuff that will give them massive advantage in the future. Why profit when you can grow massively? (hello Gigafactory! hello Solar City!)

Sure, I can see how this is not a company to invest in during daily trade. But it's not a company that ever said it's in it for the quick buck. 10 years ago it was failing in delivery of Roadster. 5 years ago it was failing in delivery of Model S and 2 years ago it was failing in Model X. If you ask me, I'd love to fail on the scale Elon and Tesla fail. Unless something really really random happens, Tesla is not going down anytime soon. Sure, M3 is risky, Solar City deal might be iffy, but I think some of the smartest people in the world are running this company, they're not gonna flip it.

I mean, a chat app aims to be valued at $25bn vs a company that delivered almost 200k feats of engineering in the last 10 years and everyone is laughing at their current valuation of $40bn. What is wrong with the world?

michaldudek··on This Week in Rails: jQuery no longer part of Rails, and more
I'm not a Ruby/Rails dev, but why the hell was it ever included? :o Isn't Ruby a backend language and Rails a backend framework? :o
michaldudek··on PHP the Wrong Way
And that's how Laravel was born...

This website should be taken down. Wanna be back to the 2000's, are we?

michaldudek··on Ask HN: Freelancer? Seeking freelancer? (June 2016)
SEEKING WORK - London, REMOTE (EU timezone, shorter / 1 month engagement)

Full stack developer and then some. Believer in making the world a better place through technical advancement and solving important problems.

I've been in the industry commercially for 10+ years (and more as a hobby), working on magnitude of projects both professionally and as part-time hobby work. I have a deep understanding of how the web works and believe that it's our role to hide its complexity from the end user.

My core skills include:

- PHP (many years of experience with various libraries and frameworks, incl. Symfony 2, Doctrine2)

- JavaScript (ES6) in the browser (vanilla, jQuery, Bootstrap, AngularJS 1.x, React, D3.js)

- JavaScript on the server (nodejs, express, knex)

- SQL (MySQL, PostgreSQL)

- NoSQL (MongoDB, Redis)

- Swift for iOS / OS X

- CSS (LESS, SASS)

- some devops (Vagrant, Chef, Docker, statsd, capistrano, GitLab CI, nginx, Apache2, MySQL, MongoDB)

I can see an app from the very first brainstorming session, through prototype, testing, development and deployment to production. I've run projects for clients and my own projects with paying customers.

Website: http://www.michaldudek.pl

LinkedIn: https://uk.linkedin.com/in/michadudek

Github: https://github.com/michaldudek

Email: michal@michaldudek.pl

michaldudek··on The reason Angular JS will fail
Waaaat. How can you say Angular is hard? I don't think I ever encountered a framework or a technology that I picked up so quickly. Hell, node.js took me longer (with all the callback hell and workarounds for it). I've built several apps in Angular now (and am close to finishing a very complex one) and I dont think I have ever gone through a tutorial.
michaldudek··on All Visitors to Sochi Olympics Immediately Hacked [video]
How ironic.
michaldudek··on Ember.js is driving me crazy
Should have gone with Angular :P
michaldudek··on Injection of malicious code into jQuery is increasing
I don't think the author has a clue of what they are writing about...

"In this case, speed and efficiency have higher priority than human readability, therefore jQuery includes only essential features to keep the code tight and focused by using minimal variable and function names, minimal use of spaces, no comments, etc."

Someone mixing library purpose with minification process.

And I bet that all those infected scripts come from one infected website. They're not out there in the wild spreading through all jQuery installations and all jQuery plugins.

michaldudek··on Unit Testing Best Practices in AngularJS
It's not "this or that". AngularJS is a complementary framework for client side instead of server side.

That said, AngularJS can offload a lot of server side work. Mainly rendering views and the overall presentation layer. You can basically ditch your server side templating system and make your Rails, Django, PHP or node.js a simple REST API endpoint (with some additional auth system based on cookies or smth).

michaldudek··on The same app 4 times: PHP vs Python vs Ruby vs Clojure
Just like others say, PHP is probably the winner here:

- You're comparing raw PHP with frameworks from other languages. Try not using frameworks in other languages.

- You're saying that PHP has no dependencies manager - http://www.getcomposer.org

- Using anything more than PHP for such task is an overkill.

To be clear, I'm not saying that PHP is the best language of them all. Like all languages it has its ups and downs and there's a lot of subjectivity on what you like and dislike. I'm just saying that such comparison isn't really fair.

michaldudek··on Show HN: Word Tree in D3.js
This is super awesome! Any plans on releasing this on github?
michaldudek··on Addition of 1 and 1 in PHP
What if I need to add 2 and 1? Is there a lib for that? Or would this one need to be completely refactored?

Also, in what version could we expect ability to handle 2 digit (or more!) numbers?