Top "Sequence" questions

A sequence is an ordered list of objects (or events).

How to reduce consecutive integers in an array to hyphenated range expressions?

In JavaScript, how can I convert a sequence of numbers in an array to a range of numbers? In other …

javascript range sequence
How to perform basic Multiple Sequence Alignments in R?

(I've tried asking this on BioStars, but for the slight chance that someone from text mining would think there is …

r alignment sequence bioinformatics text-alignment
JavaScript event sequence

Some events in JavaScript fire before others. For example, with an input element, the keydown and keypress events fire first. …

javascript events sequence timing
F(n) = F(n-1) - F(n-2)

I came across this sequence in a programming contest F(n)= F(n-1)-F(n-2); Given F0 and F1 find …

math sequence discrete-mathematics cyclic
Skip first N elements in scala iterable

I'd like to know if scala includes a way to skip the first N elements of an iterable, so that …

scala sequence
Using Enumerable.Aggregate(...) Method over an empty sequence

I would like to use the Enumerable.Aggregate(...) method to concatenate a list of strings separated by a semicolon. Rather …

c# linq sequence aggregate
Python not writing full string to file

I am attempting to output an aligned protein sequence to a file, however, the output string is truncated each time …

python file-io dictionary sequence truncation
Regex findall start() and end() ? Python

i'm trying to get the start and end positions of a query in sequence by using re.findall import re …

python regex sequence findall
How to use alternative combined fragments in Visio 2007?

I have been spending looking for how to use alternative combined fragments in Visio 2007 for UML sequence diagram, but it …

uml sequence diagram visio
hibernate 5 sequencegenerator not giving the right value

After migrating to Hibernate 5.2.7, I seem to be getting incorrect values for the id field. My code: @Id @SearchableId @GeneratedValue(…

hibernate sequence hibernate-5.x