HNHacker News
TopNewBestAskShowJobs

wildpeaks

2,611 karma · joined December 12, 2012

https://twitter.com/wildpeaks https://bsky.app/profile/wildpeaks.fr

[ my public key: https://keybase.io/wildpeaks; my proof: https://keybase.io/wildpeaks/sigs/yQmAnhmw5ODzOpfBpYvX1T7owc-Fwoe6TpMkU8-94Ho ]

submissionscomments
wildpeaks··on A summary of ECMAScript 6 features
The ES6 transpiler "6to5" was renamed to "Babel" a few hours ago:

https://news.ycombinator.com/item?id=9052478

https://twitter.com/markdalgleish/status/566909414242660353

wildpeaks··on 6to5 (ES6 transpiler) is now renamed Babel
The website still points to https://github.com/6to5/6to5 yet the link now redirects to https://github.com/babel/babel.

Good move because even if it started with ES6, it now supports more (e.g. some ES7 features and JSX) so the name didn't fit anymore.

wildpeaks··on Am I Being Tracked
Given the title, I was expecting that page to be just "Yes." in large bold font :)
wildpeaks··on A summary of ECMAScript 6 features
Also keep in mind that Traceur adds its own global runtime, I usually recommend 6to5 instead (despite what the name suggests, it supports some ES7 features as well and even JSX).

Here's a good features comparison table of common transpilers: http://6to5.org/docs/compare/#comparison-to-other-transpiler...

wildpeaks··on A Deep Dive on React Native [video]
JavaScriptCore executes javascript embedded in the app, it's not like a webview that would download an arbitrary webpage/script, so it wouldn't conflict with the guidelines
wildpeaks··on A Deep Dive on React Native [video]
They picked a great timing for the announcement because I needed to use native components with a React app, similar to how Ejecta (http://impactjs.com/ejecta) reimplemented the WebGL API to run js apps without DOM/WebView) but had settled with Cordova plugins because it would have taken probably too long to implement otherwise, so I have high hopes for React Native :)
wildpeaks··on A Jarvis-like AI for your apps, drones, robots [video]
You might like Hubot: https://hubot.github.com/
wildpeaks··on Startup jobs with low salary and negligible equity, what gives?
90k is "low" ? Don't ever leave the Valley, you'll be even more disappointed
wildpeaks··on Mistakes Node.js Developers Make
BrowserSync (http://www.browsersync.io) would be more useful than Livereload because it also reloads CSS without refreshing the page and synchronizes navigation if the page is open on several devices / browsers.
wildpeaks··on ECMAScript 6: new OOP features besides classes
Standardizing is also the reason behind ES7 Observable as was explained in this talk (https://www.youtube.com/watch?v=DqMFX91ToLw) from Jafar Husain (Netflix & ES7 committee) which explains very well ES6/ES7 features like iterators, promises, generators, async functions and async generators.
wildpeaks··on Chrome DevTools outside of the browser
It does expose a websocket other apps can use to control Chrome (such as this node module: https://github.com/cyrus-and/chrome-remote-interface or the Chrome webdriver )
wildpeaks··on Yahoo Mail moving to React
Yahoo also had slides about Isomorphic Flux / Dispatchr two weeks ago if you want more infos on how they're using React: https://speakerdeck.com/mridgway/isomorphic-flux
wildpeaks··on Yahoo Mail moving to React
Paypal recently had an interesting follow-up talk "9 anti-patterns for node.js teams" about what they learnt in the past year.

Slides: http://www.slideshare.net/jeharrell/9-antipatterns-for-nodej...

Video: https://www.youtube.com/watch?v=6phif2t-wj0

wildpeaks··on Desert Bus for Hope 8 is now live, a charity fundraising marathon
30K in 8 hours already :)
wildpeaks··on Why Asana Is Switching to TypeScript
About the React post mentioning improvements from types: React wanted to use Typescript (see http://youtu.be/M8x0bc81smU?t=37m57s), but they created Flow instead because Typescript didn't fit them, so the performance improvements the post mentions came from Flow instead.
wildpeaks··on React.js Conf
I meant Flow: this talk (http://youtu.be/M8x0bc81smU?t=12m41s) from @scale has the best information about Flow so far.

So far, it sounds like a linter similar to JSHint as long as the codebase is in ES6, with two ways to use it:

- with regular javascript, it is already able to deduce some constraints from the code itself

- with additional type annotations (which is part of ES6, so you don't end up with code that only Flow could use), it can test even more things.

wildpeaks··on Stop Using Constructors in JS (2012)
The linter would catch the missing new
wildpeaks··on Study shows brain interface between humans
Is it one-way or two-way ?

If one-way, the next interesting thing would be to record and playback the signal.

Once we're able to record and playback, there are many possibilities because it can also be transmitted anywhere and even to multiple receivers, thus having a new medium of communication.

wildpeaks··on Offload: Build seamless multiscreen interfaces
A demo application or even a video would help.
wildpeaks··on Microsoft Band
By any chance, do you already know which language(s) the SDK will support?
wildpeaks··on React.js Conf
I'm looking forward to see more about Flow because I think it will be a stepping stone in ES6 going mainstream; 2015 will be an exciting year for Javascript :)
wildpeaks··on Humble Mozilla Bundle
Oh sweet there is a WebGL version of Osmos, loved that one on mobile a few years ago.
wildpeaks··on Satya Nadella Email to Employees: RE: Grace Hopper Conference
The 502 error "Invalid response" that the server returns right now is ironically spot on.
wildpeaks··on How to kill team motivation in 10 simple steps
I'm not sure they'd be the ones on the lower end of things because when you don't earn much, you don't want to risk what you already have for almost no increase (given 5% of little money is very little) whereas 5% of a medium salary is much more of a difference/incentive.
wildpeaks··on JavaScript Hacks for Hipsters
The problem with #1 is that the minifier (e.g. http://closure-compiler.appspot.com/home) can't optimize as much.

---------

Example using strings:

  var obj = {
    start: function(){
      'use strict';
      console.log('start');
    },
    stop: function(){
      'use strict';
      console.log('stop');
    }
  };
  
  exports.onDummy = function(success){
    'use strict';
    var method = (success ? 'start' : 'stop');
    obj[method]();
  };
results in:

  var a={start:function(){console.log("start")},stop:function(){console.log("stop")}};exports.a=function(b){a[b?"start":"stop"]()};

---------

Same thing, using if..else:

  var obj = {
    start: function(){
      'use strict';
      console.log('start');
    },
    stop: function(){
      'use strict';
      console.log('stop');
    }
  };
  
  exports.onDummy = function(success){
    'use strict';
    if (success){
      obj.start();
    } else {
      obj.stop();
    }
  };
results in the much shorter:

  exports.a=function(a){a?console.log("start"):console.log("stop")};
wildpeaks··on Twin Peaks is coming back in 2016
And David Lynch will direct all episodes :)

Looks like Laura Palmer was right when she said she'd be back in 25 years: http://www.theverge.com/2014/10/6/6919641/twin-peaks-prophec...

wildpeaks··on Live Coding in VR with Oculus Rift, Firefox WebVR, JavaScript, Three.js [video]
Reminds me of Worldbuilder [1], a scifi short about a VR interface for editing the world around you.

I kinda like the "grab object & kiss to save" gesture: it wouldn't make sense in 2D but feels natural in VR, although "grab & push object in your brain" might be easier implement to represent a save function.

https://www.youtube.com/watch?v=VzFpg271sm8

wildpeaks··on 'Anti-Facebook' platform Ello attracts thousands
Apparently it's VC money: https://aralbalkan.com/notes/ello-goodbye/
wildpeaks··on Oculus Connect 2014
No worries, clicking on the wrong button happens :)
wildpeaks··on Oculus Connect 2014
God yes, it's so refreshing to hear someone that actually gets it :)
← PreviousPage 17 of 21Next →