HNHacker News
TopNewBestAskShowJobs

jfroma

806 karma · joined January 3, 2014

submissionscomments
jfroma··on Facebook’s insane mobile takeover
The change of the internal browser broke many websites using Facebook oauth, how? You start the authentication flow on chrome and end up on Facebook's internal browser without the cookies...
jfroma··on Salters Duck
I've read another article about a similar device in Brasil:

http://m.youtube.com/watch?v=GA_UgVm9bvU

jfroma··on Npm install could be dangerous
If you run npm with root, npm will run scripts with the user "nobody" by default. This means that npm doesn't run scripts as root even if you run "npm install" with root.

You can set another user instead of nobody with the "user" option and you can disable switching UID/GID using the "unsafe-perm" option but DO NOT DO THIS.

More information here: https://docs.npmjs.com/misc/config

edit: added more details.

jfroma··on Baseline Mac OS X Support merged into FreeBSD package manager
Yes, one trick I use a lot is interactive rebase. I do a lot of commits with "WORK IN PROGRESS" then git rebase -I HEAD~X to improve the history before pushing.

IMHO mercurial is superior to git in a lot of aspects, but there is main philosophical difference in the usage. Mercurial is more about indelible history while git people love to edit the history of the commits.

jfroma··on Why I Drilled Holes in My MacBook Pro and Put It in the Oven
I think the picture in the header says it all, on one side I can see very dirty fans and on the other side the improved design.

The first thing I would have tried is to replace the fans. I had to do this with other laptops I have had in the past (HP mostly) but never with the two models of MBP (and I run pretty hard too), so I guess it has to do with the model as he mentioned.

While I sympathise with the idea of improving the design of a product massively consumed, I first try to think that the engineers did a well design and try to look for the malfunctioning component to replace.

jfroma··on Ask HN: Is Twitter sign in down?
Nothing here

http://status.twitter.com

jfroma··on Capsela, the game that changed my life
Thank you very much, few others pointed out the same mistake. I'm not a native English speaker and I wrote this first on Spanish, although in Spanish is also a toy or construction toy.

I just fixed in the article without breaking the url.

Thanks again

jfroma··on Capsela, the game that changed my life
Yes, I've been thinking about this and it was my mistake, it doesn't make sense to call it Game in English nor in Spanish (original article).

Game (juego) is often used here as a synonym of toy like in "board game". I call it "juego de construcción".

jfroma··on Capsela, the game that changed my life
wow, It looks very nice,

thank you very much!

jfroma··on Capsela, the game that changed my life
Just found this http://en.m.wikipedia.org/wiki/Lego_Logo
jfroma··on Capsela, the game that changed my life
Thanks for sharing this bit of history. Very interesting given Seymour Papert is the inventor of Logo.

Do you have any link, reference or picture about lego logo?

jfroma··on Capsela, the game that changed my life
Nice to hear that, I had that feeling too, I will buy one next time!
jfroma··on Capsela, the game that changed my life
Exactly, these cracks are made when disassembling models, sometimes is very hard to remove the connector
jfroma··on Capsela, the game that changed my life
Also I wouldn't recommend buying a used set. The joints can't hold two pieces together after some time.
jfroma··on Capsela, the game that changed my life
Wow I didn't know about denshi blocks, very nice and powerful. Thanks for sharing!
jfroma··on Capsela, the game that changed my life
Wow, I saw some pics of Robotix and it looks awesome and very similar to capsela. Thanks for sharing!
jfroma··on Capsela, the game that changed my life
Author here, thanks a lot for the suggestion. I will definitely consider some of these.

I have a daughter and I bought her two capselas back when I wrote the blog post two years ago and she wasn't that interested. I think she expected a more espectacular outcome given the effort :)

I didn't have legos, as I mentioned I'm from Argentina and it wasn't very popular here, we had a clone called "rastis".

This year I went for the first time to US and we bought legos, but not a set, the $ 15 glasses of pieces. I did another trip in March and I bought more and last month a friend bring us another one. My daughter play with this every day.

I think legos in general and capsela are very different, but Lego as a brand has many different sets.

I agree with another commenter than "technic" is similar but it is a set and you know all the time what you should assemble and that's the reason I don't like Lego sets/models but I do like the pieces a lot.

[1]: http://en.m.wikipedia.org/wiki/Rasti

jfroma··on Capsela, the game that changed my life
Thanks! I'll fix the post.

I loved propellers and floating vehicles although I didn't have a pool to test it out back then.

jfroma··on “Was isolated from 1999 to 2006 with a 486. Built my own late 80s OS”
I grew up with a 386SX , newer than yours but again very outdated when I got it.

I remember going to downtown in bus with my brother to a game store, watching amazing games in catalogs and then going back to home with 40 floppy disks just to figure out that number 38 was broken and after lot of trips to the game store, that the game didn't work on my hardware.

I learned programming much later in a newer hardware, but I learned about files, directories, etc in this machine.

jfroma··on Microsoft Azure Outage
Our main cluster is on azure west us but we have another cluster on amazon east and route53 on top of that. When the main clusters fails, route53 switch to secondary, so we where not affected at all this time.

The only manual step was to delay the switch back until our vms where working fine and had all resources. We do this changing route53 health check to one that is always failing.

We had also to purge our crashed mongo nodes because the journal was broken.

https://auth0.com/availability-trust/img/auth0-infrastructur...

jfroma··on Hound: Review JavaScript, CoffeeScript, and Ruby code for style guide violations
We use a linter (jshintrc) and we put a .jshintrc with the configs we agree on our team on every project.

We work a lot with opensource projects and you need to respect the project style. Since some of our stuff was created from other things, we can't even keep the same jshintrc configuration for all our things.

I use SublimeLinter [1] in Sublime. It shows me the errors in an integrated fashion.

Once the project has some maturity it is better to not change the rules because you don't want to waste a lot of time changing stupid things like double quotes to single quotes.

If I see 150 errors in a file, it is likely that I will introduce the 151, and it usually means that your jshintrc is a fantasy. If I see less than 5 errors I will fix them all and use git blame to know who introduce these bugs and kindly recommend using an integrated linter with the editor.

I don't think is good idea to run a linter like this on any kind of CI. If someone breaks something serious the test suite will fail anyway, and if is not so serious why wasting time fixing it. I think is definitely better an easier to educate your team to use some plugin on their editor.

[1]: https://github.com/SublimeLinter/SublimeLinter-for-ST2

jfroma··on Building a CustoMac: Buyer's Guide
Thanks for sharing, application support is something I didn't consider on my post and yes I can see a great value there.

Regarding Gnome, KDE and XFCE, I think these are not that bad, but I understand having different experiences than you because I suspect we are different type of users.

jfroma··on Building a CustoMac: Buyer's Guide
I tried once but now I don't understand it.

The main benefit for me using OSx is that is a nix desktop os that works well on a very specific hardware. Having used linux on the desktop before for years I always had some problem with drivers and alike.

If I were willing to deal with these kind of issues I'd do it with some linux distribution not osx.

I guess there are some cases like developing software for Apple os.

jfroma··on Principles of Rich Web Applications
> "Server rendered pages are not optional"

I don't get this, in my opinion they are optional, you can show the ios png placeholder (shown in the next item) which is a very static and cacheable content, while fetching your highly dynamic data from a database or somewhere else.

It feels like the first principle contradicts 2, 3 and 4.

jfroma··on Show HN: “Install on DigitalOcean” button for open source apps
I think you are looking for Topology and Orchestration Specification for Cloud Applications (TOSCA) [1] which allows you not only to create one node but a cluster, their drives, network rules, autoscalling etc.

There is also another project which is cloud-init [2] that defines an standard way of mounting the initial data, and provision the shh keys.

Cloud Formation is aws implementation of this and is quite good. You can create define a template of how your application should be deployed and parameters for the end user like Heroku button.

You can check a good example of these technologies on the coreos landing page [4].

[1]: http://en.m.wikipedia.org/wiki/OASIS_TOSCA https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=...

[2]: http://cloudinit.readthedocs.org/en/latest/

[3]: http://aws.amazon.com/cloudformation/

[4]: https://coreos.com

jfroma··on Game day exercises at Stripe
Reminds me to Netflix chaos monkey [1].

They shut down servers and components of the system to make sure they are resilent to failures.

> The Simian Army is a suite of tools for keeping your cloud operating in top form. Chaos Monkey, the first member, is a resiliency tool that helps ensure that your applications can tolerate random instance failures

More interestingly is that it is opensource. [2]

[1] http://techblog.netflix.com/2012/07/chaos-monkey-released-in...

[2] https://github.com/Netflix/SimianArmy

jfroma··on Hints for writing Unix tools
jq looks nice, I use another similar tool quite a lot [1].

[1]: https://github.com/trentm/json

jfroma··on Show HN: DeathSwitch
I've been thinking about this as well. An interesting idea will be an opensource software that you can deploy on aws, azure or something like heroku yourself, and it emails you every month "are you alive?" if you don't answer for few weeks then it trigger some tasks, like sending passwords.

Again the problem is who will pay your aws when you are dead. But is supposed that you have been paying the latest invoices with your credit card. To be honest I haven't digg enough in the legal terms of these cloud providers.

jfroma··on One Less Password
The link describes something very common.

The only difference I can see is that they ask you the email to figure if you are coming from yahoo or Google while the most common pattern is to show two buttons.

I don't think asking your email is a good idea, email is a something they should ask to the identity provider instead.

jfroma··on The Birth of Visual Basic (2006)
For all the vb.net detractors, I'd suggest you this blog post "in defense of vb.net"

http://bugsquash.blogspot.com.ar/2013/02/in-defense-of-vbnet...

← PreviousPage 7 of 8Next →