Git không chỉ là công cụ quản lý mã nguồn – nó còn có thể dùng làm backend cho các ứng dụng khác nhờ cấu trúc DAG (đồ thị hướng acyclic). Lưu trữ, theo dõi biến đổi và đồng bộ dữ liệu hiệu quả. Tận dụng Git như cơ sở dữ liệu dạng versioning cho note-taking, CMS, hay config management. #Git #Backend #VersionControl #LưuTrữ #CôngCụLậpTrình #Programming #DevTool #Database #DAG
https://www.reddit.com/r/programming/comments/1q11zpk/using_git_as_a_backend_for_other_tools/
On April 30, Singh said in an email to McGuire that the prosecution was a “top priority” for the #DAG’s Office, according to the order.
[just like in Trump’s BS election fraud lawsuits, I suppose we ought to be grateful that these stooges are such shit at committing their crimes. If they were actually capable, they might get away with it all]
#Trump #law #LegalEthics #immigration #KilmarAbregoGarcia #kakistocracy #DOJ #CoverUp
Chào bạn! Phần 2 về Git đã ra mắt, khám phá cấu trúc Directed Acyclic Graph (DAG) mạnh mẽ của Git. Mỗi commit là một snapshot chứa metadata và ID của commit cha, đảm bảo lịch sử tuyến tính và không có vòng lặp. Nhờ DAG, bạn có thể dễ dàng quay lại bất kỳ điểm nào trong dự án. Hiểu cách tạo và chuyển đổi giữa các nhánh với `git checkout -b` và `git branch`. Theo dõi phần tiếp theo để tìm hiểu về Git biết bạn đang làm việc ở đâu và cách hợp nhất các nhánh bằng PR nhé!
#Git #DAG #VersionControl #De
Vandaag de dag worden joden overal ter wereld vervolgd", verklaarde Saar zondag bij het aansteken van de kaarsen naar aanleiding van de laatste dag van het joodse feest Chanoeka. Sinds het begin van de oorlog in Gaza op 7 oktober 2023 klag #israëlische #dag #wereld #landen #joden
Чистим main.go: предсказуемый старт и надежный Graceful Shutdown
Сталкивались ли вы с болью при управлении порядком запуска и остановки зависимостей в вашем Go-сервисе? Разработка больших сервисов неизбежно приводит к необходимости управлять множеством зависимостей. В этом контексте мы говорим о долгоживущих компонентах , чья работа обеспечивается отдельными горутинами: как правило, это блокирующий метод (например, Start ), внутри которого крутится цикл обработки. Примерный сценарий жизненного цикла сервиса выглядит так: При запуске критически важно, чтобы пул соединений с БД, кэш и очереди были полностью готовы до того, как HTTP-сервер откроет порт и начнет принимать входящий трафик. С graceful shutdown ситуация обратная: порядок должен быть строго зеркальным. Сначала нужно перестать принимать новые запросы, дождаться завершения текущих, остановить воркеры, и только потом разрывать соединения с инфраструктурой. Иначе мы получаем неприятные ошибки подключения и даже потерянные транзакции в момент деплоя. Если эти проблемы вам не знакомы, смело закрывайте вкладку. Скорее всего, эта статья не принесет вам пользы. Но если вы ищете способ автоматизировать эту рутину, сохранив код чистым - добро пожаловать под кат.
https://habr.com/ru/articles/976800/
#go #golang #graceful_shutdown #dag #Dependency_Injection #Uber_Fx #Микросервисы #Open_Source #Архитектура #lifecycle
DAG-классификация: как мы научили поиск определять нужную категорию ступенчатым образом
Одна из важнейших задач поиска — релевантная выдача. Простых универсальных решений здесь нет, а улучшение поиска — долгосрочный процесс, где крупные задачи приходится разбивать на небольшие, последовательные шаги. В этой статье делимся тем, как нам в «Магнит Маркете» удалось значительно улучшить качество поиска с помощью нетривиального подхода: ступенчатой классификации категории поискового запроса.
https://habr.com/ru/companies/magnit/articles/975980/
#ml #dag #поиск #ранжирование #релевантный_поиск #релевантность_поисковой_выдачи #data_science #dagмодель #оптимизация_поиска
I am thinking about an interesting problem right now.
Suppose I have a DAG of objects. Every object contains three data points:
* A list of parents (via Content-address hashes)
* A pointer to some content (almost irrelevant for this thought process)
* A version number (irrelevant for this thought process)
I have a limited but unknown number of peers that are allowed to "post" to that DAG. Once a peer discovers that another node has posted to the DAG, they either fast-foward or merge (which is trivial here) and go on.
All peers gossip all the time, so fast-forwarding is expected to be the "normal case" when all peers are online - but in case of network split there is no issue.
Now, suppose I want to allow "rewriting" the DAG.
That means, one node decides that deep down in the DAG, they want to change a node. That would change all other nodes that come after it.
How would the other peers know that the node was rewritten?
Two ideas:
* All peers keep track of "this other peer points to this hash right now". Once a peer rewrites their DAG, other peers can see that rather easily. That would involve some tricky logic, but I guess would be possible 🤔 The other peers can then update their stuff to that new DAG (and if needed even "rebase" changes that they have done between the rewrite and now, if there was a network split during that time)
* The second option would involve adding timestamps to the DAG nodes, so other nodes can see that a portion of the DAG was rewritten
The second option would add more fields to the DAG nodes, which I would like to not do, because they should be as light as possible.
What do you think? :boost_ok:
#algorithms #softwaredevelopment #dag #distributedsystems #graphdata #datatypes
Wat een #Prachtige #Dag was het gisteren. We maakte een #Wandeling op de #HoogBuurloseHeide als #Herdenking aan onze dierbaarste vriend die 3 jaar geleden stierf. Hoe mooi was het om een #Hartje aan te treffen!
The inquiry, according to the additional sources, include the office of #DAG [& fmr Trump personal atty] #ToddBlanche at #DOJ headquarters looking into the work of people who may have been dispatched or held themselves out to witnesses improperly around the mortgage fraud investigation.
#law #LegalEthics #LegalProcedure #RevengePolitics #Trump #AdamSchiff #EdMartin #BillPulte
https://www.wacoca.com/pets/459992/ 寒い日でも日陰大好きグレートピレニーズ #Dag #dog #Inu #グレート・ピレニーズ #グレートピレニーズ #ドックガーデン #ドックガーデン専門店 #ドックカフェ #ドッグプール #ドッグラン #大型犬 #庭遊館 #犬と住まい #犬と住まいる協会 #犬の庭 #犬庭 #超大型犬
Earlier in the day, #DOJ lawyer Tyler Lemons, who is prosecuting the case, also told U.S. District Judge Michael Nachmanoff that “someone” in #DAG #ToddBlanche’s office ordered him not to disclose whether career prosecutors in the Department of Justice authored a memo recommending that Comey should not be indicted. Lemons said that he was told he couldn’t disclose “privileged” information without permission.
#law #LegalEthics #LegalProcedure #RevengePolitics #Trump #JamesComey
#DOJ lawyer Tyler Lemons declined to say whether prosecutors have submitted a memo recommending that #JamesComey should not be prosecuted. Lemons told the judge that someone in #DAG #ToddBlanche’s office told him he couldn’t disclose “privileged” information without their permission.
“At this point, my position would be, whether there was a declination memo, is privileged,” Lemons said, adding that “I don’t know in the world of documents there is a declination memo.”
Vivienda:
"Son personas en situaciones de vulnerabilidad que no pueden afrontar este capitalismo salvaje que se está devorando la vivienda como derecho".
@irezugasti en #DAG
Here’s Chris Hayes & lawyer / law professor / fmr US attorney / fmr asst #DAG Harry Litman discussing the pretty obvious #CoverUp by DAG #ToddBlanche of #Trump’s involvement with #Epstein during his “questioning” of #GhislaineMaxwell.
#law #Trump #EpsteinFiles #corruption #DOJ
https://www.youtube.com/watch?v=RhRXU-WbKAo
#Epstein dump exposed #DOJ's massive #CoverUp for #Trump
Law professor & co-editor-in-chief of Just Security Ryan Goodman said the latest documents from #JeffreyEpstein is explosive & seems to implicate Trump's deputy attorney general [#DAG] in a massive cover-up.
The emails released directly contradict statements Epstein's associate, #GhislaineMaxwell, made to DAG #ToddBlanche in a taped interview designed to exonerate Trump.
#law #EpsteinFiles #corruption #DOJ
https://www.rawstory.com/todd-blanche-2674290392/
Overnight we got 50mm of rain (and a heck of a lot of wind knocking off branches).
In between playing “guess the tree” with the windfall — one branch is over 80 metres from the tree it fell off — I went to check the moisture levels under the #dag #wool mats.
This is the kōwhai. The mat is wet. It’s not running off as much as when it was new. Ground is drier than I would have expected. After about 20mm it’s as dry as it was before the rain.
I gave the kōwhai some extra water.