HNHacker News
TopNewBestAskShowJobs

yagodragon

1,305 karma · joined November 2, 2016

submissionscomments
yagodragon··on Ask HN: Flutter or React Native or Kotlin Native, Which One?
Depends on what you want to do. The biggest advantage with native languages like kotlin or Swift is that you can leverage the platform APIs and implement interesting features.

That being said, recently I used flutter for a small ~5KLOC project and I was impressed. It was the most fun and productive experience I had in years. The tooling is amazing.

If your app isn't really using any platform specific functionality, give it a try.

yagodragon··on DHH: The HEY stack Vanilla Ruby on Rails, MySQL, redis, stimulus, elastic search
If they spent all this time and energy into building a high performant and minimal react/vue app instead of using their over-engineered in-house front end frameworks the result would be even better. Maybe they should just embrace Vue.js which, like rails, is also an indie open source project ,not backed by big co. Vue 3.0, while still in beta, brings lots of improvements on the table and the new custom renderer api would make it easier for their team to also target native mobile apps.
yagodragon··on Hapi.js project is reaching its conclusion
I'm not talking about Javascript as a language vs Ruby/Python. Javascript is super hot and exciting and react.js is eating the web no doubt. I'm talking about classic, stateful MVC monolithic backends, which is the most common architecture for web apps. This is where Node.js sucks.

Seriously, if you created a new SaaS business, would you choose express.js instead of Rails for your backend? I believe you'd be in a serious disadvantage.

> As Ruby wanes into death, Express takes its place.

Say that to Github, AirBnb, Shopify, Stripe and many more companies.I don't even know ruby or rails but i appreciate what it has done for the web and how much time it's saving people around the world. Express.js basically ignores all these advancements in productivity brought by rails, by requiring you to install so many small packages for small details that you'll probably need at some point anyway.

yagodragon··on Hapi.js project is reaching its conclusion
It doesn't really matter anyway but Koa.js(and express.js) creator TJ Holowaychuk switched from Node to Go at ~2014 and hasn't look back. After all these years he's still the number one contributor on github. It's very sad seeing how poorly maintained all these nodejs stuff is. 5 years ago everyone thought that express.js is gonna disrupt the world and replace "legacy" web stack
yagodragon··on Hapi.js project is reaching its conclusion
Most of the web apps are mostly CRUD at the end of the day and boring stacks like rails,php,python are perfect for this kind of job. The most popular node.js framework is express.js and it doesn't even have anything built-in to parse request bodies. You'll have to reinvent the wheel in every single step of your app.

Sails.js, adonis.js, nest.js meteor etc are all pretty much dead. They try to poorly re-implement everything we love about rails/django. Heck, even modern PHP with type-hints and symphony/laravel is better than full-stack nodejs these days.

If you're so lucky that your django,rails api can't scale your load, you can use Go which is also way better than node.js in every single aspect (standard library, language, tooling, deployment, performance).

That being said though, i'm really excited and curious about graphql servers and prisma.js and how all these tools could eventually introduce a new way to build crud apps but for now i'll stick with proven tech and wait.

yagodragon··on Hapi.js project is reaching its conclusion
This is very sad. Hapi.js seriously tried to bring some sanity back to node.js development. Eran Hammer is a rock star. He did an amazing job, brought a super clean codebase, secure defaults etc but i feel the timing was bad. Hapi.js was good just for API's. Do you want to use it with a database? Good luck finding an orm and setting up migrations on your own. Meanwhile, in the last couple of years golang exploded and the node.js found it's niche in react server side rendering.

I feel that every node.js MVC backend framework or the MERN stack of the 2015 era will become obsolete. That includes adonis.js , nest.js , meteor etc. I still haven't found any job description mentioning these frameworks. If you're looking for a backend language for your next project, look at python, php and rails and use javascript where it's good at, the front-end.

yagodragon··on Ask HN: If I only learn one static typed language, which one should I learn?
Go is probably the best candidate for a safer and faster python. However, if i had to choose only one statically typed language to learn that would be Java. The language is super popular, the tooling is great. There are tons of learning resources and books. It's used by big tech companies(amazon, google etc) for some serious engineering work. It opens up the door to the jvm world where you can also explore languages like kotlin, scala and clojure.
yagodragon··on Ask HN: Solo devs, what’s your choice lang/library for rapidly making REST APIs?
while everyone knows javascript that doesn't mean it's always the right tool for the job. Personally, i had the worst experience with node.js for the backend. There are no standards,you have to configure almost everything from scratch. The best answer might be Ruby on Rails or Laravel. Laravel might be easier to get started,though. Don't be afraid of PHP, it's just a fine, boring language that gets the job done quickly. With Laravel you get authentication and ui scaffolding in minutes, built-in modern asset pipeline with webpack, great tooling, deployment tools etc and a huge community around it.
yagodragon··on MIT 6.001 Structure and Interpretation (1986) [video]
I'm studying CS but haven't heard any concrete examples of why I should learn a lisp (scheme, Clojure). Every time I ask i get pseudo-intellectual answers of how it will expand my mind, make it easier to express complex human problems/domains into code or even make me re-evaluate things in life on a philosophical level. What? On the one hand, i'm sooo curious to study all of this and see for myself, but on the other hand, life's too short and I'm already spending so much time in front of a PC to get my degree, learn a couple of more languages, make side projects on github, personal blogs etc to make myself more employable.

Anyway, i know this is HN i'm asking, but can you give me at least one compelling reason why I should study lisp,scheme or clojure ?

yagodragon··on The Return of the 90s Web
That's a big difference. I can't use a cheap shared hosting and managing a VPS (os updates, database backups etc) is too much for a small blog. Node.js is fine but it turns out after all these years, php is still the king in crud,blog,cms type of application, which is the 99% of the websites out there.

As for the members feature, wordpress has tons of "membership" plugins. Still though, Ghost landing page for members[0] does a great job explaining why i need this. Excellent design and copywriting

[0] https://ghost.org/members/

yagodragon··on The Return of the 90s Web
Ghost looks great and very polished! For me though, it provides much less out of the box (no built-in comments etc). It's also harder to self host and manage and the hosted service costs 30$/month which is extremely pricey for an indie blog. 3rd party ecosystem for wordpress (plugins/themes) is huge. I can easily extend my blog to an e-commerce store, an online community etc.
yagodragon··on The Return of the 90s Web
I really hope personal blogging becomes popular again!. Speaking of which, I still haven't found a really good alternative to the "horrible" WordPress for blogging. It has:

- Integrated API, RSS

- Tons of plugins

- Accessibility, translations

- Easy and powerful editor(Gutenberg)

- Comments sections and forms w/ complete ownership and moderation

- Easy data imports from multiple platforms.

- Users and roles

- 100% open source w/ GPL. You own your data

- Extremely easy and cheap to host and move around.

I love modern tooling and git based workflows for all my project but my "static" 11ty/Gatsby.js blog doesn't provide all these features out of the box. Instead of writing, you end up reimplementing basic cms features.

yagodragon··on Advice to Young Web Developers
I also love when i visit a website with a simple markup and minimal js. Not everything should be a react/graphql isomorphic SPA, but have you checked NotionHQ[0]? The whole thing is a single page react app. People use it to build wikis, manage projects and even create blogs and job postings. All that using client-side rendering. It doesn't load as fast as hackernews but most people seem to love it either way.

[0] https://www.notion.so/

yagodragon··on Lightweight Alternatives to Google Analytics
I'd like to ditch google analytics for a new small side project I'm building. I live in a small country in Europe and for me the most important feature of these alternatives is the cookieless tracking and the lightweight scripts. However, the pricing is too steep for a project that won't gain more than thousands users.

Fathom analytics and simple analytics cost ~100$/year.

Plausible costs ~50$

I really liked and almost settled with plausible but I just saw goatcounter right now. It's free for personal / open source projects. That's so nice for small projects like many people here are building.

yagodragon··on Install Linux from a running Windows system, without need for a live USB
Wow, has anyone tried it? I really want it to work as expected. This could really help adoption.
yagodragon··on Dart: Sound Null Safety
Wow, they really listen to people's feedback. Looking forward to testing it with a couple of small apps I have once it becomes stable. Overall, the dart/flutter experience has been amazing for me. The team looks serious about providing the absolute best developer experience and so far they've done it.

Flutter's future looks promising because it's also a first-class citizen in the new Fuchsia OS. I don't know how's that experiment gonna end up, but even today it can be considered one of the best UI toolkit we have.

yagodragon··on 25 Years of PHP
Python received much of its latest praise from introductory level college students that haven't done much programming other than "import numpy". I've used python and sure i like it better than other "bad languages" but when you look around in the real world you see that it's not the best or the most popular choice.

- cloud/ops space has moved to Go

- Java/C# are overall better languages and more productive environments than python for large scale services.

- A million websites still use php and the community is thriving. Billion-dollar companies use ruby to transact billions of dollars (stripe,shopify).

- Js is eating the world

Python found its niche in AI/ML space and sure is a great language but that's it?

yagodragon··on Ask HN: What is the ideal developer experience in 2020?
Most answers are about backend/infra etc but i'm going with client side apps and especially Flutter(Dart) + Android Studio. In 30 minutes, tops you have a production-ready environment to develop mobile (and soon web) apps.

- flutter doctor: checks your Flutter installation and shows missing platform dependencies, if any.

- Dart is a very nice statically typed language with a decent standard library.

- Flutter has A LOT of prebuild components for almost everything you need and makes it easy for you to build your own by composing existing ones.

- Built-in code formatting tool (dartfmt) and testing framework

- flutter.dev has everything you need to know in one place.

- pub.dev is a central place for all packages. dartdoc generates beautiful API reference pages for all packages on pub.dev and you can use it on your own packages as well.

- It works on all devices, all android 4.1.x or newer and iPhone.

I think it's the best tool if you want quickly build a nice looking user interface.

yagodragon··on Strapi – Open-source Node.js Headless CMS
is this a completely new version? I remember ghost and strapi blowing up in the node.js community couple of years ago with the promise of replacing WordPress, but haven't really heard of strapi since then. Now i see it supports not only Mongo DB, but postgres, mysql/mariadb and sqlite and that's very interesting. Did you replace the traditional node.js orm with a graphql server?

Am i missing something else? Why should i still use strapi today?

yagodragon··on 2020 Developer Survey Results
What's the matter with Perl? I don't remember seeing it anywhere near the top-paying programming languages the last couple of years. What happened this year?
yagodragon··on 2020 Developer Survey Results
Is Flutter/Dart the Ruby on Rails of UI development? I know it may put some people off that we have to use a completely new language to solve problems we've already (kinda) solved, but I believe this time google got it right. The ideas, execution, tooling, and community are amazing. Give it an hour and you'll love it
yagodragon··on Show HN: React Native scrollable bottom sheet native animations gestures 60FPS
meanwhile, I've made a small app with Flutter and loved it. Everything just works. Install it in 10 minutes and you're good to go. In flutter everything is a widget and creating your own widgets by composing other widgets makes so much sense. Seriously, you have to try it to appreciate it. Dart is also nice and easy for those familiar with Java and JavaScript.
yagodragon··on Rebuilding our tech stack for the new facebook.com
I can't decide whether I love or hate the UX of this new stack. It certainly feels more like an app now than a website. I like the new basic layout, "app shell" or tier 1 rendering. It feels like the First Contentful Paint is improved and some random layout shifts have eliminated. It might take a couple of seconds more to load something but it appears where you expect it to appear.

On the other hand, navigation and clicking around is still sooo slow. My 60-year-old aunt called me and asked if she needs a new pc because facebook makes her laptop fans spin like crazy. I couldn't explain to her about all this react-redux-graphql thing and frankly, she doesn't care. All she cares is that facebook is slow and all she does is post photos and talk with friends like she did 10 years ago.

yagodragon··on How I became a better programmer (2017)
I've heard so many things about Clojure. I am a CS student with some experience in the most used languages (JS, java, python). Can someone explain in simple cs terms why Clojure is sooo hyped? What can I do with this language that would be harder with other languages? From what I've gathered it's used in data wrangling and manipulation in general but most data-oriented tools are written in Python.
yagodragon··on Microsoft Teams goes down just as Europe logs on to work remotely
Would it be better if instead of relying on centralized servers, we used p2p solutions like Jitsi, which is based on WebRTC? Some universities and companies could even set up TURN servers for public use
yagodragon··on Building all of our new mobile apps using React Native
The web and its ecosystem are huge. The browser is essentially the new OS and no matter how complex and quirky js, react and the rest of the tools are, we're gonna stick with them for a long time. Big technological advances like PWA's, WASM and rendering engines like servo and webrender are only gonna shorten the gap between native and web UI experiences. Look at what happened to the desktop. Native UI development became a niche and even apps like photoshop are now just websites(figma) or electron apps. This is eventually gonna happen to mobile development as well. There will be no need to create native apps for most cases and no need to use those centralized app stores to "install" apps on your device.

That being said the web is not quite there yet and that's why solutions like react-native and flutter exist. I don't believe that react-native is the future. Many people have explained in great detail why the idea and the execution behind RN are just flawed and why it makes development hard and complex. Heck, it doesn't even eliminate the need for native developers. React-native is just a transitional tech we'll use until the web and PWA's become good enough for 95% of the cases. The future of RN is the Web.

On the other hand, flutter and dart seem to solve all of the problems we have with UI development. It's an amazing tech that combines all the best ideas from QT, flash, java swing, delphi and react-redux in one project that is completely free and open source. It's what we've always dreamed existed in the UI world. The development experience is great and designers seem to love it as well. Despite its advantages, flutter is still a huge bet and i can't see a world where everybody writes in Dart.

If I had to make a guess, I'm still betting on the web in the long run and hope flutter captures a small market share among frustrated mobile/web devs and designers. I just can't see react-native anywhere in between.

yagodragon··on Union Types have been accepted for PHP 8
When I started programming a few years back, I was told that PHP is legacy tech and a terrible language I should avoid like a plague. After years of battling with Node.js on the backend, I took a closer look at modern PHP and the Laravel framework and I was amazed by how good the developer experience was. The language itself feels like a lite version of Java. I believe everyone starting on web development should know PHP. It's hugely deployed, it has a very mature and rich ecosystem and it's a great language to build your side project/business without spending your time on meaningless tasks. Don't be driven by FOMO like I was, there's no such thing as a "perfect programming language". Every language has it's quirks and that's fine. PHP might be old and boring but it helps you get things done faster than using the new coolest language.
yagodragon··on Show HN: A news aggregator for the Python community written in Python/Django
Very good job, I like it! I like it even better that you prepopulated the feed with very interesting articles for the hn launch. Can you share any tips about your deployment process? I can assume you didn't use docker as i don't see any Dockerfile in your repo. Did you use ci/cd and/or staging servers etc? I really like Django but its deployment isn't as straightforward or beginner-friendly as something like laravel. I love hearing how people are managing their side projects.
yagodragon··on The boring technology behind a one-person Internet company (2018)
I'm also struggling a lot with django, react and the whole asset pipeline. On the other hand, frameworks like rails and laravel have it all figured out for you.
yagodragon··on Show HN: Browse Reddit in 3D
Despite being a 3d app, it doesn't make my laptop fans spinning fast like the current js-heavy Reddit web app. Kudos :)
← PreviousPage 2 of 3Next →