TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #239 · 3 мај

Один из самых удобных способов записать данные это использование готовых форматов, такие как JSON или YAML. Из плюсов такого подхода стоит отметить вот что: 🔸 готовый, повсеместно используемый и поддерживаемый формат 🔸 простой и понятный файл, удобочитаемый для человека 🔸 можно легко редактировать в любом текстовом редакторе без специальных программ и библиотек Но есть и минусы 🔹 затраты времени при записи файла (кодирование данных в нужный формат строки) 🔹 затраты времени при чтении файла (декодирование данных в Python объекты) 🔹 размер файла увеличивается из-за разметки данных (скобки, запятые, переносы, отступы...) 🔹 перед записью все данные должны быть помещены в память в полном объёме (не всегда) 🔹 при чтении необходимо считать весь файл в память и только потом декодировать данные Если нужно писать немного данных в несколько файлов, то затраты по времени не ощутимы. Обычно это файлы конфига или какие-либо метаданные. Это отличный вариант под такие задачи. Есть и другой поход к записи файлов - это бинарные файлы. Используется, когда данных достаточно много и никто их не собирается читать глазками😳. 🔸 очень быстрая запись 🔸 чтение значительно быстрей чем JSON, YAML итд 🔸 размер файла значительно меньше, так как нет разметки 🔸 можно записывать данные по мере поступления не загружая всё в память 🔸 можно извлечь любую часть данных независимо Из минусов 🔹 нужно определить свой формат записи данных (если не используете готовую спецификацию определённого формата) 🔹 не получится открыть файл и визуально понять что там записано, а для чтения файла потребуется знать его спецификацию. 🔹 не так-то просто создать такой файл без специальной библиотеки В таком виде удобно записывать большой массив любых однородных данных. Например, мониторинг валютной биржи или кэшированная анимация 3D геометрии. (Это не означает что нельзя записать данные разного типа, просто это будет не так удобно) Представьте себе JPG-картинку. По сути это немного мета-информации и большой массив пикселей. Тоже самое со звуком или видео файлом. Поэтому, если вы попробуете открыть картинку в текстовом редакторе вы увидите что-то вроде такого f15d cd29 a564 4578 ... 09e2 9bc4 a696 1253 ... 84e9 4de1 3b23 c24a ... 2534 5161 28e0 709d ... ... Это и есть записанные байтики. И для их чтения требуется определённый софт который знает что с ними делать. Под каждый тип файла. К чему это я? Читайте в следующем посте... #tricks#basic

Резултати

Пронајдени 119 слични објави

Пребарај: #sec

当前筛选 #sec清除筛选
SIGNAL

@finsignal · Post #3956 · 11.09.2025 г., 15:21

⚡️ SEC is changing the rules of the game At the OECD roundtable, #SEC head Paul Atkins presented a new strategy - Project Crypto 🟡 Onchain capital raising without endless legal barriers 🟡 Allowing the format of "super apps" for trading (trading, staking, lending in one place) 🟡 Most tokens will not be considered securities 🟡 Abandoning "regulation by coercion" in favor of clear and predictable rules 🟡 Emphasizing international cooperation (references to MiCA in Europe)

Hashtags

SIGNAL

@finsignal · Post #3114 · 21.05.2024 г., 04:57

⚡️⚡️⚡️Unexpected from #SEC: Spot Ethereum ETFs are about to be approved Exchanges wishing to trade cellular Ethereum ETFs have received an urgent request from the SEC to update Forms 19 b4, Coindesk reports. This may indicate possible approval of applications by Thursday. However, according to Coindesk, S1 applications also need to be approved to start trading, and SC can consider them indefinitely. One company that spoke with the SEC noted an improvement in the approval process, although it previously believed that the regulator was delaying the deadline. 👌Bloomberg analysts have increased the probability of approval of the spot Ethereum ETF from 25% to 75%. A decision on VanEck is expected on May 23. Before approving the spot Bitcoin ETF, the regulator asked the exchanges to take similar actions.

Hashtags

Alex Kowalski | Trade

@kowalskitrade · Post #130 · 30.05.2024 г., 09:31

SEC Issues alert on Pump and Dump Memecoins 🥳 The #SEC warns investors about fraudulent "pump and dump" memecoins created by celebrities. 📈Sign up on Bybit to trade with me

Hashtags

SIGNAL

@finsignal · Post #2892 · 19.02.2024 г., 19:22

🇺🇸 American banks have applied to the #SEC for permission to store #Bitcoin The ability for banks to store $BTC will immediately allow them to start selling their banking products to all consumers — which in turn can lead to a significant increase in demand 🚀

Hashtags

SIGNAL

@finsignal · Post #3524 · 15.09.2024 г., 14:36

#SEC backs down — tokens have never been securities 😅 The SEC stated that it had never directly referred to tokens as securities. This follows from a footnote to the regulator's lawsuit against the #Binance exchange. By using the term "crypto asset securities", the Commission does NOT mean a token as such, but a complete set of contracts, expectations and agreements. The regulator "regrets" any confusion that may have arisen in connection with this and undertakes not to use it anymore.

Hashtags

SpotOnChain | Announcement

@spotonchain · Post #777 · 11.04.2024 г., 01:49

The $UNI price plummeted by ~16% (7H) after #SEC warned to sue @Uniswap. Watch out for a possible further price drop as Smart trader 0x335 just deposited 1.25M $UNI ($12.05M) to #Binance at ~$9.66 via 2 wallets in the past hour, realizing an estimated profit of $4.23M (+54.7%)! Notably, the whale also made $5.76M in total profit from $ETH, $COMP, and $AAVE before. Follow @spotonchain and set alerts for $UNI at https://platform.spotonchain.com/en/platform/token?name=UNI

Hashtags

SIGNAL

@finsignal · Post #3452 · 08.08.2024 г., 15:45

💰 .The trial with Ripple has been completed Ripple (XRP) was fined $125 million for institutional token sales. The #XRP token itself is not recognized as a security, which means that all claims from the #SEC have been settled. The four-year-long story has come to an end.

Hashtags

经济信息联播

@eco_cn · Post #30229 · 27.03.2026 г., 01:11

美国证券交易委员会(#SEC )近期就信用评级机构Egan-Jones能否"持续以诚信方式出具信用评级"展开问询,这一表态并非例行审查,而是监管机构公开质疑私募信贷市场核心机制的可靠性。#信贷危机

SIGNAL

@finsignal · Post #3330 · 29.06.2024 г., 13:17

The #SEC's powers are being reduced 😱 A post for those who like to figure it out 🔩 Yesterday, the US Supreme Court limited the SEC's right to hear cases by "full-time judges" (the procedure has been used for cases of securities fraud and financial penalties since the 2008 crisis). The restriction was introduced by 6 votes to 3, there are dissenters. ☝️ Now, in order to consider the case, the SEC must necessarily apply to the federal courts of first instance with the participation of a jury. ❓Why is this important for the crypt? Some cases "against cryptocurrencies" were considered by the SEC in a "simplified manner," including "incorrect indication of the fund's assets." Potentially, this restriction will also apply to the definition of assets in the #ETF for cryptocurrency. After all, the SEC believes that a cryptocurrency ETF is an ETF for securities, while the cryptocurrency itself is a commodity/property. Look at how everything turned around in this election race! The presidents, in pursuit of the votes of the cryptans, are now gradually beginning to put sticks in the wheels of the regulator - the SEC. Either this is a "circus with horses", or we are really close to masadopshn as never before…

Hashtags

SIGNAL

@finsignal · Post #3282 · 19.06.2024 г., 06:02

🔹#SEC closes investigation against #Ethereum The regulator will no longer bring charges, claiming that the sales of #ETH are securities transactions. This news gave rise to the crypt.

Crypto Australia🇭🇲🇭🇲

@CryptoAustralia · Post #15197 · 10.01.2024 г., 07:33

#BTC made a potential retest back to the Major Support zone as expected. Well, this was due to a Positive tweet from Official X account of #SEC on #ETF. This was a fake news as it dropped when came into highlight. Also, mostly event aligns with Technical most of the time. Now today we've to wait and watch for the news to kick in momentum into the market. By Crypto Australia

Hashtags

123•••910
ПретходнаСтраница 1 од 10Следна