python |
Pythonタグが付けられた新着投稿 - Qiita |
典型90問006 Smallest SubsequenceをPythonで解く! |
https://qiita.com/Chunky_RBP_chan/items/ed43605c2857bf17ce97
|
atcoder |
2022-04-13 04:58:02 |
海外TECH |
DEV Community |
Living with WFH.. 2 years later (a review)🏠 |
https://dev.to/adam_cyclones/living-with-wfh-2-years-later-a-review-4l32
|
Living with WFH years later a review This is probably an unpopular opinion but working from home all the time it s the best thing that ever happened to me Why you no like me It s not you it s me Meetings ️It s not that I don t like people it s just that being able to jump in out of meetings on a call is so so so much faster I usually have mins of opinion in any given meeting maybe mins of listening and mins of not listening Or even better solving the problems as they are being discussed and looking like some sort of time management traveling super duper person I lost my train of thought But don t worry now your at home you can drop your laptop on the floor and go play trains then come back a little later Genius Do you actually do any work Absolutely now there is no work life home life balance I can just pretend there is and cry myself to sleep at night worrying about taking out the bins and also do I have a race condition to fix don t your kids distract youNo work distracts me from them Save meAll in all I love it it s a winner what about you let me know in the comments below BFFL I m so lonely |
2022-04-12 19:41:30 |
海外TECH |
DEV Community |
Configuration ESLint and Prettier in a project React. |
https://dev.to/reynaldoz/configuration-eslint-and-prettier-in-a-project-react-2m7i
|
Configuration ESLint and Prettier in a project React ESLINT Install ESLintnpm install eslint save dev Initialize ESLintnpx eslint init answer questions as seen in the following image for configuration To fix a project you usenpx eslint fixPRETTIER Install configuration prettier and eslintnpm i eslint config prettier D Install prettiernpm i prettier D Create file prettierrc json and inside this file write your configuration In configuration JSON write editor formatOnPaste true editor formatOnSave true editor formatOnType true prettier eslintIntegration true |
2022-04-12 19:18:12 |
海外TECH |
DEV Community |
Paracetamol.js💊| #99: Explica este código JavaScript |
https://dev.to/duxtech/paracetamoljs-99-explica-este-codigo-javascript-2c6
|
Paracetamol js Explica este código JavaScript Explica este código JavaScriptconsole log amp amp undefined null console log false Symbol hola n console log typeof undefined null console log gt hola false amp amp true A n number falseB undefined Symbol hola string hola C null Symbol hola string hola D null number trueRespuesta en el primer comentarioRespuesta C null Symbol hola string hola El operador solo se ejecuta si el primer operando es un valor falsy El operador amp amp solo se ejecuta si el primer operando es un valor truthy El oeprador solo se ejecuta si el primer operando es null o undefinedDicho todo esto y conociendo los valores truthy y los valores falsy no debería costarte llegar a que la respuesta correcta es C |
2022-04-12 19:16:02 |
海外TECH |
DEV Community |
Post Event Reminders to Slack Using Netlify Functions |
https://dev.to/virtualcoffee/post-event-reminders-to-slack-using-netlify-functions-3ie0
|
Post Event Reminders to Slack Using Netlify FunctionsAt Virtual Coffee we have events almost every day and we hang out in Slack every day So it was inevitable that we d get some sort of event reminders going in Slack Our first pass was by the late Mike Rogers we miss you Mike ️ Our events were listed on MeetingPlace io so Mike wrote a Ruby app to pull date down from MeetingPlace and post to Slack Meetingplace Events Bot When we moved from Meetingplace to our own CMS I took the chance to do some upgrades and convert to Javascript at the same time Follow along and we can get some event reminders going for you Here s what you need A data source that can give you events in a specified range We have a custom CMS now that stores this data but this can also be from Meetingplace Meetup com or anywhere else A Slack App you ve created and added to your SlackA place to execute some Code we re using Netlify functionsSomething that can execute Cron Jobs we re using cron job org If you re going to do hourly reminders I d advise you not to use GitHub Actions You can t count on them to run close enough to the time the events start Creating your function on NetlifyA Netlify function is a Javascript file that lives at a url It can receive GET or POST parameters and can serve a response Our function is going to be called by our cron job more on this in a bit and will send a message to Slack When the function is called here s the basic outline of what will happen Cron job sends a GET request to our function s url with a GET parameter of type weekly type daily or type hourlyThe function will fetch events from our events data source with the appropriate parametersThe function will parse the events as neededNext it ll create some blocks using the block templates aboveFinally the function will send a message to Slack using the Slack Web API ClientSince every event API is going to look a little different I m not going to dig super deep into steps and A GitHub Template for You I created a basic GitHub template that you can use that follows the same ideas slack event reminders templateAfter you follow the instructions there you ll have a working Netlify Function Slack App that does everything we need Bonus Designing your Slack messageYou can post Slack messages in plain text but I ve found it pretty nice and straightforward to use Slack s Block Kit Builder to design messages like in the screenshot above Here s the blocks for our weekly message open in builder blocks type header text type plain text text This Week s Events Are emoji true type section text type mrkdwn text lt date date long pretty time Tuesday April AM EDT gt nVirtual Coffee Morning Crowd type section text type mrkdwn text lt date date long pretty time Thursday April PM EDT gt nVirtual Coffee Afternoon Crowd type section text type mrkdwn text lt date date long pretty time Tuesday April AM EDT gt nVirtual Coffee Morning Crowd type context elements type mrkdwn text See details and more events at lt VirtualCoffee IO gt Here s an example of our hourly message open in builder blocks type header text type plain text text Starting Soon emoji true type section text type mrkdwn text Test Event n lt date date long pretty time Tuesday April PM EDT gt accessory type button text type plain text text Join Event emoji true value join event url action id button join event type context elements type mrkdwn text An hour long chat with devs at all stages of the journey You can come to hang out with great people ask questions or bring up a topic or just sit back and listen to others talk about tech Currently open to slack members only Check announcements for the Join Event button Every Tuesday at AM ET type divider A couple cool things to note here The lt date gt command formats dates in the user s local time zone So if you have a date that starts at pm EST you can use the lt date gt command and it will output as am for a user in California The button accessory gives us a nice looking button for opening links You can even add a confirmation dialog or do some other actions with these if you want That s it Please feel free to let me know if there are any questions or file an issue on the GitHub template if you see somewhere we can improve |
2022-04-12 19:13:44 |
海外TECH |
DEV Community |
Turing Machine Simulator |
https://dev.to/elcamino666/turing-machine-simulator-3k4a
|
simulator |
2022-04-12 19:12:31 |
海外TECH |
DEV Community |
Hello fellow writers! |
https://dev.to/diamondzxd/hello-fellow-writers-1fj9
|
Hello fellow writers After a huge debate with myself on where to start the blog either self hosted on a CMS or without a CMS WYSIWYG or a Markdown based WordPress or Ghost Finally decided to just go on dev to enough for my needs and lets explore the field first rather than going into the specifics So hello Dev community I ll be writing posts on my interests my learnings and my failures the better learnings so stay tuned for the joy ride PS Oh I realized I had a Hacktoberfest badge associated with this account |
2022-04-12 19:12:20 |
Apple |
AppleInsider - Frontpage News |
Meta to charge content creators almost 50% to sell VR content |
https://appleinsider.com/articles/22/04/12/meta-to-charge-content-creators-almost-50-to-sell-vr-content?utm_medium=rss
|
Meta to charge content creators almost to sell VR contentMeta s charges to content producers for Horizon Worlds may be seen as hypocritical with the social company potentially clawing in almost half the value of virtual item purchases despite previous complaints about Apple s App Store fee An example of a content payment interface in Horizon WorldsMeta s Horizon Worlds is the company s first major foray into creating a metaverse platform for its Quest VR headset owners However experiments to enable content creators to earn from the sale of in world content may find Meta the subject of criticism due to its previous anti Apple comments Read more |
2022-04-12 19:18:28 |
海外TECH |
Engadget |
Google’s Pixel 6a is likely to be released in May |
https://www.engadget.com/googles-pixel-6-a-likely-to-be-released-in-may-195404066.html?src=rss
|
Google s Pixel a is likely to be released in MayGoogle s new model of the Pixel A series budget phones is likely to be released in May according to FCC listings first spotted by MySmartPrice The documents described features we ll likely see in future Pixel phones including the Pixel a the Pixel and the Pixel Pro At least one of the a models will support mmWave G also known as high band G which would likely make it one of the more affordable options for G phones in the market The timing of the documents ーas DroidLifepointed out ーsuggests that Google will release the a at its I O developer conference this year which starts on May th FCC rules require certain kinds of equipment to be tested and approved before they can be released in the US market Given that Google filed its equipment authorization documents for the a in July a month before its release we can expect similar timing with the a The new phone unlike the a which was only available in the US and Japan is also likely to be released in multiple countries Since different countries use different network bands smartphone makers usually submit documents for multiple models in such cases nbsp For those who are unfamiliar with the Pixel a the phone had a quiet release in August due to the pandemic Google then released the Pixel later that year which in our review we praised for its clever AI improvements and excellent camera The a will likely contain the same AI features thanks to Google s new Tensor mobile chip According to renders viewed by toGoogle the a will contain the same camera as the a If you were looking forward to more advanced photography modes this is worth keeping in mind But if you re looking for a fast AI enabled G smartphone in an affordable package the upcoming Pixel a seems like a solid choice |
2022-04-12 19:54:04 |
海外TECH |
Engadget |
T-Mobile resurrects Google Photos' unlimited storage, with a catch |
https://www.engadget.com/t-mobile-google-photos-unlimited-storage-193702645.html?src=rss
|
T Mobile resurrects Google Photos x unlimited storage with a catchDo you miss Google Photos unlimited storage You now have a chance to get it back but it will cost you Droid Lifenotes T Mobile is introducing an exclusive per month Google One plan that includes both TB of shareable space as well as unlimited quot full resolution quot photo and video storage You can upload as many shots as you d like from your phone without cutting into your allotments for Drive and Gmail The plan will be available starting April th It includes all the perks of the per month TB plan including VPN access advanced photo editing and extended trials for services like Stadia and YouTube Premium This offering won t be appealing to everyone when you ll have to tie yourself to two services It s also expensive if you re only looking for the unlimited photo storage ー per month plus any carrier switching costs is a lot to pay if you didn t need the other benefits If you don t see yourself leaving T Mobile or Google any time soon though this may be a welcome blast of nostalgia |
2022-04-12 19:37:02 |
海外TECH |
Engadget |
T-Mobile may have secretly attempted to buy customer data leaked in 2021 hack |
https://www.engadget.com/t-mobile-may-have-hired-a-third-party-firm-secure-leaked-data-192304950.html?src=rss
|
T Mobile may have secretly attempted to buy customer data leaked in hackLast August T Mobile confirmed it had fallen victim to a hack that saw the personal data of more than million of its customers compromised In the aftermath of that incident the carrier announced a multi year partnership with cybersecurity firm Mandiant At the time T Mobile CEO Mike Sievert said the firm alongside accounting agency KPMG would help the carrier audit its security practices and implement policies that would help it prevent future cybersecurity incidents Newly unsealed court documents PDF link filed by the Department of Justice suggest the carrier may have also hired a third party firm to prevent the data leaked in the hack from circulating more widely First spotted by Motherboard the documents detail criminal charges against Diogo Santos Coelho the alleged founder and administrator of RaidForums Before it was taken down by the Justice Department the website was a place where hackers came to buy and sell stolen data including it would seem the personal information of T Mobile s customers The documents detail an incident involving an individual who went by the alias “SubVirt At some point on or around August th they posted to RaidForums to try and sell a trove of recently hacked data The Justice Department doesn t explicitly name a victim instead referring to them simply as “Company but notes a later post “confirmed the data belonged to a major telecommunications company and wireless operator provides services in the United States According to the agency Company “hired a third party to purchase exclusive access to the database to prevent it being sold to criminals An employee posed as a potential buyer and paid approximately in Bitcoin to obtain a sample of the data They then paid an additional for the entire database with the understanding that SubVirt would delete their copy Unfortunately for Company SubVirt and their collaborators did not honor the agreement The Justice Department notes “it appears the co conspirators continued to attempt to sell the databases after the third party s purchase Based on information in the court documents and the timeline of the incident Motherboard which first reported the news of the data breach in suggests T Mobile is the unnamed carrier alluded to by the Justice Department We ve reached out to the company and Mandiant for comment |
2022-04-12 19:23:04 |
ニュース |
BBC News - Home |
Boris Johnson and Rishi Sunak fined over lockdown parties |
https://www.bbc.co.uk/news/uk-politics-61083402?at_medium=RSS&at_campaign=KARANGA
|
calls |
2022-04-12 19:26:48 |
ニュース |
BBC News - Home |
Partygate fines: Are Boris Johnson and Rishi Sunak finished? |
https://www.bbc.co.uk/news/uk-politics-61079172?at_medium=RSS&at_campaign=KARANGA
|
lockdown |
2022-04-12 19:51:51 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
漫画『キングダム』作者と入山章栄が生原稿で語る「超一流の振る舞い」 - 漫画「キングダム」にビジネスパーソンが夢中になる理由 |
https://diamond.jp/articles/-/301077
|
入山章栄 |
2022-04-13 04:55:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
コカ・コーラ、サントリー、伊藤園…「2つの要因」で営業赤字に陥ったのは? - ビジネスに効く!「会計思考力」 |
https://diamond.jp/articles/-/301512
|
コカ・コーラ、サントリー、伊藤園…「つの要因」で営業赤字に陥ったのはビジネスに効く「会計思考力」今回は大手飲料メーカー、伊藤園、サントリー食品インターナショナル、コカ・コーラボトラーズジャパンホールディングスの社について、決算書を比較する。 |
2022-04-13 04:50:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
円安加速で台頭「インフレで実質賃金低下」論の問題点、政府が物価対策ですべきこと - 政策・マーケットラボ |
https://diamond.jp/articles/-/301510
|
実質賃金 |
2022-04-13 04:40:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
コロナ第7波なら医療逼迫再来の必然、「病院過剰国ニッポン」の6大問題 - 医療をデータで語る |
https://diamond.jp/articles/-/301509
|
感染拡大 |
2022-04-13 04:35:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
コロナ禍の「MMTの大実験」で得られた財政金融政策の教訓 - 経済分析の哲人が斬る!市場トピックの深層 |
https://diamond.jp/articles/-/301508
|
中央銀行 |
2022-04-13 04:30:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
銀行の自己資本比率規制はどう変わった?「バーゼル3」の複雑ルールを図解 - きんざいOnline |
https://diamond.jp/articles/-/301441
|
online |
2022-04-13 04:25:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
ロシア軍を予想外に弱体化させた、プーチン政権の「深刻な汚職」の実態とは - DOL特別レポート |
https://diamond.jp/articles/-/301473
|
|
2022-04-13 04:20:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
デジタル庁の30億円入札案件が安保の懸念を呼ぶ理由、「Xデー」は4月14日 - DOL特別レポート |
https://diamond.jp/articles/-/301482
|
安全保障 |
2022-04-13 04:17:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
宅配手数料2万円、アプリで食料争奪…中国・上海の日本人が見た「ロックダウン」 - DOL特別レポート |
https://diamond.jp/articles/-/301507
|
感染拡大 |
2022-04-13 04:15:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
上司・先輩になめられたくない…新社会人のスーパールーキーに贈る2大戦略 - 山崎元のマルチスコープ |
https://diamond.jp/articles/-/301506
|
上司・先輩になめられたくない…新社会人のスーパールーキーに贈る大戦略山崎元のマルチスコープ新年度の初めの時期は、新入社員たちを迎える側の上司や先輩が彼らをどう迎えるべきかという記事が多く目につく。 |
2022-04-13 04:10:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
垣間見えたインフレ鈍化の兆し、米CPIで利回り低下 - WSJ発 |
https://diamond.jp/articles/-/301555
|
鈍化 |
2022-04-13 04:06:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
ひろゆきが語る「2ちゃんねる」「ニコニコ動画」を継続的に開発・運営する方法 - 酒井真弓のDX最前線 |
https://diamond.jp/articles/-/301066
|
一問一答 |
2022-04-13 04:05:00 |
北海道 |
北海道新聞 |
「大太刀兵法」は一族相伝 豪傑武将・真柄の新資料 |
https://www.hokkaido-np.co.jp/article/668821/
|
十郎左衛門 |
2022-04-13 04:15:00 |
北海道 |
北海道新聞 |
相場操縦、元副社長起訴へ SMBC日興事件で特捜部 |
https://www.hokkaido-np.co.jp/article/668820/
|
東京地検特捜部 |
2022-04-13 04:05:36 |
ビジネス |
東洋経済オンライン |
台湾鉄道が「名物列車の置き換え」を急いだ事情 課題の「民営化」へ車種整理でシンプル化図る | 海外 | 東洋経済オンライン |
https://toyokeizai.net/articles/-/580903?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
台湾鉄道 |
2022-04-13 04:30:00 |
コメント
コメントを投稿