News for hackers. Stuff that matters.
Re:Polypane – Browser for Developers by kilian on Saturday April 25, 2020 @04:40PM (#22981271)
Author of Polypane here. I’m a bootstrapped solo dev trying to make this work :) Cool to finally see it on HN. If you have any questions, happy to answer them!
Re:Polypane – Browser for Developers by t0astbread on Saturday April 25, 2020 @07:05PM (#22982447)
Maybe a bit of a weird question but I'm curious: What's the reason behind this being it's own entire browser? Like, if I were given the task of implementing this I would try to avoid creating a new browser (because it sounds like a lot of work). But I know that doing "weird things" like that sometimes causes you to hit a lot more roadblocks than expected and I'm curious to hear the technical story behind this!
Re:Polypane – Browser for Developers by reilly3000 on Saturday April 25, 2020 @11:04PM (#22983992)
I don't tend to think of forking Chromium as a new browser. I imagine that Chrome devtools aren't part of the browser extension API they provide, so creating something would have to start at a lower level.
Re:Polypane – Browser for Developers by OJFord on Sunday April 26, 2020 @08:02AM (#22986518)
They are on Firefox at least, I assume Chrome too, there's a Vue devtools extension for example that adds a tab alongside inspect, console, debugger, et al. to give you a sort of Vue-aware 'inspect'.
Re:Polypane – Browser for Developers by kilian on Sunday April 26, 2020 @02:16AM (#22984973)
A browser extension would be the other option, but those are severely limited in what they can do and the regular browser model is not built with multiple panes in mind.

To do everything I want to do (like css media query breakpoint defection) I needed something more low-level.

Re:Polypane – Browser for Developers by ryanmarsh on Saturday April 25, 2020 @10:47PM (#22983913)
Your app looks great. I just purchased Sizzy which is very similar, thoughts on pro/con of your app vs. Sizzy?
Re:Polypane – Browser for Developers by kilian on Sunday April 26, 2020 @02:44AM (#22985088)
If you’re still on their trial period, try Polypane as well and see which one you like better, that’s the quickest way to find out.

I think Polypane has more features but those can be copied (and are). With Polypane my goals is not to provide some fun tool, but to make you a better and more productive developer. More productive so you spend less time to get the same result, but better in that you’ll spend less time and end up with a more accessible and performant site.

So you’ll find a lot of features for things that are often overlooked and make those really easy to use, like accessibility tooling, or live reloading that works for any environment with zero configuration.

The latest addition in that area is that I wrote a completely custom element inspector that works across all panes at the same time and makes it really easy to edit styling and properties, live updated in all panes. It’s a joy to use and a major productivity boost.

Re:Polypane – Browser for Developers by ipsum2 on Saturday April 25, 2020 @07:49PM (#22982717)
Can you clarify what it means that Google uses your product? Is that everyone who does webdev work?
Re:Polypane – Browser for Developers by mattlondon on Sunday April 26, 2020 @10:22AM (#22987344)
Yeah I am often highly suspicious of these things saying "company X uses this!" - I've seen a few of those listing the Big Co where I had been working at the time was listed where it definitely was not in-use (and in one case the software was actually banned from expensing/licensing despite being listed on the vendor's site)
Re:Polypane – Browser for Developers by ernsheong on Saturday April 25, 2020 @11:47PM (#22984231)
Probably just means someone with a @google.com email downloaded and is maybe paying for it.
Re:Polypane – Browser for Developers by vivgui on Saturday April 25, 2020 @04:51PM (#22981367)
I use this as part of my daily workflow as a frontend developer. It saves me a ton of time instead of messing around with chrome windows. I prefer this over Sizzy because of frequent updates and better synchronized scroll support.

I do wish the reloading time would be faster but I understand that when you reload 7-10 chromium windows at the same time, it's bound to be a bit slow.

Re:Polypane – Browser for Developers by chaorace on Saturday April 25, 2020 @01:08PM (#22979486)
It does what it says on the tin, multiple Chromium panes at once with different dimensions, actions apparently sync up and everything. Frankly, I'm surprised nobody has thought of this sooner!

Multiplatform support for Windows/Mac/Linux, which is to be expected, given the Chromium base. Not open source, unfortunately, and free for trial only.

Re:Polypane – Browser for Developers by Seirdy on Saturday April 25, 2020 @01:52PM (#22979816)
> I'm surprised nobody has thought of this sooner

Firefox already has a Responsive Design Mode [0] that does this, but for one pane. Combine that with a tiling window manager and you get everything except the pane mirroring without having to use a proprietary browser.

I'd be interested in knowing if any other solutions exist just to add in the syncing functionality.

Edit: a comment mentioned Browsersync [1]. Browsersync + a proper window manager should give you everything Polypane offers and more, with any browser.

[0]: https://developer.mozilla.org/en-US/docs/Tools/Responsive_De...

Re:Polypane – Browser for Developers by trashburger on Saturday April 25, 2020 @03:37PM (#22980740)
BrowserSync[0] has syncing different tabs, reloading the page on code changes, layout mode, and many other features. It basically does what Polypane seems to do, and it's FOSS. The only thing missing is, as you mentioned, multiple windows side-by-side, and you can pretty much do that manually (or with a tiling WM - which you already mentioned).

[0]: https://www.browsersync.io/

Re:Polypane – Browser for Developers by dragonshed on Sunday April 26, 2020 @05:55AM (#22985951)
browsersync is nice but it's just a different approach (proxying for multiple clients/tabs) with its own tradeoffs.

Polypane is one browser tab (1 debugger, 1 css editor, etc) with multiple viewports, so there's no extra hassle or window-management involved when inspecting an element, editing a style, hitting a breakpoint, etc.

Re:Polypane – Browser for Developers by konart on Saturday April 25, 2020 @03:54PM (#22980899)
All chromium browsers had this for a long time. The point is - nobody really provided a feature to have N views with different resolutions for the same source
Re:Polypane – Browser for Developers by ricardobeat on Saturday April 25, 2020 @05:38PM (#22981769)
Blisk, Sizzy have been around for a while and do exactly this. Plus I remember something (maybe Rocketmelt?) offering a similar feature waaay back.
Re:Polypane – Browser for Developers by konart on Sunday April 26, 2020 @02:46AM (#22985095)
We stand corrected then.
Re:Polypane – Browser for Developers by edjroot on Sunday April 26, 2020 @07:39AM (#22986391)
There's also Emmet Re:view, an open source Chrome extension (apparently not actively developed though, and I've never used it): https://github.com/emmetio/re-view
Re:Polypane – Browser for Developers by jawngee on Saturday April 25, 2020 @07:23PM (#22982565)
browsersync syncs up everything, so I'm sort of failing to see the difference between this and a few tiled windows side by side (what I currently do) with browsersync sync'ing scrolling and clicking. You're likely already using it as part of your webpack dev flow anyways.
Re:Polypane – Browser for Developers by ricardobeat on Saturday April 25, 2020 @05:31PM (#22981699)
This is maybe the 7th take on this multi-viewport browser in the past few years. Is there some hidden business model I'm missing to justify the number of similar projects?
Re:Polypane – Browser for Developers by mekster on Saturday April 25, 2020 @08:08PM (#22982860)
Increase their own productivity?
Re:Polypane – Browser for Developers by amelius on Saturday April 25, 2020 @04:22PM (#22981128)
I'm wondering about the business side of this. This tool sounds useful, but I bet that Mozilla could implement this quite easily if the market wants this, so why would a company pour resources into building something like this?

And as a user, I would probably miss the developer tools.

Re:Polypane – Browser for Developers by kilian on Saturday April 25, 2020 @04:42PM (#22981292)
There’s both support for chromium devtools (including devtools extensions) and I just launched a new custom Element inspector that’s even more convenient. What would you miss?
Re:Polypane – Browser for Developers by deedubaya on Saturday April 25, 2020 @02:54PM (#22980349)
Sissy is pretty great, and has been around for a while https://sizzy.co/
Re:Polypane – Browser for Developers by chewzerita on Saturday April 25, 2020 @09:14PM (#22983328)
From about 30 seconds of clicking on links, it seems to be the same author.
Re:Polypane – Browser for Developers by yohannparis on Saturday April 25, 2020 @03:51PM (#22980865)
Looks like a great tool, but I'm not paying another subscription, can I just buy it for $90 or something.
Re:Polypane – Browser for Developers by temeritatis on Sunday April 26, 2020 @06:46AM (#22986162)
Same. I'd rather be without than paying another subscription. I have to vote with my wallet, it's the only way i can influence the situation. Subscriptions create lock-in and dependence. Just sell the product and charge for big updates.
Re:Polypane – Browser for Developers by 0xFACEFEED on Saturday April 25, 2020 @09:00PM (#22983232)
It's rough.

General question for the HN crowd: If one is passionate about building dev tools then what's a good path for monetization? The options seem so very limited. Fixed prices are nowhere near enough to cover the costs of supporting a complex app and paying for 50+ subscription services doesn't make sense for developers either. So far all I've seen is what effectively amounts to sponsorships by FAANG type companies to build OSS dev tools.

Re:Polypane – Browser for Developers by lemming on Sunday April 26, 2020 @12:25AM (#22984400)
I make a great living selling Cursive (https://cursive-ide.com). I use perpetual licensing with a year of updates, $99 for personal and $199 for commercial licences. Renewing for more updates initially costs half that and then goes up linearly to 75% over the first year after update period expiry. I also have a free non-commercial licence for OSS work/student work/personal hacking.

I figured that I would sell about the same number of personal and commercial licences since there are still a lot of hobbyists dabbling with Clojure, but in the end the vast majority of my sales and revenue are commercial licences. Most of my revenue is new licence sales, but I see a fair number of renewals too.

Short answer: a good path for monetization is just charging for your work. It's kind of old fashioned but it does work, even for dev tools. If your product solves a real problem companies are willing to pay to make the problem go away, especially if your product is more polished than the (presumably OSS) alternatives.

Re:Polypane – Browser for Developers by asnyder on Saturday April 25, 2020 @11:23PM (#22984101)
That's true, but in my opinion unless there's actually some active on-going service, just charge for new versions and/or maintenance. This whole saturation of everyone charging everyone $10/month is tiring and frustratingly expensive as they know most will not pause or meter their billing in periods of inactivity.

There's still examples of software developers charging for software. For example, https://www.just-great-software.com only sells their software, they don't even charge for new versions or updates most of the time nowadays.

Yes it may not make a fortune, but with some ad-buying maintenance, upgrades, etc. there's likely an okay business.

Re:Polypane – Browser for Developers by 2019-nCoV on Saturday April 25, 2020 @09:50PM (#22983546)
The problem is every second developer is also passionate about building dev tools. The market is naturally over-saturated.

The world does not need more dev tools.

There are bountiful real-world problems out there itching to be solved with software for the developer who can overcome their one-dimensional interests, to stop harbouring in the safe waters of the abstract and embrace the real world. Take up a hobby as distinct from programming as you can tolerate. Instead of that next industry meetup, go give a hand in your local community.

Re:Polypane – Browser for Developers by Aeolun on Saturday April 25, 2020 @11:20PM (#22984086)
I dunno, I really enjoy building dev tools that scratch my own itch. Others are always missing something that’s important to me.
Re:Polypane – Browser for Developers by yohannparis on Monday April 27, 2020 @09:27AM (#22995613)
If you build a tool, I will buy it. If you keep improving it, then sell the update. Sometimes I like the product and do not have the cashflow to upgrade, so I will do it later.

But with subscriptions, it's just a trap.

Re:Polypane – Browser for Developers by dandigangi on Saturday April 25, 2020 @04:42PM (#22981284)
Agree on the pay side. Something like seems like it would be good to give a 30 day trial or something at least.
Re:Polypane – Browser for Developers by kilian on Saturday April 25, 2020 @04:44PM (#22981305)
There is a free 14 day trial that I’ll happily extend for anyone that asks. Give it a try!
Re:Polypane – Browser for Developers by Aeolun on Saturday April 25, 2020 @11:44PM (#22984218)
I think it would be fairly clear to me whether I like it within a week. Since it’s not a hugely expensive subscription, paying for one month isn’t really the problem either.
Re:Polypane – Browser for Developers by rkagerer on Saturday April 25, 2020 @07:08PM (#22982468)
Anyone else find it painful scrolling through that site and waiting for the animations to reveal the next "block"?

They're smooth, but by the time they show up my eyes have moved on from the void where they had expected content to be. Coupled with the "marketingy" phrases it annoyed me enough to leave before I learned anything about what makes this browser special.

(Not knocking the tool, just the landing page)

Re:Polypane – Browser for Developers by kilian on Sunday April 26, 2020 @02:53AM (#22985131)
As a developer myself there’s a constant struggle regarding how marketingy I should make it. I don’t think I’m making any over-the-top claims and there’s no denying it works, but different people respond to different things.

What were the phrases that most annoyed you?

Re:Polypane – Browser for Developers by robenkleene on Saturday April 25, 2020 @05:22PM (#22981628)
I'd love to hear the details of why web developers like this feature? As opposed to say, clicking through the various dimensions in the responsive design mode? I guess the idea is seeing the changes live: So as you're fixing one aspect ratio, make sure you're not simultaneously breaking another?

If you're using something like Webpack, that supports hot reloading, couldn't you simulate this just by having multiple browser windows open, each displaying a different dimension size? So then is the idea that having to set that up manually each time is a pain?

(Not judging, just seeking to understand, I'm a huge fan of any kind of speed increase, but I'm curious if I'm missing anything here.)

Re:Polypane – Browser for Developers by ricardobeat on Saturday April 25, 2020 @05:31PM (#22981704)
> is the idea that having to set that up manually each time is a pain

Yes.

Most recently, component library viewers have started offering this as a feature. It's very useful if you're making your UI element responsive.

Re:Polypane – Browser for Developers by robenkleene on Saturday April 25, 2020 @05:48PM (#22981852)
Thanks! Follow-up question: So I'm guessing a "component library viewer" is a local web app that you run to view WIP/finished components (like for https://storybook.js.org/)? If you have a link to an example I'd love to check it out.
Re:Polypane – Browser for Developers by etaioinshrdlu on Sunday April 26, 2020 @12:54AM (#22984556)
So what happens when JS queries the size of something?

Is the answer only correct for one pane?

I can only imagine that this is a big source of pain once any JS gets involved. It doesn't sound like a very solvable problem.

Re:Polypane – Browser for Developers by kilian on Sunday April 26, 2020 @02:48AM (#22985104)
JavaScript runs inside your panes so whatever you measure in JavaScript is correct in each pane.
Re:Polypane – Browser for Developers by pedrocx486 on Saturday April 25, 2020 @01:08PM (#22979482)
The idea is amazing but couldn't stop thinking about the companies using it.

Google? Is there a reason I should believe they're using it instead of the very obvious internal tools?

Re:Polypane – Browser for Developers by coopsmgoops on Saturday April 25, 2020 @07:12PM (#22982490)
I'm guessing it means they sold at least one licence to someone at Google.
Re:Polypane – Browser for Developers by no_wizard on Saturday April 25, 2020 @08:58PM (#22983221)
I too am curious about how these claims are substantiated
Re:Polypane – Browser for Developers by xylophoner on Sunday April 26, 2020 @03:34AM (#22985324)
Would be great to see an educational discount. I can see this being very useful in a teaching environment.
Re:Polypane – Browser for Developers by kilian on Sunday April 26, 2020 @04:08AM (#22985463)
I agree, that’s why it’s free to use through the GitHub student developer pack :)