Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
You've got two main options:
| object YAML: | |
| apiVersion: | |
| apps/v1 | |
| kind: | |
| Deployment | |
| metadata: | |
| name: | |
| "my-app" | |
| namespace: | |
| "my-app" |
| --- | |
| --- | |
| <?xml version="1.0" encoding="utf-8"?> | |
| <?xml-stylesheet href="/feed.xsl" type="text/xsl"?> | |
| <feed xmlns="http://www.w3.org/2005/Atom"> | |
| <title>{{ site.title }}</title> | |
| <link href="{{ site.url }}{{ site.baseurl }}/feed.xml" rel="self"/> | |
| <link href="{{ site.url }}{{ site.baseurl }}/" rel="alternate"/> |
This is the second article in a series of articles around Rusts new async/await
feature. The first article about interfaces can be found
here.
In this part of the series we want to a look at a mechanism which behaves very
different in Rust than in all other languages which feature async/await
support. This mechanism is Cancellation.
| /** | |
| A markov-chain based glyph generator. Given sequences of points as a corpus, this will create a markov chain based on those points. | |
| Then, by sampling the chain, we can generate entirely new glyphs that weren't in our original dataset. | |
| Press "r" to generate a new frame. Press "s" to save the frame to a file (with a random UUID as its name). | |
| Requires the PostFx library: https://github.com/cansik/processing-postfx/ | |
| */ | |
| import java.util.*; |
There exist several DI frameworks / libraries in the Scala ecosystem. But the more functional code you write the more you'll realize there's no need to use any of them.
A few of the most claimed benefits are the following:
| require 'rubygems' | |
| require 'bundler/setup' | |
| require 'pg' | |
| require 'sequel' | |
| require 'ledger_gen' | |
| require 'google_drive' | |
| SPREADSHEET_ID = 'your-google-sheet-id' | |
| DATABASE_URL = 'postgres://username:password@host/database' |