HNHacker News
TopNewBestAskShowJobs

nippur72

12 karma · joined July 3, 2015

submissionscomments
nippur72··on AudioTransmit – Transmitting data between computers using audio
yes it's a rabbit hole, I know it well! When PC became fast enough to be used as DSP engines with the soundcard I spent years playing with the creation of "digital modes" as HAM radio hobbyist.
nippur72··on Facebook Down?
down it Italy as well
nippur72··on Avoid Else, Return Early (2013)
> Programmers with lots of hours of maintaining code eventually evolve to return early

indeed I've evolved it myself but always wondering if it was the right thing to do. Now I even have a name for it.

nippur72··on WebAssembly Browser Preview
https://github.com/evanw/thinscript
nippur72··on Ask HN: “What JavaScript API/Framework should I use to develop a new .net SPA?”
I've written a large .NET SPA application and I feel very comfortable with the following technologies:

On the client: - TypeScript as language (v2.1 for ES5 async/await), strict null checks enabled - VS2015CE or VSCODE as IDE - React for rendering the UI - React-Templates for compiling HTML templates into pure React - React-router for routing - Webpack as module bundler, compiles in background (-w switch)

On the server: - IIS/.NET, limited only to serving the main .html page and to reply REST api (C#). - SQL Server as database engine

Everything is fine and debugging is smooth from Visual Studio. The only impedance mismatch is between server language (C#) and client (TypeScript). I once tried to switch to node.js but the SQL Server support was poor.

nippur72··on Announcing TypeScript 2.0
before typescript@next I had exactlt that setup, but sourcemaps were broken despite all my attempts to make them work. Now I'm using ts 2.1 and have completely removed babel out of my build.
nippur72··on Allora – Use promises on any JavaScript object
nice small lib as you'd expect from @gianlucaguarini (of Riot.js fame).

Also, it's async/await ready:

  const allora = require('allora')
  const myGlobal = allora(global)
  
  async function foo() {
     console.log("start")
     await myGlobal.setTimeout(2000)
     console.log("end")
  }  

  foo()
nippur72··on Announcing TypeScript 2.0 Beta
thanks it's very useful, as I now I doubt async/await will ever land in TS.
nippur72··on Common Language Server Protocol
is this server protocol also responsible for syntax highlight (aka colorization) of the source code?
nippur72··on Inferno: A fast, React-like JavaScript library for building UIs
fine, thanks. TypeScript makes it even more interesting. I am going to make some tests to see if Inferno can replace React when working with react-templates.
nippur72··on Inferno: A fast, React-like JavaScript library for building UIs
I've just opened the GitHub repo and I see no trace of TypeScript, no .ts files anywhere
nippur72··on Microsoft Flow
yeah, I still have it installed on my phone, it was a great tool, I can't believe MS abandoned it and now it's reinventing a less cool version of it :-(
nippur72··on Announcing TypeScript 1.5
I think VS 2015 (released today) should handle tsconfig in the IDE.
nippur72··on Announcing TypeScript 1.5
async/await will a sort of revolution, I hope they put out the 1.6 beta real soon
nippur72··on Announcing TypeScript 1.5
the new version handles tsconfig.json, so no more need for ///<reference>