sequence   2321
Why Sequence instead of Iterator? - Language Design - Kotlin Discussions
@orangy said:

Using iterators other than for iteration has been proven to be error-prone. It is a mutable object, and if you try to use it like a lazy collection it will inevitably break things if you are not really &hellip;
iterator  sequence  coroutine  kotlin
6 weeks ago by lgtout
Kotlin Sequence Tutorial
Learn functional programming with Kotlin Sequences (filter, map, reduce, ...) in this example-driven tutorial.
sequence  kotlin  sequences
7 weeks ago by cakeface
date - Create a time (by half hours) table in MySQL - Stack Overflow
Before sequence engine:

SELECT
DATE('2010/01/01') + INTERVAL (NR * 30) MINUTE AS mydate
FROM (
SELECT d2.a*10+d1.a AS nr FROM (
SELECT 0 a UNION ALL SELECT 1 UNION ALL SELECT 2 UNION ALL SELECT 3 UNION ALL SELECT 4
UNION ALL SELECT 5 UNION ALL SELECT 6 UNION ALL SELECT 7 UNION ALL SELECT 8 UNION ALL SELECT 9) AS d1
CROSS JOIN (
SELECT 0 a UNION ALL SELECT 1 UNION ALL SELECT 2 UNION ALL SELECT 3 UNION ALL SELECT 4 ) AS d2
WHERE d2.a*10+d1.a BETWEEN 0 AND 47
) AS parameter
ORDER BY nr;
mysql  date  sequence  half  hour  hours
9 weeks ago by theskett
Git Hooks ou la revanche du crochet Git • Delicious Insights
Nous formons en Git, JavaScript, Node.js… Consultez également nos articles, assistez à nos conférences.
git  hook  learn  starred  schema  graph  sequence  order  workflow  flow  list  node  github  gitlab  lifecycle  life
10 weeks ago by ebouchut
De Bruijn Sequences - Hamiltonians - DataGenetics
"What is the shortest sequence of numbers that we can go through in order to ensure that all possible combinations of the digits are seen? Is it possible to create a sequence that does not repeat any sub-sequence of codes?

"The mathematics, number theory, combinatronics and logic of these types of problems were studied extensively by a Dutch Professor called Nicolaas Govert de Bruijn (9 July 1918 – 17 February 2012).

"Sequences of these numbers are named after him as De Bruijn Sequences.

"The quick answer is that, yes, it is possible to make a non-repeating sequence of numbers that covers ever sub-sequence internally, just once."

Other uses: DNA genome sequencing, 2D/3D/nD surface mapping (Anoto digital paper), rotary/linear encoders, Hamiltonian Path, card tricks, more

Hamiltonian Path: http://datagenetics.com/blog/december22018/index.html
probability  randomness  sequence  codes  cypher  combinations  permutations  DeBruijn  Gold  Barker  math  programming  compression  Hamiltonian  DNA  genome  genetics
11 weeks ago by Tonti
Look-and-say sequence - Wikipedia
n mathematics, the look-and-say sequence is the sequence of integers beginning as follows:

1, 11, 21, 1211, 111221, 312211, 13112221, 1113213211, ... (sequence A005150 in the OEIS).
To generate a member of the sequence from the previous member, read off the digits of the previous member, counting the number of digits in groups of the same digit. For example:

1 is read off as "one 1" or 11.
11 is read off as "two 1s" or 21.
21 is read off as "one 2, then one 1" or 1211.
1211 is read off as "one 1, one 2, then two 1s" or 111221.
111221 is read off as "three 1s, two 2s, then one 1" or 312211.
Mathematics  sequence
november 2018 by alligin

Copy this bookmark:

description:

tags: