Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
monfera
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
monfera
3y ago
> JSDoc _is_ TypeScript This is surprisingly true in a way. TypeScript is not a language(1), it's primarily a linter-assisting overlay atop of an actual language, JavaScript. Also, there's a linter that outputs and bundles JS,
2.
▲
by
monfera
6y ago
What changed is that the very things capable of eliciting interest in programming also offer overpowering content consumption functions with huge, never ending catalogs of games, movies, videos, short funny clips etc. As computing and "
3.
▲
by
monfera
8y ago
Good points. A minor thing, generative art isn't necessarily abstract art, though currently almost exclusively is. (Oh and spelled Pollock.) Regarding validation, it might not matter for some, but might for others. I'm sure there
4.
▲
by
monfera
9y ago
In the case of asymmetric competition, a company with vastly more resources might curate a list of undisclosed problems with competitors' products, for when a major event like this strikes, they can drag along the underdogs. The optics
5.
▲
by
monfera
9y ago
> Loop-Blinn is fine if you want fast rendering with medium quality antialiasing For example, when using SVG shape-rendering: optimizeSpeed ? I truly hope that SVG is going to be part of this new magic, and that the shape-rendering prese
6.
▲
by
monfera
9y ago
I think there are other reasons for dismissing BEM, it's quite an opinionated and shallow structuring, good for some stuff and not for others. Very HTML tag oriented, for which we have, well, HTML tags already. Its claims are simply no
7.
▲
by
monfera
9y ago
I'd agree with it were it not for the huge difference between the view refresh latencies. Within the browser, it's near-intantaneous. Hot module reloading (which is still experimental) is relatively fast, yet there's a couple
8.
▲
by
monfera
9y ago
Just adding it here as well: if one likes editing CSS files in Chrome Dev Tools, then activating Workspaces will save such changes into the source file. This Dev Tools integration with the Svelte approach is so useful that it might actually
9.
▲
by
monfera
9y ago
An example may be, graphic designer shop gets a contract to update the company 'style guide'. It gets done and there are a lot changes that are cross-cutting w.r.t. components, starting with fonts, borders, margins, border styling
10.
▲
by
monfera
10y ago
> Leave data processing and business logic to the back-end, on the server In general, this is not good. Of course there are specific applications where it's useful but in the general space of applications it would be very limiting.
11.
▲
by
monfera
10y ago
Though both are on WebKit, they use different renderers. Generally Chrome is better than Safari except on iOS where Apple forces other browser makers to use the Safari engine, I guess it's one way of keeping tabs on mobile browser spee
12.
▲
by
monfera
10y ago
Interestingly Firefox is often quite a bit slower than WebKit based browsers even if there's not much JavaScript behind the animations, so there may be other bottlenecks. Even simple SVG geometries (e.g. line sections) take more time t
13.
▲
by
monfera
10y ago
Yes apparently I was on 120% zoom level and therefore it worked on my machine (TM)
14.
▲
by
monfera
10y ago
Yes SVG is very powerful denotation. FWIW I prefer my other current example (I'll wrap up a third one soon), procedural map generation and reflection bump map with SVG http://bl.ocks.org/monfera/21be9bb116a8e5b2423
15.
▲
by
monfera
10y ago
it just uses a setInterval with 100ms so your kit might be able to do more - bl.ocks can be forked with http://blockbuilder.org/search
16.
▲
by
monfera
10y ago
Google was first with a decent SVG and they were leapfrogged. But Chrome is the most used browser, and together with Safari, WebKit leads big time over the shrinking IE and FF portion. I and my clients can't afford to do entirely diffe
17.
▲
by
monfera
10y ago
No, SVG is perfect for things like that, and very compact (example coming, or an existing one, check the header image on twitter/monfera). I'm mostly concerned about dynamic visualizations.
18.
▲
by
monfera
10y ago
Maker here. I meant it as a way of saying good-bye to SVG as for the past years I mostly work with WebGL. A couple of other bl.ocks will be up soon. It turns out that despite its name, Scalable Vector Graphics it isn't. Sure it's
19.
▲
by
monfera
10y ago
Indeed, what I like about plotly is that you can start pretty much anywhere (R, Python, Jupyter, browser JavaScript, node.js, Julia, Matlab...) and get to an interactive, explorable chart (disclaimer, I'm working on WebGL plotly functi
20.
▲
by
monfera
10y ago
You can generally use them with 'is', for example: <marker id={'bar'} is markerHeight={viewModel.height} refX={viewModel.xCenter} markerWidth={viewModel.width}>
21.
▲
by
monfera
10y ago
D3 is great for updating / augmenting a server generated chart on the client side, with one caveat. Usually it's good practice to do the D3 DOM binding with a key (similar to the react key, but is a function; second argument to .d
22.
▲
by
monfera
10y ago
There's also Shiny, Jupyter, Bokeh...
23.
▲
by
monfera
10y ago
Plotly animations are coming along gradually, and Reactive Vega may be something to look at. Unrelated to these, I've been exploring real-time visualizations (and more in focus, real-time configurability) with D3 e.g. here: http:/
24.
▲
by
monfera
10y ago
I'm contributing to plotly.js right now, which is also declarative, and I see the pros and cons of levels of denotative semantics (mostly depends on goals and library user requirements) but it was just an example for what I mean by mor
25.
▲
by
monfera
10y ago
Fantastic work! D3 has a large API surface area, due to the functionality it covers. So even a relatively conservative major upgrade is a TON of work, and some of it might not have been pure fun only. 1) What's your opinion on the appa
26.
▲
by
monfera
10y ago
The nice thing is that you can mix and match D3 components as needed, e.g. require certain layouts or other pure functions but use React in lieu of DOM binding (if that's preferred for one reason or another) and not use the D3 selectio
27.
▲
by
monfera
11y ago
I'll assume a render tree with only functional components for simplicity's sake, and no observables, just plain function application: A full rerendering requires that all the functions be called. Indeed, there's a natural lim
28.
▲
by
monfera
11y ago
Interesting discussion! You make references to database tech so what I describe is known to you but I'd just add some obvious thing in case it isn't for someone: If something is mutable in real life, such as a child's height,