IT |
気になる、記になる… |
Microsoft、「Surface Pro X (SQ1/SQ2搭載モデル)」向けに2022年6月度のアップデートをリリース |
https://taisy0.com/2022/06/22/158356.html
|
microsoft |
2022-06-22 10:28:06 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] 「いらすとや」の無償利用は何点まで? 「意外と知られていない」とTwitterで話題に |
https://www.itmedia.co.jp/news/articles/2206/22/news209.html
|
itmedia |
2022-06-22 19:18:00 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Pandas: データフレームについて--11: 重複データの処理 |
https://qiita.com/WolfMoon/items/057d36118ecfd83f0999
|
pandasaspddfpddataframea |
2022-06-22 19:08:16 |
golang |
Goタグが付けられた新着投稿 - Qiita |
goで画像のリサイズを行う |
https://qiita.com/icemint0828/items/3c854d8f0361abc36b55
|
icemint |
2022-06-22 19:35:28 |
海外TECH |
MakeUseOf |
8 Reasons Why You Need to Consider Installing a Dash Cam |
https://www.makeuseof.com/reasons-to-consider-dash-cam/
|
consider |
2022-06-22 10:20:13 |
海外TECH |
DEV Community |
How to Deploy the Qwik JavaScript Framework |
https://dev.to/brittneypostma/how-to-deploy-the-qwik-javascript-framework-ecd
|
How to Deploy the Qwik JavaScript FrameworkIn this tutorial I will show you how to deploy a Qwik application on Netlify There is a great step by step guide to deploying on Netlify for general use but this guide is specifically to show you how to deploy Qwik applications What is QwikQwik is currently in Beta at the time of writing and may have changes It is being developed by Miško Hevery and the team at Builder io Qwik is a resumable JavaScript framework that renders server side HTML to optimize performance It completely removes the hydration step that other frontend frameworks use The core principle of Qwik is to load as little JavaScript up front as possible and delay the execution of any other JavaScript on the page until it is needed This allows the application to progressively download code without a big bundle right away To make this work Qwik uses an Optimizer written in Rust to transform the code at build time Vite is used for Hot Module Replacement HMR and bundling code Qwik RenderingRendering on the web has swung like a pendulum from completely server side to all static We now have frameworks that can do hybrid rendering like Next js and SvelteKit However because Qwik needs to progressively load JavaScript to improve the performance it needs to be able to grab that from a server or server side rendering SSR This may not fit into the true Jamstack architecture but that doesn t mean it can t be hosted on Netlify Platforms like Netlify can take the server side code and use it as serverless or edge functions This is typically done with some type of adapter or plugin during the build step In Qwik s case it uses the Netlify Edge functions with a Vite plugin Read more about Netlify Edge here Getting Started with QwikThe quickest pun intended way to get started with a Qwik app that will be deployed to Netlify is to use the command line interface ーor CLI ーtool Type the following into a terminal to start the Qwik CLI npm init qwik latestThis command opens the CLI that will prompt you with the following Qwik CLIChoose your project type we are choosing a blank starter app to keep it simple Choose Netlify as your hosting provider Select packages you want configured automatically Eslint and prettier for linting and code formatting TailwindCSS is an option for styling Success Your Qwik app is created Follow the next steps to install the dependencies and run the project locally Running the Qwik AppOnce you have completed the steps in the CLI change directory cd into your newly created project and install the dependencies with a package manager The Qwik CLI suggests using npm cd qwik app namenpm install or yarn or pnpmThen you can run the dev server to see the site locally with the npm start command npm start or yarn or pnpm Starter ApplicationOnce through the steps of creating the application and installing the dependencies you are on your way to deploying the app If you used the CLI and chose Netlify as the hosting provider a netlify toml file already setup for you If you happened to start here you can create a netlify toml file in the root that has the code below in it build publish dist command npm run build Deploy Qwik Applications on NetlifyNetlify is a web developer platform that is known for making the web better by increasing productivity If you are not already a Netlify user go ahead and sign up for free There are two ways we can deploy a Qwik site to Netlify the Netlify CLI or a manual git deploy Netlify CLI deployThe Netlify CLI is a way to configure build test and deploy your sites without leaving the command line If you don t have the Netlify CLI installed run the following command to install it globally npm install netlify cli gOnce installed many commands can be ran with either the netlify command or ntl command for short First run the netlify login command to authenticate your Netlify account to the CLI This will open a browser window asking you to log in with Netlify and grant access to Netlify CLI To setup a new site using the CLI run netlify init This will guide you through the steps to get your site connected and deployed If you don t have your app connected to git the Netlify CLI will ask if you want to deploy it manually or connect to a repo Deploying manually will add more steps to avoid this you can add your site to a git provider before running netlify init Either connect to an existing Netlify site or create and configure a new site Choose the team you would like to add the site to Name your site or leave it blank for a random name Once this is done your site is created and your links are available but the site is not yet deployed Netlify will attempt to detect the build command and directory of the output for the app but it can be customized in the next steps For Qwik apps they are Specify your functions directory if you are using Netlify functions And success your site is deployed Once configured any new push to your git repository git push will trigger a new site build or by running netlify deploy prod Running netlify open will open the Netlify admin URL for your new Qwik app on Netlify Deploy a Qwik Site from GitIf you choose to do so you can also manually deploy a Qwik app on Netlify Once you have a git repository pushed navigate to the Sites page in your Netlify dashboard and click the button “Add new site A dropdown menu will appear that asks if you want to import an existing project start from a template or deploy manually To get a site from git you should choose the Import an existing project option That will bring you to a screen to connect your Git provider Choose the provider where the git repository for your app is located then Netlify will authenticate and pop up a search for your available repos Choose your repository and Netlify will auto detect the framework and populate the build command and publish directory If there is a custom build you can edit the settings on this screen Click the Deploy site button and Netlify will begin deploying your application Now your Qwik app is live That s it now you have a Qwik app deployed to Netlify Remember if your experience is different from anything written here or something didn t work as expected please let us know about it here and we will help you or answer any questions you have |
2022-06-22 10:37:47 |
海外TECH |
DEV Community |
Why you should learn TypeScript today |
https://dev.to/omerwow/why-you-should-learn-typescript-today-dmo
|
Why you should learn TypeScript today TypeScript makes code easier to read and understand When you use TypeScript you can see the types of variables and functions as you re writing your code This helps you to understand what your code is doing and makes it easier to find bugs type annotations also make it easier for other developers to understand your code TypeScript can help you catch bugs early Because TypeScript is a typed language the TypeScript compiler can catch errors in your code before you even run it This means that you can find and fix bugs more quickly and your code will be more reliable TypeScript is easy to learn for existing JavaScript developers If you know JavaScript then you already know the syntax of TypeScript You can start using TypeScript immediately without learning a new language And because TypeScript is a superset of JavaScript any existing JavaScript code will work with TypeScript without any changes The TypeScript compiler is available for free The TypeScript compiler is open source and available for free from Microsoft You can use the compiler in any project without paying any license fees And because the compiler is written in TypeScript it s easy to extend and customize for your own needs TypeScript is a superset of JavaScript that compiles to clean JavaScript output TypeScript is a typed superset of JavaScript that compiles to plain JavaScript Any browser Any host Any OS Open source BackgroundJavaScript is a dynamic language with a loosely typed system This can lead to some issues as your code scales in size and complexity TypeScript is a typed superset of JavaScript that compiles to plain JavaScript This means that you can use TypeScript with any existing JavaScript code and be confident that it will run correctly TypeScript also offers strong typing and other features that can make your code more robust and easier to maintain In this article we ll take a look at some of the key features of TypeScript and how they can help you write better code TypesOne of the most important features of TypeScript is the ability to define types for your variables functions and classes By using types you can add an extra level of safety to your code and make sure that you re always working with the correct data type For example let s say you have a function that takes an array of numbers and returns the sum of all the numbers in the array With TypeScript you could define the type of the input parameter as follows function sum numbers number This way if you try to pass anything other than an array of numbers into the function you ll get an error from the TypeScript compiler This can help you catch bugs early on and make sure your code is always running correctly ClassesIn addition to variables and functions you can also use types with classes in TypeScript For example here s a simple class definition class Point You can then create instances of this class and specify their types let point Point new Point By adding types to your classes you can again catch bugs early on and ensure that your code is always running correctly InterfacesIn addition to classes TypeScript also has interfaces which are used to define contracts within your codebase Interfaces allow you to specify what methods and properties a class must have in order for it to be considered as implementing the interface For example let s say you have an interface called Shape with a method called area You could then create a class called Square that implements this interface class Square implements Shape If you try to create a Square instance but forget to implement the area method you ll get an error from the TypeScript compiler letting you know that something is wrong This helps you avoid accidentally introducing bugs into your code by forgetting to implement required methods or properties TypeScript adds optional types classes and modules to JavaScript TypeScript is designed for the development of large applications and transcompiles to JavaScript TypeScript adds optional types classes and modules to JavaScript These features can be used by developers to help prevent errors in their code and to make their code more maintainable TypeScript supports tools for largescale JavaScript applications for any browser host and OS The TypeScript type system allows developers to catch errors during compilation time In this blog post we ll take a closer look at the TypeScript type system and how it can help you write better code When you re writing code in TypeScript you ll often see the following two terms Static type checking This is the process of checking the correctness of your program at compile time Type inference This is the process of automatically inferring the types of variables and expressions based on their usage Static type checking is what enables the TypeScript compiler to catch errors during compilation time With static type checking you can catch errors such as misspelled variable names calling a function with the wrong number or type of arguments accessing an object property that doesn t exist etc Type inference is what allows TypeScript to automatically infer the types of variables and expressions based on their usage This is a big advantage over JavaScript which doesn t have this feature With type inference you don t have to explicitly declare the types of your variables and expressions The TypeScript compiler will automatically infer their types based on their usage For example consider the following code let x The type of x is inferred to be number let y foo The type of y is inferred to be string let z x y The type of z is inferred to be string In this code we don t explicitly declare the types of our variables x y and z However we can see from their usage that the types of x and y are number and string respectively Similarly we can see that the type of z must be string since it s the result of adding two values with different types x is a number and y is a string Type inference is a powerful tool that can help you write cleaner and more concise code In many cases you won t even need to explicitly declare the types of your variables and expressions The TypeScript compiler will automatically infer their types based on their usage Many popular libraries are written in TypeScript including AngularJS Ionic and LodashIf you are interested in learning TypeScript there are many resources available online including the TypeScript documentation tutorials and webcasts Additionally there are many IDEs and text editors that support TypeScript development If you re not already using TypeScript you re missing out on one of the best parts of the JavaScript ecosystem Not only will TypeScript make you a more proficient JavaScript developer but it also comes with a lot of benefits that can make your life easier So what are you waiting for Start learning TypeScript today Help us out by starring our Github repo And join the discussion in our Discord channelTest your API for free now at BLST |
2022-06-22 10:25:57 |
海外TECH |
DEV Community |
Git 101: Rename default branch from master to main |
https://dev.to/chefgs/git-101-rename-default-branch-from-master-to-main-5bf4
|
Git Rename default branch from master to main How to rename master to main in Github Table of ContentsContext settingStep Rename master to main in local repoStep Rename the branch master to main in remoteStep Swap default branch setting in Github UIStep Finally delete the master branch from remoteSteps to rename the other users local repoConclusionReferences Context settingAs part of adopting the Open Source Inclusive Naming Initiative it is recommended to change the default branch name from master to main in Source Code Management tools So recently I ve renamed one of my repo s default branch from master to main This blog captures the steps to rename the branch and change the default branch name to new renamed branch Renaming of branch can be done by Git Admins Otherwise user has to be the owner of the repo or collaborator with appropriate permission to perform the branch renaming Step Rename master to main in local repoAs per Git branch documentation we can use git branch m command to rename the branch cd lt local repo dir gt git branch m master main Step Rename the branch master to main in remoteRemote repo is the repo stored in SCM serverAfter we changed the name of repo we need to push the changed repo name to remote using git push u command git push u origin mainTotal delta reused delta pack reused remote remote Create a pull request for main on GitHub by visiting remote remote To github com chefgs terraform repo git new branch main gt mainBranch main set up to track remote branch main from origin Step Swap default branch setting in Github UINow we have to swap the default branch from master to main so we can permanently delete the old branch name to avoid any future confusionsFollow the steps below to swap the default branch name in GitHub SCM Go to repo settings tab and choose branches from left side paneChoose the branch swap icon to change the branchIt will show the list of branches Choose main here and Click on updateIt will show a warning for changing the default branch name so accept the warning to confirmSo the default branch name is changed to mainUsers needs to follow the SCM tool specific steps to change the default branch name Step Finally delete the master branch from remoteNow we changed the default branch name to main So delete the master branch from remote repo git push origin delete masterTo github com chefgs terraform repo git deleted master Steps to rename the other users local repoIn case if the same repo is checked out and used by other people or team members then following the steps below will be useful for changing the users local branch to main cd lt repo dir name gt Switch to the master branch git checkout master Rename it to main git branch m master main Get the latest commits and updates from the remote git fetch Remove the existing connection with origin master git branch unset upstream Create a new tracking connection with the new origin main branch git branch u origin main ConclusionHope this blogs is helpful to know the commands and steps involved in renaming master branch to main Post your queries in my social handles ReferencesGit DocsReference Article Community and Social FootprintsDevGitHubLinkedInTwittergsaravanan dev |
2022-06-22 10:13:09 |
Apple |
AppleInsider - Frontpage News |
Tim Cook says 'stay tuned' for how Apple will evolve AR with 'humanity' |
https://appleinsider.com/articles/22/06/22/tim-cook-says-stay-tuned-for-how-apple-will-evolve-ar-with-humanity?utm_medium=rss
|
Tim Cook says x stay tuned x for how Apple will evolve AR with x humanity x Apple CEO Tim Cook has repeated how excited he is by AR but now also emphasized how the company is working to make products that put humanity at the center of it Tim Cook has regularly spoken about being excited over AR and what it can offer without ever detailing anything about Apple AR plans In a short new interview though he has both talked up the future of AR and made it clear where Apple sees the challenges of it In this ChinaDailyUSA interview tim cook was asked about AR and VR headsets watch his response Reality is coming mingchikuo Scobleizer CharlieFink SkarredGhost CapStark pic twitter com tJzjdBVB mdash Cæsar cesarberardini June Read more |
2022-06-22 10:37:36 |
海外TECH |
Engadget |
Meta, Microsoft, Epic Games and others join forces to develop metaverse standards |
https://www.engadget.com/meta-microsoft-epic-games-metaverse-standards-104553249.html?src=rss
|
Meta Microsoft Epic Games and others join forces to develop metaverse standardsA group of companies including some of the biggest names in tech and the internet have banded together to develop interoperability standards needed to achieve an open metaverse The organization is called Metaverse Standards Forum and its founding members include Meta Microsoft Huawei NVIDIA Qualcomm Sony Interactive Entertainment Epic Games Unity and Adobe As Reuters notes one company that s conspicuously missing from the list is Apple Multiple reports have come come out these past few years that Apple is releasing its own virtual or augmented reality headset and it s expected to become a major player in the metaverse when the device becomes available Yet another big name that s missing from the list is Google which is also reportedly working on an AR headset codenamed Project Iris Niantic the developer of Pokémon Go and Roblox aren t in the list of members as well That said membership is free and open to any organization so more companies could join later on As with any standard one for the metaverse would only be considered a success if companies especially the biggest players in the industry adopt them quot Multiple industry leaders have stated that the potential of the metaverse will be best realized if it is built on a foundation of open standards quot the forum wrote in its press release The group also said that it will focus on quot pragmatic action based projects quot Those include conducting hackathons and working on open source tools designed to accelerate the testing and adoption of metaverse standards And while companies can join anytime members are expected to start forum meetings this July nbsp |
2022-06-22 10:45:53 |
ラズパイ |
Raspberry Pi |
The names of the new Astro Pi computers get revealed |
https://www.raspberrypi.org/blog/new-astro-pi-computer-names-mission-zero-2021-22/
|
The names of the new Astro Pi computers get revealedWe and our collaborators at ESA Education are excited to announce that programs written by young people from countries have been successfully deployed on board the International Space Station ISS for the European Astro Pi Challenge And we can finally reveal the names of the two new and upgraded Astro Pi computers The post The names of the new Astro Pi computers get revealed appeared first on Raspberry Pi |
2022-06-22 10:10:16 |
医療系 |
医療介護 CBnews |
看護の専門性発揮してタスク・シェア推進-日看協がガイドライン |
https://www.cbnews.jp/news/entry/20220622185547
|
働き方改革 |
2022-06-22 19:25:00 |
医療系 |
医療介護 CBnews |
光熱費上昇への補助、四病協が23日にも要望-入院時食事療養費の引き上げ要望は27日 |
https://www.cbnews.jp/news/entry/20220622185444
|
入院時食事療養費 |
2022-06-22 19:20:00 |
医療系 |
医療介護 CBnews |
内服薬の投薬日数急増、「調剤医療費の動向」に-コロナの影響明らか、21年度やや減も高止まり |
https://www.cbnews.jp/news/entry/20220622181130
|
厚生労働省 |
2022-06-22 19:15:00 |
海外ニュース |
Japan Times latest articles |
Strong earthquake kills at least 950 in Afghanistan |
https://www.japantimes.co.jp/news/2022/06/22/asia-pacific/afghanistan-earthquake-khost/
|
mountain |
2022-06-22 19:00:51 |
ニュース |
BBC News - Home |
UK inflation hits 9.1% as prices rise at fastest rate for 40 years |
https://www.bbc.co.uk/news/business-61891649?at_medium=RSS&at_campaign=KARANGA
|
bread |
2022-06-22 10:31:33 |
ニュース |
BBC News - Home |
Afghan earthquake: At least 920 people killed and 600 wounded, officials say |
https://www.bbc.co.uk/news/world-asia-61890804?at_medium=RSS&at_campaign=KARANGA
|
india |
2022-06-22 10:50:18 |
ニュース |
BBC News - Home |
Chancellor Rishi Sunak defends likely pensions rise |
https://www.bbc.co.uk/news/uk-politics-61894368?at_medium=RSS&at_campaign=KARANGA
|
criticism |
2022-06-22 10:45:44 |
ニュース |
BBC News - Home |
Plan to reverse European Court Rwanda rulings |
https://www.bbc.co.uk/news/uk-politics-61887933?at_medium=RSS&at_campaign=KARANGA
|
proposals |
2022-06-22 10:44:22 |
ニュース |
BBC News - Home |
Bulldozer crushes 100 seized vehicles in New York |
https://www.bbc.co.uk/news/world-us-canada-61893748?at_medium=RSS&at_campaign=KARANGA
|
streets |
2022-06-22 10:39:27 |
ニュース |
BBC News - Home |
The Open: Players who have joined LIV Golf series permitted to play at St Andrews |
https://www.bbc.co.uk/sport/golf/61894178?at_medium=RSS&at_campaign=KARANGA
|
The Open Players who have joined LIV Golf series permitted to play at St AndrewsPlayers who have joined the Saudi Arabian backed LIV Golf series will be allowed to play at The Open at St Andrews next month |
2022-06-22 10:17:12 |
ニュース |
BBC News - Home |
Commonwealth Games 2022: Team England names 72-strong athletics squad |
https://www.bbc.co.uk/sport/commonwealth-games/61895206?at_medium=RSS&at_campaign=KARANGA
|
Commonwealth Games Team England names strong athletics squadDina Asher Smith and Katarina Johnson Thompson will headline a strong England athletics team at the Commonwealth Games in Birmingham |
2022-06-22 10:17:02 |
ニュース |
BBC News - Home |
What is the UK's inflation rate and why is the cost of living going up? |
https://www.bbc.co.uk/news/business-12196322?at_medium=RSS&at_campaign=KARANGA
|
inflation |
2022-06-22 10:10:28 |
北海道 |
北海道新聞 |
市場は物価高対策に関心、参院選 現状不満、利上げは反対 |
https://www.hokkaido-np.co.jp/article/696836/
|
市場関係者 |
2022-06-22 19:46:00 |
北海道 |
北海道新聞 |
競泳の花車、武良が予選突破 世界水泳第5日 |
https://www.hokkaido-np.co.jp/article/696835/
|
世界水泳 |
2022-06-22 19:46:00 |
北海道 |
北海道新聞 |
大崎事件、再審認めず 第4次請求で、鹿児島地裁 |
https://www.hokkaido-np.co.jp/article/696829/
|
大崎事件 |
2022-06-22 19:31:56 |
北海道 |
北海道新聞 |
国内1万7285人感染 15人死亡、新型コロナ |
https://www.hokkaido-np.co.jp/article/696832/
|
新型コロナウイルス |
2022-06-22 19:40:00 |
北海道 |
北海道新聞 |
UCC上島珈琲が値上げへ 9月以降36品目、7~20% |
https://www.hokkaido-np.co.jp/article/696821/
|
神戸市 |
2022-06-22 19:25:17 |
北海道 |
北海道新聞 |
逮捕術、鍛錬の成果競う 道警が3年ぶり大会開催 |
https://www.hokkaido-np.co.jp/article/696830/
|
札幌市豊平区 |
2022-06-22 19:38:30 |
北海道 |
北海道新聞 |
道南や太平洋側西部で24日から大雨 土砂災害や浸水に注意 |
https://www.hokkaido-np.co.jp/article/696826/
|
土砂災害 |
2022-06-22 19:28:00 |
北海道 |
北海道新聞 |
与野党党首、物価高対応アピール 防衛費増額に懸念の声も |
https://www.hokkaido-np.co.jp/article/696825/
|
防衛費 |
2022-06-22 19:26:00 |
北海道 |
北海道新聞 |
噴火湾北西部のホタテ出荷自主規制 貝毒の規制値超える |
https://www.hokkaido-np.co.jp/article/696824/
|
自主規制 |
2022-06-22 19:20:00 |
北海道 |
北海道新聞 |
石川知事、大雨には「早め対応」 地震被災地を視察 |
https://www.hokkaido-np.co.jp/article/696823/
|
馳浩 |
2022-06-22 19:17:00 |
北海道 |
北海道新聞 |
トヨタ、7月世界生産80万台 部品不足響き5万台減産 |
https://www.hokkaido-np.co.jp/article/696822/
|
部品 |
2022-06-22 19:17:00 |
北海道 |
北海道新聞 |
道内有権者447万5千人 前回から10万7千人減少 |
https://www.hokkaido-np.co.jp/article/696819/
|
選挙人名簿 |
2022-06-22 19:15:00 |
北海道 |
北海道新聞 |
在ロシア米大使館住所、名称変更 親ロ派由来に、モスクワ市決定 |
https://www.hokkaido-np.co.jp/article/696815/
|
由来 |
2022-06-22 19:03:00 |
コメント
コメントを投稿