python |
Pythonタグが付けられた新着投稿 - Qiita |
Djangoでcache busting (ファイルを更新した時だけ読込強制する) |
https://qiita.com/tanipen/items/b7bd61dd7e945948d90c
|
開発者ツールを見ると、cssのパスに以下のように更新日時のクエリが追加されています。 |
2022-01-01 03:24:41 |
海外TECH |
MakeUseOf |
What to Do if You Get a Safari Compromised Password Alert in macOS |
https://www.makeuseof.com/safari-macos-compromised-password-alert-what-to-do/
|
What to Do if You Get a Safari Compromised Password Alert in macOSPassword alerts can be scary and you should always treat them with caution Learn how to deal with this specific type on your Apple computer |
2021-12-31 18:30:11 |
海外TECH |
DEV Community |
Blockchains do a lot more than you think |
https://dev.to/faraazahmad/blockchains-do-a-lot-more-than-you-think-58li
|
Blockchains do a lot more than you thinkLook I get it The past few years have been full of cryptocurrency scams thinly veiled Ponzi schemes widespread art fraud for NFTs and all the other stuff that didn t make the news Blockchains have been the underlying tech powering all of that so you have no reason to be be lending any of your trust to them Yes blockchains are overhyped and yet they do a lot of good work that you haven t heard of Just because there are people being stabbed with knives doesn t mean someone somewhere isn t doing a masterful job cutting onions weird analogy but bear with me for a moment So where are all the onion masters All right lets assume blockchains actually do some good stuff Then why haven t I heard about them Where is that big app that will make me believe in blockchains Unfortunately the answer is not very simple No one is going to use something just because its built on blockchains It has to be good enough to be the best option to choose at the time never mind what tech is used to build it Let me explain a bit why a blockchain could be needed I ll raise you a scenario You re happily or begrudgingly working along on that task that you need to finish by tonight Maybe it is so boring and soul crushing that you re starting to contemplate leaving your job But that doesn t matter right now you re already weeks late and you ve run out of excuses So your only option is to grind through pull up some NPM packages and finally finish that damn thing But wait here s the fun part NPM is downBut that wont stop you today You know that package s Github repo So you go there download and store it in your node modules You hack along undeterred convinced that you re going to finish it by tonight Finally its done reviewed and merged into the dev branch But wait Why s it not showing up on the site The deploy seems to be failing You google around ask your team members who are going through their own personal hell and then finally in your late night coffee fueled frenzy open up twitter to check what the heck s going on Zeb Palmer zebpalmer The AWS status page is down first time it s ever been accurate PM Dec Great AWS is down again So you just sit there like If you look deeper than the surface level these are problems that arise due to single points of failure Its these problems that a decentralised network aims to fix What s decentralised well it just means that no single entity is in control of the whole thing If one node goes down there s lots of other ones to keep it afloat When you have your app hosted on a fairly large decentralised network like ethereum you essentially have a failsafe for the moment of a node failure For when one node goes down the app will just be moved to another node Now you certainly don t need a blockchain for everything especially if you have control of all the hardware on the network But in blockchains when anyone can join the network from anywhere in the world how do you know which node is a bad actor and which isn t To put it differently who do you trust Well you cant trust anyone over the internet So you simply take trust out of the equation that s why you ll often hear the word trustless in the context of blockchains What enables these trustless networks are consensus algorithms Simply put they make sure all the nodes are doing what they re supposed to They reward the nodes that do good and in a way punish those who don t Now on to the onion masters Hopefully my rambling has made at least some sense to you and you see value in the existence of the blockchain Now lets introduce you to some of the big and small names taking the industry forward Ethereum Website link Unlike Bitcoin which was made to be a currency Ethereum lets you write something called Smart Contracts which basically enable you to run your app on the blockchain This way your app is up and you wont have to deal with us east going down yet again Although the main Ethereum network has become quite slow and has a very high transaction fees there are Level chains that are built on top of Ethereum and are faster and cheaper but that s a topic for another day Filecoin Website link What if you have a lot of important files stored on Dropbox and it goes down just as you want to access one of them Yes we re back to that idea of the centralised service that can fail anytime Filecoin is another blockchain that stores files on a decentralised network Anyone who stores the files reliably on the network is paid Filecoin its the name of the organisation AND the cryptocurrency and whenever someone wants to retrieve those files they need to pay Filecoin Think Dropbox but where all the servers that store data are owned by unrelated individuals around the world who re paid to reliably store data There s a very good introduction about Filecoin over at their website I highly encourage you to check it out Fleek Website link Remember how I told you your app can go offline anytime the centralised cloud you re hosting it on experiences an outage Here s the alternative Fleek is a cloud provider that lets you host apps on Ethereum and files on Filecoin to get rid of the single point of failure problem It s as easy to use as any cloud provider probably easier This whole goes back to the concept of being the best tool to use irrespective of the underlying tech ThirdWeb Website link Like any new technology building for blockchains is initially hard and cumbersome It s not as bad as writing machine code by hand but its certainly not as easy as scaffolding an app with Ruby on Rails if you know you know You need to write smart contracts in another language called Solidity or in the case of Solana you need to write it in Rust And deploying your app to the chain is certainly not as easy as a git pushing your Node js app But all is not lost ThirdWeb has recently come up with SDKs in languages like Javascript Python and Go which makes astonishingly easy to write and deploy web code Take back controlIf you ve made it this far into the post you probably see a pattern in all these services These systems are set up in a way that takes power away from a centralised entity and distributes it to the individual nodes Ideally these individual nodes are run by one person or a small group of people which is where a potential problem lies It s not all sunshine and rainbowsIf everything goes well blockchain tech will take away or at least reduce the power held by big tech companies Meta Amazon Apple Google Microsoft etc What s bad about them having all this power Well if they one day decide to be more greedy there won t be a viable option elsewhere and people will just have to follow suit regardless Sure legal courts can intervene But that process starts when the damage has already been done and to be fair legal proceedings can take a fairly long time But there s a loophole in blockchains too It s fine if each person runs one node then the system is truly decentralised and each person gets their own say But nothing s stopping you from pooling resources with people and start a crypto mining farm that out competes most single person nodes and essentially centralises power again we re already seeing this happen extensively And remember big tech and its prophecised demise Well nothing s stopping them to start their own mining farm and earn through that The mere existence of blockchain does not guarantee a better future for tech It has to be actively worked on by enthusiastic developers in every corner to make it work Or else it will be just another piece of tech that gets dominated by soulless large corporations whose only aim is to make profits Which is why you will see supporters of blockchain or web hype it up so much It is to get more individuals get involved and have a majority stake in it so that when the big corporations want to have a piece of it they can only be a minority So will you help bring power back to the individual or will you let big tech have it all Will you take the blue pill or the red pill You take the blue pill the story ends You wake up in your bed and believe whatever you want to believe You take the red pill you stay in Wonderland and I show you how deep the rabbit hole goesNOTE I am in no way affiliated to or supported by any of the above services I don t even hold any Ethereum |
2021-12-31 18:43:56 |
海外TECH |
DEV Community |
Using TypeScript `paths` and `baseUrl` with Parcel |
https://dev.to/yakovlev_alexey/using-typescript-paths-and-baseurl-with-parcel-204h
|
Using TypeScript paths and baseUrl with ParcelYou might have heard about the new kid on the block of build tools for web Parcel It combines great scalable architecture with amazing zero configuration developer experience while being lightning fast at the same time You might have even thought about trying it out and maybe moving one of your TypeScript projects to it Unfortunately if you were leveraging paths and baseUrl TypeScript Compiler options you will likely not have a great time moving Parcel does not support these properties out of the box This might be a huge problem for big codebases You may also prefer TypeScript Compiler s way of handling absolute imports in your project to Parcel s notation This was the case for me so I decided to try out Parcel plugin ecosystem and create a Resolver Plugin of my own to solve this issue parcel resolver ts base urlThe plugin I created is called parcel resolver ts base url name parcel resolver tspaths was already taken by an outdated resolver It has dependencies except for peer Parcel of course and uses memoization to speed up resolution processes You can install parcel resolver ts base url using npm or yarn npm i save dev parcel resolver ts base url oryarn add D parcel resolver ts base urlThen simply add parcel resolver ts base url to your parcelrc extends parcel config default resolvers parcel resolver ts base url At the moment parcel doesn t provide a way I know of to specify tsconfig json location Therefore parcel resolver ts base url will use tsconfig json from the project root From this point usage will be straightforward just specify desired aliases in paths property and projects baseUrl and start building without ugly relative imports Known Issues and LimitationsAt the moment this plugin is pretty raw and have not been tested in a large amount of use cases So I figured it would be important to specify what to look for when using parcel resolver ts base url What will work baseUrl importspaths aliases without and with a single wildcardpaths and baseUrl imports resolving to a npm package with main or module fieldsImports resolving to a folder with an index fileImports resolving to files with c m jsx and tsx extensionsWhat will likely not work HMR is untested and might not workResource imports and imports with specified extensions are not supportedAliases leading to node modules will not be resolved as external dependenciesCustom tsconfig json names and locationsIf you are having other issues please consider leaving feedback at GitHub Issues any feedback would be greatly appreciated And if you are willing to contribute with solving one of the issues I would be very glad to receive a Pull Request with your solution |
2021-12-31 18:31:54 |
海外TECH |
DEV Community |
Florence’s Year in Review |
https://dev.to/theflorz/florences-year-in-review-2438
|
Florence s Year in ReviewIt s the last day of the year and I look back at the multiple ups and downs opportunities gained and opportunities lost the lessons learned and everyone I met that helped shaped my journey a whole lot happened this year that shaped me as a person and as a woman in tech Everything just makes me thrilled and excited for next year Okayyy let s take it back to the beginning of and just kind of run through the wins lessons opportunities and fav highlights First QuarterThis year began with so many uncertainties I thought I knew what I wanted to get out of the year I had planned to take on new programming languages finish my program in school with an amazing grade land an amazing job and connect with people far and wide The school year started in Jan and with the lockdown I had to take classes along with a training program in accordance with my course of study Juggling school the training program and freelancing as a web developer was really a lot to juggle but I was able to make it work until I ended the training program in March By February my contract with a firm had ended as a web developer and I went back fully into freelancing and got most of my clients from recommendations I explored technical writing wrote my first article published it on dev to and it was a hit The article got me the top badge That s not all my second article was a hit also and yes I got a shecoded badge for participating in this year s shecoded IWD I also got to write product documentations for clients I discovered badminton and loved every bit of it Second QuarterAh yes more school more learning and more freelancing At this point getting a job became scary because I felt like I wasn t good enough What kind of brought me some sense of fulfilment was a project I got to work on with data analysts we worked with PowerBI MS excel to display interactive graphs charts etc I was able to work on more projects with the firm as a freelancer I worked on projects that strengthened my frontend skills and WordPress skills I was starting to implement dynamic websites and UI UX designs using WP from scratch who could have thought More badminton Third QuarterGoing into August I started exploring and reading about Product Project Management and oh did I fall in love with it I had started talking to a few people about transitioning to Product Management and asking what that would look like a friend and mentor Geektutor gave me a few pointers and it just made me love every aspect of PM more I started taking a course on project management on Alison I wasn t even done with the course before I went around telling people to recommend me for any project management roles I don t know where that confidence came from myself but learning and doing the tasks just made me feel like yes this is my thing yes this is me I love leading teams I love overseeing project yes I can do this this is all me And oh did I land my first gig as a Project Manager I am forever grateful to Caleb for trusting me This came with a few doubts and confusions it was either product or project management thankfully I had amazing people in my corner and I eventually decided to focus on product management Oh the project manager role up there It got bumped up to product manager Got a project management certification and finished my program with a first class Whoop Whoop Fourth Quarter The big wins I stepped into the last quarter of the year as a product manager working with an amazing team Thankfully I was able to put what I had learned to the test I had to learn more on my own and I also learnt a lot working on the project And I paid more attention to my body started working out and eating healthy I also got a role as a web developer with Dira Labs and yes I still freelanced lol I landed my second PM role working as the PM on an in house project My biggest win of the year really came at the end when I applied and got into the Women Techsters bootcamp organized by TechDev an initiative aimed at empowering and introducing women to tech I applied for the Product Management track and got in The bootcamp was for weeks it was really fast paced with hands on tasks and assignments that helps you master skills For my track I was appointed the class captain and as the captain I created a documentation accessible to my other bootsters that explained how to submit assignments how to access resources and materials how to access class recordings and the documentation also featured useful links The bootcamp introduced me to aspects of product management such as product roadmap software development lifecycle SDLC models Agile model Scrum framework User research MVP specification user flow and persona product feature PRD etc At the end of the bootcamp we were divided into teams to come up with a product based on any of the United Nations SDGS For my team our product FeedAll a food donation app addressed the SDGS goal Zero hunger and yes I was team lead haha As team lead I created a product brief assigned tasks to my team members and also lead stand ups to check in on tasks progress As a team member I was tasked with creating user flow user persona product mock up protype MVP specs and compiling my team s PPTX I will my say PM roles gave me a head start facing these tasks I was able to seamlessly work with some PM tools such as Miro to create user flow Having worked with product designers I was able to find my way around figma to create a high fidelity mock up and a prototype for the product A picture of the Mock up I madeI was paired with amazing ladies Funmi Bolu Deborah Audrey Fredah Grace Bukunmi and boy did they deliver on their respective tasks My team s presentation was met with amazing feedbacks because of our collective efforts and awesome work rate This article wouldn t be complete without not giving a shoutout to our amazing facilitator Theodora I have made life long friends and mentor coming out of this bootcamp ️ To wrap up the year I got a certification in product management I am still thriving as a web developer and also I got into a product management study group that starts Jan th Wrap Up What next Writing this article I chose to focus more on my wins rather than my losses Trust me when I say I had my fair share of imposter syndrome depression brokeness and self hate I know what they took away from me and how I had to pick myself back up which is my takeaway of the year Never give up Keep going You ll definitely find your niche and it ll find you too and you ll love each other genuinely So thank you for the lessons the opportunities the win the losses and the amazing people in my corner Elizabeth Hassan Daniel Oluwasayo Sodiq and my Dira Labs family Caleb Yemisi Aishah Oyindamola Rashidat Janet Deborah and Ebun I love you guys so much ️️️ To an amazing |
2021-12-31 18:07:05 |
Apple |
AppleInsider - Frontpage News |
Top 5 stories AppleInsider readers loved in 2021 |
https://appleinsider.com/articles/21/12/31/top-5-stories-appleinsider-readers-loved-in-2021?utm_medium=rss
|
Top stories AppleInsider readers loved in AppleInsider publishes thousands and thousands of articles each year and was no exception Of all of the news stories and other posts here are the five most read items from the last months Apple employees threaten to quit as company takes hard line stance on remote work July Read more |
2021-12-31 18:23:02 |
ニュース |
BBC News - Home |
Covid: UK cases reach record again as PM urges New Year's Eve caution |
https://www.bbc.co.uk/news/uk-59834667?at_medium=RSS&at_campaign=KARANGA
|
johnson |
2021-12-31 18:42:15 |
ニュース |
BBC News - Home |
Tracy Beaker star Dani Harmer 'fine' after hospital drama during panto |
https://www.bbc.co.uk/news/entertainment-arts-59843000?at_medium=RSS&at_campaign=KARANGA
|
performance |
2021-12-31 18:43:14 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
20歳で創業し、無借金の優良企業に成長 解体技術を考案し、特許も取得 - しんきん経営情報-トップインタビュー |
https://diamond.jp/articles/-/291346
|
右肩上がり |
2022-01-01 04:00:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
ひろゆきが語る「2022年を最高の1年にするための習慣」ベスト1 - 1%の努力 |
https://diamond.jp/articles/-/289915
|
youtube |
2022-01-01 03:55:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
本好きもうなる!「歴史の学び直し」に最強のスゴ本ベスト4 - 独学大全 |
https://diamond.jp/articles/-/292089
|
独学 |
2022-01-01 03:50:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【2022元旦祈願・全部のせ】 見るだけで【合格運】がモリモリ貯まる! だるまさんパワーとは? - 1日1分見るだけで願いが叶う!ふくふく開運絵馬 |
https://diamond.jp/articles/-/289803
|
【元旦祈願・全部のせ】見るだけで【合格運】がモリモリ貯まるだるまさんパワーとは日分見るだけで願いが叶うふくふく開運絵馬Amazonランキング第位祭祀・、楽天ブックスランキング第位民俗・。 |
2022-01-01 03:45:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【9割の人が知らない】 本能に突き刺さる! 7つの「方法」コピーで シンプルにお客を増やす方法 - コピーライティング技術大全 |
https://diamond.jp/articles/-/290588
|
【割の人が知らない】本能に突き刺さるつの「方法」コピーでシンプルにお客を増やす方法コピーライティング技術大全発売たちまち大重版Amazonランキング第位広告・宣伝、。 |
2022-01-01 03:40:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
いつも仕事でテンパってる人が知らない鉄則「ゴール」と「ルール」 - 真の「安定」を手に入れるシン・サラリーマン |
https://diamond.jp/articles/-/289726
|
いつも仕事でテンパってる人が知らない鉄則「ゴール」と「ルール」真の「安定」を手に入れるシン・サラリーマン異例の発売前重版刷仕事がデキない、忙しすぎる、上司のパワハラ、転職したい、夢がない、貯金がない、老後が不安…サラリーマンの悩み、この一冊ですべて解決これからのリーマンに必要なもの、結論、出世より「つの武器」リーマン力副業力マネー力。 |
2022-01-01 03:35:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「あなたの代わりはいない」を完全に否定していい理由 - 孤独からはじめよう |
https://diamond.jp/articles/-/291648
|
自分 |
2022-01-01 03:30:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【出口学長・新年特別講義】 人間はどこからきてどこへ行くのか? 何のために生きているのか? - 哲学と宗教全史 |
https://diamond.jp/articles/-/289751
|
|
2022-01-01 03:25:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「上昇しやすい株」と「低空飛行が続く株」決定的な差 - 株トレ |
https://diamond.jp/articles/-/289465
|
低空飛行 |
2022-01-01 03:20:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
わかりにくい文章とは、書き手自身が「わかっていない」文章である - 取材・執筆・推敲──書く人の教科書 |
https://diamond.jp/articles/-/291543
|
古賀史健 |
2022-01-01 03:15:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【就職したことがないのに株式投資で4.5億円!】 実は日本株への投資こそ最強 - 賢明なる個人投資家への道 |
https://diamond.jp/articles/-/290646
|
【就職したことがないのに株式投資で億円】実は日本株への投資こそ最強賢明なる個人投資家への道中学年から株ひと筋で、株式投資歴年以上のベテラン専業投資家、かぶが『賢明なる個人投資家への道』を著した。 |
2022-01-01 03:10:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「いいこと」を引き寄せたい人は、賽銭箱に1万円入れるといい!? 星読みヒーラーが語る、開運のコツとは - 大丈夫じゃないのに大丈夫なふりをした |
https://diamond.jp/articles/-/291833
|
開運 |
2022-01-01 03:05:00 |
コメント
コメントを投稿