IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] こんなことも分からないの? ITにうとい上司は「テクハラ」被害者なのか |
https://www.itmedia.co.jp/business/articles/2104/19/news147.html
|
itmedia |
2021-04-19 22:06:00 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Python および Keithley 2401 sourcemeter を用いて CV 測定を行う(3) |
https://qiita.com/matoarea/items/287a9d8154f252fb52d4
|
以上より、今回のようにケーブルを接続することで、ソースメータをポテンショスタットのように用いることができる。 |
2021-04-19 22:12:45 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
TensorFlow.js学習メモ③ ロジスティック回帰(Logistic Regression)で車のエミッションの検査 |
https://qiita.com/suzuki0430/items/355fbd3aae7cfccafb77
|
式で表すと以下のようになります。 |
2021-04-19 22:14:01 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
PowoePointのフルスクリーンスライドショーの右クリックメニューにサブメニューを追加する。 |
https://teratail.com/questions/334115?rss=all
|
PowoePointのフルスクリーンスライドショーの右クリックメニューにサブメニューを追加する。 |
2021-04-19 22:52:55 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
rails 6.1.3.1 にバージョンアップする際にbundle installでエラーが出る |
https://teratail.com/questions/334114?rss=all
|
bundleinstall |
2021-04-19 22:50:58 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
All-in-One WP Migrationプラグインのセキュリティ面について、気をつけることがあれば教えていただきたいです。 |
https://teratail.com/questions/334113?rss=all
|
【質問内容】AllinOnenbspWPnbspMigrationプラグインのセキュリティ面についてローカル環境でしたり、自分の手持ちのドメイン間で、WordPressのデータ移行をしようと思っております。 |
2021-04-19 22:45:03 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
DirectXでキーを押した瞬間のみ処理が通るというやり方はどうやりますか? |
https://teratail.com/questions/334112?rss=all
|
directx |
2021-04-19 22:15:10 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Electron ヘッドレスアプリ化 |
https://teratail.com/questions/334111?rss=all
|
Electronヘッドレスアプリ化Electronアプリをヘッドレス化したいです。 |
2021-04-19 22:10:23 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
webアプリ作成に必要な言語について |
https://teratail.com/questions/334110?rss=all
|
webアプリ作成に必要な言語についてプログラミング初心者です。 |
2021-04-19 22:09:51 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
デフォルト画像を設定する方法 |
https://qiita.com/takumi73/items/b976ed56543a766054d7
|
CarrierWaveでデフォルト画像を定義appuploadersimageuploderrbこのように前もってデフォルト画像を設置するためのメソッドがコメントアウトして用意されているので、必要な部分を解除する。 |
2021-04-19 22:54:34 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
【Ruby】クラスとインスタンスについて(メモ) |
https://qiita.com/tech_kento/items/64e59020c24b408b2808
|
【Ruby】クラスとインスタンスについてメモクラスとインスタンスクラス・・・あるものを作る設計図のようなものインスタンス・・・クラスから生成されるものオブジェクト具体例①クラス⇨車インスタンス⇨ハンドル、ブレーキ、タイヤ、ライトなどまたはスポーツカー、救急車、トラックなど②クラス⇨家インスタンス⇨玄関、キッチン、洗面所、階段などインスタンス作成①Carクラスを作成②initializeメソッドと種類を表示するtypeメソッドをクラス内に作成③インスタンスsportscar、ambulance、track作成④インスタンスに情報メソッドを与える。 |
2021-04-19 22:41:26 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
active hashを使う場合のバリデーション |
https://qiita.com/TAKAE1117/items/a02ba105ae3a697e9799
|
そのようなバリデーションを設定するには、withoptionsnumericalityotherthandovalidatesgenreidendこのように、thanの指定を、保存したくないidを指定することで、テーブルに保存ができないようにバリデーションをしてくれる。 |
2021-04-19 22:09:33 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
デフォルト画像を設定する方法 |
https://qiita.com/takumi73/items/b976ed56543a766054d7
|
CarrierWaveでデフォルト画像を定義appuploadersimageuploderrbこのように前もってデフォルト画像を設置するためのメソッドがコメントアウトして用意されているので、必要な部分を解除する。 |
2021-04-19 22:54:34 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
【試験合格記】AWS 認定ソリューションアーキテクト – プロフェッショナル(SAP-C01) |
https://qiita.com/yastani/items/8293025e78ac7118f561
|
学習範囲と予測の難しさは脳死で学習支援サイトの問題を解いても身につかないのは間違いないでしょう。 |
2021-04-19 22:38:41 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
【AWS】【Azure】Azure側のVirtual Machinesに、Amazon CloudWatch Agentをインストールし、AWS側でメトリクスとログを監視してみました |
https://qiita.com/hyj624117615/items/065a254e55b953ed8976
|
いろんな案を考案した結果、最後はAzure側のVirtualMachinesに、AmazonCloudWatchAgentをインストールし、AWS側でメトリクスとログを監視することになりました。 |
2021-04-19 22:02:11 |
Azure |
Azureタグが付けられた新着投稿 - Qiita |
【AWS】【Azure】Azure側のVirtual Machinesに、Amazon CloudWatch Agentをインストールし、AWS側でメトリクスとログを監視してみました |
https://qiita.com/hyj624117615/items/065a254e55b953ed8976
|
いろんな案を考案した結果、最後はAzure側のVirtualMachinesに、AmazonCloudWatchAgentをインストールし、AWS側でメトリクスとログを監視することになりました。 |
2021-04-19 22:02:11 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
active hashを使う場合のバリデーション |
https://qiita.com/TAKAE1117/items/a02ba105ae3a697e9799
|
そのようなバリデーションを設定するには、withoptionsnumericalityotherthandovalidatesgenreidendこのように、thanの指定を、保存したくないidを指定することで、テーブルに保存ができないようにバリデーションをしてくれる。 |
2021-04-19 22:09:33 |
海外TECH |
DEV Community |
What is Nix and how to use it? |
https://dev.to/typeable/what-is-nix-and-how-to-use-it-1iff
|
What is Nix and how to use it Author Nick SigulyaHere at Typeable we wanted to publish a small series of posts about the way Nix helps us and slightly hinders in software development We would like to start with an introduction to Nix which we might refer to further on You can find the files for this post here Where to get it Apart from NixOS where you don t need to do anything Nix can be installed on any or almost any Linux distribution To this end you just have to run the following command sh lt curl L After that the installation script will do everything on its own The recent changes in MacOS have made the installation more difficult Before the changes the above mentioned command was sufficient You can read about the installation on the latest MacOS versions here The Nix languageWhen you speak about Nix you often imply two different entities Nix as a language and nixpkgs as the package repository also constituting the basis of NixOS Let s start with the first one Nix is a lazy functional language with dynamic typing The syntax looks much like the languages of the ML family SML OCaml Haskell which is why those who know them are not likely to face any issues You can start getting familiar with the language simply by running the interpreter nix replWelcome to Nix version Type for help nix repl gt There is no special syntax used to declare the functions in Nix The functions are defined by assigning similarly to other values nix repl gt Hello World Hello World nix repl gt add a b a bnix repl gt add All functions are curried in the same way as in the languages which have influenced Nix nix repl gt addOne add nix repl gt addOne In addition to the primitive types such as numbers and lines Nix supports the lists and dictionaries attribute sets in the Nix terminology nix repl gt list nix repl gt set a b list nix repl gt set a b nix repl gt set b The values within the local scope can be set using the expression let in For example here is a simple function implementing a factorial as it is usually done in other posts on functional programming fac nix let fac n if n then else n fac n in inherit fac Directive inherit introduces or inherits the term from the current scope and gives it the same name The example above is equivalent to the record let fac in fac fac nix repl fac nixWelcome to Nix version Type for help Loading fac nix Added variables nix repl gt fac When files or modules are uploaded to REPL Nix expects that the module computation will result in a set whose elements will be imported in the current scope To download the code from other files Nix uses the function import accepting the path to the code file and returning the result of this code mul nix let mul a b a b in inherit mul New fac nix let multMod import mul nix fac n if n then else multMod mul n fac n in inherit fac Though assigning the module to an individual variable is done rather often it looks somewhat awkward here doesn t it Nix includes the with directive adding all names from the set passed as the parameter to the current scope fac nix using with with import mul nix let fac n if n then else mul n fac n in inherit fac Building programsBuilding programs and individual components is the main function of the Nix language When working with packages the main tool you should know about is Derivation In itself Derivation is a special file containing the recipe for a machine readable build The derivation compiling a program in C that displays Hello World looks approximately as follows Derive out nix store nqfyvslgxnagqncskpxrq hello world nix store xqpmkfhfnycyvxppcknbdwr build hello drv out nix store wiviqxyzylhlqcgfglnkvvxfj hello c x linux nix store rlhzgswlmhxxfrfjgwyadi build hello builder nix store rlhzgswlmhxxfrfjgwyadi build hello name hello world out nix store nqfyvslgxnagqncskpxrq hello world src nix store wiviqxyzylhlqcgfglnkvvxfj hello c system x linux As you can see this expression includes the path to the resulting build and the paths to the source files build script and metadata the project name and platform It should also be noted that the paths to the source code start with nix store During the build Nix copies everything it needs to this directory After that the build is carried out in an isolated environment sandbox Thus the reproducibility of all package builds is achieved Surely it s insanity to write this manually For simple cases Nix offers the built in derivation function accepting the build description simple derivation default nix pkgs import lt nixpkgs gt derivation name hello world builder pkgs writeShellScript build hello pkgs coreutils bin mkdir p out bin pkgs gcc bin gcc src o out bin hello O src hello c system builtins currentSystem Let s analyze this example The entire file is the definition of the function accepting one parameter the dictionary containing the pkgs field If it was not passed during the function call the default value will be used import lt nixpkgs gt derivation is the function also accepting the dictionary with the build parameters The name is the package name the builder is the build script the src is the source code the system is the system or list of systems the package can be built for The writeShellScript is one of the nixpkgs functions accepting the script name and code and returning the executable file path For multiline text Nix offers an alternative syntax with two pairs of single quotes Using the nix build command you can run this build recipe and obtain a working binary file nix build f simple derivation default nix built result bin helloHello World When you run nix build the symbolic link result referring to the package created in the nix store will be generated in the current directory ls l resultlrwxrwxrwx user users Mar result gt nix store vpcddraygjrvdgxrmzawi simple find nix store vpcddraygjrvdgxrmzawi simple nix store vpcddraygjrvdgxrmzawi simple nix store vpcddraygjrvdgxrmzawi simple bin nix store vpcddraygjrvdgxrmzawi simple bin hello Building programs advanced versionderivation is the fairly low level function Nix uses as the basis for far more powerful primitives As an example we can consider the build of the well known cowsay utility lib stdenv fetchurl perl stdenv mkDerivation rec version dfsg pname cowsay src fetchurl url version orig tar gz sha ghqnkpnjcwyqxmlgqvvpcxnbyhqhzbbgmfdv buildInputs perl postBuild substituteInPlace cowsay replace BANGPERL perl bin perl replace PREFIX out installPhase mkdir p out bin man man share cows install m cowsay out bin cowsay ln s cowsay out bin cowthink install m cowsay out man man cowsay ln s cowsay out man man cowthink install m cows t out share cows meta with lib description A program which generates ASCII pictures of a cow with a message homepage license licenses gpl platforms platforms all maintainers maintainers rob The original script can be found here stdenv is a special derivation containing the build rules for the current system the required compiler flags and other parameters Its main content is the huge Bash script named setup working as the builder script in our simple example shown above nix build nixpkgs stdenv find result result result setupresult nix support wc l result setup result setupmkDerivation is the function creating the derivation with this script and simultaneously filling out other fields Those readers who used to write package build scripts in Arch Linux or Gentoo might see a pretty familiar structure here Just as in other distributions the build is broken down into phases dependencies enumeration is available buildInputs and so on ConclusionIn this part I ve tried to describe the most basic aspects of using Nix as the build description language In the next posts I m going to show you the ways we use Nix at Typeable and the ways you d better not use it Stay tuned Besides a far more detailed introduction to Nix is published on the website of the project itself under the name of Nix pills |
2021-04-19 13:48:15 |
海外TECH |
DEV Community |
Don't underestimate development time. |
https://dev.to/mamdouhmoemin/don-t-underestimate-development-time-1dgg
|
Don x t underestimate development time Hi there dev to I was supposed to launch my side project days ago I think you can see where i m going with this but long story short i m falling short of that promise A little background I m a designer who s working on a side project with a developer friend We started around early February and estimated that we would be able to launch by the end of March Everything was going great we wrapped up development and pushed to Netlify to test it out with a few users who have signed up to our waitlist Except We use Github login we completely forgot the permissions to be read only Lots of users pointed that out Edge cases for subscriptions were not handled properly Some edge cases for our downloadable templates required design modification so back to the drawing board we went Some of the templates were missing files woops Solutions comments showed the wrong timestamps There s a ton of bugs that showed up during early user testing which if you think about it isn t that bad We avoided what could have been a disaster if we launched The point is we thought if we wrap up development that s the project User testing was always going to be after we launch and receive feedback from actual users thankfully we did not go that route and it ended up to our advantage but it s back to development for us I m building this project in public on Twitter if you d like to follow me on the journey |
2021-04-19 13:36:54 |
海外TECH |
DEV Community |
Why QA is so important in your development process? |
https://dev.to/carmenqa/why-qa-is-so-important-in-your-development-process-4ecg
|
Why QA is so important in your development process This shouldn t be a question and probably everyone in the software world should know the answer but there s always a but not everyone does In this article I will mention why I consider that a QA team is important in any software company One test a day keeps the bugs away Yes as you read it I have used the phrase of the apple but because it is applicable to what I want to say A test in time prevents a disaster in the future perhaps not all software companies have a QA team because they start from the logic that why are we going to pay a person to verify that things work if we have developers that they can test what they do and the truth is that the developers are not able to judge the masterpiece that maybe took days to make they need an extra pair of eyes to help them see that their masterpiece is not yet ready to be exhibited and don t get me wrong our job is precisely to help developers to make their work perfect and also for the user to have a nice experience in mobile apps or web apps It is better to have a QA team and not need it than need it and not have itIt sounds like a slogan for an insurance company but it is a fact having a quality team guarantees that your products or features come out ready to use and you may not need them in some moments but it is always better to know that a group of people is there for taking a look at the app before you decide to put anything into production We test because we careI do not know of any quality course or workshop that does not mention how important it is to think like a user because our main objective will always be the user and that the company does not have great losses due to errors that could be prevented in time so yes we test because we care The test is the key for a better releaseJust as companies that make skincare products do many tests before saying that a product is ready to go on the market we also do many tests before saying yes to a release precisely because we worry about everything coming out we do a series of tests to check that everything is ready for the release works as expected and that there are no surprises later that can cost millions Well I think I have made my points clear and I hope nothing escapes me because if so that would speak very badly of me as a tester Remember QA´s are friends not enemies It s time to promote myself because if I don t do it who will you can follow me on my Instagram mela qa for some QA content And if you want to help a tester to survive a pre release night feel free to buy me a coffee |
2021-04-19 13:18:52 |
海外TECH |
DEV Community |
EC2インスタンス作成時にホスト名変更&AD参加する(UserData編) |
https://dev.to/ryanch79/ec2-ad-userdata-19k6
|
ちなみに、ドメイン参加のためにはドメインコントローラーを名前解決できる必要があるので、①RouteResolverのアウトバウンドエンドポイントを作成し、ルールでADドメインの名前は、ADのDNSサーバーにルーティングさせる②DHCPオプションセットを設定しておく③UserDataスクリプトに、DNS設定をADに向けるように設定する操作を追加するのどれかをする必要はある他にも方法あるかも。 |
2021-04-19 13:18:48 |
Apple |
AppleInsider - Frontpage News |
Apple could launch premium podcast subscription during 'Spring Loaded' event |
https://appleinsider.com/articles/21/04/19/apple-could-launch-premium-podcast-subscription-during-spring-loaded-event?utm_medium=rss
|
Apple could launch premium podcast subscription during x Spring Loaded x eventApple may use its Spring Loaded event on Tuesday to launch a premium podcast subscription one which could provide exclusive programming to paid users Apple will be holding a special event on Tuesday one expected to feature the launch of a number of hardware products including new iPad Pro models and an iMac refresh However there appears to be a chance Apple could use it to bolster its Services arm with a new feature In a tweet Vox Media s Peter Kafka claims he is pretty sure Apple is prepping its own podcast plan a paid service on Tuesday Bolstering the claim a tweet by Steve Moser of MacRumors said the supposed announcement lines up with his own findings from March relating top the iS beta which includes a new account button in the Listen Now tab Read more |
2021-04-19 13:34:02 |
Apple |
AppleInsider - Frontpage News |
How to watch Apple's April 20 'Spring Loaded' event |
https://appleinsider.com/articles/21/04/19/how-to-watch-apples-april-20-spring-loaded-event?utm_medium=rss
|
How to watch Apple x s April x Spring Loaded x eventApple s Spring Loaded event is set to debut on April and will be available to watch across most Apple devices from iPhone to Apple TV as well as from your favorite browsers On Tuesday April Apple will host its first event of dubbed Spring Loaded It will again be a pre produced video with no live audience to prevent the unnecessary spread of the coronavirus Like all Apple events Spring Loaded will be available to watch online and viewers will have a few different options to choose from when tuning in to the event Read more |
2021-04-19 13:32:56 |
Apple |
AppleInsider - Frontpage News |
UK government intervenes in Nvidia takeover of ARM, cites 'national security' |
https://appleinsider.com/articles/21/04/19/uk-government-intervenes-in-nvidia-takeover-of-arm-cites-national-security?utm_medium=rss
|
UK government intervenes in Nvidia takeover of ARM cites x national security x The UK s Competition and Markets Authority has been ordered to investigate Nvidia s proposed takeover of British company ARM the company whose technology is used by Apple Silicon ARM processors are at the heart of iPhones iPads and Apple SiliconNvidia s record breaking billion purchase of ARM has already been opposed by the likes of Qualcomm and has been examined by the UK s Competition and Markets Authority CMA Now the UK wants to step up its CMA activity with a phase one investigation over national security concerns Read more |
2021-04-19 13:23:39 |
海外TECH |
Engadget |
Facebook now lets you transfer posts to Google Docs and Wordpress |
https://www.engadget.com/facebook-transfer-tool-google-docs-blogger-wordpress-134326907.html
|
wordpress |
2021-04-19 13:43:26 |
Cisco |
Cisco Blog |
5G and Wi-Fi 6 for banks? That makes perfect sense! |
https://blogs.cisco.com/financialservices/5g-and-wi-fi-6-for-banks-that-makes-perfect-sense
|
G and Wi Fi for banks That makes perfect sense G is thirteen times faster than G and Wi Fi is three times as powerful as its predecessor ac Together they create a reliable high performance infrastructure to enable future network traffic Discover their role in financial services here |
2021-04-19 13:56:58 |
海外科学 |
NYT > Science |
NASA Mars Helicopter Achieves First Flight on Red Planet |
https://www.nytimes.com/2021/04/19/science/nasa-mars-helicopter.html
|
planet |
2021-04-19 13:09:29 |
海外科学 |
NYT > Science |
The Science of Climate Change Explained |
https://www.nytimes.com/2021/04/19/climate/climate-change-global-warming-faq.html
|
questions |
2021-04-19 13:34:59 |
金融 |
RSS FILE - 日本証券業協会 |
J-IRISS |
https://www.jsda.or.jp/anshin/j-iriss/index.html
|
iriss |
2021-04-19 14:35:00 |
海外ニュース |
Japan Times latest articles |
Beijing huddles with friends as it seeks to fracture U.S.-led ‘clique’ |
https://www.japantimes.co.jp/news/2021/04/19/asia-pacific/politics-diplomacy-asia-pacific/china-allies-bloc-us/
|
Beijing huddles with friends as it seeks to fracture U S led clique China is shoring up ties with autocratic partners like Russia and Iran while using sanctions and threats to try to fracture the alliances the United |
2021-04-19 23:05:18 |
海外ニュース |
Japan Times latest articles |
Three Japanese wrestlers claim gold at Asian championships |
https://www.japantimes.co.jp/sports/2021/04/19/more-sports/japanese-wrestlers-asian-championships/
|
Three Japanese wrestlers claim gold at Asian championshipsThe Asian Wrestling Championships wrapped up in Kazakhstan on Sunday with three Japanese athletes topping the podium during the six day tournament The competition at Almaty s Baluan |
2021-04-19 23:41:52 |
ニュース |
BBC News - Home |
Mourinho sacked by Tottenham after 17 months in charge |
https://www.bbc.co.uk/sport/football/56799400
|
hotspur |
2021-04-19 13:54:44 |
ニュース |
BBC News - Home |
US neo-Nazi group should be banned in UK, home secretary says |
https://www.bbc.co.uk/news/uk-56803647
|
offences |
2021-04-19 13:40:13 |
ニュース |
BBC News - Home |
HSBC boss Noel Quinn scraps executive floor at London HQ |
https://www.bbc.co.uk/news/business-56799720
|
reality |
2021-04-19 13:30:28 |
ニュース |
BBC News - Home |
'A spit in the face of football lovers' - Uefa condemns ESL plans |
https://www.bbc.co.uk/sport/football/56800351
|
disgraceful |
2021-04-19 13:56:51 |
ニュース |
BBC News - Home |
World Snooker Championship: Ding Junhui leads Stuart Bingham |
https://www.bbc.co.uk/sport/snooker/56800272
|
crucible |
2021-04-19 13:19:01 |
LifeHuck |
ライフハッカー[日本版] |
出先での写真編集やイラスト制作に! 薄さ4.7mmの4K&タッチパネル対応モバイルモニター |
https://www.lifehacker.jp/2021/04/233169-campfire-lune.html
|
macwindowsandroid |
2021-04-19 23:00:00 |
LifeHuck |
ライフハッカー[日本版] |
Windows 10のベストブラウザは? 「Edge」と「Chrome」を徹底比較 |
https://www.lifehacker.jp/2021/04/microsoft-edge-vs-google-chrome-best-browser-2021.html
|
chrome |
2021-04-19 22:05:00 |
北海道 |
北海道新聞 |
「モルエラニの霧の中」再延長 室蘭 客足途切れず28日まで上映 |
https://www.hokkaido-np.co.jp/article/535003/
|
室蘭市東町 |
2021-04-19 22:14:06 |
北海道 |
北海道新聞 |
NY円、108円前半 |
https://www.hokkaido-np.co.jp/article/535015/
|
外国為替市場 |
2021-04-19 22:09:00 |
仮想通貨 |
BITPRESS(ビットプレス) |
SBI証券、4/20に一般投資家向けセキュリティトークンオファリング(公募自己募集形態のSTO)を実施 |
https://bitpress.jp/count2/3_79_12441
|
一般投資家 |
2021-04-19 22:31:01 |
コメント
コメントを投稿