HNHacker News
TopNewBestAskShowJobs

galeaspablo

277 karma · joined May 10, 2017

Distributed systems engineer.

Also https://twitter.com/galeaspablo

luis ([.@]) ambar [(.)] cloud

submissionscomments
galeaspablo··on Why Does Sweden Have So Many Startups?
Symfony.
galeaspablo··on Scaling Blockchains with Apache Kafka
May I refer you back to

>> If you’re not looking at the public chain, you’re wasting your time

> I disagree. Not having a single point of failure (one place that can get hacked) is valuable.

I.e. if your chain isn't public there are benefits to using it.

If you suddenly say the same benefits can be obtained with kafka or a relational database, you will be introducing proof of something... Which means you'll now have a blockchain / distributed system based on a relational database. Which comes with the limitations imposed by the CAP theorem.

The most popular version of event sourcing produces such a high throughput, because immediate consistency is sacrificed. I'd like to see what the author proposes in a production system. Global rules would not be enforceable (e.g. no balance under zero), unless throughput is sacrificed to allow for immediate consistency.

galeaspablo··on Scaling Blockchains with Apache Kafka
As olaonde pointed out,

> Yes in the sense that event sourcing systems typically [are]... "append only"

However, I'd caution that this is not the same at all as cryptographic / blockchain style tamper proofing. I can still go into the database and change things myself, or create a new one altogether.

There are some interesting ideas in the article. I.e. making a peg to a blockchain, but that won't solve the throughput / trust dilemma.

galeaspablo··on Scaling Blockchains with Apache Kafka
> If you aren’t familiar with the database pattern known as event sourcing (don’t worry — it’s relatively new),

It's not relatively new. That “transaction file” thing in your database? Event Sourcing.

https://goodenoughsoftware.net/2012/03/02/case-studies/

> If you’re not looking at the public chain, you’re wasting your time

I disagree. Not having a single point of failure (one place that can get hacked) is valuable.

> From a trust perspective, it makes no difference if your banking cartel is writing to a Quorum, Hyperledger, or Kafka instance.

Of course it does. The protocol of blockchains makes them work with "proof of X". Appending to any event store, whether in Kafka or SQL does not require proof of anything.

> Blockchains are built for trust, databases for throughput. Event sourcing allows us to achieve a hybrid model with characteristics of both.

No, the reason blockchains can't have high throughpout / almost infinite horizontal scalability... is because there's a logic check. E.g. in bitcoin, you can't send more bitcoins than you have a balance. Event sourcing gives you the high throughpout if there's no logic checks across aggregates --- if there are, you won't have immediate consistency, and you have to be ready for compensating events.

I recommend two books, that cover event sourcing from a Domain Driven Design perspective. The consequences are similar.

https://www.amazon.co.uk/Domain-driven-Design-Tackling-Compl... https://www.amazon.co.uk/Implementing-Domain-Driven-Design-V...

-----------------

If that doesn't do it for you, please just remember the good old CAP theorem.

https://en.wikipedia.org/wiki/CAP_theorem

galeaspablo··on Stop writing PHP like it's 2009
Elm
galeaspablo··on Why Single-Payer Health Care Saves Money
> transitioned from a high-cost system like ours to a single-payer system? How quickly did their costs go down?

I did not look this up. But I know one thing, eventually you will save money. I don't suppose that it would take longer than 20 years to save money, but I frankly don't know. Maybe you could look it up to expand on your point:-D

> average doctor salary in the UK.. Compared to... In the US.

That is not apples to apples. There are countries with lower and higher pay, both overall and relative. Plus you have think of differences in cost of living, taxation, malpractice insurance, and even their own medical insurance.

Here's a link I found covering a bit of that. The chart would be the tldr. https://www.forbes.com/sites/theapothecary/2013/05/28/are-u-...

galeaspablo··on Why Single-Payer Health Care Saves Money
Like I said, that's a matter of policy. I.e. should rich people pay more tax?

But I'm not here to answer that question.

galeaspablo··on Why Single-Payer Health Care Saves Money
0xffff2 - that's correct. Personally I am more lenient, given that my country of birth struggles.

But in the context of the conversation, I think #18 is good enough to make the cutoff for single payer. After all, other countries with lower healthcare transparency are still more efficient with their universal systems.

krupan - I don't have the data for what has happened with transparency when countries implemented universal healthcare. So I don't have the answer for that.

galeaspablo··on Why Single-Payer Health Care Saves Money
In the grand scheme of things, yes.

https://www.transparency.org/news/feature/corruption_percept... http://www.worldaudit.org/corruption.htm http://www.espn.co.uk/espn/feature/story/_/id/14767250/the-e...

galeaspablo··on Why Single-Payer Health Care Saves Money
> But wait, is this not conjecture, since it doesn't currently exist? Sure, you have sources where it has worked, but the proof would only be implementing it here.

Universal and transparently managed healthcare consistently gives more bang for buck. Note that I said "consistently", not just in a few places.

Yes, obviously you can't know what's going to happen in the US until you try it. But if it has consistently worked around the world, the best guess is that it will work in the US as well. Surely your argument, can't be... "how can I know this ball is going to fall into the Earth, if I haven't dropped it yet".

> What? I don't understand what you're getting at here. My point isn't that the government is corrupt, it's that it's inefficient.

And my point is that transparency in healthcare + single payer makes the system efficient.

galeaspablo··on Why Single-Payer Health Care Saves Money
Put it in perspective (compared with every country on Earth).

https://www.transparency.org/news/feature/corruption_percept...

galeaspablo··on Why Single-Payer Health Care Saves Money
That's a matter of policy.

You can set a cap of how much tax someone pays for healthcare, such that rich people don't get screwed.

The question here is what's more efficient... And the numbers are there. Single payer + Healthcare transparency = Efficiency.

(see sources and explanation in original comment)

galeaspablo··on Why Single-Payer Health Care Saves Money
I want proof. I only see numbers. Everything else is conjecture.

Transparency in healthcare + Single payer (by the government) = Efficiency

(see sources and explanation in my original comment)

So yes, putting the US government in the middle is what I'm suggesting. Or is the US government not a leading force in fighting corruption anymore?

galeaspablo··on Why Single-Payer Health Care Saves Money
That is conjecture. I could similarly hypothesize that things would improve under a single payer system, even for the rich... because of the compounding scientific advances of government backed healthcare.

BUT we could go back and forth all day with conjecture... Give me some apples to apples numbers; that's what I joined HN for.

galeaspablo··on Why Single-Payer Health Care Saves Money
How do we compare apples to apples (between countries)? Compare health expenditure per capita (public and private) with multiple health indexes. I.e. get the bang for buck.

In the list of nations with the best bang for buck healthcare programs, you will notice that top 20 healthcare programs are mostly single payer.

http://www.who.int/healthinfo/paper30.pdf

But there are single payer healthcare systems with bad health indexes, you might say... Well, combine single payer healthcare systems and add some transparency in healthcare and you now have an unmissable correlation.

https://www.transparency.org/whatwedo/publication/global_cor...

The top 20 bang for buck healthcare programs (mostly single payer systems), have an average ranking in terms of healthcare transparency of 18.7.

Are you from the USA? Notice the countries with universal healthcare, who have a similar healthcare transparency ranking to that of the USA: Luxembourg, Canada, Germany, France, Belgium, Ireland, and Chile. Their bang for buck rankings are 16, 30, 25, 1, 21, 19, 33 respectively. All of these countries have a better bang for buck ranking than the USA's 37.

In one sentence... Universal and transparently managed healthcare consistently gives more bang for buck.

And now to quote the original article... "It is a bedrock economic principle that if we can find a way to do something more efficiently, it’s possible for everyone to come out ahead."

EDIT: Check page 18 in the first source. Check chapter 11 in the second source.

galeaspablo··on 17th Century Shopping List Discovered Under Floorboards of English Home
Team work. You point to the full guidelines. I cover the people in a rush who want a ;TLDR. ;)
galeaspablo··on 17th Century Shopping List Discovered Under Floorboards of English Home
If you want to save yourself a click...

Anything that good hackers would find interesting. That includes more than hacking and startups. If you had to reduce it to a sentence, the answer might be: anything that gratifies one's intellectual curiosity

I would say the content fits this description.

galeaspablo··on Former Mt. Gox CEO Heads to Trial in Japan Over Missing Bitcoins
Clear for you perhaps. But (anecdotally) every time I explain this to someone in my family, I get the "bitcoin got hacked line".

The article itself is not a HN thread.

A journalist who has done enough research would know the nuances of the cryptocurrency language. Journalists understand that the meaning of their newspaper pieces is hardly dependent on their thoughts while writing. Instead it is tied to the text. It's the journalist's job to educate everyone, and sentences as the above are a barrier to education/adoption/rejection/informed opinions/innovation.

Disclaimer: I haven't owned Bitcoin for years, and I'm bearish on most cryptocurrencies in the short/medium term. I.e. I've got no horse I'm betting on.

galeaspablo··on Startups that were massively funded that died in 2017
Agreed. As a follow up, where do you draw the line? Is there even a single frequently used definition of a startup, or is it a gray scale for everyone?
galeaspablo··on How secure is 256 bit security?
Videos like these are a nice introduction to the power of cryptography. Nevertheless, I feel like the wow factor not only gets prioritized, but it completely takes over the conversation.

There should be more emphasis in how hash functions have been weakened in the past, how that can still happen today, and what it would mean to the world if this happened over night (this last point is unlikely, but still not impossible).

When I first studied cryptography, and Bitcoin, I remember seeing an article that talked about the lifecycles of hash functions http://valerieaurora.org/hash.html ... In my arrogance, I dismissed it. Today I can see how spot on it is.

galeaspablo··on Former Mt. Gox CEO Heads to Trial in Japan Over Missing Bitcoins
> Bitcoin has suffered hacking incidents including one last year in which a major Hong Kong-based exchange Bitfinex suspended trading after $65 million in the virtual unit was stolen.

Quality research. /s

This is akin to saying HTTPS was hacked, when YAHOO got hacked.

galeaspablo··on Ask HN: Who is hiring? (July 2017)
Pushfor | Senior Backend Developer | London, UK | Full-time, Onsite

Pushfor is an instant messaging and content sharing platform designed specifically for secure business use. We are looking for professionalism, initiative, and commitment to the team. On a technical level, we are looking for someone who understands SOLID design, who has experience developing maintainable/decoupled code, and who is a close (not necessarily perfect) match to the essential skills listed below.

Our interview process consists of an initial phone call, a technical interview, and an interview with management.

Important Skills:

- Strong PHP and Symfony - SQL & MongoDB - Devops experience: Linux, Docker, AWS, Orchestration - Best practices: TDD, BDD, DDD

Would be nice to have:

- CQRS/Event Sourcing - Functional Programming - Python - Java

Interested? Email luis@pushfor.com

P.S. We are also looking for a Junior / Mid Developer.

galeaspablo··on Ask HN: Who is hiring? (June 2017)
Pushfor | Senior Backend Developer | London, UK | Full-time, Onsite

Pushfor is an instant messaging and content sharing platform designed specifically for secure business use. We are looking for professionalism, initiative, and commitment to the team. On a technical level, we are looking for someone who understands SOLID design, who has experience developing maintainable/decoupled code, and who is a close (not necessarily perfect) match to the essential skills listed below.

Our interview process consists of an initial phone call, a technical interview, and an interview with management.

Important Skills:

- Strong PHP and Symfony

- SQL & MongoDB

- Devops experience: Linux, Docker, AWS, Orchestration

- Best practices: TDD, BDD, DDD

Would be nice to have:

- CQRS/Event Sourcing

- Functional Programming

- Python

- Java

Interested? Email luis@pushfor.com

P.S. We are also looking for a Junior / Mid Developer.

galeaspablo··on Ask HN: Who is hiring? (May 2017)
We're also looking for a DevOps Engineer

- 3+ years of experience;

- AWS proficiency;

- One provisioning language of your choice (e.g. Ansible, Puppet, Chef)

- One orchestration tool of your choice (e.g. Terraform, CloudFormation)

- One server-side language of your choice (e.g. Python, Java, PHP)

- One CI tool of your choice (Jenkins, TravisCI)

- Linux administration

Would be nice to have:

- AMQP

- MongoDB administration

- Docker (huge brownie points for Swarm)

Interested? Email luis@pushfor.com

galeaspablo··on Ask HN: Who is hiring? (May 2017)
Pushfor | London, UK | Full-time | Onsite

Pushfor is a secure content sharing and instant messaging platform designed specifically for business use. We are looking for professionalism, initiative, and commitment to the team. Our interview process consists of an initial phone call, a technical interview, and an interview with management.

We're looking for a Senior PHP Developer

- Strong PHP, Symfony, and MongoDB

- One provisioning language of your choice (e.g. Ansible, Puppet, Chef)

- Devops experience: Linux, Docker, AWS.

- Best practices: TDD, BDD, DDD.

Would be nice to have:

- Python 3;

- JVM stack;

Interested? Email luis@pushfor.com

← PreviousPage 3 of 3