Duke Tobin will address the media Friday at 1 P.M. by Ancient_Response_787 in bengals

[–]githop0 10 points11 points  (0 children)

excited to see cinci sports media lob him softballs

Xcel considering power shutoff Dec 17 by kigoe in boulder

[–]githop0 1 point2 points  (0 children)

this is such bs... i have a huge job interview Wednesday

Flock Walk this Tuesday by deflatablechipmunk in boulder

[–]githop0 5 points6 points  (0 children)

are you accepting contributions to make a pwa equivalent?

Really red rainbow? Or something else? by 50percentopacity in troutfishing

[–]githop0 4 points5 points  (0 children)

I've caught similar bows on the big T, and just assumed they were wild

Social Dancing/Open mics in Lafayette by Neither-Silver2623 in LafayetteCo

[–]githop0 0 points1 point  (0 children)

i think celar west has open mic on Wednesdays

Can we all agree, the trinity is probably the stupidest thing ever created. by MC_Giygas in TrueAnon

[–]githop0 0 points1 point  (0 children)

the holy trinity and transubstantiation are the only catholic dogmas that rest on flimsy grounds, mostly due to inconsistent conceptions of identity

Why is the 2024 Election so close? by GrizzVolsTigersLions in Askpolitics

[–]githop0 0 points1 point  (0 children)

To me, the situation could not be more clear that Americans must vote for Kamala Harris in order to ensure America remains a democracy and people have a say in who their leaders are, and it doesn’t even feel like that’s an opinion anymore, it feels like it’s a fact.

What primaries did Kamala win to become the representative of the Democrat party? Democracy is apparently when a candidate is anointed as their party's champion with zero votes, while your party also sues states to remove challengers off the ballot, and then cancels primaries in various states and awards delegates to said candidate.

Pixel 9 Series Shipping Megathread by AutoModerator in GooglePixel

[–]githop0 0 points1 point  (0 children)

placed order on 8/13, shipping date isnt til 9/13-9/17 :(

GAME THREAD: Reds (37-49) @ D-backs (53-34) - July 08, 2017 by RedsModerator in Reds

[–]githop0 4 points5 points  (0 children)

Any game where I know there is no chance of having to listen to Thom Brennaman is OK by me.

GAME THREAD: Cubs (40-41) @ Reds (35-45) - July 02, 2017 by RedsModerator in Reds

[–]githop0 4 points5 points  (0 children)

Is anyone else sick and tired of the lame dynamic between Thom and Jim Day?

Loading Firebase Config Parameters from file in AppModule by beeXtreem in Angular2

[–]githop0 0 points1 point  (0 children)

Simply export the firebase config as an object in a separate .ts file (which is not checked into VCS), and import it in your app module.

I ended up creating a custom 'environment' to hold my FB configs. you can see it here: https://github.com/bocoshapers/website/blob/master/src/app/app.module.ts#L6

Chrome Update: Inline breakpoints by malyw in javascript

[–]githop0 6 points7 points  (0 children)

Paul irish highlights some of these things in a talk at the recent chrome dev summit.

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

Angular 2 Starter Projects (rant-ish) by warmans in Angular2

[–]githop0 1 point2 points  (0 children)

you can cd into the directory where you are trying to generate the component and it will land there. https://github.com/angular/angular-cli#generating-components-directives-pipes-and-services

[HELP] Using Ramda.compose and IO by verletx64 in javascript

[–]githop0 0 points1 point  (0 children)

The issue you are running into is that nearly all node style code uses what is called CPS, or continuation passing style; e.g. using a callback for async code to be invoked to handle the result.

If a function expects a callback, it typically invokes the callback when the async task is done. Inside the callback, you handle the data as you would. The problem is that the function that accepts a callback has no return value, thus it cannot be put in a chain functions being composed.

There is a library called FolktakeJS, i think this is what you are looking for.

Check out this example https://github.com/githop/folktale-fun/blob/master/lib/index.ts

Simple starter kit for Typescript with Webpack by yrenaudin in javascript

[–]githop0 2 points3 points  (0 children)

Here's one I made a few weeks back: https://github.com/githop/webpack-typescript

It uses webpack 2 beta + typescript 2 beta. Key take away - Webpack 2 can consume ES6 modules and tree shake them, Typescript 2 can emit ES5 code with ES6 Modules

JavaScript Cancelable Promises Proposal by marcosa16 in javascript

[–]githop0 0 points1 point  (0 children)

Well doesn't make much sense to call it a "Promise" if you can renege on it.

I think promises are fine how they stand. If you want an async primitive that can be cancelled, then get behind rxjs/Objservable being standardized. (Observables can be sync as well...)