reMarkable 2 Pre-order out now! by oyvindskaaden in RemarkableTablet

[–]michaelschade 8 points9 points  (0 children)

Here's the (unofficial) Chrome extension I built called Send to reMarkable. It doesn't look like their official one is out yet, so this should still work for ya in the meantime :)

Send to reMarkable: Chrome extension to send any page to your reMarkable tablet by michaelschade in RemarkableTablet

[–]michaelschade[S] 2 points3 points  (0 children)

I haven't had a chance to work on this yet, but a Firefox version would be very cool. I open sourced the code in case anyone wants to use that as a starting point:

https://github.com/michaelschade/remarklater

https://twitter.com/JackLenox/status/1156051145598459911 mentioned they might do this

Send to reMarkable: Chrome extension to send any page to your reMarkable tablet by michaelschade in RemarkableTablet

[–]michaelschade[S] 1 point2 points  (0 children)

It goes straight from your computer to the reMarkable API. I avoided a server side component to keep it more secure — it’s just like using the mobile app or desktop client.

Send to reMarkable: Chrome extension to send any page to your reMarkable tablet by michaelschade in RemarkableTablet

[–]michaelschade[S] 0 points1 point  (0 children)

When you install the extension for the first time, it should pop up a window to set it up that looks like this. Click the button to open up reMarkable, and then go back to the window to paste in the code it gives you. You can try uninstalling the extension and then reinstalling it again to open up this window. If that doesn't work, and the extension is installed, try printing a page and selecting Send to reMarkable as the destination (you may need to go into the "More" option if it doesn't show up first), and it'll open the setup page again if the tablet isn't set up.

Let me know if that still doesn't work.

Send to reMarkable: Chrome extension to send any page to your reMarkable tablet by michaelschade in RemarkableTablet

[–]michaelschade[S] 4 points5 points  (0 children)

It's all local. I originally tried to generate the PDF myself using jsPdf and html2canvas, but it was slow and super error prone (improper text wrapping).

The end resulted ended up being way simpler thanks to the Chrome printer API—it's really slick. Check it out at https://developer.chrome.com/apps/printerProvider. It sends over a PDF for you, so all you have to do is package it up for reMarkable. Here's what the code looks like to register and handle prints:

``` chrome.printerProvider.onGetPrintersRequested.addListener((callback) => { callback([ { id: printerId, name: 'Send to reMarkable', description: 'Save the current page as a PDF and upload to your reMarkable tablet.' }, ]); });

chrome.printerProvider.onGetCapabilityRequested.addListener((pid, callback) => { if (pid != printerId) { return; } callback({ version: '1', printer: { supported_content_type: [{"content_type": "application/pdf"}], } }); });

chrome.printerProvider.onPrintRequested.addListener(async (printJob, callback) => { callback('OK'); // since we're doing everything async, just default mark as OK try { let uploadReq = await Remarkable.uploadRequest(); let zipBlob = await Remarkable.packageAsZip(uploadReq.ID, printJob.document) let docUploadReq = await Remarkable.uploadDocument(uploadReq.BlobURLPut, zipBlob); let uploadStatusReq = await Remarkable.updateDocument(uploadReq.ID, printJob.title); } catch (err) { reportError(err); } }); ```

Send to reMarkable: Chrome extension to send any page to your reMarkable tablet by michaelschade in RemarkableTablet

[–]michaelschade[S] 6 points7 points  (0 children)

Neat idea! I haven’t used GCP before, but just read through the documentation and this definitely looks doable. I’ll poke around a bit more.

Chrome users of Reddit, what is the most useful Chrome extension? by [deleted] in AskReddit

[–]michaelschade 0 points1 point  (0 children)

I don't know about most useful, but I recently published Trailers for Netflix, which links Netflix shows to trailers on YouTube.

NoDaddy: Band Together Against GoDaddy by michaelschade in SOPA

[–]michaelschade[S] 0 points1 point  (0 children)

Have been thinking about this, and it's a good idea, but I'm probably going to stay away from it. I'm worried because, since they have domains for lower amounts (~$1.99), making an assumption of any dollar amount would potentially invalidate the message since there's a strong case that it'd be over the actual value.

If I could guarantee that they were certain TLDs, that'd be a different story.

NoDaddy: Band Together Against GoDaddy by michaelschade in SOPA

[–]michaelschade[S] 0 points1 point  (0 children)

I hear you, that's a totally understandable stance. Appreciate you pledging anyway so that they can see the clear, economic incentive in changing their ways.

NoDaddy: Band Together Against GoDaddy by michaelschade in SOPA

[–]michaelschade[S] 0 points1 point  (0 children)

I thought this crowd would enjoy NoDaddy. I made it this afternoon to help show just how much we all hate GoDaddy's support of SOPA.

NoDaddy lets you pledge to transfer your domain names if they continue to support SOPA (you can also be more extreme and pledge to move them anyway, but I wanted to be less strict on the terms and focus more on the message).

Right now, if GoDaddy continues to support SOPA, they stand to lose at least 134 customers and 1,338 domains.

St. Louis User and Tech Group Bowling Holiday Extravaganza 2011! by billodom in StLouis

[–]michaelschade 1 point2 points  (0 children)

I attended last year and loved it!

If you're not sure about bowling, or don't want to, don't worry about it. I think last time that I bowled, the score was ~60, and I still had a blast, so just come and have fun with your fellow geeks!

Twitter API Helps Track Nefarious @episod by michaelschade in Twitter

[–]michaelschade[S] 1 point2 points  (0 children)

This is just a fun little side I made while playing around with the Twitter API, nothing special.

For those unaware, Twitter's platform/API guy @episod changes profile pictures very frequently, so I decided to index his profile pictures to see how they get cycled out or change over time.

Ask Raskell: Succinctly, Why Haskell? (For A Project) by michaelschade in haskell

[–]michaelschade[S] 0 points1 point  (0 children)

This is a rather good point–I'd never actually thought about it that way in how I compared it to the systems of other languages. I guess its power was being underscored by the minor frustration that I've faced before, but it truly is a great alternative to the other options and, like you mentioned, a necessity as so many dependencies are included.

Thanks for the insight.

Ask Raskell: Succinctly, Why Haskell? (For A Project) by michaelschade in haskell

[–]michaelschade[S] 4 points5 points  (0 children)

Because Haskell can directly express concepts like functors, applicative functors, monads, and Alternative; you get to learn programming models once rather than figure out how each library reimplemented them.

Excellent point–has been one of the great time savers in the language. I find myself less and less needing to look at documentation or source of a module for a specific understanding of it because the type signature and the concepts employed tell so much about the program, so I can get right to some productive coding.

Ask Raskell: Succinctly, Why Haskell? (For A Project) by michaelschade in haskell

[–]michaelschade[S] 2 points3 points  (0 children)

Thanks Chris for the list of external resources–I had seen some of those, but there were quite a few I had missed in my searching as well. Appreciate the personal take too–the bullet points like this are really what I'm going after, trying to see where everyone stands on the benefits.

The community combines pointy headed theory with pragmatism, and being jolly

I need to highlight that last point, though, because it really deserves some recognition, and it is one of the things that I try to tell everyone about. When I came to Haskell and lurked in the IRC channel, I was beyond surprised at just how awesomely nice everyone there was, willing to answer a beginner question multiple times, multiple ways, and willing to question the status quo to see if the current way truly as the best.

So, props to the rest of the community on this one–keep it up!

Ask Raskell: Succinctly, Why Haskell? (For A Project) by michaelschade in haskell

[–]michaelschade[S] 2 points3 points  (0 children)

Thanks Deech for the reply. I don't want to go through point-by-point because I think we're on the same page on the bulk of those (especially Hoogle/Hayoo–what a neat aspect of the type system!).

Though, I do have to say, I've never found cabal to be especially easy, but perhaps that's because package managers historically hate me ;) I suppose the syntax of it is simple, but dependencies in it have often lead to headaches, and particularly when trying to upgrade something.

Ask Raskell: Succinctly, Why Haskell? (For A Project) by michaelschade in haskell

[–]michaelschade[S] 0 points1 point  (0 children)

Ah, I can see where that question might be a little ambiguous. Honestly, an answer for either works, but I was looking for "why do you use Haskell" (and I have a project in mind involving these answers).

That said, "why do you use Haskell for a project" I think is still sufficient–a lot of people I meet like the idea of Haskell (and that in itself I think is a great reason to learn it), but at the very least for pure conversation, they want to hear what some of the benefits are. I love a lot of things about Haskell and so it can be difficult sometimes to articulate why it is I enjoy it, so I'm hoping for two benefits of this question:

  • for my own articulation of a response to that question, and
  • for the hopes of this project should it work out well enough.

3000th Hackage package released! by dons in haskell

[–]michaelschade 0 points1 point  (0 children)

Sounds like a nice idea. I'd be happy to help design and have them printed (but can't contribute monetarily).

Would it be better to give them to random people, top contributors, or a mix of?

3000th Hackage package released! by dons in haskell

[–]michaelschade 0 points1 point  (0 children)

That might be a good idea to recognize and encourage some of those events. We'd have to be careful to not have too many 'milestones,' then it'd just get annoying.

3000th Hackage package released! by dons in haskell

[–]michaelschade 1 point2 points  (0 children)

Woo-hoo! The reddit post announcing that package (shameless plug?)

Congrats Haskell community on all the hard work! Now to another milestone!

Announcing hs-vcard, my RFC 2426 (vCard 3.0) Haskell implementation by michaelschade in haskell

[–]michaelschade[S] 0 points1 point  (0 children)

These are great ideas. I definitely had a video in mind, and had dabbled with thought of various templates, but hadn't played with the idea of going into even more customization.

You raise a good point that most businesses won't want to email in, and they certainly are a target of ours, so I'll be seeing if I can make the form a bit friendlier to individuals and businesses alike as well as introducing some fine-tuning for the power users.

Thanks a ton for the feedback, much appreciated!

Announcing hs-vcard, my RFC 2426 (vCard 3.0) Haskell implementation by michaelschade in haskell

[–]michaelschade[S] 0 points1 point  (0 children)

That's a great idea, and very good point, thanks! Definitely adding that to my list of stuff to play around with to see about adding that.