IT |
ITmedia 総合記事一覧 |
[ITmedia エンタープライズ] 生成AIが企業の人材活用にもたらすインパクトとは――データサイエンティスト協会の講演から探る |
https://www.itmedia.co.jp/enterprise/articles/2306/05/news119.html
|
chatgpt |
2023-06-05 15:50:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia PC USER] 1TBの「MP600 MINI」が登場――短基板の1TB M.2 SSDに注目が集まる理由 |
https://www.itmedia.co.jp/pcuser/articles/2306/05/news114.html
|
corsair |
2023-06-05 15:30:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] スタバの巧妙な価格戦略 2年連続の値上げでも炎上しなかったワケ |
https://www.itmedia.co.jp/business/articles/2306/05/news120.html
|
itmedia |
2023-06-05 15:15:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] 文化庁の「AIと著作権」の解釈が話題に AIに詳しい弁護士「かなり踏み込んだ内容」 |
https://www.itmedia.co.jp/news/articles/2306/05/news112.html
|
itmedia |
2023-06-05 15:10:00 |
IT |
SNSマーケティングの情報ならソーシャルメディアラボ【Gaiax】 |
2023年5月更新!性別・年齢別 SNSユーザー数(Twitter、Instagram、TikTokなど13媒体) |
https://gaiax-socialmedialab.jp/socialmedia/435
|
instagram |
2023-06-05 06:00:58 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Selenium実行時に出たunknown error |
https://qiita.com/iketsuchi/items/d5b5ee333167b911dc54
|
rwebdriverexceptionmessag |
2023-06-05 15:51:07 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Render.com上で起動していたDjangoのwebアプリで`could not translate host name "{db名}" to address: Name or service not known`というエラー |
https://qiita.com/76r6qo698/items/79e3b075ae8afbc3b60e
|
Rendercom上で起動していたDjangoのwebアプリでcouldnottranslatehostnamequotdb名quottoaddressNameorservicenotknownというエラー結論あくまで原因のつにはなりますが、使用していたデータベースの試用期間が過ぎたため停止された可能性があります。 |
2023-06-05 15:22:54 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
PythonとOpenCVで消しゴムマジックやってみた! |
https://qiita.com/dancingedamame/items/3a3f689af8b94073c2f8
|
google |
2023-06-05 15:01:21 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
RailsとNuxt3でtodoリストを作ろう[REST-API/Terraform/Fargate]〜その7、Blue/Greenデプロイ後編 |
https://qiita.com/sugiyama404/items/ea57e8c08156bf6eca46
|
bluegreen |
2023-06-05 15:07:37 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
RailsとNuxt3でtodoリストを作ろう[REST-API/Terraform/Fargate]〜その6、Blue/Greenデプロイ前編 |
https://qiita.com/sugiyama404/items/1ffb4334b3a1546b4e23
|
bluegreen |
2023-06-05 15:07:02 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
RailsとNuxt3でtodoリストを作ろう[REST-API/Terraform/Fargate]〜その5、TerraformECS後編 |
https://qiita.com/sugiyama404/items/d0e0e74628d38842c9bd
|
github |
2023-06-05 15:06:31 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
RailsとNuxt3でtodoリストを作ろう[REST-API/Terraform/Fargate]〜その4、TerraformECS前編 |
https://qiita.com/sugiyama404/items/4e19ac1f9be6b8213f55
|
github |
2023-06-05 15:06:01 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
RailsとNuxt3でtodoリストを作ろう[REST-API/Terraform/Fargate]〜その7、Blue/Greenデプロイ後編 |
https://qiita.com/sugiyama404/items/ea57e8c08156bf6eca46
|
bluegreen |
2023-06-05 15:07:37 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
RailsとNuxt3でtodoリストを作ろう[REST-API/Terraform/Fargate]〜その6、Blue/Greenデプロイ前編 |
https://qiita.com/sugiyama404/items/1ffb4334b3a1546b4e23
|
bluegreen |
2023-06-05 15:07:02 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
RailsとNuxt3でtodoリストを作ろう[REST-API/Terraform/Fargate]〜その5、TerraformECS後編 |
https://qiita.com/sugiyama404/items/d0e0e74628d38842c9bd
|
github |
2023-06-05 15:06:31 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
RailsとNuxt3でtodoリストを作ろう[REST-API/Terraform/Fargate]〜その4、TerraformECS前編 |
https://qiita.com/sugiyama404/items/4e19ac1f9be6b8213f55
|
github |
2023-06-05 15:06:01 |
技術ブログ |
Developers.IO |
AWS User Notifications でAWS Health eventの特定サービスの通知だけ送信する設定を試してみた |
https://dev.classmethod.jp/articles/aws-user-notifications-health-notification/
|
amazoneventbridge |
2023-06-05 06:16:41 |
海外TECH |
DEV Community |
Exploring Object-Oriented Programming with TypeScript |
https://dev.to/wizdomtek/exploring-object-oriented-programming-with-typescript-22b
|
Exploring Object Oriented Programming with TypeScriptIn the world of software development Object Oriented Programming OOP has become a fundamental paradigm for creating complex and scalable applications One of the most popular programming languages that supports OOP concepts is TypeScript TypeScript is a superset of JavaScript which adds static typing and other features to enhance code maintainability and readability In this blog we will explore the power of Object Oriented Programming in TypeScript and how it can help us build robust and efficient applications Understanding Object Oriented Programming OOP Object Oriented Programming is a programming paradigm that focuses on the creation and manipulation of objects to solve complex problems It emphasizes the concept of classes and objects encapsulation inheritance and polymorphism These principles enable developers to build modular reusable and maintainable code Classes and Objects in TypeScript In TypeScript a class is a blueprint for creating objects It defines the properties and behavior that objects of the class will have We can create multiple instances of a class which are known as objects Objects have their own state properties and behavior methods Let s take an example of a Person class in TypeScript class Person private name string private age number constructor name string age number this name name this age age public greet void console log Hello my name is this name and I am this age years old Creating an instance of the Person classconst john new Person Kwame john greet Output Hello my name is Kwame and I am years old In the above example we define a class called Person with private properties name and age a constructor to initialize those properties and a public method greet to print a greeting We then create an instance of the class and call the greet method Encapsulation and Access Modifiers Encapsulation is a principle of OOP that enables the bundling of data and methods within a class hiding the internal implementation details from the outside world In TypeScript we can achieve encapsulation using access modifiers There are three access modifiers in TypeScript public The default modifier Public members are accessible from anywhere private Private members are only accessible within the class that defines them protected Protected members are accessible within the class that defines them and their subclasses Inheritance and Polymorphism Inheritance allows classes to inherit properties and methods from other classes It promotes code reuse and allows us to create more specialized classes based on existing ones TypeScript supports single inheritance where a class can inherit from a single base class class Animal protected name string constructor name string this name name public makeSound void console log Generic animal sound class Dog extends Animal constructor name string super name public makeSound void console log Woof woof const myDog new Dog Buddy myDog makeSound Output Woof woof In the example above we have an Animal class with a protected property name and a makeSound method The Dog class extends the Animal class and overrides the makeSound method to provide a specific sound for dogs We create an instance of the Dog class and call the makeSound method which outputs Woof woof Polymorphism enables us to use a single interface or base class to represent multiple related classes This allows us to write more flexible and extensible code TypeScript supports polymorphism through inheritance and interfaces interface Shape calculateArea number class Rectangle implements Shape private width number private height number constructor width number height number this width width this height height public calculateArea number return this width this height class Circle implements Shape private radius number constructor radius number this radius radius public calculateArea number return Math PI Math pow this radius const rectangle new Rectangle const circle new Circle console log rectangle calculateArea Output console log circle calculateArea Output In this example we define a Shape interface with a calculateArea method The Rectangle and Circle classes implement this interface and provide their own implementations of the method We create instances of these classes and call the calculateArea method which calculates and returns the area of the respective shapes Abstraction Abstraction is a crucial concept in OOP that allows us to represent complex real world entities in a simplified and generalized manner It focuses on defining the essential characteristics and behaviors of an object while hiding the unnecessary details In TypeScript abstraction can be achieved through abstract classes and interfaces Abstract Classes An abstract class is a blueprint for other classes and cannot be instantiated directly It may contain abstract methods without an implementation and concrete methods with an implementation Subclasses that inherit from an abstract class must provide an implementation for the abstract methods abstract class Animal protected name string constructor name string this name name abstract makeSound void public sleep void console log Zzzz class Dog extends Animal constructor name string super name public makeSound void console log Woof woof const myDog new Dog Buddy myDog makeSound Output Woof woof myDog sleep Output Zzzz In this example the Animal class is declared as abstract and it has an abstract method makeSound The Dog class extends the Animal class and provides an implementation for the makeSound method We create an instance of the Dog class and call the abstract and concrete methods Interfaces An interface is a contract that defines the structure and behavior of an object It describes the properties and methods that a class must implement Interfaces enable us to achieve multiple inheritance like behavior in TypeScript interface Shape calculateArea number interface Color color string class Rectangle implements Shape Color private width number private height number public color string constructor width number height number color string this width width this height height this color color public calculateArea number return this width this height const rectangle Shape amp Color new Rectangle blue console log rectangle calculateArea Output console log rectangle color Output blueIn this example we define two interfaces Shape and Color The Rectangle class implements both interfaces and provides the required properties and methods We create an instance of the Rectangle class and access the methods and properties defined by the interfaces Generics Generics allow us to create reusable components that can work with a variety of data types They provide flexibility and type safety by enabling us to define types that are determined at the time of use rather than declaration Generics are widely used in collections data structures and algorithms class Box lt T gt private value T constructor value T this value value public getValue T return this value const numberBox new Box lt number gt console log numberBox getValue Output const stringBox new Box lt string gt Hello console log stringBox getValue Output HelloIn this example we create a generic class called Box that can hold a value of any type We define the type parameter T when creating an instance of the class The getValue method returns the stored value of the specified type Accessors Getters and Setters TypeScript supports the use of accessors also known as getters and setters to provide controlled access to class properties Getters and setters allow us to define custom logic when retrieving or assigning property values enabling better encapsulation and validation class Person private name string get name string return this name set name newName string if newName length gt this name newName else console log Name cannot be empty const person new Person person name John console log person name Output Johnperson name Output Name cannot be empty In this example we define a Person class with a private property name We define a getter name and a setter name newName string The setter validates the new name and sets the value only if it is not empty We assign and retrieve the name property using the getter and setter Conclusion Object Oriented Programming is a powerful paradigm for building complex and maintainable applications and TypeScript provides robust support for OOP concepts Through classes objects inheritance encapsulation polymorphism abstraction generics and accessors TypeScript enables developers to write modular reusable and type safe code By embracing these OOP principles you can enhance the structure maintainability and scalability of your TypeScript projects |
2023-06-05 06:22:43 |
海外TECH |
DEV Community |
Ruby - DIY accessor methods |
https://dev.to/hungle00/ruby-diy-accessor-methods-40dk
|
Ruby DIY accessor methods Ruby accessor methodsRuby does not allow instance variables to be accessed outside of methods for that object class Person def initialize name name name age endendp Person new steve p name gt undefined method name for lt Person gt This design ensures OOP encapsulation an object s data is protected from the outside world In some languages like Java to access private instance variables you must define getter setter methods for each attribute But in Ruby you can generate getter setter methods by using one of the methods in the Module attr family class Person attr reader name age getter attr writer name age setter attr accessor name age getter setter other code endp Person new steve p name gt stevep age p age gt It just takes one or two lines for all of the attributes These methods are called Class Macros which are class methods only used when in a class definition DIY accessor methodsThere are advanced ways to access instance variables like instance variable get instance eval For example p Person new steve p instance variable get name p instance eval name Using some metaprogramming techniques we can build attribute accessor methods by myself module GetterSetter def attr getter attributes attributes each do attribute define method attribute do instance variable get attribute end end end def attr setter attributes attributes each do attribute define method attribute do value instance variable set attribute value end end end def attr getter and setter attributes attr getter attributes attr setter attributes endendFor simplicity I define getter setter in separated module and include in Person class class Person extend GetterSetter def initialize name name name age end attr getter name age attr setter name age or attr getter and setter name ageendp Person new Luke p name anakin p name gt anakin SummaryClass macros are one of Ruby s magic methods that help developers get rid of a lot of tedious boilerplate methods In rails class macros are used a lot for associations has many belongs to validation You can learn more about Ruby class macros or other metaprogramming techniques in the Metaprogramming Ruby book |
2023-06-05 06:06:58 |
海外TECH |
DEV Community |
From Complexity to Clarity: Architecting Software |
https://dev.to/balagmadhu/from-complexity-to-clarity-architecting-software-lpk
|
From Complexity to Clarity Architecting SoftwareIntro From the early days of the Zachman Framework to the more comprehensive TOGAF the architectural view model and the recent C model these models have offered architects and developers new approaches to software design and catered to the evolving industry demands Advanced frameworks like TOGAF and Zachman while providing a structured approach to software architecture can be difficult to implement effectively in practical scenarios The complexity of these frameworks often hinders architects and developers from extracting tangible value particularly in large scale intricate digital transformation projects The article aims is to sheds light on how newer models like C strive to strike a balance between complexity and practicality aiming to make a meaningful impact in the realm of software architecture Need for software architecture Shared language for developers architects and business stakeholders to discuss and understand complex system landscapesArchitecture models help in managing complexity by breaking down the system landscape into smaller manageable componentsReasoning about the current state and desired future state of software systems in complex enterprises Models facilitate planning and execution the software development processThe Power of PerspectiveEnterprise architecture and Software architecture are interconnected disciplines that center around the planning structure and administration of systems SA The focus is with respect to design and implementation of software systems The topics covers the system functional and non functional design and conceptualize logical architecture physical architecture deployment architecture and operational architecture The goal is to ensure the system design addresses the usability and operability also to ensure quality and reliability of the system EA The focus is with respect to strategic and tactical objective for the business growth Understand the underlying business process the data involved the system landscape and the underpinning technology stack The goal is to drive efficiency scalability and adaptability at the same time managing complexity reducing risks and facilitating decision making across the organization An architecture model is like a map or a plan that helps us understand how something is organized or put together The detailing could be at micro level component level An architecture framework on the other hand is like a set of rules or guidelines The detailing is at macro level An architecture framework provides a standardized structure methodology and set of tools for developing and managing architectures It typically includes a set of principles concepts and practices that guide the creation of architectural artifacts such as models diagrams and specifications A model can refer to a concrete set of views or diagrams describing a specific system landscape A model could include a context view data model view a component view an integration view and a deployment view also metamodel TOGAF is an enterprise architecture framework and C is a software architecture model Having said that the application domain of TOGAF has lot of overlapping with CModel Let s imagine we are tasked to build TIE Interceptor lego The building instruction are bundled into smaller groups and each smaller block of building provides a view of how the smaller component fits with the whole Tie Interceptor This smaller instruction for building an component is architecture Model Once we have built all the individual components the instruction of how we combine all the components to build the complete TIE interceptor is framework An architecture framework on the other hand is like a set of rules or guidelines that help us create and organize our LEGO creationsFocusing on individual meta model should help software team to understand and develop software for the problem in scope Choice wisely whether its Application domain of TOGAF or CModelFurther Read |
2023-06-05 06:02:17 |
医療系 |
医療介護 CBnews |
日医の常任理事選、4人が立候補-25日承認へ |
https://www.cbnews.jp/news/entry/20230605151439
|
日本医師会 |
2023-06-05 16:00:00 |
医療系 |
医療介護 CBnews |
台風2号や前線による被災 避難先でも要介護認定が可能-サービス提供や報酬算定で柔軟な対応を 厚労省 |
https://www.cbnews.jp/news/entry/20230605145836
|
介護報酬 |
2023-06-05 15:20:00 |
金融 |
JPX マーケットニュース |
[東証]2023年3月期決算会社の定時株主総会開催日の集計結果について |
https://www.jpx.co.jp/news/1021/20230605-01.html
|
定時株主総会 |
2023-06-05 15:30:00 |
海外ニュース |
Japan Times latest articles |
South Korean support for building own nukes plummets, survey finds |
https://www.japantimes.co.jp/news/2023/06/05/asia-pacific/south-korea-nuclear-submarine-survey/
|
tests |
2023-06-05 15:31:23 |
海外ニュース |
Japan Times latest articles |
Nikkei tops 32,000 mark, hitting 33-year high on Wall Street surge |
https://www.japantimes.co.jp/news/2023/06/05/business/financial-markets/nikkei-index-33-year-high/
|
buying |
2023-06-05 15:28:18 |
ニュース |
BBC News - Home |
Russia says it thwarted major Ukrainian offensive |
https://www.bbc.co.uk/news/world-europe-65806152?at_medium=RSS&at_campaign=KARANGA
|
ukrainian |
2023-06-05 06:40:45 |
ニュース |
BBC News - Home |
Kathleen Folbigg: Woman jailed over infant deaths pardoned |
https://www.bbc.co.uk/news/world-australia-65806606?at_medium=RSS&at_campaign=KARANGA
|
folbigg |
2023-06-05 06:03:44 |
ニュース |
BBC News - Home |
Oil prices rise as Saudi Arabia pledges output cuts |
https://www.bbc.co.uk/news/business-65804768?at_medium=RSS&at_campaign=KARANGA
|
cutsother |
2023-06-05 06:31:42 |
ニュース |
BBC News - Home |
Bournemouth beach deaths: Police say they are keeping 'open mind' |
https://www.bbc.co.uk/news/uk-england-dorset-65807339?at_medium=RSS&at_campaign=KARANGA
|
bournemouth |
2023-06-05 06:06:47 |
IT |
週刊アスキー |
個人情報保護委員会、ChatGPTのOpenAIに注意喚起 要配慮個人情報の扱いなど |
https://weekly.ascii.jp/elem/000/004/139/4139567/
|
個人情報保護委員会、ChatGPTのOpenAIに注意喚起要配慮個人情報の扱いなど個人情報保護委員会は月日、生成AI「ChatGPT」などを提供するOpenAIに対し、個人情報の扱いに関して注意喚起を実施したと発表した。 |
2023-06-05 15:30:00 |
IT |
週刊アスキー |
Switch『なつもん! 20世紀の夏休み』クエスト要素やアイテムを紹介 |
https://weekly.ascii.jp/elem/000/004/139/4139617/
|
nintendo |
2023-06-05 15:45:00 |
IT |
週刊アスキー |
夏はみなとみらいを満喫! クラフトビールで乾杯&ドッグランで愛犬との交流 |
https://weekly.ascii.jp/elem/000/004/139/4139590/
|
baywalkmarket |
2023-06-05 15:30:00 |
IT |
週刊アスキー |
一年の時を経てリベンジ! 「ヨネダ2000×ダウ90000×10億円『18京』」7月30日開催 ルミネtheよしもと |
https://weekly.ascii.jp/elem/000/004/139/4139600/
|
月日 |
2023-06-05 15:20:00 |
IT |
週刊アスキー |
ネオジャパン、ビジネスチャット「ChatLuck」にてChatGPT連携を夏頃に開始 |
https://weekly.ascii.jp/elem/000/004/139/4139616/
|
chatgpt |
2023-06-05 15:45:00 |
IT |
週刊アスキー |
お値打ち「まかない丼」を平日限定で 646円で鮪の希少部位【小僧寿し】 |
https://weekly.ascii.jp/elem/000/004/139/4139584/
|
小僧寿し |
2023-06-05 15:15:00 |
IT |
週刊アスキー |
余剰食材をおいしく活用! ローソン「手巻寿司 漬まぐろ」お値打ち価格で販売 |
https://weekly.ascii.jp/elem/000/004/139/4139587/
|
食材 |
2023-06-05 15:45:00 |
IT |
週刊アスキー |
サントリー山崎から1本660円のプレミアムハイボール缶 100周年を記念した特別な商品 |
https://weekly.ascii.jp/elem/000/004/139/4139588/
|
数量限定 |
2023-06-05 15:30:00 |
マーケティング |
AdverTimes |
「コピーライターとして生きていこう」と決めた日から、続けてきたことと考えてきたこと 三島邦彦氏(電通 コピーライター) |
https://www.advertimes.com/20230605/article421984/
|
電通 |
2023-06-05 06:56:24 |
マーケティング |
AdverTimes |
70年代の資生堂の雑誌広告150点展示 ビジュアルとコピーの間の余白魅せる |
https://www.advertimes.com/20230605/article422089/
|
資生堂ギャラリー |
2023-06-05 06:36:20 |
コメント
コメントを投稿