deusx + javascript   497

Testing native ES modules using Mocha and esm. – Alex Gibson
Turns out, many JavaScript testing frameworks don’t yet support native ES modules out of the box, and I was struggling to find an easy solution that didn’t require transpiling my code back to ES5.
dev  webdev  es6  javascript 
26 days ago by deusx
Tangle: a JavaScript library for reactive documents
Tangle is a JavaScript library for creating reactive documents. Your readers can interactively explore possibilities, play with parameters, and see the document update immediately. Tangle is super-simple and easy to learn.
data  web  javascript  interactive  js 
8 weeks ago by deusx
Back to Basics: Running Promises in Serial with Array.reduce()
const tasks = getTaskArray();return tasks.reduce((promiseChain, currentTask) => { return promiseChain.then(chainResults => currentTask.then(currentResult => [ ...chainResults, currentResult ] ) );}, Promise.resolve([])).then(arrayOfResults => { // Do something with all results});
javascript  promises 
september 2018 by deusx
Underrun – Making Of - PhobosLab
I participated in this year's js13kGames, a JavaScript game development competition with a file size limit of 13kb, including code, assets and everything else. My entry was Underrun, a twin stick shooter using WebGL.
gaming  javascript  webdev  webgl  js 
september 2018 by deusx
Six nifty ES6 tricks
const Storage = Sup => class extends Sup {
save(database) { ··· }
};
const Validation = Sup => class extends Sup {
validate(schema) { ··· }
};
You can use them to compose a class Employee as follows.

class Person { ··· }
class Employee extends Storage(Validation(Person)) { ··· }
javascript  programming  tips 
may 2016 by deusx
AppHub
Use git push to instantly update React Native apps in production.
react  native  dev  ios  javascript  deployment 
march 2016 by deusx
Neon: Node + Rust = 💖
I’ve been working on Neon, a set of APIs and tools for making it super easy to write native Node modules in Rust.
neon  nodejs  node  rust  javascript 
december 2015 by deusx
Aerotwist - FLIP Your Animations
What we’re trying and do is to turn animations on their head (flip, see? Gosh darnit, I’m so funneh) and, instead of animating “straight ahead” and potentially doing expensive calculations on every single frame we precalculate the animation dynamically and let it play out cheaply.
webdev  css  animations  performance  javascript 
november 2015 by deusx
ES6 Promises in Depth
Promises are a very involved paradigm, so we’ll take it slow.
promises  es6  javascript  webdev 
october 2015 by deusx
SqueakJS by Bert Freudenberg
SqueakJS executes Squeak in a web page without a plugin. It is a fully capable virtual machine implemented in pure JavaScript running unmodified Squeak images. Squeak is a modern implementation of Smalltalk, the original dynamic object-oriented programming environment. It runs bit-identically on virtually any platform, and now in the web browser, too.
javascript  programming  smalltalk  squeak  vm 
february 2015 by deusx
How to Use npm as a Build Tool
I suggested we should start uing npm instead. npm's scripts directive can do everything that these build tools can, more succinctly, more elegantly, with less package dependencies and less maintainence overhead.
javascript  npm  grunt  gulp  webdev 
december 2014 by deusx
Ronin - Toolkit for building shining CLI programs with Node.js
Automatically builds commands based on project structure
cli  javascript  nodejs 
december 2014 by deusx
ES6 Modules, AMD and CommonJS — Medium
This article shares some techniques and tools for building web apps using future friendly ES6 module syntax.
webdev  javascript 
december 2014 by deusx
Seth Ladd's Blog: Minification is not enough, you need tree shaking
I believe that web developers need a better workflow that automates tree shaking, dead code elimination, minification, and more. Stop caring how big a library is, and instead let a tool or build step produce the smallest output possible for you, ideally by tree shaking the application.
webdev  javascript 
november 2014 by deusx
Crush & Lovely — 7 Patterns to Refactor JavaScript Applications: Value Objects
Here at Crush & Lovely, this post is a core reference for all Rails developers on how to separate concerns, write modular, concise and expressive code, and make testing exceedingly simple.
javascript 
july 2014 by deusx
wavepot
Nifty music making with JavaScript and web audio
coding  javascript  music 
june 2014 by deusx
OCRAD.js: Pure Javascript OCR via Emscripten – Blog
The idea of the extension was kind of simple and also kind of magical: a browser extension that allowed users to highlight, copy, and paste text from any image as if it were plain text. Of course the implementation is a bit difficult and actually relies on the advent of a number of newfangled technologies.
webdev  ocr  javascript 
january 2014 by deusx
Announcing Elasticsearch.js For Node.js And The Browser | Blog | Elasticsearch
A few months ago we released client libraries for PHP, Ruby, Python, and Perl and today we add another to the family, JavaScript! This new client runs in Node.js and modern browsers, and aims to solve the same problems that the others do
webdev  elasticsearch  node  javascript 
december 2013 by deusx
BackboneORM
A polystore ORM for Node.js and the browser
webdev  node  backbone  nodejs  javascript  orm 
november 2013 by deusx
Chosen: A jQuery Plugin by Harvest to Tame Unwieldy Select Boxes
Chosen is a jQuery plugin that makes long, unwieldy select boxes much more user-friendly.
webdev  jquery  javascript 
november 2013 by deusx
Sir Trevor JS | Made by Many
Sir trevor content is made up of blocks. By default Sir Trevor ships with the following block types, but you can easily add your own
webdev  editors  javascript  markdown  wysiwyg 
october 2013 by deusx
dat-gui - A lightweight controller library for JavaScript. - Google Project Hosting
A lightweight graphical user interface for changing variables in JavaScript.
html5  webdev  gaming  gui  nifty  javascript 
september 2013 by deusx
requestAnimationFrame is not your [logic's] friend | Chandler Prall
I think requestAnimationFrame is a great addition to Javascript, but these two points need some emphasizing:

Use requestAnimationFrame for animations / screen updates
Do not use it for anything else (especially game logic!)
games  javascript  webdev 
september 2013 by deusx
Should JavaScript devs build real things? | Technology Treason
If you’re a web developer and you’re looking at playing with hardware, don’t shy away from the electronics. There are no magic bits of hardware that will give you full control of the physical world in a box – though there are plenty of attempts at this. Develop your knowledge the same way you do with the web – by reading, tinkering, playing with code and breaking stuff. Go join a hackerspace, get some learning materials, visit electronics shops, pull things apart and learn how they work.
hardware  javascript  drones  tessel 
august 2013 by deusx
KineticJS HTML5 Canvas Framework
KineticJS is an HTML5 Canvas JavaScript framework that enables high performance animations, transitions, node nesting, layering, filtering, caching, event handling for desktop and mobile applications, and much more. Try it out!
webdev  canvas  animation  html5  javascript 
august 2013 by deusx
HTML5 Hub | Build a JavaScript Particle System in 200 Lines
In less than 200 lines of vanilla JavaScript you will have a flexible particle system with multiple emitters and fields that repel and attract thousands of particles.
javascript  graphics  particles  webdev 
august 2013 by deusx
Adding Comments to JSON - FADE FADE
"api_host" : "The hostname of your API server. You may also specify the port.", "api_host" : "hodorhodor.com",
webdev  json  javascript 
august 2013 by deusx
Concurrency in JavaScript | TypedArray.org
Web Workers are now broadly available in most browsers even on mobile (caniuse.com stats for Web Workers) and give you the power of concurrency from within JavaScript. It will allow you to move expensive computations to other threads, to permit best responsive programming, and ideally open the doors in the future to true parallelization in JavaScript. Let’s have a look at the reasons why you may be interested into leveraging Web Workers.
webdev  webworkers  concurrency  javascript 
july 2013 by deusx
Enough with the JavaScript already!
After consulting with several companies on performance related issues, it became clear that one of the biggest performance issues facing websites today is the sheer amount of JavaScript needed to ...
webdev  javascript  performance  optimization 
june 2013 by deusx
Referencing DOM from JS: there must be a DRYer, safer way
It bothers me when I realize that I'm relying on CSS class names in my JS
webdev  css  js  dom  javascript 
june 2013 by deusx
Getting started with Readium.js - Readium.js
This page describes a small demo that leverages Readium.js to embed EPUB 3 content in a web application. This should help you get familiar with all that Readium.js has to offer.
epub  readium  webdev  ebooks  javascript 
june 2013 by deusx
JavaScript is Web Assembly Language and that's OK. - Scott Hanselman
As our great philosopher Kosh from Babylon 5 once said: "The avalanche has already started. It is too late for the pebbles to vote."
to:fb  webdev  javascript  asm.js 
may 2013 by deusx
gif.js
Full-featured JavaScript GIF encoder that runs in your browser.
gifs  javascript  web  webdev  graphics 
may 2013 by deusx
Announcing StrongLoop Node 1.0 GA – an Enterprise Ready Node.js Distribution | StrongLoop
Back in March we first announced the availability of StrongLoop Node, our commercially supported distribution of Node.js based on v0.10. After three Beta releases, lots of feedback from the community and our customers, plus testing and more testing, we are pleased to announce the general availability of StrongLoop Node 1.0.
gluecon  strongloop  node  javascript 
may 2013 by deusx
sole / Animated_GIF
Javascript library for creating animated GIFs
webdev  javascript  github  gif  animgifs 
may 2013 by deusx
traceGL
With traceGL you can see all JavaScript codeflow, in a high performance webGL visualiser. Its like an oscilloscope, for code.
webdev  node  debugging  dev  javascript  debug  gluecon 
may 2013 by deusx
ClippyJS - Add Clippy or his friends to any website for instant nostalgia
Add Clippy or his friends to any website for instant nostalgia. Our research shows that people love two things: failed Microsoft technologies and obscure Javascript libraries. Naturally, we decided to combine the two.
to:fb  clippy  microsoft  webdev  humor  history  javascript 
may 2013 by deusx
Codeblock.js by Filepicker.io
Editable, runnable javascript code blocks
webdev  javascript 
may 2013 by deusx
Coquette
A micro framework for JavaScript games.

Handles collision detection, the game update loop, keyboard input and canvas rendering.
webdev  gaming  js  javascript 
may 2013 by deusx
azakai: The Elusive Universal Web Bytecode
In summary, we already have what practically amounts to a bytecode VM in our browsers
asm.js  webdev  bytecode  javascript 
may 2013 by deusx
MPEG1 Video Decoder in JavaScript - PhobosLab
An MPEG1 decoder sounded like a relatively simple and fun weekend project. While the real world use cases for this are of course a bit limited, I still learned a whole lot about video codecs in the process. The size of the source is just around 15kb gzipped and the performance is quite okay-ish - a 320x240 video easily plays with 30fps on the iPhone5.
to:fb  webdev  video  mpeg1  javascript 
may 2013 by deusx
CLI all the things: Introducing Josh.js - ILoggable
Everytime I click my way through a hierarchy tree, I long for a simple BASH shell with TAB completion. It’s such a simple thing, but TAB completion (usually implemented via the trusty Readline library) still ranks as one of the most productive tools in my book. So as I was once again trying to navigate to some page in a MindTouch site, I thought that all I really want is to treat this documentation hierarchy like a file system and mount it with a bash shell.
javascript  webdev  shells  shell 
april 2013 by deusx
Josh.js by sdether
Toolkit for building a bash-like shell in the browser, including full readline support
webdev  bash  javascript  shell 
march 2013 by deusx
how I write modules - substack in cyberspace
When applications are done well, they are just the really application-specific, brackish residue that can't be so easily abstracted away. All the nice, reusable components sublimate away onto github and npm where everybody can collaborate to advance the commons.
webdev  node  javascript  modules  workflow 
march 2013 by deusx
hColumns
hColumns is a jQuery plugin that looks like Mac OS X Finder's column view for the hierarchical data.
webdev  html  columns  jquery  javascript 
march 2013 by deusx
Bootstro.js Bootstrap Intro.js
Bootstrap-intro.js: Show your users a guided tour of what is what on a page.
Especially, for first-time users.
Use it with Bootstrap.
webdev  bootstro  bootstrap  demo  javascript 
march 2013 by deusx
Working Node.js on Raspberry Pi
These instructions work for the Raspberry Pi running Raspbian (hard float) and create a hardware optimized version of NodeJS for the Raspberry PI, (and include a working install and NPM!!!)
raspberrypi  node  js  javascript 
march 2013 by deusx
Let tools define JavaScript style | Shape Shed
JavaScript's permissive syntax means style debates are easy to run into. This post details how tools can be used to encapsulate your opinion and how this can be integrated into a build process.
javascript  automation  webdev  tools 
march 2013 by deusx
JavaScript Stardate Converter
These conversion routines convert to and from Star Trek: The Next Generation style Stardates. These stardates take the form YYXXX.XX where the first two digits refer to the year with 2323 being year zero and the remaining digits being the decimal portion of the year. The last digit before the decimal point is one stardate and is approximately eight and three quarters hours in length.
startrek  stardate  javascript  nerd 
february 2013 by deusx
Infinite Scrolling that Works - Evil Trout's Blog
The URL is the serialized state of your web application
webdev  scrolling  html  javascript 
february 2013 by deusx
Using WebAPIs to make the web layer more capable ✩ Mozilla Hacks – the Web developer blog
Part of making both Firefox OS and the web as a platform a stronger layer and alternative for developers, we are working on a number of WebAPIs. I’d like to introduce you them here!
webdev  mobile  firefoxos  webapis  html5  javascript 
february 2013 by deusx
The Web Is Becoming SmallTalk | Zack’s Blog
I dream of the days when the Web truly does resemble SmallTalk.
webdev  smalltallk  javascript  web 
february 2013 by deusx
thlorenz/replpad · GitHub
Watches specified files and pipes or requires them inside a node repl when ever they change.
node  javascript  repl 
january 2013 by deusx
Ben Alman » A Bit of Advice for the JavaScript Semicolon Haters
Also, please don’t intentionally make your code unreadable; I guarantee it will be unreadable enough without any extra help.
webdev  semicolons  asi  javascript 
january 2013 by deusx
testling
run your browser tests on every push
testling  webdev  testing  browser  javascript 
january 2013 by deusx
Mechanics of Flite - Underappreciated NPM Commands Developers Should Know About
npm, the package manager that comes bundled with node.js, is generally described as “awesome”. While it was originally a separate project, npm has been bundled with node.js for the past few releases and the number of npm packages available in the npm registry has exploded.
node  webdev  nifty  utils  tools  js  npm  javascript 
december 2012 by deusx
HTML5 History / pushState URLs, .htaccess and You - Joss Crowcroft
So, this is basically doing for single-page apps' index.html what we have typically done for PHP apps using index.php as a single entry point for all URL paths. But, I think it's a horrible idea.
webdev  pushstate  html5  apache  javascript 
december 2012 by deusx
URI.js - URLs in Javascript
URI.js is a javascript library for working with URLs. It offers a "jQuery-style" API (Fluent Interface, Method Chaining) to read and write all regular components and a number of convenience methods like .directory() and .authority().
webdev  javascript  http 
november 2012 by deusx
JS adolescence – James Padolsey
For me there was a time that can only be described as adolescence in the field of programming and more specifically JavaScript. This period was characterised by a certain laziness and hubris. I thought I was right. I thought others were wrong. I could see no path but the very strict one that I had boxed myself into through a process in which I longed for certainty and the expulsion of realistic doubt.
javascript  webdev  programming  to:fb 
november 2012 by deusx
Building a live green screen with getUserMedia() and MediaStreams - Tim Taubert
This is an admittedly very simple example of a green screen but you can use this little template to manipulate your webcam’s live video stream and build all kinds of fancy demos with it.
html5  firefox  media  greenscreen  javascript 
october 2012 by deusx
෴ browserver: a node.js HTTP server in your browser ෴
Hello! I've got some good news for you: your web browser has just been upgraded to a web server. It's responding to HTTP requests on the Internet as you read this.
webdev  http  browsers  nodejs  javascript 
september 2012 by deusx
WidgetWorx > SpriteLib
SpriteLib is a collection of static and animated graphic objects (also commonly known as sprites). It was created to provide hobbyist game developers with an assortment of images to use in their creations. Because of SpriteLib, developers don't have to waste precious time or money creating graphics from scratch.
javascript  gaming  art  graphics 
september 2012 by deusx
DanielVF/mfzero_roller
Die roller and unofficial rules compilation. Feel free to make edits and revisions. Rules are in rules.markdown.
gaming  mf0  dice  javascript  awesome 
september 2012 by deusx
« earlier      
per page:    204080120160

related tags

"quote  abstraction  accessibility  actionscript  addons  adobe  adultfriendfinder  aggregators  ai  aim  ajav  ajax  algorithmic  algorithms  amass  amazon  amen  animation  animations  animgifs  annotation  ansi  apache  api  appjet  apple  applescript  archive  ares  arm  art  asi  asm.js  assembly  at:aadl  atari  atom  audio  auto  automation  awesome  awesomesauce  backbone  bacon  badges  badidea  bash  bling  blueoxen  bookmarklet  bookmarklets  bookmarks  books  bootstrap  bootstro  brainhurty  browser  browsers  bugs  business  bytecode  c  c64  canvas  cats  charting  charts  chording  chrome  cli  clipboard  clippy  clock  closures  cloud  cloud9  cms  cocoa  code  coding  coffeescript  colloquy  columns  commodore  comparison  compiler  compilers  compsci  concurrency  cool  couchdb  crazy  createjs  crowbar  crypto  css  css3  dali  data  database  datavisualization  dates  de.licio.us  debug  debugging  decafbad  del.icio.us  delicious  demo  demos  deployment  design  dev  developers  development  dhtml  dice  diff  diy  django  dnd  docs  documentation  dojo  dom  domscripting  downloadday  draganddrop  dragdealer  drama  drones  e4x  ebooks  editors  effects  elasticsearch  eliza  emulation  emulators  engelbart  enhancement  enscripten  epub  errors  es6  event  eventdelegation  events  evolution  extension  facebook  fail  favicons  feeds  file  firebug  firefox  firefox3  firefoxos  firephp  flash  flickr  frameworks  fuckthecloud  funny  fx  games  gaming  generative  generator  genetics  geo  gif  gifs  git  github  gluecon  gmap  gnusto  google  googlemaps  gps  graphics  graphs  greasemonkey  greenscreen  grunt  gtd  gui  gulp  gwt  hack  hacks  handlebars  hardware  history  howto  html  html4  html5  http  humor  hypertext  ide  ident  identica  identity  ie6  ifiction  images  imgur  infocom  insanity  inspiration  instantmessaging  instant_bookmarklet  interactive  interesting  ios  iphone  irc  itunes  jabber  java  javascript  jquery  js  jscocoa  jsconf  jsmess  json  jsspeccy  jwz  keyboards  laconica  languages  libraries  library  linked-data  linking  linkrolls  lisp  live  logging  lua  lunr  mac  maintenance  maps  mario  mariokart  markdown  markup  mashups  match  math  mdn  me  media  metablogging  mf0  microformats  microsoft  misc  mobile  mochikit  mods  modules  mojo  mootools  morphic  mozilla  mp3  mpeg1  msft  msie  msie6  msx  music  mustache  native  neon  nerd  netflix  networking  nifty  ning  nintendo  node  nodejs  nostalgia  notifications  npm  nytimes  objc  ocr  odd  oldschool  one-click  opensource  opera  opml  optimization  orm  oscon  osx  outliners  palm  palmpre  parallax  parchment  particles  pastebin  patch  patterns  pdf  pecl  performance  perl  php  pipes  plugins  polymer  portland  pre  presentation  presentations  processing  programming  progressive  promises  prototype  publishing  purple  pushstate  pyjamas  python  qr  qrcode  qrcodes  quicksilver  rack  radio  rails  raspberrypi  rdf  react  readium  redis  repl  rest  ria  rss  ruby  rust  s3  safari  scheme  science  scope  scrapers  scraping  scriptaculous  scripting  scrolling  search  secret  selectors  self  selflink  semanticweb  semicolons  seo  server  serverjs  servers  sha1  shell  shells  shortcut:yui  sinclair  slides  smalltalk  smalltallk  snap  snippets  social  socialgraph  source  spectrum  spidermonkey  spreadsheets  spry  sql  squeak  standards  stardate  startrek  storage  strongloop  sun  svg  sxsw  syndication  system:host=code.google.com  system:host=www.skulpt.org  system:host=www.vim.org  tables  tagometer  tags  tamarin  tdd  tech  technorati  templates  templating  terminal  tessel  testing  testling  tetris  text  textareas  th.tool  tips  to:fb  to:twitter  tools  transclusion  tricks  trim  tutorial  tutorials  twitter  typography  ubiquity  ugh  ui  underscore  unicode  unity  unix  unobtrusive  unobtrusivejavascript  unquote"  utilities  utils  uuid  v8  vecctor  vendors  vi  via:codepo8  via:stlhood  via:textfiles  vic20  video  videos  vim  virtualmachines  visualization  vm  vnc  w3c  web  web2.0  web20  webapis  webcomponents  webdav  webdeg  webdev  webgl  webkit  webos  websockets  webworkers  weird  what  widgets  wiki  wildfire  wires  wordpress  workflow  writing  wrox  www  wysiwyg  x  xbmc  xbox  xhr  xhtml  xml  xmpp  xoxo  xpath  xslt  xui  xulrunner  yahoo  yui  zmachine  zx 

Copy this bookmark:



description:


tags: