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

开源日报

  • 开源日报第934期:《箭头来 cssarrowplease》

    30 10 月, 2020
    开源日报 每天推荐一个 GitHub 优质开源项目和一篇精选英文科技或编程文章原文,坚持阅读《开源日报》,保持每日学习的好习惯。
    今日推荐开源项目:《箭头来 cssarrowplease》
    今日推荐英文原文:《Coding at Night》

    今日推荐开源项目:《箭头来 cssarrowplease》传送门:项目链接
    推荐理由:但凡是学习网页制作的人,都遇到过这样的问题——给你的下拉菜单或者别的什么加上一个小三角。这问题有不少方式可以解决,这个项目则提供了一个通用的 CSS 代码生成器来生成这些边缘附带小三角图案的元素,如果需要大量使用小三角的话可以在使用它快速生成代码的同时统一相关的代码格式。自己造轮子的确可以学到很多,但是有时候也需要这种现成的轮子来快速使用。
    今日推荐英文原文:《Coding at Night》作者:Ohagorom Onyinyechukwu J
    原文链接:https://medium.com/better-programming/coding-at-night-276875b562d2
    推荐理由:关于那些深夜奋战在代码前的人

    Coding at Night

    Coding at night has been very effective for me

    As a programmer, I generally prefer to start coding after dinner and into the wee hours of the morning before heading to sleep at almost all weekends. While working in the salon, which made me so tired during the day, I would spend the late nights learning to program. If you ask a random programmer when they do their best work, there’s a high chance they will admit a lot of it’s done late at night. Some earlier, some later. Some people are naturally not morning people, so they sleep till noon and work afternoons and late nights, still maintaining a healthy amount of sleep.

    I love coding at night due to no constant interference when there’s nothing to disturb your aloneness. Coding during the day means having to deal with interruptions in the form of people, calls, texts, and life in general. But in the wee hours of the night, there is no one to disturb me, no social notifications to bug me, and I can code just the projects I want to.

    The tranquility of the night is when the background noise of endless activity around you, like cars passing by, people talking, and whatnot, becomes completely muted, so much so I can have a pin-drop silence. If that is not the perfect atmosphere to work or chill, I don’t know what is. You might say that we can have a similar atmosphere in the daytime by using noise-cancelling headphones and getting your groove on listening to your favorite music.

    But constantly listening to music on headphones should be avoided to keep your hearing sense in good health. It is actually recommended not to use headphones continuously for more than an hour and to take breaks in between. The quiet atmosphere at night actually feels a lot better for mentally stimulating tasks like coding.

    The brain works best when it’s late at night because it turns out that late at night/really early in the morning, the brain gets tired enough that it can only focus on one task, not on multiple tasks. There will be flexible and creative thinking.

    Studies have proven beyond doubt that night owls/early birds tend to be more intelligent and creative than others.

    When you code at night, interacting with humans is at a minimum. There’s nothing better you can do than become a programmer. Not only will you not have to see people during the night because everyone’s asleep, but you can also avoid them during the day because you are asleep!

    Again, coding at night always puts me in the flow: I start working on the problem with full focus, leaving behind the world around. At such wee hours, I am much more likely to get in the flow of things, developing the project without thinking about things happening around.

    No matter the time you prefer to work, always keep in mind that developers need an adequate amount of sleep just like everyone else. If I don’t sleep, I tend to screw up more, so I always make sure that I have sufficient hours of sleep and a proper sleep schedule to prevent feeling burnt out and weakened during the day.

    The core reasons I work at night or very early in the morning have to do with deep thoughts, flow, focus on one’s work.

    The main lifestyle factors that affect coding at night are:
    • Freelancer or employee
    • Scholar of some sort
    • Have projects
    • Spouse and/or kids
    A popular trend is to get up at 4:00 a.m. and get some work done before the day’s craziness begins, just to avoid distractions. You might ask, “what’s so special about the night?”

    I think it runs down to the maker’s timetable, the tired brain, and the luminance of computer screens.

    You might ask, “why do we perform our most mental work when the brain wants to sleep, and we do simpler tasks when our brain is at its sharpest and brightest?” Because being tired makes us better coders simply because when your brain tired, it has to focus. There isn’t enough leftover brainpower to afford losing concentration. Being tired makes you pointless enough that the task at hand is enough.

    You might ask, “if I keep staring at a bright source of light in the evening, what happens?” Your sleep cycle gets delayed.

    Programmers work at night because it doesn’t impose a time limit on when you have to stop working, which gives you a more relaxed approach. Your brain doesn’t keep looking for distractions, and a bright screen keeps you awake.

    Plan. Break down your tasks. Get a timetable of what to do each day and keep doing it.

    There’s magic in the nighttime. The peace and quietness, the internal serenity. There’s just you, your work, and an infinite abundance of time. You are alone.

    As a society, we know that smart, talented people work at night. Often in a lonely place, they solve problems mere mortals could only dream of.

    I hope this article will disclose to many people that a late-night work schedule is the key to creativity and productivity for many open source programmers.
    下载开源日报APP:https://opensourcedaily.org/2579/
    加入我们:https://opensourcedaily.org/about/join/
    关注我们:https://opensourcedaily.org/about/love/
  • 开源日报第933期:《生命游戏 Game of Life》

    29 10 月, 2020
    开源日报 每天推荐一个 GitHub 优质开源项目和一篇精选英文科技或编程文章原文,坚持阅读《开源日报》,保持每日学习的好习惯。
    今日推荐开源项目:《生命游戏 Game of Life》
    今日推荐英文原文:《5 Techniques I Use to Manage Stress as a Software Engineer》

    今日推荐开源项目:《生命游戏 Game of Life》传送门:项目链接
    推荐理由:“生命游戏”(Game of Life)是约翰·何顿·康威教授与1970年设计的计算机程序,它模拟了生物体数量与环境资源的关系,过于孤独和过于拥挤,都不利于物种延续。只有寥寥几个规则,却能产生出复杂有趣的变化。该项目基于 Javascript 、 Canvas 和 dat.GUI 实现。
    今日推荐英文原文:《5 Techniques I Use to Manage Stress as a Software Engineer》作者:Nick Bull
    原文链接:https://medium.com/better-programming/5-techniques-i-use-to-manage-stress-as-a-software-engineer-dae958f4b670
    推荐理由:一个程序员应对日常工作和压力的方法。

    5 Techniques I Use to Manage Stress as a Software Engineer

    You’re (most likely) not a monk. Stress is part of your life

    We face it constantly — at work, at home, in various life situations. And if we don’t know how to manage it right, we will probably struggle with anxiety and be unproductive at work.

    So here are the five techniques I use to manage stress.

    1. Morning Journal

    This is a technique I’ve been using for over three years, and it’s freaking golden.

    Every morning, I write two things:

    1. Brain dump — all thoughts, feelings, and experiences I want to write down. 2. The goal for today — one main goal that I have to achieve today, no matter what. I do it every morning for 5-10 minutes, and by the end, I feel completely different. My mind is calm.

    If you reflect and write everything you have on your mind (what you are stressing about), you will procrastinate less throughout the day and think less about that one problem you have.

    I recommend starting with the “brain dump” type of journaling three times per week in the morning to see how it goes. Then you can do it on a daily basis.

    2. Walking

    When I feel under stress (e.g. I can’t find a solution to some coding problem), I often go for a 15- to 20-minute walk and the solution often pops up in my head. I don’t take headphones. Just simple walking. Pure magic.

    I’ve noticed that when I’m doing something else, like watching videos on YouTube during my break, I feel more stressed and anxious a couple of hours after. Also, after walking in nature (forest/lowland water), I feel better than anywhere else.

    So try what works for you.

    3. Right Breaks

    Previously, I used to just put on my headphones and code for eight hours — almost straight. But I don’t do that anymore. After such “hard work” sessions, I feel tired and more stressed. Now I operate in another way.

    Our brain works best when we go hard, then rest. And it’s not going hard for hours and then resting for days. It is about going hard for 50-90 minutes, then taking a break for 15-22 minutes.

    But these are not “normal” breaks like people are used to (e.g. checking Instagram/Facebook or reading the news). I am talking about the “right” breaks. These include completely opposite activities.

    During such breaks, I often do three things:

    1. Hydrate 2. Stretch 3. Walk And what I’ve noticed by doing those three things is that I feel more relaxed, more focused, and I can work for 8+ hours without feeling like crap (brain fog) at the end.

    So add breaks to your working routine. This technique is a productivity gem for coders.

    4. Flight Mode

    I used to think that notifications on my phone and computer didn’t matter. Yes, they distracted me in some way, but it was nothing critical.

    I was wrong.

    Checking notifications every time they pop up on your screen forms a bad habit called the “fear of missing out.” I started to feel like I needed to know what was going on. Every time a notification appeared, I would instantly click on it and stopped whatever I was doing.

    Nowadays, I turn off all notifications for four hours so no one can distract me. For that period of time, I often complete my big goal for the day.

    At first, it was difficult because I constantly wanted to check what was going on in the world. But I’ve noticed that I stopped worrying about it. Now I feel more focused and less anxious. It is funny how such a simple thing helps me manage my stress.

    So turn off notifications and tell people to not distract you with unimportant stuff during your working hours.

    5. Clean Desk

    Not an obvious one, but a clear mind is linked to a clear environment.

    I notice that when I have a messy desk, I have a problem finding a solution to coding problems. It takes more time and I feel more stressed about it. But when I clean it, I watch the stress melt away. The environment no longer distracts me. My mind is clear.

    This technique takes me one minute and I feel a huge benefit from it.

    Clean your desk every morning or before going to bed.

    In the End

    Those are the five proven things I do on a consistent basis in order to keep stress levels low. In addition, I recommend establishing good habits like a healthy diet, getting eight hours of sleep, and working out three or four times during the week.


    下载开源日报APP:https://opensourcedaily.org/2579/
    加入我们:https://opensourcedaily.org/about/join/
    关注我们:https://opensourcedaily.org/about/love/
  • 开源日报第932期:《毒鸡汤 nows》

    28 10 月, 2020
    开源日报 每天推荐一个 GitHub 优质开源项目和一篇精选英文科技或编程文章原文,坚持阅读《开源日报》,保持每日学习的好习惯。
    今日推荐开源项目:《毒鸡汤 nows》
    今日推荐英文原文:《Why Leaving a Project Unpolished Is OK》

    今日推荐开源项目:《毒鸡汤 nows》传送门:项目链接
    推荐理由:众所周知,有心灵鸡汤自然有毒鸡汤,前者使人提振精神后者让人看清现实,而这个项目属于其中的后者,包含了一千多条毒鸡汤数据,如果用户数量不算很多的话这些数据可以用上好一阵也不会让用户感到过于重复单调了。
    今日推荐英文原文:《Why Leaving a Project Unpolished Is OK》作者:Kevin Fawcett
    原文链接:https://medium.com/better-programming/why-leaving-a-project-unpolished-is-ok-fe4a43836f40
    推荐理由:把视线集中于那些客户确认过的需求上能节省很多不必要的成本

    Why Leaving a Project Unpolished Is OK

    Sometimes finishing touches are not worth the time or money

    While the examples below are limited, the following principles can be applied to almost any industry. The following questions are meant to challenge people to reframe their thinking regarding the value being added.

    Does Your Customer Really Want the Bells and Whistles?

    “80 percent of features in the average software product are rarely or never used. Publicly-traded cloud software companies collectively invested up to $29.5 billion developing these features, dollars that could have been spent on higher value features and unrealized customer value.” — Pendo’s 2019 Feature Adoption Report.

    Don’t spend time adding low-value features backed by assumptions. Perfectionists often tailor products to their ideal image, not necessarily the customer’s. The customer may appreciate the extra features, but not all improvements will change their decision to purchase or retain a product.

    Example: A web developer spends a month trying to create a user experience that shows data in a table with filterable/sortable columns.

    Unexpected outcome: The customer uses the export feature to download the data and view it in Excel.

    Sometimes a simple conversation with a customer can save tons of time and money. In this real-world case, the customer provided the data to a third-party for auditing. There would never be a case where the auditors would be allowed access to the fancy web table.

    Are You Using Your Time Effectively?

    Example: Nintendo created the Wii U, which allowed players to play on their controller and their TV. The device supports several streaming services, a game marketplace, and a social platform.

    Unexpected outcome: Customers don’t buy it because of the limited range of the portable mode, a severe lack of quality games, and a lower standard of graphics than the other consoles.

    Time spent polishing a product could be used on other innovations. Just because a feature has value doesn’t mean it’s the most valuable. Nintendo chose to integrate streaming features, despite customers having options available on other devices.

    The Wii U was short-lived, and the Switch was born from the lessons learned. Unsurprisingly, the deficiencies of the Wii U, like portability, became the focus, resulting in a huge success.

    Can Your Customers Live With Imperfections?

    During my time at a large company, I worked on a three-month project, instead of improving the sales website to streamline ordering. The neglected website had a terrible user experience, so I was surprised that we would choose to ignore it.

    My opinion changed, however, once I realized my project would save a million dollars annually. Shadowing multiple user-experience interviews with the customer reinforced my view: While customers found the website ugly, they were happy. They could still check out, and support was readily available through chat when they were stuck.

    This neglect was successful because the primary focus of the product was to deliver a sales pipeline, not user experience, to resellers for a niche market. People don’t shop on websites like Amazon for their wonderful, polished design; they are interested in the prices.

    Are You Perfecting the Wrong Solution?

    Consider the classic toothpaste box example: An eight-million-dollar project was intended to prevent accidentally shipping empty boxes when a simple twenty-dollar fan blew them off the conveyor. While this popular example could be fictional (could not find the source), these mistakes do happen.

    Example: Valve created the Steam Link, a product that was essentially a wireless HDMI cable for games. PC games could now be played on a TV.

    Unexpected outcome: Customers were not interested. Also, many of the games did not work well on TV. The interfaces were designed to be played on a monitor within a few feet of the player. Reading tiny text from across the room was a struggle.

    Releasing an unpolished, minimally viable product and testing early can help validate solutions and prevent wasted time.

    Am I Getting Feedback From My Customer?

    Agile development promotes making small, iterative changes to products. Long-winded, monolithic releases are becoming a relic of the past. Releasing minimally functional, working software faster allows for intermediate user feedback; design decisions are consistently validated.

    The customer knows best how they use the product. Without interviewing or tracking, you may be spending time on a feature that could save them a few minutes, when another one could save them hours.

    Am I Adding Value?

    Unless your website is designed for frequent reading, like Medium.com, the odds of a dark mode being valuable are low. For websites like Netflix, the feature would be appreciated but unnecessary — especially on TV apps, where videos are played fullscreen.

    However, that doesn’t mean every feature has to generate huge profits. Sometimes worth can be defined by morals, like adding inclusive features to help people with disabilities, or changing the words whitelists and blacklists to allowlists and denylists.

    Am I Getting a Return on Investment?

    Features cost time, which means money.

    Example: Google Glass released smart glasses that would allow wearers with information and image capturing.

    Unexpected outcome: Consumers had no idea about its practical use. While it seemed neat, it did not seem worth the price tag.

    All that time spent on perfecting the design (which many customers hated) and features was wasted. The developers should have narrowed their view, focusing on solving a specific problem before adding the finishing touches. From the website, it appears they’ve shifted focus exclusively to businesses.

    Am I Delaying Value?

    Depending on the industry, the customer may be more concerned with solving an immediate problem than having a perfect solution. Every second a product is not released equates to lost potential revenue.

    Revenue might not always be the goal. Imagine the CDC’s impact of delaying the release of information about COVID-19 because someone wanted to add fancy animation.

    Conclusion

    Starting small with products, keeping them simple, and iterating on improvements after gathering customer feedback can help save time and money. Don’t waste time adding all the bells and whistles before you’ve validated your solution with customers; don’t build a car stereo before you’ve tested the engine.
    下载开源日报APP:https://opensourcedaily.org/2579/
    加入我们:https://opensourcedaily.org/about/join/
    关注我们:https://opensourcedaily.org/about/love/
  • 开源日报第931期:《Annie》

    27 10 月, 2020
    开源日报 每天推荐一个 GitHub 优质开源项目和一篇精选英文科技或编程文章原文,坚持阅读《开源日报》,保持每日学习的好习惯。
    今日推荐开源项目:《Annie》
    今日推荐英文原文:《Uber drivers sue, say company ‘coerced’ them to support Prop 22》

    今日推荐开源项目:《Annie》传送门:项目链接
    推荐理由:Annie 是一款使用 Go 语言构建的快速、简单、干净的视频下载器,支持跨平台 Windows、Linux、MacOS 等操作系统,安装使用简单。 具有以下特征: 多视频下载 视频播放列表下载 恢复下载 自动重试
    今日推荐英文原文:《Uber drivers sue, say company ‘coerced’ them to support Prop 22》作者:Dara Kerr
    原文链接:https://www.cnet.com/news/uber-drivers-sue-they-say-company-coerced-them-to-support-prop-22/
    推荐理由:美国劳工关系一直是社会长期的热点问题. 此次是Uber的员工指控Uber使用宣传, 剥削等方式, 逼迫员工支持某项协议.该项协议涉及员工福利,休假等问题.

    Uber drivers sue, say company ‘coerced’ them to support Prop 22

    Uber drivers have been getting in-app messages from the company asking them about support for Proposition 22 before they start picking up rides. Proposition 22 is the ballot measure campaign in California backed by Uber, Lyft, DoorDash, Instacart and Postmates, which aims to keep drivers classified as independent contractors.

    Now, two drivers are suing Uber saying those in-app messages violated their employment rights. The proposed class-action suit, filed Thursday in a San Francisco Superior Court and first reported by The Washington Post, alleges Uber has “unlawfully” pushed drivers to “vote for and advocate for the passage of Proposition 22.” Under California law, employers are prohibited from being involved in the political activities of their workers.

    “Uber’s threats and constant barrage of Prop 22 propaganda on an app the drivers must use to do their work have one purpose: to coerce the drivers to support Uber’s political battle to strip them of workplace protections,” David Lowe, partner at Rudy, Exelrod, Zieff & Lowe and an attorney for the drivers, said in a statement.

    The battle over Proposition 22 has heated up the last few months as Uber and the other gig economy companies have poured nearly $200 million into the ballot measure campaign, making it the most expensive in California history. The campaign has inundated voters with mailers, text messages, phone calls and advertisements. The companies say their businesses will be battered if forced to classify gig workers as employees.

    The No on Proposition 22 side, backed by labor groups and unions, has contributed more than $15 million to its campaign. It says drivers deserve to be classified as employees and get benefits, like minimum wage, health care and sick leave.

    Uber’s in-app messages to drivers include information about Proposition 22 and ask drivers for their positions, according to KQED. Some messages list campaign talking points, such as thousands of jobs will be cut if Proposition 22 fails and that the ballot measure “would protect the flexibility that drivers and delivery people like you value.” Under California law, employees are allowed to have flexible work.

    The messages also ask drivers to record a 30- to 60-second video of themselves saying why flexibility is or isn’t important and whether they support Proposition 22, according to a screenshot included in the lawsuit complaint. In one message, drivers are asked to choose “Yes on Prop 22” or “OK.”

    “Almost every time we log on, we are fed more one-sided information to pressure us into supporting Prop 22,” Ben Valdez, an Uber driver and a plaintiff in the case, said in a statement. “Threatening that most of us will lose our jobs if Prop 22 passes is a scare tactic, pure and simple.”

    The lawsuit alleges that drivers cannot avoid seeing these messages whenever they open the app. It also says that drivers fear retaliation from Uber if they don’t participate in the in-app surveys or say they support Proposition 22. The presumed retaliation listed in the complaint includes less favorable or less plentiful trips, or no trips at all.

    Uber didn’t return multiple requests for comment.

    Joining the two Uber drivers listed in the lawsuit are two nonprofit organizations, Worksafe and Chinese Progressive Association. The suit seeks a court order to stop Uber from sending these in-app messages. Additional claims have been filed with the California Labor Commissioner that seek civil penalties.

    “Uber’s actions are old-school exploitation,” Shaw San Liu, organizing director of Chinese Progressive Association, said in a statement. “Coercing their workforce to support the company’s political position. It’s undemocratic and a violation of basic workplace right.”
    下载开源日报APP:https://opensourcedaily.org/2579/
    加入我们:https://opensourcedaily.org/about/join/
    关注我们:https://opensourcedaily.org/about/love/
←上一页
1 … 25 26 27 28 29 … 262
下一页→

Proudly powered by WordPress