HNHacker News
TopNewBestAskShowJobs

jfroma

806 karma · joined January 3, 2014

submissionscomments
jfroma··on Learning the Cello as an Adult (1997)
Wow, that was very interesting, I will buy the book. I'm currently teaching my daughter to code and I notice is quite different from when I learned alone, it is very hard to not filter some boring stuff but I might be spoiling her.
jfroma··on Chile is introducing free higher education
I'm from Argentina (Córdoba) and this is very accurate. I dislike a lot of things in my country but if there is something to be proud of is the universal access to education for everyone and the quality.

There are a lot of things to improve, IMHO some of the plans are a bit outdated and teachers get a low salary.

jfroma··on Manifold.js – Create mobile apps from websites
Wouldn't be better to just fix Cordova for this? Like adding support for those manifests
jfroma··on Distributed Read-Write Mutex in Go
Newbie here, I did too but on the other hand I've never read mutex in the context of distributed system but "consensus".
jfroma··on Why I Quit Coffee and How That's Been Working Out
I really like and enjoy good coffee. I buy roasted beans and I like to grind myself since I am the only one that drink coffee in home and beans preserve the taste and smell better.

I can go without coffee for few days, I alternante with "mate" [1]. Mate is awesome because how it taste, it is very different from one yerba to another and is awesome because the way of drinking it. I literally can drink 2L of mate through the morning while working.

[1]: http://en.m.wikipedia.org/wiki/Mate_(beverage)

jfroma··on Introducing PackageManagement in Windows 10
One technical reason is that I might use two different versions of the same library in different projects and apt-get only allows me to have one at the time. I think npm and gem are brilliant on this regard.

Best of both words: docker. I consider docker an application packager.

jfroma··on Easy Netflix-Like Streaming: Create ABR Content for S3/Cloudfront and HTML5 Player
Is there a website or something to search legal movie torrents? An RSS feed will be great
jfroma··on Ask HN: How are enterprise web apps distributed?
The way it have worked well for us is to give them a VM image (ovf) as a blackbox. Look at github enterprise for example.

Edit

Regarding protecting your code do it legally first by contract, then look at code obfuscation tools for python.

jfroma··on When Is Cheryl's Birthday?
Well put! and for me that's the trick in this puzzle, once you understand that everything else is trivial.
jfroma··on For who long would your website run, if the human race seized to exist tomorrow?
Another similar question, how long your website will run if you die tomorrow?
jfroma··on Show HN: A random startup generator
"Tremblen is like Tinder... but for trembling!"

Imagine two strangers having a date just to tremble together.

http://tiffzhang.com/startup/index.html?s=2435275189

jfroma··on Show HN: A random startup generator
I love this. it reminds me of the "Postmodernism Generator" [1]. More info on wiki [2].

[1]: http://www.elsewhere.org/pomo/

[2]: http://en.wikipedia.org/wiki/Postmodernism_Generator

jfroma··on Replacing Ruby on Rails: Let's Go
Yes, and I remember how a lot of .Net people moved from .Net to ruby because of the type system. Now you are going to move to an inferior type system that doesn't even support generics and with worse type inference.
jfroma··on NGINX open sources TCP load balancing
Yes this is important if you want to load balance http traffic at the TCP level and have the remote address in the back end app. Nginx already support decoding the proxy protocol but I wonder if with this new feature you can encode the remote address with proxy protocol.
jfroma··on NGINX open sources TCP load balancing
> load balance the incoming requests to the individual nodes

Correct me if I am wrong but I think this is actually incorrect, because there is no concept of "request" at the tcp level. If I understand correctly it will rather load balance "connections".

jfroma··on RethinkDB 2.0 is amazing
Which is also my point, both mongodb and rethinkdb has the same feature in this regards but different defaults. Does that makes one worse than the other one?
jfroma··on RethinkDB 2.0 is amazing
There is some FUD in this blogpost as well as in the comments in this thread.

I think the current status quo for databases is canned software. And this isn't necessarily bad because neither of the three databases mentioned hide their specs or default settings, the three have very good docs and community willing to help, in addition to companies giving commercial support. Whats your excuse to misuse these products?

RethinkDB writes your data to disk before acknowledging the write but on the other hand can't elect a new primary in case of failure, two completely different features/limitations that might work for someone and not for other ones. Is that hard to understand? Did mongo documentation lie you at some point?

Accept that you are "buying" a general purpose product, the designers thought that their users will need those features, deal with it.

Otherwise build your own database, I know this might sound very hard but I guess in the future we will see smaller building blocks that let you build something that handle your needs like this:

https://github.com/rvagg/node-levelup/wiki/Modules#plugins

jfroma··on Popular JavaScript Package Manager Npm Raises $8M, Launches Private Modules
In addition to every other response, one interesting thing about your comment is that first you mention "node" , then javascript/browser, etc. which is the exact history of npm.

It started for node.js then someone did browserify which IMHO makes the best package manager for front end developers, there is some people using it even for C. Typescript/coffescript/css whatever. If you see the home page of npm it says "npm is the package manager for:" and the word keeps changing with a lot of use cases.

I think JavaScript has a bright future still, but in addition to that can npm or the ideas survive the language and be used in other contexts?

jfroma··on True Zero-Downtime HAProxy Reloads
It is. Nginx launch a new worker while the other with the old config is still running, the master redirects new traffic to the worker and keeps the old worker until all previous requests has been handled. Once the old worker has finished the master process close it or when it time outs. It works even for updating nginx binaries.

It is a very useful approach and I use it all time as well.

I implemented the same in node by using the cluster api [1].

[1]: http://joseoncode.com/2015/01/18/reloading-node-with-no-down...

jfroma··on Ask HN: How do you deal with professional jealousy and getting older?
> For what it is worth, I've been programming longer than you've been alive and if I keep doing it another 30 years I doubt I will be acclaimed for my coding skills - and that doesn't bother me a bit.

Thank you for writing this, it is very inspiring. I have heard so many times that good devs are young people that makes me wonder about my future even if I'm very passionated about my career. At this point in my life I think I will love programming in the next 30 years, I hope I could live from that as well.

jfroma··on HN Cheaters: Catch me if you can
I'm relatively new to HN and I dont understand how your article gets to the FP, I don't know if is the upvotes, karma, comments, etc.

I had a submission for three days in the FP and that was the only time I didn't ask any friend to upvote me over IM.

jfroma··on Google APIs Repository on GitHub
I wonder if they use the protocol buffers definition to validate json over http, or they dupe schemas into json schemas or other format.
jfroma··on Google Says 5% of Visitors to Its Sites Have Ad Injectors Installed
I see ad injectors installed on all my friends and family computers.

I think people has developed some kind of ad-blindness.

I remember a friend using facebook and some crazy and animated ads were taking 80% of his screen, I asked him "doesn't this bother you?" , he says "meh".

jfroma··on Critical Vulnerabilities in JSON Web Token Libraries
I think the main concept you are missing is called HMAC, which is a cryptography thing. If you don't know this, I will recommend this explanation [1].

The client can send something wrong? Yes, as long as the client can digital sign what is sending with the secret you expect.

JWTs can be signed with a symmetric key or an asymmetric key, the vulnerability mentioned in this post is when the server-side expect a token digitally signed with an asymmetric key but an unauthorized client uses the public key to create a signature as if the key where symmetric. The issue in this case is when the server is blindly accepting any algorithm.

[1]: http://security.stackexchange.com/a/20301/9332

jfroma··on Stop using tail -f (mostly)
Thank you,

This is the reason I always share how I do it in hn! LOL

jfroma··on Stop using tail -f (mostly)
This. I use:

tail -f /var/log/x.log | grep foo -A 20 -B 20

Most of the time.

jfroma··on How I doubled my Internet speed with OpenWRT
I use the TP-Link WDR4300, because it was the best I could find here

[1]: http://www.tp-link.com/resources/images/products/large/TL-WD...

jfroma··on How I doubled my Internet speed with OpenWRT
I used pfSense in a very different context (vpn gateway) and I used the vmware image option. I haven't used the multiwan feature and I don't know if it can be installed on (almost) any router as openwrt.

I did tried dd-wrt for this same purpose, the interface is much better, it is very flexible as openwrt, but I couldn't put my wifi on client and AP mode at the same time and I needed to connect to one of my WAN using wifi because that modem is not close enough yet.

jfroma··on How I doubled my Internet speed with OpenWRT
I use this very same feature of openwrt to load balance between my two ISPs. Here in argentina neither of the two ISP are reliable, but cheap enought if you really use then and you need reliability. I recommend multiwan3 as the op suggest, other pkgs didnt work for me. Some modern routers have two radios for 2.5 and 5ghz, but even with one radio openwrt allows you to set it up as client and ap. I find other features of openwrt quite amazing like dnsmasq. It is a really powerful firmware.
jfroma··on GitHub under ongoing DDoS attack
I disagree with parent but I have learned from this case that anyone with access to a major CDN or the great firewall can take down any website. There is unbalanced power. What if I don't have access to the OPs team of github?
← PreviousPage 5 of 8Next →