投稿時間:2023-02-01 07:32:05 RSSフィード2023-02-01 07:00 分まとめ(32件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] テレワーク中「さぼった経験ある」65% ネットサーフィン、動画視聴を上回る1位は? https://www.itmedia.co.jp/business/articles/2302/01/news037.html itmedia 2023-02-01 06:30:00
IT ビジネス+IT 最新ニュース なぜマイクロソフト新社長はコンサルタント? 大規模人員削減と新人事から見える今後 https://www.sbbit.jp/article/cont1/105711?ref=rss 2023-02-01 06:40:00
IT ビジネス+IT 最新ニュース 立案者が再考する「Society5.0」の本質、科学イノベーション政策はどうあるべきか https://www.sbbit.jp/article/cont1/105518?ref=rss society 2023-02-01 06:10:00
Google カグア!Google Analytics 活用塾:事例や使い方 神機材DR07Xで簡単にハイレゾ/バイノーラル録音をする方法 https://www.kagua.biz/marke/podcast/20230201a1.html 録音 2023-01-31 21:00:36
AWS AWS Big Data Blog Visualize multivariate data using a radar chart in Amazon QuickSight https://aws.amazon.com/blogs/big-data/visualize-multivariate-data-using-a-radar-chart-in-amazon-quicksight/ Visualize multivariate data using a radar chart in Amazon QuickSightAt AWS re Invent we announced the general availability of two new Amazon QuickSight visuals small multiples and text boxes We are excited to add another new visual to QuickSight radar charts With radar charts you can compare two or more items across multiple variables in QuickSight In this post we explore radar charts its … 2023-01-31 21:22:42
AWS AWS Big Data Blog Migrate your indexes to Amazon OpenSearch Serverless with Logstash https://aws.amazon.com/blogs/big-data/migrate-your-indexes-to-amazon-opensearch-serverless-with-logstash/ Migrate your indexes to Amazon OpenSearch Serverless with LogstashWe recently announced the general availability of Amazon OpenSearch Serverless a new option for Amazon OpenSearch Service that makes it easy run large scale search and analytics workloads without having to configure manage or scale OpenSearch clusters With OpenSearch Serverless you get the same interactive millisecond response times as OpenSearch Service with the simplicity of … 2023-01-31 21:17:06
AWS AWS Big Data Blog Serverless logging with Amazon OpenSearch Service and Amazon Kinesis Data Firehose https://aws.amazon.com/blogs/big-data/serverless-logging-with-amazon-opensearch-service-and-amazon-kinesis-data-firehose/ Serverless logging with Amazon OpenSearch Service and Amazon Kinesis Data FirehoseIn this post you will learn how you can use Amazon Kinesis Data Firehose to build a log ingestion pipeline to send VPC flow logs to Amazon OpenSearch Serverless First you create the OpenSearch Serverless collection you use to store VPC flow logs then you create a Kinesis Data Firehose delivery pipeline that forwards the … 2023-01-31 21:12:09
Docker dockerタグが付けられた新着投稿 - Qiita 100daysofcode_day:log https://qiita.com/ks-developer/items/18ee32dfde366f700952 gitgub 2023-02-01 06:55:41
Docker dockerタグが付けられた新着投稿 - Qiita Docker Desktop for Macのボリュームのデータはどこに保存されるのか https://qiita.com/h_tyokinuhata/items/98f6293d4c8f890ddb79 docker 2023-02-01 06:31:40
海外TECH Ars Technica Apple’s focus on secrecy violated employee rights, US regulators find https://arstechnica.com/?p=1913818 apple 2023-01-31 21:38:27
海外TECH Ars Technica No more export licenses: US plans to fully cut off Huawei from chip suppliers https://arstechnica.com/?p=1913758 chips 2023-01-31 21:28:06
海外TECH Ars Technica US still has the worst, most expensive health care of any high-income country https://arstechnica.com/?p=1913812 countryus 2023-01-31 21:18:27
海外TECH Ars Technica How to tell if your cats are playing or fighting—and whether it’s a problem https://arstechnica.com/?p=1913275 occasional 2023-01-31 21:03:06
海外TECH MakeUseOf OpenAI Launches an AI Detector Tool to Counter ChatGPT-Generated Text https://www.makeuseof.com/openai-launches-ai-detector-counter-chatgpt/ chatgpt 2023-01-31 21:35:16
海外TECH MakeUseOf How to Install Metasploit on Ubuntu https://www.makeuseof.com/how-to-install-metasploit-on-ubuntu/ ubuntu 2023-01-31 21:31:16
海外TECH MakeUseOf The 6 Best Free AI Text to Art Generators to Create an Image From What You Type https://www.makeuseof.com/ai-text-to-art-generators/ painting 2023-01-31 21:31:16
海外TECH MakeUseOf How to Know Which Companies Are Good for Employees https://www.makeuseof.com/know-companies-good-for-employees/ employee 2023-01-31 21:15:15
海外TECH DEV Community Creating Custom API Endpoints in Salesforce with Apex https://dev.to/salesforcedevs/creating-custom-api-endpoints-in-salesforce-with-apex-2kj3 Creating Custom API Endpoints in Salesforce with Apex Part One SOAP based APIsSimple Object Access Protocol SOAP is a messaging protocol based on requests and responses using an XML format Although some legacy systems still use SOAP over SMTP the transport method typically used for SOAP requests is HTTP As an API protocol SOAP is platform and language agnostic allowing for two applications running on completely different systems to communicate with one another This post is part of a two part series covering how to create custom API endpoints in Salesforce with APEX In Part One we ll walk through how to create a SOAP based API endpoint for other applications to use when communicating with your Salesforce org A Brief Introduction to SOAPEach SOAP message is contained in an “envelope which has a header and a body The header contains application related information such as the date when the message was generated or ids related to the message context The body contains the actual message Here is an example SOAP message with a format that would be used for authenticating to Salesforce lt soapenv Envelope xmlns soapenv xmlns urn urn enterprise soap sforce com gt lt soapenv Header gt lt urn LoginScopeHeader gt lt urn organizationId gt lt urn organizationId gt lt urn portalId gt abcde lt urn portalId gt lt urn LoginScopeHeader gt lt soapenv Header gt lt soapenv Body gt lt urn login gt lt urn username gt johndoe lt urn username gt lt urn password gt mypassword lt urn password gt lt urn login gt lt soapenv Body gt lt soapenv Envelope gt Since each message has the same structure SOAP is system agnostic For example an application running on a Windows machine can send a message to another application running on a Unix based web server Though the message can be sent using SMTP or HTTP SOAP messages should ideally be sent with HTTPS with either simple or mutual authentication SOAP is mostly used to create an API or web service to exchange server to server information Therefore it is very important for the two systems to establish trust Salesforce provides multiple ways to accomplish authentication The relationship between SOAP and WSDLAlthough all SOAP messages have the same structure the SOAP specification doesn t define other aspects such as message format or transport protocol The Web Services Description Language WSDL describes the message formats transport details and operations of the web service The WSDL file can be considered a contract between the client and the service How to Create a SOAP based API in SalesforceNow that we have covered the fundamentals let s begin implementing our SOAP API Set up a Salesforce orgFirst you need a Salesforce org Salesforce provides free Developer edition orgs and signing up for one is straightforward Go to the sign up page and provide your details You should receive an invite link within a few minutes Creating a global class with ApexTo create a SOAP web service in Salesforce we will need to create a globally defined Apex custom class In our class we ll use the webservice keyword and static definition modifier for every method we want to expose Adding the webservice keyword automatically gives global access to the method it is added to In order to create this class in our shiny new org we go to Setup and then find Custom Code gt Apex Classes In the table listing existing classes we click New To learn more about Apex and how to create classes check out this Trailhead page and the Apex documentation Below we have a sample ContactAPI class that exposes a createContact method used to create new Contact records in Salesforce The method accepts a Contact s details as parameters and inserts a new Contact record If successful it returns the ID of the newly created Contact along with a message In case of a failure it returns an error message Please copy the code and paste it into the newly created empty class global class ContactAPI webservice static String createContact String firstName String lastName String contactEmail String salutation try Contact newContact new Contact newContact Salutation salutation newContact FirstName firstName newContact LastName lastName newContact Email contactEmail insert newContact return Successfully inserted new Contact Id String valueOf newContact Id catch Exception e return Error e getMessage Next we click Save That s it Our web service is ready for operations We have successfully created a SOAP API in Salesforce Generate the WSDLWe now need to generate a WSDL file and provide it to the external application or third party developers which can then consume it to call our createContact method Salesforce provides two out of the box WSDL files to integrate client applications with Salesforce The Enterprise WSDL is optimized for a single Salesforce org It s strongly typed meaning it contains objects and field definitions for this particular org Whenever there is a change in the metadata object and or fields in the Salesforce org a new WSDL needs to be generated and provided to the client to consume again The Partner WSDL is optimized for use with many Salesforce orgs It s loosely typed and it doesn t change based on an org s specific configuration In order to utilize our web service we ll use the WSDL for our Apex class to actually call our web service and we ll use the Enterprise WSDL to authenticate to Salesforce After creating our ContactAPI class we see it show up in the list of Apex classes In the row for ContactAPI we click on the WSDL link to generate a WSDL This will open a new tab with our WSDL which will look similar to this We save this file to our local machine naming it contactAPI wsdl xml To generate the Enterprise WSDL for our Salesforce org we go to the Setup page and then find Integrations gt API Then we click on Generate Enterprise WSDL Your generated WSDL should look similar to this We save this file to our local machine naming it enterprise wsdl xml To generate the WSDL for your Apex Class Go to the Setup page Type and select Apex Classes Find your class In our case it s ContactAPI Click on the name On the next screen you will have the class page where you have the Generate WSDL button Test and validateTo ensure that the web service works we ll consume it by calling it from our web application and see if it responds correctly We ll also cover how to validate our API with unit testing Consume the APIFor the purpose of this demo we ll use SoapUI which is an open source tool to test SOAP and other protocols web services With SoapUI installed and running we create a new SOAP Project providing a name and selecting our enterprise wsdl xml file as the initial WSDL We now have all available Salesforce SoapBindings listed on the left First we need to authenticate our web application to Salesforce We do this by using the login call and providing our login credentials Use a security tokenFor added security we also need to add a Security Token to our password to authenticate We can get a security token by going to the Settings page and selecting Reset My Security Token on the left Then press the button with the same name We will then receive our security token by email Log in with the token and credentialsWith our token in hand we select the login SoapBinding in SoapUI Ensure you have the correct URL depending on your org If you just signed up for a developer account the URL should be If you are testing this in a Sandbox then the URL should be Ideally the generated Enterprise WSDL will already have the correct URL For demo testing we can comment out all other parameters except username and password We press the green Play button on the top left of the window to send the request We receive a response that looks like this The critical pieces that we are looking for in the response are sessionId and serverUrl In order to call our web service we need to provide the sessionId together with other parameters in our call We copy down this sessionId as we will need this later Call our SOAP APILet s call our ContactAPI class and create a Contact in Salesforce To do this we need to add our ContactAPI WSDL file contactAPI wsdl xml to our project We right click on the project folder and select Add WSDL After adding the WSDL it also appears in the left menu like below Double click on Request to see the request For this example we can remove everything from the SOAP envelope header except for the SessionHeader with sessionId node After removing the unwanted nodes we provide the sessionId that we copied from our login call earlier Then in the Body section of the envelope we provide the details of the contact to be created We press the green Play button on the top left Vóila We have successfully created a Contact in Salesforce and received its Id Check Salesforce org for new contactLet s look inside our Salesforce org to see if everything was created correctly We go to our Salesforce org click the App Launcher waffle icon on the left and then type Contact in the search bar to find and select Contacts By default we land on the Contacts page with the Recently Viewed Contacts list view Click the down arrow and select either All Contacts or My Contacts list view Note If you are in a Developer org you will see a bunch of dummy Contacts and other records that Salesforce creates for you to test the platform We type the name of our newly created contact in the list search box on the right and we see our new contact When we click on the Contact name we end up on the Details page for that Contact Call our SOAP API with invalid dataLastly in order to ensure that our API is working properly let s send a bad request to see what we get as a response We ll simply send another request to our SOAP web service but this time replace the in the email address with a instead This time we receive an error message as we programmed in the API The entire error message reads like this Error Insert failed First exception on row first error INVALID EMAIL ADDRESS Email invalid email address sheila gmail com Email This shows that our SOAP based API is working as designed With this foundation we can build other SOAP based APIs to create records for different objects Unit TestingBesides consuming our SOAP based API another way to validate it works properly is through testing Test Driven Development TDD is at the core of Salesforce development To ensure stability and reliability of the platform Salesforce requires your custom code to have a minimum of code coverage via unit tests in order to deploy it to a production environment Let s create some unit tests for our web service isTestprivate class TestContactWebService static testMethod void testInsertNewContact Create test data for positive test String salutation Mr String firstName Max String lastName Bond String emailAddress m bond mi gov uk Test startTest Call the method with parameters String result ContactAPI createContact firstName lastName emailAddress salutation Test stopTest Contact newContact SELECT FirstName FROM Contact WHERE LastName Bond System assertEquals newContact FirstName Max Assert Error Please check the ContactAPI class static testMethod void testInsertNewContactFail Create test data for failing test String salutation Mr String firstName Max String lastName Bond The email address has instead of String badEmailAddress m bond mi gov uk Test startTest Call the method with parameters String result ContactAPI createContact firstName lastName badEmailAddress salutation Test stopTest This should contain the Error substring that we added to the catch block above System assert result contains Error Fail Assert Error Please check the ContactAPI class In our unit test we created two scenarios a “happy path that verifies valid inputs result in a newly created Contact record and a “sad path where we expect the API to return an error on invalid inputs Salesforce also provides a Trailhead on unit testing in Apex ConclusionIn this post we only scratched the surface in terms of the capabilities that Salesforce provides when it comes to SOAP As we saw the generated Enterprise WSDL makes a long list of SoapBindings available In addition we can create our own custom classes and SOAP based web services If you have a legacy application that uses SOAP to communicate with other systems you now have the tools to connect that application to your Salesforce org With enterprise level security baked into the platform you can be sure that your connection is safe and your data is protected In Part Two of our series we ll cover REST APIs demonstrating how to use Apex to create a custom REST API endpoint for our Salesforce org 2023-01-31 21:41:53
海外TECH DEV Community Top 7 Featured DEV Posts from the Past Week https://dev.to/devteam/top-7-featured-dev-posts-from-the-past-week-3id8 Top Featured DEV Posts from the Past WeekEvery Tuesday we round up the previous week s top posts based on traffic engagement and a hint of editorial curation The typical week starts on Monday and ends on Sunday but don t worry we take into account posts that are published later in the week Should Developers Specialize or Generalize After Twitter replies codewithvoid is ready to summarize the arguments for and against specializing and generalizing Check out the poll results here Should Developers Specialize or Generalize Void・Jan ・ min read career beginners webdev codenewbie Optimal Images in HTMLIt can seem pretty straightforward to just add your images in using background image but steve shares how you can better optimize your images for performance in this post Optimal Images in HTML Steve Sewell for Builder io・Jan ・ min read html css performance webdev Things to Do and Not Do During a Wave of Tech LayoffsMeta Amazon Microsoft and Google have all announced massive layoffs and many of us are affected With this helpful advice from codepo we re encouraged to handle the situation as gracefully as can be Things to do and not to do during a wave of tech layoffs Christian Heilmann・Jan ・ min read techlayoffs jobs tips Killer JavaScript One Liners That ll Save You Hours of CodingThe title says it all in this post nfrankel offers up essential time saving JS one liners The quest for REST Nicolas Frankel・Jan ・ min read rest api hateoas Creating the Effect of Traveling Through SpaceWith a bit of math and a trick using perspective you too can be flying amongst the stars eyudinkov shares how to create the effect of traveling through space using JavaScript and Canvas Creating the effect of traveling through space Eduard Iudinkov・Jan ・ min read javascript algorithms canvas Essential Design Patterns in JavaDesign patterns are reusable solutions to common software design problems They provide a way to organize and structure code in a consistent and efficient manner Here cliffsilla breaks down some of the most common patterns Essential Design Patterns in Java Clifford Silla・Jan ・ min read java designpatterns programming beginners Why I Decided to Invest in My Portfolio as a Junior DeveloperWith a portfolio you have the opportunity to let others know what you re all about beyond just listing off your projects As viktoriabors says It s not just about showing your technical skills it s about telling a story and showcasing your personal development Why I Decided to Invest in My Portfolio as a Junior Developer Viktoria Bors Pajuste・Jan ・ min read webdev career codenewbie help That s it for our weekly Top for this Tuesday Keep an eye on dev to this week for daily content and discussions and be sure to keep an eye on this series in the future You might just be in it 2023-01-31 21:35:03
Apple AppleInsider - Frontpage News EA kills off Apex Legends Mobile and Battlefield Mobile https://appleinsider.com/articles/23/01/31/ea-kills-off-apex-legends-mobile-and-battlefield-mobile?utm_medium=rss EA kills off Apex Legends Mobile and Battlefield MobileAfter reviewing player feedback game publisher Electronic Arts has chosen to end development on Apex Legends Mobile and Battlefield Mobile Apex Legends Source The VergeApex Legends Mobile which launched in May will continue to function until the game is sunset on May Read more 2023-01-31 21:47:04
海外TECH Engadget OpenAI's new tool may help you identify text written by ChatGPT https://www.engadget.com/openai-chatgpt-detection-tool-214506831.html?src=rss OpenAI x s new tool may help you identify text written by ChatGPTOpenAI has released a tool to help you determine whether text was more likely written by a human or AI However the ChatGPT maker warns that its equivalent of Blade Runner s Voight Kampff test can also get it wrong The tool includes a box where you can paste text that s at least characters long It will then spit out a verdict like “The classifier considers the text to be very unlikely AI generated or “The classifier considers the text to be possibly AI generated I tested it by prompting ChatGPT to write an essay about the migratory patterns of birds which the detection tool then described as “possibly AI generated Meanwhile it rated several human written articles as “very unlikely AI generated So although the tool could raise false flags in either direction my tiny sample size test suggests at least a degree of accuracy Still OpenAI cautions not to use the tool alone to determine content s authenticity it also works best with text of words or longer The startup has faced pressure from educators after the November release of its ChatGPT tool which produces AI written content that can sometimes pass for human writing The natural language model can create essays in seconds based on simple text prompts ーeven passing a graduate business and law exam ーwhile providing students with a tempting new cheating opportunity As a result New York public schools banned the bot from their WiFi networks and school devices OpenAIWhile ChatGPT s arrival has been a buzzed about topic of late even extending into media outlets eager to automate SEO friendly articles the bot is big business for OpenAI The company reportedly secured a billion investment earlier this month from Microsoft which plans to integrate it into Bing and Office OpenAI allegedly discussed selling shares at a billion evaluation late last year which would make it one of the most valuable US startups Although ChatGPT is currently the best publicly available natural language AI model Google Baidu and others are working on competitors Google s LaMDA is convincing enough that one former researcher threw away his job with the search giant last year by claiming the chatbot is sentient The human tendency to project feelings and consciousness onto algorithms is a concept we ll likely hear much about in the coming years Google has only released extremely constricted versions of its chatbot in a beta presumably out of ethical concerns With the genie out of the bottle it will be interesting to see how long that restraint lasts 2023-01-31 21:45:06
海外TECH Engadget PayPal is laying off 2,000 employees https://www.engadget.com/paypal-is-laying-off-2000-employees-212108119.html?src=rss PayPal is laying off employeesPayPal is about to become the latest tech company to lay off a substantial part of its workforce The payments firm announced Tuesday plans to cut approximately employees a number that equates to about seven percent of its total staff According to PayPal president and CEO Dan Schulman the layoffs will occur over the next few weeks with some parts of the company affected more than others “We will treat our departing colleagues with the utmost respect and empathy provide them with generous packages engage in consultation where required and support them with their transitions Schulman said “I want to express my personal appreciation for the meaningful contributions they have made to PayPal The company joins a growing list of tech companies that have announced layoffs in recent months Earlier this month Google disclosed plans to lay off employees or about around six percent of its global workforce Before that Microsoft said it would cut jobs Schulman like his counterparts at Microsoft Google and other tech firms blamed PayPal s layoffs on the “challenging macro economic environment the company finds itself in recently “While we have made substantial progress in right sizing our cost structure and focused our resources on our core strategic priorities we have more work to do he said It s worth noting the US economy has not entered into a recession yet At percent the national unemployment rate is at a year low and the gross domestic product grew over the last quarters Turning specifically to PayPal the company beat Wall Street expectations during its most recent earnings call with revenue and income increasing by percent and percent year on year respectively 2023-01-31 21:21:08
海外TECH CodeProject Latest Articles InferJS Library & Compiler https://www.codeproject.com/Articles/5353381/InferJS-Library-Compiler javascript 2023-01-31 21:42:00
海外科学 NYT > Science Polar Vortex Drives a Cold Snap in Asia https://www.nytimes.com/2023/01/27/world/asia/asia-extreme-cold-weather.html arctic 2023-01-31 21:46:14
ニュース BBC News - Home Four-year-old girl dies after reported dog attack https://www.bbc.co.uk/news/uk-england-64476833?at_medium=RSS&at_campaign=KARANGA keynes 2023-01-31 21:49:25
ニュース BBC News - Home Dominic Raab: Third senior civil servant gives evidence to bullying probe https://www.bbc.co.uk/news/uk-politics-64470946?at_medium=RSS&at_campaign=KARANGA dominic 2023-01-31 21:49:38
ニュース BBC News - Home Police inquiry into claims female corpses photographed at fire service https://www.bbc.co.uk/news/uk-england-dorset-64474666?at_medium=RSS&at_campaign=KARANGA accidents 2023-01-31 21:17:01
ニュース BBC News - Home Eurovision 2023: Liverpool hosts handover ceremony and semi-final draw https://www.bbc.co.uk/news/entertainment-arts-64332300?at_medium=RSS&at_campaign=KARANGA eurovision 2023-01-31 21:26:14
ニュース BBC News - Home Man Utd transfer news: Marcel Sabitzer at training ground to complete loan from Bayern Munich https://www.bbc.co.uk/sport/football/64471734?at_medium=RSS&at_campaign=KARANGA Man Utd transfer news Marcel Sabitzer at training ground to complete loan from Bayern MunichAustria midfielder Marcel Sabitzer is at Manchester United s Carrington training ground to complete a loan move from Bayern Munich 2023-01-31 21:45:13
ビジネス 東洋経済オンライン 遂に日本上陸、中国EV「BYD」参入に隠された裏事情 ガソリン車が圧倒的シェアの日本になぜ進出? | 中国・台湾 | 東洋経済オンライン https://toyokeizai.net/articles/-/649602?utm_source=rss&utm_medium=http&utm_campaign=link_back 日本市場 2023-02-01 06:40:00
ビジネス 東洋経済オンライン 「新NISA」って何?今さら聞けない基本の基本 最小100円から、1800万円無税、旧NISAと併用可 | 最新の週刊東洋経済 | 東洋経済オンライン https://toyokeizai.net/articles/-/648600?utm_source=rss&utm_medium=http&utm_campaign=link_back 少額投資非課税制度 2023-02-01 06:20:00
GCP Cloud Blog Save the Date: Google Cloud Next ‘23 is back August 29 - 31 https://cloud.google.com/blog/topics/google-cloud-next/save-the-date-google-cloud-next23/ Save the Date Google Cloud Next is back August Google Cloud Next is back in person August at the Moscone Center in San Francisco  Make the most of this must attend event where you can Learn about the latest Google advancements in AI data security productivity and moreExplore keynotes breakout sessions and demosTake part in hands on labs training and certification opportunities on siteHear updates on product roadmapsConnect with Google thought leaders in the executive meeting centerWe really hope you can make it live and in person in San Francisco Space is limited so mark your calendar for August If you aren t able to attend live select Next experiences will be made available digitally and on demand Sign up here for the latest information about Next and be among the first to know when registration opens See you in San Francisco 2023-01-31 21:30:00

コメント

このブログの人気の投稿

投稿時間:2021-06-17 22:08:45 RSSフィード2021-06-17 22:00 分まとめ(2089件)

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

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