投稿時間:2021-12-11 05:22:47 RSSフィード2021-12-11 05:00 分まとめ(27件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
海外TECH Ars Technica Stripped of power, Missouri health depts abandon COVID health measures https://arstechnica.com/?p=1819647 abandon 2021-12-10 19:03:52
海外TECH MakeUseOf OpenVR Advanced Settings: 5 Things You Can (and Should) Do With It https://www.makeuseof.com/openvr-advanced-settings-what-can-you-do-with-it/ openvr 2021-12-10 19:45:43
海外TECH MakeUseOf How to Allow Third-Party Cookies on Mac https://www.makeuseof.com/how-to-allow-third-party-cookies-mac/ allow 2021-12-10 19:30:22
海外TECH MakeUseOf How to Customize the System Tray Clock to Windows https://www.makeuseof.com/windows-customize-system-tray-clock/ desktop 2021-12-10 19:15:43
海外TECH DEV Community I plowed through coding slang Wikipedia articles so you don't have to - 25 terms you probably didn't know 🍝💻 https://dev.to/thormeier/i-plowed-through-coding-slang-wikipedia-articles-so-you-dont-have-to-25-terms-you-probably-didnt-know-3lkf I plowed through coding slang Wikipedia articles so you don x t have to terms you probably didn x t know This one s going to be a tiny bit weird Yes it s a listicle Yes the title is a bit clickbaity No it s not a tutorial Yes there will be some new tutorials coming up soonish I m working on something biiig Yes I learned tons of things Yes I will stop answering questions now Bear with me for this one as I will tell the tales of stub articles and obscure metaphors found in the unthinkable depths of the rabbit hole Wikipedia can be I recently watched a video on cargo cults and thought that I must ve heard that term some time ago but in a different context Cargo cult programming I didn t exactly know what it meant so I fired up A Popular Search Engineand Popular search enginedthe term and to be honest I got carried away Lots of What on earth s and Huh s later I would like to share this list of terms most at least I haven t heard of with around years of experience in the industry mind you Disclaimer Some of these terms are not exactly nice some might even be offensive This article is meant purely as a scientific piece to educate on the existence of them not endorsing them in any way So let s get into it Cargo cult programmingThe start of my Wikipedia journey Cargo cults are most of the time religious constructs Believers of cargo cults often once witnessed a more advanced civilization and saw that what they did on the ground like military parades building air fields made cargo often food medicine and the like appear from the skies or seas The believers interpret the happenings as rituals and mimic them in the hopes to also make those goods appear Cargo cult programming describes a similar behaviour It means copying and pasting random bits and pieces of code from other often similar programs not understanding what they do hoping they make the software work Copy and paste programmingThe name sounds related to cargo cult programming right Almost Instead of copying other people s code how about copying your own for a change Copy and paste programming means copying the same functionality over and over Sometimes it s necessary because the language lacks abstraction mechanisms sometimes the author simply doesn t know about them Shotgun debuggingThis is not about a jam in a musket Shotgun debugging is the art of changing random parts of a code base in the hopes of solving a bug Just like a shotgun shell shotgun debugging punctures various places at once without much visible structure The success of shotgun debugging is often limited but when it s combined with deep knowledge about the code base it might even be faster at times Shotgun surgeryAnother arguably more gruesome gun metaphor Most of us have seen it happen some of us even had to do it Shotgun surgery refers to changes in one code piece that need several small changes in other places Ever added a new mandatory parameter to a function that s used all over the place and then had to adjust every single function call That s a shotgun surgery Voodoo programmingThat one also uses a metaphor related to religious practices Voodoo programming is related to Cargo cult programming In fact Cargo cult programming and Voodoo programming are so similar that they might as well be synonyms But the difference lies in the problem Voodoo programming implies that the problem isn t understood Trial and error as well as copy paste from Stackoverflow and or other projects are also used in Voodoo programming though Deep magic programming VariantsLet s keep the mystic theme for a bit longer The term magic is known in coding culture Often magic means hidden complexity behind a simple interface For the beholder the complexity might as well be magic Deep Magic refers to some arcane knowledge though Just like a magician some companies never tell their secrets Deep Magic refers to not widely known techniques and practices that are sometimes even deliberately kept secret for whatever reason Yoda conditionsWidely used Yoda conditions are A popular framework that uses them Symfony is Accidental assignment they prevent They look like this if someNumber The name stems from one of Star Wars most known and beloved characters Grand Master of the Jedi Order Yoda For those who haven t seen Star Wars Yoda is a wise old green being that talks in a somewhat reversed syntax Since conditions usually follow the form of someNumber reversing the variable and the number resembles the way Yoda talks Big ball of mudThis is one of my favorites A big ball of mud is a piece of software without perceiveable architecture That doesn t mean there s no architecture at all though Big balls of mud are rather common especially in old products that have evolved over time or that have been rushed Increasing complexity and little time to refactor favor big balls of mud Spaghetti codeA true classic I m almost certain that most devs have heard that term It s the reason I chose the yummy cover image and added a spaghetti emoji to the title For those who don t know what Spaghetti code is You most certainly encountered it at least once in your career Spaghetti code looks like a pile of spaghetti According to Wikipedia Spaghetti code uses little to no programming style rules and is mostly created by inexperienced software engineers Possible variations of the term include ravioli code and lasagna code Ravioli code refers to well structured classes that are simple to understand in isolation but not as a whole whereas lasagna code describes an architecture of non separated layers that are so complex that a simple change in one layer would cause a change in all other layers resulting in shotgun surgery See We already learned something Magic pushbuttonThe magic pushbutton is related to UI design It describes a single button that triggers a lot of business logic under the hood coupling the user interface to the business logic at a single point Think of it like the body of a wasp Where two segments of the body meet that s where you find a magic pushbutton Almost like the pot of gold but not as exciting From a user s perspective all inputs need to happen before the push of the button all business logic must happen after the push This gives the user the feeling of the app being clumsy and the button itself being frustrating to use Think of a huge form with several dozens of fields You spend hours entering everything click on submit wait a few more hours until the backend responds only to get an error message I know right One way to mitigate that is to execute business logic as early as possible for example with frontend validation Yo yo problemAnother anti pattern There s a lot of anti patterns on this list The yo yo in the yo yo problem is figuratively describing a developer going up and down a dependency graph just to understand what is going on This happens with large inheritance graphs or deeply nested dependencies I m looking at you Node that are so complex that you constantly have to go back and forth in order to keep track of what s actually going on Especially in OOP the yo yo problem can be mitigated by building flat hierarchies which is encouraged by a lot of books on design patterns Boat anchor metaphor Another one of my favorites A boat anchor is a piece of technology whose only productive use is to throw it over board Most of the time this is completely obsolete and useless technology When used in software development a boat anchor means a piece of code that is left in the code base because people often don t know if it s every going to be used that s what we have Git for right or if it was even useful to begin with I reckon that most boat anchors are the results of either voodoo programming or cargo cult programming Action at a distance computer programming I think this one s related to Einstein s famous description of quantum entanglement Einstein didn t like the idea of particles being linked together causing a change on one particle to be immediately propagated to the other one no matter how far apart they are He called it spooky action at a distance In software engineering action at a distance means the effect of a piece of code behaving wildly different because of some change of parameters in some seemingly unrelated piece of code somewhere else In my opinion this has a lot to do with global state I m looking at you s PHP with your global foo everywhere and can be mitigated by clear architecture and well used design patterns Data clumpA data clump describes a bunch of inseparable friends that go everywhere together Only that those friends are variables and the everywhere isn t exactly the mall or the park but other parts of the code A good exmaple also taken from Wikipedia is coordinates If you always need to pass around separate variables X Y and Z but never ever use them standalone you ve got a data clump that should ideally be a value object called Coordinates Software rotEver worked on a legacy project Had to refactor a function that was written in what felt like the s Exhausting isn t it Well at some point someone deemed the piece of code you re working on now as state of the art They liked their work Software rot describes what happened in between some dev creating the piece of code and some other trying to work on it years later The software became hard to maintain is screaming for an update or is downright useless The software has rotten In order to mitigate software rot software needs care frequently Update those dependencies update the language level as soon as another LTS version is released update the software if its surroundings have changed Fat commaAlso known as a fat arrow Depending on the language you re using the fat comma can occur in various different places Usually it is used where normally a comma would appear but is still valid syntax Think of PHP here Arrays are usually initialized like this arr The fat comma would come in as soon as you use a key It transforms the otherwise valid array item into a key and uses whatever comes after the fat comma as the actual value arr foo gt bar Fat comma here Why this would be called a fat comma I don t know Perhaps this term is used in language design Comment programmingThis is related to the boat anchor but is made on purpose Comment programming or Comment Driven Development CDD is the practice of commenting out code in order for it to not be executed Wikipedia states that comments are used to describe things but are often used to simply turn off pieces of code The term itself is often meant derogatory I ve just witnessed CDD in a project Instead of removing some debugging setup the entire code block was commented out so it would save time should one wish to use said debug setup Even though it s technically an anti pattern it can be useful Conference room pilotA conference room pilot is not the boss steering the conversation in the conference room A conference room pilot is a specific role used in software acceptance testing The pilot usually validates the software product against the business processes of the end users They allow end users to test the product with typical business processes they have in order to see how useful the software actually is Fill characterA fill character is a character as in letter in some alphabet like unicode or ASCII that is solely used to consume time Yes to consume valuable precious time Old printers use these a lot Wikipedia has the example of an old mechanical printer that prints characters per second So the machine sending the document naturally sends characters per second But A carriage return takes a few seconds and the old printer has no way of keeping the received characters anywhere and has no way to tell the sender to stop so the sender just sends fill characters after a carriage return to pass the time until the printer is ready to receive actual characters again I reckon this practice was also probably used in the old days of networking to prevent race conditions who knows Worse is better Yes worse can indeed be better Sometimes The phrase compares functionality features with software quality and was originally coined by Richard P Gabriel In a nutshell adding more features can make the quality of the software go down See Big ball of mud More often than not worse for the user i e less features is better for the software quality Worse is better is also referred to as the New Jersey style is a complete software engineering model that propagates four different key aspects Simplicity of the design of the code and the interfaceCorrectness of everythingConsistency of the designCompleteness as in everything important should be covered Deutsch limitWhat some people experience when they speak German as their second language but don t understand everything Just kidding of course it s not that The Deutsch limit has its name from Peter L Deutsch It s only used for so called visual programming languages such as Blender s internals LabVIEW or parts of Unity The Deutsch limit says that especially in older languages there cannot be more than primitives visible at any given time This is often used as an example how text based programming languages are better because they offer more information density on the screen Greenpun s tenth rule s tenth ruleQuote Any sufficiently complicated C or Fortran program contains an ad hoc informally specified bug ridden slow implementation of half of Common Lisp That means that any complex program will at some point implement half of Common Lisp s functionality This is related to the so called inner platform effect where in order to cover as many business cases as possible in a given program that runs on a platform you essentially build your own platform within the existing platform By the way there s no nine other rules they just wanted to give it a memorable name Software Peter principleThe Software Peter principle describes a dying project that has gotten so complex that not even the developers of the code themselves understand it anymore According to Wikipedia it is well known in the industry and I m pretty sure certain frameworks operating systems or even email clients have become Software Peters The name comes from the Peter principle This principal states that a person called Peter will rise through the hierarchy of an organization by having success in their current position until they ve reached a position they are incompetent in Translated to software the dying project is Peter HeisenbugStemming from the name of Werner Heisenberg a famous physicist that worked on quantum physics the Heisenbug is one of the nastiest things you can encounter Werner Heisenberg asserted that by observing a system for example by measuring things in it you always influence and therefore alter the system A Heisenbug is exactly that By investigating the bug it starts to change its behaviour I reckon this is often caused by race conditions and the like The opposite of a Heisenbug is a Bohrbug Nils Bohr came up with the deterministic atom model we all know and love A Bohrbug describes a good and solid bug BogosortThis one I actually already knew And apparently I couldn t do a post without at least a tiny bit of a tutorial in it The Bogosort algorithm is arguably the most hilariously inefficient and downright simple sorting algorithm there is It shuffles the elements of a list until they re sorted That s it Here s a quick implementation in JS const isSorted arr gt arr reduce prevVal currVal currIndex arr gt if currIndex return prevVal return prevVal amp amp currVal gt arr currIndex true const bogoSort arr gt let numberOfIterations while isSorted arr numberOfIterations arr sort gt Math random console log Total iterations numberOfIterations arr return arr bogoSort Total iterations My tests yielded somewhere between and iterations but theoretically they could go on forever Each shuffle is an independant dice roll so the chances of the list being sorted don t go up over time Quite inpredictable Please don t copy and paste this in an attempt to figure out what Cargo cult programming is like Phew what a journey A fun one surely but also a weird one I m going back to coding now I hope you enjoyed reading this article as much as I enjoyed writing it If so leave a ️or a I write tech articles in my free time and like to drink coffee every once in a while If you want to support my efforts you can offer me a coffee or follow me on Twitter You can also support me directly via Paypal 2021-12-10 19:40:24
海外TECH DEV Community Share Your Notes Online: Publish Dendron with Netlify and GitHub https://dev.to/dendron/share-your-notes-online-publish-dendron-with-netlify-and-github-mkc Share Your Notes Online Publish Dendron with Netlify and GitHubDendron helps people and products organize with notes docs and knowledge of all the things Let s see how easy it is to publish and have a static site hosted on Netlify You ll learn how to publish your Dendron notes using Netlify and GitHub which looks like this demo website This tutorial assumes that you have basic knowledge of GitHub and Visual Studio Code VSCode Join GitHubLearn Git and GitHubJoin NetlifyDownload Visual Studio CodeThis uses a brand new Dendron Workspace you can later configure to work with your own vaults Do you already have a workspace you d prefer using Reference the Dendron docs for in depth details on how the template and other workspaces can publish to Netlify Publishing with Netlify Part GitHubWhen logged into GitHub click here to generate a new Dendron Workspace pre configured for Netlify publishing If you re wondering we re using this template on GitHub Nice That s all we need to do for this minimal Dendron setup To understand what is going on behind the scenes you can read the template README Note that this tutorial will work with both private and public repositories Part NetlifyThe rest of the steps are done in the Netlify portal Step Import your repositoryWhen logged into Netlify you start on your Team Overview page Click New site from GitUnder Connect to Git provider select GitHubYou ll be asked configure Dendron for permissions It s best practice to go with Only select repositories and selecting the repository you made from the templateOnce permissions are configured select the repository in Netlify There is no need to change any of default values since the GitHub template is providing them from netlify toml Scroll to the bottom and click Deploy site Your website should now be building For more information on Netlify app permissions to GitHub refer to Netlify Docs Authentication with the Netlify GitHub App Step Configure your website nameBy default Netlify generates a random combination of strings In the example so far the website is named elastic hugle bfd netlify app If you don t want to own your own domain name you can at least change the elastic hugle bfd section Site settingsUnder Site information click Change site nameEnter new name and if it is available click SaveFor more information on custom domains beyond the above refer to Netlify Docs Custom domains Step View deploy statusUnder the Deploys tab in Netlify you can view the status of your website This is where build information will be posted whenever new commits are posted to the main branch of your repository on GitHub This is a great way to check whether build have failed or are still in progress If you run into any errors and aren t sure what to do next jump into the Dendron Discord where we have a questions channel SummaryYou re done From now on all new commits you make to your repository on GitHub will trigger a new publihing update to your website In this tutorial you learned how to Create a pre configured minimal Dendron Workspace from a templateImport a repository into NetlifyCreate a custom name for your Netlify websiteView deploy status in Netlify Next stepsNow what Publishing is set but Dendron isn t just for what you want to share with the world It s an open source local first knowledge management solution that scales as you do Dendron Getting Started GuideDendron Publishing GuideDendron FAQDendron ConceptsNetlify Docs Home PageEnjoy the blog Subscribe to our newsletter Newsletters not your thing You can also follow us elsewhere on the interwebs Join Dendron on DiscordFollow Dendron on TwitterCheckout Dendron on GitHub 2021-12-10 19:29:06
Apple AppleInsider - Frontpage News Best apps for audio and video editing on the iPhone and iPad https://appleinsider.com/articles/21/12/10/best-apps-for-audio-and-video-editing-on-the-iphone-and-ipad?utm_medium=rss Best apps for audio and video editing on the iPhone and iPadYou re probably not going to edit a feature film on your iPhone ーbut you could if you wanted to These iPhone and iPad video and audio editors rival those on the Mac You can edit video anywhere that you can bring your iPad or iPhoneWhoever said that the iPad is for media consumption instead of productive work had best sit down and have a drink Without trying to knock the Mac s capabilities in this area the iPad ーand the iPhone ーare able strong and enjoyable to use for both audio and video editing Read more 2021-12-10 19:49:10
Apple AppleInsider - Frontpage News Severe flaw in Java library impacts iCloud, Amazon, Steam, and more https://appleinsider.com/articles/21/12/10/severe-flaw-in-java-library-impacts-icloud-amazon-steam-and-more?utm_medium=rss Severe flaw in Java library impacts iCloud Amazon Steam and moreA new actively exploited vulnerability has been discovered that can be used against a number of services including Apple s iCloud Valve s Steam Microsoft s Minecraft and more A zero day flaw has been discovered in a widely used Java libraryThe vulnerability CVE exists in the widely used Java library Apache Logj It s classified as a severe zero day flaw and if exploited could allow attackers to perform remote code execution and grant control over affected servers Read more 2021-12-10 19:04:33
海外TECH Engadget Senate bill would facilitate social platforms sharing data with outside researchers https://www.engadget.com/social-media-researcher-data-bill-195307564.html?src=rss Senate bill would facilitate social platforms sharing data with outside researchersA bill announced yesterday would open social media company data to scrutiny by outside researchers Sponsored by Senators Klobuchar D MN Coons D DE and Portman R OH it proposes to use the National Science Foundation as the intermediary between sensitive platform information and requests from interested parties nbsp Senate aides speaking under condition of anonymity to the Wall Street Journal claim the bill is a direct response to recent disclosures about negative externalities associated with Instagram Documents shared with the Journal in September indicated Meta then known as Facebook had conducted internal studies which found use of the Instagram app was damaging to mental health and body image for some users especially teen girls nbsp nbsp The bill also follows a Senate subcommittee on child safety hearing this Wednesday where lawmakers grilled Instagram CEO Adam Mosseri over these same issues Many came armed with their own experiences creating dummy accounts meant to mimic teenagers and the disturbing content the platform pushed these accounts towards including self harm and quot anorexia coaches quot While the proposed bill would apply broadly to large social media companies Meta has a particularly bad track record regarding disclosure for academic purposes It managed to taint a raft of ongoing studies by providing incomplete data sets in September A month earlier it actively deplatformed New York University researchers who were studying misinformation and political ads on Facebook Their findings indicated that misinformation flourishes there It s too early to know exactly what shape this bill will take should it move forward But as Senator Richard Blumenthal D CT told Mosseri earlier this week “the days of self policing are over 2021-12-10 19:53:07
海外TECH CodeProject Latest Articles Harlinn.Windows - A Visual Studio 2022 Solution https://www.codeproject.com/Articles/5319700/Harlinn-Windows-A-Visual-Studio-2022-Solution harlinn 2021-12-10 19:58:00
海外TECH WIRED A Log4J Vulnerability Has Set the Internet 'On Fire' https://www.wired.com/story/log4j-flaw-hacking-internet security 2021-12-10 19:54:11
ニュース BBC News - Home Three vaccine doses key for tackling Omicron https://www.bbc.co.uk/news/health-59615005?at_medium=RSS&at_campaign=KARANGA omicron 2021-12-10 19:22:11
ニュース BBC News - Home Michael Nesmith: The Monkees star dies at 78 https://www.bbc.co.uk/news/entertainment-arts-59606993?at_medium=RSS&at_campaign=KARANGA sitcom 2021-12-10 19:38:24
ニュース BBC News - Home Indonesia volcano: Volunteers struggle to recover the dead, metres deep in ash and mud https://www.bbc.co.uk/news/world-asia-59616114?at_medium=RSS&at_campaign=KARANGA semeru 2021-12-10 19:36:29
ニュース BBC News - Home US Supreme Court says Texas abortion clinics can sue over law https://www.bbc.co.uk/news/world-us-canada-59381081?at_medium=RSS&at_campaign=KARANGA abortion 2021-12-10 19:52:21
ビジネス ダイヤモンド・オンライン - 新着記事 オミクロン株感染拡大、第6波到来に備えて経営者が「今」すべきこと - 小宮一慶の週末経営塾 https://diamond.jp/articles/-/290282 小宮一慶 2021-12-11 04:50:00
ビジネス ダイヤモンド・オンライン - 新着記事 富裕層の相続「鉄板3大節税術」、贈与と生命保険を使った資産圧縮法は誰にでも応用可!【相続・見逃し配信】 - 見逃し配信 https://diamond.jp/articles/-/290380 生命保険 2021-12-11 04:45:00
ビジネス ダイヤモンド・オンライン - 新着記事 小学校の謎ルール「習っていない漢字は使用禁止」の正当性は?賛否を探る - 井の中の宴 武藤弘樹 https://diamond.jp/articles/-/290126 賛否 2021-12-11 04:40:00
ビジネス ダイヤモンド・オンライン - 新着記事 ロシア、米国、中国…大国が利権を狙う「北極争奪戦」の行方は? - 世界の紛争地図 すごい読み方 https://diamond.jp/articles/-/289416 世界各地 2021-12-11 04:35:00
ビジネス ダイヤモンド・オンライン - 新着記事 旅行気分が味わえる!東京でいま行くべき「注目のカフェ」5選 - 地球の歩き方ニュース&レポート https://diamond.jp/articles/-/289587 旅行気分が味わえる東京でいま行くべき「注目のカフェ」選地球の歩き方ニュースレポート世界中から名物グルメや旬のスイーツが集まる東京には、思わず写真を撮りたくなる映えカフェや元銭湯を利用したカフェ、異国情緒あふれるエスニックカフェなど、あらゆるジャンルの個性派カフェが盛りだくさん。 2021-12-11 04:30:00
ビジネス ダイヤモンド・オンライン - 新着記事 日産自動車が銀座のギャラリーを「VRChat」の仮想世界にも広げる狙い - 男のオフビジネス https://diamond.jp/articles/-/289583 vrchat 2021-12-11 04:25:00
ビジネス ダイヤモンド・オンライン - 新着記事 通販CMの舞台裏、初回無料やオペレーター増員はなぜ成立する? - from AERAdot. https://diamond.jp/articles/-/289592 fromaeradot 2021-12-11 04:20:00
ビジネス ダイヤモンド・オンライン - 新着記事 武田薬品の「抗サイトメガロウイルス薬」を米FDAが承認 - ヘルスデーニュース https://diamond.jp/articles/-/289600 livtencity 2021-12-11 04:15:00
ビジネス ダイヤモンド・オンライン - 新着記事 企業理念を誤解しないように社員へ伝える方法とは? - PURPOSE パーパス https://diamond.jp/articles/-/288191 purpose 2021-12-11 04:10:00
ビジネス ダイヤモンド・オンライン - 新着記事 お料理を残すのは、育ちが悪い? - もっと!「育ちがいい人」だけが知っていること https://diamond.jp/articles/-/290231 諏内えみ 2021-12-11 04:05:00
ビジネス ダイヤモンド・オンライン - 新着記事 岸田政権の「新しい資本主義」が“腹落ち”しない理由 - エディターズ・チョイス https://diamond.jp/articles/-/290093 岸田政権の「新しい資本主義」が“腹落ちしない理由エディターズ・チョイス岸田内閣が本格的に動き出した。 2021-12-11 04:02:00
ビジネス 東洋経済オンライン 東武浅草駅、まだ知られていない「駅ビル」の秘密 開業90年、リニューアル後も残る「煙突」の形跡 | 駅・再開発 | 東洋経済オンライン https://toyokeizai.net/articles/-/475685?utm_source=rss&utm_medium=http&utm_campaign=link_back 東武鉄道 2021-12-11 04:30:00

コメント

このブログの人気の投稿

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)