Better HN
topnewbestaskshowjobs
Log inSign up

cdata

1,505 karma · joined May 18, 2011 (15y ago) · 247 submissions

https://bsky.app/profile/cdata.earth

https://mastodon.social/@cdata

Submissions

comment 10y ago · link · parent

For now, no. But eventually we are considering expanding the game for a few other conferences and incorporate other neat platform features like physical web beacons. Eventually we might add a general mechanic that allows anyone to participate, but in the near term it is just meant to be a reference game for others who are interested in building apps on the web platform.

comment 10y ago · link · parent

Yup, the game will be made entirely open source, with CC licensed art and music included. Some of the backend is currently under NDA, so we cannot make the source code public yet, but it's already on Github. We're currently thinking this will happen some time in November.

comment 10y ago · link · parent

Author of the game here. We built Polymon for the Polymer Summit to help attendees connect with the team and show off features of the web platform. Team members all have QR codes on their badges that can be scanned by attendees to "catch" the Polymon. Locations of the scanned Polymer team members are updated on a map as they are scanned. There is also a battle system where you form a team of your caught Polymon and link up with someone near by for a local challenge.

I'm happy to answer any questions.

comment 10y ago · link · parent

All the more reason to experiment with the proposed standard API and contribute feedback.

The advantages of standardization and eventual native implementation outweigh the immediacy of a JS-based API designed in relative isolation. Why should I invest time learning this micro-library, when the API is certain to be different from the native implementation? The documentation doesn't seem to even acknowledge the existance of the standard (did the author do any research before implementing a one-off library? I have no way of knowing.), much less explain why it differs from the proposed standard.

comment 10y ago · link · parent

There is an emerging standard called Intersection Observer that addresses the same use case: https://github.com/WICG/IntersectionObserver/blob/gh-pages/e...

This is a really useful problem to solve. But, I would personally prefer to solve it with a polyfill for a standardized approach that will eventually receive native implementation.

186.

Google distances itself from publicly critical security engineer(arstechnica.com ↗)

6 points · by cdata · 10y ago · discuss

comment 10y ago · link · parent

How does Horizon handle offline network conditions? Are there network + app states (e.g., cold boot, refresh) under which users might not have access to data?

comment 10y ago · link · parent

I love TypeScript, but one thing that I find increasingly irksome is the phenomenon of TypeScript advocates who present a dismissive attitude towards workflows that don't include TypeScript.

Why would I ever use this instead of TypeScript? A totally reasonable answer to this question is that I don't want my JavaScript sources to require transpilation before they will run in a modern browser.

comment 10y ago · link · parent

Here is a link to go-libp2p, which I believe is what you are referring to: https://github.com/ipfs/go-libp2p

comment 10y ago · link · parent

Also on the topic of things SASS cannot do:

Custom Properties effectively enable "styling APIs" to be declared for Custom Elements that have a shadow root, since Custom Properties cascade across shadow boundaries (detail in parent's [0]).

comment 10y ago · link · parent

I had a very similar outcome with Magic after trying really hard to rely on it. One of their suggested usages is to order flowers for someone, so I tried that on two different occasions.

The first time around, I asked for flowers, and got a picture of some flowers that they could send to my recipient. I didn't like the flowers in the picture, and so they picked another set of flowers per some feedback from me. The flowers arrived, and the recipient was touched, but my lingering feeling was that I would have spent the same amount of time ordering online, and it would have been easier to find the right kind of flowers if I had done so.

The second time I tried to order flowers was a complete disaster. I was ordering them for a special occasion, and Magic had told me they would be delivered within an acceptable time frame. However, the flowers never showed up. I was not notified that they had not showed up - instead I learned that they had not showed up after one of the more embarasing birthday calls of my life. Magic was very nice about it, refunded me and delivered the flowers late for free. The error may not even have been their fault. However, the extra layer of abstraction between me and the flower delivery person in this case seemed to make the whole situation worse.

I use a lot of different do-things-for-you services these days. In theory Magic is a service I should be totally hooked on, but these bad experiences killed it for me. What's the point of a service that does everything for you if it makes things more complicated or harder to get done?

comment 11y ago · link · parent

ShadowDOM removes the need for a component user and a component author to collaborate in order for styles to be encapsulated. This, in turn, enables easier distribution and usage of generalized components.

comment 11y ago · link · parent

Disclosure: I am a contributor to this project.

Whenever yet-another-JS-framework hits Hacker News, there is a lot of pre-emptive recoiling amongst commenters from the latest flavor of the week tool fighting for our already fraying attention.

If you are like me - you believe in the potential of the web as an application platform, but you could do without the endless framework churn - you owe it to yourself to explore the Web Components standards. Web Components are a giant leap towards interoperability between application frameworks. If you don't know anything about Web Components, Polymer is a powerful and fun way to get started with them.

comment 11y ago · link · parent

I love reading Kyle's work and have had the privelige of seeing him speak a few times. He has an uncommon capacity to dig into the little, grouty nooks of JavaScript and uncover precious veins of knowledge. If there is anyone that I would trust to write a worthy series of technical books on JavaScript, it's him.

comment 12y ago · link · parent

When I first broke into web development, my editors of choice were Coda, Dreamweaver and Visual Studio (I wonder if I am dating myself here). I made a mid-career move to (non-gui) Vim, mostly out of general interest. The ramp up to Vim coming from GUI-heavy editors was a long one, but I stuck with it and it was worth it for me.

So, it's definitely possible to switch, you just have to be able to deal with that ramp up.

comment 12y ago · link · parent

The example used to demonstrate template literal "syntax noise" in this proposal is an unfair exaggeration, in my opinion.

JSX is handy because it allows authors to think about the hierarchical relationship of components in terms of how they would be laid out in something like HTML. Template literals may not be ideally suited to the JSX case, but they represent a promising "native" solution to the problem JSX tries to solve. I'm always happier when I can leverage something that is native to the language I'm using to solve a problem.

comment 12y ago · link · parent

We've come a long way from cheesing a little extra performance out of the DOM by applying CSS 3D transforms, that's for sure ;)

comment 12y ago · link · parent

Hrm, there's a lot of Noderage on HN tonight..

Incidentally, if anyone here was actually affected by this, they put up a reasonable explanation / apology / useful-resolutions blog post that no-one seems to be paying attention to: http://blog.npmjs.org/post/78165272245/more-help-with-self-s...

comment 12y ago · link · parent

This sounds like a very promising tool. I'm really excited to hear all of the talk about extensibility.

One thing that is conspicuously absent is any mention of it being open source. I can certainly appreciate that Github is for-profit, but I would love to have a clearer idea of how free / not-free this tool will be when it is publicly available.

comment 12y ago · link · parent

As a JavaScript developer who spent much of his early career writing framework-less JavaScript (as many of us did in the not too distant past), the sentiment behind this post really rings true to the way I feel about programming for a client like the browser. Modern frameworks are all young and imperfect in their own ways, every byte counts and JavaScript is certainly powerful and expressive enough to get you by without a framework.

On the other hand, now that I have had the experience of leading teams of JavaScript developers, I know first hand the value of building a project on top of a common base that is readily familiar, well documented and easy to pick up by outsiders. The reality I have experienced is this: as your project and team grow, not everyone you work with will hit the ground with the architectural ambition to contribute to or absorb a new paradigm. Many developers will come to the table with useful domain experience related to a specific framework, or a desire to learn a tool that will be useful to them in a future job.

Asking developers to learn your company's proprietary paradigm is asking them to invest time and effort developing a skill that they often can't even use in a side project if they wanted to; putting aside questions of commoditization of the profession, I think that this can be a potential enthusiasm killer for your team mates.

The ability to think beyond the framework and self-solve problems with code is a great skill to engender in a team. That said, the pursuit of that skill often must be balanced with the business need of crafting a product.

comment 12y ago · link · parent

On the one hand, TFA is obviously put off by both the tech stack and the hiring procedure. This suggests to me the possibility of a poor cultural fit, so the outcome is probably for the best.

On the other hand, it is reasonable to have a backup plan for situations where someone is adament about not working on your proprietary code for free. Any legal issues aside, as someone familiar with the existing code base, a lead should be able to conceive of a contrived scenario that closely maps to work that will be done on a day to day basis.

While I am personally an advocate for contributing to open source projects as part of a company's cultural, that is not something that all companies are okay with, or that all leads see as valuable. Without judging one way or another, this is another factor that should be considered for cultural fit.

comment 13y ago · link · parent

As a developer who has working on and in the browser platform for a long time, I totally agree that the irony of stories like this is thick.

On the other hand, watching browser technology evolve from whatever IE6 was into the sole interface presentation layer for top tier operating systems has been fascinating. Browsers may have failed to bring us a "one true platform" by themselves, but the technologies involved are quickly reaching ubiquity.

comment 13y ago · link · parent

As a current user of CircleCI, and as someone who set up Jenkins for general consumption at my last company, I have to echo your sentiment. With CircleCI, we have been left in the dark for more time than I care to think about due to completely oddworld (and sometimes sporadic) failures. Jenkins took me less than a day to set up (as someone who had never set it up before), and while it wasn't all smooth sailing, everyone was capable of diagnosing problems that we encountered.

To be fair to both Circle and Jenkins, between Github, Heroku and/or <insert other virtual services here>, there are a lot of 'black boxes' that have to work in concert (for us, and probably for many others out here). As the pin that ties the deployment cycle together, CI tends to draw on a lot of hate (warranted or not) from engineers trying to get their code out of the door.

I find that I am happier when I can get my hands dirty and help myself when things go awry. Software is all fun and games until a black box is standing between you and deployment.

comment 13y ago · link · parent

Most patterns can be abused and transformed into abomination. No amount of data-binding or delegation will serve you better than a handful of good judgement and a pinch of discipline, especially while you are architecting the core of your application.

comment 13y ago · link · parent

It's interesting how the traditional definition of 'native look and feel' is starting to seem passé. Most of the computers I have sitting around the house today do not utilize a tree view in any default 'app'. There are no interface components on my tablet (that I can think of) that can't be recreated with some combination of HTML, CSS and JavaScript in a modern browser.

206.

Backbone conventions: templates and subviews(scriptolo.gy ↗)

2 points · by cdata · 13y ago · discuss

comment 13y ago · link · parent

At least one partial attempt has been made to reverse-engineer the protocol, with an emphasis on analyzing the security claims[1][2].

1: http://forum.bittorrent.com/topic/21338-inofficial-protocol-...

2: https://github.com/picosync/workingDraft

1
56789