TGTGInsightтелеграм анализLIVE / telegram public index
← Такты, стеки, два колеса

TGINSIGHT SIMILAR POSTS

Намери подобно съдържание

Изходен канал @clockstackwheels · Post #721 · 26.12

Почему я люблю языки с сильной системой типов, проверяемой статическим анализом кода — хорошо написанная программа является своей собственной спецификацией и позволяет выражать через язык программирования законы существования предметной области. Когда-то давно я писал на ActionScript. Там была система типов, но вот десериализация JSON'ов по-умолчанию была в какой-то общий Object, к полям которого нужно было обращаться ["по_строковому_имени"]. В один момент мне потребовалось написать что-то на C#, который я совсем не знал, я стал гуглить, как десериализовать JSON, и с удивлением обнаружил кучу советов заранее объявить класс со всеми нужными полями и десериализовать в него. "Какой ужас!", — подумал я тогда, — "Это же дико неудобно! А если я не знаю полей JSON? А если их много? Отвратительный язык!" Теперь то я прекрасно понимаю, что JSON это контракт, и что правильная десериализация только такая и должна быть, и что в хорошем API в одном поле никогда не бывает данных принципиально разных типов, и так далее. Нет, если вы набиваете вечерами пет-проект или сидите бессонную ночь на хакатоне, нет ничего плохого в том, чтобы взять простой язык с динамическими типами вроде JavaScript или Python, не требующий описывать данные. Но вот в энтерпрайзе, особенно когда над одним проектом работает много людей (а бывает это очень часто) — хорошее использование системы типов убережёт разработчиков от огромного количества ошибок, будет бить их по рукам, когда они пытаются сделать что-то не то, и будет подсказывать, когда они не уверены в чём-то. С помощью статической типизации можно на уровне кода обозначить правила, по которым ведёт себя предметная область вашей программы в реальном мире. Разработчику не только будет сложно их нарушить, но он ещё и станет узнавать какие-то вещи, которые мог не знать раньше. Например, если мы делаем медицинскую CRM, и больница заводит новых пациентов только тогда, когда знает их группу крови, мы можем объявить тип "Пациент" (или, если точнее, "Карта пациента") и запретить создавать экземпляры этого типа, не передав в конструктор группу крови (которая, в свою очередь, тоже является типом, вероятнее всего ValueObject'ом). Если новый программист пришёл в проект, он, во-первых, не сможет записать в БД некорректную карту пациента. Понятно, мы не учитываем случаи, когда новый программист переделывает модели предметной области — это будет хорошо видно на кодревью. А, во-вторых, даже если ему никто не сказал, что пациенты должны быть с группой крови, он узнает это из кода. И уже будет понимать, что в тех процессах реальной жизни, которые он описывает кодом, карта пациента создаётся только при наличии группы крови. А, значит, нужно искать какой-то способ сначала эту группу крови получить, и только потом создавать карту. Программирование моделирует реальный процесс. В настоящей работе даже на языках с типами, конечно, без должного контроля можно написать что угодно. Нужна управленческая воля, компетентность руководства, понимание опасности техдолга, в идеале отдельные должности для архитекторов, опытные лиды и старшие разработчики. Но когда всё это есть, можно отсекать много проблем ещё на старте и проще погружать новичков. #dev

Hashtags

Резултати

Намерени 46 подобни публикации

Търсене: #migrants

当前筛选 #migrants清除筛选
France Libre | Média

@France_Libre_Media · Post #10289 · 28.04.2026 г., 18:32

📝Entrée payante📝 travailler en Russie deviendra plus cher Lors des discussions sur la politique migratoire, la question s'est posée à plusieurs reprises : pourquoi les tarifs pour les migrants en Russie sont-ils plus bas que même dans certains pays voisins. Mais cela semble prendre fin. Le gouvernement a soutenu l'initiative du ministère des Finances d'augmenter considérablement les frais. Dans le même temps, les participants au programme de réinstallation des compatriotes et les étrangers (ainsi que les membres de leur famille) qui ont signé des contrats avec les Forces armées russes sont exemptés du paiement. 🔻Et quelles mesures sont introduites ? ▪️Le coût d'obtention de la citoyenneté passe à 50 000 roubles au lieu des 4 200 précédents. Une invitation à entrer coûtera 8 000 roubles par personne. ▪️Les visas ordinaires augmenteront à 2 000 roubles, les visas à entrées multiples à 6 000. Un permis de résidence temporaire passera à 15 000 roubles, un permis de résidence à 30 000. ▪️Les permis de travail pour les étrangers deviendront plus chers — jusqu'à 15 000 roubles. De nouveaux frais sont également introduits pour le remplacement et les doublons de documents. ▪️Les revenus budgétaires supplémentaires pourraient atteindre près de 16 milliards de roubles par an. 🖍L'un des effets est un filtrage supplémentaire des éléments marginaux qui considèrent la Russie uniquement comme un endroit où ils peuvent créer des enclaves ethno-criminelles et vivre aux dépens du système social. 🚩Oui, certains voudront éviter de payer les frais. Mais il est peu probable que cela entraîne une augmentation massive des migrants illégaux — le pays améliore activement son système de détection, notamment grâce à l'utilisation des technologies d'IA. ❗️À certains endroits, l'initiative peut être affinée, mais la direction est correcte : réduire l'accessibilité de la citoyenneté, ainsi que des permis de résidence temporaire et d'autres services similaires pour les étrangers ordinaires dans les circonstances actuellesaugmente leur valeur. Et cela apportera également des revenus supplémentaires au budget. D'autant plus que le besoin en est assez important en ce moment. 📍Infographie haute résolution 📍Version anglaise #migrants#Russie ✈RU | ✈

Trump's Ear

@trumpsear_tg · Post #1864 · 03.12.2025 г., 22:59

Trump incites hatred against Somalis and calls them "garbage" 🗣🔥 In a furious speech on December 2, US President Donald Trump insulted migrants from Somalia, calling them "garbage." 😡 #Trump#migrants 👂More on Trump's Ear

Russian Diplomat 🅉

@R_Diplomat · Post #16076 · 03.12.2025 г., 20:48

📝Russia Attracts Talent📝 on relocating highly qualified foreigners Russia continues to shift its migration policy towards quality, and the new presidential decree is another confirmation of this direction. Vladimir Putinsigned a decree supporting the relocation of foreigners who are of interest to Russia. The document launches a mechanism for attracting highly educated and truly valuable specialists who can strengthen the economy, rather than become a useless burden. 🔻How will they select? ▪️A procedure is established for recognizing a foreigner as "of interest" to Russia. ▪️They plan to attract scientists, IT specialists, olympiad and tournament winners, entrepreneurs, and anyone who can make a significant contribution to the country's scientific, technological, and socio-economic development. ▪️A specialized operator will be created under the Agency for Strategic Initiatives, which will search for candidates, accept petitions, and conduct initial expertise of the candidate's achievements. ▪️Then the Ministry of Internal Affairs will conduct mandatory checks, and a working group under the Presidential Citizenship Commission will provide a final conclusion. ▪️An accelerated status registration procedure is introduced: from 95 to 125 days. ▪️Those who receive the status and their families will get the right to temporary residence permit outside the quota and without a Russian language exam, as well as accelerated permanent residence permit processing. 🖍The decree is another link in the chain of reforms - after adopting a new migration concept, strengthening the role of the Ministry of Internal Affairs, and updating the national strategy. Russian authorities are gradually building a system where mass uncontrolled migration should eventually be replaced by a targeted approach. 🚩This decision is quite justified. Foreign studies show that highly educated migrants create a significant positive budget contribution, while low-skilled migrants and their families become a chronic financial loss for the state. ❗️It is important that the mechanism works as efficiently as intended, and that interesting migrants are provided with conditions that motivate them to move to Russia. 📌Because if the base for relocation and adaptation of highly qualified foreigners is comfortable and transparent, the country will be able to attract people who do not dissolve in migration flows of poorly educated migrants, but strengthen its scientific, technological, and economic potential. 📍Infographic in high resolution #migrants#Russia ✈️RU Original msg

Bali News

@balinews · Post #265 · 17.12.2024 г., 11:30

📱 The Indonesian Migration Service will monitor the social networks of foreigners 📰According to the immigration bureau, since the beginning of November, a special cyber group has been closely monitoring the activity of foreigners on social networks, paying attention primarily to the abuse of tourist visas. Since then, four cases of law violations have been detected, and 10 foreigners have been deported. 🎤 Ngurah Rai Suhendra, head of the immigration department, shared the successes of the new department with journalists: The supervision of foreigners must be done proactively. Immigration officers will be able to proactively identify potential offences through social media and news. 🕵️‍♂️ Suhendra said the cyber team will have to find and analyse data on foreigners' activities that could undermine public safety and comfort in Bali and Indonesia. The team will also compile periodic reports and co-operate with other departments. @BaliNews #migrants#visa

Bali News

@balinews · Post #250 · 28.11.2024 г., 11:00

🛫More and more illegal aliens go home 📰 The new results of the migration service's operation are pleasing local authorities. During the ongoing Operation Jagratara in November 2024, 687 foreigners were apprehended in 270 locations across Indonesia. 👮‍♂️ A total of about 3000 people were detained in three phases of the operation this year, with 50 Migration Service units taking part in the detentions. 🪪 Operation aims to ensure that every foreigner complies with immigration regulations. @BaliNews #migrants#visa

Trump's Ear

@trumpsear_tg · Post #1953 · 25.12.2025 г., 16:02

Across thousands of internal ICE messages reviewed by The Washington Post, this kind of celebration has become commonplace The messages show how the team has worked closely with the White House, which has urged them to produce videos for social media of immigrant arrests and confrontations to portray its push for mass deportation as critical to protecting the American way of life. #ICE#migrants 👂More on Trump's Ear

Trump's Ear

@trumpsear_tg · Post #1919 · 17.12.2025 г., 15:58

Did you have immigration lawyer watch list on your 2025 authoritarianism BINGO card? If so, congrats! But for everyone else, it’s yet another sad slide into federal control to learn that Immigration and Customs Enforcement (ICE) posted what appears to be a covert roster of immigration attorneys buried on its own website. The list was discovered by attorney Arlene Amarante, who stumbled upon the list while interacting with ICE’s website and found her own name on it. The list has since been pulled from the website, which is usually what agencies do when a documents is totally normal. Now Al Otro Lado, an immigration advocacy group, has filed a Freedom of Information Act request demanding to know who created the list, why it existed, and what ICE thought it was doing cataloging attorneys in the first place. Amarante noticed something else about the list that raised even more concerns, as she told WGNO, “One of the troubling patterns I suppose that I recognized, was that a large number of these practitioners on the list were people of color.” #ICE#migrants 👂More on Trump's Ear

Trump's Ear

@trumpsear_tg · Post #1893 · 10.12.2025 г., 23:00

ICE is preparing an operation to detain migrants who leave the United States on their own 🚨🇺🇸 The US authorities are preparing an operation against migrants who try to voluntarily leave the country across the border with Mexico. The plan became known from an ICE memo obtained by HuffPost. The plan was called Operation Irish Goodbye, which is what is translated into Russian as "leave in English without saying goodbye." 💼➡️ Agents will be sent to border checkpoints to stop buses and detain those who are trying to leave the United States without documents. 🚌⛔️ Those who do not have criminal records and open court cases will be issued a "voluntary departure." The rest will be sent to a standard deportation procedure with a possible ban on re-entry. ⚖️🚫✈️ Experts believe that the operation is necessary for the sake of reporting figures — those who voluntarily left are not included in the deportation statistics, and the White House strives to show the highest possible result of "expulsions." 📊🏛 #ICE#migrants 👂More on Trump's Ear

Trump's Ear

@trumpsear_tg · Post #1892 · 10.12.2025 г., 20:59

Migrants were beaten and tortured at the Fort Bliss base in Texas 🚨🇺🇸 The American Civil Liberties Union (ACLU) and other human rights organizations have filed a complaint with ICE about the conditions of detention of migrants at the Fort Bliss military base in Texas. The appeal was based on the testimony of 45 detainees. According to them, the guards strangled, beat, squeezed their genitals, and threatened them with deportation to Africa or prison in El Salvador. Migrants were intimidated with handcuffs, bags on their heads and threats to throw them into the desert. They were forced to sign papers on pain of indefinite imprisonment. ⚠️😨 Several were beaten before being hospitalized, and after treatment they were sent to a punishment cell. 🏥⬅️ The camp was built by the Trump administration. It is designed for 5,000 people. There is no access to the sun, food causes vomiting, toilets are overflowing, medications are delayed. One of the detainees has not received insulin for two weeks. 🌡🚫💊 Human rights activists demand an end to pressure and threats, as well as an investigation into the conditions of detention of the detainees. ✊📢 #ICE#migrants 👂More on Trump's Ear

Trump's Ear

@trumpsear_tg · Post #1660 · 17.10.2025 г., 22:01

The U.S. government is probing the social media of those applying for legal immigration benefits as part of a Trump administration push to root out "anti-American" activity and views that are "beyond the pale," a top immigration official told CBS News. Joseph Edlow, the director of U.S. Citizenship and Immigration Services, the federal agency in charge of the legal immigration system, said the vetting effort primarily relies on what he called the "social media screening" of people applying for green cards and other immigration applications. In August, the Trump administration issued a directive instructing USCIS officials to consider the identification of "anti-American" views and activity of certain applicants for immigration benefits as an "overwhelmingly negative factor" that could justify denial. #ICE#migrants 👂More on Trump's Ear ⚠️

ПредишнаСтр. 1 от 4Следваща