投稿時間:2022-10-11 00:22:46 RSSフィード2022-10-11 00:00 分まとめ(21件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
python Pythonタグが付けられた新着投稿 - Qiita 【競プロ典型90問】004をPythonで解説 https://qiita.com/haruto2001/items/9c4dcb686c21f48e8c35 解説 2022-10-10 23:48:41
js JavaScriptタグが付けられた新着投稿 - Qiita 令和のReactに再挑戦 https://qiita.com/yngwie6120/items/f01c94860b11d44c3ea8 react 2022-10-10 23:50:07
js JavaScriptタグが付けられた新着投稿 - Qiita ball sort puzzleを作ってみた https://qiita.com/yo16/items/4aca6f2f6fef0ef589df ballsortpuzzle 2022-10-10 23:44:41
js JavaScriptタグが付けられた新着投稿 - Qiita Three.jsでおみくじアプリを作りました https://qiita.com/koseidaiki/items/dab59782619162329c44 threejs 2022-10-10 23:26:57
Ruby Rubyタグが付けられた新着投稿 - Qiita enumで実装したラジオボタンのRspec https://qiita.com/gogoserver578/items/402d477df9f931f0fee9 rspec 2022-10-10 23:03:07
AWS AWSタグが付けられた新着投稿 - Qiita 検証目的のためにCloudFormationでシングルインスタンスのAuroraを建てようとしたら手こずった話 https://qiita.com/kanamekun/items/4db938d52712b1165c37 aurora 2022-10-10 23:26:02
Ruby Railsタグが付けられた新着投稿 - Qiita Migrationファイル 備忘録 https://qiita.com/mshkki/items/f864eab1e9e222fb5e90 migration 2022-10-10 23:56:55
Ruby Railsタグが付けられた新着投稿 - Qiita enumで実装したラジオボタンのRspec https://qiita.com/gogoserver578/items/402d477df9f931f0fee9 rspec 2022-10-10 23:03:07
海外TECH DEV Community Meme Monday 🐷 https://dev.to/ben/meme-monday-1cbp Meme Monday Welcome to another Meme Monday post Today s cover image comes from last week s thread DEV is an inclusive space Humor in poor taste will be downvoted by mods 2022-10-10 14:43:43
海外TECH DEV Community Maps, Slices and the Go Garbage Collector https://dev.to/mavensingh/maps-slices-and-the-go-garbage-collector-2308 Maps Slices and the Go Garbage CollectorIn this article I am going to present you with some examples showing why you should be cautions regarding the operation of the garbage collector The point of the article is to understand that the way you store pointers has a great impact on the performance of the garbage collector especially when you are dealing with very large amounts of pointers The presented examples will use pointers slices and maps which are all native Go data types What is Garbage Collection Garbage collection is the process of freeing up memory space that is not being used In other words the garbage collector sees which objects are out of scope and cannot be referenced anymore and frees the memory space they consume This process happens in a concurrent way while a Go program is running and not before or after the execution of the program According to the documentation of the Go garbage collection “The GC runs concurrently with mutator threads is type accurate also known as precise allows multiple GC threads to run in parallel It is a concurrent mark and sweep that uses a write barrier It is non generational and non compacting Allocation is done using size segregated per P allocation areas to minimize fragmentation while eliminating locks in the common case “ Using a SliceIn this example we will use a slice to store a large amount of structures Each structure stores two integer values Follow the below mentioned Go code package mainimport runtime type data struct i j int func main var N var str data for i i lt N i value i str append str data value value runtime GC str The last statement str is used for preventing the garbage collector from garbage collecting the str variable too early as it is not referenced or used outside of the for loop The same technique will be used in the below three Go programs that follow Apart from this important detail a for loop is used for putting values into structures that are stored in the slice Using a Map with PointersIn this we are going to use a map for storing all our pointers as integers The program contains the following Go code package mainimport runtime func main var N myMap make map int int for i i lt N i value i myMap value amp value runtime GC myMap The name of the map that stores the integer pointers is myMap A for loop is used for putting the integer values into map Using a Map Without PointersIn this we are going to use a map that stores plain values without pointers The Go code is mentioned below package mainimport runtime func main var N myMap make map int int for i i lt N i value i myMap value value runtime GC myMap As before a for loop is used for putting the integer values into the map Splitting the MapThe implementation of this section will split the map into a map of maps which is also called sharding The program of this section contains the following Go code package mainimport runtime func main var N split make map int int for i range split split i make map int int for i i lt N i value i split i value value runtime GC split This time we are using two for loops one for loop for creating the hash of hashes and another one for storing the desired data in the hash of hashes Comparing the Performance of the Presented TechniquesAs all four programs are using huge data structures they are consuming large amounts of memory Program that consumes lots of memory space trigger the Go garbage collector more often So in this section we are going to compare the performance of each one of these four implementations using time command What will be important in this presented output is not the exact number but the time difference between the four different approaches Here we go time go run sliceGC goreal msuser mssys ms time go run mapStar goreal msuser mssys ms time go run mapNoStar goreal msuser mssys ms time go run mapSplit goreal msuser mssys msSo it turns out that maps slow down the Go garbage collector whereas slices collaborate much better with it It should be noted here that this is not a problem with maps but a result of the way the Go garbage collector works However unless you are dealing with maps that store huge amounts of data this problem will not become evident in your programs my blogThanks for reading 2022-10-10 14:19:27
海外TECH DEV Community Full-Stack Ops: Back-end and DevOps Roles are Merging https://dev.to/bootdotdev/full-stack-ops-back-end-and-devops-roles-are-merging-bap Full Stack Ops Back end and DevOps Roles are Merging It s time for some speculation on my partI believe that the job duties of back end and devops engineers will coalesce to include almost everything that the user doesn t see There will still be room for specialization but these roles will become less distinguishable overall First let s talk about why I think this is happening and then let s talk about what it means for us as back end and devops engineers The problem Most companies need to ship simple features more quicklyThe underlying idea behind this entire article is a simple one most companies need to ship simple features more quickly It s not particularly challenging to build simple features the hard part in any product driven company is finding out which features deserve to be shipped and keeping the code in a place where features can be added quickly That said there will always be hard problems to solve As a company grows problems that used to be simple like an edit button become really really hard like an edit button on Twitter Front end engineers writing back end code ship fasterOne of the universal advantages of hiring full stack engineers is that it reduces the number of potential blockers involved in fixing a bug or adding a feature The time to complete a task can more than double when more than a single person is required to work on it For example a full stack engineer can pick up a task add the required back end code add the required front end code and be done However if back end and front end engineers need to collaborate on a single ticket everything is much more complicated The back end engineer deploys new code writes documentation then passes the ticket off to the front end engineer At that point the front end engineer takes some time to learn how the API works and might even do some back and forth with the back end dev before they get the front end working Back end engineers who deploy infrastructure ship fasterJust as full stack engineers improve efficiency in full stack engineering tasks back end engineers that know how to deploy infrastructure increase the efficiency in back end tasks If a back end engineer is working on a task that requires a new database they would normally need to pass the task off to an ops team first just like a front end team would pass the need for new API endpoints to the back end team Instead if the back end engineer knows how to edit Terraform files they can do it themselves making everything move quite a bit faster However as I pointed out above this comes with a trade off Requiring your engineers to know and do more means that they won t necessarily be as good at any one thing If you re familiar with the idea of a T Shaped developer you re giving them a wider row but a more shallow column That said on small teams this is usually a good trade to make A caveat The bigger the company the more specialized the rolesGenerally speaking smaller companies need these jack of all trades engineers that can do full stack work and deploy their own code These are people who can do many things well but who aren t necessarily experts at any one thing Large companies may still need jacks of all trades but they also need experts to solve the complex problems that only arise on the edge Larger companies generally need a larger diversity of expertise to ensure that someone on the team can solve domain specific problems as they arise The trade off is one of speed for expertise More specialized teams can usually solve harder problems but do so more slowly What s changed Companies can get away without specializing for longerThis large small company need for specialization has always existed but I think the line is moving Companies are now able to grow larger than before on the backs of generalists primarily because of all the tooling that exists Node js makes full stack development easier The cloud makes infrastructure easier to manage Code written in modern languages like Go TypeScript and Rust is simpler to write and maintain Services like Stripe Twilio and Sendgrid allow you to outsource complex features you would have written from scratch So what should I do as an ops engineer In the stack overflow survey only of respondents claim to have devops responsibilities down from in The most interesting thing is that in the summary of the section the survey creators say Developers are wearing multiple hats The majority of respondents said they considered themselves to be more than one type of developer with DBAs SREs and Security professionals reporting the most variety On average each of these roles reported being seven other developer types In other words the people doing security database work telemetry and monitoring also tend to be doing the most disparate activities This makes a lot of sense to me As monotonous IT tasks are getting automated away it frees up these professionals to do more and more other kinds of interesting work In some cases they may simply start writing back end code My advice Write more codeMy advice here is simple continue to specialize in the ops related tasks that large companies will always need but start writing more code I m not saying that IT ops jobs are going away I m saying that we ll continue to automate the boring stuff so don t specialize in the boring stuff Unless your company is in the business of infrastructure I d argue it s probably wise to outsource your infra to a cloud provider and assuming you deploy on the cloud a significant amount of your IT Ops work should be taken care of for you The best part about using a cloud provider is that you can manage your infrastructure in code The buzzword is GitOps and I m a fan The best DevOps engineers in the industry write code and use source control Automating and versioning infrastructure tasks in code means you don t need as many people SSH ing onto servers to install dependencies and deploy new releases It s faster to use code and also less prone to human error As a result the company only needs a few people writing and maintaining automated systems The majority of their engineers can then use those tools to deploy their own code The trend I m seeing is that for small simple web apps the full stack or back end devs can just deploy on the cloud using some simple out of the box configuration files As the company grows you ll likely need a more dedicated devops team but if that team s any good they ll just be hardening the deployment tooling so that the rest of the team can do their own ops Every back end engineer an ops person or something like that So what should I do as a back end engineer Get familiar with cloud technologies and get familiar with the infrastructure you deploy on if you aren t already If you like small companies and startups this will be even more important If you go to work at larger companies you ll likely have most of the deploy tooling built for you but it s still much better if you understand how it works You can hardly write great application code if you don t understand where and how it runs Good luck 2022-10-10 14:06:04
海外TECH DEV Community Space Battleship (Multiplayer turn-based game) https://dev.to/karranb/space-battleship-multiplayer-turn-based-game-34hd Space Battleship Multiplayer turn based game Space Battleship is a multiplayer game where you can challenge your friends to strategy space battles The objective is to try to guess your opponent s moves to try to destroy his spaceships and keep your spaceships alive Space Battleship also has a training mode where you can test the spaceships and understand the gameplay Click here to play The project is open source I m looking forward to improving the graphics adding some sound FX and adding weapon choices 2022-10-10 14:04:11
Apple AppleInsider - Frontpage News Apple says there's no single 'silver bullet' behind crash detection https://appleinsider.com/articles/22/10/10/apple-says-theres-no-single-silver-bullet-behind-crash-detection?utm_medium=rss Apple says there x s no single x silver bullet x behind crash detectionFollowing issues like rollercoasters triggering the new iPhone crash detection Apple executives have been revealing more about how it works There have been real crashes as well as the erroneous rollercoaster reports plus independent testing has shown that crash detection won t always work Now two of Apple s executives have told TechCrunch how crash detection works and so why there can be these failures or false positives It s mostly the G Force detection of the new gyroscope and accelerometer said Kaiann Drance Apple s vice president of Worldwide iPhone Product Marketing It s able to detect G Force up to Gs That was one of the key differences for the new accelerometers that the new watches and phones have Read more 2022-10-10 14:32:34
Apple AppleInsider - Frontpage News PC market got hammered in Q3, but Apple saw massive Mac shipment growth https://appleinsider.com/articles/22/10/10/pc-market-got-hammered-in-q3-but-apple-saw-massive-mac-shipment-growth?utm_medium=rss PC market got hammered in Q but Apple saw massive Mac shipment growthApple s Mac business growth is a giant high point in a PC market downturn with a year on year increase in shipments for Q against a sea of shrinkage from other major PC vendors inch MacBook ProThe PC market has been in trouble for quite a while with worldwide shipments continuing to decline However while firms like Lenovo and HP are seeing shipment levels drop year on year for Q Apple is encountering the opposite Read more 2022-10-10 14:31:15
Apple AppleInsider - Frontpage News Samsung building damaged by Russian missile strike in Ukraine https://appleinsider.com/articles/22/10/10/samsung-building-damaged-by-russian-missile-strike-in-ukraine?utm_medium=rss Samsung building damaged by Russian missile strike in UkraineA building with a heavy Samsung presence in Ukraine was damaged during Russia s retaliatory missile attack on Kyiv though no casualties were reported Samsung s building in Kyiv UkraineThe company has about a dozen floors in the building for research and development as well as sales activities Images on Twitter showed the building surrounded by smoke with plenty of blown out windows Read more 2022-10-10 14:02:45
海外TECH Engadget Apple's 256GB 12.9-inch iPad Pro is $300 off and cheaper than ever https://www.engadget.com/apple-ipad-pro-amazon-prime-early-access-sale-140536821.html?src=rss Apple x s GB inch iPad Pro is off and cheaper than everThis might be your best chance to save money on a iPad Pro Ahead of its Prime Early Access Sale Amazon has discounted the GB inch model by percent to The more affordable inch iPad Pro is also on sale However it appears Amazon only has stock of the GB variant After a percent discount the inch model is down from The promotion applies to both Silver and Space Gray colorways across both inch and inch models nbsp Buy Apple iPad Pro at Amazon and upThe iPad Pro is one of the most powerful tablets you can buy at the moment Engadget awarded the model a score of praising the device for its speedy M processor and mini LED screen that makes watching HDR content an absolute joy At the time it felt like iPadOS wasn t a perfect match for the iPad Pro s powerful hardware but with iPadOS on the way and new multitasking features like Stage Manager part of the release the tablet is about to become more capable One thing to keep in mind is that Apple may refresh the iPad Pro later this month Persistent rumors suggest the company plans to introduce a model that features an M processor MagSafe charging and a handful of other upgrades For that reason you may want to wait if you want to buy the most powerful iPad possible However if you re mainly interested in getting the most value for your money then it s hard to go wrong with the current M model Follow EngadgetDeals on Twitter and subscribe to the Engadget Deals newsletter for the latest tech deals and buying advice 2022-10-10 14:05:36
Cisco Cisco Blog Cisco DevRel makes Cloud Networking Automation Easy https://blogs.cisco.com/datacenter/cisco-devrel-makes-cloud-networking-automation-easy Cisco DevRel makes Cloud Networking Automation EasyCisco Developer Relations DevRel is committed to making sure that we continue each BE s design and engineering ethos forward when we create labs sample code and sandboxes 2022-10-10 14:07:05
ニュース BBC News - Home Azeem Rafiq & Andrew Gale among five reprimanded for historical social media posts https://www.bbc.co.uk/sport/cricket/63134685?at_medium=RSS&at_campaign=KARANGA Azeem Rafiq amp Andrew Gale among five reprimanded for historical social media postsAzeem Rafiq and Andrew Gale are among five current and former players reprimanded by the England and Wales Cricket Board for historical social media posts of a racist nature 2022-10-10 14:22:48
北海道 北海道新聞 NATO「恐ろしい攻撃」 EU「ロシアの残虐性示す」 https://www.hokkaido-np.co.jp/article/743390/ 北大西洋条約機構 2022-10-10 23:10:29
北海道 北海道新聞 米大使館が退避呼びかけ ウクライナ https://www.hokkaido-np.co.jp/article/743391/ 呼びかけ 2022-10-10 23:08:00
北海道 北海道新聞 ロシア大統領、IAEAと会談へ 原発の外部電源復旧 https://www.hokkaido-np.co.jp/article/743389/ 大統領報道官 2022-10-10 23:08:00

コメント

このブログの人気の投稿

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

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

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