HNHacker News
TopNewBestAskShowJobs

pmelendez

2,676 karma · joined June 28, 2012

Generalist software developer

Do you want to contact me? Sure!

Twitter: @pemelendezu

LinkedIn: ca.linkedin.com/pub/pedro-melendez/8/941/653

submissionscomments
pmelendez··on GitHub is down
Do you do PRs? or have CI/CD pipelines hooked with GitHub?
pmelendez··on Gitlab is not the only GitHub alternative
>I'm not even able to create pull requests!

I am very curious to see the details of this. I use bitbucket in a regular basis and it does provide PR functionality

Update: In case someone hasn't found it before: https://confluence.atlassian.com/bitbucket/create-a-pull-req...

pmelendez··on Microsoft surges 8% after Morgan Stanley says it will reach $1T market cap
> As far as I know, the only consistently used Office365 tools are Mail and Calendar.

O365 includes desktops app, so they are probably using Word, Excel and powerpoint already

pmelendez··on My new favorite book of all time
No wonder why Gates said "The Better Angels of Our Nature," was his all time favourite :)
pmelendez··on Building blocks of Amazon ECS
I am probably wrong but it sounds your problems were mostly with Cloudformation. But I think there are options for the provision, you could use the cli or you could use third party tools like terraform.

I haven’t tried it but maybe Fargate would it be an option?

pmelendez··on Open Source .NET three years later
Some people would take CLR over JVM, so YMMV
pmelendez··on HTTPS on Your Landing Page Is Important
Honest question...

Under that attack, wouldn't be the same whether you are using https or not? If you are in a hostile network with a compromised DNS, Couldn't the domain be phished too? Meaning that a valid certificate trusted by a fake CA would be used by the browser?

pmelendez··on Kotlin: A Language with a Bright Future
That's a bit of an oversimplification. I would argue that anonymous functions, first-order functions, lambdas, macros that modify ASTs are not syntactic sugar but features of a language that contribute with the expression power.
pmelendez··on Kotlin: A Language with a Bright Future
Honest question. I have been checking Kotlin since a while but haven't found a compelling case for me to start using it. All the features I have seen so far are syntactic sugar.

Even the article quote something around those lines: “The syntax for Kotlin, like Apple’s Swift, is clean and modern. The reaction amongst developers learning Kotlin is not dissimilar to the initial experiences with Ruby years ago. The syntax is so intuitively designed that even without any previous exposure it’s almost possible to guess it.”

The question would be: Am I missing something? Is syntax the only reason that makes people excited about it? or are there any new abstractions/ideas that are exclusive for Kotlin?

pmelendez··on Microsoft Has Manually Patched Their Equation Editor Executable
Would the assembler maintain the same binary size and the exactly the same address module in the same order just like the article claims?

What they said is they found evidence that the binary was modified manually.

This is way more tedious that disassembling and reassembling a binary.

pmelendez··on Microsoft Has Manually Patched Their Equation Editor Executable
It is indeed a lost art. I can count with just one hand the amount of colleagues that I know that are capable of doing this. Also this is not assembly, it is object code.
pmelendez··on ObjectiveSync – A thin Java object persistence layer for JDBC (2015)
I do not know who downvoted but I support this... people don’t believe me but I have seen this exploding in production so many times that is not even interesting anymore
pmelendez··on How Discord Resizes 150M Images Every Day with Go and C++
True (and I didn't downvote by the way), but a "memory safe" language might not be as helpful as people might think. Most of memory managed languages still rely on native libraries to perform image processing, if at the end you are using libpng and there is an exploit on it, it doesn't matter if you are using python or C++, both code base would have the same exploit if it is not explicitly mitigated in the logic.
pmelendez··on How Discord Resizes 150M Images Every Day with Go and C++
From the notes of your link:

"drawImage() will ignore all EXIF metadata in images, including the Orientation. This behavior is espacially troublesome on iOS devices. You should detect the Orientation yourself and use rotate() to make it right. "

If the origin of the image is the client and you got the client side resize wrong, then you might introduce artifacts when trying to fix it on the server because the data loss. Also if clients are mobile, you might like to optimize the battery of clients instead of computing time on the server.

pmelendez··on Why I’m Digging Deep Into Alzheimer’s
"Death is terrible, and should be eradicated"

We are sensitive to death but it is the only mechanism I know that would control overconsumption of natural resources. If nobody dies, then we would deplete the resources in a few decades.

pmelendez··on Floating Point Visually Explained
Off topic: The response of dragontamer is one example about why down votes alone are not enough. It was downvoted to the dead level and now nobody can reply to it. But also nobody gave the reason why what he was saying is incorrect.
pmelendez··on Anko SQLite, a library to simplify working with SQLite on Android
Concurrent writes is a problem since the locking is at database level[1]. For a small to medium-low website might be OK depending on the writes volume.

[1] https://www.sqlite.org/lockingv3.html

pmelendez··on AWS announces per-second billing for EC2 instances
That is cool if you maintain a fixed number of instances but it doesn't seem to be very cost efficient if you are implementing autoscale
pmelendez··on Understanding V8’s Bytecode
"They interpret bytecode; that's why they're called interpreters."

This is not universally true. Back in the day, interpreters execute machine code directly from source code. I still remember the debates about whether the JVM should be consider an interpreter. It is a bit of a pointless debate in my opinion anyway.

pmelendez··on Writing a MySQL storage engine from scratch (2016)
Depends on what you mean by C++. C++11, C++14, C++17 have features that are must have to me.
pmelendez··on Sweden drops Julian Assange rape investigation
"I thought this all was pretty obvious"

I don't know... it doesn't look like fake accusations to me. It was more like things that were there and US used for an entirely political reason, but the claim still seemed legit.

Also, it seems they dropped the charges due to a technicality: "Marianne Ny said his arrest warrant was being revoked as it was impossible to serve him notice of his alleged crimes"

pmelendez··on Not Lisp again (2009)
If I am not mistaken, you will need to know the signature of the function. Even if you use void* you would need to know the amount of parameters that the function uses.
pmelendez··on Not Lisp again (2009)
> It seems trivial to do in any language where functions are first class citizens

When you put that in the historical context, you will see that first class function with dynamic scoping are coming around that time. Also, Scheme which was the LISP used in the story, was the first introducing proper support for lexically scoped first-class functions. I would guess that Javascript inherited this from Scheme.

pmelendez··on C is not your friend: sizeof and side-effects
>"My argument is that we need to stop pretending that C/C++ is not worth improving."

I don't think that's the sentiment of their communities though. Not sure about C, but in the case of C++ it has been continuously adding significant features in the latest three iterations (C++11,C++14 and C++17), if that is not signal of improvement I don't know what it is

pmelendez··on Why I left Mac for Windows: Apple has given up
That would be a valid argument except that it implied one port less since you have to use one of the already scarce ports to charge. People like me were waiting for an extra port and got one less
pmelendez··on Jess Frazelle
I haven't met her (besides a very few tweeters interaction) but she counts among her fans, I really love the work that she is doing.
pmelendez··on Show HN: JSONlite – A simple, serverless, zero-configuration JSON document store
"A database is an organized collection of data". I think writing files in a directory with a convention falls in that category.

[1]https://en.m.wikipedia.org/wiki/Database

pmelendez··on RethinkDB versus PostgreSQL: my personal experience
Not the single dimension but an important one. Any real time application processing events data (IoT, heartbeats, prices logs) would have a similar requirement. That's one reason why people uses queues, to try to workaround this. And as for the reads, it will drilldown to your query needs. I have done systems where the read requirement was a retrieval from a key and the writes request came in thousands per second.
pmelendez··on RethinkDB versus PostgreSQL: my personal experience
Thanks... I came here to say this, and I actually said something similar yesterday and my comment got downvoted (which I couldn't care less), but to me the conclusion is, check your requirements and use the proper tool.
pmelendez··on The AWS and MongoDB Infrastructure of Parse
"searching through around 200 million tuples within the order of 2 seconds (partially stored columnar using psql array types and GIN indexes). Not for a second did I consider using any kind of specialized database, nor optimized algorithms, except for some application-level caching. "

--

That's cool and all, but for some real-time applications, retrieving in the order of seconds is unacceptable.

DBMS has their earned place in the backend stack but I found that statement of covering 98% of the cases a bit of a stretch.

← PreviousPage 3 of 34Next →