HNHacker News
TopNewBestAskShowJobs

huherto

2,972 karma · joined May 16, 2007

Just a hacker
submissionscomments
huherto··on Technology Bookshelf
Note to self. Remember to bring this if you ever travel in time to the past.
huherto··on Why Google stores billions of lines of code in a single repository (2016)
The model that I've liked the most...

- Monorepo for all the services code in the enterprise. (Java )

- UI code is kept in their own repositories.

- Enterprise Services are exposed using well defined stable rest-like APIs. (json, http, swagger, etc). We only exposed what is needed.

- Within the services monorepo, services can call other services directly using regular java calls.

- Services in the monorepo are refactored all the time. This is the advantage of using a strongly typed language like Java.

- Several instances of the services run are a time, they scale horizontally. Releases are done one instance at a time.

- We had good unit and integration test suites on the services.

Now I am working for a different company. We have hundreds of services deployed. No one knows what is running where. Or what the dependencies are. Once something is released, everybody is afraid to make a change as no one knows how that is affects other systems.

huherto··on Why Google stores billions of lines of code in a single repository (2016)
> Interestingly, they only do that for java code. Java has good analysis and refactoring tools

I can definitely see this.

huherto··on Project Euler
That is quite an achievement. Can you comment on your background ? type of education, work.
huherto··on Project Euler
I agree that solving them with pen and paper is bad ass.

But many problems cannot be solved using brute force. They will give you one problem that can be solved using brute force, then in a later problem they increase some n to the point where it cannot be solved using brute force. So it forces you to find a better solution.

huherto··on Project Euler
Back in the day I solved the first ~100 problems in order. It was a great practice to sharpen your programming logic and I learned a ton of math. The problems became harder. But I haven't done any in many years. Do you think the newer problems are very very hard ? I have to admire the dedication of those who have kept on it.
huherto··on Hackers Steal $70M in Bitcoin
Thanks that was very clear. Follow up question. Could criminals use bitcoin as a payment method for ransom ?
huherto··on When is a dollar not a dollar?
You have received great advice already. I just wanted to add in case you don't do this already. Your hourly rate should be a lot higher when they only hire you for a few hours than when it is a recurring revenue. You want to motivate your customers to opt for the recurring revenue.
huherto··on From Bezos to Walton, Big Investors Back Fund for ‘Flyover’ Startups
I which I could send you a private inbox. I will definitely be interested on moving to NM for family reasons. My github account is huherto.
huherto··on From Bezos to Walton, Big Investors Back Fund for ‘Flyover’ Startups
538 predicted Trump chances of winning with 30%, which is a huge number. Clearly we are living in one of those timelines. I think people failed to interpret what that 30% meant. Edit: I am reading the rest of your comments which are very insightful.
huherto··on Court OKs child porn prosecution of minors distributing pictures of themselves
Lol. There is a different crime called "estupro" that applies from 12 to 18 even if consent was given.
huherto··on Court OKs child porn prosecution of minors distributing pictures of themselves
Not really. It is more complex than that. Keep reading.
huherto··on Cargo Cult Agile (2008)
> I think the most critical factor in the success or failure of a software development project is the skill and dedication of the developers.

And yet. It is part of the agile principles.

#9 Continuous attention to technical excellence and good design enhances agility.

I am shocked to see how the agile principles are ignored by "Agile Coaches".

https://www.agilealliance.org/agile101/12-principles-behind-...

huherto··on The Power of Prolog
I implemented the Wumpus World form Peter Norvig's AIMA using different techniques. I found that Bayesian Logic was much more powerful than Logic programming. Perhaps that explains why Prolog has flourished.

Logic programming is limited to values of true or false. 0 or 1. Bayesian logic can deal with uncertainty values like .2 or .3. It almost seems like a superset. It is also more intuitive IMHO.

I keep the wumpus implementation here if anyone is interested. https://github.com/huherto/aima3/tree/master/src/wumpus

huherto··on Unix Is Not an Acceptable Unix (2015)
I do a lot of things from the command line. But as soon as I have a few lines and I need to write a script I just switch to Perl(which I know better than Python). It just seems easier. I still call unix commands but Perl seems better to glue them together.
huherto··on Data Structures and Algorithms Problems
C++ is a large language that can be used in many different ways. People adopt a subset that is sensible for them. If you are interviewing C++ programmers, you should be aware of it.
huherto··on Mexican Newspaper Shuts Down, Saying It Is Too Dangerous to Continue
There was a time when we thought Mexican institutions would resist. I am from Chihuahua Mexico, and we thought this was just happening in the rural isolated areas. Then it spilled over the cities too. I have had family killed. Smart and educated, like you or me.

American and Canadian institutions are stronger. They have been able to stand.

huherto··on Show HN: React-data sheet, Excel-like spreadsheet component
Back in the day I did a perl spread sheet. I was only updating the cells that were displayed at the moment. There were also transitive recalcs too if a displayed cell depended on other cells.
huherto··on Education of a Programmer
Adding to this advice. Sometimes it is easy to blame the compiler, O.S., etc. In may experience it has been my own fault 98% of the time. Specially when using very popular software tools.
huherto··on Milk that lasts for months
This is probably what we call tetrapak milk in Mexico. You buy them in the supermarket and they last for months. I was surprised not find it in the US. It is very convenient. I don't think it tastes different than regular refrigerated milk.
huherto··on Ask HN: What do you want to see in Ubuntu 17.10?
FLAVOR: Ubuntu Desktop.

HEADLINE: Better support for proxy for those of us behind corporate firewalls.

DESCRIPTION:Passwords need to be kept in env variables which can leak out. Every tool does it a little different. curl, wget, chrome, firefox. I had to modify python code for apt-get to pass the proxy.

huherto··on Ask a Female Engineer: How Can Managers Help Retain Technical Women?
I think women perceive technical work as a low status. Many men do too. It just that may be men get more intrinsic value from it.
huherto··on Why Don't Computer Scientists Learn Math? (2016)
Paraphrasing the wise words of my uncle Rick, the rancher. "It is fucking hard to know everything"
huherto··on Columbus and the shape of the Earth, a “Holywood” story
There is a reason we are Eurocentric. That is precisely because Europeans discovered America. It changed their mindset. They started looking outwards while the Chinese kept looking inwards. It launched an era of exploration.

Fire, writing and textiles are prehistoric discoveries/inventions.

huherto··on Columbus and the shape of the Earth, a “Holywood” story
It changed the mind set of Europeans. It inspired them. They started looking outward. An era of exploration was launched. This is why Europe's culture is dominant all over the world.
huherto··on Ask HN: Leave job right before app goes to production?
It is understandable that you want to stay until the project is released.

Typically this is what happens on bad projects. Developers stay until they finish the job and then they leave. One of the best ways to evaluate the success of a project is to see if the team is stronger and more empowered after the project. If people leave, it says a lot.

huherto··on Columbus and the shape of the Earth, a “Holywood” story
Columbus travels changed the world. It is arguably the most important discovery in human history. Even if the Vickings were first you have to consider the historical significance.
huherto··on Why we should all have a basic income
The government doesn't have a single mind. Every agency has different goals and motivations. Sometimes they are even contradictory. We can choose where we want more government involvement and where we don't.
huherto··on Ask HN: Have you ever worked on a product that was killed by technical debt?
I don't think they usually get killed. They just die slow and painful deaths.

People are reluctant to change them so they don't adapt.

huherto··on Did Pixar accidentally delete Toy Story 2 during production? (2012)
> "And then, some months later, Pixar rewrote the film from almost the ground up, and we made ToyStory2 again"

Reminds me of Fred Brooks quote. "Plan to throw one away. You will anyhow".

← PreviousPage 4 of 34Next →