• 开源镜像
  • 开源沙龙
  • 媛宝
  • 猿帅
  • 注册
  • 登录
  • 息壤开源生活方式平台
  • 加入我们

开源日报

  • 2019年1月11日:开源日报第309期

    11 1 月, 2019
    开源日报 每天推荐一个 GitHub 优质开源项目和一篇精选英文科技或编程文章原文,坚持阅读《开源日报》,保持每日学习的好习惯。
    今日推荐开源项目:《你好世界 hello-world》
    今日推荐英文原文:《Is Screen Time Killing Our Learning Capacity?》

    今日推荐开源项目:《你好世界 hello-world》传送门:GitHub链接
    推荐理由:用各种各样的方法写出 HelloWorld 的项目。这个项目是一个对于各种语言来说写 helloworld 的方法合集,学习一门编程语言的时候我们最先干的事情就是想办法用它弄出 helloworld 来,除了自己弄,看看别的语言究竟要怎么整出这个词来也是个颇有意思的事情。
    今日推荐英文原文:《Is Screen Time Killing Our Learning Capacity?》作者:Clayton Moulynox
    原文链接:https://theascent.pub/is-screen-time-killing-our-learning-capacity-ec184816dfa2
    推荐理由:现在我们对着电脑屏幕手机屏幕的时间都变得很长了,这会让我们的学习能力下降吗?

    Is Screen Time Killing Our Learning Capacity?


    Photo by Kelly Sikkema on Unsplash

    A year or so ago I turned forty. Ever since, I’ve seriously started to wonder if I’m getting dumber as I’ve aged through my fourth and in to my fifth decade.

    I used to pride myself on having a nimble mind, on being able to solve complex problems. In a meeting with waves of conflicting viewpoints and suggestions, I could part the sea awash with ambiguity and lead everyone across to the shores of clarity — chest puffed out to the sounds of energetic agreement. “Yes, that’s a fantastic idea!”

    Now there are times I need to crank the handle well in advance to get my motor running and, even then, it’s a little clunky and creaky, in need of some oil. Boldly parting the seas less often and instead progressing across with the slow putt-putt of a little tin boat capable of tipping in to the ambiguous abyss at any point. Energetic agreement replaced by sighs of resignation. “OK, I guess that’ll do”.

    A decade of mind depreciation


    Could it be true that I simply used to be smarter ten years ago than I am now?

    I don’t mean smarter in an academic sense. I’m referring to what I think of as “brain smart”: Easily able to grasp new ideas; connect ideas together in more meaningful ways; uncover creative solutions and insight to solve problems.

    Sure, a lot has happened in those ten or so years — my wife and I created two humans, moved across Australia and then across the world and I shifted from the comfort of Microsoft to the unknown of startups. So perhaps my brain is just busier?

    Actually, I think I’m on to something. Maybe my brain IS busier…but with time wasting twaddle.

    Because another massive change in the last ten years is the increase in screen time. Particularly, the omnipresent iPhone.

    The dying art of daydreaming


    I used to daydream a lot more. I specifically remember looking forward to doing nothing and letting my mind wander…sometimes it was in bed when I woke early or it was in the shower or at night when I turned off the TV. There were days in summer I’d lay on the trampoline in the yard catching sun rays and dreaming like some kind of solar powered thought machine.

    But when do we allow ourselves this down time anymore? We’re standing in line at the coffee shop, looking at our phones. We’re sitting on the plane waiting for others to board, looking at our phones. We wake up in the morning and look at our phones. We sit on the toilet while looking at our phones (you know you do it ?).

    JK Rowling famously dreamt up Harry Potter while day dreaming on train trips in the 1990s. Had she taken those trips now, instead of twenty-five years ago, she may well have reached the top level in Candy Crush or Wordscapes but the world would be without Harry, Hedwig and Hogworts.

    Just stop what you’re doing right now and look around — how many people in your direct eye-line are looking at a device? Now, rule out those sitting at computers and actually working…how many are looking at a mobile device as they’re waiting in line or sitting eating lunch or simply traveling from A to B? I bet you can count quite a few.

    Those moments of downtime, where nothing has our attention and we let our minds wander, are few and far between.

    And it could be what’s making me feel dumber.

    Diffusing the screen time bomb


    A few months back I read this article by Danny Forest which led me to completing a Coursera class called “Learning to Learn”. In it, the concept of focused versus diffused thinking is heavily discussed.

    Diffused thinking is what happens in times of downtime when we’re not focusing on specific tasks. It’s when our brain is forging new neural pathways, connecting, absorbing and making sense of different patterns and ideas. It’s where creative, out-of-the-box thinking is most likely to happen. It’s daydreaming.

    It seems reasonable then that I — and arguably most of us — am giving my brain less opportunity to forge those new pathways.

    Where I once stopped to ponder, I now Pinterest. Where I once let my mind wander, I now Whatsapp. Instead of a meandering mind, I’m on Messenger. Where I could be relaxing, instead I’m Reditting. In place of a lucid mind, I’m on LinkedIn. When I once let my mind be free, I now let it Facebook.

    You get the point.

    So it may well be that my feeling of dumbness — my perception of the slowing down of clarity and spontaneous out-of-the-box thinking…my inability to part the seas of ambiguity like I once could — can be attributed to starving my brain of diffused thinking.

    Turning on by switching off


    Over the past two months I’ve made a purposeful effort to put the phone down, turn off the TV and keep the tablet in my top drawer. I walk without listening to podcasts; sit at coffee shops and stare out the window at life going by; take time out to meditate or even just sit in a corner for fifteen minutes quietly with my thoughts. All in an effort to turn on my diffused thinking.

    It’s already made a difference. Most of the articles I’ve published here on Medium over the past months were ideas born from my practice of making time to do nothing.

    Nothing except allowing my mind to wander in to the realms of diffused thinking. Perhaps I’m not dumber after all.

    下载开源日报APP:https://opensourcedaily.org/2579/
    加入我们:https://opensourcedaily.org/about/join/
    关注我们:https://opensourcedaily.org/about/love/
  • 2019年1月10日:开源日报第308期

    10 1 月, 2019
    开源日报 每天推荐一个 GitHub 优质开源项目和一篇精选英文科技或编程文章原文,坚持阅读《开源日报》,保持每日学习的好习惯。
    今日推荐开源项目:《玩中学 awesome-eg》
    今日推荐英文原文:《Innovation isn’t what you think it is》

    今日推荐开源项目:《玩中学 awesome-eg》传送门:GitHub链接
    推荐理由:一边玩游戏一边学习何乐而不为呢?这个项目是关于那些带有教育作用的游戏的集合,让你可以一边玩游戏一边学到各种知识,包括常见的编程和其他音乐美术这些方面,如果这里面刚好有你感兴趣的内容的话,不妨可以尝试一下。

    今日推荐英文原文:《Innovation isn’t what you think it is》作者:Richard W. DeVaul
    原文链接:https://medium.com/@devaul/https-medium-com-devaul-innovation-isnt-what-you-think-it-is-52f03a9d2d7d
    推荐理由:每个人对于创新是什么都有不同的见解,作者也是如此

    Innovation isn’t what you think it is

    his essay is one in a series of essays inspired by two decades of experience as an innovation professional, spanning domains from academic to corporate, technical subject areas ranging from consumer electronics to high altitude ballooning, and organizational structures from small teams and startups to fortune 100 companies. I’ve had successes and failures, launched and killed projects and companies. I’ve had the privilege of working with amazing teams, colleagues, and mentors. As a consequence of all of this I’ve learned a lot. In this essay series I explore innovation leadership and innovation culture from the perspective of in-the-trenches lived experience. After all, why should you repeat my mistakes when there are so many interesting new mistakes to be made?

    introduction

    As an executive innovation consultant, CEOs and business leaders come to me for help in setting up innovation labs, fixing broken organizational process around innovation, or building innovation teams. They have dreams of turning their organization into the next Apple or Bell Labs. There’s just one problem with their innovation dreams: they’ve got the concept of “innovation” all wrong.

    What is innovation? If you think innovation is simply making something new, you are missing a central, terrifying idea. The long history of innovation has proven time and again that innovation isn’t about making something new, it is about destroying the existing order of things. This is why almost every established organization is inherently innovation-averse; innovation is an existential threat to incumbents, including incumbent innovators. Don’t believe me? Ask Eastman Kodak, the leading film photography company for more than a century who invented the first self-contained digital camera in 1975, and subsequently declared bankruptcy in 2012, having failed to compete in the digital photography world they helped to create.

    I’m not trying to scare you out of innovation. I want you to understand what innovation means, so you can formulate the right strategy for your organization. I want you to understand the costs, benefits, and risks of the various options. Because even if you aren’t innovating, your competitors certainly will be. Change isn’t optional; the question is whether you will drive that change or react to the change. Both approaches have benefits, challenges, and limitations. The third option is to be overwhelmed by change. That’s what happens if you don’t have a strategy.

    Let’s begin with a story:

    innovation case study: Xerox PARC and the rise of the Digital Age


    You probably know at least some of this story. Xerox was the dominant company in the domains of paper document copying and transmission in the 50s and 60s. In 1970, visionary leaders of Xerox founded Xerox PARC, the Palo Alto Research Center, located far away from Xerox corporate headquarters and situated in the heart of nascent Silicon Valley.

    The short version is that in the short span of about a decade PARC researchers invented nearly everything important in the digital revolution prior to mobile, with the exception of Internet protocols (these were developed by BBN Technologies in 1968, at the behest of ARPA). Xerox PARC’s contributions spanned the core technologies of personal computers, Ethernet networking, laser printing (plus page description language), the graphical user interface based on windows, icons, mouse, and pointer — just to name a few. And yet, Xerox was not the first great personal computer company, or local area network company, or GUI company, or even laser printing company. Xerox invented everything, and others capitalized on these inventions.

    There is a myth that Steve Jobs visited Xerox PARC in 1979 and discovered all of these things. This is probably just a myth, but it is well documented that a number of Xerox PARC employees left PARC and joined Apple in the early days. Regardless, the beneficiaries of PARC’s inventions were primarily Apple and IBM and Microsoft and Adobe, among others. Not Xerox.

    Xerox and PARC still exist. There is still a market for photocopiers. But Xerox in every meaningful way failed to capitalize on their massive disruptive innovation, and was not a significant market player in the digital revolution that they very invented.

    why innovation is terrifying

    As our story shows, the worst part is that it isn’t generally possible to know or predict what will be destroyed by a true innovation before it is released into the wild. The transformation of documents from paper to digital wasn’t anticipated by Xerox leadership, certainly not on the rapid timescale of the digital revolution. Had it been, it is dubious that the “document company” would have ever gotten into digital technology research. As it worked out, Xerox invented the future and made itself obsolete at the same time.

    When you innovate, maybe the result will be a new line of business. Maybe it will make some other line of business obsolete. Maybe it will put you out of business, and the benefits will be reaped by a more agile competitor. The outcome depends on how your organization recognizes and responds to change.

    who am I to tell you?

    I’ve spent nearly two decades working in the technology innovation space. Beginning as a graduate student at the MIT Media Lab doing wearables in the late 90s, to a stint in startup-land (and the great recession of 2008) to Apple to Google, I’ve been fortunate to work in some of the most forward-thinking places, cultures, and organizations on the planet. I’ve seen successes and failures, founded billion-dollar business and laid off my friends. I’ve gotten lucky, made lots of mistakes, and learned a great deal — both about what works and what doesn’t work. And perhaps most importantly, I’ve learned the cost and benefits of creating and nurturing innovation inside a range of different organizations, from academic labs to startups to Fortune 100 companies.

    and who are you?


    You are a corporate executive, manager, or leader who is interested in making large scale, fundamental change, or who is navigating a path for your organization in a changing landscape. You know you need a strategy for innovation and must decide whether and how to invest in the future. Hoping that things work out OK isn’t a strategy.

    why your organization sucks at innovation


    It is extremely difficult to make or deliver something radically new without embracing profound organizational changes along the way and sacrificing some of your existing investments or opportunities. And if that doesn’t sound appealing, a refusal to embrace change has even more dire consequences.

    Rejecting innovation is always easier than embracing it, for almost any organization under almost any circumstances. It’s also potentially lethal. To accept real innovation (and the organizational stress that inevitably entails) requires a process and culture, backed by strong leadership. This combination of “bottom up” (culture/process) and “top down” (leadership) was brilliantly exemplified by Apple under Steve Jobs. But it doesn’t require legendary leadership if process is good — for example, the US Army is remarkably good at systematic, effective innovation. They have internalized that they either learn or die.

    So, how do you create and support an effective innovation culture? That is the subject of its own essay, coming soon.

    I think I hear someone saying, “but I don’t want to have to restructure my organization or throw away my existing opportunities, I want the positive benefits of change without the potential complications or the costs of radical disruption.” In that case, you don’t want radical change. What you want is incrementalism. And while you won’t be redefining a field or changing an industry, you can create a lot of value with incremental change. As long as Henry Ford doesn’t pull the rug out from under your incrementally better buggy whips by introducing the Model T.

    innovation vs incrementalism


    Much of the time, the “innovation” that companies or organizations want and would benefit the most from isn’t really innovation at all. It is the incremental improvement of something that already exists. There is nothing wrong with this. In fact, it’s great. Incrementalism is a generally the best way to generate value and returns while leveraging your existing investment and minimizing stress and disruption in the organization. Most of the time incrementalism, not innovation, is the rational thing for organizations to focus on. It’s not sexy to talk about incrementalism but it probably should be — it’s where most of the value in the world comes from. And in markets or industries that are stable, incrementalism is where it’s at.

    Here is an analogy: If you were a so-so investment banker, should you focus on building your investment banking skills, or should you throw it all away to become a professional Flamenco guitarist? Surely, for most people the path of wisdom (or at least a bigger paycheck) would be the incremental path. There may be times to do the latter, but you should think hard before making that decision. Likewise, if you had an established career in music, should you throw it away to become a banker? The expected paycheck might be bigger in the long run, but barriers to entry in your new profession are high. Furthermore, a lot of your existing investments in skills, relationships, and musical gear won’t translate. What about trying to do both? That’s tricky — trying to successfully develop new skills and opportunities while maintaining the status quo is likely to leave you as a mediocre banker and a mediocre professional musician.

    The choice I’ve described above in personal terms is also true for organizations. Trying to develop new organizational competencies while also pursuing a separate main line of business can be like studying banking while trying to keep up with the demands of being a touring musician. In the short run it’s going to be costly and stressful even if it pays off in the long run.

    But incrementalism offers a path to making steady improvements, which over time can add up to a big deal. Others have written about the value of incremental improvement in your organization or in your personal habits. If there is a goal you can feasibly reach through an incremental approach vs. a more radical one, incrementalism is almost always the better choice.

    So, what are the downsides to incrementalism? At the end of the day, incremental value creation works only for as long as line of business or market is stable. Some markets are stable for decades — think of the film industry during the heyday of Kodak. But eventually, things change. Either you can be surprised by the change, or you can embrace the change, or you can drive the change. The problem is that most large organizations, even ones with spare cycles for advanced development, are too slow to adapt, e.g. Kodak. But not always. Consider the case study of Microsoft and Internet Explorer.

    innovation case study: Microsoft and Internet Explorer


    The year is 1993. The online world is tiny and dominated by Compuserve, Prodigy, and AOL. Really hip people are on The Well. The world wide web exists, but outside a small academic community and a few nerds nobody has heard of it. Then an open-source web browser named Mosaic is released, combining the ability to view text and graphics together in hyperlinked documents. The popularity of hypertext begins to grow. In 1994, Netscape Communications ships the first commercial web browser, Navigator, and the web starts to take off.

    Microsoft Internet Explorer market share (credit: El T)

    In 1995 Microsoft ships its first browser, Internet Explorer version 1, along with the new Windows ’95 operating system. Nobody uses IE 1, as Netscape dominates the small but rapidly growing online world. Undeterred, Microsoft copies most of the features of Netscape for IE2 and IE3, heavily promoting its own browser through bundling with its operating system products. It’s market share rises. Eventually, Microsoft and IE dominate the online world, and Netscape fades into obscurity.

    Microsoft didn’t invent the world wide web. It didn’t create the first popular web browser. It’s first browser offering was feature poor and unpopular. But through grit, tenacity, and (potentially unfair) bundling tactics, Microsoft won the “browser wars” and relegated Netscape and Mosaic to obscurity. Of course, IE itself was eventually displaced by Google’s Chrome, but that is another story. The point is that Microsoft wasn’t a first mover, maybe not even a second mover. Microsoft was a large company that was late to the party. And yet, Microsoft had resources, visionary leadership, and was able to pivot quickly and compete aggressively. Microsoft came from behind, and ultimately win overwhelming market share, beating the startups (Netscape) and large competitors (IBM) alike — a great example of effective defensive innovation.

    the types and cost of innovation


    Too often, innovation is described as an unbridled good — something that we should desire for its own sake. The reality is that in any mature organization, innovation has a significant cost, and those costs are rising. At the end of the day, you will be throwing away something — processes, channels, products or product lines, capital equipment, or at the very least time and money that could be devoted to something else — in a speculative bet on something unproven. No sane manager would do a re-org for fun. No sane process engineer would throw away a working, dialed-in process on a lark. There are really only two good reasons to innovate: because you have to, or because the potential upside drastically outweighs the cost of failure and the cost of that failure will be manageable. Or both.

    Unfortunately, sometimes we get pressured into innovation out of fear, or we stumble into a new way of doing things without thinking it through, or we rush into adopting something new because we fall in love with an idea or a technology. Regardless of the cause, whether driven by fear or cluelessness or irrational exuberance, we may find ourselves plunging forward with a half-baked plan, or no plan at all. This typically doesn’t end well. Consider the following chart:

    an innovation quad chart — offensive vs defensive, considered vs. rushed, accidental, or deluded.

    defensive vs. offensive Innovation


    Defensive innovation happens because something is radically broken, or someone else is eating your lunch. Necessity, as they say, is a mother. If you are standing on a burning platform, you might jump off as an alternative to certain destruction. Pivot, pivot! Defensive innovation can also be thoughtful and strategic, as the case study of Microsoft and Internet Explorer demonstrates.

    Offensive innovation is when you are innovating to get ahead of where you and the rest of the market or industry are. Offensive innovation is the type of innovation that creates entirely new markets, that shapes the future of industries, or creates new ones. And while new technology often plays a part in successful offensive innovation, it is typically not the driver. Innovations in design, system engineering, marketing, regulatory change, or business model are at least as likely to be innovation drivers as technology innovation in successful offensive innovation.

    The point about new technology not being the driver of innovation may sound counter intuitive, and deserves a bit more expansion.

    innovation case study: the Apple iPad and the “invention” of the tablet computer


    Consider the iPad — in the eyes of many Apple “invented” tablet computing with the iPad. No such thing is true. Prior to the iPad there was Apple’s unsuccessful Newton product, and before the Newton was the truly revolutionary Psion Organizer — a technical marvel from the 80s that failed to gain market traction. And I could go on to list more early tablet computers and their technical antecedents. The point is that nobody remembers these predecessors because they didn’t go anywhere. The products weren’t successful enough to drive large-scale change — one of the hallmarks of successful offensive innovation.

    Mediocre innovators borrow. Great innovators steal. Apple “invented” tablet computing with the iPad because Apple was able to integrate existing technical and functional capabilities with design and marketing that made a compelling product with mass appeal. Put another way, the driving innovation of the iPad was systems engineering, design, and marketing, not technology. And because they were the successful, offensive innovator in that space, Apple created an entirely new market, “inventing” tablet computing. By then, most of the underlying technology was old hat. Not that anybody remembers that, or cares.

    considered vs. rushed (or accidental) innovation


    It’s a truism that rushed planning or execution is more expensive and wasteful, and less likely to succeed. But sometimes innovation happens without any real planning at all — consider the digital camera. Had Kodak really thought through the implications of digital photography for the film business they might have killed the project, or gotten ahead of the trends that would destroy their core business. But the implications of real innovation can be very hard to predict. Even a seemingly minor innovation can trigger big disruption.

    So, treat any non-incremental change as a potentially disruptive element, potentially dangerous as well as beneficial. Which leads me the most important consideration: is now the right time for innovation? You may not be able to control the timing if you are innovating defensively, but when innovation is optional, the timing is critical. Can you wait for another quarter or another year and make steady money with incrementalism, increasing the risk that someone else will disrupt you, or do you innovate now in an attempt to drive the market, understanding the potential costs and risks?

    So, want to learn practical strategies for managing the cost of innovation while maximizing impact? This is the subject of an upcoming essay — the next in this series.

    conclusions


    Innovation is a frequently misunderstood topic. The feeling of newness and incremental change is often mixed up with real innovation, the kind of truly disruptive change that turns industries upside down. While it isn’t always possible to predict what will cause such an upset, the one thing we can be sure of is that the disruptive change will come. You can either drive this change, react to it, or be overwhelmed by it.

    We can categorize innovation as offensive or defensive, depending on whether we are innovating to get ahead of an industry or innovating to keep up with external disruptive changes. We can also categorize innovation as considered or not. At the end of the day, a considered approach to innovation is critical to maximizing the cost of innovation and likelihood of long-term success. Managing the cost of innovation will be the subject of the next essay in this series.

    And while innovation gets all the attention, incrementalism is an excellent strategy for value creation. Indeed, incremental improvement is where much of the world’s value comes from. However valuable incrementalism is for building value day-to-day, it is brittle in the face of disruptive change.

    Organizations that are successful and comfortable with incrementalism typically embody culture and processes that reject innovation as an existential threat. This isn’t a problem that is solved simply by having an amazing corporate research lab, as we have seen through the examples of Kodak and Xerox PARC. Both organizations effectively invented the future of their industries, and both completely failed to capitalize on their inventions because the larger organizational culture rejected their own innovation.

    Thus, many of the inventors or creators of disruptive innovation have failed to benefit from their own innovations. But hope is not lost, as we also have examples of innovative organizations that have successfully capitalized on offensive or defensive innovation, such as Alphabet’s X in the 2010s or Microsoft of the late 90s and early 2000s. The key differentiator is innovation culture and leadership — the subject of an upcoming essay.

    下载开源日报APP:https://opensourcedaily.org/2579/
    加入我们:https://opensourcedaily.org/about/join/
    关注我们:https://opensourcedaily.org/about/love/
  • 2019年1月9日:开源日报第307期

    9 1 月, 2019
    开源日报 每天推荐一个 GitHub 优质开源项目和一篇精选英文科技或编程文章原文,坚持阅读《开源日报》,保持每日学习的好习惯。
    今日推荐开源项目:《备忘录 python-cheatsheet》
    今日推荐英文原文:《8 Vue.js UI Component for 2019》

    今日推荐开源项目:《备忘录 python-cheatsheet》传送门:GitHub链接
    推荐理由:大多数时候我们会忘了某些数据结构的功能名字这样的细节而记得它们大概的概念,这个时候只要回去翻一下之前的代码,我们就能想起来到底要怎么写它们。这个项目就是一个提供 Python 代码的备忘录,在你有关键的地方不记得的时候,看一看这个项目就能够想起它们。当然了,如果要想避免关键时刻忘记细节的尴尬场面,最好的办法就是熟能生巧,多用即可。
    今日推荐英文原文:《8 Vue.js UI Component for 2019》作者:Krissanawat​ Kaewsanmuang
    原文链接:https://medium.com/swlh/8-vue-js-ui-component-for-2019-79fc43d6da79
    推荐理由:为新的一年而推荐的 Vue.js 中好用的 UI 组件

    8 Vue.js UI Component for 2019

    Feature Vue Course

    Vue.js is quickly becoming a fan favorite for developers when it comes to web app development. This modern, fresh JavaScript library It has over 123,000 stars on GitHub, a compelling option for developers as it is so easy to integrate into an existing project. It’s fast. It’s extremely powerful. And you can build a dynamic, scalable, and maintainable Single-Page Application from scratch with it.

    As a JavaScript framework, Vue.js allows you to easily render dynamic data to the DOM, bind data to DOM elements, and manage/maintain your app’s state (local storage) without a user having to reload the browser. It’s preferred because it’s lightweight, modular, and requires minimal configuration. It’s also extremely fast and has a low file size. Developers can easily drop it into any project or existing framework.

    With Vue.js slowly becoming the framework of choice for more developers, here are 8 UI components to watch and hopefully integrate into your projects in 2019. At the end of each component, I’ve added a link to the components GitHub repository account in case you want to contribute.

    Sweet Modal


    Modals are a great way to add something different to the user experience of your web app. Sweet Modal gives you so many great modals to pick from, many sure to set your web app apart. They can be used for collecting data through a form or just passing an alert, every project needs a nice modal. With over 500 stars on GitHub, it’s definitely one to watch.

    GitHub: https://github.com/adeptoas/sweet-modal-vue

    Vue Scrollama


    Vue Scrollama is a component that lets you easily make scroll-driven interactions on your web pages to give the user a story like experience. With this component, the visuals say it all. It’s also very customizable and will make for some amazing web apps.

    GitHub: https://github.com/shenoy/vue-scrollama

    Vue-parallax


    A parallax is a great way to add spunk and uniqueness to your web app, Vue-parallax lets you implement one on your Vue project with ease and it’s fully customizable. With over 300 stars on GitHub, this component has regular maintenance and a budding community growing behind it.

    GitHub: https://github.com/apertureless/vue-parallax

    Vue-typer


    There’s something special about the typewriter effect, it engages users and like most great UI components engages the user creating a better experience. Not forgetting, the component is very customizable and has many options to change the font type, size, typing speed, and many other things to make your web app perfect?

    GitHub: https://github.com/cngu/vue-typer

    Vue-slider


    Pictures captivate users and sliders are a great way to display them. Vue-slider gives us a very modern responsive “Netflix” style slider that is sure to make your web app stand out.

    GitHub: https://github.com/fanyeh/vue-slider

    Vue.js Popover


    Popups and tooltips — important but very underappreciated UI components. These are great ways to display information to the user without distracting them from the main content you want to present to them. Vue.js popover lets us add creative and animated tooltips and pop-ups to different elements of the web app.

    GitHub: https://github.com/euvl/vue-js-popover

    Vue-bar


    When it comes to data, presentation matters. Creating customizable, modern, elegant and attractive bars to represent data in your web app just got much easier with Vue-bar.

    GitHub: https://github.com/DeviaVir/vue-bar

    Vue Infinite Slide Bar


    A very niche UI component, Infinite Slide Bar lets you display what would usually be boring normal information to users in a fresh new way.

    GitHub: https://github.com/biigpongsatorn/vue-infinite-slide-bar

    下载开源日报APP:https://opensourcedaily.org/2579/
    加入我们:https://opensourcedaily.org/about/join/
    关注我们:https://opensourcedaily.org/about/love/
  • 2019年1月8日:开源日报第306期

    8 1 月, 2019
    开源日报 每天推荐一个 GitHub 优质开源项目和一篇精选英文科技或编程文章原文,坚持阅读《开源日报》,保持每日学习的好习惯。
    今日推荐开源项目:《五的三百万种写法 five》
    今日推荐英文原文:《Absolute beginners guide to SQL》

    今日推荐开源项目:《五的三百万种写法 five》传送门:GitHub链接
    推荐理由:一个 JS 库,唯一的作用就是弄出个五出来——各种语言,各种进制,应有尽有,但是我敢保证你可能一辈子都用不着这么多形式的五。所以说,在自己写 JS 库的时候,先想想看这个库究竟能干啥,实用的才是好东西不是吗?
    今日推荐英文原文:《Absolute beginners guide to SQL》作者:Prashanth Xavier
    原文链接:https://medium.com/xavier-code21/absolute-beginners-guide-to-sql-601aad53f6c9
    推荐理由:推荐给新手的 SQL 教程,不包括如何让数据喵一声的方法。

    Absolute beginners guide to SQL


    SQL is one of the most sought after skills, not only in the IT sector but also in the banking and financial industry. This article is for anyone looking to wrap around the idea of databases, or the ones who just want to take a stroll in the SQL world and add a cool new skill to the resume.

    What we will learn?
    • Databases and SQL
    • Flavors of SQL
    • SQL queries
    All this and more in just under 10 minutes.

    Databases and SQL

    Data transcends the way we perceive technology in this era. It is said that about 2.5 quintillion bytes of data is created every single day. Quintillion is too large a number to fathom, the data that is generated in your phone alone is gigantic, information about phone calls; messages; facebook chats; whatsapp messages; location information; and much more makes up the bulk of all the data we, as a single individual generate. Even more, add IOT, the hottest tech right now into the mix and you have giga bytes of live data being churned out every second. This is proof that handling data becomes really essential and that’s where Databases come into the picture.

    Source:https://www.usmaritimedata.com/fenthion-import-data-us

    We know that data comes from different places and it is most probably random. Database is a place for storing this data but in an organized structure. What organizing gives us ? Easy management!

    Database is a system that allows data to be easily stored, organized and managed.

    Knowing what is a database; we now can focus on SQL. It is an abbreviation for Structured Query Language. As the name suggests, its merely a language to query databases.

    In a way SQL is the standard for interfacing with databases. It goes back to 1970’s initially developed by IBM, it was originally called as SEQUEL(Structured English Query Language) because it was easily readable and understandable. It has transformed over the years and now remains the most dominant method to interact with databases.

    SQL is the means of communication with the database.

    Essential overview of database is required to grasp how SQL works. At its simplest, database is made of rows and columns, similar to a spreadsheet, but its far more powerful with vast number of features. Data is categorized and stored in the form of tables. For example: a company might have a database with couple of tables, one for employees and another for departments.

    Each row in a table is called a record, and column a field that describes the row. In an employee table, each row is a unique person, and fields like name, address, department describe this particular employee.

    Relational Databases

    It is a structural form of database that stores data in tables, and these tables can be somehow linked to each other. In the example of our company database employee table can be linked to a department table, the relation here is that the employee belongs to a department.

    In a traditional relational database, employee and department data can be presented as two tables below, where DeptNo relates to the department table.

    Employee table


    Department table

    The obvious visible advantage here is that if the Purchasing department decides to rename itself as Investments, it needs to be renamed in only one place.

    Flavors of SQL

    SQL has been widely accepted as the language for data management, therefore there exists many different implementations of the language and its functionalities, by different vendors.

    Here is a short list of these implementations:

    T SQL: developed by Microsoft is the proprietary procedural language used in Microsoft SQL Server.

    PL/SQL: is the procedural language used by Oracle.

    PL/pgSQL: is the procedural language used by PostgreSQL.

    These procedural languages are designed to add more functionality to existing capabilities of SQL, but no matter what you choose, to comply with ANSI standard the fundamental sql queries remain same across all implementations.

    SQL queries

    Queries can be categorized as DML(Data Manipulation Language) and DDL(Data Definition Language).

    DML queries:

    Select: It is used to display collection of records. It is comparable to ‘print’ statement in programming languages.
    Select * from Employee — get all the records from employee table
    
    Insert: It is used to insert data into the table.
    Insert into Employee (EmpNo,EName,DeptNo)Values (104,'Doug',20)
    

    Employee table after adding new employee ‘Doug’

    Update: It is a statement to update existing values in a table. The following update query changes the department of employee named ‘Doug’.
    Update Employee set DeptNo = 10 where EName  = 'Doug'
    
    Delete: As you can expect, delete statement is used to delete records from table. Looks like our company is not so fond of Doug.
    Delete from Employee where EName = 'Doug' - he's fired.
    
    DML queries operate on the level of data. Just by using four sql queries shown above you can explore databases in a great detail.

    DDL queries:

    Create: is used to create a new table in a particular database. Query below creates a new table Interns. May be Doug gets another chance.
    Create table Interns (StudentId int ,Name varchar(50)) -creates new table Interns
    
    Alter: Alter is multi-functional statement that can add a column, drop a column, modify a column rename a column or rename a table.
    Alter table Interns Add (DeptNo int) -adds new column DeptNo
    
    Drop: An SQL statement that inspired meme’s of various kinds, is used to remove table definitions including all the data. The query below needs no explanation.
    Drop table Interns - oops!! sorry Doug.
    
    As opposed to DML, DDL queries operate on object level and is used to modify, add, delete definitions of tables and other objects. Apart from the two categories there exists more like DCL(Data Control Language) and TCL (Transaction Control Language).
    下载开源日报APP:https://opensourcedaily.org/2579/
    加入我们:https://opensourcedaily.org/about/join/
    关注我们:https://opensourcedaily.org/about/love/
←上一页
1 … 182 183 184 185 186 … 262
下一页→

Proudly powered by WordPress