August 2020

⭐️ Weekly Report – Technology Reading Update – 28 Aug, 2020

Continue reading takes about 5 minutes 1. How to move fast Why do startups move fast and enterprises move slowly? She told me that getting anything done was slow, painful and costing the company growth and even worse, stopping the company quickly capitalising on new opportunities. 2. 0-1M ARR in 12 Months Bootsrapped VEED.IO has grown fast. For any entrepreneur, this is a moment that they will never forget. Tim and I could not control our excitement. 5. Python Hash Tables: Understanding Dictionaries Hi guys, have you ever wondered how can Python dictionaries be so fast and reliable? The answer is that they are built on top of another technology: hash tables. 6. Weekly To-do Kubernetes Blog Post in Chinese Coding for MMSS 9. Differences between Node and the Browser Both the browser and Node use JavaScript as their programming language. Building apps that runs the browser is a completely different things than building a Node.js application. 10. 10+ Senior Software Engineer Interview Questions How should you conduct a senior software engineer interview? This post will provide you a list… Read More »⭐️ Weekly Report – Technology Reading Update – 28 Aug, 2020

My phone was dropped to the toilet!!! :(

  • Tim Tim

Yesterday, I accidentally dropped my phone to the toilet. I was not panic, what I did was washing it, washing it and washing it. Like I washed GoPro before. However, I found it did not work well after that, the screen behave weird, it goes to black randomly. What I did after I did some researching online to find what is a good way to get the water out of the phone. Rice I did have rice, but in my mind, I thought it should be fine, so I leave it and put my phone close the dehumidifier, the phone and the case both looked very dry after about 1 hour. I can turn on the phone then, but the screen goes off randomly. 😂 So I left the phone there for a whole night, until the morning alarm (the alarm wakes the phone up automatically). It did not get better, and I knew I should buy a new phone. Buy a Phone in New Zealand Lineage OS is my favorite, so my options are limited. Not buy the newest,… Read More »My phone was dropped to the toilet!!! 🙁

⭐️ Weekly Report – Technology Reading Update – 21 Aug, 2020

Continue reading takes about 6 minutes 1. Seven Essential Things You Need to Know to Publish on the AWS Marketplace AWS Marketplace is an online store for software vendors to sell their software product bundles to AWS customers. The AWS Marketplace currently features over 2,500 commercial products and over 65,000 community Amazon Machine Instances (AMI). 2. Amazon Athena – Interactive SQL Queries for Data in Amazon S3 The amount of data that we all have to deal with grows every day (I still keep a floppy disk or two around in order to remind myself that 1.44 MB once seemed like a lot of storage). These days, many people routinely process and query data in structured or semi-structured files at petabyte scale. 3. Status as a Service (StaaS) — Remains of the Day Editor’s Note 1: I have no editor. Editor’s Note 2: I would like to assure new subscribers to this blog that most my posts are not as long as this one. Or as long as my previous one. 5. Serverless Architectures Serverless architectures are application designs that… Read More »⭐️ Weekly Report – Technology Reading Update – 21 Aug, 2020

How much benefits through multi-process and NodeJs child_process?

  • Tim Tim

When programming, is it a good idea to use multi-process all the time? Does NodeJs child_process is a good way to empower your machine power? The answer is not awalys. For light load, the time consumed to start a new process is much heavier than the load it self, we should not spawn multi process. And the decreasing of time-spending is not linear with process count increasing. About The process spawning is through NodeJs Child Process. Testing Machine and Work Load The work load to sum 10k numbers and repeat the work from 1 to 100k times. The spec is 6 Core Intel CPU with 16G ram. Use Single Process for Light Work Load As we can find from the diagram, by using single process which is only one main process, for the light work which is less than 10k * 1k plus, the single process is the best solution. Spawning multiple process can only make it more time consuming. For the work 10k * 1, the single process takes less than 1 ms, but after spawning process, it takes… Read More »How much benefits through multi-process and NodeJs child_process?

⭐️ Weekly Report – Technology Reading Update – 14 Aug, 2020

Continue reading takes about 3 minutes 1. AWS Tagging Best Practices Guide: Part 1 of 3 If you’ve worked in Amazon Web Services for long, you’ve probably seen or used AWS cost allocation tags to organize your team’s resources. AWS allows you to attach metadata to most resources in the form of key-value pairs called tags. 4. Mistakes I made in code reviews and what I do now David K. 🎹@davidkpianoJust a reminder that life’s too short to reject someone’s PR just because they did things differently than you would have done.13:04 PM – 31 Jul 2020 180 1172 David K. 5. Top 50 Django Interview Questions and Answers You Need to Know Django along with Python is one of the most in-demand skills and surely amongst some of the trickiest ones. So if you want to prepare yourself to perform the best in the upcoming Django interview, here are the top 50 commonly asked Django Interview Questions and Answers. Q1. 6. The Client ID and Secret At this point, you’ve built the application registration screen, you’re ready to let… Read More »⭐️ Weekly Report – Technology Reading Update – 14 Aug, 2020

How to generate markdown through Jinja2?

Recently, when I build PocketToWordpress. I really need a tool to convert HTML string to Markdown string, however none of them work perfectly, some shortages I found. None of them can handle indents well, indents in markdown will be code block, but in html, it does nothing. They cannot handle <a> with nofollow or new tab. The solution I found for solving this problem is using Jinja2. Jinja2 as a powerful rendering engine is usually used to generate HTML content, such as in Flask/Django frameworks, however, we can used it for markdown too. How to use Jinja2 generate markdown? The easiest way to generate markdown will be using string formatting, something like in Python. If giving up HTML tags, Jinja2 will became a powerful string format-er too. Jinja2 Templates in HTML and Markdown The original way when I generate HTML. For the HTML string generated from the above template, you cannot render to markdown properly, because of indents and the <a> tags. But if we switch to this, this can work perfectly. This markdown template, if you use a HTML… Read More »How to generate markdown through Jinja2?

⭐️ Weekly Report – Technology Reading Update – 08 Aug, 2020

Continue reading takes about 4 minutes 1. Jane Manchun Wong Twitter Web App now runs ES6+ for modern browsers*, reducing the polyfill bundle size by 83% (gzipped size went from 16.6 KB down to 2.7 KB!!) * Chrome 79+, Safari 14+, Firefox 68+ 3. Why Build Toys? Some of the biggest technology companies look like toys in the beginning.1 From a classical business building perspective, this shouldn’t happen. Toys are for fun. Businesses, especially huge ones, are for making money. Toys are small and of limited use. Large companies contain multitudes and perform a huge array of functions. 4. How to Monetize a Freemium Business *ClearBrain (YC W18) provides self-serve predictive analytics for marketers. This is an excerpt from their Growth Playbook. [Read the full playbook here](https://playbook.clearbrain.com).* 5. Startup Playbook We spend a lot of time advising startups. Though one-on-one advice will always be crucial, we thought it might help us scale Y Combinator if we could distill the most generalizable parts of this advice into a sort of playbook we could give YC and YC Fellowship companies. 6. How… Read More »⭐️ Weekly Report – Technology Reading Update – 08 Aug, 2020