Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Googleフォームに送信された写真をメールに転送と回答者に自動返信したいです。 |
https://teratail.com/questions/352323?rss=all
|
私が実現したいことGoogleフォームに、回答者がアップロードした写真もメールに転送、そして回答者に自動返信したいです。 |
2021-08-02 01:58:12 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
マイニングにおける最適なdifficultyの決定方法 |
https://teratail.com/questions/352322?rss=all
|
マイニングにおける最適なdifficultyの決定方法お世話になります。 |
2021-08-02 01:58:00 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
スプレッドシートの文字を利用した複数選択肢と申込数に応じた定員制限 |
https://teratail.com/questions/352321?rss=all
|
スプレッドシートの文字を利用した複数選択肢と申込数に応じた定員制限前提・実現したいことプログラム初心者です。 |
2021-08-02 01:43:15 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
LINE Messaging API利用時のエラー(400 Bad Request)が解消できない |
https://teratail.com/questions/352320?rss=all
|
|
2021-08-02 01:36:52 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
UnityでプロジェクトがUnityhubから開けなくなった、復元したいです |
https://teratail.com/questions/352319?rss=all
|
UnityでプロジェクトがUnityhubから開けなくなった、復元したいです前提・実現したいことUnity超初心者です。 |
2021-08-02 01:17:52 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Ruby on rails のcredentials のymlファイルからvalueを取り出せないです。 |
https://teratail.com/questions/352318?rss=all
|
Rubyonrailsのcredentialsのymlファイルからvalueを取り出せないです。 |
2021-08-02 01:04:58 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Angularの?.演算子(Safe Navigation Operator)をあえて使用しない場合はどんな状況ですか? |
https://teratail.com/questions/352317?rss=all
|
Angularの演算子SafeNavigationOperatorをあえて使用しない場合はどんな状況ですかAngularについて勉強中です。 |
2021-08-02 01:00:54 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
【第9章】Railsチュートリアルでbcryptとfixtureについて忘れていたので復習した |
https://qiita.com/Abblepai/items/a40a8524936e26f69e6a
|
・bcryptアルゴリズムではハッシュ化する前にソルト化されたハッシュを追加している。 |
2021-08-02 01:30:11 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
AWS DeepRacerを使ってみた |
https://qiita.com/aaaaaaaaaaaaaaaaaa/items/d7ddeea9d493a86a060f
|
DeepRacerの概要DeepRacerとはお金はかかるの開発者は何をするのなどなどDeepRacerを利用してみたモデルの作成からDシミュレーションのリーグ参戦まで※モデル・・・ざっくり言えば、人工知能の処理を行うプログラムのことDeepRacerとは強化学習を使用してレーシングカーをレーシングコースに自走させて、他のユーザと競ったり、タイムアタックなどを行うサービス強化学習というか、人工知能の知識はあまり要らないただし、強化学習の概要程度は知っていると今後の理解が早くなると思うDeepRacerは、物理的なレーシングカーに強化学習モデルを搭載して走らせたり、Dシミュレーター上で走らせたりする以下はDシミュレーターで動かしているイメージAWS内でDeepRacerのモデルの作成・学習・評価を一気通貫で行うことが出来るDeepRacerは学習等の処理の裏でAWSSageMaker、AWSRoboMakerを利用するため、SageMaker、RoboMakerからDeepRacerの開発も可能年月時点では、バージニア北部のリージョンのみ利用可能DeepRacerのリーグについてDeepRacerではリーグと呼ばれる他のDeepRacerユーザと競い合うイベントがあるリーグはオープン部門、プロ部門があるオープン部門は基本的に誰でも参加可能で月単位で開催している物や年単位で開催している物がある「使ってみた」の章でも記載するが、参加とレースはとても簡単・月単位で開催しているリーグ年月現在・年単位で開催しているリーグ年月現在オープン部門のリーグで上位にランクインすると次の月からプロ部門に参加可能プロ部門にて月ごとのレースの終わりに上位位に入っているレーサーはプロフィナーレと呼ばれるレースへの参加資格を得ることが出来て、そのレースに上位位以内に入るとreInventにおけるAWSDeepRacerチャンピオンシップカップに出場するための旅費無料の招待旅行を獲得できる参考URL料金体系料金体系は以下の通りです。 |
2021-08-02 01:34:36 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
【第9章】Railsチュートリアルでbcryptとfixtureについて忘れていたので復習した |
https://qiita.com/Abblepai/items/a40a8524936e26f69e6a
|
・bcryptアルゴリズムではハッシュ化する前にソルト化されたハッシュを追加している。 |
2021-08-02 01:30:11 |
海外TECH |
DEV Community |
Seeding NestJs with Prisma And Faker |
https://dev.to/100lvlmaster/seeding-nestjs-with-prisma-and-faker-2fgn
|
Seeding NestJs with Prisma And FakerSeeding NestJs with Prisma And FakerI ve been working on this college project and I chose NestJs for the backend You could just Hasura or other BaaS platforms for small projects But I wanted to learn NestJs Note Usage with other ORMs might differ but will be almost the same because we ll be using a script What you ll need NestJs template for existing project setup with prisma as the default ORMAs someone once said ez commands got brrrr For NestJsgit clone projectcd projectyarn yarn add D prismanpx prisma init prisma scheme prismadatasource db provider postgresql url env DATABASE URL generator client provider prisma client js model User id Int id default autoincrement name Stringemail String uniquepassword String env DATABASE URL is set in env fileAfter that run yarn prisma generateyarn prisma migate dev initNow onto the actual seeder using faker for generating random data and dotenv to initialize environment variables yarn add D faker dotenvNow create the script prisma seed tsimport PrismaClient from prisma client import as faker from faker import as dotenv from dotenv const prisma new PrismaClient const fakerUser any gt name faker name firstName faker name lastName email faker internet email password faker internet password async function main const fakerRounds dotenv config console log Seeding Users for let i i lt fakerRounds i await prisma user create data fakerUser main catch e gt console error e finally async gt await prisma disconnect Add the seeder to our package json for ease of use scripts seed ts node prisma seed ts And then we run the seeder yarn seedThat s it The preview of the database Source code If you re a beginner don t be alarmed at the number of packages because devDependencies aren t bundled in the production build You can find me at |
2021-08-01 16:47:13 |
海外TECH |
DEV Community |
GitLab as your Continuous Deployment one-stop shop |
https://dev.to/nfrankel/gitlab-as-your-continuous-deployment-one-stop-shop-58bd
|
GitLab as your Continuous Deployment one stop shopThis week I want to take a break from my Start Rust series and focus on a different subject I ve already written about my blogging stack in detail However I didn t touch into one facet and that facet is how I generate the static pages from Jekyll As I describe in the blog post I ve included quite a couple of customizations Some of them require external dependencies such as A JRE for PlantUML diagrams generationThe graphviz package for the same reasonetc All in all it means that I require a fully configured system I solved this problem by using containerization namely Docker Within the Dockerfile I m able to install all required dependencies Then in my GitLab build file I can reference this image and benefit from all its capabilities image registry gitlab com nfrankel nfrankel gitlab io latest Updating the hard wayJekyll is built on top of Ruby Shared libraries in Ruby are known as gems I m using a few of them along with the Jekyll gem itself As a long time Maven user I searched for the equivalent dependency management utility in the Ruby world and stumbled upon Bundler Bundler provides a consistent environment for Ruby projects by tracking and installing the exact gems and versions needed Bundler rests on a Gemfile file It s similar to npm s package json When you execute bundle install it creates a Gemfile lock with the latest gems version with bundle update it updates them So far this is how my update process looked like Update the gems to their latest versionBuild the Docker image on my laptopUpload the image to my project s GitLab registryCommit the change to the lock filePushIn turn that triggers the build on GitLab and deploys my site on GitLab Pages It has several drawbacks It requires Docker on my laptop Granted I have it already but not everybody is happy with thatThe build takes time as well as CPU timeThe image takes up storage I can clean it up but it s an additional waste of my time It clogs my network As my upload speed is very limited I cannot do anything that involves the Internet when I m uploading Updating the smart wayI recently stumbled upon the excellent series of GitLab cheatsheets In the th part the author mentions Kaniko kaniko is a tool to build container images from a Dockerfile inside a container or Kubernetes cluster kaniko doesn t depend on a Docker daemon and executes each command within a Dockerfile completely in userspace This enables building container images in environments that can t easily or securely run a Docker daemon such as a standard Kubernetes cluster kaniko is meant to be run as an image gcr io kaniko project executor It means that you can move the Docker image build part to the build process itself The new process becomes So far this is how my update process looked like Update the gems to their latest versionCommit the change to the lock filePushEnjoy To achieve that I had to browse through the documentation quite intensively I also moved the build file to the new syntax Here s the new version stages image deploy build stage image image name gcr io kaniko project executor debug entrypoint script mkdir p kaniko docker echo auths CI REGISTRY auth echo n CI REGISTRY USER CI REGISTRY PASSWORD base gt kaniko docker config json kaniko executor context CI PROJECT DIR dockerfile CI PROJECT DIR Dockerfile destination CI REGISTRY IMAGE CI COMMIT TAG only refs master changes Gemfile lock pages stage deploy image name registry gitlab com nfrankel nfrankel gitlab io latest Define the stages Stages are ordered here image runs before deploy Define the jobsA job is associated with a stage For the record jobs associated with the same stage run in parallel Use the debug flavor of the Kaniko Docker image While it s not necessary this image logs what it s doing to improve debugging if something goes wrong Reset the entrypointCreate the credentials file used by Kaniko to push to the Docker registry in the next lineBuild the image using the provided Dockerfile and push it to the project s Docker registry Note that GitLab passes all environment variables used hereRun this job only if the Gemfile lock file has been changedGenerate the static site using the previously generated image ConclusionThis post shows how one could offload the Docker part of your build pipeline from your local machine to GitLab using the Kaniko image It saves on time and resources The only regret I have is that I should have done it much earlier as I m a huge proponent of automation I miss one last step schedule a job that updates dependencies and creates a merge request àla Dependabot To go further GitLab Cheatsheet SeriesUse kaniko to build Docker imagesKeyword reference for the gitlab ci yml fileLeast Privilege Container Builds with Kaniko on GitLabGitLab s predefined variables referenceOriginally published at A Java Geek on August st |
2021-08-01 16:33:17 |
海外TECH |
DEV Community |
Extend Windows System Reserved Partition |
https://dev.to/smarthomedan/extend-windows-system-reserved-partition-31a4
|
Extend Windows System Reserved PartitionI m going to say sorry in advance that I didn t take printscreens while I solved this one so I ve nicked some others from the internet to explain it Today I tried to update my windows install on my Gaming PC However I kept seeing the following error Windows couldn t be installed We couldn t update the system reserved partition I opened up Disk Management Windows Key R then diskmgmt msc I could see the System Reserved partition was full but it only had MB assigned It looked something like this except the first drive was full The rest of the disk was my GBish C drive and it had a lot of free space Of course the logical step was to extend the system partition That didn t work because there was no unallocated space Next step was to unallocate a few GB s from the big C drive I did that it all worked and I still couldn t extend The disk looked something like this my Reserved Drive was on the far left in the middle was the rest of my big C drive and the far right was my GB of unallocated space Turns out you can t extend a drive into space that isnt directly right of it in this table To solve this issue I used a piece of software called IM Magic Partition Resizer They haven t paid me for this post by the way I just found this software and it did the job I used the free software to move the C over to the far right meaning my unallocated space would now be directly adjacent to my System Reserved space I then activated the changes in the application My system rebooted and I saw the command line interface running the changes I was only this wouldnt trash my PC Luckily it didnt the script finished and then windows booted Now my partitions were in the correct order and I could extend my System Reserved partition into the unallocated space Now my system looks like this I ve just retried my system updates and it worked |
2021-08-01 16:18:46 |
海外TECH |
DEV Community |
Excelize 2.4.1 is Released |
https://dev.to/xuri/excelize-2-4-1-is-released-l34
|
Excelize is ReleasedExcelize is a library written in pure Go providing a set of functions that allow you to write to and read from XLSX XLSM XLTM files Supports reading and writing spreadsheet documents generated by Microsoft Excel and later Supports complex components by high compatibility and provided streaming API for generating or reading data from a worksheet with huge amounts of data GitHub github com xuri excelizeWe are pleased to announce the release of version Featured are a handful of new areas of functionality and numerous bug fixes A summary of changes is available in the Release Notes A full list of changes is available in the changelog Release NotesThe most notable changes in this release are CompatibilityChange Go Modules import path to github com xuri excelize v Notable FeaturesSupport set column width in streaming mode related issue Support merge cell in streaming mode related issue New support formula functions BESSELK BESSELYThe formula calculation engine now supports defined name referencesAdd disable option for chart xAxis and yAxisThe function AddPivotTable support reference source data range by defined name relate issue The following function now is concurrency safety relate issue AddPicture and GetPicture concurrency insert or get the picture from the worksheetRows and Cols concurrency iterate rows and columnsSetSheetRow concurrency set cells for a row in the worksheetSetCellStyle concurrency set cell styleNewStyle concurrency create the styleExport function s error message Improve the CompatibilityImproves compatibility for default XML namespace attributes fix generated corrupted file in some caseImproves compatibility with non standard page setup attributes fix open spreadsheet failed in some caseAdd count attribute in shared strings tableRemove UTC timezone requirement when setting cell value with time related issue Improves compatibility with XML control character in the escape literal stringRename exported field File XLSX to File PkgChange the sheet names are not case sensitive for NewSheet GetSheetIndex DeleteSheet resolve issue Fix missing pivot attribute of conditional formatting resolve issue Improvement compatibility with invalid first page number attribute in the page layoutAdd maximum character limit and fix missing preserve character for SetCellRichText Bug FixesFix hours time format parsing error resolve issue and Fix can t get comments by GetComments in some case resolve issue Fix issue when get and add comments on multi authors resolve issue and Fix invalid file path and duplicate namespace when re creating worksheet resolve issue Fix set outline attributes not work when the value of showOutlineSymbols summaryBelow and summaryRight attributes are falseAvoid empty rows in the tail of the worksheet by GetRows resolve issue Fix missing formula cell when getting rows value resolve issue Fix comparison fails inside and outside IF function resolve issue Fix GetRowHeight actually get the height of the next rowFix incorrect scope when getting and delete the defined name resolve issue Attribute LocalSheetID in the defined name should be equal to SheetIndex instead of SheetIDFix missing set each cell s styles when set columns style resolve issue Prevent panic when an incorrect range is provided as PivotTableRange on creating a pivot tableFix reading decimals precision issue resolve issue and Escape XML character in the drop list avoid corrupted file generated resolve issue Fix incorrect character count limit in the drop list resolve issue Fix high CPU usage on reading cell value with number format caused by Excel time parse issue in some case resolve issue Fix month parsing error in custom number format in some cases PerformanceReduce redundant memory on Save and SaveAs about MiscellaneousFix code security issue CWE and CWE The dependencies module has been updatedUnit tests and godoc updatedUse GitHub Action for unit testingDocumentation website with multilingual Arabic German Spanish English French Russian Chinese Japanese and Korean which has been updated |
2021-08-01 16:18:01 |
Apple |
AppleInsider - Frontpage News |
Best deals for August 1 -- $149 Magic Keyboard, Lego Bonsai, SanDisk Portable SSD, and more! |
https://appleinsider.com/articles/21/08/01/best-deals-for-august-1----149-magic-keyboard-lego-bonsai-sandisk-portable-ssd-and-more?utm_medium=rss
|
Best deals for August Magic Keyboard Lego Bonsai SanDisk Portable SSD and more Sunday s best deals include for a Magic Keyboard for the inch iPad Pro and more Shopping online for the best discounts and deals can be a difficult and annoying task Rather than sifting through miles of advertisements check out this list of sales we ve hand picked just for the AppleInsider audience You ll find more than just Apple products here Each section is organized by product type or brand and can contain anything from furniture to iPhone cases Read more |
2021-08-01 16:04:50 |
海外TECH |
Engadget |
The creator of streaming 'Star Trek' shows will stay with CBS through 2026 |
https://www.engadget.com/cbs-alex-kurtzman-star-trek-deal-165454180.html?src=rss
|
The creator of streaming x Star Trek x shows will stay with CBS through Paramount effectively revolves around Alex Kurtzman given its continued dependence on Star Trek and it s clear CBS will do whatever it takes to keep the director and producer aboard CBS Studios has signed a deal that will have Kurtzman and his Secret Hideout unit exclusvely producing shows for Paramount and other platforms through He ll continue to lead Star Trek efforts for the quot next six years quot CBS said CBS didn t say how much it paid although Deadline sources understood the agreement was in the quot million range quot Kurtzman had two years left on an existing deal but that was worth far less at just million Kurtzman has no less than six Star Trek shows underway including existing productions Discovery Picard and Lower Decks as well as upcoming efforts like Strange New Worlds Prodigy and the currently unnamed Section spinoff He s also responsible for Showtime offerings like the upcoming The Man Who Fell to Earth TV remake and has Secret Hideout working on projects like a Stephen King short story adaptation nbsp It s not surprising that CBS would pay a premium for Kurtzman as a result While he s not the only one creating well known shows for Paramount losing him and Secret Hideout would risk leaving a giant gap in CBS streaming strategy The risk of course is that CBS is further tying its fate to one person and one production company ーParamount might be in a tough spot if there are ever major problems with Kurtzman s shows |
2021-08-01 16:54:54 |
海外TECH |
CodeProject Latest Articles |
Explaining C# Code to Non-Programmers |
https://www.codeproject.com/Articles/5309402/Explaining-Csharp-Code-to-Non-Programmers
|
programmerssometimes |
2021-08-01 16:07:00 |
海外科学 |
NYT > Science |
‘X’ Marks the Spot: Officials Map a Route Out of the Pandemic |
https://www.nytimes.com/2021/08/01/health/coronavirus-vaccination-maps-geospatial.html
|
campaigns |
2021-08-01 16:18:06 |
海外科学 |
NYT > Science |
With Undersea Robots, an Air Force Navigator Lost Since 1967 Is Found |
https://www.nytimes.com/2021/08/01/world/asia/pentagon-robots-vietnam-war-dead.html
|
With Undersea Robots an Air Force Navigator Lost Since Is FoundA recovery mission off Vietnam s coast showed how advances in technology have given new reach to the Pentagon s search for American war dead |
2021-08-01 16:18:39 |
ニュース |
BBC News - Home |
Belarus Olympics: Krystsina Tsimanouskaya refuses to fly home |
https://www.bbc.co.uk/news/world-europe-58046183
|
belarus |
2021-08-01 16:10:25 |
ニュース |
BBC News - Home |
Covid: UK hits 85m jab milestone amid discount push for young |
https://www.bbc.co.uk/news/uk-58044088
|
people |
2021-08-01 16:18:05 |
ニュース |
BBC News - Home |
Northern Ireland's Covid-19 vaccine passport date extended |
https://www.bbc.co.uk/news/uk-northern-ireland-58047786
|
ireland |
2021-08-01 16:03:23 |
北海道 |
北海道新聞 |
辺野古サンゴで審査請求へ 防衛省、許可撤回に対抗 |
https://www.hokkaido-np.co.jp/article/573780/
|
沖縄県宜野湾市 |
2021-08-02 01:10:00 |
北海道 |
北海道新聞 |
中国初の100m決勝「歴史的」 アジア新記録の蘇炳添 |
https://www.hokkaido-np.co.jp/article/573765/
|
中国メディア |
2021-08-02 01:08:05 |
北海道 |
北海道新聞 |
角田は自己最高タイ7位 F1ハンガリーGP決勝 |
https://www.hokkaido-np.co.jp/article/573779/
|
自己最高 |
2021-08-02 01:01:00 |
コメント
コメントを投稿