They already run compute for siri for voice to text. So they could in theory still provide an LLM backed siri service for free for their customers/users.
Sounds like the classic commoditize your compliment. Meta benefits from AI capabilities but doesn’t need to hold a monopoly on the tech. They just benefit from advances so they can work with open source community to achieve this.
Smoothing is a different operation where you are simplifying the bezier curve by removing redundant(ish) points. So if you draw an almost straight line, you may have created 100 control points, and then the software simplifies it down to 4 points.
For what it’s worth, perfect freehand (the library I wrote that they’re using for the digital ink) does not use Bézier curves at all to determine the position of points or create the “stroke” polygon that wraps the input points. Curves are only used to draw the line around that stroke polygon.
I tried to incorporate simplification into the perfect freehand algorithm but eventually gave up because I could not find any “stable” algorithm that would not cause the line to jump around as you drew / added points to the end. As far as I know none exist. Most apps that use simplification solve this problem by simplifying the line only after you’ve finished drawing, however for handwriting or artistic drawing this is especially bad as it “undoes” legitimate decisions you’ve made about where to place detail. In addition, the perfect-freehand algorithm simulates pressure based on density of points, so simplifying the line (ie removing points) without creating a corresponding pressure curve will cause a reduction in line variation, which is part of the fun of using it in the first place!
I’d love to learn more about what the canva team has done here though. Freehand drawing is a fascinating problem space, even without the ml / shape recognition stuff.
> The rule checks for comparisons (==, !==, etc) where the outcome cannot vary at runtime, and logical expressions (&&, ??, ||) which will either always or never short-circuit.
If you write if(baz == 6) then the if clause is useless and probably a bug.
Is it a real problem in some countries? I’ve only seen articles about negative economic impacts and nothing like “Japan will have zero humans by 2200”.
Economic problems are real and worth addressing and I hope we can find ways other than “we need more babies”.
I'm working on a 2d vector editor that'll have that. It's basically a normal editor but where all properties can be expressions that refer to data or other objects. My first target use is for data visualization. What use cases are you interested in?
Cool! I’ve been using Inkscape for floor plans and landscaping lately. And before that designing a custom split keyboard body. And random things to cut out on my Cricut.
I don’t need a full CAD constraint solver. Just simple constraints would go a really long way (make X the same width as Y; make A spaced N units from B; etc.). Basically just a glorified spreadsheet where object properties can be accessed and read from cells and objects can have other properties assigned from the cells. Though it doesn’t have to be represented as an actual spreadsheet, of course.