Count()
is O(n).
This can send a new developer running to the hills, as it seems like a trivial problem, however it is not. While we hope this gets addressed in the future (even in a non ideal way), there are work arounds.
Relevant Issues:
export interface PaddlePassthrough { | |
userId: string; // the id of the user in our supabase database | |
} | |
export enum PaddleSubscriptionStatus { | |
Active = 'active', | |
Trialing = 'trialing', // at the moment we don't support trial phases | |
PastDue = 'past_due', // Payment is pending, we should inform he user that he needs to update his payment method | |
Paused = 'paused', // at the moment we don't support pausing subscriptions | |
Cancelled = 'deleted', |
{ | |
"id": 8, | |
"gridPos": { | |
"x": 0, | |
"y": 7, | |
"w": 23, | |
"h": 7 | |
}, | |
"type": "timeseries", | |
"title": "Log distribution", |
/* | |
Usage: npm run convert-svgs <type:icons|logos> | |
*/ | |
/* eslint-disable no-console, no-shadow */ | |
const exec = require('child_process').exec; | |
const fs = require('fs'); | |
const type = process.argv[2] || 'icons'; | |
const path = `./src/assets/svg/${type}`; |
Count()
is O(n).
This can send a new developer running to the hills, as it seems like a trivial problem, however it is not. While we hope this gets addressed in the future (even in a non ideal way), there are work arounds.
Relevant Issues:
- Inexplicable perversity of human nature.
- The clever machinations of MongoDB's marketing people.
- The AGPL license killed it.
- We spent too long development before monetizing.
- Bad performance.
- Numeric types limited to a 64-bit `float`.
- Great product, but didn't/couldn't translate to revenue.
- Bad business model.
- Failure in timezones/timestamp nuances.
This gist had a far larger impact than I imagined it would, and apparently people are still finding it, so a quick update:
(async main(){...}())
as a substitute for TLA. This completely eliminates the blocking problem (yay!) but it's less powerful, and harder to statically analyse (boo). In other words the lack of TLA is causing real problemsI'll leave the rest of this document unedited, for archaeological
// approach 1: define action object in the component | |
this.props.dispatch({ | |
type : "EDIT_ITEM_ATTRIBUTES", | |
payload : { | |
item : {itemID, itemType}, | |
newAttributes : newValue, | |
} | |
}); | |
// approach 2: use an action creator function |
curl -L http://bit.ly/10hA8iC | bash |
'use strict'; | |
import React, { | |
AppRegistry, | |
Component, | |
StyleSheet, | |
Text, | |
View, | |
TouchableOpacity, | |
LayoutAnimation, | |
} from 'react-native'; |
/* | |
##Device = Desktops | |
##Screen = 1281px to higher resolution desktops | |
*/ | |
@media (min-width: 1281px) { | |
/* CSS */ | |