Better HN
topnewbestaskshowjobs
Log inSign up

OliverJAsh

58 karma · joined Jan 4, 2013 (13y ago) · 30 submissions

Submissions

1.

Intlc: Compile ICU messages into TypeScript functions(github.com ↗)

2 points · by OliverJAsh · 4y ago · discuss

2.

Express-fp: an Express wrapper for type safe request handlers (TypeScript)(medium.com ↗)

3 points · by OliverJAsh · 9y ago · discuss

3.

TypeScript compatible (type-safe) Twitter API client(github.com ↗)

1 points · by OliverJAsh · 9y ago · discuss

4.

Why use a Maybe type in JavaScript?(oliverjash.me ↗)

4 points · by OliverJAsh · 9y ago · discuss

5.

Reactive programming in JavaScript: values which change over time with Observables(oliverjash.me ↗)

2 points · by OliverJAsh · 10y ago · discuss

6.

How we used service workers to build a custom offline page for theguardian.com(theguardian.com ↗)

1 points · by OliverJAsh · 11y ago · discuss

comment 12y ago · link · parent

Scribe comes with a “sanitizer” plugin. See http://www.theguardian.com/info/developer-blog/2014/mar/20/i...

comment 12y ago · link · parent

Just to clear up any confusion: this is not the same as the Guardian’s “Scribe” project (https://github.com/guardian/scribe). I believe Quill did used to be called Scribe, but they are not the same. (Similar in purpose - take your pick.)

comment 12y ago · link · parent

We only save inline text in HTML. Text “elements” along with any other media “elements” is stored as JSON and we attach metadata to each element.

comment 12y ago · link · parent

This could be helpful, although we haven’t needed this sort of facility yet luckily. Thanks for posting.

comment 12y ago · link · parent

It’s easy enough to write a directive to plug Scribe in to Angular with bidirectional binding. I’ll post an example soon, but it’s simply a case of listening to content changes in Sribe and updating the Angular model using ng.NgModel.NgModelController.

comment 12y ago · link · parent

Can you add an issue here (https://github.com/guardian/scribe/issues) and we can talk solutions? I have a few in mind!

Generally speaking, it should patch behaviour to the point where it doesn’t get in the way of the user and produces clean and semantic markup. We have found that patching some of the smaller behaviour obscurities would not be trivial. If it matters to the community though, we (the open source community) can definitely get them patched!

comment 12y ago · link · parent

Nice! What persuaded you to write this polyfill?

comment 12y ago · link · parent

I haven’t done any testing on mobile, but we could add a few platforms to our integration tests to see what the support is like, perhaps! It would be good to test.

comment 12y ago · link · parent

The behaviour you describe around italics is completely native to the browser, so it will at least be consistent across uses of `contentEditable`. I agree that it is annoying, but there were much bigger fish to fry (https://github.com/guardian/scribe/blob/87d3ed1a7f28d9fcdcc0...).

You make some very good points about Markdown, and we spent awhile thinking about whether to go down that road or not. Although there is a technical barrier to access for Markdown, that’s not the reason we decided against it. Maybe we should do another blog post to follow up with more details regarding our decisions. (Or, I’ll come here with more details in just a bit.)

comment 12y ago · link · parent

I should’ve added that! There are many…

comment 12y ago · link · parent

The distribution files are kept in the `dist` branch. The tree you linked to is just for the example. We encourage consumers to download these files using Bower (`bower install scribe`)

https://github.com/guardian/scribe/tree/dist

comment 12y ago · link · parent

http://www.theguardian.com/uk?view=mobile

19.

Scribe: A rich text editor framework for the web platform, from The Guardian(github.com ↗)

1 points · by OliverJAsh · 12y ago · discuss

comment 13y ago · link · parent

Google Reader + Twitter = http://vimeo.com/69376016

comment 13y ago · link · parent

Thanks. I'll take both of those into account :-)

comment 13y ago · link · parent

Thank you! And yes, that's right.

comment 13y ago · link · parent

I didn't use Bootstrap, but I quite clearly took a lot of inspiration from Twitter.

24.

Ask HN: Review my app – Sbscribe, a social RSS feed reader (Google Reader alt)

38 points · by OliverJAsh · 13y ago · 13 comments

25.

Sbscribe – A social news and feed reader with a different spin on RSS [video](vimeo.com ↗)

16 points · by OliverJAsh · 13y ago · discuss

26.

CSS Exceptions: Object Modifiers or Extensions? – Best Practices(oliverash.me ↗)

1 points · by OliverJAsh · 13y ago · discuss

27.

Methods for Modifying Objects in OOCSS (Extends: A Fool’s Gold)(oliverash.me ↗)

2 points · by OliverJAsh · 13y ago · discuss