投稿時間:2022-03-26 15:26:21 RSSフィード2022-03-26 15:00 分まとめ(26件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
TECH Engadget Japanese Amazon新生活セールで液晶&有機ELテレビが安い! ファミリー向けモデルも、一人暮らし向きモデルも https://japanese.engadget.com/new-life-sale-tv-053258397.html amazon 2022-03-26 05:32:58
TECH Engadget Japanese ポータブルMac miniを自作した猛者現わる。タッチスクリーン操作も可能に https://japanese.engadget.com/portable-mac-mini-touchscreen-operation-050524568.html youtuber 2022-03-26 05:05:24
TECH Engadget Japanese AnkerのPD充電器やモバイルバッテリーが最大20%オフ!|Amazon新生活セール https://japanese.engadget.com/new-life-sale-anker-050457034.html amazon 2022-03-26 05:04:57
python Pythonタグが付けられた新着投稿 - Qiita PythonでGoogleDriveへアクセス https://qiita.com/yo16/items/2824bacf144c6c190e57 技術的には、OAuth認証してGoogleDriveへのアクセスをする実装をすると、認証が必要な場面になるとGoogleのどのアカウントでこのサービスを使いますかという確認ダイアログが出ました。 2022-03-26 14:57:00
python Pythonタグが付けられた新着投稿 - Qiita plotlyの散布図(scattergl)で大きなデータセットを間引いて表示する https://qiita.com/boronspoon/items/fbfab3e0aad34bfc320a 問題点k点以上の描画が必要pointcloudでは必要なy軸の書式を実現できなかったautomarginが変な動作をしており、y軸タイトルが見切れていたy軸ラベルが中央ぞろえになっていたのを修正することができなかったpointcloudは今後のplotlyでは使えなくなると述べられていた解決策データを間引いて表示する。 2022-03-26 14:53:08
js JavaScriptタグが付けられた新着投稿 - Qiita JavaScriptでゲームを作る🎮 その2 https://qiita.com/sfjwr/items/0392dc0cc5b114f0ff81 座標の回転は高校の数学あたりで習ったような気がするxxcosthetaysinthetayxsinthetaycosthetaで行うのですが、この式は原点を中心とした回転になるため、原点中心で座標を設定しておかないといい感じの回転にならないためです。 2022-03-26 14:10:10
GCP gcpタグが付けられた新着投稿 - Qiita PythonでGoogleDriveへアクセス https://qiita.com/yo16/items/2824bacf144c6c190e57 技術的には、OAuth認証してGoogleDriveへのアクセスをする実装をすると、認証が必要な場面になるとGoogleのどのアカウントでこのサービスを使いますかという確認ダイアログが出ました。 2022-03-26 14:57:00
技術ブログ Developers.IO 入力文字読み上げソフト『VOICEPEAK』を試してみた https://dev.classmethod.jp/articles/tried-using-voicepeak/ voicepeak 2022-03-26 05:49:00
技術ブログ Developers.IO 特定のリージョンでインスタンスのスクリーンショット取得が出来ない原因について https://dev.classmethod.jp/articles/tsnote-ec2-screenshot-001/ 辺り 2022-03-26 05:20:28
海外TECH DEV Community Grrr Character Encoding https://dev.to/geraldew/grrr-character-encoding-2lia Grrr Character EncodingThese are some personal notes about why character encoding is still a problem in Like most of my postings these are written to be something I can email a link to various people In this case it is my own abbreviated distillation of facts mixed with opinions so it will include some generalisations Nonetheless commenters should feel free to nitpick and discuss Note this will be given from an English language perspective for two de facto reasons that s what most of the tech world uses the full multi language situation was and remains complicated and I wanted to write a simpler summary The main basic encodingsHere are the headings I m going to write under ASCIIIBM PC Extended ASCIISo Called ANSIUnicode the IdeaUnicode As Done By MicrosoftUnicode UTF Those are the minimum that I think programmers and data scripters need to know about ASCIIDefined as a bit encoding therefore codes with about printable ones and about control characters Originally many of the control characters had meaning e g as serial transmission controls but gradually these fell out of use In practice by now the only ones in consistent use are TabLine Feed LF aka New Line NL Carriage Return CR Even so there is a schism between the Microsoft world and everyone else Microsoft uses a CRLF pair to mark line ends in text files Unix use a single NL to mark line ends in text files ergo so do Linux Android MacOS and iOS et al While ASCII only defined a bit encoding when the Personal Computer revolution later occurred the bit Byte was the standard way of holding an ASCII character This meant there was room for doing things with the extra values a byte could store Links ASCIIHistory of personal computers IBM PC Extended ASCIIAs the IBM PC took over the market through the s a character set supplied in it became commonly used to draw things that looked like borders for boxes and windows etc A rudimentary style of GUI interface became common especially as the full graphical display of the Macintosh became widely known This set also added enough extra Latin characters to cover most of the Western European languages as well as a few currency symbols e g the British Pound and Japanese Yen Code page So Called ANSIAs Windows grew in market share essentially with the Windows release the set that it came with took over the mind share of what the second characters looked like Because Windows didn t need the border block characters any more places were freed to have other uses The selection was one of Microsoft s choosing so it doesn t exactly match any other standard character encoding While it was always a misnomer many of us came to refer to that set as the ANSI set See the link for its more precise name Windows Unicode the IdeaThe very mixed up multi language side of character encoding was a continual frustration and eventually some people got together to sort out a better approach A crucial thing to understand about Unicode is that it defines the meaning of each code point and then there are various ways of encoding those for actual storage and or transmission That still leads to a lot of change issues and human politics that I m not going to cover Here we ll just take it as read that there is a single current definition of Unicode UnicodeCode point Unicode As Done By MicrosoftWhich is to say UCS because despite whatever you may read for the most part Microsoft i e Windows does not use UTF In shortMicrosoft were quick to adopt Unicode and went ahead with a bit encoding They deserve praise for that as this probably helped Unicode gain wide usage Alas when better encodings soon settled they just ignored that and kept using their own Alas no single link for this so interpretation will require reading between the lines of UCS an obsolete Universal Character Set encodingUTF which for example has this Older Windows NT systems prior to Windows only support UCS Files and network data tend to be a mix of UTF UTF and legacy byte encodings Yet my observation is that most Windows applications including those by Microsoft still just use UCS Unicode UTF By the concepts for UTF were settled and its run as the most commonly used encoding of Unicode began To quote UTF is the dominant encoding for the World Wide Web and internet technologies accounting for of all web pages and up to for some languages as of This is a variable byte encoding method so that for most English texts only a byte is needed per character Depending on its Unicode code point a character may be encoded as or bytes A bit less obvious is that not all byte sequences make for valid UTF there are sequences that simply should not happen see Invalid sequences and error handling at the Wikipedia page This has ramifications when UTF is used as a declared part of some other standard e g XML which takes it as the default UTF Byte Order MarkingAs much as I d like to skip mentioning this it may come up at times This is a feature of the UTF style encodings Interestingly it is both sensible and yet problematic I ll defer to Wikipedia for the details but for this article here is the key quote BOM use is optional Its presence interferes with the use of UTF by software that does not expect non ASCII bytes at the start of a file but that could otherwise handle the text stream I ve mentioned it partly because the Tools that I provide later on can show whether the byte order mark BOM was noticed and what it indicated Byte order mark What HappenedLet s recap the sequence of events ASCII was defined and people used itthe IBM PC came out and programmers used its extended set to draw boxes and do simple GUI combinationsWindows came along with fully drawn graphics and the so called ANSI set was used to cover most of the Latin variation languages i e European Unicode came along and Microsoft implemented a bit character encoding for itas Unicode settled down UTF was defined and became the standard used by almost everyoneexcept Microsoft who stubbornly stuck to their own bit encoding Not quite in that list is that even though Microsoft changed to a bit encoding most programs still had to deal with bit encoded files Whether a given tool would save store using bit or bit could can be hard to guess In it s still a messThe example that has prompted me to write this piece is that I emailed an exported source code file from my Windows based workplace to my home When I went to open the file on my Linux system the text editor complained that it couldn t make sense of the character encoding To handle the file it would require me to specify the appropriate encoding for reading the file This begged the question of did I know for sure what encoding the file really had On Windows the file just seemed like any other text file In truth I ve been through this step many times so this wasn t a surprise However this time I had planned to inspect the file maybe edit it a little then email it to someone else I have no idea what computer platform that person uses Ergo I had no idea what encoding they would want need to receive as a text file Good ToolsIn the spirit of this piece I m going to ignore the many very technical options and just suggest two tools as good for a general user Notepad for WindowsNotepadqq for LinuxBoth of these do a very good job of recognising the character set in a file as they open itletting you tell which encoding the file should be interpreted asletting you tell it to convert the encoding to something elseThose features will probably cover most situations Lacking ToolsFrom my experience the feature still missing is an analyser or verifier of the encoding formats An example of this topic is this posted question and the type of answers it received How to check whether a file is valid UTF Note that the unanswered part of the question is claiming that the suggested solution still only reports invalid UTF files but doesn t report which lines characters to fix emphasis mine Caveat as I m old school when I hit problems of this type I usually break out a hex editor view and look at the raw bytes at issue But this is usually because I ve already spotted where there is an issue to resolve I don t have a go to tool for proving that an encoding is consistent and showing exactly where it is not False combinationsAs noted above most references to Microsoft s support of Unicode talk of it using UTF even though it doesn t Microsoft are not the only case of this At my workplace I ve had to point out that Teradata also uses invalid terminology In their documentation Teradata say both that they use UTF but also that UTF is a fixed two byte format it s not like UTF it is a variable length encoding so one of those two claims is false Another example seen by this writer is the blind usage of UCS encodings embedded inside something for which they are invalid such as UTF I saw this in a mass of XML which led the XML to fail schema validation that being an important feature of XML Hence something that competent programmers will have to deal with is the outcomes caused by incompetent ones Browsers versus Native toolsThis is really only an issue on Windows as there the predominant usage is still UCS for programs compiled for use on Windows However as web browsers use the Internet and there the predominant usage is UTF that provides a point of discord If you highlight text in the browser and then paste it into a Windows application what form of encoding gets copied Is that determined by the browser in placing content onto the clipboard or by the receiving application as it pastes from the clipboard Ditto for saving from the browser to a file if the content was UTF does the browser save to that or to UCS And if saving as UTF does it set the byte order mark Arrays versus ListsYes finally after all the above here is the sticking point for programmers do variable length encodings such as UTF affect the ability or efficiency when handling text strings As usual the answer is it depends Fundamentally this is about when they get treated as arrays versus as lists Now to be pedantic here what we mean by an array is a form of internal storage by which the place in memory for an item can be simply calculated by the position of the array then adding the size of the element multiplied by its index in the array Some of you and some languages have been using the term array for other things Please stop doing that you re part of the problem not part of the solution to anything How important this is is not quite clear Indeed it s easier to pose questions than it is to answer them A key question about usage is How often when writing code do we actually want to jump to the nth character How often do we want to step through all the characters in the string How often will the characters be outside the ASCII set A key question about implementations is What are the methods available How important is the amount of memory or storage required How important is predictability for the amount of memory or storage As an example it would be possible to use an array of variable length encoded characters And so having posed more questions than answers I m skipping to the next heading No links for this as there s a bazillion web forum questions and even more attempts at answering them EtcAnd of course there are other matters such as character collation e g Unicode collation algorithm uppercase lowercase conceptsleft to right versus right to left orderand well the list is endless really And again the question of whether these are logical issues and or are matters about the actual character encodings can be hard to pin down PythonRe all the above some quick comments about the situation in Python Python yes that had problems well documented go see about that elsewherePython works with Unicode by default and has explicit features for bringing in from and exporting to various encodings in theory there is no need for a Python programmer to know how CPython actually handles text strings internally From which I think there are three takeaways handling Unicode strings in Python should just work they are to be treated by the programmers as ordered lists of charactersif the speed or space worries you it s time to get or write a library in some other language for Python to call upon p s yes you can go read the current CPython source code to see how it currently does it That may or may not help for use of Jython et al Post ScriptThis article has deliberately glossed over a lot of other details for which you are encouraged to do further reading Some example points the CRLF pair instead of NL was inherited by Microsoft from CP M which was itself a world of teletype terminals including those that literally printed onto paper so the distinction between Carriage Return and Line Feed were actually useful Indeed so was the FF Form Feed character for jumping to the start of the next page sheet there were and are many distinct approaches used in various countries around the worldditto the support and use of code pages even currency symbols have had complex usage patterns e g the UK placement of their Pound Sterling symbol and later the introduction of the Euro with its symbol to be accommodated yes because Unicode also covers the idea of national flags as symbols and as that is done as a pair of Unicode characters then in theory such a symbol could be bytes long in UTF 2022-03-26 05:10:21
海外TECH DEV Community React To-Do App With LocalStorage API!!. 💾 https://dev.to/dedomil/react-to-do-app-with-localstorage-api-2gij React To Do App With LocalStorage API I Have Started Learning React js From Past Few Months I Also Have Other Things To Do So It Took Months Now I Have Created A React To do App With LocalStorage I Will Give Tutorial In Coming Blogs Also Comment Do You Like App Deployed Image Preview ️ Features Works Offline If App Is Loaded Once And Not Refreshed Not Like PWA Export Feature To Export All Your Todo s Just Click On Settings Button On Top Right Syncs Your Browser Theme This Is A Feature Of Daisy UI Comment Your Suggestions Below 2022-03-26 05:07:11
海外TECH DEV Community Binary Search in Golang https://dev.to/digitebs/binary-search-2jm2 golang 2022-03-26 05:04:18
海外TECH DEV Community How to create a DIY Inexpensive Cloud Data Lake https://dev.to/seekiansengeri1/how-to-create-a-diy-inexpensive-cloud-data-lake-28n7 How to create a DIY Inexpensive Cloud Data LakeIntroductionThe recent surge interest in data driven application has led me to attempt to build a Data Lake on the cloud I have always been someone to do things myself and a fan of opensource aka DIY amp Opensource guy Data science is all about how people can use this collected data and make some “learning out of it I will cover supervised unsupervised amp Reinforce Learning in another post There are stages company actively use the data Analytics Continuum Don t fret and lose sleep over this data scientists are paid to do magic to bring use to the cognitive nirvana stage Cognitive means machine behaving amp thinking like human Data LakeThis is what data lake in a nutshell Zaloni describe it as or put it in simpler term Data lifecycle Ingestion ETL Modelling amp Data Publishing Housekeeping amp Retraining IngestionInstall an Apache NIFI cluster in a Kubernetes cluster to ingest data from MQTT pull data from API Endpoints Additionally an API Gateway is required for others to sink data Data will be saved in STAGING zone STAGING Zone can be implemented using persistent storage or database ETLYou can install and use Apache Airflow to execute pre populated python scripts before moving the data to the input of the Models Again Here we can store processed data in Document Store like Mongoor Graph store NeoJ ModelModel is a bunch of code taking inputs apply mathematics and output the findings Models can be implemented using Python Scikit Learn and Apache Spark graphx Output from these models can be classified into Predictive Analytics Regression Model Pattern Analysis All these are basically mathematics Mathematics are effectively arithmetic calculus and geometry d d Run these modelling codes inside the Kubernetes Cluster Data PublishingEffectively the data output from the models can be used for other vendors or microservices Data is published to Apache Kafka amp persisted in a self managed Mongo Insight Data can be subscribed from endpoints using API Gateway Each customer will be given a legitimate access key to access the endpoints Data also can be displayed in dashboard like Kibana make available to customer We can setup a ELK stack in Kubernetes Cluster or you can subscribed to service like AWS OpenSearch Data output can be made to ran through workflows for checks for instance sending email alerts to stakeholder if abnormality is found It makes sense to use native services AWS SES amp AWS Lambda HousekeepingData gt Retaining period have to be cleared with scripts running in cron jobs or AWS Lambda RetrainingRaw data coming in have to be stores somewhere for retraining the models We can use storage like EBS EFS Blob Storage in this context For retraining and redeployment CI CD of models we can use tools like Apache MLFlow What s nextData GovernanceAfter finishing the base pipeline the next phase is to implement data governance We can use Opensource Apache Altas or Talend Enterprise here Data WarehouseOutput from data lake can then be store in structured data warehouse AWS Redshift and create data mart using Snowflake that is available in marketplace 2022-03-26 05:04:00
Apple AppleInsider - Frontpage News Mac Studio deals are here: save $200 to $400 on retail configurations https://appleinsider.com/articles/22/03/16/mac-studio-deals-have-arrived-save-200-to-400-on-retail-configurations?utm_medium=rss Mac Studio deals are here save to on retail configurationsAggressive Mac Studio discounts are going on now at Simply Mac with the Apple Premier Partner slashing retail M Max and M Ultra models by as much as Save up to instantly on Apple s new Mac Studio desktopDespite being announced only a week ago Simply Mac is knocking to off retail Mac Studio configurations Read more 2022-03-26 05:23:15
ニュース @日本経済新聞 電子版 「親ロ」曲げぬ習近平氏、経済に響けば権力闘争の火種に https://t.co/ChNrv2SCVl https://twitter.com/nikkei/statuses/1507598280099827714 権力闘争 2022-03-26 06:00:14
ニュース @日本経済新聞 電子版 内部通報制度、活用進む? 守秘義務など運用が課題 https://t.co/thWERY73Go https://twitter.com/nikkei/statuses/1507593594257145858 内部通報 2022-03-26 05:41:37
海外ニュース Japan Times latest articles Glitch hits Japanese regional banks’ ATMs and online services https://www.japantimes.co.jp/news/2022/03/26/business/japan-regional-banks-glitch/ Glitch hits Japanese regional banks ATMs and online servicesThe affected lenders included Hyakujushi Bank and at least one unit of Yamaguchi Financial Group Inc the holding company for Yamaguchi Bank Momiji Bank and 2022-03-26 14:40:28
海外ニュース Japan Times latest articles U.S. envoy Rahm Emanuel visits Hiroshima with Kishida https://www.japantimes.co.jp/news/2022/03/26/national/politics-diplomacy/rahm-emanuel-fumio-kishida-hiroshima/ fumio 2022-03-26 14:27:04
海外ニュース Japan Times latest articles Foo Fighters drummer Taylor Hawkins dies at 50 https://www.japantimes.co.jp/culture/2022/03/26/music/taylor-hawkins-obituary/ death 2022-03-26 14:16:36
ニュース BBC News - Home Netflix's Diana the Musical named worst film by Razzie Awards https://www.bbc.co.uk/news/entertainment-arts-60873398?at_medium=RSS&at_campaign=KARANGA awards 2022-03-26 05:21:56
ニュース BBC News - Home The papers: 'Russian retreat' and calls for P&O chief to quit https://www.bbc.co.uk/news/blogs-the-papers-60882753?at_medium=RSS&at_campaign=KARANGA staff 2022-03-26 05:09:17
北海道 北海道新聞 複数の地銀でシステム障害 百十四など、ATM使えず https://www.hokkaido-np.co.jp/article/661523/ 山口銀行 2022-03-26 14:14:42
北海道 北海道新聞 「もののけ姫」、仏で大織物に 無形文化遺産、完成披露 https://www.hokkaido-np.co.jp/article/661473/ 無形文化遺産 2022-03-26 14:22:10
北海道 北海道新聞 カーリング日本、コロナで棄権 女子世界選手権 https://www.hokkaido-np.co.jp/article/661423/ 世界選手権 2022-03-26 14:18:13
北海道 北海道新聞 中止のプロ野球 https://www.hokkaido-np.co.jp/article/661522/ 楽天生命パーク宮城 2022-03-26 14:02:00
海外TECH reddit アンパンマンこそ正義のヒーローだよね https://www.reddit.com/r/newsokunomoral/comments/tohefq/アンパンマンこそ正義のヒーローだよね/ ewsokunomorallinkcomments 2022-03-26 05:04:16

コメント

このブログの人気の投稿

投稿時間: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件)