|
tef posted:it's really easy to implement and use? am i missing the joke here idgi
|
# ? Dec 27, 2012 04:24 |
|
|
# ? May 8, 2024 14:15 |
|
tef posted:have you seen pdf.js ? loool
|
# ? Dec 27, 2012 04:43 |
|
all this Erlang talk and I've held back from commenting and evangelizing. This is my gift to this thread for christmas.
|
# ? Dec 27, 2012 04:45 |
|
doing anything in javascript is doing it wrong
|
# ? Dec 27, 2012 04:47 |
|
spongeh posted:am i missing the joke here idgi canvas is easier to implement because it's a pixel drawing api. it's imperative, not declarative. i found it easier to pick up and use than svg, but i've never really used svg. as a total aside, canvas api is loosely based on the osx drawing apis, in turn based on postscript.
|
# ? Dec 27, 2012 04:51 |
|
i used something that outputted svg and the svg itself seemed pretty straight forward, but idk. maybe people want to use it for more complicated things than drawing scalable vector graphics.
|
# ? Dec 27, 2012 04:52 |
|
MononcQc posted:all this Erlang talk and I've held back from commenting and evangelizing. This is my gift to this thread for christmas. teach me your secrets
|
# ? Dec 27, 2012 04:54 |
|
http://nostarch.com/erlang
|
# ? Dec 27, 2012 04:56 |
please send free hard copies to yosposters tia
|
|
# ? Dec 27, 2012 04:59 |
|
http://learnyousomeerlang.com/
|
# ? Dec 27, 2012 05:00 |
|
if you want a free copy you send me a PM with your e-mail address and No Starch will send copies in exchange of online reviews (blogs, Amazon, etc.) They should be back in office around Jan 3 and reply via e-mail. Also the link tef posted is an online version, yeah.
|
# ? Dec 27, 2012 05:01 |
MononcQc posted:if you want a free copy you send me a PM with your e-mail address and No Starch will send copies in exchange of online reviews (blogs, Amazon, etc.) yeah i know there's the online version, but i have a better time with print copies. what's your email? i'll send you an email because i'd be glad to do a review (5 star obv, no pms atm)
|
|
# ? Dec 27, 2012 05:03 |
|
gucci void main posted:yeah i know there's the online version, but i have a better time with print copies. mononcqc @ferd.ca
|
# ? Dec 27, 2012 05:07 |
|
MononcQc posted:if you want a free copy you send me a PM with your e-mail address and No Starch will send copies in exchange of online reviews (blogs, Amazon, etc.) oh holy poo poo you're actually that guy. YOSPOS owns you own
|
# ? Dec 27, 2012 05:07 |
|
i should really write an erlang program some day
|
# ? Dec 27, 2012 05:08 |
|
tef posted:canvas is easier to implement because it's a pixel drawing api. it's imperative, not declarative. i found it easier to pick up and use than svg, but i've never really used svg. oh, canvas api is so simple i didnt think it couldve been based on anything, especially since postscript is basically vector. or maybe display postscript isn't idk i have a print degree not a computer science one. and yea some sort of medium in between canvas and svg would be nice but svg is an ungodly mess
|
# ? Dec 27, 2012 05:09 |
|
Jerry SanDisky posted:oh holy poo poo you're actually that guy. YOSPOS owns you own Monads is just monoids in the category of endofunctors Also iOS dictionary recognizes endofunctors lol
|
# ? Dec 27, 2012 05:34 |
|
spongeh posted:oh, canvas api is so simple i didnt think it couldve been based on anything, especially since postscript is basically vector. or maybe display postscript isn't idk i have a print degree not a computer science one. There's Raphael.js or d3 depending on your needs
|
# ? Dec 27, 2012 05:36 |
|
Malcolm XML posted:There's Raphael.js or d3 depending on your needs yea raphael is nice but when you hit some of the edge cases it can be hard to solve them. haven't tried d3 yet. i suppose svg is fine as long as you limit yourself to a sane subset of it, otherwise you end up with stuff like http://robert.ocallahan.org/2011/11/drawing-dom-content-to-canvas.html
|
# ? Dec 27, 2012 05:40 |
|
spongeh posted:yea raphael is nice but when you hit some of the edge cases it can be hard to solve them. haven't tried d3 yet. D3 is more of a dsl that ties drawing to data. Really nice in specific use cases but not that suited for arbitrary drawing
|
# ? Dec 27, 2012 05:42 |
|
Malcolm XML posted:D3 is more of a dsl that ties drawing to data. Really nice in specific use cases but not that suited for arbitrary drawing ah so is that why its different. that didn't seem clear based on "data driven documents" and their intro talks about why other techniques are not good. their first code snippet is supposed to be the "wrong" case. i guess that's my fault for clicking on the pretty pictures and flinging my way through the page though
|
# ? Dec 27, 2012 05:46 |
http://cs.gmu.edu/~sean/stuff/java-objc.htmlquote:A while back, the following posting was made by Patrick Naughton who, along with James Gosling, was responsible for much of the design of . Objective-C is an object-oriented mutant of C used NeXTSTEP and MacOS X, and also available with gcc.
|
|
# ? Dec 27, 2012 05:53 |
|
tef posted:have you seen pdf.js ? svg is actually faster on phones than canvas. the speed is due to the way video cards are built. the problem with canvas is that it's a bitmap. obvy svg is harder because vectors.
|
# ? Dec 27, 2012 06:14 |
|
spongeh posted:for as much as tef likes to be an idealistic pessimist about the lack of perfection, svg is for the most part really bad and anything extensively using svg is an absolute mess. there's a reason canvas has came about and has seen a hell of a lot more optimization from browser vendors than svg has. svg is great. the problem is its a huge spec and until very recently no one has implemented more than a chunk of it and everyones chunk was different. canvas is stupid easy to optimize for because it's a simple pixel drawing api. svg is better, in particular with handling text.
|
# ? Dec 27, 2012 06:16 |
|
canvas is all about making the client do everything. developers dont care if its slow as poo poo and the user doesnt understand why its slow so they just accept it. svg lets you do more server side stuff and use traditional http things like caching and compression outside the javascript crawltime. but its browser support is random and the frameworks/languages web "developers" choose will always be bad at it. (whereas c#/java would do it effortlessly). so guess which one will win?
|
# ? Dec 27, 2012 06:25 |
|
should have just used xaml for everything
|
# ? Dec 27, 2012 06:25 |
|
rotor posted:svg is great. the problem is its a huge spec and until very recently no one has implemented more than a chunk of it and everyones chunk was different. c.f css quote:canvas is stupid easy to optimize for because it's a simple pixel drawing api. svg is better, in particular with handling text. part of me wishes css actually had a proper text model (oh knuth...), but the rest of me knows it would be wishful thinking cos browser vendors don't want to reimplement tex.
|
# ? Dec 27, 2012 06:27 |
|
tef posted:c.f css css spec wasnt huge at first, it was just a casualty of the browser wars
|
# ? Dec 27, 2012 06:35 |
|
Shaggar posted:canvas is all about making the client do everything. developers dont care if its slow as poo poo and the user doesnt understand why its slow so they just accept it. you can push off a lot of svg to the client too
|
# ? Dec 27, 2012 06:35 |
|
i spent 2000 and 2001 writing client side apps in svg and javascript in anticipation of the day mozilla would support the entire spec
|
# ? Dec 27, 2012 06:36 |
|
there is no large enough
|
# ? Dec 27, 2012 06:36 |
|
i played around a bunch with google go & it's fun and weiord
|
# ? Dec 27, 2012 06:36 |
|
rotor posted:css spec wasnt huge at first, it was just a casualty of the browser wars they cut it back originally, in the hope it would be implemented properly, but even in a reduced state, browser vendors are still lazy
|
# ? Dec 27, 2012 06:38 |
|
tef posted:they cut it back originally, in the hope it would be implemented properly, but even in a reduced state, browser vendors are still lazy at least we finally have most of the css3 selector spec in good browsers and i think ie10
|
# ? Dec 27, 2012 07:48 |
|
i'd really like browsers to start shipping with copies of jquery, i mean lets have some realpolitik up in here you know
|
# ? Dec 27, 2012 07:54 |
|
Cocoa Crispies posted:at least we finally have most of the css3 selector spec in good browsers and i think ie10 Gazpacho fucked around with this message at 08:02 on Dec 27, 2012 |
# ? Dec 27, 2012 07:57 |
|
rotor posted:i'd really like browsers to start shipping with copies of jquery, i mean lets have some realpolitik up in here you know jquery is just an animation framework, it's more important that browsers ship with faster native implementations of major framework parts than simply shipping with a bunch of versions of them replacing sizzle.js with a native document.getElementsBySelector would be nice, and bad old browsers that never update could still use sizzle since it should use feature detection
|
# ? Dec 27, 2012 08:15 |
|
Cocoa Crispies posted:jquery is just an animation framework
|
# ? Dec 27, 2012 08:17 |
|
all this talk about formats is making me wonder if there's any research out there about designing file formats that are easily implemented no one will ever look at it, but it would make me feel better to know that research like that existed
|
# ? Dec 27, 2012 16:20 |
|
|
# ? May 8, 2024 14:15 |
|
i seem to recall a thesis about making an archive format that was easy to reverse engineer but I can't find it any more
|
# ? Dec 27, 2012 16:27 |