This isn't a comprehensive language design, it's just ideas for syntactical constructs I'd really like to see some day. It'd probably be some kind of object/functional hybrid a la Scala - I really like the recent trend of "post-functional" languages that take a lot of ideas/influence from functional programming, but aren't fascist about it, or so scary that only math Ph.Ds can learn them. The idea is to fuse OOP and FP into a language which gives you a high level of expressiveness and power, but is actually useable for Getting Real Things Done.
/** | |
* Get a random floating point number between `min` and `max`. | |
* | |
* @param {number} min - min number | |
* @param {number} max - max number | |
* @return {number} a random floating point number | |
*/ | |
function getRandomFloat(min, max) { | |
return Math.random() * (max - min) + min; | |
} |
China https://en.wikipedia.org/wiki/List_of_websites_blocked_in_China | |
Pakistan https://en.wikipedia.org/wiki/Internet_censorship_in_Pakistan, https://www.usenix.org/conference/foci13/workshop-program/presentation/nabi | |
Russia http://eais.rkn.gov.ru, https://en.wikipedia.org/wiki/Russian_Internet_blacklist | |
Turkey http://engelliweb.com, you can check any website from gov. website (eekg.tib.gov.tr) | |
UK https://en.wikipedia.org/wiki/Websites_blocked_in_the_United_Kingdom |
http://www.dreamincode.net/forums/topic/78802-martyr2s-mega-project-ideas-list/
Reverse a String Enter a string and the program will reverse it and print it out.
Pig Latin Pig Latin is a game of alterations played on the English language game. To create the Pig Latin form of an English word the initial consonant sound is transposed to the end of the word and an ay is affixed (Ex.: "banana" would yield anana-bay). Read Wikipedia for more information on rules.
Spurred by recent events (https://news.ycombinator.com/item?id=8244700), this is a quick set of jotted-down thoughts about the state of "Semantic" Versioning, and why we should be fighting the good fight against it.
For a long time in the history of software, version numbers indicated the relative progress and change in a given piece of software. A major release (1.x.x) was major, a minor release (x.1.x) was minor, and a patch release was just a small patch. You could evaluate a given piece of software by name + version, and get a feeling for how far away version 2.0.1 was from version 2.8.0.
But Semantic Versioning (henceforth, SemVer), as specified at http://semver.org/, changes this to prioritize a mechanistic understanding of a codebase over a human one. Any "breaking" change to the software must be accompanied with a new major version number. It's alright for robots, but bad for us.
SemVer tries to compress a huge amount of information — the nature of the change, the percentage of users that wil
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Copyright (C) 2014 Leo Iannacone <[email protected]> | |
This file was generated from a textmate theme named Monokai Extended | |
with tm2gtksw2 tool. (Alexandre da Silva) | |
This library is free software; you can redistribute it and/or | |
modify it under the terms of the GNU Library General Public | |
License as published by the Free Software Foundation; either |
var github = require('github'); | |
var util = require('util'); | |
const TOKEN = ""; | |
const USER = ""; | |
var g = new github({version: "3.0.0"}); | |
g.authenticate({ | |
type: "oauth", |
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.
- Ensure any install or build dependencies are removed before the end of the layer when doing a