Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mattdesl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
56 ms
·
661.
▲
by
mattdesl
12y ago
For add-ons and DevTools plugins: it would be cool to have AtomIO style architecture. Easy to install, easy to develop for, easy to publish to npm, and written in pure JavaScript. IMHO it would quickly propel Spartan to the forefront of the
662.
▲
Show HN: Generative Impressionism
(medium.com)
2 points
by
mattdesl
12y ago
|
0 comments
663.
▲
Intro to GLSL for 2D Games
(github.com)
2 points
by
mattdesl
12y ago
|
0 comments
664.
▲
Show HN: Live-Edit JavaScript Modules in Chrome
(npmjs.com)
1 points
by
mattdesl
12y ago
|
0 comments
665.
▲
by
mattdesl
12y ago
IPhone 5s, ios 8: crashes the page, then forces a system reboot. :/
666.
▲
Budō – hot reloading JavaScript in Chrome
(github.com)
1 points
by
mattdesl
12y ago
|
0 comments
667.
▲
by
mattdesl
12y ago
Medium is pretty awful for code so I still use svbtle. Most of my page views doesn't come from the Svbtle site, but from direct links, Twitter, etc.
668.
▲
Npm Modules: Best Practices
(github.com)
2 points
by
mattdesl
12y ago
|
0 comments
669.
▲
Show HN: JavaScript Injection in Chrome
(youtube.com)
3 points
by
mattdesl
12y ago
|
0 comments
670.
▲
Show HN: Wtch – small front end LiveReload tool
(github.com)
2 points
by
mattdesl
12y ago
|
0 comments
671.
▲
by
mattdesl
12y ago
jshint warns about these bugs regardless of whether you have ASI flag turned on. Writing semicolon-free code is easy. Just put a preceding semicolon before any lines beginning with: ( [ + -
672.
▲
by
mattdesl
12y ago
Semicolons are already optional in JS. Automatic semi colon insertion (ASI) has a clear set of rules that are pretty easy to remember. http://mattdesl.svbtle.com/to-semicolon-or-not
673.
▲
by
mattdesl
12y ago
This is a quick session using glslify-live[0] for reloading shaders, and glslify[1] to bring in npm modules like glsl-film-grain[2]. [0] - https://github.com/hughsk/glslify-live [1] - https://github.com/
674.
▲
Show HN: Modular and Live-Reloading Shaders in WebGL
(youtube.com)
30 points
by
mattdesl
12y ago
|
2 comments
675.
▲
by
mattdesl
12y ago
Even something as simple as the images and rectangles composited in hardware/software with Skia would take a thesis to explain.
676.
▲
by
mattdesl
12y ago
That sounds pretty great, actually. Would love to see an example project that uses React without a DOM.
677.
▲
by
mattdesl
12y ago
Nice writeup. I can definitely see "isomorphic" or client/server frameworks (React and Ember especially) being the go-to choice for new sites. I guess an exception would be richer "experiential" type of apps and toy
678.
▲
Tiny Modules
(gist.github.com)
2 points
by
mattdesl
12y ago
|
0 comments
679.
▲
by
mattdesl
12y ago
The GUI alone is worthy of its own article. Holy crap.
680.
▲
by
mattdesl
12y ago
I wouldn't copy paste some random blog or SO code without first writing a test for it. My dependencies already have tests, so I have no need to re-write them. When my tests do fail it is usually immediately clear where the problem lies
681.
▲
by
mattdesl
12y ago
Linking functions; but also minimizing scope creep, API changes, opinionated libraries with a questionable lifespan, bit rot, and versioning woes (eg. a major change in to-dash-case may not represent a major change in to-camel-case).
682.
▲
by
mattdesl
12y ago
Has any of this actually happened to you with focused modules like to-dash-case? There is no reason for such a focused module to go out of style. As with many other small modules, the API and major version is locked barring some catastrophi
683.
▲
by
mattdesl
12y ago
To illustrate the problem: my dom-css module[1] needs a method to convert to camel case. I could copy-paste from stack overflow, but I would have to maintain/test that function. I'd rather depend on something. I could depend on a
684.
▲
by
mattdesl
12y ago
In the case of is-object the api is frozen, and with any module it's assumed that any breaking changes would come in via a major version (ie not break your code). Yeah, sure, if the maintainer becomes evil overnight he can break a lot
685.
▲
by
mattdesl
12y ago
I replied in another thread about some of the reasonings behind it: https://news.ycombinator.com/item?id=8830058 It's an alternative approach to software design which may feel alien if all you've ever used is copy
686.
▲
by
mattdesl
12y ago
I responded a while back in another thread about "small modules" in npm. Filesize is only one (rather small) facet of why some people prefer this approach to the "put everything under the same hood". https://n
687.
▲
by
mattdesl
12y ago
The build step is mitigated by incremental reloading, and the incremental reloading can be tied to a live-reload event. So you end up with the same workflow as shown in this video; but most likely faster for many modules (browser requests 1
688.
▲
by
mattdesl
12y ago
Bower is great if you need to install jQuery or one of its plugins, or another very popular JS framework. When you get into smaller modules, persistence, recursive or deep dependency trees, versioning, automated bundling (i.e. no manual &qu
689.
▲
by
mattdesl
12y ago
Text in WebGL is still really immature. I've done a bit of tinkering with a variety of modules for word-wrapping, etc. None of them are "fully featured" or 100% stable but I have used them in a couple of production environmen
690.
▲
by
mattdesl
12y ago
Agreed on there being too many tools. Thankfully most of them are starting to embrace the same core feature: writing npm modules. Small bits of code that you publish once to npm, and then reuse across many projects and potentially many buil
More ›