Live data from Hacker News

SVG can do that?

slides.com

191–200 of 202 posts

Re: SVG can do that?

#191
post #156

Earlier quoted context omitted.

Project Manager - Writes specs and documentation for individual features. Product Manager - Figures out what new features or changes the product needs to better fit or find a new audience. Usually responsible for doing market research and analysis. Business Product Owner - Similar to product manager, they own all changes associated with a company product. Position should only exist if product is so large, multiple pr…

Just to note, these definitions are no where near universal across organizations.

yeah, not even close. The two or three (only!) companies I've asked tended to have divisions like this, though, just with different names.

Re: SVG can do that?

#192
post #92

Earlier quoted context omitted.

(Edit moved to here from the wrong thread) This comes up on each SVG thread and I post the same comment each time (so excuse me if you've heard this from me before). We render SVG that contain beyond 100k nodes in the browser and find that it works fine. You need to be careful with your manipulations and we've developed a couple of tricks to keep things snappy, but the final experience is great. Here's a demo of it i…

so with your 100k node ceiling. Have you tested across different OSs/CPUs/Browsers? Have you found tremendous variety in performance?

There's not a specific ceiling. This morning I did a quick test with 400k nodes and we sometimes get 2-3 million or more.

We only use chrome because Firefox struggled in the initial testing. Having said that, I haven't tried in anything other than chrome in ages and I'd wager the situation has changed a lot in the last couple of years.

Re: SVG can do that?

#193

One of funnest projects I worked on at Corel was called "Smart Graphics Studio" (I'm guessing most of the people who worked on it also read HN, so "Hi!"). It was an absolutely stupid idea: Some insane PGM read that XSLT could transform any XML into any other XML. Then they read that SVG was XML. They put 2 and 2 together and got a billion: You could draw a picture in SVG and then modify it intelligently (through XSLT…

Or, for the slightly more insane approach we (and by that I mean people in my organisation prior to my arrival) decided that XSLT was the right tool to transform XML to Python. XML to XML sounds like a walk in the park after that. :)

Re: SVG can do that?

#194
post #192

Earlier quoted context omitted.

so with your 100k node ceiling. Have you tested across different OSs/CPUs/Browsers? Have you found tremendous variety in performance?

There's not a specific ceiling. This morning I did a quick test with 400k nodes and we sometimes get 2-3 million or more. We only use chrome because Firefox struggled in the initial testing. Having said that, I haven't tried in anything other than chrome in ages and I'd wager the situation has changed a lot in the last couple of years.

Only use Chrome? Your product only supports Chrome?

That's one of the issue i have with SVG browser implementation varies so much. Our product that is performant in Chrome sucks in IE11

Re: SVG can do that?

#195

I use svg all the time to make tiny web interfaces for embedded systems. When the entire web app has to fit in 350k, you don't have space for gif's or jpg's.

If your embedded system only has 350 kB of space for your app how on earth do you fit a browser in there? Or do you only use the 'static' features of SVG?

The embedded system only contains the web _server_. The user has the browser on their desktop/mobile system.

Re: SVG can do that?

#196
post #192

Earlier quoted context omitted.

There's not a specific ceiling. This morning I did a quick test with 400k nodes and we sometimes get 2-3 million or more. We only use chrome because Firefox struggled in the initial testing. Having said that, I haven't tried in anything other than chrome in ages and I'd wager the situation has changed a lot in the last couple of years.

Only use Chrome? Your product only supports Chrome? That's one of the issue i have with SVG browser implementation varies so much. Our product that is performant in Chrome sucks in IE11

Yeah, for the moment we only support chrome. I know it's not ideal, but it sure is nice not having to worry about cross browser issues :-)

What's the slow bit in IE? Is it the svgs?

Re: SVG can do that?

#197
This is a very inspirational presentation. I'm blown away. SVG can be the solution our next wave of interaction now that Flash has almost completely died.

Re: SVG can do that?

#198

Earlier quoted context omitted.

If your embedded system only has 350 kB of space for your app how on earth do you fit a browser in there? Or do you only use the 'static' features of SVG?

Usually this is done in a 'Bring Your Own Device' scenario, where the user has a standard mobile/tablet that the UI is shown on. Using a webapp served by the embedded device allows a zero-install workflow, and zero-config (assuming network connectivity is taken care of).

Ah I see. I was imagining something with its own display, like a meeting room screen.

Re: SVG can do that?

#199

This showcases what's wrong with SVG: It does way too much! To be useful as a vector image format, there should be strict rules (and less cruft). Why is there no libsvg like libjpeg or libpng? Why have interaction as part of an image format? SVG lives in an uncanny valley between jpeg and flash/js. I think there is still a big need for a real vector interchange and display format. Right now people pick a "good" subse…

There is also librsvg. It is heavily used with linux desktops.

Re: SVG can do that?

#200

Earlier quoted context omitted.

I had the same experience using SVG to render music notation. We hit a performance issue - high CPU usage, skips/stutters - with several hundred to a thousand nodes, some animated. Switching to canvas increased that limit, in that we were able to keep smooth rendering with larger documents.

Did you render a whole document as one SVG, or do tricks like one SVG per line or sheet?

The whole score was rendered as one SVG element, until we hit the performance limit. Now we're rendering each row of measures (a stack of staves) as a canvas element, and it performs much better for our purposes.
Post reply on HN