HNHacker News
TopNewBestAskShowJobs

fuzionmonkey

1,001 karma · joined April 26, 2011

submissionscomments
fuzionmonkey··on Southwest Airlines is intimidating our startup
Nice work, it even has a deploy to Heroku button!

Honestly, I think it's pretty lame trying to profit from arbitrage on SW prices like that. $3 per alert? Really?

Great job making an OSS implementation.

fuzionmonkey··on Using Neutrino to jump-start modern JavaScript development
I think you are conflating multiple things. There's several JS styling libraries have literally zero configuration (and don't involve build tooling, etc). They "just work" out of the box.
fuzionmonkey··on Show HN: Styletron – Virtual CSS
Plain pseudo classes are supported (e.g. :hover), but since descendant/child combinators aren't supported, a parent :hover can't change a child style. But any element can still have :hover styles.
fuzionmonkey··on Show HN: Postacard – Text a Photo to Send as a Postcard Anywhere on Earth for $3
At-cost version web version of this using Lob API: https://github.com/scott113341/post
fuzionmonkey··on Simpler GitHub Pages publishing
For generated HTML docs or websites, this is still not ideal because you have to commit generated code into your master branch.

You can even use Travis to automatically generate and deploy your docs/website, which I find much cleaner and convenient than manually publishing or committing generated code.

https://github.com/L33T-KR3W/push-dir makes it easy to publish a directory to gh-pages (even .gitignored directories i.e. build/).

fuzionmonkey··on Uber to Sell China Business to Rival Didi After Losing Billions
It's not a $7 billion "exit". It's an investment for a 20% stake in Didi for $7 billion, which presumably will increase in value as Didi continues to expand in China, especially with less need for ridiculous spending on driver incentives since they will no longer be competing with Uber.

Uber probably had something in the ballpark of 20% market share in China so it sounds like the two decided to simply make peace and become profitable together instead of duking it out for years on end and throwing away billions.

fuzionmonkey··on Uber to Sell China Business to Rival Didi After Losing Billions
Didi and Uber have been raising outrageous amounts of money to outspend each other on driver incentives. Seems like a smart deal for both sides.
fuzionmonkey··on Show HN: ReactCSS – Inline Styles with Support for React, Redux and React Native
This is very similar to https://github.com/Khan/aphrodite and https://github.com/rtsao/react-stylematic
fuzionmonkey··on Headless Chrome is coming soon
This is awesome. I've been using Electron for browser tests which has been a big improvement over Phantom, but setting up xvfb can be a pain.
fuzionmonkey··on More contributions on your profile
I actually don't like this change.

Private contributions don't benefit the greater community unless the project is eventually open sourced.

The contribution graph was a nice way to show off how much one contributes to open source, thereby encouraging folks to contribute to open source projects. It's a vanity metric in the first place, so why not use it to help motivate more contributions to open source software?

fuzionmonkey··on Horizon 1.0: a realtime, open-source JavaScript back end from RethinkDB
Launch blog post: http://horizon.io/blog/horizon-launch/
fuzionmonkey··on [dead]
Non-blogspam: https://www.youtube.com/watch?v=1e-Po9C8Kj8

This user has been doing this repeatedly: https://news.ycombinator.com/submitted?id=mgmsaji

fuzionmonkey··on State of React and CSS
This is simply not true. Many CSS-in-JS libraries support build or render-time extraction of CSS, which takes care of your first criterion.

Many CSS-in-JS libraries also handle style modularization, often in ways arguably better than CSS preprocessors. There's a lot of variety here.

I'm not sure what you mean by "faster than CSS". CSS can be fast or slow, depending on how the CSS is written.

You should take a look at: https://github.com/MicheleBertoli/css-in-js

fuzionmonkey··on State of React and CSS
A very comprehensive list of CSS-in-JS libraries with code examples is maintained here: https://github.com/MicheleBertoli/css-in-js for folks who are interested.

My personal favorite: https://github.com/rtsao/csjs

fuzionmonkey··on Canvas: Notes for teams of nerds
This is awesome! Just today I was looking for collaborative Markdown editor with nice previews/rendering.

There needs to be the ability to ability to add comments to documents, though. Without commenting, the "collaborative" aspect is severely limited.

fuzionmonkey··on Saved Replies
https://github.com/Jam3/ffmpeg-gif
fuzionmonkey··on New Versioning Scheme for React
Folks have been using React in production since way before version 0.12, which is when Facebook should have released version 1.0. Releasing 1.0 doesn't in any way limit your ability to make changes in the future. It does, however, allow for more nuanced semantic versioning with the full range of major, minor, and patch versions. This extremely is useful for both library authors and consumers.

Better late than never, I suppose, but I just don't understand the pointless sentiment that results in waiting to release a fabled "1.0" release.

fuzionmonkey··on What's New in Webpack 2
I prefer browserify because of its emphasis on node compatibility, first and foremost. I think this narrower scope is a strength because as a result, browserify is super simple to use, works without config, and has a surprisingly small, readable implementation. Seriously, read the browserify source.
fuzionmonkey··on How I fixed a bug in Atom
https://github.com/atom/node-oniguruma
fuzionmonkey··on Why React/Redux is inferior as a paradigm
https://github.com/motorcyclejs
fuzionmonkey··on Why React/Redux is inferior as a paradigm
Cycle.js has the most elegant and powerful component composition mechanism of any JS framework I've ever used. With React you have to be extremely careful in how you design components to make them re-useable and flexible.

The inversion of control that happens with Cycle.js makes it really easy to compose components together. At first it feels weird to not manually specify event handlers (e.g. onClick) in DOM-generation code, but as a result there's much less embedded opinion on how the component be should be used. Instead each component simply returns a collection of queryable observables, which is extremely flexible and adaptable.

It's also cool how components have the exact same function signature as a full Cycle.js app, so you can think of your app as being composed of several mini-apps. It's very clear Cycle.js was designed with composability in mind from the start.

fuzionmonkey··on A new look for repositories
I hope the removal of the sidebar doesn't result in wider README views.

The current design has a fixed width of 790px (including 30px of padding on each side), which leads to a comfortable number of words per line. I find readability much worse when line lengths get longer.

Other than that, I think the simplified navigation is a big improvement.

fuzionmonkey··on Vue.js 1.0.0
React 0.14 is 132KB minified [1].

I wouldn't exactly consider React "lightweight," especially compared to other frameworks like Mercury [2], Mithril [3], and Riot [4], which are a fraction of the size of React but still have their own virtual DOM implementations.

[1] https://fb.me/react-0.14.0.min.js

[2] https://github.com/Raynos/mercury

[3] http://mithril.js.org

[4] http://riotjs.com/

fuzionmonkey··on CSS Modules
One thing worth mentioning about class composition with CSS Modules is it allows for the convenient ergonomics of Sass's @extend without any of its problems.

Sass @extend is actually counterproductive in terms of reducing filesize [1] and results in unwieldy, unreadable CSS rules [2]. In contrast, CSS Modules achieves true class reusability and optimal de-duplication of styles in a manner impossible with Sass, resulting in a nice Chrome Inspector view because the original classes are preserved and their composition is naturally represented.

[1] https://tech.bellycard.com/blog/sass-mixins-vs-extends-the-d...

[2] http://pressupinc.com/blog/2014/11/dont-overextend-yourself-...

fuzionmonkey··on Comparison of CSS in JavaScript Libraries for React
If you're interested in CSS in JS you should check out css-modules [1] and its Webpack [2] or Browserify implementation [3].

You get scoped, modular, composable, requirable CSS without the burden of doing styles in JS.

[1] https://github.com/css-modules/css-modules

[2] https://github.com/webpack/css-loader

[3] https://github.com/css-modules/css-modulesify

fuzionmonkey··on Dark Web vendors offer up “thousands” of Uber logins starting at $1 each
If this was due to a breach at Uber, it stands to reason there would be millions of accounts for sale, not merely thousands. I'm more inclined to believe this is a result of shared and/or weak passwords.
fuzionmonkey··on Why Do People Have Such Strong Feelings for the Portland Airport’s Carpet?
As a Portland native, I'd say there's nothing Portlanders love more than Portlandy things from Portland.

But in seriousness, I think it's fairly clear the whole obsession with the carpet was started by photos shared on Facebook and Instagram. People didn't used to take pictures of the carpet -- it was just a peculiar design that was recognizable but not necessarily noteworthy. I remember seeing PDX carpet photos with the classic "feet on ground" composition circulating Facebook several years ago and it has steadily spread since.

But the announcement of the carpet's eventual replacement really galvanized the phenomenon because it turned it into a news story and created a cottage industry for carpet memorabilia. I think the whole thing is hilarious.

fuzionmonkey··on The thing I hate about HTML (2010)
See: https://github.com/dominictarr/hyperscript
fuzionmonkey··on Uber will provide Portland with driver data
I'm not surprised Portland would be interested in trip data from Uber. The city recently licensed data from a fitness app company apparently to help better understand cyclist habits [1].

I'm just glad Uber and Portland were able to work something out. Both sides were able to save face and hopefully the city can enact some sane ridesharing regulations. Portland has fantastic public transportation compared to cities of comparable size, but completely disallowing ridesharing companies from operating would have been a big step backward.

[1] http://www.theverge.com/2014/10/8/6938041/portland-enlists-b...

fuzionmonkey··on Show HN: Picky Pint – Scan beer lists with a photo
Similar to SipSnapp [1]. The UI looks much better, though.

[1] http://www.sipsnapp.com/

Page 1 of 4Next →