IT |
ITmedia 総合記事一覧 |
[ITmedia News] 国交省、デジタル地図で“盛り土”の全国調査へ 熱海市の土砂災害を受け |
https://www.itmedia.co.jp/news/articles/2107/09/news151.html
|
itmedia |
2021-07-09 20:22:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] 大分県の住みここちランキング2021発表 3位「別府市」、2位「大分市」、1位は? |
https://www.itmedia.co.jp/business/articles/2107/09/news144.html
|
itmedia |
2021-07-09 20:11:00 |
IT |
MOONGIFT |
Taskbar Groups - アプリをグルーピングしてタスクバーからアクセス |
http://feedproxy.google.com/~r/moongift/~3/LASQ-wiwI6s/
|
TaskbarGroupsアプリをグルーピングしてタスクバーからアクセスよく使うソフトウェアはすぐにアクセスできる場所に置いておくのが便利です。 |
2021-07-09 21:00:00 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Firebaseのデプロイを自動化してみる |
https://qiita.com/GOU_KUN/items/06e794a56fda85d7282c
|
Firebaseのデプロイを自動化してみる初めに僕は、Firebaseを使って、ファイル共有サービスを運営しています。 |
2021-07-09 20:57:56 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
コラッツ予想を帰納法を用いて考えてみた |
https://qiita.com/nprimem/items/2bbc771e67d439043ce2
|
なぜこんな帰納法で考えるのかn以下すべてで成立と仮定しているためある自然数tが存在してngtftnを示せばよくなるからです。 |
2021-07-09 20:47:06 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
HTML 内の JavaScript で関数を定義する方法がいろいろあるけど使い分けがよくわからないので調べてみる |
https://qiita.com/noritakaIzumi/items/bd409f45d1eb2003f5a0
|
functionresulttimehellotruemshellotruemsまとめ実験functionconstiframeからアクセスox定義部分の上側でアクセスoxブロックスコープで制限xo即時実行関数でスコープを制限oo再起関数oo実行速度そんなにかわらないfunctionとconstでは使えるスコープに差が見られましたが、それ以外の違いはあまりわかりませんでした。 |
2021-07-09 20:59:51 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
#programming #powershell #csharp #Javascript #nodejs # C1(分岐網羅)のテストをするツール |
https://qiita.com/qiita21409102/items/6b62fb36976002f6e7b2
|
機能ソースの中の分岐を通過したことがわかるように、ソースにトレース出力するソースを自動的に追加するものです。 |
2021-07-09 20:43:10 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
JS 関数式のメリットとは? |
https://qiita.com/YUI_888/items/15120f0af9a3469fb208
|
JS関数式のメリットとはQ関数を定数に代入するとなにがいいのか①関数宣言関数を定義して、関数名で呼び出す方法function関数名引数処理関数名引数②関数式定数に関数を値として代入し、後からその変数を呼び出す方法const定数function引数処理定数名引数A関数名が不要無名関数というらしい但し、①は関数の呼び出しが定義より前に記述されていても実行される。 |
2021-07-09 20:24:34 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
$(this)についてまとめました |
https://qiita.com/YUI_888/items/80a74ab021655a52a7d0
|
|
2021-07-09 20:21:58 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
jQuery text()タグ |
https://qiita.com/YUI_888/items/8267bf01663338ff150a
|
ptext |
2021-07-09 20:12:10 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
GitHub push, commit時のエラーに関して |
https://teratail.com/questions/348618?rss=all
|
GitHubpushcommit時のエラーに関してGitHubに全ファイルをpushしたいのですがこのようなエラーが発生していて公開できません。 |
2021-07-09 20:58:53 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
NFSをESXiに追加したいがエラーが出る |
https://teratail.com/questions/348617?rss=all
|
NFSをESXiに追加したいがエラーが出る環境vsphereuavCenternbspservernbspapplianceNFSサーバーcentosエラーとしましては下記の物が出ています。 |
2021-07-09 20:55:28 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
wordpressの自作テーマのページネーションについて |
https://teratail.com/questions/348616?rss=all
|
|
2021-07-09 20:41:30 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
特定の文字列を含む行だけ抽出する際の詳細な指定 |
https://teratail.com/questions/348615?rss=all
|
|
2021-07-09 20:37:25 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Swiftで、viewという変数名だとエラーが発生するのはなぜでしょうか。 |
https://teratail.com/questions/348614?rss=all
|
Swiftで、viewという変数名だとエラーが発生するのはなぜでしょうか。 |
2021-07-09 20:34:50 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
[Unity] プレイヤーを中心に回転するカメラを実装したい。 |
https://teratail.com/questions/348613?rss=all
|
Unityプレイヤーを中心に回転するカメラを実装したい。 |
2021-07-09 20:23:17 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
javascriptで2つの配列を後の配列のorder優先でマージする方法を教えてください |
https://teratail.com/questions/348612?rss=all
|
javascriptでつの配列を後の配列のorder優先でマージする方法を教えてくださいjavascriptでつの配列を後の配列のorder優先でマージする方法を教えてくださいjavascriptでつの連想配列のマージを効率良く実行する方法を教えて下さい。 |
2021-07-09 20:14:12 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
C言語:配列の中身が意図せず変更される |
https://teratail.com/questions/348611?rss=all
|
C言語配列の中身が意図せず変更される前提・実現したいことC言語で一次元配列をつ用意し、そのつに対してscanfで任意の数だけ要素を入れていき、つの配列の共分散を求めるプログラムを作りました。 |
2021-07-09 20:10:03 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
Docker+graphene-django+Next+TypeScript+ECSでアプリを作った話(1) ~ 準備編 ~ |
https://qiita.com/rys0707/items/ebe031c694c30831dc47
|
DockergraphenedjangoNextTypeScriptECSでアプリを作った話準備編はじめに私自身の就活でDockergraphenedjangoNextjsTypeScriptECRを使い、ポートフォリオを作成しましたが、それぞれの技術に関して、独学で実装するのに苦戦したため、自身の記録用として、機能の一部ユーザー認証のみの制作過程を書きました。 |
2021-07-09 20:47:24 |
Git |
Gitタグが付けられた新着投稿 - Qiita |
Gitはデフォルトでcase-insensitiveだが、GitHub Actions [ubuntu-latest]はcase-sensitiveである罠 |
https://qiita.com/NMLibrary/items/6fc9e81096f055e2f3f7
|
これでActionsを動かした場合、リポジトリにはModuleAtsというファイルが存在していないので、Btsのビルドに失敗する。 |
2021-07-09 20:36:15 |
技術ブログ |
Developers.IO |
RedashでScheduler更新時に発生するエラー「There’s already an active RQ scheduler」について原因を調べて解消してみた |
https://dev.classmethod.jp/articles/fix-redash-scheduler-error-by-rq-scheduler/
|
actions |
2021-07-09 11:35:07 |
海外TECH |
Ars Technica |
Google’s Nest Hub is the best bedside smart display—and sleep tracking helps |
https://arstechnica.com/?p=1777641
|
utility |
2021-07-09 11:30:30 |
海外TECH |
DEV Community |
Keep track of your books 📚using this template |
https://dev.to/xenoxdev/keep-track-of-your-books-using-this-template-4m14
|
Keep track of your books using this templateHey folks We just launched another Product on Product Hunt It s a notion template that lets you keep track of all your awesome books in one place Notion Library TemplateIn this template you can write summaries prioritize text remember your favorites and make reading productive like never before Track your booksGot the reading bug This feature rich Notion template lets you keep track of all your awesome books in one place Write summaries prioritize text remember your favorites and make reading productive like never before Features Save and organize booksYou can save your books in a section and add descriptions and genres so that you have an easier time accessing them according to your mood Mark books as favoriteYou can mark your book as favorite So that you can track your reading pattern and understand what genre among books you really like the best Archive booksRemove from sight the books you have already finished reading but still keep them safe if you ever want to access them later Sort books by languageWhat better way to learn languages than by reading interesting books Easily arrange your books according to language and access your books faster Sort books by statusReading books at a time Always know where you left off with the in built status tracker View owned booksRented a book or bought one Keep rented ones on priority read them faster and save money A dictionary of unfamiliar wordsThis amazing feature is especially for those who re learning a new language Sharpen your vocabulary while reading through juicy chapters Rate booksSort out which authors seem to tickle your funny bone better than the rest Being a book critic was never easier Add summariesReading for a school project or a work related presentation Create summaries and refresh key points at a glance Brush up on a topic any time you want Cross platform syncsSync your books with other third party apps that you use to track your book reading progress This library really is all in one Want One Here is your link Notion LibraryWe are on Producthunt today Go show some love here |
2021-07-09 11:38:12 |
海外TECH |
DEV Community |
Let's build an Android Quiz Application with Appwrite |
https://dev.to/appwrite/let-s-build-an-android-quiz-application-with-appwrite-3kn1
|
Let x s build an Android Quiz Application with Appwrite What is Appwrite In case you re new to Appwrite Appwrite is an new open source end to end backend server for front end and mobile developers that allows you to build apps much faster Its goal is to abstract and simplify common development tasks behind REST APIs and tools helping you to build advanced apps faster Appwrite for AndroidAppwrite provides sleek REST APIs for various common features that are required for mobile application development such as a database storage cloud functions authentication etc so that we as a developer can focus on our application rather than on backend implementation This makes Appwrite very suitable for those of us who want to build Android applications And with the latest release Appwrite now has an official Android SDK to make it even easier to use Appwrite in our Android applications In this tutorial we ll build a simple android quiz application using Appwrite So let s get started PrerequisitesIn order to continue with this tutorial you need to have an Appwrite console that you can access and have permission to create a project or already have an existing project If you have not already installed Appwrite please do so Installing Appwrite is really simple following Appwrite s official installation docs Installation should be done in less than minutes Once installed login to your console and create a new Project Setup DatabaseIn the Appwrite console let s select the project that we will be using for our Android app If you don t have a project yet you can easily create one by clicking on the Create Project button Once inside select Database from the left sidebar Once on the database page click on the Add Collection button and inside the dialog set the collection name to Questions and then click the Create button This will then create a collection and you will be redirected to the new collection s page where we can define rules for our collection Define the following rules and click on the Update button Questionlabel QuestionKey questionRule Type TextRequired trueArray falseOptionslabel OptionsKey optionsRule Type TextRequired trueArray trueAnswerlabel AnswerKey answerRule Type TextRequired trueArray falseNow you can navigate to the Documents tab and using the Add Document button add as many questions with options and answers as you like for your quiz application Make sure to add a few questions so that we can easily fetch and build our quiz application in Android ️Setup Android Project and DependenciesUsing Android Studio create a new Android Application project choosing the Empty Activity template Once the project is created in your app s root level build gradle kts file add the mavenCentral repository in order to fetch the Appwrite Android SDK repositories mavenCentral Next add the dependency to your app s build gradle kts file implementation io appwrite sdk for android ️Add Android PlatformTo initialize your SDK and start interacting with Appwrite services you need to add a new Android platform to your project To add a new platform go to your Appwrite console select your project create one if you haven t already and click the Add Platform button on the project Dashboard From the options choose to add a new Android platform and add your app credentials Add your app name and package name Your package name is generally the applicationId in your app level build gradle file You may also find your package name in your AndroidManifest xml file By registering a new platform you are allowing your app to communicate with the Appwrite API ️Build Activity and LayoutAdd new activity by going to File gt New gt Activity gt Empty Activity and name it QuizActivity This will create QuizActivity kt and activity quiz xml files in their respective folders Now open your app src main res layout activity main xml and update the layout as following lt xml version encoding utf gt lt androidx constraintlayout widget ConstraintLayout xmlns android xmlns app xmlns tools android layout width match parent android layout height match parent android background color darkslategray tools context MainActivity gt lt TextView android layout width wrap content android layout height wrap content android layout marginBottom dp android fontFamily sans serif medium android text Demo Quiz With Android android textColor color darkgray android textSize sp app layout constraintBottom toTopOf id btnPlay app layout constraintEnd toEndOf parent app layout constraintStart toStartOf parent gt lt Button android id id btnPlay android layout width wrap content android layout height wrap content android text Play Now style style buttonStyle app layout constraintBottom toBottomOf parent app layout constraintLeft toLeftOf parent app layout constraintRight toRightOf parent app layout constraintTop toTopOf parent gt lt androidx constraintlayout widget ConstraintLayout gt Then open app src main java com example demoquizwithandroid MainActivity kt and update the onCreate function like so override fun onCreate savedInstanceState Bundle super onCreate savedInstanceState setContentView R layout activity main val button findViewById lt Button gt R id btnPlay button setOnClickListener val intent Intent this QuizActivity class java startActivity intent Now open app src main res layout activity quiz xml and update the layout to the following lt xml version encoding utf gt lt androidx constraintlayout widget ConstraintLayout xmlns android xmlns app xmlns tools android layout width match parent android layout height match parent android padding dp android background color darkslategray tools context QuizActivity gt lt TextView android id id questionNumber android layout width wrap content android layout height wrap content android layout marginTop dp android text Question android textSize sp android textStyle bold android textColor color darkgray app layout constraintStart toStartOf parent app layout constraintTop toTopOf parent gt lt ImageView android id id dashedLine android layout width match parent android layout height dp android layout marginTop dp android src drawable dashed line app layout constraintTop toBottomOf id questionNumber android layerType software gt lt TextView android id id question android layout width dp android layout height dp android layout marginTop dp android text Question android textColor color white android textSize sp android textStyle bold app layout constraintBottom toTopOf id options app layout constraintEnd toEndOf parent app layout constraintStart toStartOf parent app layout constraintTop toBottomOf id dashedLine gt lt RadioGroup android id id options android layout width dp android layout height wrap content android layout marginBottom dp app layout constraintBottom toTopOf id btnNext app layout constraintEnd toEndOf parent app layout constraintStart toStartOf parent gt lt RadioButton android id id option style style optionRadioButton android layout width match parent android layout height wrap content android text Option tools layout editor absoluteX dp tools layout editor absoluteY dp gt lt RadioButton android id id option style style optionRadioButton android layout width match parent android layout height wrap content android text Option gt lt RadioButton android id id option style style optionRadioButton android layout width match parent android layout height wrap content android text Option gt lt RadioButton android id id option style style optionRadioButton android layout width match parent android layout height wrap content android text Option gt lt RadioGroup gt lt Button android id id btnNext style style buttonStyle android layout width wrap content android layout height wrap content android layout marginBottom dp android text Next app layout constraintBottom toBottomOf parent app layout constraintEnd toEndOf parent app layout constraintStart toStartOf parent gt lt androidx constraintlayout widget ConstraintLayout gt Create View ModelCreate app src main java com example demoquizwithandroid QuizViewModel kt and update it with following code Make sure to replace YOUR APPWRITE ENDPOINT YOUR PROJECT ID and YOUR QUESTIONS COLLECTION ID with your values which can all be found in your Appwrite console import android content Contextimport android util Logimport androidx lifecycle LiveDataimport androidx lifecycle MutableLiveDataimport androidx lifecycle ViewModelimport androidx lifecycle viewModelScopeimport io appwrite Clientimport io appwrite exceptions AppwriteExceptionimport io appwrite services Databaseimport kotlinx coroutines launchimport org json JSONArrayimport org json JSONObjectclass QuizViewModel ViewModel private val collectionId YOUR QUESTIONS COLLECTION ID Replace with your own questions collection id that we created above private val db by lazy Database client private val questions MutableLiveData lt JSONArray gt apply value null lateinit var client Client val questions LiveData lt JSONArray gt questions val selectedQuestion MutableLiveData lt Int gt apply value val correct MutableLiveData lt Int gt apply value fun create context Context client Client context setEndpoint YOUR APPWRITE ENDPOINT Replace with your own endpoint setProject YOUR PROJECT ID Replace with your project id getQuestions private fun getQuestions viewModelScope launch try var response db listDocuments collectionId val json response body string var que JSONObject json questions postValue que documents as JSONArray catch e AppwriteException Log e Get questions e message toString For this to work you also need to add following dependencies to your app build gradle file These are the dependencies required for LiveData and ViewModel to work dependencies implementation androidx appcompat appcompat implementation androidx lifecycle lifecycle livedata ktx implementation androidx lifecycle lifecycle viewmodel ktx Finally update app src main java com example demoquizwithandroid QuizActivity kt with the following code and build your applicationclass QuizActivity AppCompatActivity private lateinit var viewModel QuizViewModel private var currentQuestion JSONObject null override fun onCreate savedInstanceState Bundle super onCreate savedInstanceState setContentView R layout activity quiz viewModel ViewModelProvider this get QuizViewModel class java viewModel create this viewModel questions observe this questions gt if questions null viewModel selectedQuestion observe this index gt findViewById lt TextView gt R id questionNumber text Question index questions length currentQuestion questions index as JSONObject val options currentQuestion options as JSONArray findViewById lt TextView gt R id question text currentQuestion question toString findViewById lt RadioButton gt R id option text options toString findViewById lt RadioButton gt R id option text options toString val option findViewById lt RadioButton gt R id option val option findViewById lt RadioButton gt R id option if options length gt option text options toString option text options toString option visibility View VISIBLE option visibility View VISIBLE else option visibility View GONE option visibility View GONE findViewById lt Button gt R id btnNext setOnClickListener gt onNextClicked private fun onNextClicked if currentQuestion null return val rbGroup RadioGroup findViewById lt RadioGroup gt R id options val rbSelected RadioButton findViewById rbGroup checkedRadioButtonId return val ans String rbSelected text toString if ans currentQuestion answer toString viewModel correct postValue viewModel correct value inc rbGroup clearCheck if viewModel selectedQuestion value gt viewModel questions value length show complete dialog Log d Quiz complete Quiz complete val alertDialog AlertDialog Builder this setTitle Quiz complete setMessage Score viewModel correct value viewModel questions value length setNeutralButton Done DialogInterface OnClickListener gt val intent Intent this MainActivity class java addFlags Intent FLAG ACTIVITY CLEAR TOP addFlags Intent FLAG ACTIVITY NEW TASK startActivity intent alertDialog show else viewModel selectedQuestion postValue viewModel selectedQuestion value inc We should now have our complete quiz application which should look as follows ConclusionI hope you enjoyed building this Quiz Application with Appwrite and Android Let s us know if you have any feedback and suggestions Can t wait for the community to build awesome apps with Appwrite and Android Learn MoreGetting Started With AndroidAndroid PlaygroundDemo Quiz ApplicationAppwrite Docs |
2021-07-09 11:20:45 |
海外TECH |
DEV Community |
The programming languages I like and why I like them |
https://dev.to/deepu105/the-programming-languages-i-like-and-why-i-like-them-385o
|
The programming languages I like and why I like themOriginally published at deepu tech Being a polyglot developer is fun You are not married to a single language ecosystem and you have a diverse tool belt to choose from based on the issue at hand But still you are going to have favorites based on your experience with different languages and their ecosystem In my career spanning years I have worked with many programming languages The first programming language I encountered was Basic when I was in school but I won t count that since I didn t pay any attention and I didn t understand it back then Later when I was in college I had a mandatory computer science class I was doing Electrical and Electronic Engineering and there I first came across C C and Java But again It was just basics and I wasn t very interested and I just studied enough to clear the paper Later I was running a blog about motorcycles and I started dabbling with WordPress Flash ActionScript and JavaScript I first programming language I actually learned with an interest was Scheme It was a training language used in my first job as an IT Intern Trainee and that got me hooked and in few months I started learning Java and JavaScript I became quite good at Java and JS and really was enjoying working with those and If you have asked me back then I would have said that Java and JS were the greatest languages out there So for a pretty good part of my career I was coding in Java and JavaScript and later TypeScript I did work with a bit of Groovy Python and Scala but I didn t like those languages much and I had no interest in learning any new languages at that point A few years ago when Golang was all the rage I moved to a project that was built in Go and hence started looking into Go It was extremely easy to learn and I really liked working with it for a while Rust was quite new at that point and I wanted to try it out but got around to it only a year later and I was in love with it In the past two years I also worked with Kotlin PHP Ruby and C as well occasionally But I wasn t very impressed with Ruby and PHP So without further adieu these are my favorite programming languages in order RustRust is currently my most favorite language It s so much fun to work with and I love the challenge of rethinking how you write code You know as they say it sparks joy when you work with it Rust is truly a modern and powerful programming language Deepu K Sasidharan ദീപു தீபு दीपू deepu java I ll provide you memory safety but you must pay performance penalty for abstractions and the runtime C I ll provide you zero cost abstractions but you must pay with memory safety Rust hold my PM Jul Rust would be my go to for systems programming embedded CLIs OS tools WebAssembly and so on I guess the only place I won t use Rust would be serious monolithic web application development as the ecosystem is not mature for that yet I wrote in detail about what I like and dislike about Rust in this post but I ll summarize it here for the casual skimmers LikesSafe by default Rust is memory safe thread safe type safe and null safeZero cost abstractions Write in any programming style without worrying about the added performance penaltyAwesome concurrency Great support for multi threading parallelism and asynchronous programmingGreat tooling out of the box Cargo Clippy Rustfmt and so on It s the best tooling ecosystem I have come across Testing building bootstrapping benchmarking linting and more included out of the box Immutable by default You need to declare mutable operations explicitlyBuilt in functional programming abstractions Monad like iterators optional chaining and so onMacros Powerful metaprogramming that can be used to define custom language features code reusability and so onExcellent community Fast growing active and really supportive communitySuperfast as fast as or sometimes even faster than C C No heavy runtime No garbage collection and so on There is a very small runtime for panics and stuff but IMO it s negligibleExcellent language features Pattern matching generics iterators traits expressions and so onHands down the best compiler out there You have to try it to appreciate it Fast growing and being widely adopted Rust is going places There are a lot of big names Google Microsoft AWS Apple and so on adopting it and hence cementing its place It s also finding footing outside of systems programming like embedded web assembly web development game development and so on Once the ecosystems for different use cases mature I see great potential for Rust to be a great general purpose language without any major compromise Native images It s so easy to build native images with Rust no special setup required Cargo supports building for your favorite platform out of the box DislikesComplexity Being an amalgamation of many languages Rust does feel more complex than many other languages I especially would have preferred to not have multiple ways to do the same thing Learning curve Rust is not the easiest language to learn especially if you are a beginner or if you are used to working only in one language like Java C or Python But if you are polyglot and already familiar with a few languages like C C Java TS and Go you will feel quite at home with Rust There are some advanced concepts like borrowing and lifetimes that take some getting used to and practice to grasp Ecosystem is not mature enough for many use cases I would love to use Rust for web application development but the ecosystem for that is still very young and you are gonna have a hard time compared to something like Java or C JavaJava isn t cool like Rust or feature rich like JavaScript but it makes up for all that by having one of the most stable battle tested and rich ecosystems So if I would start my own company with a web application as the product I would go with JVM on the backend with either Java or Kotlin and of course I will build it using JHipster If you like Java it s hard not to like Kotlin It feels like a modern version of Java and building Android apps using Kotlin was a nice experience Unlike Scala Kotlin doesn t go overboard with all the complexity and implicit stuff I might choose Kotlin over Java if building a new web app and if the team has experience with Kotlin Also Java is close to my heart as it s the programming language that jump started my career Here is what I like and dislike about Java LikesEcosystem The biggest strength of Java is its ecosystem There are great frameworks and libraries for everything you can think of and most of these solutions are extremely stable with a lot of community and support In reality the ecosystem is whats keeping Java popular and growing Experienced community Java has a very mature and experienced community so even if you are a beginner there is a lot of resources to help youGreat tooling There are a lot of great tools out there for Java IDEs like IntelliJ Eclipse NetBeans offer some of the best developer experiences and build tools like Gradle and Maven are so powerful and feature rich There are also profilers linters and so on Built in functional programming abstractions Monad like iterators streams optional functional interfaces and so onFairly easy to learn Java is not very complex and hence is fairly easy to learn and get started even with its boilerplate DislikesBoilerplate Java needs too much boilerplate There is no nice way to say this Compared to other languages in its league Java feels too verbose Lambdas have made it more digestible but there are other JVM languages like Kotlin or Scala that have got this part right I really wish Java gets there one day where you don t have to write lines of code to read a file Not so modern Language features in Java are let s just say it doesn t spark joy it s improving but if you are used to few other languages then there is a lot to wish for and compared to its peers Java feels old even though its just as old as JS Ruby or PythonBaggage Java has great backward compatibility but that also means baggage there is a lot of such baggage in Java and it s holding the language back in my humble opinion Virtual machine JVM was a great idea when Java was introduced as portability was not easy back then but in today s IT landscape containers and native images have made portability easy and that makes a Java Virtual Machine redundant JVM still provides a lot of valuable features but it also takes up resources and space whereas languages like Go or Rust can just build tiny native binaries that can be deployed using docker to get better performance with less resource usage than a Java app running on JVM TypeScript JavaScriptMost Java developers hate JavaScript but I have a love hate relationship with it JavaScript is one of the quirkiest languages around and like it or not it s the de facto for the web and it gets the job done I like TypeScript a lot more than JavaScript and find it way nicer to work with than JS So TS and by extension JS would tie with Java for the second spot for me TS JS is still my go to for quick scripting and building client side apps and mobile apps ReactNative PWA I wrote in detail about what I like and dislike about JS in this post here is the summary LikesFlexible The dynamic nature of JS TS makes it extremely flexible and powerful It s also very forgiving language If you know what you are doing there is literally nothing you cant get done Of course the flexibility comes with its own price Community JavaScript has the biggest community among programming languages It s active mature and thriving It s a huge strength as it helps beginners and experts alike in solving problems and improving the ecosystem on the whole Ecosystem JS has a huge ecosystem with a lot of libraries and frameworks You will find anything you could imagine as a library The ecosystem is so big that it has started to become an issue in terms of yet another framework syndrome Asynchronous programming JS has one of the best ecosystems for asynchronous programming It s so easy to write async code with Promises and async await and it has become the de facto way of programming in JS these days Great tooling JS has great tooling thanks to NodeJS and its ecosystem IDEs like VS Code Atom Webstorm and so on provide great JS support There are also so many wonderful tools like Webpack Rollup Jest and so on Functional programming JS is multi paradigm and has a lot of support for functional programming It s a great fit for functional programming Easy to learn JS is a simple language to learn and get started It s one of the most beginner friendly languages and communities out there Of course there is complex stuff in JS but you don t need to know that to get started NodeJS NodeJS was the best thing to happen for software development It not just revolutionized the JS world but also inspired other languages to take note and be more developer friendly and build easy to use tooling and ecosystem You can see this inspiration in Rust Golang and so on TypeScript TS is another best thing that happened to JS It provides an answer to a lot of JS issues that bother people and makes it possible to use JS in a more developer friendly way on a huge codebase DislikesFragmentation This is the biggest issue with JS There are standards and there is vendors and that s the perfect recipe for disaster Most of the time a JS developer spends used to be to make it work across different browsers and platforms The demise of IE has made this better but hey I heard Safari is the next IE so there is that Error prone This is the side effect of being too flexible JS code is extremely error prone and unmanageable in huge code bases TypeScript makes this much much better but still it s so easy to shoot in your own foot with JS Framework overload Too many frameworks for the same thing too many libraries for the same thing and libraries for doing extremely trivial stuff like left padding Competition is good but IMO what we have in the JS ecosystem is just too much It causes mental drain and unnecessary fragmentation in the community Over engineering in the ecosystem I have been doing JS for over years now and I m noticing a clear trend of over engineering in the ecosystem Look at the JS build tooling for example it has been over engineered to the extend that setting that up feels like a project in itself GoGo is the simplest language I have worked with and the easiest to learn I like Golang for quickly putting something together and Go code is quite easy to read But I would choose Rust over go for large codebase since Go becomes annoying due to its limited features after a while especially on large codebases IMO go is still ideal for building small system utilities and microservices I wrote in detail about what I like and dislike about Go in this post here is the summary LikesSimplicity Go is extremely simple You could technically learn it in a day or two It s easy to get started and be productive in Go It s also easy to read and debug as there is only one way of doing anything so you know what is going on without having to ask the person who wrote the code It s the easiest language for beginners as well Built in tooling and style guide Go provides built in tooling for all the basic stuff like dependency management testing build and so on It also has an opinionated formatter that saves a lot of time Goroutines Goroutines are awesome It s so easy to use and intuitive and the best concurrency experience you can find Native images It s so easy to build native images with Go no special setup required It supports building for your favorite platform out of the box DislikesSimplicity Go s simplicity is really nice when you are getting started but it starts to feel like an annoyance once you start writing more Go code If you come from another language you soon start to yearn for features like generics error handling default values and so on Keeping code DRY is a challenge in Go due to the lack of generics IMO Go would be a great language if it had generics Also I dread writing if err nil in Go Boilerplate Side effect of Go being too simple In large codebases you would be repeating stuff like finding an item from an array or map so many times that the boilerplate is just too much after a while Implicit interfaces May it s just me I don t like implicit interface implementations It just feels wrong and confusing to me ConclusionThese are my personal favorites among programming languages and doesn t mean the likes and dislikes would apply to anyone make your own conclusions but do use the language before making a judgment about it In today s IT landscape being a polyglot developer is becoming a requirement And personally I believe that being a polyglot makes you a better programmer and software engineer I previously wrote about how to be an effective polyglot developer do check it out if you are interested If you like this article please leave a like or a comment You can follow me on Twitter and LinkedIn Photo by Peter Herrmann on Unsplash |
2021-07-09 11:19:06 |
Apple |
AppleInsider - Frontpage News |
Lockdown thriller 'Charon' shot entirely on iPhone 8 Plus |
https://appleinsider.com/articles/21/07/09/lockdown-thriller-charon-shot-entirely-on-iphone-8-plus?utm_medium=rss
|
Lockdown thriller x Charon x shot entirely on iPhone PlusWriter director Jennifer Zhang s new movie was made on an iPhone and is now heading to Cannes Writer director Jennifer Zhang in Charon Prolific writer director Jennifer Zhang s new film Charon is now being shown to distributors at this year s Cannes Film Festival Shot exclusively on Zhang s iPhone Plus set entirely in her own home and with no budget at all it is reportedly a compelling thriller Read more |
2021-07-09 11:04:19 |
海外TECH |
Engadget |
The Morning After: Square is building a bitcoin hardware wallet |
https://www.engadget.com/the-morning-after-square-is-building-a-bitcoin-hardware-wallet-111455982.html?src=rss
|
The Morning After Square is building a bitcoin hardware walletAs studios and streaming services continue to strike deals jump ship and generally settle with preferred partners it s getting harder to figure out which movies will be available where ーand when Amazon s latest deal with Universal is case in point Amazon has struck a multi year deal for exclusive Prime Video streaming rights for Universal s live action theatrical releases which will kick in next year According to a report from Deadline it will cover blockbusters such as Jurassic World Dominion Get Out director Jordan Peele s next horror film and Halloween Ends However the deal is for a chunk of the pay one window which is the month period after a movie s theatrical run Just days ago Universal struck an agreement with its NBCUniversal sibling Peacock for the first four and last four months of the window So that should mean that within four months of their theatrical release date Universal s live action movies will start streaming on Peacock Four months after that they ll move over to Prime Video for a month run before going back to Peacock for at least another four months Universal s plan seems to be shuffling the release schedule around different streaming platforms to ensure its movies get to more audiences across different services ーwhile keeping said platforms satisfied with what they get The trouble is you might struggle to find the film you want to watch ーor miss the chance to see it ーunless you re paying a lot of attention to movie release dates ーMat SmithQualcomm and ASUS made a phone for Snapdragon InsidersAn expensive phone for spec die hards QualcommASUS and Qualcomm have teamed up to make a smartphone that shows off some of the latter s mobile tech Although the phone is ostensibly for the million members of the Snapdragon Insiders program it ll be more broadly available by August Oddly it won t pack the very highest end Qualcomm mobile processor Snapdragon but a Snapdragon G chipset with what s described as quot the most comprehensive support for all key G sub and mmWave bands quot of any device along with WiFi and WiFi E There s also GB of RAM and GB of storage The screen too is specced out It s a inch AMOLED screen with a Hz refresh rate and up to nits of brightness The rear megapixel camera will also be capable of recording K video It ll be one of the first phones to support Snapdragon Sound which features low Bluetooth latency listening profiles active noise cancellation ANC and high resolution audio support up to bit kHz Along with stereo speakers the phone comes with Master amp Dynamic true wireless ANC earbuds which is a nice touch The ASUS designed Smartphone for Snapdragon Insiders will initially be available in a few countries including the US UK Japan and South Korea It will cost a heady when it arrives later this summer Continue reading Harley Davidson s latest LiveWire electric motorcycle is a more affordable rideThe first electric motorcycle from the company s LiveWire brand is here Harley DavidsonThe most eye catching feature of Harley Davidson s new LiveWire One is its price tag The electric motorcycle will cost That s almost less than the the original LiveWire sold for when it came out in With federal subsidies Harley Davidson expects most US buyers will be able to get the LiveWire One for less than Harley Davidson has also improved the motorcycle s range Driving on slower city streets the LiveWire One can travel miles on a single charge the company claims By comparison its predecessor was limited to a maximum of about city miles Using a DC fast charger the company says you can get the LiveWire One s battery from dead to a full charge in about an hour The second electric motorcycle from Harley Davidson will initially be limited to customers who live in California New York and Texas since only dealerships in those states are authorized to sell the LiveWire One at the moment However the bike will be available at more dealers come this fall Continue reading Square will build a bitcoin hardware walletBut it s still early days for the project Square is building a bitcoin hardware wallet and service a month after company CEO Jack Dorsey announced it s considering the move Jesse Dorogusker Square s Hardware Lead revealed on Twitter that the company came upon the decision quot to make bitcoin custody more mainstream At this point the company at least knows it wants to make the product available globally and prioritize mobile use Continue reading The first Star Trek movie is getting a K remasterHeaded to Paramount Michael Ochs Archives via Getty ImagesParamount has greenlit a “full restoration of Robert Wise s Director s Edition of Star Trek The Motion Picture The project will apparently take between six and eight months to finish be formatted in K with Dolby Vision HDR and have a new Dolby Atmos soundtrack The film which was the first time Kirk Spock et al hit the big screen was a slower affair than you might expect from a sci fi series taking some inspiration from A Space Odyssey And no this isn t the one where Kirk shouts “Khan Continue reading The best high tech gear for babiesIf it can make parenting easier it s a good gadget in our book WithingsWhen it comes to dealing with a newborn baby you need all the help you can get While tech can t help with everything ーwhere s our diaper changing robot of the future ーyou can upgrade your nursery with some reliable simple to use and effective kit We pick out our favorite baby monitors smart breast pumps and more Continue reading But wait there s more Dodge will debut an all electric muscle car in Petcube is making a more affordable treat slinger for your petsEU fines BMW and VW billion for limiting emissions reduction techMarvel s What If series debuts August th on Disney Death Stranding Director s Cut will hit PS September thCanon s EOS R and EOS D X Mark III get C Log supportFDA clears Natural Cycles birth control app for use with wearables |
2021-07-09 11:14:55 |
海外TECH |
The Apache Software Foundation Blog |
The Apache News Round-up: week ending 9 July 2021 |
https://blogs.apache.org/foundation/entry/the-apache-news-round-up234
|
The Apache News Round up week ending July Happy Friday everyone The Apache community has had another great week Let s review what we ve been up to ASF Board nbsp management and oversight of the business affairs of the corporation in accordance with the Foundation s bylaws nbsp Next Board Meeting July Board calendar and minutes ApacheCon nbsp the ASF s official global conference series bringing Tomorrow s Technology Today since Two events are being held in nbsp ApacheCon Home September program and registration are live nbsp nbsp ApacheCon Asia August program registration keynotes and sponsors announced nbsp nbsp Sponsorship opportunities available for both events nbsp ASF Infrastructure nbsp our distributed team on three continents keeps the ASF s infrastructure running around the clock nbsp M weekly checks yield uptime at Performance checks across different service components spread over more than machines in data centers around the world nbsp Apache Code Snapshot nbsp Over the past week Apache Committers changed lines of code over commits Top contributors in order are Shawn McKinney Claus Ibsen Dan Haywood Gary Gregory and Andi Huber nbsp nbsp Apache Project Announcements nbsp the latest updates by category Apache Attic provides process and solutions when an Apache project has reached its end of life nbsp Apache Sqoop is now retired Big Data nbsp Apache ShardingSphere ElasticJob released https shardingsphere apache orgBuild Management nbsp Apache AntUnit released https ant apache org Cloud Computing nbsp Apache CloudStack LTS released https cloudstack apache org Content nbsp Apache Tika released https tika apache org nbsp Apache UIMA Java SDK released https uima apache org Libraries nbsp Apache Jena Fuseki CVE Display information UI XSS Messaging nbsp Apache Qpid Proton and Dispatch released http qpid apache org Servers nbsp Apache Tomcat and M alpha released https tomcat apache org Web Frameworks nbsp Apache Wicket released https wicket apache org Did You Know Did you know that nbsp Apache OpenOffice delivers up to Million downloads each month nbsp Did you know that Nielsen Marketing Cloud uses Apache Druid for audience and marketing performance analysis nbsp nbsp Did you know that Apache ShardingSphere has a new blog post that details their v beta release nbsp Apache Community Notices The Apache Month in Review June nbsp nbsp and video highlights nbsp The nbsp ApacheSoftware Foundation Celebrates Years of Open Source Leadership world s nbsp largest Open Source foundation advances community led innovation quot The nbsp Apache nbsp Way quot nbsp The nbsp Apache nbsp Software Foundation Operations Summary Q FY November January nbsp nbsp Video highlights nbsp Apache in By The Digits nbsp nbsp Video highlights nbsp ASF Security Report nbsp nbsp Video highlights nbsp ASF FY Annual Report nbsp quot Trillions and Trillions Served quot documentary on the ASF full feature nbsp nbsp quot Apache Everywhere quot nbsp nbsp quot Why Apache quot nbsp nbsp nbsp “Apache Innovation nbsp nbsp nbsp The Apache Way to Sustainable Open Source Success nbsp nbsp Foundation Reports and Statements nbsp nbsp All presentations from ApacheCon Home are available at nbsp nbsp nbsp quot Success at Apache quot focuses on the people and processes behind why the ASF quot just works quot nbsp nbsp Inside Infra the new interview series with members of the ASF infrastructure team meet nbsp nbsp nbsp Chris Thistlethwaite nbsp nbsp nbsp Drew Foulks nbsp nbsp nbsp Greg Stein Part I nbsp nbsp nbsp nbsp Part II nbsp nbsp and Part III nbsp nbsp nbsp Daniel Gruno Part I nbsp nbsp and Part II nbsp nbsp nbsp nbsp Gavin McDonald Part I nbsp nbsp and Part II nbsp nbsp nbsp nbsp Andrew Wetmore Part I nbsp nbsp and Part II nbsp nbsp nbsp Chris Lambertus Part I nbsp nbsp nbsp and Part II nbsp nbsp ASF Targeted Sponsor Manning Publications is offering special deals on the latest books on Apache Airflow Pulsar Spark and Thrift among other titles and eBooks nbsp nbsp Follow the ASF on social media TheASF on Twitter and on LinkedIn at nbsp nbsp Follow the Apache Community on Facebook nbsp nbsp and Twitter nbsp nbsp Are your software solutions Powered by Apache Download amp use our quot Powered By quot logos nbsp poweredby For real time updates sign up for Apache related news by sending mail to announce subscribe apache org and follow TheASF on Twitter For a broader spectrum from the Apache community nbsp nbsp provides an aggregate of Project activities as well as the personal blogs and tweets of select ASF Committers |
2021-07-09 11:10:37 |
ラズパイ |
Raspberry Pi |
New Raspberry Pi 400 layouts |
https://www.raspberrypi.org/blog/new-raspberry-pi-400-layouts/
|
New Raspberry Pi layoutsRaspberry Pi is now available with keyboard layouts for Portugal Norway Sweden and Denmark You can buy these four new variants from our lovely Raspberry Pi Approved Resellers Happy Friday How many layouts are available Raspberry Pi hasn t even celebrated its first birthday yet remember the launch in November but at only The post New Raspberry Pi layouts appeared first on Raspberry Pi |
2021-07-09 11:47:01 |
海外TECH |
CodeProject Latest Articles |
Read Sales Receipts And Extract Details Using Pre-Built ML Model - Azure Cognitive Services |
https://www.codeproject.com/Tips/5307449/Read-Sales-Receipts-And-Extract-Details-Using-Pre
|
Read Sales Receipts And Extract Details Using Pre Built ML Model Azure Cognitive ServicesThis article talks about the various ways of information extraction from sales receipt and provides the detailed demonstration of how to use pre built ML models |
2021-07-09 11:48:00 |
海外科学 |
NYT > Science |
Climate Change Influenced Western Heat Wave, Analysis Finds |
https://www.nytimes.com/2021/07/07/climate/climate-change-heat-wave.html
|
Climate Change Influenced Western Heat Wave Analysis FindsA rapid analysis of last week s record breaking heat found that it would have been virtually impossible without the influence of human caused climate change |
2021-07-09 11:24:20 |
ニュース |
BBC News - Home |
Sarah Everard murder: Met PC Wayne Couzens pleads guilty |
https://www.bbc.co.uk/news/uk-england-london-57774597
|
couzens |
2021-07-09 11:35:49 |
ニュース |
BBC News - Home |
Euro 2020: Sedgley stem cell donor given final tickets |
https://www.bbc.co.uk/news/uk-england-birmingham-57763362
|
wembley |
2021-07-09 11:22:58 |
ニュース |
BBC News - Home |
BBC extends Wimbledon broadcast deal to 2027 |
https://www.bbc.co.uk/sport/tennis/57779791
|
england |
2021-07-09 11:45:16 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
来週(7/12~16)の日経平均株価の予想レンジは、 2万7300~2万8800円!「ダブルボトム」の形成で 一時的な自律反発に期待も、次第に膠着感が高まるか - 来週の日経平均株価の予想レンジを発表! |
https://diamond.jp/articles/-/276503
|
|
2021-07-09 20:50:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
美容師と話すのが苦手でも大丈夫…「オタク向け」専門店の最新事情 - News&Analysis |
https://diamond.jp/articles/-/274744
|
美容師と話すのが苦手でも大丈夫…「オタク向け」専門店の最新事情NewsampampAnalysis近年、アニメやゲーム、アイドルに熱中する「オタク」をターゲットにした専門店が増えている。 |
2021-07-09 20:30:00 |
北海道 |
北海道新聞 |
NTT東など8強入り 社会人野球日本選手権 |
https://www.hokkaido-np.co.jp/article/565355/
|
京セラドーム大阪 |
2021-07-09 20:16:00 |
北海道 |
北海道新聞 |
開高健NF賞に平井美帆さん 「ソ連兵へ差し出された娘たち」 |
https://www.hokkaido-np.co.jp/article/565354/
|
平井美帆 |
2021-07-09 20:14:00 |
北海道 |
北海道新聞 |
介護職員32万人不足 25年度、推計243万人必要 |
https://www.hokkaido-np.co.jp/article/565301/
|
厚生労働省 |
2021-07-09 20:16:06 |
北海道 |
北海道新聞 |
東京に聖火、公道走らず コロナ再拡大で代替イベント |
https://www.hokkaido-np.co.jp/article/565320/
|
東京五輪 |
2021-07-09 20:14:25 |
北海道 |
北海道新聞 |
五輪無観客で医療見直し急ぐ 組織委、ボランティア配置も |
https://www.hokkaido-np.co.jp/article/565346/
|
東京五輪 |
2021-07-09 20:05:00 |
北海道 |
北海道新聞 |
4回目の船外活動「一番過酷」 日本帰国の野口さん会見 |
https://www.hokkaido-np.co.jp/article/565349/
|
宇宙航空研究開発機構 |
2021-07-09 20:10:00 |
北海道 |
北海道新聞 |
10日の予告先発 日ハムは上沢 |
https://www.hokkaido-np.co.jp/article/565278/
|
予告先発 |
2021-07-09 20:10:36 |
北海道 |
北海道新聞 |
無免許運転の都議、小池氏が苦言 「大変驚き」新会派結成も |
https://www.hokkaido-np.co.jp/article/565347/
|
定例記者会見 |
2021-07-09 20:05:00 |
ビジネス |
東洋経済オンライン |
中国でネット配車「滴滴」アプリ配信停止の衝撃 個人情報の収集・使用に法令違反と当局が指摘 | 「財新」中国Biz&Tech | 東洋経済オンライン |
https://toyokeizai.net/articles/-/439413?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
biztech |
2021-07-09 20:30:00 |
仮想通貨 |
BITPRESS(ビットプレス) |
[CoinDesk Japan] GMOコインが加速する暗号資産事業・拡大戦略【CEOインタビュー】 |
https://bitpress.jp/count2/3_11_12641
|
coindeskjapangmo |
2021-07-09 20:42:43 |
IT |
週刊アスキー |
凸凹ペットボトルの「炭酸水」苦労話がスゴイ |
https://weekly.ascii.jp/elem/000/004/062/4062237/
|
thestrong |
2021-07-09 20:30:00 |
コメント
コメントを投稿