Size: a a a

F# Flood: Смак с Андреем Макаревичем

2020 March 20

SN

Shub Niggurath in F# Flood: Смак с Андреем Макаревичем
S B
так ты ж не знаешь, насколько он одарен красноречием и какие люди его окружают. пипл хавает, че.
ну я в данном чатике находился достаточное время, чтобы сложить мнение по крайней мере о сетевом аспекте личности. плюс был ряд косвенных признаков, т.к. он все-таки локальный экстремум и не засветиться по другим каналам ему крайне сложно
источник

SN

Shub Niggurath in F# Flood: Смак с Андреем Макаревичем
ну я впрочем списываю это на недостоверность каналов, уверен, что люди, знающие его лично, могут сказать немало хорошего
источник

SB

S B in F# Flood: Смак с Андреем Макаревичем
`To show that no amount of user protocol can
solve the problem in a manner to dissipate the
anxiety of both parties as to the outcome of a
transaction, consider the following model.
A group of gangsters are about to pull off a
big Job. The plan of action is prepared down to
the last detail~ Some of the men are holed up in a
warehouse across town, awaiting precise instructions. It is absolutely essential that the two
groups act with complete reliance on each other in
executing the plan.`
источник

SB

S B in F# Flood: Смак с Андреем Макаревичем
Of course, they will never get around to putting the plan into action, because the following
sequence of events is bound to take place.
i. A messenger is dispatched across town,
with instructions from the boss.
2. The messenger reaches his destination.
At this point both parties know the plan
of action. But the boss doesn't know
that his message got through (muggings
are a common occurrence). So the messenger is sent back, to confirm the message.
3. The messenger reaches the boss safely.
Now, everybody knows the message got
through. Of course, the men in the
warehouse are not aware that step 3
occurred, and must he reassured. Off
goes the messenger.
4. Now the men in the warehouse too know
that step 3 was successful, but unless
they communicate their awareness...
.......
...,...
Note that the needs of both parties are quite reasonable. They simply want to reach a state where
(I) The original message (i.e., the plan of
action) is successfully delivered, and
(2) Both parties know that they are in
mutual agreement that (i) occurred.
Fact The sequence cannot terminate successfully.
Proof (a) Clearly the sequence contains at least
one message of importance.
(b) Assume that it is possible to reach the
desired state after a finite sequence
of messages. Then there must exist a
number n > 1 such that n is the length
of the shortest sequence which gets us
to this state. Since this is the shortest sequence, the last message in it is
important: if the n'th message gets
lost, the desired state cannot be
reached. The sender of the n'th message must receive acknowledgment.
This means that the sequence is at
least of length n + i. The assumption
is contradicted and the sequence cannot
be finite.
источник

SB

S B in F# Flood: Смак с Андреем Макаревичем
у меня одного ощущение, что Proof это сплошь наебалово?
источник

SN

Shub Niggurath in F# Flood: Смак с Андреем Макаревичем
в каком месте ощущение? протоколы не обеспечивают консенсус в общем случае
источник

IB

Ivan Balanar in F# Flood: Смак с Андреем Макаревичем
возможно, модель слишком редуцирована и взаимных предарительных договоренностей не предусматривает?
источник

SB

S B in F# Flood: Смак с Андреем Макаревичем
Shub Niggurath
в каком месте ощущение? протоколы не обеспечивают консенсус в общем случае
я про само доказательство. конкретно про:
источник

SB

S B in F# Flood: Смак с Андреем Макаревичем
Since this is the shortest sequence, the last message in it is
important: if the n'th message gets
lost, the desired state cannot be
reached. The sender of the n'th message must receive acknowledgment.
This means that the sequence is at
least of length n + i.
источник

SB

S B in F# Flood: Смак с Андреем Макаревичем
если я сделаю "Assume that it is possible to reach the
desired state after a finite sequence
of messages", то никакая конфирмация мне уже не нужна по определению.
источник

SB

S B in F# Flood: Смак с Андреем Макаревичем
т.к. desire state уже и есть конечное состояние.
источник

SB

S B in F# Flood: Смак с Андреем Макаревичем
нечего конфирмировать. все обо всем договорились.
источник

SB

S B in F# Flood: Смак с Андреем Макаревичем
импликация неверная кмк
источник

SB

S B in F# Flood: Смак с Андреем Макаревичем
(хотя само утверждение верное, я конкретно про доказательство этого утверждения).
источник

КП

Крылатый Пегас in F# Flood: Смак с Андреем Макаревичем
Меж тем, Италия обошла Китай по фрагам.
источник

RM

Roman Melnikov in F# Flood: Смак с Андреем Макаревичем
отец Григорий
у меня 8 утра - это уже алкоголизм какой-то
Го
источник

SN

Shub Niggurath in F# Flood: Смак с Андреем Макаревичем
        match op.AccessKey with
       | Some connectionString ->
           match op.DatabaseId with
           | Some dbId ->
               match op.ContainerName with
               | Some cn ->
                   match op.Query with
                   | Some query ->
                       let client = new CosmosClient(op.Endpoint, connectionString, clientOps)
                       let db = client.GetDatabase dbId
                       let container = db.GetContainer cn
                       let qd = QueryDefinition query
                       op.Parameters
                       |> List.map (fun (key, value) -> qd.WithParameter(key, value))
                       |> ignore

                       container.GetItemQueryIterator<'T> qd |> AsyncSeq.ofAsyncEnum
                   | None -> failwith "No query provided"
               | None -> failwith "No container name provided"
           | None -> failwith "No dabase id provided"
       | None -> failwith "No access key provided"
источник

SB

S B in F# Flood: Смак с Андреем Макаревичем
Shub Niggurath
        match op.AccessKey with
       | Some connectionString ->
           match op.DatabaseId with
           | Some dbId ->
               match op.ContainerName with
               | Some cn ->
                   match op.Query with
                   | Some query ->
                       let client = new CosmosClient(op.Endpoint, connectionString, clientOps)
                       let db = client.GetDatabase dbId
                       let container = db.GetContainer cn
                       let qd = QueryDefinition query
                       op.Parameters
                       |> List.map (fun (key, value) -> qd.WithParameter(key, value))
                       |> ignore

                       container.GetItemQueryIterator<'T> qd |> AsyncSeq.ofAsyncEnum
                   | None -> failwith "No query provided"
               | None -> failwith "No container name provided"
           | None -> failwith "No dabase id provided"
       | None -> failwith "No access key provided"
пРиКоЛьНеНьКо
источник

SN

Shub Niggurath in F# Flood: Смак с Андреем Макаревичем
аппликатив нужен
источник

А

Артёмка ;) in F# Flood: Смак с Андреем Макаревичем
блин
источник