python |
Pythonタグが付けられた新着投稿 - Qiita |
統計学入門p65 ブートストラップ法の実装 |
https://qiita.com/htj/items/fd15db6605f48cbe25f2
|
統計学入門pブートストラップ法の実装まずはデータを準備します。 |
2021-12-22 21:47:57 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
GAN(敵対的生成ネットワーク)の学習過程を可視化 |
https://qiita.com/tavi_ai/items/6cf4e59cfb91e9957530
|
GANはこの学習を識別器Discriminator、以下Dと表記と生成器Generator、以下Gと表記のつのネットワークを用いて相互に学習していくアーキティクチャとなります。 |
2021-12-22 21:31:38 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
twitterの動画を含むtweetのurlから、動画のurlをぬきだすプログラムをかきたい |
https://teratail.com/questions/375127?rss=all
|
twitternbspapinbspをつかうんだろうなということはわかったのですが、グーグルで調べても条件にあったtweetの検索方法などばかりで、tweetのurlから動画のurlを抜き出す方法がわかりません。 |
2021-12-22 21:49:28 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Arduinoでスタンドアロンでデータの保存方法 |
https://teratail.com/questions/375126?rss=all
|
Arduinoでスタンドアロンでデータの保存方法Arduinoでバイクのメーターを作っています。 |
2021-12-22 21:49:04 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
VScodeでのデバックについて |
https://teratail.com/questions/375125?rss=all
|
先日、作業用のPCをMnbspMAXのMacbooknbspproに変更し、拡張機能のExtendscriptnbspDebuggerを追加して作業環境を整えたのですが、デバック時に「ターゲットアプリケーションの選択」が表示されなくなってしまいました。 |
2021-12-22 21:06:28 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
AWS上にTanzu Community Editionでk8sクラスタを構築してみた |
https://qiita.com/IShun/items/6086be27706127e2735d
|
ManagementCluster構築時の設定画面で入力していた情報インスタンスタイプなどが設定ファイルにすでに入力されていますが、もし変更したい場合はその部分も変更します。 |
2021-12-22 21:05:32 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
AssumeRoleを自分なりに理解する~「勇者」と「伝説の剣」と「妖精」の物語~ |
https://qiita.com/emiki/items/4023d6c89253caaf6e2a
|
剣IAMロールに宿る力ポリシーのリストユーザーベースのポリシー火水雷剣IAMロールを抜ける選ばれし者Principalのリスト信頼ポリシーTanaka一族Yamada一族妖精STSは信頼ポリシーに示された選ばれしPrincipalにしか妖精の力を貸さない。 |
2021-12-22 21:02:37 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
【Db2】PID1問題の回避策【Docker】 |
https://qiita.com/LgmQue/items/ff985aac05c39e709e6d
|
まずは、Dockerの「PID問題」ご存知でしょうかPID問題とは、コンテナ上で実行されるアプリケーションのプロセスがPIDで実行されることで、コンテナに対してSIGTERMなどのシグナルを送信してもコンテナ内のプロセスが正常に終了しないというものです。 |
2021-12-22 21:45:36 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
【Dockerfile 無し】docker-compose で簡単にPHP開発環境構築 SSL対応 Laravelインストール |
https://qiita.com/ko-zi/items/8c9bd271296cf36cb8b6
|
commandの中で変数でLOCALGIDLOCALGIDを埋め込んでいますが、ホスト側のユーザIDグループIDを受け渡すことで、コンテナ内のwwwdataユーザをホスト側のIDで作り直し、パーミッション関連の問題が発生しないように努めています。 |
2021-12-22 21:02:27 |
技術ブログ |
Developers.IO |
hotpatch-for-apache-log4j を無効化する方法を検証してみた |
https://dev.classmethod.jp/articles/try-disable-hotpatch-for-apache-log4j/
|
hotpatchforapachelogj |
2021-12-22 12:42:48 |
海外TECH |
MakeUseOf |
A Complete Guide to Updating Your Mac's Software |
https://www.makeuseof.com/tag/update-mac-software/
|
complete |
2021-12-22 12:00:39 |
海外TECH |
DEV Community |
Listen to the S7E7 of DevDiscuss: "We Have Tools To Help You With Your Imposter Syndrome" |
https://dev.to/devteam/listen-to-the-s7e7-of-devdiscuss-we-have-tools-to-help-you-with-your-imposter-syndrome-32j0
|
Listen to the SE of DevDiscuss quot We Have Tools To Help You With Your Imposter Syndrome quot On this week s episode of DevDiscuss we talk about some tools that will help you get through your imposter syndrome S E We Have Tools To Help You With Your Imposter Syndrome DevDiscuss Your browser does not support the audio element x initializing × Quick refresher ーDevDiscuss is the first original podcast from DEV all about the burning topics that impact all our lives as developers Episode Info In SE we talk about imposter syndrome and how to conquer it with some members of the Forem team and a mental health expert Let s explore this challenging psychological pattern that affects so many of us together Hosts ben ーCreator of DEV amp Co Founder of Forem aritdeveloper ーSoftware Engineer Forem Guests Michael Boroff ーMental Health Program Manager Crossover Health nickytonline ーLead Software Engineer Forem Let us know your thoughts on this show in the comments below ーor on Twitter thepracticaldev You can follow DevDiscuss to get episode notifications and listen right in your feed ーor subscribe on your platform of choice Plus if you leave us a review we ll send you a free pack of thank you stickers Details here Quick Listening LinksApple PodcastsSpotifyGoogleListen NotesTuneInRSS FeedDEV Pods SiteAcknowledgements levisharpe for producing amp mixing the showOur season seven sponsors Microsoft New Relic amp Vultr |
2021-12-22 12:46:15 |
海外TECH |
DEV Community |
Building an AWS S3 file explorer app within 30 minutes using ToolJet |
https://dev.to/tooljet/building-an-aws-s3-file-explorer-app-within-30-minutes-using-tooljet-22hp
|
Building an AWS S file explorer app within minutes using ToolJetIn this article you ll learn how to build an explorer app that lets you view existing files and upload new files to your AWS S bucket OverviewWe will divide this tutorial into two parts In the first part we will build the UI of the Explorer app in ToolJet In the second part we will connect the AWS S data source to our app and will create and connect queries to UI components ToolJet has a feature to import apps from the dashboard I have exported the source code of the Explorer app into the JSON file and you can use this file to import the app into your ToolJet account Check out the source code here PrerequisitesAWS account with S service activated and having at least one bucket with some objects any type of file At least one IAM user with Access key Programmatic access enabled Learn to create one here ToolJet It is a free and open source low code platform that allows you to quickly build tools Building the Explorer UILet s start with building the UI for Explorer Login to the ToolJet and then on the dashboard click on the Create new application button to create a new app Once the app has been created you will be redirected to the visual app editor You can change the name of the app by editing the default name i e Untitled app from the top left of the app builder Visual app editor has divisions At the center is the App builder where you ll build the UI of the app At the bottom is the Query editor where you ll be creating queries On the right sidebar you ll find Widget Manager that has a list of built in widgets and components You can drag and drop to start laying out your user interface On the left sidebar you ll see the Datasource manager From here you can add a new datasource or edit an existing datasource Let s build the UITo build the UI you ll need to drag and drop the following components from the Widget Manager at the left sidebar and place them accordingly Here is my version configuration of components for building the UI A Container as header and Text widget to give a title to the app i e AWS S File ExplorerA Dropdown widget that we will be connected to a query to list the bucketsA Button that will have an on click action set to list all the files from the selected bucket in the dropdown A Table that will list all the contents of the selected bucket in the dropdown Another Container that will have nested components like a Text box File Picker and a Button This will be used to upload the file to the selected bucket See the documentation to learn more about customizing the widgets and making the UI more beautiful Connecting to AWS SNow that we have built the UI of our app let s connect the datasource to our app Go to the Datasource manager on the left sidebar and click on Add datasource ToolJet offers integrations for several datasources such as Airtable Elasticsearch Cloud Firestore REST API GraphQL etc We will select AWS S from the datasource dialog window The AWS S datasource requires the following information to establish a connection Access Key IDSecret KeyRegion AWS service region Learn how to fetch the Access Key and Secret Key from the following guide Generate AWS access key amp secretOnce you have entered the required information click on Test Connection to check if the connection is established or failed Then Save the datasource Creating QueriesNow that we have successfully connected the AWS datasource let s move on to create queries Queries will perform actions such as reading the files and buckets from S and uploading files to a bucket For the Explorer app we will need three queries A query to fetch the list of all buckets A query to fetch all the objects in the bucket selected by the user A query to upload the file from the local machine to the bucket selected by the user Let s build the first query to fetch the list of buckets Go to the Query Editor and click on the button to add a new query Select the datasource as AWS S from the dropdown From the Operation dropdown select List buckets Rename this query as getBuckets from the center of the query editorGo to the Advanced tab of the Query Editor and toggle the Run this query on page load this will allow this query to run when the app is published Now click on the Save button to save our first query Click on the Preview button on the top right of the Query Editor to verify the results of the query You ll get the results in the Preview section of Query Editor Connecting our first query to the dropdown widgetClick on the Dropdown widget open the Inspect Panel on the right sidebar We will now link the query to update the Option values and Option labels We will enter queries getBuckets data Buckets map bucket gt bucket Name here we are fetching the data from the getBuckets query i e our first query and we are using the map function to create an array of Name Run the query from the sidebar in Query Editor and you ll see that the dropdown now includes the list of buckets from your S ToolJet will auto suggest your queries and let you simply select the one you want Let s build the second query to fetch the list of objects in the selected bucket Create a new query from the query editor From the Operations dropdown select List objects in a bucket In the bucket field enter components dropdown value here we are getting the value i e the selected bucket from the dropdown i e the dropdown widget Now click on the Save button to save our second query Connecting our second query to the Table Click on the Table to open the inspect panel on the right sidebar We will want the table to reference the data fetched from the query so in the Table data property we will enter queries s data Contents here q is the query that we created and the content objects fetched are stored in data Now add appropriate columns to our table and add properties to them Key A key is a unique identifier for an object within a bucket Every object in a bucket has exactly one key In the Name field of this column enter Key and in the Key field enter Key Last modified Every object in a bucket has a few default metadata including the date and time an object was last modified size of object etc We will create a column for this and will Name it Last Modified and will enter Key as LastModified Size In the Name field enter Size and in the Key field enter Size Now let s build the last query to upload file to the selected bucket Add a new query from the query editor and name it uploadToS From the Operations dropdown select Upload object In the Bucket field enter components dropdown value to get the value i e the selected bucket from the dropdown i e the dropdown widget In the Key field enter components textinput value components filepicker file name to get the value i e the File Path from the text box and the key Name of the object from the File Picker In the Content type enter components filepicker file type In the Upload data field enter components filepicker file type here it s fetching the content i e the file or object from the File Picker Click on Save to save this query For this query we will not toggle on the Run this query on page load since this is only required when we want a query to run automatically whenever the app is opened Connecting our last query to the file picker Click on the File Picker widget to open the Inspect panel on the right sidebar We will use the File Picker with its default properties We re using Images as the default Accept file type You can change according to your needs Learn more about its properties here Now let s drag and drop an image file to the file picker or click on the file picker to open the window and choose an image file Now that we have connected our queries let s add events to our buttons Fetch Files Button Click on the button to Open the Inspect panel Change the button text to Fetch Files or whatever looks good to you In the Loading State field add queries s isLoading The loading state shows a loading skeleton for the button isLoading property to get the status of the query In the Events section click on Add a handler In the Event dropdown select On click In Action dropdown select Run query and in Query dropdown select s Now we have set up the fetch files button to successfully get the list of objects from the bucket and display it on the table Upload files Button Click on the button to Open the Inspect panel Change the button text to Upload Files In the Loading State field add queries uploadToS isLoading For this button we will add two event handlers one to run the uploadToS query and the second to show an upload successful alert For the first event handler select On click Event Run Query Action and choose uploadToS query from Query dropdown For the second one Choose On click Event Show alert Action Success as Alert type and enter the Upload successful as the Message Now we have successfully set up our second button to run the query to upload the file from the file picker Let s make the app liveTo do this just click on the Deploy button on the top right corner On the dialog box Click on the Version button to create a version of the appClick on the Save button to save the progress and then click on the Deploy button to deploy on the serverAnd voila You ve just built an app to view and upload files directly to your S bucket using low code |
2021-12-22 12:36:50 |
海外TECH |
DEV Community |
React Music Player |
https://dev.to/amir_alipour/react-music-player-4621
|
React Music PlayerReaplay is React HOC for create your custom music player with any styles you like give me your tracks list and i ll give you must state functionalities you need for create a music player Installnpm install save reaplay yarn add reaplay Usageimport React from react import Reaplay from reaplay export default function App const songList songSrc url song songSrc url song require songSrc local song return optional ↓ lt Reaplay tracks songList startIndex gt player gt console log loading player isLoading return your player lt Reaplay gt tracks prop is required but startIndex is optional prop some states of player example player isLoadingplayer durationplayer trackProgressplayer volumeplayer isRepeatand more states for create your dynamically player ui some functions of player example player toNextTrack player toPrevTrack player setVolume player setIsRepeat true player setIsRepeat isRepeat gt isRepeat player playFast and more functionalities you can use for your own player events exampleyou can clone this or use little example in codesandboxFor supporting me Please click on the Star button on Github and Share this post and finally send the Repo to your friends Github Repo |
2021-12-22 12:33:02 |
海外TECH |
DEV Community |
Code Coverage, Java Debugger API and Full Integration in Building DDJT - Day 3 |
https://dev.to/codenameone/code-coverage-java-debugger-api-and-full-integration-in-building-ddjt-day-3-1i20
|
Code Coverage Java Debugger API and Full Integration in Building DDJT Day Yesterday we got the first PR through and now I m on the second PR We almost have an open source project Well technically we already have the source code and a few lines of code but it still isn t exactly a project Not in the sense of it needs to do something useful But it compiles runs unit tests and even has code coverage That last one was painful I m not a fan of arbitrary metrics to qualify the quality of code The code coverage is a good example of this Case in point this code Currently the source code looks like this MonitoredSession monitoredSession connectSession create System getProperty java home Dhello true HelloWorld class getName But originally it looked like MonitoredSession monitoredSession connectSession create null null HelloWorld class getName null Changing this increased code coverage noticeably because code down the road I have special case conditions for variables that aren t null For good test coverage I would also want to test the null situation but it doesn t affect test coverage Now obviously you don t write tests just to satisfy a code coverage tool But if we rely on metrics like that as a benchmark of code quality and reliability We should probably stop Another problem I have with this approach is the amount of work required to get that last of code coverage to pass the requirement That s insanely hard If you work on a project with code coverage requirement you have my condolences I think an arbitrary percentage of code for coverage is a problematic metric I like the statement coverage stats better but they still suffer from similar problems On the plus side I love the code coverage report I feel it gives some sense of where the project stands and helps make sense of it all In that sense Sonar Cloud is pretty great Keen observers of the code will notice I didn t add any coverage to the common code It has very little business logic at the moment and in fact I removed even that piece of code in the upcoming PR Writing TestsI spent a lot of time writing tests and mocking which is good preparation for building a tool that will generate mocked unit tests As a result I feel the secondary goal of generating tests based on code coverage report is more interesting than ever before I can t wait to dogfood the code to see if I can bring up the statistics easily One thing I find very painful in tests is the error log file For the life of me I do not know why Maven tests target shows a stack trace that points at the line in the test instead of the full stack trace by default IntelliJ IDEA improved on this but it s still not ideal Especially when combing through CI logs Right now all of my tests are unit tests because I don t have full integration in place yet But this will change soon I m still not sure what form I will pick for integration tests since the initial version of the application won t have a web front end I ve yet to test the CLI It conflicted me a bit when I started writing this code As I mentioned before integrating the Java debug API into the Spring Boot backend was a pretty big shift in direction for me But it makes sense and solves a lot of problems The main point of contention for me was supporting other languages platforms But I hope I ll be able to integrate with the respective platforms native debug APIs as we add them This will make the debugging process for other platforms similar to the Java debug sessions I ll try to write the code in a modular way so we can inject support for additional platforms I m pretty sure program execution for python node etc will allow similar capabilities as JDI on Java SE So if the code is modular enough I could just add packages to match every supported platform At least that s the plan right now If that won t work we can always refactor or just add an agent option for those platforms Our requirements are relatively simple we don t need expression evaluation etc only the current stack frame data and simple step over results When I thought about using a debugger session I thought about setting breakpoints for every method This is obviously problematic since there are limits on the number of breakpoints we can set Instead I m using method entry callbacks to track the application Within every method I use step over to review the elements within This isn t implemented yet mostly because it s pretty darn hard to test this from unit tests That s why I paused the work on the debugger session and moved down the stack to the CLI I want to use the actual product to debug this functionality Integrating CLI through Web ServiceI created a CLI project and defined the dependencies but until now I didn t really write any CLI code The plan is that the CLI will communicate with the backend code via REST Initially I thought of using Swagger Open API which is pretty great If you re unfamiliar with it it essentially generates the documentation and even application code for all the networking you need Just by inspecting your API pretty sweet It generates a lot of boilerplate that s sometimes verbose and less intuitive It also blocks some code reuse If I had an extensive project or a public facing API I might have used it But for something intended for internal use it seems like an overkill So I ended up using Gson which I used in the past and the new Java HttpClient API The API is pretty nice and pretty easy to work with Over Eager PicoCLII really like PicoCLI I think that if you look at this source file you can easily see why It makes coding a command line app trivial You get gorgeous CLI APIs with highlighting completion smart grouping and so much more It even has a preprocessor which makes it easy to compile it with GraalVM Unfortunately I ran into a use case that PicoCLI was probably a bit too clever My initial design was to provide a command like this java jar ddtj jar run javahome lt path to java home whitelist regex whitelist classes arg lt app argument gt mainClassNotice that arg would essentially allow us to take all the arguments we want to pass to the target JVM E g if we want to pass an environment variable to the JVM we can do something like arg Denv x The problem is that PicoCLI thinks that D is another argument and tries to parse it I spent a lot of time trying to find a way to do this I don t think it s possible with PicoCLI but I might have missed something The problem is I don t want to replicate all the JVM arguments with PicoCLI arguments e g classpath parameters etc Unfortunately this is the only option I can see right now I ll have to re think this approach after I get the MVP off the ground but for now I changed the CLI specification to this java jar ddtj jar run mainClass javahome lt path to java home whitelist regex whitelist classes classpath jar In fact here s what the help command passed to PicoCLI generated for that code Completely Redid the CommonWhen I implemented the common project I did so based on guesses Which were totally wrong I had to move every source file from my original implementation into the backend project Then I had to reimplement classes for the common code The reason for this is the web interface It made me realize I stuck the data model in common instead of the data that needs to move to the client which is far smaller Implementing the web interface was trivial I just went over the commands I listed in the documentation and added a web service method for each command Then added a DTO Data Transfer Object for each one The DTOs are all in the common project which is how it should be Initially I thought I d just write all the logic within the web service rest class but I eventually separated the logic to a generic service class I d like to add a web UI in the future so it makes sense to have common logic in a service class Handling StateState is a tough call for this type of application I don t want a database and everything is in memory But even then do we use session management What if we have multiple apps running on the backend So currently I just punted this problem from the MVP If you run more than one app it will fail I just store data in one local field on the session object I don t need static variables here since spring defaults to singletons for session beans and there s no clustering involved After the MVP we should look into running multiple applications This might require changing the CLI to determine the app we re working on right now I think we ll still keep state in a field but we should have a way to flush the state to reduce RAM usage Snyk IntegrationYesterday I had some issues with Snyk If you re unfamiliar with it it s a tool that seamlessly scans your code for vulnerabilities and helps you fix them Pretty cool The integration was super easy to do and I was pretty pleased with it Then I tried to add a badge to the project Apparently Snyk badges don t work well with a mono repo They expect the pom file to be at the top level of the project So I gave up on the badge for that The scanning worked so it s weird to me that the badge would fail I ll try to monitor that one and see if there s a solution for that I discussed this with their support which was reasonably responsive but didn t seem to have a decent answer for that It s a shame I like the idea of a badge that authenticates the security status of the project TomorrowThis has been a busy day but it felt unproductive in the end because all the time I wasted on the CLI and trying to get things like the Snyk badge working This is something to be weary of Always look for the shortcut when doing an MVP and if you can t get something working just cut it out for now We can always get back to that later Tomorrow I hope to get the current PR up to function coverage standards and start wiring in the command line API so I can start debugging the debugger process in real world conditions There are still some commented out code fragments and some smells I need to improve |
2021-12-22 12:18:49 |
海外TECH |
DEV Community |
Building a Login Function with AWS Amplify and Flutter |
https://dev.to/aws-builders/building-a-login-function-with-aws-amplify-and-flutter-4667
|
Building a Login Function with AWS Amplify and Flutter I built a login function with AWS Amplify and Flutter I built a login function using AWS Amplify Amplify UI Components amplify authenticator and Flutter Advance PreparationPreparing the Flutter environmentFlutter InstallationFlutter v Dart v Xcode vAndroid SDK v Android Studio vVisual Studio Code v Flutter extension v Preparing the AWS Amplify environmentAWS Amplify Installationnode v npm v Creating a Flutter projectFirst we need to create a Flutter project Flutter Building the Environmentflutter create amplify app This completes the creation of the Flutter project Setting up AWS AmplifyThe next step is to configure AWS Amplify for Flutter and add authentication capabilities Configuring AWS Amplify for FlutterAWS Amplify Building the environment Flutter version amplify init Add authenticationAWS Amplify Add Authenticationamplify add authamplify push This completes the setup of AWS Amplify Configuring FlutterFinally we ll write the actual code for the login function Overall configuration pubspec yamlname amplify appdescription A new Flutter project publish to none version environment sdk gt lt dependencies flutter sdk flutter cupertino icons amplify auth cognito amplify authenticator amplify flutter dev dependencies flutter test sdk flutter flutter lints flutter uses material design trueInstall the Amplify UI Components package related to amplify authenticator amplify auth cognito amplify authenticator amplify flutter lib main dartimport package amplify auth cognito amplify auth cognito dart import package amplify authenticator amplify authenticator dart import package amplify flutter amplify dart import package flutter material dart import amplifyconfiguration dart void main runApp const MyApp class MyApp extends StatefulWidget const MyApp Key key super key key override MyAppState createState gt MyAppState class MyAppState extends State lt MyApp gt override void initState super initState configureAmplify Future lt void gt configureAmplify async try await Amplify addPlugin AmplifyAuthCognito await Amplify configure amplifyconfig on Exception catch e print Could not configure Amplify e override Widget build BuildContext context return MaterialApp theme ThemeData light darkTheme ThemeData dark home Authenticator child const LoggedInScreen class LoggedInScreen extends StatelessWidget const LoggedInScreen Key key super key key override Widget build BuildContext context return Scaffold body Center child Column children const Text Logged In SignOutButton Load the AWS Amplify related things import package amplify auth cognito amplify auth cognito dart import package amplify authenticator amplify authenticator dart import package amplify flutter amplify dart import amplifyconfiguration dart Set up the AWS Amplify authentication Future lt void gt configureAmplify async try await Amplify addPlugin AmplifyAuthCognito await Amplify configure amplifyconfig on Exception catch e print Could not configure Amplify e Configure the UI components override Widget build BuildContext context return MaterialApp theme ThemeData light darkTheme ThemeData dark home Authenticator child const LoggedInScreen Configure the screen after login override Widget build BuildContext context return Scaffold body Center child Column children const Text Logged In SignOutButton android app build gradledef localProperties new Properties def localPropertiesFile rootProject file local properties if localPropertiesFile exists localPropertiesFile withReader UTF reader gt localProperties load reader def flutterRoot localProperties getProperty flutter sdk if flutterRoot null throw new GradleException Flutter SDK not found Define location with flutter sdk in the local properties file def flutterVersionCode localProperties getProperty flutter versionCode if flutterVersionCode null flutterVersionCode def flutterVersionName localProperties getProperty flutter versionName if flutterVersionName null flutterVersionName apply plugin com android application apply plugin kotlin android apply from flutterRoot packages flutter tools gradle flutter gradle android compileSdkVersion flutter compileSdkVersion compileOptions sourceCompatibility JavaVersion VERSION targetCompatibility JavaVersion VERSION kotlinOptions jvmTarget sourceSets main java srcDirs src main kotlin defaultConfig TODO Specify your own unique Application ID applicationId com example amplify app minSdkVersion targetSdkVersion flutter targetSdkVersion versionCode flutterVersionCode toInteger versionName flutterVersionName buildTypes release TODO Add your own signing config for the release build Signing with the debug keys for now so flutter run release works signingConfig signingConfigs debug flutter source dependencies implementation org jetbrains kotlin kotlin stdlib jdk kotlin version To display the amplify authenticator on Android you need to specify the Android SDK version so select a fixed minSdkVersion defaultConfig TODO Specify your own unique Application ID applicationId com example amplify app minSdkVersion targetSdkVersion flutter targetSdkVersion versionCode flutterVersionCode toInteger versionName flutterVersionName Run Run and Debug in Visual Studio Code and log in after user registration Check to see if the user is registered in the AWS console I was able to build the login function with AWS Amplify and Flutter If you want to implement the login function in Flutter Firebase is often used but I was able to confirm that it can be implemented with AWS Amplify |
2021-12-22 12:03:23 |
Apple |
AppleInsider - Frontpage News |
Shareholders doubt Apple's civil rights stance, call for investigation |
https://appleinsider.com/articles/21/12/22/shareholders-doubt-apples-civil-rights-stance-call-for-investigation?utm_medium=rss
|
Shareholders doubt Apple x s civil rights stance call for investigationA group of Apple shareholders are requesting a civil rights audit saying the company s actions against staff goes against its stated mission and values Apple CEO Tim CookThe US SEC has allowed a shareholder proposal concerning Apple s alleged use of concealment clauses and non disclosure agreements but now a separate group wants more Read more |
2021-12-22 12:31:36 |
海外TECH |
Engadget |
Honor's first foldable smartphone will be the Magic V |
https://www.engadget.com/honors-first-foldable-will-be-the-magic-v-124544490.html?src=rss
|
Honor x s first foldable smartphone will be the Magic VHonor has teased the launch of its first foldable smartphone the Magic V on Twitter and Weibo The former Huawei sub brand called it quot Honor s first foldable flagship quot and said it will be released quot soon quot though the company didn t provide an exact date Unfold all the potential This is HONOR s first foldable flagship phone the HONORMagicV pic twitter com kijORIGxgーHONOR Honorglobal December Rumors have been circulating about a possible Honor folding device particularly after the company applied for the terms quot Magic Fold quot and quot Magic Wing quot with China s trademarking authority The company s CEO George Zhao told CNET in that it was interested in building a folding phone while its former parent Huawei recently released its third gen folding device the Mate X Other details are scant but a rumor from The Elec stated that an upcoming Honor folding phone would use ultra thin glass with an inch folding display and inch exterior screen If accurate that means it would be much like Samsung s Galaxy Fold and not the Galaxy Flip Given that it s a flagship it should have a relatively high end processor and other parts Huawei sold Honor in November in order to quot ensure it s survival quot so Honor has been independent for just over a year now Unlike with Huawei devices Google apps are available on Honor smartphones nbsp Along with Samsung Huawei and now Honor Xiaomi Oppo and Motorola have recently released various types of folding smartphones Google is also reportedly working on at least one folding Pixel device and recently announced a version of Android designed for tablets and foldables |
2021-12-22 12:45:44 |
海外TECH |
Engadget |
The Morning After: Ubisoft's NFT struggles |
https://www.engadget.com/the-morning-after-ubisofts-nft-struggles-121559149.html?src=rss
|
The Morning After Ubisoft x s NFT strugglesIt s nice when there s balance in the blockchain force Following the recent boom in NFT success stories and millions being made we have the other side of the coin Ubisoft s attempts to sell NFTs tied to its Ghost Recon gaming series haven t gone well The games company launched its own Quartz NFT platform to monetize game properties Alas it seems Quartz has sold just NFTs of a Ghost Recon Breakpoint gun skin as of yesterday according to Eurogamer As of yesterday it appears to have sold two more MA tactical weapons and one Wolf Enhance Pants for a total of According to their prices that works out to about in revenue But Ubisoft appears to have minted about somewhere north of NFTs total As many have noted Breakpoint doesn t have the most alluring visual aesthetic ーnor is it the biggest Ubisoft property ーmaking it an odd choice to kick off Ubisoft s NFT attempts In other news CES is facing the Omicron threat and many companies are withdrawing from exhibiting early January Amazon Meta and several other big tech players will no longer have a presence at the show citing the spread of the latest COVID variant The Engadget team will also no longer be attending the show in person but our remote coverage will still ensure you hear about everything notable from the Las Vegas tech show ーMat SmithGaze in confusion at LG s DualUp Monitor Barely vertical somehow desirable LGI think the pandemic has really helped LG s creative juices flow Alongside its unusual new TVs the company has revealed a new monitor that has quot Square Double QHD quot two screens stacked atop each other Continue reading Billionaire Twitter founder Jack Dorsey rants about Web on TwitterThose darn VCs CEO Jack Dorsey took to Twitter to warn blockchain enthusiasts how Web has already been co opted by investors “You don t own web he said “The VCs and their LPs do It will never escape their incentives It s ultimately a centralized entity with a different label Know what you re getting into… Now no longer the CEO of Twitter Dorsey still runs a company heavily involved in blockchain technologies Continue reading The Matrix Resurrections is brilliant but not for everyoneAnother divisive Matrix sequel Warner Bros There are minor spoilers within so I haven t read Senior Editor Devindra Hardawar s thoughts on The Matrix Resurrections I m sure however that many of you are intrigued by how the movie turned out US readers subscribed to HBO Max You ll be able to watch it indoors without having to venture to a movie theater Continue reading Researcher hacked an at home COVID test to give bogus resultsThe flaw has been fixed but it still shows the potential for fraud F Secure researcher Ken Gannon discovered a security flaw in Ellume s Bluetooth connected nasal swab test that let him change the reported results The vulnerability was elaborate but still disconcerting It has now been patched Gannon used a rooted Android device to inspect the Bluetooth traffic Ellume s lateral flow tester was sending to the company s mobile app The researcher pinpointed the traffic used to indicate test results and wrote scripts to change the outcome F Secure Marketing Manager Alexandra Rinehimer even managed to fool Azova a company issuing certificates for US entry tests Continue reading nbsp nbsp The biggest news stories you might have missedTascam is making brand new cassettes for its ancient four track recorders was the year that streaming pushed our cultural buttonsThree and EE will offer G and G access across London UndergroundNikola will pay million to settle SEC fraud chargesArturia is giving away a free lo fi tape plug in for the holidays |
2021-12-22 12:15:59 |
海外TECH |
CodeProject Latest Articles |
DbSharp -DAL Generator Tool on .NET Core- |
https://www.codeproject.com/Articles/776811/DbSharp-DAL-Generator-Tool-on-NET-Core
|
DbSharp DAL Generator Tool on NET Core DbSharp is a DAL Generator It generates a StoredProcedure client class that enables you to call stored procedure easily DbSharp also creates Table and Record classes that enables you to CRUD operation Lateest update |
2021-12-22 12:03:00 |
医療系 |
医療介護 CBnews |
認知症新薬の承認は継続審議-有効性の判断が困難、薬食審部会 |
https://www.cbnews.jp/news/entry/20211222213117
|
継続審議 |
2021-12-22 21:40:00 |
医療系 |
医療介護 CBnews |
流通改善進まず、メーカー仕切価率上昇続く-厚労省懇談会、一次売差マイナスは縮小も |
https://www.cbnews.jp/news/entry/20211222210251
|
課題 |
2021-12-22 21:15:00 |
ニュース |
BBC News - Home |
Covid in Wales: Groups of six allowed to meet in pubs |
https://www.bbc.co.uk/news/uk-wales-59752752?at_medium=RSS&at_campaign=KARANGA
|
contact |
2021-12-22 12:49:52 |
ニュース |
BBC News - Home |
Covid: Self-isolation cut from 10 days to seven with negative tests |
https://www.bbc.co.uk/news/uk-politics-59749447?at_medium=RSS&at_campaign=KARANGA
|
christmas |
2021-12-22 12:51:30 |
ニュース |
BBC News - Home |
Louise Minchin: Stalker Carl Davies jailed more than two years |
https://www.bbc.co.uk/news/uk-wales-59740841?at_medium=RSS&at_campaign=KARANGA
|
davies |
2021-12-22 12:08:18 |
ニュース |
BBC News - Home |
Chitty Chitty Bang Bang star Sally Ann Howes dies aged 91 |
https://www.bbc.co.uk/news/entertainment-arts-59753882?at_medium=RSS&at_campaign=KARANGA
|
brigadoon |
2021-12-22 12:49:24 |
LifeHuck |
ライフハッカー[日本版] |
まもなくプロジェクト終了! 折りジワを気にせずパンツを収納できる専用ハンガー |
https://www.lifehacker.jp/2021/12/248055-machi-ya-jeanhanger-end.html
|
thejeanhanger |
2021-12-22 22:00:00 |
北海道 |
北海道新聞 |
日ハム新球場や雪ミク 雪まつり 大通公園に中・小雪像10基 コロナ対策 一方通行、物販なし |
https://www.hokkaido-np.co.jp/article/626322/
|
一方通行 |
2021-12-22 21:17:00 |
北海道 |
北海道新聞 |
コロナ終息 星に願い 今年も北星学園大ワイン |
https://www.hokkaido-np.co.jp/article/626319/
|
北星学園大 |
2021-12-22 21:16:00 |
北海道 |
北海道新聞 |
小林陵侑「金メダル目指す」 ジャンプ日本のエース |
https://www.hokkaido-np.co.jp/article/626321/
|
小林陵侑 |
2021-12-22 21:16:00 |
北海道 |
北海道新聞 |
ドライフラワーの自販機登場 函館・生花店 前田社長「新たな名物に」 |
https://www.hokkaido-np.co.jp/article/626318/
|
函館市東山 |
2021-12-22 21:16:00 |
北海道 |
北海道新聞 |
「1票の格差」来年2月判決 札幌高裁、即日結審 |
https://www.hokkaido-np.co.jp/article/626317/
|
憲法違反 |
2021-12-22 21:15:00 |
北海道 |
北海道新聞 |
函館なまりの替え歌 ネット再生15万回超 男性3人組が人気 |
https://www.hokkaido-np.co.jp/article/626316/
|
threearr |
2021-12-22 21:15:00 |
北海道 |
北海道新聞 |
マック、木製スプーン導入 プラごみ削減、神奈川で |
https://www.hokkaido-np.co.jp/article/626315/
|
日本マクドナルド |
2021-12-22 21:14:00 |
北海道 |
北海道新聞 |
皇位継承策に関する報告書要旨 |
https://www.hokkaido-np.co.jp/article/626311/
|
有識者会議 |
2021-12-22 21:13:00 |
北海道 |
北海道新聞 |
出産入院の消費税を誤徴収 国立病院、計4千万円 |
https://www.hokkaido-np.co.jp/article/626312/
|
国立病院 |
2021-12-22 21:13:00 |
北海道 |
北海道新聞 |
感染発生の部隊、出国時検査せず 外相、米司令官に遺憾の意 |
https://www.hokkaido-np.co.jp/article/626310/
|
沖縄県金武町 |
2021-12-22 21:13:00 |
北海道 |
北海道新聞 |
認知症新薬の承認見送り 有効性判断「困難」、継続審議へ |
https://www.hokkaido-np.co.jp/article/626309/
|
厚生労働省 |
2021-12-22 21:12:00 |
北海道 |
北海道新聞 |
パステル画で精緻な世界観 別海・就労支援「スワンの家」通所・白川さん「夢の島」 カレンダーの図柄に 徳富さん、沖野さんの作品も |
https://www.hokkaido-np.co.jp/article/626308/
|
就労継続支援b型事業所 |
2021-12-22 21:11:00 |
北海道 |
北海道新聞 |
避難経路を緊急点検 大阪ビル放火受け 釧路市消防本部 |
https://www.hokkaido-np.co.jp/article/626304/
|
大阪ビル |
2021-12-22 21:08:00 |
北海道 |
北海道新聞 |
TDK、3子会社を統合 来年4月、技術力向上へ |
https://www.hokkaido-np.co.jp/article/626303/
|
電子部品 |
2021-12-22 21:05:00 |
北海道 |
北海道新聞 |
寒さ極まる 身清める 北見・妙法寺で水行 |
https://www.hokkaido-np.co.jp/article/626301/
|
留辺蘂町 |
2021-12-22 21:01:00 |
コメント
コメントを投稿