HNHacker News
TopNewBestAskShowJobs

Rauchg

3,589 karma · joined December 8, 2009

Guillermo Rauch. https://twitter.com/rauchg https://vercel.com
submissionscomments
Rauchg··on Don't Outsource Your Thinking (2015)
While the intention of the article is noble (it's an empowering thought), I feel like it's missing out on a more important idea.

That is: while ideally we would critically and deeply analyze every aspect of our life, we have limited time and energy. The reason we've been able to accomplish so much as a civilization is because we delegate thinking to others.

"Always doubt the media" is bad advice. It's similar to "always doubt your parents" because they told you Santa Claus was real. Always doubting the media is exhausting, and the author probably doesn't do it anyways, because he gets things done.

What's perhaps worth investigating is how technology can help us reduce the amount of trust we put in a single entity. The trend from news sites away from user-submitted comments is worrying, because that's an example of how one can read a story and immediately read critiques and reviews of it.

Quite ironically, Blake's platform of choice for this post (Medium) removed our ability to make inline comments on his writing, which is perhaps the best way to accomplish that.

Rauchg··on Show HN: LogDNA – Easy logging in the cloud
Awesome stuff leeab!
Rauchg··on Creating a Microservice? Answer These Questions First
> On the other hand, verifying the quality of a whole application that is composed of many microservices can represent a significant amount of testing complexity: instead of running a single command to test the code running in one process, a large number of integrated dependent components must be running first, verified as healthy, and stay running throughout the tests.

This was very likely already the case for the monolith as well. It likely depended on databases, caches, queues, etc. The solution is the same in both cases: an orchestration solution (such as https://docs.docker.com/compose/).

Rauchg··on The resolution of the Bitcoin experiment
The powers that be are the CPUs. If XT had reached its goal of 75% mining votes by versioning blocks, today it'd be what you call the "protocol".
Rauchg··on The resolution of the Bitcoin experiment
> otherwise you're effectively mining a very expensive altcoin which no merchants or exchanges accept.

This is not the case. You could run XT for example and remain compatible, which was precisely its adoption strategy? It just simply did not reach consensus (aka CPU power).

> By mining with Bitcoin XT you will produce blocks with a new version number. This indicates to the rest of the network that you support larger blocks. When 75% of the blocks are new-version blocks, a decision has been reached to start building larger blocks that will be rejected by Bitcoin Core nodes.

(from https://bitcoinxt.software/)

Rauchg··on The resolution of the Bitcoin experiment
"Why has the capacity limit not been raised? Because the block chain is controlled by Chinese miners"

The author is complaining that Bitcoin is working exactly as designed.

From Satoshi's paper: "Proof-of-work is essentially one-CPU-one-vote. The majority decision is represented by the longest chain, which has the greatest proof-of-work effort invested in it."

If you want to raise the block size, out-vote the Chinese miners.

Rauchg··on Magic+
I use Magic occasionally and it's been wonderful every time. It's definitely not something I would use everyday, but it's been great for: - a time I needed a replacement power supply cable, and really didn't have the time to research where to get it, and needed it urgently. - a couple times where I needed a dinner reservation for relatives or friends visiting - quick questions about things to do or places to go

I definitely recommend the basic version!

Rauchg··on WebSockets: caution required
Most of this gotchas (and others not mentioned) can be avoided if you treat WebSocket for what it is: a low-level transport that can be swapped out. This is how we treat it in Socket.IO and Engine.IO.

Most people that implement WebSocket directly end up re-inventing a protocol on top of it. This is necessary because the "onmessage" handler of WS is not something you can really build an application on. And then you'll have to add reconnection and exponential delays after that.

If you just want to use HTTP polling, which as the author suggests is perfect for most applications (perhaps not games), you can simply do: `io('http://myhost', { transports: ['xhr-polling'] })`.

Rauchg··on How do Promises Work?
I think you're maybe referring to a broken `Promise` implementation.

Here's a good article about how callbacks get scheduled: https://jakearchibald.com/2015/tasks-microtasks-queues-and-s...

Rauchg··on Change Your Name
I think the essay is missing crucial elaboration on the central point. That is, the idea that .com is associated with strength, and lack of .com with weakness.
Rauchg··on A Polynomial Time Bounded-Error Quantum Algorithm for Boolean Satisfiability
It's worth pointing out that they already claim to have proven NP ⊆ BQP

> The common belief concerning the relationship between NP and BQP was that NP is not contained in BQP (e.g see chapter 15 of [8]. However, a recent paper by one of the current authors has shown that an NP-hard problem (Graph Bisection) can be efficiently solved, with low failure probability, by a quantum algorithm [13]. This implies that NP is in fact contained within BQP, as any NP problem can be polynomially reduced to an NP-hard problem

Rauchg··on Console.mihai();
I highly recommend this documentary about EB and the great life and death of Jonny Kennedy:

https://www.youtube.com/watch?v=Dmahlc6n9_A

Rauchg··on The State of Desktop Applications in Node.js
Check out thrust as well: https://github.com/breach/thrust

multi-platform and easily bindable to any language

Rauchg··on Principles of Rich Web Applications
It's a WordPress website that communicates with a Socket.IO server. I wrote about how to accomplish this here: http://socket.io/blog/introducing-socket-io-1-0/#integration

It's true to the spirit of the post as well: the count gets rendered on the server, then reactive updates come in realtime and the view is updated.

Rauchg··on Introducing Socket.io 1.0
Please read the "Scalability" section on the blog post! This very demo is fully clustered.
Rauchg··on SocketCluster – WebSockets that scale to 100K messages per second on 8 cores
It'd be nice to compare it with: https://github.com/automattic/socket.io-redis

I wrote an example application using it here: https://github.com/guille/weplay

Rauchg··on In Bitcoin Debate, Larry Summers Sides with the History of Change
Xapo's vault comes with insurance: https://xapo.com/#aboutVault
Rauchg··on REPL to any browser in the cloud
Exactly why I decided to put this together – quick feature tests on different browsers you intend to support.

The case you mentioned gets me every time: https://i.cloudup.com/ZQApueTFl6.png

Rauchg··on About Python 3
I think a really good explanation of why people are not switching was provided by Ted Dziuba: http://teddziuba.com/post/26426290981/python-3s-marketing-pr...
Rauchg··on The Need for Speed
Cost of switching is definitely high if you were to rewrite from scratch, but the transition to single-page can also be evolutionary. That's exactly the approach we're taking for the Wordpress admin panel for example.
Rauchg··on Winamp shutting down on December 20th, 2013
Groove Basin looks amazing!
Rauchg··on Introducing Flask-Sockets
Maybe if you only want WebSocket, and you're already using Flask, and you want to give up events and roll out your messaging protocol. Sounds like a lot of work.
Rauchg··on Bringing functional to the frontend – Clojure and ClojureScript for the web
"The above is valid Clojure code, not another language whose syntax you have to learn or separate compiler to use."

Even though this is a fair point, the comparison between the Jade solution and the Clojure one is invalid. Jade was conceived as a whitespace-significant language. Its biggest benefit over plain HTML (or HTML-based template engines like Moustache) is the usage of indentation to determine hierarchies.

The comparison would be more valid with something like http://domo-js.com, which is solving the exact same problem: using a single language (JS) for markup production – and even replacing CSS.

Rauchg··on Json ⊄ js
It's actually trivial to make evaluation safe for JSON input as seen in the very short `parseJSON` implementation in jQuery:

https://github.com/jquery/jquery/blob/master/src/core.js#L52...

Also, for the JSONP technique to work, it _has_ to be valid JavaScript so the escaping is necessary.

Rauchg··on Json ⊄ js
Magnus Holm did a great job describing this after he fixed the problem in Rack::JSONP. Good reference as well for those interested in the topic:

http://timelessrepo.com/json-isnt-a-javascript-subset

Rauchg··on The Automatic CSS Inliner Tool
https://github.com/learnboost/juice
Rauchg··on Rms has his bag stolen in Argentina
Like I wrote, he enjoys the ritual of interacting with the audience after the talk. I think most people at this point stop looking at their stuff for a minute.
Rauchg··on Rms has his bag stolen in Argentina
Turing thanks for letting me know - I adapted the title after I verified he was technically mugged.
Rauchg··on Codestre.am: streaming your code to the masses
Definitely. I guess this became obvious as people started using it, but I'll add this really soon.
Rauchg··on Codestre.am: streaming your code to the masses
I just pushed a new version that should sort out the dependency problems (0.1.1)
← PreviousPage 7 of 10Next →