Better HN
topnewbestaskshowjobs
Log inSign up

nippur72

12 karma · joined Jul 3, 2015 (11y ago) · 17 submissions

Submissions

comment 4y ago · link · parent

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.

comment 5y ago · link · parent

down it Italy as well

comment 8y ago · link · parent

> 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.

comment 10y ago · link · parent

https://github.com/evanw/thinscript

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

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.

7.

Microsoft retires on{X}(onx.ms ↗)

2 points · by nippur72 · 10y ago · discuss

comment 10y ago · link · parent

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()

comment 10y ago · link · parent

thanks it's very useful, as I now I doubt async/await will ever land in TS.

comment 10y ago · link · parent

is this server protocol also responsible for syntax highlight (aka colorization) of the source code?

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

I've just opened the GitHub repo and I see no trace of TypeScript, no .ts files anywhere

comment 10y ago · link · parent

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 :-(

comment 11y ago · link · parent

I think VS 2015 (released today) should handle tsconfig in the IDE.

comment 11y ago · link · parent

async/await will a sort of revolution, I hope they put out the 1.6 beta real soon

comment 11y ago · link · parent

the new version handles tsconfig.json, so no more need for ///<reference>