IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] えっ、水切り石を運ぶの? 土屋鞄の“とんがったカバン”が面白い |
https://www.itmedia.co.jp/business/articles/2201/01/news019.html
|
itmedia |
2022-01-01 08:28:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] Apple、「謹賀新年チャレンジ2022」を開催 Apple Watchのフィットネスに恒例のバッジ追加 |
https://www.itmedia.co.jp/news/articles/2201/01/news020.html
|
applewatch |
2022-01-01 08:10:00 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
【 jupytext】Jupyterファイルをより扱いやすくする(.ipynb⇔.py) |
https://qiita.com/ku_a_i/items/ccdeb7f1d9384fb4767b
|
さらに、このpyファイルとipynbファイルは自動で相互保存される為、例えば以下のようにpyファイルを別のエディタで編集したとしても、元のipynbにもその変更が反映されます。 |
2022-01-01 08:18:14 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
プロパティ記述子って何ですか? |
https://qiita.com/hikotaro_san/items/a6680fd4fecb3ebb1088
|
これらをプロパティ属性といいます。 |
2022-01-01 08:03:57 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
GASでpdfを作成しようとすると,Invalid argument: parent.mimeTypeが出て先に進めない |
https://teratail.com/questions/376232?rss=all
|
|
2022-01-01 08:12:39 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
[AWS] DocumentDB(MongoDB互換)へ踏み台サーバ経由で接続してみた |
https://qiita.com/hiro-tech1192/items/b85ce3ef9fde524be117
|
DocumentDB≒MongoDB内のデータをメンテナンスする際にはRoboTなどのGUIツールを使いたいところですが、DocumentDBをPrivateサブネットに配置すると少々ややこしい設定が必要になるため、今回はその具体的な設定方法について記載していきたいと思います。 |
2022-01-01 08:46:45 |
技術ブログ |
Developers.IO |
「1月1日におみくじアプリをリリースする」にチャレンジしてみた |
https://dev.classmethod.jp/articles/newyear-app-release-challenge/
|
年末年始 |
2021-12-31 23:20:01 |
海外TECH |
DEV Community |
Lessons Learned from AOC 2021 |
https://dev.to/sethcalebweeks/lessons-learned-from-aoc-2021-2b3b
|
Lessons Learned from AOC This year I tried doing Advent of Code for the first time My goal was to write code solutions in Haskell and JavaScript with more or less equivalent implementations I have been learning functional programming academically for five or six years so Advent of Code gave me an opportunity to practice what I have been learning Unfortunately things didn t go exactly as planned so here are some of the lessons I learned Don t rush learningJust start somewhereFunctional programming has different flavorsFunctional programming in JavaScript is mehUse the strengths of the language Don t rush learning The first two days of Advent of Code went according to plan I came up with relatively concise solutions in Haskell that translated to idiomatic JavaScript then wrote blog posts summarizing my approach Day three took me significantly longer to solve and I was spending too much time coding and writing at the neglect of my family I took a break for a couple weeks before finally solving day four Although I have spent a lot of time learning functional programming from an academic perspective putting it into practice with real problems required more deliberation I am certainly not going to give up but I recognize that forcing myself to solve a problem each day with a difficulty growth rate that was larger than my learning growth rate was unhealthy My plan is to continue practicing Haskell using Exercism which makes learning pretty much any language an exciting journey Just start somewhere Part of the reason that I hadn t started programming in Haskell earlier was that I was unsure about what it would take to get started I was amazed at how easy it was to install the necessary tooling The VSCode Extension that I installed enables inline code evaluation using a certain comment syntax that made it really easy to test small parts of my code Truthfully I avoided any IO or other side effect producing code in Haskell and just focused on the data processing and algorithmic sections of the problem Functional programming has different flavors My definition of functional programming has been shaped by my studies on category theory particularly through the writings and videos of Bartosz Milewski and others I enjoyed learning about monoids functors monads algebraic data types typeclasses currying and more Haskell has been the quintessential functional programming language in my view and if a language claimed to support functional programming there were certain features that it needed to have JavaScript in particular supports many of the features I considered to be essential to functional programming ES arrow functions make writing curried and higher order functions a breeze But for many programmers the lack of algebraic data types persistent data structures or pattern matching disqualify JavaScript as a real functional programming language I recently started learning Elixir and it has many amazing features I would want in a language All data structures are immutable there are no statements only expressions and there is both literal and structural pattern matching Unfortunately currying is very difficult to write idiomatically and the dearly loved pipe operator passes data as the first parameter to a function instead of the last both resulting from the dynamic type system combined with the support of pattern matching I think the essence of functional programming can be summarized as the following Discouraged use of mutabilityEncouraged use of higher order functionsSupport for composition of effects and dataMore on this topic in the near future Functional programming in JavaScript is meh I have been a huge proponent of functional programming in JavaScript As seen throughout this series the Haskell solutions can almost always be translated into decent looking JavaScript code But as some have pointed out the lack of certain features such as persistent data structures or tail call optimization makes it impossible to implement many real world applications Using something like ImmutableJS would probably help but replacing every single data structure with something from a library is objectionable If you are stuck writing JavaScript I would still encourage the functional programming approach but you ll have to watch out for certain strategies that just won t work because the language does not support them By the way TypeScript does not solve any of these issues and makes some of them worse Elitist functional programmers would disallow the use of chainable fluent code but I personally think that is the best approach to writing clean code in JavaScript I certainly wouldn t go out of my way to implement method chains for every object in my code but any library that adheres to the Fantasy Land spec including Ramda already provides some great chainable methods Use the strengths of the language As already mentioned in the previous section a certain flavor of functional programming can be quite elegant in JavaScript The simplicity of the object model makes it very convenient to organize and operate on data Dynamic typing and type coercion allows you to take certain shortcuts unless you are trying to sort a list of numbers Use the strengths of whatever language you are using to your advantage It is good to push the boundaries of the language to create new things For example styled components and GraphQL have normalized the use of tagged template literals for domain specific languages DSLs But in general you ll have a much better time working with the grain of the language than against it |
2021-12-31 23:10:32 |
金融 |
ニュース - 保険市場TIMES |
あいおいニッセイ同和損保とユビテック、「建設現場安全みまもりプラン」を提供開始 |
https://www.hokende.com/news/blog/entry/2022/01/01/090000
|
あいおいニッセイ同和損保とユビテック、「建設現場安全みまもりプラン」を提供開始建設現場の労働債災害リスクを軽減あいおいニッセイ同和損保とユビテックは年月より、建設作業員向けに「建設現場安全みまもりプラン」の提供を開始する。 |
2022-01-01 09:00:00 |
ニュース |
BBC News - Home |
Betty White: Biden leads tributes for Golden Girls actress |
https://www.bbc.co.uk/news/world-us-canada-59843627?at_medium=RSS&at_campaign=KARANGA
|
career |
2021-12-31 23:13:32 |
ニュース |
BBC News - Home |
Virginia Giuffre: Prince Andrew accuser seeks evidence he could not sweat |
https://www.bbc.co.uk/news/world-us-canada-59839351?at_medium=RSS&at_campaign=KARANGA
|
andrew |
2021-12-31 23:54:13 |
北海道 |
北海道新聞 |
ウクライナ侵攻なら「重い代償」 バイデン氏、ロシアに警告 |
https://www.hokkaido-np.co.jp/article/629350/
|
米大統領 |
2022-01-01 08:18:00 |
北海道 |
北海道新聞 |
NY株、21年は19%上昇 最高値圏、米景気回復 |
https://www.hokkaido-np.co.jp/article/629347/
|
景気回復 |
2022-01-01 08:10:00 |
ビジネス |
東洋経済オンライン |
花王が追求する「日用品だけに頼らない」生き方 長谷部社長「ライフケアカンパニーを目指す」 | 専門店・ブランド・消費財 | 東洋経済オンライン |
https://toyokeizai.net/articles/-/483227?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
感染拡大 |
2022-01-01 08:30:00 |
コメント
コメントを投稿