HNHacker News
TopNewBestAskShowJobs

joaodlf

970 karma · joined November 12, 2016

submissionscomments
joaodlf··on Guide to JavaScript Frameworks
Thanks for this, that was actually very clear and informative.
joaodlf··on Guide to JavaScript Frameworks
I come from a pure HTML + CSS + JS (mostly via jQuery) background. My career has headed in a direction that focusses a lot less in the frontend web, but every 2 months or so I read one of these guides and I get giddy - "Finally, I will teach myself angular/vue/react/backbone/knockout". After about 10 minutes I am filled with dread. I expect to learn about a specific piece of software, instead, I am greeted with requirements of previous knowledge on a whole bouquet of other technologies: node, webpack, babel, grunt...

It's just discouraging. This whole thing feels like a farce. I watch colleagues investing time in this and I feel sorry for them.

joaodlf··on PostgreSQL 10: Partitions of partitions
Oh, yes. I tend not to gravitate towards views, so got myself mixed up there :).
joaodlf··on PostgreSQL 10: Partitions of partitions
The problem with views in Postgres is that they are not updated on the fly, they require manual updating. For real time data, it's not a very useful feature.
joaodlf··on PostgreSQL 10: Partitions of partitions
Imagine a very large table, let's say it's a tally table where we frequently run analytics queries against. Even with optimised indexing, you're going to hit performance issues eventually (it all depends on query complexity + size of data). Partitioning essentially splits data into different tables - Let's say we partition by date range, we could end up with a table for each individual year/month/week/day, whatever really! Instead of then performing actions against one big table, you would effectively only affect the partitions that belong to the date range you're interested in. Partitioning is all about splitting data into multiple tables.
joaodlf··on PostgreSQL 10: Partitions of partitions
Foreign keys referencing partitioned tables are not supported. Joins are absolutely fine.
joaodlf··on Many major websites are taking silent anti-ad-blocking measures
Way too negative.

I have been using uBlock Origin for years and it's one of those things that just works. Turning it off in those rare moments it needs to be off is a bleak reminder of the state of the internet. Why would I want to go through the hassle of managing all of this work by myself?

A massive THANK YOU to the individuals behind uBlock - You literally make the internet tolerable for me.

joaodlf··on Overview of the Crystal language
I have never used Crystal before, but I don't understand how you can be against "everything is an object" and then say Python and Javascript are different... Pretty much everything in Python and JS is an object... So really, what does fundamentally differ?
joaodlf··on Spaniards face ham shortage as Chinese market gets taste for jamón ibérico
The grapes should ALL be from the same Douro region, I don't think you'll get much more information than that. My criticism towards Portugal's lack of export savviness is more to the fact that all brands I see abroad are typically non-Portuguese (Whereas you have to assume the vineyard belongs to a foreigner/company). Brands like Ferreira, Velhotes, etc are not commonly seen outside Portugal, on the other hand, common international brands are not typically consumed by the average person (lack of knowledge of said brands + higher price probably drives the Portuguese away)
joaodlf··on Spaniards face ham shortage as Chinese market gets taste for jamón ibérico
I feel the same as Portuguese. Granted we just don't carry the weight of the likes of Spain/France/Italy. But we are just so bad at exporting, it's unreal. I live in the UK and it's common to see all sorts of wines and meats from southern European countries in the supermarkets. Portugal will have 1 or 2 bottles of wine, typically from vineyards owned by UK nationals in Portugal. Even our Port - which is world famous - It's always from UK owned vineyards.
joaodlf··on China is catching up to the USA, while Japan is being left behind
This post goes over science and research, which to me is a consequence to other, "big picture", areas of the Chinese growth. Areas such as economy, geopolitcs and finances. China is no longer a contender - It's the true looming power of the East. And depending on how internal politics play out, it will be interesting to see where exactly China stands in as little as 10-20 years in the future.

One thing that strikes me about China is their attitude towards foreign politics - They still want the world to consider them as a "developing country". Sure, it's a gigantic country, both in land and population - There are still many challenges to overcome, but this is now a country with enormous cash reserves, who own a significant lump of US debt, and making truly gigantic strides on all levels of society.

joaodlf··on 10 years of love for Emacs undone by a week of VSCode
I have to admit, I open my IDEs maybe once a month (and only when a restart is imposed in me), and while indexing can take a while, I don't get anywhere near to the sort of issues you have, even on very, VERY, large codebases. Different hardware, I guess. Although I can't help but think the situation should be much worse under any Electron malarkey.
joaodlf··on 10 years of love for Emacs undone by a week of VSCode
I used VSCode exclusively while building a Go project, a while ago.

At the time support for this language was mostly offered via Vim and VSCode - Vim is a love/hate thing for me, so I decided to jump in with the cool kids and play with VSCode.

It was pretty great, the Go support was amazing, I was getting the productivity I needed. And then my project grew. And then my VSCode memory usage grew even more. It became clear to me just how bad this Electron deal is.

Maybe one day Electron/JS will grow in a direction that makes any sense when it comes to performance, until then you're better off just using other software - I absolutely recommend anything by Jetbrains, the license is affordable and extremely worth it, they now have an IDE for Go (not fully out but you can grab a EAP that works GREAT). I can't even begin to understand some of these blog posts - People seem to just now be discovering things like GoToDef, syntax checkers, auto tooling... Really? From Eclipse, to Netbeans, to the now amazing software provided by Jetbrains - None of those features are new. I like to try new editors/ides, but if they don't offer these things out of the box (or without minimal dependency management), why even use them? The feeling of lightness that your hardware disagrees with?

joaodlf··on Tweeting Made Easier
The network tab in Chrome does not seem to indicate they are collecting data for this. I would expect some sort of network activity as I type/reach the character limit, but I spot nothing.
joaodlf··on Sick of Ruby, dynamic typing, side effects, and object-orientation (2014)
In all fairness, this applies to any dynamic language - Especially scripting ones. Python, Ruby, PHP... It doesn't matter really, it's so easy for a project to grow out of control. I have growing insecurities when I program in these languages.
joaodlf··on Apache Kafka Goes 1.0
I don't understand how Kafka is a complex project to run. It's dead simple to install alongside kafka manager and we have dedicated no time to it since installation - just runs and does it's job.
joaodlf··on The Incredible Growth of Python
Agreed! I lean much more towards Flask (I'd rather have too much simplicity than too much complexity), but something in the middle would be fantastic.

A simple application structure with loose enough rules and a strong standard library is what I would like. Flask can be too little, Django can be too big.

joaodlf··on Riak and the demise of Basho
I have no experience with Riak, but I once went to a conference (a very short while ago) and saw a presentation by a higher up of Basho (I won't disrespect the person by naming them), in short: It was a very generic, bland and positively abstract presentation about big data. Other presentations were highly technical, so I was excited to get to know Basho as well - I came out of that thinking "wtf was this guy talking about?". It's obviously not a reflection of what Basho stood for, or even what the individual in question stood for, but that's the only memory Basho has left in me.
joaodlf··on Scaling Your Org with Microservices [slides]
If anything is trendier than microservices, that is bashing microservices.

Before this comment pool spirals into that, I'll just leave this: It all depends on your project.

Did you have a bad time with microservices? Maybe the implementation was wrong. Maybe the project doesn't fit the model. Heck, maybe the project would STILL be screwed under a monolithic approach. There are so many variables to what classifies a success/failure in the microservice world (like most other things in software development, actually).

What's important is to not have a polarising opinion: "microservices suck", "microservices should be used for everything". Analyse your requirements. Imagine your professional project a few years down the line. Educate yourself on the subject (there are books on the subject!). Make. Sure. It. Fits.

I've personally had successes and losses with microservices, just like I had successes and losses with other architectural styles.

joaodlf··on KSQL: Open Source Streaming SQL for Apache Kafka
I'm assuming that most "SQL" implementations in distributed systems don't actually follow the SQL standard. They just offer a SQL like syntax to solve common problems. I could be wrong, but that's the impression I get working with tools like Cassandra/Spark.
joaodlf··on Plans for partitioning in PostgreSQL v11
The direction being taken with data partitioning is great. I truly believe this will solve the issues of many companies when it comes to "big data"... This, to me, is the middle ground we have been missing between rdbms and nosql.

Congrats to the postgres team, what an interesting product.

joaodlf··on Let's Remove the Global Interpreter Lock
This reminds me how the sales/marketing teams in my company typically sell new features: "Not having this feature costs us 50k a month!"

It might as well not be the case here, I just found it funny, 50k is our little magic number.

joaodlf··on Timescale, an open-source time-series SQL database for PostgreSQL
Spark already does a good job at that, imo. It's increasingly easy to query information, at this point we are basically writing SQL-like queries with it. BUT, Spark isn't a relational db, or even a storage solution. What I miss is just having the one piece of technology that deals with both storing and querying: Actual relational databases.

It's interesting. 10 years ago I would have probably said something like that "relational dbs will just get better as data grows", quite the opposite happened... Relational has been pushed to the side and we now have to learn a lot of new technologies, in my case: Cassandra; Spark; Pandas (python). This whole stack used to be just MySQL :)... And I miss those days!

joaodlf··on Timescale, an open-source time-series SQL database for PostgreSQL
No limitations. Spark works and does a good job, it has many features that I can see us use in the future too.

With that said, it's yet another piece of tech that bloats our stack. I would love to reduce our tech debt: We are much more familiar with relational databases like MySQL and Postgres, but we fear they won't answer the analytics problems we have, hence Cassandra and Spark. We use these technologies out of necessity, not love for them.

joaodlf··on Timescale, an open-source time-series SQL database for PostgreSQL
I've come to rely heavily on Cassandra, but I miss good old SQL and adhoc functionality. Systems like Cassandra bring orher requirements when you need flexible data (Spark, for example), technical debt is always a worry for me.

I want to give this a go for sure!

joaodlf··on Pytest 3.2.0 released
This is a big one for me, too. Would make working with CI tools much easier.
joaodlf··on UK to bring in drone registration
Oh great, the rules have changed. Guess I should just uninstall the piece of software that came with the TV.

As for "over the top" - http://www.tvlicensing.co.uk/check-if-you-need-one?wt.mc_id=... clearly states a device could be pretty much any electronic device at this stage, not just TVs - So how does this work? How is it proven you don't actually benefit from a TV programs? Not having a TV doesn't seem to be enough in the eyes of the law. I don't necessarily want my details attached to a private company I have no business with, as I understand it they are just outsourced enforcement and there is no legal obligation to provide them with any of my details (the letters aren't even addressed to "me" as a person, but simply the "occupier"). I'd rather keep getting the letters than give them information they have no right to.

It's all ambiguous and nonsensical to me. If there is anything I actually enjoyed in my southern European origins is that governmental funded extortion was at least direct.

joaodlf··on UK to bring in drone registration
TV licence is a big nuisance, and to me it's just old media clinging on to the power it holds. I go home and accidentally start streaming through the BBC iPlayer (I wanted to watch a catch up program but my finger slipped), am I breaking the law? Am I considered a criminal by the state?

If they want to enforce this properly they need to do it at the device level. If I'm not supposed to watch TV then make it impossible for me not to do so, put a login behind it or something.

Not to mention the ABSURD methods they go to intimidate you into paying, even when you don't watch live television (in my case, I don't even own an aerial cable), every month I get a threatening, amateur looking, in red writing, letter telling me about my crimes and that I will just end up in court.... If I kept these letters I'd have to rent a garage just to store them, have these people ever heard about saving trees? :)

It's a silly tax, with silly regulations and silly enforcement that needs to go.

joaodlf··on Soti – A $1B firm built in a basement
I was interested in this too, so I keep on reading and finally understood: "Born in Pakistan to a Roman Catholic family that had its roots in the former Portuguese colony of Goa". Rodrigues is a common Portuguese surname. Once again, the empire strikes back :).
joaodlf··on Black Hat Go – Go Programming for Hackers and Pentesters
This needs some actual insight into the content of the book. Example chapters; More information on the authors; Anything really...
← PreviousPage 3 of 5Next →