HNHacker News
TopNewBestAskShowJobs

apeacox

152 karma · joined October 15, 2010

[ my public key: https://keybase.io/andreapavoni; my proof: https://keybase.io/andreapavoni/sigs/g0H7R-OAG6R_161Xjw9BAzMp73JJPIYpNQw0ywFjPl0 ]
submissionscomments
apeacox··on Google is funding the creation of software that writes local news stories
Welcome to the Ministry of Truth
apeacox··on Two Approaches to Learning Programming: Top-Down and Bottom-Up
I usually start with Top Down to get a big picture quickly, then I do Bottom Up to dive deeper in details.
apeacox··on I made a Phoenix webapp as a veteran Rails dev
Yes, I approached elixir/phoenix (well, my very first project on it was a sort of ecommerce library), btw it's true that I didn't choose in only one month. Moreover, I tried other languages/techs during the years (Go and NodeJS/Express, for example).

And yes, sometimes my tasks go beyond the simple CRUD, but as of today, I'd choose Phoenix anyway because I find mysef more comfortable with it rather than with Rails.

Even the fact that I can think to use a 512mb DigitalOcean droplet without fear is a plus, but not the main reason :-P

apeacox··on I made a Phoenix webapp as a veteran Rails dev
I used my ~9 years experience in ruby/rails and invested 100% in elixiR/phoenix. I've found elixir way more simpler and elegant for my tasks, to the point that I start my new projects in phoenix (and ported some rails app to it too).

I still respect and use ruby/rails, but it's not my first choice anymore.

apeacox··on I made a Phoenix webapp as a veteran Rails dev
Commands (or Service Objects) are a better approach. Isolating business logic and actions let you keep the control of what's going on.
apeacox··on I made a Phoenix webapp as a veteran Rails dev
In short: you lose control of what is happening, especially when you expand/inherit other classes. These kind of problems arise after few months of development, when the codebase is grown enough and starts becoming even more difficult to change or extend.

Try to check Trailblazer for a different approach.

apeacox··on I made a Phoenix webapp as a veteran Rails dev
A rails veteran that still heavily relies on ActiveRecord's callbacks sounds a bit weird to me...
apeacox··on Build yourself a Linux
Well, I'd use http://linuxfromscratch.org/ for that matter...
apeacox··on Major routing issues on the Internet
Maybe DNS issues
apeacox··on AR Studio
A promising technology/concept with several potential applications used to produce ugly/weird effects on dumb videos. This is, IMHO, very depressing.
apeacox··on Vultr introduces $2.50/month plan
I've heard somewhere that Vultr retains your stored credit card indefinitely (even after you close your account). It sounds a bit weird, that's why I avoided their services. Can someone confirm this?
apeacox··on Ask HN: How do you overcome fear of failure?
You can't fail if you don't try at all. But you can't either succeed.
apeacox··on Ask HN: What are some well written/engineered open source software?
A *BSD OS
apeacox··on Ask HN: Should I continue to work for free?
Short answer: NO. Not for free.

Long answer: sorry, you should pay for a more articulated advice. (Yes, this is the first lesson).

apeacox··on The Immigration Ban Is a Headfake, and We’re Falling for It
‪During the 20 years of Berlusconi in Italy, we called this tactic "weapons of mass-distraction". Indeed, they worked.‬
apeacox··on I Knew Chelsea Manning in Basic Training. Here’s the Story You Haven’t Heard
Well, you haven't to be a soldier to be a hero.
apeacox··on Facebook has a mysterious team working on tech that sounds like mind reading
Next step: Thought Police
apeacox··on Ask HN: What web framework do you use? Why did you choose it?
I don't agree: from my experience (~9years of full time Ruby/Rails, including teaching and coaching) Ruby is not easy to learn, at least if you want to know what you're really doing. And Rails, as is, promotes several anti-patterns that will mess your app after 6+ months. Fat models are a bad practice, models as form objects are a bad practice, developing uour business logic almost totally on top of models is wrong. That's why some experienced Ruby devs are moving away from those anti-patterns by promoting real object oriented approaches: for some good examples check hanami web framework, rom-rb and Trailblazer.

My 2cents reply.

apeacox··on Ask HN: What web framework do you use? Why did you choose it?
I've mainly used Ruby/Rails from ~2008 to ~2015 both for work and side projects/prototypes, then I totally switched to Elixir/Phoenix for almost all my stuff. I still use Ruby/Rails for some works (where/when I can't use Elixir due to some constraint).

I've found that Elixir and Phoenix have an awesome community and a fast-growing ecosystem. The language is very clean and I can solve problems in a cleaner and faster way. It has all the tools I need and runs on a simple but powerful virtual machine with stunning performance and easy deployement. I can use websockets and async jobs without running external processes/daemons and thanks to brunch (or webpack, it depends) I have a powerful toolchain for frontend. Speaking about frontend, I've recently moved from React to VueJS, it's a very decent compromise between React and Angular: simple like React, with features and concepts similar to Angular.

apeacox··on To fixate on finding work that makes us happy is a luxury
Bull shit presented in an interesting and rhetoric way.
apeacox··on Logojoy: AI-powered logo creator
I did the exact opposite: I have ~8years of professional ruby/rails experience and I was building a little SaaS. At some point, after 100 hours, I got bored/stuck with only 20% of the planned features to reach a MVP. I decided to switch to elixir/phoenix, where I had few confidence and there was apparently a growing ecosystem not always ready or complete. After 100 hours I completed the MVP and launched it. Using elixir was refreshing and right now I'm using it for almost all my side projects/prototypes.
apeacox··on I don’t like computers
This is a modern manifesto. I'm almost there, just a bit less, for now.
apeacox··on From Mac to Linux: Web Development with Linux
1) overall integration between desktop apps

1b) desktop apps availability/quality

2) drivers and support

3) With mac, I open my laptop and I can use it like a toaster, without thinking how to fix this or that issue after a software update

bonus) iphone/appletv/ipad smooth integration

PS (especially for downvoters): I've used linux since 1999, I have a sysadmin background, I used to build my desktop/servers from scratch or by using gentoo (that is almost the same), I wrote kernel modules. So I'm not afraid to tinker with a linux system down to the kernel details. Again I switched to macOS because I was tired of all those little issues that made my daily work a crappy experience (eg: why my Bluetooth device doesn't work today?)

apeacox··on From Mac to Linux: Web Development with Linux
You can see the differences between linux and macOS when you consider your environment as a desktop workstation rather than a simple dev machine. I've switched from linux to macOS after 13+ years because, IMHO, the linux desktop overall experience sucks for everyday use.
apeacox··on The sudo fraud
The only thing I agreed was: "If you manage a server, use root". sudo is a good way to let unprivileged users to execute a restricted set of commands, it's easy to learn and setup.
apeacox··on Getting Started with Swift on Android
Consider it's a getting started, not a develop android apps with swift. Then it's explained in the FAQ, IMHO it makes sense.
apeacox··on Teen flew from Sheffield to Essex via Berlin because it was cheaper than train
With a bike it would be even more faster and cheaper... :-]
apeacox··on Criticisms of Angular
"BazarJS" is a series of articles about JS frameworks, pre-processors, etc... they already published the same in italian language some months ago. now they're re-publishing (with eventual updates) the same in english.
apeacox··on Criticisms of Angular
Your attempt to answer with an out-of-context question didn't worked. Please retry :-)
apeacox··on Criticisms of Angular
why?
← PreviousPage 2 of 3Next →