HNHacker News
TopNewBestAskShowJobs

hugocbp

370 karma · joined July 29, 2016

submissionscomments
hugocbp··on Dropbox Capture
Same here.

I love Dropbox, but more and more often I am completely quitting and closing the Dropbox client because it takes over the computer processing.

I welcome all the new features they are developing, I just wish they would release a Dropbox Light client that didn't try to have those features or anything more than a sync utility.

I miss the old menu-bar Dropbox that I never even noticed it was running...

hugocbp··on Law school applicants surge 13%, biggest increase since dot-com bubble
I used to be a Lawyer and transitioned to IT, though my Law experience is not in the US.

I agree that there is a big misconception about lawyers and wages in most places. In Brazil, where I started, some lawyers really do make a lot of money but the vast majority of them earn barely above the minimum wage (doesn't help that Brazil has more Law Schools than most places due to bad higher education policies).

One of the reasons I left Law was because I burnt out. In my case, the main reason was mostly a mismatch of personalities. In Law, specially Corporate Law that I practiced, you just need to be ready and on point for a fight at any given time. Be it in a contract negotiation, a government inspection that is not totally according to terms or sometimes even fighting your own client that really wants you to say it is ok to do something that clearly is not and he is going to regret it. I just didn't have the personality to do that day in, day out.

I haven't experienced burning out in Tech yet, but I imagine it would be completely different. In my case, even in stressful times I enjoy that most of the day to day is just me, trying to solve problems by myself.

So, to address your question of "do I really want to go from being burnt out in IT to being burnt out in law?", I'd say:

If you have the type of personality that gets energized by being and interacting with people, even in a combative manner, "burning out in Law" is probably more adequate since you can can still take a break and come back.

If, on the other hand, too many people interaction and specially contentious interactions drains your energy, "burning out in Tech" with computers is probably better.

When I try to summarize my case, I usually say:

If as a kid you would enjoy more being in a debates club, you will like being a Laywer. If, on the other hand, a robotics club seems more enticing, then tech is more likely.

In the end, burning out is burning out, in any profession. The question is more: can you go back to being energized after taking a break? And that has more to do if you what you do aligns with who you are.

hugocbp··on Templating for Lawyers
This is such a cool idea. As an ex-lawyer turned developer, I wish I had thought of that.

In my career, I probably wrote 1000+ corporate contracts, but most of those were about +/- 8 types of contracts with 80% of clauses repeated.

Me (before knowing programming) and most organized lawyers I know, just had a huge "Clause Database Word File" where we dumped common clauses that we just copy/pasted when building new contracts.

I believe there are a lot of opportunities to make software for lawyers that automate those things.

I'm glad I made the transition to programming, but it would have been awesome to know those tricks when I was write dozens of those contracts every week.

hugocbp··on Norway investigates 23 deaths in frail elderly patients after vaccination
True. The title is more dire than the actual content of the article.
hugocbp··on Norway investigates 23 deaths in frail elderly patients after vaccination
This article will likely get picked up by other media vehicles and sensationalized, but the writing on the link is very sober and very clear that they are just investigating.

I actually liked it a lot and will save this for when people start spreading the "gloom and doom" version of this news that might be coming soon.

hugocbp··on Intel CEO Bob Swan to step down, VMware CEO Pat Gelsinger to replace him
Maybe classifying Intel as a sinking ship may be too much of an exaggeration.

Competitors maybe passed them in the last couple of years, but Intel is still in a really solid position to turn things around.

Apple's situation was a lot more dramatic. Intel still has a very good market share and can probably take a couple+ years to safely get back on track, in my opinion.

hugocbp··on How to overcome Phone Addiction
I do the same. I even used the terminal commands to change the granularity of the blocks and extend the length.

And the same things happens to me. A lot of times I don't even want or think of going to HN, Reddit, Twitter. I'm just bored or frustrated and, almost unconsciously, I hit the shortcuts for Browser > New Tab > Focus Address Bar > Start typing n, r or m (for mobile.twitter.com).

Some things that helped a lot with this, together with SelfControl, is to change all new tabs to a blank page and disable autocomplete in the Firefox navbar.

That last one is not very good for everything, so it would be better to just delete those automatic sites from the suggestion list. I never really took the time to see how it's done of FF, though.

To change the timings in SelfControl, use (sorry, it is a very very old note in Evernote so I don't have the original source anymore):

defaults write org.eyebeam.SelfControl MaxBlockLength -int [maximum block length in minutes]

defaults write org.eyebeam.SelfControl BlockLengthInterval -int [block length interval in minutes]

hugocbp··on Cypress: Fast, easy, and reliable testing for anything that runs in a browser
We've been using Cypress at work and we (well, at least I) have a love-hate relationship with it.

Coming from Capybara in Rails, it is a very noticeable improvement.

Unlike others here, we never really had issues with the chaining. We don't mess too much with custom commands. We just have a library of about 30-40 small helper functions, mostly to do simple steps to test UI elements from Material UI, React Select, etc.

So, for example, if we need to select something with React Select, it can get tricky. It is a multi-step process with Cypress to ensure the thing is actually rendered. But after we do that once, it is only a matter of making a `selectDropdownOption(tag: string, option: string)` helper function. We have dozens of tests that are just 3 or 4 lines of those helper functions.

One of the major drawbacks we have with Cypress, though, is about the data. Since Cypress just uses your `localhost`, it uses whatever DB you are connected. I really miss the Capybara/Rails integration of just spinning up a proper test DB, seeding it and then destroying it after the tests were done.

I bet there are ways to do this with Cypress, but it is just not as straightforward as it was in Rails.

hugocbp··on On Learning Chess as an Adult – From 650 to 1750 in Two Years
That was an amazing read but, to me, the whole thing sounds to me more like a second job than a hobby, if I'm being honest. Obviously different people relate differently with those side activities but your dedication to learn chess puts it very much outside my personal definition of hobby or unwinding activity.

I have a analog story that ended up burning my up with my hobby: playing music. I played guitar (acoustic and electric) since I was a teenager, and sometime after I was an adult, I decided to double down to really learn it (as a hobby, since I already had my main career). I set up several hours a week for deliberate practice, started a classic guitar class, tried some Brazilian MPB class. The endgame for me was that I got completely burned out.

After doing that for about 2 years, playing became a big chore for me. One day I just stopped and didn't touch a guitar again for almost 5 years.

It was still very interesting to see how you approached it.

hugocbp··on Volt: A reactive web framework where your Ruby code runs both server and client
I remember being very excited about it years and years ago but, as far as I remember, the maintainer stopped updating it and nobody was up to pick the project up.

Unfortunately the blog does not have dates but the last update on the repo is 5 years ago.

I believe this project is basically dead.

EDIT: This is the post from the maintainer I remember seeing: https://github.com/voltrb/volt/issues/357

hugocbp··on Netflix raises monthly charges for U.S. subscribers
I don't think that is true. Sadly, sports is the one big thing that still prevents most people from cutting cord for real, but I prefer the current "multi streaming service" world a lot more than the old cable world.

As I said in another comment, you can just keep one subscription active at a time. It is way cheaper than cable and you can still rotate pretty quickly.

If something really good comes, you can subscribe to both for a short period, but most of the time you can do pretty well with just keeping one active.

I wish a Netflix-for-sports existed already, though. I always had to keep the basic cable just to watch my team's football (soccer) games because you can't get those in any other way.

hugocbp··on Netflix raises monthly charges for U.S. subscribers
Basically the same that I'm doing. If I am in the middle of something in one, I'll just renew it.

Works really well. Usually by the time you go back to the first service, there are some pretty interesting new things that might slip by if you just kept that one.

hugocbp··on Science Fiction Stories with Good Astronomy and Physics: A Topical Index
I tried to keep all examples very, very general not to spoil anything.

As a good sci-fi, the books will use some magic here and there, but it is very discrete, in my opinion. Not even close to what most popular space stories do for convenience.

I gladly accept that part you are talking about since it came with a very good balance in other areas.

hugocbp··on Science Fiction Stories with Good Astronomy and Physics: A Topical Index
Not sure if it is on the same level of realism as those listed for evertyhign, but "The Expanse" series by James S. A. Corey for me was a breath of fresh air.

The book really considers things like the time it would take to go from Earth to Mars, or the edge of the Solar System, and also take into account gravity forces in battles and other events.

It still has a lot of very sci-fi things in some areas, but it was very interesting to see that going from Earth to somewhere after Neptune really took 8+ months for the passengers, including some of the psychological stress of spending that much time together on a small ship.

The TV Series is also good but misses a lot of those little things that the books explicitly deal with. It became my favorite book series because of that.

No magically going to another galaxy in the blink of an eye. Going to another planet always required planning, sacrifices, time, etc. In addition it also has some pretty nice politics compared to other space stories.

hugocbp··on São Paulo Labor Judge Rules Uber Must Pay Full Employee Benefits to Drivers
In Brazil's case, they don't need to do that.

The law establishes that to be considered an employee/employer relationship, there needs to be a level of control from the employee's journey/hours, etc.

That control simply does not exist between Uber and Uber drivers and that is why it is considered that they fail the legal employee definition.

Obviously there is disagreement, as with everything in Law, but in this case you really need to bend the definition to make it fit the requirement.

As I said before, I fully agree that Uber drivers and other gig workers need some protection, but I also fully agree with the ruling that they do not fit the current legal objective definition of a employee/employer relationship. It simply does not.

We need new laws for those cases, or to change the legal definition (which is unlikely). Judges giving those rulings is basically having judges creating laws, which is not how it is supposed to be (by the way, Brazil does not have Common Law, so other rulings do not have the same power as in US/UK and other Common Law states).

hugocbp··on São Paulo Labor Judge Rules Uber Must Pay Full Employee Benefits to Drivers
They just do not agree with the Superior court's decision, so they keep giving those rulings knowing full well they will be reverted.

Labour Justice is its own court in Brazil. They have their own structure that only judges labour issues and they are usually very protective of employees. My guess is that this is just a form of protest by the first instance judges that do not agree with the ruling.

This, unfortunately, is very common in Labour cases in Brazil (at least it was when I stopped being a lawyer there about 3 years ago).

hugocbp··on São Paulo Labor Judge Rules Uber Must Pay Full Employee Benefits to Drivers
This is very important. I also posted my own comment about this.

There were dozens of rulings like this in Brazil already. They all got reversed in upper instances.

hugocbp··on São Paulo Labor Judge Rules Uber Must Pay Full Employee Benefits to Drivers
Just to put this in context, this is a first instance ruling. There were dozens of those already in Brazil, but they are all reverted in upper instances because the supreme Labour Court has already decided they are not employees (Brazilian labour laws have very specific requirements to be considered so and Uber drivers definitely fail a couple of those objective requirements).

I understand that there is a need to protect those drivers (and other gig economy workers), but trying to bend the law's definition is not the right way to do it. This will get reversed as all other cases did.

hugocbp··on Should lawyers learn to code? Arguments for and against
As a corporate lawyer that transitioned to software engineering, I'd say lawyers need to learn to code about just as much as everyone else.

Coding is clearly really useful for repetitive stuff and to deal with lots of data, but from my own 10 years of experience practicing law I honestly do not see anything in particular that would make a lawyer benefit more than other professions from coding.

Looking back at my time, maybe having an app that had contract clauses and allowed me to quickly set up a base one from the templates would be helpful and save some time. Nothing huge.

Managing lawsuits is a great candidate, but there are already dozens of "spreadsheet apps" that do that, as are there apps to keep track of contracts (expiry, increases, thresholds and so on).

A lot of research is already taken care by Google and other apps (consider Brazilian law practice here, which is based on Civil Law so a little different than Common Law in US, UK, Canada).

In summary, learning to code is not really that huge of a deal for a lawyer. It is still helpful like it is for most professions, but I honestly do not see a lawyer that codes having that great advantage over one that doesn't.

hugocbp··on Brazil sets new record for homicides
I'm from Belo Horizonte now living in Canada... Mostly moved because couldn't take the anxiety of being in fear every single time I had to leave home.

Most people just play the numbers game. I, for example, have been robbed at gunpoint, with a knife, with 4 teenagers threatening to beat me up when I was 14 and I was even "lightning kidnapped" (I don't even know the term in English, but I was put in a car and bandits kept me for 8 hours and drove me around waiting for the banking hours to reset the withdraw money from ATM to take more form my account).

A lot of my friends, though, have never been robbed at all.

In general, we all know we are subject to that, but in the end it is mostly just bad or good luck. Just being in the wrong place in the wrong time.

From all the people I know, those that have never been through this just live life mostly normally. But once you've suffered that at least once, you can never really fully rest again.

The homicides problem on that news is actually not that relevant in that context because, as others have said, it is really concentrated in poor neighborhoods or slums, where the State basically is nonexistent.

For example, in a lot of violent slums, criminals take and sell access to pirated cable TV, energy and water, to the point where the official employees can be made to fix stuff when they go there to try and cut signals. That is how absent the state is in those places.

But when you see homicides numbers like that go up, probably the random crimes to the whole population is going up as well.

hugocbp··on My First Year of Freelancing
That is really impressive!

Do you have any resources like blog posts sharing more details on some of those strategies? I would be interested in reading about your experience.

hugocbp··on 'The Expanse' Canceled at Syfy
It was featured a lot in Brazil as well up until Season 2. For a whole month it was the only thing that showed featured for me. So much so that I watched the first episode and bought the books (because the story is very condensed on TV).

It is a shame... Expanse was very high quality sci-fi show.

hugocbp··on Build your own X: project-based programming tutorials
This is great! I always had this idea of trying to "build my own" to learn stuff ever since I followed along a book called "Rebuilding Rails" and so much stuff "clicked" for me.

I've already starred the repo and when I have time I'll search my Evernote because I know there a few notes there from projects that would fit this collection.

hugocbp··on Ask HN: How to self-learn math?
So, I decided to go back to study Math from the very basics to try some more advanced Data Science stuff later and I'm really enjoying Krista King's courses on Udemy.

They are very clear and straight to the point. She currently has courses on Fundamentals of Math, Algebra (I and II on the same course), Calculus (I, II, III, in separate courses) and Geometry and Trigonometry. She is also preparing some Probability & Statistics course and later a Linear Algebra one.

That is the only way I could self-learn Math without quitting after more than 12 years without doing math at all in real life. I was originally a Lawyer so I didn't care much for Math in school and didn't have anything relate to Math for all those years until now.

I tried a bunch of other paths, like challenges, For Dummies books, more advanced University open courses... Nothing stuck until her courses.

They are not free, but you can find basically permanent Udemy coupons to buy each course for USD 10.

Here is her profile: https://www.udemy.com/user/kristaking/

hugocbp··on Operation Serenata de Amor – An AI project to analyze public spending in Brazil
The difference here is that voting is compulsory and a much bigger part of the population can barely read, let alone judge more complex situations.

In the US, the "stupid" (as you call them) voters can stay at home if they are uninterested in the election. In the very least, this makes the voters be more involved.

Here, a lot of people only remember they need to vote when they try to buy beer on the Saturday before the election and they can't or when they turn the TV to watch their soap operas and see the mandatory political programs instead (and turn it off instead of watching).

hugocbp··on Operation Serenata de Amor – An AI project to analyze public spending in Brazil
I say it is a start...

The thing is, the data is already public, but the volume is just so big that nobody paid much attention.

Now, at very least, some politicians will be weary of spending something that MIGHT look suspicious. Mostly the young ones.

The old politicians here have no shame whatsoever and know they will keep being elected until they die or retire.

About the judges salaries, there are a couple of other Twitter accounts that regularly publish out-of-ordinary payments as salaries and pensions.

As a Brazilian, I don't think this will change anything, but I think it is a great project that will at least prevent some "in your face" absurds that our politicians like do from time to time.

hugocbp··on FoldingText – Plain text productivity for Mac users
That looks really good. Already downloading to test it out.
hugocbp··on Video: Inkdrop – The Notebook App for Markdown Lovers
That looks awesome! I've been waiting and asking Evernote to do something similar for years, to the point where I just gave up writing long notes there.
hugocbp··on Indie Hackers: Learn how developers are making money
I also found it awesome! I too don't have a need for it yet, but I'll sure take a look at it later when the need arrives!
hugocbp··on Some thoughts on Elm Development
I completely agree with you. I'm really excited about Elm, specially because of the quality of everything in the community and ecosystem, but to say that the syntax is better than HTML or that it is readable by non-programmers is a bit of a stretch.

When I first ran into Elm the first thing I looked for was an alternate syntax of some sort.

The tech is amazing and I truly believe we got something here that will last, but not because of the syntax.

← PreviousPage 3 of 4Next →