News for hackers. Stuff that matters.

highpixels

Re:TypeScript 2.4 RC on Monday June 12, 2017 @05:35PM (#14541325)
Dynamic imports is standards-track JS :) http://2ality.com/2017/01/import-operator.html
Re:iTerm2 Version 3 Now in Beta on Thursday February 18, 2016 @06:08PM (#11130113)
Preferences > Profile > Window > Style: "No Title Bar"

doesn't seem to then be anyway to move the window (just resize from the edges)

Re:Ng-book 2 is out on Sunday July 12, 2015 @08:07AM (#9873225)
They recently announced a "cleaner" syntax for ES5 mode. Looks more like the Angular 1 syntax.

http://blog.thoughtram.io/angular/2015/07/06/even-better-es5...

Re:Taming the asynchronous beast with ES7 on Tuesday March 10, 2015 @05:58PM (#9180948)
await* is awesome too:

    let arr = [/* an array of promises *]
    await* arr;
Essentially the same as Promise.all

    let arr = [/* an array of promises *]
    await Promise.all(arr)
Re:What the Flux? on Tuesday January 27, 2015 @03:15PM (#8955481)
I've never quite understood Flux, partly due to all the cruft & boilerplate involved around Actions & Action Creators.

I've found a Command Bus pattern (a la CQRS) works much nicer, and cleaner.

1. Something happens in View (e.g. todo item is checked) 2. View passes a "CompleteTodoItemCommand" object to the Command Bus 3. Command Bus dispatches the Command to a registered Handler 4. Handler communicates with server, store etc. to handle the command; handing TodoItem to the store 5. Store triggers change event 6. View hears change event, renders self

That said, I've only built a few smaller projects in React, so perhaps I'm missing something important which Flux solves and I'm missing?

Re:Microsoft on GitHub on Wednesday November 12, 2014 @02:37PM (#8597652)
Fonts have been fixed on GitHub now.
Re:Ask HN: What do you use for PDF reports these days? on Sunday October 12, 2014 @11:40AM (#8445555)
We're also using Prince, love it. We've previously used PdfCrowd and wkthml2pdf, but our customers were demanding more control of their reports (detailed footers, repeating headers, table of contents).
Re:I built a custom keyboard for iOS 8 on Sunday September 28, 2014 @10:20AM (#8379783)
I also built a custom keyboard, designed specifically for Project Managers: http://posts.danharper.me/project-manager-keyboard-for-ios/
Re:Rails – The Missing Parts – Policies on Friday March 21, 2014 @05:32AM (#7441366)
Don't suppose you have a link to that video? Or remember any more details so I could dig it up?
Re:Atom on Wednesday February 26, 2014 @05:25PM (#7308550)
I'm guessing the Atom project was WAY different back then, and has probably gone through several ground-up re-writes.
Re:Yotaphone on Wednesday December 04, 2013 @06:19AM (#6846212)
Got me too. Equated Monthly Installments [0]. Monthly payments on cars/phones/computers etc.

[0] http://en.wikipedia.org/wiki/Equated_Monthly_Installment

Re:Show HN: Delete with your Macbook Pro's power key on Thursday April 25, 2013 @09:51AM (#5607128)
Huh? They're right there on the right, below the delete key.
Re:Exposed Webcam Viewer on Saturday April 13, 2013 @04:50PM (#5544628)
Guy seems to be naked on the bed watching TV now.

Thankfully the camera's very pixelated.

Re:An apology to open source on Tuesday March 19, 2013 @08:03AM (#5400343)
I work for Radweb, Nick no longer works with us. He left around a year ago or so.

I've made a few open-source contributions through the company (https://github.com/danharper and https://github.com/radweb).

Chart.js looked like an awesome library, it's a shame what happened.

Re:A Get Shit Done script on Monday November 26, 2012 @11:15AM (#4832550)
Problem with these is I end up turning it off.
Re:Bitcoin Vending Machine on Monday July 16, 2012 @09:56AM (#4250701)
Something like that, but it could be done ahead of time - receive a bitcoin address & redemption code online, send your coins then ~30mins later go to the machine, enter your redemption code and receive your BTC.

Redemption code could also be a QR code. Put it on your phone & hold it up to the machine.

Re:Tuts+ Premium Account Security Compromised on Tuesday June 26, 2012 @10:19AM (#4161904)
As a regular author for Tuts+ I am absolutely FUMING with them.
Re:What iOS 6 Mobile Safari Offers Front End Devs on Tuesday June 12, 2012 @04:50AM (#4099494)
Finally support for input type="file"!
Re:Backbone.js localStorage + remote sync on Thursday January 26, 2012 @12:01PM (#3514865)
Just what we needed! We were just planning on adding similar functionality into our Backbone app. I check Hacker News an hour later, and there it is!

Looking forward to seeing the offline sync helper you mentioned in another thread.

Re:Show HN: Safebox - for ur Dropbox on Saturday November 12, 2011 @10:45AM (#3227996)
I'd love to see an Android client. I use Dropbox a lot with my phone, and really need some sort of encryption solution for it.
You wouldn't go into a restaurant which had the same generic "look". How dull would life be if all buildings have the same generic style; all shop fronts had their name printed in the same size, font and colour; all menus looked alike and everyone drove the same car?

A standardised GUI is not the same as standardised branding.