投稿時間:2022-04-12 09:45:03 RSSフィード2022-04-12 09:00 分まとめ(54件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT ITmedia 総合記事一覧 [ITmedia News] Microsoft、クラウドPCが起動する「Windows 365 Boot」やオフライン対応の「Windows 365 Offline」のデモ動画を公開 https://www.itmedia.co.jp/news/articles/2204/12/news072.html itmedianewsmicrosoft 2022-04-12 08:27:00
IT ITmedia 総合記事一覧 [ITmedia エグゼクティブ] 再エネ100% パナ、吹田の先端都市公開 https://mag.executive.itmedia.co.jp/executive/articles/2204/12/news071.html itmedia 2022-04-12 08:13:00
TECH Techable(テッカブル) 株価を聴く?IG証券、株価チャートをもとにAIと人が音楽をつくるサービス開始。渋谷で広告展開 https://techable.jp/archives/176806 igstockmusic 2022-04-11 23:00:31
AWS lambdaタグが付けられた新着投稿 - Qiita serverlessFWにこんにちは serverlessでローカル上でAWS Lambdaを起動・呼び出してみる https://qiita.com/yuta-katayama-23/items/3a7b0afe3de22b5fbf10 awslambda 2022-04-12 08:58:00
Ruby Rubyタグが付けられた新着投稿 - Qiita RubyのHashでキーと値を入れ替える https://qiita.com/raw8bridge/items/642266a5a8ccce9bf92c rubyhash 2022-04-12 08:02:40
AWS AWSタグが付けられた新着投稿 - Qiita 【Redshift】約1TBのデータをS3にUNLOADしてみた https://qiita.com/zumax/items/7dacdccc6f46754f30fc athena 2022-04-12 08:21:07
Ruby Railsタグが付けられた新着投稿 - Qiita 【RSpec】基本的なRSpec導入手順 https://qiita.com/nmwkhl/items/4c1a65f6eb943e781a99 railsrubyrspecrspecrails 2022-04-12 08:22:22
技術ブログ MonotaRO Tech Blog Cron→Rundeckに乗り換えた話 https://tech-blog.monotaro.com/entry/2022/04/12/090000?utm_source=feed Cron→Rundeckに乗り換えた話こんにちは。 2022-04-12 09:00:00
技術ブログ Developers.IO 【IPv6 on AWS 】IaCでCIDR関連付けしてみた https://dev.classmethod.jp/articles/ipv6-subnet-separating-cidr-function/ ipvonaws 2022-04-11 23:00:50
海外TECH DEV Community CSS Interview Question: Create Responsive Design (1 Column / 3 Column) https://dev.to/frontendengineer/css-interview-question-create-responsive-design-1-column-3-column-264i CSS Interview Question Create Responsive Design Column Column I went on numerous job hunting this year and noticed that most of the interview questions revolve around javascript and it is totally understandable No CSS HTML Those other interviews that contain CSS technical questions I was asked to write a responsive layout column for small screens and columns for wider screens Just like any given problems there are many solutions to this question Hopefully you do not present the old way of doing things which is to use table or float like below CSS Float media min width px column width float left My recommendation would be either css flexbox or grid which would like below CSS Flexbox media min width px columns parent display flex column child flex CSS Grid media min width px columns parent display grid grid template columns  repeat  fr CSS is a skill that needed by every front end developer engineer although it is not the favorite skill One should be able to write elegant and minimal CSS rules What is your take on this Should CSS questions or challenges still be asked on a front end interview or we can assume that engineer should know it as it is not a programming language Codepen If you want to play around these three approaches For those who prefers video format 2022-04-11 23:49:04
海外TECH DEV Community Captio: Video Subtitles in Different Languages https://dev.to/asaoluelijah/captio-video-subtitles-in-different-languages-2g1k Captio Video Subtitles in Different Languages Overview of My SubmissionLanguage has always been a barrier but now with recent technologies we can translate live text in real time However this does not apply to video it is still quite difficult to do so And I m sure we ve all been in a position where we ve seen a video clip on the internet usually with a lot of interactivity and couldn t get the gist of it because it wasn t in our native language Captio solves this barrier Captio is a powerful bot that will generate subtitle for video files in any preferred language Available via the following medium Twitter Bot Twitter is inarguably one of the most used social media platform in the world and it does make sense that a technology like this one is available on there Check out caption on Twitter CLI Application Captio is also available as a CLI application so that you are able to generate translated subtitles offline Submission Category Accessibility Link to Code on GitHub AsaoluElijah generate sub Captio Video Subtitles in Different LanguagesTwitter bot x Cli program to generate subtitles in different languages Installationgit clone captiocd captionpm installUsageClinpm run start cli video path to video language spanish Remember to replace spanish with preferred language Twitter Botnpm start botLicenseMIT View on GitHub How it worksBehind the seen Captio uses a lot of open source API to perform it s operation the diagram below sums it up pretty much Nevertheless you can checkout the full information on how it works here UsageOn twitter to let captio generate translated subtitle for a video tweet you ll only need to reply the tweet mentioning captio generate sub like below 2022-04-11 23:41:12
海外TECH DEV Community That's funny https://dev.to/danielarmbruster0314/thats-funny-5128 funnyfunny 2022-04-11 23:26:54
海外TECH DEV Community How I sync my vault across devices https://dev.to/carmoruda/how-i-sync-my-vault-across-devices-43gn How I sync my vault across devicesIn the last few days I ve trying to improve my productivity and with it my note taking system Over the last couple of years I ve tried different tools from Notion Evernote Google Docs Google Keep etc In the end and after many hesitations research and testing I have concluded that the best software for me is Obsidian md Obsidian is a handy little program that uses links to connect notes It is based on Markdown which is a lightweight language used for writing and formatting plain text documents One advantage that Obsidian offers over many other applications is that it is completely free but within certain nuances That is for personal use it is free you don t need to register and it offers access to many plugins and community support Thanks to this the fact that the possibility of syncing your notes through Obsidian is a paid feature was not a drawback This is because I have decided to use git software for tracking changes in any set files and GitHub as the cloud based git repository hosting service In this way I only had to install and set up git on my different devices and clone the repository In case anyone is wondering my devices are a desktop pc an iPad and a phone Android I built my system as follows First of all I created the repo on GitHub Afterward on my pc I installed Obsidian and with Gitkraken a graphical interface for git I cloned the repo to my local machine For anyone who wants to build a similar system there is no need to use Gitkraken you may directly use git from the command line as well as other graphical interfaces such as GitHub Desktop or Sourcetree Then the only thing left to do was to use my repository as the base folder for the Obsidian vault On the other hand as for the iPad the tools I use are Working Copy and the Obsidian app I must admit that the setup on my iPad took me a bit longer since I didn t know how to do it at first but I don t have any regrets since I have found the way that best suits my needs You may pull repos with the free version of Working Copy but I think you need the pro version to push to a repo You may access all Pro features while you are a student through the GitHub Student Developer Pack To start with the setup you need to download the Obsidian app from the App Store and create a new vault On the creation screen you need to make sure that Store in iCloud isn t selected Next after downloading Working Copy will have to configure the credentials for the git host GitHub Bitbucket GitLab… where you have the repo Once you are done clone the repo Subsequently from Working Copy open the repo select the “share menu and click on the Setup Folder Sync option Under the On My iPad section there should be an Obsidian folder that contains the Obsidian vault folder which you need to select This step is crucial because it s the way to sync the repo with the vault Finally the configuration that I honestly find the most time consuming and complicated The first thing to do is to install Termux an android terminal application and a Linux environment There are two ways to download the latest version of Termux F droid and GitHub Once we have successfully installed Termux we must run a series of commands apt update amp amp upgrade With this command we will update all the packages in Termux termux setup storage Allow Termux to access your existing directories pkg install git Install git pkg install gh Not needed but recommended It s a command line tool by GitHub gh auth login Login into your GitHub account git config global user name “your name Global git username associated with commits on all repositories in your system git config global user email “ youremail yourdomain com mailto youremail yourdomain com Global git email address associated with commits on all repositories in your system git clone “your repo link Clone the repo to your local environment mv “your repo name storage shared Move the repo to the shared folder so you may access it from any Android app When using obsidian on your different devices always remember to pull down the latest repo changes and commit and push any changes you make afterward Thanks for reading this far I will be leaving links to resources below in case it helps I m open to constructive criticism feedback and suggestions Resources amp Useful links Desktop setup software Download ObsidianDownload gitGit Windows GUIsGit MAC GUIsGit Linux GUIsiPad setup software Obsidian appWorking copy appMore Git GUIs for iOSAndroid setup software Obsidian appTermux GitHub repoTermux F droidMore Git GUIs for AndroidGuides documentation tutorials…Git documentationGithub documentationGit for TermuxHow to sync your obsidian vault on androidSyncing your Obsidian vault to Android via an encrypted GitHub repositoryHow I use obsidian mobile with git on androidObsidian Notes iOS working copy setupObsidian Sync Your Vaults with Git GitHubHow to use Obsidian remotely with GitHub CodespacesHow do you sync your vaults Obsidian forumHow to sync Obsidian for free using Google DriveHow to sync Obsidian vault for free using Git Token authentication requirements for git operationsAwesome Obsidian 2022-04-11 23:24:56
海外TECH DEV Community Anime (or any other video) Translator - Chrome extension that automatically translates web videos! 👯 https://dev.to/gregorygaines/anime-or-any-other-video-translator-chrome-extension-that-automatically-translates-web-videos-2mmi Anime or any other video Translator Chrome extension that automatically translates web videos Overview of My SubmissionAnime OAV Anime or any other video is a chrome extension that automatically translate transcribes and generates overlaying subtitles for videos gregorygaines anime aov translator Anime or any other video TranslatorAnime OAV Anime or any other video is a Chrome extension that automatically translate transcribes and generates overlaying subtitles for videos FeaturesAudio transcribingText translationRender subtitles onto videosMultiple text translation engines Azure Cognitive Translator Google Cloud TranslationUsageSet Deepgram and translator engine credentials in src config ts The translator engine can be changed in src background ts like below const translator TranslatorFactory createTranslator Translators AZURE const translator TranslatorFactory createTranslator Translators GOOGLE Clone the repo Start extension dev server npm run startLoad extension into browser byOpen the Extension Management page by navigating to chrome extensions Enable Developer Mode by clicking the toggle switch next to Developer mode Click the LOAD UNPACKED button and select the extension directory dist QuirksThe project is in early infancy and the… View on GitHub Tech StackTailwindCSS Ui styleChrome extensionReact js Front end libraryDeepgram TranscriberAzure Google TranslatorWebpack Code bundler Submission Category Accessibility Advocates WhySometimes my favorite or interesting shows are produced outside my native language and my only options are to wait for an official or fan made translation I wondered what if I had a way to automatically translate videos outside my native language so I can enjoy them Translation isn t the only problem I ve had Sometimes audio can be hard to understand and I think if only I had a way to transcribe what everyone is saying My extension solves both of the issues above and increases awareness of issues that come with accessibility How does it work TerminologyBelow is a short description on how a chrome extension works Chrome extension diagram by Aryclenio BarrosContent Scripts Code that runs on the page the user is currently viewing Commonly used for operating on the DOM and interacting with the current page Because of security concerns some actions can t be preformed on content scripts and must be done in a background script Background Scripts Code that runs in a service worker in the background and can t interact with the current page or DOM Commonly used for long lived tasks or managing state across the extension It can be thought of as a back end of sorts for the extension To communicate the background and content scripts can register listeners to pass messages between each other Since background scripts can preform actions content scripts can t certain actions are executed there then passed to the content script Translating TranscribingThe background script captures the current tabs audio then passes the audio to Deepgram for transcription const transcriber SpeechRecognizerFactory createSpeechRecognizer SpeechRecognizers Deepgram After transcribing the audio the extension uses one of its multiple translation engines to translate the text For now only Azure and Google are implemented const translator TranslatorFactory createTranslator Translators AZURE const translator TranslatorFactory createTranslator Translators GOOGLE The translated text is then sent to the client as a message const clientMessage command draw text data translated chrome tabs sendMessage activeTabId clientMessage response gt console log Sending text to client translated SubtitlesBecause of needed configurations certain domains are white listed for translations transcriptions When the client encounter a white listed domain the content script pulls the needed configuration to find the video player container and its dimensions and position then draws a canvas overlay for displaying subtitles const videoContainerSelector crunchyroll showmedia video box const videoContainer queryElement crunchyroll const containerPos getPos videoContainer const containerDim getDim videoContainer renderSubtitleCanvas containerPos containerDim The content script then listens for subtitles from the background script so it can render them on the canvas chrome runtime onMessage addListener request sender sendResponse gt switch request command case draw text console log Received command to draw text request data drawTextToCanvas request data sendResponse true return true default console log Unknown client command request command return true FeaturesAudio transcribingText translation Render subtitles onto videosMultiple text translation engines Azure Cognitive Translator Google Cloud Translation RoadmapAbility to change complex options without modifying codeIncrease transcribing accuracyAdd more transcribing enginesAbility to customize subtitle fontClean up code Screenshots ConclusionNot too bad for three days of work huh This was an incredible project to work on Sadly I learned about the hackathon too late but I had fun regardless I want to continue updating the extension if there is a community interest to keep it alive Open source contributions are extremely encouraged Thanks for reading 2022-04-11 23:24:09
海外TECH DEV Community Deepgram x DEV Hackathon - Treehouse - Translating Audio Files https://dev.to/amandahernandez/deepgram-x-dev-hackathon-treehouse-translating-audio-files--g20 Deepgram x DEV Hackathon Treehouse Translating Audio Files Overview of My SubmissionGiven some speech in a specific language use this UI API to generate a translation in either text or audio This project focused on building out the API by stitching together Deepgram API for STT speech to text Google Translate API and Wellsaid Labs API TTS text to speech With the creation of this API applications of it can be used to aid users in understanding audio in another language that may not already come with captions translation Future Considerations UIThe goal of this project was to focus on the API rather than the UI With more time I d prefer to swap out this Next js UI in favor of a Google Chrome extension and try to listen to whatever audio is playing in a browser tab and initiate the translation through the extension APIGoogle Translation can translate to a number of languages other than English but for now the default is set to English until we can access some WellSaid Labs voice actors in other languages Detecting voice style in audio would be another awesome improvement in order to select a voice actor that matches the voices from the input audio For now we default to voice actor from WellSaid when we could take advantage of the voices that are available Submission Category Accessibility Advocates Link to Code on GitHub Additional Resources InfoAn Example Please note that I have a feature flag disabled so the example below will show the translation part of this app but not the audio generation part In this screenshot we have uploaded an audio clip taken from an interview with Selena Quintanilla which is originally in Spanish And below the button we display the text that we have transcribed with Deepgram and translated with Google Here is the output as from the server logs Sample Audio with WellSaid Labs Synthetic Voice Alana B hosted here 2022-04-11 23:19:23
海外TECH DEV Community Typescript Tip: Safer functions with branded types. https://dev.to/andersonjoseph/typescript-tip-safer-functions-with-branded-types-14o4 Typescript Tip Safer functions with branded types Imagine you have a function like this one interface Post id number title string export function getPosts page number Post perform some query to return posts from a database return getPosts accepts a page argument and retrieves posts from a data source Now what if getPosts is used like this const posts getPosts Obviously That s incorrect because a page number can not be negative A simple solution would be add a line like this one if page lt throw Error Page must be a positive number But would not be nice if we receive a type error when we try to call the function with a negative number The problem here is that the type number is too general for our function number can be any number and we are expecting just a positive number We can create a type alias for it type PositiveNumber number Although it makes our code more readable using a simple alias doesn t solve the problem Because we are still able to pass any number as an argument to getPosts This is when we can create a Branded Type Branded TypesWhen the base type is too general we can use this pattern type PositiveNumber number amp type PositiveNumber Here we are using an intersection between the base type number and an object with the type property this private property holds the brand type and its used to differentiate it from a regular number We can rewrite our function to type PositiveNumber number amp type PositiveNumber export function getPosts page PositiveNumber Post return Now if we try to call it like before we re going to receive the error we expect const posts getPosts Argument of type number is not assignable to parameter of type PositiveNumber Let s try with a valid number const posts getPosts Argument of type number is not assignable to parameter of type PositiveNumber Hmm that s doesn t make sense I m sure is a positive number We are still receiving the same error because we are still passing a number not a PositiveNumber Son wee need to explicitly say to the compiler that we are passing a PositiveNumber using the as keyword const posts getPosts as PositiveNumber That will get rid of the error Now what if we have a variable that we can t tell if it s a positive number or not const page incomingRequest body here page could be a positive or a negative number so we can t use the as keyword because we can t be sure of what is the actual value const posts getPosts page To solve this we can use an assertion function that asserts page is an actual PositiveNumberfunction assertsPositiveNumber value number asserts value is PositiveNumber if value lt throw new Error Value must be a positive number Now with this assertion we can tell if page is a positive number or not const page incomingRequest body assertsPositiveNumber page const posts getPosts page at this point TypeScript know that page its a PositiveNumberIf you liked this tip please share it and hit the Further Reading Assertion FunctionsBranding and Type Tagging 2022-04-11 23:18:28
海外TECH DEV Community "Summarizer" - Convert any video/audio to summarized text https://dev.to/sushantratnam/summarizer-convert-any-videoaudio-to-summarized-text-27bi quot Summarizer quot Convert any video audio to summarized textHello everyone This is my submission post for the Deepgram hackathon under Build Challenge Overview of My SubmissionWe are often part of long Zoom meetings where we wish to get the short summary later or just glance over the meeting notes after some time for reference Additionally instead of watching long Youtube videos what if you can just get a gist of it in text form without spending long hours going through the video Summarizer can help here in easing our life Just give Youtube link or upload any video audio and it will automatically generate the summary along with the entire text to compare with Along with this important keywords are listed down too to classify the video in any category and understand its genre TechnologiesNode ExpressReactJsDeepgram APIDeepAI Deployed on Netlify FE and Heroku BE Future ScopeApp is using in memory store for media which might be bottleneck if there are many concurrent users I would like to use some Database or S for media storageBetter UI and code cleanup with proper componentizationLink to rd Party services like Zoom Google Meet MS Teams to auto generate the summary and mail to the participantsSupport for any video audio external link directly provided to generate the summary Submission Category Wacky Wildcards Link to Code on GitHubServer SushantRatnam summarizer server summarizer serverThis is the server part of the Summarizer app which converts audio video or Youtube videos to summarized text It also generates important keywords from the media serves via JSON API This app is created using ExpressJS on Node environment View on GitHubClient SushantRatnam summarizer client summarizer clientFrontend for the Summarizer App using ReactJs and consuming API from the backend App gives short summary along with important keywords View on GitHub Additional Resources InfoAppDeepAI 2022-04-11 23:16:33
海外TECH DEV Community Redimensionando espaço em disco em servidor linux sem LVM https://dev.to/rapha__carvalho/redimensionando-espaco-em-disco-em-servidor-linux-sem-lvm-3a4j Redimensionando espaço em disco em servidor linux sem LVMPrimeiramente redimensione o espaço em disco do server no wmware ou outro virtualizador Inicia o server Inicia o parted na vm root srvubuntu parted dev sdaGNU Parted Using dev sdaWelcome to GNU Parted Type help to view a list of commands parted Comando print para ver o esquema de partição e o tamanho dos volumes atuais parted printModel VMware VMware Virtual S scsi Disk dev sda GBSector size logical physical B BPartition Table gptDisk Flags Number Start End Size File system Name Flags kB kB kB bios grub kB GB GB ext parted Após perceber que o End émenor que o tamanho real do Disk sda devemos inserir o comando resizepart parted resizepart Warning Partition dev sda is being used Are you sure you want to continue Ao ser questionado se deseja mesmo fazer as mudanças digite Yes Yes No Yes Escreva o novo tamanho total com GB ao final End GB GBPor fim saia do parted com o comando quit parted quitInformation You may need to update etc fstab Para ver as mudanças em disco root srvubuntu fdisk l dev sda grep dev dev sda M BIOS boot dev sda G Linux filesystemPercebe que não houve alteração real root srvubuntu df hFilesystem Size Used Avail Use Mounted onudev M M devtmpfs M M M run dev sda G G G tmpfs M M dev shmtmpfs M M run locktmpfs M M sys fs cgroup dev loop M M snap core dev loop M M snap snapd dev loop M M snap lxd tmpfs M M run user Por fim aplica o comando para redimensionar o disco sda neste caso root srvubuntu resizefs dev sda Agora sim redimensiona o disco resizefs Jan Filesystem at dev sda is mounted on on line resizing requiredold desc blocks new desc blocks The filesystem on dev sda is now k blocks long Veja aplicado root srvubuntu df hFilesystem Size Used Avail Use Mounted onudev M M devtmpfs M M M run dev sda G G G tmpfs M M dev shmtmpfs M M run locktmpfs M M sys fs cgroup dev loop M M snap core dev loop M M snap snapd dev loop M M snap lxd tmpfs M M run user root srvubuntu 2022-04-11 23:06:58
海外TECH DEV Community Add Speech Recognition to Your PC even to your TV https://dev.to/bleakview/add-speech-recognition-to-your-pc-even-to-your-tv-4j0n Add Speech Recognition to Your PC even to your TV Overview of My SubmissionMost of our day to day usage of computers uses our computers as a sound device so I thought it will be nice if I somehow connect default audio output to voice recognition so that independent of what software you use all words will be recognized Teams youtube tiktok twitter Edge VLC …you name it unfortunately for Windows only And how much can we push it like Subtitles for cable TV Submission Category Accessibility Advocates Link to Code on GitHub bleakview deepgramwinsys Deepgram sound to text converter for all sounds in emitted Windows deepgramwinsysDeepgram sound to text converter for all sounds in emitted WindowsWhat you can find in this repository How to get started Deepgram in windows formsSample for custom label control with borders in Windows formHow to get and capturesystem wide default audio outputHow to record captured audio as mpHow to save and get system settings View on GitHub Additional Resources InfoIn order to have system wide voice recognitionyou need basically need two components a voice recognizer service like deepgram and some way to eavesdrop generated sounds from PC I chose C as language as I will be directly connecting to System In order to loopback technical term for connecting to self sound system in windows you use Wasapi driver I chose NAudio library for windows system And here are some of the results It works on teamsIt works on browserWhile the system has settings transparent …properties the most critical system is getting audio and recognize it private async void ConvertAndTranscript enter credentials for deepgram var credentials new Credentials textBoxApiKey Text Create our export folder to record sound and CSV file var outputFolder CreateRecordingFolder File settings var dateTimeNow DateTime Now var fileName dateTimeNow Year dateTimeNow Month dateTimeNow Day dateTimeNow Hour dateTimeNow Minute dateTimeNow Minute record var soundFileName fileName mp var csvFileName fileName csv var outputSoundFilePath Path Combine outputFolder soundFileName var outputCSVFilePath Path Combine outputFolder csvFileName init deepgram var deepgramClient new DeepgramClient credentials init loopback interface WasapiLoopbackCapture new WasapiLoopbackCapture generate memory stream and deepgram client using var memoryStream new MemoryStream using var deepgramLive deepgramClient CreateLiveTranscriptionClient the format that will we send to deepgram is Khz bit channels var waveFormat new WaveFormat var deepgramWriter new WaveFileWriter memoryStream waveFormat mp writer if we wanted to save audio LameMPFileWriter mpWriter checkBoxSaveMP Checked new LameMPFileWriter outputSoundFilePath WasapiLoopbackCapture WaveFormat LAMEPreset STANDARD FAST null file writer if we wanted to save as csv StreamWriter csvWriter checkBoxSaveAsCSV Checked File CreateText outputCSVFilePath null deepgram options var options new LiveTranscriptionOptions Punctuate true Diarize true Encoding Deepgram Common AudioEncoding Linear ProfanityFilter checkBoxProfinityAllowed Checked Language SelectedLanguage LanguageCode Model SelectedModel ModelCode connect await deepgramLive StartConnectionAsync options when we receive data from deepgram this is mostly taken from their samples deepgramLive TranscriptReceived s e gt try if e Transcript IsFinal amp amp e Transcript Channel Alternatives First Transcript Length gt var transcript e Transcript var text transcript Channel Alternatives First Transcript CaptionForm captionLabel BeginInvoke Action gt csvWriter WriteLine DateTime Now ToString yyyy MM dd HH mm ss GMT zzz text CaptionForm captionLabel Text text CaptionForm captionLabel Refresh catch Exception ex deepgramLive ConnectionError s e gt when windows tell us that there is sound data ready to be processed better than polling WasapiLoopbackCapture DataAvailable s a gt mpWriter Write a Buffer a BytesRecorded var buffer ToPCM a Buffer a BytesRecorded WasapiLoopbackCapture WaveFormat deepgramWriter Write buffer buffer Length deepgramLive SendData memoryStream ToArray memoryStream Position when recording stopped release and flush all file pointers WasapiLoopbackCapture RecordingStopped s a gt if mpWriter null mpWriter Dispose mpWriter null if csvWriter null csvWriter Dispose csvWriter null WasapiLoopbackCapture Dispose WasapiLoopbackCapture StartRecording while WasapiLoopbackCapture CaptureState NAudio CoreAudioApi CaptureState Stopped if CancellationTokenSource IsCancellationRequested true CancellationTokenSource Dispose CancellationTokenSource null return Thread Sleep The rest of the code is for getting code ready to exexute show hide forms etc So after all how can you you have subtitles on TV In order to achieve this you need to somehow enter TV signal to PC I use a usb capture card for this in order to process capture card input I use OBS once I get the audio signal it makes no difference to me since I process all output sound signals Then I use computers HDMI output to send signal to TV It makes no difference to TV and Cable box Ps If you have some issues with lagging check your network connection also there seems to be a problem with memory stream which is not happy with hacky solution Any PR is welcomed 2022-04-11 23:03:52
海外TECH DEV Community Letter to Linkedin Recruiters https://dev.to/espoir/letter-to-linkedin-recruiters-d3j Letter to Linkedin RecruitersDear Linkedin Hiring Managers and Aka Tech Recruiters I am writing to you people on behalf of my fellow developers Thank you for always trying to reach out to us even if we mentioned that we are not looking for opportunities on our LinkedIn profile We appreciate the courage we know what it takes for a man to try to date a woman who said to everyone he is in a relationship or a married woman Please next time if you are reaching out to us please take some time to go over our profile and read it carefully Take some time to go over our Github pages as well Most of the time googling our name will take you to our portfolio Don t just copy paste an email and send it to a list of people This is how some of you requested a creator of a framework with four years of experience in the framework he created three years back Please do your research If we have agreed to discuss this with you please first of all show up We know the whole feeling of being ghosted and how it hurts If we are talking on the phone please make sure you read our cv resume before we don t want to be asked questions about the technologies we are familiar with or proficient with Learn our jargon If we told you that we are proficient with the PyData Stack why are you keep asking us if we know pandas and numpy More importantly never ask us for our salary expectations on the first call tell us about the budget you have for the role and that will be enough Or even worst asking us for our current salary If we are currently underpaid why try to continue with the same schema If you keep doing things like this and don t change your practices we will run away from your Linkedin and start posting our CV in JSON format to allow only people who can read them PS I am not looking for work I am happy with my current role don t try to reach out to me again after reading this message Regards Sincerely Busy Developers 2022-04-11 23:02:11
海外TECH DEV Community Como utilizar as configurações e opções de um aplicação .NET . https://dev.to/paulowalravendev/como-utilizar-as-configuracoes-e-opcoes-de-um-aplicacao-net--5edh Como utilizar as configurações e opções de um aplicação NET Ter os conhecimentos nas configurações e opções éum conceito fundamental para as aplicações exceto os aplicativos básicos Os tópicos que serão apresentadosUsar a configuração e como defini la com arquivos JSONAcessar a configuração em runtime tempo de execução Entender sobre o padrão de opções que o NET utiliza Utilizar outros provedores de configuração mantendo os segredos e chaves confidenciais seguras O que éa classe Configuration Prover configurações iniciais para sua aplicação Ao mudar seus valores a aplicação não precisa ser recompilada Pode ser definidas de várias origens diferentes Acessamos em runtime e podemos controlar o comportamento da aplicação A classe Configuration ficam disponíveis através desse package Microsoft Extensions Configuration A estrutura de uma configuração éum dicionário com chave valor onde a chave sempre sera uma string e valor um dado string ou um dicionário Segue o exemplo Secao ChaveA Valor da chave A ChaveB Valor da chave B Secao SubSecao ChaveA Valor da subsecção chave A Para recuperar os valores podemos utilizar o padrão dessa maneira Chave Secao ChaveA Output Valor da chave A Chave Secao SubSecao ChaveA Output Valor da subsecção chave A Definindo as opções na prática após criar um projeto Net Web vamos atéo arquivo appsettings json Observação Percebe que temos dois arquivos appsettings um json e outro Development json eles seguem o padrão de carregamento que caso seja informado algum valor na variável de lançamento ASPNETCORE ENVIRONMENT ele tentaráler o appsettings dessa variável e darápreferencia na busca caso não consiga ira utilizar o padrão appsettings json Definiremos alguns valores de configuração dentro de um arquivo JSON que serácarregado quando nosso aplicativo for iniciado Criei um controller e fiz a injecção de dependencia da interface IConfiguration através do constructor com ela temos o método GetValue e através dele recuperei o valor da nossa mensagem Observação Alterar os valores do appsettings json não gera a necessidade de recompilar a aplicação Utilizando o método GetSection e pegando o valor de um campo utilizando novamente o GetValue Vamos implementar algo um pouco mais complexo nosso feature flag de demonstração adicionei as seguinte opções na nossa configuração código omitido Features HelloWorldService EnableService false Messages Default Hello World Disable Sorry but I m disabled Criei uma interface para o serviço e duas implementação dessa interface public interface IHelloWorldService string SayHello public class HelloWorldService IHelloWorldService private readonly IConfiguration configuration public HelloWorldService IConfiguration configuration configuration configuration public string SayHello gt configuration GetValue lt string gt Features HelloWorldService Messages Default public class DisableHelloWorldService IHelloWorldService private readonly IConfiguration configuration public DisableHelloWorldService IConfiguration configuration configuration configuration public string SayHello gt configuration GetValue lt string gt Features HelloWorldService Messages Disable Defini a resolução desse serviço na Program cs codigo omitidoif builder Configuration GetValue lt bool gt Features HelloWorldService EnableService builder Services TryAddSingleton lt IHelloWorldService HelloWorldService gt else builder Services TryAddSingleton lt IHelloWorldService DisableHelloWorldService gt Referencias e créditos Créditos da capa utm medium referral amp utm content creditShareLink 2022-04-11 23:00:48
金融 金融総合:経済レポート一覧 支店長会議総裁開会挨拶要旨(2022年4月)黒田総裁 http://www3.keizaireport.com/report.php/RID/491958/?rss 日本銀行 2022-04-12 00:00:00
金融 金融総合:経済レポート一覧 FX Daily(4月8日)~ドル円、124円台前半に上昇 http://www3.keizaireport.com/report.php/RID/491959/?rss fxdaily 2022-04-12 00:00:00
金融 金融総合:経済レポート一覧 ロシア国債は選択的デフォルト。ルーブルの安定回復は一時的:木内登英のGlobal Economy & Policy Insight http://www3.keizaireport.com/report.php/RID/491960/?rss lobaleconomypolicyinsight 2022-04-12 00:00:00
金融 金融総合:経済レポート一覧 SNS情報から読み取る「日本の空気感指数」の紹介 http://www3.keizaireport.com/report.php/RID/491961/?rss 野村総合研究所 2022-04-12 00:00:00
金融 金融総合:経済レポート一覧 投資家置き去りの東証プライム市場~真の「プライム企業」とは:基礎研レポート http://www3.keizaireport.com/report.php/RID/491963/?rss 置き去り 2022-04-12 00:00:00
金融 金融総合:経済レポート一覧 金融機関はなぜ合併するのか~会社法・銀行法の観点から:研究員の眼 http://www3.keizaireport.com/report.php/RID/491964/?rss 金融機関 2022-04-12 00:00:00
金融 金融総合:経済レポート一覧 誰のためにESGへ注力するのか~ESGは人のためならず:基礎研レター http://www3.keizaireport.com/report.php/RID/491965/?rss 研究所 2022-04-12 00:00:00
金融 金融総合:経済レポート一覧 円の実質実効為替レートの歴史的低下の意味を考える http://www3.keizaireport.com/report.php/RID/491968/?rss 国際通貨研究所 2022-04-12 00:00:00
金融 金融総合:経済レポート一覧 マネロン等態勢整備の強化が求められる中での外為推進のあり方:ニュース&トピックス http://www3.keizaireport.com/report.php/RID/491980/?rss 中小企業 2022-04-12 00:00:00
金融 金融総合:経済レポート一覧 マネー・ローンダリング及びテロ資金供与対策に関するガイドライン 令和3年2月19日 http://www3.keizaireport.com/report.php/RID/491982/?rss 資金供与 2022-04-12 00:00:00
金融 金融総合:経済レポート一覧 サステナブルファイナンス・プラットフォームが天然ガス火力発電をアンバータクソノミーに分類することを提案:Research Clip http://www3.keizaireport.com/report.php/RID/491989/?rss researchclip 2022-04-12 00:00:00
金融 金融総合:経済レポート一覧 世界経済の分断を象徴する米中長期金利の逆転とドル高円安:木内登英のGlobal Economy & Policy Insight http://www3.keizaireport.com/report.php/RID/491995/?rss lobaleconomypolicyinsight 2022-04-12 00:00:00
金融 金融総合:経済レポート一覧 IPO Monthly Report (2022年3月)~2022年3月の月間新規上場会社数は、8社(前年比5社減) http://www3.keizaireport.com/report.php/RID/492002/?rss ipomonthlyreport 2022-04-12 00:00:00
金融 金融総合:経済レポート一覧 日本取引所金融商品取引法研究 第21号~ 金融・資本市場における金融庁の取組み(2020年7月以降) / 2021年改正「顧客本位の業務運営に関する原則」(1) -実務の取組み / 2021年改正「顧客本位の業務運営に関する原則」(2) -法的論点 http://www3.keizaireport.com/report.php/RID/492007/?rss 日本取引所 2022-04-12 00:00:00
金融 金融総合:経済レポート一覧 日本取引所金融商品取引法研究 第22号~ 金融サービス仲介業 http://www3.keizaireport.com/report.php/RID/492008/?rss 日本取引所 2022-04-12 00:00:00
金融 金融総合:経済レポート一覧 サステナブルファイナンスの多様化と、そのアウトカムの透明性向上のための、定量的なインパクトの測定・管理とは http://www3.keizaireport.com/report.php/RID/492012/?rss eyjapan 2022-04-12 00:00:00
金融 金融総合:経済レポート一覧 オーストラリア マーケット動向(2022/4/11)【隔週版】~ここ2週間の豪ドルの対円レートは、上昇 http://www3.keizaireport.com/report.php/RID/492015/?rss 三井住友 2022-04-12 00:00:00
金融 金融総合:経済レポート一覧 【石黒英之のMarket Navi】米実質金利上昇下における米国株の見通し http://www3.keizaireport.com/report.php/RID/492016/?rss marketnavi 2022-04-12 00:00:00
金融 金融総合:経済レポート一覧 週間市場レポート(2022年4月4日~4月8日)~日本の株式・債券市場、米国の株式市場、外国為替市場 http://www3.keizaireport.com/report.php/RID/492017/?rss 債券市場 2022-04-12 00:00:00
金融 金融総合:経済レポート一覧 豪州の早期利上げ観測の浮上と豪ドル相場の展望:オーストラリアレポート http://www3.keizaireport.com/report.php/RID/492018/?rss 利上げ観測 2022-04-12 00:00:00
金融 金融総合:経済レポート一覧 【注目検索キーワード】脱炭素燃料 http://search.keizaireport.com/search.php/-/keyword=脱炭素燃料/?rss 検索キーワード 2022-04-12 00:00:00
金融 金融総合:経済レポート一覧 【お薦め書籍】5秒でチェック、すぐに使える! 2行でわかるサクサク仕事ノート https://www.amazon.co.jp/exec/obidos/ASIN/4046053631/keizaireport-22/ 結集 2022-04-12 00:00:00
金融 日本銀行:RSS 企業物価指数(3月) http://www.boj.or.jp/statistics/pi/cgpi_release/cgpi2203.pdf 企業物価指数 2022-04-12 08:50:00
金融 日本銀行:RSS 貸出・預金動向(3月) http://www.boj.or.jp/statistics/dl/depo/kashi/kasi2203.pdf 預金 2022-04-12 08:50:00
ニュース BBC News - Home Shop sales slow as cost of living pressures build https://www.bbc.co.uk/news/business-61072471?at_medium=RSS&at_campaign=KARANGA budgets 2022-04-11 23:05:52
ニュース BBC News - Home Rape prosecution plan lacks ambition, say MPs https://www.bbc.co.uk/news/uk-61073880?at_medium=RSS&at_campaign=KARANGA mpsmps 2022-04-11 23:43:54
ニュース BBC News - Home Two new drugs to fight superbugs available on NHS soon https://www.bbc.co.uk/news/health-61068074?at_medium=RSS&at_campaign=KARANGA affordable 2022-04-11 23:36:32
ニュース BBC News - Home The Papers: Mariupol's 'last stand' and Sunak tax inquiry https://www.bbc.co.uk/news/blogs-the-papers-61075407?at_medium=RSS&at_campaign=KARANGA airports 2022-04-11 23:50:26
ニュース BBC News - Home The Ukrainian bride who fled to India from Kyiv with a coffee machine https://www.bbc.co.uk/news/world-asia-india-61034754?at_medium=RSS&at_campaign=KARANGA machine 2022-04-11 23:30:07
北海道 北海道新聞 遠藤航がコロナ陽性 ドイツ1部シュツットガルト https://www.hokkaido-np.co.jp/article/668376/ 日本代表 2022-04-12 08:08:00
北海道 北海道新聞 要衝マリウポリ制圧へロシア攻勢 陥落目前、大統領「死者数万人」 https://www.hokkaido-np.co.jp/article/668375/ 陥落 2022-04-12 08:05:00
仮想通貨 BITPRESS(ビットプレス) [CoinDesk Japan] ビットコインのマイアミ・イベント、投資家が聞くべき議論とは https://bitpress.jp/count2/3_9_13160 coindeskjapan 2022-04-12 08:10:13
ニュース THE BRIDGE インキュベイトF、〝ファンド・オブ・ファンズ〟の2号ファンドを組成——最終規模は100億円を目指す https://thebridge.jp/2022/04/incubate-fund-launches-iflp2-fund インキュベイトF、〝ファンド・オブ・ファンズ〟の号ファンドを組成ー最終規模は億円を目指すインキュベイトファンドは日、独立系シードファンドへのLP出資に特化したファンド通称IFLPの号ファンドを組成したと発表した。 2022-04-11 23:30:22

コメント

このブログの人気の投稿

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

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

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)