HNHacker News
TopNewBestAskShowJobs

funkiee

122 karma · joined January 19, 2012

JS Dev

http://github.com/mfunkie

submissionscomments
funkiee··on Next Generation KDE Plasma Notifications
Is lack of horizontal padding part of the KDE aesthetic?
funkiee··on In Silicon Valley Suburbs, Calls to Limit the Soaring Rents
There's something to be said for being in close proximity with a lot of other people working in the same profession. I came from working in tech for 8 years before moving to Silicon Valley and it's a world of difference.

In other words, Country Music will always exist outside of Nashville, but if you make Country music, Nashville is the place to be.

funkiee··on React, JSX and ES6: The Weird Parts
More on that point. The reason you cannot use if/else within JSX is because the statement needs to evaluate to an expression. If you really need to use if/else logic embedded, a ternary operator would work just fine.

return ( <nav> <Home /> { loggedIn ? <LogoutButton /> : <LoginButton /> } </nav> );

funkiee··on Elemental UI for React.js
I haven't had to pull in jQuery for other things with usage of react-bootstrap, as react-bootstrap handles all of the interactions that bootstrap provides. Also, if file size is getting you down, and you don't need all of react-bootstrap, you can simply require the individual components you need.

e.g: require('react-bootstrap/lib/Modal')

funkiee··on React Native is now open source
If you can create a build process that outputs it's starting point to index.ios.js, I don't see why not.
funkiee··on 2015 Chromebook Pixel
After digging around the store and url jumping, it looks like Google no longer sells the Nexus 5 nor 7 anymore. Interesting...
funkiee··on React v0.13 released
I strongly feel that React Native is going to come out right around F8, but cannot prove it other than that the React team seems to be speaking there and this comment on twitter https://twitter.com/reactjs/status/573872611853123584

I'm getting pretty excited to start working with React Native either way.

funkiee··on Ember's “Glimmer” vs. A Simple Underscore Template
Ran both through the Timeline in Chrome. It seems like there is a lot of time spent on scripting for Ember's version. In the underscore version you're consistently hitting render, but at least it's much closer to 30fps than Ember is in this scenario.
funkiee··on Marko vs. React: Performance Benchmark
The next sentence in your quote has some importance too, "Remember that the key only has to be unique among its siblings, not globally unique."

I agree there could be a little more clarity in that block of text, but I think the trade-offs section describes it well. Additionally, if there are any nodes in the tree that have a chance of being the same item between renders, you're going to benefit immensely from implementing a `shouldComponentUpdate` in your `SearchResultsItem.jsx` file.

React certainly doesn't win on every performance level, and if you try to compete on performance you're eventually going to lose. A careful developer could implement this list with no framework at all and have performance that beats both.

In the end, it's more about the mental model that best fits you and your team. I find the composite UI of React where I am building every component of other components in Javascript without a templating language to get in my way to be best suited to me.

If Marko works well for your team and you find it easy to get new developers on board and contributing code then that's awesome, keep up the good work.

funkiee··on Marko vs. React: Performance Benchmark
It's as intended. If the ID in a list of 100 changes, and that ID is the key, React is going to assume the tree is different during reconciliation. If you were to use an index, like 0, on pagination the key is still 0 and as such the DOM nodes will be reused. http://facebook.github.io/react/docs/reconciliation.html See #2 in the Trade-offs section.
funkiee··on Marko vs. React: Performance Benchmark
Not necessarily addressing the speed portion, but if you're going to give a key to a repeated item in React, it is best to use the index instead of a unique identifier(if the overall DOM structure does not change much between renders) so that React does not destroy and recreate each item on tree change.
funkiee··on The State of JavaScript in 2015
I think the Front-End community just happens to collaborate a lot more than other communities and so the ideas get shared at a faster pace. Yes, it leads to framework churn, but it's mostly because we're learning from each other's ideas. If the other side of the coin is stagnation where people learn the dogma of a framework and not the reason behind it, I'm all for framework churn.

Find something that works for your team and stick with it. No one is making you use the latest framework or library out there.

funkiee··on Charleston, SC police plan to sting UberX drivers
I've ridden taxis and Ubers in Charleston. The Ubers were far safer drivers.
funkiee··on Charleston, SC police plan to sting UberX drivers
Charleston resident here, our politics are so backwards in this regard. We're also considering making new bars close at midnight to make downtown 'more attractive to tech companies'.

At least local lawyers have stated that they're willing to take the case of any uber driver caught by this for free.

funkiee··on Smarty: An Autocomplete UI in AngularJS
Angular Bootstrap's Typeahead directive does this job pretty well, although we've had to do some template overriding and funky directives to get the functionality we needed (e.g. switching the results to a different set by clicking an item in the dropdown). Glad to see more alternatives being made out there. Nice job!
funkiee··on Show HN: A Grunt workflow for designing and testing HTML emails
I really like the simplicity of the 'How it works' section and I will probably steal the concept for explaining parts of our build to new employees.
funkiee··on Why you might not need MVC with React.js
Visiting this page on an iPad causes infinite font resizing and page layout changes to occur.
funkiee··on Zapier Email Parser: Extract Text From Automated Emails
We've got some particularly complicated html RegEx for Email parsing at our company. We manually write new ones for new email layouts as we get them. I'd be interested in any information on how you're solving the issue, as I love how you've tackled it at least on the UI end.
funkiee··on FiftyThree Files Trademark For “Paper”
I know Facebook using the name without communicating first feels wrong, but this is just petty and won't succeed.
funkiee··on Angular's $watch, $digest and $apply explained
It really is easy to end up with over 1000 watches in a page if you use any sort of list of length 100 or greater with complex data. Directives like bindonce help cut down on the watches, but it still isn't an easy problem to deal with.
funkiee··on Sublime Text 3 Build 3059
"Vintage: A block caret is now used"

Christmas came early... I've been waiting for this for so long.

funkiee··on Why Facebook Makes You Feel Bad About Yourself
I think I read it on a Hacker News comment, but to put it simply, You feel bad reading facebook because you're comparing someone's highlight reel to your behind the scenes footage.

Once you realize that, you can just get over it.

funkiee··on The Microsoft Surface Pro Proves That The PC Is Back
I can't agree with the statement, "It's a laptop!". It's almost impossible to use in your lap comfortably the way you would a laptop.
funkiee··on Visual Studio and Team Foundation Server will have Git support
If you do any sort of Windows administration, PowerShell is a godsend.
funkiee··on Why F#
The .Net Platform is a massive enterprise mainstay.
funkiee··on Web Scraping with Node.js and Chimera
How is that really different toolchain-wise from having to compile source code in a language such as Java?
funkiee··on The Vim Beginners’ Site
I'd recommend just doing vimtutor every day for a couple of weeks to get some muscle memory in.
funkiee··on Ask HN: What Software Did You Pay For In 2012
1Password for Mac and iOS, because remembering 50 passwords sucks and having only 5 leaves you really exposed when something like PSN gets compromised.
funkiee··on Requests, Python HTTP for Humans, reached v1.0
There's this interesting narrative that develops from time to time in Hacker News. Maybe it's just observer bias, but I had never heard of requests for Python until I read an article on HN about scraping, which in turn got me interested in Python, and now a week later a major release of Requests happens with a top story on HN.
funkiee··on Things I wish someone had told me about life after college
Be careful not to become too good in an area you don't like.
Page 1 of 2Next →