HNHacker News
TopNewBestAskShowJobs

benschwarz

434 karma · joined March 9, 2010

submissionscomments
benschwarz··on Show HN: Satori – Convert HTML and CSS to SVG
We used this to generate dynamic share cards for our core web vitals checker tool (plug: https://calibreapp.com/tools/core-web-vitals-checker).

Previously new uncached requests for Open graph share-card images were generated in Chrome, sometimes taking up to 5 seconds to generate. (They were then stored in cache for 12 hrs).

Because we're now using Satori powered og images, they render almost immediately and we don't have to own the problem of having Chrome deployed within the 50mb lambda limitation. I'm pretty happy about that.

benschwarz··on Issues with upstream DNS provider
My company moved a 600GB postgres db to crunchydata (https://www.crunchydata.com), the process was super smooth. In fact, it went so well that I agreed to a quick case study: https://www.crunchydata.com/case-studies/calibre.

We're currently using Heroku for app hosting, while evaluating fly.io, render.com and railway.app. All three have had exceptional reviews from other customers and differ slightly on their service offerings and setups. All seem like viable alternatives so far!

benschwarz··on How Google Pagespeed works
That's what I took from it yep.
benschwarz··on How Google Pagespeed works
Hi, I'm the author :-)

I've left significant levels of details about pagespeed on the lighthouse issue tracker over the last few months. It's really frustrating to see the lighthouse team being blamed for something that isn't operationally even theirs… but that's a big company for you.

The biggest contributing factor to unstable pagespeed scores is the power of the machines that do the tests. Last time I checked the scores / bench mark scores for pagespeed were all over the place. … All the same, it's really important to understand how it all works. Hopefully the post had something for you?

benschwarz··on How Google Pagespeed works
Because it's in the code and it's factually correct. It felt weird to not mention it!
benschwarz··on How Google Pagespeed works
… but to answer your question better. It sucks that Google's own services don't live up to the performance expectations of tools made in other parts of Google.
benschwarz··on How Google Pagespeed works
Hi! Author of the post here.

Lighthouse definitely has some improvements to make for the audit suggestions that offer advice to improve the score. I think people get a little bit frustrated/blinded by the advice when there's nothing that can be done about third parties (I know I do!).

Our product Calibre (mentioned in the bottom of the post) has a n adblocking/third party blocking feature that allows you to compare your pages with or without third party scripts gunking up performance metrics (here's the release post: https://calibreapp.com/blog/release-notes-apr-2019/).

We've seen really good success in separating the two because it sends a clear signal of what a site WOULD score without ads. This is good because it makes it clear to PMs, management and decision makers that tracking tools incur a really visible cost.

benschwarz··on Show HN: Calibre Test Profiles – Test your sites under real world conditions
Sure! Here goes:

The App itself is boring old rails, with postgres (get me started on how much I like postgres and I will literally bore you to tears.) The original views were all haml and sass delivered via the asset pipeline. I sprinkled in angular here or there as the application grew.

Today, I'm slowly tearing away the angular. I've moved to webpack for JavaScript, and React for all new UIs. I've been really enjoying both the speed of development, and how solid everything feels.

Over time, I'm writing less and less ActiveRecord, and more and more sequel… still learning, but getting better.

The app is run on Heroku, and its been A++ would recommend to everyone.

The Calibre agent is node and websockets talking to Chrome®, theres other bits of ruby, and even some golang now.

I use terraform and ansible (although, the ansible may as well have been bash scripts) through a buildkite (https://buildkite.com — the best fucking CI service on the planet) pipeline. AMIs are built, shipped to different regions, then based on some config are rolled out.

Papertrail for logs - omg, logging! Essential. I run thousands of tests per day (I don't know this number off the top of my head, but its a lot)… and the nature of the internet is THERE IS ALWAYS FAILURE. Having logging at my fingertips has always made my job building Calibre easier. I think I pay $20 per month right now, and its the most important thing I pay for.

--

Ok. Whew. Could probably keep going, but I'm not sure how much you wanna know. Happy to answer specific things though!

I do everything. No contractors. Although @fox has been recently helping me with my writing (her native language is Polish, and she writes waayyy better than me - and most others).

benschwarz··on Show HN: Calibre Test Profiles – Test your sites under real world conditions
Please do! There's a fairly relaxed 14 day trial. (And you get a fresh trial if you create a new "team"/organisation
benschwarz··on Show HN: Calibre Test Profiles – Test your sites under real world conditions
Web page test is a succhhh a great tool, and its really great for one off tests. Calibre will automatically hit your site daily (or, when you ping the snapshot api), and you'll have a full history of what happened and when.

With Calibre the aim is to make it a part of your toolchain (read: integrations) — so it should be visible to your entire team, or build system, or slack channel.

benschwarz··on Show HN: Calibre Test Profiles – Test your sites under real world conditions
Without being super familiar with the tech that any of these companies are running —

The biggest thing that sets Calibre apart is that its entirely built using the Chrome developer tools APIs. I like to think about it as someone on your team who opened devtools after every deploy, and kept a neat spreadsheet of all the changes that had occurred. In short, all the data is ready and available for the taking.

This also has the added benefit that I have the power of the Chrome browser to play with. Projects like Google's Lighthouse (https://developers.google.com/web/tools/lighthouse/ — Which I'm currently integrating into Calibre!) have meant that a lot more powerful tools/metrics/resources/etc are coming along strongly, and this will only help make Calibre more powerful too.

Calibre is firmly focused on what your users actually experience, and helping you get to the bottom of 'why' quickly and efficiently. So while technically focused tools are imperative for any team, many of them aren't focused on the most important people in the equation.

Also, thanks — Good question.

benschwarz··on Show HN: Calibre Test Profiles – Test your sites under real world conditions
Yeah… that animation isn't what it should be for a performance product—luckily, after this (and the lighthouse integration I'm working on right now), I'll have all-new marketing too!

Edit: Thank you! :-)

benschwarz··on Show HN: Calibre Test Profiles – Test your sites under real world conditions
Atm, the focus is clean room, but real time/user metrics are on the horizon—especially when the company is more than just me!
benschwarz··on Show HN: Calibre Test Profiles – Test your sites under real world conditions
Hi HN! I'm Ben, the solo founder of Calibre Analytics: https://calibreapp.com. Calibre monitors websites and applications in a clean-room testing environment from all over the world. Up until January Calibre has been an "inbetween other things" / evenings / holidays kind of project. (Only, oops—I did that for four years.).

Last year I knuckled down to get into the position where I could work on it full time. I've spent the last 8 weeks working on "Test profiles" (The launch post is here: https://medium.com/get-calibre/announcing-test-profiles-and-...) — It allows you to emulate hardware devices (cpu speed, user-agents and screen dimensions), as well as limit the bandwidth (latency, download and upload speeds), and set cookies (you could use this to log into your app, test a staff-shipped feature, or maybe turn off advertising and see the performance impact.)

I think I've finally got the basis of a really powerful tool, and I'm keen to share it with… everyone! I do everything myself, so if you've any questions, I'm here to answer them!

benschwarz··on Real-world HTTP/2: 400GB of images per day
You're right.
benschwarz··on CSS Variables in Firefox 29
Chrome / Blink has pulled the implementation for now because of changes to the spec / poor implementation. It'll come back (in time).

Ref to feature being removed: https://groups.google.com/a/chromium.org/forum/#!topic/blink...

Right now, Firefox 29, Aurora and Nightly are the only browsers that have CSS Variables shipped. (Although, there is still no CSSOM implementation present — that'll come later.)

benschwarz··on I will not do a tech interview
I wrote about code tests and interviews a couple of months ago. (http://germanforblack.com/post/52224250893/the-perfect-code-...)

Heres a choice quote that I'm still happy with:

"Programming isn’t theatre or performance, “on demand” isn’t how your job works"

benschwarz··on Open source free, $12 to learn what I had to know
As long as its not too embarrassing :-)
benschwarz··on Open source free, $12 to learn what I had to know
The idea kind of came along when I was extracting Gallery CSS from the project that I built it for — I realised that people probably wouldn't understand the library, or the need for it… but I didn't want the cool tech result to go unnoticed.

Originally it was going to be an ebook… if I'd have done that, it would've been released about 3 weeks ago, but the knowledge transfer is far more challenging VS a screencast.

benschwarz··on Sublime Text + Twitter's bower
I recorded a screencast that explains why Bower is cool and a quick first-version demo of the plugin.

http://germanforblack.com/post/46734908388/i-built-a-plugin-...

Since last week, thanks to awesome contributors we've added:

* New commands * Windows support * Sublime Text 3 (which is in beta) support

benschwarz··on Rel="logo" (2011)
It be great to query the api/a directory site to find out alternate versions or perhaps usage guidelines for the logo. Then each provider/company can have a canonical method for people to use their brand.

… its a cool idea, but somewhat floored when put into actual use.

benschwarz··on Waza - Heroku developer conference - $300 - Feb 28
Aaron is a ruby and rails committer, he's not only entertaining, but a great teacher. If you don't think he and the other speakers are worth it, don't go.

… If you think $300 for a conference is absurd, then you've clearly never organised anything bigger than a BBQ.

benschwarz··on Rdio 2.0 Design
Wait… so you stopped using rdio because you didn't like the design, but you chose spotify? ARE YOU BLIND MAN?
benschwarz··on Show HN: garlic.js - don't let your users lose their form data
Sure, if you think thats a valid use case to build for. I don't.
benschwarz··on Show HN: garlic.js - don't let your users lose their form data
IE8 supports both local and sessionStorage.

Which leads me to an aside — Why did you choose localStorage over sessionStorage?

For those who don't know — local/session are the same, only session will be cleared when the browser is closed.

My browser already auto completes form data… so I'm not sure I'd need it between sessions.

benschwarz··on Announcing Instagram Profiles on the Web
I think this was really needed… you only need to look at the various sites web.stagram.com, pictajam.com, instaprof.appspot.com, ink361.com and more to know that people really wanted this.

Great, however — there is no way to take your photos with you without using the API (and thusly, oauth).

I was really hoping for an RSS/Atom feed, or a JSON endpoint that didn't require auth.

Do you think this is an oversight on instagrams' part, or was I just misguided in my hopes?

benschwarz··on React is a PHP port of NodeJs non-blocking I/O platform
I want to say this library is the best troll ever. Then I see all the real code on Github.
benschwarz··on Declaration of process
dkarl, Good response. The headline on hacker news is the headline of the site, transparent as that… but you're totally right about it being unobjectionable—its a _personal_ list.

Food for (my) thought.

Thanks!

benschwarz··on Declaration of process
DKarl, did I advertise it as anything else? I identify with them for one reason or another, they made my list.

One of the disclaimers on the about page is that from time to time I remove them, or edit my own, because I don't feel that way any longer. Convenient, hey? :-)

Hope you found it interesting all the same. Just sharing for the sake of it. I enjoyed them.

benschwarz··on Stress and creation
Ahh, actually I was just sharing my realisation of the three kinds of stress that I'd self-identified… and a lot of people seemed to relate to it.

But whatever, maybe it just wasn't for you.

Page 1 of 2Next →