News for hackers. Stuff that matters.

nippur72

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.
Re:Facebook Down? on Thursday April 08, 2021 @05:44PM (#26744168)
down it Italy as well
Re:Avoid Else, Return Early (2013) on Monday March 26, 2018 @11:28AM (#16679597)
> 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.

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.

Re:Announcing TypeScript 2.0 on Friday September 23, 2016 @09:40AM (#12564488)
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.
Re:Allora – Use promises on any JavaScript object on Tuesday July 19, 2016 @07:48AM (#12121154)
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()
Re:Announcing TypeScript 2.0 Beta on Tuesday July 12, 2016 @12:20PM (#12080316)
thanks it's very useful, as I now I doubt async/await will ever land in TS.
Re:Common Language Server Protocol on Wednesday June 29, 2016 @06:58AM (#12000769)
is this server protocol also responsible for syntax highlight (aka colorization) of the source code?
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.
I've just opened the GitHub repo and I see no trace of TypeScript, no .ts files anywhere
Re:Microsoft Flow on Saturday April 30, 2016 @01:27PM (#11602570)
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 :-(
Re:Announcing TypeScript 1.5 on Monday July 20, 2015 @03:28PM (#9918397)
I think VS 2015 (released today) should handle tsconfig in the IDE.
Re:Announcing TypeScript 1.5 on Monday July 20, 2015 @01:02PM (#9917354)
async/await will a sort of revolution, I hope they put out the 1.6 beta real soon
Re:Announcing TypeScript 1.5 on Monday July 20, 2015 @01:01PM (#9917346)
the new version handles tsconfig.json, so no more need for ///<reference>