IT |
気になる、記になる… |
Microsoft、「Windows 11 Build 22000.346」をBeta/Release Previewチャネル向けにリリース |
https://taisy0.com/2021/11/13/148623.html
|
build |
2021-11-13 00:50:50 |
IT |
気になる、記になる… |
「iPhone13 Pro」のマクロ撮影機能、「iOS 15.2」では「カメラ」アプリからもオン/オフが可能になる模様 |
https://taisy0.com/2021/11/13/148620.html
|
iosbeta |
2021-11-13 00:27:34 |
TECH |
Engadget Japanese |
グッチから100万円のXbox Series X限定モデルXbox by GUCCI。専用キャリーケースつき |
https://japanese.engadget.com/xbox-by-gucci-005205869.html
|
gucci |
2021-11-13 00:52:05 |
AWS |
AWS |
AWS Cryptographic Computing | Amazon Web Services |
https://www.youtube.com/watch?v=ezpb2jieg9o
|
AWS Cryptographic Computing Amazon Web ServicesAWS Cryptography tools and services utilize a wide range of encryption and storage technologies that can help customers protect their data at rest and in transit In some instances customers also require protection of their data even while it is in use To address this need AWS is developing new techniques for cryptographic computing an emerging technology that allows computations to be performed on encrypted data so that sensitive data is never exposed It is the foundation used to help protect the privacy and intellectual property of data owners data users and other parties involved in machine learning activities Learn more about Cryptographic Computing on AWS Subscribe More AWS videos More AWS events videos ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster AWS AmazonWebServices CloudComputing AWSCryptographicComputing |
2021-11-13 00:13:55 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
phpでExcelから起動せず読み込み時のファイルパスについて |
https://teratail.com/questions/369084?rss=all
|
phpでExcelから起動せず読み込み時のファイルパスについてphpでPhpSpreadsheetを使い、Excelを起動せず内容を読み取り、最終的にMySQLに登録したい。 |
2021-11-13 09:44:07 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
rails DBのデータをランダムでビューに使用する方法 |
https://teratail.com/questions/369083?rss=all
|
railsDBのデータをランダムでビューに使用する方法前提・実現したいことDBのデータをランダムで件取得してビューに使用したい。 |
2021-11-13 09:36:24 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
cmdで改行してテキストに出力する方法 |
https://teratail.com/questions/369082?rss=all
|
cmdで改行してテキストに出力する方法testtxtにtesttesttestと記入されているときコマンドプロンプトで一行ずつ読み込んで頭にをつけてtesttxtに出力したいのですが改行されておらずtesttxtが以下のような形で保存されてしまいます。 |
2021-11-13 09:24:26 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
時系列データについて |
https://teratail.com/questions/369081?rss=all
|
時系列データについて現在arimaを使って時系列データの予測をしようとしています。 |
2021-11-13 09:20:27 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Edit textのinputTypeをnumberにすると入力できなくなる。 |
https://teratail.com/questions/369080?rss=all
|
EditTextnumberを配置して数値を入力させたいのですが、inputTypeをnumberにするとソフトウェアキーボードから入力出来なくなります。 |
2021-11-13 09:11:17 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
データベースをロールバックできなくなった件 |
https://qiita.com/iskwky/items/054a4ead9e47b071369a
|
changeメソッドの代わりにupメソッドとdownメソッドを定義します。 |
2021-11-13 09:48:20 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
テキストフィールドに予め値を入れておく方法 |
https://qiita.com/iskwky/items/5c766a7240cabb038dd4
|
テキストフィールドに予め値を入れておく方法開発環境言語RubyフレームワークRubyonRailsフロントエンドHTMLampCSSBootstrapJavaScriptjQueyDBPostgreSQLテストRspecインフラECRDSソースコード管理GitHubissueで、タスク管理するデータベースに予め値を入れておく方法テキストフィールドに初期値を入れておく方法はマイグレーションファイルにdefault初期値に記載することでで可能なことがわかった。 |
2021-11-13 09:39:46 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
インシデントアプリを作成しました |
https://qiita.com/iskwky/items/d7651340a68ce4f4de7a
|
スクール先生生徒から質問を受けたときに、時系列がわかるので対応しやすいフォーマットが決めることで必要情報が揃いやすい生徒フォーマットに従い事象を記載することで質問が具体的になる過去事象を探すことで、インシデント解決につながる個人利用過去事象を探すことで、インシデント解決につながる自身が以前遭遇したインシデントを記録しておくことで、次回発生時解決が迅速化する背景現職では、ユーザの問い合わせやエラー発生時、有識者への対応依頼、質問を実施し事象を解決しています。 |
2021-11-13 09:22:03 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
AppleシリコンMac上のDockerでSchemaspyを動かす方法 |
https://qiita.com/pnpk/items/d308d96ef933312f8d9a
|
AppleシリコンMacでSchemaspyを動作させる方法を調べて動かすことが出来たので手順を共有します。 |
2021-11-13 09:19:13 |
海外TECH |
DEV Community |
Day 7 of #100daysofcode: General Progress and Competitive Programming |
https://dev.to/rydwhelchel/day-7-of-100daysofcode-general-progress-and-competitive-programming-fo9
|
Day of daysofcode General Progress and Competitive ProgrammingBetween Competitive Programming talking with my professors planning my next semester working on my resume and working on my project I had a very full day Competitive ProgrammingI participated in my first competitive programming event today and had a lot of fun I was the senior in my team so I took the lead and helped coach my team through some of the problems One of the members of my team had very little coding experience so it was cool to show him the ropes on how to approach some of these problems and to show him some of the common problem patterns you d run into He was pretty excited about using Dictionaries to count duplicates so that was fun Everybody in the team were familiar with different languages so I thought it would be best to use Python as it is fairly simple to understand That seemed to work very well and I was able to bust out some of the Python tech that I ve learned over the years namely list comprehension and f strings We placed a little above middle of the pack but we were happy with how we did and I feel like everyone walked away today better programmers In the future I would like to participate in an even more competitive scenario where you compete for a prize with randomly selected teams I think that would be really fun TodayI made a lot of progress today I spent more time with React bootstrap and decided on which components I am going to use in my page In addition I modified the CSS layout and fixed some code modularity problems I had with my Flask server TomorrowI m going to continue working on my project I hope I will have some what of a final product to show off tomorrow Don t be too harsh on the design I never claimed to be a good designer What I m Struggling onI m still finding some trouble on how to use Flexbox in conjunction with Grid As I understand it they re both made much more powerful when you use them in conjunction so I m trying to force myself to use them together ResourcesCSS Grid Tutorial Dev Dreamer React Bootstrap Components |
2021-11-13 00:09:35 |
海外TECH |
DEV Community |
Betterer v5.0.0 |
https://dev.to/phenomnominal/betterer-v500-5-4518
|
Betterer v Oof this one feels like it s been a while coming but after a whole bunch of work and a whole bunch of breaking changes I ve just released v of Betterer What is Betterer Betterer is a test runner that helps make incremental improvements to your code The first time Betterer it runs a test it will take a snapshot of the current state From that point on whenever it runs it will compare against that snapshot It will either throw an error if the test got worse or update the snapshot if the test got better That s pretty much it You can check out the newly updated documentation at What happened to v v v But Craig I hear you say The last time you posted about Betterer it was at v What s been going on That s very astute of you dear reader and let s just put it this way I sure do love breaking APIs One of the interesting things about Betterer is that it is a tool designed for problems that emerge in large and old codebases That means it has to be able to handle large and old codebases from the get go So I ve had a lot of fun as I ve tried to figure out the best workflows and APIs for using Betterer Between v and now I ve released a bunch of features consolidated and simplified APIs and just generally made Betterer more usable and flexible I m pretty happy with where it is at now so I figured it was about time for an update I ve even been talking about it at a few conferences now that they re coming back What a world What s in v Parallel tests Performance is hard Prior to v the default Betterer reporter would struggle pretty badly especially when lots of tests were running and producing lots of issues That was because the main thread was responsible for updating the reporter output and running all the tests To fix this Betterer will now execute all your tests using Node js Worker Threads That frees up the main thread to focus on rendering and also means that multiple tests can run at the same time Getting this to work required breaking some APIs so your test definition file needs to change Before betterer tsimport BettererTest from betterer betterer export default my test new BettererTest test config my other test new BettererTest test config After betterer tsimport BettererTest from betterer betterer export default my test gt new BettererTest test config my other test gt new BettererTest test config But never fear you can use the betterer upgrade command to do this migration for you Just running betterer upgrade will show you what the migration will look like and betterer upgrade save will actually update your files Easy The betterer upgrade command will be used in the future when I most probably break more stuff Check out the beast of a PR here and yes it took me three branches to get it right Betterer ️AngularI ve published a new Betterer test for incrementally adding Angular compiler configuration to a project I m pretty excited by this as there are a lot of big Angular codebases out there that don t utilise the full power of the Angular compiler In particular I think Betterer could be a good way to introduce the strictTemplates option You can now do that with the following betterer tsimport angular from betterer angular export default strict templates gt angular tsconfig json strictTemplates true include src ts src html Expect to see a full post detailing this in the near future Simpler BettererFileTest The old BettererFileTest API was a bit clunky and confusing due to the BettererFileResolver thing I ve hidden that away in the internals so now the public API is less clunky and confusing Before import BettererFileResolver BettererFileTest from betterer betterer function myFileTest const resolver new BettererFileResolver return new BettererFileTest resolver async filePaths fileTestResult gt test implementation After import BettererFileTest from betterer betterer function myFileTest return new BettererFileTest async filePaths fileTestResult resolver gt test implementation Smaller public API less magic and you only have to use it if you know why choice Improved workflow I m still working on figuring out the ideal Betterer workflow For now I recommend running Betterer in Pre commit mode as a pre commit hook perhaps using husky and lint staged and in CI mode on your build server But one thing about chonky codebases is that they often have lots of contributors Lots of contributors making changes and making things better means that merge conflicts in the results file are quite common To try to help with resolving merge conflicts I ve introduced the betterer merge command You can still fix merge conflicts manually but betterer merge will do it for you If you re as lazy as me you can even enable automerge and you ll never have to think about merging the results file ever again I hope this could still be buggy To enable automerge run betterer init automerge Improved caching Betterer got some cool ish caching implemented in v but turns out caching is a hard problem so it s taken a little bit to get right It works by passing the cache flag when running Betterer betterer cacheThat will create a file something like this version testCache no hack comments packages angular src angular ts bdefebdecbcfdaabaaaeeceaadbebeea packages angular src index ts bdefebdecbcfdaabaaaeebfafcdcbfb packages betterer src betterer ts bdefebdecbcfdaabaaaeeefcdfacfcacbbb Betterer will use this cache to only re test files that have actually changes so it can be much faster useful for running on pre commit I suspect there are still issues here so please try it out and create issues Bug fixes and improvements betterer results command to get a quick summary Negative filters I already suspect I ll regret this but you can now use at the start of a filter to negate it Now filter myTest will just run myTest and filter myTest will run every other test Rewrote most of the public API docs These are now generated from the code so should hopefully be easier to keep up to date Removed a bunch of stuff from the public API This means more consistency and I ll be less likely to accidentally break stuff in the future Thanks ️Huge thanks to everyone who has helped me with this stuff if you ve read my rambling cryptic tweets opened issues on Github chatted to me about Betterer at conferences it s all meant a lot Maybe I ll print some stickers or something ️Love this Hate this Go off in the comments DM me on Twitter or be the third person to join the Betterer Discord Catch you on the line |
2021-11-13 00:06:54 |
海外TECH |
DEV Community |
SOLID |
https://dev.to/mdcg/solid-2de
|
SOLID IntroduçãoRecentemente estava buscando ampliar um pouco o meu conhecimento no desenvolvimento back end e me deparei com um projeto super legal chamado Web Developer Roadmap criado por Kamran Ahmed Basicamente este estipula alguns “caminhos a se seguir para vocêiniciar melhorar o seu conhecimento acerca do desenvolvimento front end back end e devOps Vale a pena dar uma conferida se você assim como eu tem uma certa dificuldade dada a grande variedade de tecnologias existentes de saber onde focar seus estudos Na introdução deste roadmap existe uma lista de noções tecnologias metodologias a serem entendidas independente do caminho que vocêfor seguir Alguns deles eu jádomino como Git uso básico do terminal estruturas de dados e licenças Porém ainda não me sinto confortável com os demais “requisitos listados nesta introdução por isso irei documentar aqui no Dev to um pouco dos meus estudos acerca deles Vale ressaltar que talvez essa publicação não seja o suficiente para vocêse aprofundar no tema chave indicado pelo título Porém ainda assim vale a leitura jáque talvez a minha visão possa agregar um pouco nos seus conhecimentos em relação ao assunto Então sem mais delongas vamos iniciar o nosso assunto sobre SOLID O que é Basicamente SOLID éum acrônimo criado por Michael Feathers para cinco princípios de design na programação orientada a objetos com o intuito de criar projetos de software mais compreensíveis flexíveis e manuteníveis São eles Single Responsibility Principle SRP Princípio da responsabilidade única Open Closed Principle OCP Princípio do aberto fechado Liskov Substitution Principle LSP Princípio da substituição de Liskov Interface Segregation Principle ISP Princípio da segregação de interfaces Dependency Inversion Principle DIP Princípio da inversão de dependência O primeiro princípio SRP“uma classe deve ter apenas uma única responsabilidade A descrição mais clara e formal deste princípio diz que a classe deve ter uma e apenas uma razão para mudar Em outras palavras poderíamos dizer que uma classe deve ser especializada em um único objetivo dentro do software ou seja ela deve executar desempenhar uma única tarefa ação O segundo princípio OCP entidades de software devem ser abertas para extensão mas fechadas para modificação Em resumo para termos classes ainda mais coesas e de fácil evolução elas devem ser modeladas de modo que quando houver mudanças nas regras de negócios que não haja a necessidade de alteração no código original mas sim que o comportamento deste possa ser estendido com facilidade O terceiro princípio LSP“objetos em um programa devem ser substituíveis por instâncias de seus subtipos sem alterar a funcionalidade do programa O princípio de substituição de Liskov leva esse nome por ter sido criado por Barbara Liskov que introduziu este conceito em uma conferência em e posteriormente em no artigo Family Values A behavioral Notion of Subtyping juntamente com Jeannette Wing A definição original desse princípio de forma resumida éa seguinte Se q x éuma propriedade demonstrável dos objetos x de tipo T Então q y deve ser verdadeiro para objetos y de tipo S onde S éum subtipo de T Em outras palavras toda e qualquer classe derivada deve poder ser usada como se fosse a classe base Este princípio tem algo bem parecido com a metodologia do projeto por contrato Precondições não podem ser reforçadas em uma sub classe Isto significa que não épermitida uma sub classe com precondições mais fortes que a sua super classe Pós condições não podem ser enfraquecidas em uma sub classe Isto significa que não épermitida uma sub classe que contém condições posteriores mais fracas que a super classe O quarto princípio ISP“muitas interfaces de clientes específicas são melhores do que uma para todos propósitos Esse éum princípio um pouco mais simples que os anteriores Em resumo basicamente ele diz que émelhor criar interfaces mais específicas ao invés de uma única interface genérica Uma classe não deve ser forçada a implementar interfaces e métodos que não irão utilizar O quinto princípio DIP“deve se depender de abstrações não de objetos concretos De acordo com Robert Martin Uncle Bob este princípio pode ser definido da seguinte forma Módulos de alto nível não devem depender de módulos de baixo nível Ambos devem depender da abstração Abstrações não devem depender de detalhes Detalhes devem depender de abstrações Abstrações tendem a ser estáveis jáas implementações instáveis Caso uma classe qualquer precise depender de outro módulo seria interessante que esta seja uma abstração Tente ao máximo não depender de outras implementações PS Não confunda Inversão de dependência com Injeção de dependência São duas coisas diferentes ConclusãoComo dito anteriormente esse éum resumo bem superficial e talvez não seja o suficiente para vocêse aprofundar no assunto Contudo deixo aqui a recomendação de um livro muito bom que abriu muito a minha mente sobre SOLID Orientação a Objetos e SOLID para Ninjas Projetando classes flexíveis de Mauricio Aniche Vocêpode adquirir esse livro clicando aqui Obrigado pela leitura e atéa próxima |
2021-11-13 00:03:15 |
海外ニュース |
Japan Times latest articles |
Biden and China’s Xi to hold virtual meeting on Monday night |
https://www.japantimes.co.jp/news/2021/11/13/asia-pacific/politics-diplomacy-asia-pacific/us-china-xi-biden-talks/
|
Biden and China s Xi to hold virtual meeting on Monday nightThe White House hopes the talks will create some stability amid increased tensions ーincluding over self ruled Taiwan ーbetween the world s two largest economies |
2021-11-13 09:19:20 |
ニュース |
BBC News - Home |
Britney Spears released from 13-year conservatorship |
https://www.bbc.co.uk/news/entertainment-arts-59217825?at_medium=RSS&at_campaign=KARANGA
|
father |
2021-11-13 00:48:39 |
ニュース |
BBC News - Home |
Scottish Conservative leader Douglas Ross in job 'sleaze' row |
https://www.bbc.co.uk/news/uk-scotland-scotland-politics-59270798?at_medium=RSS&at_campaign=KARANGA
|
conservative |
2021-11-13 00:17:07 |
ニュース |
BBC News - Home |
Newspaper headlines: Covid 'end' prediction and PM 'pays price at polls' |
https://www.bbc.co.uk/news/blogs-the-papers-59270356?at_medium=RSS&at_campaign=KARANGA
|
whitehall |
2021-11-13 00:06:46 |
ニュース |
BBC News - Home |
BBC's Simpson revisits Afghanistan under the Taliban |
https://www.bbc.co.uk/news/world-asia-59265609?at_medium=RSS&at_campaign=KARANGA
|
taliban |
2021-11-13 00:05:13 |
ニュース |
BBC News - Home |
Young carers: The children missing from the system |
https://www.bbc.co.uk/news/science-environment-59254088?at_medium=RSS&at_campaign=KARANGA
|
carers |
2021-11-13 00:02:49 |
ニュース |
BBC News - Home |
Ros Atkins on... The fight for Nazanin's freedom |
https://www.bbc.co.uk/news/uk-politics-59263620?at_medium=RSS&at_campaign=KARANGA
|
atkins |
2021-11-13 00:03:24 |
ニュース |
BBC News - Home |
Week in pictures: 6 - 12 November 2021 |
https://www.bbc.co.uk/news/in-pictures-59260484?at_medium=RSS&at_campaign=KARANGA
|
images |
2021-11-13 00:05:59 |
ニュース |
BBC News - Home |
Belarus border: Scrambling for facts in Europe's new crisis |
https://www.bbc.co.uk/news/world-europe-59258414?at_medium=RSS&at_campaign=KARANGA
|
polish |
2021-11-13 00:09:27 |
ニュース |
BBC News - Home |
Ship-load of 'toxic' Chinese fertilizer causes diplomatic stink |
https://www.bbc.co.uk/news/world-asia-59202309?at_medium=RSS&at_campaign=KARANGA
|
lanka |
2021-11-13 00:07:38 |
ニュース |
BBC News - Home |
Iqaluit: A month without clean water in Canada's north |
https://www.bbc.co.uk/news/world-us-canada-59253088?at_medium=RSS&at_campaign=KARANGA
|
iqaluit |
2021-11-13 00:10:29 |
ニュース |
BBC News - Home |
Period packs for footballers: 'Players can't talk to managers' |
https://www.bbc.co.uk/news/newsbeat-59235130?at_medium=RSS&at_campaign=KARANGA
|
package |
2021-11-13 00:41:22 |
北海道 |
北海道新聞 |
創業年西暦表示でワインやチーズに期待大 和菓子は変わらず 北大が実証 |
https://www.hokkaido-np.co.jp/article/611222/
|
西洋由来 |
2021-11-13 09:16:06 |
北海道 |
北海道新聞 |
難民、独に連日100人到着 ベラルーシから流入 |
https://www.hokkaido-np.co.jp/article/611221/
|
難民 |
2021-11-13 09:02:00 |
ビジネス |
プレジデントオンライン |
「タヌキが出るところに店を出せ」イオンの成長を支える"驚きの立地戦略" - 20キロ離れた地も商圏になりうる |
https://president.jp/articles/-/51713
|
出店計画 |
2021-11-13 10:00:00 |
ビジネス |
プレジデントオンライン |
年収800万円男性と結婚した"セレブ妻"が築40年木造アパート暮らしに転落した顚末【2020年BEST5】 - 「でも夫に殴られるより100倍マシ」 |
https://president.jp/articles/-/51691
|
顚末 |
2021-11-13 10:00:00 |
デザイン |
Webクリエイターボックス |
Twitter 人気のつぶやき 10/30〜11/12 2021 |
https://www.webcreatorbox.com/twitter/twitter-1030-1112-2021
|
firstappearedonweb |
2021-11-13 01:00:11 |
コメント
コメントを投稿