HNHacker News
TopNewBestAskShowJobs

AdrianRossouw

1,265 karma · joined December 6, 2011

[ my public key: https://keybase.io/adrianrossouw; my proof: https://keybase.io/adrianrossouw/sigs/qeiKCiA_nJFzkyUgeideVT3Dpcspt7_NrH9mvbUrMwY ]
submissionscomments
AdrianRossouw··on Microservices and the First Law of Distributed Objects
This is the spirit of microservices to me :

https://news.ycombinator.com/item?id=7874317

"Instead of pretending everything is a local function even over the network ..., what if we did it the other way around?

Pretend your components are communicating over a network even when they aren't?"

-- Solomon Hykes (of Docker fame) on LibChan

To me, it's pretty much anti-OO, and that's why I find it refreshing.

AdrianRossouw··on We Analysed The Homepages Of 20 Awesome Startups And Here Is What We Learnt
there's a greyed out X next to the title, but it's definitely incredibly obnoxious.
AdrianRossouw··on Contra – Asynchronous flow control with a functional taste to it
Using extended characters like λ for your library is pretty hostile to users.
AdrianRossouw··on Frame.io: A GitHub for Video
It's also using the first release of famo.us, and there was a new major version since, and one incoming.
AdrianRossouw··on Frame.io: A GitHub for Video
So famo.us has got a pretty bad reputation, but it's actually a really good idea.

The code is actually really well written too, and I'm sure that any bugs it has.. vis a vis scrolling etc.. are not design faults. They can be fixed.

This is probably the best technical explanation I have seen of what famo.us actually is :

http://ibm.com/developerworks/library/wa-famous/index.html

AdrianRossouw··on Side Tabs: Prototyping An Unexpected Productivity Hack
I quite like vertical tabs, but then we build a product based around publishing content in this format :

http://wayfinder.co/pathways/53998ffd774fd817001977ef/falseh...

AdrianRossouw··on Adventures in Cognitive Biases
I think it's cute, but the overconfidence bias bit in the beginning is frustratingly geo-centric.

It's all general knowledge questions using imperial measurements, dollar spending power and american supermarket stats.

This needs a shrug button.

AdrianRossouw··on Show HN: Breach – A modular browser built on Chromium and Node.js
my main concern is whether this could be used as a more flexible/stable replacement for phantomjs
AdrianRossouw··on Famo.us: do we really need another Javascript framework?
They oversold it, for sure. The code is solid though, if still very much in progress.

What they call a 'render tree' is pretty much just a scene graph, and they are moving to that as well.

http://adnanwahab.com/Render-Tree-Visualization/

AdrianRossouw··on Famo.us: do we really need another Javascript framework?
I'm actually quite fond of famo.us, although they definitely have a way to go. I would not evaluate it as a finished product, but a young open source project.

I mostly see Famo.us as a way to bypass the ever-increasing layers of abstraction involved in CSS layout/positioning.

To understand what famo.us is and what it does, you really should read this thread by malandrew, their employee #1.

https://news.ycombinator.com/item?id=7768900

AdrianRossouw··on CSS is unnecessary given a layout language
That's basically what I consider [1] famo.us to be.

Instead of using css for the layout/positioning, just use javascript directly.

and then build a [2] proper scene graph in javascript.

[1] - http://famo.us/ [2] - http://adnanwahab.com/Render-Tree-Visualization/

AdrianRossouw··on How we build microservices
this is where docker and the ecosystem around it starts filling in the pieces.

also, it makes failures hurt less, and rollbacks much easier.

AdrianRossouw··on A playground for the command line JSON processor jq
i absolutely adore jq.

it is one of my favorite command line tools ever.

whenever i do anything remotely clever it makes me feel like a programming god! =)

AdrianRossouw··on Goodbye Heroku
We're actually busy doing a similar move.

fwiw, here's some resources i collected around docker.

http://wayfinder.co/pathways/53619274d95a741100e7f203/docker...

It's a few weeks old, but of those the one that came closest to our needs was Deis.

AdrianRossouw··on How Shippable Has Scaled Docker In A Way It Never Could With AWS VMs
That site is having uptime problems it seems. Maybe OP should consider staggering his posts to HN, since there is some interesting content on there.
AdrianRossouw··on It's OK not to use tools
Jekyll is much simpler still, and is what most of those kind of sites actually need.

http://developmentseed.org/blog/2012/07/27/build-cms-free-we...

see also: http://prose.io

AdrianRossouw··on Why HTML5 is superior to native for mobile apps
So at least the famo.us open beta will open beta will open up properly tomorrow.

This is an html5 app built in famous:

https://www.youtube.com/watch?v=QXeFl093_FI&t=50s

AdrianRossouw··on Why HTML5 is superior to native for mobile apps
You mean like Atom, Adobe Edge, TileMill, PopCorn Time, Light Table or any of the other things on here :

https://github.com/rogerwang/node-webkit/wiki/List-of-apps-a...

AdrianRossouw··on Angular.js taught me a lot about myself
these articles were actually the start of a new chapter in my life.

- they helped me rediscover my love of writing.

- I discovered I could by sharing what I know about full-stack development[1].

- The search for the perfect medium lead to me discovering wayfinder.co[2].

- I love the format so much that I was contacting them to help them improve it.

- This has lead to me becoming the CTO of Wayfinder just last week.

So yeah, angular definitely did make me happier. Or maybe just stepping back and thinking about things was the key.

[1] Full-Stack Fundamentals: Introduction > http://daemon.co.za/2014/04/introduction-fullstack-fundament...

[2] Microservices : Field Guide for April 2014 > http://wayfinder.co/pathways/53536427f7040a11002ae407

AdrianRossouw··on Interview Ari Lerner about AngularJS, FullStack and Book Writing
You'd be amazed how much of that running an active open source project prepares you for.

Other than myself, I know a couple of dozen developers who can comfortably refer to themselves as full-stack.

But those people are never going to even talk to recruiters.

AdrianRossouw··on Interview Ari Lerner about AngularJS, FullStack and Book Writing
I collected all the various definitions of full-stack i could find online. it's basically meaningless.

http://wayfinder.co/pathways/535e46a318fbce1100cf7f2a/the-va...

AdrianRossouw··on Chrome's experiment of hiding the URL is great for security
respectfully ...

chrome is already breaking half of the copy/pastes i do because it's from my history and not a page that's already loaded.

do you have any idea how many people actually use copy/paste? i would venture that ctrl-c/ctrl-v is probably the only key binding that the majority of computer users of all walks of life use.

half of the places i seem to be pasting links into don't pick up the links without the http. Including things like markdown in github issues, many chat systems.

Messing with the url bar when you did it last time has been a constant daily sense of irritation to me. So no. I don't want you to mess with it any further.

just please stop.

AdrianRossouw··on Prose, a content editor for GitHub
Prose.io is a completely client side editor that authenticates against github to allow you to directly edit your markdown files in the repo.

It has a tiny tiny server-side component that exists only to complete the oauth handshake (for the remote server to have something to call back to), called gate keeper.

It's completely open source and self-hostable. They also make a webhook so you can trigger rebuilding on your own server.

They built it to be able to replace their need on a traditional CMS when they switched from Drupal to Node.JS many years ago.

http://developmentseed.org/blog/2012/07/27/build-cms-free-we...

DevelopmentSeed was the company that eventually spun off into MapBox.com, the open source open data map tile hosted service.

They have a long history with the open source community, and are spearheading a lot of the open source mapping stack by employing the lead developers of mapnik, leaflet and much more.

Other than Mapbox.com and Prose.io they also built :

TileMill - https://www.mapbox.com/tilemill/ - An node-webkit based map designer

Id - http://ideditor.com/ - The OpenStreetMap editing interface

(disclaimer: I used to work for them, and left around the time they spun off into mapbox)

AdrianRossouw··on GitHub monoculture
"The D in GitHub stands for Distributed"
AdrianRossouw··on JavaScript style: always use semicolons
I always mean to explicitly end a statement. say what you mean. avoid any kind of ambiguity.
AdrianRossouw··on Introducing Famo.us-Angular
> I'm the first employee at the company and AFAIK also the only person at the company that browses with javascript disabled by default (ironic, isn't it?), and one of the things that most excites me about the API-ification of the web with thick web clients, is the possibility to create server side frameworks that a static representation (basically pure HTML and minimal CSS) with javascript for famous apps.

This is absolutely exactly what I am talking about, and what I am dying to get back to. I find the idea of the content actually being the content, in a straight one paragraph/aside/article after another... with no floats or what not.... I find it completely fucking liberating.

I was absolutely blown away when i discovered that this is how you do responsive layouts in famo.us :

    if (contextSize[0] < 480 || contextSize[1] < 480) {
        dimensions = [2,8];
    } else {
        dimensions = [8,2];
    };
How much time and energy was spent to build non-turing complete declarative DSL's that are all just there to try and avoid writing that single if statement?

I'm authoring lots and lots of content these days, and I just want to get on with writing the content, and then be able to add stuff like interactive figures, that only kick in when needed.

I also prefer links to lynx. I use it on my open pandora now and then, and whenever I am on a remote server.

AdrianRossouw··on “var functionName” vs “function functionName”
coffeescript forces you to do that, and I do use it that way sometimes in CS.

I don't do it as much as i would with plain js, because the function definition feels less awkward, but I do still prefer named functions over anonymous ones. even if the name only exists in the local scope.

AdrianRossouw··on “var functionName” vs “function functionName”
This is what I mean. The code that uses the callbacks go first, the callbacks themselves are all named and access to closures withstanding, not nested.

      // this is all the code that is used,
      var _changes = follow(couchOpts);
      _changes.on('change', onChange);
      _changes.on('error', onError);
      _changes.resume();
  
      // from here is just named functions
      function onChange(data) {
        _changes.pause();
        save(data.seqId, saveFn);
      }
      
      function saveFn(err, entity) {
        if (err) { return console.log(err); }
        _changes.resume();
      }
      
      function onError(err) {
        console.log(err);
      }
AdrianRossouw··on “var functionName” vs “function functionName”
i know it's sort of side effect driven, but i like function hoisting.

it's one of my main tools to fight the callback pyramid of doom.

use named functions, place them below the code that uses them.

all flat.

AdrianRossouw··on Introducing Famo.us-Angular
famous is going to make me pretend i'm brett victor soon.

ala: http://worrydream.com/LadderOfAbstraction

I really wish there were more documentation on the progressive enhancement side of things though.

← PreviousPage 5 of 19Next →